:root {
  --bg: #f8fafc;
  --surface: #ffffff;
  --ink: #0f172a;
  --muted: #475569;
  --line: #e2e8f0;
  --accent: #0f766e;
  --accent-hover: #0d9488;
  --accent-soft: #ccfbf1;
  --dark: #111827;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Inter, sans-serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.6;
}
.container { max-width: 1120px; margin: 0 auto; padding: 0 20px; }
a { color: inherit; text-decoration: none; }
header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(248, 250, 252, 0.9);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
  gap: 16px;
}
.nav-links { display: flex; gap: 24px; color: var(--muted); font-size: 15px; font-weight: 500; }
.nav-links a:hover { color: var(--ink); }
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 18px;
  border-radius: 10px;
  font-weight: 600;
  font-size: 14px;
  border: 1px solid var(--line);
  background: var(--surface);
  color: var(--ink);
  cursor: pointer;
  transition: .18s ease;
}
.btn:hover { border-color: #cbd5e1; transform: translateY(-1px); }
.btn-primary { background: var(--dark); color: #fff; border-color: var(--dark); }
.btn-primary:hover { background: #1f2937; border-color: #1f2937; }
.btn-accent { background: var(--accent); color: #fff; border-color: var(--accent); }
.btn-accent:hover { background: var(--accent-hover); border-color: var(--accent-hover); }

.hero { padding: 72px 0 56px; }
.pill {
  display: inline-block;
  padding: 6px 12px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 600;
  color: var(--accent);
  background: var(--accent-soft);
  margin-bottom: 18px;
}
h1 {
  font-size: clamp(32px, 5vw, 52px);
  line-height: 1.12;
  letter-spacing: -0.025em;
  margin: 0 0 18px;
  max-width: 780px;
}
.lead { font-size: 18px; color: var(--muted); max-width: 660px; margin: 0 0 28px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 42px; }
.metrics {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
  gap: 16px;
}
.metric {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 18px 20px;
}
.metric b { display: block; font-size: 22px; margin-bottom: 4px; }
.metric span { font-size: 14px; color: var(--muted); }

section { padding: 56px 0; border-top: 1px solid var(--line); }
h2 { font-size: 30px; letter-spacing: -0.02em; margin: 0 0 10px; }
.sub { color: var(--muted); margin: 0 0 28px; max-width: 640px; }

.filters { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 24px; }
.chip {
  padding: 8px 15px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: var(--surface);
  color: var(--muted);
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
}
.chip.active { background: var(--dark); color: #fff; border-color: var(--dark); }

.grid-3 { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 20px; }
.card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 24px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 16px;
}
.card-tag {
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .04em;
  color: var(--accent);
}
.card h3 { margin: 6px 0 8px; font-size: 19px; }
.card p { margin: 0; font-size: 14px; color: var(--muted); }
.card-meta { font-size: 13px; color: var(--muted); border-top: 1px solid var(--line); padding-top: 14px; display: flex; justify-content: space-between; align-items: center; }
.price { font-size: 18px; font-weight: 700; color: var(--ink); }

.plan-highlight { border-color: var(--accent); box-shadow: 0 10px 30px rgba(15, 118, 110, 0.08); }
.list { padding-left: 18px; margin: 12px 0 0; color: var(--muted); font-size: 14px; }
.list li { margin-bottom: 6px; }

.banner {
  background: var(--dark);
  color: #f8fafc;
  border-radius: 20px;
  padding: 36px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.banner p { color: #cbd5e1; margin: 8px 0 0; max-width: 580px; }

.faq { display: grid; gap: 12px; max-width: 780px; }
.faq details {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 16px 20px;
}
.faq summary { font-weight: 600; cursor: pointer; }
.faq p { margin: 10px 0 0; color: var(--muted); font-size: 14px; }

footer {
  border-top: 1px solid var(--line);
  padding: 32px 0 44px;
  font-size: 14px;
  color: var(--muted);
}
.foot { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 16px; }
.foot-links { display: flex; gap: 20px; }

.modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(15, 23, 42, 0.55);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
  z-index: 50;
}
.modal-backdrop.open { display: flex; }
.modal {
  background: var(--surface);
  border-radius: 18px;
  max-width: 440px;
  width: 100%;
  padding: 26px;
  border: 1px solid var(--line);
}
.modal h3 { margin: 0 0 8px; }
.field { margin-bottom: 14px; }
.field label { display: block; font-size: 13px; font-weight: 600; margin-bottom: 5px; }
.field input, .field select {
  width: 100%;
  padding: 10px 12px;
  border-radius: 10px;
  border: 1px solid var(--line);
  font-size: 14px;
}
.status-msg { font-size: 13px; margin-top: 10px; color: var(--accent); font-weight: 500; }

@media (max-width: 720px) {
  .nav-links { display: none; }
  .hero { padding: 48px 0 36px; }
  .banner { padding: 24px; }
}
