/* ============================================================
   Hero section (content + abstract dashboard stage)
   ============================================================ */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 86px 0 28px;
    overflow: hidden;
}
.hero__bg {
    position: absolute; inset: 0; z-index: 0;
    background:
        radial-gradient(900px 520px at 50% 18%, rgba(95, 225, 144, 0.18), transparent 55%),
        radial-gradient(700px 460px at 12% 12%, rgba(255,255,255,0.08), transparent 45%),
        radial-gradient(700px 460px at 88% 28%, rgba(97,214,255,0.08), transparent 45%),
        linear-gradient(180deg, rgba(255,255,255,0.02), transparent 35%),
        var(--bg);
}
.hero__inner {
    position: relative; z-index: 1;
    display: grid;
    grid-template-columns: 1fr;
    gap: 28px;
    justify-items: center;
    text-align: center;
}
.hero__content { max-width: 760px; }
.hero__eyebrow {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 9px 16px;
    border-radius: 999px;
    border: 1px solid rgba(97,214,255,0.16);
    background: rgba(255,255,255,0.04);
    color: #bfe8cf;
    letter-spacing: .02em;
    font-size: .82rem;
    font-weight: 600;
    margin-bottom: 18px;
}
.hero__title {
    font-size: clamp(2.7rem, 5.4vw, 4.9rem);
    max-width: 12ch;
    margin: 0 auto;
}
.hero__lead {
    color: var(--muted);
    font-size: 1rem;
    max-width: 600px;
    margin: 18px auto 22px;
}
.hero__actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px;
}

.hero__stage {
    width: min(100%, 1160px);
    display: grid;
    grid-template-columns: 0.78fr 1.44fr 0.78fr;
    gap: 18px;
    align-items: end;
    margin-top: 10px;
}
.hero-board {
    position: relative;
    min-height: 430px;
    padding: 20px;
    border-radius: 28px;
    border: 1px solid rgba(97,214,255,0.12);
    background: linear-gradient(180deg, rgba(12,14,18,0.92), rgba(8,9,12,0.96));
    box-shadow: 0 30px 80px rgba(0,0,0,0.55);
    overflow: hidden;
}
.hero-board__glow {
    position: absolute;
    left: -12%; top: -10%;
    width: 42%; height: 34%;
    background: radial-gradient(circle, rgba(255,255,255,0.35), rgba(97,214,255,0.18) 42%, transparent 72%);
    filter: blur(10px);
    opacity: .9;
}
.hero-board__ticker {
    position: absolute;
    top: 16px; left: 20px; right: 20px;
    z-index: 3;
    display: flex; align-items: center; gap: 12px;
    font-size: .82rem;
}
.tk-sym { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; color: var(--text); letter-spacing: .02em; }
.tk-dot {
    width: 8px; height: 8px; border-radius: 50%;
    background: #46e08f; box-shadow: 0 0 0 4px rgba(70,224,143,0.18);
    animation: tkPulse 1.8s ease-in-out infinite;
}
@keyframes tkPulse { 0%,100% { opacity: 1; } 50% { opacity: .35; } }
.tk-tf {
    padding: 2px 8px; border-radius: 6px;
    border: 1px solid rgba(97,214,255,0.16); background: rgba(255,255,255,0.04);
    color: var(--muted); font-size: .68rem; font-weight: 600;
}
.tk-price { color: var(--text); font-weight: 700; margin-left: auto; }
.tk-chg { font-weight: 700; font-size: .78rem; }
.tk-chg.up { color: #5fe39a; }
.tk-chg.down { color: #ff5d79; }
.hero-chart {
    position: absolute;
    left: 20px; right: 20px; bottom: 20px; top: 84px;
    border-radius: 24px;
    border: 1px solid rgba(255,255,255,0.04);
    background:
        radial-gradient(circle at 18% 28%, rgba(95,225,144,0.20), transparent 18%),
        radial-gradient(circle at 42% 46%, rgba(95,225,144,0.10), transparent 20%),
        linear-gradient(180deg, rgba(5,7,10,0.92), rgba(6,8,12,0.98));
    overflow: hidden;
}
.hero-chart::before {
    content: "";
    position: absolute; inset: 0;
    background-image: radial-gradient(circle, rgba(255,255,255,0.08) 1px, transparent 1.5px);
    background-size: 8px 8px;
    opacity: .35;
    mask-image: linear-gradient(180deg, rgba(0,0,0,0.9), transparent 92%);
}
.hero-chart__svg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
}
/* Candlestick chart */
.candle-wick {
    stroke-width: 2.4;
    vector-effect: non-scaling-stroke;
    opacity: 0;
    animation: candleFade .4s ease forwards;
}
.candle-body {
    transform-box: fill-box;
    transform-origin: bottom;
    transform: scaleY(0);
    animation: candleGrow .5s cubic-bezier(.2,.7,.3,1) forwards;
}
.candle-up   { fill: #46e08f; stroke: #46e08f; }
.candle-down { fill: #ff5d79; stroke: #ff5d79; }
.candle-ma {
    fill: none;
    stroke: url(#maGlow);
    stroke-width: 3;
    vector-effect: non-scaling-stroke;
    stroke-linecap: round;
    stroke-linejoin: round;
    filter: drop-shadow(0 0 6px rgba(245,199,106,0.45));
    stroke-dasharray: 2400;
    stroke-dashoffset: 2400;
    animation: maDraw 1.7s ease forwards .35s;
}
@keyframes candleGrow { to { transform: scaleY(1); } }
@keyframes candleFade { to { opacity: 1; } }
@keyframes maDraw { to { stroke-dashoffset: 0; } }
.hero-chart__tooltip {
    position: absolute;
    padding: 12px 14px;
    border-radius: 18px;
    border: 1px solid rgba(95,225,144,0.24);
    background: rgba(33,57,37,0.82);
    box-shadow: 0 20px 40px rgba(0,0,0,0.35);
}
.hero-chart__tooltip--main { left: 44%; bottom: 20%; }
.hero-chart__tooltip--left {
    left: 11%;
    bottom: 20%;
    background: rgba(10,12,16,0.86);
    border-color: rgba(97,214,255,0.14);
}
.hero-chart__tooltip small {
    display: block;
    color: #d7f0d8;
    font-size: .72rem;
    margin-bottom: 4px;
}
.hero-chart__tooltip strong { color: #adffbd; font-size: .96rem; }

.hero-float {
    position: relative;
    z-index: 2;
    padding: 18px;
    border-radius: 20px;
    border: 1px solid rgba(97,214,255,0.10);
    background: rgba(10,12,16,0.76);
    backdrop-filter: blur(14px);
    box-shadow: 0 20px 45px rgba(0,0,0,0.4);
}
.hero-float--left {
    min-height: 190px;
    align-self: center;
    background: radial-gradient(circle at 22% 18%, rgba(255,255,255,0.16), transparent 38%), rgba(9,12,16,0.72);
}
.hero-float--right { display: flex; flex-direction: column; gap: 10px; }
.hero-float__title {
    color: var(--gold-soft);
    font-size: .72rem;
    text-transform: uppercase;
    letter-spacing: .22em;
    margin-bottom: 12px;
}
.hero-float__list {
    list-style: none;
    display: grid;
    gap: 10px;
}
.hero-float__list li,
.hero-float__stat,
.hero-float__badge {
    padding: 10px 12px;
    border-radius: 14px;
    border: 1px solid rgba(97,214,255,0.08);
    background: rgba(255,255,255,0.03);
    color: var(--muted);
    font-size: .82rem;
}
.hero-float__tabs {
    display: flex;
    gap: 8px;
    margin-bottom: 4px;
}
.hero-float__tabs span {
    padding: 8px 10px;
    border-radius: 999px;
    border: 1px solid rgba(97,214,255,0.10);
    background: rgba(255,255,255,0.03);
    font-size: .72rem;
    color: var(--muted);
}
.hero-float__stat small {
    display: block;
    color: var(--muted);
    font-size: .68rem;
    letter-spacing: .12em;
    text-transform: uppercase;
    margin-bottom: 5px;
}
.hero-float__stat strong { color: var(--text); font-size: 1.1rem; }
.hero-float__badge {
    text-align: center;
    color: #bff1ca;
    background: linear-gradient(180deg, rgba(95,225,144,0.12), rgba(255,255,255,0.03));
}
