:root {
  --bg: #f4efe7;
  --surface: rgba(255, 255, 255, 0.68);
  --surface-strong: #fff9f1;
  --card: rgba(255, 255, 255, 0.78);
  --text: #1b1b1f;
  --muted: #635d56;
  --primary: #0f766e;
  --primary-dark: #0b4f4a;
  --accent: #f59e0b;
  --accent-soft: #ffe1a8;
  --line: rgba(27, 27, 31, 0.08);
  --shadow: 0 24px 70px rgba(19, 29, 34, 0.12);
  --radius: 24px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Manrope", sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at top left, rgba(15, 118, 110, 0.18), transparent 28%),
    radial-gradient(circle at right center, rgba(245, 158, 11, 0.18), transparent 26%),
    linear-gradient(180deg, #f8f4ec 0%, #f2ede4 100%);
}

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

.page-shell {
  width: min(1180px, calc(100% - 32px));
  margin: 20px auto;
}

.hero {
  padding: 20px 28px 36px;
  border: 1px solid rgba(255, 255, 255, 0.4);
  border-radius: 34px;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.72), rgba(255, 250, 242, 0.82));
  backdrop-filter: blur(18px);
  box-shadow: var(--shadow);
  overflow: hidden;
  position: relative;
}

.hero::after {
  content: "";
  position: absolute;
  inset: auto -120px -140px auto;
  width: 320px;
  height: 320px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(15, 118, 110, 0.14), transparent 68%);
}

.navbar,
.hero-grid,
.feature-grid,
.benefits-section,
.cta-card,
.trust-strip {
  position: relative;
  z-index: 1;
}

.navbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.brand {
  display: flex;
  align-items: center;
  min-height: 52px;
}

.brand-logo {
  display: block;
  width: 188px;
  max-width: 100%;
  height: auto;
}

.nav-links {
  display: flex;
  gap: 22px;
  color: var(--muted);
  font-weight: 600;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 22px;
  border-radius: 999px;
  font-weight: 700;
  transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn-nav,
.btn-secondary {
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.7);
}

.btn-primary {
  color: white;
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  box-shadow: 0 16px 30px rgba(15, 118, 110, 0.28);
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 36px;
  align-items: center;
  padding-top: 56px;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--primary);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.78rem;
  font-weight: 800;
}

.hero-copy h1,
.section-heading h2,
.benefits-copy h2,
.cta-card h2 {
  margin: 0;
  font-family: "Space Grotesk", sans-serif;
  line-height: 1.02;
}

.hero-copy h1 {
  font-size: clamp(2.8rem, 5vw, 5.3rem);
  max-width: 11ch;
}

.hero-text,
.benefits-copy p,
.feature-card p {
  color: var(--muted);
  line-height: 1.7;
}

.hero-text {
  max-width: 58ch;
  margin: 22px 0 0;
  font-size: 1.05rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 30px;
}

.hero-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  margin-top: 34px;
}

.hero-stats div {
  min-width: 140px;
  padding: 16px 18px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.52);
}

.hero-stats strong,
.score-badge strong {
  display: block;
  font-size: 1.35rem;
}

.hero-stats span,
.score-badge span,
.score-badge small,
.progress-label span,
.mini-cards span {
  color: var(--muted);
}

.hero-visual {
  display: flex;
  justify-content: center;
}

.phone-card {
  width: min(100%, 420px);
  padding: 28px;
  border-radius: 34px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(250, 246, 240, 0.92));
  border: 1px solid rgba(255, 255, 255, 0.85);
  box-shadow: 0 30px 70px rgba(24, 40, 34, 0.18);
  transform: rotate(4deg);
}

.score-badge,
.progress-panel,
.mini-cards article,
.feature-card,
.glass-box,
.trust-strip,
.cta-card {
  border: 1px solid var(--line);
  box-shadow: 0 10px 24px rgba(17, 24, 39, 0.05);
}

.score-badge {
  padding: 22px;
  border-radius: 24px;
  color: white;
  background: linear-gradient(135deg, #0f766e, #115e59 58%, #f59e0b 140%);
}

.score-badge strong {
  margin: 10px 0 4px;
  font-size: 4rem;
  line-height: 1;
}

.progress-panel {
  margin-top: 18px;
  padding: 20px;
  border-radius: 22px;
  background: var(--surface-strong);
}

.progress-label,
.factor-row {
  display: flex;
  justify-content: space-between;
  gap: 16px;
}

.meter {
  height: 12px;
  margin-top: 14px;
  border-radius: 999px;
  background: #e6dfd2;
  overflow: hidden;
}

.meter-fill {
  width: 78%;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--accent), var(--primary));
  animation: fillUp 1.6s ease-out;
}

.mini-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-top: 18px;
}

.mini-cards article {
  padding: 16px 14px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.86);
}

.mini-cards strong,
.feature-card h3,
.glass-box strong {
  display: block;
  margin-top: 8px;
}

.section {
  padding: 88px 8px 0;
}

.section-heading {
  max-width: 700px;
}

.section-heading h2,
.benefits-copy h2,
.cta-card h2 {
  font-size: clamp(2rem, 4vw, 3.4rem);
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  margin-top: 34px;
}

.feature-card {
  padding: 24px;
  border-radius: 24px;
  background: var(--card);
  backdrop-filter: blur(12px);
}

.feature-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: 14px;
  color: white;
  font-weight: 800;
  background: linear-gradient(135deg, var(--primary), var(--accent));
}

.trust-strip {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-top: 22px;
  padding: 18px 24px;
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.68);
}

.trust-strip p {
  margin: 0;
  font-weight: 700;
}

.trust-items {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  color: var(--muted);
  font-weight: 700;
}

.benefits-section {
  display: grid;
  grid-template-columns: 1fr 0.95fr;
  gap: 28px;
  align-items: center;
}

.benefit-list {
  padding: 0;
  margin: 26px 0 0;
  list-style: none;
}

.benefit-list li {
  margin-bottom: 14px;
  padding: 16px 18px;
  border-left: 4px solid var(--primary);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.56);
}

.glass-box {
  padding: 28px;
  border-radius: 28px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.82), rgba(255, 248, 235, 0.78));
  backdrop-filter: blur(16px);
}

.glass-box p {
  margin: 0 0 20px;
  color: var(--primary);
  font-weight: 800;
}

.factor-row {
  padding: 16px 0;
  border-bottom: 1px solid var(--line);
}

.insight-pill {
  margin-top: 22px;
  display: inline-flex;
  padding: 12px 18px;
  border-radius: 999px;
  font-weight: 700;
  color: var(--primary-dark);
  background: var(--accent-soft);
}

.cta-section {
  padding: 88px 8px 34px;
}

.cta-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 32px;
  border-radius: 30px;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.78), rgba(255, 245, 225, 0.9));
}

.reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.reveal-delay {
  transition-delay: 0.15s;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

@keyframes fillUp {
  from {
    width: 0;
  }
  to {
    width: 78%;
  }
}

@media (max-width: 980px) {
  .hero-grid,
  .benefits-section,
  .feature-grid {
    grid-template-columns: 1fr;
  }

  .navbar,
  .trust-strip,
  .cta-card {
    flex-direction: column;
    align-items: flex-start;
  }

  .nav-links {
    flex-wrap: wrap;
  }

  .hero-copy h1 {
    max-width: 100%;
  }
}

@media (max-width: 640px) {
  .page-shell {
    width: min(100% - 18px, 100%);
    margin: 10px auto;
  }

  .hero {
    padding: 18px 16px 26px;
    border-radius: 28px;
  }

  .phone-card {
    padding: 20px;
    transform: none;
  }

  .mini-cards {
    grid-template-columns: 1fr;
  }

  .hero-actions,
  .hero-stats {
    flex-direction: column;
  }

  .btn,
  .btn-nav {
    width: 100%;
  }

  .nav-links {
    gap: 12px;
  }

  .brand-logo {
    width: 160px;
  }
}
