:root {
  --navy: #042C53;
  --blue: #185FA5;
  --blue-action: #378ADD;
  --blue-light: #B5D4F4;
  --blue-bg: #E6F1FB;
  --teal: #1D9E75;
  --teal-light: #9FE1CB;
  --warm: #F1EFE8;
  --amber: #EF9F27;
  --red: #E24B4A;
  --white: #ffffff;
  --text: #102033;
  --muted: #64748b;
  --border: rgba(15, 23, 42, 0.1);
  --shadow: 0 24px 70px rgba(4, 44, 83, 0.16);
  --radius-xl: 32px;
  --radius-lg: 24px;
  --radius-md: 16px;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--text);
  background: #fbfdff;
  line-height: 1.6;
}

a {
  text-decoration: none;
  color: inherit;
}

button,
input,
select,
textarea {
  font-family: inherit;
}

.container {
  width: min(1160px, calc(100% - 40px));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.84);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid var(--border);
}

.navbar {
  width: min(1160px, calc(100% - 40px));
  height: 78px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  color: var(--navy);
  font-size: 1.2rem;
}

.brand-icon {
  width: 36px;
  height: 36px;
  display: inline-grid;
  place-items: center;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--teal), var(--blue-action));
  color: var(--white);
  font-size: 1.6rem;
  box-shadow: 0 10px 24px rgba(29, 158, 117, 0.32);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 26px;
  font-weight: 600;
  color: #334155;
}

.nav-links a:not(.btn) {
  position: relative;
}

.nav-links a:not(.btn)::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -8px;
  width: 0;
  height: 2px;
  background: var(--teal);
  transition: width 0.25s ease;
}

.nav-links a:not(.btn):hover::after {
  width: 100%;
}

.menu-toggle {
  display: none;
  background: transparent;
  border: 0;
  cursor: pointer;
}

.menu-toggle span {
  display: block;
  width: 26px;
  height: 3px;
  margin: 5px 0;
  background: var(--navy);
  border-radius: 8px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border-radius: 999px;
  padding: 13px 22px;
  border: 1px solid transparent;
  font-weight: 800;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn:disabled {
  cursor: wait;
  opacity: 0.9;
  transform: none;
}

.btn-primary {
  background: linear-gradient(135deg, var(--teal), #20b486);
  color: var(--white);
  box-shadow: 0 16px 34px rgba(29, 158, 117, 0.28);
}

.btn-secondary {
  background: var(--white);
  color: var(--navy);
  border-color: rgba(255, 255, 255, 0.5);
}

.btn-outline {
  border-color: rgba(24, 95, 165, 0.2);
  color: var(--blue);
  background: rgba(230, 241, 251, 0.7);
}

.btn-white {
  background: var(--white);
  color: var(--navy);
}

.btn-ghost-white {
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.45);
  background: rgba(255, 255, 255, 0.08);
}

.full-btn {
  width: 100%;
}

.btn-spinner {
  width: 16px;
  height: 16px;
  border: 2px solid rgba(255, 255, 255, 0.45);
  border-top-color: var(--white);
  border-radius: 999px;
  animation: spin 0.8s linear infinite;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

.hero {
  position: relative;
  overflow: hidden;
  padding: 90px 0 110px;
  background:
    radial-gradient(circle at top right, rgba(29, 158, 117, 0.28), transparent 34%),
    linear-gradient(135deg, var(--navy), #063d70 52%, #0e6d85);
  color: var(--white);
}

.hero-bg-orb {
  position: absolute;
  border-radius: 999px;
  border: 1px solid rgba(181, 212, 244, 0.28);
  pointer-events: none;
}

.orb-one {
  width: 440px;
  height: 440px;
  right: -170px;
  top: -120px;
}

.orb-two {
  width: 260px;
  height: 260px;
  right: 120px;
  bottom: 60px;
  background: rgba(29, 158, 117, 0.16);
}

.hero-grid {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 0.9fr;
  gap: 70px;
  align-items: center;
}

.eyebrow,
.section-kicker {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 18px;
  color: var(--teal-light);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.78rem;
  font-weight: 800;
}

.eyebrow span {
  width: 34px;
  height: 2px;
  background: var(--teal-light);
}

.hero h1 {
  max-width: 720px;
  font-size: clamp(2.8rem, 7vw, 5.7rem);
  line-height: 0.98;
  letter-spacing: -0.07em;
  margin-bottom: 26px;
}

.hero-text {
  max-width: 610px;
  color: rgba(255, 255, 255, 0.78);
  font-size: 1.18rem;
  margin-bottom: 34px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 46px;
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  max-width: 560px;
}

.hero-stats div {
  padding: 18px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-md);
  backdrop-filter: blur(12px);
}

.hero-stats strong {
  display: block;
  font-size: 1.6rem;
  line-height: 1;
}

.hero-stats span {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.87rem;
}

.hero-panel {
  position: relative;
}

.dashboard-card {
  background: rgba(255, 255, 255, 0.92);
  color: var(--text);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow);
  border: 1px solid rgba(255, 255, 255, 0.45);
}

.main-dashboard {
  padding: 22px;
  min-height: 520px;
}

.dashboard-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 24px;
  color: var(--muted);
  font-weight: 700;
}

.dot {
  display: inline-block;
  width: 11px;
  height: 11px;
  margin-right: 6px;
  border-radius: 50%;
  background: var(--blue-light);
}

.dot:nth-child(2) {
  background: var(--teal-light);
}

.dot:nth-child(3) {
  background: var(--amber);
}

.doctor-card {
  display: flex;
  gap: 16px;
  align-items: center;
  padding: 22px;
  border-radius: var(--radius-lg);
  background: linear-gradient(135deg, var(--blue-bg), #ffffff);
  margin-bottom: 18px;
}

.avatar {
  width: 62px;
  height: 62px;
  display: grid;
  place-items: center;
  border-radius: 20px;
  background: var(--navy);
  color: var(--white);
  font-weight: 900;
}

.doctor-card h3 {
  color: var(--navy);
  font-size: 1.25rem;
}

.doctor-card p {
  color: var(--muted);
}

.mini-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}

.mini-card {
  padding: 18px;
  background: #f8fbff;
  border: 1px solid var(--border);
  border-radius: 18px;
}

.mini-card span {
  color: var(--muted);
  font-size: 0.86rem;
}

.mini-card strong {
  display: block;
  margin-top: 6px;
  color: var(--navy);
  font-size: 1.45rem;
}

.timeline {
  margin-top: 18px;
  display: grid;
  gap: 12px;
}

.timeline div {
  display: flex;
  gap: 14px;
  padding: 14px;
  border-radius: 16px;
  background: rgba(230, 241, 251, 0.7);
}

.time {
  font-weight: 900;
  color: var(--blue);
}

.timeline p {
  color: #334155;
  font-weight: 600;
}

.floating-card {
  position: absolute;
  padding: 16px 18px;
  border-radius: 18px;
  background: var(--white);
  box-shadow: 0 18px 40px rgba(4, 44, 83, 0.18);
}

.floating-card strong {
  display: block;
  color: var(--navy);
}

.floating-card span {
  color: var(--muted);
  font-size: 0.86rem;
}

.card-one {
  top: 74px;
  right: -22px;
}

.card-two {
  left: -34px;
  bottom: 70px;
}

.problem-section,
.modules-section,
.contact-section {
  padding: 100px 0;
}

.section-heading {
  max-width: 780px;
  margin: 0 auto 46px;
  text-align: center;
}

.section-kicker {
  color: var(--teal);
}

.section-kicker.light {
  color: var(--teal-light);
}

.section-heading h2,
.solution-grid h2,
.benefits-layout h2,
.beta-card h2,
.contact-grid h2 {
  color: var(--navy);
  font-size: clamp(2rem, 4vw, 3.4rem);
  line-height: 1.05;
  letter-spacing: -0.05em;
  margin-bottom: 18px;
}

.section-heading p,
.solution-grid p,
.benefits-layout p,
.contact-grid p,
.beta-card p {
  color: var(--muted);
  font-size: 1.05rem;
}

.problem-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

.problem-card,
.modules-grid article {
  padding: 28px;
  border-radius: var(--radius-lg);
  background: var(--white);
  border: 1px solid var(--border);
  box-shadow: 0 16px 42px rgba(15, 23, 42, 0.06);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.problem-card:hover,
.modules-grid article:hover {
  transform: translateY(-6px);
  box-shadow: 0 24px 60px rgba(4, 44, 83, 0.13);
}

.icon,
.module-icon {
  width: 54px;
  height: 54px;
  display: grid;
  place-items: center;
  border-radius: 18px;
  background: var(--blue-bg);
  font-size: 1.55rem;
  margin-bottom: 22px;
}

.problem-card h3,
.modules-grid h3 {
  color: var(--navy);
  line-height: 1.2;
  margin-bottom: 12px;
}

.problem-card p,
.modules-grid p {
  color: var(--muted);
  font-size: 0.96rem;
}

.solution-section {
  padding: 100px 0;
  background: linear-gradient(180deg, #ffffff, var(--blue-bg));
}

.solution-grid {
  display: grid;
  grid-template-columns: 1fr 0.82fr;
  gap: 52px;
  align-items: center;
}

.check-list {
  display: grid;
  gap: 14px;
  margin-top: 28px;
}

.check-list div {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 800;
  color: var(--navy);
}

.check-list span {
  width: 28px;
  height: 28px;
  display: inline-grid;
  place-items: center;
  border-radius: 50%;
  background: var(--teal);
  color: var(--white);
}

.solution-card {
  padding: 34px;
  border-radius: var(--radius-xl);
  background: var(--white);
  box-shadow: var(--shadow);
}

.solution-card h3 {
  color: var(--navy);
  font-size: 1.7rem;
  margin-bottom: 10px;
}

.solution-card p {
  margin-bottom: 28px;
}

.progress-row {
  display: flex;
  justify-content: space-between;
  margin: 18px 0 8px;
  font-weight: 800;
  color: var(--navy);
}

.progress-bar {
  height: 12px;
  border-radius: 999px;
  background: var(--blue-bg);
  overflow: hidden;
}

.progress-bar span {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--blue-action), var(--teal));
}

.modules-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.benefits-section {
  padding: 100px 0;
  background: var(--warm);
}

.benefits-layout {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 70px;
  align-items: start;
}

.benefit-list {
  display: grid;
  gap: 16px;
}

.benefit-item {
  display: grid;
  grid-template-columns: 72px 1fr;
  gap: 18px;
  padding: 24px;
  border-radius: var(--radius-lg);
  background: var(--white);
  border: 1px solid rgba(4, 44, 83, 0.08);
}

.benefit-item > span {
  width: 56px;
  height: 56px;
  display: grid;
  place-items: center;
  border-radius: 18px;
  background: var(--navy);
  color: var(--white);
  font-weight: 900;
}

.benefit-item h3 {
  color: var(--navy);
  margin-bottom: 6px;
}

.beta-section {
  padding: 100px 0;
}

.beta-card {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 40px;
  align-items: center;
  padding: 56px;
  border-radius: var(--radius-xl);
  color: var(--white);
  background:
    radial-gradient(circle at right, rgba(159, 225, 203, 0.32), transparent 30%),
    linear-gradient(135deg, var(--navy), var(--blue));
  box-shadow: var(--shadow);
}

.beta-card h2,
.beta-card p {
  color: var(--white);
}

.beta-card p {
  opacity: 0.78;
  max-width: 720px;
}

.beta-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

.contact-grid {
  display: grid;
  grid-template-columns: 0.85fr 1fr;
  gap: 56px;
  align-items: start;
}

.contact-info {
  display: grid;
  gap: 16px;
  margin-top: 32px;
}

.contact-info div {
  padding: 20px;
  border-radius: 18px;
  background: var(--blue-bg);
}

.contact-info strong {
  display: block;
  color: var(--navy);
}

.contact-info a {
  color: var(--blue);
  font-weight: 800;
}

.contact-form {
  padding: 34px;
  border-radius: var(--radius-xl);
  background: var(--white);
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
}

.form-row {
  display: grid;
  gap: 8px;
  margin-bottom: 18px;
}

.form-row label {
  color: var(--navy);
  font-weight: 800;
  font-size: 0.95rem;
}

.form-row input,
.form-row select,
.form-row textarea {
  width: 100%;
  border: 1px solid var(--border);
  background: #f8fbff;
  border-radius: 16px;
  padding: 15px 16px;
  outline: none;
  color: var(--text);
  font-size: 1rem;
  transition: border 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.form-row input:focus,
.form-row select:focus,
.form-row textarea:focus {
  background: var(--white);
  border-color: var(--blue-action);
  box-shadow: 0 0 0 4px rgba(55, 138, 221, 0.12);
}

.form-note {
  margin-top: 14px;
  color: var(--muted);
  font-size: 0.87rem;
  text-align: center;
}

.form-status {
  min-height: 24px;
  margin-top: 14px;
  font-size: 0.92rem;
  font-weight: 700;
  text-align: center;
  color: var(--muted);
}

.form-status.is-success {
  color: var(--teal);
}

.form-status.is-error {
  color: var(--red);
}

.site-footer {
  padding: 42px 0;
  background: var(--navy);
  color: var(--white);
}

.footer-content {
  display: flex;
  justify-content: space-between;
  gap: 30px;
  align-items: center;
}

.footer-brand {
  color: var(--white);
  margin-bottom: 12px;
}

.site-footer p {
  color: rgba(255, 255, 255, 0.68);
}

.footer-links {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
  color: rgba(255, 255, 255, 0.78);
  font-weight: 700;
}

.footer-links a:hover {
  color: var(--white);
}

@media (max-width: 980px) {
  .menu-toggle {
    display: block;
  }

  .nav-links {
    position: absolute;
    top: 78px;
    left: 20px;
    right: 20px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    padding: 22px;
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: 24px;
    box-shadow: var(--shadow);
  }

  .nav-links.active {
    display: flex;
  }

  .hero-grid,
  .solution-grid,
  .benefits-layout,
  .contact-grid,
  .beta-card {
    grid-template-columns: 1fr;
  }

  .problem-grid,
  .modules-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .beta-actions {
    justify-content: flex-start;
  }

  .card-one,
  .card-two {
    display: none;
  }
}

@media (max-width: 640px) {
  .container,
  .navbar {
    width: min(100% - 28px, 1160px);
  }

  .hero {
    padding: 70px 0 80px;
  }

  .hero-stats,
  .problem-grid,
  .modules-grid {
    grid-template-columns: 1fr;
  }

  .hero h1 {
    font-size: 3rem;
  }

  .main-dashboard {
    min-height: auto;
  }

  .mini-grid {
    grid-template-columns: 1fr;
  }

  .problem-section,
  .modules-section,
  .solution-section,
  .benefits-section,
  .beta-section,
  .contact-section {
    padding: 70px 0;
  }

  .beta-card,
  .contact-form,
  .solution-card {
    padding: 26px;
  }

  .footer-content {
    flex-direction: column;
    align-items: flex-start;
  }
}
