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

:root {
  --bg: #0f0f13;
  --surface: #1a1a24;
  --surface2: #22222f;
  --accent: #7c6af7;
  --accent-light: #a99bf9;
  --text: #e8e8f0;
  --text-muted: #888898;
  --border: #2a2a3a;
  --radius: 12px;
  --max-w: 900px;
}

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: 'Segoe UI', system-ui, -apple-system, sans-serif;
  font-size: 16px;
  line-height: 1.7;
  min-height: 100vh;
}

/* NAV */
nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(15,15,19,0.9);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  padding: 0 24px;
}
.nav-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 60px;
}
.nav-logo {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--accent-light);
  text-decoration: none;
  letter-spacing: -0.3px;
}
.nav-links {
  display: flex;
  gap: 8px;
  list-style: none;
}
.nav-links a {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.9rem;
  padding: 6px 12px;
  border-radius: 6px;
  transition: color 0.15s, background 0.15s;
}
.nav-links a:hover,
.nav-links a.active {
  color: var(--text);
  background: var(--surface);
}

/* LAYOUT */
main {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 40px 24px 80px;
}

/* HERO */
.hero {
  text-align: center;
  padding: 80px 0 60px;
}
.hero-badge {
  display: inline-block;
  background: rgba(124,106,247,0.15);
  color: var(--accent-light);
  border: 1px solid rgba(124,106,247,0.3);
  border-radius: 100px;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.5px;
  padding: 4px 14px;
  margin-bottom: 20px;
  text-transform: uppercase;
}
.hero h1 {
  font-size: clamp(2rem, 5vw, 3.2rem);
  font-weight: 800;
  letter-spacing: -1px;
  line-height: 1.15;
  margin-bottom: 20px;
}
.hero h1 span { color: var(--accent-light); }
.hero p {
  font-size: 1.1rem;
  color: var(--text-muted);
  max-width: 520px;
  margin: 0 auto 36px;
}
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--accent);
  color: #fff;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.95rem;
  padding: 12px 28px;
  border-radius: 100px;
  transition: opacity 0.15s, transform 0.15s;
  border: none;
  cursor: pointer;
}
.btn:hover { opacity: 0.88; transform: translateY(-1px); }
.btn-secondary {
  background: transparent;
  color: var(--text-muted);
  border: 1px solid var(--border);
}
.btn-secondary:hover { color: var(--text); background: var(--surface); }
.hero-actions { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }

/* FEATURES */
.section-label {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 10px;
}
.section-title {
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 700;
  letter-spacing: -0.5px;
  margin-bottom: 12px;
}
.section-sub {
  color: var(--text-muted);
  margin-bottom: 40px;
}
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 16px;
  margin-bottom: 80px;
}
.feature-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
  transition: border-color 0.2s;
}
.feature-card:hover { border-color: var(--accent); }
.feature-icon {
  font-size: 1.6rem;
  margin-bottom: 14px;
}
.feature-card h3 {
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 6px;
}
.feature-card p {
  font-size: 0.875rem;
  color: var(--text-muted);
  line-height: 1.6;
}

/* DIVIDER */
.divider {
  border: none;
  border-top: 1px solid var(--border);
  margin: 60px 0;
}

/* PROSE (privacy / data safety) */
.prose h1 {
  font-size: clamp(1.8rem, 4vw, 2.4rem);
  font-weight: 800;
  letter-spacing: -0.5px;
  margin-bottom: 8px;
}
.prose .meta {
  font-size: 0.875rem;
  color: var(--text-muted);
  margin-bottom: 40px;
}
.prose h2 {
  font-size: 1.2rem;
  font-weight: 700;
  margin: 36px 0 12px;
  color: var(--accent-light);
}
.prose h3 {
  font-size: 1rem;
  font-weight: 600;
  margin: 24px 0 8px;
}
.prose p { margin-bottom: 14px; color: var(--text-muted); }
.prose ul, .prose ol {
  padding-left: 20px;
  margin-bottom: 14px;
  color: var(--text-muted);
}
.prose li { margin-bottom: 6px; }
.prose a { color: var(--accent-light); }
.prose strong { color: var(--text); font-weight: 600; }

/* DATA SAFETY TABLE */
.ds-section {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  margin-bottom: 20px;
  overflow: hidden;
}
.ds-section-header {
  background: var(--surface2);
  padding: 16px 20px;
  font-weight: 700;
  font-size: 0.95rem;
  display: flex;
  align-items: center;
  gap: 10px;
}
.ds-section-header .icon { font-size: 1.1rem; }
.ds-row {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  padding: 12px 20px;
  border-top: 1px solid var(--border);
  font-size: 0.875rem;
  gap: 12px;
  align-items: center;
}
.ds-row-header {
  font-weight: 600;
  font-size: 0.78rem;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  color: var(--text-muted);
  border-top: none;
}
.badge {
  display: inline-block;
  padding: 2px 10px;
  border-radius: 100px;
  font-size: 0.78rem;
  font-weight: 600;
}
.badge-yes { background: rgba(34,197,94,0.15); color: #4ade80; }
.badge-no { background: rgba(239,68,68,0.1); color: #f87171; }
.badge-opt { background: rgba(251,191,36,0.1); color: #fbbf24; }

/* ACCOUNT DELETION */
.delete-warning {
  background: rgba(239,68,68,0.08);
  border: 1px solid rgba(239,68,68,0.25);
  border-radius: var(--radius);
  padding: 20px 24px;
  margin-bottom: 32px;
  font-size: 0.9rem;
  color: #fca5a5;
}
.delete-warning strong { color: #f87171; }
.form-wrapper {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px;
  display: flex;
  justify-content: center;
}
.form-wrapper iframe {
  max-width: 100%;
  border-radius: 8px;
}

/* FOOTER */
footer {
  border-top: 1px solid var(--border);
  padding: 32px 24px;
  text-align: center;
  color: var(--text-muted);
  font-size: 0.85rem;
}
footer a { color: var(--text-muted); text-decoration: underline; }
footer a:hover { color: var(--text); }

/* RESPONSIVE */
@media (max-width: 600px) {
  .nav-links { display: none; }
  .ds-row { grid-template-columns: 1fr 1fr; }
  .ds-row span:last-child { display: none; }
  .ds-row-header span:last-child { display: none; }
  .form-wrapper { padding: 16px; }
  .form-wrapper iframe { height: 900px; }
}
