* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --primary: #183E9F;
  --secondary: #1B9CE4;
  --accent: #54AFE6;
  --navy: #183172;
  --white: #ffffff;
  --light: #F4F6FB;
  --text: #333333;
  --gray: #666666;
}

body {
  font-family: 'Segoe UI', Arial, sans-serif;
  color: var(--text);
  line-height: 1.6;
}

/* ======= NAVBAR ======= */
nav {
  background: var(--primary);
  padding: 14px 40px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 2px 10px rgba(0,0,0,0.2);
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
}

.nav-logo img {
  height: 40px;
}

.nav-logo span {
  color: var(--white);
  font-size: 20px;
  font-weight: 700;
  letter-spacing: -0.3px;
}

.nav-links {
  display: flex;
  gap: 30px;
  list-style: none;
}

.nav-links a {
  color: rgba(255,255,255,0.85);
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  transition: color 0.2s;
}

.nav-links a:hover {
  color: var(--accent);
}

.nav-cta {
  background: var(--accent);
  color: var(--primary) !important;
  padding: 10px 20px;
  border-radius: 25px;
  font-weight: 700 !important;
  font-size: 14px;
  text-decoration: none;
  transition: background 0.2s;
}

.nav-cta:hover {
  background: white;
}

/* ======= HERO ======= */
.hero {
  background: linear-gradient(135deg, var(--navy) 0%, var(--primary) 50%, var(--secondary) 100%);
  padding: 100px 40px;
  text-align: center;
  color: var(--white);
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(84,175,230,0.1) 0%, transparent 60%);
  animation: pulse 4s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.05); }
}

.hero-badge {
  display: inline-block;
  background: rgba(84,175,230,0.2);
  border: 1px solid var(--accent);
  color: var(--accent);
  padding: 6px 18px;
  border-radius: 20px;
  font-size: 13px;
  font-weight: 500;
  margin-bottom: 20px;
  letter-spacing: 1px;
}

.hero h1 {
  font-size: 48px;
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 20px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.hero h1 span {
  color: var(--accent);
}

.hero p {
  font-size: 18px;
  color: rgba(255,255,255,0.85);
  max-width: 600px;
  margin: 0 auto 35px;
}

.hero-buttons {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 50px;
}

.btn-primary {
  background: var(--accent);
  color: var(--primary);
  padding: 14px 32px;
  border-radius: 30px;
  font-weight: 700;
  font-size: 16px;
  text-decoration: none;
  transition: all 0.2s;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.btn-primary:hover {
  background: white;
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(0,0,0,0.2);
}

.btn-secondary {
  background: transparent;
  color: white;
  padding: 14px 32px;
  border-radius: 30px;
  font-weight: 600;
  font-size: 16px;
  text-decoration: none;
  border: 2px solid rgba(255,255,255,0.5);
  transition: all 0.2s;
}

.btn-secondary:hover {
  border-color: white;
  background: rgba(255,255,255,0.1);
}

.trust-badges {
  display: flex;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap;
}

.badge {
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.2);
  color: white;
  padding: 8px 18px;
  border-radius: 20px;
  font-size: 13px;
  font-weight: 500;
}

/* ======= SECTIONS ======= */
section {
  padding: 80px 40px;
}

.section-title {
  text-align: center;
  margin-bottom: 50px;
}

.section-title h2 {
  font-size: 36px;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 12px;
}

.section-title p {
  font-size: 16px;
  color: var(--gray);
  max-width: 600px;
  margin: 0 auto;
}

.section-label {
  display: inline-block;
  color: var(--secondary);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 10px;
}

/* ======= HOW IT WORKS ======= */
.how-it-works {
  background: var(--light);
}

.steps {
  display: flex;
  gap: 30px;
  max-width: 1000px;
  margin: 0 auto;
  flex-wrap: wrap;
  justify-content: center;
}

.step {
  flex: 1;
  min-width: 200px;
  max-width: 280px;
  text-align: center;
  padding: 30px 20px;
  background: white;
  border-radius: 16px;
  box-shadow: 0 4px 20px rgba(24,62,159,0.08);
  position: relative;
}

.step-number {
  width: 50px;
  height: 50px;
  background: var(--primary);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  font-weight: 700;
  margin: 0 auto 16px;
}

.step-icon {
  font-size: 36px;
  margin-bottom: 14px;
}

.step h3 {
  font-size: 16px;
  font-weight: 600;
  color: var(--primary);
  margin-bottom: 8px;
}

.step p {
  font-size: 14px;
  color: var(--gray);
}

/* ======= SERVICES ======= */
.services {
  background: white;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
  max-width: 1100px;
  margin: 0 auto;
}

.service-card {
  background: white;
  border: 1.5px solid #E8EEF8;
  border-radius: 16px;
  padding: 28px;
  transition: all 0.3s;
  position: relative;
}

.service-card:hover {
  border-color: var(--accent);
  box-shadow: 0 8px 30px rgba(24,62,159,0.12);
  transform: translateY(-4px);
}

.service-card.featured {
  border-color: var(--primary);
  background: linear-gradient(135deg, #F0F4FF, #E8F4FD);
}

.best-value {
  position: absolute;
  top: -12px;
  right: 20px;
  background: var(--secondary);
  color: white;
  padding: 4px 14px;
  border-radius: 20px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1px;
}

.service-icon {
  font-size: 32px;
  margin-bottom: 14px;
}

.service-card h3 {
  font-size: 17px;
  font-weight: 600;
  color: var(--primary);
  margin-bottom: 8px;
}

.service-card p {
  font-size: 13px;
  color: var(--gray);
  margin-bottom: 16px;
}

.service-price {
  font-size: 28px;
  font-weight: 800;
  color: var(--primary);
}

.service-price span {
  font-size: 14px;
  font-weight: 400;
  color: var(--gray);
}

.service-features {
  list-style: none;
  margin-top: 14px;
}

.service-features li {
  font-size: 13px;
  color: var(--gray);
  padding: 4px 0;
  display: flex;
  align-items: center;
  gap: 8px;
}

.service-features li::before {
  content: '✓';
  color: var(--secondary);
  font-weight: 700;
}

.service-btn {
  display: block;
  text-align: center;
  margin-top: 20px;
  padding: 10px 20px;
  background: var(--primary);
  color: white;
  border-radius: 25px;
  text-decoration: none;
  font-size: 14px;
  font-weight: 600;
  transition: background 0.2s;
}

.service-btn:hover {
  background: var(--secondary);
}

/* ======= WHY CLINOVA ======= */
.why-clinova {
  background: var(--light);
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 24px;
  max-width: 1000px;
  margin: 0 auto;
}

.feature-card {
  background: white;
  border-radius: 16px;
  padding: 28px;
  text-align: center;
  box-shadow: 0 4px 20px rgba(24,62,159,0.06);
  transition: transform 0.2s;
}

.feature-card:hover {
  transform: translateY(-4px);
}

.feature-icon {
  font-size: 40px;
  margin-bottom: 14px;
}

.feature-card h3 {
  font-size: 16px;
  font-weight: 600;
  color: var(--primary);
  margin-bottom: 8px;
}

.feature-card p {
  font-size: 13px;
  color: var(--gray);
}

/* ======= TESTIMONIALS ======= */
.testimonials {
  background: white;
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
  max-width: 1000px;
  margin: 0 auto;
}

.testimonial-card {
  background: var(--light);
  border-radius: 16px;
  padding: 28px;
  border-left: 4px solid var(--primary);
}

.stars {
  color: #f0a500;
  font-size: 18px;
  margin-bottom: 12px;
}

.testimonial-card p {
  font-size: 14px;
  color: var(--text);
  margin-bottom: 16px;
  font-style: italic;
  line-height: 1.7;
}

.testimonial-author {
  font-size: 13px;
  font-weight: 600;
  color: var(--primary);
}

.testimonial-location {
  font-size: 12px;
  color: var(--gray);
}

/* ======= CTA SECTION ======= */
.cta-section {
  background: linear-gradient(135deg, var(--navy), var(--primary));
  text-align: center;
  color: white;
  padding: 80px 40px;
}

.cta-section h2 {
  font-size: 36px;
  font-weight: 700;
  margin-bottom: 16px;
}

.cta-section p {
  font-size: 18px;
  color: rgba(255,255,255,0.85);
  margin-bottom: 35px;
}

/* ======= CONTACT ======= */
.contact {
  background: var(--light);
}

.contact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 24px;
  max-width: 900px;
  margin: 0 auto;
}

.contact-card {
  background: white;
  border-radius: 16px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 4px 20px rgba(24,62,159,0.06);
}

.contact-icon {
  font-size: 36px;
  margin-bottom: 14px;
}

.contact-card h3 {
  font-size: 16px;
  font-weight: 600;
  color: var(--primary);
  margin-bottom: 8px;
}

.contact-card a {
  color: var(--secondary);
  text-decoration: none;
  font-size: 14px;
}

/* ======= FOOTER ======= */
footer {
  background: var(--navy);
  color: rgba(255,255,255,0.7);
  text-align: center;
  padding: 30px 40px;
  font-size: 13px;
}

footer a {
  color: var(--accent);
  text-decoration: none;
  margin: 0 10px;
}

.footer-social {
  margin-bottom: 16px;
  display: flex;
  justify-content: center;
  gap: 20px;
}

.footer-social a {
  color: rgba(255,255,255,0.7);
  font-size: 13px;
  transition: color 0.2s;
}

.footer-social a:hover {
  color: var(--accent);
}

/* ======= RESPONSIVE ======= */
@media (max-width: 768px) {
  nav {
    padding: 12px 20px;
    flex-wrap: wrap;
    gap: 10px;
  }

  .nav-links {
    gap: 15px;
  }

  .hero {
    padding: 60px 20px;
  }

  .hero h1 {
    font-size: 30px;
  }

  .hero p {
    font-size: 15px;
  }

  section {
    padding: 60px 20px;
  }

  .section-title h2 {
    font-size: 26px;
  }
}


/* ============================================
   CLINOVA HEALTH AI — WEBSITE UPGRADES CSS
   Add this to the bottom of your styles.css
   ============================================ */

/* ======= 1. FLOATING WHATSAPP BUTTON ======= */
.whatsapp-float {
  position: fixed;
  bottom: 28px;
  right: 28px;
  z-index: 9999;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 10px;
}

.whatsapp-float-btn {
  width: 62px;
  height: 62px;
  background: #25D366;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 6px 24px rgba(37,211,102,0.45);
  cursor: pointer;
  transition: all 0.3s;
  text-decoration: none;
  animation: wa-bounce 2s infinite;
}

.whatsapp-float-btn:hover {
  transform: scale(1.1);
  box-shadow: 0 8px 30px rgba(37,211,102,0.6);
}

.whatsapp-float-btn svg {
  width: 32px;
  height: 32px;
  color: white;
  fill: white;
}

.whatsapp-float-tooltip {
  background: #183E9F;
  color: white;
  padding: 8px 16px;
  border-radius: 20px;
  font-size: 13px;
  font-weight: 600;
  white-space: nowrap;
  box-shadow: 0 4px 16px rgba(24,62,159,0.25);
  animation: fadeInRight 0.5s ease;
}

@keyframes wa-bounce {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-6px); }
}

@keyframes fadeInRight {
  from { opacity: 0; transform: translateX(10px); }
  to { opacity: 1; transform: translateX(0); }
}

/* ======= 2. HEALTH SCORE BANNER ======= */
.health-score-banner {
  background: linear-gradient(90deg, #183172 0%, #183E9F 50%, #1B9CE4 100%);
  padding: 18px 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
}

.hsb-text {
  color: white;
  font-size: 15px;
  font-weight: 500;
}

.hsb-text strong {
  color: #54AFE6;
}

.hsb-btn {
  background: #54AFE6;
  color: #183172;
  padding: 8px 22px;
  border-radius: 20px;
  font-size: 13px;
  font-weight: 700;
  text-decoration: none;
  transition: background 0.2s;
  white-space: nowrap;
}

.hsb-btn:hover {
  background: white;
}

.hsb-close {
  background: none;
  border: none;
  color: rgba(255,255,255,0.6);
  cursor: pointer;
  font-size: 18px;
  padding: 0 0 0 10px;
  line-height: 1;
}

/* ======= 3. BEFORE / AFTER SECTION ======= */
.before-after {
  background: #F4F6FB;
  padding: 80px 40px;
}

.before-after-inner {
  max-width: 1000px;
  margin: 0 auto;
}

.ba-grid {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 24px;
  align-items: center;
  margin-top: 20px;
}

.ba-card {
  background: white;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(24,62,159,0.08);
}

.ba-card-header {
  padding: 14px 20px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.ba-card.before .ba-card-header {
  background: #FFF0F0;
  border-bottom: 2px solid #FFCCCC;
}

.ba-card.after .ba-card-header {
  background: #F0FFF4;
  border-bottom: 2px solid #C3E6CB;
}

.ba-card-header span {
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.ba-card.before .ba-card-header span { color: #C0392B; }
.ba-card.after .ba-card-header span { color: #27AE60; }

.ba-card-body {
  padding: 20px;
}

/* Before card — messy lab report simulation */
.lab-row {
  display: flex;
  justify-content: space-between;
  padding: 6px 0;
  border-bottom: 0.5px solid #f0f0f0;
  font-size: 12px;
}

.lab-row .param { color: #555; }
.lab-row .val { font-weight: 600; color: #333; }
.lab-row .ref { color: #999; font-size: 11px; }

.ba-confused {
  margin-top: 14px;
  background: #FFF3CD;
  border-radius: 8px;
  padding: 10px 14px;
  font-size: 12px;
  color: #856404;
  display: flex;
  align-items: center;
  gap: 8px;
}

/* After card — Clinova styled */
.clinova-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 8px 0;
  border-bottom: 0.5px solid #f0f0f0;
  font-size: 12px;
}

.clinova-row .c-param { color: #333; font-weight: 500; }
.clinova-row .c-val { color: #183E9F; font-weight: 700; }
.status-pill {
  padding: 2px 10px;
  border-radius: 10px;
  font-size: 11px;
  font-weight: 600;
}
.pill-normal { background: #D4EDDA; color: #155724; }
.pill-border { background: #FFF3CD; color: #856404; }
.pill-high { background: #F8D7DA; color: #721C24; }

.clinova-explain {
  margin-top: 14px;
  background: #EAF4FC;
  border-left: 3px solid #1B9CE4;
  border-radius: 0 8px 8px 0;
  padding: 10px 14px;
  font-size: 12px;
  color: #183E9F;
  line-height: 1.6;
}

.ba-arrow {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}

.ba-arrow-icon {
  width: 50px;
  height: 50px;
  background: linear-gradient(135deg, #183E9F, #1B9CE4);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 22px;
  box-shadow: 0 4px 16px rgba(24,62,159,0.3);
}

.ba-arrow span {
  font-size: 11px;
  color: #183E9F;
  font-weight: 600;
  text-align: center;
}

.ba-bottom {
  display: flex;
  justify-content: center;
  margin-top: 36px;
}

/* ======= 4. FREE SAMPLE REPORT DOWNLOAD ======= */
.sample-download {
  background: linear-gradient(135deg, #183172, #183E9F);
  padding: 60px 40px;
  text-align: center;
}

.sample-download h2 {
  color: white;
  font-size: 30px;
  font-weight: 700;
  margin-bottom: 12px;
}

.sample-download p {
  color: rgba(255,255,255,0.85);
  font-size: 16px;
  margin-bottom: 32px;
  max-width: 560px;
  margin-left: auto;
  margin-right: auto;
}

.sd-cards {
  display: flex;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 32px;
}

.sd-feature {
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: 12px;
  padding: 16px 20px;
  color: white;
  text-align: center;
  min-width: 140px;
}

.sd-feature .sd-icon { font-size: 28px; margin-bottom: 8px; }
.sd-feature p { font-size: 12px; color: rgba(255,255,255,0.8); margin: 0; }

.sd-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: #54AFE6;
  color: #183172;
  padding: 16px 36px;
  border-radius: 30px;
  font-size: 16px;
  font-weight: 700;
  text-decoration: none;
  transition: all 0.2s;
  box-shadow: 0 4px 20px rgba(84,175,230,0.4);
}

.sd-btn:hover {
  background: white;
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(84,175,230,0.5);
}

.sd-note {
  color: rgba(255,255,255,0.6);
  font-size: 12px;
  margin-top: 14px;
}

/* ======= 5. SYMPTOM CHECKER WIDGET ======= */
.symptom-checker {
  background: white;
  padding: 80px 40px;
}

.symptom-checker-box {
  max-width: 720px;
  margin: 0 auto;
  background: #F4F6FB;
  border-radius: 20px;
  padding: 40px;
  box-shadow: 0 8px 32px rgba(24,62,159,0.08);
}

.sc-intro {
  text-align: center;
  margin-bottom: 30px;
}

.sc-intro h3 {
  font-size: 22px;
  font-weight: 700;
  color: #183E9F;
  margin-bottom: 8px;
}

.sc-intro p {
  font-size: 14px;
  color: #666;
}

.sc-question {
  font-size: 15px;
  font-weight: 600;
  color: #183E9F;
  margin-bottom: 14px;
}

.sc-options {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-bottom: 20px;
}

.sc-option {
  background: white;
  border: 2px solid #E8EEF8;
  border-radius: 10px;
  padding: 12px 16px;
  cursor: pointer;
  font-size: 13px;
  color: #333;
  transition: all 0.2s;
  text-align: left;
  display: flex;
  align-items: center;
  gap: 10px;
}

.sc-option:hover {
  border-color: #1B9CE4;
  background: #EAF4FC;
  color: #183E9F;
}

.sc-option.selected {
  border-color: #183E9F;
  background: #183E9F;
  color: white;
}

.sc-option .opt-icon { font-size: 18px; }

.sc-result {
  display: none;
  background: linear-gradient(135deg, #183E9F, #1B9CE4);
  border-radius: 14px;
  padding: 24px;
  color: white;
  text-align: center;
  margin-top: 10px;
}

.sc-result.show { display: block; animation: fadeIn 0.4s ease; }

.sc-result h4 { font-size: 18px; font-weight: 700; margin-bottom: 8px; }
.sc-result .rec-price { font-size: 26px; font-weight: 800; color: #54AFE6; margin: 10px 0; }
.sc-result p { font-size: 13px; color: rgba(255,255,255,0.85); margin-bottom: 16px; }

.sc-wa-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #25D366;
  color: white;
  padding: 12px 24px;
  border-radius: 25px;
  text-decoration: none;
  font-size: 14px;
  font-weight: 700;
  transition: background 0.2s;
}

.sc-wa-btn:hover { background: #1ebe5d; }

.sc-reset {
  display: inline-block;
  margin-top: 12px;
  color: rgba(255,255,255,0.7);
  font-size: 12px;
  cursor: pointer;
  text-decoration: underline;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ======= STATS COUNTER SECTION ======= */
.stats-section {
  background: white;
  padding: 60px 40px;
  border-top: 1px solid #E8EEF8;
  border-bottom: 1px solid #E8EEF8;
}

.stats-grid {
  display: flex;
  justify-content: center;
  gap: 60px;
  flex-wrap: wrap;
  max-width: 900px;
  margin: 0 auto;
}

.stat-item {
  text-align: center;
}

.stat-number {
  font-size: 42px;
  font-weight: 800;
  color: #183E9F;
  display: block;
  line-height: 1;
  margin-bottom: 6px;
}

.stat-label {
  font-size: 13px;
  color: #666;
  font-weight: 500;
}

/* ======= RESPONSIVE ======= */
@media (max-width: 768px) {
  .whatsapp-float {
    bottom: 20px;
    right: 16px;
  }

  .whatsapp-float-tooltip { display: none; }

  .ba-grid {
    grid-template-columns: 1fr;
  }

  .ba-arrow {
    transform: rotate(90deg);
    margin: 10px auto;
  }

  .health-score-banner {
    padding: 14px 20px;
    text-align: center;
  }

  .symptom-checker-box {
    padding: 24px 20px;
  }

  .sc-options {
    grid-template-columns: 1fr;
  }

  .before-after { padding: 60px 20px; }
  .sample-download { padding: 60px 20px; }
  .symptom-checker { padding: 60px 20px; }
  .stats-grid { gap: 30px; }
  .stat-number { font-size: 32px; }
}