*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  --bg: #0a0a1a;
  --surface: #141428;
  --border: #1e1e3a;
  --text: #e8e8f0;
  --text-secondary: #8888a8;
  --accent: #6c5ce7;
  --accent-light: #a29bfe;
  --success: #00b894;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

a {
  color: var(--accent-light);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

.container {
  max-width: 720px;
  margin: 0 auto;
  padding: 48px 24px;
}

.nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px 24px;
  border-bottom: 1px solid var(--border);
}

.nav-brand {
  font-size: 18px;
  font-weight: 700;
  color: var(--text);
  text-decoration: none;
  letter-spacing: 0.5px;
}

.nav-links {
  display: flex;
  gap: 24px;
}

.nav-links a {
  color: var(--text-secondary);
  font-size: 14px;
  font-weight: 500;
}

.nav-links a:hover {
  color: var(--text);
}

.hero {
  text-align: center;
  padding: 96px 24px 64px;
}

.hero h1 {
  font-size: 48px;
  font-weight: 800;
  line-height: 1.1;
  margin-bottom: 16px;
}

.hero .highlight {
  color: var(--accent-light);
}

.hero p {
  font-size: 18px;
  color: var(--text-secondary);
  max-width: 540px;
  margin: 0 auto;
}

.section {
  padding: 64px 24px;
  text-align: center;
}

.section h2 {
  font-size: 28px;
  font-weight: 700;
  margin-bottom: 12px;
}

.section p {
  color: var(--text-secondary);
  font-size: 16px;
  max-width: 540px;
  margin: 0 auto 32px;
}

.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 16px;
  max-width: 720px;
  margin: 0 auto;
}

.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 24px;
  text-align: left;
}

.card h3 {
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 8px;
}

.card p {
  font-size: 14px;
  color: var(--text-secondary);
  margin: 0;
}

.btn {
  display: inline-block;
  background: var(--accent);
  color: #fff;
  padding: 12px 32px;
  border-radius: 8px;
  font-size: 16px;
  font-weight: 600;
  text-decoration: none;
  transition: opacity 0.2s;
}

.btn:hover {
  opacity: 0.9;
  text-decoration: none;
}

.footer {
  text-align: center;
  padding: 32px 24px;
  border-top: 1px solid var(--border);
  color: var(--text-secondary);
  font-size: 13px;
}

/* Legal pages */
.legal {
  padding-top: 32px;
}

.legal h1 {
  font-size: 28px;
  font-weight: 700;
  margin-bottom: 8px;
}

.legal .updated {
  color: var(--text-secondary);
  font-size: 14px;
  margin-bottom: 32px;
}

.legal h2 {
  font-size: 20px;
  font-weight: 600;
  margin-top: 32px;
  margin-bottom: 12px;
}

.legal p,
.legal ul {
  color: var(--text-secondary);
  font-size: 15px;
  margin-bottom: 16px;
}

.legal ul {
  padding-left: 24px;
}

.legal li {
  margin-bottom: 8px;
}

/* Pricing table */
.pricing-row {
  display: flex;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
}

.price-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 24px 32px;
  text-align: center;
  min-width: 200px;
}

.price-card.featured {
  border-color: var(--accent);
}

.price-card h3 {
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 8px;
}

.price-card .price {
  font-size: 32px;
  font-weight: 800;
}

.price-card .period {
  color: var(--text-secondary);
  font-size: 14px;
}

.price-card .badge {
  display: inline-block;
  background: var(--accent);
  color: #fff;
  font-size: 12px;
  font-weight: 600;
  padding: 2px 10px;
  border-radius: 99px;
  margin-top: 8px;
}

@media (max-width: 600px) {
  .hero h1 {
    font-size: 32px;
  }

  .hero p {
    font-size: 16px;
  }

  .nav-links {
    gap: 16px;
  }
}
