/* ================= Ozera AVN — Landing ================= */
:root {
    --bg: #060907;
    --bg-2: #0b100d;
    --card: #0f1612;
    --card-2: #132018;
    --line: rgba(255, 255, 255, .08);
    --line-2: rgba(255, 255, 255, .14);
    --accent: #22e66a;
    --accent-2: #16b355;
    --accent-deep: #0b3d1f;
    --accent-glow: rgba(34, 230, 106, .35);
    --text: #eef3f2;
    --muted: #8c9896;
    --muted-2: #5f6b64;
    --radius: 22px;
    --font-display: 'Poppins', system-ui, sans-serif;
    --font-body: 'Poppins', system-ui, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    margin: 0;
    font-family: var(--font-body);
    color: var(--text);
    background: var(--bg);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
    overflow-x: clip;
    position: relative;
}
/* Edge glows, like the reference */
body::before {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: -1;
    background:
        radial-gradient(520px 520px at -6% 2%, rgba(34, 230, 106, .22), transparent 70%),
        radial-gradient(520px 620px at 106% 4%, rgba(34, 230, 106, .16), transparent 70%),
        radial-gradient(420px 520px at -8% 30%, rgba(34, 230, 106, .14), transparent 70%),
        radial-gradient(460px 560px at 108% 48%, rgba(34, 230, 106, .12), transparent 70%),
        radial-gradient(520px 520px at -6% 92%, rgba(34, 230, 106, .2), transparent 70%),
        radial-gradient(520px 520px at 106% 96%, rgba(34, 230, 106, .14), transparent 70%);
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4, h5 { font-family: var(--font-display); font-weight: 400; margin: 0; letter-spacing: -.02em; }
p { margin: 0; }
.container { width: min(1180px, 100% - 40px); margin-inline: auto; }

.icon { width: 1.1em; height: 1.1em; flex-shrink: 0; }

/* ---------- Buttons ---------- */
.btn {
    display: inline-flex;
    align-items: center;
    gap: .5em;
    padding: .8em 1.4em;
    border-radius: 999px;
    font: 500 .92rem var(--font-body);
    border: 1px solid transparent;
    cursor: pointer;
    transition: transform .2s, box-shadow .2s, background .2s, border-color .2s;
    white-space: nowrap;
}
.btn .icon { width: 1em; height: 1em; transition: transform .2s; }
.btn:hover .icon { transform: translateX(2px); }
.btn-sm { padding: .6em 1.15em; font-size: .85rem; }
.btn-primary { background: var(--accent); color: #031408; box-shadow: 0 0 0 0 var(--accent-glow); }
.btn-primary:hover { box-shadow: 0 8px 28px -6px var(--accent-glow); transform: translateY(-1px); }
.btn-ghost { background: rgba(255, 255, 255, .04); color: var(--text); border-color: var(--line-2); }
.btn-ghost:hover { border-color: rgba(34, 230, 106, .5); background: rgba(34, 230, 106, .06); }

/* ---------- Nav ---------- */
.nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 22px 0;
    position: relative;
    z-index: 20;
}
.brand { display: flex; align-items: center; gap: 10px; font: 500 1.15rem var(--font-display); letter-spacing: -.01em; }
.brand img { width: 34px; height: 34px; object-fit: contain; filter: drop-shadow(0 0 10px rgba(34, 230, 106, .35)); }
.nav-links {
    list-style: none;
    margin: 0;
    padding: 5px;
    display: flex;
    gap: 2px;
    background: rgba(255, 255, 255, .03);
    border: 1px solid var(--line);
    border-radius: 999px;
}
.nav-links a {
    display: block;
    padding: 7px 15px;
    border-radius: 999px;
    font-size: .85rem;
    color: #c5cfcd;
    border: 1px solid transparent;
    transition: color .2s, border-color .2s, background .2s;
}
.nav-links a:hover { color: #fff; }
.nav-links a.active { color: #fff; border-color: var(--line-2); background: rgba(255, 255, 255, .05); }
.nav-links-cta { display: none; }
.nav-toggle { display: none; background: none; border: 1px solid var(--line-2); color: var(--text); width: 42px; height: 42px; border-radius: 12px; cursor: pointer; place-items: center; }
.nav-toggle .icon { width: 22px; height: 22px; }
.nav-toggle .icon-close { display: none; }
.nav.open .nav-toggle .icon-open { display: none; }
.nav.open .nav-toggle .icon-close { display: block; }

/* ---------- Hero ---------- */
.hero-wrap { position: relative; isolation: isolate; padding-bottom: 40px; overflow: hidden; overflow: clip; }
.hero-canvas { position: absolute; inset: 0; width: 100%; height: 100%; z-index: -1; pointer-events: none; }
.hero-grid {
    position: absolute;
    inset: 0;
    z-index: -2;
    pointer-events: none;
    background-image:
        linear-gradient(rgba(34, 230, 106, .05) 1px, transparent 1px),
        linear-gradient(90deg, rgba(34, 230, 106, .05) 1px, transparent 1px);
    background-size: 64px 64px;
    mask-image: radial-gradient(ellipse 70% 60% at 65% 40%, #000 20%, transparent 75%);
    -webkit-mask-image: radial-gradient(ellipse 70% 60% at 65% 40%, #000 20%, transparent 75%);
    animation: gridDrift 30s linear infinite;
}
@keyframes gridDrift { to { background-position: 64px 64px; } }

.hero {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 28px 0 60px;
    position: relative;
}
.hero-copy { position: relative; z-index: 2; display: flex; flex-direction: column; align-items: center; margin-top: -150px; }

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 6px 12px 6px 8px;
    border-radius: 999px;
    font-size: .8rem;
    color: #c5cfcd;
    background: rgba(34, 230, 106, .06);
    border: 1px solid rgba(34, 230, 106, .25);
    transition: border-color .2s, background .2s;
}
.hero-badge:hover { border-color: rgba(34, 230, 106, .6); background: rgba(34, 230, 106, .1); }
.hero-badge b { white-space: nowrap; font-weight: 600; color: #031408; background: var(--accent); padding: 2px 9px; border-radius: 999px; font-size: .72rem; }
.hero-badge .icon { width: 14px; height: 14px; color: var(--accent); }
.pulse { position: relative; width: 8px; height: 8px; border-radius: 50%; background: var(--accent); margin-left: 4px; }
.pulse::after { content: ""; position: absolute; inset: -4px; border-radius: 50%; border: 2px solid var(--accent); animation: pulse 1.8s ease-out infinite; }
@keyframes pulse { from { transform: scale(.5); opacity: 1; } to { transform: scale(1.8); opacity: 0; } }

.hero h1 {
    font-size: clamp(2.6rem, 7.4vw, 6.4rem);
    line-height: 1;
    font-weight: 500;
    letter-spacing: -.045em;
}
.h1-line { display: inline-block; animation: rise .9s cubic-bezier(.2, .7, .2, 1) both; }
.h1-line + .h1-line { animation-delay: .12s; }
@keyframes rise { from { opacity: 0; transform: translateY(30px); filter: blur(8px); } to { opacity: 1; transform: none; filter: none; } }
.shine {
    background: linear-gradient(100deg, #0fb850 0%, #22e66a 30%, #e9fff0 48%, #22e66a 62%, #0f9f48 100%);
    background-size: 250% 100%;
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    animation: rise .9s .12s cubic-bezier(.2, .7, .2, 1) both, shine 5s 1s linear infinite;
    filter: drop-shadow(0 0 30px rgba(34, 230, 106, .35));
    padding-bottom: .08em;
}
@keyframes shine { from { background-position: 150% 0; } to { background-position: -100% 0; } }
.hero-kicker { margin-top: 22px; font: 400 1.15rem var(--font-display); color: #dfe7e5; letter-spacing: -.01em; }
.hero-sub { margin: 12px auto 0; max-width: 560px; color: var(--muted); font-size: .98rem; }
.hero-kicker, .hero-sub, .hero-actions, .hero-trust, .hero-badge { animation: rise .9s cubic-bezier(.2, .7, .2, 1) both; }
.hero-kicker { animation-delay: .22s; }
.hero-sub { animation-delay: .3s; }
.hero-actions { animation-delay: .38s; }
.hero-trust { animation-delay: .46s; }

.hero-actions { display: flex; justify-content: center; gap: 12px; flex-wrap: wrap; margin-top: 32px; }
.btn-lg { padding: 1em 1.7em; font-size: .98rem; }
.btn-glow { position: relative; box-shadow: 0 0 0 1px rgba(34, 230, 106, .4), 0 10px 40px -8px rgba(34, 230, 106, .7); overflow: hidden; }
.btn-glow::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(110deg, transparent 30%, rgba(255, 255, 255, .55) 50%, transparent 70%);
    transform: translateX(-120%);
    animation: sweep 3.5s 1.5s ease-in-out infinite;
}
@keyframes sweep { 0%, 60% { transform: translateX(-120%); } 100% { transform: translateX(120%); } }

.hero-trust { display: flex; justify-content: center; align-items: center; gap: 16px; margin-top: 36px; flex-wrap: wrap; }
.hero-trust > span { font-size: .78rem; color: var(--muted-2); text-transform: uppercase; letter-spacing: .12em; }
.hero-trust ul { list-style: none; margin: 0; padding: 0; display: flex; gap: 18px; flex-wrap: wrap; }
.hero-trust li { display: flex; align-items: center; gap: 8px; font-size: .85rem; color: #c5cfcd; }
.hero-trust i {
    width: 22px; height: 22px;
    display: grid; place-items: center;
    border-radius: 50%;
    font: 600 .65rem var(--font-display);
    font-style: normal;
    color: #0a0f0c;
    background: var(--c);
}

/* Stage */
.hero-stage {
    --mx: 0;
    --my: 0;
    position: relative;
    width: min(780px, 100%);
    aspect-ratio: 16 / 11;
    margin-top: 10px;
    display: grid;
    place-items: center;
    perspective: 1200px;
}
.hs-beam {
    position: absolute;
    top: -140px;
    left: 50%;
    width: 520px;
    height: 120%;
    transform: translateX(-50%);
    background: conic-gradient(from 180deg at 50% 0%, transparent 160deg, rgba(34, 230, 106, .18) 175deg, rgba(200, 255, 218, .28) 180deg, rgba(34, 230, 106, .18) 185deg, transparent 200deg);
    mask-image: linear-gradient(180deg, #000 40%, transparent 95%);
    -webkit-mask-image: linear-gradient(180deg, #000 40%, transparent 95%);
    filter: blur(6px);
    animation: beam 6s ease-in-out infinite;
    pointer-events: none;
}
@keyframes beam { 50% { opacity: .6; } }
.hs-rays {
    position: absolute;
    left: 50%;
    top: 46%;
    width: 1100px;
    height: 1100px;
    margin: -550px 0 0 -550px;
    border-radius: 50%;
    background: repeating-conic-gradient(from 0deg, rgba(34, 230, 106, .10) 0deg 2deg, transparent 2deg 12deg);
    mask-image: radial-gradient(circle, #000 8%, transparent 52%);
    -webkit-mask-image: radial-gradient(circle, #000 8%, transparent 52%);
    animation: spin 90s linear infinite;
    pointer-events: none;
}
.hv-glow {
    position: absolute;
    inset: 8% 18%;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(34, 230, 106, .45), rgba(34, 230, 106, .08) 45%, transparent 70%);
    filter: blur(30px);
    animation: breathe 6s ease-in-out infinite;
}
@keyframes breathe { 50% { opacity: .65; transform: scale(.94); } }
.hs-spark { position: absolute; color: #baffd4; filter: drop-shadow(0 0 8px var(--accent)); animation: twinkle 3s ease-in-out infinite; }
.hs-spark .icon { width: 100%; height: 100%; }
.sp1 { width: 22px; height: 22px; top: 14%; left: 28%; }
.sp2 { width: 14px; height: 14px; top: 30%; right: 26%; animation-delay: -1s; }
.sp3 { width: 18px; height: 18px; bottom: 26%; left: 32%; animation-delay: -2s; }
@keyframes twinkle { 50% { opacity: .2; transform: scale(.5) rotate(45deg); } }
.hs-horizon {
    position: relative;
    z-index: 1;
    width: min(1300px, 140vw);
    height: 200px;
    margin-top: -36px;
    border-radius: 50% 50% 0 0 / 100% 100% 0 0;
    border-top: 1.5px solid rgba(160, 255, 192, .75);
    background: linear-gradient(180deg, rgba(6, 9, 7, .6), var(--bg) 55%);
    box-shadow: 0 -30px 80px -20px rgba(34, 230, 106, .55), inset 0 30px 60px -30px rgba(34, 230, 106, .45);
    mask-image: linear-gradient(90deg, transparent, #000 25%, #000 75%, transparent);
    -webkit-mask-image: linear-gradient(90deg, transparent, #000 25%, #000 75%, transparent);
    pointer-events: none;
}
.hv-orbits {
    position: absolute;
    inset: 0;
    transform-style: preserve-3d;
    transform: rotateX(calc(var(--my) * -8deg)) rotateY(calc(var(--mx) * 10deg));
    transition: transform .4s ease-out;
}
.orbit3d {
    position: absolute;
    inset: 6%;
    border-radius: 50%;
    border: 1px solid rgba(34, 230, 106, .28);
    transform-style: preserve-3d;
    box-shadow: 0 0 30px rgba(34, 230, 106, .08), inset 0 0 30px rgba(34, 230, 106, .06);
}
.orbit3d { inset: 4% 14%; }
.o-a { transform: rotateX(72deg) rotateZ(0deg); animation: orbitA 16s linear infinite; }
.o-b { inset: -4% 4%; transform: rotateX(72deg) rotateY(-24deg); animation: orbitB 24s linear infinite; border-style: dashed; border-color: rgba(34, 230, 106, .18); }
@keyframes orbitA { to { transform: rotateX(72deg) rotateZ(360deg); } }
@keyframes orbitB { to { transform: rotateX(72deg) rotateY(-24deg) rotateZ(360deg); } }
.sat {
    position: absolute;
    top: -7px;
    left: 50%;
    width: 14px; height: 14px;
    margin-left: -7px;
    border-radius: 50%;
    background: radial-gradient(circle at 35% 35%, #eafff2, var(--accent) 45%, #0b7a37);
    box-shadow: 0 0 16px 4px rgba(34, 230, 106, .7);
}
.sat.sm { width: 9px; height: 9px; top: -5px; margin-left: -4.5px; }

.hv-logo {
    position: relative;
    width: 66%;
    margin-top: -4%;
    transform: translate3d(calc(var(--mx) * 14px), calc(var(--my) * 14px), 0) rotateY(calc(var(--mx) * 8deg)) rotateX(calc(var(--my) * -6deg));
    transition: transform .4s ease-out;
    animation: logoIn 1.2s .2s cubic-bezier(.2, .7, .2, 1) both;
}
.hv-logo img {
    width: 100%;
    filter: drop-shadow(0 0 24px rgba(34, 230, 106, .45)) drop-shadow(0 30px 60px rgba(0, 0, 0, .6));
    animation: float 7s ease-in-out infinite;
}
@keyframes logoIn { from { opacity: 0; transform: scale(.85); filter: blur(10px); } to { opacity: 1; } }
.hv-card {
    position: absolute;
    text-align: left;
    padding: 14px 16px;
    border-radius: 16px;
    background: linear-gradient(160deg, rgba(22, 40, 29, .82), rgba(8, 14, 11, .82));
    border: 1px solid rgba(34, 230, 106, .28);
    box-shadow: 0 20px 50px -20px rgba(0, 0, 0, .8), 0 0 0 1px rgba(255, 255, 255, .03) inset, 0 1px 0 rgba(255, 255, 255, .08) inset;
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    transform: translate3d(calc(var(--mx) * -22px), calc(var(--my) * -22px), 0);
    transition: transform .5s ease-out;
    animation: cardIn .9s cubic-bezier(.2, .7, .2, 1) both;
}
.hv-card > * { animation: float 6s ease-in-out infinite; }
@keyframes cardIn { from { opacity: 0; translate: 0 20px; } to { opacity: 1; translate: 0 0; } }
.hv-card small { display: block; font-size: .7rem; color: var(--muted); }
.hv-ic {
    width: 36px; height: 36px; flex-shrink: 0;
    display: grid; place-items: center;
    border-radius: 10px;
    color: var(--accent);
    background: rgba(34, 230, 106, .12);
    border: 1px solid rgba(34, 230, 106, .3);
}
.hv-ic.sm { width: 30px; height: 30px; border-radius: 8px; }
.hv-ic .icon { width: 18px; height: 18px; }

.hv-rewards { top: 16%; left: -16%; width: 228px; animation-delay: .5s; }
.hv-card-head { display: flex; align-items: center; gap: 12px; }
.hv-card-head b { white-space: nowrap; font: 500 1.05rem var(--font-display); font-variant-numeric: tabular-nums; }
.hv-spark { width: 100%; height: 36px; margin-top: 10px; }
.spark-line { stroke-dasharray: 220; stroke-dashoffset: 220; animation: draw 2s 1s ease-out forwards; filter: drop-shadow(0 0 4px rgba(34, 230, 106, .8)); }
@keyframes draw { to { stroke-dashoffset: 0; } }

.hv-apy { top: 8%; right: -10%; text-align: left; animation-delay: .7s; min-width: 120px; }
.hv-apy b { display: block; font: 500 2.2rem/1.1 var(--font-display); color: var(--accent); text-shadow: 0 0 24px rgba(34, 230, 106, .6); }
.hv-apy b span { font-size: 1.2rem; }
.hv-apy em { display: inline-flex; align-items: center; gap: 4px; font-style: normal; font-size: .72rem; color: #c5cfcd; }
.hv-apy em .icon { width: 12px; height: 12px; color: var(--accent); }

.hv-vote { bottom: 22%; right: -16%; display: flex; align-items: center; gap: 12px; animation-delay: .9s; }
.hv-vote > div { width: 110px; }
.hv-bar { height: 6px; border-radius: 999px; background: #1f2d24; margin-top: 6px; overflow: hidden; }
.hv-bar i { display: block; height: 100%; width: 72%; border-radius: inherit; background: var(--accent); box-shadow: 0 0 10px var(--accent); animation: grow 1.6s 1.2s ease-out both; }
@keyframes grow { from { width: 0; } }
.hv-vote b { font: 500 1rem var(--font-display); }

/* Stats strip */
.hero-stats {
    list-style: none;
    margin: 0;
    padding: 6px;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    border-radius: 22px;
    background: linear-gradient(180deg, rgba(19, 32, 24, .75), rgba(10, 16, 13, .75));
    border: 1px solid var(--line);
    backdrop-filter: blur(10px);
    position: relative;
    overflow: hidden;
}
.hero-stats::before {
    content: "";
    position: absolute;
    top: 0;
    left: 10%;
    right: 10%;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--accent), transparent);
}
.hero-stats li { padding: 22px 26px; text-align: center; }
.hero-stats li + li { border-left: 1px solid var(--line); }
.hero-stats b { display: block; font: 500 2rem/1.1 var(--font-display); letter-spacing: -.03em; font-variant-numeric: tabular-nums; }
.hero-stats small { color: var(--muted); font-size: .82rem; }

@keyframes float { 0%, 100% { translate: 0 0; } 50% { translate: 0 -12px; } }
@keyframes spin { to { rotate: 360deg; } }

/* ---------- Sections ---------- */
.section { padding: 100px 0; position: relative; }
.section-head { text-align: center; max-width: 620px; margin: 0 auto 56px; }
.section-head h2, .security-copy h2, .tokenomics-copy h2, .faq-copy h2, .cta h2 {
    font-size: clamp(1.9rem, 3.4vw, 2.6rem);
    line-height: 1.15;
}
.section-head p { margin-top: 16px; color: #b9c3c1; font-size: .95rem; }
.security-copy h2 span, .tokenomics-copy h2 span, .faq-copy h2 span { color: #a9b4b2; font-weight: 300; }

/* faint circuit grid behind some sections */
.section-grid::before {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    background-image:
        linear-gradient(rgba(255, 255, 255, .025) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, .025) 1px, transparent 1px);
    background-size: 48px 48px;
    mask-image: radial-gradient(ellipse at center, #000 30%, transparent 75%);
    -webkit-mask-image: radial-gradient(ellipse at center, #000 30%, transparent 75%);
}
.section-grid > .container { position: relative; }

/* Shared card surface */
.sec-card, .plan-inner, .calc, .faq-list details, .roadmap li, .cta {
    background:
        radial-gradient(120% 80% at 50% 0%, rgba(34, 230, 106, .1), transparent 60%),
        linear-gradient(180deg, var(--card-2), var(--card));
    border: 1px solid var(--line);
    border-radius: var(--radius);
}

/* ---------- Features (bento) ---------- */
.feat-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 40px; margin-bottom: 48px; }
.tag { display: inline-block; font-size: .85rem; color: var(--accent); margin-bottom: 16px; letter-spacing: .02em; }
.feat-head h2 { font-size: clamp(2rem, 3.8vw, 3rem); line-height: 1.1; }
.feat-head h2 span { color: #a9b4b2; font-weight: 300; }
.feat-head-side { max-width: 380px; }
.feat-head-side p { color: var(--muted); font-size: .92rem; margin-bottom: 18px; }

.bento {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-template-areas:
        "pools pools gov"
        "comp  sec   gov"
        "feed  feed  feed";
    gap: 18px;
}
.b-pools { grid-area: pools; }
.b-gov { grid-area: gov; }
.b-comp { grid-area: comp; }
.b-sec { grid-area: sec; }
.b-feed { grid-area: feed; }

.bento-card {
    --x: 50%;
    --y: 0%;
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 26px;
    padding: 28px;
    border-radius: 24px;
    background:
        radial-gradient(120% 80% at 50% 0%, rgba(34, 230, 106, .08), transparent 60%),
        linear-gradient(180deg, #111c16, #0b110e);
    border: 1px solid var(--line);
    overflow: hidden;
    transition: border-color .3s, transform .3s, box-shadow .3s;
}
.bento-card::before {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    background: radial-gradient(420px circle at var(--x) var(--y), rgba(34, 230, 106, .13), transparent 60%);
    opacity: 0;
    transition: opacity .3s;
}
.bento-card:hover { border-color: rgba(34, 230, 106, .35); box-shadow: 0 30px 60px -30px rgba(34, 230, 106, .35); }
.bento-card:hover::before { opacity: 1; }
.bento-card > * { position: relative; }

.bento-copy h3 { font-size: 1.2rem; margin: 16px 0 8px; }
.bento-copy p { color: var(--muted); font-size: .88rem; max-width: 420px; }
.bento-copy.row { display: flex; gap: 18px; align-items: flex-start; }
.bento-copy.row h3 { margin-top: 2px; }
.bento-ic {
    width: 44px; height: 44px; flex-shrink: 0;
    display: grid; place-items: center;
    border-radius: 12px;
    color: var(--accent);
    background: linear-gradient(145deg, rgba(34, 230, 106, .18), rgba(34, 230, 106, .04));
    border: 1px solid rgba(34, 230, 106, .3);
    box-shadow: 0 0 24px -6px rgba(34, 230, 106, .5), inset 0 1px 0 rgba(255, 255, 255, .1);
}
.bento-ic .icon { width: 20px; height: 20px; }

/* Pools */
.b-pools { flex-direction: row; align-items: center; gap: 36px; }
.b-pools .bento-copy { flex: 0 0 38%; }
.pool-chart { flex: 1; display: grid; gap: 14px; padding: 22px; border-radius: 18px; background: rgba(0, 0, 0, .25); border: 1px solid var(--line); }
.pool-row { display: grid; grid-template-columns: 92px 1fr 42px; align-items: center; gap: 14px; }
.pool-name { font-size: .88rem; font-weight: 500; line-height: 1.2; }
.pool-name small { display: block; font-size: .7rem; color: var(--muted-2); font-weight: 400; }
.pool-track { height: 10px; border-radius: 999px; background: #18231b; overflow: hidden; }
.pool-track i {
    display: block;
    height: 100%;
    width: 0;
    border-radius: inherit;
    background: linear-gradient(90deg, #0d6f34, #22e66a);
    transition: width 1.2s cubic-bezier(.2, .7, .2, 1) var(--d);
}
.bento.live .pool-track i { width: var(--w); }
.pool-row.hot .pool-track i { box-shadow: 0 0 16px rgba(34, 230, 106, .7); background: linear-gradient(90deg, #12a44d, #7ff3aa); }
.pool-row b { font: 500 .95rem var(--font-display); text-align: right; }
.pool-row.hot b { color: var(--accent); }

/* Governance */
.gov-list { display: grid; gap: 12px; flex: 1; }
.gov-item { padding: 14px 16px; border-radius: 14px; background: rgba(0, 0, 0, .25); border: 1px solid var(--line); transition: border-color .2s, transform .2s; }
.gov-item:hover { border-color: rgba(34, 230, 106, .3); transform: translateX(3px); }
.gov-top { display: flex; justify-content: space-between; align-items: center; font-size: .72rem; color: var(--muted-2); }
.gov-top em { font-style: normal; padding: 2px 8px; border-radius: 999px; font-size: .66rem; }
.gov-top em.active { color: var(--accent); background: rgba(34, 230, 106, .12); border: 1px solid rgba(34, 230, 106, .3); }
.gov-top em.passed { color: #c5cfcd; background: rgba(255, 255, 255, .06); border: 1px solid var(--line-2); }
.gov-item b { display: block; font-weight: 500; font-size: .86rem; margin: 6px 0 10px; }
.gov-bar { height: 6px; border-radius: 999px; background: #3a2a2a; overflow: hidden; }
.gov-bar i { display: block; height: 100%; width: 0; background: var(--accent); border-radius: inherit; box-shadow: 0 0 10px rgba(34, 230, 106, .6); transition: width 1.4s .3s cubic-bezier(.2, .7, .2, 1); }
.bento.live .gov-bar i { width: var(--v); }
.gov-meta { display: flex; justify-content: space-between; margin-top: 6px; font-size: .68rem; color: var(--muted); }
.gov-foot { text-align: center; padding: 14px; border-radius: 14px; border: 1px dashed rgba(34, 230, 106, .3); color: var(--muted); font-size: .9rem; }
.gov-foot b { color: var(--accent); font: 500 1.05rem var(--font-display); }

/* Compounding */
.comp-chart { position: relative; height: 170px; padding: 16px; border-radius: 18px; background: rgba(0, 0, 0, .25); border: 1px solid var(--line); }
.comp-chart svg { position: absolute; left: 0; right: 0; bottom: 30px; width: 100%; height: 110px; }
.comp-line { stroke-dasharray: 360; stroke-dashoffset: 360; transition: stroke-dashoffset 1.8s cubic-bezier(.2, .7, .2, 1); filter: drop-shadow(0 0 6px rgba(34, 230, 106, .8)); }
.bento.live .comp-line { stroke-dashoffset: 0; }
.comp-chip { position: absolute; top: 14px; right: 14px; display: inline-flex; align-items: center; gap: 4px; padding: 4px 10px; border-radius: 999px; font-size: .72rem; color: #031408; background: var(--accent); font-weight: 600; z-index: 1; }
.comp-chip .icon { width: 12px; height: 12px; }
.comp-legend { position: absolute; left: 16px; bottom: 10px; display: flex; gap: 14px; font-size: .68rem; color: var(--muted); }
.comp-legend i { display: inline-block; width: 10px; height: 3px; border-radius: 2px; background: var(--accent); margin-right: 6px; vertical-align: middle; }
.comp-legend i.alt { background: #5f6b64; }

/* Security radar */
.radar { position: relative; height: 170px; display: grid; place-items: center; border-radius: 18px; background: rgba(0, 0, 0, .25); border: 1px solid var(--line); overflow: hidden; }
.radar-ring { position: absolute; border-radius: 50%; border: 1px solid rgba(34, 230, 106, .25); }
.r1 { width: 70px; height: 70px; }
.r2 { width: 130px; height: 130px; border-color: rgba(34, 230, 106, .15); }
.r3 { width: 190px; height: 190px; border-color: rgba(34, 230, 106, .08); }
.radar-ring::after { content: ""; position: absolute; inset: -1px; border-radius: 50%; border: 1px solid var(--accent); opacity: 0; animation: ping 3s ease-out infinite; }
.r2::after { animation-delay: 1s; }
.r3::after { animation-delay: 2s; }
@keyframes ping { 0% { transform: scale(.6); opacity: .8; } 100% { transform: scale(1.2); opacity: 0; } }
.radar-sweep {
    position: absolute;
    width: 190px; height: 190px;
    border-radius: 50%;
    background: conic-gradient(from 0deg, rgba(34, 230, 106, .35), transparent 25%);
    animation: spin 4s linear infinite;
}
.radar-core {
    position: relative;
    width: 54px; height: 54px;
    display: grid; place-items: center;
    border-radius: 16px;
    color: #031408;
    background: linear-gradient(145deg, #7ff3aa, #16b355);
    box-shadow: 0 0 30px rgba(34, 230, 106, .6);
}
.radar-core .icon { width: 26px; height: 26px; }

/* Treasury feed */
.b-feed { flex-direction: row; align-items: center; gap: 30px; padding: 22px 28px; }
.b-feed .bento-copy { flex: 0 0 340px; }
.feed {
    flex: 1;
    overflow: hidden;
    mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
    -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
}
.feed-track { display: flex; gap: 12px; width: max-content; animation: marquee 30s linear infinite; }
.b-feed:hover .feed-track { animation-play-state: paused; }
@keyframes marquee { to { transform: translateX(-50%); } }
.feed-item { display: flex; align-items: center; gap: 12px; padding: 12px 16px; border-radius: 14px; background: rgba(0, 0, 0, .3); border: 1px solid var(--line); white-space: nowrap; }
.feed-item span { width: 32px; height: 32px; display: grid; place-items: center; border-radius: 9px; color: var(--accent); background: rgba(34, 230, 106, .1); }
.feed-item .icon { width: 16px; height: 16px; }
.feed-item small { display: block; font-size: .7rem; color: var(--muted); }
.feed-item b { font: 500 .88rem var(--font-display); }

/* ---------- Security band ---------- */
.section-band {
    background: linear-gradient(180deg, #121a16, #0a0f0c);
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
    overflow: hidden;
}
.band-mark {
    position: absolute;
    left: -60px;
    bottom: -20px;
    width: 220px;
    opacity: .9;
    filter: drop-shadow(0 0 40px rgba(34, 230, 106, .3));
    animation: spin 40s linear infinite;
}
.security {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    grid-auto-rows: minmax(70px, auto);
    gap: 20px;
    position: relative;
}
.security-copy { grid-column: 1 / 7; grid-row: 1 / 3; }
.security-copy p { margin-top: 20px; color: var(--muted); max-width: 480px; font-size: .92rem; }
.sec-card { padding: 20px 22px; transition: transform .25s, border-color .25s; }
.sec-card:hover { transform: translateY(-4px); border-color: rgba(34, 230, 106, .35); }
.sec-top { display: flex; align-items: center; gap: 14px; margin-bottom: 14px; }
.sec-ic {
    width: 46px; height: 46px; flex-shrink: 0;
    display: grid; place-items: center;
    border-radius: 12px;
    color: #e6edec;
    background: linear-gradient(145deg, #3a463f, #121a16);
    border: 1px solid var(--line-2);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, .15), 0 8px 20px -8px #000;
}
.sec-ic .icon { width: 22px; height: 22px; }
.sec-card h4 { font-size: .95rem; }
.sec-card p { color: var(--muted); font-size: .8rem; }
.sc1 { grid-column: 9 / 13; grid-row: 1 / 3; }
.sc2 { grid-column: 6 / 10; grid-row: 3 / 5; }
.sc3 { grid-column: 3 / 7; grid-row: 5 / 7; }
.sc4 { grid-column: 9 / 13; grid-row: 5 / 7; }

/* ---------- Plans ---------- */
.plans { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; align-items: stretch; }
.plan {
    all: unset;
    box-sizing: border-box;
    display: flex;
    cursor: pointer;
    border-radius: 26px;
    padding: 2px 2px 26px;
    background: linear-gradient(180deg, rgba(34, 230, 106, .45), rgba(34, 230, 106, .12));
    transition: transform .25s, box-shadow .25s, background .25s;
}
.plan:hover { transform: translateY(-4px); }
.plan:focus-visible { outline: 2px solid var(--accent); outline-offset: 4px; }
.plan.selected { background: var(--accent); box-shadow: 0 24px 60px -24px var(--accent-glow); }
.plan-inner {
    flex: 1;
    display: flex;
    flex-direction: column;
    padding: 22px 20px 20px;
    border-radius: 24px;
    border: 0;
    background:
        radial-gradient(120% 80% at 50% 0%, rgba(34, 230, 106, .12), transparent 60%),
        linear-gradient(180deg, #102318, #0b130f);
}
.plan-name { align-self: flex-end; color: var(--accent); font-size: .9rem; }
.plan-apy { margin-top: 18px; font: 400 1.7rem var(--font-display); color: var(--accent); }
.plan-apy small { font-size: 1rem; color: #b9c3c1; }
.plan-desc { margin-top: 10px; color: #c5cfcd; font-size: .86rem; min-height: 2.8em; }
.plan-list { display: flex; flex-direction: column; gap: 9px; margin: 20px 0 30px; }
.plan-list span { display: flex; align-items: center; gap: 9px; font-size: .84rem; color: #b9c3c1; }
.plan-list .icon { width: 15px; height: 15px; color: var(--muted); }
.plan.selected .plan-list .icon { color: var(--accent); }
.plan-cta {
    margin-top: auto;
    text-align: center;
    padding: 10px;
    border-radius: 999px;
    background: #121c17;
    border: 1px solid var(--line);
    font-size: .82rem;
    font-weight: 500;
    transition: background .2s, color .2s;
}
.plan.selected .plan-cta { background: var(--accent); color: #031408; border-color: transparent; }

.calc { margin-top: 40px; display: grid; grid-template-columns: 1fr 1.3fr; gap: 30px; padding: 30px; }
.calc > * { min-width: 0; }
.calc-input label { font-size: .85rem; color: var(--muted); }
.calc-field { display: flex; align-items: center; margin: 10px 0 16px; border: 1px solid var(--line-2); border-radius: 14px; background: #0b130f; padding: 0 16px; }
.calc-field input { flex: 1; min-width: 0; background: none; border: 0; color: var(--text); font: 500 1.4rem var(--font-display); padding: 14px 0; outline: none; }
.calc-field span { color: var(--accent); font-weight: 600; }
.calc-input input[type=range] { width: 100%; accent-color: var(--accent); }
.calc-plan { margin-top: 12px; font-size: .85rem; color: var(--muted); }
.calc-plan b { color: var(--text); font-weight: 500; }
.calc-out { display: grid; grid-template-columns: repeat(3, 1fr) auto; gap: 16px; align-items: center; }
.calc-out small { display: block; font-size: .78rem; color: var(--muted); }
.calc-out b { font: 500 1.35rem var(--font-display); }
.calc-out div:first-child b { color: var(--accent); }

/* ---------- Tokenomics ---------- */
.tokenomics { display: grid; grid-template-columns: 1fr 1fr; gap: 70px; align-items: center; }
.donut-wrap { position: relative; max-width: 400px; width: 100%; margin: 0 auto; }
.donut-wrap::before { content: ""; position: absolute; inset: 15%; border-radius: 50%; background: radial-gradient(circle, rgba(34, 230, 106, .25), transparent 70%); filter: blur(30px); }
.donut { position: relative; transform: rotate(-90deg); transform-origin: center; filter: drop-shadow(0 0 14px rgba(34, 230, 106, .25)); }
.donut circle { transition: stroke-width .2s; }
.donut-center { position: absolute; inset: 0; display: grid; place-content: center; text-align: center; }
.donut-center small { color: var(--muted); font-size: .85rem; }
.donut-center b { font: 500 2rem var(--font-display); }
.tokenomics-copy > p { margin-top: 16px; color: var(--muted); font-size: .95rem; }
.alloc { list-style: none; padding: 0; margin: 28px 0 0; display: grid; gap: 4px; }
.alloc li { display: grid; grid-template-columns: 12px 1fr auto; align-items: center; gap: 14px; padding: 12px 0; border-bottom: 1px solid var(--line); font-size: .92rem; }
.alloc i { width: 12px; height: 12px; border-radius: 4px; }
.alloc b { font-weight: 500; font-family: var(--font-display); }

/* ---------- Roadmap ---------- */
.roadmap { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; counter-reset: rm; }
.roadmap li { padding: 24px 22px; position: relative; }
.roadmap li::before { content: ""; position: absolute; top: 28px; right: 22px; width: 10px; height: 10px; border-radius: 50%; background: #2a3830; }
.roadmap li.done::before { background: var(--accent-2); }
.roadmap li.current { border-color: rgba(34, 230, 106, .5); box-shadow: 0 20px 50px -25px var(--accent-glow); }
.roadmap li.current::before { background: var(--accent); box-shadow: 0 0 0 4px rgba(34, 230, 106, .2), 0 0 14px var(--accent); }
.rm-phase { font-size: .82rem; color: var(--accent); }
.roadmap h4 { margin: 14px 0 8px; font-size: 1.1rem; }
.roadmap p { color: var(--muted); font-size: .85rem; }

/* ---------- FAQ ---------- */
.faq { display: grid; grid-template-columns: 1fr 1.4fr; gap: 60px; align-items: start; }
.faq-copy p { margin-top: 16px; color: var(--muted); }
.faq-list { display: grid; gap: 12px; }
.faq-list details { padding: 0 22px; border-radius: 18px; transition: border-color .2s; }
.faq-list details[open] { border-color: rgba(34, 230, 106, .35); }
.faq-list summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 20px 0; font-weight: 500; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary span { width: 30px; height: 30px; flex-shrink: 0; display: grid; place-items: center; border-radius: 50%; border: 1px solid var(--line-2); color: var(--accent); transition: transform .25s, background .25s; }
.faq-list details[open] summary span { transform: rotate(45deg); background: rgba(34, 230, 106, .12); }
.faq-list details p { padding-bottom: 20px; color: var(--muted); font-size: .92rem; }

/* ---------- CTA ---------- */
.cta {
    display: grid;
    grid-template-columns: 1.4fr 1fr;
    align-items: center;
    padding: 60px 44px;
    margin: 20px 0 90px;
    border-radius: 28px;
    background:
        radial-gradient(80% 120% at 85% 50%, rgba(34, 230, 106, .22), transparent 60%),
        linear-gradient(135deg, #0f2a19, #0b1510 60%);
    border-color: rgba(34, 230, 106, .2);
    overflow: hidden;
}
.cta-copy p { margin-top: 16px; color: #b9c3c1; max-width: 460px; font-size: .92rem; }
.cta-actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 26px; }
.cta-mark { width: 240px; justify-self: center; filter: drop-shadow(0 20px 50px rgba(34, 230, 106, .45)); animation: float 7s ease-in-out infinite; }

/* ---------- Footer ---------- */
.footer { padding: 30px 0 30px; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 40px; padding-bottom: 40px; border-bottom: 1px solid var(--line); }
.footer-about p { margin-top: 16px; color: var(--muted-2); font-size: .82rem; max-width: 280px; }
.footer h5 { font-size: .9rem; margin-bottom: 16px; font-weight: 500; }
.footer-grid > div:not(.footer-about) a { display: block; color: var(--muted); font-size: .82rem; margin-bottom: 10px; transition: color .2s; }
.footer-grid a:hover { color: var(--accent); }
.socials { display: flex; gap: 10px; margin-top: 20px; }
.socials a { width: 34px; height: 34px; display: grid; place-items: center; border-radius: 50%; border: 1px solid var(--line-2); color: var(--muted); transition: color .2s, border-color .2s; }
.socials a:hover { color: var(--accent); border-color: var(--accent); }
.socials .icon { width: 15px; height: 15px; }
.footer-bottom { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding-top: 22px; font-size: .78rem; color: var(--muted-2); }

/* ---------- Reveal ---------- */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s ease, transform .7s ease; }
.reveal.in { opacity: 1; transform: none; }

/* ---------- Responsive ---------- */
@media (max-width: 1080px) {
    .hv-rewards { left: -4%; }
    .hv-apy { right: -2%; }
    .hv-vote { right: -4%; }
    .plans { grid-template-columns: repeat(2, 1fr); }
    .bento { grid-template-columns: 1fr 1fr; grid-template-areas: "pools pools" "gov comp" "gov sec" "feed feed"; }
    .b-pools { flex-direction: column; align-items: stretch; }
    .b-pools .bento-copy { flex: none; }
    .roadmap { grid-template-columns: repeat(2, 1fr); }
    .calc { grid-template-columns: minmax(0, 1fr); }
    .security { grid-template-columns: 1fr 1fr; grid-auto-rows: auto; }
    .security-copy { grid-column: 1 / -1; grid-row: auto; margin-bottom: 10px; }
    .sc1, .sc2, .sc3, .sc4 { grid-column: auto; grid-row: auto; }
    .band-mark { opacity: .25; }
}

@media (max-width: 900px) {
    .feat-head { flex-direction: column; align-items: flex-start; gap: 20px; }
    .nav-links {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        flex-direction: column;
        padding: 14px;
        border-radius: 20px;
        background: rgba(10, 16, 13, .97);
        backdrop-filter: blur(14px);
        border: 1px solid var(--line-2);
        opacity: 0;
        visibility: hidden;
        transform: translateY(-8px);
        transition: opacity .2s, transform .2s, visibility .2s;
    }
    .nav.open .nav-links { opacity: 1; visibility: visible; transform: none; }
    .nav-links a { padding: 12px 16px; font-size: .95rem; }
    .nav-links-cta { display: block; margin-top: 8px; }
    .nav-links-cta .btn { width: 100%; justify-content: center; }
    .nav-cta { display: none; }
    .nav-toggle { display: grid; }

    .hero { padding: 20px 0 40px; }
    .hero-stage { aspect-ratio: 5 / 4; max-width: 600px; }
    .hv-logo { width: 72%; margin-top: 0; }
    .hs-horizon { height: 140px; margin-top: -24px; }
    .hero-copy { margin-top: -100px; }
    .hv-rewards { left: 0; top: 2%; }
    .hv-apy { right: 0; top: 30%; }
    .hv-vote { display: none; }
    .hero-stats { grid-template-columns: 1fr 1fr; }
    .hero-stats li:nth-child(3) { border-left: 0; }
    .hero-stats li:nth-child(n+3) { border-top: 1px solid var(--line); }

    .tokenomics, .faq { grid-template-columns: 1fr; gap: 40px; }
    .cta { grid-template-columns: 1fr; text-align: center; padding: 44px 24px; }
    .cta-copy p { margin-inline: auto; }
    .cta-actions { justify-content: center; }
    .cta-mark { width: 160px; margin-top: 30px; grid-row: 1; margin: 0 auto 24px; }
    .footer-grid { grid-template-columns: 1fr 1fr; }
    .footer-about { grid-column: 1 / -1; }
}

@media (max-width: 600px) {
    .container { width: calc(100% - 32px); }
    .section { padding: 70px 0; }
    .plans, .roadmap, .security { grid-template-columns: 1fr; }
    .bento { grid-template-columns: 1fr; grid-template-areas: "pools" "gov" "comp" "sec" "feed"; }
    .bento-card { padding: 22px; }
    .pool-chart { padding: 16px; }
    .pool-row { grid-template-columns: 76px 1fr 36px; gap: 10px; }
    .b-feed { flex-direction: column; align-items: stretch; padding: 22px; }
    .b-feed .bento-copy { flex: none; }
    .calc { padding: 22px; }
    .calc-out { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .calc-out .btn { grid-column: 1 / -1; justify-content: center; }
    .hero-badge { font-size: .72rem; text-align: left; }
    .hv-rewards { width: 180px; padding: 10px 12px; }
    .hs-beam { width: 300px; }
    .hv-card-head b { font-size: .82rem; }
    .hv-card-head { gap: 8px; }
    .hv-rewards .hv-ic { width: 30px; height: 30px; }
    .hv-apy { right: 0; min-width: 0; padding: 10px 12px; }
    .hv-apy b { font-size: 1.6rem; }
    .hv-card { display: none; }
    .hero-stage { aspect-ratio: 1 / .92; }
    .hv-logo { width: 94%; }
    .hs-horizon { margin-top: 0; }
    .hero-copy { margin-top: -96px; }
    .hv-vote > div { width: 80px; }
    .hero-stats li { padding: 16px 10px; }
    .hero-stats b { font-size: 1.6rem; }
    .footer-bottom { flex-direction: column; }
}

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { animation: none !important; transition: none !important; }
    html { scroll-behavior: auto; }
    .spark-line, .comp-line { stroke-dashoffset: 0; }
    .radar-sweep { display: none; }
    .hs-spark { display: none; }
}
