/* ══════════════════════════════════════
   MEDLITICS v2 – Premium Dark Stylesheet
   Fonts: Syne (display) + Outfit (body)
   Palette: Deep ink + Sky Blue + Red
   ══════════════════════════════════════ */

@import url('https://fonts.googleapis.com/css2?family=Syne:wght@400;500;600;700;800&family=Outfit:wght@300;400;500;600&display=swap');

/* ── RESET ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

/* ── VARIABLES ── */
:root {
  --blue:        #1AACE5;
  --blue-bright: #2EC4F0;
  --blue-dim:    #0E86BB;
  --blue-deep:   #0A6A96;

  --red:         #E53935;
  --red-bright:  #FF5252;

  --ink:         #080D14;
  --ink2:        #0D1520;
  --surface:     #111923;
  --surface2:    #162030;
  --surface3:    #1D2A3A;

  --line:        rgba(255,255,255,0.07);
  --line2:       rgba(255,255,255,0.12);

  --txt:         #F0F4FA;
  --txt2:        #8A9BB0;
  --txt3:        #5A6B7E;

  --font-d: 'Syne', sans-serif;
  --font-b: 'Outfit', sans-serif;

  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-b);
  background: var(--ink);
  color: var(--txt);
  font-size: 16px;
  line-height: 1.7;
  overflow-x: hidden;
  cursor: none;
}

img { max-width: 100%; display: block; }
a { color: inherit; }

/* ── CUSTOM CURSOR ── */
#cursor {
  position: fixed; width: 10px; height: 10px;
  background: var(--blue); border-radius: 50%;
  pointer-events: none; z-index: 9999;
  transform: translate(-50%, -50%);
  transition: transform 0.08s, width 0.2s, height 0.2s;
  mix-blend-mode: screen;
}

#cursor-ring {
  position: fixed; width: 36px; height: 36px;
  border: 1px solid rgba(26, 172, 229, 0.4);
  border-radius: 50%; pointer-events: none; z-index: 9998;
  transform: translate(-50%, -50%);
  transition: width 0.25s, height 0.25s, border-color 0.25s;
}

/* ── NAV ── */
nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 500;
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 5%; height: 72px;
  border-bottom: 1px solid transparent;
  transition: background 0.3s, border-color 0.3s, backdrop-filter 0.3s;
}

nav.solid {
  background: rgba(8, 13, 20, 0.92);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-color: var(--line);
}

.logo {
  display: flex; align-items: center; gap: 10px;
  text-decoration: none;
}

.logo-mark { width: 36px; height: 36px; flex-shrink: 0; }
.logo-mark svg { width: 36px; height: 36px; }

.logo-wordmark {
  font-family: var(--font-d);
  font-size: 1.35rem; font-weight: 800;
  color: var(--txt); letter-spacing: -0.02em;
}

.logo-wordmark em { font-style: normal; color: var(--blue); }

/* Hamburger */
.hamburger {
  display: none; flex-direction: column; gap: 5px;
  background: none; border: none; cursor: pointer; padding: 4px;
}
.hamburger span {
  display: block; width: 24px; height: 2px;
  background: var(--txt2); border-radius: 2px;
  transition: transform 0.2s, opacity 0.2s;
}
.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.nav-links {
  display: flex; align-items: center;
  gap: 2.5rem; list-style: none;
}

.nav-links a {
  font-size: 0.83rem; font-weight: 500;
  color: var(--txt2); text-decoration: none;
  letter-spacing: 0.02em;
  transition: color 0.2s;
}

.nav-links a:hover { color: var(--txt); }

.nav-pill {
  background: var(--blue) !important;
  color: #fff !important;
  padding: 0.55rem 1.4rem;
  border-radius: 100px;
  font-weight: 600 !important;
  font-size: 0.82rem !important;
  transition: background 0.2s !important;
}
.nav-pill:hover { background: var(--blue-bright) !important; color: #fff !important; }

/* ── BUTTONS ── */
.btn-glow {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--blue); color: #fff; border: none;
  padding: 1rem 2rem; border-radius: 100px;
  font-family: var(--font-b); font-size: 0.95rem; font-weight: 600;
  text-decoration: none; cursor: none; position: relative; overflow: hidden;
  transition: transform 0.2s, box-shadow 0.2s;
}
.btn-glow::before {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(135deg, rgba(255,255,255,0.15), transparent);
  opacity: 0; transition: opacity 0.2s;
}
.btn-glow:hover { transform: translateY(-2px); box-shadow: 0 0 40px rgba(26,172,229,0.45); }
.btn-glow:hover::before { opacity: 1; }

.btn-ghost {
  display: inline-flex; align-items: center; gap: 8px;
  background: transparent; color: var(--txt2);
  border: 1px solid var(--line2);
  padding: 1rem 2rem; border-radius: 100px;
  font-family: var(--font-b); font-size: 0.95rem; font-weight: 500;
  text-decoration: none; cursor: none;
  transition: color 0.2s, border-color 0.2s, transform 0.2s;
}
.btn-ghost:hover { color: var(--txt); border-color: rgba(255,255,255,0.3); transform: translateY(-2px); }

.btn-arrow { display: inline-flex; align-items: center; justify-content: center; transition: transform 0.2s; }
.btn-glow:hover .btn-arrow,
.btn-ghost:hover .btn-arrow { transform: translate(3px, -2px); }

/* ── HERO ── */
.hero {
  min-height: 100vh; padding: 90px 5% 60px;
  display: grid; grid-template-columns: 1fr 1fr;
  align-items: center; gap: 4rem;
  position: relative; overflow: hidden;
}

.hero-mesh { position: absolute; inset: 0; pointer-events: none; overflow: hidden; }

.mesh-blob {
  position: absolute; border-radius: 50%;
  filter: blur(80px); opacity: 0.18;
}
.mesh-blob.b1 { width: 600px; height: 600px; background: var(--blue); top: -200px; right: -100px; animation: drift1 14s ease-in-out infinite; }
.mesh-blob.b2 { width: 400px; height: 400px; background: var(--red); bottom: -100px; left: 5%; animation: drift2 18s ease-in-out infinite; }
.mesh-blob.b3 { width: 300px; height: 300px; background: #1D9E75; top: 40%; left: 40%; animation: drift3 22s ease-in-out infinite; opacity: 0.1; }

@keyframes drift1 { 0%,100%{transform:translate(0,0) scale(1)} 50%{transform:translate(-40px,30px) scale(1.05)} }
@keyframes drift2 { 0%,100%{transform:translate(0,0) scale(1)} 50%{transform:translate(30px,-40px) scale(1.08)} }
@keyframes drift3 { 0%,100%{transform:translate(0,0)} 50%{transform:translate(-20px,20px)} }

.hero-grid {
  position: absolute; inset: 0;
  background-image: linear-gradient(var(--line) 1px, transparent 1px), linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse 80% 80% at 50% 50%, black 30%, transparent 100%);
  pointer-events: none;
}

.hero-left { position: relative; z-index: 2; padding-right: 2rem; }

.hero-eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(26,172,229,0.1); border: 1px solid rgba(26,172,229,0.25);
  color: var(--blue-bright);
  font-size: 0.72rem; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase;
  padding: 6px 14px; border-radius: 100px; margin-bottom: 1.75rem;
}

.eyebrow-dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--blue); animation: pulse 2s infinite;
}

@keyframes pulse { 0%,100%{opacity:1;transform:scale(1)} 50%{opacity:0.5;transform:scale(0.7)} }

.hero h1 {
  font-family: var(--font-d);
  font-size: clamp(3rem, 5.5vw, 5rem);
  font-weight: 800; line-height: 1.05;
  letter-spacing: -0.04em; color: var(--txt);
  margin-bottom: 1.5rem;
}

.hero h1 .line-blue { color: var(--blue); }

.hero-desc {
  font-size: 1.05rem; color: var(--txt2);
  font-weight: 300; line-height: 1.85;
  max-width: 460px; margin-bottom: 2.5rem;
}

.hero-ctas { display: flex; gap: 1rem; flex-wrap: wrap; margin-bottom: 3rem; }

.hero-trust { display: flex; align-items: center; gap: 1.5rem; }

.trust-avatars { display: flex; }

.trust-av {
  width: 32px; height: 32px; border-radius: 50%;
  border: 2px solid var(--ink);
  font-size: 0.65rem; font-weight: 700;
  display: flex; align-items: center; justify-content: center;
  margin-left: -8px;
}
.trust-av:first-child { margin-left: 0; }
.trust-av.c1 { background: linear-gradient(135deg, #1AACE5, #0A6A96); color: #fff; }
.trust-av.c2 { background: linear-gradient(135deg, #E53935, #922B21); color: #fff; }
.trust-av.c3 { background: linear-gradient(135deg, #1D9E75, #085041); color: #fff; }
.trust-av.c4 { background: linear-gradient(135deg, #8B5CF6, #4C1D95); color: #fff; }

.trust-txt { font-size: 0.8rem; color: var(--txt2); font-weight: 400; line-height: 1.4; }
.trust-txt strong { color: var(--txt); font-weight: 600; }

/* Hero Card */
.hero-right { position: relative; z-index: 2; display: flex; justify-content: center; align-items: center; }

.health-card {
  background: var(--surface); border: 1px solid var(--line2);
  border-radius: 24px; padding: 1.75rem;
  width: 100%; max-width: 360px;
  position: relative;
  box-shadow: 0 40px 80px rgba(0,0,0,0.5), 0 0 0 1px var(--line);
}
.health-card::before {
  content: ''; position: absolute; inset: -1px; border-radius: 25px;
  background: linear-gradient(135deg, rgba(26,172,229,0.2), transparent 50%, rgba(229,57,53,0.1));
  pointer-events: none; z-index: -1;
}

.f-chip {
  position: absolute; background: var(--surface); border: 1px solid var(--line2);
  border-radius: 100px; padding: 0.45rem 0.875rem;
  font-size: 0.7rem; font-weight: 500; color: var(--txt2);
  display: flex; align-items: center; gap: 6px;
  box-shadow: 0 8px 24px rgba(0,0,0,0.4);
  white-space: nowrap; z-index: 3;
}
.f-chip-dot { width: 6px; height: 6px; border-radius: 50%; }
.fc1 { top: -16px; right: -16px; animation: floatA 4s ease-in-out infinite; }
.fc2 { bottom: -16px; left: -24px; animation: floatB 5s ease-in-out infinite; }
@keyframes floatA { 0%,100%{transform:translateY(0)} 50%{transform:translateY(-6px)} }
@keyframes floatB { 0%,100%{transform:translateY(0)} 50%{transform:translateY(5px)} }

.card-top { display: flex; justify-content: space-between; align-items: flex-start; margin-bottom: 1.5rem; }
.card-user { display: flex; align-items: center; gap: 10px; }
.card-avatar {
  width: 40px; height: 40px; border-radius: 50%;
  background: linear-gradient(135deg, var(--blue), var(--blue-dim));
  display: flex; align-items: center; justify-content: center;
  font-size: 0.75rem; font-weight: 700; color: #fff;
  border: 2px solid rgba(26,172,229,0.3);
}
.card-uname { font-family: var(--font-d); font-size: 0.95rem; font-weight: 700; color: var(--txt); }
.card-usub { font-size: 0.68rem; color: var(--txt3); font-weight: 400; }
.card-live { display: flex; align-items: center; gap: 5px; font-size: 0.68rem; font-weight: 600; color: #4ADE80; letter-spacing: 0.04em; }
.live-dot { width: 6px; height: 6px; border-radius: 50%; background: #4ADE80; animation: pulse 1.5s infinite; }

.vitals-row { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-bottom: 1.25rem; }
.vital-tile {
  background: var(--surface2); border-radius: 14px;
  padding: 0.875rem 1rem; border: 1px solid var(--line);
  position: relative; overflow: hidden;
}
.vital-tile::after { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 2px; border-radius: 2px 2px 0 0; }
.vital-tile.ok::after   { background: linear-gradient(90deg, var(--blue), var(--blue-bright)); }
.vital-tile.warn::after { background: linear-gradient(90deg, var(--red), var(--red-bright)); }
.vital-tile.good::after { background: linear-gradient(90deg, #4ADE80, #22C55E); }

.vt-label { font-size: 0.62rem; color: var(--txt3); letter-spacing: 0.08em; text-transform: uppercase; margin-bottom: 4px; }
.vt-val { font-family: var(--font-d); font-size: 1.4rem; font-weight: 700; color: var(--txt); line-height: 1; }
.vt-unit { font-size: 0.62rem; color: var(--txt3); font-family: var(--font-b); }
.vt-badge { font-size: 0.6rem; font-weight: 600; padding: 2px 7px; border-radius: 100px; margin-top: 5px; display: inline-block; }
.badge-ok   { background: rgba(26,172,229,0.12); color: var(--blue-bright); }
.badge-warn { background: rgba(229,57,53,0.12); color: #FF8A80; }
.badge-good { background: rgba(74,222,128,0.12); color: #4ADE80; }

.chart-area { margin-bottom: 1.25rem; }
.chart-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 8px; }
.chart-lbl { font-size: 0.7rem; color: var(--txt3); }
.chart-val { font-size: 0.7rem; color: var(--blue); font-weight: 600; }
.mini-chart { height: 52px; display: flex; align-items: flex-end; gap: 4px; }
.m-bar { flex: 1; border-radius: 3px 3px 0 0; background: var(--surface3); transition: height 0.6s var(--ease); }
.m-bar.active { background: linear-gradient(to top, var(--blue-dim), var(--blue)); }

.alert-chip {
  background: rgba(229,57,53,0.08); border: 1px solid rgba(229,57,53,0.2);
  border-radius: 12px; padding: 0.75rem 1rem;
  display: flex; align-items: center; gap: 10px; margin-bottom: 1.25rem;
}
.alert-icon {
  width: 28px; height: 28px; border-radius: 8px;
  background: rgba(229,57,53,0.15);
  display: flex; align-items: center; justify-content: center; flex-shrink: 0;
}
.alert-icon svg { width: 14px; height: 14px; }
.alert-body { flex: 1; }
.alert-title { font-size: 0.75rem; font-weight: 600; color: #FF8A80; }
.alert-sub { font-size: 0.67rem; color: var(--txt3); font-weight: 300; }
.alert-time { font-size: 0.62rem; color: var(--txt3); flex-shrink: 0; }

.doctor-chip {
  display: flex; align-items: center; gap: 10px;
  background: var(--surface2); border: 1px solid var(--line);
  border-radius: 100px; padding: 0.5rem 0.875rem 0.5rem 0.5rem;
}
.doc-av {
  width: 28px; height: 28px; border-radius: 50%;
  background: linear-gradient(135deg, #1D9E75, #085041);
  display: flex; align-items: center; justify-content: center;
  font-size: 0.6rem; font-weight: 700; color: #fff;
}
.doc-info { flex: 1; }
.doc-name { font-size: 0.72rem; font-weight: 600; color: var(--txt); }
.doc-role { font-size: 0.62rem; color: var(--txt3); }
.doc-status { font-size: 0.62rem; font-weight: 600; color: #4ADE80; background: rgba(74,222,128,0.1); padding: 2px 8px; border-radius: 100px; }

/* ── STATS BAR ── */
.stats-bar {
  background: var(--surface); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line);
  padding: 2rem 5%; display: grid; grid-template-columns: repeat(4, 1fr); gap: 0;
}
.stat-item { text-align: center; padding: 0 2rem; border-right: 1px solid var(--line); }
.stat-item:last-child { border-right: none; }
.stat-number { font-family: var(--font-d); font-size: 2.2rem; font-weight: 800; color: var(--txt); line-height: 1; letter-spacing: -0.03em; }
.stat-accent { color: var(--blue); }
.stat-desc { font-size: 0.78rem; color: var(--txt3); font-weight: 400; margin-top: 4px; }

/* ── SECTION COMMON ── */
.section { padding: 120px 5%; }

.section-pill {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(26,172,229,0.08); border: 1px solid rgba(26,172,229,0.2);
  color: var(--blue); font-size: 0.7rem; font-weight: 600;
  letter-spacing: 0.1em; text-transform: uppercase;
  padding: 5px 14px; border-radius: 100px; margin-bottom: 1.25rem;
}
.pill-line { width: 16px; height: 1px; background: var(--blue); display: inline-block; }

.s-title {
  font-family: var(--font-d);
  font-size: clamp(2.2rem, 4vw, 3.5rem);
  font-weight: 800; letter-spacing: -0.03em;
  line-height: 1.1; color: var(--txt); margin-bottom: 1.25rem;
}
.s-title .bl { color: var(--blue); }

.s-body { font-size: 1rem; color: var(--txt2); font-weight: 300; line-height: 1.85; max-width: 520px; }

.s-head-center { text-align: center; margin-bottom: 5rem; }
.s-head-center .s-body { margin: 0 auto; }

/* ── HOW IT WORKS ── */
.how-section { background: var(--ink2); }

.how-grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 0;
  border: 1px solid var(--line); border-radius: 20px; overflow: hidden;
}

.how-step {
  padding: 2.5rem 2rem; border-right: 1px solid var(--line);
  position: relative; transition: background 0.3s;
}
.how-step:last-child { border-right: none; }
.how-step:hover { background: var(--surface); }

.step-n {
  font-family: var(--font-d); font-size: 3rem; font-weight: 800;
  color: var(--line2); line-height: 1; margin-bottom: 1rem;
  transition: color 0.3s;
}
.how-step:hover .step-n { color: var(--blue); opacity: 0.4; }

.step-icon {
  width: 44px; height: 44px;
  background: rgba(26,172,229,0.1); border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 1.25rem; border: 1px solid rgba(26,172,229,0.2);
}
.step-icon svg { width: 20px; height: 20px; }

.how-step h3 { font-family: var(--font-d); font-size: 1rem; font-weight: 700; color: var(--txt); margin-bottom: 0.625rem; line-height: 1.3; }
.how-step p { font-size: 0.84rem; color: var(--txt3); font-weight: 300; line-height: 1.75; }

/* ── FEATURES ── */
.features-section { background: var(--ink); }

.feat-layout { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; }

.feat-card {
  background: var(--surface); border: 1px solid var(--line);
  border-radius: 20px; padding: 2rem;
  position: relative; overflow: hidden;
  transition: border-color 0.3s, transform 0.3s;
}
.feat-card::before {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(135deg, rgba(26,172,229,0.04), transparent);
  opacity: 0; transition: opacity 0.3s;
}
.feat-card:hover { border-color: rgba(26,172,229,0.3); transform: translateY(-3px); }
.feat-card:hover::before { opacity: 1; }
.feat-card.wide { grid-column: 1 / -1; }
.feat-card.wide .feat-inner { display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; align-items: center; }

.feat-card-icon {
  width: 52px; height: 52px; border-radius: 14px;
  background: rgba(26,172,229,0.08); border: 1px solid rgba(26,172,229,0.15);
  display: flex; align-items: center; justify-content: center; margin-bottom: 1.25rem;
}
.feat-card-icon svg { width: 24px; height: 24px; }
.feat-card-icon.red { background: rgba(229,57,53,0.08); border-color: rgba(229,57,53,0.15); }

.feat-card h3 { font-family: var(--font-d); font-size: 1.1rem; font-weight: 700; color: var(--txt); margin-bottom: 0.625rem; line-height: 1.3; }
.feat-card p { font-size: 0.875rem; color: var(--txt3); font-weight: 300; line-height: 1.8; }

.feat-tag {
  display: inline-flex; align-items: center; gap: 5px;
  margin-top: 1rem; font-size: 0.68rem; font-weight: 600; letter-spacing: 0.05em;
  color: var(--blue); background: rgba(26,172,229,0.1); padding: 4px 10px; border-radius: 100px;
}
.feat-tag.red { color: var(--red-bright); background: rgba(229,57,53,0.1); }

/* Device logos */
.device-logos { display: flex; flex-direction: column; gap: 10px; }
.d-logo-row {
  display: flex; align-items: center; gap: 10px;
  background: var(--surface2); border: 1px solid var(--line);
  border-radius: 12px; padding: 0.75rem 1rem;
}
.d-logo-icon {
  width: 32px; height: 32px; border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  font-size: 0.7rem; font-weight: 700; flex-shrink: 0;
}
.d-logo-name { font-size: 0.82rem; font-weight: 500; color: var(--txt2); flex: 1; }
.d-logo-status { font-size: 0.65rem; font-weight: 600; color: #4ADE80; background: rgba(74,222,128,0.1); padding: 2px 8px; border-radius: 100px; }

/* ── FOR DOCTORS ── */
.doctors-section { background: var(--ink2); padding: 120px 5%; }

.doctors-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 6rem; align-items: center; }

.perks2 { display: flex; flex-direction: column; gap: 0.875rem; margin-top: 2rem; }
.perk2 { display: flex; align-items: flex-start; gap: 12px; }
.perk2-icon {
  width: 24px; height: 24px; border-radius: 8px;
  background: rgba(26,172,229,0.1); border: 1px solid rgba(26,172,229,0.2);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0; margin-top: 1px;
}
.perk2-icon svg { width: 11px; height: 11px; }
.perk2 span { font-size: 0.875rem; color: var(--txt2); font-weight: 300; line-height: 1.65; }

.doc-panel {
  background: var(--surface); border: 1px solid var(--line2);
  border-radius: 24px; padding: 1.75rem;
  position: relative; overflow: hidden;
}
.doc-panel::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 3px;
  background: linear-gradient(90deg, var(--blue), var(--blue-bright), transparent);
}

.dp-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 1.5rem; }
.dp-title { font-family: var(--font-d); font-size: 0.9rem; font-weight: 700; color: var(--txt); }
.dp-date { font-size: 0.7rem; color: var(--txt3); }

.p-list { display: flex; flex-direction: column; gap: 2px; margin-bottom: 1.25rem; }
.p-row2 {
  display: flex; align-items: center; gap: 10px;
  padding: 0.75rem 0.875rem; border-radius: 12px;
  transition: background 0.2s; cursor: none;
}
.p-row2:hover { background: var(--surface2); }

.p-av2 {
  width: 34px; height: 34px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 0.68rem; font-weight: 700; color: #fff; flex-shrink: 0;
}
.p-av2.a1 { background: linear-gradient(135deg, var(--blue), var(--blue-dim)); }
.p-av2.a2 { background: linear-gradient(135deg, #8B5CF6, #4C1D95); }
.p-av2.a3 { background: linear-gradient(135deg, #F59E0B, #92400E); }
.p-av2.a4 { background: linear-gradient(135deg, #10B981, #064E3B); }

.p-inf { flex: 1; min-width: 0; }
.p-nm { font-size: 0.82rem; font-weight: 600; color: var(--txt); line-height: 1.2; }
.p-dt { font-size: 0.68rem; color: var(--txt3); font-weight: 300; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

.ps2 { font-size: 0.63rem; font-weight: 700; padding: 3px 9px; border-radius: 100px; flex-shrink: 0; letter-spacing: 0.03em; }
.ps2.st { background: rgba(74,222,128,0.1); color: #4ADE80; }
.ps2.al { background: rgba(229,57,53,0.12); color: #FF8A80; }
.ps2.rv { background: rgba(251,191,36,0.1); color: #FCD34D; }

.doc-metrics { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.dm {
  background: var(--surface2); border-radius: 12px;
  padding: 0.875rem; text-align: center; border: 1px solid var(--line);
}
.dm-n { font-family: var(--font-d); font-size: 1.5rem; font-weight: 800; color: var(--txt); line-height: 1; }
.dm-l { font-size: 0.63rem; color: var(--txt3); margin-top: 3px; }

/* ── TESTIMONIALS ── */
.testi-section { background: var(--ink); padding: 120px 5%; }

.testi-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }

.testi-card {
  background: var(--surface); border: 1px solid var(--line);
  border-radius: 20px; padding: 2rem;
  transition: border-color 0.3s, transform 0.3s;
}
.testi-card:hover { border-color: var(--line2); transform: translateY(-3px); }
.testi-card.featured { border-color: rgba(26,172,229,0.25); background: linear-gradient(135deg, rgba(26,172,229,0.05), var(--surface)); }

.quote-icon { font-family: Georgia, serif; font-size: 3rem; color: var(--blue); line-height: 0.5; margin-bottom: 1.25rem; opacity: 0.6; }
.testi-card blockquote { font-size: 0.92rem; color: var(--txt2); font-weight: 300; line-height: 1.8; font-style: italic; margin-bottom: 1.5rem; }
.testi-foot { display: flex; align-items: center; gap: 10px; }

.t-av2 {
  width: 38px; height: 38px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 0.72rem; font-weight: 700; color: #fff; flex-shrink: 0;
}
.t-av2.ta1 { background: linear-gradient(135deg, var(--blue), var(--blue-dim)); }
.t-av2.ta2 { background: linear-gradient(135deg, #1D9E75, #085041); }
.t-av2.ta3 { background: linear-gradient(135deg, #8B5CF6, #4C1D95); }

.t-nm { font-size: 0.82rem; font-weight: 600; color: var(--txt); }
.t-rl { font-size: 0.7rem; color: var(--txt3); font-weight: 300; }
.star-row { display: flex; gap: 2px; margin-bottom: 1rem; }
.star2 { font-size: 0.85rem; color: #F59E0B; letter-spacing: 1px; }

/* ── INSURANCE ── */
.ins-section {
  background: var(--surface); padding: 100px 5%;
  border-top: 1px solid var(--line); border-bottom: 1px solid var(--line);
}
.ins-logos2 { display: flex; flex-wrap: wrap; justify-content: center; gap: 1rem; margin-top: 3.5rem; }
.ins-tile {
  background: var(--ink2); border: 1px solid var(--line); border-radius: 14px;
  padding: 1rem 1.75rem; min-width: 150px; height: 64px;
  display: flex; align-items: center; justify-content: center;
  transition: border-color 0.2s, transform 0.2s;
}
.ins-tile:hover { border-color: rgba(26,172,229,0.3); transform: translateY(-2px); }
.ins-tile span { font-family: var(--font-d); font-size: 0.82rem; font-weight: 700; color: var(--txt3); letter-spacing: 0.02em; transition: color 0.2s; }
.ins-tile:hover span { color: var(--txt2); }
.ins-note2 { margin-top: 2rem; text-align: center; font-size: 0.82rem; color: var(--txt3); font-weight: 300; }
.ins-note2 a { color: var(--blue); text-decoration: none; }
.ins-note2 a:hover { text-decoration: underline; }

/* ── CTA ── */
.cta-section { padding: 120px 5%; position: relative; overflow: hidden; text-align: center; }
.cta-bg { position: absolute; inset: 0; background: radial-gradient(ellipse 70% 70% at 50% 50%, rgba(26,172,229,0.08) 0%, transparent 70%); pointer-events: none; }
.cta-line { width: 1px; height: 80px; background: linear-gradient(to bottom, transparent, var(--blue), transparent); margin: 0 auto 3rem; }
.cta-h { font-family: var(--font-d); font-size: clamp(2.5rem, 5vw, 4.5rem); font-weight: 800; letter-spacing: -0.04em; line-height: 1.05; color: var(--txt); margin-bottom: 1.25rem; }
.cta-grad { background: linear-gradient(135deg, var(--blue), var(--blue-bright)); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }
.cta-p { font-size: 1rem; color: var(--txt2); font-weight: 300; line-height: 1.85; max-width: 480px; margin: 0 auto 3rem; }

.cta-form2 {
  display: flex; gap: 0; max-width: 480px; margin: 0 auto 1rem;
  background: var(--surface); border: 1px solid var(--line2);
  border-radius: 100px; overflow: hidden; padding: 6px;
}
.cta-select {
  flex: 0 0 auto; background: transparent; border: none;
  color: var(--txt2); font-family: var(--font-b); font-size: 0.83rem;
  padding: 0 1rem; outline: none; cursor: none; appearance: none; width: 160px;
}
.cta-select option { background: var(--surface2); color: var(--txt); }
.cta-divider { width: 1px; background: var(--line2); margin: 0.25rem 0; flex-shrink: 0; }
.cta-email {
  flex: 1; background: transparent; border: none; color: var(--txt);
  font-family: var(--font-b); font-size: 0.9rem; padding: 0.5rem 1rem; outline: none;
}
.cta-email::placeholder { color: var(--txt3); }
.cta-submit {
  background: var(--blue); color: #fff; border: none;
  padding: 0.7rem 1.5rem; border-radius: 100px;
  font-family: var(--font-b); font-size: 0.85rem; font-weight: 600;
  cursor: none; white-space: nowrap;
  transition: background 0.2s;
}
.cta-submit:hover { background: var(--blue-bright); }
.cta-terms2 { font-size: 0.72rem; color: var(--txt3); }

.success-badge {
  background: rgba(74,222,128,0.1); border: 1px solid rgba(74,222,128,0.2);
  color: #4ADE80; padding: 0.875rem 2rem; border-radius: 100px;
  font-size: 0.9rem; font-weight: 500; display: inline-block;
}

/* ── FOOTER ── */
footer { background: var(--ink2); border-top: 1px solid var(--line); padding: 64px 5% 36px; }

.foot2 { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 3rem; margin-bottom: 3rem; }

.fb-desc { font-size: 0.83rem; color: var(--txt3); font-weight: 300; line-height: 1.8; max-width: 220px; margin: 0.875rem 0 1.25rem; }

.foot-socials { display: flex; gap: 8px; }
.fsoc {
  width: 34px; height: 34px; border-radius: 50%;
  background: var(--surface); border: 1px solid var(--line);
  display: flex; align-items: center; justify-content: center;
  text-decoration: none; color: var(--txt3);
  transition: border-color 0.2s, color 0.2s, background 0.2s;
}
.fsoc:hover { border-color: var(--blue); color: var(--blue); background: rgba(26,172,229,0.08); }
.fsoc svg { width: 14px; height: 14px; }

.fc-head { font-size: 0.7rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--txt3); margin-bottom: 1.25rem; }
.fc-list { list-style: none; display: flex; flex-direction: column; gap: 0.625rem; }
.fc-list a { font-size: 0.83rem; color: var(--txt3); text-decoration: none; font-weight: 300; transition: color 0.2s; }
.fc-list a:hover { color: var(--blue); }

.foot-bottom2 {
  border-top: 1px solid var(--line); padding-top: 1.5rem;
  display: flex; justify-content: space-between; align-items: center;
  flex-wrap: wrap; gap: 0.875rem;
}
.foot-bottom2 p { font-size: 0.73rem; color: var(--txt3); font-weight: 300; }
.foot-bottom2 a { color: var(--txt3); text-decoration: none; transition: color 0.2s; }
.foot-bottom2 a:hover { color: var(--blue); }

/* ── REVEAL ── */
.reveal {
  opacity: 0; transform: translateY(32px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}
.reveal.in { opacity: 1; transform: none; }

/* ── RESPONSIVE ── */
@media (max-width: 1024px) {
  .hero { grid-template-columns: 1fr; min-height: auto; padding: 120px 5% 60px; }
  .hero-right { display: none; }
  .how-grid { grid-template-columns: 1fr 1fr; }
  .how-step { border-bottom: 1px solid var(--line); }
  .how-step:nth-child(even) { border-right: none; }
  .feat-layout { grid-template-columns: 1fr; }
  .feat-card.wide .feat-inner { grid-template-columns: 1fr; }
  .doctors-grid { grid-template-columns: 1fr; gap: 3rem; }
  .testi-grid { grid-template-columns: 1fr 1fr; }
  .foot2 { grid-template-columns: 1fr 1fr; }
  .stats-bar { grid-template-columns: 1fr 1fr; }
  .stat-item:nth-child(2) { border-right: none; }
  .stat-item:nth-child(3) { border-top: 1px solid var(--line); }
  .stat-item:nth-child(4) { border-top: 1px solid var(--line); border-right: none; }
}

@media (max-width: 768px) {
  .hamburger { display: flex; }
  .nav-links {
    display: none; position: absolute; top: 72px; left: 0; right: 0;
    background: var(--ink2); flex-direction: column;
    align-items: flex-start; gap: 0;
    border-bottom: 1px solid var(--line); padding: 0.5rem 0 1rem;
  }
  .nav-links.open { display: flex; }
  .nav-links li { width: 100%; }
  .nav-links a { display: block; padding: 0.875rem 5%; font-size: 1rem; border-bottom: 1px solid var(--line); }
  .nav-pill { margin: 0.5rem 5%; display: inline-block; }
  body { cursor: auto; }
  #cursor, #cursor-ring { display: none; }
}

@media (max-width: 640px) {
  .hero h1 { font-size: 2.6rem; }
  .how-grid { grid-template-columns: 1fr; }
  .how-step { border-right: none; }
  .testi-grid { grid-template-columns: 1fr; }
  .stats-bar { grid-template-columns: 1fr 1fr; }
  .cta-form2 { flex-direction: column; border-radius: 16px; padding: 1rem; }
  .cta-select, .cta-divider { display: none; }
  .cta-email { padding: 0.5rem; }
  .cta-submit { width: 100%; border-radius: 100px; padding: 0.875rem; }
  .foot2 { grid-template-columns: 1fr; }
}
