:root {
  --indigo: #3843d0;
  --indigo-2: #6e63e8;
  --mint: #6bcb9c;
  --amber: #ffb26b;
  --bg: #f7f8fa;
  --card: #ffffff;
  --text: #1c1c22;
  --muted: #6b7076;
  --border: #e9eaee;
  --radius: 20px;
  --shadow: 0 10px 30px rgba(20, 20, 40, 0.06);
  --maxw: 1080px;
  --font: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font);
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

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

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

/* Nav */
.nav {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(247, 248, 250, 0.85);
  backdrop-filter: saturate(180%) blur(12px);
  border-bottom: 1px solid var(--border);
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}
.brand { display: flex; align-items: center; gap: 10px; font-weight: 800; font-size: 1.15rem; color: var(--text); }
.brand:hover { text-decoration: none; }
.brand .logo {
  width: 34px; height: 34px; border-radius: 9px;
  background: linear-gradient(135deg, var(--indigo), var(--indigo-2));
  display: grid; place-items: center; color: #fff; font-size: 18px;
}
.nav-links { display: flex; gap: 26px; align-items: center; }
.nav-links a { color: var(--muted); font-weight: 600; font-size: 0.95rem; }
.nav-links a:hover { color: var(--text); text-decoration: none; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 13px 22px; border-radius: 999px;
  font-weight: 700; font-size: 1rem; cursor: pointer; border: none;
}
.btn-primary { background: var(--indigo); color: #fff; }
.btn-primary:hover { background: #2f39b8; text-decoration: none; }
.btn-ghost { background: #fff; color: var(--indigo); border: 1px solid var(--border); }
.btn-ghost:hover { text-decoration: none; border-color: var(--indigo); }

/* Hero */
.hero {
  background: linear-gradient(135deg, #4a55e0, #6e63e8);
  color: #fff;
  padding: 90px 0 100px;
  text-align: center;
}
.hero h1 { font-size: clamp(2.2rem, 5vw, 3.4rem); line-height: 1.1; margin: 0 0 18px; font-weight: 800; letter-spacing: -0.02em; }
.hero p { font-size: clamp(1.05rem, 2.4vw, 1.35rem); max-width: 640px; margin: 0 auto 32px; color: rgba(255,255,255,0.92); }
.hero .btn-primary { background: #fff; color: var(--indigo); }
.hero .btn-primary:hover { background: #f0f1ff; }
.hero .cta-row { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }
.hero .note { margin-top: 18px; font-size: 0.9rem; color: rgba(255,255,255,0.75); }

/* Sections */
section { padding: 76px 0; }
.section-head { text-align: center; max-width: 640px; margin: 0 auto 48px; }
.section-head h2 { font-size: clamp(1.7rem, 3.5vw, 2.3rem); margin: 0 0 12px; letter-spacing: -0.02em; }
.section-head p { color: var(--muted); font-size: 1.1rem; margin: 0; }
.eyebrow { color: var(--indigo); font-weight: 800; letter-spacing: 0.06em; text-transform: uppercase; font-size: 0.8rem; }

/* Feature grid */
.grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.card {
  background: var(--card); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 28px; box-shadow: var(--shadow);
}
.card .ic {
  width: 50px; height: 50px; border-radius: 14px; display: grid; place-items: center;
  font-size: 24px; margin-bottom: 16px;
}
.card h3 { margin: 0 0 8px; font-size: 1.2rem; }
.card p { margin: 0; color: var(--muted); }
.ic-indigo { background: rgba(56,67,208,0.1); }
.ic-mint { background: rgba(107,203,156,0.16); }
.ic-amber { background: rgba(255,178,107,0.18); }

/* Pricing */
.pricing { background: #fff; border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.plans { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; align-items: stretch; }
.plan {
  border: 1px solid var(--border); border-radius: var(--radius); padding: 30px; background: var(--bg);
  display: flex; flex-direction: column;
}
.plan.featured { border: 2px solid var(--indigo); background: #fff; position: relative; }
.plan .tag { position: absolute; top: -12px; left: 50%; transform: translateX(-50%);
  background: var(--indigo); color: #fff; font-size: 0.75rem; font-weight: 700; padding: 5px 12px; border-radius: 999px; }
.plan h3 { margin: 0 0 6px; font-size: 1.15rem; }
.plan .price { font-size: 2rem; font-weight: 800; margin: 6px 0; }
.plan .price span { font-size: 1rem; font-weight: 500; color: var(--muted); }
.plan ul { list-style: none; padding: 0; margin: 18px 0 0; color: var(--muted); }
.plan li { padding: 7px 0 7px 26px; position: relative; }
.plan li::before { content: "✓"; color: var(--mint); font-weight: 800; position: absolute; left: 0; }
.free-note { text-align: center; color: var(--muted); margin-top: 26px; }

/* FAQ */
.faq details {
  background: #fff; border: 1px solid var(--border); border-radius: 14px;
  padding: 4px 20px; margin-bottom: 12px;
}
.faq summary { cursor: pointer; font-weight: 700; padding: 16px 0; list-style: none; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; float: right; color: var(--indigo); font-size: 1.3rem; line-height: 1; }
.faq details[open] summary::after { content: "–"; }
.faq details p { margin: 0 0 16px; color: var(--muted); }

/* Footer */
.footer { background: #14151b; color: #c7cad1; padding: 54px 0 34px; }
.footer a { color: #c7cad1; }
.footer a:hover { color: #fff; }
.footer-grid { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 30px; }
.footer .brand { color: #fff; }
.footer-links { display: flex; gap: 40px; flex-wrap: wrap; }
.footer-col h4 { color: #fff; font-size: 0.95rem; margin: 0 0 12px; }
.footer-col a { display: block; margin-bottom: 8px; font-size: 0.92rem; }
.footer-bottom { border-top: 1px solid #262832; margin-top: 34px; padding-top: 22px; font-size: 0.85rem; color: #8a8f99; text-align: center; }

/* Legal / content pages */
.legal { padding: 56px 0 80px; }
.legal .container { max-width: 800px; }
.legal h1 { font-size: 2.2rem; margin: 0 0 6px; letter-spacing: -0.02em; }
.legal .updated { color: var(--muted); margin: 0 0 36px; font-size: 0.95rem; }
.legal h2 { font-size: 1.4rem; margin: 38px 0 12px; }
.legal h3 { font-size: 1.1rem; margin: 24px 0 8px; }
.legal p, .legal li { color: #33363d; }
.legal ul { padding-left: 22px; }
.legal li { margin-bottom: 8px; }
.legal .card { padding: 22px 26px; }

@media (max-width: 820px) {
  .grid, .plans { grid-template-columns: 1fr; }
  .nav-links { display: none; }
  section { padding: 56px 0; }
}
