/* ═══════════════════════════════════════════════════════════════════
   GoodBoyTrader — Design System
   Premium dark fintech aesthetic. Telegram-native trading brand.
   ═══════════════════════════════════════════════════════════════════ */

:root {
    --bg-obsidian:   #0B0F14;
    --bg-graphite:   #11161D;
    --bg-surface:    #161C26;
    --bg-elevated:   #1C2430;
    --border-steel:  #202833;
    --border-subtle: #1A2030;

    --text-primary:  #EAF0F6;
    --text-body:     #CBD5E1;
    --text-muted:    #94A3B8;
    --text-dim:      #64748B;

    --gold:          #D6A84F;
    --gold-soft:     rgba(214,168,79,0.12);
    --gold-glow:     rgba(214,168,79,0.25);
    --green:         #22C55E;
    --green-soft:    rgba(34,197,94,0.12);
    --red:           #EF4444;
    --telegram:      #229ED9;
    --telegram-glow: rgba(34,158,217,0.35);

    --font-display:  'Outfit', system-ui, -apple-system, sans-serif;
    --font-mono:     'JetBrains Mono', 'Fira Code', monospace;

    --radius-sm:  8px;
    --radius-md:  14px;
    --radius-lg:  20px;
    --radius-xl:  28px;
    --radius-pill: 100px;

    --shadow-card: 0 2px 24px rgba(0,0,0,0.35);
    --shadow-glow-gold: 0 0 40px rgba(214,168,79,0.15);
    --shadow-glow-tg:   0 4px 30px var(--telegram-glow);

    --max-w: 1240px;
    --nav-h: 72px;
}

*, *::before, *::after { margin:0; padding:0; box-sizing:border-box; }
html { scroll-behavior:smooth; -webkit-text-size-adjust:100%; overflow-x:hidden; }

body {
    font-family: var(--font-display);
    background: var(--bg-obsidian);
    color: var(--text-body);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

a { color: inherit; text-decoration: none; }
img { display:block; max-width:100%; height:auto; }
ul, ol { list-style: none; }

.container { max-width: var(--max-w); margin: 0 auto; padding: 0 1.5rem; }

/* ─── Typography ─────────────────────────────────────────────────── */
h1, h2, h3, h4 {
    color: var(--text-primary);
    font-weight: 700;
    letter-spacing: -0.028em;
    line-height: 1.08;
}
h1 { font-size: clamp(2.4rem, 6vw, 4rem); }
h2 { font-size: clamp(1.8rem, 4vw, 2.75rem); }
h3 { font-size: clamp(1.15rem, 2.5vw, 1.4rem); }

.eyebrow {
    display: inline-block;
    font-family: var(--font-mono);
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--gold);
    text-transform: uppercase;
    letter-spacing: 0.12em;
    margin-bottom: 0.75rem;
}

.lead {
    font-size: clamp(1.02rem, 1.9vw, 1.2rem);
    color: var(--text-muted);
    max-width: 680px;
    line-height: 1.72;
}

.mono { font-family: var(--font-mono); }

/* ─── Buttons ────────────────────────────────────────────────────── */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.875rem 1.75rem;
    border-radius: var(--radius-sm);
    font-family: var(--font-display);
    font-size: 0.95rem;
    font-weight: 600;
    border: none;
    cursor: pointer;
    transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
    white-space: nowrap;
}
.btn:active { transform: scale(0.97); }

.btn-telegram {
    background: var(--telegram);
    color: #fff;
    box-shadow: var(--shadow-glow-tg);
}
.btn-telegram:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 40px var(--telegram-glow);
}

.btn-gold {
    background: linear-gradient(135deg, #D6A84F, #C4903A);
    color: #0B0F14;
    box-shadow: 0 4px 24px var(--gold-glow);
}
.btn-gold:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 36px var(--gold-glow);
}

.btn-outline {
    background: transparent;
    color: var(--text-primary);
    border: 1px solid var(--border-steel);
}
.btn-outline:hover {
    border-color: var(--gold);
    background: var(--gold-soft);
}

.btn-sm { padding: 0.6rem 1.25rem; font-size: 0.875rem; }
.btn-lg { padding: 1.1rem 2.25rem; font-size: 1.05rem; }
.btn-block { width: 100%; }

/* ─── Cards ──────────────────────────────────────────────────────── */
.card {
    background: var(--bg-surface);
    border: 1px solid rgba(32,40,51,0.7);
    border-radius: var(--radius-xl);
    padding: 2rem;
    transition: transform 0.35s ease, box-shadow 0.35s ease, border-color 0.35s ease;
    box-shadow: inset 0 1px 0 rgba(255,255,255,0.04);
}
.card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-card), inset 0 1px 0 rgba(255,255,255,0.06);
    border-color: rgba(214,168,79,0.18);
}
.card-flat { border-color: transparent; background: var(--bg-graphite); }
.card-flat:hover { border-color: var(--border-steel); }

.card-featured {
    border-color: var(--gold);
    box-shadow: var(--shadow-glow-gold);
    position: relative;
    background:
        linear-gradient(180deg, rgba(214,168,79,0.08), rgba(255,255,255,0.02)),
        var(--bg-surface);
}

.card-icon {
    width: 48px;
    height: 48px;
    background: var(--gold-soft);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    margin-bottom: 1.25rem;
    flex-shrink: 0;
}

/* ─── Navigation ─────────────────────────────────────────────────── */
.nav {
    position: fixed;
    top: 0; left: 0; right: 0;
    z-index: 1000;
    height: var(--nav-h);
    display: flex;
    align-items: center;
    padding: 0 1.5rem;
    background: rgba(11,15,20,0.8);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid transparent;
    transition: border-color 0.3s ease, background 0.3s ease;
}
.nav.scrolled {
    border-bottom-color: var(--border-steel);
    background: rgba(11,15,20,0.95);
}

.nav-inner {
    max-width: var(--max-w);
    width: 100%;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--text-primary);
}
.nav-logo span { color: var(--gold); }
.nav-logo img {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid rgba(214,168,79,0.25);
    transition: transform 0.3s ease;
}
.nav-logo:hover img { transform: rotate(-8deg) scale(1.08); }

.nav-links {
    display: flex;
    align-items: center;
    gap: 1.75rem;
}
.nav-links a {
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--text-muted);
    transition: color 0.25s ease;
    position: relative;
}
.nav-links a:hover,
.nav-links a.active { color: var(--text-primary); }

.nav-links a.active::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0; right: 0;
    height: 2px;
    background: var(--gold);
    border-radius: 1px;
}

.nav-cta { margin-left: 0.5rem; }

.mobile-toggle {
    display: none;
    background: none;
    border: none;
    color: var(--text-primary);
    font-size: 1.5rem;
    cursor: pointer;
    padding: 0.25rem;
}

.mobile-menu {
    display: none;
    position: fixed;
    top: var(--nav-h);
    left: 0; right: 0; bottom: 0;
    background: var(--bg-obsidian);
    z-index: 999;
    padding: 2rem 1.5rem;
    flex-direction: column;
    gap: 0.5rem;
}
.mobile-menu.open { display: flex; }
.mobile-menu a {
    display: block;
    padding: 1rem 0;
    font-size: 1.1rem;
    font-weight: 500;
    color: var(--text-body);
    border-bottom: 1px solid var(--border-steel);
}
.mobile-menu a:last-child { border-bottom: none; }
.mobile-menu .btn { margin-top: 1rem; }

/* ─── Sections ───────────────────────────────────────────────────── */
section { padding: 6.5rem 0; position: relative; }
section + section::before {
    content: '';
    position: absolute;
    top: 0; left: 10%; right: 10%;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--border-steel), transparent);
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
}
.section-header .lead { margin: 0.75rem auto 0; }

/* ─── Grids ──────────────────────────────────────────────────────── */
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.5rem; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem; }

/* ─── Trust Strip ────────────────────────────────────────────────── */
.trust-strip {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1rem 2rem;
    padding: 1.25rem 0;
}
.trust-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--text-muted);
}
.trust-item::before {
    content: '';
    width: 6px; height: 6px;
    background: var(--gold);
    border-radius: 50%;
    flex-shrink: 0;
}

/* ─── Stats ──────────────────────────────────────────────────────── */
.stat-block { text-align: center; }
.stat-value {
    font-family: var(--font-mono);
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--gold);
    line-height: 1.2;
}
.stat-label {
    font-size: 0.85rem;
    color: var(--text-dim);
    margin-top: 0.35rem;
}

/* ─── Pricing ────────────────────────────────────────────────────── */
.pricing-badge {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: linear-gradient(135deg, var(--gold), #C4903A);
    color: #0B0F14;
    font-size: 0.7rem;
    font-weight: 700;
    padding: 0.3rem 1rem;
    border-radius: var(--radius-pill);
    letter-spacing: 0.05em;
}

.pricing-price {
    font-size: 2.75rem;
    font-weight: 700;
    color: var(--text-primary);
    line-height: 1.1;
    margin: 0.75rem 0 0.5rem;
}
.pricing-price .period {
    font-size: 0.9rem;
    font-weight: 400;
    color: var(--text-dim);
}

.pricing-features li {
    display: flex;
    align-items: flex-start;
    gap: 0.65rem;
    margin-bottom: 0.85rem;
    font-size: 0.92rem;
    color: var(--text-body);
}
.pricing-features li::before {
    content: '✓';
    color: var(--green);
    font-weight: 700;
    flex-shrink: 0;
    margin-top: 0.05rem;
}

/* ─── FAQ ────────────────────────────────────────────────────────── */
.faq-item {
    border-bottom: 1px solid var(--border-steel);
}
.faq-question {
    width: 100%;
    background: none;
    border: none;
    color: var(--text-primary);
    font-family: var(--font-display);
    font-size: 1.05rem;
    font-weight: 600;
    text-align: left;
    padding: 1.25rem 0;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    transition: color 0.2s ease;
}
.faq-question:hover { color: var(--gold); }
.faq-chevron {
    font-size: 1.25rem;
    transition: transform 0.3s ease;
    flex-shrink: 0;
    color: var(--text-dim);
}
.faq-item.open .faq-chevron { transform: rotate(180deg); }
.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.35s ease, padding 0.35s ease;
    padding: 0 0;
}
.faq-item.open .faq-answer {
    max-height: 300px;
    padding: 0 0 1.25rem;
}
.faq-answer p {
    color: var(--text-muted);
    font-size: 0.95rem;
    line-height: 1.7;
}

/* ─── Footer ─────────────────────────────────────────────────────── */
.footer {
    padding: 2.5rem 0 1.5rem;
    border-top: 1px solid var(--border-steel);
}
.footer-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
    margin-bottom: 1.5rem;
}
.footer-row .nav-logo { flex-shrink: 0; }
.footer-nav {
    display: flex;
    align-items: center;
    gap: 1.75rem;
    flex-wrap: wrap;
}
.footer-nav a {
    font-size: 0.88rem;
    color: var(--text-muted);
    transition: color 0.2s ease;
    white-space: nowrap;
}
.footer-nav a:hover { color: var(--gold); }
.footer-social {
    display: flex;
    gap: 0.6rem;
    flex-shrink: 0;
}
.footer-social-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    border-radius: 8px;
    background: var(--bg-surface);
    border: 1px solid var(--border-subtle);
    color: var(--text-muted);
    transition: all 0.2s ease;
}
.footer-social-link:hover {
    color: var(--gold);
    border-color: var(--gold);
    background: rgba(234,179,8,0.06);
}
.footer-bottom {
    border-top: 1px solid var(--border-subtle);
    padding-top: 1.25rem;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: baseline;
    gap: 0.75rem;
}
.footer-copy {
    font-size: 0.8rem;
    color: var(--text-dim);
    margin: 0;
}
.footer-disclaimer {
    font-size: 0.75rem;
    color: var(--text-dim);
    opacity: 0.7;
    max-width: 600px;
    margin: 0;
}

/* ─── Hero Variant ───────────────────────────────────────────────── */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding-top: var(--nav-h);
    position: relative;
    overflow: hidden;
}
.hero-bg {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse 70% 50% at 50% -10%, var(--gold-soft) 0%, transparent 50%),
        radial-gradient(ellipse 50% 40% at 100% 0%, rgba(34,158,217,0.06) 0%, transparent 40%);
    pointer-events: none;
}
.hero-grid-bg {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(214,168,79,0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(214,168,79,0.03) 1px, transparent 1px);
    background-size: 56px 56px;
    mask-image: radial-gradient(ellipse at center, black 0%, transparent 65%);
    opacity: 0.6;
    pointer-events: none;
}

.page-hero {
    padding: calc(var(--nav-h) + 4rem) 0 4rem;
    text-align: center;
    position: relative;
    overflow: hidden;
}
.page-hero .lead { margin: 0.75rem auto 0; }

.page-hero-glow {
    position: relative;
    overflow: hidden;
}
.page-hero-glow::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse 70% 50% at 50% -5%, rgba(214,168,79,0.14) 0%, transparent 50%),
        radial-gradient(ellipse 50% 40% at 80% 20%, rgba(34,158,217,0.07) 0%, transparent 40%),
        radial-gradient(ellipse 40% 50% at 20% 60%, rgba(34,197,94,0.04) 0%, transparent 40%);
    pointer-events: none;
}
.page-hero-glow::after {
    content: '';
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(214,168,79,0.02) 1px, transparent 1px),
        linear-gradient(90deg, rgba(214,168,79,0.02) 1px, transparent 1px);
    background-size: 64px 64px;
    mask-image: radial-gradient(ellipse at center, black 0%, transparent 55%);
    opacity: 0.5;
    pointer-events: none;
}

.panel-glass {
    background: rgba(255,255,255,0.03);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border: 1px solid rgba(255,255,255,0.06);
    border-radius: var(--radius-xl);
    padding: 2rem 2.5rem;
    box-shadow: inset 0 1px 0 rgba(255,255,255,0.05), 0 8px 32px rgba(0,0,0,0.2);
}

.callout-panel {
    border-left: 3px solid var(--gold);
    background: rgba(214,168,79,0.04);
    border-radius: 0 var(--radius-md) var(--radius-md) 0;
    padding: 1.5rem 2rem;
    margin-bottom: 2.5rem;
}
.callout-panel p {
    color: var(--text-body);
    font-size: 0.95rem;
    line-height: 1.7;
}
.callout-panel strong {
    color: var(--text-primary);
}

.trust-pills {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.75rem;
    margin-top: 1.5rem;
}
.trust-pill {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.45rem 1rem;
    border-radius: var(--radius-pill);
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(255,255,255,0.08);
    font-size: 0.78rem;
    font-weight: 500;
    color: var(--text-muted);
}
.trust-pill::before {
    content: '✓';
    color: var(--green);
    font-weight: 700;
    font-size: 0.7rem;
}

.trust-bar {
    display: none;
}

.persona-label {
    font-size: 0.72rem;
    font-weight: 500;
    color: var(--text-dim);
    font-style: italic;
    margin-top: 0.25rem;
}

.text-gradient-gold {
    background: linear-gradient(135deg, #D6A84F 0%, #E8C878 50%, #D6A84F 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.section-number {
    width: 56px;
    height: 56px;
    border: 2px solid var(--gold);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-mono);
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--gold);
    margin: 0 auto 0.85rem;
    position: relative;
    box-shadow: 0 0 20px rgba(214,168,79,0.12);
}

.operating-loop {
    position: relative;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: flex-start;
    gap: 1.75rem 1rem;
    max-width: 1120px;
    margin: 0 auto;
    padding: 0.75rem 0 0.5rem;
}
.operating-loop .step-block {
    flex: 1 1 140px;
    max-width: 220px;
    margin: 0 auto;
    text-align: center;
    position: relative;
    z-index: 1;
}
.operating-loop .stepper-line {
    display: none;
}
@media (min-width: 960px) {
    .operating-loop {
        flex-wrap: nowrap;
        gap: 0.35rem;
    }
    .operating-loop .stepper-line {
        display: block;
        position: absolute;
        top: 28px;
        left: 8%;
        width: 84%;
        height: 2px;
        background: linear-gradient(
            90deg,
            rgba(214, 168, 79, 0.1),
            rgba(214, 168, 79, 0.45) 50%,
            rgba(214, 168, 79, 0.1)
        );
        transform-origin: left center;
        z-index: 0;
        pointer-events: none;
        border-radius: 2px;
    }
    .operating-loop .step-block {
        flex: 1 1 0;
        min-width: 0;
        max-width: none;
        margin: 0;
    }
}
@media (max-width: 959px) {
    .operating-loop .step-block {
        flex: 1 1 42%;
        max-width: none;
    }
}

/* ─── Reveal Animation ───────────────────────────────────────────── */
.reveal {
    opacity: 0;
    transform: translateY(32px);
    transition: opacity 0.65s cubic-bezier(0.22,1,0.36,1), transform 0.65s cubic-bezier(0.22,1,0.36,1);
}
.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}
.delay-1 { transition-delay: 0.08s; }
.delay-2 { transition-delay: 0.16s; }
.delay-3 { transition-delay: 0.24s; }
.delay-4 { transition-delay: 0.32s; }
.delay-5 { transition-delay: 0.40s; }
.delay-6 { transition-delay: 0.48s; }

/* ─── Realistic iPhone Mockup ─────────────────────────────────────── */
.iphone-wrap {
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
}
.iphone {
    position: relative;
    width: 320px;
    border-radius: 48px;
    background: #1A1A1A;
    padding: 14px;
    box-shadow:
        inset 0 0 0 2px #333,
        inset 0 0 0 4px #1A1A1A,
        0 40px 80px rgba(0,0,0,0.5),
        0 0 0 1px rgba(255,255,255,0.05);
}
.iphone::before {
    content: '';
    position: absolute;
    top: 14px;
    left: 50%;
    transform: translateX(-50%);
    width: 120px;
    height: 28px;
    background: #111;
    border-radius: 0 0 18px 18px;
    z-index: 10;
    box-shadow: inset 0 -1px 0 rgba(255,255,255,0.06);
}
.iphone::after {
    content: '';
    position: absolute;
    top: 14px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 28px;
    background: transparent;
    border-radius: 0 0 12px 12px;
    z-index: 11;
}
.iphone-side-btn {
    position: absolute;
    right: -3px;
    top: 120px;
    width: 3px;
    height: 48px;
    background: #333;
    border-radius: 0 3px 3px 0;
}
.iphone-side-btn-vol1 {
    position: absolute;
    left: -3px;
    top: 100px;
    width: 3px;
    height: 28px;
    background: #333;
    border-radius: 3px 0 0 3px;
}
.iphone-side-btn-vol2 {
    position: absolute;
    left: -3px;
    top: 140px;
    width: 3px;
    height: 28px;
    background: #333;
    border-radius: 3px 0 0 3px;
}
.iphone-screen {
    border-radius: 36px;
    overflow: hidden;
    background: #0E1621;
    position: relative;
}
.tg-status-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 24px 6px;
    font-size: 0.7rem;
    font-weight: 600;
    color: #fff;
    background: #0E1621;
    position: relative;
    z-index: 5;
}
.tg-status-time { font-size: 0.75rem; font-weight: 700; }
.tg-status-icons { display: flex; gap: 4px; align-items: center; font-size: 0.65rem; }
.tg-nav-bar {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 8px 16px 10px;
    background: #17212B;
    border-bottom: 1px solid rgba(255,255,255,0.06);
}
.tg-nav-back { color: var(--telegram); font-size: 1rem; }
.tg-nav-avatar {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    object-fit: cover;
    border: 1.5px solid rgba(214,168,79,0.3);
}
.tg-nav-info { flex: 1; }
.tg-nav-name {
    font-size: 0.82rem;
    font-weight: 600;
    color: #fff;
    font-family: var(--font-display);
}
.tg-nav-status {
    font-size: 0.65rem;
    color: var(--telegram);
    font-family: var(--font-display);
}
.tg-chat-body {
    padding: 12px 12px 16px;
    font-family: var(--font-mono);
    font-size: 0.72rem;
    line-height: 1.75;
    color: #A8B4C0;
    min-height: 360px;
}
.tg-bubble {
    background: #182533;
    border-radius: 12px 12px 12px 4px;
    padding: 10px 14px;
    margin-bottom: 8px;
    max-width: 95%;
    box-shadow: 0 1px 2px rgba(0,0,0,0.15);
}
.tg-bubble-time {
    font-size: 0.58rem;
    color: #5A6D7E;
    text-align: right;
    margin-top: 4px;
}
.tg-chat-body .tg-gold { color: var(--gold); }
.tg-chat-body .tg-green { color: #5EB96E; }
.tg-chat-body .tg-red { color: #E05D5D; }
.tg-chat-body .tg-white { color: #E4E6EB; }
.tg-chat-btns {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-top: 8px;
}
.tg-chat-btn {
    display: inline-block;
    background: transparent;
    border: 1px solid rgba(34,158,217,0.35);
    border-radius: 8px;
    padding: 6px 12px;
    font-size: 0.68rem;
    color: var(--telegram);
    font-family: var(--font-display);
    font-weight: 600;
}
.tg-input-bar {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 12px 12px;
    background: #0E1621;
}
.tg-input {
    flex: 1;
    background: #17212B;
    border: none;
    border-radius: 20px;
    padding: 8px 16px;
    font-size: 0.75rem;
    color: #8899A6;
    font-family: var(--font-display);
}
.tg-send-btn {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: var(--telegram);
    display: flex;
    align-items: center;
    justify-content: center;
}
.tg-send-btn svg { width: 14px; height: 14px; fill: #fff; }
.iphone-home-bar {
    width: 120px;
    height: 4px;
    background: rgba(255,255,255,0.2);
    border-radius: 2px;
    margin: 8px auto 4px;
}
.iphone-glow {
    position: absolute;
    width: 440px;
    height: 440px;
    border-radius: 50%;
    background:
        radial-gradient(circle, rgba(34,158,217,0.18) 0%, transparent 55%),
        radial-gradient(circle at 30% 40%, rgba(214,168,79,0.1) 0%, transparent 50%),
        radial-gradient(circle at 70% 60%, rgba(34,197,94,0.08) 0%, transparent 50%);
    filter: blur(50px);
    pointer-events: none;
    z-index: 0;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    animation: iphoneGlowPulse 4s ease-in-out infinite;
}
.iphone-glow-ring {
    position: absolute;
    width: 380px;
    height: 560px;
    border-radius: 60px;
    border: 1px solid rgba(34,158,217,0.08);
    box-shadow:
        0 0 60px rgba(34,158,217,0.06),
        inset 0 0 60px rgba(34,158,217,0.03);
    pointer-events: none;
    z-index: 0;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    animation: iphoneRingBreathe 5s ease-in-out infinite;
}
@keyframes iphoneGlowPulse {
    0%, 100% { opacity: 0.7; transform: translate(-50%, -50%) scale(1); }
    50% { opacity: 1; transform: translate(-50%, -50%) scale(1.06); }
}
@keyframes iphoneRingBreathe {
    0%, 100% { opacity: 0.5; transform: translate(-50%, -50%) scale(1); }
    50% { opacity: 0.8; transform: translate(-50%, -50%) scale(1.03); }
}

@media (max-width: 768px) {
    .iphone { width: 280px; border-radius: 42px; padding: 12px; }
    .iphone::before { width: 100px; height: 24px; border-radius: 0 0 14px 14px; top: 12px; }
    .iphone-screen { border-radius: 32px; }
    .tg-chat-body { min-height: 300px; }
}

/* ─── Legacy tg-mock (kept for inner pages) ──────────────────────── */
.tg-mock {
    background: var(--bg-graphite);
    border: 1px solid var(--border-steel);
    border-radius: var(--radius-lg);
    padding: 1.25rem;
    font-family: var(--font-mono);
    font-size: 0.8rem;
    line-height: 1.8;
    color: var(--text-muted);
    max-width: 420px;
    margin: 0 auto;
    box-shadow: var(--shadow-card);
}
.tg-mock .tg-header {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 1rem;
    padding-bottom: 0.75rem;
    border-bottom: 1px solid var(--border-steel);
    font-family: var(--font-display);
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text-primary);
}
.tg-mock .tg-dot {
    width: 8px; height: 8px;
    background: var(--green);
    border-radius: 50%;
    animation: tgPulse 2s infinite;
}
@keyframes tgPulse {
    0%, 100% { opacity:1; }
    50% { opacity:0.4; }
}
.tg-mock .tg-line { margin-bottom: 0.35rem; }
.tg-mock .tg-gold { color: var(--gold); }
.tg-mock .tg-green { color: var(--green); }
.tg-mock .tg-red { color: var(--red); }
.tg-mock .tg-btn {
    display: inline-block;
    background: var(--bg-elevated);
    border: 1px solid var(--border-steel);
    border-radius: var(--radius-sm);
    padding: 0.35rem 0.75rem;
    margin: 0.35rem 0.25rem 0 0;
    font-size: 0.75rem;
    color: var(--text-body);
}
.tg-mock .tg-btn-tg {
    background: rgba(34,158,217,0.15);
    border-color: rgba(34,158,217,0.3);
    color: var(--telegram);
}

/* ─── Steps ──────────────────────────────────────────────────────── */
.step-num {
    width: 48px; height: 48px;
    border: 2px solid var(--gold);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-mono);
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--gold);
    margin-bottom: 1rem;
    flex-shrink: 0;
}

/* ─── Exchange Logos ──────────────────────────────────────────────── */
.exchange-showcase {
    position: relative;
    overflow: hidden;
}
.exchange-showcase::before,
.exchange-showcase::after {
    content: '';
    position: absolute;
    inset: auto;
    pointer-events: none;
    filter: blur(40px);
    opacity: 0.6;
}
.exchange-showcase::before {
    width: 320px;
    height: 320px;
    top: 24px;
    left: 8%;
    background: radial-gradient(circle, rgba(34,197,94,0.12), transparent 70%);
}
.exchange-showcase::after {
    width: 420px;
    height: 420px;
    right: 6%;
    bottom: -120px;
    background: radial-gradient(circle, rgba(214,168,79,0.12), transparent 72%);
}
.exchange-strip {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 2.5rem;
}
.exchange-live-wrap {
    max-width: 320px;
    margin: 0 auto 2.25rem;
}
.exchange-item {
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.65rem;
    min-width: 180px;
    padding: 1.4rem 1.35rem 1.25rem;
    border-radius: 22px;
    background:
        linear-gradient(180deg, rgba(255,255,255,0.04), rgba(255,255,255,0.015)),
        rgba(255,255,255,0.02);
    border: 1px solid rgba(255,255,255,0.08);
    box-shadow:
        inset 0 1px 0 rgba(255,255,255,0.05),
        0 10px 30px rgba(0,0,0,0.24);
    transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease, background 0.3s ease;
}
.exchange-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.45), transparent);
    opacity: 0.55;
}
.exchange-item:hover {
    background:
        linear-gradient(180deg, rgba(255,255,255,0.06), rgba(255,255,255,0.02)),
        rgba(255,255,255,0.03);
    border-color: rgba(214,168,79,0.18);
    box-shadow:
        inset 0 1px 0 rgba(255,255,255,0.08),
        0 16px 36px rgba(0,0,0,0.3);
    transform: translateY(-5px);
}
.exchange-item.live {
    border-color: rgba(34,197,94,0.2);
    background:
        radial-gradient(circle at top, rgba(34,197,94,0.14), transparent 55%),
        linear-gradient(180deg, rgba(34,197,94,0.08), rgba(255,255,255,0.02));
}
.exchange-item.live.featured {
    min-width: 250px;
    padding: 1.65rem 1.5rem 1.45rem;
    box-shadow:
        inset 0 1px 0 rgba(255,255,255,0.06),
        0 18px 42px rgba(0,0,0,0.34),
        0 0 0 1px rgba(34,197,94,0.08);
}
.exchange-item.live.featured::after {
    content: '';
    position: absolute;
    inset: auto auto -80px 50%;
    width: 180px;
    height: 180px;
    transform: translateX(-50%);
    background: radial-gradient(circle, rgba(34,197,94,0.16), transparent 70%);
    filter: blur(18px);
    pointer-events: none;
}
.exchange-mark {
    width: 88px;
    height: 60px;
    border-radius: 18px;
    background: rgba(255,255,255,0.06);
    border: 1px solid rgba(255,255,255,0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow:
        inset 0 1px 0 rgba(255,255,255,0.08),
        0 8px 22px rgba(0,0,0,0.18);
}
.exchange-mark.icon { width: 76px; }
.exchange-mark.wordmark { width: 112px; }
.exchange-item.live.featured .exchange-mark {
    width: 112px;
    height: 76px;
    border-radius: 22px;
    background: rgba(255,255,255,0.08);
}
.exchange-item.live.featured img {
    max-width: 92px;
    max-height: 50px;
}
.exchange-item img {
    max-width: 74px;
    max-height: 38px;
    width: auto;
    height: auto;
    object-fit: contain;
    transition: transform 0.3s ease;
}
.exchange-item img.exchange-icon {
    max-width: 40px;
    max-height: 40px;
}
.exchange-item img.exchange-wordmark {
    max-width: 86px;
    max-height: 30px;
}
.exchange-item:hover img { transform: scale(1.06); }
.exchange-item .ex-title {
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--text-primary);
}
.exchange-item .ex-name {
    font-size: 0.8rem;
    font-weight: 500;
    color: var(--text-muted);
    text-align: center;
    line-height: 1.4;
}
.exchange-item.coming-soon { opacity: 0.88; }
.exchange-item.coming-soon:hover { opacity: 1; }
.exchange-item.coming-soon .ex-name { color: var(--gold); }
.exchange-chip {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.35rem;
    padding: 0.28rem 0.65rem;
    border-radius: 999px;
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    border: 1px solid rgba(255,255,255,0.08);
    margin-bottom: 0.15rem;
}
.exchange-chip.live {
    color: var(--green);
    background: rgba(34,197,94,0.12);
    border-color: rgba(34,197,94,0.25);
    box-shadow: 0 0 0 rgba(34,197,94,0.0);
}
.exchange-chip.live::before {
    content: '';
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--green);
    box-shadow: 0 0 10px rgba(34,197,94,0.6);
}
.exchange-live-note {
    font-size: 0.78rem;
    color: rgba(34,197,94,0.9);
    font-weight: 600;
    letter-spacing: 0.04em;
}
.exchange-chip.planned {
    color: var(--gold);
    background: rgba(214,168,79,0.1);
    border-color: rgba(214,168,79,0.2);
}
.exchange-item.brand-bitget:hover {
    border-color: rgba(34,231,161,0.28);
    box-shadow:
        inset 0 1px 0 rgba(255,255,255,0.08),
        0 18px 40px rgba(0,231,161,0.1);
}
.exchange-item.brand-binance:hover {
    border-color: rgba(240,185,11,0.32);
    box-shadow:
        inset 0 1px 0 rgba(255,255,255,0.08),
        0 18px 40px rgba(240,185,11,0.12);
}
.exchange-item.brand-okx:hover {
    border-color: rgba(255,255,255,0.18);
    box-shadow:
        inset 0 1px 0 rgba(255,255,255,0.08),
        0 18px 40px rgba(255,255,255,0.06);
}
.exchange-item.brand-bybit:hover {
    border-color: rgba(247,166,0,0.3);
    box-shadow:
        inset 0 1px 0 rgba(255,255,255,0.08),
        0 18px 40px rgba(247,166,0,0.1);
}
.exchange-item.brand-mexc:hover {
    border-color: rgba(44,165,224,0.28);
    box-shadow:
        inset 0 1px 0 rgba(255,255,255,0.08),
        0 18px 40px rgba(44,165,224,0.1);
}
.exchange-roadmap {
    position: relative;
    max-width: 980px;
    margin: 0 auto;
    padding: 0.35rem 0 0.25rem;
}
.exchange-roadmap::before {
    content: '';
    position: absolute;
    left: 9%;
    right: 9%;
    top: 44%;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(214,168,79,0.45), transparent);
    opacity: 0.8;
}
.exchange-roadmap::after {
    content: '';
    position: absolute;
    left: 12%;
    right: 12%;
    top: calc(44% - 8px);
    height: 16px;
    background:
        radial-gradient(circle at 8% 50%, rgba(214,168,79,0.35) 0 2px, transparent 3px),
        radial-gradient(circle at 34% 50%, rgba(214,168,79,0.28) 0 2px, transparent 3px),
        radial-gradient(circle at 66% 50%, rgba(214,168,79,0.28) 0 2px, transparent 3px),
        radial-gradient(circle at 92% 50%, rgba(214,168,79,0.35) 0 2px, transparent 3px);
    pointer-events: none;
    opacity: 0.7;
}
.exchange-strip-planned {
    position: relative;
    z-index: 1;
}
.ex-label {
    font-size: 0.7rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 1rem;
}
.ex-label-live { color: var(--green); }
.ex-label-soon { color: var(--gold); }
/* ─── Divider ────────────────────────────────────────────────────── */
.divider {
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--border-steel), transparent);
    margin: 0 auto;
    max-width: 80%;
}

/* ─── Responsive ─────────────────────────────────────────────────── */
@media (max-width: 1024px) {
    .grid-4 { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
    section { padding: 4.5rem 0; }

    .nav-links, .nav-cta { display: none; }
    .mobile-toggle { display: block; }

    .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }

    .hero { min-height: auto; padding: calc(var(--nav-h) + 3rem) 0 3rem; }

    .stat-value { font-size: 2rem; }

    .trust-strip { gap: 0.75rem 1.5rem; }

    .exchange-roadmap::before,
    .exchange-roadmap::after { display: none; }
    .exchange-live-wrap { max-width: 100%; }
    .exchange-item.live.featured { min-width: 100%; }
    .exchange-item { min-width: 140px; }
    .exchange-strip { gap: 1.25rem; }

    .iphone-glow-ring { display: none; }
    .iphone-glow { width: 300px; height: 300px; }

    /* flow-story mobile handled in dedicated block below */

    .hero-pills { gap: 0.5rem; }
    .hero-pill { padding: 0.45rem 0.75rem; font-size: 0.75rem; }

    img { max-width: 100%; height: auto; }
    .lead { max-width: 100%; }

    .footer-row {
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 1.25rem;
    }
    .footer-nav { justify-content: center; gap: 1rem; }
    .footer-social { justify-content: center; }
    .footer-bottom {
        flex-direction: column;
        text-align: center;
        gap: 0.5rem;
    }
    .footer-disclaimer { max-width: 100%; }
}

@media (max-width: 480px) {
    h1 { font-size: 2rem; }
    h2 { font-size: 1.6rem; }
    .card { padding: 1.5rem; }
    .btn-lg { padding: 0.9rem 1.5rem; font-size: 0.95rem; }
    .section-header { margin-bottom: 3rem; }
    .footer-nav { gap: 0.75rem; }
    .footer-nav a { font-size: 0.82rem; }
}

/* ─── Utility ────────────────────────────────────────────────────── */
.text-center { text-align: center; }
.text-gold { color: var(--gold); }
.text-green { color: var(--green); }
.text-muted { color: var(--text-muted); }
.mt-1 { margin-top: 0.5rem; }
.mt-2 { margin-top: 1rem; }
.mt-3 { margin-top: 1.5rem; }
.mt-4 { margin-top: 2rem; }
.mt-6 { margin-top: 3rem; }
.mb-2 { margin-bottom: 1rem; }
.mb-3 { margin-bottom: 1.5rem; }
.mx-auto { margin-left: auto; margin-right: auto; }
.gap-1 { gap: 0.5rem; }
.gap-2 { gap: 1rem; }
.gap-3 { gap: 1.5rem; }
.flex { display: flex; }
.flex-col { flex-direction: column; }
.flex-center { align-items: center; justify-content: center; }
.flex-wrap { flex-wrap: wrap; }
.inline-flex { display: inline-flex; }

/* ═══════════════════════════════════════════════════════════════════
   PREMIUM HOMEPAGE — Cinematic Layer (v2)
   ═══════════════════════════════════════════════════════════════════ */

/* ─── Cinematic Hero ─────────────────────────────────────────────── */
.hero-v2 {
    --hero-spotlight-x: 72%;
    --hero-spotlight-y: 24%;
    --hero-bg-x: 0px;
    --hero-bg-y: 0px;
    --hero-grid-x: 0px;
    --hero-grid-y: 0px;
    --hero-text-x: 0px;
    --hero-text-y: 0px;
    --hero-orbit-x: 0px;
    --hero-orbit-y: 0px;
    --hero-orbit-tilt-x: 0deg;
    --hero-orbit-tilt-y: 0deg;
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding-top: var(--nav-h);
    position: relative;
    overflow: hidden;
    background: var(--bg-obsidian);
    isolation: isolate;
}
.hero-v2-bg {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at var(--hero-spotlight-x) var(--hero-spotlight-y), rgba(255,255,255,0.11) 0%, transparent 12%),
        radial-gradient(circle at calc(var(--hero-spotlight-x) - 14%) calc(var(--hero-spotlight-y) + 18%), rgba(214,168,79,0.12) 0%, transparent 18%),
        radial-gradient(circle at calc(var(--hero-spotlight-x) + 18%) calc(var(--hero-spotlight-y) + 10%), rgba(34,158,217,0.07) 0%, transparent 22%),
        radial-gradient(ellipse 78% 56% at 50% -5%, rgba(214,168,79,0.14) 0%, transparent 48%);
    pointer-events: none;
    transform: translate3d(var(--hero-bg-x), var(--hero-bg-y), 0) scale(1.05);
    transition: transform 0.25s ease-out, opacity 0.25s ease-out;
    will-change: transform, opacity;
}
.hero-v2-grid {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(214,168,79,0.025) 1px, transparent 1px),
        linear-gradient(90deg, rgba(214,168,79,0.025) 1px, transparent 1px);
    background-size: 64px 64px;
    mask-image: radial-gradient(ellipse at center, black 0%, transparent 60%);
    opacity: 0.7;
    pointer-events: none;
    transform: translate3d(var(--hero-grid-x), var(--hero-grid-y), 0) scale(1.02);
    transition: transform 0.3s ease-out, opacity 0.3s ease-out;
    will-change: transform;
}
.hero-v2-inner {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}
.hero-v2-text {
    max-width: 600px;
    transform: translate3d(var(--hero-text-x), var(--hero-text-y), 0);
    transition: transform 0.25s ease-out;
    will-change: transform;
}
.hero-v2-text h1 {
    text-wrap: balance;
    text-shadow: 0 18px 48px rgba(0,0,0,0.32);
    max-width: 11ch;
}
.hero-v2-text .lead {
    text-shadow: 0 10px 30px rgba(0,0,0,0.18);
    max-width: 34ch;
}
.hero-v2-visual {
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    perspective: 1200px;
}
.hero-v2-visual::before,
.hero-v2-visual::after {
    content: '';
    position: absolute;
    border-radius: 50%;
    pointer-events: none;
}
.hero-v2-visual::before {
    width: 430px;
    height: 430px;
    background: radial-gradient(circle, rgba(214,168,79,0.13) 0%, rgba(214,168,79,0.04) 34%, transparent 70%);
    filter: blur(12px);
    opacity: 0.62;
    animation: heroHaloPulse 7s ease-in-out infinite;
}
.hero-v2-visual::after {
    width: 360px;
    height: 360px;
    background: linear-gradient(115deg, rgba(255,255,255,0) 34%, rgba(214,168,79,0.10) 49%, rgba(255,255,255,0) 64%);
    filter: blur(4px);
    opacity: 0.22;
    animation: heroBeamSweep 7.5s ease-in-out infinite;
}
.hero-v2-orbit {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2;
    transform: translate3d(var(--hero-orbit-x), var(--hero-orbit-y), 0) rotateX(var(--hero-orbit-tilt-x)) rotateY(var(--hero-orbit-tilt-y));
    transition: transform 0.25s ease-out;
    will-change: transform;
    transform-style: preserve-3d;
}
.hero-v2-img {
    width: 340px;
    height: 340px;
    max-width: 100%;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid rgba(214,168,79,0.2);
    box-shadow:
        0 24px 72px rgba(0,0,0,0.36),
        0 0 0 1px rgba(255,255,255,0.05);
    animation: heroFloat 4.6s ease-in-out infinite;
    position: relative;
    z-index: 2;
    will-change: transform;
}
.hero-v2-ring {
    position: absolute;
    width: 400px;
    height: 400px;
    border-radius: 50%;
    border: 1px solid rgba(214,168,79,0.12);
    box-shadow:
        0 0 56px rgba(214,168,79,0.06),
        inset 0 0 40px rgba(214,168,79,0.03);
    animation: heroRingSpin 30s linear infinite, heroRingPulse 6s ease-in-out infinite;
    z-index: 1;
}
.hero-v2-ring::before {
    content: '';
    position: absolute;
    top: -2px; left: 50%;
    width: 6px; height: 6px;
    background: var(--gold);
    border-radius: 50%;
    box-shadow: 0 0 12px var(--gold);
}
.hero-v2-ring::after {
    content: '';
    position: absolute;
    inset: 22px;
    border-radius: 50%;
    border: 1px dashed rgba(255,255,255,0.08);
    opacity: 0.75;
}
@keyframes heroFloat {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-8px); }
}
@keyframes heroRingSpin {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}
@keyframes heroRingPulse {
    0%, 100% { box-shadow: 0 0 80px rgba(214,168,79,0.08), inset 0 0 80px rgba(214,168,79,0.04); }
    50% { box-shadow: 0 0 110px rgba(214,168,79,0.14), inset 0 0 90px rgba(214,168,79,0.08); }
}
@keyframes heroHaloPulse {
    0%, 100% { transform: scale(0.98); opacity: 0.58; }
    50% { transform: scale(1.04); opacity: 0.88; }
}
@keyframes heroBeamSweep {
    0%, 100% { transform: translate3d(-28px, 18px, 0) rotate(-9deg); opacity: 0.18; }
    50% { transform: translate3d(28px, -18px, 0) rotate(8deg); opacity: 0.58; }
}

/* ─── Floating Stat Pills ────────────────────────────────────────── */
.hero-pills {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-top: 2rem;
}
.hero-pill {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.55rem 1rem;
    border-radius: var(--radius-pill);
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(255,255,255,0.08);
    font-size: 0.82rem;
    font-weight: 600;
    color: var(--text-body);
    backdrop-filter: blur(8px);
    animation: pillFadeIn 0.6s ease both;
    box-shadow:
        inset 0 1px 0 rgba(255,255,255,0.05),
        0 14px 40px rgba(0,0,0,0.22);
    transition: transform 0.25s ease, border-color 0.25s ease, background 0.25s ease, box-shadow 0.25s ease;
}
.hero-pill:hover {
    transform: translateY(-3px);
    border-color: rgba(214,168,79,0.2);
    background: rgba(255,255,255,0.06);
    box-shadow:
        inset 0 1px 0 rgba(255,255,255,0.07),
        0 18px 44px rgba(0,0,0,0.28);
}
.hero-pill .pill-val {
    font-family: var(--font-mono);
    font-weight: 700;
    color: var(--gold);
}
.hero-pill .pill-dot {
    width: 6px; height: 6px;
    border-radius: 50%;
    flex-shrink: 0;
}
.pill-dot-green { background: var(--green); box-shadow: 0 0 8px rgba(34,197,94,0.5); }
.pill-dot-gold { background: var(--gold); box-shadow: 0 0 8px rgba(214,168,79,0.5); }
@keyframes pillFadeIn {
    from { opacity: 0; transform: translateY(8px); }
    to { opacity: 1; transform: translateY(0); }
}

/* ─── Stat Marquee ───────────────────────────────────────────────── */
.marquee-wrap {
    overflow: hidden;
    padding: 1.25rem 0;
    background: var(--bg-graphite);
    border-top: 1px solid var(--border-steel);
    border-bottom: 1px solid var(--border-steel);
}
.marquee-track {
    display: flex;
    gap: 3rem;
    width: max-content;
    animation: marqueeScroll 40s linear infinite;
}
.marquee-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.85rem;
    color: var(--text-muted);
    white-space: nowrap;
    flex-shrink: 0;
}
.marquee-item strong {
    font-family: var(--font-mono);
    font-weight: 700;
    color: var(--gold);
}
.marquee-item .mq-dot {
    width: 4px; height: 4px;
    background: var(--border-steel);
    border-radius: 50%;
    flex-shrink: 0;
}
@keyframes marqueeScroll {
    from { transform: translateX(0); }
    to { transform: translateX(-50%); }
}

/* ─── Flow Story (Scroll-Driven) ─────────────────────────────────── */
.flow-story {
    position: relative;
    overflow: visible;
    padding-bottom: 4rem;
}
.flow-story-track {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 1.5rem;
    position: relative;
}
.flow-story-sticky {
    position: sticky;
    top: calc(var(--nav-h, 72px) + 2rem);
    height: fit-content;
    display: flex;
    align-items: flex-start;
    justify-content: center;
    padding: 3rem 0;
}
.flow-story-sticky.gsap-pinned {
    position: relative;
    top: auto;
}
.flow-story-visual {
    position: relative;
    width: 220px;
    height: 220px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
}
.flow-story-ring {
    position: absolute;
    inset: 0;
    border-radius: 50%;
    border: 2px solid var(--border-steel);
    opacity: 0.35;
    animation: flow-ring-pulse 4s ease-in-out infinite;
}
@keyframes flow-ring-pulse {
    0%, 100% { transform: scale(1); opacity: 0.35; }
    50% { transform: scale(1.06); opacity: 0.18; }
}
.flow-story-icon {
    font-size: 3.5rem;
    line-height: 1;
    transition: transform 0.5s cubic-bezier(0.23, 1, 0.32, 1), opacity 0.4s ease;
    filter: drop-shadow(0 0 20px rgba(214,168,79,0.3));
}
.flow-story-step-label {
    margin-top: 1.2rem;
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--text-dim);
    letter-spacing: 0.08em;
    text-transform: uppercase;
}
.flow-story-step-num {
    color: var(--gold);
}
.flow-story-progress {
    position: absolute;
    inset: -6px;
    width: calc(100% + 12px);
    height: calc(100% + 12px);
    transform: rotate(-90deg);
}
.flow-story-progress-bg {
    fill: none;
    stroke: var(--border-steel);
    stroke-width: 2;
    opacity: 0.2;
}
.flow-story-progress-fill {
    fill: none;
    stroke: var(--gold);
    stroke-width: 2.5;
    stroke-linecap: round;
    stroke-dasharray: 565.48;
    stroke-dashoffset: 565.48;
    transition: stroke-dashoffset 0.7s cubic-bezier(0.23, 1, 0.32, 1);
}

/* Steps column */
.flow-story-steps {
    display: flex;
    flex-direction: column;
    gap: 0;
    position: relative;
    padding-left: 2rem;
}
.flow-story-steps::before {
    content: '';
    position: absolute;
    left: 0;
    top: 3rem;
    bottom: 3rem;
    width: 2px;
    background: var(--border-steel);
    opacity: 0.25;
}
.flow-story-line-fill {
    position: absolute;
    left: 0;
    top: 3rem;
    bottom: 3rem;
    width: 2px;
    background: linear-gradient(180deg, rgba(214,168,79,0.16), rgba(214,168,79,0.85) 45%, rgba(214,168,79,0.16));
    transform: scaleY(0);
    transform-origin: top center;
    z-index: 1;
    border-radius: 2px;
    pointer-events: none;
}
.flow-story-step {
    position: relative;
    padding: 3rem 0 3rem 1.5rem;
    opacity: 0.25;
    transform: translateY(12px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}
.flow-story-step.is-active {
    opacity: 1;
    transform: translateY(0);
}
.flow-story-step-marker {
    position: absolute;
    left: -2rem;
    top: 3.5rem;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: var(--border-steel);
    border: 2px solid var(--bg-graphite, #1a1a2e);
    transition: background 0.4s ease, box-shadow 0.4s ease, transform 0.4s ease;
    z-index: 2;
}
.flow-story-step.is-active .flow-story-step-marker {
    background: var(--gold);
    box-shadow: 0 0 16px var(--gold-glow);
    transform: scale(1.3);
}
.flow-story-step-content h3 {
    font-size: 1.35rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 0.6rem;
}
.flow-story-step-content p {
    font-size: 0.95rem;
    color: var(--text-muted);
    line-height: 1.7;
    margin-bottom: 1rem;
}
.flow-story-detail {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}
.flow-story-tag {
    display: inline-block;
    padding: 0.3rem 0.7rem;
    background: rgba(214,168,79,0.08);
    border: 1px solid rgba(214,168,79,0.18);
    border-radius: 999px;
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--gold);
    letter-spacing: 0.02em;
}

/* ─── Premium Section Glow ───────────────────────────────────────── */
.section-glow {
    position: relative;
}
.section-glow::after {
    content: '';
    position: absolute;
    bottom: -200px;
    left: 50%;
    transform: translateX(-50%);
    width: 600px;
    height: 400px;
    background: radial-gradient(ellipse, rgba(214,168,79,0.06), transparent 70%);
    pointer-events: none;
    filter: blur(40px);
}

/* ─── Responsive v2 ──────────────────────────────────────────────── */
@media (max-width: 768px) {
    .hero-v2 { min-height: auto; padding: calc(var(--nav-h) + 2rem) 0 2rem; }
    .hero-v2-inner { grid-template-columns: 1fr; text-align: center; }
    .hero-v2-text { max-width: 100%; }
    .hero-v2-visual { margin-top: 2rem; }
    .hero-v2-visual::before { width: 340px; height: 340px; }
    .hero-v2-visual::after { width: 300px; height: 300px; opacity: 0.32; }
    .hero-v2-img { width: 220px; height: 220px; }
    .hero-v2-ring { width: 260px; height: 260px; }
    .hero-pills { justify-content: center; }

    .hero-v2-text .flex { justify-content: center; }
    .hero-v2-text .btn-lg {
        width: 100%;
        justify-content: center;
    }
    .hero-v2-text h1,
    .hero-v2-text .lead {
        max-width: none;
    }

    .flow-story-track {
        grid-template-columns: 1fr;
        gap: 0;
        padding: 0 1rem;
    }
    .flow-story-sticky {
        position: relative;
        top: auto;
        padding: 2rem 0 1rem;
    }
    .flow-story-visual { width: 160px; height: 160px; }
    .flow-story-icon { font-size: 2.8rem; }
    .flow-story-progress { inset: -4px; width: calc(100% + 8px); height: calc(100% + 8px); }
    .flow-story-steps { padding-left: 1.5rem; }
    .flow-story-steps::before { left: 0; top: 0; bottom: 0; }
    .flow-story-line-fill { left: 0; top: 0; bottom: 0; }
    .flow-story-step { padding: 2rem 0 2rem 1.2rem; }
    .flow-story-step-marker { left: -1.5rem; top: 2.5rem; }
    .flow-story-step-content h3 { font-size: 1.15rem; }
    .flow-story-step-content p { font-size: 0.88rem; }

    .exchange-mark { width: 72px; height: 52px; border-radius: 14px; }
    .exchange-item img { max-width: 56px; max-height: 32px; }
    .exchange-item.live.featured .exchange-mark { width: 88px; height: 60px; }
    .exchange-item.live.featured img { max-width: 72px; max-height: 42px; }

    .iphone { width: 260px; border-radius: 38px; padding: 10px; }
    .iphone::before { width: 90px; height: 22px; border-radius: 0 0 12px 12px; top: 10px; }
    .iphone-screen { border-radius: 30px; }
    .tg-chat-body { min-height: 280px; font-size: 0.68rem; }
    .tg-nav-name { font-size: 0.78rem; }
}
@media (max-width: 480px) {
    .hero-v2-img { width: 180px; height: 180px; }
    .hero-v2-ring { width: 220px; height: 220px; }
    .hero-v2-visual::before { width: 280px; height: 280px; }
    .hero-v2-visual::after { width: 240px; height: 240px; }
    .exchange-mark { width: 64px; height: 46px; }
    .exchange-item img { max-width: 48px; max-height: 28px; }
    .exchange-item { min-width: 120px; padding: 1rem 0.75rem; }
}

/* ─── iPhone Premium Enhancements ──────────────────────────────── */
.iphone {
    box-shadow:
        inset 0 0 0 2px #444,
        inset 0 0 0 4px #1A1A1A,
        0 40px 80px rgba(0,0,0,0.55),
        0 0 0 1px rgba(255,255,255,0.08),
        0 2px 0 rgba(255,255,255,0.06);
}
.iphone-screen::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(255,255,255,0.06) 0%, transparent 40%);
    pointer-events: none;
    z-index: 20;
    border-radius: inherit;
}

.tg-typing-indicator {
    display: flex;
    align-items: center;
    gap: 3px;
    padding: 6px 0 2px;
}
.tg-typing-indicator span:nth-child(-n+3) {
    display: block;
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: #5A6D7E;
    animation: typingBounce 1.2s ease-in-out infinite;
}
.tg-typing-indicator span:nth-child(2) { animation-delay: 0.15s; }
.tg-typing-indicator span:nth-child(3) { animation-delay: 0.3s; }
@keyframes typingBounce {
    0%, 60%, 100% { opacity: 0.3; transform: translateY(0); }
    30% { opacity: 1; transform: translateY(-3px); }
}

.tg-chat-btn {
    transition: background 0.2s ease, border-color 0.2s ease;
}

/* ─── Stats Glassmorphism Row ─────────────────────────────────── */
.stats-row {
    display: flex;
    justify-content: center;
    gap: 1px;
    max-width: 960px;
    margin: 0 auto;
    border-radius: var(--radius-lg);
    overflow: hidden;
    background: rgba(255,255,255,0.04);
    border: 1px solid var(--border-steel);
}
.stat-card {
    flex: 1;
    text-align: center;
    padding: 2rem 1.25rem;
    background: rgba(255,255,255,0.02);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    position: relative;
}
.stat-card + .stat-card::before {
    content: '';
    position: absolute;
    left: 0;
    top: 20%;
    height: 60%;
    width: 1px;
    background: linear-gradient(180deg, transparent, var(--border-steel), transparent);
}
@media (max-width: 768px) {
    .stats-row { flex-wrap: wrap; gap: 0; }
    .stat-card { flex: 1 1 50%; min-width: 140px; padding: 1.5rem 1rem; }
    .stat-card + .stat-card::before { display: none; }
}
@media (max-width: 480px) {
    .stat-card { flex: 1 1 50%; }
}

/* ─── Why Different Grid ──────────────────────────────────────── */
.diff-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    max-width: 820px;
    margin: 0 auto;
}
.diff-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 1.35rem 1.6rem;
    border-left: 2px solid var(--gold);
    background: rgba(255,255,255,0.02);
    border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
    transition: background 0.3s ease;
}
.diff-item:hover {
    background: rgba(214,168,79,0.04);
}
.diff-item strong {
    color: var(--text-primary);
    font-size: 0.95rem;
}
.diff-icon {
    width: 36px;
    height: 36px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(214,168,79,0.08);
    border-radius: var(--radius-sm);
    border: 1px solid rgba(214,168,79,0.12);
}
@media (max-width: 768px) {
    .diff-grid { grid-template-columns: 1fr; }
}

/* ─── Steps Timeline ──────────────────────────────────────────── */
.steps-timeline {
    max-width: 640px;
    margin: 0 auto;
    position: relative;
    padding-left: 2.5rem;
}
.steps-timeline::before {
    content: '';
    position: absolute;
    left: 15px;
    top: 0;
    bottom: 0;
    width: 2px;
    background: linear-gradient(180deg, var(--gold), rgba(214,168,79,0.15));
}
.timeline-item {
    position: relative;
    padding: 0 0 2.5rem;
}
.timeline-item:last-child { padding-bottom: 0; }
.timeline-marker {
    position: absolute;
    left: -2.5rem;
    top: 0;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: var(--bg-surface);
    border: 2px solid var(--gold);
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-mono);
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--gold);
    z-index: 1;
}
.timeline-content h3 {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 0.35rem;
}

.panel-glass > .lead,
.panel-glass p,
.callout-panel p {
    text-wrap: pretty;
}

.section-cta {
    padding: 6rem 0;
}
.section-cta .cta-block {
    max-width: 680px;
    margin: 0 auto;
}
.section-cta h2 {
    margin-bottom: 0;
    line-height: 1.2;
}

@media (max-width: 768px) {
    .section-cta { padding: 4rem 0; }
    .section-cta h2 br { display: none; }
}
@media (max-width: 480px) {
    .section-cta { padding: 3.5rem 0; }
}

/* ─── Pricing Animated Border ─────────────────────────────────── */
.card-animated-border {
    position: relative;
    overflow: visible;
}
.card-animated-border::before {
    content: '';
    position: absolute;
    inset: -1px;
    border-radius: inherit;
    padding: 1px;
    background: conic-gradient(
        from var(--border-angle, 0deg),
        var(--gold) 0%,
        transparent 15%,
        transparent 50%,
        var(--gold) 65%,
        transparent 80%,
        transparent 100%
    );
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    animation: rotateBorder 6s linear infinite;
    pointer-events: none;
    z-index: 1;
}
@keyframes rotateBorder {
    to { --border-angle: 360deg; }
}
@property --border-angle {
    syntax: '<angle>';
    initial-value: 0deg;
    inherits: false;
}
.btn-gold {
    position: relative;
    overflow: hidden;
}
.btn-gold::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 50%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.15), transparent);
    transition: none;
    animation: btnShine 3s ease-in-out infinite;
}
@keyframes btnShine {
    0%, 100% { left: -100%; }
    50% { left: 150%; }
}

/* ─── Section Transition Gradients ────────────────────────────── */
.section-glow {
    position: relative;
}
.section-glow::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 120px;
    background: linear-gradient(180deg, var(--bg-graphite), transparent);
    pointer-events: none;
    z-index: 0;
}

/* ─── Exchange Frosted & Pulse ────────────────────────────────── */
.exchange-item.coming-soon {
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    background:
        linear-gradient(180deg, rgba(255,255,255,0.03), rgba(255,255,255,0.01)),
        var(--bg-surface);
}
.pulse-dot {
    display: inline-block;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--green);
    margin-right: 4px;
    animation: pulseDot 2s ease-in-out infinite;
    vertical-align: middle;
}
@keyframes pulseDot {
    0%, 100% { opacity: 1; box-shadow: 0 0 0 0 rgba(34,197,94,0.4); }
    50% { opacity: 0.7; box-shadow: 0 0 0 4px rgba(34,197,94,0); }
}

@media (max-width: 768px) {
    .panel-glass {
        padding: 1.5rem;
        backdrop-filter: blur(8px);
        -webkit-backdrop-filter: blur(8px);
    }
    .trust-bar { display: none; }
    .trust-pills { gap: 0.5rem; }
    .trust-pill { font-size: 0.72rem; padding: 0.35rem 0.75rem; }
    .callout-panel { padding: 1.25rem 1.5rem; }
    .page-hero-glow::after { display: none; }
}

@media (prefers-reduced-motion: reduce) {
    .hero-v2-bg,
    .hero-v2-grid,
    .hero-v2-text,
    .hero-v2-orbit,
    .hero-pill {
        transition: none;
    }

    .hero-v2-img,
    .hero-v2-ring,
    .hero-v2-visual::before,
    .hero-v2-visual::after {
        animation: none;
    }

    .flow-story-ring { animation: none; }
    .flow-story-step {
        opacity: 1;
        transform: none;
        transition: none;
    }
    .flow-story-step-marker { transition: none; }
    .flow-story-icon { transition: none; }
    .flow-story-progress-fill { transition: none; }
    .tg-typing-indicator span { animation: none; opacity: 0.5; }
    .card-animated-border::before { animation: none; }
    .btn-gold::after { animation: none; display: none; }
    .pulse-dot { animation: none; }
}
