/* ---------- Global reset ---------- */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

/* ---------- Base styles ---------- */

html,
body {
  height: 100%;
}

body {
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    sans-serif;
  background: radial-gradient(circle at 0% 0%, #0b2a55 0, #020617 55%);
  color: #e2e8f0;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

/* Simple layout helper */
.container {
  width: 100%;
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 1.4rem;
}

/* ---------- Header / Nav ---------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(18px);
  background: linear-gradient(
    to bottom,
    rgba(15, 23, 42, 0.96),
    rgba(15, 23, 42, 0.9),
    transparent
  );
  border-bottom: 1px solid rgba(148, 163, 184, 0.24);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.9rem 0.4rem;
  gap: 1rem;
}

/* Logo */
.logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
  color: inherit;
}

.logo-mark {
  position: relative;
  width: 40px;
  height: 40px;
}

.logo-orbit {
  position: absolute;
  inset: 0;
  border-radius: 999px;
  background: radial-gradient(circle at 30% 0%, #22c55e, #0ea5e9);
  box-shadow: 0 0 18px rgba(34, 197, 94, 0.8);
}

.logo-core {
  position: absolute;
  inset: 8px;
  border-radius: 999px;
  background: radial-gradient(circle at 30% 0%, #1e293b, #020617);
}

.logo-text {
  display: flex;
  flex-direction: column;
}

.logo-name {
  font-weight: 600;
  letter-spacing: 0.02em;
  font-size: 1.1rem;
}

.logo-tag {
  font-size: 0.78rem;
  color: #94a3b8;
}

/* Nav links */
.main-nav {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  font-size: 0.93rem;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.main-nav a {
  text-decoration: none;
  color: #cbd5f5;
  padding: 0.2rem 0;
}

.main-nav a:hover {
  color: #f9fafb;
}

.btn-sm {
  padding: 0.5rem 0.95rem;
  border-radius: 999px;
  border: 1px solid rgba(148, 163, 184, 0.55);
  background: rgba(15, 23, 42, 0.7);
  box-shadow: 0 0 0 1px rgba(15, 23, 42, 0.8);
}

/* ---------- Hero ---------- */

.hero {
  padding: 2.4rem 0 3.2rem;
}

.hero-inner {
  display: flex;
  flex-direction: column;
  gap: 2.4rem;
}

.hero-copy .eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-size: 0.74rem;
  color: #a5b4fc;
  margin-bottom: 0.6rem;
}

.hero-copy h1 {
  font-size: 1.9rem;
  line-height: 1.25;
  margin-bottom: 1rem;
  color: #f9fafb;
}

.hero-lead {
  max-width: 36rem;
  color: #cbd5f5;
  font-size: 1.02rem;
  margin-bottom: 1.3rem;
}

.hero-actions {
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
  margin-bottom: 1.3rem;
}

/* Buttons */

.btn-primary,
.btn-ghost {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  padding: 0.85rem 1.2rem;
  font-size: 0.98rem;
  font-weight: 500;
  text-decoration: none;
  cursor: pointer;
  border: none;
}

.btn-primary {
  background: linear-gradient(135deg, #22c55e, #0ea5e9);
  color: #0b1120;
  box-shadow: 0 18px 35px rgba(16, 185, 129, 0.45);
}

.btn-ghost {
  border: 1px solid rgba(148, 163, 184, 0.7);
  color: #e5e7eb;
  background: rgba(15, 23, 42, 0.7);
}

/* Meta tags under CTAs */
.hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.hero-meta span {
  border-radius: 999px;
  border: 1px solid rgba(148, 163, 184, 0.4);
  padding: 0.4rem 0.7rem;
  font-size: 0.78rem;
  color: #cbd5f5;
  background: rgba(15, 23, 42, 0.7);
}

/* ---------- Hero visual / graphic ---------- */

.hero-visual {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.4rem;
}

.card-metric {
  background: rgba(15, 23, 42, 0.9);
  border-radius: 1.1rem;
  padding: 1rem 1.1rem;
  border: 1px solid rgba(148, 163, 184, 0.4);
  width: 100%;
  max-width: 360px;
}

.card-metric h3 {
  font-size: 1rem;
  margin-bottom: 0.25rem;
}

.card-metric p {
  font-size: 0.9rem;
  color: #cbd5f5;
}

/* circular graphic */
.hero-graphic {
  position: relative;
  width: 260px;
  height: 260px;
  border-radius: 999px;
  background:
    radial-gradient(circle at 20% 0%, rgba(56, 189, 248, 0.9), transparent 60%),
    radial-gradient(circle at 80% 100%, rgba(34, 197, 94, 0.9), transparent 60%),
    #020617;
  border: 1px solid rgba(148, 163, 184, 0.35);
  box-shadow: 0 20px 45px rgba(15, 23, 42, 0.9);
  overflow: hidden;
}

/* glow blobs */
.bubble {
  position: absolute;
  border-radius: 999px;
  filter: blur(14px);
  opacity: 0.8;
}

.bubble-1 {
  width: 120px;
  height: 120px;
  top: 18%;
  left: 10%;
  background: rgba(125, 211, 252, 0.95);
}

.bubble-2 {
  width: 90px;
  height: 90px;
  top: 8%;
  right: 8%;
  background: rgba(45, 212, 191, 0.95);
}

.bubble-3 {
  width: 140px;
  height: 140px;
  bottom: -10%;
  left: 20%;
  background: rgba(34, 197, 94, 0.95);
}

.bubble-4 {
  width: 80px;
  height: 80px;
  bottom: 14%;
  right: 18%;
  background: rgba(59, 130, 246, 0.95);
}

/* patient card overlay */
.profile-card {
  position: absolute;
  left: 14px;
  right: 14px;
  bottom: 14px;
  padding: 0.55rem 0.7rem;
  border-radius: 0.9rem;
  background: rgba(15, 23, 42, 0.95);
  border: 1px solid rgba(148, 163, 184, 0.7);
  display: flex;
  align-items: center;
  gap: 0.6rem;
  backdrop-filter: blur(12px);
}

.avatar {
  width: 30px;
  height: 30px;
  border-radius: 999px;
  background: linear-gradient(135deg, #22c55e, #0ea5e9);
  box-shadow: 0 0 12px rgba(59, 130, 246, 0.9);
}

.profile-text {
  display: flex;
  flex-direction: column;
}

.profile-label {
  font-size: 0.8rem;
  font-weight: 600;
}

.profile-detail {
  font-size: 0.7rem;
  color: #cbd5f5;
}

/* ---------- Generic sections ---------- */

.section {
  padding: 2.4rem 0;
}

.section.alt {
  background: radial-gradient(circle at 0 0, #022c22 0, #020617 55%);
}

.section-title {
  font-size: 1.4rem;
  margin-bottom: 1.6rem;
  color: #f9fafb;
}

/* Split layout (text + side panel) */

.split-inner {
  display: flex;
  flex-direction: column;
  gap: 1.8rem;
}

.split-copy h2 {
  font-size: 1.4rem;
  margin-bottom: 0.7rem;
}

.split-copy p {
  color: #cbd5f5;
}

/* Check-list bullets */
.check-list {
  list-style: none;
  margin-top: 0.7rem;
}

.check-list li {
  position: relative;
  padding-left: 1.5rem;
  margin-bottom: 0.45rem;
  font-size: 0.95rem;
}

.check-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 0;
  color: #22c55e;
}

/* Right panel card */
.split-panel {
  border-radius: 1.1rem;
  border: 1px solid rgba(148, 163, 184, 0.35);
  background: rgba(15, 23, 42, 0.9);
  padding: 1.4rem 1.3rem;
}

.split-panel.card {
  background: rgba(15, 23, 42, 0.98);
}

/* Pills */
.pill-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  margin: 0.8rem 0 1rem;
}

.pill-list span {
  padding: 0.4rem 0.7rem;
  border-radius: 999px;
  background: rgba(15, 23, 42, 0.9);
  border: 1px solid rgba(129, 140, 248, 0.7);
  font-size: 0.8rem;
}

/* Sub-note */
.sub-note {
  font-size: 0.8rem;
  color: #9ca3af;
}

/* Ordered steps */
.steps {
  margin-left: 1.1rem;
  margin-bottom: 0.8rem;
}

.steps li {
  margin-bottom: 0.4rem;
  font-size: 0.95rem;
}

/* Feature cards (Why section) */
.grid-3 {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.3rem;
}

.feature-card {
  border-radius: 1.1rem;
  border: 1px solid rgba(148, 163, 184, 0.35);
  padding: 1.2rem 1.3rem;
  background: rgba(15, 23, 42, 0.95);
}

.feature-card h3 {
  font-size: 1.05rem;
  margin-bottom: 0.4rem;
}

/* ---------- Contact section ---------- */

.contact-inner {
  display: flex;
  flex-direction: column;
  gap: 1.8rem;
}

.contact-copy h2 {
  font-size: 1.4rem;
  margin-bottom: 0.6rem;
}

.contact-meta {
  font-size: 0.9rem;
}

.contact-meta a {
  color: #e5e7eb;
}

/* Form */
.contact-form {
  border-radius: 1.1rem;
  border: 1px solid rgba(148, 163, 184, 0.35);
  background: rgba(15, 23, 42, 0.97);
  padding: 1.5rem 1.4rem;
}

.field-group {
  margin-bottom: 0.9rem;
}

.field-group label {
  display: block;
  font-size: 0.85rem;
  margin-bottom: 0.25rem;
  color: #cbd5f5;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  border-radius: 0.9rem;
  border: 1px solid rgba(148, 163, 184, 0.5);
  background: rgba(15, 23, 42, 0.85);
  padding: 0.75rem 0.85rem;
  color: #e2e8f0;
  font-size: 0.95rem;
}

.contact-form textarea {
  min-height: 120px;
  resize: vertical;
}

/* submit button */
.full-width {
  width: 100%;
}

.contact-form .btn-primary {
  margin-top: 0.2rem;
}

.form-note {
  margin-top: 0.7rem;
  font-size: 0.78rem;
  color: #9ca3af;
}

/* ---------- Footer ---------- */

.site-footer {
  border-top: 1px solid rgba(30, 64, 175, 0.6);
  background: radial-gradient(circle at 100% 0, #0f172a, #020617 70%);
  padding: 1.8rem 0 2.2rem;
  margin-top: 2.4rem;
}

.footer-inner {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 1.4rem;
}

.site-footer p {
  margin-bottom: 0.4rem;
  font-size: 0.82rem;
  color: #94a3b8;
}

.footer-small {
  font-size: 0.78rem;
  color: #6b7280;
}

/* ---------- Media queries ---------- */

@media (min-width: 720px) {
  .hero-inner {
    flex-direction: row;
    align-items: center;
    gap: 2.6rem;
  }

  .hero-copy {
    flex: 1.2;
  }

  .hero-visual {
    flex: 1;
  }

  .hero-graphic {
    width: 300px;
    height: 300px;
  }

  .hero-actions {
    flex-direction: row;
    align-items: center;
    justify-content: flex-start;
  }

  .btn-primary,
  .btn-ghost {
    width: auto;
  }

  .split-inner,
  .contact-inner {
    flex-direction: row;
    align-items: flex-start;
  }

  .split-copy,
  .contact-copy {
    flex: 1.3;
  }

  .split-panel,
  .contact-form {
    flex: 1;
  }

  .grid-3 {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}
