@import url("https://cdn.jsdelivr.net/npm/bootstrap-icons@1.13.1/font/bootstrap-icons.min.css");
@import url("https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700;800;900&family=Inter:wght@300;400;500;600&display=swap");

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

:root {
    /* — Gold — */
    --gold: #c9a84c;
    --gold-light: #e8c96a;
    --gold-dim: #8a6b2a;
    --gold-glow: rgba(201, 168, 76, 0.12);

    /* — Teal/Blue — */
    --teal: #0ea5e9;
    --teal-light: #38bdf8;
    --teal-dim: #0369a1;
    --teal-glow: rgba(14, 165, 233, 0.1);
    --green: #10b981;
    --green-light: #34d399;
    --green-glow: rgba(16, 185, 129, 0.1);

    /* — Backgrounds (lighter navy, not pure black) — */
    --dark: #0b1120;
    --dark-2: #0f1729;
    --dark-3: #141e35;
    --dark-4: #1a2540;
    --dark-5: #1e2b47;
    --card-bg: #131e33;
    --card-hover: #172139;

    /* — Text — */
    --text: #e8edf5;
    --text-dim: #8b96aa;
    --text-muted: #505c72;
    --text-gray: #e8e8e8;

    /* — Borders — */
    --border: rgba(201, 168, 76, 0.18);
    --border-dim: rgba(255, 255, 255, 0.07);
    --border-teal: rgba(14, 165, 233, 0.22);
    --border-green: rgba(16, 185, 129, 0.22);

    /* — Gradients — */
    --grad-teal: linear-gradient(135deg, #0ea5e9, #10b981);
    --grad-gold: linear-gradient(135deg, #c9a84c, #e8c96a);
    --grad-dark: linear-gradient(180deg, #0b1120 0%, #0f1729 100%);

    /* — Fonts — */
    --font-display: "Outfit", sans-serif;
    --font-body: "Inter", sans-serif;

    --radius: 4px;
    --radius-md: 10px;
    --radius-lg: 16px;

    --ticker-h: 37px;
    --navbar-h: 90px;
    --header-total: calc(var(--ticker-h) + var(--navbar-h));
}

html {
    scroll-behavior: smooth;
}
body {
    background: var(--dark);
    color: var(--text);
    font-family: var(--font-body);
    font-size: 15px;
    line-height: 1.65;
    overflow-x: hidden;
    cursor: none;
}
a {
    color: inherit;
    text-decoration: none;
}
button {
    font-family: var(--font-body);
    cursor: none;
    border: none;
    background: none;
}
img {
    max-width: 100%;
    display: block;
}

::-webkit-scrollbar {
    width: 6px;
}
::-webkit-scrollbar-track {
    background: var(--dark);
}
::-webkit-scrollbar-thumb {
    background: var(--teal-dim);
    border-radius: 2px;
}

/* ── CURSOR ── */
#cursor {
    position: fixed;
    width: 8px;
    height: 8px;
    background: var(--teal-light);
    border-radius: 50%;
    pointer-events: none;
    z-index: 9999;
    transform: translate(-50%, -50%);
    mix-blend-mode: screen;
    transition:
        width 0.2s,
        height 0.2s,
        opacity 0.2s;
}
#cursor-ring {
    position: fixed;
    width: 30px;
    height: 30px;
    border: 1.5px solid rgba(14, 165, 233, 0.5);
    border-radius: 50%;
    pointer-events: none;
    z-index: 9998;
    transform: translate(-50%, -50%);
    transition:
        width 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94),
        height 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94),
        border-color 0.3s;
}
.cursor-hover #cursor-ring {
    width: 48px;
    height: 48px;
    border-color: var(--teal-light);
}
.cursor-hover #cursor {
    opacity: 0;
}

/* ══════════════════════════════════════════
   NAVBAR — consolidated
══════════════════════════════════════════ */
.navbar {
    position: fixed;
    /* top: 0; */
    top: 37px;
    left: 0;
    right: 0;
    z-index: 200;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.8rem 3rem;
    border-bottom: 1px solid transparent;
    transition:
        background 0.4s,
        border-color 0.4s,
        padding 0.3s,
        top 0.3s;
}
.navbar.scrolled {
    background: rgba(11, 17, 32, 0.97);
    backdrop-filter: blur(20px);
    border-bottom-color: var(--border-dim);
    padding: 0.7rem 3rem;
}
.nav-logo {
    width: 120px;
    height: 80px;
    flex-shrink: 0;
}

/* ── Desktop nav body ── */
.nav-body {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    flex: 1;
    justify-content: space-between; /* changed from flex-end */
}
.nav-links {
    display: flex;
    align-items: center;
    gap: 2.5rem;
    flex-wrap: nowrap;
    flex: 1; /* added */
    justify-content: center; /* added */
}
.topbar-avatar {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: var(--grad);
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: "Outfit", sans-serif;
    font-size: 0.82rem;
    font-weight: 700;
    color: #fff;
    flex-shrink: 0;
}
.topbar-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
}

/* Plain links */
.nav-links > a {
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--text-dim);
    white-space: nowrap;
    position: relative;
    transition: color 0.2s;
}
.nav-links > a::after {
    content: "";
    position: absolute;
    bottom: -3px;
    left: 0;
    width: 0;
    height: 1.5px;
    background: var(--teal-light);
    transition: width 0.25s;
}
.nav-links > a:hover {
    color: var(--text);
}
.nav-links > a:hover::after,
.nav-links > a.active::after {
    width: 100%;
}
.nav-links > a.active {
    color: var(--teal-light);
}

/* Dropdown trigger */
.nav-dropdown {
    position: relative;
}
.nav-dropdown-trigger {
    display: flex;
    align-items: center;
    gap: 0.3rem;
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--text-dim);
    white-space: nowrap;
    background: none;
    border: none;
    padding: 0;
    font-family: var(--font-body);
    cursor: none;
    transition: color 0.2s;
}
.nav-dropdown-trigger:hover {
    color: var(--text);
}
.nav-dropdown-trigger.active {
    color: var(--teal-light);
}

.nav-arrow {
    font-size: 0.8rem;
    display: inline-block;
    transition: transform 0.25s;
    margin-top: 1px;
}
.nav-dropdown:hover .nav-arrow,
.nav-dropdown.open .nav-arrow {
    transform: rotate(180deg);
}

/* Dropdown menu — desktop */
.nav-dropdown-menu {
    position: absolute;
    top: calc(100% + 0.85rem);
    left: 50%;
    transform: translateX(-50%) translateY(-8px);
    background: var(--dark-3);
    border: 1px solid var(--border-dim);
    border-radius: var(--radius-lg);
    padding: 0.4rem;
    min-width: 230px;
    box-shadow:
        0 24px 60px rgba(0, 0, 0, 0.5),
        0 0 0 1px rgba(14, 165, 233, 0.06);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition:
        opacity 0.22s ease,
        transform 0.22s ease,
        visibility 0.22s;
    z-index: 300;
}
.nav-dropdown-menu::before {
    content: "";
    position: absolute;
    top: -5px;
    left: 50%;
    width: 10px;
    height: 10px;
    background: var(--dark-3);
    border-left: 1px solid var(--border-dim);
    border-top: 1px solid var(--border-dim);
    transform: translateX(-50%) rotate(45deg);
}
.nav-dropdown:hover .nav-dropdown-menu,
.nav-dropdown.open .nav-dropdown-menu {
    opacity: 1;
    visibility: visible;
    pointer-events: all;
    transform: translateX(-50%) translateY(0);
}
.nav-dropdown-menu a {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.65rem 0.85rem;
    border-radius: var(--radius-md);
    color: var(--text-dim);
    transition:
        background 0.15s,
        color 0.15s;
}
.nav-dropdown-menu a:hover {
    background: var(--dark-4);
    color: var(--text);
}
.nav-dropdown-menu a.active {
    background: var(--dark-4);
    color: var(--teal-light);
}
.nav-dropdown-menu a strong {
    display: block;
    font-size: 0.82rem;
    font-weight: 600;
    color: var(--text);
    line-height: 1.2;
    margin-bottom: 0.12rem;
    font-family: var(--font-display);
}
.nav-dropdown-menu a small {
    font-size: 0.7rem;
    color: var(--text-dim);
}
.nav-dropdown-menu a:hover strong {
    color: var(--teal-light);
}
.nav-dropdown-menu a.active strong {
    color: var(--teal-light);
}
.dd-icon {
    width: 30px;
    height: 30px;
    border-radius: 7px;
    background: var(--dark-5);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.9rem;
    flex-shrink: 0;
}

/* Auth buttons */
.nav-auth {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    flex-shrink: 0;
}
.btn-nav-login {
    font-size: 0.8rem;
    font-weight: 500;
    color: var(--text-dim);
    padding: 0.48rem 1rem;
    border: 1px solid var(--border-teal);
    border-radius: var(--radius-md);
    white-space: nowrap;
    transition:
        color 0.2s,
        border-color 0.2s;
}
.btn-nav-login:hover {
    color: var(--text);
    border-color: var(--border-teal);
}
.btn-nav-register {
    font-family: var(--font-display);
    font-size: 0.8rem;
    font-weight: 700;
    padding: 0.48rem 1.2rem;
    border-radius: var(--radius-md);
    background: var(--grad-teal);
    color: #fff;
    white-space: nowrap;
    transition:
        opacity 0.2s,
        transform 0.15s;
}
.btn-nav-register:hover {
    opacity: 0.88;
    transform: translateY(-1px);
}

/* Hamburger — hidden on desktop */
.nav-hamburger {
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 36px;
    height: 36px;
    padding: 4px;
    background: none;
    border: 1px solid var(--border-dim);
    border-radius: var(--radius);
    cursor: none;
    flex-shrink: 0;
    z-index: 201;
}
.nav-hamburger span {
    display: block;
    height: 1.5px;
    background: var(--text);
    border-radius: 2px;
    transition:
        transform 0.3s,
        opacity 0.3s,
        width 0.3s;
    transform-origin: center;
}
.nav-hamburger.open span:nth-child(1) {
    transform: translateY(6.5px) rotate(45deg);
}
.nav-hamburger.open span:nth-child(2) {
    opacity: 0;
    width: 0;
}
.nav-hamburger.open span:nth-child(3) {
    transform: translateY(-6.5px) rotate(-45deg);
}

/* Overlay */
.nav-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.65);
    backdrop-filter: blur(4px);
    z-index: 199;
}
.nav-overlay.open {
    display: block;
}

/* ══════════════════════════════════════════
   NAVBAR MOBILE (≤1024px)
══════════════════════════════════════════ */
@media (max-width: 1024px) {
    .navbar {
        padding: 0.9rem 1.5rem;
    }
    .navbar.scrolled {
        padding: 0.7rem 1.5rem;
    }

    .nav-hamburger {
        display: flex;
    }

    /* Slide-in drawer */
    .nav-body {
        position: fixed;
        top: 0;
        right: -100%;
        width: min(300px, 82vw);
        height: 100dvh;
        background: var(--dark-2);
        border-left: 1px solid var(--border-dim);
        flex-direction: column;
        justify-content: flex-start;
        align-items: stretch;
        padding: 4.5rem 1.25rem 2rem;
        gap: 0;
        overflow-y: auto;
        transition: right 0.35s cubic-bezier(0.4, 0, 0.2, 1);
        z-index: 200;
    }
    .nav-body.open {
        right: 0;
    }

    /* Links stack vertically */
    .nav-links {
        flex-direction: column;
        align-items: stretch;
        gap: 0;
        width: 100%;
    }
    .nav-links > a {
        display: block;
        padding: 0.85rem 0.5rem;
        font-size: 0.9rem;
        border-bottom: 1px solid var(--border-dim);
    }
    .nav-links > a::after {
        display: none;
    }

    /* Dropdowns expand inline */
    .nav-dropdown {
        width: 100%;
        border-bottom: 1px solid var(--border-dim);
    }
    .nav-dropdown-trigger {
        width: 100%;
        justify-content: space-between;
        padding: 0.85rem 0.5rem;
        font-size: 0.9rem;
    }
    .nav-dropdown-menu {
        /* Override desktop absolute positioning */
        position: static !important;
        transform: none !important;
        opacity: 1 !important;
        visibility: visible !important;
        pointer-events: all !important;
        box-shadow: none;
        background: var(--dark-3);
        border: none;
        border-radius: 0;
        padding: 0;
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.35s ease;
    }
    .nav-dropdown-menu::before {
        display: none;
    }
    .nav-dropdown.open .nav-dropdown-menu {
        max-height: 360px;
    }
    .nav-dropdown-menu a {
        padding: 0.65rem 0.85rem 0.65rem 1.5rem;
        border-radius: 0;
    }

    /* Auth at the bottom of drawer */
    .nav-auth {
        flex-direction: column;
        align-items: stretch;
        margin-top: auto;
        padding-top: 1.5rem;
        gap: 0.65rem;
        width: 100%;
    }
    .btn-nav-login,
    .btn-nav-register {
        width: 100%;
        text-align: center;
        padding: 0.8rem;
        font-size: 0.88rem;
        border-radius: var(--radius-md);
        display: block;
    }
}

/* ── BUTTONS ── */
.btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    background: var(--grad-teal);
    color: #fff;
    padding: 0.9rem 2rem;
    border-radius: var(--radius-md);
    font-family: var(--font-display);
    font-size: 0.88rem;
    font-weight: 700;
    transition:
        opacity 0.2s,
        transform 0.15s,
        box-shadow 0.2s;
}
.btn-primary:hover {
    opacity: 0.88;
    transform: translateY(-2px);
    box-shadow: 0 16px 36px rgba(14, 165, 233, 0.28);
}
.btn-gold {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    background: var(--gold);
    color: #000;
    padding: 0.9rem 2rem;
    border-radius: var(--radius-md);
    font-family: var(--font-display);
    font-size: 0.88rem;
    font-weight: 700;
    transition:
        background 0.2s,
        transform 0.15s,
        box-shadow 0.2s;
}
.btn-gold:hover {
    background: var(--gold-light);
    transform: translateY(-2px);
    box-shadow: 0 16px 36px rgba(201, 168, 76, 0.25);
}
.btn-outline {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    color: var(--text-dim);
    font-size: 0.88rem;
    font-weight: 500;
    padding: 0.9rem 1.75rem;
    border-radius: var(--radius-md);
    border: 1px solid var(--border-teal);
    transition:
        color 0.2s,
        border-color 0.2s,
        background 0.2s;
}
.btn-outline:hover {
    color: var(--text);
    border-color: var(--border-teal);
    background: var(--teal-glow);
}
.btn-ghost {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--teal-light);
    font-size: 0.85rem;
    font-weight: 500;
    padding: 0.55rem 1.1rem;
    border-radius: var(--radius);
    border: 1px solid var(--border-teal);
    background: var(--teal-glow);
    transition:
        background 0.2s,
        box-shadow 0.2s;
}
.btn-ghost:hover {
    background: rgba(14, 165, 233, 0.18);
    box-shadow: 0 4px 16px rgba(14, 165, 233, 0.15);
}

/* ── SECTION BASE ── */
section {
    padding: 6rem 4.5rem;
    position: relative;
}
.section-inner {
    max-width: 1240px;
    margin: 0 auto;
}
.section-tag {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--teal-light);
    margin-bottom: 1rem;
    padding: 0.3rem 0.9rem;
    border-radius: 999px;
    background: var(--teal-glow);
    border: 1px solid var(--border-teal);
}
.section-tag.gold {
    color: var(--gold);
    background: var(--gold-glow);
    border-color: var(--border);
}
.section-tag.green {
    color: var(--green-light);
    background: var(--green-glow);
    border-color: var(--border-green);
}
.section-title {
    font-family: var(--font-display);
    font-size: clamp(2rem, 3.8vw, 3rem);
    font-weight: 800;
    letter-spacing: -0.025em;
    line-height: 1.1;
    margin-bottom: 1.1rem;
}
.section-sub {
    font-size: 0.97rem;
    color: var(--text-dim);
    font-weight: 400;
    line-height: 1.85;
    max-width: 540px;
}

/* ── REVEAL ── */
.reveal {
    opacity: 0;
    transform: translateY(24px);
    transition:
        opacity 0.65s ease,
        transform 0.65s ease;
}
.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}
.reveal-left {
    opacity: 0;
    transform: translateX(-24px);
    transition:
        opacity 0.65s ease,
        transform 0.65s ease;
}
.reveal-left.visible {
    opacity: 1;
    transform: translateX(0);
}
.reveal-right {
    opacity: 0;
    transform: translateX(24px);
    transition:
        opacity 0.65s ease,
        transform 0.65s ease;
}
.reveal-right.visible {
    opacity: 1;
    transform: translateX(0);
}

/* ── TICKER ── */
.ticker-bar {
    background: var(--dark-2);
    border-bottom: 1px solid var(--border-dim);
    padding: 0.6rem 0;
    overflow: hidden;
    position: relative;
    z-index: 10;
}

.ticker-bar2 {
    background: var(--dark-5);
    border-bottom: 1px solid var(--border-dim);
    padding: 0.6rem 0;
    overflow: hidden;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 201;
}

.ticker-track {
    display: flex;
    width: max-content;
    animation: ticker-scroll 40s linear infinite;
}
.ticker-track:hover {
    animation-play-state: paused;
}
.ticker-item {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    padding: 0 2rem;
    border-right: 1px solid var(--border-dim);
    white-space: nowrap;
}
.ticker-logo {
    width: 18px;
    height: 18px;
    border-radius: 50%;
    object-fit: contain;
}
.ticker-symbol {
    font-family: var(--font-display);
    font-size: 0.78rem;
    font-weight: 700;
    color: var(--text);
}
.ticker-price {
    font-size: 0.78rem;
    color: var(--text-dim);
    font-variant-numeric: tabular-nums;
}
.ticker-change {
    font-size: 0.72rem;
    font-weight: 600;
}
.up {
    color: var(--green-light);
}
.down {
    color: #f87171;
}
@keyframes ticker-scroll {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-50%);
    }
}

/* ── HERO ── */
.hero {
    min-height: 100vh;
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: 3rem;
    padding: 9rem 4.5rem 5rem;
    position: relative;
    overflow: hidden;
    padding-top: calc(var(--header-total) + 2rem);
}
.hero-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
    background:
        radial-gradient(
            ellipse 55% 60% at 80% 40%,
            rgba(14, 165, 233, 0.08) 0%,
            transparent 60%
        ),
        radial-gradient(
            ellipse 40% 50% at 85% 50%,
            rgba(16, 185, 129, 0.05) 0%,
            transparent 55%
        ),
        radial-gradient(
            ellipse 35% 45% at 10% 70%,
            rgba(201, 168, 76, 0.04) 0%,
            transparent 50%
        ),
        var(--dark);
}
.hero-lines {
    position: absolute;
    inset: 0;
    z-index: 0;
    overflow: hidden;
}
.hero-lines::before {
    content: "";
    position: absolute;
    width: 600px;
    height: 600px;
    border-radius: 50%;
    border: 1px solid rgba(14, 165, 233, 0.06);
    right: -80px;
    top: 50%;
    transform: translateY(-50%);
    animation: ring-spin 25s linear infinite;
}
.hero-lines::after {
    content: "";
    position: absolute;
    width: 420px;
    height: 420px;
    border-radius: 50%;
    border: 1px solid rgba(16, 185, 129, 0.05);
    right: 50px;
    top: 50%;
    transform: translateY(-50%);
    animation: ring-spin 18s linear infinite reverse;
}
@keyframes ring-spin {
    from {
        transform: translateY(-50%) rotate(0);
    }
    to {
        transform: translateY(-50%) rotate(360deg);
    }
}
.hero-grid-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
    background-image:
        linear-gradient(rgba(14, 165, 233, 0.035) 1px, transparent 1px),
        linear-gradient(90deg, rgba(14, 165, 233, 0.035) 1px, transparent 1px);
    background-size: 56px 56px;
    mask-image: radial-gradient(
        ellipse 60% 70% at 80% 40%,
        black 10%,
        transparent 75%
    );
}
.hero-content {
    position: relative;
    z-index: 2;
}
.hero-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--teal-light);
    margin-bottom: 1.75rem;
    padding: 0.35rem 1rem;
    border-radius: 999px;
    background: var(--teal-glow);
    border: 1px solid var(--border-teal);
    opacity: 0;
    animation: fadeUp 0.6s 0.3s forwards;
}
.hero-eyebrow-dot {
    width: 6px;
    height: 6px;
    background: var(--green-light);
    border-radius: 50%;
    animation: pulse 2s infinite;
}
@keyframes pulse {
    0%,
    100% {
        opacity: 1;
        transform: scale(1);
    }
    50% {
        opacity: 0.3;
        transform: scale(0.7);
    }
}
.hero-title {
    font-family: var(--font-display);
    font-size: clamp(2.8rem, 5.5vw, 5rem);
    font-weight: 900;
    line-height: 1;
    letter-spacing: -0.03em;
    margin-bottom: 1.5rem;
    opacity: 0;
    animation: fadeUp 0.8s 0.5s forwards;
}
.hero-title .highlight {
    color: var(--teal-light);
}
.hero-title .outline {
    color: transparent;
    -webkit-text-stroke: 1.5px var(--gold);
}
.hero-sub {
    font-size: 1rem;
    color: var(--text-dim);
    font-weight: 400;
    line-height: 1.85;
    max-width: 480px;
    margin-bottom: 2.5rem;
    opacity: 0;
    animation: fadeUp 0.7s 0.7s forwards;
}
.hero-actions {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    align-items: center;
    opacity: 0;
    animation: fadeUp 0.7s 0.9s forwards;
}

/* Hero right card */
.hero-card {
    position: relative;
    z-index: 2;
    background: var(--card-bg);
    border: 1px solid var(--border-dim);
    border-radius: var(--radius-lg);
    padding: 1.75rem;
    opacity: 0;
    animation: fadeRight 0.8s 0.6s forwards;
    box-shadow:
        0 32px 80px rgba(0, 0, 0, 0.4),
        0 0 0 1px rgba(14, 165, 233, 0.08);
}
@keyframes fadeRight {
    from {
        opacity: 0;
        transform: translateX(30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}
.hero-card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid var(--border-dim);
}
.hero-card-title {
    font-family: var(--font-display);
    font-size: 0.85rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    color: var(--green);
    gap: 0.5rem;
}
.live-dot {
    width: 10px;
    height: 10px;
    background: var(--green-light);
    border-radius: 50%;
    animation: pulse 2s infinite;
}
.hero-card-time {
    font-size: 0.75rem;
    color: var(--text-dim);
    font-variant-numeric: tabular-nums;
}
.hero-feature-list {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    margin-bottom: 1.5rem;
}
.hero-feature {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: var(--dark-3);
    border: 1px solid var(--border-dim);
    border-radius: var(--radius-md);
    padding: 0.85rem 1rem;
    transition: border-color 0.2s;
}
.hero-feature:hover {
    border-color: var(--border-teal);
}
.hero-feature-left {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}
.hero-feature-icon {
    width: 34px;
    height: 34px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.9rem;
}
.hero-feature-name {
    font-family: var(--font-display);
    font-size: 0.85rem;
    font-weight: 600;
}
.hero-feature-sub {
    font-size: 0.72rem;
    color: var(--text-dim);
}
.hero-feature-check {
    color: var(--green-light);
    font-size: 1rem;
}
.hero-card-actions {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}
.hero-card-btn {
    width: 100%;
    padding: 0.9rem;
    border-radius: var(--radius-md);
    font-family: var(--font-display);
    font-size: 0.85rem;
    font-weight: 700;
    text-align: center;
    cursor: none;
    transition: all 0.2s;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}
.hero-card-btn.primary {
    background: var(--grad-teal);
    color: #fff;
}
.hero-card-btn.primary:hover {
    opacity: 0.88;
    box-shadow: 0 8px 24px rgba(14, 165, 233, 0.3);
}
.hero-card-btn.secondary {
    background: var(--dark-4);
    color: var(--text-dim);
    border: 1px solid var(--border-dim);
}
.hero-card-btn.secondary:hover {
    border-color: var(--border-teal);
    color: var(--text);
}
.hero-card-trust {
    text-align: center;
    font-size: 0.72rem;
    color: var(--text-dim);
    margin-top: 0.75rem;
}
@keyframes fadeUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ── STATS STRIP ── */
.stats-strip {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    background: var(--dark-2);
    border-bottom: 1px solid var(--border-dim);
}
.stat-block {
    padding: 2.5rem 2rem;
    border-right: 1px solid var(--border-dim);
    position: relative;
    overflow: hidden;
    opacity: 0;
    transform: translateY(16px);
    transition:
        opacity 0.6s ease,
        transform 0.6s ease,
        background 0.3s;
}
.stat-block:last-child {
    border-right: none;
}
.stat-block::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--grad-teal);
    transition: width 0.4s;
}
.stat-block:hover {
    background: var(--dark-3);
}
.stat-block:hover::after {
    width: 100%;
}
.stat-num {
    font-family: var(--font-display);
    font-size: clamp(1.8rem, 3vw, 2.5rem);
    font-weight: 800;
    letter-spacing: -0.035em;
    color: var(--teal-light);
    line-height: 1;
    margin-bottom: 0.4rem;
}
.stat-label {
    font-size: 0.8rem;
    color: var(--text-dim);
    font-weight: 400;
}

/* ── FEATURE CARDS (Why Trade) ── */
.why-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
    margin-top: 3.5rem;
}
.why-card {
    background: var(--card-bg);
    border: 1px solid var(--border-dim);
    border-radius: var(--radius-lg);
    padding: 2rem 1.75rem;
    text-align: center;
    transition:
        border-color 0.3s,
        transform 0.3s,
        box-shadow 0.3s;
}
.why-card:hover {
    border-color: var(--border-teal);
    transform: translateY(-5px);
    box-shadow: 0 16px 40px rgba(14, 165, 233, 0.1);
}
.why-icon {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    margin: 0 auto 1.25rem;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
}
.why-icon.blue {
    background: linear-gradient(135deg, #1d4ed8, #0ea5e9);
}
.why-icon.green {
    background: linear-gradient(135deg, #065f46, #10b981);
}
.why-icon.teal {
    background: linear-gradient(135deg, #0369a1, #0ea5e9);
}
.why-icon.gold {
    background: linear-gradient(135deg, #92400e, #c9a84c);
}
.why-title {
    font-family: var(--font-display);
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 0.65rem;
}
.why-text {
    font-size: 0.84rem;
    color: var(--text-dim);
    line-height: 1.75;
}

/* ── TRADING PRODUCTS ── */
.products-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.25rem;
    margin-top: 3.5rem;
}
.product-card {
    background: var(--card-bg);
    border: 1px solid var(--border-dim);
    border-radius: var(--radius-lg);
    padding: 1.75rem;
    transition:
        border-color 0.3s,
        transform 0.3s;
    position: relative;
    overflow: hidden;
}
.product-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    opacity: 0;
    transition: opacity 0.3s;
}
.product-card.forex::before {
    background: linear-gradient(90deg, #0ea5e9, #38bdf8);
}
.product-card.shares::before {
    background: linear-gradient(90deg, #10b981, #34d399);
}
.product-card.energy::before {
    background: linear-gradient(90deg, #f59e0b, #fcd34d);
}
.product-card.indices::before {
    background: linear-gradient(90deg, #8b5cf6, #a78bfa);
}
.product-card:hover {
    transform: translateY(-4px);
}
.product-card:hover::before {
    opacity: 1;
}
.product-card:hover.forex {
    border-color: var(--border-teal);
}
.product-card:hover.shares {
    border-color: var(--border-green);
}
.product-icon {
    width: 44px;
    height: 44px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    margin-bottom: 1.25rem;
}
.product-icon.blue {
    background: rgba(14, 165, 233, 0.12);
}
.product-icon.green {
    background: rgba(16, 185, 129, 0.12);
}
.product-icon.gold {
    background: rgba(201, 168, 76, 0.12);
}
.product-icon.purple {
    background: rgba(139, 92, 246, 0.12);
}
.product-title {
    font-family: var(--font-display);
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 0.65rem;
}
.product-text {
    font-size: 0.83rem;
    color: var(--text-dim);
    line-height: 1.7;
    margin-bottom: 1.1rem;
}
.product-link {
    font-size: 0.82rem;
    font-weight: 600;
    transition: gap 0.2s;
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
}
.product-link.blue {
    color: var(--teal-light);
}
.product-link.green {
    color: var(--green-light);
}
.product-link.gold {
    color: var(--gold);
}
.product-link.purple {
    color: #a78bfa;
}
.product-link:hover {
    gap: 0.7rem;
}

/* ── CRYPTO CARDS ── */
.crypto-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.25rem;
    margin-top: 3.5rem;
}
.crypto-card {
    background: var(--card-bg);
    border: 1px solid var(--border-dim);
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition:
        transform 0.3s,
        box-shadow 0.3s;
}
.crypto-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.3);
}
.crypto-card-header {
    height: 100px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.2rem;
}
.crypto-card-body {
    padding: 1.25rem;
}
.crypto-name {
    font-family: var(--font-display);
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 0.4rem;
}
.crypto-desc {
    font-size: 0.78rem;
    color: var(--text-dim);
    line-height: 1.6;
    margin-bottom: 1rem;
}
.crypto-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.crypto-trade {
    font-size: 0.78rem;
    font-weight: 600;
    color: var(--teal-light);
    display: flex;
    align-items: center;
    gap: 0.3rem;
}
.crypto-pair {
    font-size: 0.7rem;
    background: var(--dark-4);
    padding: 0.2rem 0.6rem;
    border-radius: 999px;
    color: var(--text-dim);
}

/* ── MARKET ANALYSIS (TradingView) ── */
.analysis-section {
    background: var(--dark-2);
}
.analysis-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2.5rem;
    margin-top: 3.5rem;
    align-items: start;
}
.tv-widget-wrap {
    background: var(--card-bg);
    border: 1px solid var(--border-dim);
    border-radius: var(--radius-lg);
    overflow: hidden;
}
.expert-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}
.expert-item {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
    background: var(--card-bg);
    border: 1px solid var(--border-dim);
    border-radius: var(--radius-md);
    padding: 1.25rem;
    transition: border-color 0.2s;
}
.expert-item:hover {
    border-color: var(--border-teal);
}
.expert-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.9rem;
}
.expert-icon.blue {
    background: rgba(14, 165, 233, 0.15);
}
.expert-icon.green {
    background: rgba(16, 185, 129, 0.15);
}
.expert-icon.purple {
    background: rgba(139, 92, 246, 0.15);
}
.expert-title {
    font-family: var(--font-display);
    font-size: 0.92rem;
    font-weight: 700;
    margin-bottom: 0.35rem;
}
.expert-title span {
    color: var(--teal-light);
}
.expert-text {
    font-size: 0.82rem;
    color: var(--text-dim);
    line-height: 1.65;
    margin-bottom: 0.75rem;
}

/* ── SPREADS / FOREX MATRIX ── */
.spreads-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
    margin-top: 3.5rem;
}
.spread-list {
    display: flex;
    flex-direction: column;
    gap: 0.85rem;
}
.spread-item {
    display: flex;
    align-items: center;
    gap: 0.85rem;
}
.spread-dot {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: var(--grad-teal);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}
.spread-dot svg {
    width: 10px;
    height: 10px;
    color: #fff;
}
.spread-text {
    font-size: 0.9rem;
    color: var(--text-dim);
}
.spread-text strong {
    color: var(--text);
}
.forex-matrix {
    background: var(--card-bg);
    border: 1px solid var(--border-dim);
    border-radius: var(--radius-lg);
    overflow: hidden;
}
.forex-matrix-title {
    padding: 1.25rem 1.5rem;
    border-bottom: 1px solid var(--border-dim);
    font-family: var(--font-display);
    font-size: 0.95rem;
    font-weight: 700;
}
.forex-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.78rem;
    font-variant-numeric: tabular-nums;
}
.forex-table th {
    padding: 0.7rem 1rem;
    text-align: center;
    background: var(--dark-4);
    color: var(--text-muted);
    font-weight: 500;
    font-size: 0.7rem;
}
.forex-table th:first-child {
    text-align: left;
}
.forex-table td {
    padding: 0.65rem 1rem;
    text-align: center;
    border-top: 1px solid rgba(255, 255, 255, 0.03);
    color: var(--text-dim);
    transition: background 0.2s;
}
.forex-table td:first-child {
    text-align: left;
    font-weight: 600;
    color: var(--text);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}
.forex-table tr:hover td {
    background: var(--dark-3);
}
.forex-table td.empty {
    background: var(--dark-4);
}

/* ── COPY TRADING ── */
.copy-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.25rem;
    margin-top: 3.5rem;
}
.copy-card {
    background: var(--card-bg);
    border: 1px solid var(--border-dim);
    border-radius: var(--radius-lg);
    padding: 1.75rem;
    transition:
        border-color 0.3s,
        transform 0.3s;
}
.copy-card.active {
    border-color: var(--green);
    box-shadow: 0 0 0 1px rgba(16, 185, 129, 0.15);
}
.copy-card:hover {
    transform: translateY(-4px);
    border-color: var(--border-teal);
}
.copy-icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    margin-bottom: 1.25rem;
}
.copy-title {
    font-family: var(--font-display);
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 0.65rem;
}
.copy-text {
    font-size: 0.84rem;
    color: var(--text-dim);
    line-height: 1.7;
}

/* ── CUSTOM PLAN BANNER ── */
.custom-plan-banner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: var(--dark-3);
    border: 1px solid var(--border-teal);
    border-radius: var(--radius-lg);
    padding: 2rem 2.5rem;
    margin-top: 3rem;
    gap: 2rem;
    flex-wrap: wrap;
}
.custom-plan-title {
    font-family: var(--font-display);
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 0.4rem;
}
.custom-plan-sub {
    font-size: 0.88rem;
    color: var(--text-dim);
    max-width: 500px;
}

/* ── EDUCATION ── */
.edu-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3.5rem;
    align-items: center;
}
.edu-video {
    border-radius: var(--radius-lg);
    overflow: hidden;
    border: 1px solid var(--border-dim);
    background: var(--card-bg);
    aspect-ratio: 16/9;
    position: relative;
}
.edu-content-card {
    background: var(--card-bg);
    border: 1px solid var(--border-teal);
    border-radius: var(--radius-md);
    padding: 1.5rem;
    margin-top: 1.5rem;
}
.edu-content-title {
    font-family: var(--font-display);
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 0.65rem;
}
.edu-content-text {
    font-size: 0.85rem;
    color: var(--text-dim);
    line-height: 1.75;
}
.edu-actions {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    margin-top: 1.5rem;
}

/* ── PLANS ── */
.plans-section {
    background: var(--dark-2);
}
.plans-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    margin-top: 3.5rem;
}
.plan-card {
    background: var(--card-bg);
    border: 1px solid var(--border-dim);
    border-radius: var(--radius-lg);
    padding: 2.25rem;
    position: relative;
    overflow: hidden;
    transition:
        border-color 0.3s,
        transform 0.3s,
        box-shadow 0.3s;
}
.plan-card:hover {
    transform: translateY(-5px);
    border-color: var(--border-teal);
    box-shadow: 0 20px 50px rgba(14, 165, 233, 0.1);
}
.plan-card.featured {
    border-color: var(--gold-dim);
    background: linear-gradient(
        160deg,
        rgba(201, 168, 76, 0.05) 0%,
        var(--card-bg) 40%
    );
}
.plan-card.featured:hover {
    border-color: var(--gold);
    box-shadow: 0 20px 50px rgba(201, 168, 76, 0.12);
}
.plan-badge {
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    background: var(--gold);
    color: #000;
    font-size: 0.62rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    padding: 0.3rem 0.8rem;
    border-radius: 999px;
}
.plan-name {
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--teal-light);
    margin-bottom: 0.75rem;
}
.plan-card.featured .plan-name {
    color: var(--gold);
}
.plan-roi {
    font-family: var(--font-display);
    font-size: 3.5rem;
    font-weight: 800;
    letter-spacing: -0.05em;
    line-height: 1;
}
.plan-roi sup {
    font-size: 1.4rem;
    color: var(--text-dim);
}
.plan-period {
    font-size: 0.78rem;
    color: var(--text-muted);
    margin-top: 0.25rem;
    margin-bottom: 1.5rem;
}
.plan-divider {
    height: 1px;
    background: var(--border-dim);
    margin: 1.25rem 0;
}
.plan-row {
    display: flex;
    justify-content: space-between;
    font-size: 0.84rem;
    color: var(--text-dim);
    margin-bottom: 0.7rem;
}
.plan-row strong {
    color: var(--text);
    font-weight: 500;
}
.plan-btn {
    width: 100%;
    margin-top: 1.5rem;
    padding: 0.85rem;
    border-radius: var(--radius-md);
    cursor: none;
    font-family: var(--font-display);
    font-size: 0.82rem;
    font-weight: 700;
    border: 1px solid var(--border-teal);
    color: var(--teal-light);
    background: transparent;
    transition:
        background 0.2s,
        color 0.2s,
        border-color 0.2s,
        box-shadow 0.2s;
}
.plan-card.featured .plan-btn {
    background: var(--gold);
    border-color: var(--gold);
    color: #000;
}
.plan-btn:hover {
    background: var(--teal-light);
    border-color: var(--teal-light);
    color: #000;
    box-shadow: 0 6px 20px rgba(14, 165, 233, 0.25);
}
.plan-card.featured .plan-btn:hover {
    background: var(--gold-light);
    border-color: var(--gold-light);
}

/* ── TESTIMONIALS ── */
.testi-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    margin-top: 3.5rem;
}
.testi-card {
    background: var(--card-bg);
    border: 1px solid var(--border-dim);
    border-radius: var(--radius-lg);
    padding: 1.75rem;
    transition: border-color 0.3s;
}
.testi-card:hover {
    border-color: var(--border-teal);
}
.testi-stars {
    color: var(--gold);
    font-size: 0.9rem;
    margin-bottom: 1rem;
    letter-spacing: 2px;
}
.testi-text {
    font-size: 0.875rem;
    color: var(--text-dim);
    line-height: 1.8;
    margin-bottom: 1.5rem;
    font-style: italic;
}
.testi-author {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}
.testi-avatar {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: var(--grad-teal);
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-display);
    font-size: 0.72rem;
    font-weight: 700;
    color: #fff;
}
.testi-name {
    font-size: 0.85rem;
    font-weight: 600;
}
.testi-loc {
    font-size: 0.74rem;
    color: var(--text-muted);
}

/* ── HOW IT WORKS ── */
.how-steps {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    margin-top: 4rem;
    position: relative;
}
.how-steps::before {
    content: "";
    position: absolute;
    top: 27px;
    left: calc(12.5% + 27px);
    right: calc(12.5% + 27px);
    height: 1px;
    background: linear-gradient(
        90deg,
        transparent,
        var(--teal-dim),
        var(--green),
        var(--teal-dim),
        transparent
    );
}
.step {
    text-align: center;
}
.step-circle {
    width: 54px;
    height: 54px;
    border-radius: 50%;
    margin: 0 auto 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-display);
    font-size: 0.9rem;
    font-weight: 800;
    border: 1px solid var(--border-teal);
    color: var(--teal-light);
    background: var(--dark-2);
    position: relative;
    z-index: 1;
    transition:
        background 0.3s,
        border-color 0.3s,
        box-shadow 0.3s;
}
.step:hover .step-circle {
    background: var(--teal-glow);
    border-color: var(--teal-light);
    box-shadow: 0 0 20px rgba(14, 165, 233, 0.2);
}
.step-title {
    font-family: var(--font-display);
    font-size: 0.95rem;
    font-weight: 700;
    margin-bottom: 0.6rem;
}
.step-text {
    font-size: 0.83rem;
    color: var(--text-dim);
    line-height: 1.75;
}

/* ── FAQ ── */
.faq-item {
    border-bottom: 1px solid var(--border-dim);
}
.faq-question {
    width: 100%;
    text-align: left;
    padding: 1.4rem 0;
    font-family: var(--font-display);
    font-size: 0.92rem;
    font-weight: 600;
    color: var(--text);
    cursor: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: color 0.2s;
}
.faq-question:hover {
    color: var(--teal-light);
}
.faq-icon {
    width: 22px;
    height: 22px;
    border: 1px solid var(--border-dim);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.75rem;
    color: var(--text-muted);
    transition:
        transform 0.3s,
        border-color 0.3s,
        color 0.3s;
    flex-shrink: 0;
    margin-left: 1rem;
}
.faq-item.open .faq-icon {
    transform: rotate(45deg);
    border-color: var(--teal-light);
    color: var(--teal-light);
}
.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition:
        max-height 0.4s ease,
        padding 0.3s;
    font-size: 0.875rem;
    color: var(--text-dim);
    line-height: 1.8;
}
.faq-item.open .faq-answer {
    max-height: 200px;
    padding-bottom: 1.5rem;
}

/* ── CTA ── */
.cta-section {
    text-align: center;
    border-top: 1px solid var(--border-dim);
    border-bottom: 1px solid var(--border-dim);
    background: radial-gradient(
        ellipse 70% 60% at 50% 50%,
        rgba(14, 165, 233, 0.07) 0%,
        rgba(16, 185, 129, 0.04) 40%,
        transparent 65%
    );
}
.cta-btns {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

/* ── LIVE TRADING TOAST ── */
#toast-container {
    position: fixed;
    bottom: 5rem;
    right: 1.5rem;
    z-index: 1000;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    pointer-events: none;
}
.trade-toast {
    display: flex;
    align-items: flex-start;
    gap: 0.85rem;
    background: var(--dark-3);
    border: 1px solid var(--border-teal);
    border-radius: var(--radius-md);
    padding: 0.85rem 1.1rem;
    min-width: 300px;
    max-width: 340px;
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.4);
    pointer-events: all;
    animation: toastIn 0.4s cubic-bezier(0.34, 1.56, 0.64, 1) forwards;
}
.trade-toast.exit {
    animation: toastOut 0.3s ease forwards;
}
@keyframes toastIn {
    from {
        opacity: 0;
        transform: translateX(40px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}
@keyframes toastOut {
    to {
        opacity: 0;
        transform: translateX(40px);
    }
}
.toast-icon {
    width: 34px;
    height: 34px;
    border-radius: 8px;
    background: var(--grad-teal);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.85rem;
    flex-shrink: 0;
}
.toast-header {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.2rem;
}
.toast-title {
    font-family: var(--font-display);
    font-size: 0.8rem;
    font-weight: 700;
}
.toast-time {
    font-size: 0.68rem;
    color: var(--text-muted);
    margin-left: auto;
}
.toast-body {
    font-size: 0.8rem;
    color: var(--text-dim);
    line-height: 1.5;
}
.toast-body .city {
    color: var(--teal-light);
    font-weight: 600;
}
.toast-body .amount {
    color: var(--green-light);
    font-weight: 700;
}
.toast-close {
    position: absolute;
    top: 0.6rem;
    right: 0.75rem;
    font-size: 0.75rem;
    color: var(--text-muted);
    cursor: pointer;
}
.trade-toast {
    position: relative;
}

/* ── CONTACT FORM ── */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 5rem;
    align-items: start;
}
.contact-info-item {
    display: flex;
    gap: 1rem;
    margin-bottom: 1.75rem;
}
.contact-icon {
    width: 42px;
    height: 42px;
    border: 1px solid var(--border-teal);
    border-radius: var(--radius-md);
    background: var(--teal-glow);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    flex-shrink: 0;
}
.contact-label {
    font-size: 0.7rem;
    color: var(--text-muted);
    letter-spacing: 0.08em;
    text-transform: uppercase;
    margin-bottom: 0.2rem;
}
.contact-val {
    font-size: 0.9rem;
    color: var(--text);
}
.form-group {
    margin-bottom: 1.1rem;
}
.form-label {
    display: block;
    font-size: 0.75rem;
    color: var(--text-muted);
    letter-spacing: 0.06em;
    text-transform: uppercase;
    margin-bottom: 0.45rem;
}
.form-input,
.form-textarea,
.form-select {
    width: 100%;
    padding: 0.8rem 1rem;
    background: var(--dark-3);
    border: 1px solid var(--border-dim);
    border-radius: var(--radius-md);
    color: var(--text);
    font-family: var(--font-body);
    font-size: 0.88rem;
    transition:
        border-color 0.2s,
        box-shadow 0.2s;
    outline: none;
}
.form-input:focus,
.form-textarea:focus,
.form-select:focus {
    border-color: var(--teal-light);
    box-shadow: 0 0 0 3px rgba(14, 165, 233, 0.1);
}
.form-input::placeholder,
.form-textarea::placeholder {
    color: var(--text-muted);
}
.form-textarea {
    resize: vertical;
    min-height: 130px;
}

/* ── FOOTER ── */
.footer {
    background: var(--dark-2);
    border-top: 1px solid var(--border-dim);
    padding: 4rem 4.5rem 2.5rem;
}
.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr 1fr;
    gap: 4rem;
    margin-bottom: 4rem;
}
.footer-logo {
    height: 100px;
    width: 160px;
}
.footer-tagline {
    font-size: 0.83rem;
    color: var(--text-dim);
    line-height: 1.75;
    max-width: 280px;
    margin-bottom: 1.75rem;
}
.footer-social {
    display: flex;
    gap: 0.65rem;
}
.social-btn {
    width: 34px;
    height: 34px;
    border: 1px solid var(--border-dim);
    border-radius: var(--radius);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
    color: var(--text-gray);
    transition:
        border-color 0.2s,
        color 0.2s,
        background 0.2s;
}
.social-btn:hover {
    border-color: var(--teal-light);
    color: var(--teal-light);
    background: var(--teal-glow);
}
.footer-col h4 {
    font-family: var(--font-display);
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--text-dim);
    margin-bottom: 1.4rem;
}
.footer-col a {
    display: block;
    font-size: 0.83rem;
    color: var(--text-dim);
    margin-bottom: 0.8rem;
    transition:
        color 0.2s,
        padding-left 0.2s;
}
.footer-col a:hover {
    color: var(--teal-light);
    padding-left: 3px;
}
.footer-bottom {
    border-top: 1px solid var(--border-dim);
    padding-top: 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 2rem;
}
.footer-copy {
    font-size: 0.77rem;
    color: var(--text-dim);
}
.footer-disclaimer {
    font-size: 0.71rem;
    color: var(--text-dim);
    max-width: 520px;
    text-align: right;
    line-height: 1.6;
}

/* ── PAGE HERO ── */
.page-hero {
    padding-top: calc(var(--header-total) + 2rem);
    padding: 9.5rem 4.5rem 5rem;
    background: linear-gradient(
        180deg,
        rgba(14, 165, 233, 0.05) 0%,
        transparent 100%
    );
    border-bottom: 1px solid var(--border-dim);
    text-align: center;
}
.page-hero .section-title {
    font-size: clamp(2.5rem, 5vw, 4rem);
}
.page-hero .section-sub {
    margin: 0 auto;
    text-align: center;
}

/* ── UTILITY ── */
.text-teal {
    color: var(--teal-light);
}
.text-gold {
    color: var(--gold);
}
.text-green {
    color: var(--green-light);
}
.text-center {
    text-align: center;
}
.badge {
    display: inline-block;
    padding: 0.22rem 0.7rem;
    border-radius: 999px;
    font-size: 0.68rem;
    font-weight: 600;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}
.badge-teal {
    background: var(--teal-glow);
    color: var(--teal-light);
    border: 1px solid var(--border-teal);
}
.badge-gold {
    background: var(--gold-glow);
    color: var(--gold);
    border: 1px solid var(--border);
}
.badge-green {
    background: var(--green-glow);
    color: var(--green-light);
    border: 1px solid var(--border-green);
}

@media (max-width: 1024px) {
    section {
        padding: 5rem 2rem;
    }
    .hero {
        grid-template-columns: 1fr;
        padding: 7rem 2rem 4rem;
    }
    .hero-card {
        display: none;
    }
    .stats-strip {
        grid-template-columns: repeat(2, 1fr);
    }
    .why-grid,
    .products-grid,
    .crypto-grid,
    .copy-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .analysis-grid,
    .spreads-grid,
    .edu-grid {
        grid-template-columns: 1fr;
    }
    .plans-grid {
        grid-template-columns: 1fr;
        max-width: 420px;
        margin-left: auto;
        margin-right: auto;
    }
    .testi-grid {
        grid-template-columns: 1fr;
    }
    .how-steps {
        grid-template-columns: repeat(2, 1fr);
    }
    .how-steps::before {
        display: none;
    }
    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 2.5rem;
    }
    .footer {
        padding: 4rem 2rem 2rem;
    }
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
}

@media (max-width: 768px) {
    .why-grid {
        grid-template-columns: 1fr;
    }

    .products-grid {
        grid-template-columns: 1fr;
    }

    .crypto-grid {
        grid-template-columns: 1fr;
    }

    .copy-grid {
        grid-template-columns: 1fr;
    }
}

/* ══════════════════════════════════════════
   SMALL SCREEN FIXES (≤480px)
══════════════════════════════════════════ */
@media (max-width: 480px) {
    /* General section spacing */
    section {
        padding: 3.5rem 1.25rem;
    }
    .page-hero {
        padding: 7rem 1.25rem 3rem;
    }

    /* Typography scale down */
    .section-title {
        font-size: clamp(1.6rem, 7vw, 2.2rem);
    }
    .section-sub {
        font-size: 0.88rem;
    }

    /* Hero */
    .hero {
        padding: 6rem 1.25rem 3rem;
    }
    .hero-title {
        font-size: clamp(2rem, 9vw, 2.8rem);
    }
    .hero-sub {
        font-size: 0.9rem;
    }
    .hero-actions {
        flex-direction: column;
        align-items: stretch;
    }
    .hero-actions .btn-primary,
    .hero-actions .btn-outline {
        width: 100%;
        justify-content: center;
    }
    .hero-trust {
        flex-wrap: wrap;
        gap: 0.75rem;
    }

    /* Stats — single column on tiny screens */
    .stats-strip {
        grid-template-columns: 1fr 1fr;
    }
    .stat-block {
        padding: 1.5rem 1rem;
    }
    .stat-num {
        font-size: 1.6rem;
    }

    /* Cards — single column */
    .why-grid,
    .products-grid,
    .crypto-grid,
    .copy-grid,
    .testi-grid,
    .plans-grid {
        grid-template-columns: 1fr;
    }

    /* Plans */
    .plans-grid {
        max-width: 100%;
    }
    .plan-roi {
        font-size: 2.8rem;
    }

    /* How steps — single column */
    .how-steps {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    .how-steps::before {
        display: none;
    }

    /* About page grid fix */
    .analysis-grid,
    .spreads-grid,
    .edu-grid,
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    /* Stats cards on about page */
    .stat-block[style] {
        padding: 1.25rem 1rem;
    }

    /* Footer */
    .footer {
        padding: 3rem 1.25rem 2rem;
    }
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    .footer-bottom {
        flex-direction: column;
        gap: 1rem;
    }
    .footer-disclaimer {
        text-align: left;
        max-width: 100%;
    }

    /* Navbar padding */
    .navbar {
        padding: 0.75rem 1rem;
    }
    .navbar.scrolled {
        padding: 0.6rem 1rem;
    }
    .nav-logo {
        width: 110px;
        height: 55px;
    }

    /* Custom plan banner */
    .custom-plan-banner {
        flex-direction: column;
        padding: 1.5rem;
    }
    .custom-plan-banner .btn-primary {
        width: 100%;
        justify-content: center;
    }

    /* Forex matrix — scrollable on small screens */
    .forex-matrix {
        overflow-x: auto;
    }
    .forex-table {
        min-width: 420px;
    }

    /* Buttons full width in CTA */
    .cta-btns {
        flex-direction: column;
        align-items: stretch;
    }
    .cta-btns .btn-primary,
    .cta-btns .btn-outline {
        width: 100%;
        justify-content: center;
    }

    /* FAQ */
    .faq-question {
        font-size: 0.85rem;
    }
}

/* ══════════════════════════════════════════
   MEDIUM SCREEN FIXES (481px–768px)
══════════════════════════════════════════ */
@media (min-width: 481px) and (max-width: 768px) {
    section {
        padding: 4rem 1.5rem;
    }
    .page-hero {
        padding: 7.5rem 1.5rem 3.5rem;
    }
    .hero {
        padding: 6.5rem 1.5rem 3.5rem;
    }
    .stats-strip {
        grid-template-columns: repeat(2, 1fr);
    }
    .why-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .products-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .crypto-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .copy-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .how-steps {
        grid-template-columns: repeat(2, 1fr);
    }
    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 2rem;
    }
    .footer-bottom {
        flex-direction: column;
        gap: 1rem;
    }
    .footer-disclaimer {
        text-align: left;
    }
}

/* ══════════════════════════════════════
   MARKETS PAGE — extra styles
   Add these to the bottom of app.css
══════════════════════════════════════ */

/* Hero layout */
.markets-hero-wrap {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: 3rem;
    padding: 8rem 4.5rem 5rem;
    position: relative;
    overflow: hidden;
    background: var(--dark);
    min-height: 100vh;
}
.markets-hero-bg {
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: 0;
    background:
        radial-gradient(
            ellipse 55% 60% at 80% 40%,
            rgba(14, 165, 233, 0.07) 0%,
            transparent 60%
        ),
        radial-gradient(
            ellipse 35% 45% at 10% 70%,
            rgba(16, 185, 129, 0.04) 0%,
            transparent 50%
        );
}

/* Hero tab buttons */
.hero-tab-btn {
    padding: 0.42rem 1rem;
    border-radius: 999px;
    font-size: 0.78rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
    font-family: var(--font-body);
    border: 1px solid var(--border-dim);
    background: transparent;
    color: var(--text-dim);
}
.hero-tab-active {
    background: var(--teal-light) !important;
    color: #000 !important;
    border-color: var(--teal-light) !important;
}
.hero-tab-inactive {
    background: transparent;
    color: var(--text-dim);
    border-color: var(--border-dim);
}
.hero-tab-btn:hover:not(.hero-tab-active) {
    color: var(--text);
    border-color: var(--border-teal);
}

/* Hero pair cards */
.hero-cards-group {
    display: flex;
    flex-direction: column;
    gap: 0.85rem;
}
.hero-pair-card {
    background: var(--card-bg);
    border: 1px solid var(--border-dim);
    border-radius: var(--radius-lg);
    padding: 1.1rem 1.35rem;
    display: flex;
    align-items: center;
    gap: 1rem;
    transition:
        border-color 0.2s,
        box-shadow 0.2s;
}
.hero-pair-card:hover {
    border-color: var(--border-teal);
    box-shadow: 0 6px 24px rgba(14, 165, 233, 0.1);
}
.hero-pair-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.78rem;
    font-weight: 700;
    color: #fff;
    overflow: hidden;
}

/* Category tab buttons (markets table) */
.cat-tab-btn {
    padding: 0.45rem 1.1rem;
    border-radius: 999px;
    font-size: 0.78rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
    font-family: var(--font-body);
    border: 1px solid var(--border-dim);
    background: transparent;
    color: var(--text-dim);
}
.cat-tab-active {
    background: var(--teal-light) !important;
    color: #000 !important;
    border-color: var(--teal-light) !important;
}
.cat-tab-inactive {
    background: transparent;
    color: var(--text-dim);
    border-color: var(--border-dim);
}
.cat-tab-btn:hover:not(.cat-tab-active) {
    color: var(--text);
    border-color: var(--border-teal);
}

/* Shimmer */
@keyframes shimmer {
    0% {
        opacity: 0.35;
    }
    50% {
        opacity: 0.7;
    }
    100% {
        opacity: 0.35;
    }
}

/* Mobile */
@media (max-width: 1024px) {
    .markets-hero-wrap {
        grid-template-columns: 1fr;
        padding: 7rem 2rem 4rem;
        min-height: auto;
    }
}
@media (max-width: 640px) {
    .markets-hero-wrap {
        padding: 6rem 1.25rem 3rem;
    }
}

.gp-card {
    background: var(--card-bg);
    border: 1px solid var(--border-dim);
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition:
        border-color 0.2s,
        box-shadow 0.2s;
}

.gp-card:hover {
    border-color: var(--border-teal);
    box-shadow: 0 8px 32px rgba(14, 165, 233, 0.08);
}

.gp-card-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem 1.5rem;
    cursor: pointer;
    background: var(--dark-3);
    user-select: none;
}

.gp-icon {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: var(--dark-4);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    flex-shrink: 0;
}

.gp-region {
    font-family: var(--font-display);
    font-size: 1rem;
    font-weight: 700;
    color: var(--text);
}

.gp-chevron {
    font-size: 0.65rem;
    color: var(--teal-light);
    transition: transform 0.3s ease;
}

.gp-card.collapsed .gp-chevron {
    transform: rotate(180deg);
}

.gp-summary {
    padding: 0.5rem 1.5rem;
    font-size: 0.82rem;
    color: var(--text-dim);
    border-bottom: 1px solid var(--border-dim);
}

.gp-offices {
    padding: 0.5rem 1.5rem 1.25rem;
    display: flex;
    flex-direction: column;
    gap: 0;
    max-height: 400px;
    overflow: hidden;
    transition:
        max-height 0.35s ease,
        padding 0.35s ease;
}

.gp-card.collapsed .gp-offices {
    max-height: 0;
    padding-top: 0;
    padding-bottom: 0;
}

.gp-office {
    padding: 1rem 0;
    border-bottom: 1px solid var(--border-dim);
}

.gp-office:last-child {
    border-bottom: none;
}

.gp-city {
    font-family: var(--font-display);
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--teal-light);
    margin-bottom: 0.3rem;
}

.gp-address {
    font-size: 0.78rem;
    color: var(--text-dim);
    text-transform: uppercase;
    letter-spacing: 0.02em;
    line-height: 1.6;
    margin-bottom: 0.35rem;
}

.gp-hours {
    font-size: 0.75rem;
    color: var(--teal-light);
    opacity: 0.8;
}

@media (max-width: 1024px) {
    .global-presence-grid {
        grid-template-columns: 1fr !important;
    }
}
