/* ============================================================
   Engagement Bods - Website Popups for Private Clinics
   Brand: #00d1b2 (teal), white, black
   ============================================================ */

/* --- Reset & base ----------------------------------------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { font-size: 16px; scroll-behavior: smooth; }

body {
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  color: #111111;
  background: #ffffff;
  line-height: 1.7;
  font-size: 20px;
}

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

/* --- Colour tokens ---------------------------------------- */
:root {
  --brand:       #00d1b2;
  --brand-dark:  #00b89b;
  --brand-light: #e8faf8;
  --ink:         #111111;
  --ink-mid:     #444444;
  --ink-light:   #777777;
  --rule:        #e8e8e8;
  --bg-soft:     #f8f8f8;
  --white:       #ffffff;
}

/* --- Typography ------------------------------------------- */
h1, h2, h3, h4 {
  line-height: 1.2;
  font-weight: 800;
  letter-spacing: -0.025em;
  color: var(--ink);
}

h1 { font-size: 55px; }
h2 { font-size: 45px; }
h3 { font-size: 22px; font-weight: 700; }

p { font-size: 20px; margin-bottom: 18px; }
p:last-child { margin-bottom: 0; }

/* --- Layout ------------------------------------------------ */
.container {
  max-width: 880px;
  margin: 0 auto;
  padding: 0 20px;
}

.container--wide {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 20px;
}

section { padding: 72px 0; }

/* --- Scroll prompt ---------------------------------------- */
.scroll-prompt {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 4px 0 2px;
  background: var(--white);
  border-top: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
}

.scroll-prompt svg {
  width: 32px;
  height: 32px;
  color: var(--brand);
  animation: throb 1.6s ease-in-out infinite;
}

@keyframes throb {
  0%, 100% { transform: translateY(0px); opacity: 0.35; }
  50%       { transform: translateY(7px); opacity: 1; }
}

/* --- Buttons ---------------------------------------------- */
.btn {
  display: inline-block;
  padding: 14px 30px;
  border-radius: 6px;
  font-size: 17px;
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
  transition: opacity 0.15s, transform 0.1s;
  white-space: nowrap;
  border: 2px solid transparent;
  letter-spacing: -0.01em;
}

.btn:hover { opacity: 0.88; transform: translateY(-1px); }
.btn:active { transform: translateY(0); }

.btn--primary {
  background: var(--ink);
  color: var(--white);
}

.btn--brand {
  background: var(--brand);
  color: var(--ink);
}

.btn--outline {
  background: transparent;
  color: var(--ink);
  border-color: var(--ink);
}

/* --- Nav -------------------------------------------------- */
.site-nav {
  background: var(--white);
  border-bottom: 1px solid var(--rule);
  position: sticky;
  top: 0;
  z-index: 100;
  padding: 12px 0;
}

.site-nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.site-nav__logo img { height: 36px; width: auto; }

/* --- Hero ------------------------------------------------- */
.hero {
  background: var(--ink);
  color: var(--white);
  padding: 80px 0 72px;
}

.hero h1, .hero h2, .hero h3 { color: var(--white); }

.hero__layout {
  display: grid;
  grid-template-columns: 1fr 300px;
  gap: 48px;
  align-items: center;
}

.hero__eyebrow {
  display: inline-block;
  background: var(--brand);
  color: var(--ink);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  padding: 5px 12px;
  border-radius: 4px;
  margin-bottom: 20px;
}

.hero h1 { margin-bottom: 20px; }

.hero h1 em {
  color: var(--brand);
  font-style: normal;
}

.hero__sub {
  font-size: 20px;
  color: rgba(255,255,255,0.82);
  margin-bottom: 32px;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 20px;
}

.hero .btn--primary {
  background: var(--brand);
  color: var(--ink);
}

.hero .btn--outline {
  border-color: rgba(255,255,255,0.4);
  color: var(--white);
}

.hero__note {
  font-size: 15px;
  color: rgba(255,255,255,0.55);
  margin-bottom: 0;
}

.hero__bod {
  display: flex;
  justify-content: center;
}

.hero__bod img {
  max-height: 340px;
  width: auto;
  filter: drop-shadow(0 12px 32px rgba(0,0,0,0.4));
}

/* --- Section headers -------------------------------------- */
.section-header {
  margin-bottom: 48px;
}

.section-header h2 { margin-bottom: 16px; }
.section-header p  { color: var(--ink-mid); }

.eyebrow {
  display: inline-block;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: var(--brand-dark);
  margin-bottom: 12px;
}

/* --- Problem section -------------------------------------- */
.problem {
  background: var(--white);
}

.problem__body p { color: var(--ink-mid); }

.problem__body p + p { margin-top: 4px; }

.problem__callout {
  margin-top: 36px;
  background: var(--brand-light);
  border-left: 4px solid var(--brand);
  padding: 24px 28px;
  border-radius: 0 8px 8px 0;
  font-size: 20px;
  color: var(--ink);
  line-height: 1.65;
}

/* --- Use cases -------------------------------------------- */
.use-cases__grid {
  display: grid;
  gap: 32px;
}

.use-case {
  border: 1px solid var(--rule);
  border-radius: 10px;
  padding: 32px;
  background: var(--white);
}

.use-case__tag {
  display: inline-block;
  background: var(--brand-light);
  color: var(--brand-dark);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: 4px;
  margin-bottom: 14px;
}

.use-case h3 { margin-bottom: 12px; }
.use-case p  { color: var(--ink-mid); }

.use-case__example {
  margin-top: 20px;
  background: var(--bg-soft);
  border-radius: 6px;
  padding: 16px 20px;
  font-size: 17px;
  color: var(--ink);
  line-height: 1.5;
}

.use-case__example strong {
  display: block;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--ink-light);
  margin-bottom: 6px;
}

/* --- Tips ------------------------------------------------- */
.tips__list {
  display: grid;
  gap: 28px;
}

.tip-box {
  border-radius: 10px;
  padding: 32px;
  background: var(--bg-soft);
}

.tip-box__label {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: var(--brand-dark);
  margin-bottom: 10px;
}

.tip-box h3 { margin-bottom: 12px; }
.tip-box p  { color: var(--ink-mid); }

/* --- How it works ----------------------------------------- */
.how-it-works {
  background: var(--ink);
  color: var(--white);
}

.how-it-works h2,
.how-it-works h3 { color: var(--white); }

.how-it-works .eyebrow { color: var(--brand); }
.how-it-works .section-header p { color: rgba(255,255,255,0.7); }

.steps {
  display: grid;
  gap: 28px;
  counter-reset: steps;
}

.step {
  display: grid;
  grid-template-columns: 52px 1fr;
  gap: 20px;
  align-items: start;
}

.step__num {
  width: 52px;
  height: 52px;
  background: var(--brand);
  color: var(--ink);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  font-weight: 800;
  flex-shrink: 0;
}

.step__body h3 { color: var(--white); margin-bottom: 8px; }
.step__body p  { color: rgba(255,255,255,0.72); margin-bottom: 0; }

/* --- Economics -------------------------------------------- */
.economics {
  background: var(--brand-light);
}

.economics__body { color: var(--ink-mid); }
.economics__body p + p { margin-top: 4px; }

.economics__box {
  margin-top: 36px;
  background: var(--white);
  border: 2px solid var(--brand);
  border-radius: 10px;
  padding: 32px;
}

.economics__box h3 { margin-bottom: 14px; }

.economics__row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 0;
  border-bottom: 1px solid var(--rule);
  font-size: 18px;
}

.economics__row:last-child { border-bottom: none; }
.economics__row strong { font-weight: 700; }

.economics__total {
  font-size: 22px;
  font-weight: 800;
  color: var(--brand-dark);
}

/* --- FAQ -------------------------------------------------- */
.faq__list {
  display: grid;
  gap: 0;
}

.faq-item {
  border-bottom: 1px solid var(--rule);
  padding: 28px 0;
}

.faq-item:first-child { border-top: 1px solid var(--rule); }

.faq-item h3 {
  font-size: 20px;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 12px;
}

.faq-item p { color: var(--ink-mid); margin-bottom: 0; }

/* --- Final CTA -------------------------------------------- */
.final-cta {
  background: var(--ink);
  color: var(--white);
  text-align: center;
  padding: 96px 0;
}

.final-cta h2 { color: var(--white); margin-bottom: 20px; }
.final-cta p  { color: rgba(255,255,255,0.75); margin-bottom: 32px; max-width: 620px; margin-left: auto; margin-right: auto; }

.final-cta .btn--primary {
  background: var(--brand);
  color: var(--ink);
  font-size: 18px;
  padding: 18px 36px;
}

.final-cta__note {
  margin-top: 16px;
  font-size: 15px;
  color: rgba(255,255,255,0.45);
  margin-bottom: 0;
}

.final-cta__bod {
  margin: 0 auto 32px;
  max-width: 220px;
}

/* --- Footer ----------------------------------------------- */
.site-footer {
  background: #0a0a0a;
  color: rgba(255,255,255,0.5);
  padding: 32px 0;
  font-size: 15px;
}

.site-footer__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
}

.site-footer a {
  color: rgba(255,255,255,0.6);
  text-decoration: none;
}

.site-footer a:hover { color: var(--white); }

/* --- CTA strip -------------------------------------------- */
.cta-strip {
  background: var(--brand);
  padding: 48px 0;
}

.cta-strip__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  flex-wrap: wrap;
}

.cta-strip__text h2 {
  font-size: 30px;
  color: var(--ink);
  margin-bottom: 6px;
}

.cta-strip__text p {
  font-size: 18px;
  color: rgba(0,0,0,0.65);
  margin-bottom: 0;
}

.cta-strip .btn--primary {
  background: var(--ink);
  color: var(--white);
  white-space: nowrap;
  flex-shrink: 0;
}

/* --- Pricing ---------------------------------------------- */
.pricing {
  background: var(--white);
}

.pricing__cards {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
  margin: 0 0 24px;
}

.price-card {
  flex: 1;
  min-width: 220px;
  border: 2px solid var(--rule);
  border-radius: 10px;
  padding: 32px;
  background: var(--white);
}

.price-card--featured {
  border-color: var(--brand);
  background: var(--brand-light);
}

.price-card__badge {
  display: inline-block;
  background: var(--brand);
  color: var(--ink);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 3px 10px;
  border-radius: 4px;
  margin-bottom: 12px;
}

.price-card__label {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: var(--ink-mid);
  margin-bottom: 8px;
}

.price-card__amount {
  font-size: 48px;
  font-weight: 800;
  color: var(--ink);
  line-height: 1;
  margin-bottom: 4px;
}

.price-card__per {
  font-size: 16px;
  color: var(--ink-mid);
  margin-bottom: 8px;
}

.price-card__note {
  font-size: 15px;
  color: var(--ink-light);
  margin-bottom: 0;
}

.pricing__terms {
  font-size: 15px;
  color: var(--ink-light);
  margin-bottom: 32px;
}

.pricing__context {
  background: var(--bg-soft);
  border-radius: 10px;
  padding: 28px 32px;
  margin-top: 32px;
}

/* --- Mobile ----------------------------------------------- */
@media (max-width: 720px) {

  h1 { font-size: 38px; }
  h2 { font-size: 30px; }

  .hero__layout {
    grid-template-columns: 1fr;
  }

  .hero__bod { display: none; }

  .hero {
    padding: 52px 0 48px;
  }

  .step {
    grid-template-columns: 44px 1fr;
  }

  .cta-strip__inner {
    flex-direction: column;
    align-items: flex-start;
  }

  .site-footer__inner {
    flex-direction: column;
    align-items: flex-start;
  }

  .economics__row {
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
  }
}
