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

:root {
  --bg: #09090b;
  --bg-2: #111113;
  --bg-3: #18181b;
  --bg-4: #1c1c1f;
  --border: rgba(255,255,255,0.08);
  --border-hover: rgba(255,255,255,0.15);
  --text: #fafafa;
  --text-2: #a1a1aa;
  --text-3: #71717a;
  --purple: #a78bfa;
  --purple-dark: #7c3aed;
  --purple-light: #c4b5fd;
  --green: #4ade80;
  --radius: 12px;
  --radius-lg: 20px;
  --shadow: 0 0 0 1px rgba(255,255,255,0.06), 0 4px 24px rgba(0,0,0,0.4);
  --shadow-lg: 0 0 0 1px rgba(255,255,255,0.06), 0 20px 60px rgba(0,0,0,0.6);
  --transition: 0.2s ease;
  --font: 'Inter', system-ui, sans-serif;
  --mono: 'JetBrains Mono', 'Courier New', monospace;
}

html { scroll-behavior: smooth; }

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

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

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

/* =====================
   Buttons
   ===================== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 20px;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 500;
  transition: all var(--transition);
  white-space: nowrap;
}
.btn-primary {
  background: var(--purple);
  color: #fff;
}
.btn-primary:hover { background: var(--purple-light); transform: translateY(-1px); box-shadow: 0 4px 20px rgba(167,139,250,0.3); }
.btn-ghost {
  background: transparent;
  color: var(--text-2);
  border: 1px solid var(--border);
}
.btn-ghost:hover { border-color: var(--border-hover); color: var(--text); }
.btn-lg { padding: 14px 28px; font-size: 15px; border-radius: 10px; }
.btn-sm { padding: 8px 16px; font-size: 13px; }
.btn-full { width: 100%; justify-content: center; }

/* =====================
   Navbar
   ===================== */
.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  background: rgba(9,9,11,0.8);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
  transition: all var(--transition);
}
.navbar.scrolled {
  background: rgba(9,9,11,0.95);
}
.nav-inner {
  display: flex;
  align-items: center;
  height: 64px;
  gap: 32px;
}
.logo {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 700;
  font-size: 18px;
  letter-spacing: -0.3px;
}
.logo-icon {
  font-size: 22px;
  color: var(--purple);
}
.nav-links {
  display: flex;
  gap: 8px;
  margin-left: 8px;
  flex: 1;
}
.nav-links a {
  padding: 6px 12px;
  border-radius: 6px;
  font-size: 14px;
  color: var(--text-2);
  transition: all var(--transition);
}
.nav-links a:hover { color: var(--text); background: var(--bg-3); }
.nav-cta {
  display: flex;
  gap: 8px;
  margin-left: auto;
}
.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  padding: 4px;
  margin-left: auto;
}
.menu-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--text-2);
  border-radius: 2px;
  transition: all var(--transition);
}
.mobile-menu {
  display: none;
  flex-direction: column;
  gap: 4px;
  padding: 16px 24px;
  border-top: 1px solid var(--border);
  background: var(--bg);
}
.mobile-menu.open { display: flex; }
.mobile-menu a {
  padding: 10px 0;
  color: var(--text-2);
  font-size: 15px;
  border-bottom: 1px solid var(--border);
}
.mobile-menu .btn { margin-top: 8px; }

/* =====================
   Hero
   ===================== */
.hero {
  position: relative;
  padding: 160px 0 80px;
  overflow: hidden;
}
.hero-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
}
.grid-lines {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.02) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.02) 1px, transparent 1px);
  background-size: 60px 60px;
}
.glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(120px);
  opacity: 0.15;
}
.glow-1 {
  width: 600px; height: 600px;
  background: var(--purple-dark);
  top: -200px; left: -100px;
}
.glow-2 {
  width: 400px; height: 400px;
  background: #3b82f6;
  top: 0; right: -100px;
}
.glow-center {
  width: 600px; height: 300px;
  background: var(--purple-dark);
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  opacity: 0.2;
  pointer-events: none;
}
.hero-content {
  position: relative;
  text-align: center;
  max-width: 760px;
  margin: 0 auto;
}
.badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  background: rgba(167,139,250,0.1);
  border: 1px solid rgba(167,139,250,0.25);
  border-radius: 100px;
  font-size: 13px;
  color: var(--purple-light);
  margin-bottom: 32px;
}
.badge-dot {
  width: 6px; height: 6px;
  background: var(--purple);
  border-radius: 50%;
  animation: pulse 2s ease-in-out infinite;
}
@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(0.8); }
}
.hero-title {
  font-size: clamp(40px, 6vw, 72px);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -2px;
  margin-bottom: 24px;
}
.gradient-text {
  background: linear-gradient(135deg, var(--purple-light) 0%, var(--purple) 50%, #818cf8 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.hero-subtitle {
  font-size: clamp(16px, 2vw, 20px);
  color: var(--text-2);
  max-width: 560px;
  margin: 0 auto 40px;
  line-height: 1.7;
}
.hero-actions {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 48px;
}
.hero-stats {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 32px;
}
.stat {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
}
.stat-number {
  font-size: 24px;
  font-weight: 700;
  letter-spacing: -0.5px;
}
.stat-label {
  font-size: 12px;
  color: var(--text-3);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.stat-divider {
  width: 1px;
  height: 40px;
  background: var(--border);
}

/* =====================
   Editor Preview
   ===================== */
.editor-preview {
  margin-top: 64px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg), 0 0 0 1px rgba(167,139,250,0.1);
  background: var(--bg-2);
}
.editor-chrome {
  display: flex;
  align-items: center;
  padding: 12px 16px;
  background: var(--bg-3);
  border-bottom: 1px solid var(--border);
  gap: 12px;
}
.chrome-dots { display: flex; gap: 6px; }
.dot {
  width: 12px; height: 12px;
  border-radius: 50%;
}
.dot-red { background: #ff5f57; }
.dot-yellow { background: #ffbd2e; }
.dot-green { background: #28c840; }
.chrome-title {
  flex: 1;
  text-align: center;
  font-size: 13px;
  color: var(--text-3);
}
.chrome-controls {
  display: flex;
  gap: 8px;
  font-size: 16px;
  color: var(--text-3);
}
.editor-body {
  display: grid;
  grid-template-columns: 200px 1fr 1fr;
  min-height: 360px;
  font-family: var(--mono);
}
.editor-sidebar {
  background: var(--bg-3);
  border-right: 1px solid var(--border);
  font-size: 12px;
}
.sidebar-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 14px;
  border-bottom: 1px solid var(--border);
  color: var(--text-2);
  font-weight: 600;
  font-family: var(--font);
}
.sidebar-icon { cursor: pointer; font-size: 16px; color: var(--purple); }
.sidebar-tree { padding: 8px 0; }
.tree-folder, .tree-item {
  padding: 5px 14px;
  color: var(--text-2);
  cursor: pointer;
  transition: all var(--transition);
  font-size: 12px;
}
.tree-folder:hover, .tree-item:hover { color: var(--text); background: var(--bg-4); }
.tree-item.active { color: var(--purple-light); background: rgba(167,139,250,0.1); }
.tree-folder.open { color: var(--text); }
.editor-pane {
  border-right: 1px solid var(--border);
  display: flex;
  flex-direction: column;
}
.pane-tab {
  padding: 8px 16px;
  font-size: 12px;
  color: var(--text-3);
  border-bottom: 1px solid var(--border);
  font-family: var(--font);
  background: var(--bg-3);
}
.editor-text {
  padding: 20px 16px;
  flex: 1;
  font-size: 13px;
  line-height: 2;
}
.line { min-height: 26px; }
.md-h1 { color: #e2e8f0; font-weight: 700; font-size: 16px; }
.md-h2 { color: #cbd5e1; font-weight: 600; }
.md-text { color: var(--text-2); }
.md-link {
  color: var(--purple-light);
  background: rgba(167,139,250,0.1);
  padding: 1px 6px;
  border-radius: 4px;
  cursor: pointer;
}
.md-bold { color: var(--text); font-weight: 600; }
.cursor {
  display: inline-block;
  color: var(--purple);
  animation: blink 1s step-end infinite;
  font-weight: 100;
}
@keyframes blink { 0%, 100% { opacity: 1; } 50% { opacity: 0; } }
.editor-preview-pane { border-right: none; }
.preview-content {
  padding: 20px 20px;
  flex: 1;
  font-family: var(--font);
}
.preview-h1 { font-size: 20px; font-weight: 700; margin-bottom: 12px; }
.preview-h2 { font-size: 15px; font-weight: 600; margin: 16px 0 8px; color: var(--text-2); }
.preview-content p { font-size: 13px; color: var(--text-2); margin-bottom: 8px; line-height: 1.7; }
.preview-link { color: var(--purple-light); text-decoration: underline; cursor: pointer; }

/* =====================
   Sections Common
   ===================== */
.section-header { text-align: center; margin-bottom: 64px; }
.section-tag {
  display: inline-block;
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--purple);
  margin-bottom: 16px;
}
.section-title {
  font-size: clamp(28px, 4vw, 44px);
  font-weight: 700;
  letter-spacing: -1px;
  margin-bottom: 16px;
}
.section-subtitle {
  font-size: 17px;
  color: var(--text-2);
  max-width: 520px;
  margin: 0 auto;
}

/* =====================
   Features
   ===================== */
.features {
  padding: 120px 0;
  background: var(--bg-2);
}
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-template-rows: auto auto;
  gap: 16px;
}
.feature-card {
  background: var(--bg-3);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px;
  transition: all var(--transition);
}
.feature-card:hover {
  border-color: var(--border-hover);
  transform: translateY(-2px);
  box-shadow: 0 8px 32px rgba(0,0,0,0.3);
}
.feature-card-large {
  grid-column: span 2;
}
.feature-card-wide {
  grid-column: span 2;
}
.feature-icon {
  font-size: 28px;
  margin-bottom: 16px;
  font-family: var(--mono);
  color: var(--purple);
}
.feature-card h3 {
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 8px;
  letter-spacing: -0.3px;
}
.feature-card p {
  font-size: 14px;
  color: var(--text-2);
  line-height: 1.7;
}
.feature-card code {
  font-family: var(--mono);
  font-size: 12px;
  background: rgba(167,139,250,0.1);
  color: var(--purple-light);
  padding: 2px 6px;
  border-radius: 4px;
}

/* Graph Demo */
.graph-demo { margin-top: 24px; }
.graph-svg { width: 100%; max-width: 300px; }
.graph-edge {
  stroke: rgba(167,139,250,0.25);
  stroke-width: 1.5;
}
.graph-node-main {
  filter: drop-shadow(0 0 8px rgba(167,139,250,0.6));
}
.graph-node {
  fill: rgba(167,139,250,0.5);
  stroke: rgba(167,139,250,0.8);
  stroke-width: 1;
}
.graph-node-sm {
  fill: rgba(167,139,250,0.3);
  stroke: rgba(167,139,250,0.5);
  stroke-width: 1;
}
.graph-label {
  fill: var(--text-2);
  font-family: var(--font);
  font-size: 8px;
}

/* =====================
   How it Works
   ===================== */
.how-it-works { padding: 120px 0; }
.steps {
  display: flex;
  align-items: flex-start;
  gap: 0;
}
.step {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 16px;
  padding: 0 24px;
}
.step-number {
  width: 56px; height: 56px;
  border-radius: 16px;
  background: rgba(167,139,250,0.1);
  border: 1px solid rgba(167,139,250,0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  font-weight: 700;
  color: var(--purple);
  font-family: var(--mono);
  flex-shrink: 0;
}
.step-content h3 {
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 8px;
}
.step-content p {
  font-size: 14px;
  color: var(--text-2);
  line-height: 1.7;
}
.step-content code {
  font-family: var(--mono);
  font-size: 12px;
  background: rgba(167,139,250,0.1);
  color: var(--purple-light);
  padding: 2px 6px;
  border-radius: 4px;
}
.step-connector {
  width: 80px;
  height: 1px;
  background: linear-gradient(90deg, var(--border), rgba(167,139,250,0.3), var(--border));
  margin-top: 28px;
  flex-shrink: 0;
}

/* =====================
   Pricing
   ===================== */
.pricing { padding: 120px 0; background: var(--bg-2); }
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  align-items: start;
}
.pricing-card {
  background: var(--bg-3);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px;
  position: relative;
  transition: all var(--transition);
}
.pricing-card:hover { border-color: var(--border-hover); }
.pricing-card-featured {
  border-color: rgba(167,139,250,0.4);
  background: linear-gradient(180deg, rgba(167,139,250,0.05) 0%, var(--bg-3) 100%);
  transform: scale(1.02);
  box-shadow: 0 0 0 1px rgba(167,139,250,0.2), 0 20px 60px rgba(0,0,0,0.4);
}
.pricing-badge {
  display: inline-block;
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--purple);
  background: rgba(167,139,250,0.1);
  border: 1px solid rgba(167,139,250,0.3);
  padding: 4px 10px;
  border-radius: 100px;
  margin-bottom: 16px;
}
.pricing-header { margin-bottom: 16px; }
.plan-name {
  display: block;
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 8px;
  color: var(--text);
}
.plan-price {
  display: flex;
  align-items: baseline;
  gap: 4px;
}
.price-currency { font-size: 18px; font-weight: 500; color: var(--text-2); }
.price-value { font-size: 48px; font-weight: 800; letter-spacing: -2px; }
.price-period { font-size: 14px; color: var(--text-3); }
.plan-description {
  font-size: 13px;
  color: var(--text-2);
  margin-bottom: 24px;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--border);
}
.plan-features {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 28px;
}
.plan-features li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  color: var(--text-2);
}
.check { color: var(--green); font-weight: 700; }
.muted { color: var(--text-3); }
.pricing-note {
  text-align: center;
  margin-top: 32px;
  font-size: 13px;
  color: var(--text-3);
}
.pricing-note strong { color: var(--text-2); }

/* =====================
   Waitlist
   ===================== */
.waitlist {
  padding: 120px 0;
  position: relative;
  overflow: hidden;
}
.waitlist-inner {
  position: relative;
  max-width: 520px;
  margin: 0 auto;
  text-align: center;
  background: var(--bg-2);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 64px 48px;
}
.waitlist-inner h2 {
  font-size: 36px;
  font-weight: 700;
  letter-spacing: -1px;
  margin-bottom: 12px;
  margin-top: 12px;
}
.waitlist-inner p {
  color: var(--text-2);
  font-size: 15px;
  margin-bottom: 32px;
}
.waitlist-form {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.form-group { display: flex; flex-direction: column; gap: 6px; }
.form-group label { font-size: 13px; font-weight: 500; color: var(--text-2); text-align: left; }
.form-group input, .form-group textarea, .form-group select {
  background: var(--bg-3);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 12px 14px;
  color: var(--text);
  font-size: 14px;
  transition: all var(--transition);
  outline: none;
  width: 100%;
  resize: vertical;
}
.form-group input:focus, .form-group textarea:focus {
  border-color: var(--purple);
  box-shadow: 0 0 0 3px rgba(167,139,250,0.1);
}
.form-group input::placeholder, .form-group textarea::placeholder { color: var(--text-3); }
.form-disclaimer {
  font-size: 12px;
  color: var(--text-3);
  margin-top: 4px;
}
.form-disclaimer a { color: var(--purple-light); text-decoration: underline; }
.waitlist-success {
  text-align: center;
  padding: 32px;
}
.success-icon {
  width: 56px; height: 56px;
  background: rgba(74,222,128,0.1);
  border: 1px solid rgba(74,222,128,0.3);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  color: var(--green);
  margin: 0 auto 16px;
}
.waitlist-success h3 { font-size: 22px; font-weight: 700; margin-bottom: 8px; }
.waitlist-success p { color: var(--text-2); font-size: 14px; }

/* =====================
   FAQ
   ===================== */
.faq { padding: 120px 0; background: var(--bg-2); }
.faq-list {
  max-width: 720px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 0;
}
.faq-item {
  border-bottom: 1px solid var(--border);
}
.faq-question {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 0;
  background: none;
  color: var(--text);
  font-size: 15px;
  font-weight: 500;
  text-align: left;
  transition: all var(--transition);
}
.faq-question:hover { color: var(--purple-light); }
.faq-icon {
  font-size: 20px;
  color: var(--text-3);
  transition: all var(--transition);
  flex-shrink: 0;
  margin-left: 16px;
}
.faq-question[aria-expanded="true"] .faq-icon { transform: rotate(45deg); color: var(--purple); }
.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
}
.faq-answer p {
  padding: 0 0 20px;
  color: var(--text-2);
  font-size: 14px;
  line-height: 1.8;
}
.faq-answer a { color: var(--purple-light); text-decoration: underline; }
.faq-answer strong { color: var(--text); }

/* =====================
   Contact
   ===================== */
.contact { padding: 120px 0; }
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 80px;
  align-items: start;
}
.contact-info h2 {
  font-size: 36px;
  font-weight: 700;
  letter-spacing: -1px;
  margin-bottom: 12px;
  margin-top: 12px;
}
.contact-info > p {
  color: var(--text-2);
  font-size: 15px;
  margin-bottom: 32px;
  line-height: 1.7;
}
.contact-methods { display: flex; flex-direction: column; gap: 20px; }
.contact-method {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}
.contact-icon {
  width: 40px; height: 40px;
  background: rgba(167,139,250,0.1);
  border: 1px solid rgba(167,139,250,0.2);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  flex-shrink: 0;
  color: var(--purple);
}
.contact-method strong {
  display: block;
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 4px;
}
.contact-method a, .contact-method span {
  font-size: 14px;
  color: var(--text-2);
}
.contact-method a:hover { color: var(--purple-light); }
.contact-form {
  background: var(--bg-2);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 40px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.contact-success {
  font-size: 13px;
  color: var(--green);
  padding: 12px;
  background: rgba(74,222,128,0.05);
  border: 1px solid rgba(74,222,128,0.2);
  border-radius: 8px;
  text-align: center;
}

/* =====================
   Footer
   ===================== */
.footer {
  background: var(--bg-2);
  border-top: 1px solid var(--border);
  padding: 64px 0 32px;
}
.footer-top {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 64px;
  margin-bottom: 48px;
}
.footer-brand p {
  font-size: 14px;
  color: var(--text-3);
  margin-top: 12px;
  line-height: 1.7;
}
.footer-address {
  margin-top: 16px;
  font-size: 12px;
  color: var(--text-3);
  line-height: 1.8;
}
.footer-links {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}
.footer-col {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.footer-col h4 {
  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  color: var(--text-3);
  margin-bottom: 4px;
}
.footer-col a {
  font-size: 14px;
  color: var(--text-2);
  transition: color var(--transition);
}
.footer-col a:hover { color: var(--purple-light); }
.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 32px;
  border-top: 1px solid var(--border);
  font-size: 13px;
  color: var(--text-3);
  flex-wrap: wrap;
  gap: 8px;
}

/* =====================
   Cookie Banner
   ===================== */
.cookie-banner {
  position: fixed;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 200;
  background: var(--bg-3);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 20px 24px;
  max-width: 600px;
  width: calc(100% - 48px);
  box-shadow: var(--shadow-lg);
  animation: slideUp 0.4s ease;
}
.cookie-banner.hidden { display: none; }
@keyframes slideUp {
  from { opacity: 0; transform: translateX(-50%) translateY(20px); }
  to { opacity: 1; transform: translateX(-50%) translateY(0); }
}
.cookie-content { display: flex; flex-direction: column; gap: 16px; }
.cookie-content p { font-size: 13px; color: var(--text-2); line-height: 1.6; }
.cookie-content a { color: var(--purple-light); text-decoration: underline; }
.cookie-actions { display: flex; gap: 8px; justify-content: flex-end; }

/* =====================
   Spinner
   ===================== */
.spinner {
  display: inline-block;
  width: 16px;
  height: 16px;
  border: 2px solid rgba(255,255,255,0.3);
  border-top-color: #fff;
  border-radius: 50%;
  animation: spin 0.7s linear infinite;
  flex-shrink: 0;
}
@keyframes spin {
  to { transform: rotate(360deg); }
}

/* =====================
   Policy Pages
   ===================== */
.policy-page {
  padding: 120px 0 80px;
  min-height: 100vh;
}
.policy-hero {
  max-width: 760px;
  margin: 0 auto 64px;
  text-align: center;
}
.policy-hero h1 {
  font-size: clamp(32px, 4vw, 52px);
  font-weight: 700;
  letter-spacing: -1.5px;
  margin-bottom: 16px;
}
.policy-hero p {
  font-size: 15px;
  color: var(--text-3);
}
.policy-content {
  max-width: 760px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 48px;
}
.policy-section {
  background: var(--bg-2);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 40px;
}
.policy-section h2 {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 20px;
  color: var(--purple-light);
  padding-bottom: 12px;
  border-bottom: 1px solid var(--border);
}
.policy-section h3 {
  font-size: 15px;
  font-weight: 600;
  margin: 20px 0 8px;
  color: var(--text);
}
.policy-section p {
  font-size: 14px;
  color: var(--text-2);
  line-height: 1.8;
  margin-bottom: 12px;
}
.policy-section ul {
  list-style: disc;
  padding-left: 20px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 12px;
}
.policy-section ul li {
  font-size: 14px;
  color: var(--text-2);
  line-height: 1.7;
}
.policy-section a { color: var(--purple-light); text-decoration: underline; }
.policy-section strong { color: var(--text); }
.policy-section code {
  font-family: var(--mono);
  font-size: 12px;
  background: rgba(167,139,250,0.1);
  color: var(--purple-light);
  padding: 2px 6px;
  border-radius: 4px;
}
.info-box {
  background: rgba(167,139,250,0.06);
  border: 1px solid rgba(167,139,250,0.2);
  border-radius: 8px;
  padding: 16px;
  margin: 16px 0;
}
.info-box p { margin-bottom: 0; font-size: 13px; }
.info-box strong { color: var(--purple-light); }

/* =====================
   Responsive
   ===================== */
@media (max-width: 1024px) {
  .features-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .feature-card-large { grid-column: span 2; }
  .feature-card-wide { grid-column: span 2; }
  .pricing-grid {
    grid-template-columns: 1fr;
    max-width: 440px;
    margin: 0 auto;
  }
  .pricing-card-featured { transform: none; }
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .footer-top {
    grid-template-columns: 1fr;
    gap: 40px;
  }
}

@media (max-width: 768px) {
  .nav-links, .nav-cta { display: none; }
  .menu-toggle { display: flex; }

  .hero { padding: 120px 0 60px; }
  .hero-stats { gap: 20px; }

  .editor-body {
    grid-template-columns: 1fr;
    min-height: auto;
  }
  .editor-sidebar { display: none; }
  .editor-pane { border-right: none; }
  .editor-preview-pane { border-top: 1px solid var(--border); }

  .features-grid {
    grid-template-columns: 1fr;
  }
  .feature-card-large, .feature-card-wide { grid-column: span 1; }

  .steps {
    flex-direction: column;
    align-items: center;
  }
  .step-connector {
    width: 1px;
    height: 40px;
    background: linear-gradient(180deg, var(--border), rgba(167,139,250,0.3), var(--border));
    margin: 0;
    margin-top: 0;
  }

  .waitlist-inner { padding: 40px 24px; }

  .footer-links {
    grid-template-columns: repeat(2, 1fr);
  }
  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }

  .policy-section { padding: 24px; }
}

@media (max-width: 480px) {
  .hero-title { letter-spacing: -1.5px; }
  .hero-actions { flex-direction: column; align-items: center; }
  .hero-stats { flex-direction: column; gap: 16px; }
  .stat-divider { width: 40px; height: 1px; }
  .footer-links { grid-template-columns: 1fr; }
}
