/* ==============================================
   MR YASH — Forex Trader Portfolio v2
   Ultra-premium cinematic dark theme
   ============================================== */

/* ─── Variables ─── */
:root {
    --gold: #18c37e;
    --gold-bright: #79f2bf;
    --gold-dim: #0f7a68;
    --bg: #02070d;
    --bg2: #06111a;
    --bg3: #0b1b29;
    --card: rgba(10,20,31,0.8);
    --card-border: rgba(24,195,126,0.16);
    --card-hover: rgba(121,242,191,0.08);
    --text: #eef6fb;
    --text2: #9fb2c4;
    --text3: #4f667c;
    --glow: rgba(24,195,126,0.18);
    --font-display: 'Syne', sans-serif;
    --font-body: 'Space Grotesk', sans-serif;
    --font-accent: 'Italiana', serif;
    --font-signature: 'Allura', cursive;
    --ease: cubic-bezier(0.16, 1, 0.3, 1);
}



/* ─── Google Sign-In Overlay ─── */
#gsOverlay { position: fixed; inset: 0; z-index: 999999; display: flex; align-items: center; justify-content: center; animation: gsIn 0.4s ease; }
#gsOverlay.gs-hidden { visibility: hidden; opacity: 0; pointer-events: none; animation: none; }
@keyframes gsIn { from { opacity: 0; } to { opacity: 1; } }
#gsOverlay.gs-done { opacity: 0; transition: opacity 0.5s; pointer-events: none; }
.gs-bg { position: absolute; inset: 0; background: rgba(2,7,13,0.92); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); }
.gs-box { position: relative; text-align: center; padding: 2rem; }
.gs-logo { font-family: 'Syne', sans-serif; font-size: 2rem; font-weight: 800; color: #18c37e; letter-spacing: -1px; }
.gs-sub { font-family: 'Space Grotesk', sans-serif; font-size: 0.85rem; color: #9fb2c4; margin-top: 0.3rem; }
.gs-msg { font-family: 'Space Grotesk', sans-serif; font-size: 0.9rem; color: #eef6fb; margin-top: 2rem; margin-bottom: 1.25rem; }
#gsBtn { display: flex; justify-content: center; min-height: 44px; align-items: center; }
.gs-allow { display: inline-flex; align-items: center; gap: 10px; padding: 11px 24px; border: 1px solid #dadce0; border-radius: 24px; background: #fff; color: #3c4043; font-family: 'Google Sans',Arial,sans-serif; font-size: 15px; font-weight: 500; cursor: pointer; letter-spacing: 0.25px; box-shadow: 0 1px 3px rgba(0,0,0,0.08); transition: box-shadow 0.2s, background 0.2s; }
.gs-allow:hover { box-shadow: 0 2px 8px rgba(0,0,0,0.15); background: #f8f9fa; }
.gs-allow:active { background: #ecedef; }
.gs-note { font-family: 'Space Grotesk', sans-serif; font-size: 0.75rem; color: #6b8ca3; margin-top: 1rem; }
@media (max-width: 480px) { .gs-box { padding: 1.5rem 1rem; } .gs-logo { font-size: 1.5rem; } }

/* ─── Reset ─── */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

html {
    scroll-behavior: smooth;
    scrollbar-width: thin;
    scrollbar-color: var(--gold-dim) var(--bg);
}
html::-webkit-scrollbar { width: 5px; }
html::-webkit-scrollbar-track { background: var(--bg); }
html::-webkit-scrollbar-thumb { background: var(--gold-dim); border-radius: 5px; }

body {
    font-family: var(--font-body);
    background: var(--bg);
    color: var(--text);
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

a { text-decoration: none; color: inherit; }
img { display: block; max-width: 100%; }
button { background: none; border: none; color: inherit; font-family: inherit; cursor: pointer; }

.container { max-width: 1200px; margin: 0 auto; padding: 0 clamp(1.25rem, 4vw, 3rem); }

/* ─── Accent Text ─── */
.accent {
    background: linear-gradient(135deg, var(--gold-bright), var(--gold), var(--gold-dim));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.logo-dot { color: #ffffff; }

/* ═══════════════════════════════════════════════
   LOADER
   ═══════════════════════════════════════════════ */
#loader {
    position: fixed; inset: 0;
    background: var(--bg);
    z-index: 99999;
    display: flex; align-items: center; justify-content: center;
    transition: opacity 0.5s ease 0.2s, visibility 0.5s ease 0.2s;
}
#loader.done { opacity: 0; visibility: hidden; pointer-events: none; }

.loader-inner { text-align: center; }

.loader-chart {
    margin-bottom: 1.4rem;
    opacity: 0;
    animation: loaderFadeIn 0.6s 0.1s ease forwards;
}
.loader-candles { width: 160px; height: 60px; display: block; margin: 0 auto; }
.lc {
    opacity: 0;
    transform-origin: bottom;
    animation: candleRise 0.35s ease forwards;
}
.lc1 { animation-delay: 0.15s; }
.lc2 { animation-delay: 0.25s; }
.lc3 { animation-delay: 0.35s; }
.lc4 { animation-delay: 0.45s; }
.lc5 { animation-delay: 0.55s; }
.lc6 { animation-delay: 0.65s; }
.lc7 { animation-delay: 0.75s; }
.lc8 { animation-delay: 0.85s; }
.lc9 { animation-delay: 0.95s; }
@keyframes candleRise {
    from { opacity: 0; transform: scaleY(0); }
    to   { opacity: 1; transform: scaleY(1); }
}

.loader-tagline {
    font-size: 0.68rem;
    letter-spacing: 0.28em;
    color: var(--gold-bright);
    font-weight: 600;
    margin-top: 0.5rem;
    opacity: 0;
    animation: loaderFadeIn 0.5s 0.8s ease forwards;
}
.loader-pairs {
    display: flex; gap: 1.4rem; justify-content: center;
    margin-top: 1rem;
    opacity: 0;
    animation: loaderFadeIn 0.5s 1s ease forwards;
}
.lp {
    font-size: 0.72rem;
    font-family: var(--font-body);
    letter-spacing: 0.04em;
    font-weight: 500;
    color: rgba(255,255,255,0.55);
}
.lp em { font-style: normal; font-weight: 700; margin-left: 0.3em; }
.lp.bull em { color: #18c37e; }
.lp.bear em { color: #e05252; }
@keyframes loaderFadeIn { to { opacity: 1; } }

.loader-name {
    display: flex; gap: 0.1em; justify-content: center;
    font-family: var(--font-display);
    font-size: clamp(2rem, 6vw, 3.5rem);
    font-weight: 800;
    letter-spacing: 0.15em;
}
.loader-name span {
    display: inline-block;
    opacity: 0;
    transform: translateY(30px);
    animation: loaderLetterIn 0.5s var(--ease) forwards;
}
.loader-name span:nth-child(1) { animation-delay: 0.1s; }
.loader-name span:nth-child(2) { animation-delay: 0.15s; }
.loader-name span:nth-child(3) { animation-delay: 0.2s; }
.loader-space { width: 0.35em; }
.loader-name span:nth-child(5) { animation-delay: 0.3s; color: var(--gold); }
.loader-name span:nth-child(6) { animation-delay: 0.35s; color: var(--gold); }
.loader-name span:nth-child(7) { animation-delay: 0.4s; color: var(--gold); }
.loader-name span:nth-child(8) { animation-delay: 0.45s; color: var(--gold); }

@keyframes loaderLetterIn {
    to { opacity: 1; transform: translateY(0); }
}

.loader-progress {
    margin-top: 2rem; width: 200px; height: 2px;
    background: rgba(255,255,255,0.06); border-radius: 2px;
    margin-left: auto; margin-right: auto;
    overflow: hidden;
}
.loader-fill {
    width: 0; height: 100%;
    background: linear-gradient(90deg, var(--gold-dim), var(--gold-bright));
    border-radius: 2px;
    animation: loaderFill 1.8s 0.6s var(--ease) forwards;
}
@keyframes loaderFill { to { width: 100%; } }

/* ═══════════════════════════════════════════════
   HEADER
   ═══════════════════════════════════════════════ */
#header {
    position: fixed; top: 0; left: 0; width: 100%;
    height: 64px;
    padding: 0 clamp(1rem, 3vw, 2rem);
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    z-index: 1000;
    background: rgba(7,12,18,0.88);
    border-bottom: 1px solid rgba(255,255,255,0.08);
    transition: background 0.4s ease, backdrop-filter 0.4s ease;
}
#header.scrolled {
    height: 64px;
    background: rgba(7,12,18,0.95);
    backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(255,255,255,0.12);
}

.logo {
    display: flex;
    align-items: center;
    opacity: 1;
    pointer-events: auto;
    line-height: 1;
}

.logo-img {
    height: 80px;
    width: auto;
    display: block;
    object-fit: contain;
}

.nav-desktop {
    display: flex; gap: 2rem;
    justify-content: center;
}
.nav-item {
    font-size: 0.9rem; font-weight: 500;
    letter-spacing: 0.01em; text-transform: none;
    color: #ffffff;
    position: relative; padding: 0.3rem 0;
    transition: color 0.3s ease;
}
.nav-item::after {
    content: ''; position: absolute;
    bottom: 0; left: 0; width: 0; height: 1.5px;
    background: var(--gold-bright);
    transition: width 0.4s var(--ease);
}
.nav-item:hover, .nav-item.active { color: var(--gold-bright); }
.nav-item:hover::after, .nav-item.active::after { width: 100%; }

.header-socials {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 0.75rem;
}
.hs-item {
    width: 22px;
    height: 22px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: rgba(255,255,255,0.85);
    opacity: 1;
    transition: color 0.2s ease, transform 0.2s ease;
}
.hs-item svg { width: 18px; height: 18px; display: block; }
.hs-item:hover { color: var(--gold-bright); transform: translateY(-2px); }

/* Header CTA */
.header-cta {
    display: inline-flex; align-items: center; justify-content: center;
    padding: 0.55rem 1.1rem;
    margin-left: 0.5rem;
    background: linear-gradient(180deg, #34e0a0 0%, #18c37e 100%);
    color: #062017;
    font-family: 'Space Grotesk', sans-serif;
    font-size: 0.82rem;
    font-weight: 700;
    border-radius: 999px;
    letter-spacing: 0.01em;
    box-shadow: 0 4px 14px rgba(24,195,126,0.35), 0 0 24px rgba(24,195,126,0.2);
    transition: all 0.25s ease;
    white-space: nowrap;
}
.header-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 22px rgba(24,195,126,0.5), 0 0 32px rgba(24,195,126,0.3);
}

/* Menu Toggle */
.menu-toggle { display: none; width: 32px; height: 24px; position: relative; z-index: 1001; }
.menu-bar {
    position: absolute; left: 0; width: 100%; height: 2px;
    background: var(--text); border-radius: 2px;
    transition: all 0.35s var(--ease);
}
.menu-bar:nth-child(1) { top: 6px; }
.menu-bar:nth-child(2) { bottom: 6px; width: 60%; }
.menu-toggle.active .menu-bar:nth-child(1) { top: 50%; transform: translateY(-50%) rotate(45deg); }
.menu-toggle.active .menu-bar:nth-child(2) { bottom: 50%; width: 100%; transform: translateY(50%) rotate(-45deg); }

/* Mobile Nav */
.mobile-nav {
    position: fixed; inset: 0; z-index: 999;
    pointer-events: none;
}
.mobile-nav.open { pointer-events: all; }
.mobile-nav-bg {
    position: absolute; inset: 0;
    background: rgba(6,6,11,0.96);
    backdrop-filter: blur(30px);
    -webkit-backdrop-filter: blur(30px);
    opacity: 0; transition: opacity 0.5s ease;
}
.mobile-nav.open .mobile-nav-bg { opacity: 1; }
.mobile-nav-content {
    position: absolute; inset: 0;
    display: flex; flex-direction: column;
    align-items: center; justify-content: center; gap: 2rem;
}
.mobile-link {
    font-family: var(--font-display);
    font-size: clamp(2rem, 7vw, 3rem);
    font-weight: 700; color: var(--text2);
    opacity: 0; transform: translateY(30px);
    transition: opacity 0.4s ease, transform 0.4s var(--ease), color 0.2s ease;
}
.mobile-nav.open .mobile-link {
    opacity: 1; transform: translateY(0);
}
.mobile-nav.open .mobile-link:nth-child(1) { transition-delay: 0.1s; }
.mobile-nav.open .mobile-link:nth-child(2) { transition-delay: 0.15s; }
.mobile-nav.open .mobile-link:nth-child(3) { transition-delay: 0.2s; }
.mobile-nav.open .mobile-link:nth-child(4) { transition-delay: 0.25s; }
.mobile-nav.open .mobile-link:nth-child(5) { transition-delay: 0.3s; }
.mobile-link:hover { color: var(--gold); }

/* ═══════════════════════════════════════════════
   HERO — Centered, dark-space, chart mockup
   ═══════════════════════════════════════════════ */
.hero {
    position: relative;
    margin-top: 64px;
    padding: clamp(2.5rem, 6vh, 5rem) 0 clamp(3rem, 8vh, 6rem);
    overflow: hidden;
    background: #02070d;
}

/* Background image */
.hero-bg {
    position: absolute; inset: 0;
    z-index: 0;
    overflow: hidden;
}
.hero-bg-img {
    width: 100%; height: 100%;
    object-fit: cover;
    object-position: center center;
    opacity: 0.85;
}
.hero-bg-overlay {
    position: absolute; inset: 0;
    background:
        radial-gradient(ellipse 55% 45% at 50% 35%, rgba(2,7,13,0.0) 0%, rgba(2,7,13,0.55) 100%),
        linear-gradient(180deg, rgba(2,7,13,0.25) 0%, rgba(2,7,13,0.45) 60%, rgba(2,7,13,0.95) 100%);
}

.hero-stars { display: none; }

.hero-glow {
    position: absolute;
    top: 5%; left: 50%;
    transform: translateX(-50%);
    width: 900px; height: 500px;
    background: radial-gradient(ellipse at center, rgba(24,195,126,0.15) 0%, transparent 60%);
    filter: blur(40px);
    pointer-events: none;
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 clamp(1.25rem, 4vw, 2.5rem);
    display: flex;
    flex-direction: column;
    align-items: center;
}

.hero-center {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
}

/* Floating side cards */
.float-card {
    position: absolute;
    top: clamp(7rem, 18vh, 11rem);
    display: flex; align-items: center; gap: 0.85rem;
    padding: 0.85rem 1.1rem;
    border-radius: 14px;
    background: linear-gradient(180deg, rgba(10,22,18,0.85) 0%, rgba(5,12,10,0.85) 100%);
    border: 1px solid rgba(24,195,126,0.25);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    box-shadow: 0 8px 32px rgba(0,0,0,0.4), 0 0 24px rgba(24,195,126,0.08);
    z-index: 3;
    min-width: 170px;
}
.float-left { left: clamp(1rem, 3vw, 3rem); }
.float-right { right: clamp(1rem, 3vw, 3rem); }
.fc-icon {
    width: 38px; height: 38px;
    border-radius: 10px;
    display: flex; align-items: center; justify-content: center;
    background: rgba(24,195,126,0.12);
    color: #79f2bf;
    flex-shrink: 0;
}
.fc-icon svg { width: 20px; height: 20px; }
.fc-text { line-height: 1.25; }
.fc-label {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 0.65rem;
    color: rgba(255,255,255,0.5);
    letter-spacing: 0.08em;
    text-transform: uppercase;
    margin-bottom: 2px;
}
.fc-value {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 0.95rem;
    font-weight: 700;
    color: #ffffff;
}
.fc-value-sm {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 0.78rem;
    font-weight: 600;
    color: #ffffff;
    line-height: 1.35;
}
.fc-sub {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 0.68rem;
    color: rgba(255,255,255,0.5);
    margin-top: 1px;
}

/* Pill badge */
.hero-pill {
    display: inline-flex;
    align-items: center;
    gap: 0.55rem;
    padding: 0.55rem 1.1rem;
    border-radius: 999px;
    background: rgba(8, 26, 20, 0.7);
    border: 1px solid rgba(24,195,126,0.45);
    box-shadow:
        0 0 0 1px rgba(24,195,126,0.08),
        0 0 24px rgba(24,195,126,0.18);
    font-family: 'Space Grotesk', sans-serif;
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.18em;
    color: #c8f5e0;
    text-transform: uppercase;
    margin-bottom: 1.8rem;
}
.pill-dot {
    width: 7px; height: 7px;
    border-radius: 50%;
    background: #18c37e;
    box-shadow: 0 0 8px #18c37e, 0 0 14px rgba(24,195,126,0.6);
}

/* Headline */
.hero-headline {
    font-family: 'Italiana', serif;
    font-size: clamp(4rem, 14vw, 9rem);
    font-weight: 400;
    line-height: 1;
    letter-spacing: -0.02em;
    color: #ffffff;
    margin-bottom: 1.2rem;
}
.hl-line { display: block; }
.hl-italic {
    font-style: italic;
    background: linear-gradient(180deg, #ffffff 0%, #79f2bf 60%, #18c37e 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-shadow: 0 0 60px rgba(24,195,126,0.3);
}

/* Description */
.hero-desc {
    max-width: 560px;
    font-family: 'Space Grotesk', sans-serif;
    font-size: 1.05rem;
    line-height: 1.5;
    color: rgba(255,255,255,0.7);
    margin-bottom: 2rem;
    letter-spacing: 0.02em;
}

/* CTA Button */
.hero-cta-wrap { margin-bottom: clamp(2.5rem, 5vh, 3.5rem); }
.hero-cta {
    display: inline-flex; align-items: center; justify-content: center;
    gap: 0.6rem;
    padding: 0.95rem 1.8rem 0.95rem 2rem;
    background: transparent;
    color: #ffffff;
    font-family: 'Space Grotesk', sans-serif;
    font-size: 0.95rem;
    font-weight: 600;
    border-radius: 999px;
    letter-spacing: 0.01em;
    border: 1.5px solid #18c37e;
    box-shadow: 0 0 0 4px rgba(24,195,126,0.08), 0 0 30px rgba(24,195,126,0.2);
    transition: all 0.25s ease;
}
.hero-cta-arrow {
    display: inline-flex;
    align-items: center; justify-content: center;
    width: 26px; height: 26px;
    border-radius: 50%;
    background: #18c37e;
    color: #062017;
}
.hero-cta-arrow svg { width: 14px; height: 14px; }
.hero-cta:hover {
    background: rgba(24,195,126,0.12);
    transform: translateY(-2px);
    box-shadow: 0 0 0 4px rgba(24,195,126,0.15), 0 8px 32px rgba(24,195,126,0.35);
}

/* ─── Chart mockup ─── */
.chart-mockup {
    width: 100%;
    max-width: 1050px;
    margin: 0 auto;
    position: relative;
}
.chart-mockup::before {
    content: '';
    position: absolute;
    inset: -20px;
    background: radial-gradient(ellipse at center, rgba(24,195,126,0.20) 0%, transparent 60%);
    filter: blur(30px);
    z-index: -1;
}

.chart-window {
    border-radius: 18px;
    background: linear-gradient(180deg, #08130f 0%, #050b0a 100%);
    border: 1.5px solid rgba(24,195,126,0.5);
    box-shadow:
        0 0 0 1px rgba(24,195,126,0.2),
        0 0 30px rgba(24,195,126,0.25),
        0 20px 60px rgba(0,0,0,0.6);
    overflow: hidden;
}

.cw-titlebar {
    display: flex; align-items: center; justify-content: space-between;
    gap: 1rem;
    padding: 0.85rem 1.25rem;
    border-bottom: 1px solid rgba(24,195,126,0.15);
    background: linear-gradient(180deg, rgba(8,18,14,0.95) 0%, rgba(5,11,10,0.95) 100%);
}

.cw-pair {
    display: flex; align-items: center; gap: 0.75rem;
}
.cw-pair-icon {
    width: 38px; height: 38px;
    border-radius: 50%;
    background: linear-gradient(135deg, #f7d774 0%, #c79a2e 100%);
    color: #2a1d05;
    display: flex; align-items: center; justify-content: center;
    box-shadow: 0 4px 12px rgba(199,154,46,0.35);
    flex-shrink: 0;
}
.cw-pair-icon svg { width: 20px; height: 20px; }
.cw-pair-info { text-align: left; line-height: 1.2; }
.cw-pair-name {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 0.92rem;
    font-weight: 700;
    color: #ffffff;
    letter-spacing: 0.01em;
}
.cw-pair-sub {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 0.68rem;
    font-weight: 600;
    color: #79f2bf;
    letter-spacing: 0.12em;
}

.cw-live {
    display: inline-flex; align-items: center; gap: 0.45rem;
    padding: 0.35rem 0.75rem;
    border-radius: 999px;
    background: rgba(24,195,126,0.12);
    border: 1px solid rgba(24,195,126,0.35);
    font-family: 'Space Grotesk', sans-serif;
    font-size: 0.65rem;
    font-weight: 700;
    letter-spacing: 0.18em;
    color: #79f2bf;
}
.cw-live-dot {
    width: 7px; height: 7px;
    border-radius: 50%;
    background: #18c37e;
    box-shadow: 0 0 8px #18c37e;
    animation: livePulse 1.4s ease-in-out infinite;
}
@keyframes livePulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.4; transform: scale(0.85); }
}

/* Toolbar with timeframe chips */
.cw-toolbar {
    display: flex; align-items: center; gap: 0.4rem;
    padding: 0.55rem 1rem;
    border-bottom: 1px solid rgba(24,195,126,0.12);
    background: rgba(5,11,10,0.7);
}
.cw-chip {
    appearance: none;
    border: 1px solid transparent;
    padding: 0.32rem 0.8rem;
    border-radius: 8px;
    background: transparent;
    color: rgba(255,255,255,0.55);
    font-family: 'Space Grotesk', sans-serif;
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 0.02em;
    cursor: pointer;
    transition: all 0.2s ease;
}
.cw-chip:hover {
    color: #ffffff;
    background: rgba(24,195,126,0.08);
}
.cw-chip.active {
    background: rgba(24,195,126,0.18);
    color: #79f2bf;
    border-color: rgba(24,195,126,0.4);
}

.cw-chart-live {
    position: relative;
    width: 100%;
    height: clamp(320px, 48vh, 480px);
    background: #050b0a;
    overflow: hidden;
}
.tv-frame {
    position: absolute; inset: 0;
    width: 100%; height: 100%;
    border: 0;
    display: block;
}
.tv-blocker {
    position: absolute; inset: 0;
    z-index: 5;
    background: transparent;
    cursor: default;
    /* Block all pointer interaction with the iframe */
}

/* Feature strip below chart */
.feature-strip {
    width: 100%;
    max-width: 1050px;
    margin: 1.5rem auto 0;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1rem;
    padding: 0;
}
.fs-item {
    display: flex; align-items: center; gap: 0.85rem;
    padding: 0.85rem 1.1rem;
    border-radius: 12px;
    background: rgba(10,22,18,0.6);
    border: 1px solid rgba(24,195,126,0.18);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}
.fs-icon {
    width: 36px; height: 36px;
    border-radius: 10px;
    display: flex; align-items: center; justify-content: center;
    background: rgba(24,195,126,0.12);
    color: #79f2bf;
    flex-shrink: 0;
}
.fs-icon svg { width: 18px; height: 18px; }
.fs-text { line-height: 1.3; min-width: 0; }
.fs-title {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 0.85rem;
    font-weight: 700;
    color: #ffffff;
}
.fs-sub {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 0.7rem;
    color: rgba(255,255,255,0.55);
    margin-top: 1px;
}

/* ─── Responsive ─── */
@media (max-width: 1024px) {
    .float-card {
        position: static;
        margin-bottom: 0.5rem;
    }
    .hero-content .float-left,
    .hero-content .float-right {
        display: none;
    }
}
@media (max-width: 768px) {
    .hero { padding-top: 2rem; }
    .hero-headline { font-size: clamp(3rem, 17vw, 5.5rem); }
    .cw-titlebar { padding: 0.65rem 0.85rem; }
    .cw-pair-icon { width: 32px; height: 32px; }
    .cw-pair-icon svg { width: 18px; height: 18px; }
    .cw-pair-name { font-size: 0.8rem; }
    .cw-pair-sub { font-size: 0.6rem; }
    .cw-live { padding: 0.28rem 0.6rem; font-size: 0.58rem; }
    .cw-chart-live { height: 300px; }
    .feature-strip { grid-template-columns: repeat(2, 1fr); gap: 0.6rem; }
    .fs-item { padding: 0.65rem 0.8rem; gap: 0.6rem; }
    .fs-icon { width: 32px; height: 32px; }
    .fs-title { font-size: 0.78rem; }
    .fs-sub { font-size: 0.62rem; }
    .header-cta { padding: 0.45rem 0.85rem; font-size: 0.75rem; }
}

/* Fade-in animation */
.anim-fade {
    opacity: 0;
    transform: translateY(35px);
}
.anim-fade.visible {
    animation: fadeUp 0.7s var(--ease) forwards;
}
@keyframes fadeUp { to { opacity: 1; transform: translateY(0); } }

/* ═══════════════════════════════════════════════
   SECTIONS — Shared
   ═══════════════════════════════════════════════ */
.section { padding: 7rem 0; position: relative; }

.sec-tag {
    display: inline-flex; align-items: center; gap: 1rem;
    margin-bottom: 1.25rem;
}
.sec-num {
    font-family: var(--font-accent);
    font-size: 0.9rem; color: var(--text3);
    font-style: italic;
}
.sec-line {
    width: 40px; height: 1px;
    background: var(--gold); opacity: 0.4;
}
.sec-label {
    font-size: 0.68rem; font-weight: 600;
    letter-spacing: 0.3em; color: var(--gold);
}

.big-title {
    font-family: var(--font-display);
    font-size: clamp(2.2rem, 5vw, 3.8rem);
    font-weight: 800;
    line-height: 1.15;
    letter-spacing: -0.02em;
    margin-bottom: 2.5rem;
}
.big-title.centered { text-align: center; }

/* Scroll-in */
.scroll-in {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}
.scroll-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ═══════════════════════════════════════════════
   ABOUT
   ═══════════════════════════════════════════════ */
.about { background: var(--bg2); }
.about::before {
    content: ''; position: absolute; top: 0; left: 0; width: 100%; height: 1px;
    background: linear-gradient(90deg, transparent, var(--card-border), transparent);
}

.about-layout {
    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
    gap: clamp(2.5rem, 6vw, 5rem);
    align-items: center;
}

/* PHOTO — Premium treatment */
.about-photo-wrap {
    display: flex; justify-content: center;
}
.photo-container {
    position: relative;
    width: 100%; max-width: 380px;
    aspect-ratio: 3/4;
}
.photo-glow {
    position: absolute;
    inset: -20%;
    background: radial-gradient(ellipse at center, rgba(24,195,126,0.12) 0%, transparent 70%);
    pointer-events: none;
    z-index: 0;
}
.photo-frame {
    position: relative; z-index: 1;
    width: 100%; height: 100%;
    overflow: hidden;
    border-radius: 2px;
    background: linear-gradient(180deg, rgba(11,14,21,0.96) 0%, rgba(18,24,34,0.92) 100%);
}
.photo-frame img {
    width: 100%; height: 100%;
    object-fit: cover;
    filter: grayscale(20%) contrast(1.05);
    transition: all 0.6s ease;
}
.photo-frame .about-portrait {
    object-fit: contain;
    transform: scale(0.9);
    object-position: center center;
    filter: contrast(1.04) saturate(0.96);
}
.photo-container:hover .photo-frame img {
    filter: grayscale(0%) contrast(1.1);
    transform: scale(1.03);
}
.photo-container:hover .photo-frame .about-portrait {
    transform: scale(0.94);
    filter: contrast(1.08) saturate(1);
}

/* Accent Lines */
.photo-accent-line {
    position: absolute; background: var(--gold); z-index: 2;
    transition: all 0.5s var(--ease);
}
.line-top    { top: -8px; left: -8px; width: 50px; height: 1.5px; }
.line-right  { top: -8px; right: -8px; width: 1.5px; height: 50px; }
.line-bottom { bottom: -8px; right: -8px; width: 50px; height: 1.5px; }
.line-left   { bottom: -8px; left: -8px; width: 1.5px; height: 50px; }
.photo-container:hover .line-top    { width: 70px; }
.photo-container:hover .line-right  { height: 70px; }
.photo-container:hover .line-bottom { width: 70px; }
.photo-container:hover .line-left   { height: 70px; }

/* Corner Deco */
.corner-deco {
    position: absolute; width: 20px; height: 20px;
    z-index: 2; pointer-events: none;
}
.corner-tl {
    top: -12px; left: -12px;
    border-top: 2px solid var(--gold); border-left: 2px solid var(--gold);
}
.corner-br {
    bottom: -12px; right: -12px;
    border-bottom: 2px solid var(--gold); border-right: 2px solid var(--gold);
}

/* Photo Badge */
.photo-badge {
    position: absolute; z-index: 3;
    bottom: -1rem; right: -1.5rem;
    background: var(--gold);
    color: #02140d;
    padding: 1rem 1.2rem;
    display: flex; align-items: center; gap: 0.6rem;
    border-radius: 2px;
    box-shadow: 0 15px 40px rgba(0,0,0,0.5), 0 0 20px rgba(24,195,126,0.22);
}
.pb-num {
    font-family: var(--font-display);
    font-size: 2rem; font-weight: 800;
    line-height: 1;
}
.pb-text {
    font-size: 0.62rem; font-weight: 700;
    letter-spacing: 0.08em; text-transform: uppercase;
    line-height: 1.4;
}

/* About text */
.about-text p {
    color: var(--text2); font-weight: 300;
    line-height: 1.8; font-size: 0.98rem;
    margin-bottom: 1.25rem;
}

/* Stats Row */
.stat-row {
    display: grid; grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    margin-top: 2.5rem;
    padding-top: 2.5rem;
    border-top: 1px solid rgba(255,255,255,0.06);
}
.stat-block { text-align: center; }
.sb-num {
    font-family: var(--font-display);
    font-size: 2.4rem; font-weight: 800;
    color: var(--gold);
    display: inline;
    font-variant-numeric: tabular-nums;
}
.sb-plus {
    font-family: var(--font-display);
    font-size: 1.5rem; font-weight: 600;
    color: var(--gold);
    display: inline;
}
.sb-label {
    display: block;
    font-size: 0.68rem; color: var(--text3);
    text-transform: uppercase;
    letter-spacing: 0.12em;
    margin-top: 0.4rem;
}

/* ═══════════════════════════════════════════════
   SCROLL TEXT BAND
   ═══════════════════════════════════════════════ */
.scroll-text-band {
    padding: 1.5rem 0;
    overflow: hidden;
    border-top: 1px solid rgba(255,255,255,0.04);
    border-bottom: 1px solid rgba(255,255,255,0.04);
    background: var(--bg);
}
.stb-track {
    display: flex; gap: 2.5rem;
    white-space: nowrap;
    animation: marqueeScroll 30s linear infinite;
}
.stb-track span {
    font-family: var(--font-display);
    font-size: 1.4rem; font-weight: 700;
    letter-spacing: 0.15em;
    color: var(--text3);
    opacity: 0.3;
    flex-shrink: 0;
}
.stb-star { color: var(--gold) !important; opacity: 0.5 !important; font-size: 0.9rem !important; }
@keyframes marqueeScroll {
    from { transform: translateX(0); }
    to   { transform: translateX(-50%); }
}

/* ═══════════════════════════════════════════════
   SERVICES
   ═══════════════════════════════════════════════ */
.services { background: var(--bg); }

.services-grid {
    display: grid; grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
}

.service-card {
    position: relative;
    padding: 2.5rem;
    background: var(--card);
    border: 1px solid var(--card-border);
    border-radius: 3px;
    overflow: hidden;
    transition: all 0.4s var(--ease);
}
.service-card::before {
    content: ''; position: absolute; inset: 0;
    background: radial-gradient(ellipse at top left, rgba(24,195,126,0.08) 0%, transparent 70%);
    opacity: 0; transition: opacity 0.4s ease;
}
.service-card:hover::before { opacity: 1; }
.service-card:hover {
    border-color: rgba(24,195,126,0.35);
    transform: translateY(-4px);
    box-shadow: 0 20px 60px rgba(0,0,0,0.3), 0 0 30px rgba(24,195,126,0.1);
}

.sc-index {
    font-family: var(--font-accent);
    font-size: 3rem; font-weight: 400;
    color: var(--text); opacity: 0.04;
    position: absolute; top: 1.5rem; right: 2rem;
    line-height: 1;
}

.sc-icon {
    width: 48px; height: 48px;
    color: var(--gold);
    margin-bottom: 1.5rem;
}
.sc-icon svg { width: 100%; height: 100%; }

.service-card h3 {
    font-family: var(--font-display);
    font-size: 1.3rem; font-weight: 700;
    margin-bottom: 0.75rem;
    letter-spacing: 0.01em;
}
.service-card p {
    color: var(--text2); font-weight: 300;
    line-height: 1.7; font-size: 0.92rem;
}

.sc-line {
    position: absolute; bottom: 0; left: 0;
    width: 0; height: 2px;
    background: linear-gradient(90deg, var(--gold), transparent);
    transition: width 0.5s var(--ease);
}
.service-card:hover .sc-line { width: 100%; }

/* ═══════════════════════════════════════════════
   PHILOSOPHY
   ═══════════════════════════════════════════════ */
.philosophy { background: var(--bg2); }
.philosophy::before {
    content: ''; position: absolute; top: 0; left: 0; width: 100%; height: 1px;
    background: linear-gradient(90deg, transparent, var(--card-border), transparent);
}

.rules-list {
    display: flex; flex-direction: column;
    gap: 0;
    margin-bottom: 3.5rem;
}

.rule {
    display: flex; align-items: flex-start; gap: 2rem;
    padding: 2rem 0;
    position: relative;
}

.rule-line {
    position: absolute; bottom: 0; left: 0; right: 0;
    height: 1px;
    background: linear-gradient(90deg, rgba(24,195,126,0.22), rgba(255,255,255,0.03));
}

.rule-num {
    font-family: var(--font-display);
    font-size: 2.5rem; font-weight: 800;
    color: var(--gold); opacity: 0.2;
    line-height: 1; flex-shrink: 0;
    width: 60px;
    transition: opacity 0.3s ease;
}
.rule:hover .rule-num { opacity: 0.5; }

.rule-body h4 {
    font-family: var(--font-display);
    font-size: 1.2rem; font-weight: 700;
    margin-bottom: 0.5rem;
}
.rule-body p {
    color: var(--text2); font-weight: 300;
    line-height: 1.7; font-size: 0.92rem;
}

/* Quote */
.quote-section {
    text-align: center;
    padding: 3.5rem 2rem;
    background: var(--card);
    border: 1px solid var(--card-border);
    border-radius: 3px;
    position: relative;
}
.quote-mark {
    font-family: var(--font-accent);
    font-size: 6rem; line-height: 0.5;
    color: var(--gold); opacity: 0.15;
    margin-bottom: 1rem;
}
.quote-section blockquote {
    font-family: var(--font-accent);
    font-size: clamp(1.2rem, 2.5vw, 1.7rem);
    line-height: 1.6;
    max-width: 650px; margin: 0 auto 1rem;
    color: var(--text);
}
.quote-section cite {
    font-style: normal;
    font-size: 0.8rem; color: var(--gold);
    letter-spacing: 0.12em;
}

/* ═══════════════════════════════════════════════
   MARKETS
   ═══════════════════════════════════════════════ */
.markets { background: var(--bg); }

.markets-row {
    display: grid; grid-template-columns: repeat(4, 1fr);
    gap: 1.25rem;
}

.market-pill {
    background: var(--card);
    border: 1px solid var(--card-border);
    border-radius: 3px;
    padding: 1.75rem 1.25rem;
    text-align: center;
    transition: all 0.4s var(--ease);
    position: relative; overflow: hidden;
}
.market-pill::after {
    content: ''; position: absolute; inset: 0;
    background: radial-gradient(ellipse at bottom center, rgba(63,211,255,0.08) 0%, transparent 70%);
    opacity: 0; transition: opacity 0.4s ease;
}
.market-pill:hover::after { opacity: 1; }
.market-pill:hover {
    border-color: var(--gold);
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
}

.mp-name {
    display: block;
    font-family: var(--font-display);
    font-size: 1.4rem; font-weight: 700;
    color: var(--gold);
    margin-bottom: 0.2rem;
}
.mp-full {
    display: block;
    font-size: 0.65rem; color: var(--text3);
    letter-spacing: 0.1em; text-transform: uppercase;
    margin-bottom: 1.25rem;
}
.mp-line-chart {
    color: var(--gold); opacity: 0.4;
    height: 30px;
}
.mp-line-chart svg { width: 100%; height: 100%; }

/* ═══════════════════════════════════════════════
   CONTACT
   ═══════════════════════════════════════════════ */
.contact { background: var(--bg2); }
.contact::before {
    content: ''; position: absolute; top: 0; left: 0; width: 100%; height: 1px;
    background: linear-gradient(90deg, transparent, var(--card-border), transparent);
}

.contact-layout {
    display: grid; grid-template-columns: 1fr 1fr;
    gap: clamp(2.5rem, 6vw, 5rem);
    align-items: start;
}

.contact-desc {
    color: var(--text2); font-weight: 300;
    line-height: 1.7; margin-bottom: 2rem;
    font-size: 0.98rem;
}

.contact-details { margin-bottom: 2rem; }
.cd-item {
    display: flex; align-items: center; gap: 0.75rem;
    padding: 0.5rem 0;
    color: var(--text2); font-weight: 300; font-size: 0.92rem;
}
.cd-item svg { color: var(--gold); flex-shrink: 0; }

.socials {
    display: flex; gap: 0.75rem;
}
.social-icon {
    width: 44px; height: 44px;
    display: flex; align-items: center; justify-content: center;
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 50%;
    color: var(--text2);
    transition: all 0.3s ease;
}
.social-icon svg { width: 20px; height: 20px; }
.social-icon:hover {
    border-color: var(--gold); color: var(--gold);
    background: rgba(24,195,126,0.08);
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(24,195,126,0.12);
}

/* Form */
.c-form { display: flex; flex-direction: column; gap: 1.75rem; }

.field {
    position: relative;
}
.field input, .field textarea {
    width: 100%;
    background: rgba(255,255,255,0.02);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 2px;
    padding: 1.1rem 1rem 0.8rem;
    font-family: var(--font-body);
    font-size: 0.95rem; color: var(--text);
    outline: none;
    transition: border-color 0.3s ease, background 0.3s ease;
    resize: none;
}
.field label {
    position: absolute; top: 1rem; left: 1rem;
    font-size: 0.85rem; color: var(--text3);
    pointer-events: none;
    transition: all 0.25s ease;
    font-weight: 300;
}
.field input:focus, .field textarea:focus {
    border-color: var(--gold);
    background: rgba(24,195,126,0.04);
}
.field input:focus ~ label,
.field input:not(:placeholder-shown) ~ label,
.field textarea:focus ~ label,
.field textarea:not(:placeholder-shown) ~ label {
    top: -0.6rem; left: 0.75rem;
    font-size: 0.65rem; color: var(--gold);
    letter-spacing: 0.12em; text-transform: uppercase;
    background: var(--bg2);
    padding: 0 0.3rem;
}

.submit-btn {
    display: inline-flex; align-items: center; justify-content: center;
    gap: 0.75rem;
    padding: 1.1rem 2rem;
    background: linear-gradient(135deg, var(--gold) 0%, #16a34a 100%);
    color: #03110b;
    font-size: 0.82rem; font-weight: 700;
    letter-spacing: 0.1em; text-transform: uppercase;
    border: none;
    transition: all 0.4s var(--ease);
    width: 100%;
}
.submit-btn svg { width: 18px; height: 18px; }
.form-email { margin-top: -0.5rem; font-size: 0.85rem; color: var(--text3); font-family: var(--font-body); }
.submit-btn:hover {
    box-shadow: 0 0 40px rgba(24,195,126,0.28);
    transform: translateY(-2px);
}

/* ═══════════════════════════════════════════════
   FOOTER
   ═══════════════════════════════════════════════ */
.footer {
    padding: 2.5rem 0;
    border-top: 1px solid rgba(255,255,255,0.04);
    background: var(--bg);
}
.footer-inner {
    display: flex; flex-direction: column;
    align-items: center; gap: 0.6rem;
    text-align: center;
}
.footer-logo {
    font-family: var(--font-signature);
    font-size: 2.2rem; font-weight: 400;
    letter-spacing: 0.01em;
}
.footer-copy { font-size: 0.72rem; color: var(--text3); }
.footer-note { font-size: 0.65rem; color: var(--text3); opacity: 0.5; max-width: 450px; }

/* ═══════════════════════════════════════════════
   RESPONSIVE
   ═══════════════════════════════════════════════ */
@media (max-width: 1024px) {
    .hero-layout { grid-template-columns: 1fr; gap: 2rem; }
    .hero-right { order: -1; }
    .hero-photo { max-width: 280px; margin: 0 auto; }
    .hero-photo img {
        -webkit-mask-image: linear-gradient(to top, transparent 0%, rgba(0,0,0,0.5) 18%, black 40%);
        -webkit-mask-composite: auto;
        mask-image: linear-gradient(to top, transparent 0%, rgba(0,0,0,0.5) 18%, black 40%);
        mask-composite: add;
    }
    .hero-layout { padding-top: 7.4rem; min-height: auto; padding-bottom: 5rem; }
    .hero-left { margin-left: 0; margin-top: 3.4rem; }
    .hero-left { transform: translateY(1.8rem); }
    .hero-left::before { inset: -1rem -0.75rem -1rem -0.75rem; }
    .about-layout { grid-template-columns: 1fr; gap: 3rem; }
    .about-photo-wrap { order: -1; }
    .photo-container { max-width: 320px; margin: 0 auto; }
    .services-grid { grid-template-columns: 1fr; }
    .markets-row { grid-template-columns: repeat(2, 1fr); }
    .contact-layout { grid-template-columns: 1fr; gap: 3rem; }
}

@media (max-width: 768px) {
    #header { grid-template-columns: auto 1fr auto; padding: 0 1rem; }
    .logo-img { height: 44px; }
    .header-socials { display: flex; gap: 0.6rem; }
    .nav-desktop { display: none; }
    .menu-toggle { display: block; }

    .hero-left { margin-top: 3.8rem; }
    .hero-left { transform: translateY(2.1rem); }
    .hero-name .word { font-size: clamp(3.2rem, 14vw, 5rem); }
    .hero-desc { font-size: 1.1rem; }
    .hero-ticker { flex-wrap: wrap; gap: 0.75rem; }
    .ticker-divider { display: none; }

    .stat-row { grid-template-columns: repeat(3, 1fr); gap: 1rem; }
    .sb-num { font-size: 1.8rem; }

    .markets-row { grid-template-columns: repeat(2, 1fr); gap: 1rem; }

    .photo-container { max-width: 280px; }
    .photo-badge { padding: 0.75rem 1rem; bottom: -0.75rem; right: -0.75rem; }
    .pb-num { font-size: 1.5rem; }

    /* Mobile background image — keep subject in frame */
    .hero-bg-img {
        object-position: 65% center;
        opacity: 0.55;
    }
    .hero-bg-overlay {
        background:
            radial-gradient(ellipse 70% 55% at 50% 40%, rgba(2,7,13,0.15) 0%, rgba(2,7,13,0.75) 100%),
            linear-gradient(180deg, rgba(2,7,13,0.4) 0%, rgba(2,7,13,0.6) 50%, rgba(2,7,13,0.98) 100%);
    }

    /* Chart toolbar — compact */
    .cw-toolbar { padding: 0.5rem 0.75rem; gap: 0.3rem; overflow-x: auto; }
    .cw-chip { padding: 0.3rem 0.7rem; font-size: 0.72rem; }
}

@media (max-width: 480px) {
    .hero-name .word { font-size: clamp(2.8rem, 13vw, 4rem); }
    .hero-actions { flex-direction: column; align-items: stretch; }
    .cta-main, .cta-ghost { text-align: center; justify-content: center; }
    .rule { gap: 1rem; }
    .rule-num { font-size: 1.8rem; width: 40px; }
}
