/* ============================================================
   SimNapse Design System
   ============================================================ */

:root {
  /* Color palette */
  --bg-base:       #07090F;
  --bg-surface:    #0D1117;
  --bg-elevated:   #111827;
  --bg-card:       #0D1421;
  --border:        #1E2A3A;
  --border-light:  #243040;

  --blue-400:  #60A5FA;
  --blue-500:  #3B82F6;
  --blue-600:  #2563EB;
  --blue-700:  #1D4ED8;
  --purple-400:#C4B5FD;
  --purple-500:#A78BFA;
  --purple-600:#8B5CF6;
  --purple-700:#7C3AED;
  --cyan-400:  #22D3EE;
  --cyan-500:  #06B6D4;
  --green-400: #34D399;
  --green-500: #10B981;
  --amber-400: #FBBF24;
  --amber-500: #F59E0B;
  --red-400:   #F87171;

  --text-primary:   #E2E8F0;
  --text-secondary: #94A3B8;
  --text-muted:     #64748B;
  --text-dim:       #475569;

  /* Gradients */
  --grad-primary:  linear-gradient(135deg, #3B82F6 0%, #8B5CF6 100%);
  --grad-hero-glow:radial-gradient(ellipse 80% 60% at 50% 0%, rgba(59,130,246,0.12) 0%, transparent 70%);
  --grad-purple-glow:radial-gradient(ellipse 60% 50% at 70% 30%, rgba(139,92,246,0.08) 0%, transparent 70%);

  /* Typography */
  --font: 'Inter', system-ui, -apple-system, sans-serif;
  --font-mono: 'JetBrains Mono', 'Fira Code', 'Cascadia Code', monospace;

  /* Spacing */
  --section-y: 100px;
  --container: 1200px;

  /* Radii */
  --r-sm: 6px;
  --r-md: 10px;
  --r-lg: 16px;
  --r-xl: 24px;

  /* Shadows */
  --shadow-card: 0 4px 32px rgba(0,0,0,0.4);
  --shadow-glow-blue: 0 0 48px rgba(59,130,246,0.18);
  --shadow-glow-purple: 0 0 48px rgba(139,92,246,0.18);
}

/* ============================================================
   Reset & Base
   ============================================================ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
  font-size: 16px;
}

@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }
}

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

/* Theme switching (Wave 4 B10 — same convention used by viewer).
   `body[data-theme=light]` flips the primary surface and text colour
   variables; the Card/panel components inherit through CSS vars so a
   single attribute toggles the whole dashboard.                       */
body[data-theme="light"] {
  --bg-base:        #f8fafc;
  --bg-surface:     #ffffff;
  --bg-surface-2:   #f1f5f9;
  --text-primary:   #0f172a;
  --text-secondary: #475569;
  --border-default: #e2e8f0;
}
body[data-theme="classic"] {
  --bg-base:        #fff8d2;
  --bg-surface:     #ffffff;
  --bg-surface-2:   #fff3a8;
  --text-primary:   #1f2937;
  --text-secondary: #4b5563;
  --border-default: #fbbf24;
}

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

/* ============================================================
   Typography
   ============================================================ */
.gradient-text {
  background: var(--grad-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ============================================================
   Layout
   ============================================================ */
.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

.section {
  padding: var(--section-y) 0;
}

.section-header {
  text-align: center;
  margin-bottom: 64px;
}

.section-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--blue-500);
  margin-bottom: 16px;
}

.section-label::before,
.section-label::after {
  content: '';
  display: block;
  width: 24px;
  height: 1px;
  background: var(--blue-500);
  opacity: 0.5;
}

.section-title {
  font-size: clamp(28px, 4vw, 42px);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin-bottom: 16px;
}

.section-subtitle {
  font-size: 17px;
  color: var(--text-secondary);
  max-width: 580px;
  margin: 0 auto;
  line-height: 1.7;
}

/* ============================================================
   Buttons
   ============================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font);
  font-weight: 500;
  border-radius: var(--r-md);
  transition: background 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease, color 0.2s ease, transform 0.2s ease;
  cursor: pointer;
  white-space: nowrap;
}

.btn-lg { font-size: 15px; padding: 14px 26px; }
.btn-md { font-size: 14px; padding: 11px 20px; }
.btn-sm { font-size: 13px; padding: 8px 16px; }

.btn-primary {
  background: var(--blue-600);
  color: #fff;
  box-shadow: 0 0 0 0 rgba(59,130,246,0);
}
.btn-primary:hover {
  background: var(--blue-500);
  box-shadow: 0 4px 24px rgba(59,130,246,0.35);
  transform: translateY(-1px);
}

.btn-outline {
  border: 1.5px solid var(--border-light);
  color: var(--text-primary);
  background: transparent;
}
.btn-outline:hover {
  border-color: var(--blue-500);
  color: var(--blue-400);
  background: rgba(59,130,246,0.05);
}

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

.btn-icon { flex-shrink: 0; }

/* Nav buttons */
.btn-ghost-sm {
  font-size: 14px; font-weight: 500; padding: 8px 14px;
  color: var(--text-secondary); border-radius: var(--r-sm);
  transition: color 0.2s;
}
.btn-ghost-sm:hover { color: var(--text-primary); }

.btn-primary-sm {
  font-size: 14px; font-weight: 500; padding: 8px 16px;
  background: var(--blue-600); color: #fff;
  border-radius: var(--r-sm); transition: background 0.2s, box-shadow 0.2s;
}
.btn-primary-sm:hover { background: var(--blue-500); box-shadow: 0 4px 16px rgba(59,130,246,0.3); }

/* Full-width mobile buttons */
.btn-ghost-full, .btn-primary-full {
  display: block; text-align: center; padding: 12px;
  border-radius: var(--r-md); font-size: 15px; font-weight: 500;
}
.btn-ghost-full { border: 1.5px solid var(--border-light); color: var(--text-secondary); }
.btn-primary-full { background: var(--blue-600); color: #fff; margin-top: 10px; }

/* ============================================================
   Navigation
   ============================================================ */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  border-bottom: 1px solid transparent;
  transition: background 0.3s, border-color 0.3s, backdrop-filter 0.3s;
}

.nav.scrolled {
  background: rgba(7, 9, 15, 0.85);
  border-color: var(--border);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
}

.nav-container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
  height: 68px;
  display: flex;
  align-items: center;
  gap: 32px;
}

.nav-logo {
  display: flex; align-items: center; gap: 10px;
  font-size: 18px; font-weight: 700; letter-spacing: -0.01em;
  color: var(--text-primary); flex-shrink: 0;
}

.nav-logo-icon {
  width: 32px; height: 32px; display: flex; align-items: center; justify-content: center;
  background: linear-gradient(135deg, rgba(59,130,246,0.15), rgba(139,92,246,0.15));
  border: 1px solid rgba(59,130,246,0.2);
  border-radius: 8px;
}

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

.nav-links a {
  font-size: 14px; color: var(--text-secondary); padding: 6px 12px;
  border-radius: var(--r-sm); transition: color 0.2s;
}
.nav-links a:hover { color: var(--text-primary); }

.nav-actions {
  display: flex; align-items: center; gap: 8px; flex-shrink: 0;
}

.nav-mobile-toggle {
  display: none; flex-direction: column; gap: 5px;
  width: 36px; height: 36px; justify-content: center; align-items: center;
}
.nav-mobile-toggle span {
  display: block; width: 20px; height: 1.5px;
  background: var(--text-secondary); border-radius: 2px;
  transition: transform 0.3s, opacity 0.3s;
}

.nav-mobile-menu {
  display: none;
  background: var(--bg-surface);
  border-top: 1px solid var(--border);
  padding: 16px 24px 24px;
}
.nav-mobile-menu.open { display: block; }
.nav-mobile-menu ul { display: flex; flex-direction: column; gap: 4px; margin-bottom: 16px; }
.nav-mobile-menu a { display: block; padding: 10px 0; font-size: 15px; color: var(--text-secondary); }

/* ============================================================
   Hero Section
   ============================================================ */
.hero {
  position: relative;
  padding: 140px 0 80px;
  overflow: hidden;
}

.hero-bg-glow {
  position: absolute; top: 0; left: 0; right: 0; height: 100%;
  background: var(--grad-hero-glow);
  pointer-events: none;
}

.hero-grid-pattern {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(var(--border) 1px, transparent 1px),
    linear-gradient(90deg, var(--border) 1px, transparent 1px);
  background-size: 60px 60px;
  opacity: 0.15;
  pointer-events: none;
}

.hero-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

/* Status strip */
.status-strip {
  display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 28px;
}

.status-badge {
  display: inline-flex; align-items: center; gap: 7px;
  font-size: 12px; font-weight: 500;
  padding: 5px 12px; border-radius: 100px;
  border: 1px solid;
}

.status-live {
  color: var(--green-400);
  background: rgba(16, 185, 129, 0.08);
  border-color: rgba(16, 185, 129, 0.2);
}
.status-soon {
  color: var(--amber-400);
  background: rgba(245, 158, 11, 0.08);
  border-color: rgba(245, 158, 11, 0.2);
}
.status-planned {
  color: var(--blue-400);
  background: rgba(59, 130, 246, 0.08);
  border-color: rgba(59, 130, 246, 0.2);
}

.status-dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--green-500);
  animation: pulse-green 2s infinite;
}
.status-dot-soon {
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--amber-500);
}
.status-dot-planned {
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--blue-500);
}

@keyframes pulse-green {
  0%, 100% { box-shadow: 0 0 0 0 rgba(16,185,129,0.5); }
  50% { box-shadow: 0 0 0 5px rgba(16,185,129,0); }
}

/* Hero title */
.hero-title {
  font-size: clamp(36px, 5vw, 58px);
  font-weight: 900;
  line-height: 1.08;
  letter-spacing: -0.03em;
  margin-bottom: 24px;
}

.hero-subtitle {
  font-size: 17px;
  color: var(--text-secondary);
  line-height: 1.75;
  margin-bottom: 36px;
  max-width: 480px;
}
.hero-subtitle strong { color: var(--text-primary); font-weight: 500; }

/* Hero CTA group */
.hero-cta-group {
  display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 36px;
}

/* Hero trust */
.hero-trust {
  display: flex; flex-wrap: wrap; align-items: center; gap: 8px;
}
.trust-text { font-size: 12px; color: var(--text-muted); }
.trust-tag {
  font-size: 12px; color: var(--text-dim);
  background: var(--bg-elevated); border: 1px solid var(--border);
  padding: 3px 10px; border-radius: 100px;
}

/* Hero visual */
.hero-visual { position: relative; }

.mockup-wrapper {
  border-radius: var(--r-xl);
  overflow: hidden;
  border: 1px solid var(--border);
  box-shadow:
    var(--shadow-card),
    var(--shadow-glow-blue),
    0 0 0 1px rgba(59,130,246,0.05);
  background: var(--bg-surface);
}

.hero-diagram { width: 100%; height: auto; display: block; }

.mockup-indicators {
  display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px;
}

.indicator {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 11.5px; color: var(--text-muted);
  background: var(--bg-elevated); border: 1px solid var(--border);
  padding: 5px 10px; border-radius: 100px;
}
.ind-dot {
  width: 5px; height: 5px; border-radius: 50%;
  background: var(--green-500); animation: pulse-green 2s infinite;
}
.ind-dot-soon    { width: 5px; height: 5px; border-radius: 50%; background: var(--amber-500); }
.ind-dot-planned { width: 5px; height: 5px; border-radius: 50%; background: var(--blue-500); }

.indicator-live {
  color: var(--green-400);
  background: rgba(16,185,129,.06);
  border-color: rgba(16,185,129,.2);
}

/* ============================================================
   Trust Bar
   ============================================================ */
.trust-bar {
  padding: 32px 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  background: var(--bg-surface);
}

.trust-bar-inner {
  display: flex; flex-wrap: wrap; justify-content: center;
  align-items: center; gap: 16px 48px;
}

.trust-bar-label {
  font-size: 12px; font-weight: 600; letter-spacing: 0.08em;
  text-transform: uppercase; color: var(--text-dim);
}

.trust-audience-tag {
  font-size: 13px; color: var(--text-muted);
  display: flex; align-items: center; gap: 8px;
}
.trust-audience-tag::before {
  content: '';
  display: block; width: 4px; height: 4px;
  border-radius: 50%; background: var(--blue-500);
}

/* ============================================================
   Features Today
   ============================================================ */
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 16px;
}

.feature-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: 28px 24px;
  text-align: center;
  transition: border-color 0.2s, transform 0.2s, box-shadow 0.2s;
}
.feature-card:hover {
  border-color: var(--border-light);
  transform: translateY(-2px);
  box-shadow: 0 8px 32px rgba(0,0,0,0.3);
}

.feature-icon {
  width: 44px; height: 44px; border-radius: var(--r-md);
  display: flex; align-items: center; justify-content: center;
  font-size: 20px; margin: 0 auto 16px;
}

.feature-icon-blue  { background: rgba(59,130,246,0.1);  color: var(--blue-400); }
.feature-icon-purple{ background: rgba(139,92,246,0.1);  color: var(--purple-400); }
.feature-icon-cyan  { background: rgba(6,182,212,0.1);   color: var(--cyan-400); }
.feature-icon-green { background: rgba(16,185,129,0.1);  color: var(--green-400); }
.feature-icon-amber { background: rgba(245,158,11,0.1);  color: var(--amber-400); }

.feature-title {
  font-size: 15px; font-weight: 600; margin-bottom: 8px;
  color: var(--text-primary);
}

.feature-desc {
  font-size: 13.5px; color: var(--text-secondary); line-height: 1.6;
}

/* ============================================================
   Roadmap Section
   ============================================================ */
.roadmap-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 16px;
}

.roadmap-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: 24px;
  text-align: center;
  position: relative;
  overflow: hidden;
  transition: border-color 0.2s, transform 0.2s;
}
.roadmap-card:hover {
  transform: translateY(-2px);
  border-color: var(--border-light);
}

.roadmap-card.priority {
  border-color: rgba(59,130,246,0.25);
  background: linear-gradient(135deg, rgba(59,130,246,0.04), var(--bg-card));
}
.roadmap-card.priority::before {
  content: 'Next Up';
  position: absolute; top: 12px; right: 12px;
  font-size: 10px; font-weight: 600;
  color: var(--blue-400);
  background: rgba(59,130,246,0.12);
  border: 1px solid rgba(59,130,246,0.25);
  padding: 3px 8px; border-radius: 100px;
  letter-spacing: 0.05em;
}

.roadmap-num {
  font-size: 11px; font-weight: 700; color: var(--text-dim);
  font-family: var(--font-mono); margin-bottom: 12px;
  letter-spacing: 0.05em;
}

.roadmap-icon { font-size: 22px; margin-bottom: 12px; }

.roadmap-title {
  font-size: 15px; font-weight: 600; margin-bottom: 8px;
}

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

.roadmap-status {
  display: inline-flex; align-items: center; gap: 5px;
  margin-top: 14px; font-size: 11.5px; font-weight: 500;
  padding: 4px 10px; border-radius: 100px;
}
.roadmap-status.soon  { background: rgba(245,158,11,0.1);  color: var(--amber-400);  border: 1px solid rgba(245,158,11,0.2); }
.roadmap-status.planned { background: rgba(59,130,246,0.1);  color: var(--blue-400);   border: 1px solid rgba(59,130,246,0.2); }

/* ============================================================
   Why SimNapse
   ============================================================ */
.why-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--border);
  border-radius: var(--r-lg);
  overflow: hidden;
  border: 1px solid var(--border);
}

.why-item {
  background: var(--bg-card);
  padding: 32px 28px;
  text-align: center;
  transition: background 0.2s;
}
.why-item:hover { background: var(--bg-elevated); }

.why-accent { font-size: 28px; margin-bottom: 16px; }

.why-title {
  font-size: 16px; font-weight: 600; margin-bottom: 10px;
}

.why-desc {
  font-size: 13.5px; color: var(--text-secondary); line-height: 1.6;
}

/* ============================================================
   Workflow Comparison
   ============================================================ */
.workflow-section { background: var(--bg-surface); }

.workflow-cols {
  display: grid; grid-template-columns: 1fr 1fr; gap: 32px;
}

.workflow-col {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--r-xl);
  padding: 36px 32px;
}

.workflow-col.col-simnapse {
  border-color: rgba(59,130,246,0.3);
  box-shadow: var(--shadow-glow-blue);
}

.workflow-col-label {
  font-size: 11px; font-weight: 700; letter-spacing: 0.1em;
  text-transform: uppercase; margin-bottom: 16px;
}
.col-simnapse .workflow-col-label { color: var(--blue-400); }
.col-traditional .workflow-col-label { color: var(--text-dim); }

.workflow-col h3 {
  font-size: 20px; font-weight: 700; margin-bottom: 12px;
}

.workflow-col p {
  font-size: 14px; color: var(--text-secondary); line-height: 1.7; margin-bottom: 24px;
}

.workflow-list { display: flex; flex-direction: column; gap: 10px; }

.workflow-item {
  display: flex; align-items: flex-start; gap: 10px;
  font-size: 13.5px; color: var(--text-secondary);
}

.workflow-item-icon {
  font-size: 14px; flex-shrink: 0; margin-top: 1px;
}

/* ============================================================
   For Teams & Education (shared)
   ============================================================ */
.audience-section {
  display: grid; grid-template-columns: 1fr 1.2fr; gap: 64px; align-items: center;
}
.audience-section.reverse { direction: rtl; }
.audience-section.reverse > * { direction: ltr; }

.audience-content {}

.audience-tag {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 12px; font-weight: 600; letter-spacing: 0.08em;
  text-transform: uppercase; color: var(--purple-500); margin-bottom: 20px;
}

.audience-title {
  font-size: clamp(26px, 3.5vw, 38px);
  font-weight: 800; line-height: 1.15; letter-spacing: -0.02em; margin-bottom: 20px;
}

.audience-lead {
  font-size: 16px; color: var(--text-secondary); line-height: 1.7; margin-bottom: 32px;
}

.audience-features {
  display: flex; flex-direction: column; gap: 14px; margin-bottom: 32px;
}

.audience-feat {
  display: flex; align-items: flex-start; gap: 12px;
}

.audience-feat-icon {
  width: 32px; height: 32px; border-radius: var(--r-sm);
  display: flex; align-items: center; justify-content: center;
  font-size: 15px; flex-shrink: 0;
  background: rgba(59,130,246,0.08); color: var(--blue-400);
}

.audience-feat-text strong { display: block; font-size: 14px; color: var(--text-primary); margin-bottom: 2px; }
.audience-feat-text span { font-size: 13px; color: var(--text-secondary); line-height: 1.5; }

.audience-visual {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--r-xl);
  overflow: hidden;
}

.audience-visual-inner {
  padding: 32px;
}

.mock-panel {
  background: var(--bg-surface);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  overflow: hidden;
}

.mock-panel-header {
  padding: 12px 16px;
  border-bottom: 1px solid var(--border);
  font-size: 12px; font-weight: 600; color: var(--text-muted);
  display: flex; align-items: center; justify-content: space-between;
}

.mock-panel-body { padding: 16px; }

.mock-user-row {
  display: flex; align-items: center; gap: 12px;
  padding: 8px 0; border-bottom: 1px solid var(--border);
}
.mock-user-row:last-child { border-bottom: none; }

.mock-avatar {
  width: 28px; height: 28px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 11px; font-weight: 700; flex-shrink: 0;
}

.mock-user-info { flex: 1; }
.mock-user-info strong { display: block; font-size: 12px; color: var(--text-primary); }
.mock-user-info span { font-size: 11px; color: var(--text-muted); }

.mock-badge {
  font-size: 10px; font-weight: 600; padding: 3px 7px;
  border-radius: 100px;
}
.badge-owner { background: rgba(139,92,246,0.15); color: var(--purple-400); }
.badge-editor { background: rgba(59,130,246,0.15); color: var(--blue-400); }
.badge-viewer { background: rgba(100,116,139,0.15); color: var(--text-muted); }

/* ============================================================
   Pricing
   ============================================================ */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  align-items: stretch;
}

.pricing-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--r-xl);
  padding: 28px 24px;
  display: flex; flex-direction: column;
  text-align: center;
  transition: border-color 0.2s, box-shadow 0.2s, transform 0.2s;
}
.pricing-card:hover {
  border-color: var(--border-light);
  transform: translateY(-3px);
  box-shadow: var(--shadow-card);
}

.pricing-card.featured {
  border-color: var(--blue-600);
  background: linear-gradient(135deg, rgba(59,130,246,0.06), var(--bg-card));
  box-shadow: var(--shadow-glow-blue);
  position: relative;
}

.pricing-card.featured::before {
  content: 'Most Popular';
  position: absolute; top: -12px; left: 50%; transform: translateX(-50%);
  font-size: 11px; font-weight: 700; letter-spacing: 0.06em;
  padding: 4px 14px; border-radius: 100px;
  background: var(--blue-600); color: #fff;
}

.pricing-card-header { display: flex; flex-direction: column; }

.pricing-plan {
  font-size: 12px; font-weight: 700; letter-spacing: 0.1em;
  text-transform: uppercase; color: var(--text-muted); margin-bottom: 12px;
}
.featured .pricing-plan { color: var(--blue-400); }

.pricing-price {
  font-size: 32px; font-weight: 800; letter-spacing: -0.03em;
  line-height: 1; margin-bottom: 4px;
}

.pricing-price-sub {
  font-size: 13px; color: var(--text-muted); margin-bottom: 20px;
}

.pricing-desc {
  font-size: 13px; color: var(--text-secondary); line-height: 1.6;
  margin-bottom: 20px;
}

.pricing-divider {
  height: 1px; background: var(--border); margin-bottom: 20px;
}

.pricing-features { display: flex; flex-direction: column; gap: 10px; flex: 1; margin-bottom: 24px; }

.pricing-feat {
  display: flex; align-items: flex-start; gap: 8px;
  font-size: 13px; color: var(--text-secondary);
  text-align: left;
}
.pricing-feat-check { color: var(--green-400); flex-shrink: 0; font-size: 14px; }
.pricing-feat-no    { color: var(--text-dim);   flex-shrink: 0; font-size: 14px; }
.pricing-feat-soon  { color: var(--amber-400);  flex-shrink: 0; font-size: 10px; font-weight: 700; letter-spacing: .04em; border: 1px solid rgba(245,158,11,.3); border-radius: 3px; padding: 1px 4px; line-height: 1.6; margin-top: 1px; }

.pricing-cta { margin-top: auto; }
.pricing-cta .btn { width: 100%; justify-content: center; }

/* ============================================================
   Platforms Section
   ============================================================ */
.platforms-section {
  background: linear-gradient(135deg, rgba(59,130,246,0.05), rgba(139,92,246,0.05));
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.platforms-inner {
  display: flex; align-items: center; gap: 64px;
}

.platforms-content { flex: 1; }

.platforms-now, .platforms-soon {
  padding: 28px;
  border-radius: var(--r-lg);
  margin-bottom: 16px;
}

.platforms-now {
  background: rgba(16,185,129,0.06);
  border: 1px solid rgba(16,185,129,0.2);
}

.platforms-soon {
  background: rgba(59,130,246,0.06);
  border: 1px solid rgba(59,130,246,0.2);
}

.platform-label {
  font-size: 11px; font-weight: 700; text-transform: uppercase;
  letter-spacing: 0.1em; margin-bottom: 8px;
}
.platforms-now .platform-label  { color: var(--green-400); }
.platforms-soon .platform-label { color: var(--blue-400); }

.platform-item-title {
  font-size: 15px; font-weight: 600; margin-bottom: 6px;
}

.platform-item-desc {
  font-size: 13.5px; color: var(--text-secondary); line-height: 1.6;
}

.platforms-os-list {
  display: flex; gap: 12px; margin-top: 12px; flex-wrap: wrap;
}

.os-badge {
  display: flex; align-items: center; gap: 6px;
  font-size: 12px; color: var(--text-muted);
  background: var(--bg-elevated); border: 1px solid var(--border);
  padding: 5px 12px; border-radius: 100px;
}

/* ============================================================
   FAQ Section
   ============================================================ */
.faq-list { max-width: 720px; margin: 0 auto; }

.faq-item {
  border-bottom: 1px solid var(--border);
}
.faq-item:first-child { border-top: 1px solid var(--border); }

.faq-question {
  display: flex; justify-content: space-between; align-items: center;
  padding: 20px 0; cursor: pointer; gap: 16px;
  font-size: 16px; font-weight: 500; color: var(--text-primary);
  transition: color 0.2s;
}
.faq-question:hover { color: var(--blue-400); }

.faq-toggle {
  width: 24px; height: 24px; flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
  border-radius: 50%; background: var(--bg-elevated);
  font-size: 16px; color: var(--text-muted);
  transition: transform 0.3s, background 0.2s;
}
.faq-item.open .faq-toggle {
  transform: rotate(45deg);
  background: rgba(59,130,246,0.12);
  color: var(--blue-400);
}

.faq-answer {
  max-height: 0; overflow: hidden;
  transition: max-height 0.35s ease, padding 0.2s;
}
.faq-item.open .faq-answer { max-height: 300px; }

.faq-answer p {
  font-size: 14.5px; color: var(--text-secondary); line-height: 1.75;
  padding-bottom: 20px;
}

.faq-answer a { color: var(--blue-400); text-decoration: underline; }

/* ============================================================
   CTA Band
   ============================================================ */
.cta-band {
  padding: 80px 0;
  text-align: center;
  background: radial-gradient(ellipse 70% 80% at 50% 50%, rgba(59,130,246,0.07) 0%, transparent 70%);
  border-top: 1px solid var(--border);
}

.cta-band-title {
  font-size: clamp(28px, 4vw, 44px);
  font-weight: 800; letter-spacing: -0.025em;
  line-height: 1.12; margin-bottom: 20px;
}

.cta-band-subtitle {
  font-size: 17px; color: var(--text-secondary);
  max-width: 500px; margin: 0 auto 36px; line-height: 1.7;
}

.cta-band-actions {
  display: flex; flex-wrap: wrap; justify-content: center; gap: 14px;
}

/* ============================================================
   Footer
   ============================================================ */
.footer {
  background: var(--bg-surface);
  border-top: 1px solid var(--border);
  padding: 60px 0 32px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 48px;
}

.footer-brand {}

.footer-logo {
  display: flex; align-items: center; gap: 10px;
  font-size: 17px; font-weight: 700; margin-bottom: 14px;
}

.footer-logo-icon {
  width: 30px; height: 30px;
  display: flex; align-items: center; justify-content: center;
  background: linear-gradient(135deg, rgba(59,130,246,0.15), rgba(139,92,246,0.15));
  border: 1px solid rgba(59,130,246,0.2);
  border-radius: 7px;
}

.footer-tagline {
  font-size: 13.5px; color: var(--text-secondary);
  line-height: 1.7; margin-bottom: 20px; max-width: 260px;
}

.footer-social {
  display: flex; gap: 8px;
}

.social-link {
  width: 32px; height: 32px; border-radius: var(--r-sm);
  display: flex; align-items: center; justify-content: center;
  background: var(--bg-elevated); border: 1px solid var(--border);
  font-size: 14px; color: var(--text-muted);
  transition: color 0.2s, border-color 0.2s;
}
.social-link:hover { color: var(--text-primary); border-color: var(--border-light); }

.footer-col h4 {
  font-size: 12px; font-weight: 700; text-transform: uppercase;
  letter-spacing: 0.08em; color: var(--text-dim);
  margin-bottom: 16px;
}

.footer-col ul { display: flex; flex-direction: column; gap: 10px; }

.footer-col a {
  font-size: 13.5px; color: var(--text-secondary);
  transition: color 0.2s;
}
.footer-col a:hover { color: var(--text-primary); }

.footer-bottom {
  border-top: 1px solid var(--border);
  padding-top: 28px;
  display: flex; flex-direction: column; gap: 12px;
}

.footer-disclaimer {
  font-size: 12px; color: var(--text-dim); line-height: 1.6;
  max-width: 740px;
}

.footer-copyright {
  font-size: 12px; color: var(--text-dim);
}

/* ============================================================
   Utility badges
   ============================================================ */
.badge {
  display: inline-flex; align-items: center; gap: 5px;
  font-size: 11px; font-weight: 600; padding: 4px 9px;
  border-radius: 100px;
}
.badge-live    { background: rgba(16,185,129,0.1);  color: var(--green-400);  border: 1px solid rgba(16,185,129,0.25); }
.badge-soon    { background: rgba(245,158,11,0.1);  color: var(--amber-400);  border: 1px solid rgba(245,158,11,0.25); }
.badge-planned { background: rgba(59,130,246,0.1);  color: var(--blue-400);   border: 1px solid rgba(59,130,246,0.2); }

/* ============================================================
   Animations (entrance)
   ============================================================ */
.fade-in {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
  .fade-in {
    opacity: 1;
    transform: none;
    transition: none;
  }
  .status-dot, .ind-dot { animation: none; }
}

/* ============================================================
   Responsive
   ============================================================ */
/* ── Pricing subgrid — alinha divisória e "For…" na mesma altura em 4 cols ── */
@media (min-width: 1101px) {
  .pricing-grid {
    column-gap: 16px;
    row-gap: 0;
    grid-template-rows: repeat(7, auto); /* plan · price · sub · desc · divider · features · cta */
  }
  .pricing-card {
    display: grid;
    grid-template-rows: subgrid;
    grid-row: span 7;
  }
  /* O wrapper vira transparente: seus filhos viram itens diretos do subgrid */
  .pricing-card-header { display: contents; }
  .pricing-desc  { margin-bottom: 20px; }
  .pricing-features { flex: none; margin-bottom: 24px; }
  .pricing-cta   { margin-top: 0; }
}

@media (max-width: 1100px) {
  .pricing-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid  { grid-template-columns: 1fr 1fr 1fr; }
}

@media (max-width: 900px) {
  .hero-inner     { grid-template-columns: 1fr; gap: 48px; }
  .hero-visual    { order: -1; }
  .workflow-cols  { grid-template-columns: 1fr; }
  .audience-section { grid-template-columns: 1fr; }
  .audience-section.reverse { direction: ltr; }
  .why-grid       { grid-template-columns: repeat(2, 1fr); }
  .platforms-inner{ flex-direction: column; gap: 40px; }
}

@media (max-width: 768px) {
  :root { --section-y: 64px; }
  .nav-links, .nav-actions { display: none; }
  .nav-mobile-toggle { display: flex; }
  .hero { padding: 120px 0 60px; }
  .hero-title { font-size: 36px; }
  .hero-cta-group .btn-lg { font-size: 14px; padding: 12px 20px; }
  .why-grid { grid-template-columns: 1fr; }
  .pricing-grid { grid-template-columns: 1fr; }
  .pricing-card-header { min-height: 0; }
  .footer-grid  { grid-template-columns: 1fr 1fr; }
  .mockup-indicators { display: none; }
}

@media (max-width: 480px) {
  .hero-title { font-size: 30px; }
  .status-strip { gap: 6px; }
  .status-badge { font-size: 11px; }
  .footer-grid { grid-template-columns: 1fr; }
}

/* ── Focus ring ───────────────────────────────────────────────────────────── */
/* Visible only during keyboard navigation; suppressed for mouse/touch. */
:focus-visible {
  outline: 2px solid var(--blue-500);
  outline-offset: 2px;
}
:focus:not(:focus-visible) { outline: none; }

/* Waitlist input focus — replaces inline onfocus/onblur handlers */
.waitlist-form input:focus {
  border-color: var(--blue-500) !important;
  outline: none;
}
.waitlist-form input:focus-visible {
  border-color: var(--blue-500) !important;
  outline: none;
  box-shadow: 0 0 0 3px rgba(59,130,246,0.12);
}
