/* ============================================================
   Simpleblock.eu — Main Stylesheet
   Theme: Light fintech (mirrors brand_material/Report palette)
   ============================================================ */

:root {
  /* ── Brand tokens (from Report palette) ────────────────── */
  --primary:     #040959;   /* deep brand navy */
  --primary-2:   #023373;   /* lighter brand navy */
  --accent:      #049DBF;   /* brand cyan accent */
  --accent-lt:   #66BBD0;
  --accent-dk:   #037A99;
  --good:        #05B385;   /* positive / success */
  --good-dk:     #048F6A;
  --warning:     #F28241;   /* warning / warm CTA */
  --warning-dk:  #DB6E2D;
  --bad:         #D9534F;   /* error / danger */
  --pink:        #E82E6C;   /* highlight (sparingly) */

  /* ── Surfaces ──────────────────────────────────────────── */
  --bg-body:     #f4f7f9;
  --bg-soft:     #ffffff;
  --bg-tint:     #eef3f8;
  --bg-dark:     #040959;   /* for dark sections */
  --bg-dark-2:   #08124C;

  /* ── Text ──────────────────────────────────────────────── */
  --fg:          #1a2244;
  --fg-strong:   #040959;
  --fg-muted:    #7f8c8d;
  --fg-on-dark:  #EAF1FF;
  --fg-on-dark-muted: #9BA8CC;

  /* ── Borders ───────────────────────────────────────────── */
  --border:      #e2e8f0;
  --border-strong: #cbd5e1;
  --border-dark: rgba(150, 175, 230, 0.18);

  /* ── Effects ───────────────────────────────────────────── */
  --shadow-sm:   0 1px 2px rgba(4, 9, 89, 0.05);
  --shadow:      0 4px 15px rgba(4, 9, 89, 0.06);
  --shadow-md:   0 10px 30px rgba(4, 9, 89, 0.08);
  --shadow-lg:   0 24px 60px rgba(4, 9, 89, 0.12);
  --shadow-accent: 0 8px 24px rgba(4, 157, 191, 0.25);
  --shadow-cta:  0 12px 32px rgba(4, 9, 89, 0.18);

  /* ── Typography ────────────────────────────────────────── */
  --font: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --font-mono: "JetBrains Mono", "SF Mono", "Fira Code", Consolas, monospace;

  /* ── Spacing (8pt grid) ────────────────────────────────── */
  --sp-1: 4px;
  --sp-2: 8px;
  --sp-3: 12px;
  --sp-4: 16px;
  --sp-5: 24px;
  --sp-6: 32px;
  --sp-7: 48px;
  --sp-8: 64px;
  --sp-9: 96px;
  --sp-10: 128px;

  /* ── Layout ────────────────────────────────────────────── */
  --container: 1200px;
  --radius-sm: 6px;
  --radius: 12px;
  --radius-lg: 20px;
  --radius-xl: 28px;

  /* ── Motion ────────────────────────────────────────────── */
  --t-fast: 150ms cubic-bezier(0.4, 0, 0.2, 1);
  --t-base: 240ms cubic-bezier(0.4, 0, 0.2, 1);
  --t-slow: 380ms cubic-bezier(0.4, 0, 0.2, 1);

  /* ── Nav ───────────────────────────────────────────────── */
  --nav-h: 76px;
  --ticker-h: 38px;

  /* ── Glow effects (fintech accent) ─────────────────────── */
  --glow-accent: 0 0 18px rgba(4, 157, 191, 0.55);
  --glow-good:   0 0 18px rgba(5, 179, 133, 0.5);
  --glow-warm:   0 0 18px rgba(242, 130, 65, 0.5);
}

/* Tabular figures helper */
.tabular { font-feature-settings: "tnum"; font-variant-numeric: tabular-nums; }
.mono { font-family: var(--font-mono); }

/* ── Reset ──────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font);
  background: var(--bg-body);
  color: var(--fg);
  line-height: 1.6;
  min-height: 100vh;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { cursor: pointer; font-family: inherit; border: none; background: none; color: inherit; }
ul, ol { list-style: none; }
input, textarea, select {
  font-family: inherit;
  font-size: inherit;
  background: transparent;
  border: none;
  outline: none;
  color: inherit;
}
:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
  border-radius: 4px;
}

/* ── Typography ─────────────────────────────────────────── */
h1, h2, h3, h4, h5, h6 {
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.025em;
  color: var(--fg-strong);
}
h1 { font-size: clamp(2.4rem, 6vw, 4.4rem); letter-spacing: -0.045em; line-height: 1.02; font-weight: 800; }
h2 { font-size: clamp(1.85rem, 4vw, 2.9rem); letter-spacing: -0.035em; line-height: 1.08; }
h3 { font-size: clamp(1.1rem, 1.8vw, 1.3rem); font-weight: 700; }
h4 { font-size: 1rem; font-weight: 700; }
p  { color: var(--fg-muted); line-height: 1.7; }

.text-accent { color: var(--accent); }
.text-good { color: var(--good); }
.text-warning { color: var(--warning); }
.text-strong { color: var(--fg-strong); }

.text-gradient {
  background: linear-gradient(120deg, var(--primary) 0%, var(--accent) 60%, var(--good) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ── Layout ─────────────────────────────────────────────── */
.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--sp-5);
}
.section { padding: var(--sp-9) 0; }
.section-sm { padding: var(--sp-7) 0; }
.section-tint { background: var(--bg-body); }
.section-soft { background: var(--bg-soft); }
.section-header {
  text-align: center;
  max-width: 680px;
  margin: 0 auto var(--sp-8);
}
.section-header p {
  margin-top: var(--sp-3);
  font-size: 1.05rem;
}
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: var(--sp-2);
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: var(--sp-3);
}
.eyebrow::before {
  content: '';
  width: 22px;
  height: 1.5px;
  background: var(--accent);
  display: inline-block;
}
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: var(--sp-5); }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--sp-5); }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--sp-4); }

/* ── Buttons ────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--sp-2);
  font-size: 0.94rem;
  font-weight: 600;
  padding: 12px 22px;
  border-radius: var(--radius);
  transition: transform var(--t-base), box-shadow var(--t-base), background var(--t-base), border-color var(--t-base), color var(--t-base);
  cursor: pointer;
  white-space: nowrap;
  min-height: 46px;
  border: 1px solid transparent;
  letter-spacing: 0.005em;
}
.btn-primary {
  background: var(--primary);
  color: #fff;
  box-shadow: var(--shadow-cta);
}
.btn-primary:hover {
  background: var(--primary-2);
  transform: translateY(-1px);
  box-shadow: 0 16px 40px rgba(4, 9, 89, 0.28);
}
.btn-primary:active { transform: translateY(0); }
.btn-accent {
  background: var(--accent);
  color: #fff;
  box-shadow: var(--shadow-accent);
}
.btn-accent:hover {
  background: var(--accent-dk);
  transform: translateY(-1px);
  box-shadow: 0 12px 32px rgba(4, 157, 191, 0.4);
}
.btn-secondary {
  background: var(--bg-soft);
  color: var(--fg-strong);
  border: 1px solid var(--border-strong);
}
.btn-secondary:hover {
  border-color: var(--primary);
  color: var(--primary);
  transform: translateY(-1px);
  box-shadow: var(--shadow);
}
.btn-ghost {
  background: transparent;
  color: var(--fg-strong);
}
.btn-ghost:hover { color: var(--accent); }
.btn-green {
  background: var(--good);
  color: #fff;
  box-shadow: 0 8px 24px rgba(5, 179, 133, 0.30);
}
.btn-green:hover {
  background: var(--good-dk);
  transform: translateY(-1px);
  box-shadow: 0 12px 32px rgba(5, 179, 133, 0.40);
}
.btn-orange {
  background: var(--warning);
  color: #fff;
  box-shadow: 0 8px 24px rgba(242, 130, 65, 0.30);
}
.btn-orange:hover {
  background: var(--warning-dk);
  transform: translateY(-1px);
  box-shadow: 0 12px 32px rgba(242, 130, 65, 0.40);
}
.btn-lg { font-size: 1rem; padding: 15px 30px; min-height: 52px; }
.btn-sm { font-size: 0.85rem; padding: 8px 16px; min-height: 38px; }

/* Buttons on dark sections */
.on-dark .btn-secondary {
  background: rgba(255, 255, 255, 0.06);
  color: #fff;
  border-color: rgba(255, 255, 255, 0.18);
}
.on-dark .btn-secondary:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.4);
  color: #fff;
}

/* ── Brand logo (PNG-based) ─────────────────────────────── */
.brand-logo {
  display: inline-flex;
  align-items: center;
  height: 36px;
}
.brand-logo img { height: 100%; width: auto; display: block; }
.brand-logo.lg { height: 48px; }

/* ── Navigation ─────────────────────────────────────────── */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  height: var(--nav-h);
  display: flex;
  align-items: center;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  border-bottom: 1px solid transparent;
  transition: border-color var(--t-base), background var(--t-base), box-shadow var(--t-base);
}
.nav.scrolled {
  border-bottom-color: var(--border);
  background: rgba(255, 255, 255, 0.97);
  box-shadow: 0 1px 0 var(--border);
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--sp-5);
}
.nav-links {
  display: flex;
  align-items: center;
  gap: var(--sp-6);
}
.nav-links a {
  font-size: 0.94rem;
  font-weight: 500;
  color: var(--fg);
  transition: color var(--t-fast);
  position: relative;
  padding: 6px 2px;
}
.nav-links a:hover { color: var(--primary); }
.nav-links a.active {
  color: var(--primary);
  font-weight: 600;
}
.nav-links a.active::after {
  content: '';
  position: absolute;
  bottom: -4px; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--primary), var(--accent));
  border-radius: 2px;
}
.nav-cta {
  display: flex;
  align-items: center;
  gap: var(--sp-3);
}
.nav-hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: var(--sp-2);
  cursor: pointer;
  min-width: 44px;
  min-height: 44px;
  align-items: center;
  justify-content: center;
}
.nav-hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--fg-strong);
  border-radius: 2px;
  transition: all var(--t-base);
}
.nav-hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-hamburger.open span:nth-child(2) { opacity: 0; }
.nav-hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.nav-mobile {
  display: none;
  position: fixed;
  top: var(--nav-h);
  left: 0; right: 0; bottom: 0;
  background: var(--bg-soft);
  border-top: 1px solid var(--border);
  padding: var(--sp-5);
  z-index: 999;
  flex-direction: column;
  gap: var(--sp-3);
  overflow-y: auto;
}
.nav-mobile.open { display: flex; }
.nav-mobile a {
  font-size: 1.05rem;
  font-weight: 500;
  color: var(--fg);
  padding: var(--sp-3) 0;
  border-bottom: 1px solid var(--border);
  transition: color var(--t-fast);
}
.nav-mobile a:hover { color: var(--primary); }
.nav-mobile .btn { width: 100%; margin-top: var(--sp-2); }

/* ── Hero centered header (logo + tagline + title) ──────── */
.hero-top {
  text-align: center;
  margin-bottom: var(--sp-8);
  position: relative;
  z-index: 1;
}
.hero-logo-large {
  display: inline-block;
  margin: 0 auto var(--sp-5);
}
.hero-logo-large img {
  width: clamp(180px, 26vw, 280px);
  height: auto;
  display: block;
}
.hero-tagline-small {
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: var(--sp-4);
}
.hero-title-centered {
  font-size: clamp(2rem, 4.6vw, 3.4rem);
  letter-spacing: -0.035em;
  line-height: 1.05;
  font-weight: 800;
  max-width: 920px;
  margin: 0 auto;
  color: var(--fg-strong);
}

/* ── Hero ───────────────────────────────────────────────── */
.hero {
  padding: calc(var(--nav-h) + var(--sp-8)) 0 var(--sp-9);
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(ellipse at top right, rgba(4, 157, 191, 0.10) 0%, transparent 55%),
    radial-gradient(ellipse at bottom left, rgba(5, 179, 133, 0.06) 0%, transparent 55%),
    var(--bg-soft);
}
.hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(4, 9, 89, 0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(4, 9, 89, 0.025) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(ellipse at center, black 0%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse at center, black 0%, transparent 75%);
  pointer-events: none;
  z-index: 0;
}
.hero > .container { position: relative; z-index: 1; }
.hero-inner {
  display: grid;
  grid-template-columns: 1fr 1.25fr;
  gap: var(--sp-8);
  align-items: center;
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: var(--sp-2);
  background: var(--bg-soft);
  border: 1px solid var(--border);
  border-radius: 100px;
  padding: 6px 14px 6px 8px;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--fg-strong);
  margin-bottom: var(--sp-5);
  box-shadow: var(--shadow-sm);
}
.hero-badge .dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--good);
  box-shadow: 0 0 0 3px rgba(5, 179, 133, 0.18);
  animation: pulse 2s ease-in-out infinite;
}
@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.6; transform: scale(0.85); }
}
.hero h1 { margin-bottom: var(--sp-5); }
.hero-subtitle {
  font-size: 1.12rem;
  margin-bottom: var(--sp-6);
  max-width: 540px;
  color: var(--fg);
}
.hero-actions {
  display: flex;
  align-items: center;
  gap: var(--sp-3);
  flex-wrap: wrap;
}
.hero-note {
  margin-top: var(--sp-5);
  font-size: 0.85rem;
  color: var(--fg-muted);
  display: inline-flex;
  align-items: center;
  gap: var(--sp-2);
  flex-wrap: wrap;
}
.hero-note svg { color: var(--good); flex-shrink: 0; }

.hero-visual { position: relative; }

/* Hero card — dark "device" frame for visual contrast on light page */
.device-card {
  background: linear-gradient(160deg, #0B1230 0%, #040959 100%);
  color: var(--fg-on-dark);
  border-radius: var(--radius-lg);
  padding: var(--sp-5);
  box-shadow: var(--shadow-lg);
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.08);
}
.device-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--accent), var(--good), transparent);
}
.device-card .device-label {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: var(--sp-4);
  font-size: 0.74rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--fg-on-dark-muted);
}

.stats-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--sp-3);
}
.stat-chip {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius);
  padding: var(--sp-3);
  text-align: center;
}
.stat-chip .val {
  font-size: 1.3rem;
  font-weight: 800;
  color: #fff;
  font-feature-settings: "tnum";
  letter-spacing: -0.02em;
}
.stat-chip .lbl {
  font-size: 0.7rem;
  color: var(--fg-on-dark-muted);
  margin-top: 2px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}
.stat-chip.up .val { color: #4FE3B4; }
.stat-chip.warn .val { color: #FFB07A; }

.bot-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: var(--sp-3);
  background: rgba(255, 255, 255, 0.05);
  border-radius: var(--radius);
  font-size: 0.88rem;
}
.bot-row + .bot-row { margin-top: var(--sp-2); }
.status-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.7rem;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 100px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}
.status-badge.running {
  background: rgba(5, 179, 133, 0.18);
  color: #4FE3B4;
}
.status-badge.running::before {
  content: '';
  width: 6px; height: 6px;
  border-radius: 50%;
  background: #4FE3B4;
  box-shadow: 0 0 6px #4FE3B4;
  animation: pulse 2s infinite;
}

/* ── Trust signal row (light) ───────────────────────────── */
.exchange-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--sp-7);
  flex-wrap: wrap;
  margin-top: var(--sp-7);
}
.exchange-name {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--fg-muted);
  letter-spacing: 0.01em;
  opacity: 0.7;
  transition: opacity var(--t-base), color var(--t-base);
}
.exchange-name:hover { opacity: 1; color: var(--primary); }

/* ── Card ───────────────────────────────────────────────── */
.card {
  background: var(--bg-soft);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: var(--sp-5);
  box-shadow: var(--shadow-sm);
  transition: transform var(--t-base), box-shadow var(--t-base), border-color var(--t-base);
}
.card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
  border-color: var(--border-strong);
}
.card-icon {
  width: 48px; height: 48px;
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: var(--sp-4);
  background: rgba(4, 157, 191, 0.1);
  color: var(--accent);
}
.card-icon.good   { background: rgba(5, 179, 133, 0.1); color: var(--good); }
.card-icon.warn   { background: rgba(242, 130, 65, 0.12); color: var(--warning); }
.card-icon.primary { background: rgba(4, 9, 89, 0.08); color: var(--primary); }
.card-icon svg { width: 22px; height: 22px; }
.card h3 { margin-bottom: var(--sp-2); }
.card p { font-size: 0.95rem; }

/* ── Concerns / Pain points ─────────────────────────────── */
.concerns-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--sp-4);
}
.concern-card {
  position: relative;
  background: var(--bg-soft);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: var(--sp-6) var(--sp-5);
  transition: transform var(--t-base), box-shadow var(--t-base);
  overflow: hidden;
}
.concern-card::before {
  content: '';
  position: absolute;
  inset: 0 0 auto 0;
  height: 3px;
  background: linear-gradient(90deg, var(--accent), var(--good));
  opacity: 0;
  transition: opacity var(--t-base);
}
.concern-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}
.concern-card:hover::before { opacity: 1; }
.concern-percent {
  font-size: 2.4rem;
  font-weight: 800;
  letter-spacing: -0.04em;
  color: var(--primary);
  margin-bottom: var(--sp-2);
  font-feature-settings: "tnum";
}
.concern-percent .pct { font-size: 1.2rem; color: var(--fg-muted); margin-left: 2px; }
.concern-card h3 { margin-bottom: var(--sp-2); }
.concern-card p { font-size: 0.88rem; }

/* ── Features grid ──────────────────────────────────────── */
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--sp-4);
}

/* ── Bot preview cards ──────────────────────────────────── */
.bot-card {
  background:
    linear-gradient(var(--bg-soft), var(--bg-soft)) padding-box,
    var(--card-stripe, var(--accent)) border-box;
  border: 4px solid transparent;
  border-right: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  border-left: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: calc(var(--sp-6) - 3px) var(--sp-6) var(--sp-6);
  position: relative;
  overflow: hidden;
  transition: transform var(--t-base), box-shadow var(--t-base), border-color var(--t-base);
  display: flex;
  flex-direction: column;
  box-shadow: 0 4px 14px -6px var(--card-halo, rgba(4, 9, 89, 0.08));
}
.bot-card .bot-illu-inline { margin-top: auto; }
.bot-card > .btn:last-child { margin-top: var(--sp-2); }
.bot-card.dca  { --card-stripe: var(--accent);  --card-stripe-solid: var(--accent);  --card-halo: rgba(4, 157, 191, 0.16); }
.bot-card.grid { --card-stripe: var(--good);    --card-stripe-solid: var(--good);    --card-halo: rgba(5, 179, 133, 0.16); }
.bot-card.rec  { --card-stripe: var(--warning); --card-stripe-solid: var(--warning); --card-halo: rgba(242, 130, 65, 0.18); }
.bot-card:hover {
  transform: translateY(-4px);
  border-color: transparent var(--card-stripe-solid) var(--card-stripe-solid);
  box-shadow: 0 14px 32px -10px var(--card-halo), 0 4px 12px rgba(4, 9, 89, 0.06);
}
.bot-card-top {
  display: flex;
  align-items: center;
  gap: var(--sp-4);
  margin-bottom: var(--sp-4);
}
.bot-icon {
  width: 52px; height: 52px;
  border-radius: var(--radius);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.bot-icon.dca   { background: rgba(4, 157, 191, 0.12); color: var(--accent); }
.bot-icon.grid  { background: rgba(5, 179, 133, 0.12); color: var(--good); }
.bot-icon.rec   { background: rgba(242, 130, 65, 0.14); color: var(--warning); }
.bot-icon svg { width: 26px; height: 26px; }
.bot-tag {
  display: inline-flex;
  font-size: 0.68rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  padding: 3px 10px;
  border-radius: 100px;
  margin-bottom: var(--sp-1);
}
.bot-tag.dca  { background: rgba(4, 157, 191, 0.12); color: var(--accent); }
.bot-tag.grid { background: rgba(5, 179, 133, 0.12); color: var(--good); }
.bot-tag.rec  { background: rgba(242, 130, 65, 0.14); color: var(--warning); }
.bot-card .bot-tag { margin-bottom: var(--sp-2); }
.bot-card h3       { margin-bottom: var(--sp-3); }
.bot-card p        { margin-bottom: var(--sp-2); }
.bot-features { margin-top: var(--sp-4); }
.bot-feature {
  display: flex;
  align-items: flex-start;
  gap: var(--sp-2);
  padding: var(--sp-2) 0;
  border-bottom: 1px solid var(--border);
  font-size: 0.9rem;
  color: var(--fg);
}
.bot-feature:last-child { border-bottom: none; }
.bot-feature svg { width: 16px; height: 16px; color: var(--good); flex-shrink: 0; margin-top: 3px; }

/* ── How it works ───────────────────────────────────────── */
.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--sp-6);
  position: relative;
}
.steps::before {
  content: '';
  position: absolute;
  top: 30px; left: calc(16.66% + 30px);
  right: calc(16.66% + 30px);
  height: 2px;
  background: linear-gradient(90deg, var(--primary), var(--accent), var(--good));
  opacity: 0.25;
}
.step { text-align: center; position: relative; }
.step-num {
  width: 60px; height: 60px;
  border-radius: 50%;
  background: var(--bg-soft);
  border: 2px solid var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  font-weight: 800;
  color: var(--primary);
  margin: 0 auto var(--sp-4);
  position: relative;
  z-index: 1;
  box-shadow: 0 6px 18px rgba(4, 157, 191, 0.2);
}
.step h3 { margin-bottom: var(--sp-2); }
.step p { font-size: 0.92rem; }

/* ── Differentiators row ────────────────────────────────── */
.diff-card {
  text-align: center;
  padding: var(--sp-6) var(--sp-4);
  background: var(--bg-soft);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  position: relative;
  overflow: hidden;
}
.diff-icon {
  width: 56px; height: 56px;
  border-radius: 16px;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 1.25rem;
  font-weight: 800;
  margin: 0 auto var(--sp-4);
  letter-spacing: -0.02em;
  box-shadow: var(--shadow-accent);
}
.diff-icon.good { background: linear-gradient(135deg, var(--good), #2DD49E); }
.diff-icon.warm { background: linear-gradient(135deg, var(--warning), #FAB280); }

/* ── Testimonials ───────────────────────────────────────── */
.testimonial-card {
  background: var(--bg-soft);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: var(--sp-6);
  transition: transform var(--t-base), box-shadow var(--t-base);
  display: flex;
  flex-direction: column;
}
.testimonial-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}
.testimonial-stars {
  display: flex;
  gap: 2px;
  margin-bottom: var(--sp-3);
}
.testimonial-stars svg { width: 16px; height: 16px; color: var(--warning); }
.testimonial-title {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--fg-strong);
  margin-bottom: var(--sp-2);
}
.testimonial-text {
  font-size: 0.95rem;
  color: var(--fg);
  line-height: 1.65;
  margin-bottom: var(--sp-4);
  flex: 1;
}
.testimonial-author {
  display: flex;
  align-items: center;
  gap: var(--sp-3);
  padding-top: var(--sp-4);
  border-top: 1px solid var(--border);
}
.author-avatar {
  width: 40px; height: 40px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
  font-weight: 700;
  color: #fff;
  flex-shrink: 0;
}
.author-name { font-size: 0.9rem; font-weight: 700; color: var(--fg-strong); }
.author-title { font-size: 0.8rem; color: var(--fg-muted); }

/* ── Security pill row ──────────────────────────────────── */
.security-pills {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--sp-3);
  flex-wrap: wrap;
}
.security-pill {
  display: inline-flex;
  align-items: center;
  gap: var(--sp-2);
  background: var(--bg-soft);
  border: 1px solid var(--border);
  border-radius: 100px;
  padding: 10px 16px;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--fg-strong);
  box-shadow: var(--shadow-sm);
}
.security-pill svg { width: 16px; height: 16px; color: var(--good); flex-shrink: 0; }

/* ── CTA section (dark) ─────────────────────────────────── */
.cta-section {
  background:
    radial-gradient(ellipse at top left, rgba(4, 157, 191, 0.35) 0%, transparent 50%),
    radial-gradient(ellipse at bottom right, rgba(5, 179, 133, 0.18) 0%, transparent 55%),
    linear-gradient(135deg, var(--bg-dark) 0%, #0a1180 100%);
  color: #fff;
  border-radius: var(--radius-xl);
  padding: var(--sp-9) var(--sp-7);
  text-align: center;
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.08);
}
.cta-section .eyebrow { color: var(--accent-lt); }
.cta-section .eyebrow::before { background: var(--accent-lt); }
.cta-section h2 { color: #fff; margin-bottom: var(--sp-3); }
.cta-section p { color: rgba(255, 255, 255, 0.82); margin-bottom: var(--sp-6); font-size: 1.05rem; max-width: 560px; margin-left: auto; margin-right: auto; }
.cta-actions { display: flex; gap: var(--sp-3); justify-content: center; flex-wrap: wrap; }
.cta-section .btn-secondary {
  background: rgba(255, 255, 255, 0.06);
  color: #fff;
  border-color: rgba(255, 255, 255, 0.2);
}
.cta-section .btn-secondary:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.4);
}

/* ── Footer (dark) ──────────────────────────────────────── */
.footer {
  background: var(--bg-dark);
  color: var(--fg-on-dark);
  padding: var(--sp-9) 0 var(--sp-5);
  margin-top: var(--sp-8);
}
.footer .brand-logo { height: 32px; }
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: var(--sp-7);
  margin-bottom: var(--sp-7);
}
.footer-brand p {
  margin-top: var(--sp-4);
  font-size: 0.9rem;
  max-width: 320px;
  color: var(--fg-on-dark-muted);
}
.footer-social {
  display: flex;
  gap: var(--sp-3);
  margin-top: var(--sp-4);
}
.social-link {
  width: 38px; height: 38px;
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  display: flex; align-items: center; justify-content: center;
  color: var(--fg-on-dark-muted);
  transition: all var(--t-fast);
}
.social-link:hover {
  background: var(--accent);
  border-color: var(--accent);
  color: #fff;
  transform: translateY(-2px);
}
.social-link svg { width: 16px; height: 16px; }
.footer-col h4 {
  font-size: 0.82rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: #fff;
  margin-bottom: var(--sp-4);
}
.footer-col ul { display: flex; flex-direction: column; gap: var(--sp-3); }
.footer-col a {
  font-size: 0.92rem;
  color: var(--fg-on-dark-muted);
  transition: color var(--t-fast);
}
.footer-col a:hover { color: #fff; }
.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: var(--sp-5);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: var(--sp-3);
}
.footer-bottom p { font-size: 0.82rem; color: var(--fg-on-dark-muted); }
.footer-bottom-links { display: flex; gap: var(--sp-5); }
.footer-bottom-links a {
  font-size: 0.82rem;
  color: var(--fg-on-dark-muted);
  transition: color var(--t-fast);
}
.footer-bottom-links a:hover { color: #fff; }

/* ── Ticker bar (live market) ───────────────────────────── */
.ticker-bar {
  position: fixed;
  top: var(--nav-h);
  left: 0; right: 0;
  height: var(--ticker-h);
  z-index: 999;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
  overflow: hidden;
  font-family: var(--font);
  font-feature-settings: "tnum";
}
.ticker-label {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 0 var(--sp-4);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  border-right: 1px solid var(--border);
  height: 100%;
}
.ticker-label::before {
  content: '';
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--good);
  box-shadow: 0 0 6px var(--good);
  animation: pulse 1.6s ease-in-out infinite;
}
.ticker-track {
  display: flex;
  align-items: center;
  gap: var(--sp-6);
  white-space: nowrap;
  animation: ticker-scroll 45s linear infinite;
  padding-left: var(--sp-6);
  will-change: transform;
}
@keyframes ticker-scroll {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}
.ticker-item {
  display: inline-flex;
  align-items: center;
  gap: var(--sp-2);
  font-size: 0.85rem;
}
.ticker-symbol { font-weight: 700; color: var(--fg-strong); letter-spacing: 0.02em; }
.ticker-price  { font-weight: 600; color: var(--fg); font-feature-settings: "tnum"; }
.ticker-change {
  font-size: 0.74rem;
  font-weight: 700;
  padding: 2px 7px;
  border-radius: 4px;
  letter-spacing: 0.02em;
}
.ticker-change.up   { background: rgba(5, 179, 133, 0.12); color: var(--good); }
.ticker-change.down { background: rgba(217, 83, 79, 0.12); color: var(--bad); }
.ticker-divider {
  width: 1px; height: 14px;
  background: var(--border-strong);
}

/* Push hero/body down when ticker is present */
body.has-ticker .hero { padding-top: calc(var(--nav-h) + var(--ticker-h) + var(--sp-7)); }
.nav.has-ticker.scrolled { box-shadow: none; }

/* ── KPI strip (animated counters) ──────────────────────── */
.kpi-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  background: var(--bg-soft);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow);
}
.kpi-cell {
  padding: var(--sp-6) var(--sp-5);
  text-align: center;
  border-right: 1px solid var(--border);
  position: relative;
}
.kpi-cell:last-child { border-right: none; }
.kpi-value {
  font-size: clamp(2rem, 3.6vw, 2.8rem);
  font-weight: 800;
  letter-spacing: -0.04em;
  font-feature-settings: "tnum";
  color: var(--primary);
  line-height: 1;
  margin-bottom: var(--sp-2);
}
.kpi-value.accent { color: var(--accent); }
.kpi-value.good   { color: var(--good); }
.kpi-value.warm   { color: var(--warning); }
.kpi-label {
  font-size: 0.78rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--fg-muted);
}

/* ── Hero dashboard image card ──────────────────────────── */
.dashboard-shot {
  position: relative;
  border-radius: 18px;
  overflow: hidden;
  background: var(--bg-soft);
  border: 1px solid var(--border);
  box-shadow:
    0 30px 70px rgba(4, 9, 89, 0.18),
    0 4px 12px rgba(4, 9, 89, 0.06);
  transform: perspective(2200px) rotateY(-2.5deg) rotateX(2deg);
  transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}
.dashboard-shot:hover {
  transform: perspective(2200px) rotateY(0deg) rotateX(0deg);
}
.dashboard-shot::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(4, 157, 191, 0.06) 0%, transparent 50%, rgba(5, 179, 133, 0.04) 100%);
  pointer-events: none;
  z-index: 1;
}
.dashboard-shot img {
  display: block;
  width: 100%;
  height: auto;
}
.dashboard-shot-badge {
  position: absolute;
  top: var(--sp-3);
  right: var(--sp-3);
  z-index: 2;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 10px;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(8px);
  border: 1px solid var(--border);
  border-radius: 100px;
  font-size: 0.7rem;
  font-weight: 700;
  color: var(--fg-strong);
  letter-spacing: 0.04em;
  box-shadow: var(--shadow);
}
.dashboard-shot-badge::before {
  content: '';
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--good);
  box-shadow: 0 0 6px var(--good);
  animation: pulse 1.6s ease-in-out infinite;
}

/* ── Concern circular ring ──────────────────────────────── */
.concern-ring-card {
  text-align: center;
  background: var(--bg-soft);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: var(--sp-6) var(--sp-5);
  transition: transform var(--t-base), box-shadow var(--t-base), border-color var(--t-base);
  position: relative;
  overflow: hidden;
}
.concern-ring-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
  border-color: var(--border-strong);
}
.concern-ring {
  width: 132px;
  height: 132px;
  margin: 0 auto var(--sp-4);
  position: relative;
}
.concern-ring svg { width: 100%; height: 100%; transform: rotate(-90deg); }
.concern-ring .track  { fill: none; stroke: #eef3f8; stroke-width: 9; }
.concern-ring .progress {
  fill: none;
  stroke-width: 9;
  stroke-linecap: round;
  transition: stroke-dashoffset 1.4s cubic-bezier(0.25, 1, 0.5, 1);
}
.concern-ring.p1 .progress { stroke: var(--accent); }
.concern-ring.p2 .progress { stroke: var(--good); }
.concern-ring.p3 .progress { stroke: var(--warning); }
.concern-ring.p4 .progress { stroke: var(--pink); }
.concern-ring .center {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}
.concern-ring .num {
  font-size: 1.85rem;
  font-weight: 800;
  letter-spacing: -0.04em;
  color: var(--fg-strong);
  line-height: 1;
  font-feature-settings: "tnum";
}
.concern-ring .num .pct {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--fg-muted);
  margin-left: 2px;
  vertical-align: top;
}
.concern-ring-card h3 { margin-bottom: var(--sp-2); }
.concern-ring-card p { font-size: 0.9rem; }
.concern-source {
  text-align: center;
  margin-top: var(--sp-6);
  font-size: 0.78rem;
  color: var(--fg-muted);
}
.concern-source em { font-style: normal; color: var(--fg); font-weight: 600; }

/* ── Bot illustration (inline, between checks and button) ─ */
.bot-illu-inline {
  display: flex;
  align-items: center;
  justify-content: center;
  margin: var(--sp-5) 0 var(--sp-4);
  padding: 0;
}
.bot-illu-inline img,
.bot-illu-inline svg {
  width: 96px;
  height: 96px;
  transition: transform var(--t-base);
}
.bot-card:hover .bot-illu-inline img,
.bot-card:hover .bot-illu-inline svg {
  transform: translateY(-2px) scale(1.04);
}

/* ── Telegram phone mockup (iframe wrapper) ─────────────── */
.tg-iframe-wrap {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}
.tg-iframe {
  width: 360px;
  max-width: 100%;
  height: 700px;
  border: 0;
  background: transparent;
  display: block;
  color-scheme: light;
}
@media (max-width: 480px) {
  .tg-iframe { height: 620px; }
}

/* ── Bot canvas animations (iframe wrapper) ─────────────── */
.bot-anim-wrap {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}
.bot-anim-frame {
  width: 100%;
  max-width: 760px;
  height: 600px;
  border: 0;
  background: transparent;
  display: block;
  color-scheme: light;
}
@media (max-width: 768px) {
  .bot-anim-frame { height: 540px; }
}
@media (max-width: 480px) {
  .bot-anim-frame { height: 480px; }
}

/* ── Bot illustration container ─────────────────────────── */
.bot-illustration {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 168px;
  margin: calc(var(--sp-6) * -1) calc(var(--sp-6) * -1) var(--sp-5);
  padding: var(--sp-4);
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-xl) var(--radius-xl) 0 0;
}
.bot-illustration::before {
  content: '';
  position: absolute;
  inset: 0;
  opacity: 1;
}
.bot-card.dca .bot-illustration::before {
  background: linear-gradient(160deg, rgba(4, 157, 191, 0.12) 0%, rgba(4, 157, 191, 0.02) 100%);
}
.bot-card.grid .bot-illustration::before {
  background: linear-gradient(160deg, rgba(5, 179, 133, 0.12) 0%, rgba(5, 179, 133, 0.02) 100%);
}
.bot-card.rec .bot-illustration::before {
  background: linear-gradient(160deg, rgba(242, 130, 65, 0.12) 0%, rgba(242, 130, 65, 0.02) 100%);
}
.bot-illustration svg {
  position: relative;
  width: 132px;
  height: 132px;
  filter: drop-shadow(0 8px 20px rgba(4, 9, 89, 0.14));
}
.bot-card.has-illu { padding-top: 0; overflow: hidden; }
.bot-card.has-illu .bot-card-top {
  margin-bottom: var(--sp-3);
  gap: var(--sp-3);
}
.bot-card.has-illu h3 { margin: 4px 0 0; }

/* ── Trading terminal device-card (fintech upgrade) ─────── */
.terminal-card {
  background:
    radial-gradient(ellipse at top left, rgba(4, 157, 191, 0.18) 0%, transparent 55%),
    radial-gradient(ellipse at bottom right, rgba(5, 179, 133, 0.1) 0%, transparent 55%),
    linear-gradient(160deg, #0B1230 0%, #040959 100%);
  color: var(--fg-on-dark);
  border-radius: 20px;
  padding: 0;
  box-shadow:
    0 24px 60px rgba(4, 9, 89, 0.35),
    0 0 0 1px rgba(255, 255, 255, 0.06) inset,
    0 1px 0 rgba(255, 255, 255, 0.08) inset;
  position: relative;
  overflow: hidden;
}
.terminal-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--accent), var(--good), transparent);
  z-index: 2;
}
.terminal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: var(--sp-4) var(--sp-5);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
.terminal-header-left {
  display: flex;
  align-items: center;
  gap: var(--sp-3);
}
.terminal-pair {
  font-size: 0.95rem;
  font-weight: 700;
  color: #fff;
  letter-spacing: 0.01em;
}
.terminal-tag {
  font-size: 0.66rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 3px 8px;
  border-radius: 4px;
  background: rgba(4, 157, 191, 0.18);
  color: #66BBD0;
}
.terminal-price {
  display: flex;
  align-items: baseline;
  gap: var(--sp-3);
}
.terminal-price .big {
  font-size: 1.65rem;
  font-weight: 800;
  color: #fff;
  letter-spacing: -0.02em;
  font-feature-settings: "tnum";
}
.terminal-price .delta {
  font-size: 0.78rem;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: 4px;
  background: rgba(0, 230, 118, 0.18);
  color: #4FE3B4;
  text-shadow: 0 0 12px rgba(0, 230, 118, 0.5);
}
.terminal-chart {
  position: relative;
  padding: var(--sp-4) var(--sp-5);
  background:
    linear-gradient(to right, rgba(255, 255, 255, 0.03) 1px, transparent 1px) 0 0 / 50px 100%,
    linear-gradient(to bottom, rgba(255, 255, 255, 0.03) 1px, transparent 1px) 0 0 / 100% 36px;
}
.terminal-chart svg { width: 100%; height: 140px; overflow: visible; }
.terminal-chart .axis-label {
  position: absolute;
  right: var(--sp-5);
  font-size: 0.7rem;
  color: var(--fg-on-dark-muted);
  font-feature-settings: "tnum";
}
.terminal-markers { position: absolute; inset: var(--sp-4) var(--sp-5); pointer-events: none; }
.terminal-marker {
  position: absolute;
  width: 12px; height: 12px;
  border-radius: 50%;
  border: 2px solid #0B1230;
  transform: translate(-50%, -50%);
}
.terminal-marker.buy  { background: #2962FF; box-shadow: 0 0 0 2px rgba(41, 98, 255, 0.5), 0 0 14px rgba(41, 98, 255, 0.6); }
.terminal-marker.sell { background: #00E676; box-shadow: 0 0 0 2px rgba(0, 230, 118, 0.5), 0 0 14px rgba(0, 230, 118, 0.6); }
.terminal-marker.buy::after,
.terminal-marker.sell::after {
  content: attr(data-label);
  position: absolute;
  top: 50%;
  left: 16px;
  transform: translateY(-50%);
  font-size: 0.62rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  color: rgba(255, 255, 255, 0.9);
  white-space: nowrap;
}
.terminal-footer {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}
.terminal-stat {
  padding: var(--sp-4);
  text-align: center;
  border-right: 1px solid rgba(255, 255, 255, 0.06);
}
.terminal-stat:last-child { border-right: none; }
.terminal-stat .v {
  font-size: 1.1rem;
  font-weight: 800;
  color: #fff;
  font-feature-settings: "tnum";
  letter-spacing: -0.01em;
}
.terminal-stat.up   .v { color: #4FE3B4; text-shadow: 0 0 16px rgba(0, 230, 118, 0.35); }
.terminal-stat.warm .v { color: #FFB07A; }
.terminal-stat .l {
  font-size: 0.66rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--fg-on-dark-muted);
  margin-top: 4px;
}

/* ── Live activity feed (trading log style) ─────────────── */
.live-feed {
  background:
    radial-gradient(ellipse at top right, rgba(4, 157, 191, 0.12) 0%, transparent 55%),
    linear-gradient(160deg, #0B1230 0%, #040959 100%);
  color: var(--fg-on-dark);
  border-radius: var(--radius-xl);
  padding: var(--sp-7);
  position: relative;
  overflow: hidden;
}
.live-feed::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.025) 1px, transparent 1px);
  background-size: 32px 32px;
  pointer-events: none;
}
.live-feed > * { position: relative; }
.live-feed h2 { color: #fff; }
.live-feed p { color: rgba(255, 255, 255, 0.75); }
.live-feed .eyebrow { color: #66BBD0; }
.live-feed .eyebrow::before { background: #66BBD0; }
.feed-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0;
  background: rgba(0, 0, 0, 0.25);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: var(--radius);
  overflow: hidden;
  font-family: var(--font-mono), Menlo, monospace;
  font-size: 0.82rem;
  font-feature-settings: "tnum";
}
.feed-row {
  display: grid;
  grid-template-columns: 76px 80px 1fr auto;
  gap: var(--sp-4);
  align-items: center;
  padding: 10px var(--sp-4);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  color: rgba(255, 255, 255, 0.85);
  animation: feed-in 380ms ease-out;
}
.feed-row:last-child { border-bottom: none; }
@keyframes feed-in {
  from { opacity: 0; transform: translateY(-6px); }
  to   { opacity: 1; transform: translateY(0); }
}
.feed-row .ts { color: var(--fg-on-dark-muted); font-size: 0.78rem; }
.feed-row .side {
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  padding: 3px 8px;
  border-radius: 4px;
  text-align: center;
}
.feed-row .side.buy  { background: rgba(41, 98, 255, 0.18); color: #7BA9FF; }
.feed-row .side.sell { background: rgba(0, 230, 118, 0.18); color: #4FE3B4; }
.feed-row .desc { color: #fff; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.feed-row .amt {
  font-weight: 700;
  color: #fff;
}
.feed-row .amt.up { color: #4FE3B4; text-shadow: 0 0 8px rgba(0, 230, 118, 0.4); }

/* ── Sparkline support (bot card mini-chart) ────────────── */
.sparkline {
  width: 100%;
  height: 56px;
  display: block;
  margin-top: var(--sp-3);
}
.bot-meta {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-top: var(--sp-3);
  padding-top: var(--sp-3);
  border-top: 1px solid var(--border);
}
.bot-meta .label {
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--fg-muted);
}
.bot-meta .value {
  font-size: 1.1rem;
  font-weight: 800;
  letter-spacing: -0.01em;
  font-feature-settings: "tnum";
}
.bot-meta .value.up { color: var(--good); }

/* ── Two-col live section layout ────────────────────────── */
.live-split {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: var(--sp-7);
  align-items: stretch;
}

/* ── Section header bigger for fintech impact ───────────── */
.section-header.lg {
  max-width: 760px;
  margin-bottom: var(--sp-9);
}
.section-header.lg h2 { font-size: clamp(2rem, 4.4vw, 3rem); letter-spacing: -0.04em; }

/* ── Scroll-reveal ──────────────────────────────────────── */
.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.7s ease-out, transform 0.7s ease-out;
}
.reveal.revealed {
  opacity: 1;
  transform: translateY(0);
}

/* ── Utilities ──────────────────────────────────────────── */
.text-center { text-align: center; }
.sr-only {
  position: absolute; width: 1px; height: 1px;
  padding: 0; margin: -1px; overflow: hidden;
  clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}

/* ── Responsive ─────────────────────────────────────────── */
@media (max-width: 1024px) {
  .hero-inner { grid-template-columns: 1fr; gap: var(--sp-7); }
  .hero-visual { max-width: 540px; margin: 0 auto; width: 100%; }
  .hero-content { text-align: center; }
  .hero-actions { justify-content: center; }
  .hero-subtitle { margin-left: auto; margin-right: auto; }
  .features-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: var(--sp-6); }
  .steps::before { display: none; }
  .concerns-grid { grid-template-columns: repeat(2, 1fr); }
  .live-split { grid-template-columns: 1fr; gap: var(--sp-6); }
  .kpi-strip { grid-template-columns: repeat(2, 1fr); }
  .kpi-cell:nth-child(2) { border-right: none; }
  .kpi-cell:nth-child(1),
  .kpi-cell:nth-child(2) { border-bottom: 1px solid var(--border); }
}

@media (max-width: 768px) {
  :root { --nav-h: 64px; --ticker-h: 34px; }
  .nav-links { display: none; }
  .nav-cta { display: none; }
  .nav-hamburger { display: flex; }
  .section { padding: var(--sp-8) 0; }
  .section-sm { padding: var(--sp-6) 0; }
  .grid-2,
  .grid-3,
  .grid-4,
  .features-grid,
  .steps { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .cta-section { padding: var(--sp-7) var(--sp-5); }
  .concerns-grid { grid-template-columns: 1fr 1fr; }
  .exchange-row { gap: var(--sp-5); }
  .footer-bottom { flex-direction: column; text-align: center; }
  .live-feed { padding: var(--sp-5); }
  .feed-row { grid-template-columns: 60px 70px 1fr auto; gap: var(--sp-3); padding: 8px var(--sp-3); font-size: 0.78rem; }
  .feed-row .ts { font-size: 0.72rem; }
  .ticker-label { padding: 0 var(--sp-3); font-size: 0.62rem; }
  .ticker-item { font-size: 0.78rem; }
  .terminal-header { padding: var(--sp-3) var(--sp-4); }
  .terminal-chart { padding: var(--sp-3) var(--sp-4); }
  .terminal-price .big { font-size: 1.3rem; }
  .kpi-strip { grid-template-columns: 1fr 1fr; }
  .kpi-cell { padding: var(--sp-5) var(--sp-4); }
}

@media (max-width: 480px) {
  .hero-actions { flex-direction: column; align-items: stretch; }
  .hero-actions .btn { width: 100%; }
  .btn-lg { width: 100%; }
  .cta-actions { flex-direction: column; align-items: stretch; }
  .cta-actions .btn { width: 100%; }
  .stats-row { grid-template-columns: 1fr 1fr; gap: var(--sp-2); }
  .stats-row .stat-chip:nth-child(3) { grid-column: span 2; }
  .footer-bottom-links { gap: var(--sp-4); flex-wrap: wrap; justify-content: center; }
  .concerns-grid { grid-template-columns: 1fr; }
}

/* ============================================================
   Inner pages — Platform, Bots, Pricing, Contact
   ============================================================ */

/* ── Page Hero (shared by inner pages) ──────────────────── */
.page-hero {
  padding: calc(var(--nav-h) + var(--sp-9)) 0 var(--sp-8);
  text-align: center;
  position: relative;
  overflow: hidden;
}
.page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(60% 60% at 50% 0%, rgba(4, 157, 191, 0.10), transparent 70%),
    radial-gradient(40% 40% at 80% 100%, rgba(5, 179, 133, 0.08), transparent 70%);
  pointer-events: none;
}
.page-hero > .container { position: relative; }
.page-hero .eyebrow {
  justify-content: center;
}
.page-hero h1 {
  font-size: clamp(2.2rem, 5vw, 3.4rem);
  letter-spacing: -0.035em;
  line-height: 1.08;
  margin: var(--sp-4) auto var(--sp-5);
  max-width: 22ch;
}
.page-hero p {
  max-width: 60ch;
  margin: 0 auto;
  font-size: 1.06rem;
  color: var(--fg-muted);
}

/* ── Product feature (two-column split) ─────────────────── */
.product-feature {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--sp-8);
  align-items: center;
  padding: var(--sp-8) 0;
  border-bottom: 1px solid var(--border);
}
.product-feature:last-child { border-bottom: none; }
.product-feature.reverse .product-feature-content { order: 2; }
.product-feature-content h2 {
  font-size: clamp(1.6rem, 3.2vw, 2.4rem);
  letter-spacing: -0.025em;
  margin: var(--sp-3) 0 var(--sp-4);
}
.product-feature-content p { font-size: 1.02rem; margin-bottom: var(--sp-4); }

/* Stacked variant (header on top, custom content below) */
.product-feature.is-stacked {
  grid-template-columns: 1fr;
  gap: var(--sp-7);
  align-items: stretch;
}
.product-feature-header {
  max-width: 720px;
  margin: 0 auto;
  text-align: center;
}
.product-feature-header h2 {
  font-size: clamp(1.6rem, 3.2vw, 2.4rem);
  letter-spacing: -0.025em;
  margin: var(--sp-3) 0 var(--sp-4);
}
.product-feature-header p {
  font-size: 1.02rem;
  color: var(--fg-muted);
  max-width: 60ch;
  margin: 0 auto;
}
.security-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--sp-5);
}
.security-cards .card { display: flex; flex-direction: column; }
.security-cards .card h3 {
  font-size: 1.08rem;
  font-weight: 700;
  color: var(--fg-strong);
  margin: 0 0 var(--sp-2);
}
.security-cards .card p {
  color: var(--fg-muted);
  font-size: 0.96rem;
  line-height: 1.55;
  margin: 0;
}
@media (max-width: 900px) {
  .security-cards { grid-template-columns: 1fr; gap: var(--sp-4); }
}
.feature-visual {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 320px;
}
.feature-list {
  display: flex;
  flex-direction: column;
  gap: var(--sp-2);
  margin-top: var(--sp-5);
}
.feature-list-item {
  display: flex;
  align-items: flex-start;
  gap: var(--sp-3);
  font-size: 0.96rem;
  color: var(--fg);
  padding: var(--sp-2) 0;
}
.feature-list-item svg {
  width: 18px;
  height: 18px;
  color: var(--good);
  flex-shrink: 0;
  margin-top: 3px;
}

/* ── Terminal (execution log mock) ──────────────────────── */
.terminal {
  background: linear-gradient(160deg, #08124C 0%, #040959 100%);
  border: 1px solid rgba(102, 187, 208, 0.18);
  border-radius: var(--radius-lg);
  padding: var(--sp-5);
  font-family: var(--font-mono);
  font-size: 0.85rem;
  width: 100%;
  max-width: 480px;
  box-shadow: var(--shadow-lg);
  color: var(--fg-on-dark);
  position: relative;
  overflow: hidden;
}
.terminal::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--accent), var(--good), transparent);
  opacity: 0.7;
}
.terminal-header {
  display: flex;
  gap: 6px;
  margin-bottom: var(--sp-4);
}
.terminal-dot {
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.18);
}
.terminal-dot:nth-child(1) { background: #FF5F57; }
.terminal-dot:nth-child(2) { background: #FFBD2E; }
.terminal-dot:nth-child(3) { background: #28C940; }
.terminal-line {
  line-height: 1.7;
  color: rgba(234, 241, 255, 0.85);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.terminal-line .comment { color: rgba(102, 187, 208, 0.6); font-style: italic; }
.terminal-line .cmd { color: var(--accent-lt); }
.terminal-line .val { color: var(--good); font-weight: 600; }

/* ── Execution console (live engine visual) ─────────────── */
.exec-console {
  width: 100%;
  max-width: 520px;
  background: linear-gradient(160deg, #08124C 0%, #040959 100%);
  border: 1px solid rgba(102, 187, 208, 0.20);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg), 0 0 0 1px rgba(4, 157, 191, 0.06);
  color: var(--fg-on-dark);
  position: relative;
  overflow: hidden;
  isolation: isolate;
}
.exec-console::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--accent-lt), var(--good), transparent);
  opacity: 0.7;
  z-index: 3;
}
.exec-console::after {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(60% 50% at 50% 30%, rgba(4, 157, 191, 0.16), transparent 70%),
    radial-gradient(50% 50% at 80% 100%, rgba(5, 179, 133, 0.07), transparent 70%);
  pointer-events: none;
  z-index: 0;
}

/* Status bar */
.exec-statbar {
  display: flex;
  align-items: center;
  gap: var(--sp-3);
  padding: 12px var(--sp-5);
  border-bottom: 1px solid rgba(102, 187, 208, 0.14);
  position: relative;
  z-index: 1;
}
.exec-statdot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: #4FE3B4;
  box-shadow: 0 0 0 0 rgba(79, 227, 180, 0.55);
  animation: exec-dot-pulse 1.8s ease-out infinite;
  flex-shrink: 0;
}
@keyframes exec-dot-pulse {
  0%   { box-shadow: 0 0 0 0 rgba(79, 227, 180, 0.55); }
  70%  { box-shadow: 0 0 0 9px rgba(79, 227, 180, 0); }
  100% { box-shadow: 0 0 0 0 rgba(79, 227, 180, 0); }
}
.exec-stattext {
  font-family: var(--font-mono);
  font-size: 0.74rem;
  text-transform: uppercase;
  letter-spacing: 0.10em;
  color: #4FE3B4;
  font-weight: 700;
}
.exec-uptime {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: var(--sp-3);
}
.exec-uptime-bars { display: flex; gap: 2px; }
.exec-uptime-bars i {
  display: block;
  width: 3px;
  height: 14px;
  background: #4FE3B4;
  border-radius: 1px;
  opacity: 0.9;
  box-shadow: 0 0 4px rgba(79, 227, 180, 0.35);
  transform-origin: bottom;
  animation: exec-bar-grow 0.5s cubic-bezier(0.2, 0.8, 0.2, 1) backwards;
}
.exec-uptime-bars i:nth-child(1)  { animation-delay: 0.05s; }
.exec-uptime-bars i:nth-child(2)  { animation-delay: 0.10s; }
.exec-uptime-bars i:nth-child(3)  { animation-delay: 0.15s; }
.exec-uptime-bars i:nth-child(4)  { animation-delay: 0.20s; }
.exec-uptime-bars i:nth-child(5)  { animation-delay: 0.25s; }
.exec-uptime-bars i:nth-child(6)  { animation-delay: 0.30s; }
.exec-uptime-bars i:nth-child(7)  { animation-delay: 0.35s; }
.exec-uptime-bars i:nth-child(8)  { animation-delay: 0.40s; }
.exec-uptime-bars i:nth-child(9)  { animation-delay: 0.45s; }
.exec-uptime-bars i:nth-child(10) { animation-delay: 0.50s; }
.exec-uptime-bars i:nth-child(11) { animation-delay: 0.55s; }
.exec-uptime-bars i:nth-child(12) { animation-delay: 0.60s; }
.exec-uptime-bars i:nth-child(13) { animation-delay: 0.65s; }
.exec-uptime-bars i:nth-child(14) { animation-delay: 0.70s; }
@keyframes exec-bar-grow {
  from { transform: scaleY(0); opacity: 0; }
  to   { transform: scaleY(1); opacity: 0.9; }
}
.exec-uptime-val {
  font-family: var(--font-mono);
  font-size: 0.70rem;
  color: var(--fg-on-dark-muted);
  letter-spacing: 0.02em;
}

/* Hub */
.exec-hub {
  position: relative;
  z-index: 1;
  padding: var(--sp-3) var(--sp-3) 0;
}
.exec-hub-svg {
  width: 100%;
  height: auto;
  display: block;
  filter: drop-shadow(0 0 24px rgba(4, 157, 191, 0.18));
}
.exec-hub-svg text { font-feature-settings: "tnum"; }
.exec-trades circle { filter: drop-shadow(0 0 5px rgba(79, 227, 180, 0.75)); }
.exec-packets circle { filter: drop-shadow(0 0 3px rgba(124, 226, 255, 0.55)); }

/* Tape */
.exec-tape {
  list-style: none;
  margin: 0;
  padding: 6px 0;
  border-top: 1px solid rgba(102, 187, 208, 0.14);
  font-family: var(--font-mono);
  font-size: 0.74rem;
  position: relative;
  z-index: 1;
  min-height: 148px;
}
.exec-tape li {
  display: grid;
  grid-template-columns: 92px 60px 1fr auto;
  gap: var(--sp-3);
  padding: 6px var(--sp-5);
  align-items: center;
  animation: exec-tape-in 0.55s cubic-bezier(0.2, 0.8, 0.2, 1);
}
.exec-tape li.is-trade {
  background: linear-gradient(90deg, rgba(79, 227, 180, 0.08), transparent 60%);
}
.exec-tape li .ts { color: var(--fg-on-dark-muted); font-size: 0.72rem; }
.exec-tape li .ev {
  font-size: 0.60rem;
  font-weight: 800;
  padding: 2px 6px;
  border-radius: 4px;
  letter-spacing: 0.10em;
  text-align: center;
  line-height: 1.4;
}
.exec-tape li .ev.price {
  color: #9BA8CC;
  background: rgba(155, 168, 204, 0.08);
  border: 1px solid rgba(155, 168, 204, 0.18);
}
.exec-tape li .ev.buy {
  color: #4FE3B4;
  background: rgba(5, 179, 133, 0.18);
  border: 1px solid rgba(79, 227, 180, 0.40);
  box-shadow: 0 0 12px rgba(79, 227, 180, 0.25);
}
.exec-tape li .ev.sell {
  color: #FFB07A;
  background: rgba(242, 130, 65, 0.18);
  border: 1px solid rgba(255, 176, 122, 0.40);
  box-shadow: 0 0 12px rgba(242, 130, 65, 0.20);
}
.exec-tape li .desc { color: var(--fg-on-dark); font-weight: 500; letter-spacing: 0.01em; }
.exec-tape li .desc strong { color: var(--fg-on-dark); font-weight: 700; }
.exec-tape li .src {
  font-size: 0.68rem;
  letter-spacing: 0.04em;
  color: var(--accent-lt);
}
.exec-tape li.is-trade .src { color: #4FE3B4; font-weight: 700; }
@keyframes exec-tape-in {
  0%   { opacity: 0; transform: translateY(-6px); }
  100% { opacity: 1; transform: translateY(0); }
}

@media (prefers-reduced-motion: reduce) {
  .exec-statdot { animation: none; box-shadow: 0 0 0 3px rgba(79, 227, 180, 0.25); }
  .exec-packets, .exec-trades, .exec-rings { display: none; }
  .exec-uptime-bars i { animation: none; }
  .exec-tape li { animation: none; }
}

/* Mobile: ensure the console never causes horizontal scroll */
@media (max-width: 540px) {
  .exec-statbar { padding: 10px var(--sp-4); gap: var(--sp-2); }
  .exec-stattext { font-size: 0.68rem; letter-spacing: 0.06em; }
  .exec-uptime-val { display: none; }
  .exec-uptime-bars { gap: 1px; }
  .exec-uptime-bars i { width: 2px; height: 12px; }
  .exec-hub { padding: var(--sp-2); }
  .exec-tape { font-size: 0.68rem; min-height: 124px; }
  .exec-tape li {
    grid-template-columns: 64px 52px minmax(0, 1fr);
    padding: 5px var(--sp-4);
    gap: var(--sp-2);
  }
  .exec-tape li .ts { font-size: 0.66rem; }
  .exec-tape li .desc { font-size: 0.66rem; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; min-width: 0; }
  .exec-tape li .src { display: none; }
}
@media (max-width: 380px) {
  .exec-stattext { font-size: 0.62rem; }
  .exec-uptime-bars i:nth-child(n+9) { display: none; }
}

/* ── Security stack ─────────────────────────────────────── */
.security-stack {
  display: flex;
  flex-direction: column;
  gap: var(--sp-3);
  width: 100%;
  max-width: 480px;
}
.security-row {
  display: flex;
  align-items: center;
  gap: var(--sp-3);
  padding: var(--sp-4);
  background: var(--bg-soft);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  transition: transform var(--t-base), box-shadow var(--t-base), border-color var(--t-base);
}
.security-row:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
  border-color: var(--good);
}
.security-icon {
  width: 38px;
  height: 38px;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(5, 179, 133, 0.10);
  color: var(--good);
  flex-shrink: 0;
}
.security-icon svg { width: 20px; height: 20px; }
.security-text {
  display: flex;
  flex-direction: column;
  gap: 2px;
  flex: 1;
}
.security-text strong { color: var(--fg-strong); font-size: 0.95rem; }
.security-text span { color: var(--fg-muted); font-size: 0.82rem; }

/* ── Exchanges grid ─────────────────────────────────────── */
.exchanges-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--sp-3);
  margin-top: var(--sp-6);
}
.exchange-chip {
  background: var(--bg-soft);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: var(--sp-5);
  text-align: center;
  transition: transform var(--t-base), box-shadow var(--t-base), border-color var(--t-base);
}
.exchange-chip:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
  border-color: var(--accent);
}
.exchange-chip strong {
  display: block;
  color: var(--fg-strong);
  font-size: 1.05rem;
  margin-bottom: 4px;
}
.exchange-chip span {
  color: var(--good);
  font-size: 0.78rem;
  font-weight: 600;
}
.exchange-chip.muted strong { color: var(--fg-muted); }
.exchange-chip.muted span { color: var(--fg-muted); }

/* ── Bots page: animated demos ──────────────────────────── */
.bot-demo {
  background: var(--bg-soft);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: var(--sp-5);
  box-shadow: var(--shadow);
}
.bot-demo-label {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: var(--sp-4);
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--fg-muted);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

/* DCA demo ---------------------------------------------- */
.demo-dca {
  position: relative;
  height: 220px;
  padding-bottom: 32px;
}
.demo-dca .chart-area {
  position: relative;
  height: 100%;
  border-radius: var(--radius);
  overflow: hidden;
}
.demo-dca .price-line {
  width: 100%; height: 100%;
  stroke: url(#dca-grad);
  stroke-width: 2.5;
  fill: none;
}
.demo-dca .price-line path:not(.area) {
  stroke-dasharray: 800;
  stroke-dashoffset: 800;
  animation: dca-draw 3s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}
@keyframes dca-draw { to { stroke-dashoffset: 0; } }
.demo-dca .buy-marker {
  position: absolute;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--accent);
  border: 2px solid #fff;
  box-shadow: 0 0 0 3px rgba(4, 157, 191, 0.25), 0 0 14px rgba(4, 157, 191, 0.45);
  opacity: 0;
  animation: marker-pop 0.5s ease-out forwards;
}
.demo-dca .buy-marker:nth-child(2)  { left: 14%; top: 58%; animation-delay: 0.6s; }
.demo-dca .buy-marker:nth-child(3)  { left: 30%; top: 42%; animation-delay: 1.0s; }
.demo-dca .buy-marker:nth-child(4)  { left: 50%; top: 70%; background: var(--warning); box-shadow: 0 0 0 3px rgba(242, 130, 65, 0.25), 0 0 14px rgba(242, 130, 65, 0.55); animation-delay: 1.5s; }
.demo-dca .buy-marker:nth-child(5)  { left: 72%; top: 38%; animation-delay: 2.0s; }
.demo-dca .buy-marker:nth-child(6)  { left: 92%; top: 18%; background: var(--good); box-shadow: 0 0 0 3px rgba(5, 179, 133, 0.25), 0 0 14px rgba(5, 179, 133, 0.5); animation-delay: 2.5s; }
.demo-dca .buy-marker.dip::before {
  content: 'DIP +1x';
  position: absolute;
  bottom: calc(100% + 6px); left: 50%;
  transform: translateX(-50%);
  font-family: var(--font-mono);
  font-size: 0.65rem;
  font-weight: 700;
  background: var(--warning);
  color: #fff;
  padding: 3px 7px;
  border-radius: 4px;
  white-space: nowrap;
}
@keyframes marker-pop { from { opacity: 0; transform: scale(0); } to { opacity: 1; transform: scale(1); } }
.demo-dca .axis-ticks {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  display: flex;
  justify-content: space-between;
  font-size: 0.72rem;
  color: var(--fg-muted);
  padding-top: var(--sp-2);
}
.demo-dca-footer {
  display: flex;
  justify-content: space-between;
  margin-top: var(--sp-4);
  padding-top: var(--sp-4);
  border-top: 1px solid var(--border);
}
.demo-dca-footer .item .lbl { font-size: 0.72rem; color: var(--fg-muted); text-transform: uppercase; letter-spacing: 0.06em; }
.demo-dca-footer .item .val { font-size: 1.1rem; font-weight: 700; color: var(--fg-strong); margin-top: 2px; }
.demo-dca-footer .item .val.green { color: var(--good); }

/* GRID demo --------------------------------------------- */
.demo-grid {
  position: relative;
  height: 280px;
}
.demo-grid .grid-canvas {
  position: relative;
  width: 100%; height: 100%;
  background: linear-gradient(180deg, rgba(4, 157, 191, 0.04), rgba(5, 179, 133, 0.04));
  border-radius: var(--radius);
  overflow: hidden;
}
.demo-grid .grid-line {
  position: absolute;
  left: 0; right: 0;
  height: 1px;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  padding-right: var(--sp-3);
}
.demo-grid .grid-line::before {
  content: '';
  position: absolute;
  inset: 0 0 0 0;
  border-top: 1px dashed currentColor;
  opacity: 0.4;
}
.demo-grid .grid-line span {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  font-weight: 700;
  background: var(--bg-soft);
  padding: 2px 6px;
  border-radius: 4px;
  position: relative;
  z-index: 1;
}
.demo-grid .grid-line.sell { color: var(--good); }
.demo-grid .grid-line.buy  { color: var(--accent); }
.demo-grid .grid-line.now  { color: var(--fg-strong); }
.demo-grid .grid-line.now::before { border-top-style: solid; opacity: 0.9; }
.demo-grid .price-ball {
  position: absolute;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--fg-strong);
  border: 2px solid #fff;
  box-shadow: 0 0 0 3px rgba(4, 9, 89, 0.25), 0 0 12px rgba(4, 9, 89, 0.5);
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  animation: price-osc 6s ease-in-out infinite;
}
@keyframes price-osc {
  0%, 100% { top: 50%; }
  20% { top: 64%; }
  40% { top: 28%; }
  60% { top: 18%; }
  80% { top: 78%; }
}
.demo-grid .grid-flash {
  position: absolute;
  left: 0; right: 0;
  height: 2px;
  opacity: 0;
  animation: flash 6s ease-in-out infinite;
}
.demo-grid .grid-flash.b1 { top: 64%; background: var(--accent); animation-delay: 1.0s; }
.demo-grid .grid-flash.s1 { top: 28%; background: var(--good); animation-delay: 2.2s; }
.demo-grid .grid-flash.s2 { top: 18%; background: var(--good); animation-delay: 3.6s; }
.demo-grid .grid-flash.b2 { top: 78%; background: var(--accent); animation-delay: 4.8s; }
@keyframes flash { 0%, 80%, 100% { opacity: 0; box-shadow: none; } 10%, 30% { opacity: 1; box-shadow: 0 0 16px currentColor; } }
.demo-grid-footer {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--sp-3);
  margin-top: var(--sp-4);
}

/* Recurring demo ---------------------------------------- */
.demo-rec {
  display: flex;
  flex-direction: column;
  gap: var(--sp-3);
}
.sched-item {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: var(--sp-4);
  background: var(--bg-soft);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: border-color var(--t-base), transform var(--t-base);
}
.sched-item:hover,
.sched-item.active { border-color: var(--accent); transform: translateX(4px); box-shadow: var(--shadow); }
.sched-item.active .badge {
  background: var(--accent);
  color: #fff;
}
.sched-item .meta {
  display: flex;
  align-items: center;
  gap: var(--sp-3);
}
.sched-item .icon {
  width: 36px;
  height: 36px;
  border-radius: var(--radius-sm);
  background: rgba(4, 157, 191, 0.10);
  color: var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
}
.sched-item .icon svg { width: 18px; height: 18px; }
.sched-item .title { font-size: 0.95rem; font-weight: 600; color: var(--fg-strong); }
.sched-item .sub { font-size: 0.78rem; color: var(--fg-muted); margin-top: 2px; }
.sched-item .badge {
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding: 4px 9px;
  background: rgba(4, 157, 191, 0.10);
  color: var(--accent);
  border-radius: 100px;
}
.sched-item .pulse-ring {
  position: absolute;
  right: -20px; top: 50%;
  width: 60px; height: 60px;
  border: 2px solid var(--accent);
  border-radius: 50%;
  opacity: 0;
  transform: translate(0, -50%) scale(0.5);
  animation: pulse-ring 4s ease-out infinite;
}
.sched-item:nth-child(2) .pulse-ring { animation-delay: 1s; }
.sched-item:nth-child(3) .pulse-ring { animation-delay: 2s; }
.sched-item:nth-child(4) .pulse-ring { animation-delay: 3s; }
@keyframes pulse-ring { 0% { opacity: 0; transform: translate(0, -50%) scale(0.5); } 30% { opacity: 0.5; } 100% { opacity: 0; transform: translate(0, -50%) scale(1.3); } }
.demo-rec-summary {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--sp-3);
  margin-top: var(--sp-3);
}

/* ── Benefits grid (bots page) ──────────────────────────── */
.benefits-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--sp-5);
  margin-top: var(--sp-7);
}
.benefit-item {
  display: flex;
  flex-direction: column;
  gap: var(--sp-3);
  padding: var(--sp-5);
  background: var(--bg-soft);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  transition: transform var(--t-base), box-shadow var(--t-base), border-color var(--t-base);
}
.benefit-item:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: var(--accent);
}
.benefit-icon {
  width: 48px;
  height: 48px;
  border-radius: var(--radius);
  background: linear-gradient(135deg, rgba(4, 157, 191, 0.12), rgba(5, 179, 133, 0.12));
  color: var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
}
.benefit-icon svg { width: 24px; height: 24px; }
.benefit-item h3 { color: var(--fg-strong); font-size: 1.1rem; margin-bottom: 4px; }
.benefit-item p { color: var(--fg-muted); font-size: 0.94rem; line-height: 1.6; }

/* ── Pricing page ───────────────────────────────────────── */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--sp-4);
  margin-top: var(--sp-6);
}
.pricing-card {
  position: relative;
  display: flex;
  flex-direction: column;
  background:
    linear-gradient(var(--bg-soft), var(--bg-soft)) padding-box,
    var(--card-stripe, var(--accent)) border-box;
  border: 4px solid transparent;
  border-right: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  border-left: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: calc(var(--sp-6) - 3px) var(--sp-6) var(--sp-6);
  transition: transform var(--t-base), box-shadow var(--t-base), border-color var(--t-base);
  box-shadow: 0 4px 14px -6px var(--card-halo, rgba(4, 9, 89, 0.08));
}
.pricing-card:hover {
  transform: translateY(-4px);
  border-color: transparent var(--card-stripe-solid, var(--accent)) var(--card-stripe-solid, var(--accent));
  box-shadow: 0 14px 32px -10px var(--card-halo), 0 4px 12px rgba(4, 9, 89, 0.06);
}
.pricing-card.featured {
  background:
    linear-gradient(160deg, var(--primary) 0%, var(--primary-2) 100%) padding-box,
    var(--card-stripe, var(--accent)) border-box;
  color: var(--fg-on-dark);
  border-right-color: rgba(102, 187, 208, 0.30);
  border-bottom-color: rgba(102, 187, 208, 0.30);
  border-left-color: rgba(102, 187, 208, 0.30);
  box-shadow: 0 18px 36px -12px var(--card-halo, rgba(140, 148, 153, 0.35)), 0 6px 18px rgba(4, 9, 89, 0.18);
  transform: translateY(-8px);
}
.pricing-card.featured:hover {
  transform: translateY(-12px);
  border-color: transparent rgba(102, 187, 208, 0.55) rgba(102, 187, 208, 0.55);
  box-shadow: 0 24px 44px -12px var(--card-halo, rgba(140, 148, 153, 0.45)), 0 8px 22px rgba(4, 9, 89, 0.22);
}
.pricing-card.featured h3,
.pricing-card.featured .pricing-name,
.pricing-card.featured .pricing-price { color: #fff; }
.pricing-card.featured .pricing-desc,
.pricing-card.featured .pricing-feature { color: rgba(234, 241, 255, 0.85); }
.pricing-card.featured .pricing-feature svg.check { color: #4FE3B4; }
.pricing-badge {
  position: absolute;
  top: -14px; left: 50%;
  transform: translateX(-50%);
  background: linear-gradient(135deg, var(--accent), var(--good));
  color: #fff;
  font-size: 0.72rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  padding: 7px 18px;
  border-radius: 100px;
  border: 2px solid var(--bg-body);
  box-shadow: 0 6px 20px -4px rgba(5, 179, 133, 0.55), 0 2px 6px rgba(4, 9, 89, 0.18);
  white-space: nowrap;
}
.pricing-name {
  font-size: 0.82rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--accent);
  margin-bottom: var(--sp-3);
}
.pricing-card.featured .pricing-name { color: var(--accent-lt); }
.pricing-price {
  display: flex;
  align-items: baseline;
  gap: 2px;
  margin-bottom: var(--sp-3);
  color: var(--fg-strong);
}
.pricing-price .currency { font-size: 1.4rem; font-weight: 700; }
.pricing-price .amount { font-size: 2.6rem; font-weight: 800; letter-spacing: -0.025em; }
.pricing-price .period { font-size: 0.92rem; color: var(--fg-muted); font-weight: 500; }
.pricing-card.featured .pricing-price .period { color: rgba(234, 241, 255, 0.65); }
.pricing-desc {
  color: var(--fg-muted);
  font-size: 0.92rem;
  margin-bottom: var(--sp-5);
  min-height: 3em;
}
.pricing-features {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: var(--sp-2);
  margin-bottom: var(--sp-5);
  flex: 1;
}
.pricing-feature {
  display: flex;
  align-items: flex-start;
  gap: var(--sp-2);
  font-size: 0.88rem;
  color: var(--fg);
  line-height: 1.5;
}
.pricing-feature svg.check { width: 16px; height: 16px; color: var(--good); flex-shrink: 0; margin-top: 3px; }
.pricing-feature svg.cross { width: 16px; height: 16px; color: var(--fg-muted); opacity: 0.5; flex-shrink: 0; margin-top: 3px; }
.pricing-feature.off { color: var(--fg-muted); opacity: 0.55; }
.pricing-savings {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--good);
  background: rgba(5, 179, 133, 0.12);
  padding: 3px 8px;
  border-radius: 100px;
  margin-top: var(--sp-2);
}
.pricing-card.featured .pricing-savings { background: rgba(79, 227, 180, 0.15); color: #4FE3B4; }

/* Pricing billing toggle */
.plan-toggle-wrap {
  display: flex;
  justify-content: center;
  margin-bottom: var(--sp-5);
}
.plan-toggle {
  display: inline-flex;
  background: var(--bg-soft);
  border: 1px solid var(--border-strong);
  border-radius: 100px;
  padding: 4px;
  box-shadow: var(--shadow-sm);
}
.plan-toggle button {
  padding: 9px 20px;
  border-radius: 100px;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--fg-muted);
  transition: all var(--t-base);
}
.plan-toggle button.active {
  background: linear-gradient(135deg, var(--accent), var(--good));
  color: #fff;
  box-shadow: var(--shadow-accent);
}
.annual-save {
  display: inline-flex;
  align-items: center;
  background: rgba(5, 179, 133, 0.15);
  color: var(--good);
  font-size: 0.7rem;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: 100px;
  margin-left: var(--sp-2);
  letter-spacing: 0.04em;
}
.plan-toggle button.active .annual-save {
  background: rgba(255, 255, 255, 0.22);
  color: #fff;
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.18) inset;
}

/* Premium tier accents (Base / Bronze / Silver / Gold) */
.pricing-card.tier-base {
  --card-stripe: linear-gradient(90deg, #6B86A8, #B0BFD2);
  --card-stripe-solid: #6B86A8;
  --card-halo: rgba(107, 134, 168, 0.14);
}
.pricing-card.tier-bronze {
  --card-stripe: linear-gradient(90deg, #E0A66B, #B87333 55%, #8B5A2B);
  --card-stripe-solid: #B87333;
  --card-halo: rgba(184, 115, 51, 0.22);
}
.pricing-card.tier-silver {
  --card-stripe: linear-gradient(90deg, #EEF1F4, #B8BFC5 55%, #8E9499);
  --card-stripe-solid: #8E9499;
  --card-halo: rgba(140, 148, 153, 0.18);
}
.pricing-card.tier-gold {
  --card-stripe: linear-gradient(90deg, #FFE57F, #E5B731 55%, #B8860B);
  --card-stripe-solid: #C9A017;
  --card-halo: rgba(201, 160, 23, 0.26);
}

.pricing-card.tier-bronze .pricing-name { color: #B87333; }
.pricing-card.tier-gold   .pricing-name { color: #C9A017; }
.pricing-card.tier-silver.featured .pricing-name {
  background: linear-gradient(135deg, #EEF1F4 0%, #C7CDD3 50%, #8E9499 100%);
  -webkit-background-clip: text;
          background-clip: text;
  color: transparent;
}

.pricing-card.tier-gold       { transform: translateY(-4px); }
.pricing-card.tier-gold:hover { transform: translateY(-8px); }

/* Included-in-every-plan band */
.included-band {
  background: linear-gradient(135deg, var(--bg-soft), var(--bg-tint));
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: var(--sp-6);
  box-shadow: var(--shadow-sm);
}
.included-title {
  font-size: 0.82rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--accent);
  text-align: center;
  margin-bottom: var(--sp-5);
}
.included-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: var(--sp-4);
}
.included-cell {
  display: flex;
  gap: var(--sp-3);
  align-items: flex-start;
  padding: var(--sp-3);
  border-radius: var(--radius-sm);
  transition: background var(--t-base);
}
.included-cell:hover { background: rgba(4, 157, 191, 0.06); }
.included-cell svg {
  width: 24px;
  height: 24px;
  color: var(--good);
  flex-shrink: 0;
}
.included-cell strong {
  display: block;
  color: var(--fg-strong);
  font-size: 0.95rem;
  margin-bottom: 2px;
}
.included-cell span {
  color: var(--fg-muted);
  font-size: 0.82rem;
  line-height: 1.45;
}

/* Referral banner */
.referral-banner {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: var(--sp-5);
  padding: var(--sp-6);
  background: linear-gradient(135deg, rgba(4, 157, 191, 0.08), rgba(5, 179, 133, 0.08));
  border: 1px solid rgba(4, 157, 191, 0.20);
  border-radius: var(--radius-lg);
  margin-top: var(--sp-7);
}
.referral-banner .icon {
  width: 56px; height: 56px;
  border-radius: var(--radius);
  background: linear-gradient(135deg, var(--accent), var(--good));
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  flex-shrink: 0;
}
.referral-banner .icon svg { width: 26px; height: 26px; }
.referral-banner h3 { font-size: 1.2rem; color: var(--fg-strong); margin-bottom: 4px; }
.referral-banner p { font-size: 0.94rem; color: var(--fg-muted); margin: 0; }

/* Add-on bots line */
.addons-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--sp-4);
  margin-top: var(--sp-5);
  padding: var(--sp-5);
  background: var(--bg-tint);
  border-radius: var(--radius-lg);
}
.addon-cell {
  display: flex;
  flex-direction: column;
  gap: 4px;
  text-align: center;
}
.addon-cell .lbl { font-size: 0.72rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.08em; color: var(--fg-muted); }
.addon-cell .val { font-size: 1.05rem; font-weight: 700; color: var(--fg-strong); }
.addon-cell .val.na { color: var(--fg-muted); font-weight: 500; }

/* ── FAQ ────────────────────────────────────────────────── */
.faq-list { display: flex; flex-direction: column; gap: var(--sp-3); margin-top: var(--sp-6); }
.faq-item {
  background: var(--bg-soft);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: border-color var(--t-base);
}
.faq-item:hover { border-color: var(--accent); }
.faq-question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: var(--sp-5);
  font-size: 1rem;
  font-weight: 600;
  color: var(--fg-strong);
  text-align: left;
  transition: color var(--t-base);
}
.faq-question:hover { color: var(--accent); }
.faq-question svg {
  width: 20px;
  height: 20px;
  color: var(--accent);
  transition: transform var(--t-base);
  flex-shrink: 0;
  margin-left: var(--sp-3);
}
.faq-question.open svg { transform: rotate(45deg); }
.faq-answer {
  max-height: 0;
  overflow: hidden;
  padding: 0 var(--sp-5);
  font-size: 0.95rem;
  color: var(--fg-muted);
  line-height: 1.7;
  transition: max-height var(--t-slow), padding var(--t-base);
}
.faq-answer.open {
  max-height: 360px;
  padding: 0 var(--sp-5) var(--sp-5);
}
.faq-answer a { color: var(--accent); border-bottom: 1px solid var(--accent); }

/* ── Contact page ───────────────────────────────────────── */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: var(--sp-7);
  margin-top: var(--sp-5);
}
.contact-info { display: flex; flex-direction: column; gap: var(--sp-4); }
.contact-info h2 { font-size: 1.4rem; color: var(--fg-strong); margin-bottom: var(--sp-3); }
.contact-detail {
  display: flex;
  align-items: flex-start;
  gap: var(--sp-3);
  padding: var(--sp-4);
  background: var(--bg-soft);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  transition: border-color var(--t-base), transform var(--t-base);
}
.contact-detail:hover { border-color: var(--accent); transform: translateX(4px); }
.contact-detail svg {
  width: 22px; height: 22px;
  color: var(--accent);
  flex-shrink: 0;
  margin-top: 2px;
}
.contact-detail-text { display: flex; flex-direction: column; gap: 2px; }
.contact-detail-text strong { color: var(--fg-strong); font-size: 0.95rem; }
.contact-detail-text span { color: var(--fg-muted); font-size: 0.88rem; }
.contact-detail-text a { color: var(--accent); }
.contact-detail-text a:hover { text-decoration: underline; }

.form-card {
  background: var(--bg-soft);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: var(--sp-6);
  box-shadow: var(--shadow);
}
.form-card h3 { color: var(--fg-strong); margin-bottom: var(--sp-5); font-size: 1.3rem; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: var(--sp-4); }
.form-group { display: flex; flex-direction: column; gap: var(--sp-2); margin-bottom: var(--sp-4); }
.form-group label { font-size: 0.88rem; font-weight: 600; color: var(--fg-strong); }
.form-group label span[aria-label="required"] { color: var(--warning); margin-left: 2px; }
.form-control {
  width: 100%;
  padding: 12px var(--sp-3);
  background: var(--bg-tint);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  color: var(--fg-strong);
  font-size: 0.95rem;
  transition: border-color var(--t-base), background var(--t-base);
}
.form-control:focus {
  border-color: var(--accent);
  background: var(--bg-soft);
  box-shadow: 0 0 0 3px rgba(4, 157, 191, 0.15);
}
textarea.form-control { min-height: 130px; resize: vertical; font-family: inherit; }
.form-submit { width: 100%; justify-content: center; margin-top: var(--sp-2); }
.form-group.consent {
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: start;
  gap: var(--sp-3);
}
.form-group.consent input[type="checkbox"] {
  width: 18px; height: 18px;
  margin-top: 2px;
  accent-color: var(--accent);
}
.form-group.consent label {
  font-size: 0.84rem;
  color: var(--fg-muted);
  font-weight: 400;
  line-height: 1.5;
  cursor: pointer;
}
.form-group.consent a { color: var(--accent); border-bottom: 1px solid var(--accent); }
.form-group.consent label span[aria-label="required"] { color: var(--warning); }

/* Narrow container (used by the simplified contact form) */
.container-narrow { max-width: 680px; }

/* Honeypot — completely hidden from users; bots will still fill it. */
.hp-field {
  position: absolute !important;
  left: -10000px !important;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

/* Form success / error banners */
.form-banner {
  display: flex;
  align-items: flex-start;
  gap: var(--sp-3);
  padding: var(--sp-4) var(--sp-5);
  border-radius: var(--radius);
  border: 1px solid;
  margin-bottom: var(--sp-5);
}
.form-banner[hidden] { display: none; }
.form-banner svg { width: 22px; height: 22px; flex-shrink: 0; margin-top: 2px; }
.form-banner strong { display: block; color: var(--fg-strong); font-size: 0.98rem; margin-bottom: 2px; }
.form-banner p { margin: 0; font-size: 0.9rem; color: var(--fg-muted); }
.form-banner.success {
  background: rgba(5, 179, 133, 0.08);
  border-color: rgba(5, 179, 133, 0.32);
}
.form-banner.success svg { color: var(--good); }
.form-banner.error {
  background: rgba(242, 130, 65, 0.08);
  border-color: rgba(242, 130, 65, 0.32);
}
.form-banner.error svg { color: var(--warning); }
.form-banner.error a { color: var(--accent); border-bottom: 1px solid var(--accent); }

/* Contact promise box */
.contact-promise {
  margin-top: var(--sp-3);
  padding: var(--sp-5);
  background: linear-gradient(135deg, rgba(4, 157, 191, 0.06), rgba(5, 179, 133, 0.06));
  border: 1px solid rgba(4, 157, 191, 0.20);
  border-radius: var(--radius);
}
.promise-head {
  display: flex;
  align-items: center;
  gap: var(--sp-2);
  font-size: 0.82rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--accent);
  margin-bottom: var(--sp-3);
}
.promise-head svg { width: 18px; height: 18px; }
.promise-list {
  display: flex;
  flex-direction: column;
  gap: var(--sp-2);
  list-style: none;
}
.promise-list li {
  display: flex;
  align-items: flex-start;
  gap: var(--sp-2);
  font-size: 0.9rem;
  color: var(--fg);
}
.promise-list .dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  margin-top: 7px;
  flex-shrink: 0;
}
.promise-list .dot.good { background: var(--good); box-shadow: 0 0 0 3px rgba(5, 179, 133, 0.18); }

/* Contact social block */
.contact-social {
  margin-top: var(--sp-4);
}
.contact-social p {
  font-size: 0.85rem;
  color: var(--fg-muted);
  margin-bottom: var(--sp-3);
}

/* ── "Best for" pill (bots page) ────────────────────────── */
.best-for-card {
  display: flex;
  flex-direction: column;
  gap: var(--sp-2);
  margin-top: var(--sp-5);
  padding: var(--sp-4) var(--sp-5);
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: var(--bg-soft);
}
.best-for-card .lbl {
  font-size: 0.72rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}
.best-for-card p { font-size: 0.95rem; color: var(--fg); margin: 0; }
.best-for-card.dca  { background: linear-gradient(135deg, rgba(4, 157, 191, 0.06), transparent); border-color: rgba(4, 157, 191, 0.30); }
.best-for-card.dca  .lbl { color: var(--accent); }
.best-for-card.grid { background: linear-gradient(135deg, rgba(5, 179, 133, 0.06), transparent); border-color: rgba(5, 179, 133, 0.30); }
.best-for-card.grid .lbl { color: var(--good); }
.best-for-card.rec  { background: linear-gradient(135deg, rgba(242, 130, 65, 0.06), transparent); border-color: rgba(242, 130, 65, 0.30); }
.best-for-card.rec  .lbl { color: var(--warning); }

/* ── Demo callout chip ──────────────────────────────────── */
.demo-callout {
  display: inline-flex;
  align-items: center;
  gap: var(--sp-2);
  margin-top: var(--sp-3);
  padding: 6px var(--sp-3);
  font-size: 0.82rem;
  font-weight: 600;
  border-radius: var(--radius-sm);
}
.demo-callout.good { background: rgba(5, 179, 133, 0.08); color: var(--good-dk); border: 1px solid rgba(5, 179, 133, 0.25); }
.demo-callout svg { color: currentColor; }

/* ── Legal pages (Privacy, Terms) ────────────────────────── */
.page-hero.legal-hero {
  padding: calc(var(--nav-h) + var(--sp-7)) 0 var(--sp-6);
  text-align: left;
}
.page-hero.legal-hero .eyebrow { justify-content: flex-start; }
.page-hero.legal-hero h1 {
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  letter-spacing: -0.02em;
  line-height: 1.15;
  margin: var(--sp-3) 0 var(--sp-3);
  max-width: none;
}
.page-hero.legal-hero p {
  margin: 0;
  font-size: 1rem;
  max-width: 70ch;
}

.legal-content {
  max-width: 760px;
  margin: 0 auto;
  font-size: 0.96rem;
  line-height: 1.7;
  color: var(--fg);
}
.legal-content p { margin: 0 0 var(--sp-4); }
.legal-content ul,
.legal-content ol {
  margin: 0 0 var(--sp-4);
  padding-left: var(--sp-5);
}
.legal-content li {
  margin-bottom: var(--sp-2);
  line-height: 1.65;
}
.legal-content li::marker { color: var(--fg-muted); }
.legal-content a {
  color: var(--accent);
  text-decoration: underline;
  text-underline-offset: 2px;
  text-decoration-thickness: 1px;
}
.legal-content a:hover { color: var(--accent-dk, var(--accent)); }
.legal-content strong { color: var(--fg-strong); font-weight: 600; }

.legal-content h2 {
  font-size: 1.2rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  color: var(--fg-strong);
  margin: var(--sp-7) 0 var(--sp-3);
  padding-bottom: var(--sp-2);
  border-bottom: 1px solid var(--border);
  scroll-margin-top: calc(var(--nav-h) + var(--sp-3));
}
.legal-content h2:first-child { margin-top: 0; }
.legal-content h3 {
  font-size: 1rem;
  font-weight: 600;
  color: var(--fg-strong);
  margin: var(--sp-5) 0 var(--sp-2);
  scroll-margin-top: calc(var(--nav-h) + var(--sp-3));
}

.legal-meta {
  margin-bottom: var(--sp-6);
  padding: var(--sp-4) var(--sp-5);
  background: var(--bg-tint);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  font-size: 0.85rem;
  line-height: 1.6;
  color: var(--fg-muted);
}
.legal-meta strong { color: var(--fg); font-weight: 600; }

@media (max-width: 640px) {
  .legal-content { font-size: 0.94rem; }
  .legal-content h2 { font-size: 1.1rem; margin-top: var(--sp-6); }
  .legal-content h3 { font-size: 0.98rem; }
  .legal-meta { padding: var(--sp-3) var(--sp-4); font-size: 0.82rem; }
}

/* ── Responsive (inner pages) ───────────────────────────── */
@media (max-width: 1024px) {
  .product-feature { grid-template-columns: 1fr; gap: var(--sp-6); padding: var(--sp-6) 0; }
  .product-feature.reverse .product-feature-content { order: 0; }
  .pricing-grid { grid-template-columns: repeat(2, 1fr); }
  .pricing-card.featured { transform: none; }
  .pricing-card.featured:hover { transform: translateY(-4px); }
  .benefits-grid { grid-template-columns: repeat(2, 1fr); }
  .exchanges-grid { grid-template-columns: repeat(3, 1fr); }
  .contact-grid { grid-template-columns: 1fr; gap: var(--sp-6); }
  .addons-row { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
  .page-hero { padding-top: calc(var(--nav-h) + var(--sp-7)); }
  .pricing-grid { grid-template-columns: 1fr; }
  .benefits-grid { grid-template-columns: 1fr; }
  .exchanges-grid { grid-template-columns: repeat(2, 1fr); }
  .form-row { grid-template-columns: 1fr; }
  .referral-banner { grid-template-columns: 1fr; text-align: center; }
  .referral-banner .icon { margin: 0 auto; }
  .addons-row { grid-template-columns: 1fr; }
  .included-grid { grid-template-columns: 1fr; }
}
@media (max-width: 1024px) and (min-width: 641px) {
  .included-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; }
}
