:root {
  --bg: #f8fafc;
  --paper: #ffffff;
  --muted: #eef2f7;
  --ink: #0f172a;
  --text: #334155;
  --subtle: #64748b;
  --line: #dbe4ee;
  --green: #00D7A7;
  --green-dark: #00A988;
  --green-light: #E8FFF9;
  --cyan: #14B8F3;
  --black: #020617;
  --shadow: 0 24px 60px rgba(15, 23, 42, 0.14);
  --radius-xl: 34px;
  --radius-lg: 24px;
  --radius-md: 18px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: Inter, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  background: var(--bg);
  color: var(--ink);
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
.container { width: min(1180px, calc(100% - 40px)); margin: 0 auto; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255,255,255,0.95);
  border-bottom: 1px solid rgba(219,228,238,0.9);
  backdrop-filter: blur(14px);
}
.header-inner {
  min-height: 82px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.brand { display: flex; flex-direction: column; gap: 5px; }
.brand-lockup { min-width: 290px; }
.brand-logo { width: 252px; height: auto; display: block; }
.brand-subtitle { color: var(--subtle); font-size: 0.78rem; line-height: 1.35; }
.nav { display: flex; gap: 24px; color: var(--text); font-weight: 700; }
.nav a:hover, .footer-links a:hover { color: var(--green); }

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 24px;
  border-radius: 999px;
  border: 1px solid transparent;
  font-weight: 800;
  cursor: pointer;
  transition: transform .18s ease, box-shadow .18s ease, background .18s ease;
}
.button:hover { transform: translateY(-1px); }
.button-primary { background: var(--green); color: #fff; box-shadow: 0 14px 30px rgba(8,145,178,.24); }
.button-primary:hover { background: var(--green-dark); }
.button-secondary { background: #fff; border-color: var(--line); color: var(--ink); }
.button-block { width: 100%; }

.hero {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at 12% 18%, rgba(34,211,238,.18), transparent 28%),
    radial-gradient(circle at 88% 78%, rgba(56,189,248,.16), transparent 24%),
    linear-gradient(135deg, #ecfeff 0%, #fff 48%, #eef2ff 100%);
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.04fr .96fr;
  align-items: center;
  gap: 46px;
  padding-top: 84px;
  padding-bottom: 92px;
}
.eyebrow {
  color: var(--green);
  text-transform: uppercase;
  letter-spacing: .22em;
  font-size: .82rem;
  font-weight: 900;
  margin: 0 0 18px;
}
.hero h1, .section-heading h2, .contact-strip h2 {
  letter-spacing: -0.04em;
  line-height: 1.04;
  margin: 0;
}
.hero h1 { font-size: clamp(2.7rem, 5vw, 5.15rem); max-width: 790px; }
.hero-text {
  margin: 24px 0 0;
  max-width: 760px;
  color: var(--text);
  font-size: 1.15rem;
  line-height: 1.8;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 30px; }
.trust-grid {
  margin-top: 34px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}
.trust-card {
  padding: 18px;
  border-radius: var(--radius-md);
  background: rgba(255,255,255,.9);
  border: 1px solid rgba(255,255,255,.95);
  box-shadow: 0 16px 36px rgba(15,23,42,.08);
  display: grid;
  gap: 8px;
}
.trust-card strong { font-size: .98rem; }
.trust-card span { color: var(--subtle); line-height: 1.55; font-size: .93rem; }
.hero-panel {
  padding: 34px;
  background: var(--black);
  color: #fff;
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow);
}
.panel-badge {
  display: inline-flex;
  border: 1px solid rgba(255,255,255,.18);
  background: rgba(255,255,255,.08);
  border-radius: 999px;
  padding: 8px 14px;
  font-size: .78rem;
  font-weight: 900;
  color: #a5f3fc;
  text-transform: uppercase;
  letter-spacing: .16em;
}
.hero-panel h2 { font-size: 2.25rem; line-height: 1.12; margin: 24px 0 14px; }
.hero-panel p { color: #cbd5e1; line-height: 1.75; margin: 0 0 20px; }
.hero-panel ol { margin: 0; padding-left: 20px; display: grid; gap: 14px; color: #f8fafc; font-weight: 700; line-height: 1.6; }

.section { padding: 92px 0; }
.section-muted { background: var(--muted); }
.section-dark { background: var(--black); color: #fff; }
.section-heading {
  width: min(820px, 100%);
  margin: 0 auto 42px;
  text-align: center;
}
.section-heading h2 { font-size: clamp(2.15rem, 4vw, 3.6rem); }
.section-heading p:last-child {
  color: var(--text);
  line-height: 1.8;
  font-size: 1.08rem;
  margin: 18px auto 0;
}
.section-heading.light p:last-child { color: #cbd5e1; }

.segment-grid, .package-grid {
  display: grid;
  gap: 20px;
}
.segment-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.package-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.segment-card, .package-card, .diagnostic-form, .recommendation-panel, .contact-strip {
  border-radius: var(--radius-lg);
  border: 1px solid var(--line);
  background: var(--paper);
}
.segment-card {
  padding: 28px;
  background: rgba(255,255,255,.06);
  border-color: rgba(255,255,255,.1);
}
.segment-card h3, .package-card h3, .recommendation-panel h3 { margin: 0 0 12px; font-size: 1.72rem; line-height: 1.18; }
.segment-card p { color: #cbd5e1; line-height: 1.75; margin: 0 0 18px; }
.segment-card ul, .package-card ul { margin: 0; padding-left: 18px; display: grid; gap: 10px; line-height: 1.6; }
.package-card {
  padding: 28px;
  box-shadow: 0 18px 40px rgba(15,23,42,.07);
}
.package-card.featured { border-color: rgba(8,145,178,.35); background: linear-gradient(180deg, #ffffff 0%, #f0fdf4 100%); }
.package-power {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  padding: 0 13px;
  border-radius: 999px;
  background: #ecfdf5;
  color: var(--green);
  font-size: .78rem;
  text-transform: uppercase;
  letter-spacing: .16em;
  font-weight: 900;
  margin-bottom: 18px;
}
.package-card p { color: var(--text); line-height: 1.75; margin: 0 0 18px; }
.package-card li::marker { color: var(--green); }

.app-grid {
  display: grid;
  grid-template-columns: 1.16fr .84fr;
  align-items: start;
  gap: 24px;
}
.diagnostic-form { padding: 30px; box-shadow: 0 24px 55px rgba(15,23,42,.08); }
fieldset { border: 0; margin: 0 0 30px; padding: 0; }
fieldset:last-child { margin-bottom: 0; }
legend {
  font-size: 1.18rem;
  font-weight: 900;
  margin-bottom: 18px;
}
.form-grid { display: grid; gap: 16px; }
.two-columns { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.full-width { grid-column: 1 / -1; }
label { display: grid; gap: 8px; font-weight: 800; color: var(--ink); font-size: .93rem; }
input, select, textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 14px;
  min-height: 48px;
  padding: 0 14px;
  font: inherit;
  color: var(--ink);
  background: #fff;
  outline: none;
}
textarea { min-height: 124px; padding-top: 14px; resize: vertical; }
input:focus, select:focus, textarea:focus { border-color: #10b981; box-shadow: 0 0 0 4px rgba(16,185,129,.12); }
.choice-grid { display: grid; gap: 14px; }
.segment-choice { grid-template-columns: repeat(3, minmax(0,1fr)); }
.segment-choice label {
  border: 1px solid var(--line);
  background: #fff;
  border-radius: 18px;
  min-height: 80px;
  align-content: center;
  justify-content: center;
  text-align: center;
  cursor: pointer;
  transition: .18s ease;
}
.segment-choice input { display: none; }
.segment-choice label:has(input:checked) { border-color: #10b981; background: #ecfdf5; color: var(--green-dark); box-shadow: 0 12px 28px rgba(4,120,87,.12); }
.hidden { display: none; }
.recommendation-panel {
  position: sticky;
  top: 108px;
  padding: 30px;
  background: linear-gradient(180deg, #ecfdf5 0%, #ffffff 100%);
  border-color: rgba(16,185,129,.28);
  box-shadow: 0 24px 55px rgba(4,120,87,.14);
}
.recommendation-panel p { color: var(--text); line-height: 1.8; }
.recommendation-next {
  border: 1px solid rgba(16,185,129,.25);
  border-radius: 18px;
  padding: 18px;
  background: #fff;
  margin: 22px 0;
}
.recommendation-next strong { display: block; margin-bottom: 8px; }
.recommendation-next p { margin: 0; }
.fine-print { font-size: .84rem; text-align: center; color: var(--subtle) !important; margin-bottom: 0; }

.contact-strip {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 30px;
  padding: 38px;
  box-shadow: 0 20px 44px rgba(15,23,42,.08);
}
.contact-strip h2 { font-size: clamp(2rem, 4vw, 3.25rem); }
.contact-strip p:last-child { color: var(--text); line-height: 1.8; margin: 18px 0 0; font-size: 1.05rem; }

.site-footer { border-top: 1px solid var(--line); background: #fff; }
.footer-inner {
  min-height: 88px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  color: var(--subtle);
  font-size: .95rem;
}
.footer-links { display: flex; gap: 18px; font-weight: 800; color: var(--text); }

@media (max-width: 1040px) {
  .nav { display: none; }
  .hero-grid, .app-grid, .contact-strip { grid-template-columns: 1fr; }
  .hero-panel, .recommendation-panel { position: static; }
  .segment-grid, .package-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 720px) {
  .container { width: min(100% - 28px, 1180px); }
  .site-header { position: relative; }
  .header-inner { min-height: auto; padding: 18px 0; flex-wrap: wrap; }
  .header-cta { width: 100%; }
  .hero-grid { padding-top: 58px; padding-bottom: 68px; }
  .hero-text { font-size: 1rem; }
  .trust-grid, .segment-grid, .package-grid, .two-columns, .segment-choice { grid-template-columns: 1fr; }
  .section { padding: 68px 0; }
  .hero-panel, .diagnostic-form, .recommendation-panel, .contact-strip, .package-card, .segment-card { padding: 22px; }
  .footer-inner { padding: 24px 0; flex-direction: column; align-items: flex-start; }
  .footer-links { flex-wrap: wrap; }
}
