/* ═══════════════════════════════════════════════════════
   REIGN LANDING PAGE — Dark Crypto Theme
   Palette: Deep dark (#08070c) + Electric Blue (#2563eb) accent
   Fonts: Clash Display (headings) + Satoshi (body)
═══════════════════════════════════════════════════════ */

/* ── Tokens ─────────────────────────────────────────── */
:root {
  /* Surfaces */
  --color-bg:              #08070c;
  --color-surface:         #0e0c16;
  --color-surface-2:       #12101e;
  --color-surface-3:       #181525;
  --color-border:          rgba(59,130,246,0.15);
  --color-border-subtle:   rgba(255,255,255,0.06);

  /* Text */
  --color-text:            #e8e6f0;
  --color-text-muted:      #8b87a8;
  --color-text-faint:      #4a4660;

  /* Accent — Electric Violet */
  --color-primary:         #3b82f6;
  --color-primary-light:   #60a5fa;
  --color-primary-dark:    #1d4ed8;
  --color-primary-glow:    rgba(59,130,246,0.25);

  /* Supporting */
  --color-green:           #22c55e;
  --color-red:             #ef4444;
  --color-amber:           #f59e0b;

  /* Type */
  --font-display: 'Clash Display', 'SF Pro Display', sans-serif;
  --font-body:    'Satoshi', 'Inter', sans-serif;

  /* Scale */
  --text-xs:    clamp(0.75rem, 0.7rem + 0.25vw, 0.875rem);
  --text-sm:    clamp(0.875rem, 0.8rem + 0.35vw, 1rem);
  --text-base:  clamp(1rem, 0.95rem + 0.25vw, 1.125rem);
  --text-lg:    clamp(1.125rem, 1rem + 0.75vw, 1.5rem);
  --text-xl:    clamp(1.5rem, 1.2rem + 1.25vw, 2.25rem);
  --text-2xl:   clamp(2rem, 1.2rem + 2.5vw, 3.5rem);
  --text-3xl:   clamp(2.5rem, 1rem + 5vw, 5.5rem);

  /* 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;
  --space-32: 8rem;

  /* Radius */
  --radius-sm: 0.375rem;
  --radius-md: 0.625rem;
  --radius-lg: 1rem;
  --radius-xl: 1.5rem;
  --radius-full: 9999px;

  /* Motion */
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-in:  cubic-bezier(0.4, 0, 1, 1);
  --t:        180ms cubic-bezier(0.16, 1, 0.3, 1);

  /* Layout */
  --content-default: 1100px;
  --content-wide:    1280px;
}

/* ── Reset ───────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html {
  scroll-behavior: smooth;
  scroll-padding-top: 80px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
body {
  background: var(--color-bg);
  color: var(--color-text);
  font-family: var(--font-body);
  font-size: var(--text-base);
  line-height: 1.6;
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; height: auto; }
h1,h2,h3,h4,h5,h6 { text-wrap: balance; line-height: 1.1; font-family: var(--font-display); }
p, li { text-wrap: pretty; }
a { color: inherit; text-decoration: none; }
button { cursor: pointer; font: inherit; border: none; background: none; }
ul { list-style: none; }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
}

/* ── Container ───────────────────────────────────────── */
.container {
  max-width: var(--content-default);
  margin: 0 auto;
  padding-inline: var(--space-6);
}

/* ── Gradient Text ───────────────────────────────────── */
.gradient-text {
  background: linear-gradient(135deg, #93c5fd 0%, #3b82f6 40%, #1d4ed8 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ── Scroll Reveal Animations ───────────────────────── */
.fade-in {
  opacity: 0;
  animation: fadeIn 0.8s var(--ease-out) forwards;
}
.fade-in:nth-child(1) { animation-delay: 0.1s; }
.fade-in:nth-child(2) { animation-delay: 0.2s; }
.fade-in:nth-child(3) { animation-delay: 0.35s; }
.fade-in:nth-child(4) { animation-delay: 0.5s; }
.fade-in:nth-child(5) { animation-delay: 0.65s; }

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

.reveal-up {
  opacity: 1;
}
@supports (animation-timeline: scroll()) {
  .reveal-up {
    opacity: 0;
    animation: revealFade linear both;
    animation-timeline: view();
    animation-range: entry 0% entry 60%;
    animation-delay: var(--delay, 0ms);
  }
  @keyframes revealFade {
    to { opacity: 1; }
  }
}

/* ── Buttons ─────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  padding: var(--space-3) var(--space-6);
  border-radius: var(--radius-full);
  font-family: var(--font-body);
  font-size: var(--text-sm);
  font-weight: 600;
  white-space: nowrap;
  cursor: pointer;
  transition: transform var(--t), box-shadow var(--t), background var(--t), color var(--t), border-color var(--t);
}
.btn:hover  { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }

.btn-primary {
  background: var(--color-primary);
  color: #fff;
  box-shadow: 0 0 24px var(--color-primary-glow);
}
.btn-primary:hover {
  background: var(--color-primary-light);
  box-shadow: 0 0 40px rgba(59,130,246,0.4);
}

.btn-ghost {
  background: rgba(255,255,255,0.06);
  color: var(--color-text-muted);
  border: 1px solid var(--color-border-subtle);
}
.btn-ghost:hover {
  background: rgba(255,255,255,0.1);
  color: var(--color-text);
}

.btn-outline {
  background: transparent;
  border: 1px solid var(--color-border);
  color: var(--color-primary-light);
}
.btn-outline:hover {
  background: var(--color-primary-glow);
  border-color: var(--color-primary);
}

.btn-lg { padding: var(--space-4) var(--space-8); font-size: var(--text-base); }
.btn-xl { padding: var(--space-5) var(--space-10); font-size: var(--text-lg); }
.btn-full { width: 100%; justify-content: center; }

/* ── Nav ─────────────────────────────────────────────── */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  border-bottom: 1px solid transparent;
  transition: background 0.3s ease, border-color 0.3s ease, backdrop-filter 0.3s ease;
}
.nav.scrolled {
  background: rgba(8,7,12,0.85);
  backdrop-filter: blur(20px);
  border-bottom-color: var(--color-border-subtle);
}
.nav-inner {
  max-width: var(--content-wide);
  margin: 0 auto;
  padding: var(--space-4) var(--space-6);
  display: flex;
  align-items: center;
  gap: var(--space-8);
}
.logo {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  flex-shrink: 0;
}
.logo-text {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--color-text);
}
.nav-links {
  display: flex;
  align-items: center;
  gap: var(--space-8);
  margin-left: auto;
}
.nav-links a {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  font-weight: 500;
  transition: color var(--t);
}
.nav-links a:hover { color: var(--color-text); }
.nav-actions { display: flex; align-items: center; gap: var(--space-3); }

/* ── Hero ─────────────────────────────────────────────── */
.hero {
  position: relative;
  min-height: 100vh;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: var(--space-12);
  max-width: var(--content-wide);
  margin: 0 auto;
  padding: 120px var(--space-6) var(--space-24);
  overflow: hidden;
}
.hero-canvas {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: -2;
  opacity: 0.6;
}
.hero-glow {
  position: absolute;
  top: 10%;
  left: 30%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(59,130,246,0.18) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
  z-index: -1;
  animation: glowPulse 4s ease-in-out infinite;
}
@keyframes glowPulse {
  0%, 100% { transform: scale(1); opacity: 0.8; }
  50%       { transform: scale(1.1); opacity: 1; }
}

.hero-content {
  display: flex;
  flex-direction: column;
  gap: var(--space-6);
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  background: rgba(59,130,246,0.12);
  border: 1px solid rgba(59,130,246,0.3);
  color: var(--color-primary-light);
  padding: var(--space-2) var(--space-4);
  border-radius: var(--radius-full);
  font-size: var(--text-xs);
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  width: fit-content;
}
.badge-dot {
  width: 6px; height: 6px;
  background: var(--color-green);
  border-radius: 50%;
  box-shadow: 0 0 8px var(--color-green);
  animation: blink 2s ease-in-out infinite;
}
@keyframes blink {
  0%, 100% { opacity: 1; }
  50%       { opacity: 0.4; }
}

.hero-title {
  font-size: var(--text-3xl);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.0;
}
.hero-sub {
  font-size: var(--text-base);
  color: var(--color-text-muted);
  line-height: 1.7;
  max-width: 48ch;
}
.hero-cta {
  display: flex;
  align-items: center;
  gap: var(--space-4);
  flex-wrap: wrap;
}
.hero-stats {
  display: flex;
  align-items: center;
  gap: var(--space-6);
  padding-top: var(--space-4);
}
.stat { display: flex; flex-direction: column; }
.stat-value {
  font-family: var(--font-display);
  font-size: var(--text-xl);
  font-weight: 700;
  line-height: 1;
  color: var(--color-primary-light);
}
.stat-suffix {
  font-family: var(--font-display);
  font-size: var(--text-lg);
  color: var(--color-primary-light);
}
.stat-label {
  font-size: var(--text-xs);
  color: var(--color-text-faint);
  margin-top: 2px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}
.stat-divider {
  width: 1px; height: 32px;
  background: var(--color-border-subtle);
}

/* Hero alert cards */
.hero-alert {
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
  position: relative;
}
.alert-card {
  background: rgba(14,12,22,0.95);
  border: 1px solid rgba(59,130,246,0.2);
  border-radius: var(--radius-xl);
  padding: var(--space-5);
  backdrop-filter: blur(20px);
  position: relative;
  overflow: hidden;
  box-shadow: 0 8px 40px rgba(0,0,0,0.4), 0 0 0 1px rgba(59,130,246,0.1) inset;
  animation: cardFloat 6s ease-in-out infinite;
}
.alert-card--secondary {
  margin-top: var(--space-2);
  opacity: 0.65;
  transform: scale(0.97);
  border-color: var(--color-border-subtle);
  animation: cardFloat 6s ease-in-out infinite;
  animation-delay: 1s;
}
@keyframes cardFloat {
  0%, 100% { transform: translateY(0); }
  50%       { transform: translateY(-6px); }
}
.alert-card--secondary { animation-name: cardFloat2; }
@keyframes cardFloat2 {
  0%, 100% { transform: scale(0.97) translateY(0); }
  50%       { transform: scale(0.97) translateY(-4px); }
}

.alert-pulse {
  position: absolute;
  top: var(--space-4);
  right: var(--space-4);
  width: 8px; height: 8px;
  background: var(--color-green);
  border-radius: 50%;
  box-shadow: 0 0 0 0 rgba(34,197,94,0.4);
  animation: pulse 2s ease-out infinite;
}
@keyframes pulse {
  0%   { box-shadow: 0 0 0 0 rgba(34,197,94,0.5); }
  70%  { box-shadow: 0 0 0 8px rgba(34,197,94,0); }
  100% { box-shadow: 0 0 0 0 rgba(34,197,94,0); }
}

.alert-header {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  margin-bottom: var(--space-3);
}
.alert-icon {
  width: 24px; height: 24px;
  background: var(--color-primary);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: #fff;
  flex-shrink: 0;
}
.alert-icon svg { width: 12px; height: 12px; }
.alert-label {
  font-size: var(--text-xs);
  font-weight: 700;
  color: var(--color-text);
}
.alert-time {
  font-size: var(--text-xs);
  color: var(--color-text-faint);
  margin-left: auto;
}
.alert-chain {
  display: flex; align-items: center; gap: var(--space-2);
  font-size: var(--text-xs);
  color: var(--color-text-muted);
  margin-bottom: var(--space-2);
}
.chain-dot {
  width: 6px; height: 6px;
  border-radius: 50%;
}
.chain-dot.eth { background: #627EEA; }
.chain-dot.sol { background: #9945FF; }

.alert-tx {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  margin-bottom: var(--space-3);
}
.alert-action {
  font-size: var(--text-xs);
  font-weight: 700;
  padding: 2px var(--space-2);
  border-radius: var(--radius-sm);
  flex-shrink: 0;
}
.alert-action.swap   { background: rgba(59,130,246,0.2); color: var(--color-primary-light); }
.alert-action.buy    { background: rgba(34,197,94,0.15); color: var(--color-green); }
.alert-action.bridge { background: rgba(245,158,11,0.15); color: var(--color-amber); }
.alert-action.transfer { background: rgba(255,255,255,0.08); color: var(--color-text-muted); }

.alert-pair {
  display: flex; align-items: center; gap: var(--space-2);
  font-size: var(--text-sm);
  font-weight: 600;
}
.token-out { color: var(--color-text-muted); }
.token-in  { color: var(--color-text); }
.alert-pair svg { color: var(--color-text-faint); flex-shrink: 0; }

.alert-meta {
  display: flex; align-items: center; gap: var(--space-2);
  font-size: var(--text-xs);
  color: var(--color-text-muted);
  flex-wrap: wrap;
}
.alert-wallet {
  margin-top: var(--space-2);
  font-size: var(--text-xs);
  color: var(--color-text-faint);
  font-family: 'JetBrains Mono', monospace;
}

/* ── Section Common ───────────────────────────────────── */
.section-header {
  text-align: center;
  margin-bottom: var(--space-16);
}
.section-tag {
  display: inline-block;
  font-size: var(--text-xs);
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--color-primary-light);
  margin-bottom: var(--space-4);
  background: rgba(59,130,246,0.1);
  border: 1px solid rgba(59,130,246,0.2);
  padding: var(--space-1) var(--space-3);
  border-radius: var(--radius-full);
}
.section-title {
  font-size: var(--text-2xl);
  font-weight: 700;
  letter-spacing: -0.03em;
  margin-bottom: var(--space-4);
}
.section-sub {
  font-size: var(--text-base);
  color: var(--color-text-muted);
  max-width: 52ch;
  margin: 0 auto;
  line-height: 1.7;
}

/* ── Chains ───────────────────────────────────────────── */
.chains-section {
  padding-block: clamp(var(--space-16), 8vw, var(--space-32));
  border-top: 1px solid var(--color-border-subtle);
}
.chains-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-4);
}
.chain-card {
  background: var(--color-surface);
  border: 1px solid var(--color-border-subtle);
  border-radius: var(--radius-lg);
  padding: var(--space-6);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-3);
  transition: border-color var(--t), background var(--t), transform var(--t);
  cursor: default;
}
.chain-card:hover {
  border-color: var(--color-border);
  background: var(--color-surface-2);
  transform: translateY(-2px);
}
.chain-logo {
  width: 48px; height: 48px;
  display: flex; align-items: center; justify-content: center;
}
.chain-logo svg { width: 40px; height: 40px; }
.chain-name {
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--color-text);
}
.chain-badge {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--color-text-faint);
  background: rgba(255,255,255,0.05);
  padding: 2px var(--space-2);
  border-radius: var(--radius-full);
}
.chain-card--more {
  border-style: dashed;
  border-color: rgba(59,130,246,0.2);
}
.more-plus {
  font-size: 1.5rem;
  color: var(--color-primary-light);
  opacity: 0.5;
}

/* ── Features Bento ──────────────────────────────────── */
.features-section {
  padding-block: clamp(var(--space-16), 8vw, var(--space-32));
  border-top: 1px solid var(--color-border-subtle);
}
.features-bento {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-template-rows: auto auto;
  gap: var(--space-4);
}
.feature-card {
  background: var(--color-surface);
  border: 1px solid var(--color-border-subtle);
  border-radius: var(--radius-xl);
  padding: var(--space-8);
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
  transition: border-color var(--t), background var(--t);
  position: relative;
  overflow: hidden;
}
.feature-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 20% 20%, rgba(59,130,246,0.06) 0%, transparent 60%);
  pointer-events: none;
}
.feature-card:hover {
  border-color: rgba(59,130,246,0.25);
  background: var(--color-surface-2);
}
.feature-card--large {
  grid-column: span 2;
}
.feature-card--large .feature-card-inner {
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
  height: 100%;
}
.feature-icon-wrap {
  width: 52px; height: 52px;
  border-radius: var(--radius-lg);
  background: rgba(59,130,246,0.12);
  border: 1px solid rgba(59,130,246,0.2);
  display: flex; align-items: center; justify-content: center;
  color: var(--color-primary-light);
  flex-shrink: 0;
}
.feature-title {
  font-size: var(--text-lg);
  font-weight: 700;
  letter-spacing: -0.02em;
}
.feature-desc {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  line-height: 1.7;
}
.feature-tags {
  display: flex; flex-wrap: wrap; gap: var(--space-2);
  margin-top: auto;
}
.tag {
  font-size: var(--text-xs);
  background: rgba(255,255,255,0.05);
  border: 1px solid var(--color-border-subtle);
  color: var(--color-text-muted);
  padding: 3px var(--space-3);
  border-radius: var(--radius-full);
}

/* Alert stream visual */
.feature-visual { margin-top: var(--space-4); flex: 1; }
.alert-stream {
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
  background: rgba(0,0,0,0.3);
  border: 1px solid var(--color-border-subtle);
  border-radius: var(--radius-lg);
  padding: var(--space-4);
  max-height: 180px;
  overflow: hidden;
  position: relative;
}
.alert-stream::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 60px;
  background: linear-gradient(transparent, rgba(14,12,22,0.9));
  pointer-events: none;
}
.stream-item {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  padding: var(--space-2) var(--space-3);
  background: rgba(255,255,255,0.03);
  border-radius: var(--radius-md);
  animation: streamIn 0.5s var(--ease-out) both;
}
.stream-item--1 { animation-delay: 0.5s; }
.stream-item--2 { animation-delay: 1.2s; }
.stream-item--3 { animation-delay: 1.9s; }
.stream-item--4 { animation-delay: 2.6s; }
@keyframes streamIn {
  from { opacity: 0; transform: translateX(-8px); }
  to   { opacity: 1; transform: translateX(0); }
}
.stream-badge {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.06em;
  padding: 2px var(--space-2);
  border-radius: 4px;
  flex-shrink: 0;
  text-transform: uppercase;
}
.stream-badge.swap     { background: rgba(59,130,246,0.2); color: var(--color-primary-light); }
.stream-badge.buy      { background: rgba(34,197,94,0.15); color: var(--color-green); }
.stream-badge.bridge   { background: rgba(245,158,11,0.15); color: var(--color-amber); }
.stream-badge.transfer { background: rgba(255,255,255,0.08); color: var(--color-text-muted); }
.stream-text { font-size: var(--text-xs); color: var(--color-text-muted); flex: 1; }
.stream-time { font-size: var(--text-xs); color: var(--color-text-faint); flex-shrink: 0; }

/* Wallet list visual */
.wallet-visual { margin-top: var(--space-4); flex: 1; }
.wallet-list {
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
  background: rgba(0,0,0,0.3);
  border: 1px solid var(--color-border-subtle);
  border-radius: var(--radius-lg);
  padding: var(--space-3);
}
.wallet-item {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  padding: var(--space-3);
  background: rgba(255,255,255,0.03);
  border-radius: var(--radius-md);
}
.wallet-avatar {
  width: 32px; height: 32px;
  border-radius: 50%;
  flex-shrink: 0;
  opacity: 0.8;
}
.wallet-info {
  display: flex;
  flex-direction: column;
  gap: 2px;
  flex: 1;
  min-width: 0;
}
.wallet-name { font-size: var(--text-xs); font-weight: 600; color: var(--color-text); }
.wallet-addr { font-size: 10px; color: var(--color-text-faint); font-family: monospace; }
.wallet-chain {
  font-size: 10px;
  font-weight: 700;
  padding: 2px 6px;
  border-radius: var(--radius-full);
  flex-shrink: 0;
}
.eth-chain { background: rgba(98,126,234,0.2); color: #627EEA; }
.sol-chain { background: rgba(153,69,255,0.2); color: #9945FF; }
.bsc-chain { background: rgba(240,185,11,0.2); color: #F0B90B; }

/* ── Alert Types ─────────────────────────────────────── */
.alerts-section {
  padding-block: clamp(var(--space-16), 8vw, var(--space-32));
  border-top: 1px solid var(--color-border-subtle);
  background: linear-gradient(180deg, transparent, rgba(59,130,246,0.03) 50%, transparent);
}
.alert-types-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-4);
}
.alert-type-card {
  background: var(--color-surface);
  border: 1px solid var(--color-border-subtle);
  border-radius: var(--radius-lg);
  padding: var(--space-6);
  display: flex;
  gap: var(--space-4);
  transition: border-color var(--t), background var(--t), transform var(--t);
}
.alert-type-card:hover {
  border-color: rgba(59,130,246,0.2);
  transform: translateY(-2px);
}
.at-icon {
  font-size: 1.5rem;
  flex-shrink: 0;
  line-height: 1;
}
.at-content h4 {
  font-size: var(--text-sm);
  font-weight: 700;
  margin-bottom: var(--space-2);
  font-family: var(--font-body);
}
.at-content p {
  font-size: var(--text-xs);
  color: var(--color-text-muted);
  line-height: 1.6;
}

/* ── How It Works ────────────────────────────────────── */
.how-section {
  padding-block: clamp(var(--space-16), 8vw, var(--space-32));
  border-top: 1px solid var(--color-border-subtle);
}
.steps {
  display: flex;
  align-items: flex-start;
  gap: 0;
  position: relative;
}
.step {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
  padding: var(--space-8);
  background: var(--color-surface);
  border: 1px solid var(--color-border-subtle);
  border-radius: var(--radius-xl);
  position: relative;
  z-index: 1;
  transition: border-color var(--t), background var(--t);
}
.step:hover {
  border-color: rgba(59,130,246,0.2);
  background: var(--color-surface-2);
}
.step-connector {
  width: var(--space-6);
  height: 2px;
  background: linear-gradient(90deg, rgba(59,130,246,0.3), rgba(59,130,246,0.1));
  margin-top: 52px;
  flex-shrink: 0;
  position: relative;
  z-index: 0;
}
.step-num {
  font-family: var(--font-display);
  font-size: var(--text-3xl);
  font-weight: 700;
  color: rgba(59,130,246,0.15);
  line-height: 1;
  letter-spacing: -0.03em;
}
.step-content h3 {
  font-size: var(--text-lg);
  font-weight: 700;
  letter-spacing: -0.02em;
}
.step-content p {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  line-height: 1.7;
}

/* ── Pricing ─────────────────────────────────────────── */
.pricing-section {
  padding-block: clamp(var(--space-16), 8vw, var(--space-32));
  border-top: 1px solid var(--color-border-subtle);
}
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-6);
  align-items: start;
}
.pricing-card {
  background: var(--color-surface);
  border: 1px solid var(--color-border-subtle);
  border-radius: var(--radius-xl);
  padding: var(--space-8);
  display: flex;
  flex-direction: column;
  gap: var(--space-5);
  position: relative;
  transition: border-color var(--t), background var(--t);
}
.pricing-card--featured {
  border-color: rgba(59,130,246,0.4);
  background: var(--color-surface-2);
  box-shadow: 0 0 60px rgba(59,130,246,0.1);
}
.pricing-popular {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--color-primary);
  color: #fff;
  font-size: var(--text-xs);
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: var(--space-1) var(--space-4);
  border-radius: var(--radius-full);
  white-space: nowrap;
}
.pricing-label {
  font-size: var(--text-xs);
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--color-text-faint);
}
.pricing-price { display: flex; align-items: baseline; gap: 4px; }
.price-amount {
  font-family: var(--font-display);
  font-size: var(--text-2xl);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1;
}
.price-period {
  font-size: var(--text-sm);
  color: var(--color-text-faint);
}
.pricing-desc {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  line-height: 1.6;
}
.pricing-features {
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
}
.pricing-features li {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  font-size: var(--text-sm);
  color: var(--color-text-muted);
}
.pricing-features li svg {
  color: var(--color-green);
  flex-shrink: 0;
}

/* ── CTA ─────────────────────────────────────────────── */
.cta-section {
  padding-block: clamp(var(--space-20), 10vw, var(--space-32));
  border-top: 1px solid var(--color-border-subtle);
  position: relative;
  text-align: center;
  overflow: hidden;
}
.cta-glow {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 600px; height: 400px;
  background: radial-gradient(ellipse, rgba(59,130,246,0.15) 0%, transparent 70%);
  pointer-events: none;
}
.cta-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-6);
  position: relative;
}
.cta-title {
  font-size: var(--text-2xl);
  font-weight: 700;
  letter-spacing: -0.03em;
}
.cta-sub {
  font-size: var(--text-base);
  color: var(--color-text-muted);
}

/* ── Footer ──────────────────────────────────────────── */
.footer {
  border-top: 1px solid var(--color-border-subtle);
  padding-block: var(--space-10);
}
.footer-inner {
  display: flex;
  align-items: center;
  gap: var(--space-8);
  flex-wrap: wrap;
}
.footer-logo { margin-right: auto; }
.footer-copy {
  font-size: var(--text-xs);
  color: var(--color-text-faint);
}
.footer-links {
  display: flex;
  gap: var(--space-6);
}
.footer-links a {
  font-size: var(--text-xs);
  color: var(--color-text-faint);
  transition: color var(--t);
}
.footer-links a:hover { color: var(--color-text-muted); }

/* ── Responsive ───────────────────────────────────────── */
@media (max-width: 1024px) {
  .chains-grid       { grid-template-columns: repeat(4, 1fr); }
  .alert-types-grid  { grid-template-columns: repeat(2, 1fr); }
  .features-bento    { grid-template-columns: 1fr 1fr; }
  .feature-card--large { grid-column: span 2; }
}

@media (max-width: 768px) {
  .hero {
    grid-template-columns: 1fr;
    padding-top: 100px;
    padding-bottom: var(--space-16);
    gap: var(--space-10);
  }
  .hero-title { font-size: var(--text-2xl); }
  .hero-stats { gap: var(--space-4); }
  .nav-links  { display: none; }
  .chains-grid { grid-template-columns: repeat(2, 1fr); }
  .features-bento { grid-template-columns: 1fr; }
  .feature-card--large { grid-column: span 1; }
  .alert-types-grid { grid-template-columns: 1fr; }
  .pricing-grid { grid-template-columns: 1fr; }
  .steps { flex-direction: column; }
  .step-connector { width: 2px; height: var(--space-6); margin: 0 auto; background: linear-gradient(180deg, rgba(59,130,246,0.3), rgba(59,130,246,0.1)); }
  .footer-inner { flex-direction: column; align-items: flex-start; gap: var(--space-4); }
  .footer-logo { margin-right: 0; }
}

@media (max-width: 480px) {
  .chains-grid { grid-template-columns: repeat(2, 1fr); }
  .hero-cta { flex-direction: column; align-items: stretch; }
  .hero-stats { flex-direction: column; gap: var(--space-3); }
  .stat-divider { width: 40px; height: 1px; }
}

/* ════════════════════════════════════════════════
   ADDITIONS: Blue theme + new elements
   ════════════════════════════════════════════════ */

/* Logo image */
.logo-img {
  width: 36px;
  height: 36px;
  object-fit: contain;
  border-radius: 8px;
}
.footer-logo .logo-img {
  width: 28px;
  height: 28px;
}

/* Platform import pills */
.platform-logos {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 24px;
}
.platform-pill {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 999px;
  font-size: 13px;
  font-weight: 500;
  color: var(--color-text-secondary);
  font-family: var(--font-sans);
}
.platform-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  flex-shrink: 0;
}
.platform-pill--more {
  color: var(--color-text-muted);
  border-style: dashed;
}

/* Wide feature card (spans full width of bento) */
.feature-card--wide {
  grid-column: 1 / -1;
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  gap: 24px;
}
.feature-card--wide .feature-icon-wrap {
  flex-shrink: 0;
}
.feature-card--wide .feature-title {
  margin-top: 0;
}
.feature-card--wide .feature-tags {
  margin-top: 16px;
}
@media (max-width: 640px) {
  .feature-card--wide {
    flex-direction: column;
    grid-column: 1 / -1;
  }
}

/* Hop tracking command tags styling */
.feature-tags .tag {
  font-family: var(--font-sans);
}

/* Blue gradient text override */
.gradient-text {
  background: linear-gradient(135deg, #60a5fa 0%, #3b82f6 50%, #2563eb 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* Hero badge — blue pulse */
.badge-dot {
  background: #3b82f6;
  box-shadow: 0 0 0 4px rgba(59, 130, 246, 0.2);
}

/* Alert pulse — blue */
.alert-pulse {
  background: rgba(59, 130, 246, 0.15);
}
.alert-pulse::after {
  background: #3b82f6;
}

/* Section tag — blue */
.section-tag {
  color: #60a5fa;
  border-color: rgba(59, 130, 246, 0.3);
  background: rgba(59, 130, 246, 0.08);
}

/* Step numbers — blue */
.step-num {
  color: #3b82f6;
}

/* ══ 5-chain grid ══ */
.chains-grid--5 {
  grid-template-columns: repeat(5, 1fr);
}
@media (max-width: 800px) {
  .chains-grid--5 {
    grid-template-columns: repeat(3, 1fr);
  }
}
@media (max-width: 480px) {
  .chains-grid--5 {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* Chain logo image */
.chain-logo img {
  width: 48px;
  height: 48px;
  object-fit: contain;
  border-radius: 12px;
  display: block;
}
