/* MediCore — Main Stylesheet */

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}
:root {
  --navy: #5B776B;
  --navy2: #122847;
  /* --teal: #0f8b6c; */
  --teal: #5B776B;
  --teal-mid: #415a4f;
  --teal-light: #e1f5ee;
  --teal-pale: #f0faf6;
  --slate: #4a5568;
  --fog: #f7f9fc;
  --white: #fff;
  --border: #e2e8f0;
  --border2: #cbd5e0;
  --text: #1a202c;
  --muted: #718096;
  --light: #a0aec0;
  --font-head: "Fraunces", serif;
  --font-body: "DM Sans", sans-serif;
  --shadow: 0 4px 24px rgba(0, 0, 0, 0.07);
  --shadow-lg: 0 8px 48px rgba(0, 0, 0, 0.1);
  /* --navy: #0b1f3a;
  --navy2: #122847;
  --teal: #0f8b6c;
  --teal-mid: #1d9e75;
  --teal-light: #e1f5ee;
  --teal-pale: #f0faf6;
  --slate: #4a5568;
  --fog: #f7f9fc;
  --white: #fff;
  --border: #e2e8f0;
  --border2: #cbd5e0;
  --text: #1a202c;
  --muted: #718096;
  --light: #a0aec0;
  --font-head: "Fraunces", serif;
  --font-body: "DM Sans", sans-serif;
  --shadow: 0 4px 24px rgba(0, 0, 0, 0.07);
  --shadow-lg: 0 8px 48px rgba(0, 0, 0, 0.1); */
}
html {
  scroll-behavior: smooth;
}
body {
  font-family: var(--font-body);
  color: var(--text);
  background: var(--white);
  line-height: 1.6;
  overflow-x: hidden;
}
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 24px;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  text-decoration: none;
  border: none;
  transition: all 0.2s;
  font-family: var(--font-body);
}
.btn-primary {
  background: var(--teal);
  color: #fff;
}
.btn-primary:hover {
  background: var(--teal-mid);
  transform: translateY(-1px);
}
.btn-outline {
  background: transparent;
  color: var(--navy);
  border: 1.5px solid var(--border2);
}
.btn-outline:hover {
  border-color: var(--teal);
  color: var(--teal);
}
.btn-ghost {
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.2);
}
.btn-ghost:hover {
  background: rgba(255, 255, 255, 0.2);
}
.btn-white {
  background: #fff;
  color: var(--teal);
  font-weight: 500;
}
.btn-white:hover {
  background: #f0faf6;
}
.tag {
  display: inline-block;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--teal);
  background: var(--teal-light);
  padding: 5px 12px;
  border-radius: 20px;
  margin-bottom: 14px;
}
.section-title {
  font-family: var(--font-head);
  font-size: clamp(28px, 4vw, 44px);
  font-weight: 400;
  color: var(--navy);
  line-height: 1.2;
  margin-bottom: 14px;
}
.section-sub {
  font-size: 16px;
  color: var(--muted);
  max-width: 540px;
  line-height: 1.75;
}
.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 5%;
}
.section {
  padding: 88px 0;
}
nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 200;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
  height: 68px;
}
.nav-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 5%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}
.logo {
  font-family: var(--font-head);
  font-size: 22px;
  color: var(--navy);
  font-weight: 500;
  text-decoration: none;
  cursor: pointer;
}
.logo span {
  color: var(--teal);
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 4px;
}
.nav-link {
  font-size: 14px;
  color: var(--slate);
  text-decoration: none;
  padding: 8px 12px;
  border-radius: 6px;
  cursor: pointer;
  transition: 0.2s;
  border: none;
  background: none;
  font-family: var(--font-body);
}
.nav-link:hover,
.nav-link.active {
  color: var(--teal);
  background: var(--teal-pale);
}
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 8px;
  background: none;
  border: none;
}
.hamburger span {
  width: 22px;
  height: 2px;
  background: var(--navy);
  border-radius: 2px;
  display: block;
}
.mobile-menu {
  display: none;
  position: fixed;
  top: 68px;
  left: 0;
  right: 0;
  background: #fff;
  border-bottom: 1px solid var(--border);
  padding: 16px 5%;
  z-index: 199;
  flex-direction: column;
  gap: 4px;
}
.mobile-menu.open {
  display: flex;
}
.page {
  display: none;
}
.page.active {
  display: block;
}
/* HERO */
.hero {
  padding: 140px 0 80px;
  background: linear-gradient(160deg, var(--teal-pale) 0%, #fff 55%);
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: "";
  position: absolute;
  top: -80px;
  right: -80px;
  width: 500px;
  height: 500px;
  border-radius: 50%;
  background: radial-gradient(
    circle,
    rgba(15, 139, 108, 0.06) 0%,
    transparent 70%
  );
  pointer-events: none;
}
.hero-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 5%;
  display: grid;
  grid-template-columns: 1fr 420px;
  gap: 64px;
  align-items: center;
}
.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--teal-light);
  color: var(--teal);
  font-size: 13px;
  font-weight: 500;
  padding: 6px 14px;
  border-radius: 20px;
  margin-bottom: 24px;
}
.hero-eyebrow span {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--teal);
  display: block;
}
.hero h1 {
  font-family: var(--font-head);
  font-size: clamp(36px, 5.5vw, 60px);
  font-weight: 400;
  color: var(--navy);
  line-height: 1.1;
  margin-bottom: 22px;
}
.hero h1 em {
  font-style: italic;
  color: var(--teal);
}
.hero-p {
  font-size: 17px;
  color: var(--slate);
  line-height: 1.8;
  margin-bottom: 36px;
  max-width: 480px;
}
.hero-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}
.hero-stats {
  display: flex;
  gap: 32px;
  margin-top: 48px;
  padding-top: 32px;
  border-top: 1px solid var(--border);
}
.stat-num {
  font-family: var(--font-head);
  font-size: 28px;
  color: var(--navy);
  font-weight: 400;
}
.stat-label {
  font-size: 13px;
  color: var(--muted);
}
.hero-card {
  background: #fff;
  border-radius: 20px;
  border: 1px solid var(--border);
  padding: 32px;
  box-shadow: var(--shadow-lg);
}
.hero-card-title {
  font-family: var(--font-head);
  font-size: 18px;
  color: var(--navy);
  margin-bottom: 20px;
  font-weight: 400;
}
.consult-opt {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 16px;
  border-radius: 10px;
  border: 1px solid var(--border);
  cursor: pointer;
  transition: all 0.2s;
  text-decoration: none;
  margin-bottom: 10px;
}
.consult-opt:hover {
  border-color: var(--teal);
  background: var(--teal-pale);
  transform: translateX(4px);
}
.consult-icon {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  flex-shrink: 0;
}
.co-text span {
  font-size: 14px;
  font-weight: 500;
  color: var(--navy);
  display: block;
}
.co-text small {
  font-size: 12px;
  color: var(--muted);
}
.arrow-icon {
  margin-left: auto;
  flex-shrink: 0;
  color: var(--light);
}
/* TRUST BAR */
.trust-bar {
  background: var(--navy);
  padding: 24px 0;
}
.trust-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 5%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}
.trust-item {
  display: flex;
  align-items: center;
  gap: 10px;
  color: rgba(255, 255, 255, 0.75);
  font-size: 14px;
}
/* CONDITIONS */
.conditions-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-top: 48px;
}
.cond-card {
  border-radius: 16px;
  border: 1px solid var(--border);
  padding: 28px 24px;
  background: #fff;
  transition: all 0.25s;
  cursor: pointer;
  text-align: center;
}
.cond-card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-4px);
  border-color: var(--teal);
}
.cond-emoji {
  font-size: 36px;
  margin-bottom: 14px;
  display: block;
}
.cond-name {
  font-family: var(--font-head);
  font-size: 18px;
  color: var(--navy);
  margin-bottom: 6px;
  font-weight: 400;
}
.cond-desc {
  font-size: 13px;
  color: var(--muted);
  line-height: 1.6;
}
/* STEPS */
.steps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  margin-top: 48px;
}
.step-card {
  text-align: center;
  padding: 32px 24px;
}
.step-num {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--teal-light);
  color: var(--teal);
  font-weight: 500;
  font-size: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 18px;
}
.step-title {
  font-family: var(--font-head);
  font-size: 18px;
  color: var(--navy);
  margin-bottom: 10px;
  font-weight: 400;
}
.step-desc {
  font-size: 14px;
  color: var(--muted);
  line-height: 1.7;
}
/* TESTIMONIALS */
.testi-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 48px;
}
.testi-card {
  background: #fff;
  border-radius: 14px;
  border: 1px solid var(--border);
  padding: 28px;
}
.testi-stars {
  color: #f6c844;
  font-size: 14px;
  margin-bottom: 14px;
}
.testi-text {
  font-size: 15px;
  color: var(--slate);
  line-height: 1.75;
  margin-bottom: 20px;
  font-style: italic;
}
.testi-author {
  display: flex;
  align-items: center;
  gap: 12px;
}
.testi-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  font-weight: 500;
  flex-shrink: 0;
}
.testi-name {
  font-size: 14px;
  font-weight: 500;
  color: var(--navy);
}
.testi-cond {
  font-size: 12px;
  color: var(--muted);
}
/* CTA BANNER */
.cta-banner {
  background: var(--navy);
  padding: 80px 0;
  position: relative;
  overflow: hidden;
}
.cta-banner::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(
    ellipse at 70% 50%,
    rgba(15, 139, 108, 0.18) 0%,
    transparent 60%
  );
  pointer-events: none;
}
.cta-inner {
  max-width: 700px;
  margin: 0 auto;
  padding: 0 5%;
  text-align: center;
  position: relative;
}
.cta-banner h2 {
  font-family: var(--font-head);
  font-size: clamp(28px, 4vw, 44px);
  color: #fff;
  font-weight: 400;
  line-height: 1.2;
  margin-bottom: 16px;
}
.cta-banner p {
  font-size: 16px;
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: 32px;
  line-height: 1.75;
}
.cta-actions {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
}
/* PAGE HERO (inner pages) */
.appt-hero,
.tracker-hero,
.pay-hero,
.contact-hero {
  background: linear-gradient(135deg, var(--navy) 0%, #163254 100%);
  padding: 120px 0 72px;
  position: relative;
  overflow: hidden;
}
.about-hero,
.pkg-hero {
  background: var(--fog);
  padding: 120px 0 72px;
}
.page-hero-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 5%;
  position: relative;
}
.page-hero-tag {
  display: inline-block;
  background: rgba(15, 139, 108, 0.2);
  color: #6ee7c0;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 5px 14px;
  border-radius: 20px;
  margin-bottom: 18px;
}
.page-hero-title {
  font-family: var(--font-head);
  font-size: clamp(32px, 5vw, 52px);
  color: #fff;
  font-weight: 400;
  line-height: 1.15;
  margin-bottom: 16px;
}
.page-hero-sub {
  font-size: 16px;
  color: rgba(255, 255, 255, 0.65);
  max-width: 520px;
  line-height: 1.75;
}
/* APPOINTMENTS */
.appt-grid {
  display: grid;
  grid-template-columns: 1fr 400px;
  gap: 48px;
  align-items: start;
}
.book-form,
.contact-form-card {
  background: #fff;
  border-radius: 20px;
  border: 1px solid var(--border);
  padding: 40px;
  box-shadow: var(--shadow);
}
.form-section-title {
  font-family: var(--font-head);
  font-size: 20px;
  color: var(--navy);
  margin-bottom: 24px;
  font-weight: 400;
}
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-bottom: 0;
}
.form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 16px;
}
.form-group label {
  font-size: 13px;
  font-weight: 500;
  color: var(--slate);
}
.form-group input,
.form-group select,
.form-group textarea {
  padding: 11px 14px;
  border: 1px solid var(--border);
  border-radius: 8px;
  font-size: 14px;
  font-family: var(--font-body);
  color: var(--text);
  background: #fff;
  outline: none;
  transition: 0.2s;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--teal);
  box-shadow: 0 0 0 3px rgba(15, 139, 108, 0.1);
}
.form-group textarea {
  resize: vertical;
  min-height: 90px;
}
.platform-select {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin-bottom: 16px;
}
.plat-btn {
  padding: 14px 10px;
  border-radius: 10px;
  border: 1.5px solid var(--border);
  background: #fff;
  cursor: pointer;
  text-align: center;
  transition: all 0.2s;
  font-family: var(--font-body);
}
.plat-btn:hover,
.plat-btn.active {
  border-color: var(--teal);
  background: var(--teal-pale);
}
.plat-btn .plat-icon {
  font-size: 22px;
  display: block;
  margin-bottom: 6px;
}
.plat-btn .plat-name {
  font-size: 13px;
  font-weight: 500;
  color: var(--navy);
}
.plat-btn.active .plat-name {
  color: var(--teal);
}
.submit-btn {
  width: 100%;
  padding: 15px;
  background: var(--teal);
  color: #fff;
  border: none;
  border-radius: 10px;
  font-size: 16px;
  font-weight: 500;
  cursor: pointer;
  font-family: var(--font-body);
  transition: 0.2s;
  margin-top: 8px;
}
.submit-btn:hover {
  background: var(--teal-mid);
}
.appt-sidebar {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.sidebar-card {
  background: #fff;
  border-radius: 16px;
  border: 1px solid var(--border);
  padding: 24px;
}
.sidebar-card-title {
  font-weight: 500;
  color: var(--navy);
  margin-bottom: 16px;
  font-size: 15px;
}
.doctor-item {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 12px 0;
  border-bottom: 1px solid var(--border);
}
.doctor-item:last-child {
  border-bottom: none;
}
.doc-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  font-weight: 500;
  flex-shrink: 0;
}
.doc-name {
  font-size: 14px;
  font-weight: 500;
  color: var(--navy);
}
.doc-spec {
  font-size: 12px;
  color: var(--muted);
}
.doc-avail {
  font-size: 11px;
  color: var(--teal);
  margin-top: 2px;
  font-weight: 500;
}
.faq-item {
  border-bottom: 1px solid var(--border);
  padding: 16px 0;
  cursor: pointer;
}
.faq-item:last-child {
  border-bottom: none;
}
.faq-q {
  font-size: 14px;
  font-weight: 500;
  color: var(--navy);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
}
.faq-a {
  font-size: 13px;
  color: var(--muted);
  line-height: 1.65;
  margin-top: 10px;
  display: none;
}
.faq-a.open {
  display: block;
}
/* PACKAGES */
.pkg-tabs {
  display: flex;
  gap: 8px;
  background: var(--fog);
  padding: 6px;
  border-radius: 12px;
  width: fit-content;
  margin: 40px 0;
}
.pkg-tab {
  padding: 10px 24px;
  border-radius: 8px;
  border: none;
  background: none;
  font-size: 14px;
  font-weight: 500;
  color: var(--muted);
  cursor: pointer;
  font-family: var(--font-body);
  transition: 0.2s;
}
.pkg-tab.active {
  background: #fff;
  color: var(--navy);
  box-shadow: var(--shadow);
}
.packages-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.pkg-card {
  border-radius: 16px;
  border: 1px solid var(--border);
  padding: 28px;
  background: #fff;
  transition: all 0.25s;
  position: relative;
  overflow: hidden;
}
.pkg-card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-3px);
}
.pkg-card.featured {
  border-color: var(--teal);
  border-width: 2px;
}
.pkg-badge {
  position: absolute;
  top: 0;
  right: 0;
  background: var(--teal);
  color: #fff;
  font-size: 11px;
  font-weight: 500;
  padding: 5px 14px;
  border-radius: 0 16px 0 10px;
}
.pkg-icon-wrap {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  background: var(--teal-light);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 26px;
  margin-bottom: 18px;
}
.pkg-name {
  font-family: var(--font-head);
  font-size: 20px;
  color: var(--navy);
  margin-bottom: 4px;
  font-weight: 400;
}
.pkg-focus {
  font-size: 12px;
  color: var(--teal);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 16px;
}
.pkg-price {
  font-size: 28px;
  font-weight: 500;
  color: var(--navy);
  margin-bottom: 4px;
}
.pkg-price span {
  font-size: 14px;
  font-weight: 400;
  color: var(--muted);
}
.pkg-features {
  list-style: none;
  margin: 18px 0 22px;
  display: flex;
  flex-direction: column;
  gap: 9px;
}
.pkg-features li {
  font-size: 13px;
  color: var(--slate);
  display: flex;
  align-items: flex-start;
  gap: 8px;
  line-height: 1.5;
}
.pkg-features li::before {
  content: "✓";
  color: var(--teal);
  font-weight: 600;
  flex-shrink: 0;
  margin-top: 1px;
}
.pkg-cta {
  width: 100%;
  padding: 12px;
  border-radius: 8px;
  background: var(--teal);
  color: #fff;
  border: none;
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  font-family: var(--font-body);
  transition: 0.2s;
}
.pkg-cta:hover {
  background: var(--teal-mid);
}
.compare-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 28px;
  font-size: 14px;
}
.compare-table th {
  padding: 14px 16px;
  text-align: left;
  background: var(--navy);
  color: #fff;
  font-weight: 500;
}
.compare-table th:first-child {
  border-radius: 10px 0 0 0;
}
.compare-table th:last-child {
  border-radius: 0 10px 0 0;
}
.compare-table td {
  padding: 13px 16px;
  border-bottom: 1px solid var(--border);
  color: var(--slate);
}
.compare-table td:first-child {
  font-weight: 500;
  color: var(--navy);
}
.compare-table tr:hover td {
  background: var(--fog);
}
.check-yes {
  color: var(--teal);
  font-weight: 600;
}
.check-no {
  color: var(--light);
}
/* TRACKER */
.tracker-layout {
  display: grid;
  grid-template-columns: 1fr 380px;
  gap: 40px;
}
.log-form-card,
.readings-card,
.reminder-card,
.sidebar-card {
  background: #fff;
  border-radius: 16px;
  border: 1px solid var(--border);
  padding: 28px;
}
.log-form-card {
  margin-bottom: 24px;
}
.readings-card {
  padding: 28px;
}
.card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 24px;
}
.card-title {
  font-family: var(--font-head);
  font-size: 18px;
  color: var(--navy);
  font-weight: 400;
}
.filter-btns {
  display: flex;
  gap: 6px;
}
.filter-btn {
  padding: 6px 14px;
  border-radius: 20px;
  border: 1px solid var(--border);
  background: none;
  font-size: 12px;
  font-weight: 500;
  color: var(--muted);
  cursor: pointer;
  font-family: var(--font-body);
  transition: 0.2s;
}
.filter-btn.active {
  background: var(--teal);
  color: #fff;
  border-color: var(--teal);
}
.log-entry {
  display: flex;
  align-items: center;
  padding: 14px 0;
  border-bottom: 1px solid var(--border);
}
.log-entry:last-child {
  border-bottom: none;
}
.log-type {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  flex-shrink: 0;
  margin-right: 12px;
}
.log-info {
  flex: 1;
}
.log-val {
  font-weight: 500;
  color: var(--navy);
  font-size: 14px;
}
.log-meta {
  font-size: 12px;
  color: var(--muted);
  margin-top: 2px;
}
.status-pill {
  font-size: 11px;
  padding: 4px 11px;
  border-radius: 20px;
  font-weight: 500;
  white-space: nowrap;
  flex-shrink: 0;
}
.status-normal {
  background: #e1f5ee;
  color: #0f6e56;
}
.status-high {
  background: #faece7;
  color: #993c1d;
}
.status-low {
  background: #fff8e1;
  color: #7b5b00;
}
.tracker-sidebar {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.reminder-card {
  padding: 24px;
}
.reminder-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 0;
  border-bottom: 1px solid var(--border);
}
.reminder-item:last-child {
  border-bottom: none;
}
.r-title {
  font-size: 14px;
  font-weight: 500;
  color: var(--navy);
}
.r-next {
  font-size: 12px;
  color: var(--muted);
  margin-top: 2px;
}
.r-next strong {
  color: var(--teal);
}
.toggle {
  width: 44px;
  height: 24px;
  border-radius: 12px;
  background: var(--teal);
  border: none;
  cursor: pointer;
  position: relative;
  flex-shrink: 0;
  transition: 0.3s;
}
.toggle::after {
  content: "";
  position: absolute;
  top: 3px;
  right: 3px;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: #fff;
  transition: 0.2s;
}
.toggle.off {
  background: var(--border);
}
.toggle.off::after {
  right: auto;
  left: 3px;
}
.health-tip-card {
  background: var(--teal-pale);
  border: 1px solid rgba(15, 139, 108, 0.2);
  border-radius: 16px;
  padding: 24px;
}
.tip-tag {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-weight: 500;
  color: var(--teal);
  margin-bottom: 10px;
}
.tip-text {
  font-size: 14px;
  color: var(--navy);
  line-height: 1.7;
}
.save-reading-btn {
  width: 100%;
  padding: 13px;
  background: var(--teal);
  color: #fff;
  border: none;
  border-radius: 8px;
  font-size: 15px;
  font-weight: 500;
  cursor: pointer;
  font-family: var(--font-body);
  transition: 0.2s;
}
.save-reading-btn:hover {
  background: var(--teal-mid);
}
.success-bar {
  background: var(--teal-light);
  color: #0f6e56;
  padding: 12px 16px;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 500;
  text-align: center;
  display: none;
  margin-top: 12px;
}
.summary-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin-bottom: 24px;
}
.summary-stat {
  background: var(--fog);
  border-radius: 12px;
  padding: 16px;
  text-align: center;
}
.summary-val {
  font-family: var(--font-head);
  font-size: 24px;
  color: var(--navy);
  font-weight: 400;
}
.summary-label {
  font-size: 12px;
  color: var(--muted);
  margin-top: 4px;
}
/* PRICING */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 64px;
}
.price-card {
  border-radius: 20px;
  border: 1px solid var(--border);
  padding: 36px;
  background: #fff;
  position: relative;
  transition: all 0.25s;
}
.price-card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-3px);
}
.price-card.highlight {
  background: var(--navy);
  border-color: var(--navy);
}
.price-tag-popular {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--teal);
  color: #fff;
  font-size: 11px;
  font-weight: 500;
  padding: 4px 16px;
  border-radius: 20px;
  white-space: nowrap;
}
.price-name {
  font-size: 13px;
  font-weight: 500;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 16px;
}
.price-amount {
  font-family: var(--font-head);
  font-size: 42px;
  color: var(--navy);
  font-weight: 400;
  line-height: 1;
}
.price-period {
  font-size: 14px;
  color: var(--muted);
}
.price-desc {
  font-size: 14px;
  color: var(--muted);
  margin: 16px 0 24px;
  line-height: 1.65;
}
.price-features {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 28px;
}
.price-feature {
  font-size: 14px;
  color: var(--slate);
  display: flex;
  gap: 8px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--border);
}
.price-feature::before {
  content: "✓";
  color: var(--teal);
  font-weight: 600;
  flex-shrink: 0;
}
.price-btn {
  width: 100%;
  padding: 13px;
  border-radius: 10px;
  font-size: 15px;
  font-weight: 500;
  cursor: pointer;
  font-family: var(--font-body);
  transition: 0.2s;
  border: none;
}
.price-btn-p {
  background: var(--teal);
  color: #fff;
}
.price-btn-p:hover {
  background: var(--teal-mid);
}
.price-btn-o {
  background: transparent;
  color: var(--navy);
  border: 1.5px solid var(--border2) !important;
  border-radius: 10px !important;
}
.price-btn-o:hover {
  border-color: var(--teal) !important;
  color: var(--teal) !important;
}
.price-btn-w {
  background: #fff;
  color: var(--navy);
}
.price-btn-w:hover {
  background: #f0f4f8;
}
.pay-methods {
  margin-top: 80px;
  text-align: center;
}
.pay-method-cards {
  display: flex;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
  margin: 32px 0;
}
.pay-method-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 20px 28px;
  text-align: center;
  min-width: 120px;
  transition: all 0.2s;
}
.pay-method-card:hover {
  box-shadow: var(--shadow);
  border-color: var(--teal);
}
.pm-icon {
  font-size: 26px;
  margin-bottom: 8px;
}
.pm-label {
  font-size: 13px;
  color: var(--muted);
  font-weight: 500;
}
.flw-banner {
  background: linear-gradient(135deg, var(--teal) 0%, #0a6b54 100%);
  border-radius: 20px;
  padding: 48px;
  text-align: center;
  color: #fff;
}
.flw-banner h3 {
  font-family: var(--font-head);
  font-size: 28px;
  font-weight: 400;
  margin-bottom: 10px;
}
.flw-banner p {
  font-size: 15px;
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: 28px;
}
/* ABOUT */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}
.about-visual {
  border-radius: 20px;
  background: linear-gradient(160deg, var(--teal-pale), var(--teal-light));
  padding: 40px;
  min-height: 360px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 20px;
}
.about-icon-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
  width: 100%;
}
.about-icon-box {
  background: #fff;
  border-radius: 14px;
  padding: 22px;
  text-align: center;
  box-shadow: var(--shadow);
}
.aib-icon {
  font-size: 26px;
  margin-bottom: 8px;
}
.aib-label {
  font-size: 13px;
  font-weight: 500;
  color: var(--navy);
}
.about-body p {
  font-size: 16px;
  color: var(--slate);
  line-height: 1.8;
  margin-bottom: 18px;
}
.team-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 48px;
}
.team-card {
  border-radius: 16px;
  border: 1px solid var(--border);
  overflow: hidden;
  transition: all 0.25s;
}
.team-card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-3px);
}
.team-avatar-wrap {
  height: 160px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 48px;
}
.team-info {
  padding: 20px;
}
.team-name {
  font-family: var(--font-head);
  font-size: 18px;
  color: var(--navy);
  font-weight: 400;
  margin-bottom: 4px;
}
.team-role {
  font-size: 13px;
  color: var(--teal);
  font-weight: 500;
  margin-bottom: 8px;
}
.team-bio {
  font-size: 13px;
  color: var(--muted);
  line-height: 1.6;
}
.values-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 48px;
}
.value-card {
  padding: 28px;
  border-radius: 14px;
  border: 1px solid var(--border);
}
.value-icon {
  font-size: 28px;
  margin-bottom: 14px;
  display: block;
}
.value-title {
  font-family: var(--font-head);
  font-size: 16px;
  color: var(--navy);
  margin-bottom: 8px;
  font-weight: 400;
}
.value-desc {
  font-size: 13px;
  color: var(--muted);
  line-height: 1.7;
}
/* CONTACT */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: start;
}
.contact-info-item {
  display: flex;
  gap: 16px;
  margin-bottom: 28px;
}
.ci-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: var(--teal-light);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  flex-shrink: 0;
}
.ci-label {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-weight: 500;
  color: var(--muted);
  margin-bottom: 4px;
}
.ci-value {
  font-size: 15px;
  font-weight: 500;
  color: var(--navy);
  line-height: 1.5;
}
/* MODAL */
.modal-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.55);
  z-index: 500;
  align-items: center;
  justify-content: center;
  backdrop-filter: blur(3px);
}
.modal-overlay.open {
  display: flex;
}
.modal {
  background: #fff;
  border-radius: 20px;
  padding: 40px;
  max-width: 460px;
  width: 90%;
  position: relative;
  animation: modal-in 0.25s ease;
}
@keyframes modal-in {
  from {
    opacity: 0;
    transform: scale(0.95) translateY(10px);
  }
  to {
    opacity: 1;
    transform: scale(1) translateY(0);
  }
}
.modal-close {
  position: absolute;
  top: 16px;
  right: 16px;
  background: var(--fog);
  border: none;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  cursor: pointer;
  font-size: 16px;
  color: var(--muted);
  display: flex;
  align-items: center;
  justify-content: center;
}
.modal h3 {
  font-family: var(--font-head);
  font-size: 24px;
  color: var(--navy);
  margin-bottom: 6px;
  font-weight: 400;
}
.modal-sub {
  font-size: 14px;
  color: var(--muted);
  margin-bottom: 24px;
}
.modal-detail-row {
  display: flex;
  justify-content: space-between;
  font-size: 14px;
  padding: 10px 0;
  border-bottom: 1px solid var(--border);
}
.modal-detail-row:last-child {
  border-bottom: none;
}
.modal-detail-row span:first-child {
  color: var(--muted);
}
.modal-detail-row span:last-child {
  font-weight: 500;
  color: var(--navy);
}
.modal-detail-box {
  background: var(--fog);
  border-radius: 12px;
  padding: 16px;
  margin-bottom: 24px;
}
.pay-now-btn {
  width: 100%;
  padding: 15px;
  background: var(--teal);
  color: #fff;
  border: none;
  border-radius: 10px;
  font-size: 16px;
  font-weight: 500;
  cursor: pointer;
  font-family: var(--font-body);
  transition: 0.2s;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}
.pay-now-btn:hover {
  background: var(--teal-mid);
}
.modal-secure {
  text-align: center;
  font-size: 12px;
  color: var(--muted);
  margin-top: 12px;
}
/* FOOTER */
footer {
  background: var(--navy);
  color: rgba(255, 255, 255, 0.6);
  padding: 64px 0 32px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 48px;
}
.footer-brand p {
  font-size: 14px;
  line-height: 1.75;
  max-width: 280px;
}
.footer-col h4 {
  font-size: 13px;
  font-weight: 500;
  color: #fff;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 18px;
}
.footer-links {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.footer-links a,
.footer-links span {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.55);
  text-decoration: none;
  cursor: pointer;
  transition: 0.2s;
}
.footer-links a:hover,
.footer-links span:hover {
  color: var(--teal);
}
.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 13px;
}
.footer-badges {
  display: flex;
  gap: 10px;
}
.badge {
  background: rgba(255, 255, 255, 0.08);
  padding: 6px 14px;
  border-radius: 20px;
  font-size: 12px;
  color: rgba(255, 255, 255, 0.55);
}
/* TOAST */
.toast {
  position: fixed;
  bottom: 28px;
  left: 50%;
  transform: translateX(-50%) translateY(20px);
  background: var(--navy);
  color: #fff;
  padding: 14px 28px;
  border-radius: 10px;
  font-size: 14px;
  font-weight: 500;
  z-index: 999;
  opacity: 0;
  transition: all 0.3s;
  pointer-events: none;
  white-space: nowrap;
}
.toast.show {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

/* ─── AUTH PAGES ─── */
.auth-wrap {
  min-height: 100vh;
  display: grid;
  grid-template-columns: 1fr 1fr;
  padding-top: 0;
}
.auth-left {
  background: linear-gradient(160deg, var(--navy) 0%, #163254 100%);
  padding: 80px 60px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  position: relative;
  overflow: hidden;
}
.auth-left::before {
  content: "";
  position: absolute;
  bottom: -80px;
  right: -80px;
  width: 320px;
  height: 320px;
  border-radius: 50%;
  background: rgba(15, 139, 108, 0.12);
}
.auth-brand {
  font-family: var(--font-head);
  font-size: 26px;
  color: #fff;
  font-weight: 500;
  margin-bottom: 48px;
}
.auth-brand span {
  color: var(--teal);
}
.auth-headline {
  font-family: var(--font-head);
  font-size: clamp(28px, 3.5vw, 42px);
  color: #fff;
  font-weight: 400;
  line-height: 1.2;
  margin-bottom: 18px;
}
.auth-headline em {
  font-style: italic;
  color: #6ee7c0;
}
.auth-tagline {
  font-size: 15px;
  color: rgba(255, 255, 255, 0.6);
  line-height: 1.75;
  max-width: 360px;
  margin-bottom: 48px;
}
.auth-features {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.auth-feat {
  display: flex;
  align-items: center;
  gap: 12px;
  color: rgba(255, 255, 255, 0.8);
  font-size: 14px;
}
.auth-feat-icon {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  background: rgba(15, 139, 108, 0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 15px;
  flex-shrink: 0;
}
.auth-right {
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 80px 60px;
}
.auth-form-box {
  width: 100%;
  max-width: 420px;
}
.auth-title {
  font-family: var(--font-head);
  font-size: 28px;
  color: var(--navy);
  font-weight: 400;
  margin-bottom: 6px;
}
.auth-sub {
  font-size: 14px;
  color: var(--muted);
  margin-bottom: 32px;
}
.auth-sub a,
.auth-sub span.link {
  color: var(--teal);
  cursor: pointer;
  text-decoration: none;
  font-weight: 500;
}
.auth-sub a:hover,
.auth-sub span.link:hover {
  text-decoration: underline;
}
.auth-form .form-group {
  margin-bottom: 18px;
}
.auth-form .form-group label {
  font-size: 13px;
  font-weight: 500;
  color: var(--slate);
  display: block;
  margin-bottom: 6px;
}
.auth-form .form-group input {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid var(--border);
  border-radius: 8px;
  font-size: 14px;
  font-family: var(--font-body);
  color: var(--text);
  outline: none;
  transition: 0.2s;
}
.auth-form .form-group input:focus {
  border-color: var(--teal);
  box-shadow: 0 0 0 3px rgba(15, 139, 108, 0.1);
}
.auth-form .form-group.pass-wrap {
  position: relative;
}
.auth-form .form-group.pass-wrap input {
  padding-right: 44px;
}
.eye-btn {
  position: absolute;
  right: 14px;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: none;
  cursor: pointer;
  color: var(--muted);
  font-size: 16px;
  padding: 2px;
}
.auth-submit {
  width: 100%;
  padding: 14px;
  background: var(--teal);
  color: #fff;
  border: none;
  border-radius: 10px;
  font-size: 16px;
  font-weight: 500;
  cursor: pointer;
  font-family: var(--font-body);
  transition: 0.2s;
  margin-top: 4px;
}
.auth-submit:hover {
  background: var(--teal-mid);
}
.auth-divider {
  display: flex;
  align-items: center;
  gap: 14px;
  margin: 24px 0;
  color: var(--muted);
  font-size: 13px;
}
.auth-divider::before,
.auth-divider::after {
  content: "";
  flex: 1;
  height: 1px;
  background: var(--border);
}
.social-btn {
  width: 100%;
  padding: 12px;
  border: 1px solid var(--border);
  border-radius: 8px;
  font-size: 14px;
  font-weight: 500;
  color: var(--slate);
  cursor: pointer;
  font-family: var(--font-body);
  background: #fff;
  transition: 0.2s;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-bottom: 10px;
}
.social-btn:hover {
  border-color: var(--border2);
  background: var(--fog);
}
.forgot-link {
  font-size: 13px;
  color: var(--teal);
  cursor: pointer;
  text-decoration: none;
  float: right;
  margin-top: 4px;
}
.forgot-link:hover {
  text-decoration: underline;
}
.form-row-check {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 18px;
  font-size: 13px;
  color: var(--slate);
}
.form-row-check input[type="checkbox"] {
  width: 16px;
  height: 16px;
  accent-color: var(--teal);
  cursor: pointer;
}
.auth-error {
  background: #faece7;
  color: #993c1d;
  padding: 12px 14px;
  border-radius: 8px;
  font-size: 13px;
  margin-bottom: 16px;
  display: none;
}
.auth-error.show {
  display: block;
}
.pw-strength {
  height: 4px;
  border-radius: 2px;
  margin-top: 6px;
  background: var(--border);
  overflow: hidden;
}
.pw-bar {
  height: 100%;
  width: 0;
  border-radius: 2px;
  transition:
    width 0.3s,
    background 0.3s;
}
/* ─── PATIENT DASHBOARD ─── */
.dash-layout {
  display: grid;
  grid-template-columns: 240px 1fr;
  min-height: 100vh;
  padding-top: 68px;
}
.dash-sidebar {
  background: var(--navy);
  padding: 32px 0;
  display: flex;
  flex-direction: column;
}
.dash-user {
  padding: 0 24px 28px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  margin-bottom: 20px;
}
.dash-avatar {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: var(--teal);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  font-weight: 500;
  color: #fff;
  margin-bottom: 12px;
}
.dash-user-name {
  font-size: 15px;
  font-weight: 500;
  color: #fff;
}
.dash-user-tag {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.5);
  margin-top: 2px;
}
.dash-nav {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: 0 12px;
  flex: 1;
}
.dash-nav-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 11px 14px;
  border-radius: 8px;
  font-size: 14px;
  color: rgba(255, 255, 255, 0.6);
  cursor: pointer;
  transition: 0.2s;
  border: none;
  background: none;
  font-family: var(--font-body);
  text-align: left;
  width: 100%;
}
.dash-nav-item:hover {
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
}
.dash-nav-item.active {
  background: rgba(15, 139, 108, 0.2);
  color: #6ee7c0;
}
.dash-nav-icon {
  font-size: 16px;
  width: 20px;
  text-align: center;
  flex-shrink: 0;
}
.dash-signout {
  padding: 20px 24px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  margin-top: auto;
}
.dash-signout button {
  display: flex;
  align-items: center;
  gap: 8px;
  color: rgba(255, 255, 255, 0.45);
  font-size: 13px;
  cursor: pointer;
  background: none;
  border: none;
  font-family: var(--font-body);
  transition: 0.2s;
}
.dash-signout button:hover {
  color: #fff;
}
.dash-main {
  background: var(--fog);
  padding: 40px;
}
.dash-header {
  margin-bottom: 32px;
}
.dash-greeting {
  font-family: var(--font-head);
  font-size: 28px;
  color: var(--navy);
  font-weight: 400;
  margin-bottom: 4px;
}
.dash-date {
  font-size: 14px;
  color: var(--muted);
}
.dash-panel {
  display: none;
}
.dash-panel.active {
  display: block;
}
.dash-cards {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-bottom: 32px;
}
.dash-card {
  background: #fff;
  border-radius: 14px;
  border: 1px solid var(--border);
  padding: 20px;
}
.dash-card-label {
  font-size: 12px;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 8px;
}
.dash-card-val {
  font-family: var(--font-head);
  font-size: 26px;
  color: var(--navy);
  font-weight: 400;
  margin-bottom: 4px;
}
.dash-card-sub {
  font-size: 12px;
  color: var(--muted);
}
.dash-card-status {
  font-size: 11px;
  font-weight: 500;
  padding: 3px 10px;
  border-radius: 20px;
  display: inline-block;
  margin-top: 6px;
}
.dash-section-title {
  font-family: var(--font-head);
  font-size: 18px;
  color: var(--navy);
  font-weight: 400;
  margin-bottom: 18px;
}
.dash-grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-bottom: 24px;
}
.dash-white-card {
  background: #fff;
  border-radius: 14px;
  border: 1px solid var(--border);
  padding: 24px;
}
.appt-item {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 0;
  border-bottom: 1px solid var(--border);
}
.appt-item:last-child {
  border-bottom: none;
}
.appt-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  flex-shrink: 0;
}
.appt-info {
  flex: 1;
}
.appt-title {
  font-size: 14px;
  font-weight: 500;
  color: var(--navy);
}
.appt-meta {
  font-size: 12px;
  color: var(--muted);
  margin-top: 2px;
}
.appt-badge {
  font-size: 11px;
  padding: 4px 10px;
  border-radius: 20px;
  font-weight: 500;
}
.med-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 0;
  border-bottom: 1px solid var(--border);
  font-size: 14px;
}
.med-item:last-child {
  border-bottom: none;
}
.med-name {
  font-weight: 500;
  color: var(--navy);
}
.med-dose {
  color: var(--muted);
  font-size: 13px;
  margin-top: 2px;
}
.med-time {
  font-size: 12px;
  color: var(--teal);
  font-weight: 500;
}
.activity-item {
  display: flex;
  gap: 14px;
  padding: 12px 0;
  border-bottom: 1px solid var(--border);
}
.activity-item:last-child {
  border-bottom: none;
}
.act-icon {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 15px;
  flex-shrink: 0;
}
.act-text {
  font-size: 13px;
  color: var(--slate);
  line-height: 1.55;
}
.act-time {
  font-size: 11px;
  color: var(--muted);
  margin-top: 3px;
}
.profile-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}
.profile-section {
  background: #fff;
  border-radius: 14px;
  border: 1px solid var(--border);
  padding: 28px;
}
.profile-section-title {
  font-size: 14px;
  font-weight: 500;
  color: var(--navy);
  margin-bottom: 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.edit-btn {
  font-size: 13px;
  color: var(--teal);
  cursor: pointer;
  background: none;
  border: none;
  font-family: var(--font-body);
}
.profile-row {
  display: flex;
  justify-content: space-between;
  padding: 10px 0;
  border-bottom: 1px solid var(--border);
  font-size: 14px;
}
.profile-row:last-child {
  border-bottom: none;
}
.profile-row span:first-child {
  color: var(--muted);
}
.profile-row span:last-child {
  color: var(--navy);
  font-weight: 500;
}
.save-profile-btn {
  margin-top: 16px;
  padding: 11px 22px;
  background: var(--teal);
  color: #fff;
  border: none;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  font-family: var(--font-body);
}
@media (max-width: 900px) {
  .auth-wrap {
    grid-template-columns: 1fr;
  }
  .auth-left {
    display: none;
  }
  .auth-right {
    padding: 100px 5% 48px;
  }
  .dash-layout {
    grid-template-columns: 1fr;
  }
  .dash-sidebar {
    display: none;
  }
  .dash-cards {
    grid-template-columns: 1fr 1fr;
  }
  .dash-grid-2 {
    grid-template-columns: 1fr;
  }
  .profile-grid {
    grid-template-columns: 1fr;
  }
}
@media (max-width: 600px) {
  .dash-cards {
    grid-template-columns: 1fr;
  }
}

/* RESPONSIVE */
@media (max-width: 900px) {
  .hero-inner,
  .appt-grid,
  .tracker-layout,
  .contact-grid,
  .about-grid {
    grid-template-columns: 1fr;
  }
  .conditions-grid,
  .packages-grid,
  .pricing-grid,
  .steps-grid,
  .testi-grid,
  .team-grid,
  .values-grid {
    grid-template-columns: 1fr 1fr;
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
  .nav-links,
  .nav-cta {
    display: none;
  }
  .hamburger {
    display: flex;
  }
  .hero-card {
    display: none;
  }
}
@media (max-width: 600px) {
  .conditions-grid,
  .packages-grid,
  .pricing-grid,
  .steps-grid,
  .testi-grid,
  .team-grid,
  .values-grid,
  .form-row,
  .platform-select {
    grid-template-columns: 1fr;
  }
  .footer-grid {
    grid-template-columns: 1fr;
  }
  .summary-grid {
    grid-template-columns: 1fr 1fr;
  }
}

/* ─── AUTH PAGES ─── */
.auth-wrap {
  min-height: 100vh;
  display: grid;
  grid-template-columns: 1fr 1fr;
}
.auth-left {
  background: linear-gradient(160deg, var(--navy) 0%, #0d2d50 100%);
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 64px;
  position: relative;
  overflow: hidden;
}
.auth-left::before {
  content: "";
  position: absolute;
  top: -80px;
  right: -80px;
  width: 400px;
  height: 400px;
  border-radius: 50%;
  background: rgba(15, 139, 108, 0.12);
}
.auth-left::after {
  content: "";
  position: absolute;
  bottom: -60px;
  left: -60px;
  width: 300px;
  height: 300px;
  border-radius: 50%;
  background: rgba(15, 139, 108, 0.07);
}
.auth-left-inner {
  position: relative;
  z-index: 1;
}
.auth-brand {
  font-family: var(--font-head);
  font-size: 26px;
  color: #fff;
  font-weight: 500;
  margin-bottom: 48px;
  display: block;
}
.auth-brand span {
  color: var(--teal);
}
.auth-headline {
  font-family: var(--font-head);
  font-size: clamp(28px, 3.5vw, 42px);
  color: #fff;
  font-weight: 400;
  line-height: 1.2;
  margin-bottom: 18px;
}
.auth-headline em {
  font-style: italic;
  color: #6ee7c0;
}
.auth-tagline {
  font-size: 15px;
  color: rgba(255, 255, 255, 0.6);
  line-height: 1.75;
  margin-bottom: 48px;
  max-width: 380px;
}
.auth-features {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.auth-feat {
  display: flex;
  align-items: center;
  gap: 14px;
  color: rgba(255, 255, 255, 0.75);
  font-size: 14px;
}
.auth-feat-icon {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: rgba(15, 139, 108, 0.2);
  border: 1px solid rgba(15, 139, 108, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  flex-shrink: 0;
}
.auth-right {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 48px 5%;
  background: #fff;
}
.auth-card {
  width: 100%;
  max-width: 440px;
}
.auth-card-header {
  margin-bottom: 32px;
}
.auth-card-title {
  font-family: var(--font-head);
  font-size: 28px;
  color: var(--navy);
  font-weight: 400;
  margin-bottom: 8px;
}
.auth-card-sub {
  font-size: 15px;
  color: var(--muted);
}
.auth-card-sub a,
.auth-card-sub span {
  color: var(--teal);
  cursor: pointer;
  font-weight: 500;
  text-decoration: none;
}
.auth-divider {
  display: flex;
  align-items: center;
  gap: 14px;
  margin: 24px 0;
  color: var(--muted);
  font-size: 13px;
}
.auth-divider::before,
.auth-divider::after {
  content: "";
  flex: 1;
  height: 1px;
  background: var(--border);
}
.social-btn {
  width: 100%;
  padding: 12px;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: #fff;
  font-size: 14px;
  font-weight: 500;
  color: var(--text);
  cursor: pointer;
  font-family: var(--font-body);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  transition: 0.2s;
  margin-bottom: 12px;
}
.social-btn:hover {
  background: var(--fog);
  border-color: var(--border2);
}
.auth-form .form-group {
  margin-bottom: 18px;
}
.auth-form input {
  width: 100%;
}
.forgot-link {
  font-size: 13px;
  color: var(--teal);
  cursor: pointer;
  text-align: right;
  display: block;
  margin-top: 6px;
  font-weight: 500;
}
.auth-submit {
  width: 100%;
  padding: 14px;
  background: var(--teal);
  color: #fff;
  border: none;
  border-radius: 10px;
  font-size: 16px;
  font-weight: 500;
  cursor: pointer;
  font-family: var(--font-body);
  transition: 0.2s;
  margin-top: 4px;
}
.auth-submit:hover {
  background: var(--teal-mid);
}
.auth-terms {
  font-size: 12px;
  color: var(--muted);
  text-align: center;
  margin-top: 16px;
  line-height: 1.6;
}
.auth-terms a {
  color: var(--teal);
  text-decoration: none;
}
.pw-strength {
  height: 4px;
  border-radius: 2px;
  background: var(--border);
  margin-top: 8px;
  overflow: hidden;
}
.pw-strength-bar {
  height: 100%;
  border-radius: 2px;
  transition:
    width 0.3s,
    background 0.3s;
  width: 0;
}
.pw-hint {
  font-size: 12px;
  color: var(--muted);
  margin-top: 5px;
}
.input-eye {
  position: relative;
}
.input-eye input {
  padding-right: 42px;
}
.eye-btn {
  position: absolute;
  right: 12px;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: none;
  cursor: pointer;
  color: var(--muted);
  font-size: 16px;
  padding: 2px;
}
.auth-error {
  background: #faece7;
  color: #993c1d;
  padding: 12px 14px;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 500;
  margin-bottom: 16px;
  display: none;
}

/* ─── DASHBOARD ─── */
.dashboard-layout {
  display: grid;
  grid-template-columns: 260px 1fr;
  min-height: 100vh;
  padding-top: 68px;
}
.dash-sidebar {
  background: var(--navy);
  padding: 32px 0;
  position: sticky;
  top: 68px;
  height: calc(100vh - 68px);
  overflow-y: auto;
  display: flex;
  flex-direction: column;
}
.dash-user {
  padding: 0 24px 28px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  margin-bottom: 16px;
}
.dash-avatar {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: var(--teal);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  font-weight: 600;
  color: #fff;
  margin-bottom: 12px;
}
.dash-user-name {
  font-size: 15px;
  font-weight: 500;
  color: #fff;
  margin-bottom: 3px;
}
.dash-user-pkg {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.5);
}
.dash-pkg-badge {
  display: inline-block;
  background: rgba(15, 139, 108, 0.2);
  color: #6ee7c0;
  font-size: 11px;
  font-weight: 500;
  padding: 3px 10px;
  border-radius: 20px;
  margin-top: 6px;
}
.dash-nav {
  flex: 1;
  padding: 0 12px;
}
.dash-nav-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 11px 14px;
  border-radius: 8px;
  color: rgba(255, 255, 255, 0.6);
  font-size: 14px;
  cursor: pointer;
  transition: 0.2s;
  margin-bottom: 2px;
  border: none;
  background: none;
  font-family: var(--font-body);
  width: 100%;
  text-align: left;
}
.dash-nav-item:hover {
  background: rgba(255, 255, 255, 0.07);
  color: #fff;
}
.dash-nav-item.active {
  background: rgba(15, 139, 108, 0.2);
  color: #fff;
}
.dash-nav-item .nav-icon {
  font-size: 18px;
  width: 24px;
  flex-shrink: 0;
}
.dash-nav-section {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: rgba(255, 255, 255, 0.3);
  padding: 16px 14px 6px;
  font-weight: 500;
}
.dash-signout {
  padding: 16px 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  margin-top: auto;
}
.dash-main {
  background: var(--fog);
  padding: 40px 5%;
}
.dash-header {
  margin-bottom: 32px;
}
.dash-greeting {
  font-family: var(--font-head);
  font-size: clamp(22px, 3vw, 32px);
  color: var(--navy);
  font-weight: 400;
  margin-bottom: 6px;
}
.dash-date {
  font-size: 14px;
  color: var(--muted);
}
.dash-panel {
  display: none;
}
.dash-panel.active {
  display: block;
}
.d-grid-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-bottom: 28px;
}
.d-stat-card {
  background: #fff;
  border-radius: 14px;
  border: 1px solid var(--border);
  padding: 20px;
  transition: 0.2s;
}
.d-stat-card:hover {
  box-shadow: var(--shadow);
}
.d-stat-label {
  font-size: 12px;
  color: var(--muted);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 8px;
}
.d-stat-val {
  font-family: var(--font-head);
  font-size: 28px;
  color: var(--navy);
  font-weight: 400;
  line-height: 1;
}
.d-stat-sub {
  font-size: 12px;
  margin-top: 6px;
}
.d-stat-up {
  color: var(--teal);
}
.d-stat-down {
  color: #993c1d;
}
.d-grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-bottom: 20px;
}
.d-card {
  background: #fff;
  border-radius: 14px;
  border: 1px solid var(--border);
  padding: 24px;
}
.d-card-title {
  font-weight: 500;
  color: var(--navy);
  font-size: 15px;
  margin-bottom: 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.d-card-title span {
  font-size: 12px;
  color: var(--teal);
  cursor: pointer;
  font-weight: 500;
}
.d-appt-item {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 12px 0;
  border-bottom: 1px solid var(--border);
}
.d-appt-item:last-child {
  border-bottom: none;
}
.d-appt-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--teal);
  flex-shrink: 0;
}
.d-appt-dot.upcoming {
  background: #f6c844;
}
.d-appt-dot.missed {
  background: #e24b4a;
}
.d-appt-info {
  flex: 1;
}
.d-appt-title {
  font-size: 14px;
  font-weight: 500;
  color: var(--navy);
}
.d-appt-meta {
  font-size: 12px;
  color: var(--muted);
  margin-top: 2px;
}
.d-appt-badge {
  font-size: 11px;
  padding: 3px 10px;
  border-radius: 20px;
  font-weight: 500;
}
.badge-done {
  background: #e1f5ee;
  color: #0f6e56;
}
.badge-upcoming {
  background: #fff8e1;
  color: #7b5b00;
}
.badge-missed {
  background: #faece7;
  color: #993c1d;
}
.d-quick-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-top: 20px;
}
.d-qa-btn {
  padding: 14px;
  border-radius: 10px;
  border: 1.5px solid var(--border);
  background: #fff;
  cursor: pointer;
  font-family: var(--font-body);
  text-align: left;
  transition: all 0.2s;
  display: flex;
  align-items: center;
  gap: 12px;
}
.d-qa-btn:hover {
  border-color: var(--teal);
  background: var(--teal-pale);
}
.d-qa-icon {
  font-size: 22px;
}
.d-qa-label {
  font-size: 13px;
  font-weight: 500;
  color: var(--navy);
}
.d-qa-sub {
  font-size: 11px;
  color: var(--muted);
  margin-top: 2px;
}
.progress-bar-wrap {
  margin: 10px 0;
}
.progress-label {
  display: flex;
  justify-content: space-between;
  font-size: 13px;
  margin-bottom: 6px;
}
.progress-label span:first-child {
  color: var(--slate);
}
.progress-label span:last-child {
  font-weight: 500;
  color: var(--navy);
}
.progress-bar {
  height: 8px;
  background: var(--fog);
  border-radius: 4px;
  overflow: hidden;
}
.progress-fill {
  height: 100%;
  border-radius: 4px;
  background: var(--teal);
  transition: width 0.6s;
}
.d-reading-row {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 0;
  border-bottom: 1px solid var(--border);
}
.d-reading-row:last-child {
  border-bottom: none;
}
.d-reading-icon {
  font-size: 20px;
  width: 32px;
  text-align: center;
}
.d-reading-info {
  flex: 1;
}
.d-reading-val {
  font-size: 14px;
  font-weight: 500;
  color: var(--navy);
}
.d-reading-date {
  font-size: 12px;
  color: var(--muted);
}
.d-plan-card {
  background: linear-gradient(135deg, var(--teal) 0%, #0a6b54 100%);
  border-radius: 14px;
  padding: 24px;
  color: #fff;
  margin-bottom: 20px;
}
.d-plan-name {
  font-family: var(--font-head);
  font-size: 20px;
  font-weight: 400;
  margin-bottom: 4px;
}
.d-plan-meta {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: 20px;
}
.d-plan-stat {
  display: flex;
  gap: 24px;
}
.d-plan-stat-item {
  text-align: center;
}
.d-plan-stat-val {
  font-size: 22px;
  font-weight: 500;
  margin-bottom: 2px;
}
.d-plan-stat-label {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.65);
}
.d-notif-item {
  display: flex;
  gap: 14px;
  padding: 14px 0;
  border-bottom: 1px solid var(--border);
  align-items: flex-start;
}
.d-notif-item:last-child {
  border-bottom: none;
}
.d-notif-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--teal);
  flex-shrink: 0;
  margin-top: 6px;
}
.d-notif-dot.read {
  background: var(--border);
}
.d-notif-text {
  font-size: 14px;
  color: var(--text);
  line-height: 1.5;
}
.d-notif-time {
  font-size: 12px;
  color: var(--muted);
  margin-top: 3px;
}
.dash-profile-form {
  max-width: 600px;
}
@media (max-width: 900px) {
  .auth-wrap {
    grid-template-columns: 1fr;
  }
  .auth-left {
    display: none;
  }
  .dashboard-layout {
    grid-template-columns: 1fr;
  }
  .dash-sidebar {
    position: fixed;
    left: -280px;
    top: 68px;
    height: calc(100vh - 68px);
    z-index: 150;
    transition: 0.3s;
    width: 260px;
  }
  .dash-sidebar.open {
    left: 0;
  }
  .d-grid-4 {
    grid-template-columns: 1fr 1fr;
  }
  .d-grid-2 {
    grid-template-columns: 1fr;
  }
  .d-quick-actions {
    grid-template-columns: 1fr;
  }
}
@media (max-width: 600px) {
  .auth-right {
    padding: 32px 5%;
  }
  .d-grid-4 {
    grid-template-columns: 1fr 1fr;
  }
}

/* ── CAROUSEL hero replaces old .hero top margin ──────── */
.hero {
  margin-top: 68px;
}
