:root {
  --blue-950: #082f63;
  --blue-900: #0b3f7f;
  --blue-700: #1261bd;
  --blue-600: #1d72d8;
  --blue-100: #eaf3ff;
  --green-600: #10a66f;
  --green-100: #e9fbf3;
  --ink: #162033;
  --muted: #667085;
  --line: #e6ebf2;
  --surface: #ffffff;
  --soft: #f6f8fb;
  --shadow-sm: 0 10px 28px rgba(15, 23, 42, 0.08);
  --shadow-md: 0 18px 48px rgba(15, 23, 42, 0.12);
  --radius: 8px;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body.index-body {
  min-height: 100vh;
  color: var(--ink);
  background: var(--surface);
  font-family: "Inter", "Segoe UI", Arial, sans-serif;
  line-height: 1.6;
}

body.index-body a {
  color: inherit;
  text-decoration: none;
}

body.index-body img {
  display: block;
  max-width: 100%;
}

.section-shell {
  width: min(1120px, calc(100% - 40px));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(12px);
  transition: box-shadow 0.22s ease, border-color 0.22s ease;
}

.site-header.is-scrolled {
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.08);
}

.navbar {
  width: min(1120px, calc(100% - 40px));
  min-height: 78px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: max-content;
}

.brand img {
  width: 52px;
  height: 52px;
  object-fit: contain;
  border-radius: 50%;
}

.brand span {
  display: grid;
  gap: 1px;
}

.brand strong {
  font-family: "Poppins", "Inter", sans-serif;
  font-size: 1.05rem;
  color: var(--blue-950);
}

.brand small {
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 500;
}

.nav-links {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 6px;
  color: #344054;
  font-size: 0.94rem;
  font-weight: 600;
}

.nav-links a {
  padding: 10px 13px;
  border-radius: 999px;
  transition: background 0.2s ease, color 0.2s ease;
}

.nav-links a:hover {
  color: var(--blue-700);
  background: var(--blue-100);
}

.nav-links .login-link {
  margin-left: 4px;
  color: #fff;
  background: var(--blue-700);
  box-shadow: 0 8px 20px rgba(18, 97, 189, 0.22);
}

.nav-links .login-link:hover {
  color: #fff;
  background: var(--blue-900);
}

.header-cta {
  width: min(1120px, calc(100% - 40px));
  margin: -10px auto 12px;
  display: flex;
  justify-content: flex-end;
}

.hero {
  min-height: calc(100vh - 78px);
  display: grid;
  grid-template-columns: minmax(0, 0.98fr) minmax(420px, 1.02fr);
  align-items: center;
  gap: 54px;
  padding: 72px 0 66px;
}

.eyebrow {
  margin-bottom: 10px;
  color: var(--green-600);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

h1,
h2,
h3 {
  font-family: "Poppins", "Inter", sans-serif;
  line-height: 1.12;
  letter-spacing: 0;
}

.hero h1 {
  max-width: 620px;
  color: var(--blue-950);
  font-size: clamp(2.45rem, 5vw, 4.6rem);
  font-weight: 700;
}

.hero-subtext {
  max-width: 600px;
  margin-top: 20px;
  color: #475467;
  font-size: 1.13rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 13px 20px;
  border: 1px solid transparent;
  border-radius: 8px;
  font-size: 0.96rem;
  font-weight: 800;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease, border-color 0.2s ease;
}

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

.btn.primary {
  color: #fff;
  background: var(--blue-700);
  box-shadow: 0 12px 24px rgba(18, 97, 189, 0.24);
}

.btn.primary:hover {
  background: var(--blue-900);
}

.btn.secondary {
  color: var(--blue-900);
  background: #fff;
  border-color: #c8d7ed;
}

.btn.secondary:hover {
  border-color: var(--blue-600);
  box-shadow: var(--shadow-sm);
}

.btn.light {
  color: #fff;
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.46);
}

.landing-card {
  max-width: 520px;
  margin-top: 32px;
  padding: 20px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
}

.landing-card h2 {
  color: var(--blue-950);
  font-size: 1.12rem;
}

.landing-card p {
  margin-top: 4px;
  color: var(--muted);
  font-size: 0.92rem;
}

.login-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin-top: 16px;
}

.login-card-btn {
  min-height: 48px;
  padding: 10px 12px;
  color: var(--blue-900);
  background: var(--blue-100);
  border: 1px solid #d8e7fb;
  border-radius: 8px;
  font: 800 0.86rem "Inter", sans-serif;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.login-card-btn:hover {
  transform: translateY(-2px);
  background: #fff;
  box-shadow: var(--shadow-sm);
}

.login-card-btn.primary {
  color: #fff;
  background: var(--blue-700);
  border-color: var(--blue-700);
}

.hero-visual {
  position: relative;
}

.signup-btn {
  min-width: 220px;
  padding-left: 34px;
  padding-right: 34px;
}

.get-started-btn {
  width: max-content;
  min-height: 42px;
  margin: 0;
  padding: 10px 20px;
  font-size: 0.94rem;
  box-shadow: 0 10px 22px rgba(18, 97, 189, 0.22);
}

.laptop-mockup {
  overflow: hidden;
  min-height: 500px;
  background: #f9fbff;
  border: 1px solid #dce6f3;
  border-radius: 18px;
  box-shadow: var(--shadow-md);
}

.mockup-top {
  height: 42px;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 0 16px;
  background: #102a4d;
}

.mockup-top span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #d7e3f2;
}

.mockup-top span:nth-child(2) {
  background: #78d5a8;
}

.mockup-top span:nth-child(3) {
  background: #8dbcf6;
}

.mockup-content {
  display: grid;
  grid-template-columns: 0.78fr 1.1fr;
  gap: 18px;
  padding: 22px;
}

.score-panel {
  align-self: start;
  padding: 18px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 8px 20px rgba(15, 23, 42, 0.06);
}

.score-panel p {
  margin-bottom: 14px;
  color: var(--blue-950);
  font-weight: 800;
}

.input-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-height: 42px;
  margin-top: 10px;
  padding: 9px 10px;
  color: #475467;
  background: var(--soft);
  border-radius: 8px;
  font-size: 0.86rem;
}

.input-row strong {
  color: var(--blue-900);
}

.input-row.success {
  color: #08764f;
  background: var(--green-100);
}

.input-row.success strong {
  color: var(--green-600);
}

.report-preview {
  overflow: hidden;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 10px 28px rgba(15, 23, 42, 0.09);
}

.report-preview img {
  width: 100%;
  height: 432px;
  object-fit: cover;
  object-position: top center;
}

.floating {
  animation: floatMockup 6s ease-in-out infinite;
}

.trusted {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  padding: 12px 0 86px;
}

.stat-card,
.feature-card,
.process-step,
.quote-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: 0 6px 20px rgba(15, 23, 42, 0.05);
}

.stat-card {
  padding: 22px;
}

.stat-card strong {
  display: block;
  color: var(--blue-900);
  font: 700 2rem "Poppins", sans-serif;
}

.stat-card span {
  color: var(--muted);
  font-size: 0.93rem;
}

.features,
.process,
.dashboard-preview,
.parenthub,
.testimonials,
.cta {
  padding: 78px 0;
}

.features,
.dashboard-preview,
.testimonials {
  width: 100%;
  max-width: none;
  background: var(--soft);
}

.features > *,
.dashboard-preview > *,
.testimonials > * {
  width: min(1120px, calc(100% - 40px));
  margin-left: auto;
  margin-right: auto;
}

.section-heading {
  max-width: 720px;
  margin-bottom: 32px;
}

.section-heading h2,
.parenthub-panel h2,
.cta-panel h2 {
  color: var(--blue-950);
  font-size: clamp(1.8rem, 3vw, 2.7rem);
  font-weight: 700;
}

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

.feature-card {
  min-height: 220px;
  padding: 24px;
  transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
}

.feature-card:hover,
.process-step:hover,
.quote-card:hover {
  transform: translateY(-5px);
  border-color: #cbdcf4;
  box-shadow: var(--shadow-sm);
}

.feature-icon {
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  margin-bottom: 20px;
  background: var(--blue-100);
  border-radius: 8px;
  font-size: 1.45rem;
}

.feature-card h3,
.process-step h3 {
  color: var(--blue-950);
  font-size: 1.05rem;
  margin-bottom: 10px;
}

.feature-card p,
.process-step p,
.parenthub-panel p,
.cta-panel p,
.quote-card cite,
.site-footer p,
.site-footer a,
.site-footer span {
  color: var(--muted);
}

.process-track {
  position: relative;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.process-step {
  position: relative;
  padding: 26px;
  transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
}

.process-step span {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  margin-bottom: 18px;
  color: #fff;
  background: var(--green-600);
  border-radius: 50%;
  font-weight: 900;
}

.preview-grid {
  display: grid;
  grid-template-columns: minmax(260px, 0.86fr) minmax(360px, 1.14fr);
  align-items: center;
  gap: 24px;
}

.screenshot-frame {
  overflow: hidden;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 14px;
  box-shadow: var(--shadow-md);
  transform: translateY(0);
  transition: transform 0.3s ease;
}

.screenshot-frame:hover {
  transform: translateY(-6px);
}

.screenshot-frame img {
  width: 100%;
  object-fit: cover;
  object-position: top center;
}

.report-frame img {
  height: 520px;
}

.analytics-frame img {
  height: 360px;
}

.analytics-preview-stack {
  display: grid;
}

.screenshot-frame figcaption {
  padding: 14px 16px;
  color: var(--blue-950);
  border-top: 1px solid var(--line);
  font-weight: 800;
}

.parenthub-panel,
.cta-panel {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  padding: 38px;
  border-radius: 14px;
}

.parenthub-panel {
  background: linear-gradient(135deg, var(--blue-100), var(--green-100));
  border: 1px solid #d7e7f4;
}

.parenthub-panel p {
  max-width: 680px;
  margin-top: 12px;
}

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

.quote-card {
  padding: 24px;
  transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
}

.avatar {
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  margin-bottom: 18px;
  color: #fff;
  background: var(--blue-700);
  border-radius: 50%;
  font-weight: 900;
}

.avatar.green {
  background: var(--green-600);
}

.quote-card blockquote {
  color: #25304a;
  font-size: 1.04rem;
  font-weight: 700;
}

.quote-card cite {
  display: block;
  margin-top: 14px;
  font-style: normal;
  font-weight: 700;
}

.cta-panel {
  color: #fff;
  background: var(--blue-950);
  box-shadow: var(--shadow-md);
}

.cta-panel h2,
.cta-panel p {
  color: #fff;
}

.cta-panel p {
  margin-top: 10px;
  opacity: 0.84;
}

.site-footer {
  padding: 56px 0 0;
  background: #fbfcfe;
  border-top: 1px solid var(--line);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr repeat(3, 0.7fr);
  gap: 30px;
}

.footer-brand {
  margin-bottom: 14px;
}

.site-footer h3 {
  margin-bottom: 12px;
  color: var(--blue-950);
  font-size: 1rem;
}

.site-footer a,
.site-footer span {
  display: block;
  margin-top: 8px;
  font-size: 0.94rem;
  transition: color 0.2s ease;
}

.site-footer a:hover {
  color: var(--blue-700);
}

.footer-bottom {
  width: min(1120px, calc(100% - 40px));
  margin: 42px auto 0;
  padding: 20px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  border-top: 1px solid var(--line);
}

.footer-bottom strong {
  color: var(--blue-900);
}

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

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

@keyframes floatMockup {
  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-12px);
  }
}

@media (max-width: 980px) {
  .navbar {
    min-height: auto;
    padding: 14px 0;
    align-items: flex-start;
    flex-direction: column;
  }

  .header-cta {
    margin-top: 0;
  }

  .nav-links {
    width: 100%;
    justify-content: flex-start;
    flex-wrap: wrap;
  }

  .hero {
    min-height: auto;
    grid-template-columns: 1fr;
    padding-top: 54px;
  }

  .feature-grid,
  .trusted {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .preview-grid,
  .process-track,
  .testimonial-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .parenthub-panel,
  .cta-panel {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (max-width: 640px) {
  .section-shell,
  .navbar,
  .header-cta,
  .features > *,
  .dashboard-preview > *,
  .testimonials > *,
  .footer-bottom {
    width: min(100% - 28px, 1120px);
  }

  .brand img {
    width: 46px;
    height: 46px;
  }

  .nav-links {
    gap: 4px;
    font-size: 0.88rem;
  }

  .nav-links a {
    padding: 8px 10px;
  }

  .hero {
    gap: 36px;
    padding: 42px 0 56px;
  }

  .hero h1 {
    font-size: clamp(2.25rem, 11vw, 3.2rem);
  }

  .hero-actions,
  .login-grid,
  .trusted,
  .feature-grid {
    grid-template-columns: 1fr;
  }

  .hero-actions {
    display: grid;
  }

  .btn {
    width: 100%;
  }

  .landing-card {
    padding: 18px;
  }

  .mockup-content {
    grid-template-columns: 1fr;
    padding: 16px;
  }

  .get-started-btn {
    width: 100%;
  }

  .laptop-mockup {
    min-height: auto;
    border-radius: 14px;
  }

  .report-preview img {
    height: 330px;
  }

  .report-frame img,
  .analytics-frame img {
    height: auto;
    max-height: 460px;
  }

  .features,
  .process,
  .dashboard-preview,
  .parenthub,
  .testimonials,
  .cta {
    padding: 58px 0;
  }

  .feature-card,
  .process-step,
  .quote-card,
  .parenthub-panel,
  .cta-panel {
    padding: 22px;
  }

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

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }
}
