:root {
  --bg: #ffffff;
  --bg-alt: #f8fafc;
  --text: #0f172a;
  --text-muted: #475569;
  --border: #e2e8f0;
  --brand: #178d54;
  --brand-strong: #136e44;
  --brand-soft: #eefcf3;
  --radius: 12px;
  --shadow: 0 1px 2px rgba(15, 23, 42, 0.04), 0 8px 24px rgba(15, 23, 42, 0.06);
  --max-width: 1120px;
  --font: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen, Ubuntu, Cantarell,
    "Helvetica Neue", sans-serif;
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
}

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

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

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

.muted {
  color: var(--text-muted);
}

/* ── Header / Nav ─────────────────────────────────────────────── */

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: saturate(180%) blur(10px);
  border-bottom: 1px solid var(--border);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--text);
  font-weight: 700;
}
.brand:hover {
  text-decoration: none;
}
.brand-mark {
  width: 24px;
  height: 24px;
  border-radius: 6px;
  background: linear-gradient(135deg, var(--brand), #4dc685);
}
.brand-text {
  font-size: 1.05rem;
}

.nav-links {
  display: none;
  gap: 24px;
}
.nav-links a {
  color: var(--text);
  font-size: 0.95rem;
}
@media (min-width: 768px) {
  .nav-links {
    display: flex;
  }
}

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

/* ── Buttons ──────────────────────────────────────────────────── */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 8px 14px;
  border-radius: 8px;
  font-size: 0.95rem;
  font-weight: 500;
  border: 1px solid transparent;
  cursor: pointer;
  transition: background 0.15s, border-color 0.15s, transform 0.05s;
  text-decoration: none;
}
.btn:active {
  transform: translateY(1px);
}
.btn-primary {
  background: var(--brand);
  color: #fff;
}
.btn-primary:hover {
  background: var(--brand-strong);
  text-decoration: none;
}
.btn-secondary {
  background: #fff;
  border-color: var(--border);
  color: var(--text);
}
.btn-secondary:hover {
  background: var(--bg-alt);
  text-decoration: none;
}
.btn-ghost {
  background: transparent;
  color: var(--text);
}
.btn-ghost:hover {
  background: var(--bg-alt);
  text-decoration: none;
}
.btn-lg {
  padding: 12px 20px;
  font-size: 1rem;
}

/* ── Hero ─────────────────────────────────────────────────────── */

.hero {
  padding: 80px 0 60px;
  background: linear-gradient(180deg, var(--brand-soft) 0%, #ffffff 100%);
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 48px;
  align-items: center;
}
@media (min-width: 900px) {
  .hero-grid {
    grid-template-columns: 1.1fr 0.9fr;
  }
}

.eyebrow {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--brand);
  margin: 0 0 12px;
}

.hero-title {
  font-size: clamp(2rem, 4vw + 1rem, 3.5rem);
  line-height: 1.1;
  margin: 0 0 16px;
  letter-spacing: -0.02em;
}
.accent {
  color: var(--brand);
}

.hero-sub {
  font-size: 1.1rem;
  color: var(--text-muted);
  max-width: 560px;
  margin: 0 0 28px;
}

.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 12px;
}

.hero-meta {
  color: var(--text-muted);
  font-size: 0.9rem;
  margin: 0;
}

.hero-visual {
  display: flex;
  justify-content: center;
}
.phone {
  width: 320px;
  background: #fff;
  border-radius: 24px;
  box-shadow: var(--shadow);
  border: 1px solid var(--border);
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.phone-header {
  text-align: center;
  font-weight: 600;
  color: var(--text-muted);
  padding-bottom: 8px;
  border-bottom: 1px solid var(--border);
  margin-bottom: 8px;
}
.bubble {
  max-width: 80%;
  padding: 10px 14px;
  border-radius: 18px;
  font-size: 0.95rem;
  line-height: 1.35;
}
.bubble-bot {
  background: #f1f5f9;
  color: var(--text);
  align-self: flex-start;
  border-bottom-left-radius: 4px;
}
.bubble-user {
  background: var(--brand);
  color: #fff;
  align-self: flex-end;
  border-bottom-right-radius: 4px;
}

/* ── Sections ─────────────────────────────────────────────────── */

.section {
  padding: 80px 0;
}
.section-alt {
  background: var(--bg-alt);
}
.section-title {
  font-size: clamp(1.6rem, 2.5vw, 2.2rem);
  margin: 0 0 8px;
  text-align: center;
  letter-spacing: -0.01em;
}
.section-sub {
  text-align: center;
  color: var(--text-muted);
  font-size: 1.05rem;
  max-width: 640px;
  margin: 0 auto 48px;
}

/* ── Features ─────────────────────────────────────────────────── */

.feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 20px;
}
.feature {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
}
.feature h3 {
  margin: 0 0 8px;
  font-size: 1.05rem;
}
.feature p {
  margin: 0;
  color: var(--text-muted);
}

/* ── Modules ──────────────────────────────────────────────────── */

.module-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 16px;
}
.module {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 20px;
}
.module h3 {
  margin: 0 0 6px;
  font-size: 1rem;
}
.module p {
  margin: 0;
  color: var(--text-muted);
  font-size: 0.95rem;
}

/* ── Plans ────────────────────────────────────────────────────── */

.plans-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 16px;
  align-items: stretch;
}
.plan {
  position: relative;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
  display: flex;
  flex-direction: column;
  text-align: left;
}
.plan h3 {
  margin: 0 0 8px;
  font-size: 1.05rem;
}
.plan-price {
  margin: 0;
  font-size: 2rem;
  font-weight: 700;
}
.plan-period {
  margin: 0 0 16px;
  color: var(--text-muted);
  font-size: 0.9rem;
}
.plan ul {
  list-style: none;
  padding: 0;
  margin: 0 0 20px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  color: var(--text-muted);
  font-size: 0.95rem;
}
.plan ul li::before {
  content: "✓";
  color: var(--brand);
  margin-right: 8px;
  font-weight: 700;
}
.plan .btn {
  margin-top: auto;
  align-self: stretch;
}
.plan-featured {
  border-color: var(--brand);
  box-shadow: 0 0 0 4px rgba(23, 141, 84, 0.08);
}
.plan-badge {
  position: absolute;
  top: -10px;
  right: 16px;
  background: var(--brand);
  color: #fff;
  font-size: 0.7rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 4px 10px;
  border-radius: 999px;
  margin: 0;
}

/* ── FAQ ──────────────────────────────────────────────────────── */

.faq {
  max-width: 720px;
  margin: 0 auto;
}
.faq details {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 16px 20px;
  margin-bottom: 10px;
}
.faq summary {
  cursor: pointer;
  font-weight: 500;
}
.faq p {
  margin: 8px 0 0;
  color: var(--text-muted);
}

/* ── CTA band ─────────────────────────────────────────────────── */

.cta-band {
  background: linear-gradient(135deg, var(--brand), #25b06b);
  color: #fff;
}
.cta-inner {
  text-align: center;
}
.cta-inner h2 {
  margin: 0 0 8px;
  font-size: clamp(1.5rem, 2vw + 1rem, 2.2rem);
}
.cta-inner p {
  margin: 0 0 24px;
  opacity: 0.9;
}
.cta-band .btn-primary {
  background: #fff;
  color: var(--brand-strong);
}
.cta-band .btn-primary:hover {
  background: var(--bg-alt);
}

/* ── Footer ───────────────────────────────────────────────────── */

.site-footer {
  background: var(--bg-alt);
  border-top: 1px solid var(--border);
  padding: 32px 0;
}
.footer-grid {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}
.footer-links {
  display: flex;
  gap: 20px;
}
.footer-links a {
  color: var(--text-muted);
}
