:root {
  --ink: #0b1026;
  --ink-soft: #667085;
  --paper: #f4f7fb;
  --white: #ffffff;
  --violet: #635bff;
  --blue: #3478f6;
  --aqua: #00d9c6;
  --mint: #00d9c6;
  --teal: #1377e8;
  --amber: #f6b44b;
  --coral: #ec6b5b;
  --line: #dfe6f0;
  --shadow: 0 22px 70px rgba(11, 16, 38, 0.12);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.5;
}

a {
  color: inherit;
  text-decoration: none;
}

.topbar {
  align-items: center;
  background: rgba(247, 251, 248, 0.92);
  border-bottom: 1px solid var(--line);
  display: flex;
  gap: 28px;
  justify-content: space-between;
  padding: 16px clamp(20px, 5vw, 72px);
  position: sticky;
  top: 0;
  z-index: 10;
}

.brand img,
.footer img {
  display: block;
  height: 42px;
  width: auto;
}

.nav {
  align-items: center;
  display: flex;
  gap: 24px;
  font-size: 0.95rem;
  font-weight: 700;
}

.topbar-actions {
  align-items: center;
  display: flex;
  gap: 10px;
}

.topbar-action,
.whatsapp-link,
.primary-button {
  align-items: center;
  background: var(--ink);
  border: 0;
  border-radius: 8px;
  color: var(--white);
  cursor: pointer;
  display: inline-flex;
  font: inherit;
  font-weight: 800;
  justify-content: center;
  min-height: 46px;
  padding: 0 18px;
}

.whatsapp-link {
  background: #eef4ff;
  color: #1f55d6;
}

.hero {
  align-items: center;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.72), rgba(244, 247, 251, 0)),
    var(--paper);
  display: grid;
  gap: clamp(28px, 5vw, 72px);
  grid-template-columns: minmax(0, 1.02fr) minmax(320px, 0.78fr);
  min-height: calc(100vh - 78px);
  padding: clamp(28px, 5vw, 72px);
}

.hero-copy h1 {
  font-size: clamp(2.6rem, 5.8vw, 5.8rem);
  line-height: 0.98;
  margin: 10px 0 22px;
  max-width: 880px;
}

.lead {
  color: var(--ink-soft);
  font-size: clamp(1.08rem, 1.6vw, 1.35rem);
  margin: 0;
  max-width: 650px;
}

.eyebrow {
  color: var(--blue);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0;
  margin: 0;
  text-transform: uppercase;
}

.trust-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 32px;
}

.trust-row span,
.status-pill {
  background: #eef4ff;
  border: 1px solid #cbdcff;
  border-radius: 999px;
  color: #1f55d6;
  font-size: 0.82rem;
  font-weight: 850;
  padding: 8px 12px;
}

.scan-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
  display: grid;
  gap: 16px;
  padding: clamp(20px, 3vw, 30px);
}

.form-head {
  align-items: center;
  display: flex;
  gap: 14px;
  margin-bottom: 2px;
}

.form-icon {
  align-items: center;
  background: #eef4ff;
  border-radius: 8px;
  display: inline-flex;
  height: 44px;
  justify-content: center;
  min-width: 44px;
  overflow: hidden;
}

.form-icon img {
  display: block;
  height: 44px;
  width: 44px;
}

.form-head h2,
.section-head h2 {
  margin: 0;
}

.form-head p,
.form-note {
  color: var(--ink-soft);
  margin: 2px 0 0;
}

label {
  color: var(--ink);
  display: grid;
  font-size: 0.9rem;
  font-weight: 800;
  gap: 7px;
}

input {
  background: #fbfdfc;
  border: 1px solid #cfded8;
  border-radius: 8px;
  color: var(--ink);
  font: inherit;
  min-height: 46px;
  outline: none;
  padding: 0 13px;
}

input:focus {
  border-color: var(--blue);
  box-shadow: 0 0 0 4px rgba(52, 120, 246, 0.18);
}

.field-grid {
  display: grid;
  gap: 14px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.form-note {
  font-size: 0.82rem;
}

.result-band {
  background: var(--ink);
  color: var(--white);
  display: grid;
  gap: 24px;
  padding: clamp(28px, 5vw, 72px);
}

.score-panel {
  align-items: center;
  display: flex;
  gap: 24px;
  justify-content: space-between;
}

.score-panel h2 {
  font-size: clamp(1.8rem, 3vw, 3rem);
  margin: 6px 0;
}

.score-panel p {
  color: #d8eee5;
  margin: 0;
  max-width: 760px;
}

.score-ring {
  align-items: baseline;
  aspect-ratio: 1;
  background: conic-gradient(var(--aqua) var(--score-angle, 0deg), #293149 0deg);
  border-radius: 50%;
  color: var(--white);
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-width: 150px;
  padding: 18px;
  text-align: center;
}

.score-ring span {
  font-size: 3.1rem;
  font-weight: 950;
  line-height: 0.9;
}

.score-ring small {
  color: #d8eee5;
  font-weight: 800;
}

.recommendation-grid {
  display: grid;
  gap: 14px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.recommendation {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 8px;
  padding: 18px;
}

.recommendation strong {
  color: var(--aqua);
  display: block;
  margin-bottom: 6px;
}

.recommendation p {
  color: #d8eee5;
  margin: 0;
}

.section {
  padding: clamp(34px, 6vw, 82px) clamp(20px, 5vw, 72px);
}

.section-head {
  margin-bottom: 26px;
  max-width: 760px;
}

.section-head h2 {
  font-size: clamp(2rem, 4vw, 4rem);
  line-height: 1;
  margin-top: 8px;
}

.section-head.compact h2 {
  max-width: 720px;
}

.report-preview {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
  display: grid;
  grid-template-columns: 260px minmax(0, 1fr);
  overflow: hidden;
}

.preview-sidebar {
  background: #eef4ff;
  border-right: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  gap: 12px;
  justify-content: center;
  padding: 28px;
}

.preview-sidebar strong {
  font-size: 4rem;
  line-height: 0.9;
}

.preview-sidebar p {
  color: var(--ink-soft);
  margin: 0;
}

.preview-main {
  display: grid;
}

.preview-row {
  border-bottom: 1px solid var(--line);
  display: grid;
  gap: 14px;
  grid-template-columns: 170px minmax(0, 1fr);
  padding: 22px 26px;
}

.preview-row:last-child {
  border-bottom: 0;
}

.preview-row span {
  color: var(--blue);
  font-weight: 900;
}

.preview-row p {
  margin: 0;
}

.preview-row.strong {
  background: #f7fbff;
}

.muted {
  background: #edf2f8;
}

.metric-strip,
.plans {
  display: grid;
  gap: 16px;
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.metric-strip div,
.plan {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 22px;
}

.metric-strip strong {
  display: block;
  font-size: clamp(1.6rem, 3vw, 2.6rem);
}

.metric-strip span {
  color: var(--ink-soft);
  font-weight: 800;
}

.plans {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.plan h3 {
  font-size: 1.35rem;
  margin: 0 0 10px;
}

.plan p {
  color: var(--ink-soft);
  min-height: 72px;
}

.plan strong {
  color: var(--blue);
  display: block;
  font-size: 1.15rem;
}

.plan.featured {
  border-color: var(--amber);
  box-shadow: 0 18px 52px rgba(245, 184, 75, 0.18);
}

.footer {
  align-items: center;
  border-top: 1px solid var(--line);
  color: var(--ink-soft);
  display: flex;
  gap: 24px;
  justify-content: space-between;
  padding: 26px clamp(20px, 5vw, 72px);
}

.footer p {
  margin: 0;
  max-width: 760px;
}

@media (max-width: 920px) {
  .hero {
    grid-template-columns: 1fr;
    min-height: auto;
  }

  .nav {
    display: none;
  }

  .report-preview {
    grid-template-columns: 1fr;
  }

  .preview-sidebar {
    border-bottom: 1px solid var(--line);
    border-right: 0;
  }

  .recommendation-grid,
  .metric-strip,
  .plans {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .topbar {
    gap: 14px;
    padding: 12px 16px;
  }

  .brand img {
    height: 36px;
  }

  .topbar-action {
    min-height: 40px;
    padding: 0 12px;
  }

  .field-grid,
  .preview-row {
    grid-template-columns: 1fr;
  }

  .score-panel {
    align-items: flex-start;
    flex-direction: column;
  }

  .footer {
    align-items: flex-start;
    flex-direction: column;
  }
}
