/* =========================================
   REDitors — HERCULES-STYLE OVERHAUL
   Light theme, diamond grid bg, indigo accents
   ========================================= */

:root {
    /* Override global variables for light theme */
    --bg: #f0f0f5;
    --bg-secondary: #e8e8f2;
    --bg-tertiary: #dfdfea;
    --bg-elevated: #ffffff;
    --input-bg: #ffffff;
    --card-bg: #ffffff;
    
    --text: #1a1a2e;
    --text-secondary: #4a4a6a;
    --text-dim: #6a6a8a;
    --text-muted: #9a9ab0;
    --text-disabled: #b0b0c0;
    --foreground: #1a1a2e;
    --muted-foreground: #6a6a8a;
    
    --border: rgba(100, 100, 180, 0.12);
    --border-light: rgba(100, 100, 180, 0.08);
    --border-dark: rgba(100, 100, 180, 0.2);
    
    --primary: #3b4fd8;
    --primary-hover: #2d3fb0;
    --primary-light: rgba(59, 79, 216, 0.1);
    --primary-dark: #1a1a2e;
}

/* ── GLOBAL PAGE RESET TO LIGHT ── */
html {
    background: var(--bg) !important;
    overflow-x: hidden !important;
    overflow-y: hidden !important;
    height: 100% !important;
    width: 100% !important;
}

body {
    background: transparent !important;
    color: var(--text) !important;
    overflow-x: hidden !important;
    overflow-y: auto !important;
    width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
    min-height: 100% !important;
}

body > * { position: relative; z-index: 1; }

/* ── GLOBAL TEXT CONTRAST FIXES ── */
h1, h2, h3, h4, h5, h6 { color: var(--text) !important; }
p, span, li, a { color: var(--text-secondary); }
p strong, li strong { color: var(--text) !important; }

.section-title, .hero-title, .hero-title span { color: var(--text) !important; }
.section-description, .hero-description { color: var(--text-secondary) !important; }
.section-tag, .hero-label, .hero-badge { 
    background: var(--primary-light) !important; 
    color: var(--primary) !important; 
    border-color: var(--primary-light) !important;
}

/* Specific component overrides */
.step h3, .step-card h3 { color: var(--text) !important; }
.step p, .step-card p { color: var(--text-secondary) !important; }

.tool-card h3, .bento-card h3 { color: var(--text) !important; }
.tool-card p, .bento-card p { color: var(--text-secondary) !important; }

.tm-name { color: var(--text) !important; }
.tm-card-text { color: var(--text-secondary) !important; }

.pricing-header h3, .price { color: var(--text) !important; }
.pricing-features li { color: var(--text-secondary) !important; }

/* Dashboard-specific text fixes when viewed in light theme */
.pt h1 { color: var(--text) !important; }
.pt p { color: var(--text-muted) !important; }
.hero-amt { color: var(--text) !important; }
.hero-lbl, .hero-sub { color: var(--text-muted) !important; }

/* Scrollbar styling removed to prevent duplication with overhaul_new.css */

/* ── NAV ── */
.nav {
    position: fixed !important;
    top: 0; left: 0; right: 0;
    z-index: 1000;
    padding: 0 clamp(16px, 4vw, 48px) !important;
    height: 72px !important;
    display: flex !important;
    align-items: center !important;
    background: rgba(8, 8, 10, 0.9) !important; /* Slightly deeper dark liquid */
    backdrop-filter: blur(24px) saturate(180%) !important;
    -webkit-backdrop-filter: blur(24px) saturate(180%) !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05) !important;
    transition: all 0.3s ease !important;
}

.nav.nav--scrolled,
.nav.scrolled {
    background: rgba(10, 10, 12, 0.98) !important;
    height: 64px !important;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.3) !important;
}

.nav-container {
    width: 100% !important;
    max-width: 1300px !important;
    margin: 0 auto !important;
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    gap: 24px !important;
}

.logo-wrapper {
    display: flex;
    align-items: center;
    gap: 16px;
}

.logo-container {
    position: relative;
    height: 36px;
    width: 140px; /* Adjusted slightly */
    filter: url(#threshold);
    display: grid;
    place-items: center;
}

.logo-morph-text {
    grid-area: 1/1;
    font-size: 1.4rem; /* Slightly smaller */
    font-weight: 950;
    color: #b7b7b7;
    letter-spacing: -0.05em;
    text-decoration: none;
    white-space: nowrap;
    user-select: none;
    text-align: center;
    opacity: 0;
    line-height: 1;
}

.logo-morph-text:first-child {
    opacity: 1;
}

/* Version badge refinement */
.version {
    font-size: 0.65rem !important;
    font-weight: 800 !important;
    background: rgba(59, 79, 216, 0.15) !important;
    border: 1px solid rgba(59, 79, 216, 0.3) !important;
    color: #818cf8 !important;
    border-radius: 8px !important;
    padding: 3px 10px !important;
    letter-spacing: 0.08em !important;
    height: fit-content;
    font-family: var(--font-mono);
}

.nav-link {
    font-size: 0.875rem !important;
    font-weight: 550 !important;
    color: rgba(255, 255, 255, 0.7) !important;
    text-decoration: none !important;
    padding: 8px 14px !important;
    border-radius: 10px !important;
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1) !important;
}
.nav-link:hover { 
    color: #ffffff !important; 
    background: rgba(255, 255, 255, 0.08) !important; 
}

.nav-link.active {
    color: #ffffff !important;
    background: rgba(255, 255, 255, 0.12) !important;
}

/* ── PREMIUM LIQUID TABS ── */
.exp-tabs {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 2px;
    padding: 5px;
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.07);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.03) inset, 0 24px 60px rgba(0, 0, 0, 0.5), 0 2px 8px rgba(0, 0, 0, 0.3);
}

.exp-tabs-glider {
    position: absolute;
    height: calc(100% - 10px);
    top: 5px;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.09);
    border: 1px solid rgba(255, 255, 255, 0.12);
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.3);
    transition: left 0.32s cubic-bezier(0.4, 0, 0.2, 1), width 0.32s cubic-bezier(0.4, 0, 0.2, 1);
    pointer-events: none;
    z-index: 0;
}

.exp-tab {
    position: relative;
    z-index: 1;
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 0 16px;
    height: 38px;
    border-radius: 12px;
    color: rgba(255, 255, 255, 0.9) !important;
    text-decoration: none;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.01em;
    white-space: nowrap;
    flex-shrink: 0;
    cursor: pointer;
    transition: color 0.2s ease;
    background: transparent;
    border: none;
}

.exp-tab i, .exp-tab svg {
    width: 15px !important;
    height: 15px !important;
    stroke-width: 2px !important;
    flex-shrink: 0;
    opacity: 0.9 !important;
    transition: opacity 0.2s ease, transform 0.2s ease;
    color: currentColor !important;
}

.exp-tab:hover {
    color: rgba(255, 255, 255, 1) !important;
}

.exp-tab:hover i, .exp-tab:hover svg {
    opacity: 1;
    transform: scale(1.1);
}

.exp-tab.active {
    color: #ffffff !important;
}

.exp-tab.active i, .exp-tab.active svg {
    opacity: 1;
}

.exp-tab.active::after {
    content: '';
    position: absolute;
    bottom: 5px;
    left: 50%;
    transform: translateX(-50%);
    width: 18px;
    height: 2px;
    border-radius: 2px;
    background: currentColor;
    opacity: 0.45;
}

.exp-tab-sep {
    width: 1px;
    height: 20px;
    background: rgba(255, 255, 255, 0.08);
    flex-shrink: 0;
    margin: 0 3px;
}

/* Color accents — Download tab (orange) */
.exp-tab[href*="download"] {
    color:  #ffffff !important;
}
.exp-tab[href*="download"]:hover,
.exp-tab[href*="download"].active {
    color: #ffffff !important;
}

/* Color accents — Affiliate tab (gold) */
.exp-tab[href*="affiliate"] {
    color: rgba(255, 195, 80, 0.6) !important;
}
.exp-tab[href*="affiliate"]:hover,
.exp-tab[href*="affiliate"].active {
    color: #ffc350 !important;
}

/* Responsive — collapse labels to icons only at 1100px */
@media (max-width: 1100px) {
    .exp-tab-label {
        display: none !important;
    }
    .exp-tab {
        padding: 0 12px;
        gap: 0;
    }
}

@media (max-width: 768px) {
    .exp-tabs {
        display: none !important;
    }
}

/* ── RIGHT ICONS ── */
.nav-icon-btn {
    width: 38px; height: 38px;
    border: 1px solid rgba(255, 255, 255, 0.1) !important;
    border-radius: 12px !important;
    background: rgba(255, 255, 255, 0.05) !important;
    color: rgba(255, 255, 255, 0.7) !important;
    display: flex; align-items: center; justify-content: center;
    cursor: pointer; transition: all 0.2s ease;
}

.nav-icon-btn:hover {
    border-color: rgba(255, 255, 255, 0.2) !important;
    background: rgba(255, 255, 255, 0.1) !important;
    color: #ffffff !important;
    transform: translateY(-1px);
}

.lang-switch {
    background: rgba(255, 255, 255, 0.05) !important;
    border: 1px solid rgba(255, 255, 255, 0.1) !important;
    color: rgba(255, 255, 255, 0.8) !important;
    border-radius: 12px !important;
    padding: 6px 12px !important;
    font-size: 0.8rem !important;
    font-weight: 600 !important;
}

.lang-switch:hover {
    background: rgba(255, 255, 255, 0.1) !important;
    border-color: rgba(255, 255, 255, 0.2) !important;
}

/* Guest nav buttons */
#guestButtons a:first-child {
    background: rgba(59,79,216,0.08) !important;
    color: #1a1a2e !important;
    border: 1px solid rgba(59,79,216,0.2) !important;
    border-radius: 100px !important;
}
#guestButtons a:first-child:hover { background: rgba(59,79,216,0.14) !important; }

#guestButtons a:last-child {
    background: #3b4fd8 !important;
    color: #fff !important;
    border-radius: 100px !important;
    box-shadow: 0 2px 12px rgba(59,79,216,0.35) !important;
}
#guestButtons a:last-child:hover { background: #2d3fb0 !important; transform: translateY(-1px) !important; }

/* Profile dropdown */
.profile-wrapper {
    position: relative;
    display: inline-flex;
}

.profile-circle {
    width: 38px !important;
    height: 38px !important;
    background: linear-gradient(135deg, #3b4fd8 0%, #6366f1 100%) !important;
    color: #fff !important;
    border-radius: 50% !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    font-weight: 800 !important;
    font-size: 0.9rem !important;
    cursor: pointer !important;
    transition: transform 0.2s ease !important;
    border: 2px solid rgba(255, 255, 255, 0.1) !important;
}

.profile-circle:hover {
    transform: scale(1.05);
    border-color: rgba(255, 255, 255, 0.3) !important;
}

.profile-dropdown {
    position: absolute !important;
    top: calc(100% + 12px) !important;
    right: 0 !important;
    min-width: 220px !important;
    background: rgba(15, 15, 20, 0.95) !important;
    backdrop-filter: blur(24px) saturate(180%) !important;
    -webkit-backdrop-filter: blur(24px) saturate(180%) !important;
    border: 1px solid rgba(255, 255, 255, 0.08) !important;
    border-radius: 16px !important;
    padding: 8px !important;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5) !important;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1) !important;
    z-index: 1100 !important;
}

.profile-wrapper:hover .profile-dropdown {
    opacity: 1 !important;
    visibility: visible !important;
    transform: translateY(0) !important;
}

/* Arrow for dropdown */
.profile-dropdown::before {
    content: '';
    position: absolute;
    top: -6px;
    right: 14px;
    width: 12px;
    height: 12px;
    background: rgba(15, 15, 20, 0.95);
    border-left: 1px solid rgba(255, 255, 255, 0.08);
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    transform: rotate(45deg);
    z-index: -1;
}

.dropdown-item {
    display: flex !important;
    align-items: center !important;
    gap: 12px !important;
    padding: 10px 14px !important;
    color: rgba(255, 255, 255, 0.8) !important;
    text-decoration: none !important;
    font-size: 0.88rem !important;
    font-weight: 550 !important;
    border-radius: 10px !important;
    transition: all 0.2s ease !important;
    width: 100% !important;
    border: none !important;
    background: transparent !important;
    cursor: pointer !important;
    text-align: left !important;
}

.dropdown-item:hover {
    background: rgba(255, 255, 255, 0.08) !important;
    color: #ffffff !important;
}

.dropdown-item i, .dropdown-item svg {
    width: 18px !important;
    height: 18px !important;
    stroke-width: 2.2px !important;
    color: rgba(255, 255, 255, 0.5) !important;
    transition: color 0.2s ease !important;
}

.dropdown-item:hover i, .dropdown-item:hover svg {
    color: #ffffff !important;
}

.dropdown-item.primary {
    color: #ffffff !important;
}

.dropdown-item.danger {
    color: #ff4d4d !important;
}

.dropdown-item.danger:hover {
    background: rgba(255, 77, 77, 0.1) !important;
}

.dropdown-item.danger i, .dropdown-item.danger svg {
    color: #ff4d4d !important;
}

.dropdown-divider {
    height: 1px !important;
    background: rgba(255, 255, 255, 0.08) !important;
    margin: 6px 8px !important;
}

/* Mobile menu */
.mobile-menu-toggle {
    display: none !important;
    align-items: center;
    justify-content: center;
    background: transparent !important;
    border: none !important;
    padding: 0 !important;
    width: 32px !important;
    height: 32px !important;
    color: #1a1a2e !important;
    cursor: pointer !important;
}

.menu-toggle-svg {
    width: 24px;
    height: 24px;
    fill: none;
    stroke: currentColor;
    stroke-width: 3;
    stroke-linecap: round;
    stroke-linejoin: round;
    transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.mobile-menu-toggle.active .menu-toggle-svg {
    transform: rotate(-45deg);
}

.line {
    transition: all 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.line-1 {
    stroke-dasharray: 12 63;
}

.mobile-menu-toggle.active .line-1 {
    stroke-dasharray: 20 300;
    stroke-dashoffset: -32.42px;
}

@media (max-width: 768px) {
    .mobile-menu-toggle { display: flex !important; }
}

/* Mobile menu styles moved to overhaul_new.css */

/* ── SEARCH MODAL (Styles moved to overhaul_new.css) ── */

@media (max-width: 768px) {
    .nav {
        padding: 0 12px !important;
        height: 64px !important;
    }
    .nav-container {
        gap: 8px !important;
    }
    .logo-container {
        width: 110px !important;
        filter: none !important; /* Disable gooey filter on mobile */
    }
    .logo-morph-text {
        font-size: 1.1rem !important;
    }
    .nav-right {
        gap: 6px !important;
        display: flex !important;
        align-items: center !important;
    }
}

@media (max-width: 480px) {
    .logo-container {
        width: 100px !important; /* Fixed width for static text */
        overflow: visible !important;
    }
    .logo-morph-text {
        display: block !important;
        font-size: 1rem !important;
        opacity: 1 !important;
    }
    .logo-wrapper {
        gap: 0 !important;
    }
    .version {
        display: none !important;
    }
    
    .lang-code, .lang-switch .chevron, .dropdown-trigger .chevron {
        display: none !important;
    }
    .dropdown-trigger {
        padding: 6px !important;
        min-width: auto !important;
    }
    
    #guestButtons {
        gap: 4px !important;
    }
    #signInBtn span, #startFreeBtn span {
        display: none !important; /* Icons only on very small screens */
    }
    #signInBtn, #startFreeBtn {
        padding: 8px !important;
        width: 36px !important;
        height: 36px !important;
        justify-content: center !important;
    }
    #signInBtn svg, #startFreeBtn svg {
        width: 18px !important;
        height: 18px !important;
    }
}

/* ── HERO MOBILE REFINEMENTS ── */
@media (max-width: 480px) {
    .hero-title {
        font-size: 2.8rem !important;
        margin-bottom: 16px !important;
    }
    .hero-description {
        font-size: 0.95rem !important;
        padding: 0 10px !important;
        margin-bottom: 28px !important;
    }
    .btn-hero-primary {
        padding: 12px 24px !important;
        font-size: 0.9rem !important;
        width: 100% !important;
        max-width: 280px !important;
        justify-content: center !important;
    }
    .trust-badge-item {
        flex-direction: column !important;
        text-align: center !important;
        gap: 12px !important;
    }
}

/* ── HERO ── */
.hero-header {
    background: transparent !important;
    padding-top: 64px !important;
    min-height: 100vh !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
}

.hero-background { display: none !important; }

.hero-container {
    text-align: center !important;
    padding: 80px 24px 60px !important;
    max-width: 800px !important;
    margin: 0 auto !important;
}

.hero-badge.premiere-badge {
    display: inline-flex !important;
    align-items: center !important;
    gap: 8px !important;
    background: #fff !important;
    border: 1px solid rgba(100,100,180,0.2) !important;
    border-radius: 100px !important;
    padding: 6px 16px !important;
    margin-bottom: 28px !important;
    box-shadow: 0 2px 12px rgba(0,0,0,0.06) !important;
}

.premiere-chip-text {
    font-size: 0.8rem !important;
    font-weight: 600 !important;
    color: #4a4a6a !important;
}

.hero-title {
    font-size: clamp(3rem, 7vw, 5.5rem) !important;
    font-weight: 900 !important;
    color: #1a1a2e !important;
    letter-spacing: -0.04em !important;
    line-height: 1.05 !important;
    margin-bottom: 24px !important;
}

.hero-title-gradient {
    background: linear-gradient(90deg, #3b4fd8, #6366f1, #818cf8) !important;
    -webkit-background-clip: text !important;
    -webkit-text-fill-color: transparent !important;
    background-clip: text !important;
    animation: none !important;
}

.hero-description {
    font-size: clamp(1rem, 1.8vw, 1.2rem) !important;
    color: #3a3a5a !important;
    max-width: 560px !important;
    margin: 0 auto 36px !important;
    line-height: 1.65 !important;
}

.hero-cta-row {
    display: flex !important;
    gap: 12px !important;
    align-items: center !important;
    justify-content: center !important;
    flex-wrap: wrap !important;
}

.btn-hero-primary {
    display: inline-flex !important;
    align-items: center !important;
    gap: 10px !important;
    background: #3b4fd8 !important;
    color: #fff !important;
    padding: 14px 32px !important;
    border-radius: 100px !important;
    font-weight: 700 !important;
    font-size: 1rem !important;
    text-decoration: none !important;
    box-shadow: 0 4px 20px rgba(59,79,216,0.4) !important;
    transition: all 0.2s !important;
}
.btn-hero-primary:hover { background: #2d3fb0 !important; transform: translateY(-2px) !important; box-shadow: 0 8px 28px rgba(59,79,216,0.45) !important; }

.btn-pill {
    background: rgba(255,255,255,0.2) !important;
    border-radius: 100px !important;
    padding: 3px 10px !important;
    font-size: 0.75rem !important;
    font-weight: 600 !important;
}

.hero-sub-note {
    font-size: 0.82rem !important;
    color: #4a4a6a !important;
    margin-top: 14px !important;
}

.trust-badges {
    margin-top: 48px !important;
    display: flex !important;
    justify-content: center !important;
}

.trust-badge-item {
    display: inline-flex !important;
    align-items: center !important;
    gap: 12px !important;
    background: #fff !important;
    border: 1px solid rgba(100,100,180,0.15) !important;
    border-radius: 12px !important;
    padding: 12px 20px !important;
    box-shadow: 0 2px 12px rgba(0,0,0,0.06) !important;
}

.trust-badge-logo svg path { fill: #00b67a !important; }
.trust-text { font-size: 0.82rem !important; font-weight: 700 !important; color: #1a1a2e !important; }
.trust-subtext { font-size: 0.72rem !important; color: #4a4a6a !important; }
.trust-stars { display: flex !important; gap: 2px !important; }

.hero-social-proof { color: #4a4a6a !important; font-size: 0.875rem !important; margin-top: 32px !important; }

.scroll-indicator { display: none !important; }

/* ── SECTION SHARED ── */
.section-header {
    text-align: center !important;
    margin-bottom: clamp(40px, 6vw, 64px) !important;
    max-width: 680px !important;
    margin-left: auto !important;
    margin-right: auto !important;
}

.section-tag {
    display: inline-block !important;
    padding: 5px 14px !important;
    background: rgba(59,79,216,0.08) !important;
    border: 1px solid rgba(59,79,216,0.2) !important;
    border-radius: 99px !important;
    font-size: 0.68rem !important;
    font-weight: 800 !important;
    text-transform: uppercase !important;
    letter-spacing: 0.15em !important;
    color: #3b4fd8 !important;
    margin-bottom: 18px !important;
}

.section-title {
    font-size: clamp(1.8rem, 4vw, 2.8rem) !important;
    font-weight: 900 !important;
    color: #1a1a2e !important;
    letter-spacing: -0.03em !important;
    line-height: 1.15 !important;
    margin-bottom: 16px !important;
}

.section-description {
    font-size: 1rem !important;
    color: #3a3a5a !important;
    line-height: 1.65 !important;
    max-width: 560px !important;
    margin: 0 auto !important;
}

/* ── FEATURES BENTO ── */
.features-section {
    padding: clamp(80px, 10vw, 120px) 0 !important;
    background: transparent !important;
}

.bento-grid .bento-card,
.feature-cards-grid > div {
    background: #fff !important;
    border: 1px solid rgba(100,100,180,0.12) !important;
    box-shadow: 0 2px 16px rgba(0,0,0,0.05) !important;
    border-radius: 20px !important;
    color: #1a1a2e !important;
    transition: transform 0.25s, box-shadow 0.25s !important;
}
.bento-card:hover,
.feature-cards-grid > div:hover {
    transform: translateY(-4px) !important;
    box-shadow: 0 12px 40px rgba(59,79,216,0.12) !important;
}

.bento-card h3, .bento-card h4 { color: #1a1a2e !important; }
.bento-card p { color: #3a3a5a !important; }

/* ── PARTNERS MARQUEE ── */
.partners-section {
    padding: 48px 0 !important;
    background: #fff !important;
    border-top: 1px solid rgba(100,100,180,0.1) !important;
    border-bottom: 1px solid rgba(100,100,180,0.1) !important;
}

.partners-title {
    text-align: center !important;
    font-size: 0.8rem !important;
    font-weight: 600 !important;
    color: #4a4a6a !important;
    text-transform: uppercase !important;
    letter-spacing: 0.1em !important;
    margin-bottom: 24px !important;
}

.partner-logo {
    color: #b0b0d0 !important;
    font-size: 0.85rem !important;
    font-weight: 800 !important;
    letter-spacing: 0.15em !important;
}

.marquee-wrapper::before,
.marquee-wrapper::after {
    background: linear-gradient(to right, #fff 0%, transparent 100%) !important;
}
.marquee-wrapper::after {
    background: linear-gradient(to left, #fff 0%, transparent 100%) !important;
}

/* ── HOW IT WORKS ── */
.how-it-works-section {
    padding: clamp(80px, 10vw, 120px) 0 !important;
    background: transparent !important;
}

.step-card {
    background: #fff !important;
    border: 1px solid rgba(100,100,180,0.12) !important;
    border-radius: 20px !important;
    box-shadow: 0 2px 16px rgba(0,0,0,0.05) !important;
    color: #1a1a2e !important;
}
.step-card h3 { color: #1a1a2e !important; }
.step-card p { color: #3a3a5a !important; }
.step-number {
    color: rgba(59,79,216,0.15) !important;
    font-size: 3rem !important;
    font-weight: 900 !important;
}
.step-icon { color: #3b4fd8 !important; }
.step-icon i, .step-icon svg { color: #3b4fd8 !important; stroke: #3b4fd8 !important; }
.connector-line { background: rgba(59,79,216,0.2) !important; }
.step-connector i, .step-connector svg { color: #3b4fd8 !important; stroke: #3b4fd8 !important; }

/* ── IMPACT STATS ── */
.impact-section {
    padding: 28px 0 !important;
    background: #0d0d12 !important;
    border-top: 1px solid rgba(255,255,255,0.06) !important;
    border-bottom: 1px solid rgba(255,255,255,0.06) !important;
    position: relative !important;
    overflow: hidden !important;
}

.impact-section::before {
    content: '' !important;
    position: absolute !important;
    inset: 0 !important;
    background:
        radial-gradient(ellipse 60% 80% at 15% 50%, rgba(129,140,248,0.06) 0%, transparent 70%),
        radial-gradient(ellipse 60% 80% at 85% 50%, rgba(129,140,248,0.05) 0%, transparent 70%) !important;
    pointer-events: none !important;
}

.impact-container {
    max-width: 1400px !important;
    width: 100% !important;
    margin: 0 auto !important;
    padding: 0 24px !important;
    position: relative !important;
    z-index: 1 !important;
}

.impact-grid {
    display: flex !important;
    align-items: stretch !important;
    gap: 0 !important;
    background: rgba(255, 255, 255, 0.03) !important;
    border-radius: 20px !important;
    border: 1px solid rgba(255,255,255,0.09) !important;
    box-shadow:
        0 2px 4px rgba(0,0,0,0.5),
        0 12px 40px rgba(0,0,0,0.4),
        0 0 0 1px rgba(255,255,255,0.04) inset !important;
    overflow: hidden !important;
    backdrop-filter: blur(12px) !important;
    -webkit-backdrop-filter: blur(12px) !important;
    width: 100% !important;
}

.impact-item {
    flex: 1 1 0% !important;
    display: flex !important;
    flex-direction: row !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 16px !important;
    padding: 28px 16px !important;
    transition: background 0.25s ease !important;
    cursor: default !important;
    position: relative !important;
    min-width: 0 !important;
}

.impact-item::before {
    content: '' !important;
    position: absolute !important;
    inset: 0 !important;
    background: linear-gradient(135deg, rgba(129,140,248,0.06) 0%, transparent 60%) !important;
    opacity: 0 !important;
    transition: opacity 0.25s ease !important;
}

.impact-item:hover::before {
    opacity: 1 !important;
}

.impact-divider {
    width: 1px !important;
    align-self: stretch !important;
    background: rgba(255,255,255,0.08) !important;
    flex-shrink: 0 !important;
    margin: 20px 0 !important;
}

.impact-icon-wrap {
    width: 44px !important;
    height: 44px !important;
    border-radius: 12px !important;
    background: rgba(129,140,248,0.1) !important;
    border: 1px solid rgba(129,140,248,0.2) !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    flex-shrink: 0 !important;
    transition: background 0.25s ease, transform 0.25s ease !important;
}

.impact-item:hover .impact-icon-wrap {
    background: rgba(129,140,248,0.15) !important;
    transform: scale(1.06) !important;
}

.impact-icon {
    width: 20px !important;
    height: 20px !important;
    stroke: #818cf8 !important;
    stroke-width: 1.8px !important;
    fill: none !important;
    color: #818cf8 !important;
}

.impact-body {
    display: flex !important;
    flex-direction: column !important;
    align-items: flex-start !important;
    text-align: left !important;
    gap: 2px !important;
    min-width: 0 !important;
    flex: 1 !important;
}

.impact-number {
    color: #ffffff !important;
    font-size: clamp(2rem, 3.2vw, 3.4rem) !important;
    font-weight: 900 !important;
    letter-spacing: -0.04em !important;
    line-height: 1 !important;
    display: flex !important;
    align-items: baseline !important;
    gap: 2px !important;
    white-space: nowrap !important;
}

.impact-label {
    font-size: 10px !important;
    font-weight: 800 !important;
    letter-spacing: 0.12em !important;
    text-transform: uppercase !important;
    color: #818cf8 !important;
    margin-top: 5px !important;
    white-space: nowrap !important;
}

.impact-sub {
    font-size: 12px !important;
    font-weight: 400 !important;
    color: rgba(255,255,255,0.38) !important;
    letter-spacing: 0 !important;
    line-height: 1.4 !important;
}

.impact-unit {
    font-size: 0.45em !important;
    font-weight: 700 !important;
    color: rgba(255,255,255,0.5) !important;
    letter-spacing: 0.04em !important;
    margin-left: 2px !important;
    align-self: flex-end !important;
    padding-bottom: 0.12em !important;
}

.impact-prefix {
    font-size: 0.65em !important;
    font-weight: 900 !important;
    color: rgba(255,255,255,0.7) !important;
    align-self: flex-end !important;
    padding-bottom: 0.08em !important;
}

@media (max-width: 1024px) {
    .impact-grid {
        display: grid !important;
        grid-template-columns: 1fr 1fr !important;
    }
    .impact-divider {
        display: none !important;
    }
    .impact-item {
        border-bottom: 1px solid rgba(255,255,255,0.07) !important;
    }
    .impact-item:nth-child(odd) {
        border-right: 1px solid rgba(255,255,255,0.07) !important;
    }
    .impact-item:nth-last-child(-n+2) {
        border-bottom: none !important;
    }
}

@media (max-width: 600px) {
    .impact-grid {
        grid-template-columns: 1fr !important;
    }
    .impact-item {
        border-right: none !important;
    }
    .impact-item:last-child {
        border-bottom: none !important;
    }
}

/* ── TESTIMONIALS (marquee) ── */
.testimonials-section,
section.testimonials-section {
    background: #f0f0f5 !important;
    padding: 80px 0 !important;
}

.tm-heading h2 {
    color: #1a1a2e !important;
    font-size: clamp(1.6rem, 3vw, 2.2rem) !important;
    font-weight: 900 !important;
    letter-spacing: -0.03em !important;
}
.tm-heading h2 span { color: #3b4fd8 !important; }

.tm-card {
    background: #fff !important;
    border: 1px solid rgba(100,100,180,0.12) !important;
    border-radius: 16px !important;
    box-shadow: 0 2px 12px rgba(0,0,0,0.04) !important;
    width: 300px !important;
}
.tm-name { color: #1a1a2e !important; }
.tm-card-text { color: #3a3a5a !important; }
.tm-avatar { background: rgba(59,79,216,0.1) !important; color: #3b4fd8 !important; }

.tm-marquee-wrapper::before {
    background: linear-gradient(to right, #f0f0f5 0%, transparent 100%) !important;
}
.tm-marquee-wrapper::after {
    background: linear-gradient(to left, #f0f0f5 0%, transparent 100%) !important;
}

.tm-cta a {
    background: #3b4fd8 !important;
    box-shadow: 0 4px 20px rgba(59,79,216,0.35) !important;
}
.tm-cta a:hover { background: #2d3fb0 !important; }

/* ── FAQ ── */
.faq-section {
    padding: 48px 0 !important;
    background: #fff !important;
    border-top: 1px solid rgba(100,100,180,0.1) !important;
}

.faq-item {
    background: transparent !important;
    border: 1px solid rgba(100,100,180,0.12) !important;
    border-radius: 14px !important;
    margin-bottom: 8px !important;
    overflow: hidden !important;
}
.faq-question {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    padding: 20px 24px !important;
    cursor: pointer !important;
}
.faq-question h3 {
    font-size: 0.95rem !important;
    font-weight: 600 !important;
    color: #1a1a2e !important;
}
.faq-question svg, .faq-question i { color: #3b4fd8 !important; stroke: #3b4fd8 !important; }
.faq-answer { padding: 0 24px !important; }
.faq-answer p {
    font-size: 0.9rem !important;
    color: #3a3a5a !important;
    line-height: 1.65 !important;
    padding-bottom: 20px !important;
}
.faq-item:hover { border-color: rgba(59,79,216,0.25) !important; }

/* ── SUBSCRIBE / FINAL CTA ── */
.subscribe-section,
.final-cta-section,
section#subscribe {
    background: #f0f0f5 !important;
    border-top: 1px solid rgba(100,100,180,0.1) !important;
    border-bottom: none !important;
}

section#subscribe h2 { color: #1a1a2e !important; }
section#subscribe h2 span {
    background: linear-gradient(90deg, #3b4fd8, #6366f1) !important;
    -webkit-background-clip: text !important;
    -webkit-text-fill-color: transparent !important;
    background-clip: text !important;
}
section#subscribe p { color: #3a3a5a !important; }

/* Email form */
section#subscribe input[type="email"],
section#subscribe input[type="text"] {
    background: #fff !important;
    border: 1px solid rgba(100,100,180,0.2) !important;
    color: #1a1a2e !important;
    border-radius: 12px !important;
}
section#subscribe input::placeholder { color: #4a4a6a !important; }

section#subscribe button[type="submit"],
section#subscribe .sub-btn,
section#subscribe button {
    background: #3b4fd8 !important;
    color: #fff !important;
    border: none !important;
    border-radius: 12px !important;
    box-shadow: 0 4px 16px rgba(59,79,216,0.35) !important;
}
section#subscribe button:hover { background: #2d3fb0 !important; }

/* ══════════════════════════════════════════════
   FOOTER — clean rewrite
   ══════════════════════════════════════════════ */

/* FOOTER SECTION REMOVED - Handled by overhaul_new.css */

.footer-version-chip {
    display: inline-flex !important;
    align-items: center !important;
    gap: 9px !important;
    background: rgba(16,185,129,0.06) !important;
    border: 1px solid rgba(16,185,129,0.18) !important;
    padding: 8px 14px 8px 10px !important;
    border-radius: 100px !important;
    text-decoration: none !important;
    width: fit-content !important;
    transition: background 0.25s, border-color 0.25s, box-shadow 0.25s !important;
    box-shadow: 0 0 0 0 rgba(16,185,129,0) !important;
    position: relative !important;
    overflow: hidden !important;
}
.footer-version-chip::before {
    content: '' !important;
    position: absolute !important;
    inset: 0 !important;
    background: radial-gradient(ellipse at 20% 50%, rgba(16,185,129,0.08) 0%, transparent 70%) !important;
    pointer-events: none !important;
}
.footer-version-chip:hover {
    background: rgba(16,185,129,0.1) !important;
    border-color: rgba(16,185,129,0.35) !important;
    box-shadow: 0 0 20px rgba(16,185,129,0.12), 0 0 0 3px rgba(16,185,129,0.06) !important;
}

.fvc-dot {
    width: 14px !important;
    height: 14px !important;
    background: none !important;
    border-radius: 0 !important;
    flex-shrink: 0 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    position: relative !important;
    animation: none !important;
    box-shadow: none !important;
}
.fvc-dot::before {
    content: '✦' !important;
    font-size: 11px !important;
    color: #10b981 !important;
    display: block !important;
    filter: drop-shadow(0 0 5px rgba(16,185,129,1)) drop-shadow(0 0 10px rgba(16,185,129,0.5)) !important;
    animation: sparkSpin 4s ease-in-out infinite, sparkGlow 2s ease-in-out infinite !important;
    line-height: 1 !important;
}
.fvc-dot::after {
    display: none !important;
}
@keyframes sparkSpin {
    0%   { transform: rotate(0deg) scale(1); }
    25%  { transform: rotate(90deg) scale(1.15); }
    50%  { transform: rotate(180deg) scale(1); }
    75%  { transform: rotate(270deg) scale(1.15); }
    100% { transform: rotate(360deg) scale(1); }
}
@keyframes sparkGlow {
    0%, 100% { filter: drop-shadow(0 0 4px rgba(16,185,129,1)) drop-shadow(0 0 8px rgba(16,185,129,0.4)); }
    50%       { filter: drop-shadow(0 0 8px rgba(16,185,129,1)) drop-shadow(0 0 18px rgba(16,185,129,0.7)); }
}
.fvc-label {
    font-size: 0.8rem !important;
    font-weight: 700 !important;
    color: #10b981 !important;
    letter-spacing: -0.01em !important;
}
.fvc-tag {
    font-size: 0.55rem !important;
    font-weight: 800 !important;
    color: #fff !important;
    text-transform: uppercase !important;
    letter-spacing: 0.1em !important;
    background: rgba(16,185,129,0.22) !important;
    border: 1px solid rgba(16,185,129,0.3) !important;
    padding: 2px 7px !important;
    border-radius: 100px !important;
}

/* Links col */
.footer-links-group {
    display: grid !important;
    grid-template-columns: repeat(3, 1fr) !important;
    gap: 48px !important;
    padding-top: 4px !important;
}

.footer-column h4 {
    font-size: 0.65rem !important;
    font-weight: 800 !important;
    text-transform: uppercase !important;
    letter-spacing: 0.12em !important;
    color: rgba(255,255,255,0.18) !important;
    margin: 0 0 20px !important;
}

.footer-column a {
    display: block !important;
    font-size: 0.875rem !important;
    color: rgba(255,255,255,0.48) !important;
    text-decoration: none !important;
    margin-bottom: 13px !important;
    transition: color 0.18s, padding-left 0.18s !important;
    font-weight: 450 !important;
}
.footer-column a:hover {
    color: rgba(255,255,255,0.92) !important;
    padding-left: 4px !important;
}

/* Community cards section removed - handled by overhaul_new.css */
/* Legacy footer elements removed */

/* Legacy footer section fully removed */

.cookie-banner {
    position: fixed !important;
    bottom: 24px !important;
    left: 50% !important;
    transform: translateX(-50%) !important;
    width: 90% !important;
    max-width: 800px !important;
    background: #111111 !important;
    border: 1px solid rgba(255, 255, 255, 0.08) !important;
    border-radius: 16px !important;
    padding: 20px 24px !important;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4) !important;
    z-index: 999999 !important;
    display: none; /* Controlled by JS */
}

.cookie-container {
    display: flex !important;
    align-items: center !important;
    gap: 20px !important;
}

.cookie-icon-wrap {
    font-size: 24px !important;
    flex-shrink: 0 !important;
}

.cookie-text {
    flex: 1 !important;
}

.cookie-text h3 {
    color: #ffffff !important;
    font-size: 1.05rem !important;
    font-weight: 700 !important;
    margin: 0 0 4px 0 !important;
}

.cookie-text p {
    color: #a0a0a0 !important;
    font-size: 0.9rem !important;
    line-height: 1.5 !important;
    margin: 0 !important;
}

.cookie-text a {
    color: #ffffff !important;
    text-decoration: underline !important;
    font-weight: 600 !important;
}

.cookie-actions {
    display: flex !important;
    gap: 12px !important;
    flex-shrink: 0 !important;
}

.cookie-btn-accept {
    background: #ffffff !important;
    color: #000000 !important;
    border: none !important;
    padding: 10px 20px !important;
    border-radius: 10px !important;
    font-size: 0.9rem !important;
    font-weight: 700 !important;
    cursor: pointer !important;
    transition: background 0.2s ease !important;
}

.cookie-btn-accept:hover {
    background: #e5e5e5 !important;
}

.cookie-btn-decline {
    background: transparent !important;
    color: #a0a0a0 !important;
    border: 1px solid rgba(255, 255, 255, 0.15) !important;
    padding: 10px 20px !important;
    border-radius: 10px !important;
    font-size: 0.9rem !important;
    font-weight: 600 !important;
    cursor: pointer !important;
    transition: all 0.2s ease !important;
}

.cookie-btn-decline:hover {
    border-color: rgba(255, 255, 255, 0.3) !important;
    color: #ffffff !important;
}

@media (max-width: 768px) {
    .cookie-container { flex-direction: column !important; text-align: center !important; }
    .cookie-actions { width: 100% !important; }
    .cookie-actions button { flex: 1 !important; }
}

/* ── SEARCH MODAL (Styles moved to overhaul_new.css) ── */

/* ── AI SHOWCASE SECTION ── */
.ai-showcase-section {
    background: #fff !important;
    border-top: 1px solid rgba(100,100,180,0.1) !important;
}
.showcase-feature {
    background: rgba(59,79,216,0.04) !important;
    border-color: rgba(59,79,216,0.1) !important;
}
.showcase-feature:hover { background: rgba(59,79,216,0.08) !important; border-color: rgba(59,79,216,0.2) !important; }
.showcase-feature-icon { background: rgba(59,79,216,0.1) !important; border-color: rgba(59,79,216,0.15) !important; color: #3b4fd8 !important; }
.showcase-feature-text h4 { color: #1a1a2e !important; }
.showcase-feature-text p { color: #3a3a5a !important; }

/* ── PRICING TEASER ── */
.pricing-teaser-section { background: #f0f0f5 !important; }
.pricing-card {
    background: #fff !important;
    border: 1px solid rgba(100,100,180,0.12) !important;
    box-shadow: 0 2px 16px rgba(0,0,0,0.05) !important;
}
.pricing-card:hover { border-color: rgba(59,79,216,0.3) !important; box-shadow: 0 12px 40px rgba(59,79,216,0.1) !important; }
.pricing-card.popular { border-color: #3b4fd8 !important; box-shadow: 0 12px 40px rgba(59,79,216,0.18) !important; }
.popular-tag { background: #3b4fd8 !important; color: #fff !important; }
.pricing-header h3 { color: #1a1a2e !important; }
.price { color: #1a1a2e !important; }
.price span { color: #4a4a6a !important; }
.pricing-features li { color: #3a3a5a !important; }
.pricing-features li i, .pricing-features li svg { color: #3b4fd8 !important; stroke: #3b4fd8 !important; }
.pricing-btn { border-color: rgba(100,100,180,0.2) !important; color: #1a1a2e !important; background: transparent !important; }
.pricing-btn:hover { background: rgba(59,79,216,0.06) !important; }
.pricing-btn.primary { background: #3b4fd8 !important; color: #fff !important; border: none !important; }
.pricing-btn.primary:hover { background: #2d3fb0 !important; }

/* ── FINAL CTA SECTION ── */
.final-cta-section {
    background: #f0f0f5 !important;
}
.final-cta-title { color: #1a1a2e !important; }
.final-cta-description { color: #3a3a5a !important; }
.final-cta-btn-primary {
    background: #3b4fd8 !important; color: #fff !important;
    box-shadow: 0 4px 20px rgba(59,79,216,0.35) !important;
}
.final-cta-btn-primary:hover { background: #2d3fb0 !important; box-shadow: 0 8px 28px rgba(59,79,216,0.4) !important; }
.final-cta-btn-secondary {
    border-color: rgba(59,79,216,0.25) !important;
    color: #3a3a5a !important;
}
.final-cta-btn-secondary:hover { color: #1a1a2e !important; background: rgba(59,79,216,0.06) !important; }
.final-trust-badges span { color: #4a4a6a !important; }
.final-trust-badges svg { color: #b0b0d0 !important; }
.final-cta-grid-bg {
    background-image:
        linear-gradient(rgba(59,79,216,0.06) 1px, transparent 1px),
        linear-gradient(90deg, rgba(59,79,216,0.06) 1px, transparent 1px) !important;
}

/* ── BUTTON OVERRIDES ── */
.btn-primary, .btn {
    background: #3b4fd8 !important;
    color: #fff !important;
    border: none !important;
    border-radius: 100px !important;
}
.btn-primary:hover { background: #2d3fb0 !important; transform: translateY(-1px) !important; }

.btn-secondary, .btn-outline {
    background: transparent !important;
    color: #1a1a2e !important;
    border: 1px solid rgba(100,100,180,0.25) !important;
    border-radius: 100px !important;
}
.btn-secondary:hover { background: rgba(59,79,216,0.06) !important; }

/* ── GUEST BUTTONS ── */
#guestButtons {
    gap: 8px !important;
}

#guestButtons a {
    height: 36px !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    padding: 0 20px !important;
    border-radius: 18px !important; /* Perfect pill shape */
    font-size: 0.85rem !important;
    font-weight: 700 !important;
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1) !important;
    border: 1px solid rgba(255, 255, 255, 0.08) !important;
    backdrop-filter: blur(12px) saturate(180%) !important;
    -webkit-backdrop-filter: blur(12px) saturate(180%) !important;
    white-space: nowrap !important; /* Prevent text stacking */
    flex-shrink: 0 !important; /* Don't allow buttons to shrink */
    width: auto !important;
}

#guestButtons a:first-child {
    background: rgba(255, 255, 255, 0.06) !important;
    color: rgba(255, 255, 255, 0.7) !important;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1) !important;
}

#guestButtons a:first-child:hover {
    background: rgba(255, 255, 255, 0.12) !important;
    color: #ffffff !important;
    border-color: rgba(255, 255, 255, 0.2) !important;
    transform: translateY(-1px);
}

#guestButtons a:last-child {
    background: #3b4fd8 !important; /* Vivid blue */
    color: #ffffff !important;
    border: none !important;
    box-shadow: 0 4px 15px rgba(59, 79, 216, 0.3) !important;
}

#guestButtons a:last-child:hover {
    background: #2d3fb0 !important;
    transform: translateY(-1px) !important;
    box-shadow: 0 6px 20px rgba(59, 79, 216, 0.4) !important;
}

/* ── NAV ICON BUTTONS ── */
.nav-icon-btn {
    width: 36px !important;
    height: 36px !important;
    border: 1px solid rgba(255, 255, 255, 0.08) !important;
    border-radius: 10px !important;
    background: rgba(255, 255, 255, 0.06) !important;
    color: rgba(255, 255, 255, 0.7) !important;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1) !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    cursor: pointer;
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1) !important;
    backdrop-filter: blur(12px) saturate(180%) !important;
    -webkit-backdrop-filter: blur(12px) saturate(180%) !important;
}

.nav-icon-btn:hover {
    background: rgba(255, 255, 255, 0.12) !important;
    color: #ffffff !important;
    border-color: rgba(255, 255, 255, 0.2) !important;
    transform: translateY(-1px);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.15) !important;
}

.nav-icon-btn i, .nav-icon-btn svg {
    width: 18px !important;
    height: 18px !important;
    stroke-width: 2.2px !important;
}

/* ── CUSTOM DROPDOWN (Language) ── */
.custom-dropdown {
    position: relative;
    user-select: none;
}

.dropdown-trigger {
    display: flex;
    align-items: center;
    gap: 8px;
    height: 36px;
    padding: 0 12px;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 10px;
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.8rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.2s ease;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
}

.dropdown-trigger:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.15);
    color: #fff;
}

.dropdown-trigger .flag-icon {
    width: 20px;
    height: 15px;
    border-radius: 2px;
    flex-shrink: 0;
}

.dropdown-trigger .chevron {
    width: 14px;
    height: 14px;
    opacity: 0.5;
    transition: transform 0.3s ease;
}

.custom-dropdown.open .chevron {
    transform: rotate(180deg);
}

.dropdown-menu {
    position: absolute;
    top: calc(100% + 10px);
    right: 0;
    width: 200px;
    background: #0a0a0a;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.6);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px) scale(0.98);
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 10001;
    overflow: hidden; /* Keep it clean */
}

.custom-dropdown.open .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0) scale(1);
}

.dropdown-scroll {
    max-height: none; /* No scroll limit */
    overflow-y: visible; /* Show all items */
    padding: 6px;
}

/* Remove scrollbar styling since it's no longer needed */
.dropdown-scroll::-webkit-scrollbar {
    display: none;
}

.dropdown-item {
    width: 100%;
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 12px;
    background: transparent;
    border: none;
    border-radius: 8px;
    color: #ffffff !important; /* Force pure white */
    font-size: 0.85rem;
    font-weight: 600;
    text-align: left;
    cursor: pointer;
    transition: all 0.15s ease;
}

.dropdown-item .lang-name {
    color: #ffffff !important;
}

.dropdown-item:hover {
    background: rgba(255, 255, 255, 0.1);
    color: #ffffff;
}

.dropdown-item.active {
    background: rgba(255, 255, 255, 0.15);
    color: #ffffff;
}

.dropdown-item .flag-icon {
    width: 20px;
    height: 15px;
    border-radius: 2px;
    flex-shrink: 0;
    box-shadow: 0 2px 4px rgba(0,0,0,0.3);
}

.dropdown-item .check-icon {
    margin-left: auto;
    width: 16px;
    height: 16px;
    color: #22c55e; /* Green check from image */
    opacity: 0;
    transform: scale(0.5);
    transition: all 0.2s ease;
}

.dropdown-item.active .check-icon {
    opacity: 1;
    transform: scale(1);
}

/* Adjust for downward opening if needed in future, but based on image it's floating above */
@media (min-height: 800px) {
    .dropdown-menu {
        top: calc(100% + 12px);
        bottom: auto;
        transform: translateY(-10px) scale(0.95);
    }
    .custom-dropdown.open .dropdown-menu {
        transform: translateY(0) scale(1);
    }
}

/* ── PRICING CTA ROW ── */
.pricing-cta-row a { color: #3b4fd8 !important; }

/* ── LINKS INSIDE STEPS ── */
.step-card a { color: #3b4fd8 !important; }

/* ── RESPONSIVE ── */
@media (max-width: 1024px) {
    .impact-grid { grid-template-columns: repeat(2, 1fr) !important; }
    .bento-grid { grid-template-columns: repeat(2, 1fr) !important; }
    .testimonials-grid { grid-template-columns: repeat(2, 1fr) !important; }
}

@media (max-width: 768px) {
    .nav-center { display: none !important; }
    .mobile-menu-toggle { display: flex !important; }
    .lang-switch { display: none !important; }
    #langDropdown { display: none !important; }
    .impact-grid { grid-template-columns: repeat(2, 1fr) !important; }
    .bento-grid { grid-template-columns: 1fr !important; }
    .testimonials-grid { grid-template-columns: 1fr !important; }
    .social-links { justify-content: flex-start !important; }
}

@media (max-width: 480px) {
    .impact-grid { grid-template-columns: repeat(2, 1fr) !important; }
}

/* Hide on mobile \u2014 hamburger handles that */
@media (max-width: 768px) {
    .exp-tabs { display: none !important; }
}

/* ═══════════════════════════════════════════
   STATS BAR SECTION
   Dark panel with 4 live statistics
   ═══════════════════════════════════════════ */

.stats-bar-section {
    background: #050505;
    border-top: 1px solid rgba(255,255,255,0.05);
    border-bottom: 1px solid rgba(255,255,255,0.05);
    padding: 52px 24px;
    position: relative;
    overflow: hidden;
}

.stats-bar-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse at 50% 100%, rgba(255,107,0,0.04) 0%, transparent 60%);
    pointer-events: none;
}

.stats-bar-inner {
    max-width: 1000px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr auto 1fr auto 1fr auto 1fr;
    align-items: center;
    gap: 0;
}

.stats-bar-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 12px 24px;
    gap: 4px;
}

.stats-bar-num {
    font-size: clamp(2.4rem, 5vw, 3.4rem);
    font-weight: 900;
    color: #fff;
    letter-spacing: -0.04em;
    line-height: 1;
    font-family: inherit;
    font-variant-numeric: tabular-nums;
}

.stats-bar-label {
    font-size: 0.65rem;
    font-weight: 800;
    letter-spacing: 0.13em;
    text-transform: uppercase;
    color: #ff6b00;
    margin-top: 6px;
}

.stats-bar-sub {
    font-size: 0.8rem;
    color: rgba(255,255,255,0.38);
    font-weight: 400;
    margin-top: 2px;
}

.stats-bar-divider {
    width: 1px;
    height: 64px;
    background: rgba(255,255,255,0.08);
    flex-shrink: 0;
}

/* ── Responsive ── */
@media (max-width: 768px) {
    .stats-bar-inner {
        grid-template-columns: 1fr 1fr;
        grid-template-rows: auto auto;
        gap: 0;
    }
    .stats-bar-divider {
        display: none !important;
    }
    .stats-bar-item {
        padding: 20px 16px;
        border-bottom: 1px solid rgba(255,255,255,0.06);
    }
    .stats-bar-item:nth-child(odd) {
        border-right: 1px solid rgba(255,255,255,0.06);
    }
    .stats-bar-item:nth-last-child(-n+2) {
        border-bottom: none;
    }
}

@media (max-width: 480px) {
    .stats-bar-num {
        font-size: 2rem;
    }
}

/* ── Impact stat inline unit/prefix spans ── */
.impact-unit {
    font-size: 0.55em !important;
    font-weight: 700 !important;
    color: rgba(26, 26, 46, 0.45) !important;
    letter-spacing: 0.04em !important;
    margin-left: 3px !important;
    vertical-align: middle !important;
}
.impact-prefix {
    font-size: 0.65em !important;
    font-weight: 800 !important;
    color: inherit !important;
    margin-right: 1px !important;
    vertical-align: middle !important;
}
/* ═══════════════════════════════════════════════════════
   SELECTIVE ENHANCEMENTS — applied on top of original
   Only these specific things are changed:
   1. Syne + JetBrains Mono fonts (section tags, stat labels)
   2. Pulse animation on the live ticker dot
   3. Bottom-underline hover on impact stat items
   4. Scrollbar refinement
   ═══════════════════════════════════════════════════════ */

/* ── FONTS ── */
@import url('https://fonts.googleapis.com/css2?family=Syne:wght@400;600;700;800&family=JetBrains+Mono:wght@400;600&display=swap');

/* Apply Syne to section tags and stat labels — monospaced feel for data */
.section-tag {
    font-family: 'JetBrains Mono', monospace !important;
    font-size: 0.64rem !important;
    letter-spacing: 0.16em !important;
    border-radius: 4px !important; /* squared off, more editorial */
}

.stats-bar-label,
.impact-label {
    font-family: 'JetBrains Mono', monospace !important;
}

.footer-column h4 {
    font-family: 'JetBrains Mono', monospace !important;
    letter-spacing: 0.12em !important;
}

/* ── TICKER PULSE DOT ANIMATION ── */
@keyframes _pulse-ring {
    0%   { box-shadow: 0 0 0 0 rgba(255,255,255,0.6); }
    70%  { box-shadow: 0 0 0 6px transparent; }
    100% { box-shadow: 0 0 0 0 transparent; }
}

.ftk-pulse-dot {
    animation: _pulse-ring 1.8s ease-out infinite !important;
}

/* ── IMPACT STATS — bottom-edge accent line on hover ── */
.impact-item {
    position: relative !important;
}

.impact-item::after {
    content: '' !important;
    position: absolute !important;
    bottom: 0 !important;
    left: 50% !important;
    transform: translateX(-50%) scaleX(0) !important;
    width: 36px !important;
    height: 2px !important;
    background: #818cf8 !important;
    border-radius: 2px !important;
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1) !important;
}

.impact-item:hover::after {
    transform: translateX(-50%) scaleX(1) !important;
}

/* ── SCROLLBAR ── */
::-webkit-scrollbar {
    width: 5px;
    background: #050505;
}
::-webkit-scrollbar-thumb {
    background: rgba(255,255,255,0.1);
    border-radius: 3px;
}
::-webkit-scrollbar-thumb:hover {
    background: rgba(255,255,255,0.2);
}