/* =========================================================
   GROKLET — main stylesheet
   Palette pulled from Groklet himself: teal skin, glowing
   cyan X, deep-space navy and magenta/violet nebula.
   ========================================================= */

:root {
  --bg: #05040f;
  --bg-2: #0a0820;
  --panel: rgba(16, 22, 44, 0.55);
  --panel-solid: #0d1230;
  --line: rgba(70, 244, 255, 0.16);
  --line-strong: rgba(70, 244, 255, 0.4);

  --teal: #2fb3aa;
  --teal-light: #5fd6cc;
  --teal-deep: #10716f;
  --cyan: #46f4ff;
  --violet: #7b4dff;
  --magenta: #d14bff;
  --peach: #f0a59a;

  --text: #e8fbff;
  --muted: #93b4c4;
  --dim: #5f7d8e;

  --radius: 18px;
  --radius-lg: 28px;
  --container: 1200px;
  --nav-h: 76px;

  --font-display: "Orbitron", system-ui, sans-serif;
  --font-body: "Space Grotesk", system-ui, -apple-system, "Segoe UI", sans-serif;

  --glow: 0 0 18px rgba(70, 244, 255, 0.55), 0 0 42px rgba(70, 244, 255, 0.25);
  --shadow: 0 20px 60px rgba(0, 0, 0, 0.45);
}

*,
*::before,
*::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; scroll-padding-top: var(--nav-h); -webkit-text-size-adjust: 100%; }

body {
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

img, video, iframe { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
svg { width: 1em; height: 1em; fill: currentColor; }

::selection { background: var(--cyan); color: var(--bg); }

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 24px; }
.center { text-align: center; }

/* ---------- Background layers ---------- */
#stars { position: fixed; inset: 0; z-index: -2; pointer-events: none; }

.nebula {
  position: fixed; inset: 0; z-index: -3; pointer-events: none;
  background:
    radial-gradient(60% 50% at 85% 10%, rgba(209, 75, 255, 0.22), transparent 70%),
    radial-gradient(50% 45% at 8% 35%, rgba(123, 77, 255, 0.2), transparent 70%),
    radial-gradient(45% 40% at 70% 85%, rgba(47, 179, 170, 0.18), transparent 70%),
    radial-gradient(40% 35% at 20% 95%, rgba(209, 75, 255, 0.12), transparent 70%),
    linear-gradient(180deg, #05040f 0%, #080623 50%, #05040f 100%);
}

.cursor-glow {
  position: fixed; top: 0; left: 0; width: 400px; height: 400px; z-index: -1;
  border-radius: 50%; pointer-events: none; opacity: 0;
  background: radial-gradient(circle, rgba(70, 244, 255, 0.09), transparent 65%);
  transition: opacity 0.4s;
}

/* ---------- Typography ---------- */
h1, h2, h3 { font-family: var(--font-display); line-height: 1.12; letter-spacing: 0.01em; }
h2 { font-size: clamp(1.9rem, 4.2vw, 3.1rem); font-weight: 700; margin-bottom: 18px; }
h2 em, .cta-inner h2 em {
  font-style: normal;
  background: linear-gradient(90deg, var(--cyan), var(--teal-light) 50%, var(--magenta));
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
h3 { font-size: 1.05rem; font-weight: 700; margin-bottom: 8px; letter-spacing: 0.03em; }

.kicker {
  font-family: var(--font-display); font-size: 0.78rem; font-weight: 500;
  letter-spacing: 0.3em; text-transform: uppercase; color: var(--cyan);
  margin-bottom: 14px;
}
.lead { font-size: 1.12rem; color: var(--muted); max-width: 560px; }
.note { margin-top: 22px; text-align: center; color: var(--dim); font-size: 0.85rem; }

.section { padding: 120px 0; position: relative; }
.section-alt { background: linear-gradient(180deg, transparent, rgba(16, 113, 111, 0.07) 30%, rgba(123, 77, 255, 0.06) 70%, transparent); }
.section-head { margin-bottom: 56px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 14px 24px; border-radius: 999px;
  font-family: var(--font-display); font-weight: 700; font-size: 0.85rem;
  letter-spacing: 0.08em; text-transform: uppercase; white-space: nowrap;
  transition: transform 0.25s, box-shadow 0.25s, background 0.25s, border-color 0.25s;
}
.btn img { width: 22px; height: 22px; object-fit: contain; }
.btn svg { width: 18px; height: 18px; }
.btn-primary {
  color: #031416;
  background: linear-gradient(135deg, var(--cyan), var(--teal) 60%, var(--teal-deep));
  box-shadow: 0 0 0 1px rgba(70, 244, 255, 0.5), 0 10px 30px rgba(47, 179, 170, 0.35);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 0 0 1px var(--cyan), var(--glow); }
.btn-ghost { border: 1px solid var(--line-strong); background: rgba(10, 18, 40, 0.55); backdrop-filter: blur(8px); }
.btn-ghost:hover { border-color: var(--cyan); box-shadow: var(--glow); transform: translateY(-2px); }
.btn-icon { padding: 14px; width: 50px; height: 50px; }
.btn-sm { padding: 10px 18px; font-size: 0.72rem; }
.btn-lg { padding: 18px 34px; font-size: 0.95rem; }
.btn-lg img { width: 26px; height: 26px; }

/* ---------- Socials ---------- */
.socials { display: flex; gap: 10px; }
.social {
  width: 40px; height: 40px; border-radius: 12px;
  display: grid; place-items: center;
  border: 1px solid var(--line); background: rgba(10, 18, 40, 0.6);
  transition: border-color 0.25s, box-shadow 0.25s, transform 0.25s;
}
.social svg { width: 17px; height: 17px; }
.social img { width: 22px; height: 22px; object-fit: contain; }
.social:hover { border-color: var(--cyan); box-shadow: var(--glow); transform: translateY(-2px); }
.socials-lg .social { width: 60px; height: 60px; border-radius: 18px; }
.socials-lg .social svg { width: 24px; height: 24px; }
.socials-lg .social img { width: 32px; height: 32px; }

/* ---------- Nav ---------- */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 50; height: var(--nav-h);
  transition: background 0.3s, border-color 0.3s, backdrop-filter 0.3s;
  border-bottom: 1px solid transparent;
}
.nav.scrolled, .nav.open {
  background: rgba(5, 4, 15, 0.78); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  border-bottom-color: var(--line);
}
.nav-inner { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: flex; align-items: center; gap: 12px; font-family: var(--font-display); font-weight: 900; letter-spacing: 0.12em; font-size: 1.05rem; }
.brand img { border-radius: 50%; object-fit: cover; border: 1px solid var(--line-strong); box-shadow: 0 0 16px rgba(70, 244, 255, 0.35); }
.nav-links { display: flex; gap: 30px; }
.nav-links a { font-size: 0.92rem; color: var(--muted); position: relative; transition: color 0.2s; }
.nav-links a::after {
  content: ""; position: absolute; left: 0; bottom: -6px; height: 2px; width: 0;
  background: var(--cyan); box-shadow: var(--glow); transition: width 0.25s;
}
.nav-links a:hover { color: var(--text); }
.nav-links a:hover::after { width: 100%; }
.nav-actions { display: flex; align-items: center; gap: 14px; }

.menu-btn { display: none; width: 42px; height: 42px; border-radius: 12px; border: 1px solid var(--line); position: relative; }
.menu-btn span { position: absolute; left: 11px; right: 11px; height: 2px; background: var(--text); border-radius: 2px; transition: transform 0.3s, top 0.3s; }
.menu-btn span:first-child { top: 15px; }
.menu-btn span:last-child { top: 24px; }
.nav.open .menu-btn span:first-child { top: 20px; transform: rotate(45deg); }
.nav.open .menu-btn span:last-child { top: 20px; transform: rotate(-45deg); }

/* ---------- Hero ---------- */
.hero { min-height: 100vh; min-height: 100svh; display: flex; align-items: center; padding: calc(var(--nav-h) + 40px) 0 90px; position: relative; }
.hero-grid { display: grid; grid-template-columns: 1fr 1.05fr; gap: 56px; align-items: center; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 8px 16px; border-radius: 999px; border: 1px solid var(--line-strong);
  background: rgba(70, 244, 255, 0.06); color: var(--cyan);
  font-size: 0.82rem; font-weight: 600; letter-spacing: 0.06em; margin-bottom: 26px;
}
.dot { width: 8px; height: 8px; border-radius: 50%; background: var(--cyan); box-shadow: 0 0 10px var(--cyan); animation: pulse 1.8s infinite; flex-shrink: 0; }

.hero-title {
  font-size: clamp(3.6rem, 10.5vw, 8.4rem); font-weight: 900; letter-spacing: 0.02em; line-height: 0.95;
  margin-bottom: 24px;
  background: linear-gradient(180deg, #ffffff 0%, #c6fbff 45%, var(--teal-light) 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
  filter: drop-shadow(0 0 28px rgba(70, 244, 255, 0.35));
}
.hero-title span {
  background: linear-gradient(180deg, var(--cyan), var(--teal) 70%, var(--teal-deep));
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.hero-sub { font-size: 1.18rem; color: var(--muted); max-width: 520px; margin-bottom: 30px; }
.hero-sub strong { color: var(--text); font-weight: 600; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; }

/* CA box */
.ca-box {
  display: flex; align-items: center; gap: 12px; max-width: 560px;
  padding: 8px 8px 8px 16px; margin-bottom: 26px;
  border-radius: 16px; border: 1px solid var(--line-strong);
  background: rgba(8, 14, 34, 0.7); backdrop-filter: blur(10px);
}
.ca-label {
  font-family: var(--font-display); font-weight: 700; font-size: 0.72rem; letter-spacing: 0.15em;
  color: #031416; background: var(--cyan); padding: 4px 9px; border-radius: 6px; flex-shrink: 0;
}
.ca-value { flex: 1; min-width: 0; font-family: ui-monospace, "SFMono-Regular", Consolas, monospace; font-size: 0.88rem; color: var(--text); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ca-copy {
  display: inline-flex; align-items: center; gap: 7px; flex-shrink: 0;
  padding: 10px 14px; border-radius: 11px; font-weight: 600; font-size: 0.85rem;
  background: rgba(70, 244, 255, 0.1); border: 1px solid var(--line-strong); color: var(--cyan);
  transition: background 0.2s, color 0.2s;
}
.ca-copy svg { width: 16px; height: 16px; }
.ca-copy:hover, .ca-copy.copied { background: var(--cyan); color: #031416; }
.ca-wide { margin: 0 auto 64px; max-width: 720px; }

/* Transmission frame */
.hero-visual { position: relative; }
.transmission {
  position: relative; border-radius: var(--radius-lg); overflow: hidden;
  border: 1px solid var(--line-strong);
  background: var(--panel-solid);
  box-shadow: 0 0 0 6px rgba(70, 244, 255, 0.04), 0 0 60px rgba(70, 244, 255, 0.18), var(--shadow);
  animation: float 7s ease-in-out infinite;
}
.transmission video { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.tx-bar, .tweet-head {
  position: absolute; top: 0; left: 0; right: 0; z-index: 3;
  display: flex; justify-content: space-between; align-items: center;
  padding: 14px 18px; font-family: var(--font-display); font-size: 0.66rem; letter-spacing: 0.2em; text-transform: uppercase;
  background: linear-gradient(180deg, rgba(5, 4, 15, 0.85), transparent);
}
.tx-live { display: inline-flex; align-items: center; gap: 8px; color: var(--cyan); }
.tx-id { color: var(--muted); }
.scanlines {
  position: absolute; inset: 0; pointer-events: none; z-index: 2; opacity: 0.35;
  background: repeating-linear-gradient(0deg, rgba(0, 0, 0, 0.18) 0 1px, transparent 1px 3px);
}
.hud { position: absolute; width: 22px; height: 22px; border: 2px solid var(--cyan); z-index: 4; filter: drop-shadow(0 0 6px var(--cyan)); }
.hud-tl { top: 10px; left: 10px; border-right: 0; border-bottom: 0; border-top-left-radius: 8px; }
.hud-tr { top: 10px; right: 10px; border-left: 0; border-bottom: 0; border-top-right-radius: 8px; }
.hud-bl { bottom: 10px; left: 10px; border-right: 0; border-top: 0; border-bottom-left-radius: 8px; }
.hud-br { bottom: 10px; right: 10px; border-left: 0; border-top: 0; border-bottom-right-radius: 8px; }
.sound-btn {
  position: absolute; z-index: 5; right: 18px; bottom: 18px;
  display: inline-flex; align-items: center; gap: 8px;
  padding: 9px 14px; border-radius: 999px; font-size: 0.8rem; font-weight: 600;
  background: rgba(5, 4, 15, 0.7); border: 1px solid var(--line-strong); backdrop-filter: blur(6px);
  transition: border-color 0.2s, box-shadow 0.2s;
}
.sound-btn svg { width: 18px; height: 18px; }
.sound-btn .ic-on { display: none; }
.sound-btn.on .ic-on { display: block; }
.sound-btn.on .ic-off { display: none; }
.sound-btn:hover, .sound-btn.on { border-color: var(--cyan); box-shadow: var(--glow); color: var(--cyan); }

.orbit { position: absolute; border-radius: 50%; border: 1px dashed rgba(70, 244, 255, 0.22); pointer-events: none; z-index: -1; }
.orbit-1 { inset: -12% -8%; animation: spin 60s linear infinite; }
.orbit-2 { inset: -26% -18%; border-color: rgba(209, 75, 255, 0.16); animation: spin 90s linear infinite reverse; }
.orbit-1::before, .orbit-2::before {
  content: ""; position: absolute; top: 50%; left: -5px; width: 10px; height: 10px; border-radius: 50%;
  background: var(--cyan); box-shadow: 0 0 14px var(--cyan);
}
.orbit-2::before { background: var(--magenta); box-shadow: 0 0 14px var(--magenta); left: auto; right: -5px; top: 30%; }

.scroll-hint {
  position: absolute; left: 50%; bottom: 28px; transform: translateX(-50%);
  width: 26px; height: 42px; border-radius: 14px; border: 2px solid var(--line-strong);
}
.scroll-hint span { position: absolute; left: 50%; top: 8px; width: 4px; height: 8px; margin-left: -2px; border-radius: 2px; background: var(--cyan); animation: scroll 1.8s infinite; }

/* ---------- Marquee ---------- */
.marquee {
  overflow: hidden; border-block: 1px solid var(--line);
  background: linear-gradient(90deg, rgba(16, 113, 111, 0.25), rgba(123, 77, 255, 0.18), rgba(16, 113, 111, 0.25));
  padding: 18px 0;
}
.marquee-track { display: flex; gap: 34px; width: max-content; animation: marquee 34s linear infinite; }
.marquee span { font-family: var(--font-display); font-weight: 700; font-size: 1.05rem; letter-spacing: 0.16em; text-transform: uppercase; white-space: nowrap; }
.marquee i { font-style: normal; color: var(--cyan); text-shadow: 0 0 10px var(--cyan); }

/* ---------- About ---------- */
.about-grid { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 72px; align-items: center; }
/* animated conic ring: only the ::before layer rotates, the image stays still */
.portal {
  position: relative; overflow: hidden; padding: 2px; border-radius: var(--radius-lg);
  box-shadow: 0 0 70px rgba(70, 244, 255, 0.2), 0 0 140px rgba(209, 75, 255, 0.12);
}
.portal::before {
  content: ""; position: absolute; inset: -50%; z-index: 0;
  background: conic-gradient(from 0deg, var(--cyan), var(--violet), var(--magenta), var(--teal), var(--cyan));
  animation: spin 10s linear infinite;
}
.portal img { position: relative; z-index: 1; border-radius: calc(var(--radius-lg) - 2px); width: 100%; aspect-ratio: 4 / 5; object-fit: cover; object-position: center 25%; }

.traits { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; margin-top: 36px; }
.trait {
  padding: 22px; border-radius: var(--radius);
  background: var(--panel); border: 1px solid var(--line); backdrop-filter: blur(10px);
  transition: border-color 0.3s, transform 0.3s, box-shadow 0.3s;
}
.trait:hover { border-color: var(--line-strong); transform: translateY(-4px); box-shadow: 0 0 30px rgba(70, 244, 255, 0.1); }
.trait p { color: var(--muted); font-size: 0.93rem; }
.trait-ic {
  width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; margin-bottom: 16px;
  background: linear-gradient(135deg, rgba(70, 244, 255, 0.18), rgba(47, 179, 170, 0.08));
  border: 1px solid var(--line-strong); color: var(--cyan);
}
.trait-ic svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; filter: drop-shadow(0 0 4px var(--cyan)); }

/* ---------- Timeline ---------- */
.timeline { list-style: none; position: relative; max-width: 900px; margin: 0 auto; }
.timeline::before {
  content: ""; position: absolute; left: 50%; top: 0; bottom: 0; width: 2px; margin-left: -1px;
  background: linear-gradient(180deg, transparent, var(--cyan) 12%, var(--magenta) 88%, transparent);
  box-shadow: 0 0 12px rgba(70, 244, 255, 0.4);
}
.tl-item { position: relative; display: grid; grid-template-columns: 1fr 1fr; gap: 64px; margin-bottom: 36px; align-items: center; }
.tl-item::before {
  content: ""; position: absolute; left: 50%; top: 50%; width: 14px; height: 14px; margin: -7px 0 0 -7px; border-radius: 50%;
  background: var(--bg); border: 2px solid var(--cyan); box-shadow: 0 0 12px var(--cyan); z-index: 1;
}
.tl-key::before { width: 20px; height: 20px; margin: -10px 0 0 -10px; background: var(--cyan); box-shadow: 0 0 22px var(--cyan), 0 0 44px rgba(70, 244, 255, 0.5); }
.tl-date { font-family: var(--font-display); font-weight: 700; color: var(--cyan); letter-spacing: 0.1em; text-align: right; font-size: 1rem; }
.tl-card { padding: 22px 24px; border-radius: var(--radius); background: var(--panel); border: 1px solid var(--line); backdrop-filter: blur(10px); }
.tl-card p { color: var(--muted); font-size: 0.95rem; }
.tl-key .tl-card { border-color: var(--line-strong); box-shadow: 0 0 40px rgba(70, 244, 255, 0.14); background: linear-gradient(135deg, rgba(47, 179, 170, 0.16), rgba(13, 18, 48, 0.6)); }
.tl-item:nth-child(even) .tl-date { order: 2; text-align: left; }
.tl-item:nth-child(even) .tl-card { order: 1; }

/* ---------- Proof ---------- */
.proof-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.quote {
  margin: 30px 0; padding: 26px 28px; border-radius: var(--radius);
  border-left: 3px solid var(--cyan); background: var(--panel); backdrop-filter: blur(10px);
  box-shadow: inset 0 0 0 1px var(--line);
}
.quote p { font-size: 1.12rem; line-height: 1.55; margin-bottom: 14px; }
.quote cite { display: inline-flex; align-items: center; gap: 8px; font-style: normal; color: var(--cyan); font-weight: 600; font-size: 0.9rem; }
.quote cite a:hover { text-decoration: underline; }

.tweet-shell {
  position: relative; border-radius: var(--radius-lg); padding: 58px 18px 18px;
  background: linear-gradient(160deg, rgba(13, 18, 48, 0.85), rgba(16, 113, 111, 0.12));
  border: 1px solid var(--line-strong); box-shadow: 0 0 60px rgba(70, 244, 255, 0.12), var(--shadow);
}
.tweet-head { background: none; }
.tweet-wrap { min-height: 260px; display: flex; flex-direction: column; justify-content: center; }
.tweet-wrap .twitter-tweet { margin: 0 auto !important; }
.tweet-wrap blockquote.twitter-tweet:not(.twitter-tweet-rendered) { display: none; }
.tweet-loading { display: flex; flex-direction: column; align-items: center; gap: 14px; padding: 40px 10px; color: var(--muted); text-align: center; }
.spinner { width: 38px; height: 38px; border-radius: 50%; border: 3px solid var(--line); border-top-color: var(--cyan); animation: spin 0.9s linear infinite; }

/* ---------- Gallery ---------- */
.gallery { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: 250px; gap: 16px; }
.g-item { position: relative; overflow: hidden; border-radius: var(--radius); border: 1px solid var(--line); cursor: zoom-in; background: var(--panel-solid); }
.g-tall { grid-row: span 2; }
.g-item:nth-child(2) { grid-column: span 2; }
.g-item:nth-child(3) { grid-row: span 2; }
.g-item img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s cubic-bezier(.2,.7,.2,1), filter 0.4s; }
.g-item:nth-child(2) img { object-position: center 30%; }
.g-item:nth-child(4) img, .g-item:nth-child(3) img { object-position: center 20%; }
.g-item::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 55%, rgba(5, 4, 15, 0.85)); }
.g-item figcaption {
  position: absolute; left: 18px; bottom: 14px; z-index: 1;
  font-family: var(--font-display); font-weight: 700; font-size: 0.8rem; letter-spacing: 0.16em; text-transform: uppercase;
}
.g-item:hover { border-color: var(--line-strong); box-shadow: 0 0 30px rgba(70, 244, 255, 0.15); }
.g-item:hover img { transform: scale(1.06); }

/* ---------- Token ---------- */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-bottom: 26px; }
.stat {
  padding: 26px 20px; text-align: center; border-radius: var(--radius);
  background: var(--panel); border: 1px solid var(--line); backdrop-filter: blur(10px);
}
.stat-label { display: block; color: var(--dim); font-size: 0.78rem; letter-spacing: 0.22em; text-transform: uppercase; margin-bottom: 8px; }
.stat-value { font-family: var(--font-display); font-weight: 700; font-size: 1.25rem; color: var(--text); }

.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-bottom: 52px; }
.step {
  position: relative; padding: 28px 24px; border-radius: var(--radius);
  background: var(--panel); border: 1px solid var(--line); overflow: hidden;
  transition: border-color 0.3s, transform 0.3s;
}
.step:hover { border-color: var(--line-strong); transform: translateY(-4px); }
.step-n {
  display: block; font-family: var(--font-display); font-weight: 900; font-size: 2.4rem; line-height: 1; margin-bottom: 18px;
  background: linear-gradient(180deg, var(--cyan), rgba(70, 244, 255, 0.1));
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.step p { color: var(--muted); font-size: 0.93rem; }

/* ---------- Chart ---------- */
.chart-shell {
  border-radius: var(--radius-lg); overflow: hidden; border: 1px solid var(--line-strong);
  background: var(--panel-solid); box-shadow: 0 0 50px rgba(70, 244, 255, 0.1);
}
.chart-shell iframe { width: 100%; height: 560px; border: 0; }

/* ---------- CTA band ---------- */
.cta-band { position: relative; overflow: hidden; padding: 130px 0; text-align: center; border-top: 1px solid var(--line); }
.cta-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0.55; z-index: -1; }
.cta-band::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, var(--bg) 0%, rgba(5, 4, 15, 0.35) 40%, rgba(5, 4, 15, 0.35) 60%, var(--bg) 100%); }
.cta-inner h2 { font-size: clamp(1.8rem, 4.6vw, 3.4rem); margin-bottom: 32px; text-shadow: 0 4px 30px rgba(0, 0, 0, 0.6); }
.cta-inner .socials { justify-content: center; }

/* ---------- Footer ---------- */
.footer { padding: 54px 0 40px; border-top: 1px solid var(--line); background: rgba(5, 4, 15, 0.85); }
.footer-inner { display: flex; flex-direction: column; align-items: center; gap: 18px; text-align: center; }
.disclaimer { max-width: 760px; color: var(--dim); font-size: 0.82rem; }
.copy { color: var(--dim); font-size: 0.8rem; }

/* ---------- Lightbox / Toast ---------- */
.lightbox {
  position: fixed; inset: 0; z-index: 100; display: grid; place-items: center; padding: 24px;
  background: rgba(3, 2, 10, 0.92); backdrop-filter: blur(8px);
  opacity: 0; visibility: hidden; transition: opacity 0.3s, visibility 0.3s;
}
.lightbox.open { opacity: 1; visibility: visible; }
.lightbox img { max-height: 88vh; max-width: min(100%, 1100px); border-radius: var(--radius); border: 1px solid var(--line-strong); box-shadow: 0 0 60px rgba(70, 244, 255, 0.2); }
.lb-close { position: absolute; top: 20px; right: 20px; width: 46px; height: 46px; border-radius: 50%; border: 1px solid var(--line-strong); font-size: 1.1rem; background: rgba(10, 18, 40, 0.8); }
.lb-close:hover { border-color: var(--cyan); color: var(--cyan); }

.toast {
  position: fixed; left: 50%; bottom: 30px; z-index: 110; transform: translate(-50%, 30px);
  padding: 12px 22px; border-radius: 999px; font-weight: 600; font-size: 0.9rem;
  color: #031416; background: var(--cyan); box-shadow: var(--glow);
  opacity: 0; pointer-events: none; transition: opacity 0.3s, transform 0.3s;
}
.toast.show { opacity: 1; transform: translate(-50%, 0); }

/* ---------- Reveal ---------- */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity 0.8s cubic-bezier(.2,.7,.2,1), transform 0.8s cubic-bezier(.2,.7,.2,1); }
.reveal.in { opacity: 1; transform: none; }

/* ---------- Keyframes ---------- */
@keyframes pulse { 0%, 100% { opacity: 1; transform: scale(1); } 50% { opacity: 0.45; transform: scale(0.8); } }
@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-12px); } }
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes marquee { to { transform: translateX(-50%); } }
@keyframes scroll { 0% { opacity: 0; transform: translateY(0); } 40% { opacity: 1; } 100% { opacity: 0; transform: translateY(14px); } }

/* ---------- Responsive ---------- */
@media (max-width: 1080px) {
  .nav-links { gap: 22px; }
  .nav-actions .socials { display: none; }
}

@media (max-width: 960px) {
  :root { --nav-h: 68px; }
  .menu-btn { display: block; }
  .nav-links {
    position: absolute; top: var(--nav-h); left: 0; right: 0;
    flex-direction: column; gap: 0; padding: 8px 24px 20px;
    background: rgba(5, 4, 15, 0.96); border-bottom: 1px solid var(--line);
    opacity: 0; visibility: hidden; transform: translateY(-10px); transition: opacity 0.25s, transform 0.25s, visibility 0.25s;
  }
  .nav-links a { padding: 14px 0; border-bottom: 1px solid var(--line); font-size: 1rem; }
  .nav-links a:last-child { border-bottom: 0; }
  .nav-links a::after { display: none; }
  .nav.open .nav-links { opacity: 1; visibility: visible; transform: none; }

  .hero-grid, .about-grid, .proof-grid { grid-template-columns: minmax(0, 1fr); gap: 48px; }
  .hero-grid > *, .about-grid > *, .proof-grid > * { min-width: 0; }
  .hero { padding-bottom: 100px; }
  .hero-copy { text-align: center; }
  .hero-sub, .ca-box { margin-left: auto; margin-right: auto; }
  .hero-cta { justify-content: center; }
  .about-media { max-width: 440px; margin: 0 auto; width: 100%; }
  .section { padding: 90px 0; }

  .timeline::before { left: 7px; }
  .tl-item { grid-template-columns: 1fr; gap: 10px; padding-left: 36px; }
  .tl-item::before { left: 7px; top: 12px; margin-top: 0; }
  .tl-key::before { top: 9px; margin-top: 0; }
  .tl-date, .tl-item:nth-child(even) .tl-date { order: 0; text-align: left; }
  .tl-item:nth-child(even) .tl-card { order: 1; }

  .gallery { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 220px; }
  .g-item:nth-child(2) { grid-column: span 1; }
  .g-item:nth-child(3) { grid-row: span 1; }
  .g-item:last-child { grid-column: span 2; }
  .stats, .steps { grid-template-columns: repeat(2, 1fr); }
  .chart-shell iframe { height: 480px; }
}

@media (max-width: 560px) {
  .container { padding: 0 16px; }
  .nav-actions .btn-sm { display: none; }
  .hero-sub { font-size: 1.05rem; }
  .ca-box { padding-left: 12px; gap: 8px; }
  .ca-value { font-size: 0.78rem; }
  .ca-copy span { display: none; }
  .ca-copy { padding: 10px; }
  .hero-cta .btn-primary { flex: 1 1 100%; }
  .hero-cta .btn-ghost { flex: 1 1 auto; }
  .hero-cta .btn-icon { flex: 0 0 50px; }
  .traits { grid-template-columns: 1fr; }
  .gallery { grid-template-columns: 1fr; grid-auto-rows: 300px; }
  .g-tall, .g-item:last-child { grid-row: span 1; grid-column: span 1; }
  .g-item:first-child img { object-position: center 70%; }
  .stats { grid-template-columns: 1fr 1fr; gap: 10px; }
  .stat { padding: 20px 10px; }
  .stat-value { font-size: 1rem; }
  .steps { grid-template-columns: 1fr; }
  .tweet-shell { padding: 54px 8px 8px; }
  .quote { padding: 20px; }
  .quote p { font-size: 1.02rem; }
  .orbit { display: none; }
  .chart-shell iframe { height: 420px; }
  .cta-band { padding: 100px 0; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; }
}
