/* Aama Sathi website
   Colours come from the logo: rose (the mother), teal (the baby), deep rose (headings),
   peach (the baby on rose). Mukta covers Nepali and English in one family. */

:root {
  --rose: #B83B5E;
  --rose-deep: #7E2340;
  --madder: #8E2A47;
  --coral: #E07A5F;
  --teal: #2E7D73;
  --teal-deep: #1F5C55;
  --peach: #FFD3C4;
  --blush: #FBEFF2;
  --cream: #FBF6F4;
  --ink: #1E2A2F;
  --body: #3A474C;
  --muted: #5B686D;
  --line: #EADFE1;
  --danger: #B3261E;
  --white: #FFFFFF;

  --radius: 20px;
  --shadow-sm: 0 2px 10px rgba(126, 35, 64, 0.06);
  --shadow: 0 18px 44px rgba(126, 35, 64, 0.12);
  --font: "Mukta", "Noto Sans Devanagari", system-ui, -apple-system, "Segoe UI", sans-serif;

  --bs-body-font-family: var(--font);
  --bs-body-color: var(--body);
  --bs-link-color-rgb: 184, 59, 94;
  --bs-link-hover-color-rgb: 126, 35, 64;
}

/* ---------- Language switch: show one language at a time ---------- */
html[data-lang="ne"] .en,
html[data-lang="en"] .ne { display: none !important; }

/* ---------- Base ---------- */
html { scroll-behavior: smooth; scroll-padding-top: 84px; }
body {
  font-family: var(--font);
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--body);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}
h1, h2, h3, h4 { color: var(--ink); line-height: 1.2; }
a { text-decoration: none; }
a:hover { text-decoration: underline; }
::selection { background: var(--peach); color: var(--ink); }
:focus-visible { outline: 3px solid rgba(184, 59, 94, 0.45); outline-offset: 2px; }

/* ---------- Brand lockup (mark + wordmark, same proportions as the logo) ---------- */
.brand {
  display: inline-flex;
  align-items: flex-start;
  font-size: 30px;
  text-decoration: none !important;
  padding: 0;
  margin: 0;
}
.brand-mark {
  width: 1.154em;
  height: 1.434em;
  margin-top: -0.29em;
  margin-right: 0.16em;
  flex: none;
}
.brand-word {
  font-weight: 800;
  line-height: 1.12;
  color: var(--rose);
  letter-spacing: -0.01em;
}

/* ---------- Buttons ---------- */
.btn-rose {
  --bs-btn-color: #fff;
  --bs-btn-bg: var(--rose);
  --bs-btn-border-color: var(--rose);
  --bs-btn-hover-color: #fff;
  --bs-btn-hover-bg: var(--rose-deep);
  --bs-btn-hover-border-color: var(--rose-deep);
  --bs-btn-active-bg: var(--rose-deep);
  --bs-btn-active-border-color: var(--rose-deep);
  --bs-btn-focus-shadow-rgb: 184, 59, 94;
  border-radius: 999px;
  font-weight: 600;
  padding: 0.45rem 1.15rem;
  align-items: center;
}
.btn-rose:hover { text-decoration: none; }

.lang-switch {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  border: 1px solid var(--line);
  background: var(--white);
  color: var(--ink);
  border-radius: 999px;
  padding: 0.35rem 0.85rem;
  font-weight: 600;
  font-size: 0.95rem;
  line-height: 1.4;
  transition: border-color .2s, color .2s;
}
.lang-switch:hover { border-color: var(--rose); color: var(--rose); }
.lang-switch .bi { color: var(--rose); }

/* ---------- Navigation ---------- */
.site-nav {
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: saturate(1.4) blur(10px);
  -webkit-backdrop-filter: saturate(1.4) blur(10px);
  padding: 0.85rem 0;
  border-bottom: 1px solid transparent;
  transition: border-color .2s, box-shadow .2s;
}
.site-nav.scrolled { border-bottom-color: var(--line); box-shadow: var(--shadow-sm); }
.site-nav .nav-link {
  color: var(--body);
  font-weight: 500;
  padding: 0.4rem 0.9rem !important;
  border-radius: 999px;
}
.site-nav .nav-link:hover,
.site-nav .nav-link.active { color: var(--rose); text-decoration: none; }
.navbar-toggler {
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 0.25rem 0.55rem;
  font-size: 1.5rem;
  color: var(--ink);
  line-height: 1;
}
.navbar-toggler:focus { box-shadow: none; }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  overflow: hidden;
  padding: 4.5rem 0 3.5rem;
  background:
    radial-gradient(900px 480px at 85% 10%, rgba(255, 211, 196, 0.55), transparent 65%),
    linear-gradient(180deg, var(--cream) 0%, #fff 100%);
}
.pill {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--white);
  border: 1px solid var(--line);
  color: var(--rose-deep);
  font-weight: 600;
  font-size: 0.95rem;
  border-radius: 999px;
  padding: 0.3rem 0.95rem;
  box-shadow: var(--shadow-sm);
}
.pill .bi { color: var(--rose); font-size: 0.85rem; }
.hero-title {
  font-size: clamp(2.3rem, 5.2vw, 3.9rem);
  font-weight: 800;
  letter-spacing: -0.015em;
  line-height: 1.12;
  margin: 1.25rem 0 1rem;
}
.hero-title em { font-style: normal; color: var(--rose); }
.hero-lead { font-size: 1.2rem; color: var(--body); max-width: 34rem; margin-bottom: 1.75rem; }

.store-row { display: flex; flex-wrap: wrap; gap: 0.75rem; }
.store-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  background: var(--ink);
  color: #fff;
  border-radius: 14px;
  padding: 0.55rem 1.15rem 0.55rem 0.95rem;
  min-width: 11rem;
  line-height: 1.15;
  font-weight: 700;
  font-size: 1.1rem;
  transition: transform .15s, background .2s;
}
.store-btn .bi { font-size: 1.7rem; }
.store-btn small { display: block; font-weight: 500; font-size: 0.75rem; opacity: 0.85; }
.store-btn:hover { color: #fff; text-decoration: none; transform: translateY(-2px); background: #111a1e; }
.store-btn.is-soon { cursor: default; opacity: 0.92; }
.store-btn.is-soon:hover { transform: none; background: var(--ink); }
.store-btn-light { background: #fff; color: var(--ink); }
.store-btn-light:hover, .store-btn-light.is-soon:hover { background: #fff; color: var(--ink); }
.store-btn-light.is-soon { opacity: 1; }
.store-note { margin: 0.75rem 0 0; font-size: 0.95rem; color: var(--muted); }
.store-note .bi { color: var(--rose); margin-right: 0.25rem; }
.store-note.light { color: rgba(255, 255, 255, 0.85); }

.hero-points {
  list-style: none;
  padding: 0;
  margin: 1.75rem 0 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1.4rem;
  font-weight: 500;
  color: var(--ink);
}
.hero-points li { display: inline-flex; align-items: center; gap: 0.45rem; }
.hero-points .bi { color: var(--teal); }

/* Phone frame around real app screenshots */
.phone {
  position: relative;
  width: 100%;
  max-width: 290px;
  margin: 0 auto;
  padding: 9px;
  background: var(--ink);
  border-radius: 46px;
  box-shadow: var(--shadow), 0 0 0 1px rgba(0, 0, 0, 0.04);
}
.phone img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 1206 / 2622;
  object-fit: cover;
  border-radius: 38px;
  background: var(--cream);
}
.phone-lg { max-width: 310px; }

.hero-art { position: relative; padding: 1rem 0; }
.hero-art::before {           /* the baby's circle from the mark */
  content: "";
  position: absolute;
  width: 420px;
  height: 420px;
  border-radius: 50%;
  background: var(--peach);
  opacity: 0.55;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -48%);
}
.hero-art::after {            /* the mother's head */
  content: "";
  position: absolute;
  width: 74px;
  height: 74px;
  border-radius: 50%;
  background: var(--rose);
  opacity: 0.9;
  left: calc(50% - 215px);
  top: 4%;
}
.hero-art .phone { z-index: 1; }

.float-card {
  position: absolute;
  z-index: 2;
  background: rgba(255, 255, 255, 0.96);
  border: 1px solid var(--line);
  border-radius: 18px;
  box-shadow: var(--shadow);
  padding: 0.8rem 0.95rem;
  display: flex;
  gap: 0.7rem;
  align-items: flex-start;
  line-height: 1.35;
}
.float-card strong { display: block; color: var(--ink); font-size: 0.98rem; }
.float-card p { margin: 0.1rem 0 0; font-size: 0.86rem; color: var(--muted); }
.float-card.notif { width: 300px; right: -0.5rem; top: 41%; }
.notif-icon { width: 36px; height: 36px; border-radius: 9px; flex: none; }
.notif-app { font-size: 0.78rem; color: var(--muted); display: flex; justify-content: space-between; gap: 0.5rem; }
.notif-time { opacity: 0.8; }
.float-card.week { left: -0.5rem; bottom: 12%; align-items: center; }
.week-num {
  width: 46px; height: 46px; border-radius: 50%;
  background: var(--teal); color: #fff; font-weight: 800; font-size: 1.15rem;
  display: inline-flex; align-items: center; justify-content: center; flex: none;
}
.float-card.week small { display: block; color: var(--muted); font-size: 0.8rem; }

/* ---------- Sections ---------- */
.section { padding: 6rem 0; }
.hero + .section { padding-top: 4.5rem; }
.section-tint { background: var(--cream); }
.section-head { max-width: 46rem; margin: 0 auto 3rem; }
.eyebrow {
  display: inline-block;
  color: var(--rose);
  font-weight: 700;
  font-size: 0.95rem;
  margin-bottom: 0.6rem;
}
html[data-lang="en"] .eyebrow { text-transform: uppercase; letter-spacing: 0.08em; font-size: 0.82rem; }
.section-title {
  font-size: clamp(1.75rem, 3.4vw, 2.5rem);
  font-weight: 800;
  letter-spacing: -0.01em;
  margin-bottom: 0.9rem;
}
.section-lead { font-size: 1.12rem; color: var(--muted); margin: 0 auto; }

/* Stages */
.stage-card {
  height: 100%;
  background: var(--white);
  border: 1px solid var(--line);
  border-top: 5px solid var(--accent);
  border-radius: var(--radius);
  padding: 1.75rem 1.6rem 1.5rem;
  box-shadow: var(--shadow-sm);
}
.stage-pregnancy { --accent: var(--rose); --accent-soft: var(--blush); }
.stage-mother { --accent: var(--coral); --accent-soft: #FDEEE8; }
.stage-child { --accent: var(--teal); --accent-soft: #E5F2F0; }
.stage-icon {
  width: 52px; height: 52px; border-radius: 16px;
  background: var(--accent-soft); color: var(--accent);
  display: inline-flex; align-items: center; justify-content: center;
  font-size: 1.5rem; margin-bottom: 1rem;
}
.stage-when { display: block; color: var(--accent); font-weight: 600; font-size: 0.95rem; }
.stage-card h3 { font-size: 1.5rem; font-weight: 800; margin: 0.15rem 0 0.9rem; }
.stage-card ul { list-style: none; padding: 0; margin: 0; }
.stage-card li { position: relative; padding-left: 1.4rem; margin-bottom: 0.45rem; }
.stage-card li::before {
  content: ""; position: absolute; left: 0; top: 0.62em;
  width: 8px; height: 8px; border-radius: 50%; background: var(--accent);
}
.stage-bridge {
  max-width: 50rem;
  margin: 2.5rem auto 0;
  text-align: center;
  background: var(--blush);
  color: var(--rose-deep);
  border-radius: 16px;
  padding: 0.9rem 1.25rem;
  font-weight: 500;
}
.stage-bridge .bi { margin-right: 0.35rem; }

/* Features */
.feature {
  height: 100%;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.6rem 1.5rem;
  transition: transform .2s, box-shadow .2s;
}
.feature:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.feature h3 { font-size: 1.2rem; font-weight: 700; margin: 1rem 0 0.4rem; }
.feature p { margin: 0; color: var(--muted); font-size: 1rem; }
.feature-icon {
  width: 48px; height: 48px; border-radius: 14px;
  display: inline-flex; align-items: center; justify-content: center; font-size: 1.35rem;
}
.feature-icon.rose { background: var(--blush); color: var(--rose); }
.feature-icon.coral { background: #FDEEE8; color: #C4573B; }
.feature-icon.teal { background: #E5F2F0; color: var(--teal); }
.feature-icon.danger { background: #FCE9E7; color: var(--danger); }

/* Screens */
.screen-tabs { display: flex; flex-direction: column; gap: 0.5rem; margin-top: 1.75rem; }
.screen-tab {
  display: flex;
  gap: 0.9rem;
  align-items: flex-start;
  text-align: left;
  width: 100%;
  background: transparent;
  border: 1px solid transparent;
  border-radius: 16px;
  padding: 0.85rem 1rem;
  color: var(--body);
  transition: background .2s, border-color .2s;
}
.screen-tab:hover { background: var(--cream); }
.screen-tab.active { background: var(--white); border-color: var(--line); box-shadow: var(--shadow-sm); }
.tab-icon {
  width: 42px; height: 42px; border-radius: 12px; flex: none;
  display: inline-flex; align-items: center; justify-content: center;
  background: var(--cream); color: var(--muted); font-size: 1.15rem;
  transition: background .2s, color .2s;
}
.screen-tab.active .tab-icon { background: var(--rose); color: #fff; }
.tab-text strong { display: block; color: var(--ink); font-size: 1.1rem; }
.tab-desc { display: block; color: var(--muted); font-size: 0.98rem; line-height: 1.5; }
.screen-stage {
  position: relative;
  padding: 2.5rem 0;
  border-radius: 32px;
  background:
    radial-gradient(circle at 50% 55%, rgba(255, 211, 196, 0.75) 0 36%, transparent 36.2%),
    var(--blush);
}
.screen-stage .phone img { transition: opacity .25s ease; }
.screen-stage .phone img.fading { opacity: 0; }
.screen-caption { display: none; }

/* Vaccines */
.vaccine-table {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}
.vrow {
  display: grid;
  grid-template-columns: minmax(7.5rem, 11rem) minmax(0, 1fr);
  gap: 1rem;
  padding: 0.95rem 1.4rem;
  border-top: 1px solid var(--line);
  align-items: center;
}
.vrow:first-child { border-top: 0; }
.vhead { background: var(--teal); color: #fff; font-weight: 700; padding-top: 0.75rem; padding-bottom: 0.75rem; }
.vwhen { font-weight: 700; color: var(--teal-deep); }
.vlist { display: flex; flex-wrap: wrap; gap: 0.4rem; }
.vlist b {
  font-weight: 600;
  font-size: 0.95rem;
  background: #E5F2F0;
  color: var(--teal-deep);
  border-radius: 999px;
  padding: 0.15rem 0.75rem;
}
.side-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.35rem 1.4rem;
  margin-bottom: 1rem;
}
.side-card h3 { font-size: 1.15rem; font-weight: 700; margin-bottom: 0.5rem; }
.side-card h3 .bi { color: var(--rose); margin-right: 0.2rem; }
.side-card p { margin: 0; color: var(--muted); font-size: 1rem; }
.fine-print { font-size: 0.95rem; color: var(--muted); margin: 0.5rem 0.25rem 0; }
.fine-print .bi { color: var(--rose); margin-right: 0.2rem; }

/* Steps */
.step {
  height: 100%;
  text-align: center;
  padding: 1.75rem 1.5rem;
  border-radius: var(--radius);
  border: 1px dashed #E2CDD2;
}
.step-num {
  width: 52px; height: 52px; border-radius: 50%;
  display: inline-flex; align-items: center; justify-content: center;
  background: var(--rose); color: #fff; font-weight: 800; font-size: 1.35rem;
  margin-bottom: 1rem;
  box-shadow: 0 0 0 7px var(--blush);
}
.step h3 { font-size: 1.25rem; font-weight: 700; margin-bottom: 0.4rem; }
.step p { margin: 0; color: var(--muted); }

/* FAQ */
.faq {
  --bs-accordion-border-color: var(--line);
  --bs-accordion-border-radius: 16px;
  --bs-accordion-inner-border-radius: 15px;
  --bs-accordion-btn-focus-box-shadow: 0 0 0 3px rgba(184, 59, 94, 0.25);
  --bs-accordion-active-bg: var(--blush);
  --bs-accordion-active-color: var(--rose-deep);
  --bs-accordion-btn-padding-y: 1.05rem;
  --bs-accordion-body-padding-y: 1.1rem;
}
.faq .accordion-item { margin-bottom: 0.65rem; border-radius: 16px !important; border: 1px solid var(--line) !important; overflow: hidden; }
.faq .accordion-button { font-weight: 600; font-size: 1.08rem; color: var(--ink); }
.faq .accordion-button:not(.collapsed) { color: var(--rose-deep); box-shadow: none; }
.faq .accordion-body { color: var(--body); }

/* CTA */
.cta { padding: 6rem 0; }
.cta-box {
  position: relative;
  overflow: hidden;
  border-radius: 32px;
  padding: 3.5rem 3rem;
  color: #fff;
  background: linear-gradient(120deg, var(--madder) 0%, var(--rose) 55%, var(--coral) 100%);
}
.cta-copy { position: relative; z-index: 1; max-width: 36rem; }
.cta-box h2 { color: #fff; font-weight: 800; font-size: clamp(1.75rem, 3.4vw, 2.5rem); margin-bottom: 0.5rem; }
.cta-box p { font-size: 1.15rem; color: rgba(255, 255, 255, 0.9); margin-bottom: 1.5rem; }
.cta-mark {
  position: absolute;
  right: 4%;
  top: 50%;
  height: 135%;
  transform: translateY(-50%);
  opacity: 0.16;
}

/* Footer */
.site-footer { background: var(--ink); color: #C9D2D0; padding: 4rem 0 2rem; }
.site-footer a { color: #E6ECEA; }
.site-footer a:hover { color: #fff; }
.brand-footer .brand-word { color: #fff; }
.footer-tag { margin: 0.75rem 0 0; color: #AFBBB8; }
.site-footer h4 { color: #fff; font-size: 1rem; font-weight: 700; margin-bottom: 0.75rem; }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { margin-bottom: 0.4rem; }
.disclaimer {
  margin: 2.5rem 0 0;
  padding: 1rem 1.2rem;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.05);
  font-size: 0.95rem;
  color: #C9D2D0;
}
.disclaimer .bi { color: #F27A9B; margin-right: 0.3rem; }
.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.5rem;
  margin-top: 2rem;
  padding-top: 1.25rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 0.92rem;
  color: #93A19E;
}

/* ---------- Privacy page ---------- */
.doc { padding: 3.5rem 0 5rem; }
.doc-wrap { max-width: 46rem; margin: 0 auto; }
.doc h1 { font-weight: 800; font-size: clamp(2rem, 4vw, 2.8rem); margin-bottom: 0.4rem; }
.doc .updated { color: var(--muted); margin-bottom: 2rem; }
.doc h2 { font-size: 1.35rem; font-weight: 700; margin: 2.2rem 0 0.6rem; }
.doc ul { padding-left: 1.2rem; }
.doc li { margin-bottom: 0.35rem; }
.doc .callout {
  background: var(--blush);
  border-radius: 16px;
  padding: 1rem 1.2rem;
  color: var(--rose-deep);
}

/* ---------- Responsive ---------- */
@media (max-width: 991.98px) {
  .site-nav .navbar-collapse {
    margin-top: 0.75rem;
    padding: 0.5rem;
    border-radius: 16px;
    background: #fff;
    border: 1px solid var(--line);
  }
  .hero { padding: 3rem 0 4rem; text-align: center; }
  .hero-lead { margin-left: auto; margin-right: auto; }
  .store-row, .hero-points { justify-content: center; }
  .float-card.notif { right: 0; top: 8%; }
  .float-card.week { left: 0; }

  .screen-tabs { flex-direction: row; overflow-x: auto; gap: 0.4rem; padding-bottom: 0.25rem; scrollbar-width: none; }
  .screen-tabs::-webkit-scrollbar { display: none; }
  .screen-tab { width: auto; flex: none; align-items: center; padding: 0.45rem 0.85rem 0.45rem 0.5rem; border-color: var(--line); background: #fff; }
  .tab-icon { width: 32px; height: 32px; font-size: 0.95rem; border-radius: 10px; }
  .tab-text strong { font-size: 1rem; white-space: nowrap; }
  .tab-desc { display: none; }
  .screen-caption {
    display: block;
    text-align: center;
    max-width: 22rem;
    margin: 1.25rem auto 0;
    padding: 0 1rem;
    color: var(--rose-deep);
    font-weight: 500;
  }
}

@media (max-width: 575.98px) {
  .container { --bs-gutter-x: 2rem; }
  body { font-size: 1rem; }
  .feature { display: grid; grid-template-columns: 48px minmax(0, 1fr); column-gap: 1rem; padding: 1.2rem 1.15rem; }
  .feature-icon { grid-row: span 2; }
  .feature h3 { margin: 0 0 0.25rem; font-size: 1.12rem; }
  .cta { padding: 4rem 0; }
  .brand { font-size: 26px; }
  .section { padding: 4rem 0; }
  .section-head { margin-bottom: 2rem; }
  .hero-lead { font-size: 1.08rem; }
  .store-btn { min-width: 0; flex: 1 1 10rem; justify-content: center; }
  .phone { max-width: 250px; border-radius: 40px; padding: 8px; }
  .phone img { border-radius: 33px; }
  .hero-art::before { width: 320px; height: 320px; }
  .hero-art::after { width: 52px; height: 52px; left: calc(50% - 160px); }
  .float-card.notif { width: 250px; right: -4px; top: 6%; padding: 0.65rem 0.75rem; }
  .float-card.notif p { display: none; }
  .float-card.week { left: -4px; bottom: 8%; max-width: 190px; padding: 0.6rem 0.75rem; }
  .float-card.week strong { font-size: 0.9rem; }
  .week-num { width: 40px; height: 40px; font-size: 1rem; }
  .vrow { grid-template-columns: 1fr; gap: 0.4rem; padding: 0.9rem 1.1rem; }
  .vhead { display: none; }
  .cta-box { padding: 2.5rem 1.5rem; border-radius: 24px; }
  .cta-mark { height: 80%; right: -12%; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .feature, .store-btn, .screen-stage .phone img { transition: none; }
}
