/* ReviewRouter High-Conversion Design System (B2B SaaS) */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;600;800&family=Outfit:wght@300;400;600;900&display=swap');

:root {
    --bg-deep: #05070a;
    --bg-card: #0f172a;
    --accent-orange: #ff6b00;
    --accent-blue: #2563eb;
    --text-white: #ffffff;
    --text-dim: #94a3b8;
    --text-silver: #cbd5e1;
    --card-border: rgba(255, 255, 255, 0.08);
    --glass-bg: rgba(255, 255, 255, 0.03);
    --transition: 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    
    /* Responsive Tokens */
    --section-pad: 100px 5%;
    --container-gap: 80px;
    --grid-gap: 32px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Inter', sans-serif;
}

html, body {
    max-width: 100%;
    overflow-x: hidden;
    position: relative;
}

body {
    background-color: var(--bg-deep);
    color: var(--text-white);
    line-height: 1.6;
    scroll-behavior: smooth;
}

h1, h2, h3, h4 {
    font-family: 'Outfit', sans-serif;
    font-weight: 900;
    letter-spacing: -0.02em;
}

/* Background Grids & Glows */
.grid-overlay {
    position: fixed;
    inset: 0;
    background-image: 
        linear-gradient(rgba(255,255,255,0.02) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,0.02) 1px, transparent 1px);
    background-size: 50px 50px;
    pointer-events: none;
    z-index: 1;
}

.sphere-glow {
    position: absolute;
    width: 600px;
    height: 600px;
    border-radius: 50%;
    filter: blur(140px);
    opacity: 0.15;
    pointer-events: none;
    z-index: 0;
    animation: pulseGlow 8s ease-in-out infinite alternate;
}

.site-footer {
    padding: 100px 5%;
    border-top: 1px solid var(--card-border);
    background: #080a13;
    display: flex;
    justify-content: center;
}

.footer-container {
    width: 100%;
    max-width: 1300px;
}

@media (max-width: 768px) {
    .site-footer {
        padding: 40px 5% 100px; /* 100px bottom for mobile cta room */
    }
}

.glow-orange { background: var(--accent-orange) !important; }
.glow-blue { background: var(--accent-blue) !important; }

.sphere-glow.glow-orange { top: -200px; right: -200px; }
.sphere-glow.glow-blue { bottom: 20%; left: -200px; }

.mobile-glow {
    position: absolute;
    width: 250px;
    height: 250px;
    border-radius: 50%;
    filter: blur(100px);
    opacity: 0.12;
    pointer-events: none;
    z-index: 0;
    display: none;
}

/* Layout Components */
section {
    position: relative;
    padding: 100px 5%;
    max-width: 1400px;
    margin: 0 auto;
}

.glass {
    background: var(--glass-bg);
    backdrop-filter: blur(12px);
    border: 1px solid var(--card-border);
    border-radius: 24px;
}

/* Typography Utilities */
.hero-title {
    font-size: clamp(32px, 5vw, 56px);
    line-height: 1.1;
    margin-bottom: 24px;
}

.hero-title span {
    display: block;
    white-space: nowrap;
}

.hero-title b { color: var(--accent-orange); }

.hero-sub {
    font-size: 18px;
    color: var(--text-dim);
    max-width: 580px;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 14px 28px;
    border-radius: 12px;
    font-weight: 700;
    text-decoration: none;
    transition: var(--transition);
    cursor: pointer;
    border: none;
    font-size: 15px;
}

.desktop-only { display: inline-flex; }
.mobile-only { display: none; }

@media (max-width: 768px) {
    .desktop-only { display: none !important; }
    .mobile-only { display: inline-flex !important; }
}

.hero {
    min-height: calc(100vh - 100px);
    display: flex;
    align-items: center;
    padding: 0 5%;
    position: relative;
    overflow: hidden;
    max-width: 100% !important;
    margin: 0 !important;
}

.hero-visual {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 1;
}

.hero-visual img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: right center;
    opacity: 0.8; /* Subtle blend with background */
}

/* Gradient overlay to ensure text readability on the left */
.hero::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to right, var(--bg-deep) 30%, transparent 80%);
    z-index: 2;
    pointer-events: none;
}

.hero-content {
    position: relative;
    z-index: 3;
    max-width: 1300px;
    margin: 0 auto;
    width: 100%;
}

.hero-stats span {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
}

.hero-stats span::before {
    content: '•';
    color: var(--accent-orange);
}

.btn-orange {
    background: var(--accent-orange);
    color: white;
    box-shadow: 0 10px 40px rgba(255, 107, 0, 0.3);
}

.btn-orange:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 40px rgba(255, 107, 0, 0.4);
}

.btn:active {
    transform: scale(0.96);
}

.btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    pointer-events: none;
    transform: none !important;
    box-shadow: none !important;
}

.btn-blue { background: var(--accent-blue); color: white; }
.btn-outline { 
    background: transparent; 
    border: 1px solid var(--card-border); 
    color: white; 
}
.btn-outline:hover { background: rgba(255,255,255,0.05); }
.supported-platforms { display: flex; align-items: center; gap: 20px; margin-top: 48px; transition: 0.3s; }
.supported-platforms span { font-size: 11px; font-weight: 800; text-transform: uppercase; letter-spacing: 0.1em; color: var(--text-dim); }
.supported-platforms img { height: 24px; transition: 0.3s; }
.supported-platforms img:hover { transform: scale(1.1); }

@media (max-width: 768px) {
    .hero-stats { justify-content: center !important; gap: 0 !important; }
    .hero-stats > div { flex: 1; min-width: 0; }
    .supported-platforms { justify-content: center; }
}

nav {
    position: sticky;
    top: 0;
    width: 100%;
    padding: 20px 5%;
    display: flex;
    justify-content: center; /* Center the nav container content */
    align-items: center;
    z-index: 1000;
    background: rgba(5, 7, 10, 0.8);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--card-border);
}

.nav-container {
    width: 100%;
    max-width: 1400px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo { font-size: 20px; font-weight: 900; display: flex; align-items: center; gap: 8px; }
.logo span { color: var(--accent-orange); }

.nav-links { display: flex; gap: 32px; }
.nav-links a { 
    text-decoration: none; 
    color: var(--text-silver); 
    font-size: 14px; 
    font-weight: 600;
    transition: 0.3s;
    display: flex;
    align-items: center;
    gap: 8px;
}
.nav-links a:hover { color: var(--accent-orange); }
.nav-links a svg { width: 16px; height: 16px; opacity: 0.8; }

/* Hamburger Toggle */
.menu-toggle {
    display: none;
    flex-direction: column;
    gap: 6px;
    cursor: pointer;
    z-index: 3000;
}

.menu-toggle span {
    width: 24px;
    height: 2px;
    background: white;
    transition: 0.3s;
}

.menu-toggle.active span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.menu-toggle.active span:nth-child(2) { opacity: 0; }
.menu-toggle.active span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

/* mobile menu sidebar drawer */
.mobile-menu {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    width: 320px;
    max-width: 85vw;
    background: rgba(5, 7, 10, 0.98);
    backdrop-filter: blur(25px);
    z-index: 2500;
    display: flex;
    flex-direction: column;
    opacity: 0;
    pointer-events: none;
    transition: 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    transform: translateX(100%);
    border-left: 1px solid var(--card-border);
}

.mobile-menu.active {
    opacity: 1;
    pointer-events: auto;
    transform: translateX(0);
}

.menu-header {
    padding: 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid rgba(255,255,255,0.05);
}

.menu-close {
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: var(--text-dim);
}

.menu-body {
    flex: 1;
    overflow-y: auto;
    padding: 24px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.menu-footer {
    padding: 24px;
    border-top: 1px solid rgba(255,255,255,0.05);
}

.mobile-menu a {
    color: white;
    font-size: 16px;
    text-decoration: none;
    font-weight: 600;
    font-family: 'Outfit', sans-serif;
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 12px 0;
    transition: 0.3s;
    border-bottom: 1px solid rgba(255,255,255,0.02);
}

.mobile-menu a:hover { color: var(--accent-orange); padding-left: 4px; }
.mobile-menu a svg { width: 22px; height: 22px; color: var(--accent-orange); opacity: 0.9; }

@media (max-width: 768px) {
    .nav-links { display: none; }
    .menu-toggle { display: flex; }
}

/* Hero Form */
.form-group { position: relative; width: 100%; margin-bottom: 12px; }
.form-input {
    width: 100%;
    background: rgba(255,255,255,0.05);
    border: 1px solid var(--card-border);
    padding: 16px 20px;
    border-radius: 12px;
    color: white;
    outline: none;
    transition: 0.3s;
}
.form-input:focus { border-color: var(--accent-orange); background: rgba(255,255,255,0.08); }
.form-input.error { border-color: #ef4444 !important; background: rgba(239, 68, 68, 0.05) !important; }

.field-hint {
    font-size: 11px;
    color: var(--text-dim);
    margin: 6px 0 0 12px;
    opacity: 0.8;
}

.error-msg {
    color: #ef4444;
    font-size: 11px;
    margin-top: 4px;
    margin-left: 12px;
    display: none;
}
.form-input.error + .error-msg { display: block; }
.lead-form input { transition: var(--transition); }

.checkbox-group {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 24px !important;
}
.checkbox-group input[type="checkbox"] {
    width: 20px;
    height: 20px;
    accent-color: var(--accent-orange);
    cursor: pointer;
    margin-top: 2px;
}
.checkbox-group label {
    font-family: inherit;
}

/* Trust Metrics Bar */
.stats-bar {
    background: var(--bg-card);
    padding: 30px 5%;
    display: flex;
    justify-content: center;
    gap: 30px;
    text-align: center;
    border-top: 1px solid var(--card-border);
    border-bottom: 1px solid var(--card-border);
}

.stat-item {
    flex: 0 1 auto;
    min-width: 120px;
}

.stat-item h3 { color: var(--accent-orange); font-size: 32px; margin-bottom: 8px; }
.stat-item span { color: var(--text-silver); text-transform: uppercase; font-size: 11px; letter-spacing: 0.1em; font-weight: 800; }

/* Section Headers */
.section-header { text-align: center; margin-bottom: 80px; }

@media (max-width: 768px) {
    .section-header { margin-bottom: 40px; }
}
.section-header span { color: var(--accent-orange); font-weight: 800; text-transform: uppercase; letter-spacing: 0.2em; font-size: 12px; }
.section-header h2 { font-size: 48px; margin-top: 16px; }

/* Pricing Grid */
.pricing-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 20px;
    margin: 0 auto;
    transition: var(--transition);
}

@media (max-width: 900px) {
    .pricing-grid {
        display: flex;
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        padding: 20px 5%;
        gap: 16px;
        margin: 0 -5%; /* Bleed to edges */
        scroll-padding: 5%;
        -ms-overflow-style: none; /* IE/Edge */
        scrollbar-width: none; /* Firefox */
    }
    
    .pricing-grid::-webkit-scrollbar {
        display: none; /* Chrome/Safari */
    }
    
    .price-card {
        flex: 0 0 85%;
        scroll-snap-align: center;
    }
}

#pricing {
    max-width: 1450px;
    margin: 0 auto;
}

.price-card {
    padding: 40px 30px;
    display: flex;
    flex-direction: column;
    min-width: 260px;
}

.price-card h4 {
    font-size: 22px;
    margin-bottom: 4px;
}

.price-duration {
    font-size: 14px;
    color: var(--accent-orange);
    font-weight: 700;
    margin-bottom: 20px;
    opacity: 0.8;
}

.price-card.featured { 
    border: 2px solid var(--accent-orange); 
    box-shadow: 0 0 50px rgba(255,107,0,0.15);
}
.price-value { 
    font-size: 40px; 
    font-weight: 900; 
    margin: 10px 0 24px; 
    white-space: nowrap;
}
.price-value span { font-size: 16px; color: var(--text-dim); font-weight: 400; }

.price-features { list-style: none; margin-bottom: 32px; flex: 1; }
.price-features li { padding: 12px 0; border-bottom: 1px solid var(--card-border); font-size: 14px; color: var(--text-silver); display: flex; align-items: center; gap: 12px; }
.price-features li::before { content: '✓'; color: var(--accent-orange); font-weight: 900; }

.pricing-upsell {
    margin: 40px auto 0;
    padding: 32px 40px;
    display: flex;
    align-items: center;
    gap: 32px;
    transition: var(--transition);
}

.pricing-upsell:hover {
    border-color: var(--accent-orange);
    background: rgba(255, 107, 0, 0.05);
}

.upsell-icon {
    width: 64px;
    height: 64px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 107, 0, 0.1);
    border-radius: 16px;
    color: var(--accent-orange);
    flex-shrink: 0;
}

/* FAQ Section */
.faq-container {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-top: 48px;
}

.faq-item {
    cursor: pointer;
    overflow: hidden;
    transition: var(--transition);
}

.faq-item:hover {
    border-color: var(--accent-orange);
    background: rgba(255, 107, 0, 0.05);
}

.faq-trigger {
    padding: 24px 32px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
    font-weight: 600;
}

.faq-trigger span {
    font-size: 17px;
    color: white;
}

.faq-icon {
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    color: var(--accent-orange);
}

.faq-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.3s;
    opacity: 0;
}

.faq-content-inner {
    padding: 0 32px 24px;
    color: var(--text-dim);
    font-size: 15px;
    line-height: 1.7;
}

/* Active State */
.faq-item.active {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(255, 107, 0, 0.3);
}

.faq-item.active .faq-content {
    max-height: 400px; /* Large enough for content */
    opacity: 1;
}

.faq-item.active .faq-icon {
    transform: rotate(45deg); /* Plus to X */
}

/* ROI & Simulator Elements */
.slider-container { display: flex; flex-direction: column; gap: 24px; }
.slider-group { background: rgba(255,255,255,0.03); padding: 24px; border-radius: 16px; }
.slider-group label { display: block; margin-bottom: 12px; font-weight: 600; color: var(--text-dim); }
.slider { width: 100%; height: 6px; background: #333; border-radius: 5px; appearance: none; outline: none; }
.slider::-webkit-slider-thumb { appearance: none; width: 22px; height: 22px; background: var(--accent-orange); border-radius: 50%; cursor: pointer; border: 4px solid #fff; box-shadow: 0 0 20px rgba(255,107,0,0.4); }

.roi-result { 
    text-align: center; 
    padding: 40px 32px; 
    border-radius: 24px; 
    background: linear-gradient(135deg, rgba(37, 99, 235, 0.1), transparent); 
}
.roi-value { font-size: 44px; font-weight: 900; color: var(--accent-blue); margin: 10px 0; }

/* Simulator (Phone Mockup) */
.phone-mockup {
    width: 300px;
    height: 600px;
    background: #000;
    border-radius: 48px;
    border: 8px solid #1a1a1a;
    padding: 16px;
    position: relative;
    box-shadow: 0 50px 100px rgba(0,0,0,0.5);
}

.phone-screen {
    background: #05070a;
    width: 100%;
    height: 100%;
    border-radius: 32px;
    padding: 32px 20px;
    display: flex;
    flex-direction: column;
}

.demo-star { font-size: 28px; cursor: pointer; color: #222; transition: 0.2s; }
.demo-star:hover, .demo-star.active { color: var(--accent-orange); }

/* Responsive Grid Classes (Replaces Inline Styles) */
.responsive-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--container-gap);
    align-items: center;
}

.calculator-grid {
    grid-template-columns: 1fr 1fr;
    gap: 32px;
    align-items: start;
}

.slider-container {
    display: grid;
    gap: 28px;
}

.algorithm-flow {
    display: flex;
    flex-direction: column;
    gap: 40px;
    max-width: 1000px;
    margin: 0 auto;
    position: relative;
}

.algorithm-line {
    position: absolute;
    left: 40px;
    top: 0;
    bottom: 0;
    width: 2px;
    background: linear-gradient(to bottom, var(--accent-orange), var(--accent-blue));
    opacity: 0.3;
}

.branch-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    margin-left: 80px;
}

/* Media Queries */
@media (max-width: 1100px) {
    :root {
        --container-gap: 40px;
    }
    
    .hero-content { padding-left: 5vw; }
}

@media (max-width: 900px) {
    body { font-size: 14px; line-height: 1.4; }
    
    .responsive-grid { grid-template-columns: 1fr; gap: 60px; }
    
    .calculator-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .slider-group {
        padding: 20px;
    }

    .slider-ticks span {
        font-size: 10px;
    }
    
    .hero { min-height: 550px; flex-direction: column; justify-content: center; text-align: center; padding: 60px 2%; }
    .hero-content { padding: 0 2%; margin-top: 100px; }
    .hero-visual img { opacity: 0.4; }
    .hero::after { background: radial-gradient(circle at center, transparent, var(--bg-deep) 90%); }
    .hero-sub { margin: 0 auto; max-width: 320px; line-height: 1.25; }
    
    .stats-bar h3 { font-size: 29px; margin-bottom: 4px; }
    
    .stats-explanation { font-size: 14px; line-height: 1.4; }
    .price-features li { font-size: 14px; }
    .node-item p { font-size: 14px; line-height: 1.4; }
    
    .roi-result {
        padding: 30px 20px;
    }
    
    #roi-multiplier {
        font-size: 13px !important;
        line-height: 1.4;
    }
}

@media (max-width: 768px) {
    :root {
        --section-pad: 40px 5%;
    }
    
    nav { padding: 15px 5%; }
    .nav-links { display: none; }
    .menu-toggle { display: flex; }
    
    .stats-bar {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 24px;
        padding: 40px 5%;
    }
    
    .algorithm-line { left: 20px; }
    .node-item { margin-left: 50px !important; padding: 24px !important; }
    .node-item div[style*="left: -50px"] { left: -30px !important; width: 14px !important; height: 14px !important; }
    
    .branch-grid { grid-template-columns: 1fr; margin-left: 50px; }
    
    .section-header h2 { font-size: 32px; }
    
    .comparison-container { padding: 20px !important; }
    .compare-row { grid-template-columns: 1fr 80px; }
    .compare-hide-mobile { display: none; } /* User instruction: Hide Ordinary QR */
    
    .site-footer {
        padding: 40px 5% 20px 5% !important;
    }
}

@media (max-width: 480px) {
    .hero-title { font-size: 35px; }
    .hero-title span { white-space: normal; display: inline; }
    
    .stats-bar { grid-template-columns: 1fr; }
    
    .price-card { padding: 30px; }
    .price-value { font-size: 36px; }
    
    .roi-value { font-size: 28px; }
    
    .lead-form { padding: 30px !important; }
    .lead-form h3 { font-size: 22px; }
}

.stats-explanation {
    text-align: center;
    max-width: 900px;
    margin: 40px auto 0;
    color: var(--text-dim);
    font-size: 15px;
    line-height: 1.7;
    padding: 0 5%;
}

@media (max-width: 768px) {
    .mobile-glow { display: block; }
}
/* Mobile Bottom CTA Bar */
.mobile-bottom-bar {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 2000;
    padding: 14px 5%;
    display: none; /* Hidden on Desktop */
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    border-top: 1px solid var(--card-border);
    background: rgba(5, 7, 10, 0.9);
    backdrop-filter: blur(15px);
    
    /* Smart Visibility */
    opacity: 0;
    transform: translateY(100%);
    transition: opacity 0.4s ease, transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    pointer-events: none;
}

@media (max-width: 768px) {
    .mobile-bottom-bar { display: flex; }
    .mobile-bottom-bar.active {
        opacity: 1;
        transform: translateY(0);
        pointer-events: auto;
    }
    .mobile-glow { display: block; }
}

.mobile-cta-info { display: flex; flex-direction: column; gap: 2px; }
.mobile-cta-title { font-size: 14px; font-weight: 800; font-family: 'Outfit', sans-serif; color: white; }
.mobile-cta-price { font-size: 12px; color: var(--accent-orange); font-weight: 700; opacity: 0.9; }

.mobile-bottom-bar .btn {
    padding: 10px 20px;
    font-size: 13px;
    flex-shrink: 0;
    white-space: nowrap;
}

/* ===== PRICING IMPROVEMENTS ===== */
.price-cta {
    width: 100%;
    justify-content: center;
    margin-top: auto;
    padding: 14px 20px;
    text-align: center;
    font-size: 14px;
}

.price-badge {
    display: inline-block;
    background: var(--accent-orange);
    color: white;
    font-size: 10px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    padding: 4px 10px;
    border-radius: 20px;
    margin-bottom: 12px;
}

.price-badge--blue {
    background: var(--accent-blue);
}

.price-card--network {
    border-color: rgba(37, 99, 235, 0.4);
}

.price-card--network:hover {
    border-color: var(--accent-blue);
    box-shadow: 0 0 50px rgba(37, 99, 235, 0.15);
}

.price-cta--blue {
    background: rgba(37, 99, 235, 0.15);
    border: 1px solid rgba(37, 99, 235, 0.4);
    color: #60a5fa;
}

.price-cta--blue:hover {
    background: rgba(37, 99, 235, 0.25);
    border-color: var(--accent-blue);
    color: white;
}

/* Checkbox error highlight */
.error-checkbox label {
    color: #ef4444 !important;
}

.error-checkbox input[type="checkbox"] {
    outline: 2px solid #ef4444;
    border-radius: 3px;
}

/* ===== TESTIMONIALS SECTION ===== */
.testimonials-section {
    background: linear-gradient(180deg, transparent 0%, rgba(37,99,235,0.04) 50%, transparent 100%);
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    max-width: 1200px;
    margin: 0 auto;
}

@media (max-width: 900px) {
    .testimonials-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }
}

.testimonial-card {
    padding: 32px;
    display: flex;
    flex-direction: column;
    gap: 16px;
    transition: var(--transition);
}

.testimonial-card:hover {
    border-color: rgba(255,107,0,0.3);
    transform: translateY(-4px);
    box-shadow: 0 20px 60px rgba(0,0,0,0.3);
}

.testimonial-header {
    display: flex;
    align-items: center;
    gap: 14px;
}

.testimonial-avatar {
    width: 48px;
    height: 48px;
    border-radius: 14px;
    background: var(--accent-orange);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    font-weight: 900;
    font-family: 'Outfit', sans-serif;
    color: white;
    flex-shrink: 0;
}

.testimonial-name {
    font-weight: 800;
    font-size: 15px;
    font-family: 'Outfit', sans-serif;
    color: var(--text-white);
}

.testimonial-meta {
    font-size: 12px;
    color: var(--text-dim);
    margin-top: 2px;
}

.testimonial-stars {
    color: var(--accent-orange);
    font-size: 16px;
    letter-spacing: 2px;
}

.testimonial-text {
    font-size: 14px;
    color: var(--text-silver);
    line-height: 1.7;
    flex: 1;
    font-style: italic;
}

.testimonial-result {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 14px 16px;
    background: rgba(255,255,255,0.03);
    border-radius: 12px;
    border: 1px solid var(--card-border);
}

.result-before {
    font-size: 18px;
    font-weight: 900;
    color: #ef4444;
    font-family: 'Outfit', sans-serif;
}

.result-after {
    font-size: 18px;
    font-weight: 900;
    color: #10b981;
    font-family: 'Outfit', sans-serif;
}

.testimonial-result svg {
    width: 16px;
    height: 16px;
    color: var(--text-dim);
    flex-shrink: 0;
}

.result-label {
    font-size: 11px;
    color: var(--text-dim);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-left: auto;
}


.supported-platforms svg {
    transition: 0.3s;
}

.supported-platforms svg:hover {
    transform: scale(1.1);
}

/* ===== FOOTER CONTACT LINKS ===== */
.footer-contact-link {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--text-dim);
    text-decoration: none;
    font-size: 13px;
    transition: 0.3s;
}

.footer-contact-link:hover {
    color: var(--accent-orange);
}

/* ===== SCROLL REVEAL ANIMATIONS ===== */
.reveal-on-scroll {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s cubic-bezier(0.4, 0, 0.2, 1), transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.reveal-on-scroll.revealed {
    opacity: 1;
    transform: translateY(0);
}

/* Staggered delays for grids */
.testimonials-grid .reveal-on-scroll:nth-child(2) { transition-delay: 0.1s; }
.testimonials-grid .reveal-on-scroll:nth-child(3) { transition-delay: 0.2s; }

.pricing-grid .reveal-on-scroll:nth-child(2) { transition-delay: 0.08s; }
.pricing-grid .reveal-on-scroll:nth-child(3) { transition-delay: 0.16s; }
.pricing-grid .reveal-on-scroll:nth-child(4) { transition-delay: 0.24s; }
.pricing-grid .reveal-on-scroll:nth-child(5) { transition-delay: 0.32s; }

.algorithm-flow .reveal-on-scroll:nth-child(2) { transition-delay: 0.1s; }
.algorithm-flow .reveal-on-scroll:nth-child(3) { transition-delay: 0.2s; }
.algorithm-flow .reveal-on-scroll:nth-child(4) { transition-delay: 0.3s; }

/* Respect prefers-reduced-motion */
@media (prefers-reduced-motion: reduce) {
    .reveal-on-scroll {
        opacity: 1;
        transform: none;
        transition: none;
    }
}

/* ===== SOCIAL PROOF COUNTER ===== */
.social-proof-bar {
    padding: 16px 5%;
    display: flex;
    justify-content: center;
    background: rgba(255, 107, 0, 0.04);
    border-bottom: 1px solid var(--card-border);
}

.social-proof-inner {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;
    color: var(--text-silver);
}

.social-proof-inner strong {
    color: var(--accent-orange);
    font-family: 'Outfit', sans-serif;
    font-size: 18px;
}

.social-proof-pulse {
    width: 10px;
    height: 10px;
    background: #10b981;
    border-radius: 50%;
    animation: livePulse 2s ease-in-out infinite;
    flex-shrink: 0;
}

@keyframes livePulse {
    0%, 100% { box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.4); }
    50% { box-shadow: 0 0 0 8px rgba(16, 185, 129, 0); }
}

/* ===== BEFORE / AFTER ===== */
.before-after-grid {
    display: flex;
    gap: 24px;
    align-items: center;
    justify-content: center;
    max-width: 900px;
    margin: 0 auto;
}

@media (max-width: 768px) {
    .before-after-grid {
        flex-direction: column;
    }
    .ba-arrow { transform: rotate(90deg); }
}

.ba-card {
    flex: 1;
    padding: 32px;
    max-width: 400px;
}

.ba-before { border-left: 3px solid #ef4444; }
.ba-after { border-left: 3px solid #10b981; }

.ba-badge {
    display: inline-block;
    font-size: 10px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    padding: 4px 10px;
    border-radius: 20px;
    margin-bottom: 16px;
}

.ba-badge--red { background: rgba(239, 68, 68, 0.15); color: #ef4444; }
.ba-badge--green { background: rgba(16, 185, 129, 0.15); color: #10b981; }

.ba-rating {
    display: flex;
    align-items: baseline;
    gap: 10px;
    margin-bottom: 20px;
}

.ba-rating-number {
    font-size: 42px;
    font-weight: 900;
    font-family: 'Outfit', sans-serif;
}

.ba-stars { font-size: 18px; letter-spacing: 2px; }

.ba-reviews {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-bottom: 20px;
}

.ba-review-item {
    font-size: 13px;
    color: var(--text-dim);
    padding: 8px 12px;
    background: rgba(255,255,255,0.02);
    border-radius: 8px;
    border: 1px solid rgba(255,255,255,0.04);
}

.ba-impact {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    padding-top: 16px;
    border-top: 1px solid var(--card-border);
}

.ba-arrow {
    flex-shrink: 0;
    opacity: 0.6;
}

/* ===== QUICKSTART TIMELINE ===== */
.quickstart-section {
    background: linear-gradient(180deg, transparent, rgba(255,107,0,0.04), transparent);
    padding-bottom: 80px;
}

.quickstart-grid {
    display: flex;
    align-items: stretch;
    justify-content: center;
    gap: 0;
    max-width: 1080px;
    margin: 0 auto;
}

.qs-step {
    flex: 1;
    position: relative;
}

.qs-step-inner {
    height: 100%;
    padding: 32px 28px;
    border-radius: 20px;
    border: 1px solid rgba(255,255,255,0.07);
    background: rgba(255,255,255,0.03);
    backdrop-filter: blur(8px);
    display: flex;
    flex-direction: column;
    transition: transform 0.25s, box-shadow 0.25s;
    position: relative;
    overflow: hidden;
    box-sizing: border-box;
}

.qs-step-inner::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 20px;
    opacity: 0;
    transition: opacity 0.3s;
    pointer-events: none;
}

.qs-step:hover .qs-step-inner { transform: translateY(-4px); }

.qs-step--orange .qs-step-inner { border-color: rgba(255,107,0,0.25); }
.qs-step--orange .qs-step-inner::before { background: radial-gradient(ellipse at top left, rgba(255,107,0,0.09), transparent 60%); }
.qs-step--orange:hover .qs-step-inner { box-shadow: 0 20px 50px rgba(255,107,0,0.15); }
.qs-step--orange:hover .qs-step-inner::before { opacity: 1; }

.qs-step--blue .qs-step-inner { border-color: rgba(37,99,235,0.25); }
.qs-step--blue .qs-step-inner::before { background: radial-gradient(ellipse at top left, rgba(37,99,235,0.09), transparent 60%); }
.qs-step--blue:hover .qs-step-inner { box-shadow: 0 20px 50px rgba(37,99,235,0.15); }
.qs-step--blue:hover .qs-step-inner::before { opacity: 1; }

.qs-step--green .qs-step-inner { border-color: rgba(16,185,129,0.25); }
.qs-step--green .qs-step-inner::before { background: radial-gradient(ellipse at top left, rgba(16,185,129,0.09), transparent 60%); }
.qs-step--green:hover .qs-step-inner { box-shadow: 0 20px 50px rgba(16,185,129,0.15); }
.qs-step--green:hover .qs-step-inner::before { opacity: 1; }

.qs-badge {
    display: inline-block;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.2px;
    color: var(--text-dim);
    margin-bottom: 20px;
}

.qs-icon-wrap {
    width: 72px;
    height: 72px;
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
}
.qs-icon-wrap--orange { background: rgba(255,107,0,0.1); border: 1px solid rgba(255,107,0,0.2); box-shadow: 0 0 24px rgba(255,107,0,0.12); }
.qs-icon-wrap--blue   { background: rgba(37,99,235,0.1);  border: 1px solid rgba(37,99,235,0.2);  box-shadow: 0 0 24px rgba(37,99,235,0.12); }
.qs-icon-wrap--green  { background: rgba(16,185,129,0.1); border: 1px solid rgba(16,185,129,0.2); box-shadow: 0 0 24px rgba(16,185,129,0.12); }

.qs-title {
    font-size: 17px;
    font-weight: 800;
    margin-bottom: 10px;
    color: #fff;
}

.qs-desc {
    font-size: 13px;
    color: var(--text-dim);
    line-height: 1.65;
    flex: 1;
    margin-bottom: 20px;
}

.qs-result {
    display: flex;
    align-items: center;
    gap: 7px;
    font-size: 12px;
    font-weight: 700;
    color: #10b981;
    border-top: 1px solid rgba(255,255,255,0.07);
    padding-top: 16px;
    margin-top: auto;
}

.qs-connector-new {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    width: 48px;
    gap: 4px;
    padding-top: 56px;
}

.qs-connector-line {
    width: 1px;
    height: 20px;
    background: linear-gradient(to bottom, rgba(255,107,0,0.35), transparent);
}

@media (max-width: 900px) {
    .quickstart-grid {
        flex-direction: column;
        align-items: stretch;
        gap: 16px;
        padding: 0 16px;
    }
    .qs-connector-new {
        flex-direction: row;
        width: 100%;
        padding-top: 0;
        height: 32px;
    }
    .qs-connector-line {
        width: 40px;
        height: 1px;
        background: linear-gradient(to right, rgba(255,107,0,0.35), transparent);
    }
}

/* ===== TRUST BADGES ===== */
.trust-badges {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
    margin: 16px 0 8px;
}

.trust-badge {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 11px;
    color: var(--text-dim);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    font-weight: 600;
}

.trust-badge svg { opacity: 0.6; }

/* ===== EXIT-INTENT POPUP ===== */
.exit-popup-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(4px);
    z-index: 5000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s;
}

.exit-popup-overlay.active {
    opacity: 1;
    pointer-events: auto;
}

.exit-popup {
    max-width: 440px;
    width: 100%;
    padding: 40px;
    text-align: center;
    position: relative;
    animation: popIn 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

@keyframes popIn {
    from { transform: scale(0.9) translateY(20px); opacity: 0; }
    to { transform: scale(1) translateY(0); opacity: 1; }
}

.exit-popup-close {
    position: absolute;
    top: 16px;
    right: 16px;
    width: 32px;
    height: 32px;
    background: none;
    border: 1px solid var(--card-border);
    border-radius: 8px;
    color: var(--text-dim);
    font-size: 20px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: 0.2s;
}

.exit-popup-close:hover {
    color: white;
    border-color: var(--accent-orange);
}

.exit-popup-icon {
    margin-bottom: 16px;
}

.exit-popup-form {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

/* ===== FLOATING TELEGRAM BUTTON ===== */
.floating-tg {
    position: fixed;
    bottom: 24px;
    right: 24px;
    z-index: 900;
    width: 52px;
    height: 52px;
    background: #0088cc;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 20px rgba(0, 136, 204, 0.4);
    transition: 0.3s;
    text-decoration: none;
    overflow: visible;
    animation: pulse-tg 2s ease-in-out infinite;
}

@keyframes pulse-tg {
    0%, 100% {
        box-shadow: 0 4px 20px rgba(0, 136, 204, 0.4);
    }
    50% {
        box-shadow: 0 4px 30px rgba(0, 136, 204, 0.7), 0 0 0 8px rgba(0, 136, 204, 0.1);
    }
}

.floating-tg svg {
    width: 80%;
    height: 80%;
}

.floating-tg:hover {
    transform: scale(1.05);
    box-shadow: 0 6px 30px rgba(0, 136, 204, 0.6);
    animation: none;
}

.floating-tg-label {
    position: absolute;
    right: 64px;
    background: rgba(0, 0, 0, 0.85);
    color: white;
    font-size: 12px;
    font-weight: 600;
    padding: 6px 12px;
    border-radius: 8px;
    white-space: nowrap;
    opacity: 0;
    transform: translateX(8px);
    transition: 0.3s;
    pointer-events: none;
}

.floating-tg:hover .floating-tg-label {
    opacity: 1;
    transform: translateX(0);
}

@media (max-width: 768px) {
    .floating-tg {
        bottom: 80px; /* Above mobile CTA bar */
        right: 16px;
        width: 48px;
        height: 48px;
    }
    .floating-tg-label { display: none; }
}
