* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Poppins', 'Segoe UI', sans-serif;
    line-height: 1.6;
    color: #333;
    background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
    min-height: 100vh;
}

/* Animations */
@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-20px); }
}

@keyframes glow {
    0%, 100% { box-shadow: 0 0 20px rgba(102, 126, 234, 0.3); }
    50% { box-shadow: 0 0 40px rgba(102, 126, 234, 0.6); }
}

@keyframes slideInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes pulse-dot {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.45; transform: scale(0.75); }
}

/* Header */
header {
    background: #ffffff;
    border-bottom: 1px solid #e2e8f0;
    padding: 14px 24px;
    position: sticky;
    top: 0;
    z-index: 100;
}

.header-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 26px;
    font-weight: 800;
    background: linear-gradient(135deg, #003d82 0%, #667eea 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    letter-spacing: -1px;
}

.logo span {
    color: #e74c3c;
}

.contact-header {
    display: flex;
    align-items: center;
    gap: 12px;
}

.whatsapp-btn {
    background: #10b981;
    color: #ffffff;
    text-decoration: none;
    padding: 8px 16px;
    border-radius: 8px;
    font-size: 13px;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    transition: background 0.2s;
}

.whatsapp-btn:hover {
    background: #059669;
}

/* RTL Alignment for Arabic */
[dir="rtl"] {
    text-align: right;
}

[dir="rtl"] .hero-content {
    direction: rtl;
}

[dir="rtl"] .cta-buttons,
[dir="rtl"] .contact-header {
    flex-direction: row-reverse;
}

/* Language Dropdown */
.lang-dropdown {
    background: #f8fafc;
    color: #1e293b;
    border: 1px solid #cbd5e1;
    border-radius: 8px;
    padding: 8px 12px;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    outline: none;
    transition: all 0.2s ease;
}

.lang-dropdown:hover,
.lang-dropdown:focus {
    border-color: #6366f1;
    background: #ffffff;
}

/* Hero Section */
.hero {
    padding: 40px 20px 30px;
    min-height: calc(100vh - 80px);
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    width: 400px;
    height: 400px;
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.1) 0%, rgba(118, 75, 162, 0.1) 100%);
    border-radius: 50%;
    top: -100px;
    left: -100px;
    animation: float 6s ease-in-out infinite;
}

.hero::after {
    content: '';
    position: absolute;
    width: 300px;
    height: 300px;
    background: linear-gradient(135deg, rgba(37, 211, 102, 0.1) 0%, rgba(32, 186, 92, 0.1) 100%);
    border-radius: 50%;
    bottom: -50px;
    right: -50px;
    animation: float 8s ease-in-out infinite;
}

.hero-content {
    display: grid;
    grid-template-columns: 1.1fr 1fr;
    gap: 30px;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
    animation: slideInUp 0.8s ease-out;
    padding: 0 20px;
}

.hero-text {
    text-align: left;
}

.hero-tag {
    display: inline-block;
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.1) 0%, rgba(118, 75, 162, 0.1) 100%);
    color: #667eea;
    padding: 10px 20px;
    border-radius: 25px;
    font-size: 13px;
    font-weight: 700;
    margin-bottom: 20px;
    border: 1px solid rgba(102, 126, 234, 0.2);
    backdrop-filter: blur(10px);
}

.hero-text h1 {
    font-size: 2.8rem;
    line-height: 1.15;
    margin: 12px 0 15px;
    font-weight: 800;
    background: linear-gradient(135deg, #003d82 0%, #667eea 50%, #764ba2 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-highlight {
    font-size: 20px;
    color: #667eea;
    margin: 20px 0;
    font-weight: 600;
    letter-spacing: 1px;
}

.hero p {
    font-size: 16px;
    color: #666;
    margin-bottom: 30px;
    line-height: 1.8;
}

.price-badge {
    display: inline-block;
    background: linear-gradient(135deg, #ffd700 0%, #ffed4e 100%);
    color: #003d82;
    padding: 20px 40px;
    border-radius: 12px;
    font-size: 32px;
    font-weight: 800;
    margin: 16px 0;
    box-shadow: 0 20px 40px rgba(255, 215, 0, 0.3);
    transform: rotate(-2deg);
    position: relative;
    animation: glow 2s ease-in-out infinite;
}

.price-label {
    font-size: 14px;
    font-weight: 600;
    display: block;
    color: #666;
    margin-bottom: 8px;
}

.cta-buttons {
    display: flex;
    gap: 12px;
    margin-top: 14px;
    flex-wrap: wrap;
}

/* Hero Trust Strip */
.hero-trust-strip {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-top: 22px;
}

.trust-avatars {
    display: flex;
}

.trust-avatars .avatar {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: #ffffff;
    border: 2px solid #667eea;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    margin-left: -8px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.08);
}

.trust-avatars .avatar:first-child {
    margin-left: 0;
}

.trust-text {
    font-size: 12px;
    color: #475569;
    text-align: left;
}

.trust-rating {
    display: flex;
    align-items: center;
    gap: 5px;
}

.trust-rating .stars {
    color: #f59e0b;
    letter-spacing: 1px;
}

.view-counter {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    background: rgba(102, 126, 234, 0.08);
    color: #667eea;
    padding: 10px 20px;
    border-radius: 25px;
    font-size: 13px;
    font-weight: 600;
    margin-top: 25px;
    border: 1px solid rgba(102, 126, 234, 0.15);
}

.view-counter .live-dot {
    width: 8px;
    height: 8px;
    flex-shrink: 0;
    background: #28a745;
    border-radius: 50%;
    animation: pulse-dot 1.5s ease-in-out infinite;
}

.hero-image {
    position: relative;
    animation: slideInLeft 0.8s ease-out 0.2s both;
}

.hero-visual {
    width: 100%;
    aspect-ratio: 3 / 2;
    border-radius: 20px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    box-shadow: 0 30px 60px rgba(102, 126, 234, 0.3);
    transform: rotate(2deg);
    transition: transform 0.3s ease;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.hero-image:hover .hero-visual {
    transform: rotate(0deg) scale(1.05);
}

.hero-visual .browser-bar {
    display: flex;
    gap: 8px;
    padding: 16px 20px;
    background: rgba(255, 255, 255, 0.12);
}

.hero-visual .browser-bar span {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
}

.hero-image::before {
    content: '';
    position: absolute;
    inset: -20px;
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.2) 0%, rgba(118, 75, 162, 0.2) 100%);
    border-radius: 25px;
    z-index: -1;
}

/* Hero Slider */
.hero-slider {
    position: relative;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.hero-slider .slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0;
    transition: opacity 1s ease-in-out;
}

.hero-slider .slide.active {
    opacity: 1;
}

/* Buttons */
.btn {
    padding: 16px 36px;
    border: none;
    border-radius: 10px;
    font-size: 15px;
    font-weight: 700;
    cursor: pointer;
    text-decoration: none;
    display: inline-block;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    letter-spacing: 0.5px;
}

.btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.2);
    transition: left 0.3s ease;
    z-index: -1;
}

.btn:hover::before {
    left: 100%;
}

.btn-primary {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    box-shadow: 0 15px 35px rgba(102, 126, 234, 0.4);
}

.btn-primary:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 50px rgba(102, 126, 234, 0.6);
}

.btn-secondary {
    background: white;
    color: #667eea;
    border: 2px solid #667eea;
    box-shadow: 0 10px 25px rgba(102, 126, 234, 0.2);
}

.btn-secondary:hover {
    background: #667eea;
    color: white;
    transform: translateY(-4px);
}

/* Features Section */
.features {
    padding: 80px 20px;
    background: white;
    position: relative;
}

.features-content {
    max-width: 1200px;
    margin: 0 auto;
}

.section-title {
    text-align: center;
    font-size: 42px;
    color: #003d82;
    margin-bottom: 50px;
    font-weight: 800;
    position: relative;
    animation: slideInUp 0.8s ease-out;
}

.section-title::after {
    content: '';
    display: block;
    width: 80px;
    height: 5px;
    background: linear-gradient(90deg, #667eea 0%, #764ba2 100%);
    margin: 15px auto 0;
    border-radius: 3px;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    gap: 25px;
    margin-bottom: 50px;
}

.feature-item {
    text-align: center;
    padding: 25px;
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.05) 0%, rgba(118, 75, 162, 0.05) 100%);
    border-radius: 15px;
    border: 2px solid rgba(102, 126, 234, 0.1);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
    backdrop-filter: blur(10px);
    animation: slideInUp 0.8s ease-out;
    animation-fill-mode: both;
}

.feature-item:hover {
    transform: translateY(-15px);
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.15) 0%, rgba(118, 75, 162, 0.15) 100%);
    border-color: rgba(102, 126, 234, 0.3);
    box-shadow: 0 20px 40px rgba(102, 126, 234, 0.2);
}

.feature-icon {
    font-size: 42px;
    margin-bottom: 12px;
    animation: float 3s ease-in-out infinite;
}

.feature-item h3 {
    color: #003d82;
    font-size: 13px;
    margin-bottom: 8px;
    font-weight: 700;
    letter-spacing: 0.5px;
}

/* ==================== SPEED & PERFORMANCE GUARANTEE ==================== */
.speed-comparison {
    padding: 40px 20px 30px;
    background: #f8fafc;
    border-top: 1px solid #e2e8f0;
}

.speed-content {
    max-width: 820px;
    margin: 0 auto;
    text-align: center;
}

.speed-title,
.speed-comparison .section-title {
    font-size: 28px;
    font-weight: 800;
    color: #003d82;
    margin: 0 0 6px 0;
    display: block;
}

.speed-title::after,
.speed-comparison .section-title::after {
    margin: 8px auto 0;
    width: 60px;
    height: 4px;
}

.speed-subtitle {
    font-size: 14px;
    color: #334155;
    font-weight: 500;
    margin: 0 0 20px 0;
}

.comparison-card {
    background: #ffffff;
    border-radius: 14px;
    box-shadow: 0 8px 25px rgba(15, 23, 42, 0.08);
    border: 1px solid #cbd5e1;
    overflow: hidden;
    padding: 8px;
}

.comparison-container {
    position: relative;
    width: 100%;
    height: 190px;
    min-height: 190px;
    display: flex;
    overflow: hidden;
    border-radius: 10px;
    user-select: none;
    cursor: ew-resize;
}

.compare-side {
    position: absolute;
    top: 0;
    bottom: 0;
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 12px 36px;
}

.old-side {
    left: 0;
    background: #fff5f5;
    align-items: flex-start;
}

.new-side {
    left: 0;
    right: 0;
    background: #f0fdf4;
    clip-path: polygon(50% 0, 100% 0, 100% 100%, 50% 100%);
    align-items: flex-end;
}

.side-badge {
    padding: 3px 10px;
    border-radius: 20px;
    font-size: 11px;
    font-weight: 700;
    margin-bottom: 6px;
}

.side-badge.danger {
    background: #fee2e2;
    color: #dc2626;
}

.side-badge.success {
    background: #dcfce7;
    color: #16a34a;
}

.score-display {
    display: flex;
    align-items: baseline;
    gap: 6px;
    margin-bottom: 6px;
}

.score-display .score {
    font-size: 28px;
    font-weight: 900;
    line-height: 1;
}

.score-display .score.red { color: #dc2626; }
.score-display .score.green { color: #16a34a; }

.score-display small {
    font-size: 11px;
    color: #64748b;
    font-weight: 600;
}

.score-points {
    list-style: none;
    font-size: 11.5px;
    line-height: 1.45;
    color: #334155;
    margin: 0;
    padding: 0;
}

.slider-handle {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 3px;
    background: #3b82f6;
    z-index: 10;
    pointer-events: none;
}

.handle-circle {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 28px;
    height: 28px;
    background: #3b82f6;
    color: #ffffff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 11px;
    font-weight: 800;
    box-shadow: 0 2px 8px rgba(59, 130, 246, 0.4);
}

/* ==================== PORTFOLIO SECTION & DEVICE VIEW SWITCHER ==================== */
.portfolio {
    padding: 40px 20px 60px;
    background: white;
    position: relative;
}

.portfolio-content {
    max-width: 1200px;
    margin: 0 auto;
}

.portfolio-subtitle {
    text-align: center;
    font-size: 14px;
    color: #64748b;
    margin-top: 6px;
    margin-bottom: 20px;
}

.device-switcher-bar {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-bottom: 30px;
}

.device-btn {
    background: #f1f5f9;
    border: 1px solid #cbd5e1;
    color: #475569;
    padding: 10px 22px;
    border-radius: 30px;
    font-size: 13px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.25s ease;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.device-btn:hover {
    border-color: #667eea;
    color: #1e293b;
}

.device-btn.active {
    background: linear-gradient(135deg, #003d82 0%, #667eea 100%);
    color: #ffffff;
    border-color: transparent;
    box-shadow: 0 8px 20px rgba(102, 126, 234, 0.35);
}

.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 20px;
}

.portfolio-item {
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    animation: slideInUp 0.8s ease-out;
    background: #ffffff;
    display: flex;
    flex-direction: column;
}

.portfolio-item:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 45px rgba(0, 0, 0, 0.15);
}

/* Device Frames */
.device-frame {
    transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    margin: 0 auto;
    position: relative;
    background: #ffffff;
    width: 100%;
}

/* Desktop Mode Frame */
.device-frame.desktop {
    width: 100%;
    border-top: 18px solid #e2e8f0;
    border-radius: 12px 12px 0 0;
}

.device-frame.desktop::before {
    content: '';
    position: absolute;
    top: -12px;
    left: 12px;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #cbd5e1;
    box-shadow: 10px 0 0 #cbd5e1, 20px 0 0 #cbd5e1;
}

/* Mobile Mode Frame */
.device-frame.mobile {
    width: 220px;
    border: 10px solid #1e293b;
    border-radius: 32px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.2);
    margin: 15px auto 20px;
}

.device-frame.mobile::before {
    content: '';
    display: block;
    width: 44px;
    height: 4px;
    background: #334155;
    border-radius: 4px;
    margin: 4px auto 8px;
}

.device-screen {
    width: 100%;
    overflow: hidden;
}

/* Explicit pixel heights to guarantee images load in both modes */
.device-frame.desktop .portfolio-visual-slider {
    width: 100%;
    height: 200px;
    position: relative;
    overflow: hidden;
}

.device-frame.mobile .portfolio-visual-slider {
    width: 100%;
    height: 300px;
    position: relative;
    overflow: hidden;
    border-radius: 18px;
}

.portfolio-visual-slider .portfolio-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0;
    transition: opacity 0.8s ease-in-out;
}

.portfolio-visual-slider .portfolio-slide.active {
    opacity: 1;
}

.portfolio-info {
    padding: 22px 25px;
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.05) 0%, rgba(118, 75, 162, 0.05) 100%);
    flex: 1;
}

.portfolio-info h3 {
    color: #003d82;
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 8px;
}

.portfolio-info p {
    color: #666;
    font-size: 13px;
    line-height: 1.6;
}

/* Process Section */
.process {
    padding: 80px 20px;
    background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
}

.process-content {
    max-width: 1200px;
    margin: 0 auto;
}

.process-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.process-step {
    background: white;
    padding: 35px 25px;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    transition: all 0.3s;
    position: relative;
    animation: slideInUp 0.8s ease-out;
}

.process-step:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(102, 126, 234, 0.2);
}

.step-number {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    font-weight: 700;
    margin: 0 auto 20px;
    box-shadow: 0 10px 25px rgba(102, 126, 234, 0.3);
}

.step-icon {
    font-size: 40px;
    margin: 20px 0;
}

.process-step h3 {
    color: #003d82;
    font-size: 18px;
    font-weight: 700;
    margin: 15px 0;
}

.process-step p {
    color: #666;
    font-size: 13px;
    line-height: 1.6;
}

/* Pricing Section */
.pricing {
    padding: 80px 20px;
    background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
    position: relative;
}

.pricing-content {
    max-width: 1200px;
    margin: 0 auto;
}

.pricing-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 35px;
    margin-top: 50px;
}

.pricing-card {
    border-radius: 20px;
    padding: 40px 30px;
    text-align: center;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    border: none;
    animation: slideInUp 0.8s ease-out;
}

.pricing-card::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 20px;
    padding: 2px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    opacity: 0;
    transition: opacity 0.3s;
}

.pricing-card:hover::before {
    opacity: 1;
}

.pricing-card.starter {
    background: linear-gradient(135deg, #28a745 0%, #20c997 100%);
    color: white;
    box-shadow: 0 20px 40px rgba(40, 167, 69, 0.2);
}

.pricing-card.business {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    transform: scale(1.08);
    box-shadow: 0 30px 60px rgba(102, 126, 234, 0.3);
    position: relative;
    z-index: 10;
}

.pricing-card.business:hover {
    transform: scale(1.08) translateY(-10px);
}

.pricing-card.professional {
    background: linear-gradient(135deg, #ff6b6b 0%, #ff8787 100%);
    color: white;
    box-shadow: 0 20px 40px rgba(255, 107, 107, 0.2);
}

.badge {
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    background: linear-gradient(135deg, #ffd700 0%, #ffed4e 100%);
    color: #003d82;
    padding: 8px 20px;
    border-radius: 25px;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 1px;
    box-shadow: 0 10px 25px rgba(255, 215, 0, 0.3);
}

.pricing-card h3 {
    font-size: 20px;
    margin-bottom: 10px;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-weight: 800;
}

.price-desc {
    font-size: 13px;
    margin-bottom: 20px;
    opacity: 0.9;
    letter-spacing: 0.5px;
}

.price {
    font-size: 42px;
    font-weight: 800;
    margin: 20px 0;
    position: relative;
}

.currency {
    font-size: 20px;
    vertical-align: super;
}

.period {
    font-size: 14px;
    opacity: 0.8;
    display: block;
}

.features-list {
    text-align: left;
    margin: 30px 0;
    font-size: 13px;
    line-height: 2.2;
}

.features-list li {
    list-style: none;
    padding-left: 28px;
    position: relative;
    margin-bottom: 10px;
    font-weight: 500;
}

.features-list li:before {
    content: "✓";
    position: absolute;
    left: 0;
    font-weight: 700;
    font-size: 18px;
}

.pricing-card .btn {
    width: 100%;
    margin-top: 25px;
    border: none;
}

.pricing-card.starter .btn {
    background: white;
    color: #28a745;
}

.pricing-card.starter .btn:hover {
    background: rgba(255, 255, 255, 0.9);
}

.pricing-card.business .btn {
    background: white;
    color: #667eea;
}

.pricing-card.business .btn:hover {
    background: rgba(255, 255, 255, 0.9);
}

.pricing-card.professional .btn {
    background: white;
    color: #ff6b6b;
}

.pricing-card.professional .btn:hover {
    background: rgba(255, 255, 255, 0.9);
}

/* Add-ons Section */
.addons {
    padding: 50px 20px;
    background: white;
}

.addons-content {
    max-width: 1200px;
    margin: 0 auto;
    text-align: center;
}

.addons-list {
    display: flex;
    gap: 15px;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 25px;
}

.addon-item {
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.1) 0%, rgba(118, 75, 162, 0.1) 100%);
    padding: 12px 20px;
    border-radius: 25px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    font-size: 12px;
    font-weight: 600;
    border: 1px solid rgba(102, 126, 234, 0.2);
    transition: all 0.3s;
    backdrop-filter: blur(10px);
}

.addon-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(102, 126, 234, 0.2);
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.2) 0%, rgba(118, 75, 162, 0.2) 100%);
}

/* Inquiry Section */
.inquiry {
    padding: 80px 20px;
    background: #f8fafc;
    border-top: 1px solid #e2e8f0;
}

.inquiry-content {
    max-width: 1100px;
    margin: 0 auto;
}

.inquiry-header {
    text-align: center;
    margin-bottom: 50px;
}

.inquiry-badge {
    display: inline-block;
    padding: 6px 16px;
    background: #e0e7ff;
    color: #4338ca;
    font-size: 13px;
    font-weight: 700;
    border-radius: 999px;
    margin-bottom: 12px;
}

.inquiry-subtitle {
    font-size: 15px;
    color: #64748b;
    max-width: 600px;
    margin: 10px auto 0;
    line-height: 1.6;
}

.inquiry-wrapper {
    display: grid;
    grid-template-columns: 1fr 1.3fr;
    gap: 40px;
    align-items: start;
}

.inquiry-info h3 {
    font-size: 22px;
    color: #0f172a;
    font-weight: 700;
    margin-bottom: 20px;
}

.inquiry-perks {
    list-style: none;
    padding: 0;
    margin: 0 0 30px 0;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.inquiry-perks li {
    font-size: 14px;
    color: #475569;
    line-height: 1.5;
}

.direct-contact-card {
    background: #ffffff;
    border: 1px solid #cbd5e1;
    border-radius: 12px;
    padding: 20px;
}

.direct-contact-card p {
    font-size: 13px;
    color: #64748b;
    margin: 0 0 10px 0;
}

.whatsapp-direct {
    display: inline-block;
    background: #10b981;
    color: #ffffff;
    text-decoration: none;
    padding: 10px 18px;
    border-radius: 8px;
    font-size: 13px;
    font-weight: 600;
    transition: background 0.2s;
}

.whatsapp-direct:hover {
    background: #059669;
}

.inquiry-card {
    background: #ffffff;
    padding: 36px;
    border-radius: 16px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.05);
    border: 1px solid #e2e8f0;
}

.form-group {
    display: flex;
    flex-direction: column;
    margin-bottom: 18px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.form-group label {
    font-size: 13px;
    font-weight: 600;
    color: #334155;
    margin-bottom: 6px;
}

.form-group input,
.form-group select,
.form-group textarea {
    padding: 12px 14px;
    border: 1px solid #cbd5e1;
    border-radius: 8px;
    font-size: 14px;
    color: #0f172a;
    font-family: inherit;
    outline: none;
    transition: border-color 0.2s, box-shadow 0.2s;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: #6366f1;
    box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.15);
}

.submit-inquiry-btn {
    width: 100%;
    background: #4f46e5;
    color: #ffffff;
    border: none;
    padding: 14px;
    border-radius: 8px;
    font-size: 15px;
    font-weight: 700;
    cursor: pointer;
    transition: background 0.2s, transform 0.1s;
}

.submit-inquiry-btn:hover {
    background: #4338ca;
}

.submit-inquiry-btn:active {
    transform: scale(0.99);
}

.submit-inquiry-btn:disabled {
    opacity: 0.65;
    cursor: not-allowed;
}

.error-msg {
    color: #ef4444;
    font-size: 12px;
    margin-top: 4px;
    display: none;
    font-weight: 500;
}

.input-invalid {
    border-color: #ef4444 !important;
    background-color: #fef2f2 !important;
}

/* Floating AI Assistant Widget */
.ai-widget-container {
    position: fixed;
    bottom: 24px;
    left: 24px;
    z-index: 999;
    font-family: inherit;
}

.ai-widget-toggle {
    display: flex;
    align-items: center;
    gap: 8px;
    background: linear-gradient(135deg, #003d82 0%, #667eea 100%);
    color: #ffffff;
    border: none;
    padding: 12px 20px;
    border-radius: 50px;
    font-weight: 700;
    font-size: 14px;
    box-shadow: 0 10px 25px rgba(102, 126, 234, 0.4);
    cursor: pointer;
    transition: transform 0.2s, box-shadow 0.2s;
}

.ai-widget-toggle:hover {
    transform: translateY(-2px);
    box-shadow: 0 14px 30px rgba(102, 126, 234, 0.5);
}

.ai-widget-toggle .ai-icon {
    font-size: 16px;
    animation: float 2.5s ease-in-out infinite;
}

.ai-chat-window {
    display: none;
    flex-direction: column;
    width: 340px;
    height: 460px;
    background: #ffffff;
    border-radius: 16px;
    box-shadow: 0 20px 45px rgba(15, 23, 42, 0.2);
    border: 1px solid #e2e8f0;
    overflow: hidden;
    margin-bottom: 12px;
    animation: slideInUp 0.3s ease-out;
}

.ai-chat-window.open {
    display: flex;
}

.ai-chat-header {
    background: linear-gradient(135deg, #003d82 0%, #667eea 100%);
    color: #ffffff;
    padding: 14px 16px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.ai-header-info {
    display: flex;
    align-items: center;
    gap: 10px;
}

.ai-status-dot {
    width: 9px;
    height: 9px;
    border-radius: 50%;
    background: #10b981;
    box-shadow: 0 0 8px #10b981;
}

.ai-header-info h4 {
    margin: 0;
    font-size: 14px;
    font-weight: 700;
}

.ai-header-info small {
    font-size: 11px;
    opacity: 0.85;
}

.ai-close-btn {
    background: transparent;
    border: none;
    color: #ffffff;
    font-size: 20px;
    cursor: pointer;
    line-height: 1;
}

.ai-chat-body {
    flex: 1;
    padding: 14px;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    gap: 10px;
    background: #f8fafc;
}

.ai-message {
    padding: 10px 14px;
    border-radius: 12px;
    font-size: 13px;
    line-height: 1.45;
    max-width: 85%;
}

.ai-message.bot {
    background: #ffffff;
    color: #1e293b;
    border: 1px solid #e2e8f0;
    align-self: flex-start;
    border-bottom-left-radius: 2px;
}

.ai-message.user {
    background: #667eea;
    color: #ffffff;
    align-self: flex-end;
    border-bottom-right-radius: 2px;
}

.ai-quick-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-top: 6px;
}

.ai-chip {
    background: #eef2ff;
    color: #4338ca;
    border: 1px solid #c7d2fe;
    padding: 5px 10px;
    border-radius: 20px;
    font-size: 11px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
}

.ai-chip:hover {
    background: #4338ca;
    color: #ffffff;
}

.ai-chat-footer {
    display: flex;
    padding: 10px;
    background: #ffffff;
    border-top: 1px solid #e2e8f0;
    gap: 8px;
}

.ai-chat-footer input {
    flex: 1;
    padding: 9px 12px;
    border: 1px solid #cbd5e1;
    border-radius: 8px;
    font-size: 12px;
    outline: none;
    font-family: inherit;
}

.ai-chat-footer input:focus {
    border-color: #667eea;
}

.ai-send-btn {
    background: #667eea;
    color: #ffffff;
    border: none;
    padding: 0 14px;
    border-radius: 8px;
    font-size: 13px;
    cursor: pointer;
}

/* Footer */
footer {
    background: linear-gradient(135deg, #003d82 0%, #667eea 100%);
    color: white;
    padding: 50px 20px;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    text-align: center;
}

.footer-section h4 {
    margin-bottom: 20px;
    font-size: 18px;
    font-weight: 700;
}

.footer-section p {
    font-size: 14px;
    opacity: 0.9;
    line-height: 1.8;
}

.footer-contact {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    margin: 12px 0;
    font-size: 14px;
    font-weight: 600;
}

.footer-contact a {
    color: #ffd700;
    text-decoration: none;
    transition: all 0.3s;
}

.footer-contact a:hover {
    transform: translateY(-2px);
}

.footer-bottom {
    text-align: center;
    margin-top: 40px;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    font-size: 13px;
}

/* Responsive Styles */
@media (max-width: 850px) {
    .inquiry-wrapper {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .header-content {
        flex-direction: column;
        gap: 15px;
    }

    .contact-header {
        flex-direction: column;
        gap: 10px;
    }

    .hero {
        padding: 60px 20px;
        min-height: auto;
    }

    .hero-content {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .hero-text {
        text-align: center;
    }

    .hero-text h1 {
        font-size: 36px;
    }

    .hero-highlight {
        font-size: 18px;
    }

    .price-badge {
        font-size: 24px;
        padding: 15px 30px;
    }

    .cta-buttons {
        flex-direction: column;
    }

    .btn {
        width: 100%;
    }

    .hero-visual {
        transform: rotate(0deg);
    }

    .features-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }

    .section-title {
        font-size: 28px;
    }

    .portfolio-grid,
    .process-grid {
        grid-template-columns: 1fr;
    }

    .pricing-card.business {
        transform: scale(1);
    }

    .pricing-card.business:hover {
        transform: translateY(-10px);
    }
}

@media (max-width: 700px) {
    .compare-side { padding: 14px 16px; }
    .score-points { font-size: 10px; }
    .score-display .score { font-size: 24px; }
}

@media (max-width: 600px) {
    .lang-dropdown {
        padding: 5px 8px;
        font-size: 12px;
    }

    .form-row {
        grid-template-columns: 1fr;
    }

    .ai-widget-container {
        bottom: 16px;
        left: 16px;
    }

    .ai-chat-window {
        width: calc(100vw - 32px);
        height: 420px;
    }

    .hero-trust-strip {
        justify-content: center;
    }
}

/* ==================== AI SCOPE & COST ESTIMATOR ==================== */
.cost-estimator {
    padding: 60px 20px 70px;
    background: #ffffff;
    border-top: 1px solid #e2e8f0;
}

.estimator-container {
    max-width: 1100px;
    margin: 0 auto;
}

.estimator-header {
    text-align: center;
    margin-bottom: 35px;
}

.estimator-badge {
    display: inline-block;
    padding: 5px 14px;
    background: #ede9fe;
    color: #6d28d9;
    font-size: 12px;
    font-weight: 700;
    border-radius: 50px;
    margin-bottom: 10px;
}

.cost-estimator .section-title {
    margin-bottom: 10px;
}

.estimator-sub {
    font-size: 14px;
    color: #475569;
    max-width: 620px;
    margin: 0 auto;
}

.estimator-card {
    display: grid;
    grid-template-columns: 1.25fr 0.95fr;
    gap: 32px;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 20px;
    padding: 32px;
    box-shadow: 0 10px 30px rgba(15, 23, 42, 0.05);
}

.control-group {
    margin-bottom: 24px;
}

.control-label-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 12px;
}

.control-label-row label,
.group-title {
    font-size: 14px;
    font-weight: 700;
    color: #0f172a;
    display: block;
    margin-bottom: 10px;
}

.control-value-badge {
    background: #4f46e5;
    color: #ffffff;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 700;
}

.calc-slider {
    width: 100%;
    height: 7px;
    background: #cbd5e1;
    border-radius: 5px;
    outline: none;
    cursor: pointer;
    accent-color: #4f46e5;
}

.slider-ticks {
    display: flex;
    justify-content: space-between;
    font-size: 11px;
    color: #64748b;
    margin-top: 6px;
}

.calc-toggles-grid {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.toggle-card {
    display: flex;
    align-items: center;
    gap: 12px;
    background: #ffffff;
    border: 1px solid #cbd5e1;
    border-radius: 12px;
    padding: 12px 14px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.toggle-card:hover {
    border-color: #6366f1;
}

.toggle-card input[type="checkbox"] {
    display: none;
}

.toggle-indicator {
    width: 20px;
    height: 20px;
    border-radius: 6px;
    border: 2px solid #cbd5e1;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s;
}

.toggle-card input[type="checkbox"]:checked + .toggle-indicator {
    background: #4f46e5;
    border-color: #4f46e5;
}

.toggle-card input[type="checkbox"]:checked + .toggle-indicator::after {
    content: '✓';
    color: #ffffff;
    font-size: 12px;
    font-weight: 900;
}

.toggle-text strong {
    display: block;
    font-size: 13px;
    color: #0f172a;
}

.toggle-text small {
    font-size: 11px;
    color: #64748b;
}

/* Summary Box */
.summary-box {
    background: linear-gradient(135deg, #003d82 0%, #667eea 100%);
    color: #ffffff;
    padding: 30px 26px;
    border-radius: 16px;
    display: flex;
    flex-direction: column;
    height: 100%;
    box-shadow: 0 15px 35px rgba(102, 126, 234, 0.35);
}

.summary-label {
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 1px;
    opacity: 0.85;
}

.summary-price {
    margin: 12px 0 18px;
}

.summary-price .curr {
    font-size: 26px;
    font-weight: 700;
    vertical-align: super;
}

.summary-price span#calculatedTotal {
    font-size: 46px;
    font-weight: 900;
    letter-spacing: -1px;
}

.summary-price .term {
    display: block;
    font-size: 12px;
    opacity: 0.85;
}

.summary-breakdown {
    list-style: none;
    padding: 0;
    margin: 0 0 24px 0;
    display: flex;
    flex-direction: column;
    gap: 10px;
    font-size: 12.5px;
    line-height: 1.45;
    flex: 1;
}

.calc-cta-btn {
    width: 100%;
    background: #10b981;
    color: #ffffff;
    box-shadow: 0 10px 20px rgba(16, 185, 129, 0.3);
    text-align: center;
    border: none;
    font-size: 14px;
    padding: 14px 20px;
    border-radius: 8px;
    cursor: pointer;
    font-weight: 700;
}

.calc-cta-btn:hover {
    background: #059669;
    transform: translateY(-2px);
}

@media (max-width: 850px) {
    .estimator-card {
        grid-template-columns: 1fr;
    }
}
/* ==================== MOBILE STICKY CONVERSION DOCK ==================== */
/* Hidden by default on laptops & desktops */
.mobile-sticky-dock {
    display: none;
}

@media (max-width: 768px) {
    .mobile-sticky-dock {
        display: grid;
        grid-template-columns: 1.6fr 1fr;
        gap: 10px;
        position: fixed;
        bottom: 0;
        left: 0;
        right: 0;
        background: rgba(255, 255, 255, 0.96);
        backdrop-filter: blur(12px);
        -webkit-backdrop-filter: blur(12px);
        padding: 10px 14px calc(10px + env(safe-area-inset-bottom, 0px));
        box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.12);
        border-top: 1px solid #e2e8f0;
        z-index: 998;
    }

    .dock-btn {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        gap: 7px;
        text-decoration: none;
        padding: 12px 10px;
        border-radius: 10px;
        font-size: 13px;
        font-weight: 700;
        letter-spacing: -0.2px;
        white-space: nowrap;
        transition: transform 0.15s ease, opacity 0.15s ease;
    }

    .dock-btn:active {
        transform: scale(0.97);
        opacity: 0.9;
    }

    /* Left: Primary WhatsApp CTA */
    .dock-whatsapp {
        background: #10b981;
        color: #ffffff;
        box-shadow: 0 4px 12px rgba(16, 185, 129, 0.35);
    }

    /* Right: Direct Call CTA */
    .dock-call {
        background: #0f172a;
        color: #ffffff;
        box-shadow: 0 4px 12px rgba(15, 23, 42, 0.2);
    }

    .dock-icon {
        font-size: 16px;
        line-height: 1;
    }

    /* Pulsing Chat Icon Animation */
    .pulse-icon {
        animation: chatPulse 1.8s infinite;
    }

    @keyframes chatPulse {
        0%, 100% {
            transform: scale(1);
        }
        50% {
            transform: scale(1.22);
        }
    }

    /* Shift the floating AI Assistant slightly up on mobile so it doesn't overlap the dock */
    .ai-widget-container {
        bottom: 78px !important;
        left: 16px !important;
    }

    /* Prevent footer copyright from being hidden under the dock */
    footer {
        padding-bottom: 90px !important;
    }
}
/* ==================== 100% RISK-REVERSAL GUARANTEE ==================== */
.guarantee-section {
    padding: 30px 20px 40px;
    background: #ffffff;
}

.guarantee-container {
    max-width: 1100px;
    margin: 0 auto;
}

.guarantee-card {
    background: linear-gradient(135deg, #f0fdf4 0%, #ffffff 100%);
    border: 2px solid #86efac;
    border-radius: 20px;
    padding: 28px 32px;
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 28px;
    align-items: center;
    box-shadow: 0 10px 30px rgba(16, 185, 129, 0.08);
    position: relative;
    overflow: hidden;
}

.guarantee-card::before {
    content: '';
    position: absolute;
    top: -50px;
    right: -50px;
    width: 140px;
    height: 140px;
    background: radial-gradient(circle, rgba(34, 197, 94, 0.15) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}

/* Shield Icon & Tag */
.guarantee-icon-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-width: 130px;
}

.guarantee-shield-icon {
    font-size: 54px;
    line-height: 1;
    margin-bottom: 8px;
    filter: drop-shadow(0 4px 10px rgba(34, 197, 94, 0.3));
    animation: float 4s ease-in-out infinite;
}

.guarantee-check-tag {
    background: #16a34a;
    color: #ffffff;
    font-size: 11px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    padding: 4px 10px;
    border-radius: 30px;
    white-space: nowrap;
    box-shadow: 0 2px 8px rgba(22, 163, 74, 0.3);
}

/* Content & Copy */
.guarantee-header-row {
    margin-bottom: 8px;
}

.guarantee-badge {
    display: inline-block;
    color: #15803d;
    font-size: 11px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 4px;
}

.guarantee-header-row h3 {
    font-size: 22px;
    font-weight: 800;
    color: #064e3b;
    margin: 0;
}

.guarantee-statement {
    font-size: 14px;
    line-height: 1.6;
    color: #334155;
    margin-bottom: 16px;
}

.guarantee-statement strong {
    color: #0f172a;
}

/* Pillars Checklist */
.guarantee-pillars {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
}

.pillar-item {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    font-weight: 700;
    color: #1e293b;
    background: rgba(255, 255, 255, 0.8);
    border: 1px solid #bbf7d0;
    padding: 6px 14px;
    border-radius: 8px;
}

.pillar-icon {
    font-size: 15px;
}

/* Mobile Responsiveness */
@media (max-width: 768px) {
    .guarantee-card {
        grid-template-columns: 1fr;
        padding: 24px 20px;
        text-align: center;
        gap: 16px;
    }

    .guarantee-icon-wrapper {
        min-width: auto;
    }

    .guarantee-pillars {
        justify-content: center;
        gap: 10px;
    }

    .pillar-item {
        width: 100%;
        justify-content: center;
    }
}
/* ==================== FREE WEBSITE SEO & SPEED AUDIT ==================== */
.site-grader-section {
    padding: 70px 20px 80px;
    background: linear-gradient(135deg, #f8fafc 0%, #eef2f6 100%);
    border-top: 1px solid #e2e8f0;
}

.grader-wrapper {
    max-width: 820px;
    margin: 0 auto;
    text-align: center;
}

.grader-pill {
    display: inline-block;
    background: #e0f2fe;
    color: #0369a1;
    font-size: 12px;
    font-weight: 700;
    padding: 4px 14px;
    border-radius: 20px;
    margin-bottom: 10px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.site-grader-section .section-title {
    margin-bottom: 12px;
}

.grader-sub {
    font-size: 15px;
    color: #475569;
    max-width: 650px;
    margin: 0 auto 30px;
    line-height: 1.6;
}

.grader-form {
    max-width: 640px;
    margin: 0 auto;
}

.grader-input-group {
    display: flex;
    gap: 10px;
    background: #ffffff;
    padding: 8px;
    border-radius: 14px;
    border: 1.5px solid #cbd5e1;
    box-shadow: 0 10px 25px rgba(15, 23, 42, 0.06);
    transition: border-color 0.2s, box-shadow 0.2s;
}

.grader-input-group:focus-within {
    border-color: #0e7c86;
    box-shadow: 0 0 0 3px rgba(14, 124, 134, 0.18);
}

.grader-input-group input {
    flex: 1;
    border: none;
    outline: none;
    padding: 12px 16px;
    font-size: 15px;
    font-family: inherit;
    color: #0f172a;
}

.grader-input-group button {
    background: linear-gradient(135deg, #0e7c86 0%, #085a62 100%);
    color: #ffffff;
    border: none;
    padding: 12px 24px;
    border-radius: 10px;
    font-size: 14px;
    font-weight: 700;
    cursor: pointer;
    transition: transform 0.15s, opacity 0.2s;
    white-space: nowrap;
}

.grader-input-group button:hover {
    transform: translateY(-1px);
}

.grader-input-group button:disabled {
    opacity: 0.65;
    cursor: wait;
}

.grader-disclaimer {
    font-size: 12px;
    color: #64748b;
    margin-top: 12px;
}

/* Status Loading Bar */
.audit-status-msg {
    margin-top: 20px;
    font-weight: 600;
    font-size: 14px;
    color: #0f172a;
}

.audit-status-msg.err {
    color: #d64545;
}

.audit-progress-bar {
    height: 6px;
    background: #cbd5e1;
    border-radius: 4px;
    overflow: hidden;
    margin: 12px auto 0;
    max-width: 380px;
}

.audit-progress-bar i {
    display: block;
    height: 100%;
    width: 35%;
    background: #0e7c86;
    border-radius: 4px;
    animation: auditSlide 1.2s ease-in-out infinite;
}

@keyframes auditSlide {
    0% { margin-left: -35%; }
    100% { margin-left: 100%; }
}

/* ==================== AUDIT RESULT MODAL POP-UP ==================== */
/* ==================== AUDIT RESULT MODAL POP-UP (FIXED) ==================== */
.audit-modal-backdrop {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(15, 23, 42, 0.75);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    z-index: 10000;
    padding: 20px 14px;
    align-items: center;
    justify-content: center;
}

.audit-modal-backdrop.open {
    display: flex;
}

.audit-modal {
    background: #f8fafc;
    border-radius: 18px;
    width: 100%;
    max-width: 860px;
    max-height: 88vh; /* Keeps entire modal inside viewport */
    display: flex;
    flex-direction: column;
    position: relative;
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.35);
    border: 1px solid #cbd5e1;
    overflow: hidden;
    animation: slideInUp 0.3s ease-out;
}

.audit-modal-close {
    position: absolute;
    top: 14px;
    right: 16px;
    background: #ffffff;
    border: 1px solid #cbd5e1;
    color: #475569;
    font-size: 22px;
    line-height: 1;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
    transition: background 0.2s, color 0.2s;
}

.audit-modal-close:hover {
    background: #fee2e2;
    color: #dc2626;
    border-color: #fca5a5;
}

/* Scrollable Inner Body */
.audit-modal-body {
    padding: 24px;
    overflow-y: auto;
    max-height: calc(88vh - 20px);
}

/* Modal Top Summary Card */
.audit-top-summary {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 24px;
    align-items: center;
    background: #ffffff;
    border: 1.5px solid #e2e8f0;
    border-radius: 14px;
    padding: 20px 24px;
    margin-bottom: 18px;
}

.audit-dial {
    position: relative;
    width: 130px;
    height: 130px;
    flex-shrink: 0;
}

.audit-dial svg {
    width: 130px;
    height: 130px;
    transform: rotate(-90deg);
}

.audit-dial circle {
    fill: none;
    stroke-width: 14;
}

.audit-dial .dial-bg {
    stroke: #e2e8f0;
}

.audit-dial .dial-fg {
    stroke-linecap: round;
    transition: stroke-dashoffset 1s ease, stroke 0.3s;
}

.audit-dial-score {
    position: absolute;
    inset: 0;
    display: grid;
    place-items: center;
    font-size: 40px;
    font-weight: 800;
    color: #0f172a;
}

.audit-summary-text h3 {
    font-size: 11px;
    text-transform: uppercase;
    color: #64748b;
    letter-spacing: 0.8px;
    margin-bottom: 4px;
    font-weight: 700;
}

.audit-summary-text h4 {
    font-size: 20px;
    font-weight: 800;
    color: #0f172a;
    line-height: 1.3;
    margin-bottom: 6px;
}

.audit-summary-text p {
    color: #475569; /* Darkened for sharp contrast */
    font-size: 13px;
    font-weight: 500;
    margin-bottom: 6px;
}

.audit-tested-url {
    word-break: break-all;
    font-size: 12.5px;
    color: #0284c7;
    font-weight: 700;
    background: #f0f9ff;
    padding: 4px 10px;
    border-radius: 6px;
    display: inline-block;
    border: 1px solid #bae6fd;
}

/* Categories Breakdown Grid */
.audit-categories-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 14px;
    margin-bottom: 18px;
}

.audit-sec {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 16px 18px;
}

.audit-sec header {
    all: unset;
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
    padding-bottom: 8px;
    border-bottom: 1px solid #f1f5f9;
}

.audit-sec header h5 {
    font-size: 15px;
    font-weight: 700;
    color: #0f172a;
    margin: 0;
}

.audit-pill {
    font-weight: 800;
    font-size: 12px;
    padding: 2px 10px;
    border-radius: 20px;
    color: #ffffff;
}

.audit-sec ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.audit-sec li {
    display: flex;
    gap: 10px;
    padding: 8px 0;
    border-top: 1px solid #f8fafc;
    font-size: 12.5px;
    color: #334155;
    line-height: 1.4;
}

.audit-sec li b {
    flex: none;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    color: #ffffff;
    font-size: 10.5px;
    display: grid;
    place-items: center;
    margin-top: 2px;
}

.audit-sec li strong {
    color: #0f172a;
    display: block;
}

.audit-sec li small {
    display: block;
    color: #64748b;
    font-size: 11.5px;
    margin-top: 2px;
}

.audit-badge-pass { background: #16a34a; }
.audit-badge-warn { background: #d97706; }
.audit-badge-fail { background: #dc2626; }

/* Modal Bottom CTA */
.audit-modal-cta {
    background: linear-gradient(135deg, #003d82 0%, #0f172a 100%);
    color: #ffffff;
    border-radius: 12px;
    padding: 16px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 14px;
    flex-wrap: wrap;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.audit-modal-cta strong {
    font-size: 14px;
    display: block;
}

.audit-modal-cta p {
    font-size: 12px;
    opacity: 0.85;
    margin: 2px 0 0;
}

.audit-modal-cta a {
    background: #10b981;
    color: #ffffff;
    padding: 10px 18px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 700;
    font-size: 13px;
    transition: background 0.2s;
    white-space: nowrap;
}

.audit-modal-cta a:hover {
    background: #059669;
}

@media (max-width: 700px) {
    .audit-top-summary {
        grid-template-columns: 1fr;
        justify-items: center;
        text-align: center;
        gap: 16px;
    }

    .audit-categories-grid {
        grid-template-columns: 1fr;
    }

    .audit-modal-cta {
        flex-direction: column;
        text-align: center;
    }

    .audit-modal-cta a {
        width: 100%;
        text-align: center;
    }
}
/* ==================== HEADER NAVIGATION LINKS ==================== */
html {
    scroll-behavior: smooth;
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 22px;
}

.nav-link {
    color: #475569;
    text-decoration: none;
    font-size: 14px;
    font-weight: 600;
    transition: color 0.2s ease;
    position: relative;
}

.nav-link:hover {
    color: #667eea;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: #667eea;
    transition: width 0.25s ease;
}

.nav-link:hover::after {
    width: 100%;
}

@media (max-width: 990px) {
    .nav-menu {
        display: none; /* Collapses clean on smaller tablet/phone viewports */
    }
}

/* ==================== FAQ ACCORDION SECTION ==================== */
/* ==================== FAQ ACCORDION SECTION ==================== */
.faq-section {
    padding: 70px 20px 80px;
    background: #ffffff;
    border-top: 1px solid #e2e8f0;
}

.faq-container {
    max-width: 860px;
    margin: 0 auto;
}

.faq-header {
    text-align: center;
    margin-bottom: 35px;
}

.faq-badge {
    display: inline-block;
    padding: 5px 14px;
    background: #eef2ff;
    color: #4f46e5;
    font-size: 12px;
    font-weight: 700;
    border-radius: 50px;
    margin-bottom: 10px;
}

.faq-section .section-title {
    margin-bottom: 12px;
    font-size: 34px;
    color: #003d82;
    display: block;
}

.faq-subtitle {
    font-size: 14px;
    color: #64748b;
    max-width: 620px;
    margin: 0 auto;
    line-height: 1.6;
}

.faq-accordion {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.faq-item {
    background: #f8fafc;
    border: 1.5px solid #e2e8f0;
    border-radius: 12px;
    overflow: hidden;
    transition: all 0.25s ease;
}

.faq-item.active {
    border-color: #667eea;
    background: #ffffff;
    box-shadow: 0 10px 25px rgba(102, 126, 234, 0.1);
}

.faq-question {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 24px;
    background: none;
    border: none;
    outline: none;
    cursor: pointer;
    font-size: 16px;
    font-weight: 700;
    color: #0f172a;
    text-align: left;
    font-family: inherit;
    gap: 14px;
}

.faq-question:hover {
    color: #4f46e5;
}

.faq-icon {
    font-size: 22px;
    line-height: 1;
    color: #667eea;
    font-weight: 700;
    transition: transform 0.25s ease, color 0.25s ease;
    flex-shrink: 0;
}

.faq-item.active .faq-icon {
    transform: rotate(45deg);
    color: #ef4444;
}

/* Bulletproof Answer Visibility */
.faq-answer {
    display: none; /* hidden when collapsed */
    padding: 0 24px 22px;
}

.faq-item.active .faq-answer {
    display: block; /* immediately visible directly below the question */
    animation: fadeInFaq 0.3s ease-out;
}

@keyframes fadeInFaq {
    from {
        opacity: 0;
        transform: translateY(-6px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.faq-answer-inner {
    color: #475569;
    font-size: 14px;
    line-height: 1.7;
    border-top: 1px solid #f1f5f9;
    padding-top: 16px;
}

.faq-answer-inner p {
    margin-bottom: 12px;
}

.faq-checklist {
    list-style: none;
    padding: 0;
    margin: 10px 0 0;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.faq-checklist li {
    position: relative;
    padding-left: 24px;
    font-size: 13.5px;
    color: #334155;
    line-height: 1.5;
}

.faq-checklist li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: #10b981;
    font-weight: 800;
    font-size: 15px;
}

.faq-checklist li strong {
    color: #0f172a;
}