:root {
    --bg: #080a0c;
    --surface: #101417;
    --surface-2: #151b1d;
    --gold: #d8ad45;
    --green: #42d99a;
    --text: #f2f1ec;
    --muted: #97a19f;
    --line: rgba(255, 255, 255, .11);
    --gold-line: rgba(216, 173, 69, .28);
    --max: 1160px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
    background: var(--bg);
    color: var(--text);
    font: 400 16px/1.65 Inter, sans-serif;
    overflow-x: hidden;
}

body::before {
    content: "";
    position: fixed;
    inset: 0;
    pointer-events: none;
    opacity: .18;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.8' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.15'/%3E%3C/svg%3E");
    z-index: 10;
}

a { color: inherit; text-decoration: none; }
button, input { font: inherit; }
.container { width: min(var(--max), calc(100% - 3rem)); margin: auto; }
.section { padding: 7rem 0; }

.site-header {
    position: fixed;
    inset: 0 0 auto;
    z-index: 20;
    border-bottom: 1px solid transparent;
    transition: .3s ease;
}

.site-header.scrolled {
    background: rgba(8, 10, 12, .88);
    border-color: var(--line);
    backdrop-filter: blur(18px);
}

.nav-wrap {
    min-height: 78px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
}

.logo {
    color: var(--gold);
    font: 900 1.05rem Cinzel, serif;
    letter-spacing: 3px;
}

.nav-links { display: flex; gap: 2rem; color: var(--muted); font-size: .85rem; }
.nav-links a { transition: color .2s; }
.nav-links a:hover { color: var(--gold); }

.nav-cta, .button {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    border: 1px solid var(--gold);
    border-radius: 4px;
    background: var(--gold);
    color: #111;
    font-size: .75rem;
    font-weight: 800;
    letter-spacing: 1px;
    padding: .9rem 1.3rem;
    text-transform: uppercase;
    transition: transform .2s, background .2s, box-shadow .2s;
}

.nav-cta:hover, .button:hover {
    background: #edc965;
    box-shadow: 0 10px 30px rgba(216, 173, 69, .18);
    transform: translateY(-2px);
}

.button.secondary {
    background: transparent;
    color: var(--text);
    border-color: var(--line);
}

.button.secondary:hover { border-color: var(--gold); }
.button.full { width: 100%; }

.menu-toggle {
    display: none;
    width: 40px;
    border: 0;
    background: none;
    cursor: pointer;
}

.menu-toggle span {
    display: block;
    height: 2px;
    margin: 5px 0;
    background: var(--text);
}

.hero {
    min-height: 820px;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
    background: radial-gradient(circle at 75% 35%, rgba(35, 101, 78, .24), transparent 26rem);
}

.hero::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, var(--bg) 10%, rgba(8,10,12,.82) 48%, rgba(8,10,12,.38)),
                linear-gradient(0deg, var(--bg), transparent 35%);
    pointer-events: none;
}

.hero-chart {
    position: absolute;
    inset: 0 0 0 38%;
    opacity: .48;
    background:
        linear-gradient(rgba(255,255,255,.045) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,.045) 1px, transparent 1px);
    background-size: 65px 65px;
    transform: perspective(650px) rotateY(-14deg) scale(1.2);
}

.hero-chart::after {
    content: "";
    position: absolute;
    left: 4%;
    right: 3%;
    top: 42%;
    height: 170px;
    background: url("data:image/svg+xml,%3Csvg width='900' height='220' viewBox='0 0 900 220' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M0 185 L65 160 L105 178 L170 115 L225 130 L290 70 L350 102 L410 55 L470 82 L525 35 L585 65 L645 22 L700 52 L760 18 L830 36 L900 4' fill='none' stroke='%2342d99a' stroke-width='3'/%3E%3C/svg%3E") center/100% 100% no-repeat;
    filter: drop-shadow(0 0 12px rgba(66, 217, 154, .45));
}

.hero-inner { position: relative; z-index: 1; }
.hero-inner { padding-top: 5rem; max-width: 780px; }

.eyebrow {
    color: var(--gold);
    font-size: .7rem;
    font-weight: 800;
    letter-spacing: 3px;
    margin-bottom: 1.3rem;
    text-transform: uppercase;
}

h1, h2, h3 { font-family: Cinzel, serif; line-height: 1.15; }
h1 { font-size: clamp(3rem, 7vw, 6.5rem); letter-spacing: 1px; margin-bottom: 1.6rem; }
h1 span { color: var(--gold); }
h2 { font-size: clamp(2.1rem, 4vw, 3.8rem); }
h3 { font-size: 1.25rem; }

.hero-text { max-width: 610px; color: #c4ccca; font-size: 1.08rem; }
.hero-actions { display: flex; align-items: center; gap: 1.5rem; margin-top: 2rem; }
.text-link { color: var(--text); font-size: .85rem; }
.text-link span { color: var(--gold); margin-left: .4rem; }
.hero-note { margin-top: 2.5rem; color: var(--muted); font-size: .78rem; }
.status-dot { display: inline-block; width: 7px; height: 7px; margin-right: .5rem; border-radius: 50%; background: var(--green); box-shadow: 0 0 12px var(--green); }

.ticker {
    position: absolute;
    bottom: 0;
    z-index: 2;
    width: 100%;
    overflow: hidden;
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
    background: rgba(8, 10, 12, .65);
}

.ticker-track {
    display: flex;
    width: max-content;
    gap: 3rem;
    padding: .8rem 0;
    color: var(--muted);
    font-size: .72rem;
    letter-spacing: 1px;
    animation: ticker 28s linear infinite;
}

.ticker b { margin-left: .5rem; }
.up { color: var(--green); }
.down { color: #e57c77; }

@keyframes ticker { to { transform: translateX(-50%); } }

.split {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 5rem;
    align-items: start;
}

.section-heading { max-width: 680px; }
.section-heading.narrow { max-width: 650px; }
.section-heading h2 { margin-bottom: 1.2rem; }
.section-heading p, .intro-copy { color: var(--muted); }
.intro-copy { max-width: 500px; }
.intro-copy p + p { margin-top: 1rem; }

.feature-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1px;
    margin-top: 4rem;
    border: 1px solid var(--line);
    background: var(--line);
}

.feature-card {
    min-height: 230px;
    padding: 2rem;
    background: var(--bg);
    transition: background .25s, transform .25s;
}

.feature-card:hover { background: var(--surface); transform: translateY(-4px); }
.feature-number { display: block; color: var(--gold); font-size: .75rem; margin-bottom: 3.5rem; }
.feature-card h3 { margin-bottom: .7rem; }
.feature-card p { color: var(--muted); font-size: .9rem; }

.calculator-section { background: #0c1111; }
.calculator-card {
    display: grid;
    grid-template-columns: 1fr .9fr;
    gap: 4rem;
    margin-top: 3rem;
    padding: 2.5rem;
    border: 1px solid var(--gold-line);
    background: linear-gradient(130deg, rgba(216,173,69,.08), rgba(66,217,154,.025));
}

.control { margin-bottom: 1.6rem; }
.control label { display: flex; justify-content: space-between; color: #dce2df; font-size: .85rem; }
.control output { color: var(--gold); font-weight: 700; }
input[type="range"] { width: 100%; margin-top: .7rem; accent-color: var(--gold); cursor: pointer; }

.calculator-result {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 2rem;
    border-left: 1px solid var(--line);
}

.result-label { color: var(--muted); font-size: .7rem; letter-spacing: 2px; text-transform: uppercase; }
.calculator-result strong { color: var(--green); font: 700 clamp(2.8rem, 5vw, 4.7rem) Cinzel, serif; margin: .6rem 0; }
.result-bar { height: 4px; margin: .5rem 0 1.2rem; background: rgba(255,255,255,.1); }
.result-bar span { display: block; height: 100%; width: 0; background: var(--green); transition: width .4s, background .4s; }
.calculator-result p { color: var(--muted); font-size: .85rem; }
.result-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1rem; margin: 1.7rem 0; }
.result-grid div { padding: .8rem; background: rgba(255,255,255,.04); }
.result-grid b, .result-grid span { display: block; }
.result-grid b { color: var(--text); }
.result-grid span { color: var(--muted); font-size: .72rem; }

.curriculum-heading { margin-bottom: 3rem; }
.curriculum-list { border-top: 1px solid var(--line); }
.lesson { border-bottom: 1px solid var(--line); }
.lesson-toggle {
    display: grid;
    grid-template-columns: 70px 1fr 30px;
    align-items: center;
    width: 100%;
    padding: 1.6rem 0;
    border: 0;
    background: none;
    color: var(--text);
    text-align: left;
    cursor: pointer;
}
.lesson-number { color: var(--gold); font: 700 1.2rem Cinzel, serif; }
.lesson-title { font: 600 1.2rem Cinzel, serif; }
.lesson-icon { color: var(--gold); font-size: 1.4rem; text-align: right; }
.lesson-content { display: none; padding: 0 4rem 1.8rem 70px; color: var(--muted); }
.lesson.open .lesson-content { display: block; }
.tags { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: 1.2rem; }
.tags span { padding: .35rem .7rem; border: 1px solid var(--line); border-radius: 999px; font-size: .72rem; }

.community-panel {
    display: grid;
    grid-template-columns: 1.1fr .9fr;
    gap: 4rem;
    padding: 4rem;
    background: var(--surface);
    border: 1px solid var(--line);
}
.community-copy p { max-width: 520px; color: var(--muted); margin: 1.3rem 0 2rem; }
.community-notes { align-self: center; }
.note { display: flex; gap: 1rem; padding: 1.2rem 0; border-bottom: 1px solid var(--line); }
.note-mark { color: var(--gold); font-size: 1.4rem; }
.note b, .note small { display: block; }
.note small { color: var(--muted); font-size: .8rem; }

.offer-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1rem; margin-top: 3rem; }
.offer-card { padding: 2.5rem; border: 1px solid var(--line); background: var(--surface); }
.offer-card.featured { border-color: var(--gold); background: linear-gradient(145deg, rgba(216,173,69,.1), var(--surface)); }
.offer-label { color: var(--gold); font-size: .7rem; font-weight: 800; letter-spacing: 2px; text-transform: uppercase; }
.offer-card h3 { font-size: 1.8rem; margin: 1.2rem 0 .7rem; }
.offer-card p { min-height: 55px; color: var(--muted); font-size: .9rem; }
.price { color: var(--gold); font: 700 2.2rem Cinzel, serif; margin: 1.5rem 0; }
.price small { color: var(--muted); font: 400 .7rem Inter, sans-serif; }
.offer-card ul { list-style: none; margin: 1.5rem 0 2rem; color: var(--muted); font-size: .9rem; }
.offer-card li { margin: .7rem 0; }
.offer-card li::before { content: "✓"; color: var(--green); margin-right: .6rem; }

.faq-layout { display: grid; grid-template-columns: .8fr 1.2fr; gap: 5rem; }
.faq-item { border-top: 1px solid var(--line); }
.faq-question {
    display: flex;
    justify-content: space-between;
    width: 100%;
    padding: 1.3rem 0;
    border: 0;
    background: none;
    color: var(--text);
    cursor: pointer;
    text-align: left;
    font-weight: 600;
}
.faq-question span { color: var(--gold); font-size: 1.2rem; }
.faq-answer { display: none; max-width: 650px; padding: 0 2rem 1.3rem 0; color: var(--muted); font-size: .9rem; }
.faq-item.open .faq-answer { display: block; }

.disclaimer { color: #74807c; font-size: .72rem; margin-top: 1.5rem; }
footer { padding: 2.5rem 0; border-top: 1px solid var(--line); color: var(--muted); text-align: center; font-size: .75rem; }

.reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s ease, transform .7s ease; }
.reveal.visible { opacity: 1; transform: translateY(0); }

@media (max-width: 800px) {
    .container { width: min(var(--max), calc(100% - 2rem)); }
    .section { padding: 5rem 0; }
    .nav-links, .nav-cta { display: none; }
    .menu-toggle { display: block; }
    .nav-links.active {
        position: absolute;
        display: flex;
        flex-direction: column;
        gap: 1rem;
        top: 68px;
        left: 1rem;
        right: 1rem;
        padding: 1.3rem;
        background: #111619;
        border: 1px solid var(--line);
    }
    .hero { min-height: 720px; }
    .hero::after { background: linear-gradient(90deg, var(--bg) 5%, rgba(8,10,12,.82)), linear-gradient(0deg, var(--bg), transparent 45%); }
    .hero-chart { left: 0; opacity: .3; }
    .split, .calculator-card, .community-panel, .faq-layout { grid-template-columns: 1fr; gap: 2.5rem; }
    .feature-grid, .offer-grid { grid-template-columns: 1fr; }
    .calculator-result { border-left: 0; border-top: 1px solid var(--line); padding: 2rem 0 0; }
    .community-panel { padding: 2rem; }
    .lesson-toggle { grid-template-columns: 50px 1fr 25px; }
    .lesson-content { padding-left: 50px; }
}

@media (max-width: 500px) {
    h1 { font-size: 2.9rem; }
    .hero-actions { align-items: flex-start; flex-direction: column; }
    .calculator-card, .offer-card { padding: 1.4rem; }
    .feature-card { min-height: auto; }
}