:root {
    --bg: #050505;
    --surface: #0b0b0d;
    --surface-2: #111114;
    --gold: #d4af37;
    --gold-light: #f2d675;
    --white: #f5f5f5;
    --muted: #9b9ba3;
    --muted-2: #6e6e76;
    --border: rgba(212, 175, 55, .18);
    --border-light: rgba(255,255,255,.08);
    --radius: 18px;
    --container: 1180px;
    --ease: cubic-bezier(.2,.8,.2,1);
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
    background: var(--bg);
    color: var(--white);
    font-family: "DM Sans", sans-serif;
    line-height: 1.6;
    overflow-x: hidden;
}
body.menu-open { overflow: hidden; }
a { color: inherit; text-decoration: none; }
button, input, textarea, select { font: inherit; }
button { border: 0; }
.page-grid {
    position: fixed; inset: 0; pointer-events: none; z-index: -2;
    opacity: .22;
    background-image:
        linear-gradient(rgba(255,255,255,.035) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,.035) 1px, transparent 1px);
    background-size: 66px 66px;
}

/* =====================================================
   BASE / LAYOUT SAFETY
===================================================== */

.container {
    width: min(var(--container), 92vw);
    margin-inline: auto;
}

img,
svg,
video,
iframe {
    max-width: 100%;
}

button,
input,
textarea,
select {
    font: inherit;
}

html {
    scroll-behavior: smooth;
}

body {
    overflow-x: hidden;
}

a {
    text-decoration: none;
}

.site-header {
    position: fixed; top: 0; left: 0; right: 0; z-index: 100;
    height: 86px;
    display: flex; align-items: center; justify-content: space-between;
    padding: 0 4vw;
    background: rgba(5,5,5,.76);
    border-bottom: 1px solid rgba(255,255,255,.05);
    backdrop-filter: blur(18px);
    transition: .35s var(--ease);
}
.site-header.scrolled { background: rgba(5,5,5,.95); height: 74px; }
.brand { display: inline-flex; align-items: center; gap: 12px; flex-shrink: 0; }
.brand-mark {
    width: 60px; height: 60px;
    border-radius: 0%; position: relative; display: flex; align-items: center; justify-content: center;
}
.candle { display: block; width: 3px; background: var(--gold); position: relative; margin: 0 2px; }
.candle::before { content: ""; position: absolute; width: 1px; height: 7px; background: var(--gold); top: -7px; left: 1px; }
.candle-1 { height: 15px; } .candle-2 { height: 22px; } .candle-3 { height: 12px; }
.brand-text strong { display: block; font-family: "Playfair Display", serif; color: var(--gold-light); font-size: 16px; line-height: .98; letter-spacing: .04em; }
.brand-text small { display: block; margin-top: 5px; color: var(--muted); font-size: 8px; letter-spacing: .34em; }
.main-nav { display: flex; align-items: center; gap: 25px; }
.main-nav > a { color: #c3c3ca; font-size: 12px; font-weight: 600; letter-spacing: .04em; transition: color .2s; }
.main-nav > a:hover { color: var(--gold-light); }
.nav-actions { display: flex; margin-left: 5px; padding: 3px; border: 1px solid var(--border-light); border-radius: 30px; background: #0c0c0e; }
.btn {
    min-height: 50px; padding: 0 28px; display: inline-flex; align-items: center; justify-content: center; gap: 10px;
    border-radius: 12px; font-size: 13px; font-weight: 700; letter-spacing: .02em; cursor: pointer;
    transition: transform .25s var(--ease), background .25s, border-color .25s, color .25s;
}
.btn:hover { transform: translateY(-2px); }
.btn-gold { color: #0a0905; background: linear-gradient(135deg, var(--gold-light), var(--gold)); }
.btn-gold:hover { box-shadow: 0 12px 35px rgba(212,175,55,.16); }
.btn-outline { border: 1px solid var(--border-light); background: rgba(255,255,255,.02); color: var(--white); }
.btn-outline:hover { border-color: var(--border); color: var(--gold-light); }
.btn-dark { background: #101013; color: #cfcfd5; }
.btn-small { min-height: 44px; padding: 0 18px; border-radius: 24px; font-size: 11px; }
.menu-toggle { display: none; width: 44px; height: 44px; background: transparent; cursor: pointer; right: 1%;}
.menu-toggle span { display:block; width:24px; height:2px; background:var(--white); margin:5px auto; transition:.25s; }

.section { width: min(var(--container), 92vw); margin: 0 auto; padding: 125px 0; position: elative; }
.hero { min-height: 100vh; padding-top: 170px; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; }
.hero-glow { position: absolute; width: 650px; height: 650px; border-radius: 50%; background: rgba(212,175,55,.05); filter: blur(70px); top: 5%; left: 50%; transform: translateX(-50%); z-index: -1; }
.eyebrow {
    display: inline-flex; align-items: center; gap: 12px; padding: 10px 18px; border: 1px solid var(--border);
    border-radius: 30px; color: var(--gold); background: rgba(212,175,55,.03);
    font-size: 11px; font-weight: 700; letter-spacing: .08em;
}
.eyebrow i { width: 4px; height: 4px; border-radius: 50%; background: var(--gold); }
.hero h1 { margin: 32px 0 16px; font-family: "Playfair Display", serif; font-size: clamp(55px, 7vw, 104px); line-height: .91; letter-spacing: -.045em; }
.hero h1 em, h2 em { color: var(--gold-light); font-style: normal; }
.hero-slogan { color: #9ba0ad; letter-spacing: .3em; font-size: 15px; font-weight: 600; }
.hero-slogan span { color: var(--gold); margin: 0 7px; }
.hero-description { max-width: 780px; margin: 28px auto 0; color: #b7b7bf; font-size: 16px; }
.hero-description strong { color: var(--white); }
.hero-actions { margin-top: 38px; display:flex; justify-content:center; gap: 14px; }
.hero-market-card {
    width: min(760px, 100%); margin-top: 60px; padding: 18px 22px;
    border: 1px solid var(--border); border-radius: 18px; background: rgba(11,11,13,.84); text-align:left;
    box-shadow: 0 25px 80px rgba(0,0,0,.3);
}
.market-card-top { display:flex; justify-content:space-between; color:var(--muted); font-size:10px; letter-spacing:.12em; font-weight:700; }
.status-dot { color:#8fcf8f; }
.mini-chart { height: 105px; margin-top: 10px; position:relative; overflow:hidden; }
.mini-chart svg { width:100%; height:100%; }
.mini-chart polyline { fill:none; stroke:var(--gold); stroke-width:2; vector-effect:non-scaling-stroke; }
.market-values { display:grid; grid-template-columns:repeat(3,1fr); border-top:1px solid var(--border-light); padding-top:14px; }
.market-values div { display:flex; justify-content:space-between; padding:0 15px; border-right:1px solid var(--border-light); }
.market-values div:last-child { border-right:0; }
.market-values small, .market-values strong { display:block; }
.market-values small { color:var(--muted); font-size:10px; } .market-values strong { font-size:14px; }

.section-heading { margin-bottom: 55px; }
.section-kicker { color: var(--gold); font-size:11px; font-weight:700; letter-spacing:.16em; }
.section-heading h2 { margin-top:14px; font-family:"Playfair Display",serif; font-size:clamp(42px,5vw,72px); line-height:1.02; letter-spacing:-.035em; }
.intro-grid { display:grid; grid-template-columns: .85fr 1.15fr; gap:70px; align-items:start; }
.intro-copy p { color:var(--muted); font-size:17px; margin-bottom:20px; max-width:540px; }
.text-link { color:var(--gold-light); font-weight:700; font-size:13px; }
.values-grid { display:grid; grid-template-columns:1fr 1fr; gap:14px; }
.value-card, .course-card, .article-card, .ticker-card {
    border:1px solid var(--border-light); background:rgba(11,11,13,.78); border-radius:var(--radius);
}
.value-card { padding:28px; min-height:180px; }
.value-card span, .course-number { color:var(--gold); font-size:11px; letter-spacing:.12em; }
.value-card h3 { margin:35px 0 8px; font-family:"Playfair Display",serif; font-size:24px; }
.value-card p, .course-card p, .article-card p { color:var(--muted); font-size:14px; }
.course-grid { display:grid; grid-template-columns:repeat(3,1fr); gap:16px; }
.course-card { padding:28px; min-height:275px; position:relative; overflow:hidden; transition:.3s var(--ease); }
.course-card:hover { transform:translateY(-5px); border-color:var(--border); }
.course-icon { color:var(--gold-light); font-size:32px; margin:28px 0 20px; }
.course-card h3 { font-family:"Playfair Display",serif; font-size:25px; margin-bottom:9px; }
.course-card a, .article-card a { display:inline-block; margin-top:25px; color:var(--gold-light); font-size:12px; font-weight:700; }
.virtual-panel { display:grid; grid-template-columns:1fr 1fr; gap:65px; align-items:center; padding:70px; border:1px solid var(--border); border-radius:28px; background:linear-gradient(135deg, rgba(212,175,55,.06), rgba(255,255,255,.015)); }
.virtual-panel h2, .signup-copy h2, .portal-card h2 { margin:14px 0 18px; font-family:"Playfair Display",serif; font-size:clamp(44px,5vw,70px); line-height:1; }
.virtual-panel p, .signup-copy p, .portal-card p { color:var(--muted); max-width:500px; margin-bottom:28px; }
.dashboard-preview { padding:25px; border-radius:18px; background:#08080a; border:1px solid var(--border-light); box-shadow:0 25px 60px rgba(0,0,0,.3); }
.dash-header { display:flex; justify-content:space-between; color:var(--muted-2); font-size:9px; letter-spacing:.1em; }
.dash-header span:last-child { color:#8fcf8f; }
.dash-user { font-family:"Playfair Display",serif; font-size:25px; margin:35px 0 28px; }
.progress-row { display:grid; grid-template-columns:1fr auto; gap:8px; margin:18px 0; color:#c6c6cc; font-size:12px; }
.progress-row i { grid-column:1/-1; height:6px; background:#1b1b1f; border-radius:10px; overflow:hidden; }
.progress-row b { display:block; height:100%; background:linear-gradient(90deg,var(--gold),var(--gold-light)); border-radius:10px; }
.split-heading { display:flex; justify-content:space-between; gap:40px; align-items:end; }
.split-heading > p { max-width:430px; color:var(--muted); }
.ticker-grid { display:grid; grid-template-columns:repeat(4,1fr); gap:14px; }
.ticker-card { padding:26px; display:grid; gap:9px; }
.ticker-card small { color:var(--muted); letter-spacing:.08em; font-size:10px; }
.ticker-card strong { font-size:25px; font-weight:600; }
.ticker-card span { font-size:12px; }
.positive { color:#87c987; } .negative { color:#cf8787; }
.market-note { display:flex; gap:12px; align-items:center; margin-top:18px; color:var(--muted-2); font-size:12px; }
.market-note span { color:var(--gold); }
.article-grid { display:grid; grid-template-columns:1.4fr 1fr 1fr; gap:16px; }
.article-card { min-height:260px; padding:30px; display:flex; flex-direction:column; justify-content:flex-end; }
.article-card.featured { min-height:360px; background:linear-gradient(145deg,#14130f,#0b0b0d); }
.article-card span, .event-item span { color:var(--gold); font-size:10px; font-weight:700; letter-spacing:.12em; }
.article-card h3 { font-family:"Playfair Display",serif; font-size:27px; line-height:1.15; margin-top:13px; }
.event-list { border-top:1px solid var(--border-light); }
.event-item { display:grid; grid-template-columns:90px 1fr auto; gap:25px; align-items:center; padding:26px 0; border-bottom:1px solid var(--border-light); }
.event-date { width:64px; height:64px; display:flex; flex-direction:column; justify-content:center; align-items:center; border:1px solid var(--border); border-radius:12px; }
.event-date strong { font-size:24px; line-height:1; } .event-date span { color:var(--gold); margin-top:3px; }
.event-item h3 { margin:5px 0; font-family:"Playfair Display",serif; font-size:25px; }
.event-item p { color:var(--muted); font-size:13px; }
.event-item > a { color:var(--gold-light); font-size:12px; font-weight:700; }
.transparency-box { display:grid; grid-template-columns:1fr 1fr; gap:70px; padding:65px; border:1px solid var(--border-light); border-radius:25px; background:#09090b; }
.transparency-box h2 { margin-top:14px; font-family:"Playfair Display",serif; font-size:clamp(42px,4vw,60px); line-height:1.02; }
.transparency-copy p { color:var(--muted); font-size:16px; }
.transparency-links { display:grid; grid-template-columns:1fr 1fr; margin-top:30px; border-top:1px solid var(--border-light); }
.transparency-links a { padding:15px 0; border-bottom:1px solid var(--border-light); color:#d4d4d8; font-size:12px; }
.signup-grid { display:grid; grid-template-columns:.75fr 1.25fr; gap:80px; }
.signup-form { padding:35px; border:1px solid var(--border); border-radius:22px; background:#09090b; }
.signup-form label { display:block; color:#aaaab1; font-size:11px; font-weight:600; margin-bottom:18px; }
.form-row { display:grid; grid-template-columns:1fr 1fr; gap:15px; }
.signup-form input, .signup-form textarea, .signup-form select { width:100%; margin-top:7px; border:1px solid var(--border-light); border-radius:10px; background:#111114; color:var(--white); padding:13px 14px; outline:none; }
.signup-form input:focus, .signup-form textarea:focus, .signup-form select:focus { border-color:var(--border); }
.signup-form textarea { resize:vertical; }
.signup-form .btn { width:100%; }
.form-message { color:var(--gold-light); font-size:12px; margin-top:12px; min-height:18px; }
.portal-section { padding-top:50px; }
.portal-card { text-align:center; padding:90px 30px; border:1px solid var(--border); border-radius:28px; background:radial-gradient(circle at 50% 0%,rgba(212,175,55,.09),transparent 55%); }
.portal-card p { margin:0 auto 28px; }
.site-footer { border-top:1px solid var(--border-light); padding:45px 4vw 25px; }
.footer-main, .footer-bottom { max-width:var(--container); margin:auto; display:flex; justify-content:space-between; align-items:center; gap:25px; }
.footer-main { padding-bottom:35px; } .footer-main > p { color:var(--muted); font-size:13px; }
.footer-bottom { border-top:1px solid var(--border-light); padding-top:20px; color:var(--muted-2); font-size:10px; letter-spacing:.04em; }

.reveal { opacity:0; transform:translateY(30px); transition:opacity .8s var(--ease), transform .8s var(--ease); }
.reveal.visible { opacity:1; transform:none; }
.delay-1 { transition-delay:.1s; } .delay-2 { transition-delay:.2s; }
.formation-preview-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 70px;
    align-items: center;
}

.formation-preview-content p {
    max-width: 560px;
    color: var(--muted);
    font-size: 16px;
    margin-bottom: 28px;
}

.formation-preview-list {
    display: grid;
    border-top: 1px solid var(--border-light);
}

.formation-preview-list span {
    padding: 17px 0;
    border-bottom: 1px solid var(--border-light);
    color: #d4d4d8;
    font-size: 13px;
}

.formation-preview-list span::first-letter {
    color: var(--gold);
}

.stats-container {
    width: min(1200px, 100%);
    margin: auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 25px;
}

.stat-box {
    background: #d4af37;
    border-radius: 22px;
    padding: 5px 5px;
    text-align: center;
    transition: .35s;
    transform: translateY(-8px);
}

.stat-box h2 {
    color: var(--primary);
    font-size: 3rem;
    margin-bottom: 10px;
}

.stat-box p {
    color: #fff;
    font-size: 1rem;
}

@media (max-width: 980px) {

    .formation-preview-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }

}
