/* ==========================================================================
   Doctor Care — product sales landing page.
   Self-contained design system, independent of the legacy Bootstrap theme
   used by the patient-facing booking demo (frontend.php / "/demo").
   ========================================================================== */

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

:root {
  --navy-950: #05080f;
  --navy-900: #0b1220;
  --navy-800: #131c2e;
  --teal-400: #2dd4bf;
  --teal-500: #14b8a6;
  --amber-400: #fbbf24;
  --amber-500: #f59e0b;
  --ink: #0b1220;
  --muted: #5b6472;
  --bg-light: #f5f8fa;
  --line: #e6ebef;
  --white: #ffffff;
  --radius-lg: 20px;
  --radius-md: 14px;
  --shadow-soft: 0 20px 45px -22px rgba(11, 18, 32, .28);
  --shadow-hover: 0 26px 55px -18px rgba(20, 184, 166, .35);
  --container: 1140px;
}

* { box-sizing: border-box; }

body.pl-body {
  margin: 0;
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  color: var(--ink);
  background: var(--white);
  line-height: 1.6;
}

.pl-body h1, .pl-body h2, .pl-body h3, .pl-body h4 {
  font-family: 'Sora', 'Inter', sans-serif;
  font-weight: 700;
  line-height: 1.2;
  margin: 0;
}

.pl-container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

.pl-section { padding: 96px 0; }
.pl-section--tight { padding: 64px 0; }

.pl-eyebrow {
  display: inline-block;
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--teal-500);
  margin-bottom: 14px;
}

.pl-lead {
  color: var(--muted);
  font-size: 1.08rem;
  max-width: 620px;
}

/* ---------- Buttons ---------- */
.pl-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: 'Inter', sans-serif;
  font-weight: 700;
  font-size: .95rem;
  padding: 14px 28px;
  border-radius: 999px;
  text-decoration: none;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease, color .2s ease;
}
.pl-btn--primary {
  background: var(--amber-400);
  color: var(--navy-950);
  box-shadow: 0 14px 30px -10px rgba(251, 191, 36, .55);
}
.pl-btn--primary:hover { background: var(--amber-500); transform: translateY(-2px); color: var(--navy-950); }
.pl-btn--ghost {
  border-color: rgba(255,255,255,.35);
  color: #fff;
  background: rgba(255,255,255,.06);
}
.pl-btn--ghost:hover { border-color: #fff; color: #fff; background: rgba(255,255,255,.12); }
.pl-btn--dark {
  background: var(--navy-900);
  color: #fff;
}
.pl-btn--dark:hover { background: var(--navy-800); color: #fff; transform: translateY(-2px); }
.pl-btn--outline {
  border-color: var(--line);
  color: var(--ink);
  background: var(--white);
}
.pl-btn--outline:hover { border-color: var(--teal-500); color: var(--teal-500); }
.pl-btn--sm { padding: 10px 20px; font-size: .85rem; }

/* ---------- Nav ---------- */
.pl-nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 500;
  padding: 20px 0;
  background: rgba(255,255,255,.85);
  backdrop-filter: blur(10px);
  box-shadow: 0 2px 20px rgba(11,18,32,.06);
  transition: background .25s ease, padding .25s ease, box-shadow .25s ease;
}
.pl-nav .pl-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.pl-nav.is-scrolled {
  background: rgba(255,255,255,.97);
  padding: 12px 0;
  box-shadow: 0 8px 30px rgba(11,18,32,.1);
}
.pl-brand {
  font-family: 'Sora', sans-serif;
  font-weight: 800;
  font-size: 1.35rem;
  color: var(--ink);
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 8px;
}
.pl-brand i { color: var(--teal-500); }
.pl-nav-links {
  display: flex;
  align-items: center;
  gap: 30px;
}
.pl-nav-links a {
  color: var(--ink);
  text-decoration: none;
  font-weight: 600;
  font-size: .92rem;
}
.pl-nav-links a:hover { color: var(--teal-500); }
.pl-nav-ctas { display: flex; align-items: center; gap: 12px; }
.pl-nav-toggle { display: none; }
.pl-nav .pl-btn--ghost {
  border-color: var(--line);
  color: var(--ink);
  background: var(--white);
}
.pl-nav .pl-btn--ghost:hover { border-color: var(--teal-500); color: var(--teal-500); background: var(--white); }

/* ---------- Hero (light) ---------- */
.pl-hero {
  position: relative;
  background: radial-gradient(1000px 560px at 12% -10%, rgba(45, 212, 191, .16), transparent 60%),
              radial-gradient(900px 520px at 90% 0%, rgba(251, 191, 36, .14), transparent 55%),
              linear-gradient(180deg, #ffffff, var(--bg-light) 85%);
  color: var(--ink);
  padding: 180px 0 110px;
  overflow: hidden;
  border-bottom: 1px solid var(--line);
}
.pl-hero-inner {
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  gap: 50px;
  align-items: center;
}
.pl-hero h1 {
  font-size: 3.2rem;
  color: var(--ink);
  max-width: 620px;
}
.pl-hero h1 span { color: var(--teal-500); }
.pl-hero p.pl-lead {
  color: var(--muted);
  margin: 22px 0 34px;
  font-size: 1.12rem;
}
.pl-hero-ctas { display: flex; gap: 16px; flex-wrap: wrap; }
.pl-hero .pl-btn--ghost {
  border-color: var(--line);
  color: var(--ink);
  background: var(--white);
}
.pl-hero .pl-btn--ghost:hover { border-color: var(--teal-500); color: var(--teal-500); }
.pl-trust-strip {
  margin-top: 46px;
  padding-top: 26px;
  border-top: 1px solid var(--line);
  display: flex;
  flex-wrap: wrap;
  gap: 22px;
  color: var(--muted);
  font-size: .85rem;
  font-weight: 600;
}
.pl-trust-strip span { display: inline-flex; align-items: center; gap: 8px; }
.pl-trust-strip i { color: var(--teal-500); }

.pl-hero-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 30px;
  box-shadow: var(--shadow-soft);
}
.pl-hero-card h4 { color: var(--ink); font-size: 1.05rem; margin-bottom: 18px; }
.pl-hero-stat {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
}
.pl-hero-stat:last-child { border-bottom: none; }
.pl-hero-stat b { font-size: 1.6rem; color: var(--teal-500); font-family: 'Sora', sans-serif; }
.pl-hero-stat span { color: var(--muted); font-size: .85rem; }

/* ---------- Problem / before-after ---------- */
.pl-problem { background: var(--bg-light); }
.pl-problem-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
  margin-top: 40px;
}
.pl-problem-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 34px;
  border: 1px solid var(--line);
}
.pl-problem-card h3 { font-size: 1.2rem; margin-bottom: 18px; }
.pl-problem-card.is-before h3 { color: #b45309; }
.pl-problem-card.is-after h3 { color: var(--teal-500); }
.pl-problem-card ul { margin: 0; padding: 0; list-style: none; }
.pl-problem-card li {
  display: flex;
  gap: 10px;
  padding: 9px 0;
  color: var(--muted);
  font-size: .95rem;
  border-bottom: 1px dashed var(--line);
}
.pl-problem-card li:last-child { border-bottom: none; }
.pl-problem-card.is-before i { color: #d97706; }
.pl-problem-card.is-after i { color: var(--teal-500); }

/* ---------- Capabilities grid ---------- */
.pl-capabilities-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
  margin-top: 44px;
}
.pl-cap-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 26px 22px;
  transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease;
}
.pl-cap-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-hover);
  border-color: transparent;
}
.pl-cap-icon {
  width: 46px; height: 46px;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--teal-500), #0891b2);
  display: flex; align-items: center; justify-content: center;
  color: #fff; font-size: 1.2rem;
  margin-bottom: 16px;
}
.pl-cap-card h4 { font-size: 1.02rem; margin-bottom: 8px; }
.pl-cap-card p { color: var(--muted); font-size: .88rem; margin: 0; }

/* ---------- See it live ---------- */
.pl-live { background: var(--navy-900); color: #fff; }
.pl-live .pl-eyebrow { color: var(--teal-400); }
.pl-live h2, .pl-live > .pl-container > p { color: #fff; }
.pl-live > .pl-container > .pl-lead { color: rgba(255,255,255,.68); }
.pl-live-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 26px;
  margin-top: 42px;
}
.pl-live-card {
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(255,255,255,.14);
  border-radius: var(--radius-lg);
  padding: 34px;
}
.pl-live-card i.pl-live-icon {
  width: 52px; height: 52px;
  border-radius: 50%;
  background: rgba(45, 212, 191, .15);
  color: var(--teal-400);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.3rem;
  margin-bottom: 18px;
}
.pl-live-card h3 { color: #fff; font-size: 1.2rem; margin-bottom: 10px; }
.pl-live-card p { color: rgba(255,255,255,.65); font-size: .92rem; margin-bottom: 22px; }

/* ---------- Transformation band ---------- */
.pl-transform {
  background: linear-gradient(120deg, var(--navy-950), #0c2b28);
  color: #fff;
}
.pl-transform-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
  margin-top: 44px;
}
.pl-transform-card {
  border: 1px solid rgba(255,255,255,.14);
  border-radius: var(--radius-md);
  padding: 26px;
}
.pl-transform-card b {
  display: inline-block;
  color: var(--teal-400);
  font-family: 'Sora', sans-serif;
  font-size: 1.3rem;
  margin-bottom: 10px;
}
.pl-transform-card p { color: rgba(255,255,255,.7); font-size: .9rem; margin: 0; }
.pl-transform-cta { margin-top: 44px; text-align: center; }

/* ---------- FAQ ---------- */
.pl-faq-list { margin-top: 36px; border-top: 1px solid var(--line); }
.pl-faq-item {
  border-bottom: 1px solid var(--line);
  padding: 20px 0;
}
.pl-faq-item summary {
  cursor: pointer;
  font-weight: 700;
  font-size: 1.02rem;
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.pl-faq-item summary::-webkit-details-marker { display: none; }
.pl-faq-item summary::after {
  content: "+";
  font-size: 1.4rem;
  color: var(--teal-500);
  margin-left: 16px;
  transition: transform .2s ease;
}
.pl-faq-item[open] summary::after { transform: rotate(45deg); }
.pl-faq-item p {
  color: var(--muted);
  margin: 14px 0 0;
  font-size: .95rem;
  max-width: 760px;
}

/* ---------- Final CTA ---------- */
.pl-final-cta {
  background: linear-gradient(120deg, #0f766e, #0891b2);
  color: #fff;
  text-align: center;
}
.pl-final-cta h2 { color: #fff; font-size: 2.1rem; margin-bottom: 16px; }
.pl-final-cta p { color: rgba(255,255,255,.85); max-width: 560px; margin: 0 auto 32px; }
.pl-final-cta .pl-hero-ctas { justify-content: center; }

/* ---------- Partner Program CTA ---------- */
.pl-partner-cta {
  background: linear-gradient(120deg, #0f766e, #0891b2);
  color: #fff;
  text-align: center;
}
.pl-partner-cta-inner { max-width: 620px; margin: 0 auto; }
.pl-partner-cta .pl-eyebrow { color: #fff; opacity: .8; }
.pl-partner-cta h2 { color: #fff; font-size: 2.1rem; margin-bottom: 16px; }
.pl-partner-cta p { color: rgba(255,255,255,.85); max-width: 560px; margin: 0 auto 32px; }

/* ---------- Footer ---------- */
.pl-footer {
  background: var(--navy-950);
  color: rgba(255,255,255,.6);
  padding: 56px 0 30px;
  font-size: .9rem;
}
.pl-footer-top {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 30px;
  padding-bottom: 30px;
  border-bottom: 1px solid rgba(255,255,255,.1);
}
.pl-footer-brand { color: #fff; font-family: 'Sora', sans-serif; font-weight: 800; font-size: 1.2rem; }
.pl-footer-contact a { color: rgba(255,255,255,.75); text-decoration: none; }
.pl-footer-contact a:hover { color: var(--teal-400); }
.pl-footer-social a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px; height: 36px;
  border-radius: 50%;
  background: rgba(255,255,255,.08);
  color: #fff;
  margin-left: 8px;
  text-decoration: none;
}
.pl-footer-social a:hover { background: var(--teal-500); }
.pl-footer-bottom {
  padding-top: 22px;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
}

/* ---------- Floating WhatsApp button (shared component) ---------- */
.ct-whatsapp-float {
  position: fixed;
  bottom: 26px;
  right: 26px;
  z-index: 9999;
  width: 62px;
  height: 62px;
  border-radius: 50%;
  background: #25D366;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 30px;
  box-shadow: 0 10px 25px rgba(37, 211, 102, .5);
  text-decoration: none;
}
.ct-whatsapp-float:hover { color: #fff; transform: scale(1.06); }
.ct-whatsapp-float::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 50%;
  box-shadow: 0 0 0 0 rgba(37, 211, 102, .6);
  animation: ct-pulse 2.2s infinite;
}
.ct-whatsapp-tooltip {
  position: fixed;
  bottom: 42px;
  right: 96px;
  z-index: 9999;
  background: #0f2027;
  color: #fff;
  padding: 8px 14px;
  border-radius: 8px;
  font-size: .85rem;
  font-weight: 600;
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transform: translateY(4px);
  transition: opacity .2s ease, transform .2s ease;
}
.ct-whatsapp-float:hover + .ct-whatsapp-tooltip { opacity: 1; transform: translateY(0); }

@keyframes ct-pulse {
  0%   { box-shadow: 0 0 0 0 rgba(37, 211, 102, .55); }
  70%  { box-shadow: 0 0 0 18px rgba(37, 211, 102, 0); }
  100% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0); }
}

/* ---------- Scroll reveal ---------- */
.pl-reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s ease; }
.pl-reveal.is-visible { opacity: 1; transform: translateY(0); }

/* ---------- Responsive ---------- */
@media (max-width: 991px) {
  .pl-hero-inner { grid-template-columns: 1fr; }
  .pl-hero { padding: 150px 0 80px; }
  .pl-hero h1 { font-size: 2.4rem; }
  .pl-capabilities-grid { grid-template-columns: repeat(2, 1fr); }
  .pl-problem-grid { grid-template-columns: 1fr; }
  .pl-live-grid { grid-template-columns: 1fr; }
  .pl-transform-grid { grid-template-columns: 1fr; }
}
@media (max-width: 767px) {
  .pl-nav-links { display: none; }
  .pl-capabilities-grid { grid-template-columns: 1fr; }
  .pl-hero h1 { font-size: 2rem; }
  .pl-section { padding: 64px 0; }
  .ct-whatsapp-tooltip { display: none; }
}
