/* ============================================================================
   AI Doctor — landing v2. Calm, spacious, premium (Apple/Linear/Stripe feel).
   Palette derived from the mascot logo: teal, mint, deep teal, warm coral.
   Light + dark, mobile-first, fast (no webfonts). ========================== */

:root {
  --teal: #0d9488;
  --teal-600: #0f766e;
  --teal-700: #115e59;
  --mint: #2dd4bf;
  --mint-100: #d9f6f0;
  --mint-50: #ecfbf7;
  --coral: #f4867a;
  /* warm human accent from skin tones */
  --coral-soft: #fdeeeb;

  --bg: #f7fbfa;
  /* soft mint-tinted white */
  --bg-2: #eef6f4;
  --card: #ffffff;
  --card-2: #f4faf9;
  --line: #e4efec;
  --line-2: #d5e6e2;

  --ink: #0c1a1c;
  --ink-2: #3f5a5b;
  --ink-3: #6f8b8b;

  --danger: #e5484d;
  --star: #f5a623;

  --grad: linear-gradient(135deg, #14b8a6 0%, #0d9488 50%, #0f766e 100%);
  --grad-text: linear-gradient(120deg, #0d9488, #14b8a6 60%, #0f766e);

  --sh-xs: 0 1px 2px rgba(12, 26, 28, .05);
  --sh-s: 0 2px 8px rgba(12, 26, 28, .06), 0 1px 2px rgba(12, 26, 28, .04);
  --sh-m: 0 10px 30px rgba(12, 26, 28, .08), 0 3px 8px rgba(12, 26, 28, .05);
  --sh-l: 0 30px 70px rgba(13, 90, 82, .16), 0 10px 24px rgba(12, 26, 28, .08);
  --sh-teal: 0 16px 40px rgba(13, 148, 136, .32);

  --r-s: 12px;
  --r-m: 18px;
  --r-l: 26px;
  --r-xl: 34px;
  --r-pill: 999px;
  --sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --urdu: "Noto Nastaliq Urdu", "Jameel Noori Nastaleeq", serif;
  --maxw: 1160px;
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #071110;
    --bg-2: #0a1817;
    --card: #0d1c1b;
    --card-2: #0f2120;
    --line: #1a302e;
    --line-2: #244440;
    --ink: #eaf6f4;
    --ink-2: #a7c2bf;
    --ink-3: #6f8f8b;
    --mint-100: #10312c;
    --mint-50: #0c211e;
    --coral-soft: #2a1613;
    --sh-s: 0 2px 10px rgba(0, 0, 0, .4);
    --sh-m: 0 12px 32px rgba(0, 0, 0, .5);
    --sh-l: 0 30px 70px rgba(0, 0, 0, .6);
    --sh-xs: 0 1px 2px rgba(0, 0, 0, .4);
  }
}

:root[data-theme="dark"] {
  --bg: #071110;
  --bg-2: #0a1817;
  --card: #0d1c1b;
  --card-2: #0f2120;
  --line: #1a302e;
  --line-2: #244440;
  --ink: #eaf6f4;
  --ink-2: #a7c2bf;
  --ink-3: #6f8f8b;
  --mint-100: #10312c;
  --mint-50: #0c211e;
  --coral-soft: #2a1613;
  --sh-s: 0 2px 10px rgba(0, 0, 0, .4);
  --sh-m: 0 12px 32px rgba(0, 0, 0, .5);
  --sh-l: 0 30px 70px rgba(0, 0, 0, .6);
  --sh-xs: 0 1px 2px rgba(0, 0, 0, .4);
}

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

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
  }
}

body {
  font-family: var(--sans);
  background: var(--bg);
  color: var(--ink);
  line-height: 1.6;
  font-size: 17px;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

a {
  color: inherit;
  text-decoration: none;
}

img,
svg {
  max-width: 100%;
  display: block;
}

.urdu {
  font-family: var(--urdu);
  direction: rtl;
  unicode-bidi: isolate;
  line-height: 2.1;
}

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

.narrow {
  max-width: 760px;
  margin: 0 auto;
}

section {
  padding: 44px 0;
  position: relative;
}

@media (max-width: 720px) {
  section {
    padding: 32px 0;
  }
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .3px;
  color: var(--teal-600);
  background: var(--mint-100);
  padding: 6px 14px;
  border-radius: var(--r-pill);
}

:root[data-theme="dark"] .eyebrow {
  color: var(--mint);
}

h1,
h2,
h3 {
  letter-spacing: -.03em;
  line-height: 1.08;
  text-wrap: balance;
}

.h2 {
  font-size: clamp(30px, 4.6vw, 46px);
  font-weight: 800;
}

.lead {
  font-size: clamp(17px, 2.1vw, 20px);
  color: var(--ink-2);
  line-height: 1.6;
}

.grad-text {
  background: var(--grad-text);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.center {
  text-align: center;
}

.sec-head {
  max-width: 680px;
  margin: 0 auto 32px;
  text-align: center;
}

.sec-head .h2 {
  margin: 16px 0 14px;
}

.sec-head .lead {
  margin: 0 auto;
}

/* ---- Buttons ---- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-weight: 700;
  font-size: 16px;
  padding: 15px 26px;
  border-radius: var(--r-pill);
  border: 1.5px solid transparent;
  cursor: pointer;
  font-family: inherit;
  transition: transform .18s cubic-bezier(.2, .8, .2, 1), box-shadow .18s, background .18s;
}

.btn svg {
  width: 20px;
  height: 20px;
}

.btn-primary {
  background: var(--grad);
  color: #fff;
  box-shadow: var(--sh-teal);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 22px 48px rgba(13, 148, 136, .42);
}

.btn-soft {
  background: var(--card);
  color: var(--ink);
  border-color: var(--line-2);
  box-shadow: var(--sh-xs);
}

.btn-soft:hover {
  background: var(--card-2);
  border-color: var(--teal);
}

.btn-lg {
  padding: 18px 34px;
  font-size: 17px;
}

.btn:focus-visible,
a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible {
  outline: 3px solid var(--mint);
  outline-offset: 3px;
}

/* ---- Nav ---- */
.nav {
  position: sticky;
  top: 0;
  z-index: 60;
  background: color-mix(in srgb, var(--bg) 78%, transparent);
  backdrop-filter: saturate(1.5) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color .25s, background .25s;
}

.nav.scrolled {
  border-color: var(--line);
}

.nav-in {
  display: flex;
  align-items: center;
  height: 72px;
  gap: 18px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 800;
  font-size: 19px;
  letter-spacing: -.02em;
}

.brand-av {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  flex: none;
  box-shadow: var(--sh-teal);
  background: var(--teal) center / 138% no-repeat;
  background-image: url("/assets/logo-doctor-160.png");
}

.nav-links {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 28px;
}

.nav-links a.nl {
  font-size: 15px;
  font-weight: 600;
  color: var(--ink-2);
}

.nav-links a.nl:hover {
  color: var(--teal);
}

.nav-tog {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid var(--line-2);
  background: var(--card);
  display: grid;
  place-items: center;
  cursor: pointer;
  color: var(--ink-2);
}

.nav-tog:hover {
  color: var(--teal);
  border-color: var(--teal);
}

.nav-tog svg {
  width: 19px;
  height: 19px;
}

.nav-cta {
  padding: 11px 20px;
  font-size: 15px;
}

@media (max-width: 860px) {
  .nav-links a.nl {
    display: none;
  }
}

/* ---- Hero ---- */
.hero {
  padding: 32px 0 40px;
  position: relative;
  overflow: hidden;
}

.blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(70px);
  opacity: .5;
  z-index: 0;
  pointer-events: none;
}

.blob.b1 {
  width: 460px;
  height: 460px;
  background: radial-gradient(circle, #5eead4, transparent 70%);
  top: -160px;
  right: -120px;
}

.blob.b2 {
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, #99f6e4, transparent 70%);
  bottom: -180px;
  left: -140px;
  opacity: .4;
}

:root[data-theme="dark"] .blob {
  opacity: .22;
}

.hero-in {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.02fr .98fr;
  gap: 54px;
  align-items: center;
}

.hero h1 {
  font-size: clamp(38px, 6.2vw, 66px);
  font-weight: 850;
  letter-spacing: -.035em;
}

.hero .urdu-hook {
  font-size: clamp(20px, 3vw, 27px);
  color: var(--teal-600);
  margin-top: 10px;
  font-weight: 600;
}

:root[data-theme="dark"] .hero .urdu-hook {
  color: var(--mint);
}

.hero .lead {
  margin-top: 20px;
  max-width: 540px;
}

.hero-cta {
  display: flex;
  gap: 14px;
  margin-top: 32px;
  flex-wrap: wrap;
}

.trust-chips {
  display: flex;
  gap: 20px;
  margin-top: 26px;
  flex-wrap: wrap;
}

.trust-chips span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 14.5px;
  font-weight: 600;
  color: var(--ink-2);
}

.trust-chips svg {
  width: 18px;
  height: 18px;
  color: var(--teal);
}

@media (max-width: 920px) {
  .hero-in {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .hero {
    padding-top: 44px;
  }
}

/* ---- Chat demo (hero + section) ---- */
.chat-demo {
  width: 340px;
  max-width: 92vw;
  margin: 0 auto;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--r-xl);
  box-shadow: var(--sh-l);
  overflow: hidden;
}

.chat-head {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px 18px;
  background: var(--grad);
  color: #fff;
}

.chat-head .av {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255, 255, 255, .16) center/138% no-repeat;
  background-image: url("/assets/logo-doctor-160.png");
  flex: none;
  border: 1.5px solid rgba(255, 255, 255, .4);
}

.chat-head .nm {
  font-weight: 750;
  font-size: 15px;
}

.chat-head .st {
  font-size: 12px;
  opacity: .85;
  display: flex;
  align-items: center;
  gap: 5px;
}

.chat-head .st::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #7CFFB2;
  display: inline-block;
}

.chat-body {
  padding: 18px 16px;
  min-height: 320px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  background: var(--card-2);
}

.msg {
  max-width: 84%;
  padding: 11px 14px;
  font-size: 14px;
  line-height: 1.5;
  border-radius: 16px;
  box-shadow: var(--sh-xs);
  opacity: 0;
  transform: translateY(10px) scale(.98);
  animation: pop .35s forwards;
}

.msg.me {
  align-self: flex-end;
  background: var(--grad);
  color: #fff;
  border-bottom-right-radius: 5px;
}

.msg.bot {
  align-self: flex-start;
  background: var(--card);
  color: var(--ink);
  border: 1px solid var(--line);
  border-bottom-left-radius: 5px;
}

.msg .u {
  font-family: var(--urdu);
  direction: rtl;
  font-size: 15.5px;
  line-height: 2;
}

.msg.voice {
  display: flex;
  align-items: center;
  gap: 9px;
  min-width: 160px;
}

.vplay {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: rgba(255, 255, 255, .25);
  display: grid;
  place-items: center;
  flex: none;
}

.msg.bot .vplay {
  background: var(--mint-100);
}

.vplay svg {
  width: 12px;
  height: 12px;
}

.vbars {
  flex: 1;
  height: 22px;
  display: flex;
  align-items: center;
  gap: 2px;
}

.vbars i {
  flex: 1;
  background: currentColor;
  opacity: .55;
  border-radius: 2px;
  height: 40%;
  animation: vb 1s ease-in-out infinite;
}

.vbars i:nth-child(2n) {
  animation-delay: .15s
}

.vbars i:nth-child(3n) {
  animation-delay: .3s
}

.vbars i:nth-child(4n) {
  animation-delay: .45s
}

@keyframes vb {

  0%,
  100% {
    height: 30%
  }

  50% {
    height: 92%
  }
}

.typing {
  align-self: flex-start;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 16px;
  border-bottom-left-radius: 5px;
  padding: 13px 16px;
  display: inline-flex;
  gap: 5px;
}

.typing i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--ink-3);
  animation: blink 1.2s infinite;
}

.typing i:nth-child(2) {
  animation-delay: .2s
}

.typing i:nth-child(3) {
  animation-delay: .4s
}

@keyframes blink {

  0%,
  60%,
  100% {
    opacity: .3;
    transform: translateY(0)
  }

  30% {
    opacity: 1;
    transform: translateY(-3px)
  }
}

@keyframes pop {
  to {
    opacity: 1;
    transform: none;
  }
}

/* ---- Logos / social proof strip ---- */
.strip {
  padding: 30px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: var(--bg-2);
}

.strip-in {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 40px;
  flex-wrap: wrap;
  text-align: center;
}

.strip .lbl {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .6px;
  text-transform: uppercase;
  color: var(--ink-3);
}

.strip .items {
  display: flex;
  gap: 28px;
  flex-wrap: wrap;
  justify-content: center;
}

.strip .items span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 650;
  font-size: 15px;
  color: var(--ink-2);
}

.strip .items svg {
  width: 18px;
  height: 18px;
  color: var(--teal);
}

/* ---- Steps ---- */
.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

@media (max-width: 820px) {
  .steps {
    grid-template-columns: 1fr;
  }
}

.step {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--r-l);
  padding: 34px 28px;
  box-shadow: var(--sh-s);
  transition: transform .2s, box-shadow .2s;
  position: relative;
  text-align: center;
  overflow: hidden;
}

.step:hover {
  transform: translateY(-4px);
  box-shadow: var(--sh-m);
}

.step .ghost-n {
  position: absolute;
  top: 16px;
  right: 24px;
  font-size: 54px;
  font-weight: 850;
  line-height: 1;
  color: var(--bg-2);
  letter-spacing: -.03em;
}

.step .ic {
  width: 64px;
  height: 64px;
  border-radius: 18px;
  background: var(--mint-100);
  color: var(--teal);
  display: grid;
  place-items: center;
  margin: 0 auto 18px;
  position: relative;
}

:root[data-theme="dark"] .step .ic {
  color: var(--mint);
}

.step .ic svg {
  width: 30px;
  height: 30px;
}

.step h3 {
  font-size: 20px;
  font-weight: 760;
  margin-bottom: 8px;
}

.step p {
  color: var(--ink-2);
  font-size: 15px;
}

/* ---- Feature split / trust ---- */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
  align-items: center;
}

@media (max-width: 860px) {
  .split {
    grid-template-columns: 1fr;
    gap: 28px;
  }
}

.trust-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

@media (max-width: 520px) {
  .trust-cards {
    grid-template-columns: 1fr;
  }
}

.tcard {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--r-m);
  padding: 24px;
  box-shadow: var(--sh-xs);
}

.tcard .ic {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  margin-bottom: 14px;
}

.tcard .ic svg {
  width: 22px;
  height: 22px;
}

.tcard.teal .ic {
  background: var(--mint-100);
  color: var(--teal);
}

.tcard.coral .ic {
  background: var(--coral-soft);
  color: var(--coral);
}

.tcard h4 {
  font-size: 16.5px;
  font-weight: 720;
  margin-bottom: 6px;
}

.tcard p {
  font-size: 14px;
  color: var(--ink-2);
}

/* ---- Safety banner ---- */
.safety {
  background: linear-gradient(135deg, var(--coral-soft), var(--card));
  border: 1.5px solid color-mix(in srgb, var(--coral) 26%, var(--line));
  border-radius: var(--r-l);
  padding: 34px;
  display: flex;
  gap: 20px;
  align-items: flex-start;
}

.safety .ic {
  width: 54px;
  height: 54px;
  border-radius: 15px;
  background: color-mix(in srgb, var(--coral) 18%, transparent);
  color: var(--coral);
  display: grid;
  place-items: center;
  flex: none;
}

.safety .ic svg {
  width: 26px;
  height: 26px;
}

.safety h3 {
  font-size: 20px;
  font-weight: 760;
  margin-bottom: 8px;
}

.safety p {
  color: var(--ink-2);
  font-size: 15px;
}

.safety .em {
  margin-top: 10px;
  font-weight: 700;
  color: var(--danger);
}

/* ---- Personas ---- */
.personas {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

@media (max-width: 820px) {
  .personas {
    grid-template-columns: repeat(2, 1fr);
  }
}

.persona {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--r-m);
  padding: 24px 20px;
  text-align: center;
  box-shadow: var(--sh-xs);
  transition: transform .2s;
}

.persona:hover {
  transform: translateY(-3px);
}

.persona .emoji {
  font-size: 30px;
}

.persona h4 {
  font-size: 15.5px;
  font-weight: 700;
  margin: 10px 0 4px;
}

.persona p {
  font-size: 13px;
  color: var(--ink-3);
}

/* ---- Pricing / free ---- */
.free-card {
  max-width: 520px;
  margin: 0 auto;
  background: var(--card);
  border: 1.5px solid var(--line-2);
  border-radius: var(--r-xl);
  padding: 44px 38px;
  text-align: center;
  box-shadow: var(--sh-m);
  position: relative;
  overflow: hidden;
}

.free-card .ribbon {
  display: inline-block;
  background: var(--mint-100);
  color: var(--teal-600);
  font-weight: 700;
  font-size: 13px;
  padding: 6px 16px;
  border-radius: var(--r-pill);
  margin-bottom: 18px;
}

:root[data-theme="dark"] .free-card .ribbon {
  color: var(--mint);
}

.free-card .price {
  font-size: 56px;
  font-weight: 850;
  letter-spacing: -.03em;
}

.free-card .price small {
  font-size: 18px;
  color: var(--ink-3);
  font-weight: 600;
}

.free-card ul {
  list-style: none;
  text-align: left;
  margin: 24px auto 28px;
  max-width: 320px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.free-card li {
  display: flex;
  gap: 11px;
  align-items: flex-start;
  font-size: 15px;
  color: var(--ink-2);
}

.free-card li svg {
  width: 20px;
  height: 20px;
  color: var(--teal);
  flex: none;
  margin-top: 1px;
}

/* ---- CTA band ---- */
.cta-band {
  background: var(--grad);
  border-radius: var(--r-xl);
  padding: 64px 40px;
  text-align: center;
  color: #fff;
  box-shadow: var(--sh-l);
  position: relative;
  overflow: hidden;
}

.cta-band .urdu {
  color: #fff;
  font-size: 24px;
  margin-bottom: 8px;
  opacity: .95;
}

.cta-band h2 {
  font-size: clamp(28px, 4.4vw, 44px);
  font-weight: 820;
}

.cta-band p {
  color: rgba(255, 255, 255, .92);
  margin: 14px auto 28px;
  max-width: 540px;
  font-size: 18px;
}

.cta-band .btn-primary {
  background: #fff;
  color: var(--teal-700);
  box-shadow: 0 18px 44px rgba(0, 0, 0, .22);
}

/* ---- FAQ ---- */
.faq {
  max-width: 780px;
  margin: 0 auto;
}

.qa {
  border: 1px solid var(--line);
  border-radius: var(--r-m);
  margin-bottom: 12px;
  background: var(--card);
  overflow: hidden;
  transition: border-color .2s;
}

.qa.open {
  border-color: var(--teal);
}

.qa button {
  width: 100%;
  text-align: left;
  background: none;
  border: none;
  padding: 20px 22px;
  font-size: 16.5px;
  font-weight: 680;
  color: var(--ink);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 14px;
  font-family: inherit;
}

.qa .chev {
  width: 22px;
  height: 22px;
  color: var(--teal);
  flex: none;
  transition: transform .25s;
}

.qa.open .chev {
  transform: rotate(180deg);
}

.qa .a {
  max-height: 0;
  overflow: hidden;
  transition: max-height .3s ease;
}

.qa .a p {
  padding: 0 22px 20px;
  color: var(--ink-2);
  font-size: 15px;
}

/* ---- Feedback ---- */
.fb-card {
  max-width: 560px;
  margin: 40px auto 0;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--r-l);
  padding: 32px;
  box-shadow: var(--sh-s);
}

.fb-card h3 {
  font-size: 20px;
  font-weight: 750;
  margin-bottom: 6px;
}

.fb-card p.sub {
  color: var(--ink-3);
  font-size: 14.5px;
  margin-bottom: 20px;
}

.fld {
  margin-bottom: 14px;
}

.fld label {
  display: block;
  font-size: 13.5px;
  font-weight: 650;
  color: var(--ink-2);
  margin-bottom: 6px;
}

.fld input,
.fld textarea {
  width: 100%;
  padding: 13px 15px;
  border: 1.5px solid var(--line-2);
  border-radius: var(--r-s);
  background: var(--card-2);
  color: var(--ink);
  font-family: inherit;
  font-size: 15px;
  transition: border-color .15s, box-shadow .15s;
}

.fld input:focus,
.fld textarea:focus {
  outline: none;
  border-color: var(--teal);
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--teal) 16%, transparent);
  background: var(--card);
}

.fld textarea {
  resize: vertical;
  min-height: 104px;
}

.hp {
  position: absolute;
  left: -9999px;
  width: 0;
  height: 0;
  opacity: 0;
}

.fb-msg {
  font-size: 14px;
  margin-top: 12px;
  min-height: 20px;
  font-weight: 600;
}

.fb-msg.ok {
  color: var(--teal);
}

.fb-msg.err {
  color: var(--danger);
}

/* ---- Footer ---- */
.footer {
  background: var(--bg-2);
  border-top: 1px solid var(--line);
  padding: 56px 0 40px;
}

.footer-top {
  display: flex;
  justify-content: space-between;
  gap: 34px;
  flex-wrap: wrap;
}

.footer .brand {
  margin-bottom: 12px;
}

.footer .tag {
  color: var(--ink-3);
  font-size: 14px;
  max-width: 320px;
}

.f-cols {
  display: flex;
  gap: 46px;
  flex-wrap: wrap;
}

.f-col h5 {
  font-size: 12.5px;
  text-transform: uppercase;
  letter-spacing: .7px;
  color: var(--ink-3);
  margin-bottom: 14px;
}

.f-col a {
  display: block;
  font-size: 15px;
  color: var(--ink-2);
  margin-bottom: 10px;
}

.f-col a:hover {
  color: var(--teal);
}

.f-note {
  margin-top: 34px;
  padding-top: 22px;
  border-top: 1px solid var(--line);
  color: var(--ink-3);
  font-size: 13.5px;
  display: flex;
  justify-content: space-between;
  gap: 14px;
  flex-wrap: wrap;
}

.disc {
  background: color-mix(in srgb, var(--star) 10%, var(--card));
  border: 1px solid color-mix(in srgb, var(--star) 28%, var(--line));
  border-radius: var(--r-s);
  padding: 15px 18px;
  font-size: 13px;
  color: var(--ink-2);
  margin-top: 22px;
}

/* ---- Sticky mobile CTA ---- */
.mobile-cta {
  position: fixed;
  left: 12px;
  right: 12px;
  bottom: 12px;
  z-index: 70;
  display: none;
  box-shadow: var(--sh-l);
  border-radius: var(--r-pill);
}

.mobile-cta .btn {
  width: 100%;
}

@media (max-width: 720px) {
  .mobile-cta {
    display: block;
  }

  body {
    padding-bottom: 84px;
  }
}

/* ---- Emotional pain-points ---- */
.pain-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

@media (max-width: 900px) {
  .pain-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 560px) {
  .pain-grid {
    grid-template-columns: 1fr;
  }
}

.pain {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--r-l);
  padding: 26px;
  box-shadow: var(--sh-xs);
  transition: transform .2s, box-shadow .2s;
}

.pain:hover {
  transform: translateY(-3px);
  box-shadow: var(--sh-m);
}

.pain .ic {
  width: 48px;
  height: 48px;
  border-radius: 13px;
  background: var(--coral-soft);
  color: var(--coral);
  display: grid;
  place-items: center;
  margin-bottom: 15px;
}

.pain .ic svg {
  width: 24px;
  height: 24px;
}

.pain h4 {
  font-size: 17px;
  font-weight: 740;
  margin-bottom: 7px;
}

.pain p {
  font-size: 14.5px;
  color: var(--ink-2);
  line-height: 1.55;
}

.relief {
  margin-top: 26px;
  background: var(--grad);
  color: #fff;
  border-radius: var(--r-xl);
  padding: 46px 44px;
  box-shadow: var(--sh-teal);
  display: grid;
  grid-template-columns: 1.15fr .85fr;
  gap: 36px;
  align-items: center;
  position: relative;
  overflow: hidden;
}

@media (max-width: 820px) {
  .relief {
    grid-template-columns: 1fr;
    gap: 26px;
    padding: 34px 26px;
  }
}

.relief h3 {
  font-size: clamp(24px, 3.2vw, 33px);
  font-weight: 820;
  letter-spacing: -.02em;
}

.relief .urdu {
  font-size: 21px;
  opacity: .96;
  margin-top: 10px;
}

.relief ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 13px;
  margin-top: 22px;
}

.relief li {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  font-size: 16px;
  font-weight: 550;
}

.relief li svg {
  width: 22px;
  height: 22px;
  flex: none;
  margin-top: 1px;
}

.relief-cta {
  background: rgba(255, 255, 255, .12);
  border: 1px solid rgba(255, 255, 255, .22);
  border-radius: var(--r-l);
  padding: 28px;
  text-align: center;
}

.relief-cta .big {
  font-size: 20px;
  font-weight: 760;
  margin-bottom: 4px;
}

.relief-cta .small {
  font-size: 14px;
  opacity: .9;
  margin-bottom: 18px;
}

.relief-cta .btn {
  width: 100%;
  background: #fff;
  color: var(--teal-700);
  box-shadow: 0 12px 30px rgba(0, 0, 0, .2);
}

/* ---- Data / stats section ---- */
.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

@media (max-width: 900px) {
  .stats {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 520px) {
  .stats {
    grid-template-columns: 1fr;
  }
}

.stat {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--r-l);
  padding: 26px;
  box-shadow: var(--sh-xs);
}

.stat .n {
  font-size: clamp(32px, 4.6vw, 44px);
  font-weight: 850;
  letter-spacing: -.03em;
  color: var(--teal);
  font-variant-numeric: tabular-nums;
  line-height: 1;
}

:root[data-theme="dark"] .stat .n {
  color: var(--mint);
}

.stat.coral .n {
  color: var(--coral);
}

.stat .l {
  font-size: 14.5px;
  color: var(--ink-2);
  margin-top: 12px;
  font-weight: 600;
  line-height: 1.45;
}

.stat .src {
  font-size: 11.5px;
  color: var(--ink-3);
  margin-top: 12px;
}

.cmp-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
  margin-top: 22px;
}

@media (max-width: 820px) {
  .cmp-cards {
    grid-template-columns: 1fr;
  }
}

.cmp-card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--r-l);
  padding: 28px;
  box-shadow: var(--sh-xs);
}

.cmp-card h4 {
  font-size: 17px;
  font-weight: 740;
  margin-bottom: 4px;
}

.cmp-card .sub {
  font-size: 13.5px;
  color: var(--ink-3);
  margin-bottom: 20px;
}

.cmp-row {
  margin-bottom: 16px;
}

.cmp-top {
  display: flex;
  justify-content: space-between;
  font-size: 14px;
  font-weight: 650;
  margin-bottom: 8px;
}

.cmp-track {
  height: 30px;
  background: var(--bg-2);
  border-radius: 9px;
  overflow: hidden;
}

.cmp-fill {
  height: 100%;
  border-radius: 9px;
  width: 0;
  transition: width 1.2s cubic-bezier(.2, .8, .2, 1);
  display: flex;
  align-items: center;
  justify-content: flex-end;
  padding-right: 10px;
  color: #fff;
  font-weight: 700;
  font-size: 13px;
}

.cmp-fill.a {
  background: var(--grad);
}

.cmp-fill.b {
  background: var(--coral);
}

.cmp-fill.c {
  background: linear-gradient(90deg, var(--ink-3), var(--ink-2));
}

.data-note {
  margin-top: 24px;
  font-size: 12.5px;
  color: var(--ink-3);
  text-align: center;
  max-width: 720px;
  margin-left: auto;
  margin-right: auto;
}

/* ---- Contact + feedback side by side ---- */
.cf-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  max-width: 940px;
  margin: 0 auto;
}

@media (max-width: 820px) {
  .cf-grid {
    grid-template-columns: 1fr;
  }
}

.cf-card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--r-l);
  padding: 32px;
  box-shadow: var(--sh-s);
}

.cf-card h3 {
  font-size: 20px;
  font-weight: 750;
  margin-bottom: 6px;
}

.cf-card p.sub {
  color: var(--ink-3);
  font-size: 14.5px;
  margin-bottom: 22px;
}

.contact-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.contact-list li {
  display: flex;
  gap: 14px;
  align-items: center;
}

.contact-ic {
  width: 46px;
  height: 46px;
  border-radius: 13px;
  background: var(--mint-100);
  color: var(--teal);
  display: grid;
  place-items: center;
  flex: none;
}

:root[data-theme="dark"] .contact-ic {
  color: var(--mint);
}

.contact-ic svg {
  width: 22px;
  height: 22px;
}

.contact-list b {
  display: block;
  font-size: 15px;
}

.contact-list span,
.contact-list a {
  font-size: 14px;
  color: var(--ink-3);
}

.contact-list a:hover {
  color: var(--teal);
}

/* ---- Reveal ---- */
.rv {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity .7s ease, transform .7s cubic-bezier(.2, .8, .2, 1);
}

.rv.in {
  opacity: 1;
  transform: none;
}

@media (prefers-reduced-motion: reduce) {
  .rv {
    opacity: 1;
    transform: none;
  }
}