/* ============================================================
   ZENNTRO — Landing Page Styles
   Brand tokens from Blueprint S5.7
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=DM+Sans:ital,opsz,wght@0,9..40,300;0,9..40,400;0,9..40,500;0,9..40,600;0,9..40,700;1,9..40,400&family=DM+Mono:wght@400;500&display=swap');

/* ============================================================
   DESIGN TOKENS
   ============================================================ */

:root {
  /* Brand — Zenntro Indigo (from logo #313f92) */
  --indigo-50:   #f3f4fb;
  --indigo-100:  #e8eaf8;
  --indigo-200:  #c8ccef;
  --indigo-400:  #7480cd;
  --indigo-600:  #313f92;
  --indigo-700:  #294092;
  --indigo-800:  #1e2d6b;
  --indigo-900:  #131d47;

  /* Slate — neutrals with cold temperature */
  --slate-50:    #f9fafb;
  --slate-100:   #f3f4f6;
  --slate-200:   #e5e7eb;
  --slate-300:   #d1d5db;
  --slate-400:   #9ca3af;
  --slate-500:   #6b7280;
  --slate-700:   #374151;
  --slate-800:   #1f2937;
  --slate-900:   #111827;
  --slate-950:   #0c0f1e;

  /* Accent — Cyan */
  --cyan-400:    #22d3ee;
  --cyan-500:    #06b6d4;

  /* Status */
  --success:     #16a34a;
  --warning:     #d97706;
  --error:       #dc2626;

  /* Semantic — dark mode (landing is dark) */
  --bg-base:        var(--slate-950);
  --bg-surface:     var(--slate-900);
  --bg-elevated:    var(--slate-800);
  --border:         rgba(55, 65, 81, 0.8);
  --border-subtle:  rgba(31, 41, 55, 0.6);
  --text-primary:   #f1f3f9;
  --text-secondary: var(--slate-400);
  --text-muted:     var(--slate-500);
  --accent:         var(--indigo-600);
  --accent-hover:   var(--indigo-700);
  --accent-glow:    rgba(49, 63, 146, 0.35);

  /* Typography */
  --font-sans:  'DM Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-mono:  'DM Mono', 'JetBrains Mono', 'Fira Code', monospace;

  /* Spacing base-4 */
  --sp-1:  4px;
  --sp-2:  8px;
  --sp-3:  12px;
  --sp-4:  16px;
  --sp-6:  24px;
  --sp-8:  32px;
  --sp-12: 48px;
  --sp-16: 64px;
  --sp-24: 96px;

  /* Radii */
  --r-sm: 4px;
  --r-md: 8px;
  --r-lg: 12px;
  --r-xl: 20px;
  --r-full: 9999px;

  /* Layout */
  --max-w: 1120px;
  --nav-h: 68px;
}

/* ============================================================
   RESET & BASE
   ============================================================ */

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

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

body {
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.6;
  color: var(--text-primary);
  background-color: var(--bg-base);
  overflow-x: hidden;
}

img { display: block; max-width: 100%; }
a   { color: inherit; text-decoration: none; }
ul  { list-style: none; }
button { cursor: pointer; font-family: inherit; border: none; background: none; }

/* ============================================================
   NOISE + GRID BACKGROUND
   ============================================================ */

body::before {
  content: '';
  position: fixed;
  inset: 0;
  background-image:
    radial-gradient(ellipse 80% 50% at 50% -10%, rgba(49, 63, 146, 0.28) 0%, transparent 65%),
    radial-gradient(ellipse 40% 30% at 85% 60%, rgba(6, 182, 212, 0.06) 0%, transparent 60%);
  pointer-events: none;
  z-index: 0;
}

body::after {
  content: '';
  position: fixed;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='60' height='60'%3E%3Cpath d='M 60 0 L 0 0 0 60' fill='none' stroke='rgba(255,255,255,0.024)' stroke-width='0.5'/%3E%3C/svg%3E");
  pointer-events: none;
  z-index: 0;
}

/* ============================================================
   LAYOUT UTILS
   ============================================================ */

.container {
  width: 100%;
  max-width: var(--max-w);
  margin-inline: auto;
  padding-inline: var(--sp-6);
  position: relative;
  z-index: 1;
}

/* ============================================================
   NAVIGATION
   ============================================================ */

.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: var(--nav-h);
  z-index: 100;
  display: flex;
  align-items: center;
  transition: background 0.3s, border-color 0.3s;
}

.nav.scrolled {
  background: rgba(12, 15, 30, 0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
}

.nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
}

.nav__logo {
  display: flex;
  align-items: center;
  gap: var(--sp-3);
}

.nav__logo-icon {
  width: 32px;
  height: 32px;
  flex-shrink: 0;
}

.nav__logo-wordmark {
  font-size: 18px;
  font-weight: 600;
  letter-spacing: -0.02em;
  color: var(--text-primary);
}

.nav__links {
  display: flex;
  align-items: center;
  gap: var(--sp-8);
}

.nav__link {
  font-size: 14px;
  font-weight: 500;
  color: var(--text-secondary);
  transition: color 0.2s;
}

.nav__link:hover { color: var(--text-primary); }

.nav__cta {
  display: flex;
  align-items: center;
  gap: var(--sp-2);
  padding: 10px var(--sp-4);
  background: var(--accent);
  color: #fff;
  border-radius: var(--r-md);
  font-size: 14px;
  font-weight: 600;
  transition: background 0.2s, transform 0.15s, box-shadow 0.2s;
}

.nav__cta:hover {
  background: var(--accent-hover);
  transform: translateY(-1px);
  box-shadow: 0 4px 20px var(--accent-glow);
}

.nav__hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: var(--sp-2);
}

.nav__hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--text-primary);
  border-radius: 2px;
  transition: all 0.3s;
}

/* ============================================================
   HERO
   ============================================================ */

.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-top: var(--nav-h);
  padding-bottom: var(--sp-24);
  position: relative;
  overflow: hidden;
}

.hero__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--sp-16);
  align-items: center;
}

.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: var(--sp-2);
  padding: 6px 14px;
  background: rgba(49, 63, 146, 0.15);
  border: 1px solid rgba(49, 63, 146, 0.4);
  border-radius: var(--r-full);
  font-size: 12px;
  font-weight: 500;
  color: var(--indigo-400);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin-bottom: var(--sp-6);
  width: fit-content;
}

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

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

.hero__heading {
  font-size: clamp(38px, 5vw, 58px);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -0.035em;
  color: var(--text-primary);
  margin-bottom: var(--sp-6);
}

.hero__heading em {
  font-style: normal;
  color: var(--indigo-400);
  position: relative;
}

.hero__heading .line-2 {
  display: block;
  color: var(--text-secondary);
}

.hero__sub {
  font-size: 17px;
  line-height: 1.65;
  color: var(--text-secondary);
  max-width: 480px;
  margin-bottom: var(--sp-8);
}

.hero__sub strong {
  color: var(--text-primary);
  font-weight: 500;
}

.hero__actions {
  display: flex;
  align-items: center;
  gap: var(--sp-4);
  flex-wrap: wrap;
}

/* CTAs */
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: var(--sp-2);
  padding: 14px 28px;
  background: var(--accent);
  color: #fff;
  border-radius: var(--r-md);
  font-size: 15px;
  font-weight: 600;
  letter-spacing: -0.01em;
  transition: all 0.2s;
  position: relative;
  overflow: hidden;
}

.btn-primary::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(255,255,255,0.12) 0%, transparent 60%);
}

.btn-primary:hover {
  background: var(--accent-hover);
  transform: translateY(-2px);
  box-shadow: 0 8px 32px var(--accent-glow);
}

.btn-primary:active { transform: translateY(0); }

.btn-ghost {
  display: inline-flex;
  align-items: center;
  gap: var(--sp-2);
  padding: 14px 24px;
  color: var(--text-secondary);
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  font-size: 15px;
  font-weight: 500;
  transition: all 0.2s;
}

.btn-ghost:hover {
  color: var(--text-primary);
  border-color: var(--slate-500);
  background: rgba(255,255,255,0.04);
}

.hero__note {
  margin-top: var(--sp-4);
  font-size: 12px;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  gap: var(--sp-2);
}

.hero__note svg { opacity: 0.5; }

/* ============================================================
   HERO VISUAL — terminal mockup
   ============================================================ */

.hero__visual {
  position: relative;
}

.hero__visual::before {
  content: '';
  position: absolute;
  inset: -40px;
  background: radial-gradient(ellipse at center, rgba(49, 63, 146, 0.18) 0%, transparent 70%);
  pointer-events: none;
}

.terminal {
  background: var(--slate-900);
  border: 1px solid var(--border);
  border-radius: var(--r-xl);
  overflow: hidden;
  box-shadow:
    0 0 0 1px rgba(255,255,255,0.04),
    0 32px 64px rgba(0,0,0,0.6),
    0 0 80px rgba(49, 63, 146, 0.12);
  position: relative;
  z-index: 1;
}

.terminal__bar {
  display: flex;
  align-items: center;
  gap: var(--sp-2);
  padding: 14px var(--sp-4);
  background: var(--slate-800);
  border-bottom: 1px solid var(--border-subtle);
}

.terminal__dots {
  display: flex;
  gap: 6px;
}

.terminal__dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
}

.terminal__dot--red   { background: #ff5f57; }
.terminal__dot--yellow{ background: #ffbd2e; }
.terminal__dot--green { background: #28c840; }

.terminal__title {
  flex: 1;
  text-align: center;
  font-size: 12px;
  color: var(--text-muted);
  font-family: var(--font-mono);
}

.terminal__body {
  padding: var(--sp-6);
  font-family: var(--font-mono);
  font-size: 13px;
  line-height: 1.7;
}

.t-prompt {
  color: var(--text-muted);
  display: flex;
  align-items: flex-start;
  gap: var(--sp-2);
  margin-bottom: var(--sp-4);
}

.t-prompt__sym {
  color: var(--indigo-400);
  font-weight: 600;
  flex-shrink: 0;
  margin-top: 1px;
}

.t-prompt__text {
  color: var(--text-primary);
  font-weight: 500;
}

.t-response {
  background: rgba(49, 63, 146, 0.08);
  border: 1px solid rgba(49, 63, 146, 0.2);
  border-radius: var(--r-md);
  padding: var(--sp-4);
  margin-bottom: var(--sp-4);
}

.t-response__label {
  font-size: 10px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--indigo-400);
  margin-bottom: var(--sp-2);
}

.t-response__text {
  color: var(--text-secondary);
  font-size: 13px;
  line-height: 1.6;
}

.t-response__text em {
  font-style: normal;
  color: var(--text-primary);
  font-weight: 500;
}

.t-sources {
  display: flex;
  gap: var(--sp-2);
  flex-wrap: wrap;
  margin-top: var(--sp-3);
}

.t-source {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 3px 10px;
  background: rgba(255,255,255,0.05);
  border: 1px solid var(--border);
  border-radius: var(--r-full);
  font-size: 11px;
  color: var(--text-secondary);
}

.t-source-icon {
  width: 12px;
  height: 12px;
  border-radius: 2px;
}

.t-cursor {
  display: inline-block;
  width: 8px;
  height: 14px;
  background: var(--indigo-400);
  border-radius: 1px;
  animation: blink 1.1s step-end infinite;
  vertical-align: middle;
  margin-left: 2px;
}

@keyframes blink {
  0%, 100% { opacity: 1; }
  50%       { opacity: 0; }
}

/* floating badges on terminal */
.terminal__badge {
  position: absolute;
  display: flex;
  align-items: center;
  gap: var(--sp-2);
  padding: 8px 14px;
  background: rgba(12, 15, 30, 0.92);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  font-size: 12px;
  font-weight: 500;
  color: var(--text-secondary);
  backdrop-filter: blur(12px);
  white-space: nowrap;
  box-shadow: 0 8px 24px rgba(0,0,0,0.4);
  z-index: 2;
}

.terminal__badge--tl {
  top: -18px;
  right: -24px;
}

.terminal__badge--bl {
  bottom: -16px;
  left: -20px;
}

.terminal__badge-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  flex-shrink: 0;
}

.terminal__badge-dot--green { background: var(--success); }
.terminal__badge-dot--cyan  { background: var(--cyan-400); }

/* ============================================================
   SECTION COMMON
   ============================================================ */

.section {
  padding: var(--sp-24) 0;
  position: relative;
  z-index: 1;
}

.section__eyebrow {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--indigo-400);
  margin-bottom: var(--sp-4);
}

.section__title {
  font-size: clamp(28px, 3.5vw, 42px);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.03em;
  color: var(--text-primary);
  margin-bottom: var(--sp-4);
}

.section__sub {
  font-size: 17px;
  color: var(--text-secondary);
  line-height: 1.65;
  max-width: 560px;
}

.section__header {
  margin-bottom: var(--sp-12);
}

/* ============================================================
   LOGOS STRIP — "trusted by / integrates with"
   ============================================================ */

.integrations {
  padding: var(--sp-12) 0;
  border-top: 1px solid var(--border-subtle);
  border-bottom: 1px solid var(--border-subtle);
  position: relative;
  z-index: 1;
}

.integrations__label {
  text-align: center;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: var(--sp-6);
}

.integrations__list {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--sp-8);
  flex-wrap: wrap;
}

.integration-pill {
  display: flex;
  align-items: center;
  gap: var(--sp-2);
  padding: 8px 16px;
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--border);
  border-radius: var(--r-full);
  font-size: 13px;
  font-weight: 500;
  color: var(--text-secondary);
  transition: all 0.2s;
}

.integration-pill:hover {
  border-color: var(--slate-500);
  color: var(--text-primary);
  background: rgba(255,255,255,0.07);
}

.integration-pill__icon {
  width: 16px;
  height: 16px;
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  font-weight: 700;
  flex-shrink: 0;
}

/* ============================================================
   HOW IT WORKS — 3 STEPS
   ============================================================ */

.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--sp-6);
  counter-reset: step-counter;
}

.step-card {
  background: var(--bg-surface);
  border: 1px solid var(--border);
  border-radius: var(--r-xl);
  padding: var(--sp-8);
  position: relative;
  overflow: hidden;
  transition: border-color 0.25s, transform 0.25s;
  counter-increment: step-counter;
}

.step-card::before {
  content: counter(step-counter, decimal-leading-zero);
  position: absolute;
  top: var(--sp-6);
  right: var(--sp-6);
  font-size: 56px;
  font-weight: 800;
  color: rgba(49, 63, 146, 0.1);
  font-family: var(--font-mono);
  line-height: 1;
  pointer-events: none;
  letter-spacing: -0.04em;
}

.step-card::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--indigo-600), var(--cyan-500));
  opacity: 0;
  transition: opacity 0.25s;
}

.step-card:hover {
  border-color: rgba(49, 63, 146, 0.5);
  transform: translateY(-3px);
}

.step-card:hover::after { opacity: 1; }

.step-card__icon {
  width: 44px;
  height: 44px;
  background: rgba(49, 63, 146, 0.12);
  border: 1px solid rgba(49, 63, 146, 0.25);
  border-radius: var(--r-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: var(--sp-4);
  color: var(--indigo-400);
}

.step-card__title {
  font-size: 17px;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: var(--sp-3);
  letter-spacing: -0.02em;
}

.step-card__text {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.65;
}

/* ============================================================
   FEATURES GRID
   ============================================================ */

.features {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--sp-4);
}

.feature-card {
  background: var(--bg-surface);
  border: 1px solid var(--border);
  border-radius: var(--r-xl);
  padding: var(--sp-8);
  transition: border-color 0.25s, transform 0.25s;
}

.feature-card:hover {
  border-color: rgba(49, 63, 146, 0.45);
  transform: translateY(-2px);
}

.feature-card--wide {
  grid-column: span 2;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--sp-8);
  align-items: center;
}

.feature-card__tag {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 4px 10px;
  background: rgba(49, 63, 146, 0.12);
  border: 1px solid rgba(49, 63, 146, 0.2);
  border-radius: var(--r-full);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--indigo-400);
  margin-bottom: var(--sp-4);
}

.feature-card__title {
  font-size: 20px;
  font-weight: 600;
  color: var(--text-primary);
  letter-spacing: -0.025em;
  margin-bottom: var(--sp-3);
  line-height: 1.3;
}

.feature-card__text {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.7;
}

/* risk detection visual */
.risk-visual {
  background: var(--slate-950);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: var(--sp-4);
  display: flex;
  flex-direction: column;
  gap: var(--sp-3);
}

.risk-row {
  display: flex;
  align-items: center;
  gap: var(--sp-3);
  padding: var(--sp-3);
  background: var(--bg-elevated);
  border-radius: var(--r-md);
  border: 1px solid var(--border-subtle);
}

.risk-row__avatar {
  width: 32px;
  height: 32px;
  border-radius: var(--r-full);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  font-weight: 700;
  flex-shrink: 0;
}

.risk-row__info { flex: 1; min-width: 0; }

.risk-row__name {
  font-size: 13px;
  font-weight: 600;
  color: var(--text-primary);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.risk-row__meta {
  font-size: 11px;
  color: var(--text-muted);
}

.risk-badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 3px 8px;
  border-radius: var(--r-full);
  font-size: 11px;
  font-weight: 600;
  white-space: nowrap;
}

.risk-badge--high   { background: rgba(220, 38, 38, 0.15); color: #f87171; border: 1px solid rgba(220,38,38,0.25); }
.risk-badge--medium { background: rgba(217,119,6,0.15); color: #fbbf24; border: 1px solid rgba(217,119,6,0.25); }
.risk-badge--low    { background: rgba(22,163,74,0.12); color: #4ade80; border: 1px solid rgba(22,163,74,0.2); }

/* ============================================================
   PRIVACY SECTION
   ============================================================ */

.privacy-section {
  background: linear-gradient(135deg, var(--indigo-900) 0%, var(--slate-950) 60%);
  border: 1px solid rgba(49, 63, 146, 0.3);
  border-radius: 28px;
  padding: var(--sp-16);
  position: relative;
  overflow: hidden;
}

.privacy-section::before {
  content: '';
  position: absolute;
  top: -80px;
  right: -80px;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(49, 63, 146, 0.25) 0%, transparent 70%);
  pointer-events: none;
}

.privacy-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--sp-16);
  align-items: center;
  position: relative;
  z-index: 1;
}

.privacy-points {
  display: flex;
  flex-direction: column;
  gap: var(--sp-6);
  margin-top: var(--sp-8);
}

.privacy-point {
  display: flex;
  gap: var(--sp-4);
}

.privacy-point__icon {
  width: 36px;
  height: 36px;
  background: rgba(49, 63, 146, 0.2);
  border: 1px solid rgba(49, 63, 146, 0.3);
  border-radius: var(--r-md);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--indigo-400);
  margin-top: 2px;
}

.privacy-point__title {
  font-size: 15px;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 4px;
}

.privacy-point__text {
  font-size: 13px;
  color: var(--text-secondary);
  line-height: 1.6;
}

/* architecture diagram */
.arch-diagram {
  background: var(--slate-950);
  border: 1px solid var(--border);
  border-radius: var(--r-xl);
  padding: var(--sp-6);
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--text-secondary);
  line-height: 1.8;
  position: relative;
}

.arch-row {
  display: flex;
  align-items: center;
  gap: var(--sp-3);
  padding: var(--sp-3);
  border-radius: var(--r-md);
  transition: background 0.15s;
}

.arch-row:hover { background: rgba(255,255,255,0.03); }

.arch-row__box {
  padding: 6px 12px;
  border-radius: var(--r-sm);
  font-size: 11px;
  font-weight: 500;
  white-space: nowrap;
}

.arch-box--saas {
  background: rgba(107, 114, 128, 0.15);
  border: 1px solid rgba(107,114,128,0.3);
  color: var(--slate-400);
}

.arch-box--hub {
  background: rgba(49, 63, 146, 0.2);
  border: 1px solid rgba(49,63,146,0.4);
  color: var(--indigo-400);
}

.arch-box--local {
  background: rgba(22, 163, 74, 0.1);
  border: 1px solid rgba(22,163,74,0.25);
  color: #4ade80;
  font-size: 10px;
}

.arch-arrow {
  color: var(--text-muted);
  flex-shrink: 0;
}

.arch-note {
  font-size: 10px;
  color: var(--text-muted);
  flex: 1;
  text-align: right;
}

/* ============================================================
   PRICING
   ============================================================ */

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--sp-4);
  align-items: start;
}

.plan-card {
  background: var(--bg-surface);
  border: 1px solid var(--border);
  border-radius: var(--r-xl);
  padding: var(--sp-8);
  position: relative;
  transition: border-color 0.25s, transform 0.25s;
}

.plan-card:hover {
  transform: translateY(-3px);
}

.plan-card--featured {
  border-color: var(--indigo-600);
  background: linear-gradient(180deg, rgba(49,63,146,0.08) 0%, var(--bg-surface) 100%);
}

.plan-card--featured::before {
  content: 'Most popular';
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  padding: 4px 14px;
  background: var(--indigo-600);
  border-radius: var(--r-full);
  font-size: 11px;
  font-weight: 600;
  color: #fff;
  letter-spacing: 0.04em;
  white-space: nowrap;
}

.plan-card__tier {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: var(--sp-4);
}

.plan-card__price {
  display: flex;
  align-items: baseline;
  gap: 4px;
  margin-bottom: var(--sp-2);
}

.plan-card__amount {
  font-size: 40px;
  font-weight: 700;
  color: var(--text-primary);
  letter-spacing: -0.04em;
  line-height: 1;
}

.plan-card__currency {
  font-size: 20px;
  font-weight: 600;
  color: var(--text-secondary);
  align-self: flex-start;
  margin-top: 6px;
}

.plan-card__period {
  font-size: 13px;
  color: var(--text-muted);
}

.plan-card__desc {
  font-size: 13px;
  color: var(--text-secondary);
  margin-bottom: var(--sp-6);
  padding-bottom: var(--sp-6);
  border-bottom: 1px solid var(--border-subtle);
  line-height: 1.5;
  min-height: 48px;
}

.plan-card__features {
  display: flex;
  flex-direction: column;
  gap: var(--sp-3);
  margin-bottom: var(--sp-8);
}

.plan-feature {
  display: flex;
  align-items: flex-start;
  gap: var(--sp-3);
  font-size: 13px;
  color: var(--text-secondary);
}

.plan-feature__check {
  width: 16px;
  height: 16px;
  color: var(--success);
  flex-shrink: 0;
  margin-top: 1px;
}

.plan-feature__check--muted {
  color: var(--text-muted);
}

.plan-card__cta {
  display: block;
  width: 100%;
  padding: 12px;
  border-radius: var(--r-md);
  font-size: 14px;
  font-weight: 600;
  text-align: center;
  transition: all 0.2s;
}

.plan-card__cta--primary {
  background: var(--accent);
  color: #fff;
}

.plan-card__cta--primary:hover {
  background: var(--accent-hover);
  box-shadow: 0 4px 20px var(--accent-glow);
}

.plan-card__cta--outline {
  border: 1px solid var(--border);
  color: var(--text-secondary);
}

.plan-card__cta--outline:hover {
  border-color: var(--slate-500);
  color: var(--text-primary);
  background: rgba(255,255,255,0.04);
}

/* ============================================================
   WAITLIST / CTA SECTION
   ============================================================ */

.cta-section {
  text-align: center;
  padding: var(--sp-24) 0;
}

.cta-section__inner {
  max-width: 600px;
  margin-inline: auto;
}

.cta-section__title {
  font-size: clamp(32px, 4vw, 48px);
  font-weight: 700;
  letter-spacing: -0.035em;
  line-height: 1.1;
  color: var(--text-primary);
  margin-bottom: var(--sp-4);
}

.cta-section__sub {
  font-size: 16px;
  color: var(--text-secondary);
  margin-bottom: var(--sp-8);
  line-height: 1.6;
}

.waitlist-form {
  display: flex;
  gap: var(--sp-3);
  max-width: 460px;
  margin-inline: auto;
}

.waitlist-form__input {
  flex: 1;
  padding: 13px var(--sp-4);
  background: var(--bg-surface);
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  font-size: 14px;
  font-family: var(--font-sans);
  color: var(--text-primary);
  outline: none;
  transition: border-color 0.2s;
}

.waitlist-form__input::placeholder { color: var(--text-muted); }

.waitlist-form__input:focus {
  border-color: var(--indigo-600);
  box-shadow: 0 0 0 3px rgba(49, 63, 146, 0.15);
}

.waitlist-form__btn {
  padding: 13px 24px;
  background: var(--accent);
  color: #fff;
  border-radius: var(--r-md);
  font-size: 14px;
  font-weight: 600;
  font-family: var(--font-sans);
  transition: all 0.2s;
  white-space: nowrap;
}

.waitlist-form__btn:hover {
  background: var(--accent-hover);
  box-shadow: 0 4px 20px var(--accent-glow);
}

.cta-section__note {
  margin-top: var(--sp-4);
  font-size: 12px;
  color: var(--text-muted);
}

/* success state */
.waitlist-form.submitted .waitlist-form__input,
.waitlist-form.submitted .waitlist-form__btn { display: none; }

.waitlist-form__success {
  display: none;
  padding: 13px var(--sp-6);
  background: rgba(22, 163, 74, 0.1);
  border: 1px solid rgba(22, 163, 74, 0.25);
  border-radius: var(--r-md);
  font-size: 14px;
  color: #4ade80;
  font-weight: 500;
  text-align: center;
}

.waitlist-form.submitted .waitlist-form__success { display: block; }

/* coming soon badge */
.coming-soon-badge {
  display: inline-flex;
  align-items: center;
  gap: var(--sp-3);
  padding: 14px 32px;
  background: rgba(49, 63, 146, 0.1);
  border: 1px solid rgba(49, 63, 146, 0.3);
  border-radius: var(--r-full);
  font-size: 15px;
  font-weight: 600;
  color: var(--indigo-400);
  letter-spacing: -0.01em;
  margin-bottom: var(--sp-4);
}

.coming-soon-badge__dot {
  width: 8px;
  height: 8px;
  background: var(--cyan-400);
  border-radius: 50%;
  animation: pulse-dot 2s ease-in-out infinite;
  flex-shrink: 0;
}

/* privacy data table row hover */
.privacy-section [style*="grid-template-columns"] > div:first-child {
  transition: color 0.15s;
}
.privacy-section [style*="grid-template-columns"]:hover > div:first-child {
  color: var(--text-primary);
}

/* ============================================================
   FOOTER
   ============================================================ */

.footer {
  border-top: 1px solid var(--border-subtle);
  padding: var(--sp-8) 0;
  position: relative;
  z-index: 1;
}

.footer__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: var(--sp-4);
}

.footer__brand {
  display: flex;
  align-items: center;
  gap: var(--sp-3);
}

.footer__brand-icon {
  width: 24px;
  height: 24px;
  opacity: 0.7;
}

.footer__brand-name {
  font-size: 14px;
  font-weight: 600;
  color: var(--text-secondary);
}

.footer__copy {
  font-size: 12px;
  color: var(--text-muted);
}

.footer__links {
  display: flex;
  gap: var(--sp-6);
}

.footer__link {
  font-size: 12px;
  color: var(--text-muted);
  transition: color 0.2s;
}

.footer__link:hover { color: var(--text-secondary); }

/* ============================================================
   ANIMATIONS
   ============================================================ */

.fade-up {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-up.visible {
  opacity: 1;
  transform: translateY(0);
}

.fade-up--d1 { transition-delay: 0.1s; }
.fade-up--d2 { transition-delay: 0.2s; }
.fade-up--d3 { transition-delay: 0.3s; }
.fade-up--d4 { transition-delay: 0.4s; }

/* ============================================================
   RESPONSIVE
   ============================================================ */

@media (max-width: 900px) {
  .hero__inner {
    grid-template-columns: 1fr;
    gap: var(--sp-12);
    text-align: center;
  }
  .hero__sub    { margin-inline: auto; }
  .hero__actions { justify-content: center; }
  .hero__note   { justify-content: center; }
  .hero__visual { max-width: 500px; margin-inline: auto; }

  .steps { grid-template-columns: 1fr; }
  .features { grid-template-columns: 1fr; }
  .feature-card--wide { grid-column: span 1; grid-template-columns: 1fr; }
  .pricing-grid { grid-template-columns: repeat(2, 1fr) !important; }
  .privacy-grid { grid-template-columns: 1fr; }
  .waitlist-form { flex-direction: column; }
}

@media (max-width: 640px) {
  .nav__links { display: none; }
  .nav__hamburger { display: flex; }
  :root { --sp-24: 64px; }
  .footer__inner { flex-direction: column; align-items: flex-start; }
}
