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

html { font-size: 18px; }

:root {
  --teal:   #0bb8b2;
  --teal-d: #09a09a;
  --purple: #6d28d9;
  --amber:  #f59e0b;
  --text:   #111;
  --muted:  #555;
  --light:  #f5f5f7;
  --border: #e5e7eb;
}

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

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

/* ── Nav ── */
body > nav {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  padding: 1.25rem 2rem;
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  background: #fff;
  z-index: 100;
}

.nav-banner { grid-column: 2; height: 150px; width: auto; display: block; }

.nav-links {
  grid-column: 3;
  justify-self: end;
  display: flex;
  align-items: center;
  gap: 1.75rem;
  list-style: none;
}
.nav-links a { font-size: 0.92rem; color: var(--muted); font-weight: 500; }
.nav-links a:hover { color: var(--text); text-decoration: none; }


.btn { display: inline-block; padding: 0.55rem 1.25rem; border-radius: 6px; font-weight: 700; font-size: 0.9rem; cursor: pointer; border: none; transition: background 0.15s; }
.btn-primary { background: var(--teal); color: #fff; }
.btn-primary:hover { background: var(--teal-d); text-decoration: none; }
.btn-outline { background: transparent; color: var(--purple); border: 2px solid var(--purple); }
.btn-outline:hover { background: var(--purple); color: #fff; text-decoration: none; }
.btn-lg { padding: 0.8rem 2rem; font-size: 1rem; }

/* ── Page sections ── */
.container { max-width: 1100px; margin: 0 auto; padding: 0 2rem; }

section { padding: 4rem 0; }
section.alt { background: var(--light); }

h1 { font-size: 2.4rem; font-weight: 800; line-height: 1.2; letter-spacing: -0.5px; }
h2 { font-size: 1.7rem; font-weight: 700; letter-spacing: -0.3px; }
h3 { font-size: 1.1rem; font-weight: 700; }

.section-label {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--teal);
  margin-bottom: 0.75rem;
}

/* ── Hero ── */
.hero { padding: 5rem 0 4rem; text-align: center; }
.hero h1 { max-width: 780px; margin: 0 auto 1.25rem; }
.hero p { font-size: 1.15rem; color: var(--muted); max-width: 560px; margin: 0 auto 2rem; }
.hero-actions { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }

/* ── Feature grid ── */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 2rem;
  margin-top: 2.5rem;
}

.feature-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 1.5rem;
}
.feature-card .icon { font-size: 1.75rem; margin-bottom: 0.75rem; }
.feature-card h3 { margin-bottom: 0.5rem; }
.feature-card p { font-size: 0.88rem; color: var(--muted); line-height: 1.6; }

/* ── Steps ── */
.steps { display: flex; flex-direction: column; gap: 1.5rem; margin-top: 2rem; }
.step { display: flex; gap: 1.25rem; align-items: flex-start; }
.step-num {
  flex-shrink: 0;
  width: 2rem; height: 2rem;
  background: var(--teal);
  color: #fff;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-weight: 700; font-size: 0.85rem;
}
.step-body h3 { margin-bottom: 0.25rem; }
.step-body p { font-size: 0.88rem; color: var(--muted); }

/* ── Pricing cards ── */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
  margin-top: 2.5rem;
  max-width: 720px;
  margin-left: auto;
  margin-right: auto;
}

.pricing-card {
  border: 2px solid var(--border);
  border-radius: 12px;
  padding: 2rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}
.pricing-card.featured { border-color: var(--purple); }
.pricing-card .badge {
  display: inline-block;
  background: var(--purple);
  color: #fff;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  padding: 0.2rem 0.6rem;
  border-radius: 4px;
  margin-bottom: 0.5rem;
}
.pricing-card .price-tag { font-size: 2.5rem; font-weight: 800; letter-spacing: -1px; margin: 0.5rem 0; }
.pricing-card .price-tag span { font-size: 1rem; font-weight: 400; color: var(--muted); }
.pricing-card .tagline { font-size: 0.88rem; color: var(--muted); margin-bottom: 1rem; }
.pricing-card ul { list-style: none; display: flex; flex-direction: column; gap: 0.6rem; flex: 1; }
.pricing-card ul li { font-size: 0.88rem; padding-left: 1.4rem; position: relative; }
.pricing-card ul li::before { content: "✓"; position: absolute; left: 0; color: var(--teal); font-weight: 700; }
.pricing-card ul li.no::before { content: "–"; color: #ccc; }
.pricing-card .card-cta { margin-top: 1.5rem; }

/* ── Comparison table ── */
.compare-table { width: 100%; border-collapse: collapse; margin-top: 2rem; font-size: 0.9rem; }
.compare-table th, .compare-table td { padding: 0.75rem 1rem; text-align: left; border-bottom: 1px solid var(--border); }
.compare-table th { font-weight: 700; color: var(--muted); font-size: 0.8rem; text-transform: uppercase; letter-spacing: 0.5px; }
.compare-table tr:last-child td { border-bottom: none; }
.compare-table .check { color: var(--teal); font-weight: 700; }
.compare-table .cross { color: #ccc; }
.compare-table .col-pro { color: var(--purple); font-weight: 700; }

/* ── Docs ── */
.docs-layout { display: grid; grid-template-columns: 220px 1fr; gap: 3rem; align-items: start; }
.docs-nav { position: sticky; top: 5rem; }
.docs-nav ul { list-style: none; display: flex; flex-direction: column; gap: 0.4rem; }
.docs-nav a { font-size: 0.88rem; color: var(--muted); padding: 0.3rem 0.5rem; border-radius: 4px; display: block; }
.docs-nav a:hover, .docs-nav a.active { color: var(--teal); background: var(--light); text-decoration: none; }
.docs-nav .section-title { font-size: 0.75rem; font-weight: 700; text-transform: uppercase; letter-spacing: 1px; color: #aaa; margin: 1rem 0 0.4rem; padding: 0 0.5rem; }

.docs-content { min-width: 0; }
.docs-content h2 { margin: 2.5rem 0 1rem; padding-top: 2.5rem; border-top: 1px solid var(--border); }
.docs-content h2:first-child { margin-top: 0; padding-top: 0; border-top: none; }
.docs-content h3 { margin: 1.5rem 0 0.5rem; }
.docs-content p { margin-bottom: 1rem; font-size: 0.93rem; color: #333; }
.docs-content ul { margin: 0.75rem 0 1rem 1.5rem; }
.docs-content li { font-size: 0.93rem; color: #333; margin-bottom: 0.4rem; }
.docs-content code {
  font-family: "SF Mono", "Fira Code", monospace;
  font-size: 0.83rem;
  background: var(--light);
  padding: 0.15rem 0.35rem;
  border-radius: 4px;
}
.docs-content pre {
  background: #1a1a2e;
  color: #e2e8f0;
  padding: 1.25rem 1.5rem;
  border-radius: 8px;
  overflow-x: auto;
  margin: 1rem 0;
  font-size: 0.84rem;
  font-family: "SF Mono", "Fira Code", monospace;
  line-height: 1.6;
}
.docs-content pre code { background: none; padding: 0; font-size: inherit; }

.note {
  background: #fffbeb;
  border-left: 3px solid var(--amber);
  padding: 0.75rem 1rem;
  border-radius: 0 6px 6px 0;
  font-size: 0.88rem;
  margin: 1rem 0;
}

/* ── CTA banner ── */
.cta-banner {
  text-align: center;
  padding: 4rem 2rem;
  background: linear-gradient(135deg, #0bb8b2 0%, #6d28d9 100%);
  color: #fff;
}
.cta-banner h2 { color: #fff; margin-bottom: 0.75rem; }
.cta-banner p { color: rgba(255,255,255,0.85); margin-bottom: 2rem; font-size: 1.05rem; }
.btn-white { background: #fff; color: var(--purple); }
.btn-white:hover { background: #f0e6ff; text-decoration: none; }

/* ── Footer ── */
footer {
  border-top: 1px solid var(--border);
  padding: 2rem;
  text-align: center;
  font-size: 1rem;
  color: #aaa;
}
footer a { color: #aaa; }
footer a:hover { color: var(--teal); }

/* ── Responsive ── */
@media (max-width: 768px) {
  h1 { font-size: 1.8rem; }
  h2 { font-size: 1.35rem; }
  nav { padding: 0.75rem 1rem; }
  .nav-links { gap: 1rem; }
  .container { padding: 0 1rem; }
  section { padding: 2.5rem 0; }
  .docs-layout { grid-template-columns: 1fr; }
  .docs-nav { position: static; display: none; }
}
