/* ── Reset & Base ──────────────────────────── */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  color: #e2e8f0;
  background: #0a0e1a;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }

/* ── Navigation ───────────────────────────── */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  background: rgba(10, 14, 26, 0.85);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(255,255,255,0.06);
}
.nav-inner {
  display: flex; align-items: center; justify-content: space-between;
  height: 72px;
}
.logo { display: flex; align-items: center; gap: 10px; font-weight: 700; font-size: 1.25rem; }
.logo-icon {
  width: 36px; height: 36px; border-radius: 10px;
  background: linear-gradient(135deg, #6366f1, #8b5cf6);
  display: flex; align-items: center; justify-content: center;
  font-weight: 800; font-size: 1.1rem; color: #fff;
}
.logo-text { color: #fff; }
.nav-links { display: flex; align-items: center; gap: 32px; }
.nav-links a { font-size: 0.9rem; color: #94a3b8; transition: color 0.2s; }
.nav-links a:hover { color: #fff; }

/* Mobile menu */
.mobile-menu-btn {
  display: none; flex-direction: column; gap: 5px;
  background: none; border: none; cursor: pointer; padding: 4px;
}
.mobile-menu-btn span { display: block; width: 22px; height: 2px; background: #94a3b8; border-radius: 2px; }

/* ── Buttons ──────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  font-family: inherit; font-weight: 600; border-radius: 10px;
  cursor: pointer; transition: all 0.2s; border: none;
}
.btn-sm { padding: 8px 16px; font-size: 0.85rem; }
.btn-lg { padding: 14px 32px; font-size: 1rem; }
.btn-block { width: 100%; padding: 14px 24px; font-size: 0.95rem; }
.btn-primary {
  background: linear-gradient(135deg, #6366f1, #8b5cf6);
  color: #fff; box-shadow: 0 4px 15px rgba(99,102,241,0.3);
}
.btn-primary:hover { box-shadow: 0 6px 25px rgba(99,102,241,0.45); transform: translateY(-1px); }
.btn-outline {
  background: transparent; color: #c4b5fd;
  border: 1px solid rgba(139,92,246,0.4);
}
.btn-outline:hover { background: rgba(139,92,246,0.1); border-color: rgba(139,92,246,0.7); }
.btn-outline-white {
  background: transparent; color: #fff;
  border: 1px solid rgba(255,255,255,0.3);
}
.btn-outline-white:hover { background: rgba(255,255,255,0.1); }

/* ── Hero ─────────────────────────────────── */
.hero {
  padding: 160px 0 100px; text-align: center;
  background:
    radial-gradient(ellipse 80% 60% at 50% 0%, rgba(99,102,241,0.12), transparent),
    radial-gradient(ellipse 60% 50% at 80% 20%, rgba(139,92,246,0.08), transparent);
}
.hero-badge {
  display: inline-block; padding: 6px 16px; border-radius: 50px;
  background: rgba(99,102,241,0.15); border: 1px solid rgba(99,102,241,0.25);
  color: #a5b4fc; font-size: 0.85rem; font-weight: 600;
  margin-bottom: 28px; letter-spacing: 0.02em;
}
.hero h1 {
  font-size: clamp(2.5rem, 5vw, 4rem); font-weight: 800;
  color: #fff; line-height: 1.15; margin-bottom: 20px;
  letter-spacing: -0.02em;
}
.hero-sub { font-size: 1.15rem; color: #94a3b8; max-width: 600px; margin: 0 auto 36px; }
.hero-actions { display: flex; gap: 16px; justify-content: center; margin-bottom: 60px; flex-wrap: wrap; }
.hero-stats {
  display: flex; justify-content: center; gap: 48px; flex-wrap: wrap;
  padding-top: 48px; border-top: 1px solid rgba(255,255,255,0.06);
}
.stat { text-align: center; }
.stat-num { display: block; font-size: 1.75rem; font-weight: 800; color: #fff; }
.stat-label { font-size: 0.85rem; color: #64748b; }

/* ── Section Common ───────────────────────── */
.section-title {
  font-size: clamp(1.75rem, 3vw, 2.5rem); font-weight: 800;
  color: #fff; text-align: center; margin-bottom: 12px;
  letter-spacing: -0.02em;
}
.section-sub { text-align: center; color: #94a3b8; font-size: 1.05rem; margin-bottom: 48px; }

/* ── Features ─────────────────────────────── */
.features { padding: 100px 0; }
.features-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px;
}
.feature-card {
  padding: 36px 28px; border-radius: 16px;
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.06);
  transition: border-color 0.3s, transform 0.3s;
}
.feature-card:hover { border-color: rgba(99,102,241,0.3); transform: translateY(-4px); }
.feature-icon { font-size: 2rem; margin-bottom: 16px; }
.feature-card h3 { font-size: 1.15rem; font-weight: 700; color: #fff; margin-bottom: 8px; }
.feature-card p { color: #94a3b8; font-size: 0.9rem; line-height: 1.6; }

/* ── Pricing ──────────────────────────────── */
.pricing {
  padding: 100px 0;
  background:
    radial-gradient(ellipse 70% 50% at 50% 50%, rgba(99,102,241,0.06), transparent);
}

/* Billing Toggle */
.billing-toggle {
  display: flex; align-items: center; justify-content: center;
  gap: 14px; margin-bottom: 48px;
}
.toggle-label { font-size: 0.95rem; color: #64748b; transition: color 0.2s; cursor: pointer; }
.toggle-label.active { color: #fff; font-weight: 600; }
.save-badge {
  display: inline-block; padding: 2px 8px; border-radius: 50px;
  background: rgba(34,197,94,0.15); color: #4ade80;
  font-size: 0.75rem; font-weight: 600; margin-left: 4px;
}
.toggle-switch { position: relative; width: 52px; height: 28px; cursor: pointer; }
.toggle-switch input { opacity: 0; width: 0; height: 0; }
.toggle-slider {
  position: absolute; top: 0; left: 0; right: 0; bottom: 0;
  background: #1e293b; border-radius: 50px; transition: 0.3s;
  border: 1px solid rgba(255,255,255,0.1);
}
.toggle-slider::before {
  content: ''; position: absolute; width: 22px; height: 22px;
  left: 2px; bottom: 2px; background: #6366f1; border-radius: 50%;
  transition: 0.3s;
}
.toggle-switch input:checked + .toggle-slider::before { transform: translateX(24px); }

/* Price Cards */
.pricing-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px;
  align-items: start;
}
.price-card {
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 20px; padding: 40px 32px;
  position: relative; transition: border-color 0.3s, transform 0.3s;
}
.price-card:hover { border-color: rgba(99,102,241,0.3); transform: translateY(-4px); }
.price-card.popular {
  border-color: rgba(99,102,241,0.5);
  background: rgba(99,102,241,0.06);
  transform: scale(1.03);
  box-shadow: 0 0 60px rgba(99,102,241,0.1);
}
.price-card.popular:hover { transform: scale(1.03) translateY(-4px); }
.popular-badge {
  position: absolute; top: -14px; left: 50%; transform: translateX(-50%);
  padding: 6px 20px; border-radius: 50px; font-size: 0.8rem; font-weight: 700;
  background: linear-gradient(135deg, #6366f1, #8b5cf6); color: #fff;
  white-space: nowrap;
}
.price-header { margin-bottom: 24px; }
.price-header h3 { font-size: 1.5rem; font-weight: 800; color: #fff; margin-bottom: 4px; }
.price-desc { color: #94a3b8; font-size: 0.9rem; }
.price-amount { display: flex; align-items: baseline; gap: 2px; margin-bottom: 4px; }
.currency { font-size: 1.5rem; font-weight: 700; color: #fff; }
.amount { font-size: 3.5rem; font-weight: 800; color: #fff; line-height: 1; }
.period { font-size: 1rem; color: #64748b; margin-left: 2px; }
.price-billed { font-size: 0.85rem; color: #64748b; margin-bottom: 24px; min-height: 20px; }
.price-features { list-style: none; margin-top: 28px; }
.price-features li {
  padding: 8px 0; font-size: 0.9rem;
  padding-left: 28px; position: relative;
}
.price-features li.included { color: #cbd5e1; }
.price-features li.excluded { color: #475569; }
.price-features li::before {
  position: absolute; left: 0; top: 8px; font-size: 0.85rem;
}
.price-features li.included::before { content: '\2713'; color: #4ade80; }
.price-features li.excluded::before { content: '\2717'; color: #475569; }
.pricing-note { text-align: center; color: #64748b; font-size: 0.9rem; margin-top: 36px; }

/* ── Comparison ───────────────────────────── */
.comparison { padding: 100px 0; }
.compare-table-wrap { overflow-x: auto; }
.compare-table {
  width: 100%; border-collapse: collapse;
  background: rgba(255,255,255,0.02);
  border-radius: 16px; overflow: hidden;
  border: 1px solid rgba(255,255,255,0.06);
}
.compare-table th, .compare-table td {
  padding: 16px 24px; text-align: center; font-size: 0.9rem;
  border-bottom: 1px solid rgba(255,255,255,0.04);
}
.compare-table th { color: #94a3b8; font-weight: 600; font-size: 0.85rem; text-transform: uppercase; letter-spacing: 0.04em; }
.compare-table td:first-child, .compare-table th:first-child { text-align: left; color: #cbd5e1; }
.compare-table td.highlight {
  background: rgba(99,102,241,0.06); color: #c4b5fd; font-weight: 600;
}
.compare-table th.highlight {
  background: rgba(99,102,241,0.1); color: #a5b4fc;
}

/* ── How it Works ─────────────────────────── */
.how-it-works { padding: 100px 0; }
.steps-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; }
.step { text-align: center; padding: 36px 24px; }
.step-num {
  width: 56px; height: 56px; border-radius: 16px;
  background: linear-gradient(135deg, #6366f1, #8b5cf6);
  display: inline-flex; align-items: center; justify-content: center;
  font-size: 1.5rem; font-weight: 800; color: #fff; margin-bottom: 20px;
}
.step h3 { font-size: 1.15rem; font-weight: 700; color: #fff; margin-bottom: 8px; }
.step p { color: #94a3b8; font-size: 0.9rem; }

/* ── FAQ ──────────────────────────────────── */
.faq {
  padding: 100px 0;
  background:
    radial-gradient(ellipse 60% 40% at 30% 50%, rgba(99,102,241,0.04), transparent);
}
.faq-grid { max-width: 800px; margin: 0 auto; }
.faq-item {
  border-bottom: 1px solid rgba(255,255,255,0.06);
}
.faq-question {
  width: 100%; display: flex; justify-content: space-between; align-items: center;
  padding: 20px 0; background: none; border: none; cursor: pointer;
  color: #e2e8f0; font-size: 1rem; font-weight: 600; text-align: left;
  font-family: inherit;
}
.faq-arrow { font-size: 0.85rem; color: #64748b; transition: transform 0.3s; }
.faq-item.open .faq-arrow { transform: rotate(180deg); }
.faq-answer {
  max-height: 0; overflow: hidden; transition: max-height 0.3s ease, padding 0.3s ease;
}
.faq-item.open .faq-answer { max-height: 200px; padding-bottom: 20px; }
.faq-answer p { color: #94a3b8; font-size: 0.9rem; line-height: 1.7; }
.faq-answer a { color: #a5b4fc; text-decoration: underline; }

/* ── CTA ──────────────────────────────────── */
.cta {
  padding: 100px 0; text-align: center;
  background:
    radial-gradient(ellipse 80% 60% at 50% 50%, rgba(99,102,241,0.1), transparent);
}
.cta h2 { font-size: clamp(1.75rem, 3vw, 2.5rem); font-weight: 800; color: #fff; margin-bottom: 16px; }
.cta p { color: #94a3b8; font-size: 1.05rem; max-width: 550px; margin: 0 auto 36px; }

/* ── Footer ───────────────────────────────── */
.footer {
  padding: 60px 0 32px;
  border-top: 1px solid rgba(255,255,255,0.04);
}
.footer-grid {
  display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 40px;
  margin-bottom: 40px;
}
.footer-brand p { color: #64748b; font-size: 0.9rem; margin-top: 12px; max-width: 280px; }
.footer-col h4 { color: #fff; font-weight: 700; font-size: 0.9rem; margin-bottom: 16px; }
.footer-col a { display: block; color: #64748b; font-size: 0.85rem; margin-bottom: 10px; transition: color 0.2s; }
.footer-col a:hover { color: #c4b5fd; }
.footer-bottom { text-align: center; padding-top: 32px; border-top: 1px solid rgba(255,255,255,0.04); }
.footer-bottom p { color: #475569; font-size: 0.8rem; }

/* ── Responsive ───────────────────────────── */
@media (max-width: 1024px) {
  .features-grid, .pricing-grid, .steps-grid { grid-template-columns: 1fr; max-width: 480px; margin: 0 auto; }
  .price-card.popular { transform: none; }
  .price-card.popular:hover { transform: translateY(-4px); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 768px) {
  .nav-links { display: none; position: absolute; top: 72px; left: 0; right: 0; background: #0f172a; flex-direction: column; padding: 24px; gap: 16px; border-bottom: 1px solid rgba(255,255,255,0.06); }
  .nav-links.open { display: flex; }
  .mobile-menu-btn { display: flex; }
  .hero { padding: 120px 0 60px; }
  .hero-stats { gap: 24px; }
  .hero-sub br { display: none; }
  .compare-table th, .compare-table td { padding: 12px 14px; font-size: 0.8rem; }
  .footer-grid { grid-template-columns: 1fr; gap: 24px; }
}
