/* ===== RESET & BASE ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
@import url('https://fonts.cdnfonts.com/css/oxanium');
:root {
    /* Dark Theme */
    --dark-bg: #0a0a0a;
    --dark-card-bg: rgba(255, 255, 255, 0.03);
    --dark-card-border: rgba(255, 255, 255, 0.08);
    --dark-text-primary: #ffffff;
    --dark-text-secondary: rgba(255, 255, 255, 0.6);
    --dark-text-tertiary: rgba(255, 255, 255, 0.4);
    
    /* Light Theme */
    --light-bg: #f8fafc;
    --light-card-bg: #ffffff;
    --light-card-border: rgba(0, 0, 0, 0.08);
    --light-text-primary: #0f172a;
    --light-text-secondary: #64748b;
    --light-text-tertiary: #94a3b8;
    
    /* Gradients */
    --gradient-primary: linear-gradient(135deg, #4f46e5 0%, #7c3aed 50%, #a855f7 100%);
    --gradient-indigo: linear-gradient(135deg, #4f46e5 0%, #6366f1 100%);
    --gradient-purple: linear-gradient(135deg, #7c3aed 0%, #a855f7 100%);
    --gradient-emerald: linear-gradient(135deg, #059669 0%, #10b981 100%);
    --gradient-blue: linear-gradient(135deg, #2563eb 0%, #3b82f6 100%);
    
    /* Fonts */
    --font-heading: 'Oxanium', sans-serif;
    --font-body: 'Oxanium', sans-serif;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    min-height: 100vh;
    overflow-x: hidden;
    transition: background-color 0.3s ease;
}

.theme-dark {
    background: var(--dark-bg);
    color: var(--dark-text-primary);
}

.theme-light {
    background: var(--light-bg);
    color: var(--light-text-primary);
}

/* ===== GLASSMORPHIC SCROLLBAR ===== */
* {
    scrollbar-width: thin;
}

.theme-dark * {
    scrollbar-color: rgba(148, 163, 184, 0.55) rgba(255, 255, 255, 0.06);
}

.theme-light * {
    scrollbar-color: rgba(99, 102, 241, 0.45) rgba(15, 23, 42, 0.08);
}

*::-webkit-scrollbar {
    width: 10px;
    height: 10px;
}

*::-webkit-scrollbar-track {
    border-radius: 999px;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.theme-dark *::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.theme-light *::-webkit-scrollbar-track {
    background: rgba(15, 23, 42, 0.06);
    border: 1px solid rgba(15, 23, 42, 0.1);
}

*::-webkit-scrollbar-thumb {
    border-radius: 999px;
    border: 2px solid transparent;
    background-clip: content-box;
}

.theme-dark *::-webkit-scrollbar-thumb {
    background-image: linear-gradient(
        180deg,
        rgba(99, 102, 241, 0.8) 0%,
        rgba(168, 85, 247, 0.75) 100%
    );
    box-shadow: inset 0 1px 1px rgba(255, 255, 255, 0.2);
}

.theme-light *::-webkit-scrollbar-thumb {
    background-image: linear-gradient(
        180deg,
        rgba(79, 70, 229, 0.65) 0%,
        rgba(124, 58, 237, 0.6) 100%
    );
    box-shadow: inset 0 1px 1px rgba(255, 255, 255, 0.5);
}

*::-webkit-scrollbar-thumb:hover {
    filter: brightness(1.08);
}

/* Slightly thinner scrollbar in compact overlays */
.public-language-dropdown::-webkit-scrollbar,
.nav-links.mobile-active::-webkit-scrollbar {
    width: 8px;
}

/* ===== NAVIGATION ===== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 110;
    padding-top: max(12px, env(safe-area-inset-top, 0px));
    padding-bottom: 12px;
    backdrop-filter: blur(24px) saturate(150%);
    -webkit-backdrop-filter: blur(24px) saturate(150%);
    transition: padding 0.3s ease, box-shadow 0.3s ease, background 0.3s ease;
}

.theme-dark .navbar {
    background: rgba(10, 10, 10, 0.8);
    border-bottom: 1px solid var(--dark-card-border);
}

.theme-light .navbar {
    background: rgba(255, 255, 255, 0.8);
    border-bottom: 1px solid var(--light-card-border);
}

.navbar.scrolled {
    padding-top: max(8px, env(safe-area-inset-top, 0px));
    padding-bottom: 8px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.nav-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 max(20px, env(safe-area-inset-left, 0px)) 0 max(20px, env(safe-area-inset-right, 0px));
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

@media (max-width: 1023px) {
    .nav-container {
        padding-left: max(14px, env(safe-area-inset-left, 0px));
        padding-right: max(14px, env(safe-area-inset-right, 0px));
        gap: 8px;
    }

    /* backdrop-filter на предке ломает position:fixed у #navLinks (панель режется размером шапки) */
    .navbar {
        backdrop-filter: none;
        -webkit-backdrop-filter: none;
    }

    .theme-dark .navbar {
        background: rgba(10, 10, 10, 0.94);
    }

    .theme-light .navbar {
        background: rgba(255, 255, 255, 0.94);
    }
}

.navbar-brand {
    flex-shrink: 1;
    min-width: 0;
    display: flex;
    align-items: center;
}

@media (max-width: 1023px) {
    .navbar .wenoso-brand--md {
        --wenoso-cube: 38px;
        --wenoso-letter: 0.92rem;
        --wenoso-word: 1.05rem;
        gap: 8px;
    }
}

@media (max-width: 380px) {
    .navbar .wenoso-brand--md .wenoso-brand__word {
        display: none;
    }
}

/* Nav Links */
.nav-links {
    display: none;
    gap: 32px;
    align-items: center;
}

@media (min-width: 1024px) {
    .nav-links {
        display: flex;
    }
}

.nav-link {
    font-size: 15px;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.3s ease;
    position: relative;
    padding: 8px 0;
}

.theme-dark .nav-link {
    color: var(--dark-text-secondary);
}

.theme-light .nav-link {
    color: var(--light-text-secondary);
}

.theme-dark .nav-link:hover,
.theme-dark .nav-link.active {
    color: var(--dark-text-primary);
}

.theme-light .nav-link:hover,
.theme-light .nav-link.active {
    color: var(--light-text-primary);
}

.nav-link.active::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: var(--gradient-primary);
    border-radius: 2px;
}

/* Nav Actions */
.nav-actions {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-shrink: 0;
}

.nav-actions__lang {
    order: 0;
    position: relative;
    flex-shrink: 0;
}

/* Language: desktop-only in header; mobile lives inside #navLinks drawer */
.nav-actions__lang--desktop {
    display: none;
}

@media (min-width: 1024px) {
    .nav-actions__lang--desktop {
        display: flex;
        align-items: center;
    }
}

@media (min-width: 1024px) {
    .nav-links-mobile-lang {
        display: none !important;
    }
}

/* Public header: language (glassmorphism + flag-icons) */
.public-language-selector-wrapper {
    position: relative;
}

.public-language-selector {
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    user-select: none;
    border-radius: 62px;
    padding: 8px 14px;
    font-family: var(--font-body);
    font-size: 14px;
    font-weight: 600;
    line-height: 1.2;
    border: 1px solid rgba(255, 255, 255, 0.12);
    backdrop-filter: blur(12px) saturate(150%);
    -webkit-backdrop-filter: blur(12px) saturate(150%);
    box-shadow:
        inset 0 2px 4px 0 rgba(255, 255, 255, 0.12),
        inset 0 -2px 4px 0 rgba(0, 0, 0, 0.18),
        0 2px 12px rgba(0, 0, 0, 0.12);
    transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.theme-dark .public-language-selector {
    background: rgba(255, 255, 255, 0.08);
    color: var(--dark-text-primary);
}

.theme-light .public-language-selector {
    background: rgba(255, 255, 255, 0.85);
    color: var(--light-text-primary);
    border-color: rgba(15, 23, 42, 0.1);
    box-shadow:
        inset 0 2px 4px 0 rgba(255, 255, 255, 0.9),
        inset 0 -1px 3px 0 rgba(15, 23, 42, 0.06),
        0 2px 12px rgba(15, 23, 42, 0.06);
}

.public-language-selector:hover {
    transform: translateY(-1px);
}

.public-language-selector .language-flag {
    font-size: 18px;
    line-height: 1;
    flex-shrink: 0;
}

.public-language-selector__label {
    max-width: 140px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.public-language-selector__arrow {
    flex-shrink: 0;
    margin-left: 2px;
    transition: transform 0.25s ease;
    opacity: 0.85;
}

.theme-dark .public-language-selector__arrow {
    color: var(--dark-text-secondary);
}

.theme-light .public-language-selector__arrow {
    color: var(--light-text-secondary);
}

.public-language-selector.is-open .public-language-selector__arrow {
    transform: rotate(180deg);
}

.public-language-dropdown {
    position: absolute;
    top: calc(100% + 8px);
    right: 0;
    min-width: 220px;
    max-width: min(280px, calc(100vw - 32px));
    max-height: min(320px, 70vh);
    overflow-y: auto;
    overflow-x: hidden;
    padding: 8px 0;
    border-radius: 16px;
    z-index: 130;
    border: 1px solid rgba(255, 255, 255, 0.12);
    backdrop-filter: blur(16px) saturate(160%);
    -webkit-backdrop-filter: blur(16px) saturate(160%);
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.08),
        0 12px 40px rgba(0, 0, 0, 0.35);
}

.theme-dark .public-language-dropdown {
    background: rgba(18, 16, 28, 0.94);
}

.theme-light .public-language-dropdown {
    background: rgba(255, 255, 255, 0.96);
    border-color: rgba(15, 23, 42, 0.1);
    box-shadow: 0 12px 40px rgba(15, 23, 42, 0.12);
}

.public-language-option {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 14px;
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    transition: background 0.15s ease, padding-left 0.15s ease;
}

.public-language-option .language-flag {
    font-size: 20px;
    flex-shrink: 0;
}

.public-language-option__name {
    flex: 1;
    min-width: 0;
}

.public-language-option__check {
    flex-shrink: 0;
    opacity: 0.9;
}

.theme-dark .public-language-option {
    color: var(--dark-text-primary);
}

.theme-light .public-language-option {
    color: var(--light-text-primary);
}

.theme-dark .public-language-option:hover {
    background: rgba(255, 255, 255, 0.06);
}

.theme-light .public-language-option:hover {
    background: rgba(15, 23, 42, 0.05);
}

.theme-dark .public-language-option.is-active {
    background: rgba(99, 102, 241, 0.15);
}

.theme-light .public-language-option.is-active {
    background: rgba(99, 102, 241, 0.1);
}

@media (max-width: 380px) {
    .public-language-selector__label {
        max-width: 72px;
    }
}

@media (max-width: 1023px) {
    .nav-actions .launch-btn--cabinet {
        order: 0;
    }

    .nav-actions .nav-actions__theme-before-burger {
        order: 1;
    }

    .nav-actions .mobile-menu-toggle {
        order: 2;
    }
}

@media (min-width: 1024px) {
    .nav-actions .nav-actions__lang--desktop {
        order: 0;
    }

    .nav-actions .nav-actions__theme-before-burger {
        order: 1;
    }

    .nav-actions .launch-btn--cabinet {
        order: 2;
    }

    .nav-actions .mobile-menu-toggle {
        order: 3;
    }
}

@media (min-width: 768px) {
    .nav-actions {
        gap: 12px;
    }
}

.theme-toggle-btn {
    width: 44px;
    height: 44px;
    border: none;
    border-radius: 12px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    flex-shrink: 0;
}

.theme-dark .theme-toggle-btn {
    background: var(--dark-card-bg);
    border: 1px solid var(--dark-card-border);
    color: var(--dark-text-primary);
}

.theme-light .theme-toggle-btn {
    background: var(--light-card-bg);
    border: 1px solid var(--light-card-border);
    color: var(--light-text-primary);
}

.theme-toggle-btn:hover {
    transform: scale(1.05);
}

.theme-icon {
    width: 20px;
    height: 20px;
}

.theme-dark .sun-icon {
    display: none;
}

.theme-light .moon-icon {
    display: none;
}

.wallet-btn {
    display: none;
    padding: 10px 24px;
    border: none;
    border-radius: 10px;
    background: var(--gradient-primary);
    color: white;
    font-family: var(--font-heading);
    font-size: 13px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 8px 24px rgba(99, 102, 241, 0.4);
}

@media (min-width: 768px) {
    .wallet-btn {
        display: block;
    }
}

.wallet-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 32px rgba(99, 102, 241, 0.5);
}

.wallet-btn.connected {
    background: var(--dark-card-bg);
    border: 1px solid var(--dark-card-border);
    color: var(--dark-text-primary);
}

.mobile-menu-toggle {
    display: flex;
    width: 44px;
    height: 44px;
    border: none;
    border-radius: 12px;
    cursor: pointer;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: background 0.2s ease, transform 0.15s ease;
}

.theme-dark .mobile-menu-toggle {
    color: var(--dark-text-primary);
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.theme-light .mobile-menu-toggle {
    color: var(--light-text-primary);
    background: rgba(15, 23, 42, 0.04);
    border: 1px solid rgba(15, 23, 42, 0.08);
}

.mobile-menu-toggle:active {
    transform: scale(0.96);
}

.mobile-menu-toggle__icon {
    width: 22px;
    height: 22px;
}

.mobile-menu-toggle__icon--close {
    display: none;
}

.navbar.navbar--drawer-open .mobile-menu-toggle__icon--open {
    display: none;
}

.navbar.navbar--drawer-open .mobile-menu-toggle__icon--close {
    display: block;
}

@media (min-width: 1024px) {
    .mobile-menu-toggle {
        display: none;
    }
}

/* Mobile Navigation */
.mobile-nav-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.55);
    z-index: 105;
    opacity: 0;
    transition: opacity 0.3s ease;
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
}

.mobile-nav-overlay.active {
    display: block;
    opacity: 1;
}

@media (max-width: 1023px) {
    .nav-links.mobile-active {
        display: flex;
        flex-direction: column;
        position: fixed;
        top: 0;
        right: 0;
        bottom: 0;
        left: auto;
        width: min(320px, calc(100vw - 48px));
        max-width: 100%;
        min-height: 100vh;
        min-height: 100dvh;
        padding: calc(68px + env(safe-area-inset-top, 0px)) 18px max(24px, env(safe-area-inset-bottom, 0px));
        backdrop-filter: blur(28px) saturate(165%);
        -webkit-backdrop-filter: blur(28px) saturate(165%);
        z-index: 106;
        align-items: stretch;
        gap: 6px;
        overflow-y: auto;
        overflow-x: hidden;
        overscroll-behavior: contain;
        -webkit-overflow-scrolling: touch;
        box-sizing: border-box;
        box-shadow: -12px 0 48px rgba(0, 0, 0, 0.35);
    }

    .theme-dark .nav-links.mobile-active {
        background:
            linear-gradient(200deg, rgba(99, 102, 241, 0.1) 0%, transparent 42%),
            rgba(8, 6, 18, 0.94);
        border-left: 1px solid rgba(255, 255, 255, 0.1);
    }

    .theme-light .nav-links.mobile-active {
        background:
            linear-gradient(200deg, rgba(99, 102, 241, 0.06) 0%, transparent 45%),
            rgba(255, 255, 255, 0.96);
        border-left: 1px solid var(--light-card-border);
        box-shadow: -8px 0 40px rgba(15, 23, 42, 0.08);
    }

    .nav-links.mobile-active > .nav-links-mobile-lang {
        order: -1;
        width: 100%;
        flex-shrink: 0;
    }

    .nav-links.mobile-active .nav-links-mobile-lang .public-language-selector-wrapper {
        position: relative;
        width: 100%;
    }

    .nav-links.mobile-active .nav-links-mobile-lang .public-language-selector {
        width: 100%;
        justify-content: space-between;
        min-height: 48px;
        padding: 12px 16px;
        border-radius: 12px;
        box-sizing: border-box;
    }

    .nav-links.mobile-active .nav-links-mobile-lang .public-language-selector__label {
        max-width: none;
        flex: 1;
        text-align: left;
    }

    .nav-links.mobile-active .nav-links-mobile-lang .public-language-dropdown {
        left: 0;
        right: 0;
        min-width: 0;
        max-width: none;
    }

    .nav-links.mobile-active > .nav-link:not(.dropdown-toggle) {
        display: flex;
        align-items: center;
        min-height: 48px;
        padding: 12px 16px;
        border-radius: 12px;
        border: 1px solid rgba(255, 255, 255, 0.08);
        background: linear-gradient(145deg, rgba(255, 255, 255, 0.06) 0%, rgba(255, 255, 255, 0.02) 100%);
        box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06);
        font-weight: 600;
        width: 100%;
        box-sizing: border-box;
    }

    .theme-light .nav-links.mobile-active > .nav-link:not(.dropdown-toggle) {
        border-color: rgba(15, 23, 42, 0.08);
        background: linear-gradient(160deg, rgba(255, 255, 255, 0.95) 0%, rgba(248, 250, 252, 0.9) 100%);
        box-shadow: 0 1px 0 rgba(255, 255, 255, 0.9) inset;
    }

    .nav-links.mobile-active > .nav-link:not(.dropdown-toggle).active {
        border-color: rgba(167, 139, 250, 0.4);
        background: linear-gradient(145deg, rgba(99, 102, 241, 0.2) 0%, rgba(139, 92, 246, 0.1) 100%);
        box-shadow: 0 0 24px rgba(99, 102, 241, 0.15);
    }

    .theme-light .nav-links.mobile-active > .nav-link:not(.dropdown-toggle).active {
        border-color: rgba(99, 102, 241, 0.3);
        background: linear-gradient(145deg, rgba(99, 102, 241, 0.12) 0%, rgba(139, 92, 246, 0.06) 100%);
        box-shadow: 0 8px 24px rgba(99, 102, 241, 0.1);
    }

    .nav-links.mobile-active > .nav-link:not(.dropdown-toggle).active::after {
        display: none;
    }

    .nav-links.mobile-active .nav-dropdown {
        width: 100%;
    }

    .nav-links.mobile-active .dropdown-toggle {
        display: flex;
        align-items: center;
        justify-content: space-between;
        width: 100%;
        min-height: 48px;
        padding: 12px 16px;
        border-radius: 12px;
        border: 1px solid rgba(255, 255, 255, 0.1);
        background: linear-gradient(145deg, rgba(255, 255, 255, 0.06) 0%, rgba(255, 255, 255, 0.02) 100%);
        box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06);
        font-weight: 600;
        text-align: left;
        box-sizing: border-box;
    }

    .theme-light .nav-links.mobile-active .dropdown-toggle {
        border-color: rgba(15, 23, 42, 0.08);
        background: linear-gradient(160deg, rgba(255, 255, 255, 0.95) 0%, rgba(248, 250, 252, 0.9) 100%);
    }

    .nav-links.mobile-active .dropdown-toggle.active {
        border-color: rgba(167, 139, 250, 0.35);
    }

    .nav-links.mobile-active .dropdown-menu {
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;
        display: none;
        margin-top: 6px;
        margin-bottom: 4px;
        padding: 8px;
        min-width: 0;
        width: 100%;
        border-radius: 12px;
        border: 1px solid rgba(255, 255, 255, 0.06);
        background: rgba(0, 0, 0, 0.22);
        box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
    }

    .theme-light .nav-links.mobile-active .dropdown-menu {
        background: rgba(15, 23, 42, 0.04);
        border-color: rgba(15, 23, 42, 0.06);
    }

    .nav-links.mobile-active .nav-dropdown.active .dropdown-menu {
        display: flex;
        flex-direction: column;
        gap: 4px;
    }

    .nav-links.mobile-active .dropdown-item {
        padding: 14px 14px;
        min-height: 44px;
        display: flex;
        align-items: center;
    }
}

/* ===== MAIN CONTENT ===== */
.main-content {
    position: relative;
    z-index: 1;
    padding-top: calc(72px + env(safe-area-inset-top, 0px));
}

.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 24px;
}

/* ===== ANIMATED BACKGROUND ===== */
.animated-background {
    position: fixed;
    inset: 0;
    pointer-events: none;
    z-index: -1;
    overflow: hidden;
}

.theme-dark .animated-background::before {
    content: '';
    position: absolute;
    inset: 0;
    z-index: 0;
    background-image:
        linear-gradient(to right, rgba(255, 255, 255, 0.045) 1px, transparent 1px),
        linear-gradient(to bottom, rgba(255, 255, 255, 0.045) 1px, transparent 1px);
    background-size: 40px 40px;
    background-position: center top;
}

.theme-light .animated-background::before {
    content: '';
    position: absolute;
    inset: 0;
    z-index: 0;
    background-image:
        linear-gradient(to right, rgba(15, 23, 42, 0.06) 1px, transparent 1px),
        linear-gradient(to bottom, rgba(15, 23, 42, 0.06) 1px, transparent 1px);
    background-size: 40px 40px;
    background-position: center top;
}

.bg-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(120px);
    opacity: 0.5;
}

.theme-dark .orb-1 {
    top: -200px;
    left: -200px;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(79, 70, 229, 0.3), transparent 70%);
    animation: float 20s ease-in-out infinite;
}

.theme-dark .orb-2 {
    bottom: -200px;
    right: -200px;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(168, 85, 247, 0.3), transparent 70%);
    animation: float 25s ease-in-out infinite reverse;
}

.theme-dark .orb-3 {
    top: 50%;
    left: 50%;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(124, 58, 237, 0.2), transparent 70%);
    animation: float 30s ease-in-out infinite;
}

.theme-light .orb-1 {
    top: -200px;
    left: -200px;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(139, 92, 246, 0.2), transparent 70%);
    animation: float 20s ease-in-out infinite;
}

.theme-light .orb-2 {
    bottom: -200px;
    right: -200px;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(168, 85, 247, 0.2), transparent 70%);
    animation: float 25s ease-in-out infinite reverse;
}

.theme-light .orb-3 {
    top: 50%;
    left: 50%;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(124, 58, 237, 0.15), transparent 70%);
    animation: float 30s ease-in-out infinite;
}

/* ===== SITE ATMOSPHERE (все страницы wenoso: фиолетовая подсветка + «стеклянные» пузыри) ===== */
.site-atmosphere {
    position: fixed;
    inset: 0;
    pointer-events: none;
    z-index: 1;
    overflow: hidden;
}

.site-atmosphere__wash {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(95% 65% at 50% -5%, rgba(99, 102, 241, 0.32) 0%, transparent 55%),
        radial-gradient(80% 55% at 8% 45%, rgba(124, 58, 237, 0.16) 0%, transparent 52%),
        radial-gradient(78% 50% at 94% 32%, rgba(59, 130, 246, 0.14) 0%, transparent 50%),
        radial-gradient(70% 48% at 52% 102%, rgba(139, 92, 246, 0.12) 0%, transparent 46%);
    opacity: 0.88;
}

.theme-light .site-atmosphere__wash {
    opacity: 0.72;
    background:
        radial-gradient(95% 65% at 50% -5%, rgba(99, 102, 241, 0.14) 0%, transparent 55%),
        radial-gradient(80% 55% at 8% 45%, rgba(124, 58, 237, 0.08) 0%, transparent 52%),
        radial-gradient(78% 50% at 94% 32%, rgba(59, 130, 246, 0.08) 0%, transparent 50%),
        radial-gradient(70% 48% at 52% 102%, rgba(139, 92, 246, 0.06) 0%, transparent 46%);
}

.site-atmosphere__glow {
    position: absolute;
    border-radius: 50%;
    pointer-events: none;
    filter: blur(68px);
    opacity: 0.48;
    animation: siteAtmosphereGlowPulse 16s ease-in-out infinite;
}

.site-atmosphere__glow--1 {
    width: min(78vw, 880px);
    height: min(78vw, 880px);
    top: -14%;
    left: -10%;
    background: radial-gradient(circle, rgba(129, 140, 248, 0.5) 0%, rgba(99, 102, 241, 0.12) 42%, transparent 68%);
}

.site-atmosphere__glow--2 {
    width: min(62vw, 640px);
    height: min(62vw, 640px);
    bottom: -18%;
    right: -8%;
    background: radial-gradient(circle, rgba(168, 85, 247, 0.42) 0%, rgba(79, 70, 229, 0.1) 45%, transparent 70%);
    animation-delay: -5s;
}

.site-atmosphere__glow--3 {
    width: min(48vw, 520px);
    height: min(48vw, 520px);
    top: 38%;
    left: 50%;
    margin-left: min(-24vw, -260px);
    background: radial-gradient(circle, rgba(59, 130, 246, 0.28) 0%, rgba(99, 102, 241, 0.08) 50%, transparent 72%);
    animation-delay: -9s;
}

@keyframes siteAtmosphereGlowPulse {
    0%, 100% { transform: scale(1); opacity: 0.42; }
    50% { transform: scale(1.05); opacity: 0.58; }
}

.site-atmosphere__bubbles {
    position: absolute;
    inset: 0;
}

@media screen and (max-width: 768px) {
    .site-atmosphere__bubble {
        display: none !important;
    }
}

.site-atmosphere__bubble {
    position: absolute;
    bottom: -56px;
    left: 50%;
    width: 26px;
    height: 26px;
    margin-left: -13px;
    border-radius: 50%;
    background: linear-gradient(150deg, rgba(196, 181, 253, 0.28), rgba(59, 130, 246, 0.12));
    border: 1px solid rgba(165, 180, 252, 0.4);
    backdrop-filter: blur(16px) saturate(175%);
    -webkit-backdrop-filter: blur(16px) saturate(175%);
    box-shadow:
        0 0 28px rgba(99, 102, 241, 0.28),
        inset 0 1px 0 rgba(255, 255, 255, 0.22);
    will-change: transform, opacity;
}

.theme-light .site-atmosphere__bubble {
    background: linear-gradient(
        150deg,
        rgba(129, 140, 248, 0.5) 0%,
        rgba(99, 102, 241, 0.28) 55%,
        rgba(59, 130, 246, 0.2) 100%
    );
    border-color: rgba(67, 56, 202, 0.42);
    box-shadow:
        0 0 32px rgba(99, 102, 241, 0.32),
        0 0 12px rgba(129, 140, 248, 0.22),
        inset 0 1px 0 rgba(255, 255, 255, 0.85);
}

@keyframes siteAtmosphereRiseL {
    0% {
        transform: translate3d(0, 28vh, 0) scale(0.88);
        opacity: 0;
    }
    7% {
        opacity: 0.8;
    }
    50% {
        transform: translate3d(-14px, calc(-48vh - 40px), 0) scale(1);
        opacity: 0.52;
    }
    90% {
        opacity: 0.38;
    }
    100% {
        transform: translate3d(-8px, calc(-100vh - 140px), 0) scale(1.06);
        opacity: 0;
    }
}

@keyframes siteAtmosphereRiseR {
    0% {
        transform: translate3d(0, 28vh, 0) scale(0.88);
        opacity: 0;
    }
    7% {
        opacity: 0.8;
    }
    50% {
        transform: translate3d(14px, calc(-48vh - 40px), 0) scale(1);
        opacity: 0.52;
    }
    90% {
        opacity: 0.38;
    }
    100% {
        transform: translate3d(8px, calc(-100vh - 140px), 0) scale(1.06);
        opacity: 0;
    }
}

@keyframes siteAtmosphereRiseLLight {
    0% {
        transform: translate3d(0, 28vh, 0) scale(0.88);
        opacity: 0;
    }
    7% {
        opacity: 0.92;
    }
    50% {
        transform: translate3d(-14px, calc(-48vh - 40px), 0) scale(1);
        opacity: 0.68;
    }
    90% {
        opacity: 0.52;
    }
    100% {
        transform: translate3d(-8px, calc(-100vh - 140px), 0) scale(1.06);
        opacity: 0;
    }
}

@keyframes siteAtmosphereRiseRLight {
    0% {
        transform: translate3d(0, 28vh, 0) scale(0.88);
        opacity: 0;
    }
    7% {
        opacity: 0.92;
    }
    50% {
        transform: translate3d(14px, calc(-48vh - 40px), 0) scale(1);
        opacity: 0.68;
    }
    90% {
        opacity: 0.52;
    }
    100% {
        transform: translate3d(8px, calc(-100vh - 140px), 0) scale(1.06);
        opacity: 0;
    }
}

.site-atmosphere__bubble:nth-child(1) { left: 7%; width: 22px; height: 22px; margin-left: -11px; animation: siteAtmosphereRiseL 42s linear infinite; animation-delay: -3s; }
.site-atmosphere__bubble:nth-child(2) { left: 18%; width: 30px; height: 30px; margin-left: -15px; animation: siteAtmosphereRiseR 36s linear infinite; animation-delay: -12s; }
.site-atmosphere__bubble:nth-child(3) { left: 28%; width: 18px; height: 18px; margin-left: -9px; animation: siteAtmosphereRiseL 48s linear infinite; animation-delay: -7s; }
.site-atmosphere__bubble:nth-child(4) { left: 38%; width: 24px; height: 24px; margin-left: -12px; animation: siteAtmosphereRiseR 33s linear infinite; animation-delay: -22s; }
.site-atmosphere__bubble:nth-child(5) { left: 48%; width: 20px; height: 20px; margin-left: -10px; animation: siteAtmosphereRiseL 39s linear infinite; animation-delay: -1s; }
.site-atmosphere__bubble:nth-child(6) { left: 58%; width: 28px; height: 28px; margin-left: -14px; animation: siteAtmosphereRiseR 45s linear infinite; animation-delay: -18s; }
.site-atmosphere__bubble:nth-child(7) { left: 68%; width: 16px; height: 16px; margin-left: -8px; animation: siteAtmosphereRiseL 51s linear infinite; animation-delay: -9s; }
.site-atmosphere__bubble:nth-child(8) { left: 78%; width: 26px; height: 26px; margin-left: -13px; animation: siteAtmosphereRiseR 37s linear infinite; animation-delay: -28s; }
.site-atmosphere__bubble:nth-child(9) { left: 88%; width: 22px; height: 22px; margin-left: -11px; animation: siteAtmosphereRiseL 40s linear infinite; animation-delay: -14s; }
.site-atmosphere__bubble:nth-child(10) { left: 13%; width: 19px; height: 19px; margin-left: -9.5px; animation: siteAtmosphereRiseR 44s linear infinite; animation-delay: -31s; }
.site-atmosphere__bubble:nth-child(11) { left: 43%; width: 32px; height: 32px; margin-left: -16px; animation: siteAtmosphereRiseL 34s linear infinite; animation-delay: -5s; }
.site-atmosphere__bubble:nth-child(12) { left: 63%; width: 21px; height: 21px; margin-left: -10.5px; animation: siteAtmosphereRiseR 46s linear infinite; animation-delay: -25s; }
.site-atmosphere__bubble:nth-child(13) { left: 83%; width: 17px; height: 17px; margin-left: -8.5px; animation: siteAtmosphereRiseL 52s linear infinite; animation-delay: -11s; }
.site-atmosphere__bubble:nth-child(14) { left: 23%; width: 25px; height: 25px; margin-left: -12.5px; animation: siteAtmosphereRiseR 38s linear infinite; animation-delay: -36s; }
.site-atmosphere__bubble:nth-child(15) { left: 53%; width: 23px; height: 23px; margin-left: -11.5px; animation: siteAtmosphereRiseL 41s linear infinite; animation-delay: -20s; }
.site-atmosphere__bubble:nth-child(16) { left: 93%; width: 20px; height: 20px; margin-left: -10px; animation: siteAtmosphereRiseR 47s linear infinite; animation-delay: -8s; }

.theme-light .site-atmosphere__bubble:nth-child(odd) {
    animation-name: siteAtmosphereRiseLLight;
}

.theme-light .site-atmosphere__bubble:nth-child(even) {
    animation-name: siteAtmosphereRiseRLight;
}

@media (prefers-reduced-motion: reduce) {
    .site-atmosphere__glow,
    .site-atmosphere__bubble {
        animation: none !important;
    }

    .site-atmosphere__bubble {
        opacity: 0.2;
        transform: translate3d(0, 35vh, 0);
    }

    .theme-light .site-atmosphere__bubble {
        opacity: 0.48;
    }
}

@keyframes float {
    0%, 100% { transform: translate(0, 0); }
    25% { transform: translate(100px, -50px); }
    50% { transform: translate(-50px, 100px); }
    75% { transform: translate(50px, 50px); }
}

/* ===== ABOUT WENOSO ===== */
.about-wenoso {
    position: relative;
    z-index: 1;
    padding: 56px 0 40px;
    overflow: hidden;
}



.theme-light .about-wenoso {
    background: linear-gradient(180deg, rgb(238 242 255 / 16%) 0%, rgba(248, 250, 252, 0.5) 100%);
}
.theme-light .footer{
    background: #ffffff;
}
.about-wenoso__bg {
    position: absolute;
    inset: 0;
    pointer-events: none;
    opacity: 0.5;
    background-image:
        linear-gradient(to right, rgba(167, 139, 250, 0.07) 1px, transparent 1px),
        linear-gradient(to bottom, rgba(167, 139, 250, 0.07) 1px, transparent 1px);
    background-size: 32px 32px;
    mask-image: radial-gradient(ellipse 80% 70% at 50% 40%, black 15%, transparent 75%);
    -webkit-mask-image: radial-gradient(ellipse 80% 70% at 50% 40%, black 15%, transparent 75%);
}

.theme-light .about-wenoso__bg {
    background-image:
        linear-gradient(to right, rgba(99, 102, 241, 0.08) 1px, transparent 1px),
        linear-gradient(to bottom, rgba(99, 102, 241, 0.08) 1px, transparent 1px);
    opacity: 0.65;
}

.about-wenoso__inner {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 40px;
    align-items: stretch;
}

@media (min-width: 1024px) {
    .about-wenoso__inner {
        flex-direction: row;
        align-items: center;
        gap: 48px;
    }

    .about-wenoso__col--text {
        flex: 1 1 58%;
        max-width: 640px;
    }

    .about-wenoso__col--visual {
        flex: 1 1 38%;
        min-width: 280px;
    }
}

.about-wenoso__title {
    font-family: var(--font-heading);
    font-size: clamp(28px, 4vw, 38px);
    font-weight: 800;
    line-height: 1.15;
    letter-spacing: 0.03em;
    margin-bottom: 24px;
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    gap: 0.35em;
}

.theme-dark .about-wenoso__title-static {
    color: #ffffff;
}

.theme-light .about-wenoso__title-static {
    color: var(--light-text-primary);
}

.about-wenoso__title-gradient {
    background: linear-gradient(90deg, #c4b5fd 0%, #818cf8 50%, #6366f1 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.about-wenoso__body {
    margin-bottom: 28px;
}

.about-wenoso__body p {
    font-size: 16px;
    line-height: 1.7;
    margin-bottom: 16px;
}

.about-wenoso__body p:last-child {
    margin-bottom: 0;
}

.theme-dark .about-wenoso__body p {
    color: rgba(255, 255, 255, 0.72);
}

.theme-light .about-wenoso__body p {
    color: var(--light-text-secondary);
}

.theme-dark .about-wenoso__body strong {
    color: #ffffff;
    font-weight: 700;
}

.theme-light .about-wenoso__body strong {
    color: var(--light-text-primary);
    font-weight: 700;
}

.about-wenoso__stats {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
}

.about-wenoso__stat-card {
    flex: 1 1 auto;
    min-width: 100px;
    padding: 18px 20px;
    border-radius: 14px;
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.theme-dark .about-wenoso__stat-card {
    background: rgba(255, 255, 255, 0.04);
}

.theme-light .about-wenoso__stat-card {
    background: rgba(255, 255, 255, 0.7);
    border-color: rgba(15, 23, 42, 0.08);
}

.about-wenoso__stat-value {
    font-family: var(--font-heading);
    font-size: 22px;
    font-weight: 800;
    letter-spacing: 0.02em;
    line-height: 1.2;
    margin-bottom: 4px;
}

.theme-dark .about-wenoso__stat-value {
    color: #ffffff;
}

.theme-light .about-wenoso__stat-value {
    color: var(--light-text-primary);
}

.about-wenoso__stat-label {
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.theme-dark .about-wenoso__stat-label {
    color: rgba(255, 255, 255, 0.42);
}

.theme-light .about-wenoso__stat-label {
    color: var(--light-text-tertiary);
}

.about-wenoso__visual-panel {
    position: relative;
    min-height: 320px;
    border-radius: 24px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    isolation: isolate;
}

.about-wenoso__visual-panel--glass {
    border: 1px solid rgba(255, 255, 255, 0.14);
    background:
        linear-gradient(155deg, rgba(255, 255, 255, 0.12) 0%, rgba(255, 255, 255, 0.03) 38%, rgba(99, 102, 241, 0.08) 100%),
        rgba(10, 8, 22, 0.45);
    backdrop-filter: blur(28px) saturate(170%);
    -webkit-backdrop-filter: blur(28px) saturate(170%);
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.16),
        inset 0 -1px 0 rgba(0, 0, 0, 0.12),
        0 20px 56px rgba(0, 0, 0, 0.35),
        0 0 0 1px rgba(99, 102, 241, 0.06),
        0 0 80px rgba(99, 102, 241, 0.14);
    animation: aboutGlassFloat 7s ease-in-out infinite;
}

@media (max-width: 767px) {
    .about-wenoso__visual-panel {
        min-height: 360px;
    }
}

.theme-dark .about-wenoso__visual-panel:not(.about-wenoso__visual-panel--glass) {
    background: rgba(12, 10, 24, 0.55);
    border: 1px solid rgba(167, 139, 250, 0.2);
    box-shadow:
        0 0 60px rgba(99, 102, 241, 0.12),
        inset 0 0 80px rgba(99, 102, 241, 0.04);
}

.theme-light .about-wenoso__visual-panel--glass {
    border-color: rgba(99, 102, 241, 0.14);
    background:
        linear-gradient(165deg, rgba(255, 255, 255, 0.92) 0%, rgba(255, 255, 255, 0.72) 45%, rgba(238, 242, 255, 0.85) 100%);
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.95),
        0 16px 48px rgba(15, 23, 42, 0.08),
        0 0 60px rgba(99, 102, 241, 0.1);
}

.theme-light .about-wenoso__visual-panel:not(.about-wenoso__visual-panel--glass) {
    background: rgba(255, 255, 255, 0.55);
    border: 1px solid rgba(99, 102, 241, 0.15);
    box-shadow: 0 8px 40px rgba(99, 102, 241, 0.08);
}

.about-wenoso__visual-panel--glass::before {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: inherit;
    pointer-events: none;
    background: radial-gradient(90% 65% at 15% -10%, rgba(255, 255, 255, 0.18) 0%, transparent 52%);
    opacity: 0.85;
    z-index: 1;
}

.about-wenoso__visual-panel--glass::after {
    content: "";
    position: absolute;
    inset: -40%;
    pointer-events: none;
    background: conic-gradient(from 210deg, transparent 0deg, rgba(167, 139, 250, 0.06) 60deg, transparent 120deg, rgba(99, 102, 241, 0.08) 200deg, transparent 280deg);
    animation: aboutGlassShimmer 14s linear infinite;
    z-index: 0;
}

@keyframes aboutGlassFloat {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-6px); }
}

@keyframes aboutGlassShimmer {
    to { transform: rotate(360deg); }
}

.about-wenoso__visual-bloom {
    position: absolute;
    left: 50%;
    top: 48%;
    width: 200px;
    height: 200px;
    margin: -100px 0 0 -100px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(167, 139, 250, 0.35) 0%, rgba(99, 102, 241, 0.12) 45%, transparent 70%);
    filter: blur(28px);
    pointer-events: none;
    z-index: 0;
    animation: aboutBloomPulse 5s ease-in-out infinite;
}

@keyframes aboutBloomPulse {
    0%, 100% { opacity: 0.65; transform: scale(0.92); }
    50% { opacity: 1; transform: scale(1.08); }
}


.about-wenoso__visual-particles {
    position: absolute;
    inset: 0;
    pointer-events: none;
    /* Выше сетки/линий (3) и блика ::before (1), ниже логотипа */
    z-index: 4;
    overflow: visible;
}

.about-wenoso__visual-particles-svg {
    display: block;
    width: 100%;
    height: 100%;
    overflow: visible;
    opacity: 0.88;
}

.theme-light .about-wenoso__visual-particles-svg {
    opacity: 0.92;
}

.about-wenoso__visual-particles-svg .about-wenoso__hex-svg {
    transform-origin: center;
    transform-box: fill-box;
    will-change: transform;
}

.about-wenoso__hex-svg--1 { animation: aboutHexDriftA 38s ease-in-out infinite; }
.about-wenoso__hex-svg--2 { animation: aboutHexDriftB 44s ease-in-out infinite; animation-delay: -6s; }
.about-wenoso__hex-svg--3 { animation: aboutHexDriftC 36s ease-in-out infinite; animation-delay: -12s; }
.about-wenoso__hex-svg--4 { animation: aboutHexDriftB 42s ease-in-out infinite; animation-delay: -18s; }
.about-wenoso__hex-svg--5 { animation: aboutHexDriftA 50s ease-in-out infinite; animation-delay: -24s; }

.about-wenoso__visual-particles-svg .about-wenoso__dot-svg {
    transform-origin: center;
    transform-box: fill-box;
    will-change: transform;
    animation: aboutDotDrift 26s ease-in-out infinite;
}

.about-wenoso__dot-svg--1 { animation-duration: 28s; animation-delay: -2s; }
.about-wenoso__dot-svg--2 { animation-duration: 32s; animation-delay: -5s; }
.about-wenoso__dot-svg--3 { animation-duration: 24s; animation-delay: -8s; }
.about-wenoso__dot-svg--4 { animation-duration: 30s; animation-delay: -11s; }
.about-wenoso__dot-svg--5 { animation-duration: 34s; animation-delay: -3s; }
.about-wenoso__dot-svg--6 { animation-duration: 27s; animation-delay: -14s; }
.about-wenoso__dot-svg--7 { animation-duration: 29s; animation-delay: -7s; }
.about-wenoso__dot-svg--8 { animation-duration: 31s; animation-delay: -19s; }
.about-wenoso__dot-svg--9 { animation-duration: 33s; animation-delay: -9s; }
.about-wenoso__dot-svg--10 { animation-duration: 25s; animation-delay: -16s; }
.about-wenoso__dot-svg--11 { animation-duration: 35s; animation-delay: -21s; }

@keyframes aboutHexDriftA {
    0%, 100% { transform: translate(0, 0) rotate(0deg); }
    33% { transform: translate(6px, -9px) rotate(4deg); }
    66% { transform: translate(-5px, 6px) rotate(-3deg); }
}

@keyframes aboutHexDriftB {
    0%, 100% { transform: translate(0, 0) rotate(0deg); }
    40% { transform: translate(-7px, 5px) rotate(-5deg); }
    70% { transform: translate(4px, -6px) rotate(3deg); }
}

@keyframes aboutHexDriftC {
    0%, 100% { transform: translate(0, 0) rotate(0deg); }
    50% { transform: translate(8px, 7px) rotate(6deg); }
}

@keyframes aboutDotDrift {
    0%, 100% { transform: translate(0, 0); }
    25% { transform: translate(4px, -5px); }
    50% { transform: translate(-3px, 4px); }
    75% { transform: translate(5px, 3px); }
}

.about-wenoso__visual-grid {
    position: absolute;
    inset: 0;
    opacity: 0.35;
    /* Поверх частиц, линии сетки читаются, шестиугольники видны в ячейках */
    z-index: 3;
    background-image:
        linear-gradient(to right, rgba(167, 139, 250, 0.12) 1px, transparent 1px),
        linear-gradient(to bottom, rgba(167, 139, 250, 0.12) 1px, transparent 1px);
    background-size: 24px 24px;
}

.theme-light .about-wenoso__visual-grid {
    opacity: 0.45;
    background-image:
        linear-gradient(to right, rgba(99, 102, 241, 0.1) 1px, transparent 1px),
        linear-gradient(to bottom, rgba(99, 102, 241, 0.1) 1px, transparent 1px);
}

.about-wenoso__network {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    pointer-events: none;
    z-index: 3;
}

.about-wenoso__network--live .about-wenoso__net-line {
    stroke-dasharray: 520;
    stroke-dashoffset: 520;
    animation: aboutNetFlow 11s ease-in-out infinite;
}

.about-wenoso__network--live .about-wenoso__net-line--delay {
    animation-delay: -3.6s;
}

.about-wenoso__network--live .about-wenoso__net-line--delay2 {
    animation-delay: -7.2s;
}

@keyframes aboutNetFlow {
    0%, 100% { stroke-dashoffset: 520; opacity: 0.22; }
    48%, 58% { stroke-dashoffset: 0; opacity: 0.52; }
}

.about-wenoso__network--live .about-wenoso__net-node {
    transform-origin: center;
    animation: aboutNodeGlow 3.2s ease-in-out infinite;
}

.about-wenoso__network--live .about-wenoso__net-node--d1 { animation-delay: 0.4s; }
.about-wenoso__network--live .about-wenoso__net-node--d2 { animation-delay: 0.8s; }
.about-wenoso__network--live .about-wenoso__net-node--d3 { animation-delay: 1.2s; }
.about-wenoso__network--live .about-wenoso__net-node--d4 { animation-delay: 1.6s; }
.about-wenoso__network--live .about-wenoso__net-node--d5 { animation-delay: 2s; }

@keyframes aboutNodeGlow {
    0%, 100% { opacity: 0.45; }
    50% { opacity: 1; }
}

@media (prefers-reduced-motion: reduce) {
    .about-wenoso__visual-panel--glass,
    .about-wenoso__visual-panel--glass::after,
    .about-wenoso__visual-bloom,
    .about-wenoso__glass-inner,
    .about-wenoso__hex-svg,
    .about-wenoso__dot-svg,
    .about-wenoso__network--live .about-wenoso__net-line,
    .about-wenoso__network--live .about-wenoso__net-node {
        animation: none;
    }

    .about-wenoso__visual-panel--glass {
        transform: none;
    }

    .about-wenoso__network--live .about-wenoso__net-line {
        stroke-dashoffset: 0;
        opacity: 0.4;
    }
}

.about-wenoso__glass-inner {
    position: relative;
    z-index: 5;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 36px 28px 40px;
    animation: aboutLogoReveal 8s ease-in-out infinite;
}

@keyframes aboutLogoReveal {
    0%, 100% { transform: translateY(0); filter: drop-shadow(0 12px 28px rgba(99, 102, 241, 0.25)); }
    50% { transform: translateY(-4px); filter: drop-shadow(0 18px 40px rgba(139, 92, 246, 0.35)); }
}

.about-wenoso__glass-inner .wenoso-brand {
    flex-direction: column;
    gap: 16px;
    text-align: center;
}

.about-wenoso__glass-inner .wenoso-brand__word {
    letter-spacing: 0.28em;
    text-shadow: 0 0 40px rgba(167, 139, 250, 0.35);
}

.theme-light .about-wenoso__glass-inner .wenoso-brand__word {
    color: var(--light-text-primary);
    text-shadow: none;
}

/* ===== HERO SECTION ===== */
.hero-section {
    position: relative;
    z-index: 1;
    padding: 120px 0;
    text-align: center;
}

.hero-content {
    max-width: 900px;
    margin: 0 auto;
}

.hero-title {
    font-family: var(--font-heading);
    margin-bottom: 24px;
}

.title-primary {
    display: block;
    font-size: 32px;
    font-weight: 900;
    line-height: 1.2;
    margin-bottom: 8px;
}

.title-gradient {
    display: block;
    font-size: 40px;
    font-weight: 900;
    line-height: 1.2;
    background: linear-gradient(to right, #818cf8, #a78bfa, #f0abfc);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

@media (min-width: 768px) {
    .title-primary {
        font-size: 36px;
    }
    .title-gradient {
        font-size: 48px;
    }
}

.hero-subtitle {
    font-size: 20px;
    line-height: 1.6;
    margin-bottom: 40px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.theme-dark .hero-subtitle {
    color: var(--dark-text-secondary);
}

.theme-light .hero-subtitle {
    color: var(--light-text-secondary);
}

.hero-typing {
    display: inline;
}

.hero-typing--caret::after {
    content: '';
    display: inline-block;
    width: 2px;
    height: 0.85em;
    margin-left: 3px;
    vertical-align: -0.05em;
    background: currentColor;
    animation: heroTypingBlink 0.78s steps(1, end) infinite;
}

.title-gradient .hero-typing--caret::after {
    background: #a78bfa;
}

@keyframes heroTypingBlink {
    0%,
    49% {
        opacity: 1;
    }
    50%,
    100% {
        opacity: 0;
    }
}

.hero-actions {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
}

/* ===== BUTTONS ===== */
.btn-primary,
.btn-secondary,
.btn-outline {
    display: inline-block;
    padding: 14px 32px;
    border-radius: 10px;
    font-family: var(--font-heading);
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    text-decoration: none;
    transition: all 0.3s ease;
    cursor: pointer;
    border: none;
}

.btn-primary {
    background: var(--gradient-primary);
    color: white;
    box-shadow: 0 8px 24px rgba(99, 102, 241, 0.4);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 32px rgba(99, 102, 241, 0.5);
}

.btn-secondary {
    border: 1px solid;
}

.theme-dark .btn-secondary {
    background: var(--dark-card-bg);
    border-color: var(--dark-card-border);
    color: var(--dark-text-primary);
}

.theme-light .btn-secondary {
    background: var(--light-card-bg);
    border-color: var(--light-card-border);
    color: var(--light-text-primary);
}

.btn-secondary:hover {
    transform: translateY(-2px);
}

.btn-outline {
    background: transparent;
    border: 2px solid;
    border-color: rgba(139, 92, 246, 0.5);
    color: #a78bfa;
}

.btn-outline:hover {
    border-color: #a78bfa;
    background: rgba(139, 92, 246, 0.1);
}

.btn-large {
    padding: 16px 40px;
    font-size: 15px;
}

/* ===== EXCHANGE PARTNERS (infinite marquee) ===== */
.exchange-partners {
    position: relative;
    z-index: 1;
    padding: 72px 0 80px;
    overflow: hidden;
}

.exchange-partners__glow {
    position: absolute;
    top: 55%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: min(95vw, 1000px);
    height: min(55vw, 420px);
    pointer-events: none;
    background: radial-gradient(
        ellipse at center,
        rgba(99, 102, 241, 0.2) 0%,
        rgba(124, 58, 237, 0.1) 45%,
        transparent 70%
    );
}

.theme-light .exchange-partners__glow {
    background: radial-gradient(
        ellipse at center,
        rgba(99, 102, 241, 0.08) 0%,
        rgba(124, 58, 237, 0.04) 50%,
        transparent 72%
    );
}

.exchange-partners__header {
    position: relative;
    text-align: center;
    margin-bottom: 40px;
}

.exchange-partners__title {
    font-family: var(--font-heading);
    font-size: clamp(26px, 3.6vw, 36px);
    font-weight: 800;
    line-height: 1.2;
    letter-spacing: 0.04em;
    margin-bottom: 12px;
}

.exchange-partners__title-line {
    display: inline-flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: baseline;
    gap: 0.35em;
}

.theme-dark .exchange-partners__title-static {
    color: #ffffff;
}

.theme-light .exchange-partners__title-static {
    color: var(--light-text-primary);
}

.exchange-partners__title-gradient {
    background: linear-gradient(90deg, #818cf8 0%, #a78bfa 45%, #c084fc 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.exchange-partners__subtitle {
    font-size: 15px;
    font-weight: 500;
    line-height: 1.55;
    max-width: 520px;
    margin: 0 auto;
}

.theme-dark .exchange-partners__subtitle {
    color: rgba(255, 255, 255, 0.42);
}

.theme-light .exchange-partners__subtitle {
    color: var(--light-text-secondary);
}

.exchange-partners__viewport {
    position: relative;
    width: 100%;
    overflow: hidden;
    padding: 8px 0 12px;
    mask-image: linear-gradient(
        to right,
        transparent 0%,
        black 10%,
        black 90%,
        transparent 100%
    );
    -webkit-mask-image: linear-gradient(
        to right,
        transparent 0%,
        black 10%,
        black 90%,
        transparent 100%
    );
}

.exchange-partners__track {
    display: flex;
    width: max-content;
    animation: exchange-partners-marquee 48s linear infinite;
}

.exchange-partners__track:hover {
    animation-play-state: paused;
}

.exchange-partners__group {
    display: flex;
    align-items: stretch;
    gap: 20px;
    padding: 0 10px;
    flex-shrink: 0;
}

.exchange-partners__card {
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 148px;
    min-height: 76px;
    padding: 16px 22px;
    border-radius: 16px;
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    flex-shrink: 0;
    border: 1px solid rgba(167, 139, 250, 0.15);
    transition: border-color 0.25s ease, box-shadow 0.25s ease;
}

.theme-dark .exchange-partners__card {
    background: rgba(22, 20, 38, 0.65);
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.25);
}

.theme-light .exchange-partners__card {
    background: rgba(255, 255, 255, 0.72);
    border-color: rgba(99, 102, 241, 0.12);
    box-shadow: 0 4px 20px rgba(15, 23, 42, 0.06);
}

.theme-dark .exchange-partners__card:hover {
    border-color: rgba(167, 139, 250, 0.3);
}

.exchange-partners__logo {
    font-family: var(--font-heading);
    font-size: clamp(14px, 2vw, 17px);
    font-weight: 800;
    letter-spacing: 0.06em;
    white-space: nowrap;
}

.exchange-partners__logo--bybit {
    color: #f7a600;
}

.exchange-partners__logo--kucoin {
    color: #23af91;
}

.exchange-partners__logo--gate {
    color: #17e6a1;
}

.exchange-partners__logo--bitfinex {
    color: #16c784;
}

.exchange-partners__logo--gemini {
    color: #00dcfa;
}

.exchange-partners__logo--binance {
    color: #f0b90b;
}

.exchange-partners__logo--coinbase {
    color: #0052ff;
}

.exchange-partners__logo--kraken {
    color: #7132f5;
}

@keyframes exchange-partners-marquee {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-50%);
    }
}

@media (prefers-reduced-motion: reduce) {
    .exchange-partners__track {
        animation: none;
        flex-wrap: wrap;
        justify-content: center;
        width: 100%;
        max-width: 900px;
        margin: 0 auto;
        gap: 16px;
    }

    .exchange-partners__group[aria-hidden="true"] {
        display: none;
    }

    .exchange-partners__group {
        flex-wrap: wrap;
        justify-content: center;
        padding: 0;
    }

    .exchange-partners__viewport {
        mask-image: none;
        -webkit-mask-image: none;
    }
}

/* ===== DECORATIVE DIVIDER ===== */
.decorative-divider {
    position: relative;
    z-index: 1;
    padding: 64px 0;
    overflow: hidden;
}

.decorative-divider__inner {
    position: relative;
    max-width: 1280px;
}

.decorative-divider__row {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.decorative-divider__line {
    flex: 1;
    height: 1px;
    transform: scaleX(0);
    transition: transform 0.8s cubic-bezier(0.22, 1, 0.36, 1);
}

.decorative-divider__line--left {
    transform-origin: right center;
    background: linear-gradient(to right, transparent, rgba(185, 16, 185, 0.493));
}

.decorative-divider__line--right {
    transform-origin: left center;
    background: linear-gradient(to left, transparent, rgba(165, 16, 185, 0.5));
}

.decorative-divider--visible .decorative-divider__line {
    transform: scaleX(1);
}

.decorative-divider__shapes {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 0 24px;
    flex-shrink: 0;
}

.decorative-divider__shape {
    display: flex;
    align-items: center;
    justify-content: center;
    color: #974bee;
    transform: scale(0) rotate(0deg);
    transition: transform 0.6s cubic-bezier(0.34, 1.56, 0.64, 1);
    transition-delay: 0.3s;
}

.decorative-divider__shape--circle {
    transition-duration: 0.6s;
}

.decorative-divider__shape--triangle {
    transition-duration: 0.6s;
}

.decorative-divider--visible .decorative-divider__shape--hex {
    transform: scale(1) rotate(180deg);
}

.decorative-divider--visible .decorative-divider__shape--circle {
    transform: scale(1) rotate(-180deg);
}

.decorative-divider--visible .decorative-divider__shape--triangle {
    transform: scale(1) rotate(360deg);
}

.decorative-divider__shape-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #ae08bd;
    transform: scale(0);
    transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1) 0.5s;
}

.decorative-divider--visible .decorative-divider__shape-dot {
    transform: scale(1);
}

.decorative-divider__pattern {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 32px;
    opacity: 0.1;
    pointer-events: none;
}

.decorative-divider__pattern-dot {
    width: 4px;
    height: 4px;
    border-radius: 50%;
    background: #7c3aed85;
    opacity: 0;
    transition: opacity 0.5s ease-out;
    transition-delay: var(--dd-dot-delay, 0s);
}

.decorative-divider--visible .decorative-divider__pattern-dot {
    opacity: 0.3;
}

@media (prefers-reduced-motion: reduce) {
    .decorative-divider__line,
    .decorative-divider__shape,
    .decorative-divider__shape-dot,
    .decorative-divider__pattern-dot {
        transition: none !important;
    }

    .decorative-divider--visible .decorative-divider__line {
        transform: scaleX(1);
    }

    .decorative-divider--visible .decorative-divider__shape--hex {
        transform: scale(1) rotate(180deg);
    }

    .decorative-divider--visible .decorative-divider__shape--circle {
        transform: scale(1) rotate(-180deg);
    }

    .decorative-divider--visible .decorative-divider__shape--triangle {
        transform: scale(1) rotate(360deg);
    }

    .decorative-divider--visible .decorative-divider__shape-dot {
        transform: scale(1);
    }

    .decorative-divider--visible .decorative-divider__pattern-dot {
        opacity: 0.3;
    }
}

/* ===== INFO BLOCKS ===== */
.info-blocks-section {
    position: relative;
    z-index: 1;
    padding: 80px 0;
}

.info-blocks-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 24px;
}

@media (min-width: 768px) {
    .info-blocks-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .info-blocks-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

.info-block {
    position: relative;
    padding: 32px 24px;
    border-radius: 16px;
    backdrop-filter: blur(20px);
    transition: all 0.3s ease;
    overflow: hidden;
}

.theme-dark .info-block {
    background: var(--dark-card-bg);
    border: 1px solid var(--dark-card-border);
}

.theme-light .info-block {
    background: var(--light-card-bg);
    border: 1px solid var(--light-card-border);
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}

.info-block:hover {
    transform: translateY(-4px);
}

.theme-dark .info-block:hover {
    border-color: rgba(255, 255, 255, 0.12);
}

.theme-light .info-block:hover {
    border-color: rgba(0, 0, 0, 0.12);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
}

.info-block-icon {
    width: 56px;
    height: 56px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.info-block-icon svg {
    width: 28px;
    height: 28px;
    color: white;
}

.gradient-indigo { background: var(--gradient-indigo); }
.gradient-purple { background: var(--gradient-purple); }
.gradient-emerald { background: var(--gradient-emerald); }
.gradient-blue { background: var(--gradient-blue); }

.info-block-title {
    font-family: var(--font-heading);
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 12px;
    letter-spacing: 0.5px;
}

.info-block-text {
    font-size: 15px;
    line-height: 1.6;
}

.theme-dark .info-block-text {
    color: var(--dark-text-secondary);
}

.theme-light .info-block-text {
    color: var(--light-text-secondary);
}

.info-block-orb {
    position: absolute;
    width: 200px;
    height: 200px;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.15;
    pointer-events: none;
    bottom: -100px;
    right: -100px;
}

.gradient-indigo-orb {
    background: radial-gradient(circle, rgba(79, 70, 229, 0.5), transparent 70%);
}

.gradient-purple-orb {
    background: radial-gradient(circle, rgba(124, 58, 237, 0.5), transparent 70%);
}

.gradient-emerald-orb {
    background: radial-gradient(circle, rgba(5, 150, 105, 0.5), transparent 70%);
}

.gradient-blue-orb {
    background: radial-gradient(circle, rgba(37, 99, 235, 0.5), transparent 70%);
}

/* ===== HOW TO GET STARTED ===== */
.how-started-section {
    position: relative;
    z-index: 1;
    padding: 96px 0 88px;
    overflow: hidden;
}


.theme-light .how-started-section {
    background: linear-gradient(180deg, #f1f0f993 0%, #eef2ff6c 50%, #f8fafc00 100%);
}

.how-started-section__bg {
    position: absolute;
    inset: 0;
    pointer-events: none;
}

.how-started-section__glow-bottom {
    position: absolute;
    bottom: -20%;
    left: 50%;
    transform: translateX(-50%);
    width: min(100%, 900px);
    height: 55%;
    background: radial-gradient(
        ellipse 80% 60% at 50% 100%,
        rgba(124, 58, 237, 0.35) 0%,
        rgba(99, 102, 241, 0.12) 45%,
        transparent 70%
    );
}

.theme-light .how-started-section__glow-bottom {
    background: radial-gradient(
        ellipse 80% 60% at 50% 100%,
        rgba(124, 58, 237, 0.14) 0%,
        rgba(99, 102, 241, 0.06) 50%,
        transparent 72%
    );
}

.how-started-section__hex-layer {
    position: absolute;
    inset: -10% -5%;
    opacity: 0.22;
    background-size: 140px 122px;
}

.theme-light .how-started-section__hex-layer {
    opacity: 0.12;
}

.how-started-section__particles {
    position: absolute;
    inset: 0;
    background-image:
        radial-gradient(circle at 12% 18%, rgba(96, 165, 250, 0.55) 0, transparent 1.5px),
        radial-gradient(circle at 88% 22%, rgba(167, 139, 250, 0.5) 0, transparent 1.5px),
        radial-gradient(circle at 72% 8%, rgba(99, 102, 241, 0.45) 0, transparent 1px),
        radial-gradient(circle at 25% 42%, rgba(192, 132, 252, 0.4) 0, transparent 1px),
        radial-gradient(circle at 92% 55%, rgba(56, 189, 248, 0.45) 0, transparent 1.5px),
        radial-gradient(circle at 8% 65%, rgba(139, 92, 246, 0.4) 0, transparent 1px),
        radial-gradient(circle at 45% 12%, rgba(129, 140, 248, 0.35) 0, transparent 1px),
        radial-gradient(circle at 55% 78%, rgba(167, 139, 250, 0.45) 0, transparent 1.5px),
        radial-gradient(circle at 18% 88%, rgba(99, 102, 241, 0.35) 0, transparent 1px),
        radial-gradient(circle at 82% 38%, rgba(56, 189, 248, 0.3) 0, transparent 1px);
    filter: blur(0.3px);
}

.theme-light .how-started-section__particles {
    opacity: 0.6;
}

.how-started-section__inner {
    position: relative;
}

.how-started-header {
    text-align: center;
    max-width: 640px;
    margin: 0 auto 52px;
}

.how-started-title {
    font-family: var(--font-heading);
    font-size: clamp(28px, 4vw, 40px);
    font-weight: 800;
    line-height: 1.15;
    letter-spacing: 0.02em;
    margin-bottom: 14px;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: baseline;
    gap: 0.35em;
}

.theme-dark .how-started-title__static {
    color: #ffffff;
    text-shadow:
        0 0 28px rgba(139, 92, 246, 0.5),
        0 0 48px rgba(99, 102, 241, 0.25);
}

.theme-light .how-started-title__static {
    color: var(--light-text-primary);
    text-shadow: none;
}

.how-started-title__gradient {
    background: linear-gradient(90deg, #fc7de7 0%, #a78bfa 50%, #c084fc 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.theme-dark .how-started-title__gradient {
    filter: drop-shadow(0 0 14px rgba(139, 92, 246, 0.4));
}

.theme-light .how-started-title__gradient {
    filter: none;
}

.how-started-subtitle {
    font-size: 16px;
    font-weight: 500;
    line-height: 1.6;
}

.theme-dark .how-started-subtitle {
    color: rgba(196, 181, 253, 0.55);
}

.theme-light .how-started-subtitle {
    color: var(--light-text-secondary);
}

.how-started-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 28px;
    max-width: 1120px;
    margin: 0 auto;
}

@media (min-width: 900px) {
    .how-started-grid {
        grid-template-columns: repeat(4, 1fr);
        gap: 24px;
    }
}

.how-started-card {
    position: relative;
    border-radius: 16px;
    padding: 40px 24px 28px;
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(167, 139, 250, 0.18);
    overflow: visible;
    transition: border-color 0.25s ease, box-shadow 0.25s ease;
}

.theme-dark .how-started-card {
    background: rgba(20, 18, 32, 0.55);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.35);
}

.theme-light .how-started-card {
    background: rgba(255, 255, 255, 0.65);
    border-color: rgba(99, 102, 241, 0.15);
    box-shadow: 0 8px 32px rgba(15, 23, 42, 0.06);
}

.theme-dark .how-started-card:hover {
    border-color: rgba(167, 139, 250, 0.28);
    box-shadow: 0 12px 40px rgba(99, 102, 241, 0.12);
}

.theme-light .how-started-card:hover {
    border-color: rgba(99, 102, 241, 0.25);
}

.how-started-card__step {
    position: absolute;
    top: -14px;
    left: 75%;
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-heading);
    font-size: 15px;
    font-weight: 800;
    letter-spacing: 0.02em;
    color: #ffffff;
    border-radius: 12px;
    background: linear-gradient(135deg, #6366f1 0%, #7c3aed 50%, #9333ea 100%);
    box-shadow:
        0 0 18px rgba(139, 92, 246, 0.65),
        0 0 32px rgba(99, 102, 241, 0.45),
        0 4px 12px rgba(0, 0, 0, 0.4);
    z-index: 2;
}

.how-started-card__icon {
    width: 52px;
    height: 52px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    color: #ffffff;
    background: rgba(12, 10, 22, 0.75);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.theme-light .how-started-card__icon {
    background: rgba(15, 23, 42, 0.06);
    border-color: rgba(15, 23, 42, 0.1);
    color: #4338ca;
}

.how-started-card__title {
    font-family: var(--font-heading);
    font-size: 18px;
    font-weight: 700;
    letter-spacing: 0.03em;
    margin-bottom: 12px;
}

.theme-dark .how-started-card__title {
    color: #ffffff;
}

.theme-light .how-started-card__title {
    color: var(--light-text-primary);
}

.how-started-card__desc {
    font-size: 14px;
    line-height: 1.65;
}

.theme-dark .how-started-card__desc {
    color: rgba(196, 181, 253, 0.5);
}

.theme-light .how-started-card__desc {
    color: var(--light-text-secondary);
}

/* ===== STATS SECTION ===== */
.stats-section {
    position: relative;
    z-index: 1;
    padding: 80px 0;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 32px;
}

@media (min-width: 1024px) {
    .stats-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

.stat-item {
    text-align: center;
}

.stat-value {
    font-family: var(--font-heading);
    font-size: 48px;
    font-weight: 900;
    background: linear-gradient(to right, #818cf8, #a78bfa, #f0abfc);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 8px;
}
@media (max-width: 768px) {
    .stat-value {
        font-size: 32px;
    }
}

.stat-label {
    font-size: 16px;
    font-weight: 500;
}

.theme-dark .stat-label {
    color: var(--dark-text-secondary);
}

.theme-light .stat-label {
    color: var(--light-text-secondary);
}

/* Wenoso landing: performance metrics as animated icons */
.stats-section--wenoso-perf .stat-item {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.wenoso-stat-icon {
    position: relative;
    width: 76px;
    height: 76px;
    margin: 0 auto 14px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.wenoso-stat-icon__glow {
    position: absolute;
    inset: 10px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(167, 139, 250, 0.35) 0%, transparent 70%);
    animation: wenoso-stat-glow-pulse 3s ease-in-out infinite;
    pointer-events: none;
}

.theme-light .wenoso-stat-icon__glow {
    background: radial-gradient(circle, rgba(99, 102, 241, 0.2) 0%, transparent 70%);
}

.wenoso-stat-icon__orbit {
    position: absolute;
    inset: 0;
    border-radius: 50%;
    border: 1.5px solid transparent;
    border-top-color: rgba(129, 140, 248, 0.75);
    border-right-color: rgba(196, 181, 253, 0.2);
    animation: wenoso-stat-orbit 6.5s linear infinite;
    pointer-events: none;
}

.wenoso-stat-icon__orbit--b {
    animation-duration: 8s;
    animation-direction: reverse;
    border-top-color: rgba(240, 171, 252, 0.65);
    border-right-color: rgba(129, 140, 248, 0.15);
}

.wenoso-stat-icon__orbit--c {
    animation-duration: 7s;
    border-top-color: rgba(129, 212, 250, 0.55);
}

.wenoso-stat-icon__orbit--d {
    animation-duration: 9s;
    animation-direction: reverse;
    border-top-color: rgba(167, 139, 250, 0.7);
}

.wenoso-stat-icon__svg {
    position: relative;
    z-index: 1;
    width: 34px;
    height: 34px;
    color: #c4b5fd;
    filter: drop-shadow(0 0 10px rgba(167, 139, 250, 0.45));
    animation: wenoso-stat-icon-float 3s ease-in-out infinite;
}

.theme-light .wenoso-stat-icon__svg {
    color: #6366f1;
    filter: drop-shadow(0 0 8px rgba(99, 102, 241, 0.35));
}

.stats-section--wenoso-perf .stat-item:nth-child(1) .wenoso-stat-icon__svg {
    animation-delay: 0s;
}

.stats-section--wenoso-perf .stat-item:nth-child(2) .wenoso-stat-icon__svg {
    animation-delay: 0.35s;
}

.stats-section--wenoso-perf .stat-item:nth-child(3) .wenoso-stat-icon__svg {
    animation-delay: 0.7s;
}

.stats-section--wenoso-perf .stat-item:nth-child(4) .wenoso-stat-icon__svg {
    animation-delay: 1.05s;
}

.stats-section--wenoso-perf .stat-item:nth-child(2) .wenoso-stat-icon__glow {
    animation-delay: 0.4s;
}

.stats-section--wenoso-perf .stat-item:nth-child(3) .wenoso-stat-icon__glow {
    animation-delay: 0.8s;
}

.stats-section--wenoso-perf .stat-item:nth-child(4) .wenoso-stat-icon__glow {
    animation-delay: 1.2s;
}

.wenoso-stat-clock-hands {
    transform-origin: 12px 12px;
    animation: wenoso-stat-hand-rotate 12s linear infinite;
}

@keyframes wenoso-stat-glow-pulse {
    0%, 100% {
        opacity: 0.55;
        transform: scale(0.92);
    }
    50% {
        opacity: 1;
        transform: scale(1.05);
    }
}

@keyframes wenoso-stat-orbit {
    to {
        transform: rotate(360deg);
    }
}

@keyframes wenoso-stat-icon-float {
    0%, 100% {
        transform: translateY(0) scale(1);
    }
    50% {
        transform: translateY(-3px) scale(1.04);
    }
}

@keyframes wenoso-stat-hand-rotate {
    to {
        transform: rotate(360deg);
    }
}

/* ===== AI-POWERED TRADING BOTS ===== */
.ai-trading-bots-section {
    position: relative;
    z-index: 1;
    padding: 88px 0 96px;
    overflow: hidden;
}

.ai-trading-bots-section__glow {
    position: absolute;
    top: 42%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: min(92vw, 960px);
    height: min(70vw, 520px);
    pointer-events: none;
    background: radial-gradient(
        ellipse at center,
        rgba(99, 102, 241, 0.28) 0%,
        rgba(139, 92, 246, 0.14) 42%,
        transparent 68%
    );
}

.theme-light .ai-trading-bots-section__glow {
    background: radial-gradient(
        ellipse at center,
        rgba(99, 102, 241, 0.12) 0%,
        rgba(139, 92, 246, 0.06) 45%,
        transparent 70%
    );
}

.ai-trading-bots-section__grid-bg {
    position: absolute;
    inset: 0;
    pointer-events: none;
    opacity: 0.45;
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.04) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.04) 1px, transparent 1px);
    background-size: 40px 40px;
    mask-image: radial-gradient(ellipse 75% 65% at 50% 45%, black 20%, transparent 75%);
    -webkit-mask-image: radial-gradient(ellipse 75% 65% at 50% 45%, black 20%, transparent 75%);
}

.theme-light .ai-trading-bots-section__grid-bg {
    opacity: 0.35;
    background-image:
        linear-gradient(rgba(15, 23, 42, 0.06) 1px, transparent 1px),
        linear-gradient(90deg, rgba(15, 23, 42, 0.06) 1px, transparent 1px);
}

.ai-trading-bots-section__inner {
    position: relative;
}

.ai-trading-bots-header {
    text-align: center;
    max-width: 720px;
    margin: 0 auto 48px;
}

.ai-trading-bots-title {
    font-family: var(--font-heading);
    font-size: clamp(28px, 4vw, 40px);
    font-weight: 800;
    line-height: 1.15;
    letter-spacing: 0.02em;
    margin-bottom: 16px;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: baseline;
    gap: 0.35em;
}

.theme-dark .ai-trading-bots-title__static {
    color: #ffffff;
}

.theme-light .ai-trading-bots-title__static {
    color: var(--light-text-primary);
}

.ai-trading-bots-title__gradient {
    background: linear-gradient(90deg, #22d3ee 0%, #a78bfa 45%, #c084fc 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.ai-trading-bots-subtitle {
    font-size: 15px;
    line-height: 1.65;
    max-width: 560px;
    margin: 0 auto;
}

.theme-dark .ai-trading-bots-subtitle {
    color: rgba(255, 255, 255, 0.45);
}

.theme-light .ai-trading-bots-subtitle {
    color: var(--light-text-secondary);
}

.ai-trading-bots-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 24px;
}

@media (min-width: 768px) {
    .ai-trading-bots-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .ai-trading-bots-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

.ai-bot-card {
    position: relative;
    border-radius: 16px;
    padding: 22px 22px 20px;
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    flex-direction: column;
    min-height: 100%;
    transition: border-color 0.25s ease, box-shadow 0.25s ease;
}

.theme-dark .ai-bot-card {
    background: rgba(18, 18, 24, 0.55);
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.35);
}

.theme-light .ai-bot-card {
    background: rgba(255, 255, 255, 0.72);
    border-color: rgba(15, 23, 42, 0.08);
    box-shadow: 0 4px 24px rgba(15, 23, 42, 0.06);
}

.theme-dark .ai-bot-card:hover {
    border-color: rgba(255, 255, 255, 0.14);
    box-shadow: 0 8px 32px rgba(99, 102, 241, 0.12);
}

.theme-light .ai-bot-card:hover {
    border-color: rgba(99, 102, 241, 0.2);
}

.ai-bot-card__top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 18px;
}

.ai-bot-card__icon {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    color: #ffffff;
    background: rgba(79, 70, 229, 0.35);
    border: 1px solid rgba(129, 140, 248, 0.35);
}

.theme-light .ai-bot-card__icon {
    background: rgba(79, 70, 229, 0.15);
    border-color: rgba(99, 102, 241, 0.25);
    color: #4338ca;
}

.ai-bot-badge {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    padding: 6px 12px;
    border-radius: 999px;
    white-space: nowrap;
}

.ai-bot-badge--active {
    color: #34d399;
    background: rgba(16, 185, 129, 0.15);
    border: 1px solid rgba(52, 211, 153, 0.25);
}

.ai-bot-badge--premium {
    color: #c4b5fd;
    background: rgba(139, 92, 246, 0.2);
    border: 1px solid rgba(167, 139, 250, 0.35);
}

.theme-light .ai-bot-badge--premium {
    color: #6d28d9;
    background: rgba(139, 92, 246, 0.12);
    border-color: rgba(139, 92, 246, 0.25);
}

.ai-bot-card__title {
    font-family: var(--font-heading);
    font-size: 17px;
    font-weight: 700;
    letter-spacing: 0.03em;
    margin-bottom: 10px;
}

.theme-dark .ai-bot-card__title {
    color: #ffffff;
}

.theme-light .ai-bot-card__title {
    color: var(--light-text-primary);
}

.ai-bot-card__desc {
    font-size: 14px;
    line-height: 1.55;
    flex: 1;
    margin-bottom: 22px;
}

.theme-dark .ai-bot-card__desc {
    color: rgba(255, 255, 255, 0.45);
}

.theme-light .ai-bot-card__desc {
    color: var(--light-text-secondary);
}

.ai-bot-card__footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-top: auto;
}

.ai-bot-card__apy {
    font-family: var(--font-heading);
    font-size: 15px;
    font-weight: 800;
    color: #34d399;
    letter-spacing: 0.02em;
}

.ai-bot-card__deploy {
    font-family: var(--font-body);
    font-size: 13px;
    font-weight: 600;
    padding: 10px 18px;
    border-radius: 10px;
    cursor: pointer;
    border: 1px solid rgba(255, 255, 255, 0.18);
    background: rgba(0, 0, 0, 0.35);
    color: #ffffff;
    transition: background 0.2s ease, border-color 0.2s ease;
}

.theme-dark .ai-bot-card__deploy {
    background: rgba(10, 10, 14, 0.65);
}

.theme-dark .ai-bot-card__deploy:hover {
    background: rgba(30, 30, 40, 0.9);
    border-color: rgba(255, 255, 255, 0.28);
}

.theme-light .ai-bot-card__deploy {
    background: rgba(248, 250, 252, 0.9);
    border-color: rgba(15, 23, 42, 0.12);
    color: var(--light-text-primary);
}

.theme-light .ai-bot-card__deploy:hover {
    background: #ffffff;
    border-color: rgba(15, 23, 42, 0.2);
}

.ai-bot-card--feature {
    text-align: center;
}

.ai-bot-card--feature .ai-bot-card__top {
    justify-content: center;
    margin-bottom: 4px;
}

.ai-bot-card--feature .ai-bot-card__icon {
    margin-inline: auto;
}

.ai-bot-card--feature .ai-bot-card__title {
    font-size: 15px;
    font-weight: 650;
    line-height: 1.45;
    margin-top: 8px;
}

.ai-bot-card--feature .ai-bot-card__footer,
.ai-bot-card--feature .ai-bot-card__desc {
    display: none;
}

.wenoso-stats-heading {
    text-align: center;
    margin-bottom: 48px;
}

.wenoso-stats-heading .ai-trading-bots-title {
    justify-content: center;
}

.wenoso-transparency-inner {
    text-align: center;
    max-width: 44rem;
    margin: 0 auto;
}

.wenoso-transparency-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 56px;
    height: 56px;
    margin: 0 auto 20px;
    border-radius: 16px;
    background: rgba(129, 140, 248, 0.12);
    border: 1px solid rgba(167, 139, 250, 0.22);
    color: #c4b5fd;
}

.theme-light .wenoso-transparency-icon {
    background: rgba(99, 102, 241, 0.08);
    border-color: rgba(99, 102, 241, 0.15);
    color: var(--light-text-primary);
}

.wenoso-transparency-inner .ai-trading-bots-subtitle {
    margin-top: 16px;
}

.wenoso-transparency-inner .wenoso-transparency-heading-title {
    justify-content: center;
}

.cta-section {
    position: relative;
    z-index: 1;
    padding: 100px 0;
}

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

.cta-title {
    font-family: var(--font-heading);
    font-size: 40px;
    font-weight: 900;
    margin-bottom: 16px;
}

.cta-subtitle {
    font-size: 18px;
    margin-bottom: 40px;
}

.theme-dark .cta-subtitle {
    color: var(--dark-text-secondary);
}

.theme-light .cta-subtitle {
    color: var(--light-text-secondary);
}

.cta-actions {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
}

/* ===== FOOTER ===== */
.footer {
    position: relative;
    z-index: 1;
    padding: 60px 0 32px;
    border-top: 1px solid;
}

.theme-dark .footer {
    border-color: var(--dark-card-border);
}

.theme-light .footer {
    border-color: var(--light-card-border);
}

.footer-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 40px;
    margin-bottom: 40px;
}

@media (min-width: 768px) {
    .footer-grid {
        grid-template-columns: 2fr 1fr 1fr 1fr 1fr;
    }
}

.footer-brand {
    max-width: 300px;
}

.footer-brand-logo {
    display: inline-flex;
    align-items: center;
}

.footer-description {
    margin-top: 16px;
    font-size: 15px;
}

.theme-dark .footer-description {
    color: var(--dark-text-secondary);
}

.theme-light .footer-description {
    color: var(--light-text-secondary);
}

.footer-links {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-heading {
    font-family: var(--font-heading);
    font-size: 14px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 8px;
}

.footer-links a {
    font-size: 15px;
    text-decoration: none;
    transition: color 0.3s ease;
}

.theme-dark .footer-links a {
    color: var(--dark-text-secondary);
}

.theme-light .footer-links a {
    color: var(--light-text-secondary);
}

.theme-dark .footer-links a:hover {
    color: var(--dark-text-primary);
}

.theme-light .footer-links a:hover {
    color: var(--light-text-primary);
}

.footer-bottom {
    padding-top: 32px;
    border-top: 1px solid;
    text-align: center;
}

.theme-dark .footer-bottom {
    border-color: var(--dark-card-border);
    color: var(--dark-text-tertiary);
}

.theme-light .footer-bottom {
    border-color: var(--light-card-border);
    color: var(--light-text-tertiary);
}

.footer-bottom p {
    font-size: 14px;
}

/* ===== DROPDOWN MENU ===== */
.nav-dropdown {
    position: relative;
}

.dropdown-toggle {
    display: flex;
    align-items: center;
    gap: 4px;
    background: none;
    border: none;
    cursor: pointer;
    font-family: var(--font-body);
}

.dropdown-icon {
    width: 16px;
    height: 16px;
    transition: transform 0.3s ease;
}

.theme-dark .dropdown-icon {
    color: #9ca3af;
}

.theme-light .dropdown-icon {
    color: #64748b;
}

.nav-dropdown.active .dropdown-icon {
    transform: rotate(180deg);
}

.dropdown-menu {
    position: absolute;
    top: calc(100% + 12px);
    left: 0;
    min-width: 220px;
    padding: 8px;
    border-radius: 16px;
    backdrop-filter: blur(40px);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px) scale(0.95);
    transition: all 0.3s ease;
    z-index: 50;
}

.theme-dark .dropdown-menu {
    background: linear-gradient(135deg, rgba(20, 20, 35, 0.98), rgba(15, 15, 30, 0.98));
    border: 1px solid rgba(139, 92, 246, 0.3);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.7), 0 0 40px rgba(99, 102, 241, 0.2);
}

.theme-light .dropdown-menu {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.98), rgba(250, 250, 255, 0.98));
    border: 1px solid rgba(139, 92, 246, 0.2);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15), 0 0 40px rgba(99, 102, 241, 0.1);
}

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

.dropdown-item {
    display: block;
    padding: 12px 16px;
    border-radius: 12px;
    text-decoration: none;
    font-size: 14px;
    font-weight: 600;
    font-family: var(--font-body);
    transition: all 0.2s ease;
}

.theme-dark .dropdown-item {
    color: #9ca3af;
}

.theme-light .dropdown-item {
    color: #374151;
}

.theme-dark .dropdown-item:hover,
.theme-dark .dropdown-item.active {
    background: linear-gradient(135deg, rgba(79, 70, 229, 0.4), rgba(124, 58, 237, 0.4));
    color: white;
}

.theme-light .dropdown-item:hover,
.theme-light .dropdown-item.active {
    background: linear-gradient(135deg, rgba(79, 70, 229, 0.1), rgba(124, 58, 237, 0.1));
    color: #0f172a;
}

/* Launch Cabinet Button */
.launch-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    position: relative;
    padding: 9px 14px;
    border-radius: 12px;
    background: linear-gradient(135deg, #4f46e5 0%, #7c3aed 50%, #a855f7 100%);
    box-shadow: 0 8px 24px rgba(99, 102, 241, 0.4);
    overflow: hidden;
    text-decoration: none;
    transition: all 0.3s ease;
    flex-shrink: 0;
    max-width: 100%;
}

.launch-btn__text--short {
    display: none;
}

.launch-btn__text--full {
    display: inline;
}

@media (max-width: 520px) {
    .launch-btn__text--full {
        display: none;
    }

    .launch-btn__text--short {
        display: inline;
    }

    .launch-btn {
        padding: 10px 12px;
    }

    .launch-btn svg {
        width: 14px;
        height: 14px;
    }
}

@media (min-width: 768px) {
    .launch-btn {
        padding: 10px 28px;
    }
}

.launch-btn:hover {
    transform: scale(1.05);
    box-shadow: 0 12px 40px rgba(99, 102, 241, 0.5);
}

.launch-btn .launch-btn__text {
    position: relative;
    z-index: 10;
    font-size: 12px;
    font-weight: 700;
    color: white;
    font-family: var(--font-heading);
    letter-spacing: 0.08em;
    white-space: nowrap;
}

@media (min-width: 768px) {
    .launch-btn .launch-btn__text {
        font-size: 13px;
        letter-spacing: 1px;
    }
}

.launch-btn svg {
    position: relative;
    z-index: 10;
    width: 16px;
    height: 16px;
    color: white;
    animation: arrowSlide 1.5s ease-in-out infinite;
}

@keyframes arrowSlide {
    0%, 100% { transform: translateX(0); }
    50% { transform: translateX(4px); }
}

.launch-btn::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, #6366f1 0%, #8b5cf6 50%, #c026d3 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.launch-btn:hover::before {
    opacity: 1;
}

.launch-btn::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
    animation: shimmer 3s linear infinite;
}

@keyframes shimmer {
    0% { transform: translateX(-200%); }
    100% { transform: translateX(200%); }
}

/* ===== PROGRAM PAGE (/our-programs) ===== */
.program-page .main-content {
    overflow-x: hidden;
}

/* —— Referral hero —— */
.referral-hero {
    position: relative;
    z-index: 1;
    padding: 88px 0 64px;
    overflow: hidden;
}

.theme-dark .referral-hero {
    background: linear-gradient(180deg, #0a0512 0%, rgba(26, 11, 46, 0.4) 55%, transparent 100%);
}

.theme-light .referral-hero {
    background: linear-gradient(180deg, #f4f2fb 0%, rgba(255, 255, 255, 0.5) 100%);
}

.referral-hero__bg {
    position: absolute;
    inset: 0;
    pointer-events: none;
    opacity: 0.4;
    background-image:
        linear-gradient(to right, rgba(167, 139, 250, 0.08) 1px, transparent 1px),
        linear-gradient(to bottom, rgba(167, 139, 250, 0.08) 1px, transparent 1px);
    background-size: 36px 36px;
}

.referral-hero__particles {
    position: absolute;
    inset: 0;
    pointer-events: none;
    background-image:
        radial-gradient(circle at 20% 30%, rgba(167, 139, 250, 0.15) 0, transparent 2px),
        radial-gradient(circle at 80% 20%, rgba(99, 102, 241, 0.12) 0, transparent 1.5px),
        radial-gradient(circle at 70% 70%, rgba(192, 132, 252, 0.1) 0, transparent 2px);
}

.referral-hero__inner {
    position: relative;
    text-align: center;
    max-width: 900px;
    margin: 0 auto;
}

.referral-hero__badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 18px;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.28);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    margin-bottom: 24px;
    color: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    background:
        linear-gradient(135deg, rgba(255, 255, 255, 0.14) 0%, rgba(255, 255, 255, 0.02) 100%),
        rgba(120, 80, 200, 0.08);
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.22),
        0 8px 32px rgba(0, 0, 0, 0.2);
}

.theme-light .referral-hero__badge {
    border-color: rgba(99, 102, 241, 0.22);
    color: var(--light-text-primary);
    background:
        linear-gradient(135deg, rgba(255, 255, 255, 0.95) 0%, rgba(255, 255, 255, 0.65) 100%);
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.9),
        0 4px 24px rgba(99, 102, 241, 0.08);
}

.referral-hero__badge-icon {
    opacity: 0.9;
}

.referral-hero__title {
    font-family: var(--font-heading);
    font-size: clamp(28px, 4.5vw, 44px);
    font-weight: 800;
    letter-spacing: 0.03em;
    line-height: 1.15;
    color: #ffffff;
    margin-bottom: 16px;
}

.theme-light .referral-hero__title {
    color: var(--light-text-primary);
}

.referral-hero__subtitle {
    font-size: 16px;
    line-height: 1.65;
    max-width: 720px;
    margin: 0 auto 40px;
    color: rgba(255, 255, 255, 0.62);
}

.theme-light .referral-hero__subtitle {
    color: var(--light-text-secondary);
}

.referral-hero__stats {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 14px;
    max-width: 720px;
    margin: 0 auto;
}

@media (min-width: 768px) {
    .referral-hero__stats {
        grid-template-columns: repeat(4, 1fr);
    }
}

.referral-hero__stat {
    padding: 22px 16px;
    border-radius: 18px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    background:
        linear-gradient(155deg, rgba(255, 255, 255, 0.12) 0%, rgba(255, 255, 255, 0.02) 42%, rgba(99, 102, 241, 0.06) 100%),
        rgba(8, 4, 20, 0.35);
    backdrop-filter: blur(24px) saturate(165%);
    -webkit-backdrop-filter: blur(24px) saturate(165%);
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.18),
        inset 0 -1px 0 rgba(0, 0, 0, 0.12),
        0 12px 40px rgba(0, 0, 0, 0.28),
        0 0 0 1px rgba(167, 139, 250, 0.06);
}

.theme-light .referral-hero__stat {
    background:
        linear-gradient(160deg, rgba(255, 255, 255, 0.9) 0%, rgba(255, 255, 255, 0.55) 100%);
    border-color: rgba(99, 102, 241, 0.14);
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.95),
        0 12px 36px rgba(99, 102, 241, 0.1);
}

.referral-hero__stat-icon {
    width: 40px;
    height: 40px;
    margin: 0 auto 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255, 255, 255, 0.95);
    border-radius: 12px;
    background:
        linear-gradient(145deg, rgba(255, 255, 255, 0.12) 0%, rgba(99, 102, 241, 0.12) 100%);
    border: 1px solid rgba(255, 255, 255, 0.14);
    backdrop-filter: blur(14px) saturate(150%);
    -webkit-backdrop-filter: blur(14px) saturate(150%);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.15);
}

.theme-light .referral-hero__stat-icon {
    color: #4f46e5;
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.95) 0%, rgba(99, 102, 241, 0.08) 100%);
    border-color: rgba(99, 102, 241, 0.15);
}

.referral-hero__stat-value {
    font-family: var(--font-heading);
    font-size: 26px;
    font-weight: 800;
    color: #ffffff;
    line-height: 1.1;
    margin-bottom: 4px;
}

.theme-light .referral-hero__stat-value {
    color: var(--light-text-primary);
}

.referral-hero__stat-label {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.45);
}

.theme-light .referral-hero__stat-label {
    color: var(--light-text-tertiary);
}

/* —— Referral plans grid —— */
.referral-plans-section {
    position: relative;
    z-index: 1;
    padding: 48px 0 72px;
}

.referral-section-heading {
    font-family: var(--font-heading);
    font-size: clamp(24px, 3vw, 32px);
    font-weight: 800;
    text-align: center;
    margin-bottom: 12px;
    color: #fff;
}

.theme-light .referral-section-heading {
    color: var(--light-text-primary);
}

.referral-section-lead {
    text-align: center;
    max-width: 560px;
    margin: 0 auto 40px;
    font-size: 15px;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.5);
}

.theme-light .referral-section-lead {
    color: var(--light-text-secondary);
}

.referral-plans-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 24px;
    align-items: stretch;
}

@media (min-width: 900px) {
    .referral-plans-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.program-plan-stack {
    display: flex;
    flex-direction: column;
    gap: 16px;
    min-width: 0;
    height: 100%;
}

.program-plan-stack > .referral-plan-card {
    flex: 1 1 auto;
    min-height: 0;
}

.program-plan-stack .program-plan-calc--below-card {
    flex-shrink: 0;
    margin-bottom: 0;
}

.referral-plans-empty {
    grid-column: 1 / -1;
    text-align: center;
    padding: 48px 24px;
    border-radius: 16px;
    border: 1px dashed rgba(167, 139, 250, 0.3);
    color: rgba(255, 255, 255, 0.5);
}

.referral-plan-card {
    position: relative;
    padding: 24px 22px 22px;
    border-radius: 22px;
    border: 1px solid rgba(255, 255, 255, 0.14);
    background:
        linear-gradient(160deg, rgba(255, 255, 255, 0.1) 0%, rgba(255, 255, 255, 0.02) 38%, rgba(124, 58, 237, 0.05) 100%),
        rgba(12, 8, 28, 0.42);
    backdrop-filter: blur(28px) saturate(170%);
    -webkit-backdrop-filter: blur(28px) saturate(170%);
    display: flex;
    flex-direction: column;
    transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.16),
        inset 0 -1px 0 rgba(0, 0, 0, 0.18),
        0 16px 48px rgba(0, 0, 0, 0.32);
    overflow: hidden;
}

.referral-plan-card::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 0;
    border-radius: inherit;
    pointer-events: none;
    background: radial-gradient(120% 80% at 10% -20%, rgba(255, 255, 255, 0.12) 0%, transparent 55%);
    opacity: 0.85;
}

.referral-plan-card > * {
    position: relative;
    z-index: 1;
}

.theme-light .referral-plan-card {
    background:
        linear-gradient(165deg, rgba(255, 255, 255, 0.92) 0%, rgba(255, 255, 255, 0.62) 100%);
    border-color: rgba(15, 23, 42, 0.08);
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.98),
        0 16px 44px rgba(15, 23, 42, 0.08);
}

.theme-light .referral-plan-card::before {
    background: radial-gradient(100% 70% at 15% -10%, rgba(99, 102, 241, 0.08) 0%, transparent 50%);
}

.referral-plan-card:hover {
    transform: translateY(-4px);
    border-color: rgba(255, 255, 255, 0.22);
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.2),
        inset 0 -1px 0 rgba(0, 0, 0, 0.12),
        0 24px 56px rgba(0, 0, 0, 0.38),
        0 0 0 1px rgba(167, 139, 250, 0.08);
}

.referral-plan-card--featured {
    border-color: rgba(196, 181, 253, 0.35);
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.18),
        0 0 0 1px rgba(99, 102, 241, 0.2),
        0 20px 56px rgba(99, 102, 241, 0.22),
        0 16px 48px rgba(0, 0, 0, 0.28);
}

.referral-plan-card--featured:hover {
    border-color: rgba(216, 201, 255, 0.45);
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.22),
        0 0 0 1px rgba(99, 102, 241, 0.28),
        0 28px 64px rgba(99, 102, 241, 0.28),
        0 20px 52px rgba(0, 0, 0, 0.32);
}

.referral-plan-card--bronze {
    --tier-accent: #ea580c;
    --tier-accent-soft: rgba(234, 88, 12, 0.2);
}

.referral-plan-card--silver {
    --tier-accent: #94a3b8;
    --tier-accent-soft: rgba(148, 163, 184, 0.2);
}

.referral-plan-card--gold {
    --tier-accent: #eab308;
    --tier-accent-soft: rgba(234, 179, 8, 0.2);
}

.referral-plan-card__top {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    margin-bottom: 16px;
}

.referral-plan-card__icon {
    width: 48px;
    height: 48px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    background:
        linear-gradient(145deg, rgba(255, 255, 255, 0.15) 0%, rgba(99, 102, 241, 0.2) 100%),
        rgba(99, 102, 241, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.16);
    backdrop-filter: blur(12px) saturate(150%);
    -webkit-backdrop-filter: blur(12px) saturate(150%);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

.referral-plan-card__index {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-heading);
    font-size: 14px;
    font-weight: 800;
    color: #fff;
    background: var(--tier-accent);
    box-shadow: 0 0 20px var(--tier-accent-soft);
}

.referral-plan-card__name {
    font-family: var(--font-heading);
    font-size: 20px;
    font-weight: 800;
    color: #fff;
    margin-bottom: 12px;
    line-height: 1.25;
}

.theme-light .referral-plan-card__name {
    color: var(--light-text-primary);
}

.referral-plan-card__term-payout-row {
    display: flex;
    flex-wrap: wrap;
    align-items: stretch;
    justify-content: space-between;
    gap: 10px 14px;
    margin-bottom: 20px;
}

.referral-plan-card__term-payout-row .referral-plan-card__pill {
    display: flex;
    align-items: center;
    margin-bottom: 0;
    min-height: 36px;
    box-sizing: border-box;
}

.referral-plan-card__term-payout-row .referral-plan-card__pill svg {
    display: block;
    flex-shrink: 0;
}

.referral-plan-card__pill {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 14px;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.04em;
    margin-bottom: 20px;
    width: fit-content;
    color: var(--tier-accent);
    border: 1px solid var(--tier-accent-soft);
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.08) 0%, rgba(0, 0, 0, 0.15) 100%);
    backdrop-filter: blur(10px) saturate(140%);
    -webkit-backdrop-filter: blur(10px) saturate(140%);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.theme-light .referral-plan-card__pill {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.85) 0%, rgba(255, 255, 255, 0.45) 100%);
}

.referral-plan-card__rows {
    margin: 0 0 18px;
    padding: 0;
}

.referral-plan-card__row {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    gap: 12px;
    padding: 12px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    font-size: 14px;
}

.referral-plan-card__row:last-child {
    border-bottom: none;
}

.referral-plan-card__row dt {
    margin: 0;
    color: rgba(255, 255, 255, 0.45);
    font-weight: 500;
}

.referral-plan-card__row dd {
    margin: 0;
    font-weight: 700;
    color: #fff;
    text-align: right;
}

.theme-light .referral-plan-card__row dt {
    color: var(--light-text-secondary);
}

.theme-light .referral-plan-card__row dd {
    color: var(--light-text-primary);
}

.referral-plan-card__req {
    padding: 14px 16px;
    border-radius: 14px;
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.06) 0%, rgba(0, 0, 0, 0.12) 100%),
        rgba(0, 0, 0, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.1);
    margin-bottom: 20px;
    flex: 1;
    backdrop-filter: blur(12px) saturate(130%);
    -webkit-backdrop-filter: blur(12px) saturate(130%);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.theme-light .referral-plan-card__req {
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.75) 0%, rgba(255, 255, 255, 0.35) 100%);
    border-color: rgba(15, 23, 42, 0.08);
}

.referral-plan-card__req-title {
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 0.16em;
    color: rgba(255, 255, 255, 0.4);
    margin-bottom: 8px;
}

.theme-light .referral-plan-card__req-title {
    color: var(--light-text-tertiary);
}

.referral-plan-card__req-text {
    margin: 0;
    font-size: 13px;
    line-height: 1.5;
    color: rgba(255, 255, 255, 0.72);
}

.theme-light .referral-plan-card__req-text {
    color: var(--light-text-secondary);
}

.program-plan-calc {
    margin-bottom: 0;
    padding: 14px 16px 12px;
    border-radius: 14px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    background:
        linear-gradient(165deg, rgba(99, 102, 241, 0.1) 0%, rgba(255, 255, 255, 0.04) 50%, rgba(0, 0, 0, 0.12) 100%),
        rgba(8, 6, 22, 0.35);
    backdrop-filter: blur(14px) saturate(140%);
    -webkit-backdrop-filter: blur(14px) saturate(140%);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.program-plan-calc--below-card {
    border-radius: 18px;
    border-color: rgba(167, 139, 250, 0.22);
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.1),
        0 10px 36px rgba(0, 0, 0, 0.22);
}

.theme-light .program-plan-calc--below-card {
    border-color: rgba(99, 102, 241, 0.2);
    box-shadow: 0 12px 32px rgba(99, 102, 241, 0.08);
}

.theme-light .program-plan-calc {
    border-color: rgba(99, 102, 241, 0.16);
    background:
        linear-gradient(165deg, rgba(255, 255, 255, 0.88) 0%, rgba(238, 242, 255, 0.65) 100%);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.95);
}

.program-plan-calc__head {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 10px;
    margin-bottom: 10px;
}

.program-plan-calc__title {
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.5);
}

.theme-light .program-plan-calc__title {
    color: var(--light-text-tertiary);
}

.program-plan-calc__term {
    font-size: 11px;
    font-weight: 700;
    color: rgba(167, 139, 250, 0.95);
    white-space: nowrap;
}

.theme-light .program-plan-calc__term {
    color: #4f46e5;
}

.program-plan-calc__label {
    display: block;
    font-size: 11px;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.45);
    margin-bottom: 6px;
}

.theme-light .program-plan-calc__label {
    color: var(--light-text-secondary);
}

.program-plan-calc__input {
    width: 100%;
    box-sizing: border-box;
    padding: 10px 12px;
    margin-bottom: 12px;
    border-radius: 10px;
    border: 1px solid rgba(255, 255, 255, 0.14);
    background: rgba(0, 0, 0, 0.25);
    color: #fff;
    font-family: var(--font-heading);
    font-size: 15px;
    font-weight: 700;
    letter-spacing: 0.02em;
    outline: none;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.program-plan-calc__input::-webkit-outer-spin-button,
.program-plan-calc__input::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

.program-plan-calc__input[type="number"] {
    -moz-appearance: textfield;
    appearance: textfield;
}

.program-plan-calc__input:focus {
    border-color: rgba(167, 139, 250, 0.55);
    box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.2);
}

.theme-light .program-plan-calc__input {
    border-color: rgba(15, 23, 42, 0.12);
    background: rgba(255, 255, 255, 0.95);
    color: var(--light-text-primary);
}

.program-plan-calc__rows {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.program-plan-calc__row {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 12px;
    font-size: 13px;
    line-height: 1.35;
}

.program-plan-calc__row--total {
    padding-top: 8px;
    margin-top: 2px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.theme-light .program-plan-calc__row--total {
    border-top-color: rgba(15, 23, 42, 0.08);
}

.program-plan-calc__k {
    color: rgba(255, 255, 255, 0.48);
    font-weight: 500;
}

.theme-light .program-plan-calc__k {
    color: var(--light-text-secondary);
}

.program-plan-calc__v {
    font-weight: 800;
    color: #fff;
    text-align: right;
    max-width: 58%;
    word-break: break-word;
}

.theme-light .program-plan-calc__v {
    color: var(--light-text-primary);
}

.program-plan-calc__row--total .program-plan-calc__v {
    color: rgba(196, 181, 253, 0.98);
}

.theme-light .program-plan-calc__row--total .program-plan-calc__v {
    color: #4338ca;
}

.program-plan-calc__hint {
    margin: 10px 0 0;
    font-size: 11px;
    line-height: 1.45;
    color: rgba(255, 255, 255, 0.38);
}

.theme-light .program-plan-calc__hint {
    color: var(--light-text-tertiary);
}

.referral-plan-card__btn {
    display: block;
    text-align: center;
    padding: 14px 20px;
    border-radius: 12px;
    font-family: var(--font-heading);
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    text-decoration: none;
    color: #0f172a;
    background: linear-gradient(135deg, #fff 0%, #e9d5ff 100%);
    border: 1px solid rgba(255, 255, 255, 0.3);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.referral-plan-card__btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 28px rgba(99, 102, 241, 0.35);
}

/* —— Depth chart —— */
.depth-chart-section {
    position: relative;
    z-index: 1;
    padding: 32px 0 72px;
}

.depth-chart-section__glow {
    position: absolute;
    top: 40%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: min(100%, 800px);
    height: 400px;
    background: radial-gradient(ellipse, rgba(99, 102, 241, 0.12) 0%, transparent 65%);
    pointer-events: none;
}

.depth-chart-panel {
    position: relative;
    padding: 32px 20px 28px;
    border-radius: 22px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    background:
        linear-gradient(165deg, rgba(255, 255, 255, 0.08) 0%, rgba(255, 255, 255, 0.02) 45%, rgba(99, 102, 241, 0.04) 100%),
        rgba(10, 8, 22, 0.4);
    backdrop-filter: blur(26px) saturate(165%);
    -webkit-backdrop-filter: blur(26px) saturate(165%);
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.14),
        0 20px 56px rgba(0, 0, 0, 0.32);
}

.theme-light .depth-chart-panel {
    background:
        linear-gradient(170deg, rgba(255, 255, 255, 0.9) 0%, rgba(255, 255, 255, 0.65) 100%);
    border-color: rgba(99, 102, 241, 0.12);
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.95),
        0 16px 40px rgba(15, 23, 42, 0.08);
}

.depth-chart__title {
    font-family: var(--font-heading);
    font-size: clamp(22px, 3vw, 28px);
    font-weight: 800;
    text-align: center;
    color: #fff;
    margin-bottom: 8px;
}

.theme-light .depth-chart__title {
    color: var(--light-text-primary);
}

.depth-chart__subtitle {
    text-align: center;
    font-size: 14px;
    line-height: 1.55;
    color: rgba(255, 255, 255, 0.5);
    max-width: 520px;
    margin: 0 auto 28px;
}

.theme-light .depth-chart__subtitle {
    color: var(--light-text-secondary);
}

.depth-chart__plot {
    display: flex;
    gap: 8px;
    align-items: stretch;
    min-height: 280px;
    padding-bottom: 8px;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

.depth-chart__y-axis {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    flex-shrink: 0;
    width: 28px;
    padding: 8px 0 36px;
    font-size: 11px;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.35);
    text-align: right;
}

.theme-light .depth-chart__y-axis {
    color: var(--light-text-tertiary);
}

.depth-chart__bars {
    display: flex;
    flex: 1;
    align-items: stretch;
    gap: 6px;
    min-width: min(100%, 720px);
    padding-top: 28px;
}

.depth-chart__bar-col {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    min-width: 28px;
    max-width: 44px;
}

.depth-chart__bar-value {
    font-size: 10px;
    font-weight: 800;
    padding: 3px 6px;
    border-radius: 999px;
    border: 1px solid;
    background: rgba(0, 0, 0, 0.35);
    margin-bottom: 6px;
    backdrop-filter: blur(8px);
}

.depth-chart__bar-track {
    flex: 1;
    width: 100%;
    max-width: 32px;
    min-height: 200px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    border-radius: 12px;
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.08) 0%, rgba(255, 255, 255, 0.02) 100%),
        rgba(0, 0, 0, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}

.theme-light .depth-chart__bar-track {
    background: rgba(15, 23, 42, 0.04);
}

.depth-chart__bar-fill {
    width: 100%;
    border-radius: 10px 10px 6px 6px;
    min-height: 6px;
    transition: height 0.6s ease;
}

.depth-chart__bar-rank {
    margin-top: 10px;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 0.06em;
    padding: 4px 8px;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.06);
    color: rgba(255, 255, 255, 0.65);
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.theme-light .depth-chart__bar-rank {
    color: var(--light-text-secondary);
    background: rgba(15, 23, 42, 0.05);
}

.depth-chart__footnote {
    text-align: center;
    font-size: 12px;
    line-height: 1.5;
    color: rgba(255, 255, 255, 0.38);
    margin: 24px 0 0;
    max-width: 640px;
    margin-left: auto;
    margin-right: auto;
}

.theme-light .depth-chart__footnote {
    color: var(--light-text-tertiary);
}

/* —— How it works —— */
.referral-how-section {
    position: relative;
    z-index: 1;
    padding: 24px 0 72px;
}

.referral-how-panel {
    position: relative;
    padding: 40px 24px 36px;
    border-radius: 22px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    background:
        linear-gradient(155deg, rgba(255, 255, 255, 0.09) 0%, rgba(255, 255, 255, 0.02) 40%, rgba(124, 58, 237, 0.05) 100%),
        rgba(8, 6, 18, 0.48);
    backdrop-filter: blur(28px) saturate(165%);
    -webkit-backdrop-filter: blur(28px) saturate(165%);
    overflow: hidden;
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.14),
        0 20px 52px rgba(0, 0, 0, 0.3);
}

.theme-light .referral-how-panel {
    background:
        linear-gradient(165deg, rgba(255, 255, 255, 0.88) 0%, rgba(255, 255, 255, 0.62) 100%);
    border-color: rgba(99, 102, 241, 0.1);
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.95),
        0 16px 40px rgba(99, 102, 241, 0.08);
}

.referral-how-panel__glow {
    position: absolute;
    bottom: -20%;
    left: 50%;
    transform: translateX(-50%);
    width: 70%;
    height: 60%;
    background: radial-gradient(ellipse, rgba(124, 58, 237, 0.2) 0%, transparent 70%);
    pointer-events: none;
}

.referral-how__title {
    position: relative;
    font-family: var(--font-heading);
    font-size: clamp(24px, 3vw, 30px);
    font-weight: 800;
    text-align: center;
    color: #fff;
    margin-bottom: 36px;
}

.theme-light .referral-how__title {
    color: var(--light-text-primary);
}

.referral-how__grid {
    position: relative;
    display: grid;
    grid-template-columns: 1fr;
    gap: 32px;
}

@media (min-width: 900px) {
    .referral-how__grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 28px;
    }
}

.referral-how__step {
    text-align: center;
}

.referral-how__icon-wrap {
    width: 52px;
    height: 52px;
    margin: 0 auto 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 16px;
    color: #fff;
    background:
        linear-gradient(145deg, rgba(255, 255, 255, 0.12) 0%, rgba(99, 102, 241, 0.1) 100%);
    border: 1px solid rgba(255, 255, 255, 0.14);
    backdrop-filter: blur(16px) saturate(150%);
    -webkit-backdrop-filter: blur(16px) saturate(150%);
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.18),
        0 8px 24px rgba(0, 0, 0, 0.15);
}

.referral-how__num {
    display: block;
    font-family: var(--font-heading);
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.2em;
    color: rgba(167, 139, 250, 0.55);
    margin-bottom: 10px;
}

.referral-how__step-title {
    font-family: var(--font-heading);
    font-size: 17px;
    font-weight: 700;
    color: #fff;
    margin-bottom: 12px;
}

.theme-light .referral-how__step-title {
    color: var(--light-text-primary);
}

.referral-how__text {
    font-size: 14px;
    line-height: 1.65;
    color: rgba(255, 255, 255, 0.55);
    margin: 0;
}

.theme-light .referral-how__text {
    color: var(--light-text-secondary);
}

/* —— CTA —— */
.referral-cta-section {
    position: relative;
    z-index: 1;
    padding: 24px 0 100px;
}

.referral-cta-card {
    max-width: 640px;
    margin: 0 auto;
    padding: 40px 28px 36px;
    text-align: center;
    border-radius: 26px;
    border: 1px solid rgba(255, 255, 255, 0.14);
    background:
        linear-gradient(160deg, rgba(255, 255, 255, 0.1) 0%, rgba(255, 255, 255, 0.03) 35%, rgba(168, 85, 247, 0.06) 100%),
        rgba(14, 10, 30, 0.45);
    backdrop-filter: blur(32px) saturate(175%);
    -webkit-backdrop-filter: blur(32px) saturate(175%);
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.16),
        inset 0 -1px 0 rgba(0, 0, 0, 0.12),
        0 24px 64px rgba(0, 0, 0, 0.35),
        0 0 80px rgba(99, 102, 241, 0.08);
}

.theme-light .referral-cta-card {
    background:
        linear-gradient(170deg, rgba(255, 255, 255, 0.92) 0%, rgba(255, 255, 255, 0.68) 100%);
    border-color: rgba(99, 102, 241, 0.12);
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.98),
        0 20px 48px rgba(15, 23, 42, 0.1);
}

.referral-cta-card__icon {
    width: 64px;
    height: 64px;
    margin: 0 auto 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    border-radius: 18px;
    background:
        linear-gradient(145deg, rgba(255, 255, 255, 0.14) 0%, rgba(99, 102, 241, 0.22) 50%, rgba(168, 85, 247, 0.15) 100%);
    border: 1px solid rgba(255, 255, 255, 0.16);
    backdrop-filter: blur(14px) saturate(160%);
    -webkit-backdrop-filter: blur(14px) saturate(160%);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.22);
}

.referral-cta-card__title {
    font-family: var(--font-heading);
    font-size: clamp(22px, 3vw, 28px);
    font-weight: 800;
    color: #fff;
    margin-bottom: 12px;
}

.theme-light .referral-cta-card__title {
    color: var(--light-text-primary);
}

.referral-cta-card__text {
    font-size: 15px;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.55);
    margin: 0 0 28px;
}

.theme-light .referral-cta-card__text {
    color: var(--light-text-secondary);
}

.referral-cta-card__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    justify-content: center;
}

.referral-cta-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 28px;
    border-radius: 12px;
    font-family: var(--font-heading);
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-decoration: none;
    transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.referral-cta-btn--primary {
    background: #ffffff;
    color: #0f172a;
    border: none;
}

.referral-cta-btn--primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(255, 255, 255, 0.2);
}

.referral-cta-btn--ghost {
    background: transparent;
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.25);
}

.referral-cta-btn--ghost:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.4);
}

.theme-light .referral-cta-btn--ghost {
    color: var(--light-text-primary);
    border-color: rgba(15, 23, 42, 0.15);
}

.theme-light .referral-cta-btn--ghost:hover {
    background: rgba(15, 23, 42, 0.05);
}

/* ===== ERROR 404 (wenoso) ===== */
.error-page-wenoso {
    min-height: 100vh;
    min-height: 100dvh;
    overflow-x: hidden;
}

.error-page-wenoso .animated-background {
    z-index: -1;
}

.error-page-wenoso__main {
    position: relative;
    z-index: 1;
    min-height: 100vh;
    min-height: 100dvh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: max(24px, env(safe-area-inset-top, 0px)) max(20px, env(safe-area-inset-right, 0px)) max(32px, env(safe-area-inset-bottom, 0px)) max(20px, env(safe-area-inset-left, 0px));
    box-sizing: border-box;
}

.error-page-wenoso__card {
    width: 100%;
    max-width: 520px;
    text-align: center;
    padding: 40px 28px 36px;
    border-radius: 24px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    background:
        linear-gradient(160deg, rgba(255, 255, 255, 0.1) 0%, rgba(255, 255, 255, 0.02) 40%, rgba(99, 102, 241, 0.06) 100%),
        rgba(10, 8, 20, 0.65);
    backdrop-filter: blur(28px) saturate(165%);
    -webkit-backdrop-filter: blur(28px) saturate(165%);
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.14),
        0 24px 64px rgba(0, 0, 0, 0.45),
        0 0 80px rgba(99, 102, 241, 0.12);
}

.error-page-wenoso__code {
    font-family: var(--font-heading);
    font-size: clamp(72px, 18vw, 120px);
    font-weight: 900;
    line-height: 0.9;
    letter-spacing: 0.06em;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.95) 0%, #a78bfa 45%, #6366f1 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    margin-bottom: 8px;
    user-select: none;
}

.error-page-wenoso__logo {
    display: flex;
    justify-content: center;
    margin-bottom: 28px;
}

.error-page-wenoso__logo .wenoso-brand {
    justify-content: center;
}

.error-page-wenoso__title {
    font-family: var(--font-heading);
    font-size: clamp(20px, 4.5vw, 26px);
    font-weight: 800;
    letter-spacing: 0.04em;
    color: #fff;
    margin: 0 0 14px;
    line-height: 1.25;
}

.error-page-wenoso__title-line {
    display: block;
}

.error-page-wenoso__lead {
    font-size: 16px;
    line-height: 1.6;
    color: var(--dark-text-secondary);
    margin: 0 0 32px;
    max-width: 420px;
    margin-left: auto;
    margin-right: auto;
}

.error-page-wenoso__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    justify-content: center;
    align-items: center;
}

.error-page-wenoso__actions .btn-primary,
.error-page-wenoso__actions .btn-secondary {
    min-width: 160px;
}

.error-page-wenoso__code--419 {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.95) 0%, #fbbf24 40%, #f59e0b 70%, #d97706 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.our-team-page .main-content {
    position: relative;
    overflow-x: hidden;
}

.our-team-page__bg {
    opacity: 0.85;
}

.our-team-page__grid-pattern {
    pointer-events: none;
    position: fixed;
    inset: 0;
    z-index: 0;
    background-image:
        linear-gradient(rgba(139, 92, 246, 0.04) 1px, transparent 1px),
        linear-gradient(90deg, rgba(139, 92, 246, 0.04) 1px, transparent 1px);
    background-size: 48px 48px;
    mask-image: radial-gradient(ellipse 70% 60% at 50% 40%, black 20%, transparent 70%);
}

.our-team-hero {
    position: relative;
    z-index: 1;
    padding: clamp(72px, 12vw, 120px) 0 40px;
    text-align: center;
}

.our-team-hero__inner {
    max-width: 900px;
    margin: 0 auto;
}

.our-team-hero__badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 8px 18px;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: rgba(196, 181, 253, 0.95);
    border: 1px solid rgba(167, 139, 250, 0.35);
    background: rgba(15, 10, 28, 0.55);
    backdrop-filter: blur(12px);
    margin-bottom: 24px;
}

.theme-light .our-team-hero__badge {
    color: #5b21b6;
    border-color: rgba(91, 33, 182, 0.25);
    background: rgba(255, 255, 255, 0.75);
}

.our-team-hero__badge-icon {
    flex-shrink: 0;
    opacity: 0.9;
}

.our-team-hero__title {
    font-family: var(--font-heading);
    font-size: clamp(32px, 5vw, 52px);
    font-weight: 900;
    line-height: 1.1;
    letter-spacing: 0.02em;
    margin: 0 0 20px;
    color: #f8fafc;
}

.theme-light .our-team-hero__title {
    color: #0f172a;
}

.our-team-hero__subtitle {
    font-size: clamp(16px, 2vw, 19px);
    line-height: 1.65;
    margin: 0 auto;
    max-width: 720px;
    color: rgba(203, 213, 225, 0.9);
}

.theme-light .our-team-hero__subtitle {
    color: #475569;
}

.our-team-cards-section {
    position: relative;
    z-index: 1;
    padding: 32px 0 80px;
}

.our-team-cards-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 28px;
}

@media (min-width: 768px) {
    .our-team-cards-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1200px) {
    .our-team-cards-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 32px;
    }
}

.our-team-card {
    display: flex;
    flex-direction: column;
    border-radius: 20px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(12, 10, 22, 0.4);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    box-shadow: 0 24px 48px rgba(0, 0, 0, 0.35);
    transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}

.theme-light .our-team-card {
    background: rgba(255, 255, 255, 0.72);
    border-color: rgba(15, 23, 42, 0.08);
    box-shadow: 0 16px 40px rgba(15, 23, 42, 0.08);
}

.our-team-card:hover {
    transform: translateY(-4px);
    border-color: rgba(167, 139, 250, 0.25);
    box-shadow: 0 32px 64px rgba(99, 102, 241, 0.15);
}

.our-team-card__visual {
    position: relative;
    aspect-ratio: 4 / 5;
    overflow: hidden;
}

.our-team-card__photo {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.our-team-card__visual-shade {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 35%, rgba(8, 6, 18, 0.92) 100%);
    pointer-events: none;
}

.our-team-card__role-icon {
    position: absolute;
    top: 14px;
    right: 14px;
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    color: #fff;
    background: rgba(15, 10, 28, 0.55);
    border: 1px solid rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
}

.our-team-card__nameplate {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    padding: 20px 18px 18px;
    z-index: 1;
}

.our-team-card__name {
    font-family: var(--font-heading);
    font-size: 1.35rem;
    font-weight: 800;
    margin: 0 0 6px;
    color: #fff;
    text-shadow: 0 2px 12px rgba(0, 0, 0, 0.45);
}

.our-team-card__role {
    margin: 0;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: rgba(251, 243, 220, 0.92);
}

.our-team-card__body {
    padding: 22px 20px 20px;
    display: flex;
    flex-direction: column;
    flex: 1;
    gap: 16px;
}

.our-team-card__bio {
    margin: 0;
    font-size: 14px;
    line-height: 1.65;
    color: rgba(203, 213, 225, 0.92);
}

.theme-light .our-team-card__bio {
    color: #475569;
}

.our-team-card__tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.our-team-card__tag {
    font-size: 11px;
    font-weight: 600;
    padding: 6px 12px;
    border-radius: 999px;
    border: 1px solid rgba(167, 139, 250, 0.35);
    color: rgba(221, 214, 254, 0.95);
    background: rgba(99, 102, 241, 0.12);
}

.theme-light .our-team-card__tag {
    color: #5b21b6;
    border-color: rgba(91, 33, 182, 0.2);
    background: rgba(99, 102, 241, 0.08);
}

.our-team-card__social {
    display: flex;
    gap: 10px;
    margin-top: auto;
    padding-top: 4px;
}

.our-team-card__social-btn {
    width: 40px;
    height: 40px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    color: #e2e8f0;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.our-team-card__social-btn:hover {
    color: #fff;
    border-color: rgba(167, 139, 250, 0.45);
    background: rgba(99, 102, 241, 0.2);
}

.theme-light .our-team-card__social-btn {
    color: #475569;
    background: #f1f5f9;
    border-color: #e2e8f0;
}

.our-team-cta {
    position: relative;
    z-index: 1;
    padding: 0 0 100px;
}

.our-team-cta__card {
    max-width: 720px;
    margin: 0 auto;
    padding: clamp(36px, 6vw, 52px) clamp(24px, 4vw, 48px);
    text-align: center;
    border-radius: 24px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    background: rgba(14, 12, 24, 0.55);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    box-shadow: 0 28px 56px rgba(0, 0, 0, 0.4);
}

.theme-light .our-team-cta__card {
    background: rgba(255, 255, 255, 0.78);
    border-color: rgba(15, 23, 42, 0.08);
    box-shadow: 0 20px 48px rgba(15, 23, 42, 0.1);
}

.our-team-cta__icon {
    display: flex;
    justify-content: center;
    margin-bottom: 20px;
    color: rgba(196, 181, 253, 0.95);
}

.theme-light .our-team-cta__icon {
    color: #6366f1;
}

.our-team-cta__title {
    font-family: var(--font-heading);
    font-size: clamp(24px, 3.5vw, 32px);
    font-weight: 800;
    margin: 0 0 14px;
    color: #f8fafc;
}

.theme-light .our-team-cta__title {
    color: #0f172a;
}

.our-team-cta__text {
    font-size: 16px;
    line-height: 1.65;
    margin: 0 0 28px;
    color: rgba(203, 213, 225, 0.9);
}

.theme-light .our-team-cta__text {
    color: #64748b;
}

.our-team-cta__btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 32px;
    border-radius: 999px;
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-decoration: none;
    color: #0f172a;
    background: #f1f5f9;
    border: none;
    transition: transform 0.2s ease, box-shadow 0.2s ease, filter 0.2s ease;
}

.our-team-cta__btn:hover {
    transform: translateY(-2px);
    filter: brightness(1.05);
    box-shadow: 0 12px 28px rgba(241, 245, 249, 0.25);
}

.theme-light .our-team-cta__btn {
    background: #0f172a;
    color: #f8fafc;
}

.theme-light .our-team-cta__btn:hover {
    box-shadow: 0 12px 28px rgba(15, 23, 42, 0.25);
}

/* Program page (our-programs) */
.referral-hero__subtitle--tight {
    margin-top: -8px;
}

.program-tier-static {
    padding-top: 0;
}

.program-tier-grid .program-tier-card {
    display: flex;
    flex-direction: column;
    text-align: left;
}

.program-tier-card__ribbon {
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    margin-bottom: 10px;
    color: rgba(196, 181, 253, 0.95);
}

.theme-light .program-tier-card__ribbon {
    color: rgba(79, 70, 229, 0.9);
}

.program-tier-card__subtitle {
    font-family: var(--font-heading);
    font-size: 1.15rem;
    font-weight: 800;
    line-height: 1.35;
    margin: 0 0 10px;
    color: #fff;
}

.theme-light .program-tier-card__subtitle {
    color: var(--light-text-primary);
}

.program-tier-card__desc {
    font-size: 14px;
    line-height: 1.6;
    margin: 0 0 16px;
    color: rgba(255, 255, 255, 0.68);
}

.theme-light .program-tier-card__desc {
    color: var(--light-text-secondary);
}

.program-tier-card__params-title {
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    margin-bottom: 8px;
    color: rgba(167, 139, 250, 0.85);
}

.program-tier-card__params {
    margin: 0 0 16px;
    padding-left: 1.15rem;
    font-size: 14px;
    line-height: 1.55;
    color: rgba(255, 255, 255, 0.72);
}

.theme-light .program-tier-card__params {
    color: var(--light-text-secondary);
}

.program-tier-card__params li {
    margin-bottom: 6px;
}

.program-tier-card__fit {
    margin: 0;
    font-size: 14px;
    line-height: 1.55;
    padding-top: 12px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    color: rgba(255, 255, 255, 0.78);
}

.theme-light .program-tier-card__fit {
    border-top-color: rgba(15, 23, 42, 0.08);
    color: var(--light-text-secondary);
}

.program-tier-card__fit-label {
    display: block;
    font-weight: 700;
    color: rgba(196, 181, 253, 0.95);
    margin-bottom: 4px;
}

.theme-light .program-tier-card__fit-label {
    color: #4f46e5;
}

.program-live-plans {
    padding-top: 32px;
}

.program-strategy-layer {
    padding: 56px 0 24px;
}

.program-strategy-layer__lead {
    max-width: 52rem;
    margin-left: auto;
    margin-right: auto;
}

.program-strategies-block {
    padding: 24px 0 64px;
}

.program-strategy-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 18px;
}

@media (min-width: 640px) {
    .program-strategy-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .program-strategy-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.program-strategy-item {
    border-radius: 16px;
    padding: 22px 20px;
    border: 1px solid rgba(167, 139, 250, 0.18);
    background: rgba(20, 18, 32, 0.45);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.theme-light .program-strategy-item {
    background: rgba(255, 255, 255, 0.65);
    border-color: rgba(99, 102, 241, 0.12);
}

.program-strategy-item:hover {
    border-color: rgba(167, 139, 250, 0.35);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.2);
}

.program-strategy-item__title {
    font-family: var(--font-heading);
    font-size: 1.05rem;
    font-weight: 800;
    margin: 0 0 8px;
    color: #fff;
}

.theme-light .program-strategy-item__title {
    color: var(--light-text-primary);
}

.program-strategy-item__text {
    margin: 0;
    font-size: 14px;
    line-height: 1.55;
    color: rgba(255, 255, 255, 0.68);
}

.theme-light .program-strategy-item__text {
    color: var(--light-text-secondary);
}

.program-structure-section .referral-how__intro {
    text-align: center;
    max-width: 46rem;
    margin: 0 auto 28px;
}

@media (min-width: 1024px) {
    .program-structure-grid.referral-how__grid {
        grid-template-columns: repeat(4, 1fr);
        gap: 22px;
    }
}

.program-performance-block {
    padding: 32px 0 56px;
}

.program-performance-block .referral-section-lead {
    max-width: 48rem;
    margin-left: auto;
    margin-right: auto;
}