:root {
  --brand: #0055d4;
  --brand-dark: #003d9e;
  --ink: #1a1a1a;
  --ink-soft: #545862;
  --border: #e5e7ec;
  --bg-soft: #f7f8fa;
  --radius: 12px;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  color: var(--ink);
  line-height: 1.55;
  background: #fff;
}

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

a { color: inherit; text-decoration: none; }

/* Nav */
.nav {
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--border);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 700;
  font-size: 18px;
}

.brand-dot {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  border: 2.5px solid var(--brand);
}

.nav-links {
  display: flex;
  gap: 32px;
}

.nav-links a {
  font-size: 14px;
  font-weight: 500;
  color: var(--ink-soft);
}

.nav-links a:hover { color: var(--ink); }

.nav-cta {
  display: flex;
  gap: 10px;
  align-items: center;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 18px;
  border-radius: 8px;
  font-weight: 600;
  font-size: 14px;
  border: 1px solid transparent;
  cursor: pointer;
  white-space: nowrap;
}

.btn-primary {
  background: var(--brand);
  color: #fff;
}

.btn-primary:hover { background: var(--brand-dark); }

.btn-ghost {
  color: var(--ink);
}

.btn-ghost:hover { color: var(--brand); }

.btn-outline {
  border-color: var(--border);
  color: var(--ink);
  width: 100%;
}

.btn-outline:hover { border-color: var(--brand); color: var(--brand); }

.btn-lg {
  padding: 14px 28px;
  font-size: 16px;
}

/* Hero */
.hero {
  padding: 96px 0 80px;
  text-align: center;
  background:
    radial-gradient(circle at 50% 0%, rgba(0, 85, 212, 0.08), transparent 60%);
}

.eyebrow {
  display: inline-block;
  font-size: 13px;
  font-weight: 600;
  color: var(--brand);
  background: rgba(0, 85, 212, 0.08);
  padding: 6px 14px;
  border-radius: 999px;
  margin-bottom: 20px;
}

.hero h1 {
  font-size: 52px;
  line-height: 1.12;
  margin: 0 0 20px;
  max-width: 820px;
  margin-left: auto;
  margin-right: auto;
  letter-spacing: -0.02em;
}

.hero-sub {
  font-size: 18px;
  color: var(--ink-soft);
  max-width: 560px;
  margin: 0 auto 32px;
}

.hero-cta {
  display: flex;
  gap: 14px;
  justify-content: center;
  margin-bottom: 16px;
}

.hero-note {
  font-size: 13px;
  color: var(--ink-soft);
}

/* Section shared */
.section-title {
  font-size: 34px;
  text-align: center;
  margin: 0 0 10px;
  letter-spacing: -0.01em;
}

.section-sub {
  text-align: center;
  color: var(--ink-soft);
  font-size: 16px;
  margin: 0 auto 56px;
  max-width: 480px;
}

/* Features */
.features { padding: 96px 0; background: var(--bg-soft); }

.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.feature-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
}

.feature-icon { font-size: 26px; margin-bottom: 14px; }

.feature-card h3 { font-size: 17px; margin: 0 0 8px; }

.feature-card p { font-size: 14px; color: var(--ink-soft); margin: 0; }

/* Pricing */
.pricing { padding: 96px 0; }

.billing-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  margin-bottom: 48px;
}

.toggle-label {
  font-size: 14px;
  font-weight: 600;
  color: var(--ink-soft);
  display: flex;
  align-items: center;
  gap: 8px;
}

.toggle-label.active { color: var(--ink); }

.save-badge {
  font-size: 11px;
  font-weight: 700;
  background: #e6f4ea;
  color: #1a7f3c;
  padding: 3px 8px;
  border-radius: 999px;
}

.toggle-switch {
  width: 46px;
  height: 26px;
  border-radius: 999px;
  background: var(--border);
  border: none;
  position: relative;
  cursor: pointer;
  padding: 0;
}

.toggle-switch[aria-checked="true"] { background: var(--brand); }

.toggle-knob {
  position: absolute;
  top: 3px;
  left: 3px;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: #fff;
  transition: transform 0.15s ease;
  box-shadow: 0 1px 3px rgba(0,0,0,0.2);
}

.toggle-switch[aria-checked="true"] .toggle-knob { transform: translateX(20px); }

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  align-items: stretch;
}

.price-card {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px;
  display: flex;
  flex-direction: column;
  position: relative;
}

.price-card.featured {
  border-color: var(--brand);
  box-shadow: 0 8px 24px rgba(0, 85, 212, 0.12);
}

.popular-badge {
  position: absolute;
  top: -13px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--brand);
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  padding: 4px 12px;
  border-radius: 999px;
}

.price-card h3 { font-size: 20px; margin: 0 0 4px; }

.price-desc { color: var(--ink-soft); font-size: 14px; margin: 0 0 20px; }

.price { margin-bottom: 24px; }

.amount { font-size: 40px; font-weight: 700; letter-spacing: -0.02em; }

.period { color: var(--ink-soft); font-size: 14px; }

.price-features {
  list-style: none;
  padding: 0;
  margin: 0 0 28px;
  flex: 1;
}

.price-features li {
  font-size: 14px;
  color: var(--ink-soft);
  padding: 8px 0;
  border-top: 1px solid var(--border);
}

.price-features li:first-child { border-top: none; }

.price-card .btn-primary { width: 100%; }

.pricing-footnote {
  text-align: center;
  color: var(--ink-soft);
  font-size: 14px;
  margin-top: 40px;
}

.pricing-footnote a { color: var(--brand); font-weight: 600; }

/* FAQ */
.faq { padding: 96px 0; background: var(--bg-soft); }

.faq-list {
  max-width: 680px;
  margin: 0 auto;
}

.faq-list details {
  border-bottom: 1px solid var(--border);
  padding: 18px 0;
}

.faq-list summary {
  font-weight: 600;
  cursor: pointer;
  font-size: 15px;
}

.faq-list p {
  color: var(--ink-soft);
  font-size: 14px;
  margin: 12px 0 0;
}

/* Final CTA */
.cta-final {
  padding: 96px 0;
  text-align: center;
}

.cta-final h2 {
  font-size: 32px;
  margin: 0 0 28px;
}

/* Footer */
.footer {
  border-top: 1px solid var(--border);
  padding: 28px 0;
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  font-size: 13px;
  color: var(--ink-soft);
}

.footer-inner a:hover { color: var(--brand); }

/* Responsive */
@media (max-width: 860px) {
  .nav-links { display: none; }
  .hero h1 { font-size: 36px; }
  .feature-grid, .pricing-grid { grid-template-columns: 1fr; }
  .section-title { font-size: 28px; }
}
