/* ============================================================
   CHAKRAM LANDING — REDESIGNED STYLESHEET
   ============================================================ */

/* ── 1. Variables ── */
:root {
  /* Brand */
  --lime: #a3e635;
  --lime-dim: #84cc16;
  --lime-bright: #bef264;
  --lime-glow: rgba(163, 230, 53, 0.1);
  --lime-glow-md: rgba(163, 230, 53, 0.16);
  --lime-border: rgba(163, 230, 53, 0.28);

  /* Surfaces */
  --bg: #070707;
  --surface: #0d0d0d;
  --surface-2: #141414;
  --surface-3: #1a1a1a;
  --border: rgba(255, 255, 255, 0.07);
  --border-2: rgba(255, 255, 255, 0.12);

  /* Text */
  --text-1: #f4f4f5;
  --text-2: #a1a1aa;
  --text-3: #52525b;

  /* Fonts */
  --display: "Inter Tight", "Helvetica Neue", Arial, sans-serif;
  --body: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --mono: "SF Mono", "Fira Code", "Cascadia Code", monospace;

  /* Layout */
  --max-w: 1240px;
  --nav-h: 68px;

  /* Spacing */
  --space-1: 0.25rem;
  --space-2: 0.5rem;
  --space-3: 0.75rem;
  --space-4: 1rem;
  --space-5: 1.25rem;
  --space-6: 1.5rem;
  --space-8: 2rem;
  --space-10: 2.5rem;
  --space-12: 3rem;
  --space-16: 4rem;
  --space-20: 5rem;
  --space-24: 6rem;

  /* Radius */
  --r-sm: 6px;
  --r-md: 10px;
  --r-lg: 16px;
  --r-xl: 24px;
  --r-2xl: 32px;

  /* Transitions */
  --t: 150ms ease;
  --t-base: 250ms ease;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--nav-h);
  font-size: 16px;
}

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

a {
  color: inherit;
  text-decoration: none;
}
img {
  display: block;
  max-width: 100%;
}
button {
  cursor: pointer;
  border: none;
  background: none;
  font: inherit;
  color: inherit;
}
code {
  font-family: var(--mono);
}
ul {
  list-style: none;
}

:focus-visible {
  outline: 2px solid var(--lime);
  outline-offset: 3px;
  border-radius: 4px;
}

/* ── 3. Typography ── */
.t-display-lg {
  font-family: var(--display);
  font-weight: 800;
  font-size: clamp(2.5rem, 6vw, 5.5rem);
  line-height: 0.96;
  letter-spacing: -0.045em;
  color: var(--text-1);
}

.t-display-md {
  font-family: var(--display);
  font-weight: 800;
  font-size: clamp(2rem, 4.5vw, 3.75rem);
  line-height: 1;
  letter-spacing: -0.04em;
  color: var(--text-1);
}

.t-display-sm {
  font-family: var(--display);
  font-weight: 700;
  font-size: clamp(1.5rem, 3vw, 2.25rem);
  line-height: 1.1;
  letter-spacing: -0.03em;
  color: var(--text-1);
}

.t-body-lg {
  font-size: clamp(1rem, 1.5vw, 1.15rem);
  color: var(--text-2);
  line-height: 1.72;
}

.t-body {
  font-size: 0.9375rem;
  color: var(--text-2);
  line-height: 1.65;
}

.t-mono {
  font-family: var(--mono);
  font-size: 0.875rem;
}
.lime-text {
  color: var(--lime);
}

/* ── 4. Layout ── */
.wrap {
  width: min(var(--max-w), 100% - 2 * clamp(1rem, 4vw, 4.5rem));
  margin-inline: auto;
}

.section-pad {
  padding: var(--space-24) 0;
}
.surface-section {
  background: var(--surface);
}

.section-center {
  text-align: center;
  margin-bottom: var(--space-12);
}

.section-desc {
  max-width: 540px;
  margin: 1rem auto 0;
}

/* ── 5. Scrollbar ── */
::-webkit-scrollbar {
  width: 5px;
}
::-webkit-scrollbar-track {
  background: transparent;
}
::-webkit-scrollbar-thumb {
  background: #2a2a2a;
  border-radius: 99px;
}
::-webkit-scrollbar-thumb:hover {
  background: #383838;
}

/* ── 6. Scroll-reveal ── */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition:
    opacity 0.65s ease,
    transform 0.65s ease;
}
.reveal.visible {
  opacity: 1;
  transform: none;
}
.reveal-delay-1 {
  transition-delay: 0.08s;
}
.reveal-delay-2 {
  transition-delay: 0.16s;
}
.reveal-delay-3 {
  transition-delay: 0.26s;
}

/* ── 7. Live dot ── */
.live-dot {
  display: inline-block;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--lime);
  box-shadow: 0 0 0 3px rgba(163, 230, 53, 0.2);
  flex-shrink: 0;
  animation: pulse-dot 2.4s ease-in-out infinite;
}

.live-dot-sm {
  display: inline-block;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--lime);
  flex-shrink: 0;
  animation: pulse-dot 2.4s ease-in-out infinite;
}

@keyframes pulse-dot {
  0%,
  100% {
    opacity: 1;
    transform: scale(1);
  }
  50% {
    opacity: 0.45;
    transform: scale(0.75);
  }
}

.status-sep {
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: var(--text-3);
  flex-shrink: 0;
}

/* ── 8. Eyebrow ── */
.eyebrow {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text-3);
  margin-bottom: var(--space-6);
}

.eyebrow-center {
  justify-content: center;
  margin-bottom: var(--space-4);
}

.eyebrow-num {
  color: var(--lime);
  letter-spacing: 0.08em;
  font-size: 12px;
}

/* ── 9. Gradient text ── */
.grad-text {
  display: block;
  background: linear-gradient(90deg, #a3e635 0%, #bef264 55%, #84cc16 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  padding-bottom: 0.04em;
}

/* ── 10. Text link ── */
.text-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 1.5rem;
  color: var(--lime);
  font-weight: 600;
  font-size: 0.95rem;
  transition: gap var(--t);
}
.text-link:hover {
  gap: 10px;
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* ── 11. Buttons ── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.8rem 1.6rem;
  border-radius: 999px;
  font-size: 0.9375rem;
  font-weight: 600;
  transition: all var(--t-base);
  white-space: nowrap;
}

.btn-primary {
  background: var(--lime);
  color: #000;
  box-shadow: 0 0 28px rgba(163, 230, 53, 0.22);
}
.btn-primary:hover {
  background: var(--lime-bright);
  box-shadow: 0 0 44px rgba(163, 230, 53, 0.42);
  transform: translateY(-1px);
}

.btn-outline {
  border: 1px solid var(--border-2);
  color: var(--text-2);
}
.btn-outline:hover {
  border-color: var(--lime-border);
  color: var(--lime);
  background: var(--lime-glow);
}

.btn-ghost {
  background: var(--surface-2);
  border: 1px solid var(--border-2);
  color: var(--text-1);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2);
}
.btn-ghost:hover {
  border-color: var(--border-2);
  transform: translateY(-1px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
}

.btn-text {
  color: var(--text-2);
  padding-left: 0.5rem;
  padding-right: 0.5rem;
}
.btn-text:hover {
  color: var(--text-1);
}

/* ════════════════════════════════════════
   TOPBAR NAV
════════════════════════════════════════ */
.topbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  height: var(--nav-h);
  transition:
    background 0.3s,
    border-color 0.3s,
    box-shadow 0.3s;
}

.topbar.scrolled {
  background: rgba(7, 7, 7, 0.88);
  backdrop-filter: blur(20px) saturate(1.4);
  -webkit-backdrop-filter: blur(20px) saturate(1.4);
  border-bottom: 1px solid var(--border);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4);
}

.topbar .wrap {
  height: 100%;
}

.nav-inner {
  display: flex;
  align-items: center;
  gap: var(--space-4);
  height: 100%;
}

/* Brand */
.brand {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}
.brand-logo {
  height: 42px;
  width: auto;
}

/* Nav links — glass pill */
.nav-links {
  display: flex;
  align-items: center;
  gap: 2px;
  margin-left: auto;
  padding: 5px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.09);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}

.topbar.scrolled .nav-links {
  background: rgba(255, 255, 255, 0.07);
  border-color: rgba(255, 255, 255, 0.12);
}

.nav-links a {
  display: block;
  padding: 0.42rem 0.9rem;
  font-size: 0.84rem;
  font-weight: 500;
  color: var(--text-2);
  border-radius: 999px;
  transition:
    color var(--t),
    background var(--t);
  white-space: nowrap;
}

.nav-links a:hover {
  color: var(--text-1);
  background: rgba(255, 255, 255, 0.08);
}

/* Nav right */
.nav-end {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  flex-shrink: 0;
}

/* Block height pill */
.block-pill {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1rem;
  border-radius: 999px;
  font-size: 0.84rem;
  font-weight: 500;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.09);
  color: var(--text-2);
  white-space: nowrap;
  transition:
    color var(--t),
    border-color var(--t);
}
.block-pill b {
  font-weight: 600;
  color: var(--text-1);
  font-variant-numeric: tabular-nums;
}
.block-pill:hover {
  color: var(--lime);
  border-color: var(--lime-border);
}

/* Nav CTA */
.btn-nav {
  display: inline-flex;
  align-items: center;
  padding: 0.52rem 1.2rem;
  border-radius: 999px;
  background: var(--lime);
  color: #000;
  font-size: 0.84rem;
  font-weight: 700;
  letter-spacing: 0.01em;
  transition:
    background 200ms,
    box-shadow 200ms;
  white-space: nowrap;
}
.btn-nav:hover {
  background: var(--lime-bright);
  box-shadow: 0 0 24px rgba(163, 230, 53, 0.4);
}

/* Mobile hamburger */
.menu-btn {
  display: none;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: 999px;
  border: 1px solid var(--border-2);
  color: var(--text-2);
  transition:
    color var(--t),
    border-color var(--t);
}
.menu-btn:hover {
  color: var(--text-1);
  border-color: var(--border-2);
}

@media (max-width: 900px) {
  .nav-links {
    display: none;
  }
  .menu-btn {
    display: flex;
  }
  .nav-end {
    margin-left: auto;
  }
}
@media (max-width: 640px) {
  .block-pill {
    display: none;
  }
}
@media (max-width: 480px) {
  .btn-nav {
    display: none;
  }
}

/* Mobile nav open state */
.nav-links.open {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  position: fixed;
  top: var(--nav-h);
  left: 0;
  right: 0;
  background: rgba(7, 7, 7, 0.97);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
  padding: var(--space-4) var(--space-6);
  gap: 2px;
  border-radius: 0;
}
.nav-links.open a {
  width: 100%;
  padding: 0.65rem 0.75rem;
  font-size: 0.95rem;
}

/* ════════════════════════════════════════
   HERO
════════════════════════════════════════ */
#hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background-image: url("../assets/chk-bg.png");
  background-size: cover;
  background-position: center right;
  z-index: 0;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    105deg,
    #070707 0%,
    rgba(7, 7, 7, 0.97) 20%,
    rgba(7, 7, 7, 0.86) 42%,
    rgba(7, 7, 7, 0.52) 62%,
    rgba(7, 7, 7, 0.18) 82%,
    rgba(7, 7, 7, 0.05) 100%
  );
  z-index: 1;
}

.hero-wrap {
  position: relative;
  z-index: 2;
  flex: 1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-8);
  align-items: center;
  padding-top: calc(var(--nav-h) + clamp(3rem, 8vh, 6rem));
  padding-bottom: 5rem;
}

/* Hero content */
.hero-badges {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  margin-bottom: var(--space-6);
  flex-wrap: wrap;
}

.chip-testnet {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 12px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  background: rgba(163, 230, 53, 0.1);
  border: 1px solid rgba(163, 230, 53, 0.3);
  color: var(--lime);
}

.chip-chain {
  display: inline-flex;
  align-items: center;
  padding: 4px 12px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.04em;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-2);
  color: var(--text-3);
  font-family: var(--mono);
}

.hero-title {
  font-family: var(--display);
  font-weight: 900;
  font-size: clamp(3rem, 7.5vw, 7.5rem);
  line-height: 0.95;
  letter-spacing: -0.045em;
  color: var(--text-1);
  margin-bottom: 1.5rem;
}

.hero-title span {
  display: block;
}

.hero-accent {
  color: var(--lime);
  text-shadow: 0 0 60px rgba(163, 230, 53, 0.4);
  display: block;
}

.hero-lede {
  font-size: clamp(1rem, 1.6vw, 1.15rem);
  color: var(--text-2);
  line-height: 1.68;
  max-width: 480px;
  margin-bottom: var(--space-10);
}

.hero-ctas {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  flex-wrap: wrap;
}

/* Hero token coin */
.hero-visual {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  padding-right: 10vw;
  padding-bottom: 15vw;
}

.hero-token {
  width: min(380px, 90%);
  height: auto;
  filter: drop-shadow(0 20px 60px rgba(163, 230, 53, 0.35));
  animation: float 7s ease-in-out infinite;
}

@keyframes float {
  0%,
  100% {
    transform: translateY(0) rotate(-3deg);
  }
  50% {
    transform: translateY(-20px) rotate(3deg);
  }
}

/* Hero floating status bar */
.hero-statusbar-wrap {
  position: relative;
  z-index: 3;
  padding-bottom: clamp(1.5rem, 4vh, 3rem);
}

.hero-statusbar {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.7rem 1.3rem;
  border-radius: 999px;
  background: rgba(7, 7, 7, 0.75);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 0.84rem;
  font-weight: 500;
  color: var(--text-2);
  flex-wrap: wrap;
}

.status-val {
  color: var(--text-1);
  font-weight: 600;
  font-variant-numeric: tabular-nums;
}

@media (max-width: 860px) {
  .hero-wrap {
    grid-template-columns: 1fr;
  }
  .hero-visual {
    display: none;
  }
  .hero-title {
    font-size: clamp(3rem, 11vw, 5.5rem);
  }
}

@media (max-width: 540px) {
  .hero-statusbar {
    font-size: 0.78rem;
    gap: 0.5rem;
  }
  .hero-statusbar .status-sep {
    display: none;
  }
  .hero-statusbar span:nth-child(n + 8) {
    display: none;
  }
}

/* ════════════════════════════════════════
   LIVE NETWORK
════════════════════════════════════════ */
#network {
  background: var(--bg);
}

.live-intro {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 3rem 4rem;
  align-items: start;
  margin-bottom: var(--space-16);
}

.live-intro .t-display-lg span {
  display: block;
}

.live-copy {
  padding-top: 0.5rem;
}

/* Giant block height number */
.big-block-wrap {
  margin-bottom: var(--space-12);
}

.big-block-wrap .eyebrow {
  margin-bottom: 0.5rem;
}

.big-num {
  font-family: var(--display);
  font-weight: 800;
  font-size: clamp(4rem, 15vw, 16rem);
  line-height: 1;
  letter-spacing: -0.04em;
  font-variant-numeric: tabular-nums;
  background: linear-gradient(
    180deg,
    #bef264 0%,
    #a3e635 18%,
    #84cc16 36%,
    #4d7c0f 52%,
    #365314 66%,
    #84cc16 82%,
    #a3e635 100%
  );
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  margin-top: 0.75rem;
  word-break: break-all;
}

.big-num-caption {
  margin-top: 1.25rem;
  font-size: clamp(0.875rem, 1.3vw, 1.05rem);
  color: var(--text-3);
  line-height: 1.6;
  max-width: 44em;
}

/* Stats row below big number */
.live-stats-row {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  overflow: hidden;
}

.live-stat {
  background: var(--surface);
  padding: var(--space-5) var(--space-5);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 5px;
  text-align: center;
}

.live-stat-val {
  font-family: var(--display);
  font-weight: 800;
  font-size: clamp(1.4rem, 2.5vw, 2rem);
  color: var(--text-1);
  font-variant-numeric: tabular-nums;
  letter-spacing: -0.02em;
  line-height: 1;
}

.live-stat-val.lime {
  color: var(--lime);
}

.live-stat-label {
  font-size: 0.7rem;
  color: var(--text-3);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

@media (max-width: 900px) {
  .live-intro {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  .live-stats-row {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 540px) {
  .live-stats-row {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* ════════════════════════════════════════
   ABOUT
════════════════════════════════════════ */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-16);
  align-items: start;
}

.about-text h2 {
  margin-bottom: 1.25rem;
}
.about-text p + p {
  margin-top: 1rem;
}

.about-pillars {
  display: grid;
  gap: var(--space-3);
}

.pillar {
  display: flex;
  gap: var(--space-4);
  padding: var(--space-5);
  border-radius: var(--r-lg);
  border: 1px solid var(--border);
  background: var(--surface-2);
  transition:
    border-color var(--t-base),
    background var(--t-base);
}

.pillar:hover {
  border-color: var(--lime-border);
  background: var(--surface-3);
}

.icon-box {
  width: 46px;
  height: 46px;
  border-radius: var(--r-md);
  display: grid;
  place-items: center;
  background: var(--lime-glow);
  border: 1px solid var(--lime-border);
  font-size: 1.15rem;
  flex-shrink: 0;
}

.pillar-body h4 {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-1);
  margin-bottom: 4px;
}
.pillar-body p {
  font-size: 0.83rem;
  color: var(--text-2);
  line-height: 1.55;
}

@media (max-width: 860px) {
  .about-grid {
    grid-template-columns: 1fr;
    gap: var(--space-10);
  }
}

/* ════════════════════════════════════════
   ARCHITECTURE — REDESIGNED
════════════════════════════════════════ */
#architecture {
  background: var(--bg);
}

.arch-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: start;
  margin-top: var(--space-12);
}

/* ── Layer stack ── */
.arch-stack {
  display: flex;
  flex-direction: column;
}

.arch-layer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem 1.25rem;
  border-radius: var(--r-lg);
  border: 1px solid var(--border);
  background: var(--surface);
  transition:
    border-color var(--t-base),
    box-shadow var(--t-base);
}
.arch-layer:hover {
  border-color: var(--border-2);
}

.arch-layer.arch-layer-lime {
  border-color: var(--lime-border);
  background: rgba(163, 230, 53, 0.055);
  box-shadow: 0 0 28px rgba(163, 230, 53, 0.06);
}

.arch-layer-left {
  display: flex;
  align-items: center;
  gap: 0.875rem;
  min-width: 0;
}

.arch-layer-icon-box {
  width: 42px;
  height: 42px;
  border-radius: var(--r-md);
  background: var(--surface-2);
  border: 1px solid var(--border);
  display: grid;
  place-items: center;
  color: var(--text-2);
  flex-shrink: 0;
}
.arch-icon-lime {
  background: rgba(163, 230, 53, 0.08);
  border-color: var(--lime-border);
  color: var(--lime);
}

.arch-layer-name {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-1);
  margin-bottom: 2px;
}
.arch-layer-sub {
  font-size: 0.75rem;
  color: var(--text-3);
}

.arch-badge {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 3px 9px;
  border-radius: 5px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border);
  color: var(--text-3);
  white-space: nowrap;
  flex-shrink: 0;
  font-family: var(--mono);
}
.arch-badge-lime {
  background: rgba(163, 230, 53, 0.08);
  border-color: var(--lime-border);
  color: var(--lime);
}

/* ── Connectors ── */
.arch-connector {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding-left: 1.9rem;
  min-height: 36px;
}

.arch-connector-track {
  width: 1px;
  min-height: 36px;
  background: linear-gradient(
    to bottom,
    var(--lime-border),
    rgba(163, 230, 53, 0.08)
  );
  position: relative;
  overflow: hidden;
  flex-shrink: 0;
}

.arch-connector-dot {
  position: absolute;
  left: -3px;
  top: -8px;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--lime);
  box-shadow: 0 0 6px rgba(163, 230, 53, 0.6);
  animation: flow-down 2.4s ease-in-out infinite;
}

.arch-connector-dot-fast {
  animation-duration: 1.4s;
}

@keyframes flow-down {
  0% {
    top: -8px;
    opacity: 0;
  }
  15% {
    opacity: 1;
  }
  85% {
    opacity: 1;
  }
  100% {
    top: 100%;
    opacity: 0;
  }
}

/* Bridge connector with label */
.arch-bridge-tag {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--lime);
  background: rgba(163, 230, 53, 0.08);
  border: 1px solid var(--lime-border);
  padding: 4px 10px;
  border-radius: 5px;
  white-space: nowrap;
  font-family: var(--mono);
}

/* ── Detail cards 2×2 ── */
.arch-detail-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-4);
  align-content: start;
}

.arch-detail-card {
  padding: var(--space-5);
  border-radius: var(--r-lg);
  border: 1px solid var(--border);
  background: var(--surface);
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  transition:
    border-color var(--t-base),
    background var(--t-base);
}
.arch-detail-card:hover {
  border-color: var(--lime-border);
  background: rgba(163, 230, 53, 0.04);
}

.arch-detail-num {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: var(--lime);
  font-family: var(--mono);
  margin-bottom: 2px;
}
.arch-detail-title {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--text-1);
  margin-bottom: 2px;
}
.arch-detail-card p {
  font-size: 0.82rem;
  color: var(--text-2);
  line-height: 1.62;
}
.arch-detail-card code {
  font-size: 0.7rem;
  color: var(--lime);
  background: rgba(163, 230, 53, 0.08);
  border: 1px solid var(--lime-border);
  padding: 1px 5px;
  border-radius: 4px;
}

@media (max-width: 1000px) {
  .arch-layout {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
}
@media (max-width: 540px) {
  .arch-detail-cards {
    grid-template-columns: 1fr;
  }
}

/* ════════════════════════════════════════
   FEATURES — REDESIGNED
════════════════════════════════════════ */
#features {
  background: var(--surface);
}

/* ── Hero stat cards (top 3) ── */
.feature-hero-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
  margin-top: var(--space-12);
  margin-bottom: 1.25rem;
}

.feature-hero-card {
  padding: 2rem 1.75rem;
  border-radius: var(--r-xl);
  border: 1px solid var(--border);
  background: var(--surface-2);
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
  transition:
    border-color var(--t-base),
    transform var(--t-base),
    box-shadow var(--t-base);
}

/* Top shimmer line */
.feature-hero-card::after {
  content: "";
  position: absolute;
  top: 0;
  left: 10%;
  right: 10%;
  height: 1px;
  background: linear-gradient(
    90deg,
    transparent,
    var(--lime-border),
    transparent
  );
  pointer-events: none;
}

.feature-hero-card:hover {
  border-color: var(--lime-border);
  transform: translateY(-3px);
  box-shadow:
    0 12px 40px rgba(0, 0, 0, 0.3),
    0 0 30px rgba(163, 230, 53, 0.07);
}

/* Big stat number */
.feature-hero-stat {
  font-family: var(--display);
  font-weight: 900;
  font-size: clamp(3rem, 5vw, 4.5rem);
  line-height: 1;
  letter-spacing: -0.045em;
  background: linear-gradient(135deg, #bef264 0%, #a3e635 45%, #84cc16 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  margin-bottom: 0;
}

.feature-hero-stat-sub {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--lime-dim);
  margin-top: 2px;
  margin-bottom: 1.1rem;
  font-family: var(--mono);
}

.feature-hero-card h3 {
  font-family: var(--display);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--text-1);
  letter-spacing: -0.02em;
  margin-bottom: 0.5rem;
  margin-top: 0.75rem;
}

.feature-hero-card > .feature-hero-stat + h3 {
  margin-top: 1.1rem;
}

.feature-hero-card p {
  font-size: 0.875rem;
  color: var(--text-2);
  line-height: 1.65;
  flex: 1;
}

.feature-hero-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 1.25rem;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--lime);
  background: rgba(163, 230, 53, 0.08);
  border: 1px solid var(--lime-border);
  padding: 4px 10px;
  border-radius: 999px;
  align-self: flex-start;
}

.feature-hero-tag-dim {
  color: var(--text-3);
  background: rgba(255, 255, 255, 0.04);
  border-color: var(--border);
}

/* ── Compact grid (bottom 6) ── */
.feature-compact-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
  border-radius: var(--r-xl);
  overflow: hidden;
}

.feature-compact-card {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding: 1.5rem;
  background: var(--surface-2);
  transition: background var(--t-base);
}

.feature-compact-card:hover {
  background: var(--surface-3);
}

.feature-compact-icon-box {
  width: 40px;
  height: 40px;
  border-radius: var(--r-md);
  background: rgba(163, 230, 53, 0.07);
  border: 1px solid var(--lime-border);
  display: grid;
  place-items: center;
  font-size: 1.05rem;
  flex-shrink: 0;
  margin-top: 1px;
}

.feature-compact-body h4 {
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--text-1);
  margin-bottom: 4px;
  display: flex;
  align-items: center;
  gap: 6px;
}

.feature-compact-body p {
  font-size: 0.8rem;
  color: var(--text-2);
  line-height: 1.6;
}

.badge-planned {
  display: inline-block;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-3);
  border: 1px solid var(--border-2);
  padding: 1px 6px;
  border-radius: 4px;
  vertical-align: middle;
}

@media (max-width: 900px) {
  .feature-hero-row {
    grid-template-columns: 1fr;
  }
  .feature-compact-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 540px) {
  .feature-compact-grid {
    grid-template-columns: 1fr;
    border-radius: var(--r-lg);
  }
  .feature-hero-stat {
    font-size: clamp(2.5rem, 14vw, 4rem);
  }
}

/* ════════════════════════════════════════
   VALIDATOR / RUN-A-NODE
════════════════════════════════════════ */
#validator {
  background: var(--bg);
}

/* Main 2-col grid */
.validator-grid {
  display: grid;
  grid-template-columns: 1fr 360px;
  gap: var(--space-10);
  align-items: start;
  margin-top: var(--space-12);
}

/* Step cards */
.validator-steps {
  display: flex;
  flex-direction: column;
  gap: var(--space-5);
}

.step-card {
  padding: 1.75rem 2rem;
  border-radius: var(--r-xl);
  border: 1px solid var(--border);
  background: var(--surface-2);
  position: relative;
  overflow: hidden;
  transition: border-color 250ms;
}
.step-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, var(--lime-border), transparent 60%);
  opacity: 0;
  transition: opacity 250ms;
}
.step-card:hover {
  border-color: rgba(163, 230, 53, 0.22);
}
.step-card:hover::before {
  opacity: 1;
}

.step-card-num {
  font-family: var(--display);
  font-weight: 900;
  font-size: clamp(2.25rem, 4vw, 3.25rem);
  line-height: 1;
  letter-spacing: -0.04em;
  background: linear-gradient(135deg, #bef264 0%, #a3e635 50%, #84cc16 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  margin-bottom: 0.6rem;
}

.step-card-header {
  display: flex;
  align-items: baseline;
  gap: 0.75rem;
  margin-bottom: 0.6rem;
  flex-wrap: wrap;
}

.step-card-title {
  font-family: var(--display);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--text-1);
  letter-spacing: -0.02em;
  line-height: 1.3;
}
.step-card-title code {
  font-family: var(--mono);
  font-size: 0.95em;
  color: var(--lime);
  background: var(--lime-glow);
  padding: 1px 6px;
  border-radius: 4px;
}

.step-card-version {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--lime);
  background: var(--lime-glow);
  border: 1px solid var(--lime-border);
  border-radius: 999px;
  padding: 2px 10px;
  white-space: nowrap;
}

.step-card-desc {
  font-size: 0.85rem;
  color: var(--text-3);
  line-height: 1.6;
  margin-bottom: 1rem;
}

.step-card-note {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  margin-top: 0.9rem;
  padding: 0.75rem 1rem;
  background: rgba(163, 230, 53, 0.04);
  border: 1px solid var(--lime-border);
  border-radius: var(--r-md);
  font-size: 0.8rem;
  color: var(--text-3);
  line-height: 1.6;
}
.step-card-note svg {
  flex-shrink: 0;
  margin-top: 2px;
  color: var(--lime);
  opacity: 0.7;
}
.step-card-note code {
  font-family: var(--mono);
  font-size: 0.9em;
  color: var(--lime);
}

/* Staking hint table */
.step-card-staking-hint {
  display: flex;
  flex-direction: column;
  gap: 0;
  margin-top: 1.1rem;
  border-radius: var(--r-md);
  border: 1px solid var(--border);
  overflow: hidden;
}
.staking-hint-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 9px 14px;
  font-size: 0.82rem;
  gap: 1rem;
  border-bottom: 1px solid var(--border);
}
.staking-hint-row:last-child {
  border-bottom: none;
}
.staking-hint-label {
  color: var(--text-3);
  flex-shrink: 0;
}
.staking-hint-row code {
  font-family: var(--mono);
  font-size: 0.88em;
  color: var(--lime);
}

/* Platform download grid */
.platform-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.6rem;
  margin-top: 1rem;
}

.platform-tile {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 3px;
  padding: 0.9rem 0.5rem;
  border-radius: var(--r-lg);
  border: 1px solid var(--border);
  background: var(--bg);
  text-align: center;
  transition:
    border-color var(--t),
    background var(--t),
    transform 150ms;
}
.platform-tile:hover {
  border-color: var(--lime-border);
  background: var(--lime-glow);
  transform: translateY(-2px);
}
.platform-tile-icon {
  font-size: 1.4rem;
  line-height: 1;
}
.platform-tile-name {
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--text-1);
}
.platform-tile-arch {
  font-size: 0.68rem;
  color: var(--text-3);
  font-family: var(--mono);
}
.platform-tile:hover .platform-tile-name {
  color: var(--lime);
}
.platform-tile-muted {
  opacity: 0.5;
  border-style: dashed;
}
.platform-tile-muted:hover {
  opacity: 0.85;
}

/* Code blocks (shared) */
.code-block {
  display: flex;
  flex-direction: column;
  margin-top: var(--space-3);
  padding: var(--space-3) var(--space-4);
  background: #060606;
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  font-family: var(--mono);
  font-size: 0.82rem;
  line-height: 1.65;
}
.code-comment {
  color: var(--text-3);
}
.code-line {
  color: var(--lime);
}

/* Right info panel */
.validator-panel {
  display: flex;
  flex-direction: column;
  gap: 0;
  border-radius: var(--r-2xl);
  border: 1px solid var(--border-2);
  background: var(--surface-2);
  overflow: hidden;
  position: sticky;
  top: calc(var(--nav-h) + 1.25rem);
}

.vpanel-section {
  padding: 1.25rem 1.5rem;
}

.vpanel-title {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-3);
  margin-bottom: 0.9rem;
}

.vpanel-divider {
  height: 1px;
  background: var(--border);
}

.vpanel-tip {
  display: flex;
  gap: 0.75rem;
}
.vpanel-tip-icon {
  font-size: 1.25rem;
  line-height: 1;
  flex-shrink: 0;
  margin-top: 2px;
}
.vpanel-tip p {
  font-size: 0.8rem;
  color: var(--text-3);
  line-height: 1.6;
}
.vpanel-tip p code {
  font-family: var(--mono);
  font-size: 0.9em;
  color: var(--text-2);
}

.vpanel-cta {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  margin: 1.25rem 1.5rem;
  margin-top: 0.75rem;
  border-radius: var(--r-lg);
}

/* Requirement chips */
.req-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
}
.req-chip {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 500;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border);
  color: var(--text-2);
}
.req-chip::before {
  content: "✓";
  color: var(--lime);
  font-size: 0.65rem;
  font-weight: 800;
}
.req-chip-note {
  flex-basis: 100%;
  border-radius: var(--r-sm);
}

/* CLI reference */
.vcmd-list {
  display: flex;
  flex-direction: column;
  gap: 0;
  border-radius: var(--r-md);
  border: 1px solid var(--border);
  overflow: hidden;
}
.vcmd-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 7px 12px;
  gap: 0.75rem;
  border-bottom: 1px solid var(--border);
  font-size: 0.78rem;
}
.vcmd-row:last-child {
  border-bottom: none;
}
.vcmd-row code {
  font-family: var(--mono);
  font-size: 0.88em;
  color: var(--lime);
}
.vcmd-row span {
  color: var(--text-3);
  flex-shrink: 0;
  font-size: 0.72rem;
}

/* Seed node section */
.seed-node-section {
  margin-top: var(--space-10);
  padding: 2rem 2.25rem;
  border-radius: var(--r-2xl);
  border: 1px solid var(--border);
  background: var(--surface);
}

.seed-node-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 2rem;
  margin-bottom: 2rem;
  flex-wrap: wrap;
}

.seed-node-title {
  font-family: var(--display);
  font-size: clamp(1.1rem, 2vw, 1.35rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--text-1);
  margin-bottom: 0.4rem;
}

.seed-node-sub {
  font-size: 0.84rem;
  color: var(--text-3);
  line-height: 1.65;
  max-width: 55ch;
}

.badge-optional-pill {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-3);
  border: 1px solid var(--border-2);
  border-radius: 999px;
  padding: 4px 12px;
  white-space: nowrap;
  flex-shrink: 0;
  margin-top: 4px;
}

.seed-node-steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.seed-step {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.seed-step-num {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  border: 1px solid var(--lime-border);
  background: var(--lime-glow);
  display: grid;
  place-items: center;
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--lime);
  flex-shrink: 0;
}

.seed-step-body h4 {
  font-family: var(--display);
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--text-1);
  letter-spacing: -0.01em;
  margin-bottom: 0.4rem;
}

.seed-step-body p {
  font-size: 0.8rem;
  color: var(--text-3);
  line-height: 1.65;
}

.seed-step-body code {
  font-family: var(--mono);
  font-size: 0.88em;
  color: var(--lime);
}

@media (max-width: 1024px) {
  .validator-grid {
    grid-template-columns: 1fr;
    gap: var(--space-10);
  }
  .validator-panel {
    position: static;
  }
}

@media (max-width: 700px) {
  .platform-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .seed-node-steps {
    grid-template-columns: 1fr;
    gap: var(--space-6);
  }
  .seed-node-section {
    padding: 1.5rem;
  }
  .step-card {
    padding: 1.25rem 1.25rem;
  }
}

/* ════════════════════════════════════════
   BUILD / CHAIN DETAILS
════════════════════════════════════════ */
#build {
  background: var(--surface);
}

.build-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 4rem;
  align-items: start;
  margin-top: var(--space-8);
}

.build-left h2 {
  margin-bottom: 0;
}

/* Giant chain ID number */
.chain-id-num {
  font-family: var(--display);
  font-weight: 900;
  font-size: clamp(5rem, 13vw, 13rem);
  line-height: 1;
  letter-spacing: -0.045em;
  font-variant-numeric: tabular-nums;
  background: linear-gradient(
    170deg,
    #bef264 0%,
    #a3e635 22%,
    #84cc16 44%,
    #3f6212 66%,
    #84cc16 84%,
    #bef264 100%
  );
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  filter: drop-shadow(0 2px 28px rgba(163, 230, 53, 0.22));
  margin-bottom: var(--space-6);
}

.build-copy {
  font-size: clamp(0.95rem, 1.3vw, 1.1rem);
  color: var(--text-2);
  line-height: 1.65;
  max-width: 36em;
  margin-bottom: var(--space-6);
}

.build-ctas {
  display: flex;
  gap: var(--space-3);
  flex-wrap: wrap;
}

.wallet-msg {
  margin-top: 0.75rem;
  min-height: 1.4em;
  font-size: 0.875rem;
  color: var(--text-3);
}

/* Network card */
.net-card {
  background: var(--surface-2);
  border: 1px solid var(--border-2);
  border-radius: var(--r-2xl);
  padding: clamp(1.5rem, 3vw, 2.25rem);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.3);
}

.net-card .eyebrow {
  margin-bottom: var(--space-4);
}

.net-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding-block: 1rem;
  border-bottom: 1px solid var(--border);
  min-width: 0;
}
.net-row:last-child {
  border-bottom: none;
}

.net-row dt {
  color: var(--text-3);
  font-size: 0.875rem;
  flex-shrink: 0;
}
.net-row dd {
  font-weight: 500;
  font-size: 0.875rem;
  color: var(--text-1);
  display: flex;
  align-items: center;
  gap: 0.5rem;
  text-align: right;
  min-width: 0;
  justify-content: flex-end;
}
.net-row dd a {
  color: var(--lime);
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 5px;
}
.net-row dd a:hover {
  text-decoration: underline;
  text-underline-offset: 3px;
}

.code-chip {
  font-family: var(--mono);
  font-size: 0.75rem;
  color: var(--lime);
  background: var(--lime-glow);
  border: 1px solid var(--lime-border);
  padding: 3px 8px;
  border-radius: 6px;
  white-space: nowrap;
}
.code-chip.truncate {
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 160px;
}

.copy-btn {
  flex-shrink: 0;
  width: 32px;
  height: 32px;
  border-radius: 8px;
  border: 1px solid var(--border-2);
  background: var(--surface-3);
  color: var(--text-3);
  display: grid;
  place-items: center;
  cursor: pointer;
  transition:
    color var(--t),
    border-color var(--t);
}
.copy-btn:hover {
  color: var(--lime);
  border-color: var(--lime-border);
}
.copy-btn.done {
  color: var(--lime);
  border-color: var(--lime-border);
}

@media (max-width: 1000px) {
  .build-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
  .chain-id-num {
    font-size: clamp(5rem, 22vw, 10rem);
  }
}

@media (max-width: 480px) {
  .net-row {
    flex-wrap: wrap;
  }
  .net-row dd {
    text-align: left;
    justify-content: flex-start;
    width: 100%;
  }
}

/* ════════════════════════════════════════
   TOKENOMICS
════════════════════════════════════════ */
#tokenomics {
  background: var(--bg);
}

.tokenomics-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-4);
  margin-top: var(--space-12);
  margin-bottom: var(--space-12);
}

.token-card {
  padding: var(--space-6);
  border-radius: var(--r-lg);
  border: 1px solid var(--border);
  background: var(--surface);
  transition: border-color var(--t-base);
}
.token-card:hover {
  border-color: var(--border-2);
}

.token-card-title {
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--text-3);
  margin-bottom: var(--space-2);
}
.token-card-value {
  font-family: var(--display);
  font-weight: 800;
  font-size: 2rem;
  color: var(--text-1);
  font-variant-numeric: tabular-nums;
  letter-spacing: -0.02em;
  line-height: 1.1;
  margin-bottom: var(--space-3);
}
.token-card-value .unit {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--lime);
}
.token-card-desc {
  font-size: 0.84rem;
  color: var(--text-2);
  line-height: 1.55;
}

/* Halving table */
.halving-table {
  overflow: hidden;
  border-radius: var(--r-lg);
  border: 1px solid var(--border);
  max-width: 640px;
  margin: 0 auto;
}
.halving-table table {
  width: 100%;
  border-collapse: collapse;
}
.halving-table th {
  background: var(--surface);
  padding: var(--space-3) var(--space-5);
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.09em;
  color: var(--text-3);
  text-align: left;
  border-bottom: 1px solid var(--border);
}
.halving-table td {
  padding: var(--space-3) var(--space-5);
  font-size: 0.875rem;
  color: var(--text-2);
  border-bottom: 1px solid var(--border);
  font-variant-numeric: tabular-nums;
}
.halving-table tr:last-child td {
  border-bottom: none;
}
.halving-table td:first-child {
  color: var(--text-1);
  font-weight: 600;
}
.halving-table tr.active-era td {
  background: rgba(163, 230, 53, 0.05);
}
.halving-table tr.active-era td:first-child {
  color: var(--lime);
}

@media (max-width: 640px) {
  .tokenomics-grid {
    grid-template-columns: 1fr;
  }
}

/* ════════════════════════════════════════
   ROADMAP
════════════════════════════════════════ */
#roadmap {
  background: var(--surface);
}

.roadmap-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-4);
  margin-top: var(--space-12);
}

.phase-card {
  padding: var(--space-5);
  border-radius: var(--r-lg);
  border: 1px solid var(--border);
  background: var(--bg);
  display: flex;
  flex-direction: column;
}
.phase-card.done {
  border-color: rgba(163, 230, 53, 0.18);
  background: rgba(163, 230, 53, 0.02);
}
.phase-card.active {
  border-color: var(--lime-border);
  background: var(--lime-glow);
  box-shadow: 0 0 32px rgba(163, 230, 53, 0.08);
}

.phase-label {
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--text-3);
  margin-bottom: var(--space-2);
}
.phase-card.done .phase-label {
  color: var(--lime-dim);
}
.phase-card.active .phase-label {
  color: var(--lime);
}

.phase-title {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--text-1);
  margin-bottom: var(--space-4);
  line-height: 1.3;
}

.phase-items {
  display: flex;
  flex-direction: column;
  gap: 7px;
  flex: 1;
}
.phase-items li {
  font-size: 0.82rem;
  color: var(--text-2);
  display: flex;
  align-items: flex-start;
  gap: 7px;
  line-height: 1.4;
}
.phase-items li::before {
  flex-shrink: 0;
  margin-top: 1px;
}
.phase-card.done .phase-items li::before {
  content: "✓";
  color: var(--lime);
  font-weight: 700;
}
.phase-card.active .phase-items li::before {
  content: "→";
  color: var(--lime);
  font-weight: 700;
}
.phase-card:not(.done):not(.active) .phase-items li::before {
  content: "◦";
  color: var(--text-3);
}

.phase-status {
  margin-top: var(--space-5);
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
}
.phase-card.done .phase-status {
  color: var(--lime-dim);
}
.phase-card.active .phase-status {
  color: var(--lime);
}
.phase-card:not(.done):not(.active) .phase-status {
  color: var(--text-3);
}

@media (max-width: 1000px) {
  .roadmap-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 540px) {
  .roadmap-grid {
    grid-template-columns: 1fr;
  }
}

/* ════════════════════════════════════════
   CTA BANNER
════════════════════════════════════════ */
#cta-banner {
  background: var(--bg);
  text-align: center;
}

.cta-box {
  max-width: 640px;
  margin: 0 auto;
  padding: var(--space-16) var(--space-8);
  border-radius: var(--r-2xl);
  border: 1px solid var(--lime-border);
  background: var(--lime-glow);
  position: relative;
  overflow: hidden;
}
.cta-box::before {
  content: "";
  position: absolute;
  top: -80px;
  left: 50%;
  transform: translateX(-50%);
  width: 360px;
  height: 360px;
  background: radial-gradient(
    circle,
    rgba(163, 230, 53, 0.1) 0%,
    transparent 70%
  );
  pointer-events: none;
}
.cta-box h2 {
  margin-bottom: var(--space-4);
  position: relative;
}
.cta-box p {
  margin-bottom: var(--space-8);
  position: relative;
}

.cta-buttons {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-3);
  flex-wrap: wrap;
  position: relative;
}

/* ════════════════════════════════════════
   FOOTER
════════════════════════════════════════ */
footer {
  background: var(--surface);
  border-top: 1px solid var(--border);
  padding: var(--space-16) 0 var(--space-8);
}

.footer-top {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: var(--space-12);
  margin-bottom: var(--space-12);
  padding-bottom: var(--space-12);
  border-bottom: 1px solid var(--border);
}

.footer-logo {
  height: 42px;
  width: auto;
  margin-bottom: var(--space-4);
}

.footer-brand p {
  font-size: 0.875rem;
  color: var(--text-2);
  line-height: 1.65;
  max-width: 280px;
}

.footer-col h4 {
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--text-3);
  margin-bottom: var(--space-4);
}
.footer-col ul {
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
}
.footer-col a {
  font-size: 0.875rem;
  color: var(--text-2);
  transition: color var(--t);
}
.footer-col a:hover {
  color: var(--lime);
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-4);
  flex-wrap: wrap;
}
.footer-bottom p {
  font-size: 0.8rem;
  color: var(--text-3);
}

.footer-bottom-links {
  display: flex;
  gap: var(--space-4);
}
.footer-bottom-links a {
  font-size: 0.8rem;
  color: var(--text-3);
  transition: color var(--t);
}
.footer-bottom-links a:hover {
  color: var(--text-2);
}

@media (max-width: 860px) {
  .footer-top {
    grid-template-columns: 1fr 1fr;
  }
}
@media (max-width: 540px) {
  .footer-top {
    grid-template-columns: 1fr;
    gap: var(--space-8);
  }
}

/* ════════════════════════════════════════
   RESPONSIVE — 768px
════════════════════════════════════════ */
@media (max-width: 768px) {
  .section-pad {
    padding: var(--space-16) 0;
  }
  .hero-ctas {
    flex-wrap: wrap;
    gap: var(--space-2);
  }
  .cta-box {
    padding: var(--space-10) var(--space-6);
  }
  .cta-buttons {
    flex-direction: column;
    align-items: stretch;
  }
  .cta-buttons .btn {
    justify-content: center;
    text-align: center;
  }
}

/* ════════════════════════════════════════
   RESPONSIVE — 540px
════════════════════════════════════════ */
@media (max-width: 540px) {
  .section-pad {
    padding: var(--space-12) 0;
  }
  .hero-wrap {
    padding-bottom: 3.5rem;
  }
  .hero-title {
    font-size: clamp(2.75rem, 13vw, 4.5rem);
  }
  .hero-lede {
    font-size: 0.9375rem;
  }
  .hero-statusbar {
    justify-content: center;
    padding: 0.55rem 1rem;
  }
  .big-block-wrap {
    margin-bottom: var(--space-8);
  }
  .section-desc {
    font-size: 0.875rem;
  }
  .arch-layout {
    gap: 2rem;
  }
  .feature-hero-card {
    padding: 1.5rem;
  }
  .feature-compact-card {
    padding: 1.1rem;
  }
  .cta-box {
    padding: var(--space-8) var(--space-5);
  }
  .build-ctas {
    flex-direction: column;
    align-items: flex-start;
  }
  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
  }
}

/* ════════════════════════════════════════
   RESPONSIVE — 420px
════════════════════════════════════════ */
@media (max-width: 420px) {
  :root {
    --nav-h: 62px;
  }
  .section-pad {
    padding: var(--space-10) 0;
  }
  .brand-logo {
    height: 36px;
  }
  .hero-wrap {
    padding-top: calc(var(--nav-h) + 1.75rem);
    padding-bottom: 2.5rem;
  }
  .hero-badges {
    gap: var(--space-2);
    margin-bottom: var(--space-4);
  }
  .hero-ctas {
    flex-direction: column;
    align-items: stretch;
  }
  .hero-ctas .btn {
    justify-content: center;
  }
  .hero-ctas .btn-text {
    align-self: flex-start;
  }
  .live-stats-row {
    grid-template-columns: 1fr 1fr;
    border-radius: var(--r-md);
  }
  .platform-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 0.5rem;
  }
  .platform-tile {
    padding: 0.75rem 0.4rem;
  }
  .platform-tile-icon {
    font-size: 1.2rem;
  }
  .seed-node-section {
    padding: 1.25rem;
  }
  .seed-node-header {
    flex-direction: column;
    gap: 0.75rem;
  }
  .halving-table {
    max-width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }
  .token-card-value {
    font-size: 1.6rem;
  }
  .phase-card {
    padding: var(--space-4);
  }
  .footer-top {
    gap: var(--space-6);
  }
  .step-card {
    padding: 1.1rem;
  }
  .step-card-num {
    font-size: 2rem;
    margin-bottom: 0.4rem;
  }
  .code-block {
    font-size: 0.75rem;
    overflow-x: auto;
    white-space: nowrap;
  }
}
