/* ============================================
   MYTHOS ROUTER — Premium Dark Developer UI
   ============================================ */

/* ─── Reset & Base ─── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --bg:           #07080b;
  --bg2:          #0d0f18;
  --bg3:          #111420;
  --surface:      rgba(17, 20, 32, 0.72);
  --surface2:     rgba(25, 29, 48, 0.60);
  --border:       rgba(255,255,255,0.07);
  --border2:      rgba(255,255,255,0.12);
  --accent:       #10B981;
  --accent2:      #00F2FE;
  --accent-glow:  rgba(16, 185, 129, 0.18);
  --purple:       #8B5CF6;
  --gold:         #F59E0B;
  --cyan:         #06B6D4;
  --pink:         #EC4899;
  --orange:       #F97316;
  --text:         #F1F5F9;
  --text-muted:   #94A3B8;
  --text-dim:     #64748B;
  --mono:         'JetBrains Mono', 'Fira Code', monospace;
  --sans:         'Outfit', system-ui, sans-serif;
  --radius:       14px;
  --radius-sm:    8px;
  --radius-lg:    22px;
  --nav-h:        64px;
  --shadow:       0 8px 40px rgba(0,0,0,0.55);
  --shadow-accent:0 0 40px rgba(16,185,129,0.15);
  --transition:   0.25s cubic-bezier(0.4,0,0.2,1);
}

html { scroll-behavior: smooth; font-size: 16px; }
body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--sans);
  line-height: 1.65;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; text-decoration: none; }
code, pre {
  font-family: var(--mono);
  font-size: 0.85em;
}
code {
  background: rgba(16,185,129,0.1);
  color: var(--accent);
  padding: 0.15em 0.45em;
  border-radius: 5px;
  border: 1px solid rgba(16,185,129,0.2);
}
button { cursor: pointer; font-family: var(--sans); border: none; }
img { max-width: 100%; }

/* ─── Layout ─── */
.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.page { display: none; }
.page.active { display: block; }

/* ─── Scroll Animations ─── */
.fade-in {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.65s ease, transform 0.65s ease;
}
.fade-in.visible { opacity: 1; transform: none; }
.fade-in[data-delay="1"] { transition-delay: 0.1s; }
.fade-in[data-delay="2"] { transition-delay: 0.2s; }
.fade-in[data-delay="3"] { transition-delay: 0.3s; }

/* ─── Accent Text ─── */
.accent {
  background: linear-gradient(135deg, var(--accent), var(--accent2));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ─── Announcement Bar ─── */
.announcement-bar {
  background: linear-gradient(90deg, rgba(16,185,129,0.12), rgba(0,242,254,0.08), rgba(16,185,129,0.12));
  border-bottom: 1px solid rgba(16,185,129,0.22);
  padding: 10px 24px;
  position: sticky;
  top: 0;
  z-index: 999;
  backdrop-filter: blur(12px);
  transition: transform 0.3s ease, opacity 0.3s ease;
}
.announcement-bar.hidden { display: none; }
.announcement-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  max-width: 1200px;
  margin: 0 auto;
  position: relative;
}
.announcement-text { font-size: 0.875rem; color: var(--text-muted); }
.announcement-full { display: inline; }
.announcement-compact { display: none; }
.announcement-link {
  color: var(--accent);
  font-weight: 600;
  border-bottom: 1px solid transparent;
  transition: border-color 0.2s;
}
.announcement-link:hover { border-color: var(--accent); }
.announcement-close {
  background: transparent;
  color: var(--text-dim);
  font-size: 0.8rem;
  padding: 2px 6px;
  border-radius: 4px;
  position: absolute;
  right: 0;
  transition: color 0.2s;
}
.announcement-close:hover { color: var(--text); }

/* ─── Navigation ─── */
.nav {
  position: sticky;
  top: 0;
  z-index: 900;
  background: rgba(7, 8, 11, 0.88);
  backdrop-filter: blur(18px) saturate(180%);
  border-bottom: 1px solid var(--border);
  transition: background 0.3s;
}
.nav.with-announcement { top: 44px; }
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--nav-h);
  gap: 24px;
}
.nav-logo {
  font-family: var(--mono);
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--text);
  letter-spacing: -0.02em;
  white-space: nowrap;
}
.nav-logo span { color: var(--accent); }
.nav-logo:hover span { text-shadow: 0 0 18px var(--accent); }

.nav-links {
  display: flex;
  align-items: center;
  gap: 4px;
  list-style: none;
  flex: 1;
  justify-content: flex-end;
}
/* ─── Hero CA Block ─── */
.ca-block {
  display: flex;
  flex-direction: column;
  gap: 10px;
  align-self: flex-start;
}
.ca-ticker {
  font-family: var(--mono);
  font-size: 1.875rem;
  font-weight: 700;
  color: var(--accent);
  letter-spacing: 0.04em;
  text-shadow: 0 0 16px var(--accent-glow);
  white-space: nowrap;
}
.ca-row {
  display: flex;
  align-items: center;
  gap: 8px;
}
.ca-row-label {
  font-family: var(--mono);
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--text-muted);
  white-space: nowrap;
  flex-shrink: 0;
}
.ca-box {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 6px 10px;
  flex: 1;
  min-width: 300px;
  height: 38px;
  transition: border-color 0.2s, background 0.2s;
}
.ca-box:hover {
  border-color: var(--accent);
  background: var(--accent-glow);
}
.ca-address {
  font-family: var(--mono);
  font-size: 0.8rem;
  color: var(--text-muted);
  flex: 1;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  transition: color 0.2s;
}
.ca-box:hover .ca-address {
  color: var(--text);
}
.ca-copy-btn {
  background: transparent;
  color: var(--text-dim);
  padding: 3px;
  border-radius: 4px;
  display: flex;
  align-items: center;
  transition: color 0.2s;
  flex-shrink: 0;
}
.ca-copy-btn:hover { color: var(--accent); }
.ca-copy-btn.copied { color: var(--accent); }


.nav-link {
  color: var(--text-muted);
  font-size: 0.9rem;
  font-weight: 500;
  padding: 6px 12px;
  border-radius: var(--radius-sm);
  transition: color 0.2s, background 0.2s;
}
.nav-link:hover, .nav-link.active-page { color: var(--text); background: var(--border); }
.nav-link-accent { color: var(--accent) !important; }
.nav-link-accent:hover { background: var(--accent-glow) !important; }
.nav-socials {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 0 8px;
}
.nav-socials a {
  display: flex;
  align-items: center;
  color: var(--text-dim);
  padding: 6px;
  border-radius: 6px;
  transition: color 0.2s, background 0.2s;
}
.nav-socials a:hover { color: var(--text); background: var(--border); }
.nav-buy-btn {
  display: flex;
  align-items: center;
  gap: 6px;
  background: linear-gradient(135deg, var(--accent), var(--accent2));
  color: #000 !important;
  font-size: 0.85rem;
  font-weight: 700;
  padding: 7px 16px;
  border-radius: 100px;
  transition: opacity 0.2s, transform 0.2s, box-shadow 0.2s;
  white-space: nowrap;
}
.nav-buy-btn:hover { opacity: 0.88; transform: translateY(-1px); box-shadow: 0 6px 20px rgba(16,185,129,0.35); }

.mobile-menu-btn {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: transparent;
  padding: 8px;
  border-radius: 6px;
}
.bar {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: transform 0.3s, opacity 0.3s;
}

/* ─── Buttons ─── */
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: linear-gradient(135deg, var(--accent) 0%, var(--accent2) 100%);
  color: #000;
  font-weight: 700;
  font-size: 0.92rem;
  padding: 11px 24px;
  border-radius: 100px;
  border: none;
  cursor: pointer;
  transition: opacity 0.2s, transform 0.2s, box-shadow 0.2s;
  white-space: nowrap;
  text-decoration: none;
}
.btn-primary:hover { opacity: 0.88; transform: translateY(-2px); box-shadow: 0 8px 28px rgba(16,185,129,0.40); }
.btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: transparent;
  color: var(--text-muted);
  font-weight: 600;
  font-size: 0.92rem;
  padding: 10px 22px;
  border-radius: 100px;
  border: 1px solid var(--border2);
  cursor: pointer;
  transition: color 0.2s, border-color 0.2s, background 0.2s, transform 0.2s;
  text-decoration: none;
  white-space: nowrap;
}
.btn-secondary:hover { color: var(--text); border-color: rgba(255,255,255,0.25); background: rgba(255,255,255,0.05); transform: translateY(-1px); }

.copy-btn {
  background: rgba(255,255,255,0.06);
  color: var(--text-dim);
  padding: 6px;
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--border);
  transition: color 0.2s, background 0.2s;
  flex-shrink: 0;
}
.copy-btn:hover { color: var(--accent); background: var(--accent-glow); border-color: rgba(16,185,129,0.3); }
.copy-btn.copied { color: var(--accent); }
.copy-btn-inline {
  background: transparent;
  color: var(--text-dim);
  padding: 3px 5px;
  border-radius: 4px;
  display: inline-flex;
  align-items: center;
  border: 1px solid transparent;
  transition: all 0.2s;
}
.copy-btn-inline:hover { color: var(--accent); border-color: rgba(16,185,129,0.3); background: var(--accent-glow); }

/* ─── Section Labels ─── */
.section-label {
  display: inline-block;
  font-family: var(--mono);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent);
  background: var(--accent-glow);
  padding: 4px 14px;
  border-radius: 100px;
  border: 1px solid rgba(16,185,129,0.25);
  margin-bottom: 16px;
}
.section-header { text-align: center; margin-bottom: 56px; }
.section-title { font-size: clamp(1.7rem, 3.5vw, 2.6rem); font-weight: 800; letter-spacing: -0.03em; line-height: 1.2; margin: 12px 0; }
.section-sub { color: var(--text-muted); font-size: 1.05rem; max-width: 600px; margin: 0 auto; }

/* ─── Hero ─── */
.hero {
  position: relative;
  min-height: calc(100vh - var(--nav-h));
  display: flex;
  align-items: center;
  overflow: hidden;
  padding: 80px 0 100px;
}
.hero-glow {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 70% 60% at 50% 0%, rgba(16,185,129,0.12) 0%, transparent 70%),
    radial-gradient(ellipse 50% 50% at 80% 50%, rgba(139,92,246,0.07) 0%, transparent 60%),
    radial-gradient(ellipse 40% 60% at 10% 80%, rgba(0,242,254,0.06) 0%, transparent 60%);
  pointer-events: none;
}
.hero-particles {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
}
.particle {
  position: absolute;
  border-radius: 50%;
  animation: floatParticle linear infinite;
  opacity: 0;
}
@keyframes floatParticle {
  0%   { opacity: 0; transform: translateY(0) scale(0.5); }
  15%  { opacity: 1; }
  85%  { opacity: 0.5; }
  100% { opacity: 0; transform: translateY(-120px) scale(1); }
}
.hero-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  position: relative;
  z-index: 1;
}
.hero-content { max-width: 580px; }
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--mono);
  font-size: 0.78rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--accent);
  background: var(--accent-glow);
  padding: 6px 16px 6px 12px;
  border-radius: 100px;
  border: 1px solid rgba(16,185,129,0.25);
  margin-bottom: 28px;
  animation: fadeSlideDown 0.7s ease both;
}
.badge-dot {
  width: 7px; height: 7px;
  background: var(--accent);
  border-radius: 50%;
  animation: pulseDot 2s ease infinite;
  box-shadow: 0 0 8px var(--accent);
}
@keyframes pulseDot {
  0%,100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(0.7); }
}
@keyframes fadeSlideDown {
  from { opacity: 0; transform: translateY(-16px); }
  to { opacity: 1; transform: none; }
}
@keyframes blurReveal {
  0%   { opacity: 0; filter: blur(40px); transform: translateY(30px) scale(0.94); }
  30%  { opacity: 0.2; filter: blur(20px); transform: translateY(14px); }
  60%  { opacity: 0.65; filter: blur(7px);  transform: translateY(4px); }
  85%  { opacity: 0.9;  filter: blur(1.5px); transform: translateY(0px); }
  100% { opacity: 1;   filter: blur(0px);  transform: translateY(0) scale(1); }
}

.hero-title {
  font-size: clamp(2rem, 4.5vw, 3.3rem);
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1.12;
  margin-bottom: 18px;
  animation: blurReveal 1.6s 0.2s cubic-bezier(0.16,1,0.3,1) both;
}
.hero-gradient {
  background: linear-gradient(135deg, var(--accent), var(--accent2) 50%, var(--purple));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.hero-subtitle {
  font-size: 1.15rem;
  color: var(--text-muted);
  margin-bottom: 36px;
  animation: blurReveal 1.1s 0.55s cubic-bezier(0.16,1,0.3,1) both;
}
.hero-cta-group {
  animation: fadeSlideDown 0.8s 0.3s ease both;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 18px;
}
.hero-command-block {
  display: flex;
  align-items: center;
  gap: 12px;
  background: var(--bg3);
  border: 1px solid var(--border2);
  border-radius: var(--radius);
  padding: 14px 18px;
  font-family: var(--mono);
  font-size: 1rem;
  margin-bottom: 20px;
  width: fit-content;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.hero-command-block:hover { border-color: rgba(16,185,129,0.4); box-shadow: var(--shadow-accent); }
.prompt { color: var(--accent); font-weight: 700; }
.cmd-text { color: var(--text); }
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; margin-bottom: 20px; }
.hero-token-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255,255,255,0.03);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 8px 14px;
  font-size: 0.8rem;
  animation: fadeSlideDown 0.8s 0.4s ease both;
}
.token-label { color: var(--text-dim); font-family: var(--mono); font-size: 0.72rem; }
.token-addr { color: var(--text-muted); font-family: var(--mono); font-size: 0.75rem; }

/* ─── Terminal ─── */
.terminal-wrapper {
  animation: fadeSlideLeft 0.9s 0.2s ease both;
}
@keyframes fadeSlideLeft {
  from { opacity: 0; transform: translateX(30px); }
  to { opacity: 1; transform: none; }
}
.terminal-window {
  background: #0c0e18;
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow), 0 0 60px rgba(16,185,129,0.08);
  min-height: 360px;
}
.terminal-topbar {
  display: flex;
  align-items: center;
  gap: 12px;
  background: rgba(255,255,255,0.04);
  border-bottom: 1px solid rgba(255,255,255,0.07);
  padding: 12px 16px;
  flex-wrap: wrap;
}
.terminal-dots { display: flex; gap: 6px; flex-shrink: 0; }
.dot { width: 12px; height: 12px; border-radius: 50%; }
.dot-red    { background: #FF5F57; }
.dot-yellow { background: #FFBD2E; }
.dot-green  { background: #28CA41; }
.terminal-title {
  font-family: var(--mono);
  font-size: 0.78rem;
  color: var(--text-dim);
  flex: 1;
  text-align: center;
}
.terminal-actions { display: flex; gap: 6px; flex-shrink: 0; }
.term-cmd-btn {
  background: rgba(255,255,255,0.05);
  color: var(--text-dim);
  font-family: var(--mono);
  font-size: 0.72rem;
  padding: 4px 12px;
  border-radius: 6px;
  border: 1px solid var(--border);
  transition: all 0.2s;
}
.term-cmd-btn:hover { color: var(--accent); border-color: rgba(16,185,129,0.4); background: var(--accent-glow); }
.term-cmd-btn.active { color: var(--accent); border-color: rgba(16,185,129,0.5); background: var(--accent-glow); }
.terminal-body {
  padding: 20px 20px 24px;
  font-family: var(--mono);
  font-size: 0.82rem;
  line-height: 1.85;
  min-height: 300px;
  overflow-y: auto;
  max-height: 380px;
}
.t-line { display: block; animation: tLineIn 0.15s ease both; }
@keyframes tLineIn {
  from { opacity: 0; transform: translateX(-4px); }
  to { opacity: 1; transform: none; }
}
.t-cmd    { color: #F1F5F9; }
.t-prompt { color: var(--accent); margin-right: 8px; }
.t-info   { color: #64748B; }
.t-ok     { color: var(--accent); }
.t-warn   { color: var(--gold); }
.t-error  { color: #F87171; }
.t-hash   { color: var(--cyan); font-size: 0.75rem; }
.t-path   { color: var(--purple); }
.t-cursor { display: inline-block; width: 8px; height: 1em; background: var(--accent); animation: blink 1s step-end infinite; vertical-align: middle; margin-left: 2px; }
@keyframes blink { 0%,100%{ opacity:1 } 50%{ opacity:0 } }

/* ─── Paths Section ─── */
.paths-section { padding: 100px 0; }
.paths-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.path-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px 26px 24px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  transition: border-color 0.3s, transform 0.3s, box-shadow 0.3s;
  position: relative;
  overflow: hidden;
}
.path-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 80% 60% at 50% 0%, rgba(16,185,129,0.06), transparent);
  opacity: 0;
  transition: opacity 0.3s;
}
.path-card:hover { border-color: rgba(16,185,129,0.3); transform: translateY(-4px); box-shadow: var(--shadow), 0 0 30px rgba(16,185,129,0.08); }
.path-card:hover::before { opacity: 1; }
.path-card-top { display: flex; align-items: center; justify-content: space-between; }
.path-icon {
  width: 44px; height: 44px;
  background: var(--accent-glow);
  border: 1px solid rgba(16,185,129,0.25);
  border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  color: var(--accent);
}
.path-tag {
  font-family: var(--mono);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-dim);
  background: rgba(255,255,255,0.04);
  padding: 3px 10px;
  border-radius: 100px;
  border: 1px solid var(--border);
}
.path-title { font-size: 1.1rem; font-weight: 700; letter-spacing: -0.02em; }
.path-desc { color: var(--text-muted); font-size: 0.9rem; line-height: 1.6; flex: 1; }
.path-cmds {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 12px 14px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.cmd-line { font-family: var(--mono); font-size: 0.82rem; color: var(--text-muted); }
.prompt-s { color: var(--accent); margin-right: 6px; }
.path-link {
  color: var(--accent);
  font-size: 0.88rem;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  transition: gap 0.2s;
}
.path-link:hover { gap: 8px; }

/* ─── How It Works ─── */
.how-section {
  background: linear-gradient(180deg, transparent, rgba(16,185,129,0.04), transparent);
  padding: 100px 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.how-flow {
  display: flex;
  align-items: flex-start;
  gap: 20px;
  margin-top: 40px;
  flex-wrap: nowrap;
  overflow-x: auto;
  padding-bottom: 12px;
}
.flow-step {
  flex: 1;
  min-width: 200px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px 22px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  transition: border-color 0.3s, transform 0.3s;
  position: relative;
}
.flow-step:hover { border-color: rgba(16,185,129,0.3); transform: translateY(-3px); }
.flow-num {
  font-family: var(--mono);
  font-size: 0.7rem;
  font-weight: 700;
  color: var(--accent);
  letter-spacing: 0.1em;
  background: var(--accent-glow);
  width: 28px; height: 28px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  border: 1px solid rgba(16,185,129,0.3);
}
.flow-icon { color: var(--accent); }
.flow-step h4 { font-size: 0.95rem; font-weight: 700; }
.flow-step p { color: var(--text-muted); font-size: 0.84rem; line-height: 1.6; }
.flow-arrow { color: var(--text-dim); display: flex; align-items: center; padding-top: 50px; flex-shrink: 0; }

/* ─── Features ─── */
.features-section { padding: 100px 0; }
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
.feature-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px 24px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  transition: border-color 0.3s, transform 0.3s, box-shadow 0.3s;
}
.feature-card:hover { border-color: var(--border2); transform: translateY(-3px); box-shadow: var(--shadow); }
.feature-icon-wrap {
  width: 44px; height: 44px;
  border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  color: var(--icon-color, var(--accent));
  background: color-mix(in srgb, var(--icon-color, var(--accent)) 12%, transparent);
  border: 1px solid color-mix(in srgb, var(--icon-color, var(--accent)) 25%, transparent);
}
.feature-card h3 { font-size: 1rem; font-weight: 700; }
.feature-card p { color: var(--text-muted); font-size: 0.88rem; line-height: 1.65; }

/* ─── Install ─── */
.install-section {
  padding: 100px 0;
  background: var(--bg2);
  border-top: 1px solid var(--border);
}
.install-grid { max-width: 680px; margin: 0 auto; }
.install-cmd-block {
  background: var(--bg3);
  border: 1px solid var(--border2);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow);
}
.install-tab-row {
  display: flex;
  border-bottom: 1px solid var(--border);
  background: rgba(255,255,255,0.02);
}
.install-tab {
  flex: 1;
  background: transparent;
  color: var(--text-dim);
  font-family: var(--mono);
  font-size: 0.8rem;
  font-weight: 600;
  padding: 12px;
  border-right: 1px solid var(--border);
  transition: color 0.2s, background 0.2s;
}
.install-tab:last-child { border-right: none; }
.install-tab:hover { color: var(--text-muted); background: rgba(255,255,255,0.03); }
.install-tab.active { color: var(--accent); background: var(--accent-glow); }
.install-cmd-display {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 20px 22px;
  font-family: var(--mono);
  font-size: 0.95rem;
}
.cmd-display-line { display: flex; align-items: center; gap: 10px; flex: 1; }
.install-cmd-value { color: var(--text); }

/* ─── Token ─── */
.token-section { padding: 100px 0; }
.token-card {
  background: linear-gradient(135deg, rgba(16,185,129,0.06), rgba(139,92,246,0.05));
  border: 1px solid rgba(16,185,129,0.2);
  border-radius: var(--radius-lg);
  padding: 56px 48px;
  max-width: 700px;
  margin: 0 auto;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.token-card::before {
  content: '$MYTHOS';
  position: absolute;
  font-size: 12rem;
  font-weight: 800;
  color: rgba(16,185,129,0.03);
  right: -2rem;
  top: 50%;
  transform: translateY(-50%);
  pointer-events: none;
  user-select: none;
  font-family: var(--mono);
}
.token-card-header { display: flex; align-items: center; justify-content: center; gap: 12px; margin-bottom: 20px; }
.token-badge-large {
  font-family: var(--mono);
  font-size: 1.6rem;
  font-weight: 800;
  background: linear-gradient(135deg, var(--accent), var(--accent2));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.token-chain {
  font-size: 0.8rem;
  color: var(--text-dim);
  background: var(--surface);
  border: 1px solid var(--border);
  padding: 3px 10px;
  border-radius: 100px;
  font-family: var(--mono);
}
.token-desc { color: var(--text-muted); line-height: 1.7; margin-bottom: 28px; max-width: 500px; margin-left: auto; margin-right: auto; }
.token-ca-block {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 10px 16px;
  margin-bottom: 28px;
  font-family: var(--mono);
  font-size: 0.8rem;
  color: var(--text-muted);
}
.token-links { display: flex; align-items: center; justify-content: center; gap: 14px; flex-wrap: wrap; }
.token-link {
  color: var(--accent);
  font-size: 0.9rem;
  font-weight: 600;
  border-bottom: 1px solid transparent;
  transition: border-color 0.2s;
}
.token-link:hover { border-color: var(--accent); }
.token-buy-btn { font-size: 0.9rem; padding: 10px 22px; }

/* ─── Inner Page Hero ─── */
.inner-page-hero {
  padding: 90px 0 70px;
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid var(--border);
}
.inner-hero-glow {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 80% 80% at 50% 0%, rgba(16,185,129,0.10), transparent 70%);
  pointer-events: none;
}
.protocol-glow {
  background: radial-gradient(ellipse 80% 80% at 50% 0%, rgba(139,92,246,0.12), transparent 70%);
}
.inner-breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.85rem;
  color: var(--text-dim);
  margin-bottom: 20px;
  font-family: var(--mono);
}
.inner-breadcrumb a { color: var(--text-dim); transition: color 0.2s; }
.inner-breadcrumb a:hover { color: var(--accent); }
.inner-breadcrumb span:last-child { color: var(--text-muted); }
.inner-page-title {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1.15;
  margin: 12px 0 16px;
}
.inner-page-sub { color: var(--text-muted); font-size: 1rem; max-width: 580px; line-height: 1.7; }

/* ─── Docs ─── */
.docs-section { padding: 60px 0 100px; }
.docs-layout { display: grid; grid-template-columns: 240px 1fr; gap: 40px; }
.docs-sidebar {
  position: sticky;
  top: calc(var(--nav-h) + 20px);
  height: fit-content;
}
.docs-nav { display: flex; flex-direction: column; gap: 24px; }
.docs-nav-group { display: flex; flex-direction: column; gap: 2px; }
.docs-nav-label {
  font-family: var(--mono);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-dim);
  padding: 0 10px;
  margin-bottom: 6px;
}
.docs-nav-item {
  background: transparent;
  color: var(--text-muted);
  font-size: 0.875rem;
  font-weight: 500;
  text-align: left;
  padding: 8px 12px;
  border-radius: var(--radius-sm);
  border: none;
  border-left: 2px solid transparent;
  transition: all 0.2s;
}
.docs-nav-item:hover { color: var(--text); background: rgba(255,255,255,0.04); }
.docs-nav-item.active { color: var(--accent); background: var(--accent-glow); border-left-color: var(--accent); }
.docs-content {
  max-width: 720px;
}
.docs-content h2 { font-size: 1.6rem; font-weight: 800; letter-spacing: -0.03em; margin-bottom: 12px; }
.docs-content h3 { font-size: 1.15rem; font-weight: 700; margin: 28px 0 10px; color: var(--text); }
.docs-content p { color: var(--text-muted); line-height: 1.75; margin-bottom: 14px; }
.docs-content pre {
  background: var(--bg3);
  border: 1px solid var(--border2);
  border-radius: var(--radius);
  padding: 18px 20px;
  overflow-x: auto;
  margin: 16px 0;
}
.docs-content pre code { background: none; border: none; padding: 0; color: var(--accent); font-size: 0.9rem; }
.docs-content ul { padding-left: 20px; margin-bottom: 14px; }
.docs-content li { color: var(--text-muted); line-height: 1.7; margin-bottom: 6px; }
.docs-content li::marker { color: var(--accent); }
.docs-alert {
  background: var(--accent-glow);
  border: 1px solid rgba(16,185,129,0.25);
  border-left: 3px solid var(--accent);
  border-radius: var(--radius-sm);
  padding: 14px 18px;
  margin: 20px 0;
}
.docs-alert p { color: var(--text-muted); margin: 0; font-size: 0.9rem; }
.docs-step-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin: 20px 0; }
.docs-step-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 20px;
}
.docs-step-card h4 { font-size: 0.9rem; font-weight: 700; margin-bottom: 8px; }
.docs-step-card p { font-size: 0.85rem; color: var(--text-muted); margin: 0; }

/* ─── Insights ─── */
.insights-section { padding: 60px 0 100px; }
.insights-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-bottom: 60px;
}
.insight-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px 26px 24px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  cursor: pointer;
  transition: border-color 0.3s, transform 0.3s, box-shadow 0.3s;
  text-decoration: none;
  color: inherit;
}
.insight-card:hover { border-color: rgba(16,185,129,0.3); transform: translateY(-4px); box-shadow: var(--shadow), 0 0 28px rgba(16,185,129,0.06); }
.insight-card-meta { display: flex; align-items: center; gap: 8px; }
.insight-date { font-size: 0.8rem; color: var(--text-dim); font-family: var(--mono); }
.insight-dot { width: 3px; height: 3px; background: var(--text-dim); border-radius: 50%; }
.insight-time { font-size: 0.8rem; color: var(--text-dim); font-family: var(--mono); }
.insight-title { font-size: 1.05rem; font-weight: 700; line-height: 1.4; letter-spacing: -0.02em; }
.insight-desc { font-size: 0.88rem; color: var(--text-muted); line-height: 1.65; flex: 1; }
.insight-tags { display: flex; flex-wrap: wrap; gap: 6px; }
.insight-tag {
  font-family: var(--mono);
  font-size: 0.7rem;
  font-weight: 600;
  color: var(--accent);
  background: var(--accent-glow);
  padding: 3px 10px;
  border-radius: 100px;
  border: 1px solid rgba(16,185,129,0.22);
}
.insight-cta {
  display: flex;
  align-items: center;
  gap: 6px;
  color: var(--accent);
  font-size: 0.88rem;
  font-weight: 600;
  margin-top: auto;
}
.insight-arrow { transition: transform 0.2s; }
.insight-card:hover .insight-arrow { transform: translateX(4px); }

/* Insights CTA */
.insights-cta-section { margin-top: 40px; }
.insights-cta-card {
  background: linear-gradient(135deg, rgba(16,185,129,0.08), rgba(0,242,254,0.05));
  border: 1px solid rgba(16,185,129,0.2);
  border-radius: var(--radius-lg);
  padding: 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}
.insights-cta-card h3 { font-size: 1.2rem; font-weight: 700; margin-bottom: 6px; }
.insights-cta-card p { color: var(--text-muted); font-size: 0.9rem; }
.insights-cta-actions { display: flex; gap: 12px; flex-wrap: wrap; flex-shrink: 0; }

/* ─── Article Modal ─── */
.article-modal {
  position: fixed;
  inset: 0;
  z-index: 9000;
  display: none;
  align-items: flex-start;
  justify-content: center;
  padding: 40px 16px;
  overflow-y: auto;
}
.article-modal.open { display: flex; }
.article-modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.85);
  backdrop-filter: blur(8px);
}
.article-modal-inner {
  background: var(--bg2);
  border: 1px solid var(--border2);
  border-radius: var(--radius-lg);
  width: 100%;
  max-width: 760px;
  padding: 52px 56px;
  position: relative;
  z-index: 1;
  box-shadow: var(--shadow);
  animation: modalIn 0.3s ease both;
}
@keyframes modalIn {
  from { opacity: 0; transform: translateY(24px) scale(0.97); }
  to { opacity: 1; transform: none; }
}
.article-close-btn {
  position: absolute;
  top: 20px; right: 20px;
  background: rgba(255,255,255,0.06);
  color: var(--text-dim);
  border: 1px solid var(--border);
  border-radius: 8px;
  width: 36px; height: 36px;
  font-size: 0.9rem;
  display: flex; align-items: center; justify-content: center;
  transition: all 0.2s;
}
.article-close-btn:hover { color: var(--text); background: rgba(255,255,255,0.1); }
.article-modal-content h1 { font-size: 1.9rem; font-weight: 800; letter-spacing: -0.04em; line-height: 1.2; margin-bottom: 16px; }
.article-modal-content .article-meta { display: flex; align-items: center; gap: 10px; font-size: 0.82rem; color: var(--text-dim); font-family: var(--mono); margin-bottom: 32px; padding-bottom: 24px; border-bottom: 1px solid var(--border); }
.article-modal-content h2 { font-size: 1.3rem; font-weight: 700; margin: 32px 0 12px; }
.article-modal-content p { color: var(--text-muted); line-height: 1.8; margin-bottom: 14px; }
.article-modal-content ul { padding-left: 20px; margin-bottom: 14px; }
.article-modal-content li { color: var(--text-muted); line-height: 1.7; margin-bottom: 6px; }
.article-modal-content li::marker { color: var(--accent); }
.article-modal-content pre {
  background: var(--bg);
  border: 1px solid var(--border2);
  border-radius: var(--radius);
  padding: 16px 18px;
  overflow-x: auto;
  margin: 16px 0;
  font-family: var(--mono);
  font-size: 0.85rem;
  color: var(--accent);
}
.article-modal-content code { background: rgba(16,185,129,0.1); color: var(--accent); padding: 0.12em 0.4em; border-radius: 4px; font-size: 0.85em; }
.article-modal-content pre code { background: none; padding: 0; }

/* ─── Protocol Section ─── */
.protocol-section { padding: 60px 0 100px; }
.protocol-grid { display: flex; flex-direction: column; gap: 24px; }
.protocol-block {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 40px;
  display: flex;
  gap: 28px;
}
.protocol-block:hover { border-color: rgba(16,185,129,0.2); }
.protocol-num {
  font-family: var(--mono);
  font-size: 2rem;
  font-weight: 800;
  background: linear-gradient(135deg, var(--accent), var(--accent2));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1;
  flex-shrink: 0;
  width: 40px;
  padding-top: 4px;
}
.protocol-content { flex: 1; }
.protocol-content h2 { font-size: 1.35rem; font-weight: 800; letter-spacing: -0.02em; margin-bottom: 20px; }
.protocol-content > p { color: var(--text-muted); line-height: 1.7; }
.protocol-sub-items { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.protocol-sub-item {
  background: rgba(255,255,255,0.02);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 18px;
}
.protocol-sub-item h4 {
  font-size: 0.9rem;
  font-weight: 700;
  margin-bottom: 8px;
  display: flex;
  align-items: center;
  gap: 7px;
  color: var(--text);
}
.protocol-sub-item h4 svg { color: var(--accent); flex-shrink: 0; }
.protocol-sub-item p { font-size: 0.85rem; color: var(--text-muted); line-height: 1.65; }
.protocol-tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 12px; }
.ptag {
  font-family: var(--mono);
  font-size: 0.7rem;
  color: var(--purple);
  background: rgba(139,92,246,0.1);
  border: 1px solid rgba(139,92,246,0.25);
  padding: 3px 10px;
  border-radius: 100px;
}
.protocol-cta {
  text-align: center;
  background: linear-gradient(135deg, rgba(139,92,246,0.08), rgba(16,185,129,0.06));
  border: 1px solid rgba(139,92,246,0.2);
  border-radius: var(--radius-lg);
  padding: 48px;
  margin-top: 24px;
}
.protocol-cta h3 { font-size: 1.5rem; font-weight: 800; margin-bottom: 10px; }
.protocol-cta p { color: var(--text-muted); max-width: 500px; margin: 0 auto 28px; }
.protocol-cta-btns { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }

/* ─── Footer ─── */
.footer {
  background: var(--bg2);
  border-top: 1px solid var(--border);
  padding: 60px 0 0;
}
.footer-inner {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 40px;
  padding-bottom: 40px;
}
.footer-logo {
  font-family: var(--mono);
  font-size: 1rem;
  font-weight: 700;
  color: var(--text);
  display: block;
  margin-bottom: 10px;
}
.footer-left p { color: var(--text-dim); font-size: 0.87rem; line-height: 1.65; max-width: 280px; }
.footer-license { font-family: var(--mono); font-size: 0.75rem; color: var(--text-dim); }
.footer-links-group { display: flex; gap: 48px; }
.footer-links-group > div { display: flex; flex-direction: column; gap: 8px; }
.footer-group-label {
  font-family: var(--mono);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-dim);
  margin-bottom: 4px;
}
.footer-links-group a { color: var(--text-muted); font-size: 0.875rem; transition: color 0.2s; }
.footer-links-group a:hover { color: var(--accent); }
.footer-bottom {
  border-top: 1px solid var(--border);
  padding: 18px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.82rem;
  color: var(--text-dim);
  font-family: var(--mono);
}

/* ─── Responsive ─── */
@media (max-width: 1024px) {
  .features-grid { grid-template-columns: repeat(2, 1fr); }
  .paths-grid { grid-template-columns: 1fr 1fr; }
  .protocol-sub-items { grid-template-columns: 1fr; }
}
@media (max-width: 900px) {
  .hero-inner { grid-template-columns: 1fr; }
  .terminal-wrapper { order: -1; }
  .how-flow { flex-direction: column; }
  .flow-arrow { transform: rotate(90deg); padding: 0; }
  .docs-layout { grid-template-columns: 1fr; }
  .docs-sidebar { position: static; }
  .docs-nav { flex-direction: row; flex-wrap: wrap; gap: 8px; }
  .docs-nav-group { flex-direction: row; flex-wrap: wrap; align-items: center; gap: 4px; }
  .docs-nav-label { display: none; }
  .insights-grid { grid-template-columns: 1fr 1fr; }
  .protocol-block { flex-direction: column; }
  .footer-inner { grid-template-columns: 1fr; }
  .footer-links-group { flex-wrap: wrap; gap: 28px; }
}
@media (max-width: 640px) {
  .mobile-menu-btn { display: flex; }
  .nav-links {
    position: absolute;
    top: var(--nav-h);
    left: 0; right: 0;
    background: rgba(7,8,11,0.97);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border);
    flex-direction: column;
    align-items: flex-start;
    padding: 16px 24px 24px;
    gap: 4px;
    transform: translateY(-8px);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.25s, transform 0.25s;
  }
  .nav-links.open { transform: none; opacity: 1; pointer-events: all; }
  .nav-socials { padding: 4px 0; }
  .nav-buy-btn { margin-top: 8px; }
  .features-grid { grid-template-columns: 1fr; }
  .paths-grid { grid-template-columns: 1fr; }
  .insights-grid { grid-template-columns: 1fr; }
  .announcement-full { display: none; }
  .announcement-compact { display: inline; }
  .hero { padding: 48px 0 64px; }
  .paths-section, .how-section, .features-section, .install-section, .token-section { padding: 64px 0; }
  .docs-step-grid { grid-template-columns: 1fr; }
  .article-modal-inner { padding: 36px 24px; }
  .insights-cta-card { flex-direction: column; align-items: flex-start; }
  .protocol-block { padding: 28px 22px; }
}

/* ============================================
   TEXT ANIMATIONS — Hack / Typewriter / Slide
   ============================================ */

/* ─── Hack / Glitch chars ─── */
.hack-char {
  display: inline;
  transition: color 0.05s, text-shadow 0.05s;
}
.hack-char.scrambling {
  color: var(--accent) !important;
  text-shadow: 0 0 10px var(--accent), 0 0 20px var(--accent2);
  -webkit-text-fill-color: var(--accent) !important;
}
.hack-char.dim {
  opacity: 0.18;
}

/* ─── Neon Flicker on labels ─── */
@keyframes neonFlicker {
  0%,100% { opacity:1; text-shadow: 0 0 6px var(--accent); }
  4%       { opacity:.7; }
  8%       { opacity:1; text-shadow: 0 0 18px var(--accent), 0 0 35px var(--accent2); }
  41%      { opacity:.9; }
  43%      { opacity:.5; text-shadow: none; }
  45%      { opacity:1; text-shadow: 0 0 22px var(--accent); }
}
.neon-flicker {
  animation: neonFlicker 5s ease-in-out infinite;
}

/* ─── Typewriter cursor ─── */
.typewriter-el {
  border-right: 2px solid var(--accent);
  padding-right: 3px;
  animation: twCursor 0.75s step-end infinite;
}
@keyframes twCursor {
  0%,100% { border-color: var(--accent); }
  50%      { border-color: transparent; }
}
.typewriter-done {
  animation: twCursor 1s step-end infinite;
}

/* ─── Slide from left ─── */
.slide-left {
  opacity: 0;
  transform: translateX(-48px);
  transition: opacity 0.75s cubic-bezier(0.16,1,0.3,1), transform 0.75s cubic-bezier(0.16,1,0.3,1);
}
.slide-left.visible { opacity: 1; transform: none; }
.slide-left[data-delay="1"] { transition-delay: 0.12s; }
.slide-left[data-delay="2"] { transition-delay: 0.24s; }
.slide-left[data-delay="3"] { transition-delay: 0.36s; }

/* ─── Word-by-word reveal ─── */
.word-reveal .wr-word {
  display: inline-block;
  overflow: hidden;
  vertical-align: bottom;
}
.word-reveal .wr-inner {
  display: inline-block;
  opacity: 0;
  transform: translateY(110%);
  animation: wordUp 0.6s cubic-bezier(0.16,1,0.3,1) forwards;
}
@keyframes wordUp {
  to { opacity: 1; transform: none; }
}

/* ─── Section title slide pulse ─── */
.section-title-anim {
  position: relative;
}
.section-title-anim::after {
  content: '';
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  bottom: -6px;
  height: 2px;
  width: 0;
  background: linear-gradient(90deg, var(--accent), var(--accent2));
  border-radius: 2px;
  transition: width 0.9s cubic-bezier(0.16,1,0.3,1) 0.4s;
}
.section-title-anim.visible::after { width: 60px; }

/* ─── Glitch overlay on inner page titles ─── */
@keyframes glitchShift {
  0%,100% { clip-path: inset(0 0 100% 0); transform: none; opacity:0; }
  5%   { clip-path: inset(20% 0 60% 0); transform: translateX(-3px); opacity:.6; }
  10%  { clip-path: inset(55% 0 25% 0); transform: translateX(3px); opacity:.5; }
  15%  { clip-path: inset(0 0 0 0); opacity:0; }
}
.glitch-title {
  position: relative;
}
.glitch-title::before,
.glitch-title::after {
  content: attr(data-text);
  position: absolute;
  inset: 0;
  pointer-events: none;
}
.glitch-title::before {
  color: var(--accent);
  animation: glitchShift 6s ease infinite 1s;
}
.glitch-title::after {
  color: var(--purple);
  animation: glitchShift 6s ease infinite 1.15s;
  transform: translateX(2px);
}

/* ============================================
   BRAND LETTER DROP — Hero "OMNI-PATH"
   ============================================ */
.brand-drop-wrap {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
}

.brand-drop {
  display: flex;
  align-items: baseline;
  gap: 0.04em;
  user-select: none;
  line-height: 1;
}

/* Each letter */
.bd-letter {
  display: inline-block;
  font-family: var(--mono);
  font-size: clamp(5rem, 14vw, 13rem);
  font-weight: 900;
  letter-spacing: -0.06em;
  /* Gradient stroke text */
  background: linear-gradient(
    160deg,
    rgba(16,185,129,0.13) 0%,
    rgba(0,242,254,0.08) 40%,
    rgba(139,92,246,0.06) 100%
  );
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  /* Outline */
  -webkit-text-stroke: 1px rgba(16,185,129,0.22);
  /* Start hidden above */
  opacity: 0;
  transform: translateY(-120px) rotateX(-40deg);
  animation: letterFall 0.7s cubic-bezier(0.22,1,0.36,1) forwards;
  animation-delay: calc(var(--i) * 0.08s + 0.15s);
  transform-origin: center top;
  perspective: 600px;
}

/* Dash separator */
.bd-sep {
  display: inline-block;
  font-family: var(--mono);
  font-size: clamp(4rem, 11vw, 10rem);
  font-weight: 900;
  -webkit-text-stroke: 1px rgba(16,185,129,0.15);
  -webkit-text-fill-color: transparent;
  opacity: 0;
  transform: translateY(-80px);
  animation: letterFall 0.6s cubic-bezier(0.22,1,0.36,1) forwards;
  animation-delay: 0.38s;
  margin: 0 0.02em;
}

@keyframes letterFall {
  0% {
    opacity: 0;
    transform: translateY(-100px) scale(1.15);
    filter: blur(24px);
  }
  40% {
    opacity: 0.6;
    transform: translateY(8px) scale(0.97);
    filter: blur(6px);
  }
  70% {
    opacity: 0.9;
    transform: translateY(-4px) scale(1.01);
    filter: blur(1px);
  }
  100% {
    opacity: 1;
    transform: translateY(0) scale(1);
    filter: blur(0px);
  }
}

/* Hover: each letter ripples on hover of the whole block */
.brand-drop:hover .bd-letter {
  animation: letterHover 2.4s ease-in-out infinite;
  animation-delay: calc(var(--i) * 0.07s);
}
.brand-drop:hover .bd-sep {
  animation: letterHover 2.4s ease-in-out 0.28s infinite;
}

@keyframes letterHover {
  0%,100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

/* Hack-scramble overlay text in hero */
.hero-content { position: relative; z-index: 2; }
.terminal-wrapper { position: relative; z-index: 2; }

