:root {
  --ink: #0C1B2A;
  --ink-mid: #2A3F52;
  --ink-soft: #5C7A8F;
  --cream: #FAF7F2;
  --cream-dark: #F0EBE1;
  --teal: #0D7A6B;
  --teal-light: #12A08C;
  --teal-pale: #D6F0EC;
  --coral: #E8533A;
  --coral-pale: #FCE8E4;
  --gold: #C9922A;
  --gold-pale: #FBF0DC;
  --white: #FFFFFF;
  --border: rgba(12,27,42,0.10);
  --shadow-sm: 0 2px 12px rgba(12,27,42,0.08);
  --shadow-md: 0 8px 32px rgba(12,27,42,0.12);
  --shadow-lg: 0 20px 60px rgba(12,27,42,0.16);
}

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

html { scroll-behavior: smooth; }

body {
  font-family: 'DM Sans', sans-serif;
  background: var(--cream);
  color: var(--ink);
  overflow-x: hidden;
}

/* ── NAV ─────────────────────────────────────────────────── */
nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  background: rgba(250,247,242,0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  padding: 0 5%;
  height: 68px;
  display: flex; align-items: center; justify-content: space-between;
}

.nav-logo {
  font-family: 'Fraunces', serif;
  font-size: 24px;
  font-weight: 700;
  color: var(--ink);
  text-decoration: none;
  letter-spacing: -0.02em;
}
.nav-logo span { color: var(--teal); }

/* Hide menu toggle by default on desktop */
.menu-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 10px;
  z-index: 1000;
}
.menu-toggle .bar {
  display: block;
  width: 24px;
  height: 2px;
  margin: 5px auto;
  background-color: var(--ink);
  transition: all 0.3s ease-in-out;
  border-radius: 2px;
}

.nav-links {
  display: flex; align-items: center; gap: 32px;
  list-style: none;
}
.nav-links a {
  font-size: 14px; font-weight: 500;
  color: var(--ink-mid); text-decoration: none;
  transition: color 0.2s;
}
.nav-links a:hover { color: var(--teal); }

.nav-cta {
  background: var(--teal);
  color: var(--white) !important;
  padding: 10px 22px;
  border-radius: 100px;
  font-size: 14px !important;
  font-weight: 600 !important;
  transition: background 0.2s, transform 0.2s !important;
}
.nav-cta:hover { background: var(--teal-light) !important; transform: translateY(-1px); }

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

.hero::before {
  content: '';
  position: absolute;
  top: -200px; right: -200px;
  width: 700px; height: 700px;
  background: radial-gradient(circle, rgba(13,122,107,0.08) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}

.hero-tag {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--teal-pale);
  color: var(--teal);
  font-size: 12px; font-weight: 600;
  letter-spacing: 0.08em; text-transform: uppercase;
  padding: 6px 14px; border-radius: 100px;
  margin-bottom: 24px;
  border: 1px solid rgba(13,122,107,0.2);
}
.hero-tag::before { content: '●'; font-size: 8px; animation: blink 2s infinite; }
@keyframes blink { 0%,100%{opacity:1} 50%{opacity:0.3} }

.hero-headline {
  font-family: 'Fraunces', serif;
  font-size: clamp(42px, 5vw, 68px);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.03em;
  color: var(--ink);
  margin-bottom: 24px;
}
.hero-headline em {
  font-style: italic;
  color: var(--teal);
  font-weight: 300;
}

.hero-sub {
  font-size: 17px;
  line-height: 1.7;
  color: var(--ink-soft);
  max-width: 460px;
  margin-bottom: 40px;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 24px;
}

.store-buttons {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.store-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 20px;
  border-radius: 100px;
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  transition: all 0.25s;
  border: 1.5px solid var(--border);
}

.store-btn i {
  font-size: 20px;
}

.google-play {
  background: #000;
  color: #fff;
}

.google-play:hover {
  background: #333;
  transform: translateY(-2px);
}

.app-store {
  background: var(--white);
  color: var(--ink);
}

.app-store:hover {
  border-color: var(--teal);
  color: var(--teal);
  background: var(--teal-pale);
}

.btn-primary {
  background: var(--teal);
  color: var(--white);
  padding: 14px 32px;
  border-radius: 100px;
  font-size: 15px; font-weight: 600;
  text-decoration: none;
  border: none; cursor: pointer;
  transition: all 0.25s;
  display: inline-flex; align-items: center; gap: 8px;
  box-shadow: 0 4px 20px rgba(13,122,107,0.3);
}
.btn-primary:hover { background: var(--teal-light); transform: translateY(-2px); box-shadow: 0 8px 28px rgba(13,122,107,0.35); }

.btn-ghost {
  color: var(--ink);
  padding: 14px 24px;
  border-radius: 100px;
  font-size: 15px; font-weight: 500;
  text-decoration: none;
  border: 1.5px solid var(--border);
  background: var(--white);
  transition: all 0.25s;
  display: inline-flex; align-items: center; gap: 8px;
}
.btn-ghost:hover { border-color: var(--teal); color: var(--teal); background: var(--teal-pale); }

.hero-proof {
  display: flex; align-items: center; gap: 24px;
  padding: 20px 24px;
  background: var(--white);
  border-radius: 16px;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
  width: fit-content;
}
.proof-item { text-align: center; }
.proof-num {
  font-family: 'Fraunces', serif;
  font-size: 26px; font-weight: 700;
  color: var(--ink); display: block;
  letter-spacing: -0.02em;
}
.proof-label { font-size: 11px; color: var(--ink-soft); font-weight: 500; text-transform: uppercase; letter-spacing: 0.06em; }
.proof-divider { width: 1px; height: 40px; background: var(--border); }

/* ── HERO VISUAL ──────────────────────────────────────────── */
.hero-visual { position: relative; }

.device-card {
  background: var(--ink);
  border-radius: 28px;
  padding: 28px;
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}
.device-card::before {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(135deg, rgba(13,122,107,0.15) 0%, transparent 60%);
}

.device-screen {
  background: #0A1520;
  border-radius: 18px;
  padding: 24px;
  position: relative;
  margin-bottom: 20px;
}

.device-header {
  display: flex; justify-content: space-between; align-items: center;
  margin-bottom: 20px;
}
.device-label { font-size: 11px; color: rgba(255,255,255,0.4); font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; }
.device-status {
  display: flex; align-items: center; gap: 6px;
  font-size: 11px; color: #12A08C; font-weight: 600;
}
.device-status::before { content: '●'; font-size: 8px; }

.bp-reading {
  margin-bottom: 24px;
}
.bp-label { font-size: 11px; color: rgba(255,255,255,0.4); margin-bottom: 6px; font-weight: 500; }
.bp-value {
  font-family: 'Fraunces', serif;
  font-size: 52px; font-weight: 700;
  color: #fff; line-height: 1;
  letter-spacing: -0.03em;
}
.bp-unit { font-size: 16px; color: rgba(255,255,255,0.5); font-weight: 400; margin-left: 6px; }
.bp-status {
  display: inline-flex; align-items: center; gap: 6px;
  background: rgba(13,122,107,0.25);
  color: #12A08C;
  font-size: 12px; font-weight: 600;
  padding: 5px 12px; border-radius: 100px;
  margin-top: 8px;
  border: 1px solid rgba(13,122,107,0.3);
}

.metric-row {
  display: grid; grid-template-columns: 1fr 1fr; gap: 12px;
  margin-top: 20px;
}
.metric-box {
  background: rgba(255,255,255,0.05);
  border-radius: 12px; padding: 14px;
  border: 1px solid rgba(255,255,255,0.07);
}
.metric-name { font-size: 10px; color: rgba(255,255,255,0.4); font-weight: 600; text-transform: uppercase; letter-spacing: 0.08em; margin-bottom: 6px; }
.metric-val { font-family: 'Fraunces', serif; font-size: 24px; font-weight: 700; color: #fff; }
.metric-unit { font-size: 11px; color: rgba(255,255,255,0.4); margin-left: 3px; }

.ai-insight {
  background: rgba(201,146,42,0.1);
  border: 1px solid rgba(201,146,42,0.25);
  border-radius: 14px;
  padding: 16px;
  display: flex; align-items: flex-start; gap: 12px;
}
.ai-icon {
  width: 32px; height: 32px;
  background: var(--gold);
  border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  font-size: 16px; flex-shrink: 0;
}
.ai-text { font-size: 13px; color: rgba(255,255,255,0.75); line-height: 1.5; }
.ai-text strong { color: var(--gold); }

/* Floating badges */
.float-badge {
  position: absolute;
  background: var(--white);
  border-radius: 14px;
  padding: 14px 18px;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--border);
  display: flex; align-items: center; gap: 10px;
  animation: float 4s ease-in-out infinite;
}
@keyframes float {
  0%,100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}

.float-badge-1 { top: -24px; right: -32px; animation-delay: 0s; }
.float-badge-2 { bottom: 40px; left: -40px; animation-delay: 1.5s; }

.badge-icon { font-size: 22px; }
.badge-text { }
.badge-val { font-family: 'Fraunces', serif; font-size: 18px; font-weight: 700; color: var(--ink); display: block; line-height: 1; }
.badge-sub { font-size: 11px; color: var(--ink-soft); }

/* ── PAGE HERO ───────────────────────────────────────────── */
.page-hero {
  padding: 120px 5% 80px;
  text-align: center;
  background: var(--cream);
}

.page-hero .hero-content {
  max-width: 800px;
  margin: 0 auto;
}

.page-hero .hero-tag {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--teal-pale);
  color: var(--teal);
  padding: 8px 16px;
  border-radius: 100px;
  font-size: 14px; font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 24px;
}

.page-hero .section-title {
  font-size: 48px;
  font-weight: 700;
  color: var(--ink);
  line-height: 1.1;
  margin-bottom: 24px;
  letter-spacing: -0.02em;
}

.page-hero .hero-sub {
  font-size: 18px;
  color: var(--ink-mid);
  line-height: 1.6;
  margin-bottom: 40px;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.page-hero .hero-actions {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

/* ── SEARCH & FILTER ─────────────────────────────────────── */
.search-section {
  margin-bottom: 60px;
}

.search-title {
  font-size: 24px;
  font-weight: 600;
  color: var(--ink);
  margin-bottom: 32px;
  text-align: center;
}

.search-grid {
  display: grid;
  grid-template-columns: 2fr 2fr 1fr;
  gap: 16px;
  margin-bottom: 32px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.search-input,
.search-select {
  padding: 16px 20px;
  border: 1px solid var(--border);
  border-radius: 12px;
  font-size: 16px;
  background: var(--white);
  transition: border-color 0.2s;
}

.search-input:focus,
.search-select:focus {
  outline: none;
  border-color: var(--teal);
}

.search-select {
  cursor: pointer;
}

.filter-section {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 40px;
}

.filter-tag {
  padding: 8px 16px;
  background: var(--cream);
  border: 1px solid var(--border);
  border-radius: 100px;
  font-size: 14px;
  font-weight: 500;
  color: var(--ink-mid);
  cursor: pointer;
  transition: all 0.2s;
}

.filter-tag:hover {
  background: var(--teal-pale);
  border-color: var(--teal);
  color: var(--teal);
}

.filter-tag.active {
  background: var(--teal);
  border-color: var(--teal);
  color: var(--white);
}

/* ── DOCTORS GRID ────────────────────────────────────────── */
.doctors-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 32px;
  margin-bottom: 60px;
}

.doctor-card {
  background: var(--white);
  border-radius: 20px;
  padding: 24px;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  position: relative;
  overflow: hidden;
}

.doctor-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.doctor-header {
  display: flex;
  gap: 16px;
  margin-bottom: 20px;
  align-items: flex-start;
}

.doctor-avatar {
  width: 80px;
  height: 80px;
  border-radius: 16px;
  object-fit: cover;
  flex-shrink: 0;
}

.doctor-info {
  flex: 1;
}

.doctor-name {
  font-size: 20px;
  font-weight: 600;
  color: var(--ink);
  margin-bottom: 4px;
}

.doctor-link {
  color: inherit;
  text-decoration: none;
}

.doctor-specialty {
  font-size: 14px;
  color: var(--teal);
  font-weight: 500;
  margin-bottom: 8px;
}

.badges {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.badge {
  padding: 4px 8px;
  border-radius: 6px;
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.badge-success {
  background: rgba(13,122,107,0.1);
  color: var(--teal);
}

.badge-warning {
  background: rgba(201,146,42,0.1);
  color: var(--gold);
}

.message-icon {
  width: 32px;
  height: 32px;
  cursor: pointer;
  opacity: 0.6;
  transition: opacity 0.2s;
}

.message-icon:hover {
  opacity: 1;
}

.doctor-location {
  font-size: 14px;
  color: var(--ink-mid);
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.doctor-card .btn {
  width: 100%;
  text-align: center;
}

/* ── PAGINATION ──────────────────────────────────────────── */
.pagination {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 40px;
}

.page-item {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--border);
  border-radius: 8px;
  cursor: pointer;
  font-size: 14px;
  font-weight: 500;
  color: var(--ink-mid);
  transition: all 0.2s;
}

.page-item:hover {
  background: var(--teal-pale);
  border-color: var(--teal);
  color: var(--teal);
}

.page-item.active {
  background: var(--teal);
  border-color: var(--teal);
  color: var(--white);
}

/* ── MODAL ───────────────────────────────────────────────── */
.modal {
  display: none;
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(12,27,42,0.5);
  backdrop-filter: blur(8px);
  z-index: 1000;
  align-items: center;
  justify-content: center;
}

.modal.show {
  display: flex;
}

.modal-content {
  background: var(--white);
  border-radius: 20px;
  padding: 32px;
  max-width: 400px;
  width: 90%;
  position: relative;
}

.modal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
}

.modal-header h2 {
  font-size: 24px;
  font-weight: 600;
  color: var(--ink);
  margin: 0;
}

.modal-close {
  background: none;
  border: none;
  font-size: 24px;
  cursor: pointer;
  color: var(--ink-mid);
  padding: 0;
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  transition: background 0.2s;
}

.modal-close:hover {
  background: var(--cream);
}

.modal-content p {
  color: var(--ink-mid);
  line-height: 1.6;
  margin-bottom: 24px;
}

.modal-buttons {
  display: flex;
  gap: 12px;
  justify-content: flex-end;
}

/* ── SPINNER ─────────────────────────────────────────────── */
.spinner {
  width: 40px;
  height: 40px;
  border: 4px solid var(--cream);
  border-top: 4px solid var(--teal);
  border-radius: 50%;
  animation: spin 1s linear infinite;
  margin: 0 auto 16px;
}

@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

/* ── NOT FOUND ───────────────────────────────────────────── */
.doctor-not-found {
  text-align: center;
  padding: 60px 20px;
  grid-column: 1 / -1;
}

.doctor-not-found h3 {
  font-size: 24px;
  font-weight: 600;
  color: var(--ink);
  margin-bottom: 8px;
}

.doctor-not-found p {
  color: var(--ink-mid);
}

/* ── ABOUT PAGE ──────────────────────────────────────────── */
.page-hero {
  padding: 120px 5% 80px;
  text-align: center;
  background: var(--cream);
  position: relative;
  overflow: hidden;
}

.page-hero::before {
  content: '';
  position: absolute;
  top: -100px;
  right: -100px;
  width: 300px;
  height: 300px;
  background: radial-gradient(circle, rgba(13,122,107,0.08) 0%, transparent 70%);
  border-radius: 50%;
  z-index: 1;
}

.page-hero::after {
  content: '';
  position: absolute;
  bottom: -150px;
  left: -150px;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(201,146,42,0.06) 0%, transparent 70%);
  border-radius: 50%;
  z-index: 1;
}

.page-hero .hero-content {
  max-width: 800px;
  margin: 0 auto;
  position: relative;
  z-index: 2;
}

.hero-breadcrumb {
  font-size: 14px;
  color: var(--ink-soft);
  margin-bottom: 16px;
}

.hero-breadcrumb a {
  color: var(--teal);
  text-decoration: none;
}

.hero-breadcrumb a:hover {
  text-decoration: underline;
}

.page-hero .hero-tag {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--teal-pale);
  color: var(--teal);
  padding: 8px 16px;
  border-radius: 100px;
  font-size: 14px; font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 24px;
  position: relative;
  z-index: 2;
}

.page-hero .section-title {
  font-size: 48px;
  font-weight: 700;
  color: var(--ink);
  line-height: 1.1;
  margin-bottom: 24px;
  letter-spacing: -0.02em;
  position: relative;
  z-index: 2;
}

.page-hero .hero-sub {
  font-size: 18px;
  color: var(--ink-mid);
  line-height: 1.6;
  margin-bottom: 40px;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
  position: relative;
  z-index: 2;
}

.mission-section {
  background: linear-gradient(135deg, var(--cream-dark) 0%, var(--cream) 100%);
  position: relative;
  overflow: hidden;
}

.mission-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="25" cy="25" r="1" fill="rgba(13,122,107,0.03)"/><circle cx="75" cy="75" r="1" fill="rgba(13,122,107,0.03)"/><circle cx="50" cy="10" r="0.5" fill="rgba(201,146,42,0.02)"/><circle cx="10" cy="50" r="0.5" fill="rgba(201,146,42,0.02)"/><circle cx="90" cy="30" r="0.5" fill="rgba(201,146,42,0.02)"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>');
  opacity: 0.5;
  z-index: 1;
}

.mission-grid {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 80px;
  align-items: start;
  position: relative;
  z-index: 2;
}

.mission-quote {
  font-size: 28px;
  font-weight: 600;
  color: var(--ink);
  line-height: 1.4;
  margin-bottom: 32px;
  position: relative;
}

.mission-quote::before {
  content: '"';
  font-size: 60px;
  color: var(--teal);
  position: absolute;
  top: -20px;
  left: -30px;
  font-family: 'Fraunces', serif;
  opacity: 0.3;
}

.mission-quote em {
  color: var(--teal);
  font-style: normal;
}

.mission-body {
  font-size: 16px;
  color: var(--ink-mid);
  line-height: 1.7;
  margin-bottom: 24px;
}

.values-list {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.value-item {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  padding: 24px;
  background: var(--white);
  border-radius: 16px;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  position: relative;
  overflow: hidden;
}

.value-item::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 4px;
  height: 100%;
  background: linear-gradient(to bottom, var(--teal), var(--teal-light));
  opacity: 0;
  transition: opacity 0.3s ease;
}

.value-item:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.value-item:hover::before {
  opacity: 1;
}

.value-icon {
  font-size: 32px;
  flex-shrink: 0;
  position: relative;
  z-index: 2;
}

.value-text h4 {
  font-size: 18px;
  font-weight: 600;
  color: var(--ink);
  margin-bottom: 8px;
  position: relative;
  z-index: 2;
}

.value-text p {
  font-size: 14px;
  color: var(--ink-mid);
  line-height: 1.6;
  margin: 0;
  position: relative;
  z-index: 2;
}

.story-section {
  background: linear-gradient(135deg, var(--white) 0%, var(--cream) 100%);
  position: relative;
  overflow: hidden;
}

.story-section::before {
  content: '';
  position: absolute;
  top: -50px;
  right: -50px;
  width: 200px;
  height: 200px;
  background: radial-gradient(circle, rgba(13,122,107,0.05) 0%, transparent 70%);
  border-radius: 50%;
  z-index: 1;
}

.story-section::after {
  content: '';
  position: absolute;
  bottom: -100px;
  left: -100px;
  width: 300px;
  height: 300px;
  background: radial-gradient(circle, rgba(201,146,42,0.04) 0%, transparent 70%);
  border-radius: 50%;
  z-index: 1;
}

.story-grid {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 80px;
  align-items: start;
  position: relative;
  z-index: 2;
}

.story-main p {
  font-size: 16px;
  color: var(--ink-mid);
  line-height: 1.7;
  margin-bottom: 20px;
}

.story-aside {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.aside-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 24px;
  box-shadow: var(--shadow-sm);
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
  position: relative;
  overflow: hidden;
}

.aside-card::before {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 60px;
  height: 60px;
  background: linear-gradient(135deg, rgba(13,122,107,0.1), rgba(201,146,42,0.1));
  border-radius: 0 16px 0 60px;
  z-index: 1;
}

.aside-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: var(--teal);
}

.aside-card.featured {
  background: linear-gradient(135deg, var(--teal-pale), var(--gold-pale));
  border-color: rgba(13,122,107,0.3);
}

.aside-card.featured::before {
  background: linear-gradient(135deg, rgba(13,122,107,0.2), rgba(201,146,42,0.2));
}

.aside-icon {
  font-size: 28px;
  display: block;
  margin-bottom: 12px;
  position: relative;
  z-index: 2;
}

.aside-title {
  font-size: 15px;
  font-weight: 600;
  color: var(--ink);
  margin-bottom: 8px;
  position: relative;
  z-index: 2;
}

.aside-text {
  font-size: 13px;
  color: var(--ink-mid);
  line-height: 1.6;
  position: relative;
  z-index: 2;
}

.aside-highlight {
  color: var(--coral);
  font-weight: 600;
}

.stats-section {
  background: linear-gradient(135deg, var(--cream) 0%, var(--cream-dark) 100%);
  position: relative;
  overflow: hidden;
}

.stats-section::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(13,122,107,0.03) 0%, transparent 70%);
  border-radius: 50%;
  z-index: 1;
}

.stats-label {
  color: var(--teal);
  position: relative;
  z-index: 2;
}

.stats-title {
  margin-bottom: 60px;
  position: relative;
  z-index: 2;
}

.stats-section .stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 40px;
  max-width: 1200px;
  margin: 0 auto;
  position: relative;
  z-index: 2;
}

.stat-item {
  text-align: center;
  padding: 32px;
  background: var(--white);
  border-radius: 20px;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  position: relative;
  overflow: hidden;
}

.stat-item::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: linear-gradient(45deg, transparent, rgba(13,122,107,0.02), transparent);
  transform: rotate(45deg);
  transition: all 0.6s ease;
  z-index: 1;
}

.stat-item:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
}

.stat-item:hover::before {
  animation: shimmer 1.5s ease-in-out;
}

@keyframes shimmer {
  0% { transform: translateX(-100%) translateY(-100%) rotate(45deg); }
  100% { transform: translateX(100%) translateY(100%) rotate(45deg); }
}

.stat-num {
  font-family: 'Fraunces', serif;
  font-size: 48px;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 16px;
  letter-spacing: -0.02em;
  position: relative;
  z-index: 2;
}

.stat-accent {
  color: var(--teal);
}

.stat-item .stat-label {
  font-size: 14px;
  color: var(--ink-mid);
  line-height: 1.5;
  position: relative;
  z-index: 2;
}

.focus-section {
  background: linear-gradient(135deg, var(--white) 0%, var(--cream) 50%, var(--cream-dark) 100%);
  position: relative;
  overflow: hidden;
}

.focus-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 100px;
  background: linear-gradient(to bottom, var(--cream), transparent);
  z-index: 1;
}

.focus-section::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 100px;
  background: linear-gradient(to top, var(--cream-dark), transparent);
  z-index: 1;
}

.focus-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 32px;
  margin-top: 60px;
  position: relative;
  z-index: 2;
}

.focus-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 32px;
  box-shadow: var(--shadow-sm);
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.focus-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--teal), var(--teal-light), var(--gold));
  z-index: 1;
}

.focus-card:hover {
  transform: translateY(-8px) scale(1.02);
  box-shadow: var(--shadow-lg);
  border-color: var(--teal);
}

.focus-card.primary {
  background: linear-gradient(135deg, var(--teal-pale), var(--white));
  border-color: rgba(13,122,107,0.3);
}

.focus-card.primary::before {
  background: linear-gradient(90deg, var(--teal), var(--teal-light));
}

.focus-icon-wrap {
  font-size: 48px;
  margin-bottom: 20px;
  display: block;
  position: relative;
  z-index: 2;
}

.focus-name {
  font-size: 20px;
  font-weight: 600;
  color: var(--ink);
  margin-bottom: 12px;
  position: relative;
  z-index: 2;
}

.focus-desc {
  font-size: 14px;
  color: var(--ink-mid);
  line-height: 1.6;
  margin-bottom: 20px;
  position: relative;
  z-index: 2;
}

.focus-badge {
  display: inline-block;
  background: linear-gradient(135deg, var(--teal), var(--teal-light));
  color: var(--white);
  padding: 6px 12px;
  border-radius: 100px;
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  position: relative;
  z-index: 2;
}

/* ── ELDER & FITNESS PAGES ──────────────────────────────── */
.elder-hero {
  background: linear-gradient(135deg, var(--teal-pale) 0%, var(--cream) 100%);
}

.fitness-hero {
  background: linear-gradient(135deg, var(--gold-pale) 0%, var(--cream) 100%);
}

.benefits-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
  margin-top: 40px;
}

.benefit-card {
  background: var(--white);
  border-radius: 16px;
  padding: 32px 24px;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.benefit-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.benefit-card h3 {
  font-size: 18px;
  font-weight: 600;
  color: var(--ink);
  margin-bottom: 12px;
}

.benefit-card p {
  color: var(--ink-mid);
  line-height: 1.6;
  margin: 0;
}

/* ── DOWNLOAD PAGE ──────────────────────────────────────── */
.page-hero .btn-primary svg,
.page-hero .btn-ghost svg {
  width: 20px;
  height: 20px;
}

/* ── STATS SECTION ───────────────────────────────────────── */
.stats-home {
  padding: 80px 5% 60px;
  background: var(--cream);
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 40px;
  max-width: 1200px;
  margin: 0 auto;
}

.stats-card {
  text-align: center;
  padding: 32px 24px;
  background: var(--white);
  border-radius: 20px;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.stats-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.stats-value {
  font-family: 'Fraunces', serif;
  font-size: 48px;
  font-weight: 700;
  color: var(--ink);
  display: block;
  margin-bottom: 8px;
  letter-spacing: -0.02em;
}

.stats-card p {
  font-size: 14px;
  font-weight: 500;
  color: var(--ink-mid);
  margin: 0;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* Doctor stats */
.doctor-card .stats-grid {
  padding: 12px 0 0;
  gap: 12px;
  margin-top: 16px;
}

.doctor-card .stat-item {
  text-align: center;
  padding: 8px;
  background: var(--cream);
  border-radius: 8px;
  border: 1px solid var(--border);
}

.doctor-card .stat-value {
  font-family: 'Fraunces', serif;
  font-size: 18px;
  font-weight: 600;
  color: var(--ink);
  display: block;
}

.doctor-card .stat-label {
  font-size: 11px;
  font-weight: 500;
  color: var(--ink-soft);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* ── PROBLEM SECTION ─────────────────────────────────────── */
.section { padding: 100px 5%; }
.section-label {
  font-size: 11px; font-weight: 700;
  color: var(--teal); text-transform: uppercase;
  letter-spacing: 0.12em; margin-bottom: 16px;
  display: flex; align-items: center; gap: 8px;
}
.section-label::before { content: ''; }

.section-title {
  font-family: 'Fraunces', serif;
  font-size: clamp(32px, 4vw, 52px);
  font-weight: 700; line-height: 1.15;
  letter-spacing: -0.025em;
  color: var(--ink);
  margin-bottom: 20px;
}
.section-title em { font-style: italic; color: var(--teal); font-weight: 300; }

.section-body {
  font-size: 16px; line-height: 1.75;
  color: var(--ink-soft);
  max-width: 560px;
}

/* ── PROBLEM GRID ─────────────────────────────────────────── */
.problem-section { background: var(--ink); }
.problem-section .section-label { color: rgba(255,255,255,0.4); }
.problem-section .section-title { color: var(--white); }
.problem-section .section-body { color: rgba(255,255,255,0.55); }

.problem-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.problem-stats {
  display: grid; grid-template-columns: 1fr 1fr; gap: 2px;
  margin-top: 48px;
}
.stat-block {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.07);
  padding: 28px 24px;
}
.stat-block:first-child { border-radius: 16px 0 0 0; }
.stat-block:nth-child(2) { border-radius: 0 16px 0 0; }
.stat-block:nth-child(3) { border-radius: 0 0 0 16px; }
.stat-block:last-child { border-radius: 0 0 16px 0; }

.stat-big {
  font-family: 'Fraunces', serif;
  font-size: 44px; font-weight: 700;
  color: var(--white); letter-spacing: -0.03em;
  line-height: 1;
  margin-bottom: 8px;
}
.stat-accent { color: var(--teal-light); }
.stat-desc { font-size: 13px; color: rgba(255,255,255,0.45); line-height: 1.5; }

.problem-story {
  display: flex; flex-direction: column; gap: 20px;
}
.story-card {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.07);
  border-radius: 16px;
  padding: 24px;
  transition: border-color 0.3s;
}
.story-card:hover { border-color: rgba(13,160,140,0.3); }
.story-card.featured {
  background: rgba(13,122,107,0.12);
  border-color: rgba(13,122,107,0.3);
}
.story-icon { font-size: 28px; margin-bottom: 12px; display: block; }
.story-title { font-size: 15px; font-weight: 600; color: var(--white); margin-bottom: 8px; }
.story-text { font-size: 13px; color: rgba(255,255,255,0.5); line-height: 1.6; }
.story-highlight { color: var(--coral); font-weight: 600; }

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

.steps-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2px;
  margin-top: 60px;
  background: var(--border);
  border-radius: 24px;
  overflow: hidden;
}
.step-item {
  background: var(--white);
  padding: 36px 28px;
  position: relative;
  transition: background 0.3s;
}
.step-item:hover { background: var(--teal-pale); }
.step-num {
  font-family: 'Fraunces', serif;
  font-size: 56px; font-weight: 700;
  color: var(--teal-pale);
  line-height: 1;
  margin-bottom: 20px;
  transition: color 0.3s;
}
.step-item:hover .step-num { color: rgba(13,122,107,0.2); }
.step-emoji { font-size: 32px; margin-bottom: 16px; display: block; }
.step-title { font-size: 16px; font-weight: 600; color: var(--ink); margin-bottom: 10px; }
.step-text { font-size: 13px; color: var(--ink-soft); line-height: 1.6; }

/* ── PRODUCTS ─────────────────────────────────────────────── */
.products-section { background: var(--cream); }

.products-header {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 60px; align-items: end;
  margin-bottom: 60px;
}

.products-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.product-card {
  border-radius: 24px;
  padding: 36px 32px;
  position: relative; overflow: hidden;
  transition: transform 0.3s, box-shadow 0.3s;
  cursor: default;
}
.product-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }

.product-card.b2c { background: var(--teal); color: var(--white); }
.product-card.b2b { background: var(--ink); color: var(--white); }
.product-card.agency { background: var(--cream-dark); border: 1px solid var(--border); }

.product-icon {
  width: 52px; height: 52px;
  border-radius: 14px;
  display: flex; align-items: center; justify-content: center;
  font-size: 24px;
  margin-bottom: 24px;
}
.b2c .product-icon { background: rgba(255,255,255,0.15); }
.b2b .product-icon { background: rgba(255,255,255,0.1); }
.agency .product-icon { background: var(--teal-pale); }

.product-title {
  font-family: 'Fraunces', serif;
  font-size: 22px; font-weight: 700;
  line-height: 1.2;
  margin-bottom: 12px;
  letter-spacing: -0.02em;
}
.b2c .product-title, .b2b .product-title { color: var(--white); }
.agency .product-title { color: var(--ink); }

.product-desc {
  font-size: 14px; line-height: 1.65;
  margin-bottom: 24px;
}
.b2c .product-desc, .b2b .product-desc { color: rgba(255,255,255,0.7); }
.agency .product-desc { color: var(--ink-soft); }

.product-price {
  font-family: 'Fraunces', serif;
  font-size: 28px; font-weight: 700;
  letter-spacing: -0.02em;
}
.price-sub { font-size: 13px; font-weight: 400; opacity: 0.6; margin-left: 4px; }
.b2c .product-price { color: var(--white); }
.b2b .product-price { color: var(--teal-light); }
.agency .product-price { color: var(--teal); }

.product-features {
  list-style: none;
  margin-top: 20px;
  display: flex; flex-direction: column; gap: 8px;
}
.product-features li {
  font-size: 13px;
  display: flex; align-items: center; gap: 8px;
}
.b2c .product-features li { color: rgba(255,255,255,0.75); }
.b2b .product-features li { color: rgba(255,255,255,0.6); }
.agency .product-features li { color: var(--ink-soft); }
.product-features li::before { content: '✓'; font-weight: 700; color: var(--teal-light); flex-shrink: 0; }
.b2c .product-features li::before { color: rgba(255,255,255,0.6); }

/* ── DEVICE SECTION ──────────────────────────────────────── */
.device-section { background: var(--ink); overflow: hidden; }

.device-grid {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 80px; align-items: center;
}

.devices-visual {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 16px; position: relative;
}
.device-box {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 20px; padding: 28px;
  transition: border-color 0.3s, background 0.3s;
}
.device-box:hover { border-color: rgba(13,160,140,0.4); background: rgba(13,122,107,0.1); }
.device-box.main { grid-column: span 2; }

.device-box-icon { font-size: 36px; margin-bottom: 16px; display: block; color: var(--white); }
.device-box-name { font-size: 14px; font-weight: 600; color: var(--white); margin-bottom: 6px; }
.device-box-desc { font-size: 12px; color: rgba(255,255,255,0.4); line-height: 1.5; }

.transaction-pill {
  background: rgba(13,122,107,0.2);
  border: 1px solid rgba(13,122,107,0.4);
  border-radius: 12px; padding: 16px 20px;
  display: flex; justify-content: space-between;
  align-items: center; margin-top: 12px;
}
.pill-label { font-size: 12px; color: rgba(255,255,255,0.5); }
.pill-val { font-family: 'Fraunces', serif; font-size: 20px; font-weight: 700; color: var(--teal-light); }

/* ── TESTIMONIALS ────────────────────────────────────────── */
.testimonials-section { background: var(--cream-dark); }

.testimonials-grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 24px; margin-top: 56px;
}
.testi-card {
  background: var(--white);
  border-radius: 20px;
  padding: 32px;
  border: 1px solid var(--border);
  transition: transform 0.3s, box-shadow 0.3s;
  display: flex; flex-direction: column;
}
.testi-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }

.testi-stars { color: var(--gold); font-size: 14px; margin-bottom: 16px; letter-spacing: 2px; }
.testi-text {
  font-size: 14px; line-height: 1.75;
  color: var(--ink-mid); flex: 1;
  margin-bottom: 24px;
  font-style: italic;
}
.testi-author { display: flex; align-items: center; gap: 12px; }
.testi-avatar {
  width: 44px; height: 44px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 18px;
  font-weight: 700;
  color: var(--white);
}
.av-teal { background: var(--teal); }
.av-coral { background: var(--coral); }
.av-gold { background: var(--gold); }
.testi-name { font-size: 14px; font-weight: 600; color: var(--ink); }
.testi-role { font-size: 12px; color: var(--ink-soft); }

/* ── CTA ─────────────────────────────────────────────────── */
.cta-section {
  background: var(--teal);
  padding: 100px 5%;
  text-align: center;
  position: relative; overflow: hidden;
}
.cta-section::before {
  content: '';
  position: absolute; top: -200px; left: 50%; transform: translateX(-50%);
  width: 800px; height: 800px;
  background: radial-gradient(circle, rgba(255,255,255,0.06) 0%, transparent 70%);
  border-radius: 50%;
}
.cta-title {
  font-family: 'Fraunces', serif;
  font-size: clamp(36px, 5vw, 64px);
  font-weight: 700; color: var(--white);
  line-height: 1.1; letter-spacing: -0.03em;
  margin-bottom: 20px;
  position: relative;
}
.cta-title em { font-style: italic; font-weight: 300; }
.cta-sub {
  font-size: 17px; color: rgba(255,255,255,0.75);
  max-width: 500px; margin: 0 auto 40px;
  line-height: 1.65;
}
.cta-actions { display: flex; justify-content: center; gap: 16px; flex-wrap: wrap; position: relative; }
.btn-white {
  background: var(--white); color: var(--teal);
  padding: 16px 36px; border-radius: 100px;
  font-size: 16px; font-weight: 700;
  text-decoration: none;
  transition: all 0.25s;
  box-shadow: 0 8px 32px rgba(0,0,0,0.15);
}
.btn-white:hover { transform: translateY(-3px); box-shadow: 0 16px 40px rgba(0,0,0,0.2); }
.btn-outline-white {
  border: 2px solid rgba(255,255,255,0.4); color: var(--white);
  padding: 14px 32px; border-radius: 100px;
  font-size: 16px; font-weight: 500;
  text-decoration: none;
  transition: all 0.25s;
}
.btn-outline-white:hover { border-color: var(--white); background: rgba(255,255,255,0.1); }

/* ── FOOTER ──────────────────────────────────────────────── */
footer {
  background: #070E16;
  padding: 64px 5% 32px;
}
.footer-grid {
  display: grid; grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px; margin-bottom: 48px;
}
.footer-brand-name {
  font-family: 'Fraunces', serif;
  font-size: 26px; font-weight: 700;
  color: var(--white); margin-bottom: 12px;
}
.footer-brand-name span { color: var(--teal-light); }
.footer-tagline { font-size: 13px; color: rgba(255,255,255,0.35); line-height: 1.7; max-width: 260px; margin-bottom: 24px; }
.footer-contact { font-size: 12px; color: rgba(255,255,255,0.3); line-height: 2; }
.footer-contact strong { color: rgba(255,255,255,0.5); }
.footer-col-title { font-size: 11px; font-weight: 700; color: rgba(255,255,255,0.3); text-transform: uppercase; letter-spacing: 0.1em; margin-bottom: 16px; }
.footer-links { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.footer-links a { font-size: 13px; color: rgba(255,255,255,0.5); text-decoration: none; transition: color 0.2s; }
.footer-links a:hover { color: var(--teal-light); }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.06);
  padding-top: 24px;
  display: flex; justify-content: space-between; align-items: center;
}
.footer-copy { font-size: 12px; color: rgba(255,255,255,0.25); }

/* ── TECHNOLOGY ─────────────────────────────────────────────── */
.tech-section {
  background: var(--ink);
  position: relative;
  overflow: hidden;
}

.tech-section::before {
  content: '';
  position: absolute;
  top: -100px; left: -100px;
  width: 400px; height: 400px;
  background: radial-gradient(circle, rgba(13,122,107,0.06) 0%, transparent 70%);
  border-radius: 50%;
  z-index: 1;
}

.tech-section::after {
  content: '';
  position: absolute;
  bottom: -150px; right: -100px;
  width: 500px; height: 500px;
  background: radial-gradient(circle, rgba(201,146,42,0.04) 0%, transparent 70%);
  border-radius: 50%;
  z-index: 1;
}

.tech-section .section-label { color: rgba(255,255,255,0.4); position: relative; z-index: 2; }
.tech-section .section-title { color: var(--white); position: relative; z-index: 2; }
.tech-section .section-body { color: rgba(255,255,255,0.5); position: relative; z-index: 2; }

.tech-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
  position: relative;
  z-index: 2;
}

.tech-stack {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 32px;
}

.tech-pill {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 18px;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 14px;
  flex: 1 1 calc(50% - 8px);
  min-width: 260px;
  transition: border-color 0.3s, background 0.3s;
}

.tech-pill:hover {
  border-color: rgba(13,122,107,0.4);
  background: rgba(255,255,255,0.07);
}

.tech-pill-icon {
  font-size: 26px;
  flex-shrink: 0;
  margin-top: 2px;
}

.tech-pill-text { flex: 1; }

.tech-pill-name {
  font-size: 14px;
  font-weight: 600;
  color: var(--white);
  margin-bottom: 4px;
}

.tech-pill-desc {
  font-size: 12px;
  color: rgba(255,255,255,0.45);
  line-height: 1.5;
}

.tech-highlight {
  padding: 28px;
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 16px;
}

.tech-highlight-title {
  font-size: 13px;
  font-weight: 700;
  color: var(--teal-light);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 14px;
}

.tech-highlight-body {
  font-size: 14px;
  color: rgba(255,255,255,0.6);
  line-height: 1.7;
  margin-bottom: 18px;
}

.tech-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.tech-tag {
  font-size: 10px;
  padding: 5px 12px;
  background: rgba(255,255,255,0.06);
  border-radius: 100px;
  color: rgba(255,255,255,0.45);
  font-weight: 500;
  letter-spacing: 0.02em;
}

/* ── TEAM ───────────────────────────────────────────────────── */
.team-section {
  background: var(--cream);
  position: relative;
  overflow: hidden;
}

.team-section::before {
  content: '';
  position: absolute;
  top: -80px; right: -80px;
  width: 300px; height: 300px;
  background: radial-gradient(circle, rgba(13,122,107,0.05) 0%, transparent 70%);
  border-radius: 50%;
  z-index: 1;
}

.team-section::after {
  content: '';
  position: absolute;
  bottom: -100px; left: -80px;
  width: 400px; height: 400px;
  background: radial-gradient(circle, rgba(201,146,42,0.04) 0%, transparent 70%);
  border-radius: 50%;
  z-index: 1;
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  position: relative;
  z-index: 2;
}

.team-card {
  text-align: center;
  padding: 32px 20px;
  background: var(--white);
  border-radius: 20px;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.team-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
}

.team-avatar {
  font-size: 52px;
  margin-bottom: 16px;
  display: block;
}

.team-info { text-align: center; }

.team-name {
  font-size: 16px;
  font-weight: 600;
  color: var(--ink);
  margin-bottom: 4px;
}

.team-role {
  font-size: 13px;
  color: var(--teal);
  font-weight: 500;
  margin-bottom: 10px;
}

.team-bio {
  font-size: 13px;
  color: var(--ink-soft);
  line-height: 1.6;
  margin: 0;
}

.av-teal { color: var(--teal); }
.av-ink { color: var(--ink); }
.av-coral { color: var(--coral); }
.av-gold { color: var(--gold); }

/* ── FAQ ────────────────────────────────────────────────────── */
.faq-section {
  background: linear-gradient(135deg, var(--cream-dark) 0%, var(--cream) 100%);
  position: relative;
  overflow: hidden;
}

.faq-section::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="25" cy="25" r="1" fill="rgba(13,122,107,0.02)"/><circle cx="75" cy="75" r="1" fill="rgba(13,122,107,0.02)"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>');
  opacity: 0.4;
  z-index: 1;
}

.faq-grid {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 60px;
  position: relative;
  z-index: 2;
}

.faq-sidebar { padding-top: 24px; }

.faq-sidebar p {
  font-size: 15px;
  color: var(--ink-mid);
  padding: 24px;
  background: var(--white);
  border-radius: 16px;
  border-left: 4px solid var(--teal);
  box-shadow: var(--shadow-sm);
  line-height: 1.6;
}

.faq-sidebar strong { color: var(--teal); }

.faq-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.faq-item {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 14px;
  overflow: hidden;
  transition: box-shadow 0.3s;
}

.faq-item:hover {
  box-shadow: var(--shadow-sm);
}

.faq-question {
  padding: 20px 24px;
  font-size: 15px;
  font-weight: 600;
  color: var(--ink);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: var(--white);
  transition: background 0.2s, color 0.2s;
  user-select: none;
}

.faq-question:hover {
  background: var(--cream);
  color: var(--teal);
}

.faq-question.active {
  color: var(--teal);
  border-bottom: 1px solid var(--border);
}

.faq-chevron {
  font-size: 18px;
  color: var(--ink-soft);
  transition: transform 0.3s ease;
  flex-shrink: 0;
}

.faq-question.active .faq-chevron {
  transform: rotate(180deg);
  color: var(--teal);
}

.faq-answer {
  display: none;
  padding: 0 24px 24px;
  animation: faqSlideIn 0.3s ease;
}

.faq-answer.open {
  display: block;
}

.faq-answer p {
  font-size: 14px;
  color: var(--ink-mid);
  line-height: 1.7;
  margin: 0;
}

@keyframes faqSlideIn {
  from { opacity: 0; transform: translateY(-8px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ── PAGE HERO OVERRIDES ────────────────────────────────────── */
.page-hero h1 {
  font-family: 'Fraunces', serif;
  font-size: clamp(36px, 5vw, 56px);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.02em;
  color: var(--ink);
  margin-bottom: 20px;
}

.page-hero h1 em {
  font-style: italic;
  color: var(--teal);
  font-weight: 300;
}

.page-hero > p {
  font-size: 17px;
  color: var(--ink-mid);
  line-height: 1.7;
  max-width: 600px;
  margin: 0 auto;
}

/* ── RESPONSIVE ──────────────────────────────────────────── */
@media (max-width: 900px) {
  .hero { grid-template-columns: 1fr; padding-top: 100px; }
  .hero-visual { display: none; }
  .problem-grid { grid-template-columns: 1fr; }
  .steps-grid { grid-template-columns: 1fr 1fr; }
  .products-grid { grid-template-columns: 1fr; }
  .products-header { grid-template-columns: 1fr; }
  .device-grid { grid-template-columns: 1fr; }
  .testimonials-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .nav-links { display: none; }
  
  /* Show menu toggle on mobile */
  .menu-toggle {
    display: block;
  }
  
  /* Animate menu toggle when active */
  .menu-toggle.active .bar:nth-child(2) {
    opacity: 0;
  }
  .menu-toggle.active .bar:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
  }
  .menu-toggle.active .bar:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
  }

  /* Style nav-links when active in mobile */
  .nav-links.active {
    display: flex !important;
    flex-direction: column;
    position: fixed;
    top: 68px;
    left: 0;
    width: 100%;
    height: calc(100vh - 68px);
    background-color: rgba(250,247,242,0.98);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border);
    padding: 40px 10%;
    gap: 24px;
    box-shadow: var(--shadow-lg);
    z-index: 99;
    align-items: center;
    justify-content: flex-start;
    overflow-y: auto;
  }
  
  .nav-links.active li {
    width: 100%;
    text-align: center;
  }
  
  .nav-links.active a {
    font-size: 18px;
    display: block;
    padding: 12px;
    width: 100%;
  }
  
  .nav-links.active .nav-cta {
    margin-top: 12px;
    display: inline-block;
    width: auto;
  }

  /* Responsive Doctors Page adjustments */
  .search-grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }
  
  .doctors-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .tech-grid { grid-template-columns: 1fr; gap: 40px; }
  .tech-stack { flex-direction: column; }
  .tech-pill { min-width: auto; flex: 1 1 100%; }
  .team-grid { grid-template-columns: repeat(2, 1fr); }
  .faq-grid { grid-template-columns: 1fr; gap: 32px; }
  .mission-grid { grid-template-columns: 1fr; gap: 40px; }
  .story-grid { grid-template-columns: 1fr; gap: 40px; }
  .stats-section .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .focus-grid { grid-template-columns: 1fr; }
}

@media (max-width: 600px) {
  .stats-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; text-align: center; gap: 16px; }
  .team-grid { grid-template-columns: 1fr; }
  .stats-section .stats-grid { grid-template-columns: 1fr; }
  .mission-section, .story-section, .tech-section, .team-section, .faq-section, .focus-section, .stats-section { padding-left: 5%; padding-right: 5%; }
}

/* Entrance animations */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(24px); }
  to { opacity: 1; transform: translateY(0); }
}
.fade-up { animation: fadeUp 0.7s ease forwards; }
.delay-1 { animation-delay: 0.1s; }
.delay-2 { animation-delay: 0.2s; }
.delay-3 { animation-delay: 0.3s; }
.delay-4 { animation-delay: 0.4s; }