:root {
  --bg: #0a0a0f;
  --bg-elevated: #13131a;
  --border: #23232e;
  --text: #e9e9f0;
  --text-dim: #8a8a98;
  --accent: #a855f7;
  --accent-2: #8b5cf6;
  --accent-soft: rgba(168, 85, 247, 0.1);
  --max-width: 1100px;
}

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

html, body {
  background: var(--bg);
  color: var(--text);
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  min-height: 100vh;
}

a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }

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

/* Nav */
nav {
  padding: 24px 0;
  border-bottom: 1px solid var(--border);
}
nav .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.wordmark {
  font-size: 24px;
  font-weight: 700;
  background: linear-gradient(135deg, var(--accent) 0%, #ec4899 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  letter-spacing: -0.02em;
}
.nav-cta {
  background: var(--accent);
  color: white !important;
  padding: 10px 20px;
  border-radius: 8px;
  font-weight: 600;
  font-size: 14px;
  transition: background 0.2s;
}
.nav-cta:hover {
  background: var(--accent-2);
  text-decoration: none;
}

/* Hero */
.hero {
  padding: 96px 0 64px;
  text-align: center;
}
.hero h1 {
  font-size: clamp(48px, 8vw, 96px);
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.04em;
  margin-bottom: 24px;
  background: linear-gradient(135deg, #ffffff 0%, #a855f7 50%, #ec4899 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.hero .tagline {
  font-size: clamp(20px, 2.5vw, 28px);
  color: var(--text);
  margin-bottom: 16px;
  font-weight: 500;
}
.hero .subtitle {
  font-size: 18px;
  color: var(--text-dim);
  max-width: 680px;
  margin: 0 auto 40px;
}
.hero-cta {
  display: inline-block;
  background: linear-gradient(135deg, var(--accent) 0%, var(--accent-2) 100%);
  color: white !important;
  padding: 16px 32px;
  border-radius: 10px;
  font-weight: 600;
  font-size: 17px;
  transition: transform 0.15s, box-shadow 0.15s;
  box-shadow: 0 8px 24px rgba(168, 85, 247, 0.3);
}
.hero-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 32px rgba(168, 85, 247, 0.4);
  text-decoration: none;
}
.hero-note {
  display: block;
  margin-top: 16px;
  color: var(--text-dim);
  font-size: 14px;
}

/* Features */
.features {
  padding: 64px 0;
  border-top: 1px solid var(--border);
}
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
  margin-top: 48px;
}
.feature-card {
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 32px;
}
.feature-card h3 {
  font-size: 20px;
  margin-bottom: 12px;
  color: var(--text);
}
.feature-card p {
  color: var(--text-dim);
  font-size: 15px;
}
.section-title {
  text-align: center;
  font-size: 36px;
  font-weight: 700;
  letter-spacing: -0.02em;
}
.section-subtitle {
  text-align: center;
  color: var(--text-dim);
  margin-top: 12px;
  font-size: 17px;
}

/* Pricing */
.pricing {
  padding: 64px 0;
  border-top: 1px solid var(--border);
}
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 20px;
  margin-top: 48px;
}
.tier-card {
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 32px;
  text-align: left;
}
.tier-card.featured {
  border-color: var(--accent);
  background: linear-gradient(180deg, rgba(168, 85, 247, 0.08) 0%, var(--bg-elevated) 100%);
  position: relative;
}
.tier-card.featured::before {
  content: 'Most Popular';
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--accent);
  color: white;
  padding: 4px 12px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 600;
}
.tier-name {
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-dim);
  margin-bottom: 12px;
}
.tier-price {
  font-size: 40px;
  font-weight: 700;
  letter-spacing: -0.03em;
}
.tier-price .per {
  font-size: 16px;
  color: var(--text-dim);
  font-weight: 400;
}
.tier-features {
  list-style: none;
  margin-top: 20px;
}
.tier-features li {
  padding: 8px 0;
  color: var(--text-dim);
  font-size: 15px;
  padding-left: 24px;
  position: relative;
}
.tier-features li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--accent);
  font-weight: 700;
}

/* Final CTA */
.final-cta {
  padding: 96px 0;
  text-align: center;
  border-top: 1px solid var(--border);
}

/* Footer */
footer {
  padding: 32px 0;
  border-top: 1px solid var(--border);
  color: var(--text-dim);
  font-size: 14px;
}
footer .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
}
footer a {
  color: var(--text-dim);
  margin-left: 20px;
}
footer a:hover { color: var(--text); }

/* Legal pages */
.legal {
  padding: 64px 0 96px;
  max-width: 760px;
}
.legal h1 {
  font-size: 42px;
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 8px;
}
.legal .effective-date {
  color: var(--text-dim);
  margin-bottom: 48px;
  font-size: 15px;
}
.legal h2 {
  font-size: 22px;
  font-weight: 700;
  margin-top: 40px;
  margin-bottom: 16px;
  color: var(--text);
}
.legal h3 {
  font-size: 17px;
  font-weight: 600;
  margin-top: 24px;
  margin-bottom: 12px;
  color: var(--text);
}
.legal p, .legal li {
  color: var(--text-dim);
  margin-bottom: 12px;
  font-size: 16px;
  line-height: 1.7;
}
.legal ul, .legal ol {
  margin-left: 24px;
  margin-bottom: 16px;
}
.legal strong { color: var(--text); }

@media (max-width: 640px) {
  .hero { padding: 64px 0 48px; }
  footer .container { flex-direction: column; text-align: center; }
  footer a { margin: 0 10px; }
}
