/* ============================================================
   Simplifyed — Premium Dark Fintech Design System v3
   Font: Plus Jakarta Sans + Space Grotesk + JetBrains Mono
   ============================================================ */

/* ── Tokens ─────────────────────────────────────────────────── */
:root {
  --bg:          #06080f;
  --bg-2:        #090d18;
  --surface:     #0d1220;
  --surface-2:   #111827;
  --surface-3:   #1a2235;
  --surface-4:   #212d45;
  --line:        rgba(255,255,255,0.06);
  --line-2:      rgba(96,165,250,0.2);
  --line-3:      rgba(34,211,238,0.15);

  --text:        #f0f6ff;
  --text-2:      #c8d8f0;
  --muted:       #94afd4;
  --subtle:      #6b84a8;

  --brand:       #3b82f6;
  --brand-light: #60a5fa;
  --brand-2:     #22d3ee;
  --brand-glow:  rgba(59,130,246,0.3);
  --cyan-glow:   rgba(34,211,238,0.25);

  --accent:      #f97316;
  --green:       #10d98a;
  --green-dim:   rgba(16,217,138,0.15);
  --red:         #f43f5e;
  --gold:        #fbbf24;
  --purple:      #a78bfa;

  --radius:      12px;
  --radius-lg:   18px;
  --radius-xl:   24px;
  --radius-2xl:  32px;

  --shadow:      0 4px 32px rgba(0,0,0,0.6);
  --shadow-lg:   0 12px 60px rgba(0,0,0,0.7);
  --glow-brand:  0 0 60px rgba(59,130,246,0.15), 0 0 20px rgba(59,130,246,0.1);
  --glow-cyan:   0 0 60px rgba(34,211,238,0.12);
  --site-ticker-height: 0px;

  --font-sans:   'Plus Jakarta Sans', 'Inter', system-ui, sans-serif;
  --font-display:'Space Grotesk', 'Plus Jakarta Sans', sans-serif;
  --font-mono:   'JetBrains Mono', 'Fira Code', monospace;

  --hero-image: url("../../images/background1.jpg");
}

/* ── Per-page hero images ───────────────────────────────────── */
body[data-page="index"]         { --hero-image: url("../../images/simplifyeddashboard-1869x1051.png"); }
body[data-page="platform"]      { --hero-image: url("../../images/simplifyeddashboarddark-2034x1178.jpg"); }
body[data-page="services"]      { --hero-image: url("../../images/simplifyeddashboard-2026x1180.jpg"); }
body[data-page="hosting"]       { --hero-image: url("../../images/dashboard-2-1256x706.png"); }
body[data-page="support-noc"]   { --hero-image: url("../../images/chart-background-features-a-trading-graph-1344x896.png"); }
body[data-page="indicator-lab"] { --hero-image: url("../../images/f-3-750x500.png"); }
body[data-page="training"]      { --hero-image: url("../../images/video1.jpg"); }
body[data-page="enterprise"]    { --hero-image: url("../../images/simplifyeddashboard-1920x1080.png"); }
body[data-page="workflow-apps"] { --hero-image: url("../../images/chunli-simple-geometric-abstract-shapes-of-currency-and-money-w-e0ef717a-c6d2-4af3-a540-93ed86328b28-1024x1024.png"); }
body[data-page="plans"]         { --hero-image: url("../../images/plans-meta.png"); }
body[data-page="faq"]           { --hero-image: url("../../images/about-meta.png"); }
body[data-page="contact"]       { --hero-image: url("../../images/simplifyeddashboard-2026x1180.jpg"); }
body[data-page="about"]         { --hero-image: url("../../images/about-meta.png"); }
body[data-page="basic"]         { --hero-image: url("../../images/basic-meta.png"); }
body[data-page="bridge"]        { --hero-image: url("../../images/bridge-meta.png"); }
body[data-page="options"]       { --hero-image: url("../../images/options-meta.png"); }
body[data-page="bridgetraining"]{ --hero-image: url("../../images/bridgetraining-meta.png"); }
body[data-page="payments"]      { --hero-image: url("../../images/plans-meta.png"); }
body[data-page="success"]       { --hero-image: url("../../images/green-arrow-pointing-upwards-1680x720.png"); }

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

body {
  font-family: var(--font-sans);
  color: var(--text);
  background: var(--bg);
  min-height: 100vh;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(59,130,246,0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(59,130,246,0.03) 1px, transparent 1px);
  background-size: 52px 52px;
  z-index: 0;
}

a   { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
p   { margin: 0; }
ul, ol { list-style: none; padding: 0; margin: 0; }

/* ── Layout ─────────────────────────────────────────────────── */
.container {
  width: min(1200px, calc(100% - 2.5rem));
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

/* ── Typography ─────────────────────────────────────────────── */
h1, h2, h3, h4, h5 {
  font-family: var(--font-display);
  letter-spacing: -0.03em;
  line-height: 1.1;
  color: var(--text);
}

h1 { font-size: clamp(2.6rem, 6vw, 5rem); font-weight: 700; }
h2 { font-size: clamp(1.7rem, 3.8vw, 2.8rem); font-weight: 700; }
h3 { font-size: 1.05rem; font-weight: 600; letter-spacing: -0.01em; }

.lead {
  font-size: 1.05rem;
  line-height: 1.75;
  color: var(--muted);
  max-width: 58ch;
}

.lead-lg {
  font-size: 1.2rem;
  line-height: 1.65;
  color: var(--text-2);
  max-width: 52ch;
}

.eyebrow {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--brand-2);
}

/* ── Gradient text ──────────────────────────────────────────── */
.gradient-text {
  background: linear-gradient(135deg, var(--brand-light) 0%, var(--brand-2) 55%, #34d399 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ── Header ─────────────────────────────────────────────────── */
.site-ticker-section {
  position: fixed;
  top: 64px;
  z-index: 110;
  border-top: 1px solid rgba(255,255,255,0.08);
  border-bottom: 1px solid rgba(255,255,255,0.08);
}

.site-ticker-section--main {
  margin-top: 0;
}

.site-ticker-section .tradingview-widget-container,
.site-ticker-section .tradingview-widget-container__widget,
.site-ticker-section iframe {
  display: block;
  width: 100%;
}

.site-ticker-spacer {
  height: 52px;
}

.site-header {
  --header-top-offset: 0px;
  position: fixed;
  top: var(--header-top-offset);
  left: 0;
  right: 0;
  z-index: 120;
  transition: background 0.3s, border-color 0.3s, box-shadow 0.3s;
}

/* Fallback for legacy/cached script versions that insert ticker before header */
#site-ticker-section + .site-header {
  --header-top-offset: 52px;
}

.site-header.scrolled {
  background: rgba(6, 8, 15, 0.94);
  backdrop-filter: blur(24px) saturate(160%);
  -webkit-backdrop-filter: blur(24px) saturate(160%);
  border-bottom: 1px solid var(--line);
  box-shadow: 0 1px 0 rgba(255,255,255,0.03);
}

.nav-shell {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.05rem 0;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.05rem;
  color: var(--text);
  letter-spacing: -0.02em;
}

.brand-mark {
  width: 34px; height: 34px;
  border-radius: 9px;
  box-shadow: 0 0 20px rgba(59,130,246,0.5);
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 0.15rem;
}

.main-nav a {
  padding: 0.42rem 0.82rem;
  border-radius: 8px;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--muted);
  transition: color 0.18s, background 0.18s;
  white-space: nowrap;
}
.main-nav a:hover { color: var(--text); background: rgba(255,255,255,0.05); }
.main-nav a.active { color: var(--text); background: var(--surface-3); }

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  cursor: pointer;
  padding: 6px;
  background: var(--surface-3);
  border: 1px solid var(--line);
  border-radius: 8px;
}
.nav-toggle span {
  display: block;
  width: 20px; height: 2px;
  background: var(--muted);
  border-radius: 2px;
  transition: all 0.3s;
}

/* ── Buttons ────────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.68rem 1.35rem;
  border-radius: 10px;
  border: 1px solid transparent;
  font-family: var(--font-sans);
  font-weight: 600;
  font-size: 0.875rem;
  cursor: pointer;
  transition: all 0.2s cubic-bezier(0.22, 1, 0.36, 1);
  text-decoration: none;
  white-space: nowrap;
  position: relative;
  overflow: hidden;
}

.btn::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(255,255,255,0.07) 0%, transparent 60%);
  border-radius: inherit;
  pointer-events: none;
}

.btn-primary {
  background: var(--brand);
  color: #fff;
  box-shadow: 0 4px 20px rgba(59,130,246,0.3), inset 0 1px 0 rgba(255,255,255,0.12);
}
.btn-primary:hover {
  background: #4f93f7;
  box-shadow: 0 6px 30px rgba(59,130,246,0.45);
  transform: translateY(-1px);
}

.btn-secondary {
  background: var(--surface-3);
  color: var(--text-2);
  border-color: var(--line-2);
}
.btn-secondary:hover {
  background: var(--surface-4);
  border-color: rgba(96,165,250,0.35);
  transform: translateY(-1px);
}

.btn-ghost {
  background: transparent;
  color: var(--muted);
  border-color: var(--line);
}
.btn-ghost:hover {
  color: var(--text);
  border-color: var(--line-2);
  background: rgba(255,255,255,0.04);
}

.btn-glow {
  background: linear-gradient(135deg, var(--brand) 0%, var(--brand-2) 100%);
  color: #fff;
  border-color: transparent;
}
.btn-glow:hover {
  box-shadow: 0 0 40px rgba(59,130,246,0.5), 0 4px 20px rgba(34,211,238,0.3);
  transform: translateY(-2px);
}

.btn-lg { padding: 0.9rem 1.9rem; font-size: 0.95rem; border-radius: 12px; }
.btn-sm { padding: 0.45rem 0.95rem; font-size: 0.8rem; }

/* ── Badges ─────────────────────────────────────────────────── */
.page-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  border-radius: 999px;
  padding: 0.38rem 1rem;
  background: rgba(59,130,246,0.08);
  border: 1px solid rgba(59,130,246,0.2);
  font-family: var(--font-mono);
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--brand-light);
}

.page-badge::before {
  content: "";
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--brand-2);
  box-shadow: 0 0 8px var(--brand-2);
  animation: pulse-dot 2.5s ease-in-out infinite;
  flex-shrink: 0;
}

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

.section-label {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--brand-2);
  margin-bottom: 0.6rem;
}

.status-live {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.78rem;
  color: var(--green);
  font-weight: 600;
}
.status-live::before {
  content: "";
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 8px var(--green);
  animation: pulse-dot 1.8s ease-in-out infinite;
}

.tag {
  display: inline-flex;
  align-items: center;
  padding: 0.28rem 0.7rem;
  border-radius: 6px;
  background: var(--surface-3);
  border: 1px solid var(--line);
  font-size: 0.78rem;
  font-weight: 500;
  color: var(--muted);
}

/* ── Hero Sections ──────────────────────────────────────────── */
.page-hero {
  padding-top: calc(130px + var(--header-top-offset, 0px));
  padding-bottom: 60px;
  position: relative;
  overflow: hidden;
}

.page-hero::before {
  content: "";
  position: absolute;
  top: -200px; left: 50%;
  transform: translateX(-50%);
  width: 1200px; height: 800px;
  background: radial-gradient(ellipse at 50% 30%,
    rgba(59,130,246,0.09) 0%,
    rgba(34,211,238,0.05) 40%,
    transparent 65%);
  pointer-events: none;
  z-index: 0;
}

/* Centered full-screen hero */
.hero-outer {
  padding-top: calc(140px + var(--header-top-offset, 0px));
  padding-bottom: 80px;
  position: relative;
  min-height: 94vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.hero-outer::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 80% 60% at 50% 0%, rgba(59,130,246,0.1) 0%, transparent 65%);
  z-index: 0;
  pointer-events: none;
}

.hero-center {
  text-align: center;
  max-width: 900px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.hero-center h1 {
  font-size: clamp(3.2rem, 8vw, 6.2rem);
  font-weight: 700;
  letter-spacing: -0.045em;
  line-height: 0.96;
  margin: 1.2rem 0 1.5rem;
}

.hero-center .lead-lg {
  margin: 0 auto 2.2rem;
}

.hero-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.85rem;
  flex-wrap: wrap;
}

.hero-stats {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 3rem;
  margin-top: 4rem;
  padding-top: 2.5rem;
  border-top: 1px solid var(--line);
  flex-wrap: wrap;
}

.hero-stat-item { text-align: center; }

.hero-stat-num {
  font-family: var(--font-display);
  font-size: 2.1rem;
  font-weight: 700;
  letter-spacing: -0.03em;
  background: linear-gradient(135deg, var(--brand-light), var(--brand-2));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  display: block;
  line-height: 1;
}

.hero-stat-label {
  font-size: 0.78rem;
  color: var(--muted);
  margin-top: 0.35rem;
  font-weight: 500;
}

/* Inner framed hero shell */
.hero-shell {
  position: relative;
  background: linear-gradient(160deg, var(--surface) 0%, rgba(17,24,39,0.8) 100%);
  border: 1px solid var(--line);
  border-radius: var(--radius-2xl);
  padding: 3.5rem;
  overflow: hidden;
  box-shadow: var(--shadow-lg), inset 0 1px 0 rgba(255,255,255,0.04);
}

.hero-shell::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(96,165,250,0.5) 40%, rgba(34,211,238,0.5) 60%, transparent);
}

.hero-shell-bg-l {
  position: absolute;
  top: -150px; left: -150px;
  width: 500px; height: 500px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(59,130,246,0.09), transparent 65%);
  pointer-events: none;
}

.hero-shell-bg-r {
  position: absolute;
  bottom: -120px; right: -120px;
  width: 400px; height: 400px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(34,211,238,0.07), transparent 65%);
  pointer-events: none;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: 3rem;
  align-items: center;
  position: relative;
  z-index: 1;
}

/* ── Hero panel (right card) ────────────────────────────────── */
.hero-panel, .panel {
  background: var(--surface-2);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  position: relative;
  overflow: hidden;
}

.hero-panel::before, .panel::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(96,165,250,0.35), transparent);
}

.hero-panel h3, .panel h3 {
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--muted);
  margin-bottom: 1rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-family: var(--font-mono);
}

.hero-panel::after {
  content: "";
  display: block;
  margin-top: 1.1rem;
  width: 100%;
  height: 175px;
  border-radius: var(--radius);
  border: 1px solid rgba(96,165,250,0.1);
  background:
    linear-gradient(160deg, rgba(255,255,255,0.02) 0%, rgba(0,0,0,0.35) 100%),
    var(--hero-image) center/cover no-repeat;
  box-shadow: 0 8px 32px rgba(0,0,0,0.5);
}

body[data-page] .hero .panel::before {
  content: "";
  display: block;
  width: 100%;
  height: 175px;
  margin-bottom: 1.1rem;
  border-radius: var(--radius);
  border: 1px solid rgba(96,165,250,0.1);
  background:
    linear-gradient(160deg, rgba(255,255,255,0.02) 0%, rgba(0,0,0,0.35) 100%),
    var(--hero-image) center/cover no-repeat;
  box-shadow: 0 8px 32px rgba(0,0,0,0.5);
  background-position: center;
  background-size: cover;
}

.hero-points {
  display: grid;
  gap: 0.55rem;
}

.hero-points li {
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  font-size: 0.875rem;
  color: var(--muted);
  line-height: 1.5;
}

.hero-points li::before {
  content: "→";
  color: var(--brand-2);
  font-size: 0.75rem;
  margin-top: 0.2rem;
  flex-shrink: 0;
  font-family: var(--font-mono);
}

/* ── Ticker ─────────────────────────────────────────────────── */
.ticker {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 0.65rem 1.5rem;
  overflow: hidden;
  position: relative;
}

.ticker::before,
.ticker::after {
  content: "";
  position: absolute;
  top: 0; bottom: 0;
  width: 80px;
  z-index: 2;
  pointer-events: none;
}
.ticker::before { left: 0; background: linear-gradient(90deg, var(--surface), transparent); }
.ticker::after  { right: 0; background: linear-gradient(-90deg, var(--surface), transparent); }

.ticker-track {
  display: inline-flex;
  min-width: max-content;
  gap: 3rem;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--subtle);
  animation: ticker-slide 32s linear infinite;
  letter-spacing: 0.04em;
  font-family: var(--font-mono);
}

.ticker-track span {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  white-space: nowrap;
}
.ticker-track span::before {
  content: "◇";
  color: var(--brand-2);
  font-size: 0.5rem;
  opacity: 0.6;
}

@keyframes ticker-slide {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

/* ── Sections ───────────────────────────────────────────────── */
.section    { padding: 5rem 0; }
.section-sm { padding: 3rem 0; }
.section-lg { padding: 7rem 0; }

.section-head        { margin-bottom: 3rem; }
.section-head .lead  { margin-top: 0.8rem; }

/* ── Cards Grid ─────────────────────────────────────────────── */
.cards-grid      { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 1.2rem; }
.cards-grid.two  { grid-template-columns: repeat(2, minmax(0,1fr)); }
.cards-grid.four { grid-template-columns: repeat(4, minmax(0,1fr)); }

/* ── Card ───────────────────────────────────────────────────── */
.card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 1.6rem;
  position: relative;
  overflow: hidden;
  transition: transform 0.28s cubic-bezier(0.22,1,0.36,1), border-color 0.28s, box-shadow 0.28s;
}

.card::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(96,165,250,0.25), transparent);
  opacity: 0;
  transition: opacity 0.28s;
}

.card:hover {
  transform: translateY(-6px);
  border-color: rgba(96,165,250,0.2);
  box-shadow: 0 16px 48px rgba(0,0,0,0.5), 0 0 0 1px rgba(96,165,250,0.06);
}
.card:hover::before { opacity: 1; }

.card.featured {
  border-color: rgba(96,165,250,0.25);
  background: linear-gradient(160deg, var(--surface) 0%, rgba(26,34,53,0.9) 100%);
}
.card.featured::after {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--brand), var(--brand-2));
  border-radius: var(--radius-lg) var(--radius-lg) 0 0;
}

.card-icon {
  width: 46px; height: 46px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  font-family: var(--font-mono);
  font-size: 0.68rem;
  font-weight: 500;
  margin-bottom: 1.1rem;
  color: var(--brand-light);
  background: rgba(59,130,246,0.1);
  border: 1px solid rgba(59,130,246,0.18);
  letter-spacing: 0.02em;
  flex-shrink: 0;
}

.card h3 { color: var(--text); margin-bottom: 0.5rem; font-size: 1rem; }
.card p { color: var(--muted); font-size: 0.88rem; line-height: 1.65; margin-top: 0.4rem; }
.card a { color: var(--brand-light); }
.card a:hover { color: var(--brand-2); }

/* ── Feature list ───────────────────────────────────────────── */
.feature-list { display: grid; gap: 0.8rem; }

.feature-item {
  display: flex;
  align-items: flex-start;
  gap: 0.9rem;
  padding: 0.9rem 1rem;
  background: var(--surface-2);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  transition: border-color 0.2s;
}
.feature-item:hover { border-color: var(--line-2); }

.feature-num {
  width: 28px; height: 28px;
  flex-shrink: 0;
  border-radius: 7px;
  display: grid;
  place-items: center;
  background: var(--brand);
  font-family: var(--font-mono);
  font-size: 0.68rem;
  font-weight: 600;
  color: #fff;
}

.feature-item strong { display: block; font-size: 0.9rem; color: var(--text); margin-bottom: 0.2rem; }
.feature-item p      { font-size: 0.84rem; color: var(--muted); }

/* ── Split layout ───────────────────────────────────────────── */
.split         { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; align-items: start; }
.split-3-2     { grid-template-columns: 3fr 2fr; }
.split-2-3     { grid-template-columns: 2fr 3fr; }

/* ── Timeline ───────────────────────────────────────────────── */
.timeline { display: grid; gap: 1rem; }

.timeline-step {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  padding: 1.1rem 1.2rem;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  transition: border-color 0.2s, background 0.2s;
}
.timeline-step:hover { border-color: var(--line-2); background: var(--surface-2); }

.timeline-step-num {
  width: 34px; height: 34px;
  flex-shrink: 0;
  border-radius: 9px;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, var(--brand), var(--brand-2));
  font-family: var(--font-mono);
  font-size: 0.7rem;
  font-weight: 600;
  color: #fff;
  box-shadow: 0 4px 12px rgba(59,130,246,0.3);
}

.timeline-step strong { display: block; font-size: 0.9rem; font-weight: 600; color: var(--text); margin-bottom: 0.25rem; }
.timeline-step p      { font-size: 0.85rem; color: var(--muted); line-height: 1.55; }

/* ── Tables ─────────────────────────────────────────────────── */
table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 1rem;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--surface);
}

th, td {
  padding: 0.95rem 1.1rem;
  text-align: left;
  border-bottom: 1px solid var(--line);
  font-size: 0.875rem;
}

th {
  background: var(--surface-2);
  color: var(--muted);
  font-weight: 600;
  font-family: var(--font-mono);
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}
td { color: var(--muted); }
tr:last-child td { border-bottom: none; }
tr:hover td { background: rgba(255,255,255,0.02); }

.status-ok  { color: var(--green); font-weight: 600; }
.status-bad { color: var(--red);   font-weight: 600; }

/* ── FAQ ────────────────────────────────────────────────────── */
.faq-list { display: grid; gap: 0.6rem; }

.faq-list details {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  overflow: hidden;
  transition: border-color 0.2s;
}
.faq-list details[open] { border-color: rgba(96,165,250,0.2); }

.faq-list summary {
  cursor: pointer;
  padding: 1.1rem 1.3rem;
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  list-style: none;
  transition: background 0.15s;
}
.faq-list summary:hover { background: rgba(255,255,255,0.02); }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after {
  content: "+";
  font-size: 1.4rem;
  color: var(--brand);
  font-weight: 300;
  flex-shrink: 0;
  transition: transform 0.2s;
  line-height: 1;
}
.faq-list details[open] summary::after { transform: rotate(45deg); }

.faq-list details > *:not(summary) {
  padding: 0 1.3rem 1.1rem;
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.7;
}

/* ── Inline note / callout ──────────────────────────────────── */
.inline-note {
  display: block;
  margin-top: 1rem;
  padding: 0.75rem 1rem;
  border-radius: var(--radius);
  border: 1px solid rgba(96,165,250,0.15);
  background: rgba(59,130,246,0.05);
  color: var(--muted);
  font-size: 0.85rem;
  line-height: 1.55;
}
.inline-note a { color: var(--brand-light); }

.note { color: var(--muted); font-size: 0.85rem; line-height: 1.55; margin-top: 0.6rem; }

/* ── Pill / tag row ─────────────────────────────────────────── */
.pill-row { display: flex; flex-wrap: wrap; gap: 0.5rem; }

.pill {
  display: inline-flex;
  align-items: center;
  border: 1px solid var(--line-2);
  background: rgba(96,165,250,0.05);
  border-radius: 8px;
  padding: 0.35rem 0.75rem;
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--text-2);
}

/* ── Actions group ──────────────────────────────────────────── */
.actions { display: flex; flex-wrap: wrap; gap: 0.75rem; margin-top: 1.5rem; }

/* ── CTA Band ───────────────────────────────────────────────── */
.cta-band {
  position: relative;
  text-align: center;
  padding: 5rem 3rem;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-2xl);
  overflow: hidden;
}

.cta-band::before {
  content: "";
  position: absolute;
  width: 700px; height: 500px;
  top: 50%; left: 50%;
  transform: translate(-50%, -55%);
  background: radial-gradient(ellipse, rgba(59,130,246,0.08) 0%, transparent 60%);
  pointer-events: none;
}

.cta-band::after {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(96,165,250,0.4) 40%, rgba(34,211,238,0.4) 60%, transparent);
}

.cta-band h2 { font-size: clamp(1.8rem, 4vw, 3rem); position: relative; z-index: 1; }
.cta-band .lead { margin: 1rem auto 0; position: relative; z-index: 1; }
.cta-band .actions { justify-content: center; position: relative; z-index: 1; }
.cta-band .note { position: relative; z-index: 1; margin-top: 1.5rem; }

/* ── Pricing card ───────────────────────────────────────────── */
.price-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  padding: 2.2rem;
  position: relative;
  overflow: hidden;
}
.price-card.featured {
  border-color: rgba(96,165,250,0.3);
  box-shadow: 0 0 80px rgba(59,130,246,0.07);
}
.price-card.featured::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--brand), var(--brand-2));
}

.price-label { font-family: var(--font-mono); font-size: 0.7rem; font-weight: 500; text-transform: uppercase; letter-spacing: 0.1em; color: var(--muted); margin-bottom: 0.5rem; }
.price-amount { font-family: var(--font-display); font-size: 2.4rem; font-weight: 700; letter-spacing: -0.04em; color: var(--text); line-height: 1; }
.price-per { font-size: 0.82rem; color: var(--muted); margin-top: 0.2rem; }
.price-divider { height: 1px; background: var(--line); margin: 1.5rem 0; }

.price-features { display: grid; gap: 0.55rem; }
.price-features li { display: flex; align-items: flex-start; gap: 0.55rem; font-size: 0.875rem; color: var(--muted); }
.price-features li::before { content: "✓"; color: var(--green); font-weight: 700; flex-shrink: 0; margin-top: 0.05rem; }

/* ── Contact card ───────────────────────────────────────────── */
.contact-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 1.8rem;
  display: flex;
  align-items: flex-start;
  gap: 1.1rem;
  transition: border-color 0.2s;
}
.contact-card:hover { border-color: var(--line-2); }

.contact-icon {
  width: 44px; height: 44px;
  flex-shrink: 0;
  border-radius: 11px;
  display: grid;
  place-items: center;
  font-size: 1.2rem;
  background: rgba(59,130,246,0.1);
  border: 1px solid rgba(59,130,246,0.2);
}

.contact-card h3 { font-size: 0.95rem; color: var(--text); margin-bottom: 0.3rem; }
.contact-card p  { font-size: 0.85rem; color: var(--muted); }
.contact-card a  { color: var(--brand-light); font-weight: 600; }

/* ── Highlight box ──────────────────────────────────────────── */
.highlight {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  position: relative;
  overflow: hidden;
}
.highlight::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(96,165,250,0.3), transparent);
}
.highlight strong { color: var(--brand-light); }

/* ── Policy page ────────────────────────────────────────────── */
.policy-content { max-width: 760px; margin: 0 auto; }
.policy-content h2 {
  font-size: 1.2rem;
  color: var(--text);
  margin: 2.5rem 0 0.7rem;
  padding-top: 2rem;
  border-top: 1px solid var(--line);
  font-family: var(--font-display);
}
.policy-content h2:first-of-type { margin-top: 2rem; padding-top: 1.5rem; }
.policy-content p, .policy-content li { color: var(--text-2); font-size: 0.92rem; line-height: 1.75; }
.policy-content ul { padding-left: 1.2rem; display: grid; gap: 0.4rem; }

/* ── Footer ─────────────────────────────────────────────────── */
.site-footer {
  margin-top: 6rem;
  border-top: 1px solid var(--line);
  background: var(--bg-2);
}

footer {
  margin-top: 4rem;
  border-top: 1px solid var(--line);
  padding: 2.5rem 0 2rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr 1fr;
  gap: 2.5rem;
  padding: 3rem 0 2.5rem;
  border-bottom: 1px solid var(--line);
}

.footer-brand-block .brand { margin-bottom: 0.9rem; }
.footer-brand-block p { font-size: 0.85rem; color: var(--muted); line-height: 1.65; max-width: 28ch; }

.footer-col h4 {
  font-size: 0.72rem;
  font-family: var(--font-mono);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--muted);
  margin-bottom: 0.9rem;
}
.footer-col a { display: block; font-size: 0.85rem; color: var(--muted); padding: 0.25rem 0; transition: color 0.18s; }
.footer-col a:hover { color: var(--text); }

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.5rem 0;
  flex-wrap: wrap;
}
.footer-bottom p { font-size: 0.8rem; color: var(--muted); }

.footer-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  padding: 1.5rem 0;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--text);
}
.footer-brand img { width: 28px; height: 28px; border-radius: 7px; }
.muted { color: var(--muted); font-size: 0.85rem; }

/* ── Animations ─────────────────────────────────────────────── */
.reveal {
  opacity: 0;
  transform: translateY(20px);
  animation: rise 0.7s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}
.delay-1 { animation-delay: 0.1s; }
.delay-2 { animation-delay: 0.22s; }
.delay-3 { animation-delay: 0.38s; }
.delay-4 { animation-delay: 0.52s; }

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

/* ── Scrollbar ──────────────────────────────────────────────── */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb { background: var(--surface-3); border-radius: 3px; }
::-webkit-scrollbar-thumb:hover { background: var(--subtle); }

::selection { background: rgba(59,130,246,0.3); color: var(--text); }

/* ── Responsive ─────────────────────────────────────────────── */
@media (max-width: 1100px) {
  .footer-grid { grid-template-columns: 2fr 1fr 1fr 1fr; }
}

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

@media (max-width: 960px) {
  .hero-grid, .split, .split-3-2, .split-2-3 { grid-template-columns: 1fr; }
  .hero-shell { padding: 2.5rem 2rem; }
  .cards-grid.four { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .hero-outer { min-height: auto; }
}

@media (max-width: 700px) {
  .page-hero { padding-top: 90px; padding-bottom: 40px; }
  .section { padding: 3rem 0; }
  .cards-grid, .cards-grid.two, .cards-grid.four { grid-template-columns: 1fr; }
  .cta-band { padding: 3rem 1.5rem; }
  .hero-center h1 { font-size: clamp(2.4rem, 10vw, 3.5rem); }
  .hero-stats { gap: 1.5rem; }
  .footer-grid { grid-template-columns: 1fr; }
  .main-nav {
    display: none;
    position: fixed;
    top: calc(64px + var(--header-top-offset, 0px));
    left: 0;
    right: 0;
    background: rgba(6,8,15,0.97);
    backdrop-filter: blur(24px);
    border-bottom: 1px solid var(--line);
    flex-direction: column;
    padding: 1.2rem;
    gap: 0.3rem;
    z-index: 99;
  }
  .main-nav.open { display: flex; }
  .main-nav a { padding: 0.65rem 0.9rem; font-size: 0.95rem; }
  .nav-toggle { display: flex; }
  .site-header { position: fixed; }
}

/* ── Utility ────────────────────────────────────────────────── */
.text-center { text-align: center; }
.text-muted  { color: var(--muted); }
.text-brand  { color: var(--brand-light); }
.text-cyan   { color: var(--brand-2); }
.text-green  { color: var(--green); }
.mt-sm { margin-top: 0.5rem; }
.mt-md { margin-top: 1rem; }
.mt-lg { margin-top: 2rem; }
