/* ============================================================
   KINGDOM PERFORMANCE ACADEMY — Premium Merged Design System
   Theme colors:
   Primary #B70303 · Accent #EACC3B · Background #0C0C0E (Sleek Dark Mode Baseline)
   Surface #16161A · Text #F3F4F6 · Muted #9CA3AF · Border #27272A
   ============================================================ */
:root {
  --primary: #B70303;
  --primary-glow: rgba(183, 3, 3, 0.15);
  --accent: #EACC3B;
  --accent-glow: rgba(234, 204, 59, 0.2);
  --background: #0C0C0E;
  --surface: #16161A;
  --surface-hover: #1F1F24;
  --text: #F3F4F6;
  --muted: #9CA3AF;
  --border: #27272A;

  /* Semantic aliases */
  --ink: #F3F4F6;
  --slate: #9CA3AF;
  --line: #27272A;
  --bg: #0C0C0E;

  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.5);
  --shadow-md: 0 12px 30px -10px rgba(0, 0, 0, 0.7);
  --shadow-lg: 0 20px 50px -15px rgba(183, 3, 3, 0.25);
  
  --radius: 16px;
  --radius-sm: 8px;
  --radius-lg: 24px;
  --font-display: "Barlow Condensed", "Arial Narrow", Arial, sans-serif;
  --font-body: "Outfit", "Segoe UI", Arial, sans-serif;
  --maxw: 1200px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--text);
  background: var(--bg);
  line-height: 1.65;
  font-size: 17px;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: var(--text); text-decoration: none; transition: color .2s ease; }
a:hover { color: var(--accent); }
h1,h2,h3,h4 {
  font-family: var(--font-display);
  font-weight: 800;
  line-height: 1.05;
  margin: 0 0 .45em;
  letter-spacing: .02em;
  text-transform: uppercase;
}
h1 { font-size: clamp(2.8rem, 7vw, 5rem); }
h2 { font-size: clamp(2.2rem, 4.5vw, 3.4rem); }
h3 { font-size: clamp(1.4rem, 2.5vw, 1.95rem); }
p { margin: 0 0 1em; opacity: 0.85; }
.small { font-size: .92rem; color: var(--muted); }

.container { max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }

/* ---------- Glassmorphic Nav ---------- */
.nav {
  position: sticky; top: 0; z-index: 100;
  background: rgba(12, 12, 14, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
}
.nav-inner { max-width: var(--maxw); margin: 0 auto; display: flex; align-items: center; gap: 1.5rem; padding: .9rem 24px; }
.nav-brand { display: flex; align-items: center; gap: .7rem; color: var(--text); }
.nav-brand .mark { width: 44px; height: 44px; border-radius: 12px; background: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%); display: grid; place-items: center; font-family: var(--font-display); font-weight: 800; font-size: 1.3rem; color: var(--text); box-shadow: 0 0 15px var(--primary-glow); }
.nav-brand .name { font-family: var(--font-display); font-weight: 800; font-size: 1.25rem; text-transform: uppercase; letter-spacing: .05em; line-height: 1.1; }
.nav-brand .name small { display: block; font-size: .65rem; letter-spacing: .22em; color: var(--accent); font-family: var(--font-body); font-weight: 600; }
.nav-links { display: flex; gap: .3rem; margin-left: auto; align-items: center; }
.nav-links a { color: rgba(243, 244, 246, 0.8); font-family: var(--font-display); font-weight: 600; font-size: 1.02rem; letter-spacing: .06em; text-transform: uppercase; padding: .55rem .9rem; border-radius: 8px; transition: all .2s ease; }
.nav-links a:hover, .nav-links a.active { color: var(--accent); background: rgba(255, 255, 255, 0.05); }
.nav-links .nav-cta { background: linear-gradient(135deg, var(--primary) 0%, #E60000 100%); color: var(--text); padding: .55rem 1.3rem; border-radius: 999px; font-weight: 700; box-shadow: 0 4px 15px var(--primary-glow); }
.nav-links .nav-cta:hover { transform: translateY(-2px); box-shadow: 0 6px 20px rgba(183, 3, 3, 0.4); opacity: 1; }
.nav-toggle { display: none; margin-left: auto; background: none; border: 0; color: var(--text); font-size: 1.6rem; cursor: pointer; line-height: 1; padding: .3rem; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  font-family: var(--font-display); font-weight: 800; font-size: 1.05rem;
  letter-spacing: .08em; text-transform: uppercase;
  padding: .9rem 1.8rem; border-radius: 999px; border: 2px solid transparent;
  cursor: pointer; transition: all .25s cubic-bezier(0.25, 0.8, 0.25, 1); white-space: nowrap; line-height: 1;
}
.btn-primary { background: linear-gradient(135deg, var(--primary) 0%, #E60000 100%); color: var(--text); box-shadow: 0 4px 15px var(--primary-glow); }
.btn-primary:hover { transform: translateY(-3px); box-shadow: 0 8px 25px rgba(183, 3, 3, 0.45); }
.btn-gold { background: linear-gradient(135deg, var(--accent) 0%, #c4a11f 100%); color: #0C0C0E; box-shadow: 0 4px 15px var(--accent-glow); }
.btn-gold:hover { transform: translateY(-3px); box-shadow: 0 8px 25px rgba(234, 204, 59, 0.4); }
.btn-green { background: linear-gradient(135deg, var(--primary) 0%, #E60000 100%); color: var(--text); }
.btn-green:hover { transform: translateY(-3px); box-shadow: 0 8px 25px rgba(183, 3, 3, 0.45); }
.btn-ghost { border-color: rgba(255,255,255,.6); color: var(--text); background: transparent; }
.btn-ghost:hover { background: rgba(255,255,255,.1); border-color: var(--white); }
.btn-outline { border-color: var(--primary); color: var(--text); background: transparent; }
.btn-outline:hover { background: var(--primary); box-shadow: 0 4px 15px var(--primary-glow); }

/* ---------- Hero ---------- */
.hero { position: relative; color: var(--text); overflow: hidden; background: var(--background); min-height: 90vh; display: flex; align-items: center; }
.hero-media { position: absolute; inset: 0; }
.hero-media img { width: 100%; height: 100%; object-fit: cover; object-position: center; opacity: .2; filter: grayscale(30%); }
.hero-overlay { position: absolute; inset: 0; background: linear-gradient(115deg, rgba(12,12,14,.98) 0%, rgba(12,12,14,.85) 50%, rgba(12,12,14,.4) 100%); }
.hero-content { position: relative; z-index: 2; max-width: var(--maxw); margin: 0 auto; padding: 10rem 24px 8.5rem; }
.hero-kicker { display: inline-block; font-family: var(--font-display); letter-spacing: .28em; text-transform: uppercase; font-size: .86rem; color: var(--accent); background: rgba(234,204,59,.1); border: 1px solid rgba(234,204,59,.3); padding: .4rem .9rem; border-radius: 999px; margin-bottom: 1.5rem; }
.hero h1 { max-width: 15ch; line-height: 1.02; }
.hero h1 .accent { color: var(--accent); text-shadow: 0 0 25px var(--accent-glow); }
.hero p.lead { max-width: 56ch; font-size: 1.25rem; color: rgba(243,244,246,.85); margin-bottom: 2.2rem; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 1rem; }
.hero-tag { margin-top: 2.5rem; display: flex; flex-wrap: wrap; gap: .6rem 2rem; color: rgba(243,244,246,.75); font-size: .95rem; }
.hero-tag strong { color: var(--text); }

/* ---------- Ticker ---------- */
.ticker { background: var(--accent); color: #0C0C0E; overflow: hidden; border-block: 2px solid rgba(234,204,59,.5); }
.ticker-track { display: flex; gap: 3rem; padding: .8rem 0; white-space: nowrap; animation: tick 32s linear infinite; width: max-content; }
.ticker-track span { font-family: var(--font-display); font-weight: 800; text-transform: uppercase; letter-spacing: .15em; font-size: 1.05rem; }

/* ---------- Sections ---------- */
.section { padding: 7rem 0; position: relative; }
.section-alt { background: #111115; }
.section-green { background: #16161A; border-block: 1px solid var(--border); }
.section-dark { background: #08080A; }
.section-head { max-width: 720px; margin-bottom: 3.5rem; }
.section-head.center { margin-inline: auto; text-align: center; }
.eyebrow { display: inline-block; font-family: var(--font-display); font-weight: 700; letter-spacing: .24em; text-transform: uppercase; font-size: .88rem; color: var(--primary); margin-bottom: .6rem; text-shadow: 0 0 10px rgba(183,3,3,0.2); }
.eyebrow.gold { color: var(--accent); text-shadow: 0 0 10px rgba(234,204,59,0.2); }
.eyebrow.white { color: var(--accent); }
.section-head p { color: var(--muted); font-size: 1.15rem; }
.section-dark .section-head p, .section-green .section-head p { color: rgba(243,244,246,.75); }

/* ---------- Stats Band ---------- */
.stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 1.6rem; }
.stat { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 2.2rem 1.6rem; text-align: center; transition: var(--transition); }
.stat:hover { transform: translateY(-4px); border-color: var(--primary); box-shadow: var(--shadow-lg); }
.stat .num { font-family: var(--font-display); font-weight: 800; font-size: clamp(3rem,6vw,4rem); color: var(--accent); line-height: 1; text-shadow: 0 0 20px var(--accent-glow); }
.stat .label { margin-top: .6rem; font-size: .95rem; color: var(--text); text-transform: uppercase; letter-spacing: .1em; font-family: var(--font-display); font-weight: 700; }
.stat .sub { margin-top: .3rem; font-size: .85rem; color: var(--muted); }

/* ---------- Cards / Grids ---------- */
.grid { display: grid; gap: 1.8rem; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
.card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-sm); transition: all .25s ease; }
.card:hover { transform: translateY(-6px); border-color: var(--primary); box-shadow: var(--shadow-lg); }
.card-media { aspect-ratio: 4/3; overflow: hidden; background: #222; }
.card-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; filter: brightness(90%); }
.card:hover .card-media img { transform: scale(1.06); filter: brightness(100%); }
.card-body { padding: 1.6rem 1.6rem 1.8rem; }
.card-body h3 { font-size: 1.5rem; margin-bottom: .4rem; }
.card-body .role { font-family: var(--font-display); font-weight: 700; letter-spacing: .1em; text-transform: uppercase; font-size: .82rem; color: var(--primary); margin-bottom: .7rem; }
.card-body p { color: var(--muted); font-size: .98rem; margin-bottom: 0; }

/* Pricing */
.pricing { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 1.8rem; align-items: stretch; }
.price-card { position: relative; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 2.4rem 1.8rem; display: flex; flex-direction: column; box-shadow: var(--shadow-sm); transition: all .25s ease; }
.price-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); border-color: var(--accent); }
.price-card.featured { border: 2px solid var(--primary); box-shadow: var(--shadow-lg); background: linear-gradient(180deg, var(--surface) 0%, rgba(183, 3, 3, 0.03) 100%); }
.price-card.featured:hover { border-color: #FF1A1A; }
.price-card .badge { position: absolute; top: -13px; left: 50%; transform: translateX(-50%); background: var(--primary); color: var(--text); font-family: var(--font-display); font-weight: 700; letter-spacing: .12em; text-transform: uppercase; font-size: .75rem; padding: .3rem .9rem; border-radius: 999px; box-shadow: 0 2px 10px rgba(183, 3, 3, 0.4); }
.price-card h3 { font-size: 1.6rem; }
.price-card .amount { font-family: var(--font-display); font-weight: 800; font-size: 2.8rem; color: var(--accent); line-height: 1; margin: .5rem 0 .2rem; text-shadow: 0 0 15px var(--accent-glow); }
.price-card .per { font-size: .9rem; color: var(--muted); margin-bottom: 1.3rem; }
.price-card ul { margin: 0 0 1.6rem; padding: 0; list-style: none; font-size: .98rem; }
.price-card ul li { padding: .4rem 0 .4rem 1.6rem; position: relative; color: rgba(243, 244, 246, 0.9); }
.price-card ul li::before { content: ""; position: absolute; left: 0; top: .85rem; width: 8px; height: 8px; border-radius: 2px; background: var(--primary); transform: rotate(45deg); }
.price-card .btn { margin-top: auto; width: 100%; }

/* ---------- Split / Feature Rows ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 4.5rem; align-items: center; }
.split-media img { border-radius: var(--radius); box-shadow: var(--shadow-lg); width: 100%; border: 1px solid var(--border); }
.split .kicker { font-family: var(--font-display); font-weight: 700; letter-spacing: .22em; text-transform: uppercase; color: var(--primary); font-size: .88rem; margin-bottom: .6rem; }

/* ---------- Timeline Roadmap (New Premium Section) ---------- */
.roadmap { display: grid; grid-template-columns: repeat(4, 1fr); gap: 2rem; margin-top: 3.5rem; position: relative; }
.roadmap::before { content: ""; position: absolute; top: 35px; inset-inline: 0; height: 3px; background: var(--border); z-index: 1; }
.roadmap-step { position: relative; z-index: 2; text-align: center; }
.roadmap-step .dot { width: 70px; height: 70px; border-radius: 50%; background: var(--surface); border: 3px solid var(--border); display: grid; place-items: center; margin: 0 auto 1.5rem; font-family: var(--font-display); font-weight: 800; font-size: 1.6rem; color: var(--primary); transition: all 0.3s ease; box-shadow: var(--shadow-sm); }
.roadmap-step:hover .dot { border-color: var(--accent); color: var(--accent); transform: scale(1.1); box-shadow: 0 0 20px var(--accent-glow); }
.roadmap-step h3 { font-size: 1.4rem; margin-bottom: 0.5rem; color: var(--text); }
.roadmap-step p { font-size: 0.95rem; color: var(--muted); margin: 0; }

/* ---------- VertiMax Agility Grid (New Tech Section) ---------- */
.tech-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; margin-top: 3.5rem; }
.tech-card { background: linear-gradient(135deg, var(--surface) 0%, rgba(27, 27, 30, 0.6) 100%); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 2.5rem 2rem; position: relative; overflow: hidden; transition: all 0.3s ease; }
.tech-card:hover { border-color: var(--primary); transform: translateY(-5px); box-shadow: var(--shadow-lg); }
.tech-card::before { content: ""; position: absolute; top: 0; left: 0; width: 6px; height: 100%; background: var(--primary); }
.tech-card.accent-line::before { background: var(--accent); }
.tech-card .icon-shield { font-size: 3rem; color: var(--primary); margin-bottom: 1.2rem; }
.tech-card.accent-line .icon-shield { color: var(--accent); }
.tech-card h3 { font-size: 1.6rem; margin-bottom: 0.6rem; }
.tech-card p { font-size: 0.98rem; color: var(--muted); margin: 0; }

/* ---------- Pillar Tiles ---------- */
.pillars { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.6rem; }
.pillar { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 2.2rem 1.6rem; box-shadow: var(--shadow-sm); position: relative; overflow: hidden; transition: var(--transition); }
.pillar:hover { transform: translateY(-4px); border-color: var(--primary); }
.pillar::after { content: ""; position: absolute; inset: 0 0 auto 0; height: 5px; background: var(--primary); }
.pillar:nth-child(2)::after { background: var(--accent); }
.pillar:nth-child(3)::after { background: var(--accent); }
.pillar:nth-child(4)::after { background: var(--primary); }
.pillar .num { font-family: var(--font-display); font-weight: 800; font-size: 2.6rem; color: var(--border); opacity: 0.3; line-height: 1; margin-bottom: .6rem; }
.pillar h3 { font-size: 1.6rem; margin-bottom: .4rem; }
.pillar p { color: var(--muted); font-size: .96rem; margin-bottom: .8rem; }
.pillar ul { margin: 0; padding: 0; list-style: none; }
.pillar ul li { font-size: .95rem; padding: .25rem 0 .25rem 1.4rem; position: relative; color: rgba(243, 244, 246, 0.85); }
.pillar ul li::before { content: ""; position: absolute; left: 0; top: .75rem; width: 7px; height: 7px; border-radius: 2px; background: var(--primary); }

/* ---------- Entity Band ---------- */
.entities { display: grid; grid-template-columns: 1fr 1fr; gap: 1.8rem; }
.entity { border-radius: var(--radius); padding: 2.8rem 2.2rem; color: var(--text); position: relative; overflow: hidden; border: 1px solid var(--border); box-shadow: var(--shadow-sm); }
.entity.academy { background: linear-gradient(135deg, var(--surface) 0%, rgba(183, 3, 3, 0.08) 100%); border-left: 6px solid var(--primary); }
.entity.team { background: linear-gradient(135deg, var(--surface) 0%, rgba(234, 204, 59, 0.05) 100%); border-left: 6px solid var(--accent); }
.entity.team .btn { background: var(--primary); color: var(--text); }
.entity .tag { font-family: var(--font-display); font-weight: 700; letter-spacing: .22em; text-transform: uppercase; font-size: .78rem; color: var(--accent); }
.entity.academy .tag { color: var(--primary); }
.entity h3 { font-size: 2rem; margin: .5rem 0 .8rem; }
.entity p { color: var(--muted); font-size: 1rem; }
.entity .btn { margin-top: 1.2rem; }

/* ---------- Schedule ---------- */
.schedule { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 1.6rem; }
.sched-card { background: var(--surface); border: 1px solid var(--border); border-left: 5px solid var(--primary); border-radius: var(--radius); padding: 1.8rem; box-shadow: var(--shadow-sm); transition: var(--transition); }
.sched-card:hover { transform: translateY(-4px); border-color: var(--primary); }
.sched-card.red { border-left-color: var(--accent); }
.sched-card.gold { border-left-color: var(--accent); }
.sched-card h3 { font-size: 1.35rem; margin-bottom: .3rem; }
.sched-card .addr { color: var(--muted); font-size: .95rem; margin-bottom: 1rem; }
.sched-card ul { margin: 0; padding: 0; list-style: none; }
.sched-card ul li { padding: .4rem 0; font-size: .98rem; border-bottom: 1px dashed var(--border); color: rgba(243, 244, 246, 0.9); }
.sched-card ul li:last-child { border-bottom: 0; }
.sched-card ul li strong { color: var(--accent); }

/* ---------- Shop ---------- */
.shop-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 1.6rem; }
.shop-card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-sm); transition: all .25s ease; }
.shop-card:hover { transform: translateY(-5px); border-color: var(--primary); box-shadow: var(--shadow-lg); }
.shop-card .media { aspect-ratio: 1/1; background: #222; overflow: hidden; }
.shop-card .media img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s ease; }
.shop-card:hover .media img { transform: scale(1.05); }
.shop-card .body { padding: 1.3rem 1.4rem 1.5rem; }
.shop-card .body .price { font-family: var(--font-display); font-weight: 800; font-size: 1.6rem; color: var(--accent); }
.shop-card .body .pre { font-size: .76rem; letter-spacing: .16em; text-transform: uppercase; color: var(--primary); font-weight: 700; }

/* ---------- Sponsorship ---------- */
.sponsor-options { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 1.6rem; }
.sponsor-card { text-align: center; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 2.5rem 1.6rem; box-shadow: var(--shadow-sm); transition: var(--transition); }
.sponsor-card:hover { border-color: var(--primary); transform: translateY(-4px); }
.sponsor-card .icon { width: 68px; height: 68px; margin: 0 auto 1.2rem; border-radius: 18px; background: var(--primary); display: grid; place-items: center; color: var(--text); font-family: var(--font-display); font-weight: 800; font-size: 1.6rem; box-shadow: 0 4px 10px rgba(183, 3, 3, 0.3); }
.sponsor-card:nth-child(2) .icon { background: var(--accent); color: #0C0C0E; box-shadow: 0 4px 10px rgba(234, 204, 59, 0.3); }
.sponsor-card:nth-child(3) .icon { background: var(--accent); color: #0C0C0E; }
.sponsor-card:nth-child(4) .icon { background: var(--primary); }
.sponsor-card:nth-child(5) .icon { background: var(--accent); color: #0C0C0E; }
.sponsor-card h3 { font-size: 1.35rem; margin-bottom: 0.5rem; }
.sponsor-card p { color: var(--muted); font-size: .95rem; margin-bottom: 0; }
.partners { display: flex; flex-wrap: wrap; gap: 2rem; justify-content: center; align-items: center; }
.partner { text-align: center; }
.partner img { height: 60px; width: auto; max-width: 180px; object-fit: contain; filter: brightness(0) invert(1); opacity: .9; }
.partner .pname { margin-top: .4rem; font-family: var(--font-display); letter-spacing: .1em; text-transform: uppercase; font-size: .86rem; color: rgba(255,255,255,.75); }

/* ---------- Forms ---------- */
.form { display: grid; gap: 1.2rem; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.2rem; }
.field label { display: block; font-family: var(--font-display); font-weight: 700; letter-spacing: .08em; text-transform: uppercase; font-size: .82rem; margin-bottom: .4rem; color: var(--text); }
.field input, .field textarea, .field select {
  width: 100%; padding: .9rem 1.1rem; border: 1.5px solid var(--border); border-radius: var(--radius-sm);
  font-family: var(--font-body); font-size: 1rem; background: #0C0C0E; color: var(--text); transition: border .2s ease, box-shadow .2s ease;
}
.field input:focus, .field textarea:focus, .field select:focus { outline: none; border-color: var(--primary); box-shadow: 0 0 0 3px rgba(183,3,3,.3); }
.form-card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 2.5rem; box-shadow: var(--shadow-md); }

/* ---------- Testimonials / empty state ---------- */
.testimonial-empty { border: 2px dashed var(--border); border-radius: var(--radius); padding: 2.6rem 2.2rem; text-align: center; background: #111115; max-width: 640px; margin: 0 auto; }
.testimonial-empty h3 { color: var(--text); margin-bottom: 0.5rem; }
.testimonial-empty p { color: var(--muted); margin-bottom: 1.5rem; }

/* ---------- Footer ---------- */
.footer { background: #08080A; color: rgba(243, 244, 246, 0.75); padding: 5rem 0 2.5rem; border-top: 1px solid var(--border); }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1.4fr; gap: 3rem; margin-bottom: 3rem; }
.footer h4 { color: var(--text); font-size: 1.15rem; letter-spacing: .1em; margin-bottom: 1.2rem; }
.footer a { color: rgba(243, 244, 246, 0.7); }
.footer a:hover { color: var(--accent); }
.footer ul { list-style: none; margin: 0; padding: 0; }
.footer ul li { padding: .3rem 0; font-size: .98rem; }
.footer .brandline { font-family: var(--font-display); font-size: 1.4rem; font-weight: 800; color: var(--text); text-transform: uppercase; }
.footer .brandline small { display: block; font-family: var(--font-body); font-size: .75rem; letter-spacing: .2em; color: var(--accent); font-weight: 600; }
.footer-social { display: flex; gap: .8rem; margin-top: 1.2rem; }
.footer-social a { width: 42px; height: 42px; border-radius: 12px; background: rgba(255,255,255,.05); display: grid; place-items: center; font-size: .95rem; font-weight: 700; color: var(--text); transition: all 0.2s ease; border: 1px solid var(--border); }
.footer-social a:hover { background: var(--primary); border-color: var(--primary); transform: translateY(-2px); box-shadow: 0 4px 10px rgba(183, 3, 3, 0.4); }
.footer-bottom { border-top: 1px solid var(--border); padding-top: 2rem; display: flex; flex-wrap: wrap; gap: .6rem 1.5rem; justify-content: space-between; font-size: .9rem; color: var(--muted); }

/* ---------- Reveal Animation ---------- */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity .6s cubic-bezier(0.2, 0.8, 0.2, 1), transform .6s cubic-bezier(0.2, 0.8, 0.2, 1); }
.reveal.in { opacity: 1; transform: none; }

/* ---------- Back to top ---------- */
.to-top { position: fixed; right: 24px; bottom: 24px; width: 50px; height: 50px; border-radius: 50%; background: var(--primary); color: var(--text); border: 2px solid var(--accent); display: grid; place-items: center; font-size: 1.3rem; opacity: 0; pointer-events: none; transition: all .25s ease; z-index: 90; box-shadow: 0 4px 15px rgba(183,3,3,0.4); }
.to-top.show { opacity: 1; pointer-events: auto; }
.to-top:hover { background: var(--accent); color: #0C0C0E; border-color: var(--primary); transform: translateY(-3px); box-shadow: 0 6px 20px rgba(234, 204, 59, 0.4); }

/* ---------- Page Hero (Subpages) ---------- */
.page-hero { background: var(--primary); color: var(--text); position: relative; overflow: hidden; }
.page-hero::after { content: ""; position: absolute; inset: auto 0 0 0; height: 5px; background: var(--accent); }
.page-hero .inner { max-width: var(--maxw); margin: 0 auto; padding: 6.5rem 24px 6rem; position: relative; z-index: 2; }
.page-hero .eyebrow { color: var(--accent); }
.page-hero p.lead { color: rgba(243,244,246,.85); max-width: 62ch; font-size: 1.18rem; }

/* ---------- CTA Band ---------- */
.cta-band { background: var(--accent); color: #0C0C0E; border-block: 1px solid rgba(234, 204, 59, 0.3); }
.cta-band .inner { max-width: var(--maxw); margin: 0 auto; padding: 5rem 24px; display: flex; flex-wrap: wrap; align-items: center; gap: 2rem; justify-content: space-between; }
.cta-band h2 { color: #0C0C0E; margin: 0; }
.cta-band p { color: rgba(12, 12, 14, 0.8); max-width: 52ch; margin: .5rem 0 0; font-size: 1.05rem; }
.cta-band .btn-gold { background: var(--primary); color: var(--text); box-shadow: 0 4px 15px rgba(183, 3, 3, 0.3); }
.cta-band .btn-gold:hover { box-shadow: 0 6px 20px rgba(183, 3, 3, 0.5); }

/* ---------- Legal / Doc Pages ---------- */
.doc { max-width: 860px; margin: 0 auto; padding: 4.5rem 24px 6rem; }
.doc h2 { font-size: 1.85rem; margin-top: 2.6rem; margin-bottom: .7rem; color: var(--accent); text-shadow: 0 0 10px var(--accent-glow); }
.doc h3 { font-size: 1.35rem; margin-top: 2rem; color: var(--text); }
.doc p, .doc li { color: rgba(243, 244, 246, 0.85); }
.doc ul, .doc ol { padding-left: 1.5rem; }
.doc li { margin-bottom: .6rem; }
.doc .meta { color: var(--muted); font-size: .95rem; margin-bottom: 1.8rem; }
.doc .note { background: #16161A; border-left: 4px solid var(--primary); border-radius: var(--radius-sm); padding: 1.2rem 1.5rem; margin: 1.5rem 0; color: var(--text); font-size: 1rem; border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); border-right: 1px solid var(--border); }
.doc table { width: 100%; border-collapse: collapse; margin: 1.5rem 0; font-size: .98rem; }
.doc table th, .doc table td { border: 1px solid var(--border); padding: .8rem 1rem; text-align: left; }
.doc table th { background: #16161A; color: var(--text); font-family: var(--font-display); letter-spacing: .05em; text-transform: uppercase; font-size: .85rem; }
.doc .toc { background: #16161A; border: 1px solid var(--border); border-radius: var(--radius); padding: 1.6rem 1.8rem; margin-bottom: 2.5rem; }
.doc .toc h4 { margin-bottom: .8rem; color: var(--accent); }
.doc .toc a { display: block; padding: .25rem 0; color: var(--text); }
.doc .toc a:hover { color: var(--accent); }

/* ---------- Responsive ---------- */
@media (max-width: 960px) {
  .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .pillars { grid-template-columns: repeat(2, 1fr); }
  .split { grid-template-columns: 1fr; gap: 2.5rem; }
  .entities { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .roadmap { grid-template-columns: repeat(2, 1fr); gap: 3rem 2rem; }
  .roadmap::before { display: none; }
  .tech-grid { grid-template-columns: 1fr; }
}
@media (max-width: 720px) {
  body { font-size: 16px; }
  .nav-links { position: fixed; top: 0; right: 0; height: 100vh; width: min(78vw, 320px); background: #0C0C0E; border-left: 1px solid var(--border); flex-direction: column; align-items: flex-start; gap: .5rem; padding: 6rem 2rem 2rem; transform: translateX(100%); transition: transform .25s ease; box-shadow: -20px 0 50px rgba(0,0,0,.6); margin-left: 0; }
  .nav-links.open { transform: none; }
  .nav-links a { width: 100%; font-size: 1.1rem; }
  .nav-toggle { display: block; }
  .grid-3, .grid-4, .grid-2, .pillars, .roadmap { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .section { padding: 4.5rem 0; }
  .hero-content { padding: 6.5rem 24px 6rem; }
  .footer-grid { grid-template-columns: 1fr; gap: 2.5rem; }
}
