:root {
  --bg: #0a0b10;
  --bg-card: #14161e;
  --bg-card-2: #1a1d26;
  --border: #2a2d38;
  --text: #e8eaf0;
  --text-dim: #888c99;
  --text-faded: #555968;
  --accent: #7c5cff;
  --accent-hover: #6849ff;
  --accent-glow: rgba(124, 92, 255, 0.4);
  --success: #3ddc97;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', -apple-system, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

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

/* === NAV === */
nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(10, 11, 16, 0.85);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}
.nav-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 16px 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.logo {
  font-size: 22px;
  font-weight: 800;
  color: var(--accent);
  text-decoration: none;
  letter-spacing: -0.02em;
}
.nav-links { display: flex; gap: 32px; align-items: center; }
.nav-links a {
  color: var(--text-dim);
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  transition: color 0.15s;
}
.nav-links a:hover { color: var(--text); }
.cta-small {
  background: var(--accent);
  color: white !important;
  padding: 8px 16px;
  border-radius: 8px;
  font-weight: 600 !important;
}
.cta-small:hover { background: var(--accent-hover); color: white !important; }

/* === HERO === */
.hero {
  padding: 100px 0 80px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  top: 0; left: 50%;
  transform: translateX(-50%);
  width: 800px;
  height: 600px;
  background: radial-gradient(ellipse, var(--accent-glow) 0%, transparent 60%);
  filter: blur(60px);
  z-index: -1;
}
.badge {
  display: inline-block;
  padding: 6px 14px;
  background: rgba(124, 92, 255, 0.15);
  border: 1px solid rgba(124, 92, 255, 0.3);
  border-radius: 100px;
  font-size: 13px;
  font-weight: 500;
  color: #b8a6ff;
  margin-bottom: 24px;
}
.hero h1 {
  font-size: 64px;
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.05;
  margin-bottom: 24px;
}
.grad {
  background: linear-gradient(135deg, #7c5cff 0%, #b8a6ff 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.hero-sub {
  font-size: 20px;
  color: var(--text-dim);
  max-width: 600px;
  margin: 0 auto 40px;
}
.hero-cta {
  display: flex;
  gap: 16px;
  justify-content: center;
  margin-bottom: 64px;
  flex-wrap: wrap;
}
.btn-primary, .btn-secondary {
  padding: 14px 28px;
  border-radius: 10px;
  font-size: 15px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.15s;
  display: inline-block;
}
.btn-primary {
  background: var(--accent);
  color: white;
}
.btn-primary:hover {
  background: var(--accent-hover);
  transform: translateY(-1px);
  box-shadow: 0 8px 24px var(--accent-glow);
}
.btn-secondary {
  background: var(--bg-card);
  color: var(--text);
  border: 1px solid var(--border);
}
.btn-secondary:hover { border-color: var(--accent); }
.btn-primary.full { width: 100%; text-align: center; }
.hero-stats {
  display: flex;
  justify-content: center;
  gap: 48px;
  flex-wrap: wrap;
}
.hero-stats > div {
  text-align: center;
}
.hero-stats strong {
  display: block;
  font-size: 32px;
  font-weight: 700;
  color: var(--accent);
  line-height: 1;
  margin-bottom: 4px;
}
.hero-stats span {
  font-size: 13px;
  color: var(--text-dim);
}

/* === SECTIONS === */
section h2 {
  font-size: 40px;
  font-weight: 800;
  letter-spacing: -0.02em;
  text-align: center;
  margin-bottom: 12px;
}
.section-sub {
  font-size: 18px;
  color: var(--text-dim);
  text-align: center;
  max-width: 600px;
  margin: 0 auto 56px;
}

/* === FEATURES === */
.features { padding: 100px 0; border-top: 1px solid var(--border); }
.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.feature {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 28px;
  transition: border-color 0.15s, transform 0.15s;
}
.feature:hover {
  border-color: var(--accent);
  transform: translateY(-2px);
}
.feature-icon {
  font-size: 32px;
  margin-bottom: 16px;
}
.feature h3 {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 8px;
}
.feature p {
  font-size: 14px;
  color: var(--text-dim);
}

/* === PRICING === */
.pricing { padding: 100px 0; background: var(--bg-card); border-top: 1px solid var(--border); }
.price-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-bottom: 32px;
}
.price-card {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 36px 28px;
  position: relative;
  transition: border-color 0.15s, transform 0.15s;
}
.price-card:hover {
  border-color: var(--accent);
}
.price-card.featured {
  border-color: var(--accent);
  background: linear-gradient(180deg, rgba(124, 92, 255, 0.08) 0%, var(--bg) 60%);
  transform: scale(1.03);
}
.featured-badge {
  position: absolute;
  top: -12px;
  right: 24px;
  background: var(--accent);
  color: white;
  padding: 4px 12px;
  border-radius: 100px;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.price-tier {
  font-size: 14px;
  font-weight: 600;
  color: var(--text-dim);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 8px;
}
.price-amount {
  font-size: 48px;
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: 24px;
}
.price-amount span {
  display: block;
  font-size: 13px;
  font-weight: 500;
  color: var(--text-dim);
  margin-top: 4px;
}
.price-features {
  list-style: none;
  margin-bottom: 28px;
}
.price-features li {
  padding: 8px 0;
  font-size: 14px;
  color: var(--text);
  border-bottom: 1px solid var(--border);
  position: relative;
  padding-left: 24px;
}
.price-features li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--success);
  font-weight: 700;
}
.price-features li:last-child { border-bottom: none; }
.guarantee {
  text-align: center;
  color: var(--text-dim);
  font-size: 13px;
  margin-top: 8px;
}

/* === FAQ === */
.faq { padding: 100px 0; }
.faq .container > h2 { margin-bottom: 48px; }
details {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 20px 24px;
  margin-bottom: 12px;
  transition: border-color 0.15s;
}
details[open] { border-color: var(--accent); }
summary {
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  list-style: none;
  position: relative;
  padding-right: 32px;
}
summary::-webkit-details-marker { display: none; }
summary::after {
  content: '+';
  position: absolute;
  right: 0;
  top: 0;
  font-size: 24px;
  color: var(--accent);
  font-weight: 400;
  transition: transform 0.2s;
}
details[open] summary::after { transform: rotate(45deg); }
details p {
  margin-top: 16px;
  color: var(--text-dim);
  font-size: 15px;
  line-height: 1.7;
}

/* === FOOTER === */
footer {
  background: var(--bg-card);
  border-top: 1px solid var(--border);
  padding: 64px 0 32px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 48px;
}
.footer-grid p {
  color: var(--text-dim);
  font-size: 14px;
  margin-top: 12px;
}
.footer-grid h4 {
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--text);
  margin-bottom: 16px;
}
.footer-grid a {
  display: block;
  color: var(--text-dim);
  text-decoration: none;
  font-size: 14px;
  margin-bottom: 8px;
  transition: color 0.15s;
}
.footer-grid a:hover { color: var(--accent); }
.footer-bottom {
  border-top: 1px solid var(--border);
  padding-top: 24px;
  text-align: center;
  color: var(--text-faded);
  font-size: 13px;
}

/* === MOBILE === */
@media (max-width: 768px) {
  .hero h1 { font-size: 40px; }
  .hero-sub { font-size: 16px; }
  .nav-links a:not(.cta-small) { display: none; }
  .feature-grid, .price-grid { grid-template-columns: 1fr; }
  .price-card.featured { transform: none; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  section h2 { font-size: 28px; }
  .hero-stats { gap: 24px; }
}
