:root {
  --bg: #0A0E12;
  --surface: #10151B;
  --surface-2: #171E26;
  --border: #232B34;
  --text-primary: #EDF1F4;
  --text-secondary: #8C99A6;
  --text-muted: #5B6572;
  --teal: #4FD8C4;
  --teal-dim: #2B7A6E;
  --teal-bright: #6EEADC;
  --violet: #8C7CFF;
  --radius: 10px;
  --font-display: 'Space Grotesk', sans-serif;
  --font-body: 'IBM Plex Sans', sans-serif;
  --font-mono: 'IBM Plex Mono', monospace;
}

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

html { scroll-behavior: smooth; scroll-padding-top: 80px; }

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

a { color: inherit; text-decoration: none; }

.wrap { max-width: 1120px; margin: 0 auto; padding: 0 32px; }

section { padding: 96px 0; }

/* ---------- NAV ---------- */
nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(10, 14, 18, 0.85);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  transition: box-shadow 0.3s ease, background 0.3s ease;
}

nav.scrolled {
  background: rgba(10, 14, 18, 0.95);
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.35);
}

nav .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 32px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 19px;
  letter-spacing: -0.02em;
}

.logo-mark { width: 22px; height: 22px; }

.nav-links {
  display: flex;
  align-items: center;
  gap: 36px;
}

.nav-links a {
  font-size: 14px;
  color: var(--text-secondary);
  transition: color 0.15s;
  position: relative;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--teal);
  transition: width 0.25s ease;
}

.nav-links a:hover { color: var(--text-primary); }
.nav-links a:hover::after { width: 100%; }

.nav-cta { display: flex; align-items: center; gap: 18px; }

.mobile-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}

.mobile-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--text-primary);
  margin: 5px 0;
  transition: transform 0.3s ease, opacity 0.3s ease;
}

.mobile-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.mobile-toggle.open span:nth-child(2) { opacity: 0; }
.mobile-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 14px;
  padding: 11px 22px;
  border-radius: 8px;
  cursor: pointer;
  border: 1px solid transparent;
  transition: transform 0.15s ease, background 0.15s ease, border-color 0.15s ease, box-shadow 0.2s ease;
}

.btn:hover { transform: translateY(-2px); }

.btn-primary {
  background: var(--teal);
  color: #0A1412;
}

.btn-primary:hover {
  background: var(--teal-bright);
  box-shadow: 0 8px 24px rgba(79, 216, 196, 0.35);
}

.btn-ghost {
  border-color: var(--border);
  color: var(--text-primary);
}

.btn-ghost:hover { border-color: var(--text-secondary); }

.btn-sm { padding: 8px 16px; font-size: 13px; }

/* ---------- ANIMATIONS ---------- */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s cubic-bezier(0.16, 1, 0.3, 1), transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }

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

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

@keyframes shimmer {
  0% { background-position: -200% center; }
  100% { background-position: 200% center; }
}

@keyframes ring-pulse {
  0%, 100% { r: 5; opacity: 0.8; }
  50% { r: 7; opacity: 1; }
}

/* ---------- HERO ---------- */
.hero {
  position: relative;
  padding: 120px 0 80px;
  overflow: hidden;
}

#mesh {
  position: absolute;
  inset: 0;
  z-index: 0;
  opacity: 0.55;
}

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

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--teal);
  border: 1px solid var(--teal-dim);
  background: rgba(79, 216, 196, 0.06);
  padding: 6px 12px;
  border-radius: 100px;
  margin-bottom: 28px;
}

.eyebrow-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--teal);
  animation: pulse-dot 2s ease-in-out infinite;
}

h1 {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(38px, 5.4vw, 68px);
  line-height: 1.04;
  letter-spacing: -0.03em;
  max-width: 820px;
  margin-bottom: 26px;
}

h1 .accent {
  color: var(--teal);
  background: linear-gradient(90deg, var(--teal), #7EEADC, var(--teal));
  background-size: 200% auto;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: shimmer 4s linear infinite;
}

.hero-sub {
  font-size: 18px;
  color: var(--text-secondary);
  max-width: 560px;
  margin-bottom: 40px;
}

.hero-actions { display: flex; gap: 16px; margin-bottom: 64px; flex-wrap: wrap; }

.hero-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  max-width: 720px;
}

.hero-strip div {
  background: var(--surface);
  padding: 18px 22px;
  transition: background 0.3s ease;
}

.hero-strip div:hover { background: var(--surface-2); }

.hero-strip .num {
  font-family: var(--font-mono);
  font-size: 22px;
  font-weight: 500;
  color: var(--teal);
}

.hero-strip .lbl {
  font-size: 12.5px;
  color: var(--text-secondary);
  margin-top: 4px;
}

/* ---------- SECTIONS ---------- */
.section-head { max-width: 620px; margin-bottom: 56px; }

.kicker {
  font-family: var(--font-mono);
  font-size: 12.5px;
  color: var(--teal);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin-bottom: 14px;
}

h2 {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(28px, 3.4vw, 40px);
  letter-spacing: -0.02em;
  margin-bottom: 16px;
}

.section-sub { color: var(--text-secondary); font-size: 16px; }

/* ---------- PRICING CHART ---------- */
.chart-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 48px 40px 32px;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.chart-card:hover {
  border-color: rgba(79, 216, 196, 0.2);
  box-shadow: 0 0 40px rgba(79, 216, 196, 0.06);
}

.chart-rows { display: flex; flex-direction: column; gap: 20px; margin-bottom: 8px; }

.chart-row {
  display: grid;
  grid-template-columns: 120px 1fr 90px;
  align-items: center;
  gap: 18px;
  opacity: 0;
  transform: translateX(-12px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}

.chart-row.animated {
  opacity: 1;
  transform: translateX(0);
}

.chart-row .provider {
  font-size: 14px;
  color: var(--text-secondary);
  font-weight: 500;
}

.chart-row.is-acel .provider {
  color: var(--teal);
  font-weight: 600;
}

.bar-track {
  height: 30px;
  background: var(--surface-2);
  border-radius: 6px;
  overflow: hidden;
  position: relative;
}

.bar-fill {
  height: 100%;
  width: 0%;
  border-radius: 6px;
  background: linear-gradient(90deg, #3D4C58, #4A5A68);
  transition: width 1.2s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
}

.bar-fill::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.08), transparent);
  animation: shimmer 2.5s infinite;
}

.chart-row.is-acel .bar-fill {
  background: linear-gradient(90deg, var(--teal-dim), var(--teal));
}

.chart-row .price {
  font-family: var(--font-mono);
  font-size: 15px;
  text-align: right;
  color: var(--text-primary);
}

.chart-row.is-acel .price {
  color: var(--teal);
  font-weight: 600;
}

.chart-callout {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 28px;
  padding-top: 24px;
  border-top: 1px solid var(--border);
}

.callout-num {
  font-family: var(--font-display);
  font-size: 40px;
  font-weight: 700;
  color: var(--teal);
}

.callout-lbl {
  font-size: 14px;
  color: var(--text-secondary);
  max-width: 380px;
}

.chart-note {
  font-size: 12.5px;
  color: var(--text-muted);
  margin-top: 20px;
  line-height: 1.6;
}

/* ---------- STEPS ---------- */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }

.step {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 32px 28px;
  transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

.step:hover {
  transform: translateY(-4px);
  border-color: rgba(79, 216, 196, 0.25);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.25);
}

.step-num {
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--teal);
  margin-bottom: 20px;
}

.step h3 {
  font-family: var(--font-display);
  font-size: 19px;
  font-weight: 600;
  margin-bottom: 10px;
}

.step p { font-size: 14.5px; color: var(--text-secondary); }

/* ---------- NETWORK ---------- */
.decentral {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

.decentral p {
  color: var(--text-secondary);
  font-size: 16px;
  margin-bottom: 18px;
}

.node-vis {
  position: relative;
  aspect-ratio: 1/1;
  animation: float 6s ease-in-out infinite;
}

.node-vis svg { width: 100%; height: 100%; }

.feature-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-top: 28px;
}

.feature-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 14.5px;
  color: var(--text-primary);
}

.feature-item .dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--teal);
  margin-top: 8px;
  flex-shrink: 0;
}

/* ---------- PAYMENTS ---------- */
.pay-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }

.pay-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 32px;
  transition: transform 0.3s ease, border-color 0.3s ease;
}

.pay-card:hover {
  transform: translateY(-3px);
  border-color: rgba(79, 216, 196, 0.25);
}

.pay-card h3 {
  font-family: var(--font-display);
  font-size: 19px;
  margin-bottom: 10px;
}

.pay-card p {
  font-size: 14px;
  color: var(--text-secondary);
  margin-bottom: 20px;
}

.pay-tags { display: flex; flex-wrap: wrap; gap: 8px; }

.tag {
  font-family: var(--font-mono);
  font-size: 12px;
  padding: 6px 11px;
  border-radius: 6px;
  border: 1px solid var(--border);
  color: var(--text-secondary);
  transition: border-color 0.2s ease, color 0.2s ease;
}

.tag:hover {
  border-color: var(--teal-dim);
  color: var(--teal);
}

/* ---------- CTA ---------- */
.cta-band {
  text-align: center;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 72px 40px;
  margin: 0 32px;
  position: relative;
  overflow: hidden;
}

.cta-band::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 50% 0%, rgba(79, 216, 196, 0.08), transparent 60%);
  pointer-events: none;
}

.cta-band h2 { max-width: 560px; margin: 0 auto 16px; position: relative; }
.cta-band p { color: var(--text-secondary); max-width: 460px; margin: 0 auto 32px; position: relative; }
.cta-band .btn { position: relative; }

/* ---------- FOOTER ---------- */
footer {
  border-top: 1px solid var(--border);
  padding: 56px 0 40px;
  margin-top: 40px;
}

.foot-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 48px;
}

.foot-col h4 {
  font-size: 13px;
  color: var(--text-primary);
  margin-bottom: 16px;
  font-weight: 500;
}

.foot-col a {
  display: block;
  font-size: 13.5px;
  color: var(--text-secondary);
  margin-bottom: 12px;
  transition: color 0.15s;
}

.foot-col a:hover { color: var(--text-primary); }

.foot-brand p {
  font-size: 13.5px;
  color: var(--text-muted);
  max-width: 260px;
  margin-top: 14px;
}

.foot-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 28px;
  border-top: 1px solid var(--border);
  font-size: 12.5px;
  color: var(--text-muted);
  flex-wrap: wrap;
  gap: 12px;
}

/* ---------- LEGAL PAGES ---------- */
.legal-page { padding: 80px 0 96px; }

.legal-page h1 {
  font-family: var(--font-display);
  font-size: clamp(32px, 4vw, 48px);
  margin-bottom: 8px;
}

.legal-meta {
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--text-muted);
  margin-bottom: 48px;
}

.legal-content h2,
.legal-content h3 {
  font-family: var(--font-display);
  font-size: 22px;
  margin: 40px 0 16px;
  color: var(--text-primary);
}

.legal-content h3 { font-size: 18px; margin-top: 28px; }

.legal-content p {
  color: var(--text-secondary);
  font-size: 15px;
  margin-bottom: 16px;
  line-height: 1.75;
}

.legal-content ul {
  color: var(--text-secondary);
  font-size: 15px;
  margin: 0 0 16px 24px;
  line-height: 1.75;
}

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

.legal-content strong { color: var(--text-primary); }

.legal-content a {
  color: var(--teal);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.back-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  color: var(--text-secondary);
  margin-bottom: 32px;
  transition: color 0.15s;
}

.back-link:hover { color: var(--teal); }

/* ---------- MOBILE MENU ---------- */
.mobile-menu {
  display: none;
  position: fixed;
  inset: 0;
  top: 65px;
  background: rgba(10, 14, 18, 0.97);
  backdrop-filter: blur(12px);
  z-index: 40;
  padding: 32px;
  flex-direction: column;
  gap: 24px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.mobile-menu.open {
  opacity: 1;
  pointer-events: auto;
}

.mobile-menu a {
  font-size: 18px;
  color: var(--text-secondary);
  padding: 12px 0;
  border-bottom: 1px solid var(--border);
}

.mobile-menu a:hover { color: var(--teal); }

.mobile-menu .btn { margin-top: 16px; width: 100%; }

@media (max-width: 860px) {
  .steps, .decentral, .pay-grid, .foot-grid { grid-template-columns: 1fr; }
  .hero-strip { grid-template-columns: 1fr; }
  .nav-links, .nav-cta { display: none; }
  .mobile-toggle { display: block; }
  .mobile-menu { display: flex; }
  section { padding: 64px 0; }
  .chart-row { grid-template-columns: 90px 1fr 80px; gap: 12px; }
  .cta-band { margin: 0 16px; padding: 48px 24px; }
}
