/* ═══════════════════════════════════════════════════════
   RabbitDawn — Launching Soon
   styles.css
   ═══════════════════════════════════════════════════════ */

/* ─── Design Tokens ────────────────────────────────────── */
:root {
  --bg0: #0a0f1a;
  --bg1: #0d1321;
  --bg2: #131b2e;
  --card: rgba(15, 23, 42, .50);
  --card-hi: rgba(20, 30, 52, .55);
  --stroke: rgba(255 255 255 / .07);
  --stroke-hi: rgba(255 255 255 / .12);
  --text: #f1f5f9;
  --muted: #94a3b8;
  --muted2: #64748b;
  --accent: #3b82f6;
  --accent2: #60a5fa;
  --accent3: #14b8a6;
  --accent4: #2dd4bf;
  --glow-accent: rgba(59, 130, 246, .20);
  --glow-blue: rgba(96, 165, 250, .15);
  --mono: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", monospace;
  --sans: "Inter", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji";
  --radius: 16px;
  --radius-sm: 10px;
  --shadow:
    0 1px 3px rgba(0, 0, 0, .12),
    0 8px 32px rgba(0, 0, 0, .24);
}

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

html {
  height: 100%;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  scroll-behavior: smooth;
}

body {
  min-height: 100%;
  color: var(--text);
  background: var(--bg0);
  font-family: var(--sans);
  font-size: 15px;
  line-height: 1.6;
  overflow-x: hidden;
}

/* ─── Subtle Gradient Background ──────────────────────── */
.scene-bg {
  position: fixed;
  inset: 0;
  z-index: 0;
  background:
    radial-gradient(ellipse 110% 70% at 20% 10%, rgba(59, 130, 246, .07), transparent 60%),
    radial-gradient(ellipse 90% 60% at 80% 85%, rgba(20, 184, 166, .04), transparent 55%),
    linear-gradient(170deg, var(--bg0) 0%, var(--bg2) 40%, var(--bg1) 70%, var(--bg0) 100%);
}

/* ─── Subtle Grid ─────────────────────────────────────── */
.scene-grid {
  position: fixed;
  inset: 0;
  z-index: 1;
  background:
    repeating-linear-gradient(0deg,   rgba(255 255 255 / .02) 0 1px, transparent 1px 64px),
    repeating-linear-gradient(90deg,  rgba(255 255 255 / .02) 0 1px, transparent 1px 64px);
  mask-image: radial-gradient(ellipse 60% 50% at 50% 50%, black, transparent);
  -webkit-mask-image: radial-gradient(ellipse 60% 50% at 50% 50%, black, transparent);
}

/* ─── Subtle Glow Orbs ───────────────────────────────── */
.scene-orbs {
  position: fixed;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  overflow: hidden;
}

.orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(100px);
  opacity: .25;
  will-change: transform;
}

.orb--1 {
  width: 50vmax;
  height: 50vmax;
  top: -20vmax;
  left: -15vmax;
  background: radial-gradient(circle, rgba(59, 130, 246, .15), transparent 70%);
  animation: orbA 30s ease-in-out infinite;
}

.orb--2 {
  width: 45vmax;
  height: 45vmax;
  bottom: -18vmax;
  right: -14vmax;
  background: radial-gradient(circle, rgba(20, 184, 166, .10), transparent 70%);
  animation: orbB 35s ease-in-out infinite;
}

.orb--3 {
  display: none;
}

@keyframes orbA {
  0%, 100% { transform: translate(0, 0)         scale(1); }
  50%      { transform: translate(4vmax, 3vmax)  scale(1.05); }
}

@keyframes orbB {
  0%, 100% { transform: translate(0, 0)          scale(1); }
  50%      { transform: translate(-3vmax, -4vmax) scale(1.04); }
}

/* ─── Site Header ─────────────────────────────────────── */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: 0 clamp(20px, 5vw, 56px);
  border-bottom: 1px solid rgba(255 255 255 / .05);
  background: rgba(10, 15, 26, .70);
  backdrop-filter: blur(16px) saturate(1.2);
  -webkit-backdrop-filter: blur(16px) saturate(1.2);
  transition: background .3s, box-shadow .3s;
}

.site-header.scrolled {
  background: rgba(10, 15, 26, .90);
  box-shadow: 0 1px 16px rgba(0, 0, 0, .25);
}

.wrap--header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}

.header-logo {
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 6px;
}
.header-logo__icon {
  height: 44px;
  width: 44px;
  display: block;
  object-fit: contain;
}
.header-logo__text {
  font-size: 22px;
  font-weight: 700;
  color: #fff;
  letter-spacing: -0.02em;
}

.header-nav ul {
  list-style: none;
  display: flex;
  align-items: center;
  gap: clamp(20px, 3vw, 40px);
}

.header-nav a {
  font-size: 14px;
  font-weight: 500;
  color: var(--muted);
  text-decoration: none;
  letter-spacing: .01em;
  padding: 6px 0;
  position: relative;
  transition: color .25s;
}

.header-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 2px;
  border-radius: 1px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: center;
  transition: transform .25s cubic-bezier(.22, 1, .36, 1);
}

.header-nav a:hover,
.header-nav a.nav-active {
  color: var(--text);
}

.header-nav a:hover::after,
.header-nav a.nav-active::after {
  transform: scaleX(1);
}

/* Hamburger toggle (mobile) */
.header-toggle {
  display: none;
  appearance: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
  flex-direction: column;
  gap: 5px;
  z-index: 110;
}

.header-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  border-radius: 2px;
  background: var(--text);
  transition: transform .3s, opacity .3s;
}

.header-toggle.open span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.header-toggle.open span:nth-child(2) {
  opacity: 0;
}

.header-toggle.open span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

@media (max-width: 639px) {
  .header-toggle {
    display: flex;
  }

  .header-nav {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    height: 100dvh;
    z-index: 105;
    background: var(--bg0);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity .3s;
  }

  .header-nav.nav-open {
    opacity: 1;
    pointer-events: auto;
  }

  .header-nav ul {
    flex-direction: column;
    gap: 28px;
  }

  .header-nav a {
    font-size: 22px;
    font-weight: 600;
  }
}

/* ─── Layout ───────────────────────────────────────────── */
main {
  position: relative;
  z-index: 10;
}

.wrap {
  width: min(1060px, 100%);
  margin-inline: auto;
}

/* Hero Section */
.hero {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: clamp(36px, 5vw, 60px);
  padding: calc(64px + clamp(32px, 6vw, 72px)) clamp(20px, 5vw, 56px) clamp(40px, 6vw, 72px);
  overflow: hidden;
}

/* ─── Hero Intro (centered headline block) ──────────────── */
.hero-intro {
  position: relative;
  width: 100%;
  text-align: center;
  overflow: hidden;
}

.hero-intro .wrap {
  position: relative;
  z-index: 2;
}

.hero-headline {
  font-size: clamp(36px, 6vw, 68px);
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: -.04em;
  max-width: 14ch;
  margin: 0 auto 24px;
  color: var(--text);
}

.hero-sub {
  color: var(--muted);
  font-size: clamp(15px, 1.8vw, 17px);
  line-height: 1.75;
  max-width: 62ch;
  margin-inline: auto;
}

/* Diagonal streak lines */
.hero-streaks {
  position: absolute;
  top: -20%;
  left: -5%;
  width: 45%;
  height: 140%;
  z-index: 0;
  pointer-events: none;
  opacity: 0;
  animation: streaksFadeIn 2s ease 0.3s forwards;
}

.hero-streaks::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    repeating-linear-gradient(
      -55deg,
      transparent,
      transparent 18px,
      rgba(59, 130, 246, .04) 18px,
      rgba(59, 130, 246, .04) 19px
    );
  mask-image: linear-gradient(180deg, transparent 5%, rgba(0,0,0,.5) 30%, rgba(0,0,0,.5) 70%, transparent 95%);
  -webkit-mask-image: linear-gradient(180deg, transparent 5%, rgba(0,0,0,.5) 30%, rgba(0,0,0,.5) 70%, transparent 95%);
  animation: streaksDrift 18s linear infinite;
}

@keyframes streaksFadeIn {
  to { opacity: 1; }
}

@keyframes streaksDrift {
  0%   { transform: translateY(0); }
  100% { transform: translateY(38px); }
}

/* ─── Twisted Torus Canvas (inside terminal) ────────────── */
.torus-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  pointer-events: none;
  opacity: 0;
  animation: torusFadeIn 2s ease 0.5s forwards;
}

@keyframes torusFadeIn {
  to { opacity: 0.7; }
}

.wrap--hero {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}

@media (min-width: 740px) {
  .wrap--hero {
    grid-template-columns: 1.18fr .82fr;
  }
}

/* Generic Section */
.section {
  padding: clamp(64px, 10vw, 120px) clamp(20px, 5vw, 56px);
}

.wrap--section {
  display: flex;
  flex-direction: column;
  gap: clamp(40px, 6vw, 72px);
}

/* ─── Glassmorphism Card ───────────────────────────────── */
.card {
  position: relative;
  border: 1px solid var(--stroke);
  border-radius: var(--radius);
  background: var(--card);
  box-shadow: var(--shadow);
  backdrop-filter: blur(16px) saturate(1.2);
  -webkit-backdrop-filter: blur(16px) saturate(1.2);
  overflow: hidden;
  /* fade-in on load */
  opacity: 0;
  transform: translateY(22px);
  animation: cardIn .7s cubic-bezier(.22, 1, .36, 1) forwards;
}

.card:nth-child(2) {
  animation-delay: .12s;
}

.card::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(600px 250px at 15% 8%,  rgba(59, 130, 246, .06), transparent 55%),
    radial-gradient(500px 220px at 85% 18%, rgba(20, 184, 166, .04), transparent 50%);
  pointer-events: none;
}

.card::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: var(--radius);
  background: linear-gradient(175deg, rgba(255 255 255 / .04) 0%, transparent 40%);
  pointer-events: none;
}

@keyframes cardIn {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.card__inner {
  position: relative;
  z-index: 1;
  padding: clamp(24px, 4vw, 40px);
}

/* ─── Brand Card ───────────────────────────────────────── */
.brand {
  position: relative;
  z-index: 1;
  padding: clamp(28px, 5vw, 48px);
  display: flex;
  flex-direction: column;
}

/* Badge */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--muted2);
  margin-bottom: 20px;
}

.badge-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 8px var(--glow-accent);
  animation: dotPulse 2s ease-in-out infinite;
}

@keyframes dotPulse {
  0%, 100% { box-shadow: 0 0 4px var(--glow-accent), 0 0 0 0 rgba(59, 130, 246, .25); }
  50%      { box-shadow: 0 0 6px var(--glow-accent), 0 0 0 8px rgba(59, 130, 246, 0); }
}

/* Headline */
h1 {
  font-size: clamp(32px, 5vw, 52px);
  font-weight: 800;
  line-height: 1.06;
  letter-spacing: -.035em;
  margin-bottom: 16px;
}

.grad {
  background: linear-gradient(105deg, var(--accent2), var(--accent3));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* Subtext */
.sub {
  color: var(--muted);
  font-size: 15px;
  line-height: 1.7;
  max-width: 56ch;
  margin-bottom: 24px;
}
.sub--secondary {
  margin-bottom: 20px;
}


/* ─── CTA Buttons ──────────────────────────────────────── */
.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 24px;
}

.btn {
  appearance: none;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 12px 20px;
  border: 1px solid var(--stroke-hi);
  border-radius: var(--radius-sm);
  background: rgba(255 255 255 / .05);
  color: var(--text);
  font-family: inherit;
  font-weight: 600;
  font-size: 14px;
  text-decoration: none;
  cursor: pointer;
  user-select: none;
  transition:
    transform .2s cubic-bezier(.22, 1, .36, 1),
    background .2s,
    border-color .2s,
    box-shadow .2s;
}

.btn:hover {
  transform: translateY(-2px);
  background: rgba(255 255 255 / .09);
  border-color: rgba(255 255 255 / .22);
  box-shadow: 0 4px 20px rgba(0, 0, 0, .25);
}

.btn:active {
  transform: translateY(0) scale(.98);
}

.btn--primary {
  border-color: var(--accent);
  background: var(--accent);
  color: #fff;
}

.btn--primary:hover {
  border-color: var(--accent2);
  background: var(--accent2);
  box-shadow: 0 4px 20px rgba(59, 130, 246, .25);
}

.btn-icon {
  font-size: 15px;
  line-height: 1;
}

/* ─── Terminal Card ────────────────────────────────────── */
.terminal {
  display: flex;
  flex-direction: column;
  min-height: 340px;
}

.term-bar {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 20px;
  border-bottom: 1px solid rgba(255 255 255 / .07);
}

.term-dots {
  display: flex;
  gap: 7px;
}

.term-dot {
  width: 11px;
  height: 11px;
  border-radius: 50%;
}

.term-dot--r { background: #ff5f57; }
.term-dot--y { background: #febc2e; }
.term-dot--g { background: #28c840; }

.term-title {
  font-family: var(--mono);
  font-size: 12px;
  color: rgba(255 255 255 / .55);
  letter-spacing: .02em;
}

.term-body {
  position: relative;
  z-index: 1;
  flex: 1;
  padding: 20px;
  display: flex;
  flex-direction: column;
}

.term-output {
  font-family: var(--mono);
  font-size: 13px;
  line-height: 1.65;
  color: rgba(232, 238, 255, .88);
  white-space: pre-wrap;
  word-break: break-word;
  margin: 0;
}

.term-ok {
  color: var(--accent);
  font-weight: 700;
}

.term-cursor {
  display: inline-block;
  width: 8px;
  height: 2px;
  background: var(--accent);
  vertical-align: baseline;
  margin-left: 1px;
  animation: cursorBlink 1s steps(1) infinite;
}

@keyframes cursorBlink {
  50% { opacity: 0; }
}

/* ─── Progress Bar ─────────────────────────────────────── */
.progress-track {
  margin-top: 18px;
  height: 6px;
  border-radius: 999px;
  background: rgba(255 255 255 / .06);
  border: 1px solid rgba(255 255 255 / .06);
  overflow: hidden;
}

.progress-fill {
  height: 100%;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--accent), var(--accent2));
  background-size: 200% 100%;
  width: 30%;
  animation:
    progressWidth 4.5s ease-in-out infinite,
    progressShimmer 2.5s linear infinite;
}

@keyframes progressWidth {
  0%, 100% { width: 18%; }
  50%      { width: 82%; }
}

@keyframes progressShimmer {
  0%   { background-position: 100% 0; }
  100% { background-position: -100% 0; }
}

/* ─── Terminal Footer ──────────────────────────────────── */
.term-footer {
  margin-top: auto;
  padding-top: 16px;
  font-size: 12px;
  color: var(--muted2);
}

.term-footer a {
  color: var(--accent2);
  text-decoration: none;
  transition: color .2s;
}

.term-footer a:hover {
  color: var(--accent2);
  text-decoration: underline;
}

/* ═══════════════════════════════════════════════════════════
   Section Components (What we do, Company info, Contact)
   ═══════════════════════════════════════════════════════════ */

/* ─── Section Label ───────────────────────────────────── */
.section-label {
  display: inline-block;
  font-size: clamp(12px, 1.2vw, 14px);
  font-weight: 700;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: clamp(16px, 2vw, 24px);
}

/* ─── Section Header ──────────────────────────────────── */
.section-header {
  text-align: center;
  max-width: 820px;
  margin-inline: auto;
}

.section-header h2 {
  font-size: clamp(32px, 5.5vw, 60px);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -.035em;
  margin-bottom: clamp(18px, 2.5vw, 28px);
}

.section-lead {
  color: var(--muted);
  font-size: clamp(16px, 1.8vw, 19px);
  line-height: 1.75;
  max-width: 62ch;
  margin-inline: auto;
}

/* ─── Feature Grid ────────────────────────────────────── */
.feature-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}

@media (min-width: 560px) {
  .feature-grid {
    grid-template-columns: 1fr 1fr;
  }
}

.feature-card h3 {
  font-size: 17px;
  font-weight: 700;
  letter-spacing: -.015em;
  margin-bottom: 10px;
}

.feature-card p {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.72;
}

.feature-card--wide {
  grid-column: 1 / -1;
}

.feature-card__icon {
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  border-radius: 12px;
  border: 1px solid rgba(255 255 255 / .08);
  background: rgba(255 255 255 / .04);
  color: var(--accent);
  margin-bottom: 16px;
  transition: border-color .3s, background .3s, color .3s;
}

.feature-card:nth-child(2) .feature-card__icon { color: var(--accent3); }
.feature-card:nth-child(3) .feature-card__icon { color: var(--accent2); }
.feature-card:nth-child(4) .feature-card__icon { color: var(--accent3); }
.feature-card:nth-child(5) .feature-card__icon { color: var(--accent); }

.feature-card:hover .feature-card__icon {
  border-color: rgba(59, 130, 246, .25);
  background: rgba(59, 130, 246, .08);
}

/* ─── Info Grid (Company Info) ────────────────────────── */
.info-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
  max-width: 720px;
  margin: 0 auto;
}

@media (min-width: 480px) {
  .info-grid {
    grid-template-columns: 1fr 1fr;
  }
}

.info-card {
  padding: clamp(20px, 3vw, 28px);
  border: 1px solid var(--stroke);
  border-radius: var(--radius-sm);
  background: rgba(255 255 255 / .025);
  transition: border-color .3s, background .3s, transform .3s;
}

.info-card:hover {
  border-color: var(--stroke-hi);
  background: rgba(255 255 255 / .04);
  transform: translateY(-2px);
}

.info-card__icon {
  color: var(--accent2);
  margin-bottom: 12px;
  opacity: .75;
}

.info-card h3 {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--muted2);
  margin-bottom: 6px;
}

.info-card p {
  font-size: 15px;
  line-height: 1.55;
  color: var(--text);
}

.info-card a {
  color: var(--accent2);
  text-decoration: none;
  transition: color .2s;
}

.info-card a:hover {
  color: var(--accent2);
  text-decoration: underline;
}

/* Currency Note */
.currency-note {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 16px 20px;
  border: 1px solid rgba(59, 130, 246, .12);
  border-radius: var(--radius-sm);
  background: rgba(59, 130, 246, .04);
  color: var(--muted);
  font-size: 13.5px;
}

.currency-note svg {
  flex-shrink: 0;
  color: var(--accent2);
  opacity: .7;
}

/* ─── Contact Grid ────────────────────────────────────── */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}

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

.contact-card h3 {
  font-size: 20px;
  font-weight: 700;
  letter-spacing: -.02em;
  margin-bottom: 20px;
}

.contact-dl {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.contact-dl__row {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.contact-dl__row dt {
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--muted2);
}

.contact-dl__row dd {
  font-size: 14.5px;
  color: var(--text);
}

.contact-dl__row dd a {
  color: var(--accent2);
  text-decoration: none;
  transition: color .2s;
}

.contact-dl__row dd a:hover {
  color: var(--accent2);
  text-decoration: underline;
}

/* FAQ Items */
.faq-item {
  padding: 14px 0;
  border-bottom: 1px solid var(--stroke);
}

.faq-item:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.faq-item h4 {
  font-size: 14.5px;
  font-weight: 600;
  margin-bottom: 6px;
}

.faq-item p {
  color: var(--muted);
  font-size: 13.5px;
  line-height: 1.65;
}

.faq-item a {
  color: var(--accent2);
  text-decoration: none;
}

.faq-item a:hover {
  color: var(--accent2);
  text-decoration: underline;
}

/* ═══════════════════════════════════════════════════════════
   Footer
   ═══════════════════════════════════════════════════════════ */

.site-footer {
  position: relative;
  z-index: 10;
  border-top: 1px solid var(--stroke);
  padding: clamp(36px, 5vw, 56px) clamp(20px, 5vw, 56px) 0;
}

.wrap--footer {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
  padding-bottom: 32px;
}

@media (min-width: 640px) {
  .wrap--footer {
    grid-template-columns: 1.5fr 1fr 1fr 1fr;
    gap: 24px;
  }
}

.footer-brand {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-logo-mark {
  display: flex;
  align-items: center;
  gap: 6px;
}
.footer-logo__icon {
  height: 44px;
  width: 44px;
  display: block;
  object-fit: contain;
}
.footer-logo__text {
  font-size: 22px;
  font-weight: 700;
  color: #fff;
  letter-spacing: -0.02em;
}

.footer-brand p {
  font-size: 12.5px;
  color: var(--muted2);
  line-height: 1.6;
}

.footer-col h4 {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--muted2);
  margin-bottom: 12px;
}

.footer-col ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.footer-col li {
  font-size: 13.5px;
  color: var(--muted);
}

.footer-col a {
  color: var(--accent2);
  text-decoration: none;
  transition: color .2s;
}

.footer-col a:hover {
  color: var(--accent2);
  text-decoration: underline;
}

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 20px 0;
  border-top: 1px solid var(--stroke);
  font-size: 12px;
  color: var(--muted2);
}

/* ═══════════════════════════════════════════════════════════
   Legal Pages (privacy, terms, delivery)
   ═══════════════════════════════════════════════════════════ */

.legal-header {
  position: relative;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px clamp(20px, 5vw, 56px);
  border-bottom: 1px solid var(--stroke);
}

.legal-header a {
  color: var(--muted);
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  transition: color .2s;
}

.legal-header a:hover {
  color: var(--accent2);
}

.legal-header .legal-logo {
  display: flex;
  align-items: center;
  gap: 6px;
}
.legal-logo__icon {
  height: 44px;
  width: 44px;
  display: block;
  object-fit: contain;
}
.legal-logo__text {
  font-size: 22px;
  font-weight: 700;
  color: #fff;
  letter-spacing: -0.02em;
}

.legal-body {
  position: relative;
  z-index: 10;
  padding: clamp(32px, 6vw, 72px) clamp(20px, 5vw, 56px);
}

.legal-content {
  max-width: 740px;
  margin-inline: auto;
}

.legal-content h1 {
  font-size: clamp(28px, 4vw, 40px);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -.03em;
  margin-bottom: 8px;
}

.legal-meta {
  font-size: 13px;
  color: var(--muted2);
  margin-bottom: 36px;
}

.legal-content h2 {
  font-size: 20px;
  font-weight: 700;
  letter-spacing: -.02em;
  margin-top: 40px;
  margin-bottom: 14px;
  padding-top: 20px;
  border-top: 1px solid var(--stroke);
}

.legal-content h2:first-of-type {
  border-top: none;
  padding-top: 0;
}

.legal-content h3 {
  font-size: 16px;
  font-weight: 600;
  margin-top: 24px;
  margin-bottom: 10px;
}

.legal-content p {
  color: var(--muted);
  font-size: 14.5px;
  line-height: 1.78;
  margin-bottom: 14px;
}

.legal-content ul,
.legal-content ol {
  color: var(--muted);
  font-size: 14.5px;
  line-height: 1.78;
  margin-bottom: 14px;
  padding-left: 24px;
}

.legal-content li {
  margin-bottom: 6px;
}

.legal-content a {
  color: var(--accent2);
  text-decoration: none;
}

.legal-content a:hover {
  color: var(--accent2);
  text-decoration: underline;
}

.legal-content strong {
  color: var(--text);
  font-weight: 600;
}

/* Legal Footer (simplified) */
.legal-footer {
  position: relative;
  z-index: 10;
  border-top: 1px solid var(--stroke);
  padding: 24px clamp(20px, 5vw, 56px);
}

.legal-footer .wrap {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  font-size: 13px;
  color: var(--muted2);
}

.legal-footer a {
  color: var(--accent2);
  text-decoration: none;
  transition: color .2s;
}

.legal-footer a:hover {
  color: var(--accent2);
  text-decoration: underline;
}

.legal-footer nav {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
}

/* ═══════════════════════════════════════════════════════════
   Scroll Reveal
   ═══════════════════════════════════════════════════════════ */

/* Disable card animation in non-hero sections */
.section .card {
  animation: none;
}

.section-header,
.section .card,
.info-card,
.currency-note {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity .6s cubic-bezier(.22, 1, .36, 1), transform .6s cubic-bezier(.22, 1, .36, 1);
}

.section-header.in-view,
.section .card.in-view,
.info-card.in-view,
.currency-note.in-view {
  opacity: 1;
  transform: translateY(0);
}

/* Staggered delays */
.feature-grid .card:nth-child(2) { transition-delay: .06s; }
.feature-grid .card:nth-child(3) { transition-delay: .12s; }
.feature-grid .card:nth-child(4) { transition-delay: .18s; }
.feature-grid .card:nth-child(5) { transition-delay: .24s; }

.info-grid .info-card:nth-child(2) { transition-delay: .06s; }
.info-grid .info-card:nth-child(3) { transition-delay: .12s; }
.info-grid .info-card:nth-child(4) { transition-delay: .18s; }
.info-grid .info-card:nth-child(5) { transition-delay: .24s; }
.info-grid .info-card:nth-child(6) { transition-delay: .30s; }

/* ═══════════════════════════════════════════════════════════
   Technical Animations
   ═══════════════════════════════════════════════════════════ */

/* ─── Section Canvas (Particle Network / Code Rain) ─────── */
.section--particles,
.section--coderain {
  position: relative;
  overflow: hidden;
}

.section-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  pointer-events: none;
  opacity: 0;
  animation: canvasFadeIn 2s ease 0.4s forwards;
}

@keyframes canvasFadeIn {
  to { opacity: 1; }
}

.section--particles .wrap--section,
.section--coderain .wrap--section {
  position: relative;
  z-index: 1;
}

/* ─── Floating Code Fragments ────────────────────────────── */
.code-fragments {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
}

.code-frag {
  position: absolute;
  font-family: var(--mono);
  font-size: 12px;
  font-weight: 500;
  color: var(--accent);
  opacity: 0;
  animation: fragFloat 20s linear infinite;
  will-change: transform, opacity;
}

.code-frag--1  { left: 5%;   top: 12%; animation-delay: 0s;     font-size: 14px; color: var(--accent2); }
.code-frag--2  { left: 88%;  top: 8%;  animation-delay: -3s;    font-size: 11px; }
.code-frag--3  { left: 15%;  top: 78%; animation-delay: -6s;    font-size: 16px; color: var(--accent3); }
.code-frag--4  { left: 72%;  top: 85%; animation-delay: -9s;    font-size: 10px; }
.code-frag--5  { left: 92%;  top: 45%; animation-delay: -2s;    font-size: 13px; color: var(--accent4); }
.code-frag--6  { left: 3%;   top: 55%; animation-delay: -12s;   font-size: 18px; }
.code-frag--7  { left: 78%;  top: 22%; animation-delay: -5s;    font-size: 11px; color: var(--accent3); }
.code-frag--8  { left: 42%;  top: 92%; animation-delay: -8s;    font-size: 10px; }
.code-frag--9  { left: 55%;  top: 5%;  animation-delay: -14s;   font-size: 12px; color: var(--accent2); }
.code-frag--10 { left: 25%;  top: 40%; animation-delay: -11s;   font-size: 15px; }
.code-frag--11 { left: 65%;  top: 65%; animation-delay: -7s;    font-size: 11px; color: var(--accent4); }
.code-frag--12 { left: 35%;  top: 30%; animation-delay: -16s;   font-size: 10px; }

@keyframes fragFloat {
  0%   { opacity: 0; transform: translateY(0) rotate(0deg); }
  5%   { opacity: .15; }
  50%  { opacity: .08; transform: translateY(-40px) rotate(8deg); }
  95%  { opacity: .12; }
  100% { opacity: 0; transform: translateY(-80px) rotate(-4deg); }
}

/* ─── Terminal Scan Line ─────────────────────────────────── */
.term-scanline {
  position: absolute;
  left: 0;
  right: 0;
  height: 2px;
  z-index: 2;
  pointer-events: none;
  background: linear-gradient(90deg,
    transparent,
    rgba(59, 130, 246, .15) 20%,
    rgba(59, 130, 246, .3) 50%,
    rgba(59, 130, 246, .15) 80%,
    transparent
  );
  box-shadow: 0 0 12px rgba(59, 130, 246, .2), 0 0 30px rgba(59, 130, 246, .08);
  animation: scanLine 4s ease-in-out infinite;
}

@keyframes scanLine {
  0%, 100% { top: 0%; opacity: 0; }
  5%       { opacity: 1; }
  95%      { opacity: 1; }
  100%     { top: 100%; opacity: 0; }
}

/* ─── Feature Card Animated Gradient Border ──────────────── */
.feature-card {
  --border-angle: 0deg;
  position: relative;
  transition: border-color .3s, transform .35s cubic-bezier(.22, 1, .36, 1);
}

.feature-card::after {
  content: "";
  position: absolute;
  inset: -1px;
  border-radius: var(--radius);
  padding: 1px;
  background: conic-gradient(
    from var(--border-angle),
    transparent 0%,
    transparent 70%,
    var(--accent) 78%,
    var(--accent3) 85%,
    transparent 92%
  );
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  mask-composite: exclude;
  opacity: 0;
  transition: opacity .4s;
  pointer-events: none;
}

.feature-card:hover::after {
  opacity: 1;
  animation: borderSpin 3s linear infinite;
}

.feature-card:hover {
  transform: translateY(-4px);
  border-color: transparent;
}

@property --border-angle {
  syntax: "<angle>";
  initial-value: 0deg;
  inherits: false;
}

@keyframes borderSpin {
  to { --border-angle: 360deg; }
}

/* ─── Feature Card Icon Pulse Ring ───────────────────────── */
.feature-card__icon {
  position: relative;
}

.feature-card__icon::before {
  content: "";
  position: absolute;
  inset: -4px;
  border-radius: 16px;
  border: 1.5px solid var(--accent);
  opacity: 0;
  transform: scale(.85);
  transition: opacity .35s, transform .35s;
  pointer-events: none;
}

.feature-card:hover .feature-card__icon::before {
  opacity: .3;
  transform: scale(1);
  animation: iconPulse 2s ease-in-out infinite;
}

@keyframes iconPulse {
  0%, 100% { opacity: .3; transform: scale(1); }
  50%      { opacity: .08; transform: scale(1.2); }
}

.feature-card:nth-child(2):hover .feature-card__icon::before { border-color: var(--accent3); }
.feature-card:nth-child(3):hover .feature-card__icon::before { border-color: var(--accent2); }
.feature-card:nth-child(4):hover .feature-card__icon::before { border-color: var(--accent3); }
.feature-card:nth-child(5):hover .feature-card__icon::before { border-color: var(--accent); }

/* ─── 3D Card Tilt ───────────────────────────────────────── */
.feature-card,
.contact-card {
  transform-style: preserve-3d;
  perspective: 800px;
}

.feature-card .card__inner {
  transition: transform .2s ease-out;
}

/* ─── Glow Follow (cursor light on cards) ───────────────── */
.feature-card .card-glow {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  border-radius: var(--radius);
  opacity: 0;
  transition: opacity .3s;
  background: radial-gradient(350px circle at var(--glow-x, 50%) var(--glow-y, 50%),
    rgba(59, 130, 246, .07),
    transparent 60%
  );
}

.feature-card:hover .card-glow {
  opacity: 1;
}

/* ─── Data Stream (vertical accent lines) ────────────────── */
.hero::before {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  width: 1px;
  height: 100%;
  z-index: 0;
  pointer-events: none;
  background: repeating-linear-gradient(
    180deg,
    transparent 0,
    transparent 40px,
    rgba(59, 130, 246, .08) 40px,
    rgba(59, 130, 246, .08) 42px
  );
  animation: dataStream 8s linear infinite;
  mask-image: linear-gradient(180deg, transparent, rgba(0,0,0,.3) 20%, rgba(0,0,0,.3) 80%, transparent);
  -webkit-mask-image: linear-gradient(180deg, transparent, rgba(0,0,0,.3) 20%, rgba(0,0,0,.3) 80%, transparent);
}

.hero::after {
  content: "";
  position: absolute;
  top: 0;
  left: 25%;
  width: 1px;
  height: 100%;
  z-index: 0;
  pointer-events: none;
  background: repeating-linear-gradient(
    180deg,
    transparent 0,
    transparent 60px,
    rgba(20, 184, 166, .06) 60px,
    rgba(20, 184, 166, .06) 62px
  );
  animation: dataStream 12s linear infinite reverse;
  mask-image: linear-gradient(180deg, transparent, rgba(0,0,0,.25) 30%, rgba(0,0,0,.25) 70%, transparent);
  -webkit-mask-image: linear-gradient(180deg, transparent, rgba(0,0,0,.25) 30%, rgba(0,0,0,.25) 70%, transparent);
}

@keyframes dataStream {
  0%   { transform: translateY(0); }
  100% { transform: translateY(42px); }
}

/* ─── Hopping Rabbit ──────────────────────────────────── */
.rabbit-runner {
  position: fixed;
  z-index: 50;
  width: 44px;
  height: 40px;
  pointer-events: none;
  color: var(--accent2);
  opacity: 0;
  filter: drop-shadow(0 0 6px rgba(96, 165, 250, .25));
  transition:
    left   2.2s cubic-bezier(.22, 1, .36, 1),
    top    2.2s cubic-bezier(.22, 1, .36, 1),
    opacity 1s ease;
  will-change: left, top, transform;
}

.rabbit-runner.visible {
  opacity: .2;
}

.rabbit-runner:hover {
  opacity: .35;
}

.rabbit-svg {
  width: 100%;
  height: 100%;
  display: block;
  transition: transform .15s ease;
}

/* Hop bounce: plays during each move */
.rabbit-runner.hopping .rabbit-svg {
  animation: rabbitHop .35s ease-in-out 5;
}

@keyframes rabbitHop {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  40%      { transform: translateY(-14px) rotate(-4deg); }
  70%      { transform: translateY(-3px) rotate(1deg); }
}

/* Idle ear twitch */
.rabbit-runner:not(.hopping) .rabbit-svg {
  animation: rabbitIdle 4s ease-in-out infinite;
}

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

/* ─── Accessibility: Reduced Motion ────────────────────── */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0s !important;
    animation-delay: 0s !important;
    transition-duration: 0s !important;
  }

  .card,
  .section-header,
  .section .card,
  .info-card,
  .currency-note {
    opacity: 1;
    transform: none;
  }

  .code-fragments,
  .term-scanline,
  .section-canvas,
  .rabbit-runner {
    display: none !important;
  }

  .hero::before,
  .hero::after {
    display: none;
  }

  html {
    scroll-behavior: auto;
  }
}

/* ─── Focus Styles ─────────────────────────────────────── */
.btn:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

a:focus-visible {
  outline: 2px solid var(--accent2);
  outline-offset: 2px;
}

/* ─── Scrollbar (Webkit) ───────────────────────────────── */
::-webkit-scrollbar       { width: 6px; }
::-webkit-scrollbar-track  { background: transparent; }
::-webkit-scrollbar-thumb  { background: rgba(255 255 255 / .1); border-radius: 999px; }
