/* CSS for index_free_tools_fee_calculator_newww.html */

/* Design tokens (dark-mode-ready) */
    :root {
        --color-primary: #046bfc;
        --color-primary-hover: #0355cc;
        --color-navy: #04143d;
        --color-navy-light: #0a2463;
        --color-accent: #ff9900;
        --color-success: #10b981;
        --color-surface: #ffffff;
        --color-surface-alt: #f8fafc;
        --color-border: #e2e8f0;
        --color-text: #1e293b;
        --color-text-muted: #64748b;
    }

    html { scroll-behavior: smooth; }
    @media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } .reveal, .reveal-left, .reveal-right { transition: none !important; } .dashboard-float { animation: none !important; } .hot-badge { animation: none !important; } .limit-banner-pulse { animation: none !important; } .ps-wheel-card { transition: none !important; } .gap-bar-fill { transition: none !important; } .step-card, .fee-item, .bridge-card, .compare-card, .usecase-card, .testimonial-card { transition: none !important; } }

    /* Scroll offset for fixed nav + submenu */
    section[id] { scroll-margin-top: 100px; }

    /* Balanced text wrapping for major headings */
    h1, h2 { text-wrap: balance; }

    :focus-visible { outline: 3px solid #046bfc; outline-offset: 2px; border-radius: 4px; }
    input[aria-invalid="true"] { border-color: #ef4444 !important; box-shadow: 0 0 0 3px rgba(239,68,68,0.15); }
    #fcClearInput::before { content: ''; position: absolute; top: 50%; left: 50%; width: 44px; height: 44px; transform: translate(-50%, -50%); border-radius: 50%; }
    .sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }

    /* ============================================
        SCROLL REVEAL
    ============================================ */
    .reveal { opacity: 0; transform: translateY(24px); transition: opacity 0.6s ease, transform 0.6s ease; }
    .reveal.revealed { opacity: 1; transform: translateY(0); }
    .reveal-delay-1 { transition-delay: 0.1s; }
    .reveal-delay-2 { transition-delay: 0.2s; }
    .reveal-delay-3 { transition-delay: 0.3s; }
    .reveal-delay-4 { transition-delay: 0.4s; }

    /* Directional reveals */
    .reveal-left { opacity: 0; transform: translateX(-24px); transition: opacity 0.6s cubic-bezier(0.4,0,0.2,1), transform 0.6s cubic-bezier(0.4,0,0.2,1); }
    .reveal-right { opacity: 0; transform: translateX(24px); transition: opacity 0.6s cubic-bezier(0.4,0,0.2,1), transform 0.6s cubic-bezier(0.4,0,0.2,1); }
    .reveal-left.revealed, .reveal-right.revealed { opacity: 1; transform: none; }

    /* ============================================
        MACROBOX DARK (Final CTA)
    ============================================ */
    .macrobox-dark { background: #04143d; position: relative; overflow: hidden; }
    .macrobox-dark::before { content: ''; position: absolute; top: -30%; right: -15%; width: 500px; height: 500px; background: radial-gradient(circle, rgba(4,107,252,0.4) 0%, transparent 60%); pointer-events: none; }
    .macrobox-dark::after { content: ''; position: absolute; bottom: -25%; left: -10%; width: 400px; height: 400px; background: radial-gradient(circle, rgba(255,153,0,0.25) 0%, transparent 60%); pointer-events: none; }

    /* Dashboard float animation */
    @keyframes dashboardFloat { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }
    .dashboard-float { animation: dashboardFloat 4s ease-in-out infinite; }

    /* ── Product Sourcer Wheel Carousel ── */
    .ps-wheel-container {
        position: relative;
        overflow: visible;
        overscroll-behavior: contain;
        touch-action: pan-y;
    }
    .ps-wheel-card {
        position: absolute;
        width: 88%;
        left: 6%;
        transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
        pointer-events: none;
    }
    .ps-wheel-card[data-position="center"] {
        z-index: 10;
        transform: translateY(0) scale(1);
        opacity: 1;
        filter: blur(0);
        pointer-events: auto;
        cursor: zoom-in;
    }
    .ps-wheel-card[data-position="top"] {
        z-index: 5;
        transform: translateY(-65%) scale(0.82);
        opacity: 0.5;
        filter: blur(3px);
    }
    .ps-wheel-card[data-position="bottom"] {
        z-index: 5;
        transform: translateY(65%) scale(0.82);
        opacity: 0.5;
        filter: blur(3px);
    }
    .ps-wheel-card[data-position="hidden"] {
        z-index: 1;
        transform: translateY(0) scale(0.6);
        opacity: 0;
        filter: blur(6px);
    }

    /* Product Sourcer Lightbox */
    .ps-lightbox {
        position: fixed;
        inset: 0;
        z-index: 9999;
        display: flex;
        align-items: center;
        justify-content: center;
        background: rgba(0, 0, 0, 0);
        backdrop-filter: blur(0);
        opacity: 0;
        pointer-events: none;
        transition: background 0.35s ease, backdrop-filter 0.35s ease, opacity 0.35s ease;
    }
    .ps-lightbox.visible {
        background: rgba(0, 0, 0, 0.8);
        backdrop-filter: blur(8px);
        opacity: 1;
        pointer-events: auto;
        cursor: zoom-out;
    }
    .ps-lightbox img {
        max-width: 92vw;
        max-height: 88vh;
        border-radius: 16px;
        box-shadow: 0 25px 60px rgba(0, 0, 0, 0.5);
        transform: scale(0.85);
        transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    }
    .ps-lightbox.visible img {
        transform: scale(1);
    }
    .ps-lightbox-close {
        position: absolute;
        top: 20px;
        right: 24px;
        width: 44px;
        height: 44px;
        border-radius: 50%;
        background: rgba(255, 255, 255, 0.15);
        border: 1px solid rgba(255, 255, 255, 0.25);
        color: white;
        display: flex;
        align-items: center;
        justify-content: center;
        cursor: pointer;
        transition: background 0.2s, transform 0.2s;
    }
    .ps-lightbox-close:hover {
        background: rgba(255, 255, 255, 0.3);
        transform: scale(1.1);
    }

    /* Use-case / outcome cards */
    .usecase-card { transition: all 0.3s ease; }
    .usecase-card:hover { box-shadow: 0 20px 40px -12px rgba(0,0,0,0.08), 0 8px 20px -6px rgba(4,107,252,0.06); transform: translateY(-4px); }
    .usecase-card.border-t-primary:hover { border-color: #e2e8f0; border-top-color: #046bfc; box-shadow: 0 20px 40px -12px rgba(0,0,0,0.08), 0 8px 20px -6px rgba(4,107,252,0.1); }
    .usecase-card.border-t-emerald-500:hover { border-color: #e2e8f0; border-top-color: #10b981; box-shadow: 0 20px 40px -12px rgba(0,0,0,0.08), 0 8px 20px -6px rgba(16,185,129,0.1); }
    .usecase-card.border-t-navy:hover { border-color: #e2e8f0; border-top-color: #04143d; box-shadow: 0 20px 40px -12px rgba(0,0,0,0.08), 0 8px 20px -6px rgba(4,20,61,0.12); }

    /* ============================================
        HERO
    ============================================ */
    .hero-section { background: #ffffff; position: relative; overflow: hidden; }
    .hero-blob { position: absolute; border-radius: 50%; opacity: 0.8; pointer-events: none; z-index: 0; }
    .hero-blob-1 { width: 600px; height: 600px; background: radial-gradient(circle, rgba(4,107,252,0.35) 0%, transparent 70%); top: -200px; left: -150px; }
    .hero-blob-2 { width: 500px; height: 500px; background: radial-gradient(circle, rgba(255,153,0,0.25) 0%, transparent 70%); top: 50px; right: -100px; }
    .hero-blob-3 { width: 400px; height: 400px; background: radial-gradient(circle, rgba(4,107,252,0.25) 0%, transparent 70%); bottom: -100px; left: 30%; }
    .hero-content { position: relative; z-index: 10; }
    @media (max-width: 768px) {
        .hero-blob { opacity: 0.4; }
        .hero-blob-1 { width: 350px; height: 350px; }
        .hero-blob-2 { width: 300px; height: 300px; }
        .hero-blob-3 { width: 260px; height: 260px; }
    }
    .hero-grid { position: absolute; top: 0; left: 0; right: 0; bottom: 0; background-image: linear-gradient(rgba(4,107,252,0.03) 1px, transparent 1px), linear-gradient(90deg, rgba(4,107,252,0.03) 1px, transparent 1px); background-size: 60px 60px; z-index: 1; pointer-events: none; }

    /* ============================================
        PROMO BANNER
    ============================================ */
    .promo-banner { background: linear-gradient(90deg, #046bfc 0%, #04143d 30%, #04143d 70%, #046bfc 100%); }
    .hot-badge { animation: pulse 2s ease-in-out 3; }
    @keyframes pulse { 0%, 100% { transform: scale(1); } 50% { transform: scale(1.05); } }

    /* ============================================
        SUBMENU
    ============================================ */
    .submenu { position: fixed; top: 56px; left: 0; right: 0; z-index: 40; background: rgba(4, 20, 61, 0.95); backdrop-filter: blur(10px); border-bottom: 1px solid rgba(255,255,255,0.1); transform: translateY(-100%); opacity: 0; visibility: hidden; transition: transform 0.3s ease, opacity 0.3s ease, visibility 0.3s; overflow-x: auto; -webkit-overflow-scrolling: touch; scroll-snap-type: x mandatory; }
    @media (min-width: 768px) { .submenu { top: 72px; } }
    .submenu.visible { transform: translateY(0); opacity: 1; visibility: visible; }
    .submenu-link { color: rgba(255,255,255,0.7); font-size: 13px; font-weight: 500; padding: 14px 16px; transition: all 0.2s; white-space: nowrap; position: relative; scroll-snap-align: start; }
    .submenu-link:hover, .submenu-link.active { color: white; }
    .submenu-link.active::after { content: ''; position: absolute; bottom: 0; left: 16px; right: 16px; height: 2px; background: #046bfc; border-radius: 2px; }
    .progress-bar { position: absolute; bottom: 0; left: 0; height: 2px; background: linear-gradient(90deg, #046bfc, #3d8bfd); width: 0%; transition: width 0.1s linear; }

    /* ============================================
        SECTION BLOBS
    ============================================ */
    .section-blob { position: absolute; border-radius: 50%; pointer-events: none; z-index: 0; }
    .section-blob-blue { background: radial-gradient(circle, rgba(4,107,252,0.1) 0%, transparent 70%); }
    .section-blob-orange { background: radial-gradient(circle, rgba(255,153,0,0.1) 0%, transparent 70%); }

    /* ============================================
        STEP CARDS
    ============================================ */
    .step-card { background: white; border-radius: 1.25rem; padding: 2rem 1.5rem; border: 1px solid #e2e8f0; text-align: center; transition: all 0.3s ease; flex: 1; position: relative; }
    .step-card:hover { transform: translateY(-6px); box-shadow: 0 12px 30px rgba(4,107,252,0.1); border-color: #046bfc; }
    .step-card.border-t-accent:hover { box-shadow: 0 12px 30px rgba(255,153,0,0.12); border-color: #ff9900; }
    .steps-connector { position: relative; }
    .steps-connector::before { content: ''; position: absolute; top: 28px; left: calc(16.67% + 24px); right: calc(16.67% + 24px); height: 3px; background: #046bfc; border-radius: 2px; z-index: 0; }
    @media (max-width: 768px) { .steps-connector::before { display: none; } }

    /* ============================================
        FEE ITEMS
    ============================================ */
    .fee-item { background: white; border-radius: 1rem; padding: 1.5rem; border: 1px solid #e2e8f0; transition: all 0.3s ease; }
    .fee-item:hover { border-color: #046bfc; box-shadow: 0 8px 25px rgba(4,107,252,0.08); transform: translateY(-3px); }

    /* ============================================
        COMPARISON CARD
    ============================================ */
    .compare-card { background: white; border-radius: 1.25rem; padding: 1.75rem; border: 1px solid #e2e8f0; transition: all 0.3s ease; }
    .compare-card:hover { border-color: #046bfc; box-shadow: 0 8px 25px rgba(4,107,252,0.1); }

    /* ============================================
        FUNNEL / BRIDGE CARDS
    ============================================ */
    .bridge-card { background: white; border-radius: 1.5rem; padding: 2rem; box-shadow: 0 4px 20px rgba(4,20,61,0.06); border: 1px solid rgba(4,107,252,0.1); transition: all 0.3s ease; }
    .bridge-card:hover { box-shadow: 0 12px 30px rgba(4,107,252,0.12); transform: translateY(-4px); border-color: #046bfc; }
    .bridge-card[data-color="orange"]:hover { box-shadow: 0 12px 30px rgba(255,153,0,0.15); border-color: #ff9900; }
    .bridge-card[data-color="green"]:hover { box-shadow: 0 12px 30px rgba(16,185,129,0.15); border-color: #10b981; }

    /* ============================================
        INLINE CTA
    ============================================ */
    .inline-cta { background: linear-gradient(135deg, #04143d 0%, #0a2a5e 40%, #0d3b7a 70%, #04143d 100%); border-radius: 1.5rem; padding: 3rem 2.5rem; color: white; text-align: center; position: relative; overflow: hidden; transition: transform 0.3s ease, box-shadow 0.3s ease; border: 1px solid rgba(4,107,252,0.2); }
    .inline-cta:hover { transform: scale(1.01); box-shadow: 0 20px 50px rgba(4,20,61,0.3); }
    .inline-cta::before { content: ''; position: absolute; top: -60%; right: -30%; width: 80%; height: 160%; background: radial-gradient(ellipse, rgba(4,107,252,0.25) 0%, rgba(4,107,252,0.08) 40%, transparent 70%); pointer-events: none; }
    .inline-cta::after { content: ''; position: absolute; bottom: -40%; left: -20%; width: 70%; height: 120%; background: radial-gradient(ellipse, rgba(255,153,0,0.15) 0%, rgba(16,185,129,0.06) 50%, transparent 70%); pointer-events: none; }

    /* ============================================
        FAQ ACCORDION
    ============================================ */
    .faq-answer { max-height: 0; overflow: hidden; transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1); }
    .faq-item.active .faq-answer { max-height: 600px; }
    .faq-item.active .faq-icon { transform: rotate(45deg); background: #046bfc; color: white; }
    .faq-answer-content a:not([class]) { color: #046bfc; text-decoration: underline; text-decoration-style: dotted; text-underline-offset: 2px; }
    .faq-answer-content a:not([class]):hover { text-decoration-style: solid; }

    /* FAQ Tab System */
    .faq-tab { padding: 10px 20px; border: 2px solid #e2e8f0; border-radius: 30px; background: white; font-size: 14px; font-weight: 600; color: #64748b; cursor: pointer; transition: all 0.3s ease; display: flex; align-items: center; gap: 8px; }
    .faq-tab:hover { border-color: #046bfc; color: #046bfc; }
    .faq-tab.active { background: #046bfc; border-color: #046bfc; color: white; }
    .faq-tab:focus-visible { outline-offset: 3px; border-radius: 50px; }
    .faq-category { display: none; }
    .faq-category.active { display: block; }

    /* ============================================
        STICKY CTA + BACK TO TOP
    ============================================ */
    .sticky-cta { transform: translateY(100%); transition: transform 0.3s ease; }
    .sticky-cta.visible { transform: translateY(0); }
    .back-to-top { position: fixed; bottom: 100px; right: 24px; width: 48px; height: 48px; background: #046bfc; color: white; border-radius: 50%; display: flex; align-items: center; justify-content: center; box-shadow: 0 4px 20px rgba(4,107,252,0.3); opacity: 0; visibility: hidden; transform: translateY(20px); transition: all 0.3s ease; z-index: 50; cursor: pointer; border: none; }
    .back-to-top.visible { opacity: 1; visibility: visible; transform: translateY(0); }
    .back-to-top:hover { background: #0356c9; transform: scale(1.1); box-shadow: 0 0 0 6px rgba(4,107,252,0.2); }

    /* ============================================
        UTILITY
    ============================================ */
    .btn-pill { border-radius: 50px; }
    .promo-banner-close { background: none; border: none; color: rgba(255,255,255,0.6); cursor: pointer; padding: 10px; min-width: 44px; min-height: 44px; display: flex; align-items: center; justify-content: center; line-height: 0; transition: color 0.2s; }
    .promo-banner-close:hover { color: white; }

    /* Content-visibility for below-fold sections */
    #fees-included { content-visibility: auto; contain-intrinsic-size: auto 800px; }
    #who-is-this-for { content-visibility: auto; contain-intrinsic-size: auto 700px; }
    #fba-vs-fbm { content-visibility: auto; contain-intrinsic-size: auto 900px; }
    #gap-awareness { content-visibility: auto; contain-intrinsic-size: auto 700px; }
    #product-sourcer { content-visibility: auto; contain-intrinsic-size: auto 800px; }
    #full-analytics { content-visibility: auto; contain-intrinsic-size: auto 600px; }
    #testimonials { content-visibility: auto; contain-intrinsic-size: auto 500px; }
    #other-tools { content-visibility: auto; contain-intrinsic-size: auto 600px; }
    #faq { content-visibility: auto; contain-intrinsic-size: auto 900px; }
    #final-cta { content-visibility: auto; contain-intrinsic-size: auto 500px; }

    /* ============================================
        RESPONSIVE
    ============================================ */
    @media (max-width: 768px) {
        body { padding-bottom: 80px; }
        .back-to-top { bottom: 90px; right: 16px; }
        .inline-cta { padding: 2rem 1.25rem; }
        .inline-cta h3, .inline-cta h2 { font-size: 1.25rem !important; }
        footer ul li a { min-height: 44px; display: inline-flex; align-items: center; }
        .step-card { padding: 1.5rem 1.25rem; }
        .bridge-card { padding: 1.5rem; }
        .compare-card { padding: 1.25rem; }
        .limit-banner { padding: 24px 16px; }
        /* Scroll hint for horizontally scrollable tables */
        .overflow-x-auto { background: linear-gradient(to right, white 30%, transparent), linear-gradient(to left, white 30%, transparent), linear-gradient(to right, rgba(0,0,0,0.08), transparent 15px), linear-gradient(to left, rgba(0,0,0,0.08), transparent 15px); background-position: left center, right center, left center, right center; background-repeat: no-repeat; background-size: 20px 100%, 20px 100%, 15px 100%, 15px 100%; background-attachment: local, local, scroll, scroll; }
    }

    @media (max-width: 639px) {
        #feeCalcCard .grid-cols-3 { grid-template-columns: 1fr !important; gap: 0.5rem !important; }
    }
    @media (hover: none) {
        .step-card:hover, .fee-item:hover, .bridge-card:hover, .compare-card:hover, .usecase-card:hover, .testimonial-card:hover { transform: none !important; }
        .back-to-top:hover { transform: none !important; }
        .inline-cta:hover { transform: none !important; }
    }

    /* Landscape responsive */
    @media (orientation: landscape) and (max-height: 500px) {
        .ps-wheel-container { height: 60vh !important; }
        .sticky-cta { display: none !important; }
    }

    /* Print styles */
    @media print {
        .promo-banner, .submenu, .sticky-cta, .back-to-top, #main-nav, .ps-lightbox, .limit-banner, .upsell-popup-overlay { display: none !important; }
        .reveal { opacity: 1 !important; transform: none !important; }
        .reveal-left, .reveal-right { opacity: 1 !important; transform: none !important; }
        .macrobox-dark { background: #04143d !important; -webkit-print-color-adjust: exact; print-color-adjust: exact; }
        .dashboard-float { animation: none !important; }
        .hero-blob, .hero-grid, .section-blob { display: none; }
        body { padding-bottom: 0 !important; font-size: 12pt; color: #000; }
        a { color: #000; text-decoration: underline; }
        a[href^="http"]::after { content: " (" attr(href) ")"; font-size: 0.8em; color: #555; }
        a[href^="#"]::after { content: none; }
        h1, h2, h3 { page-break-after: avoid; }
        section { page-break-inside: avoid; }
        .inline-cta { background: #04143d !important; -webkit-print-color-adjust: exact; print-color-adjust: exact; }
        .cookie-consent, .upsell-popup-overlay, .toast-snackbar { display: none !important; }
        #mobileMenu { display: none !important; }
        .email-capture { border: 1px solid #ccc; }
    }

    /* iOS safe area */
    @supports (padding-bottom: env(safe-area-inset-bottom)) {
        .sticky-cta { padding-bottom: calc(0.75rem + env(safe-area-inset-bottom)); }
        .back-to-top { bottom: calc(90px + env(safe-area-inset-bottom)); }
        .cookie-consent { padding-bottom: calc(1rem + env(safe-area-inset-bottom)); }
    }

    /* ============================================
        DAILY LIMIT BANNER
    ============================================ */
    .limit-banner {
        background: linear-gradient(135deg, #f0f7ff 0%, #f8fafc 40%, #f0f4ff 100%);
        border: 2px solid rgba(4, 107, 252, 0.18);
        border-radius: 20px;
        padding: 32px 24px;
        text-align: center;
        position: relative;
        overflow: hidden;
    }
    .limit-banner::before {
        content: '';
        position: absolute;
        top: -40px; right: -40px;
        width: 140px; height: 140px;
        background: radial-gradient(circle, rgba(4, 107, 252, 0.08) 0%, transparent 70%);
        pointer-events: none;
    }
    .limit-banner::after {
        content: '';
        position: absolute;
        bottom: -30px; left: -30px;
        width: 100px; height: 100px;
        background: radial-gradient(circle, rgba(255, 153, 0, 0.06) 0%, transparent 70%);
        pointer-events: none;
    }
    .limit-banner-pulse {
        animation: limitPulse 3s ease-in-out infinite;
    }
    @keyframes limitPulse {
        0%, 100% { transform: scale(1); opacity: 1; }
        50% { transform: scale(1.01); opacity: 0.95; }
    }

    /* ============================================
        PERSONA CARDS
    ============================================ */
    .persona-card { background: white; border-radius: 1.5rem; padding: 2rem 1.5rem; border: 1px solid #e2e8f0; transition: all 0.3s ease; text-align: center; }
    .persona-card:hover { transform: translateY(-6px); box-shadow: 0 12px 30px rgba(4,107,252,0.1); border-color: #046bfc; }

    /* ============================================
        TESTIMONIAL CARDS
    ============================================ */
    .testimonial-card { background: white; border-radius: 1.5rem; padding: 2rem; box-shadow: 0 4px 20px rgba(4,20,61,0.06); border: 1px solid rgba(4,107,252,0.08); transition: all 0.3s ease; }
    .testimonial-card:hover { box-shadow: 0 12px 30px rgba(4,107,252,0.12); transform: translateY(-3px); }
    .testimonial-stars { color: #f59e0b; font-size: 14px; letter-spacing: 2px; }

    /* ============================================
        EMAIL CAPTURE
    ============================================ */
    .email-capture { background: linear-gradient(135deg, rgba(4,107,252,0.06) 0%, rgba(255,153,0,0.04) 100%); border-radius: 1.5rem; padding: 3rem 2rem; border: 1px solid rgba(4,107,252,0.15); text-align: center; }
    .email-field { display: flex; max-width: 480px; margin: 0 auto; border-radius: 50px; overflow: hidden; box-shadow: 0 4px 15px rgba(4,20,61,0.08); border: 2px solid #e2e8f0; transition: border-color 0.3s; }
    .email-field:focus-within { border-color: #046bfc; }
    .email-field input { flex: 1; border: none; padding: 14px 20px; font-size: 16px; outline: none; background: white; font-family: inherit; }
    .email-field button { background: #046bfc; color: white; border: none; padding: 14px 28px; font-weight: 700; font-size: 14px; cursor: pointer; transition: background 0.2s; font-family: inherit; white-space: nowrap; }
    .email-field button:hover { background: #0356c9; }

    /* ============================================
        GAP VISUAL BARS
    ============================================ */
    .gap-bar { height: 14px; border-radius: 7px; position: relative; overflow: hidden; background: #f1f5f9; }
    .gap-bar-fill { height: 100%; border-radius: 7px; transition: width 1.2s ease; }
    .gap-bar-label { display: flex; justify-content: space-between; font-size: 13px; margin-bottom: 6px; }

    /* ============================================
        TOAST / SNACKBAR
    ============================================ */
    .toast-snackbar { position: fixed; bottom: 100px; left: 50%; transform: translateX(-50%) translateY(120%); background: #04143d; color: white; padding: 14px 24px; border-radius: 12px; font-size: 14px; font-weight: 500; z-index: 9999; box-shadow: 0 8px 30px rgba(4,20,61,0.25); display: flex; align-items: center; gap: 10px; transition: transform 0.4s cubic-bezier(0.4,0,0.2,1), opacity 0.4s; opacity: 0; pointer-events: none; max-width: 90vw; }
    .toast-snackbar.visible { transform: translateX(-50%) translateY(0); opacity: 1; pointer-events: auto; }
    .toast-snackbar.toast-success { border-left: 4px solid #10b981; }
    .toast-snackbar.toast-error { border-left: 4px solid #ef4444; }
    .toast-snackbar.toast-info { border-left: 4px solid #046bfc; }

    /* ============================================
        UPSELL POPUP
    ============================================ */
    .upsell-popup-overlay { position: fixed; inset: 0; background: rgba(4,20,61,0.6); backdrop-filter: blur(4px); z-index: 9998; display: flex; align-items: center; justify-content: center; opacity: 0; visibility: hidden; transition: opacity 0.3s, visibility 0.3s; padding: 1rem; }
    .upsell-popup-overlay.visible { opacity: 1; visibility: visible; }
    .upsell-popup { background: white; border-radius: 1.5rem; max-width: 480px; width: 100%; box-shadow: 0 20px 60px rgba(4,20,61,0.3); position: relative; transform: scale(0.9) translateY(20px); transition: transform 0.3s cubic-bezier(0.4,0,0.2,1); max-height: calc(100dvh - 2rem); overflow-y: auto; -webkit-overflow-scrolling: touch; display: flex; flex-direction: column; }
    .upsell-popup-overlay.visible .upsell-popup { transform: scale(1) translateY(0); }
    .upsell-popup-close { position: absolute; top: 12px; right: 12px; width: 44px; height: 44px; border-radius: 50%; border: none; background: #f1f5f9; color: #64748b; cursor: pointer; display: flex; align-items: center; justify-content: center; transition: all 0.2s; }
    .upsell-popup-close:hover { background: #e2e8f0; color: #04143d; }

    /* ============================================
        NOSCRIPT BANNER
    ============================================ */
    .noscript-banner { background: #fef3cd; color: #856404; padding: 12px 24px; text-align: center; font-size: 14px; font-weight: 500; border-bottom: 1px solid #ffc107; }

    /* ============================================
        COOKIE CONSENT
    ============================================ */
    .cookie-consent { position: fixed; bottom: 0; left: 0; right: 0; background: white; border-top: 1px solid #e2e8f0; box-shadow: 0 -4px 20px rgba(4,20,61,0.1); z-index: 9997; padding: 1rem 1.5rem; padding-bottom: calc(1rem + env(safe-area-inset-bottom)); transform: translateY(100%); transition: transform 0.4s ease; }
    .cookie-consent.visible { transform: translateY(0); }
