/* ============================================================
   EduCare Prime — Smart School, Smart Future
   ============================================================ */

:root {
  --navy: #1a2a6c;
  --navy-d: #14215a;
  --navy-2: #1e3a8a;
  --blue: #1e63d8;
  --blue-l: #3b82f6;
  --green: #4caf2f;
  --green-d: #3d9c23;
  --green-l: #5cb338;
  --orange: #f5a623;
  --purple: #7c4dff;
  --pink: #ec4899;
  --red: #ef4444;
  --teal: #14b8a6;
  --ink: #1f2a44;
  --muted: #6b7488;
  --line: #e7eaf1;
  --bg: #ffffff;
  --bg-soft: #f4f6fb;
  --bg-soft-2: #eef2fb;
  --shadow-sm: 0 4px 14px rgba(20, 33, 90, 0.06);
  --shadow: 0 10px 30px rgba(20, 33, 90, 0.10);
  --shadow-lg: 0 24px 60px rgba(20, 33, 90, 0.16);
  --radius: 14px;
  --radius-lg: 20px;
  --maxw: 1180px;
}

* { margin: 0; padding: 0; box-sizing: border-box; -webkit-tap-highlight-color: transparent; }

html { scroll-behavior: smooth; scroll-padding-top: 104px; -webkit-text-size-adjust: 100%; }

/* Thin, primary-colored scrollbar */
* { scrollbar-width: thin; scrollbar-color: var(--blue) var(--bg-soft); }
::-webkit-scrollbar { width: 8px; height: 8px; }
::-webkit-scrollbar-track { background: var(--bg-soft); }
::-webkit-scrollbar-thumb { background: var(--blue); border-radius: 8px; }
::-webkit-scrollbar-thumb:hover { background: #1a55bd; }

body {
  font-family: "Poppins", system-ui, -apple-system, "Segoe UI", sans-serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
picture { display: contents; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }

.container { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: 22px; }

.section { padding: 70px 0; }
.text-green { color: var(--green); }
.text-blue { color: var(--blue); }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  font-weight: 600; font-size: 15px; line-height: 1;
  padding: 14px 24px; border-radius: 10px; border: 2px solid transparent;
  cursor: pointer; transition: transform .18s ease, box-shadow .18s ease, background .18s ease, color .18s ease;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); }
.btn--sm { padding: 11px 20px; font-size: 14px; }
.btn--block { width: 100%; }
.btn--primary { background: var(--blue); color: #fff; box-shadow: 0 8px 20px rgba(30, 99, 216, .28); }
.btn--primary:hover { background: #1a55bd; box-shadow: 0 12px 26px rgba(30, 99, 216, .36); }
.btn--whatsapp { background: var(--green); color: #fff; box-shadow: 0 8px 20px rgba(76, 175, 47, .28); }
.btn--whatsapp:hover { background: var(--green-d); }
.btn--outline { background: #fff; color: var(--blue); border-color: #d6e2fb; box-shadow: var(--shadow-sm); }
.btn--outline:hover { border-color: var(--blue); }
.btn--light { background: #fff; color: var(--navy); box-shadow: var(--shadow); }
.btn--light i { color: #e62117; }

/* ---------- Section heads ---------- */
.section__head { text-align: center; max-width: 720px; margin: 0 auto 42px; }
.section__title { font-size: clamp(26px, 3.4vw, 36px); font-weight: 700; color: var(--navy); letter-spacing: -.02em; }
.section__sub { color: var(--muted); margin-top: 10px; font-size: 16px; }
.section__title--light { color: #fff; }
.section__sub--light { color: #c6d2ee; }

/* ============================================================
   HEADER
   ============================================================ */
.header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255, 255, 255, .92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
  transition: box-shadow .25s ease;
}
.header.scrolled { box-shadow: var(--shadow-sm); }
.header__inner { display: flex; align-items: center; justify-content: space-between; height: 92px; gap: 20px; }
.brand__logo { height: 84px; width: auto; }

.nav__list { display: flex; align-items: center; gap: 6px; }
.nav__link {
  font-size: 15px; font-weight: 500; color: var(--ink);
  padding: 8px 12px; border-radius: 8px; position: relative; transition: color .18s;
}
.nav__link::after {
  content: ""; position: absolute; left: 12px; right: 12px; bottom: 2px; height: 2px;
  background: var(--green); border-radius: 2px; transform: scaleX(0); transform-origin: left; transition: transform .22s ease;
}
.nav__link:hover { color: var(--blue); }
.nav__link.active { color: var(--blue); }
.nav__link.active::after, .nav__link:hover::after { transform: scaleX(1); }

.header__actions { display: flex; align-items: center; gap: 12px; }
.nav__toggle, .nav__close { display: none; background: none; border: none; font-size: 22px; color: var(--navy); cursor: pointer; }
.nav__head, .nav__cta { display: none; }

/* ============================================================
   HERO
   ============================================================ */
.hero { position: relative; padding: 56px 0 64px; overflow: hidden; }
.hero__bg {
  position: absolute; inset: 0; z-index: -1;
  background:
    radial-gradient(900px 500px at 88% 8%, #e8f0ff 0%, rgba(232,240,255,0) 60%),
    radial-gradient(700px 520px at 100% 60%, #eafbe8 0%, rgba(234,251,232,0) 55%),
    linear-gradient(180deg, #f7faff 0%, #ffffff 70%);
}
.hero__bg::after {
  content: ""; position: absolute; right: -120px; top: 0; bottom: 0; width: 55%;
  background: radial-gradient(circle at 80% 40%, rgba(30,99,216,.10), transparent 60%);
}
.hero__inner { display: grid; grid-template-columns: 1.05fr 1.25fr; gap: 30px; align-items: center; }

.hero__title { font-size: clamp(36px, 5.4vw, 60px); line-height: 1.05; font-weight: 800; color: var(--navy); letter-spacing: -.02em; }
.hero__sub { margin-top: 18px; font-size: clamp(16px, 1.7vw, 19px); color: #46506a; }

.hero__trust { display: flex; flex-wrap: nowrap; gap: 10px; margin-top: 24px; }
.hero__trust-item {
  display: inline-flex; align-items: center; gap: 7px; flex: none; white-space: nowrap;
  background: #fff; border: 1px solid #e1e8f5; box-shadow: var(--shadow-sm);
  padding: 9px 14px; border-radius: 999px;
  font-size: 14px; color: #46506a; font-weight: 500;
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
  cursor: default;
}
.hero__trust-item:hover { transform: translateY(-3px); box-shadow: var(--shadow); border-color: #c9d6f2; }
.hero__trust-item i { color: var(--blue); }
.hero__trust-item b { color: var(--navy); font-weight: 700; }
.hero__trust-item--rating i { color: var(--orange); }

.hero__buttons { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 26px; }

.hero__badges { display: flex; flex-wrap: wrap; gap: 18px; margin-top: 24px; }
.hero__badges li { display: flex; align-items: center; gap: 7px; font-size: 14px; color: #44506a; font-weight: 500; }
.hero__badges i { color: var(--green); }

/* ---- Hero visual / image ---- */
.hero__visual { position: relative; display: flex; justify-content: center; align-items: center; }
.hero__img {
  width: 135%; max-width: 135%; height: auto;
  filter: drop-shadow(0 26px 50px rgba(20, 33, 90, .18));
}

/* ---- Hero visual / CSS mockups (legacy / unused) ---- */
.hero__visual--mockup { position: relative; min-height: 400px; padding-right: 18px; padding-bottom: 48px; }

.mockup-laptop { position: relative; width: 100%; max-width: 600px; margin-left: auto; }
.mockup-laptop__screen {
  background: #0f1f4d;
  background: linear-gradient(180deg, #142766, #0b173f);
  border-radius: 16px 16px 0 0; padding: 14px 14px 16px;
  box-shadow: var(--shadow-lg);
}
.mockup-laptop__base {
  height: 18px; background: linear-gradient(#e4e9f2, #c2cbdc);
  border-radius: 0 0 16px 16px; position: relative; width: 116%; left: -8%;
  box-shadow: 0 16px 30px rgba(20,33,90,.18);
}
.mockup-laptop__base::after {
  content: ""; position: absolute; top: 0; left: 50%; transform: translateX(-50%);
  width: 110px; height: 7px; background: #b3bdd0; border-radius: 0 0 9px 9px;
}

/* Dashboard inside laptop */
.dash { background: #eef2f9; border-radius: 9px; overflow: hidden; font-size: 11px; }
.dash__top { display: flex; align-items: center; gap: 12px; background: #fff; padding: 11px 14px; border-bottom: 1px solid var(--line); }
.dash__brand { display: flex; align-items: center; gap: 7px; font-weight: 700; color: var(--navy); font-size: 13px; flex: none; }
.dash__brand img { height: 20px; }
.dash__search { flex: 1; display: flex; align-items: center; gap: 6px; background: #f1f4fa; color: #9aa3b6; border: 1px solid #e8ecf5; border-radius: 8px; padding: 7px 11px; font-size: 10px; }
.dash__user { display: flex; align-items: center; gap: 6px; color: #46506a; font-weight: 600; font-size: 11px; flex: none; }
.dash__user i { color: var(--blue); font-size: 18px; }

.dash__body { display: grid; grid-template-columns: 116px 1fr; }
.dash__side { background: var(--navy); background: linear-gradient(180deg, #1c2f73, #15235c); padding: 12px 9px; display: flex; flex-direction: column; gap: 4px; }
.dash__menu { display: flex; align-items: center; gap: 8px; color: #b9c4ed; padding: 7px 9px; border-radius: 7px; font-size: 10.5px; font-weight: 500; }
.dash__menu i { width: 14px; text-align: center; font-size: 11px; }
.dash__menu--active { background: var(--blue); color: #fff; box-shadow: 0 4px 10px rgba(30,99,216,.35); }

.dash__main { padding: 13px 14px; }
.dash__cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; }
.dstat { background: #fff; border: 1px solid #edf0f6; border-radius: 10px; padding: 11px 10px; position: relative; box-shadow: 0 3px 8px rgba(20,33,90,.05); }
.dstat__label { display: block; color: #8b93a7; font-size: 9px; margin-bottom: 2px; }
.dstat b { font-size: 14px; color: var(--navy); font-weight: 700; }
.dstat__ic { position: absolute; right: 9px; top: 10px; width: 24px; height: 24px; border-radius: 7px; display: grid; place-items: center; color: #fff; font-size: 11px; }
.dstat__ic--blue { background: var(--blue); }
.dstat__ic--orange { background: var(--orange); }
.dstat__ic--green { background: var(--green); }
.dstat__ic--purple { background: var(--purple); }
/* keep the 4th (Fees) card content clear of the overlapping phone */
.dstat:nth-child(4) { padding-right: 14px; }

.dash__lists { display: grid; grid-template-columns: 1fr 1fr; gap: 11px; margin-top: 11px; }
.dlist { background: #fff; border: 1px solid #edf0f6; border-radius: 10px; padding: 12px; box-shadow: 0 3px 8px rgba(20,33,90,.05); }
.dlist h5 { font-size: 10.5px; color: var(--navy); font-weight: 700; margin-bottom: 8px; }
.dlist p { display: flex; align-items: center; gap: 7px; font-size: 9.5px; color: #5b647c; padding: 5px 0; border-bottom: 1px solid #f1f4fa; }
.dlist p:last-child { border-bottom: none; padding-bottom: 0; }
.dlist p span { margin-left: auto; color: #aab2c5; font-size: 8px; white-space: nowrap; }
.dot { font-size: 5px !important; }
.dot--green { color: var(--green); } .dot--blue { color: var(--blue); }
.dot--orange { color: var(--orange); } .dot--purple { color: var(--purple); }

/* Phone overlapping laptop */
.mockup-phone {
  position: absolute; right: -14px; bottom: -42px; width: 138px;
  background: #0a1740; border-radius: 26px; padding: 7px; z-index: 5;
  box-shadow: 0 26px 50px rgba(10,18,40,.34);
  border: 1px solid #1c2c5e;
}
.mockup-phone::after {
  content: ""; position: absolute; right: -2px; top: 70px; width: 3px; height: 34px;
  background: #1c2c5e; border-radius: 3px;
}
.mockup-phone__notch { width: 42px; height: 5px; background: #283a72; border-radius: 5px; margin: 3px auto 7px; }
.mockup-phone__screen { background: #eef2f9; border-radius: 20px; padding: 11px 10px; }
.pdash__brand { display: flex; align-items: center; gap: 5px; font-weight: 700; color: var(--navy); font-size: 10.5px; }
.pdash__brand img { height: 15px; }
.pdash__welcome { margin: 9px 0 8px; }
.pdash__welcome small { color: #8b93a7; font-size: 8px; display: block; }
.pdash__welcome b { color: var(--navy); font-size: 13px; }
.pdash__kid { display: flex; align-items: center; gap: 7px; background: #fff; border-radius: 9px; padding: 6px 7px; margin-bottom: 6px; box-shadow: 0 2px 5px rgba(20,33,90,.06); }
.pdash__kid i { color: var(--blue); font-size: 17px; }
.pdash__kid span { font-size: 8.5px; color: var(--navy); font-weight: 600; line-height: 1.25; }
.pdash__kid small { color: #9aa3b6; font-weight: 400; }
.pdash__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; margin-top: 8px; }
.pico { display: flex; flex-direction: column; align-items: center; gap: 4px; border-radius: 10px; padding: 9px 3px; color: #fff; box-shadow: 0 3px 8px rgba(20,33,90,.12); }
.pico small { font-size: 6.5px; font-weight: 500; }
.pico i { font-size: 13px; }
.pico--blue { background: var(--blue); } .pico--orange { background: var(--orange); }
.pico--purple { background: var(--purple); } .pico--green { background: var(--green); }
.pico--teal { background: var(--teal); } .pico--pink { background: var(--pink); }

/* ============================================================
   FEATURES
   ============================================================ */
.features { background: var(--bg-soft); }
.features__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.fcard {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 20px; display: flex; gap: 14px; align-items: flex-start;
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.fcard:hover { transform: translateY(-5px); box-shadow: var(--shadow); border-color: transparent; }
.fcard__ic { flex: none; width: 46px; height: 46px; border-radius: 11px; display: grid; place-items: center; font-size: 19px; color: #fff; }
.fcard h3 { font-size: 15px; color: var(--navy); font-weight: 600; }
.fcard p { font-size: 13px; color: var(--muted); margin-top: 3px; line-height: 1.45; }
.fic--navy { background: linear-gradient(135deg, #243b8f, var(--navy)); }
.fic--green { background: linear-gradient(135deg, #5cc23a, var(--green-d)); }
.fic--orange { background: linear-gradient(135deg, #f7b733, #f5871f); }
.fic--purple { background: linear-gradient(135deg, #9b6dff, #7c4dff); }
.fic--blue { background: linear-gradient(135deg, #4f8df9, var(--blue)); }
.fic--pink { background: linear-gradient(135deg, #f472b6, #db2777); }
.fic--red { background: linear-gradient(135deg, #fb7185, var(--red)); }
.fic--teal { background: linear-gradient(135deg, #2dd4bf, #0d9488); }

.features__cta { text-align: center; margin-top: 38px; }

/* ============================================================
   MOBILE APPS
   ============================================================ */
.apps { background: #fff; }
.apps__inner { display: grid; grid-template-columns: 0.85fr 1.15fr; gap: 40px; align-items: center; }
.apps__eyebrow { font-weight: 700; font-size: 15px; }
.apps__title { font-size: clamp(24px, 3vw, 33px); font-weight: 700; color: var(--navy); margin-top: 6px; letter-spacing: -.02em; line-height: 1.15; }
.apps__desc { color: var(--muted); margin: 14px 0 18px; }
.apps__list { display: grid; gap: 12px; margin-bottom: 26px; }
.apps__list li { display: flex; align-items: center; gap: 10px; font-weight: 500; color: #3b455e; }
.apps__list i { color: var(--green); font-size: 18px; }

.apps__phones { display: flex; justify-content: center; align-items: center; }
.apps__img { width: 100%; max-width: 620px; height: auto; filter: drop-shadow(0 22px 44px rgba(20, 33, 90, .14)); }
.appphone { width: 184px; text-align: center; }
.appphone__screen {
  background: #fff; border: 7px solid #0f1f4d; border-radius: 26px; padding: 12px 10px;
  min-height: 320px; box-shadow: var(--shadow); margin-bottom: 14px;
}
.appphone h4 { color: var(--blue); font-size: 16px; }
.appphone > p { color: var(--muted); font-size: 12.5px; margin-top: 4px; }

.appscreen__brand { display: flex; align-items: center; justify-content: center; gap: 5px; font-weight: 700; color: var(--navy); font-size: 12px; }
.appscreen__brand img { height: 16px; }
.appscreen__brand--light { color: #fff; }
.appscreen__welcome { display: block; text-align: center; color: #8b93a7; font-size: 10px; margin: 6px 0 10px; }
.appscreen__kid { display: flex; align-items: center; gap: 8px; background: #f4f6fb; border-radius: 9px; padding: 7px 9px; margin-bottom: 7px; font-size: 11px; color: var(--navy); font-weight: 600; }
.appscreen__kid i { color: var(--blue); font-size: 18px; }
.appscreen__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 7px; margin-top: 10px; }
.appscreen__grid .pico { padding: 12px 4px; }
.appscreen__grid .pico i { font-size: 16px; }

.appscreen__row { display: flex; gap: 8px; margin-bottom: 8px; }
.trow { flex: 1; display: grid; place-items: center; padding: 14px 0; border-radius: 10px; color: #fff; font-size: 18px; }
.trow--green { background: var(--green); } .trow--pink { background: var(--pink); }
.appscreen__sub { font-size: 11px; color: var(--navy); text-align: left; margin: 4px 0 8px; }
.appscreen__sched { display: flex; justify-content: space-between; align-items: center; background: #f4f6fb; border-radius: 8px; padding: 8px 9px; margin-bottom: 6px; }
.appscreen__sched b { font-size: 10.5px; color: var(--navy); }
.appscreen__sched small { font-size: 9px; color: var(--blue); font-weight: 600; }

.appscreen--qr { background: linear-gradient(160deg, #18306f, #0f1f4d); }
.qrbox { background: #fff; width: 110px; height: 110px; border-radius: 12px; display: grid; place-items: center; margin: 12px auto; font-size: 84px; color: var(--navy); }
.qrcard { background: #fff; border-radius: 12px; padding: 12px; text-align: center; }
.qrcard > i { font-size: 30px; color: var(--blue); }
.qrcard b { display: block; color: var(--navy); font-size: 13px; margin-top: 5px; }
.qrcard small { color: var(--muted); font-size: 10px; }
.qrcard__ok { display: inline-flex; align-items: center; gap: 5px; margin-top: 8px; background: #e6f8e6; color: var(--green-d); font-size: 9.5px; font-weight: 600; padding: 4px 9px; border-radius: 999px; }

/* ============================================================
   VIDEO DEMOS (dark)
   ============================================================ */
.videos { background: linear-gradient(160deg, #112258, #0c1a45); }

/* Single large video player */
.video-player {
  position: relative; max-width: 900px; margin: 0 auto;
  aspect-ratio: 16 / 9; border-radius: 18px; overflow: hidden;
  border: 3px solid rgba(255,255,255,.12);
  box-shadow: 0 30px 70px rgba(0,0,0,.45);
  cursor: pointer; background: #0b173f;
}
.video-player__thumb {
  width: 100%; height: 100%; object-fit: cover; display: block;
  transition: transform .4s ease, filter .3s ease;
}
.video-player:hover .video-player__thumb { transform: scale(1.04); filter: brightness(.82); }
.video-player::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,0) 40%, rgba(0,0,0,.28));
  pointer-events: none; transition: opacity .3s; opacity: .7;
}
.video-player:hover::after { opacity: 1; }
.video-player__play {
  position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); z-index: 2;
  width: 84px; height: 84px; border-radius: 50%; border: none; cursor: pointer;
  background: var(--green); color: #fff; font-size: 30px; padding-left: 6px;
  display: grid; place-items: center;
  box-shadow: 0 12px 30px rgba(76,175,47,.5);
  transition: transform .25s ease, background .25s ease;
  animation: playPulse 2.2s infinite;
}
.video-player__play:hover { background: var(--green-d); transform: translate(-50%, -50%) scale(1.1); }
@keyframes playPulse {
  0%, 100% { box-shadow: 0 12px 30px rgba(76,175,47,.5); }
  50% { box-shadow: 0 12px 30px rgba(76,175,47,.5), 0 0 0 16px rgba(76,175,47,.14); }
}
/* When playing, the iframe replaces thumb/button */
.video-player.playing .video-player__thumb,
.video-player.playing .video-player__play { display: none; }
.video-player.playing::after { display: none; }
.video-player iframe { position: absolute; inset: 0; width: 100% !important; height: 100% !important; border: 0; }

.videos__cta { text-align: center; margin-top: 36px; }

/* ============================================================
   PRICING
   ============================================================ */
.pricing { background: linear-gradient(180deg, #f7faff 0%, #ffffff 60%); }

/* ---- Billing toggle ---- */
.bill-toggle { display: flex; align-items: center; justify-content: center; gap: 16px; margin: -14px 0 40px; }
.bill-toggle__label { font-weight: 600; font-size: 15px; color: var(--muted); display: inline-flex; align-items: center; gap: 8px; transition: color .2s; cursor: pointer; }
.bill-toggle__label.is-active { color: var(--navy); }
.bill-toggle__save { font-style: normal; font-size: 11px; font-weight: 700; color: var(--green-d); background: #e6f8e6; padding: 3px 9px; border-radius: 999px; }
.bill-toggle__switch {
  width: 56px; height: 30px; border-radius: 999px; border: none; cursor: pointer; padding: 0;
  background: #d6deec; position: relative; transition: background .25s ease;
}
.bill-toggle__switch[aria-checked="true"] { background: var(--green); }
.bill-toggle__knob {
  position: absolute; top: 3px; left: 3px; width: 24px; height: 24px; border-radius: 50%;
  background: #fff; box-shadow: 0 2px 6px rgba(0,0,0,.2); transition: transform .25s ease;
}
.bill-toggle__switch[aria-checked="true"] .bill-toggle__knob { transform: translateX(26px); }

/* ---- Plans grid ---- */
.plans { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 26px; max-width: 880px; margin: 0 auto; align-items: stretch; }
.plan {
  position: relative; background: #fff; border: 1px solid var(--line); border-radius: 20px;
  padding: 32px 28px; box-shadow: var(--shadow-sm); display: flex; flex-direction: column;
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}
.plan:hover { transform: translateY(-6px); box-shadow: var(--shadow); }

.plan--featured {
  border: 2px solid var(--green); box-shadow: 0 24px 56px rgba(76,175,47,.18);
  background: linear-gradient(180deg, #ffffff, #f6fff3);
}
.plan--featured:hover { box-shadow: 0 30px 64px rgba(76,175,47,.26); }
.plan--dim { opacity: .72; transform: scale(.985); }
.plan--dim:hover { opacity: 1; transform: translateY(-6px); }
.plan__badge {
  position: absolute; top: -15px; left: 50%; transform: translateX(-50%); white-space: nowrap;
  background: linear-gradient(135deg, var(--green-l), var(--green-d)); color: #fff;
  font-size: 11px; font-weight: 700; letter-spacing: .05em; padding: 7px 18px; border-radius: 999px;
  box-shadow: 0 8px 18px rgba(76,175,47,.4);
}

.plan__head { margin-bottom: 18px; }
.plan__name { display: inline-flex; align-items: center; gap: 9px; font-size: 19px; font-weight: 700; color: var(--navy); }
.plan--featured .plan__name i { color: var(--green); }
.plan__name i { color: var(--blue); }
.plan__tag { color: var(--muted); font-size: 13.5px; margin-top: 5px; }

.plan__price { display: flex; align-items: flex-start; gap: 3px; color: var(--navy); line-height: 1; }
.plan__rupee { font-size: 26px; font-weight: 700; margin-top: 12px; }
.plan__amount { font-size: 56px; font-weight: 800; letter-spacing: -.02em; }
.plan__per { align-self: flex-end; color: var(--muted); font-weight: 500; font-size: 15px; margin-bottom: 8px; margin-left: 4px; }
.plan__note { font-size: 13px; color: var(--muted); margin: 8px 0 20px; }
.plan__note s { color: #aab2c5; }
.plan--featured .plan__note { color: #3b455e; }

.plan .btn { margin-bottom: 22px; }
.plan__features { display: grid; gap: 12px; border-top: 1px solid var(--line); padding-top: 20px; margin-top: auto; }
.plan__features li { display: flex; align-items: flex-start; gap: 10px; font-size: 14px; color: #3b455e; font-weight: 500; line-height: 1.4; }
.plan__features i { color: var(--green); font-size: 16px; margin-top: 2px; flex: none; }
.plan__features b { color: var(--navy); }

.plans__foot { text-align: center; margin-top: 30px; color: var(--muted); font-size: 14px; font-weight: 500; display: flex; align-items: center; justify-content: center; gap: 8px; flex-wrap: wrap; }
.plans__foot i { color: var(--green); }

/* ============================================================
   WHY CHOOSE / STATS
   ============================================================ */
.why { background: var(--bg-soft); }
.why__grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 18px; }
.stat {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 26px 16px; text-align: center; box-shadow: var(--shadow-sm);
  transition: transform .2s ease, box-shadow .2s ease;
}
.stat:hover { transform: translateY(-5px); box-shadow: var(--shadow); }
.stat__ic { font-size: 32px; color: var(--blue); margin-bottom: 10px; }
.stat__ic--green { color: var(--green); }
.stat b { display: block; font-size: 30px; font-weight: 800; color: var(--navy); }
.stat span { color: var(--muted); font-size: 14px; font-weight: 500; }

/* ============================================================
   ABOUT + CONTACT
   ============================================================ */
.about { background: #fff; }
.about__inner { display: grid; grid-template-columns: 0.95fr 0.85fr 1.2fr; gap: 26px; align-items: start; }
.founder, .touch, .demo {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; box-shadow: var(--shadow-sm);
}
.founder__head, .touch__head, .demo__head { font-size: 19px; color: var(--navy); font-weight: 700; margin-bottom: 16px; }

.founder__top { display: flex; align-items: center; gap: 14px; margin-bottom: 14px; }
.founder__avatar { flex: none; width: 64px; height: 64px; border-radius: 50%; background: linear-gradient(135deg, #e6eefc, #d4e1fb); color: var(--blue); display: grid; place-items: center; font-size: 28px; overflow: hidden; }
.founder__avatar img { width: 100%; height: 100%; object-fit: cover; border-radius: 50%; }
.founder__name { display: block; color: var(--navy); font-size: 17px; }
.founder__role { color: var(--blue); font-size: 13px; font-weight: 500; }
.founder__bio { color: #4b556e; font-size: 14px; }
.founder__mission { color: #4b556e; font-size: 14px; margin-top: 10px; }
.founder__mission b { color: var(--navy); }
.founder__sign { display: block; margin-top: 14px; font-family: "Brush Script MT", "Segoe Script", cursive; font-size: 24px; color: var(--navy); }

.touch__lead { color: var(--muted); margin-bottom: 16px; font-size: 14px; }
.touch__list { display: grid; gap: 14px; }
.touch__list li { display: flex; align-items: center; gap: 12px; font-size: 14px; color: #3b455e; font-weight: 500; }
.touch__list i { width: 34px; height: 34px; border-radius: 9px; background: #eef9ec; color: var(--green); display: grid; place-items: center; font-size: 15px; flex: none; }
.touch__list li:first-child i { background: #eaf1ff; color: var(--blue); }

.demo { background: linear-gradient(160deg, #f7faff, #fff); }
.demo__lead { color: var(--muted); font-size: 14px; margin-bottom: 16px; }
.demo__row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-bottom: 12px; }
.demo__form input, .demo__form textarea {
  width: 100%; font-family: inherit; font-size: 14px; color: var(--ink);
  background: #fff; border: 1px solid var(--line); border-radius: 10px; padding: 12px 14px; outline: none;
  transition: border-color .18s, box-shadow .18s;
}
.demo__form textarea { margin-bottom: 14px; resize: vertical; }
.demo__form input:focus, .demo__form textarea:focus { border-color: var(--blue); box-shadow: 0 0 0 3px rgba(30,99,216,.12); }
.demo__note { font-size: 13px; margin-top: 10px; min-height: 18px; font-weight: 500; }
.demo__note.ok { color: var(--green-d); }
.demo__note.err { color: var(--red); }

/* ============================================================
   TESTIMONIALS
   ============================================================ */
.testi { background: var(--bg-soft); }
.testi__slider { position: relative; max-width: 1040px; margin: 0 auto; }
.testi__track { display: flex; gap: 22px; overflow: hidden; scroll-behavior: smooth; }
.tcard {
  flex: 0 0 calc((100% - 44px) / 3); background: #fff; border: 1px solid var(--line);
  border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-sm); position: relative;
  display: flex; flex-direction: column;
}
.tcard__photo { width: 100%; aspect-ratio: 4 / 3; background: #eef2fb; overflow: hidden; }
.tcard__photo img { width: 100%; height: 100%; object-fit: cover; object-position: center 22%; display: block; }
.tcard__body { padding: 22px; display: flex; flex-direction: column; flex: 1; }
.tcard__quote { color: var(--green); font-size: 22px; opacity: .55; }
.tcard__stars { color: #f5a623; font-size: 14px; letter-spacing: 2px; margin-top: 8px; }
.tcard p { color: #46506a; font-size: 15.5px; line-height: 1.7; margin: 12px 0 18px; font-style: italic; flex: 1; }
.tcard__person { border-top: 1px solid var(--line); padding-top: 14px; }
.tcard__person b { display: block; color: var(--navy); font-size: 15px; }
.tcard__person small { color: var(--muted); font-size: 13px; }

.testi__arrow {
  position: absolute; top: 50%; transform: translateY(-50%); z-index: 3;
  width: 42px; height: 42px; border-radius: 50%; border: none; background: #fff;
  color: var(--navy); font-size: 15px; cursor: pointer; box-shadow: var(--shadow); transition: .2s;
}
.testi__arrow:hover { background: var(--blue); color: #fff; }
.testi__arrow--prev { left: -18px; }
.testi__arrow--next { right: -18px; }

.testi__dots { display: flex; justify-content: center; gap: 8px; margin-top: 24px; }
.testi__dots button { width: 9px; height: 9px; border-radius: 50%; border: none; background: #cdd6e8; cursor: pointer; transition: .2s; padding: 0; }
.testi__dots button.active { background: var(--blue); width: 24px; border-radius: 5px; }

/* ============================================================
   FAQ
   ============================================================ */
.faq__list { max-width: 820px; margin: 0 auto; display: grid; gap: 14px; }
.faq__item {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  box-shadow: var(--shadow-sm); padding: 0 20px; transition: box-shadow .25s ease, border-color .25s ease;
}
.faq__item[open], .faq__item.is-open { border-color: #c9d6f2; box-shadow: var(--shadow); }
.faq__item summary {
  list-style: none; cursor: pointer; padding: 18px 0; padding-right: 34px;
  font-weight: 600; font-size: 16px; color: var(--navy); position: relative;
  -webkit-user-select: none; user-select: none;
}
.faq__item summary::-webkit-details-marker { display: none; }
/* single "+" glyph that rotates 45° into an "×"/"−" for a smooth animation */
.faq__item summary::after {
  content: "\002B"; position: absolute; right: 0; top: 50%;
  font-size: 24px; font-weight: 400; line-height: 1; color: var(--blue);
  transform: translateY(-50%) rotate(0deg);
  transition: transform .3s cubic-bezier(.4, 0, .2, 1), color .25s ease;
}
.faq__item[open] summary::after, .faq__item.is-open summary::after {
  transform: translateY(-50%) rotate(135deg); color: var(--green);
}

/* animatable answer panel: collapsed by 0fr -> 1fr grid row */
.faq__panel {
  display: grid; grid-template-rows: 0fr;
  transition: grid-template-rows .34s cubic-bezier(.4, 0, .2, 1);
}
.faq__item.is-open .faq__panel { grid-template-rows: 1fr; }
.faq__panel > div { overflow: hidden; min-height: 0; }
.faq__item p {
  color: #4b556e; font-size: 14.5px; line-height: 1.7; padding: 0 0 18px; margin: 0;
  opacity: 0; transform: translateY(-4px);
  transition: opacity .3s ease .04s, transform .3s ease .04s;
}
.faq__item.is-open p { opacity: 1; transform: translateY(0); }

/* ============================================================
   FOOTER
   ============================================================ */
.footer { background: #0c1a45; color: #aeb9d6; }
.footer__inner { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr 1.3fr; gap: 28px; padding: 56px 0 36px; }
.footer__logo { height: 64px; width: auto; background: #fff; padding: 4px 6px; border-radius: 8px; margin-bottom: 14px; }
.footer__brand p { font-size: 13.5px; line-height: 1.7; }
.footer__social { display: flex; gap: 10px; margin-top: 16px; }
.footer__social a { width: 36px; height: 36px; border-radius: 9px; background: rgba(255,255,255,.08); display: grid; place-items: center; color: #cdd6ee; transition: .2s; }
.footer__social a:hover { background: var(--green); color: #fff; transform: translateY(-3px); }
.footer__col h3 { color: #fff; font-size: 16px; margin-bottom: 16px; font-weight: 600; }
.footer__col ul { display: grid; gap: 10px; }
.footer__col ul a { font-size: 13.5px; color: #aeb9d6; transition: .18s; }
.footer__col ul a:hover { color: var(--green-l); padding-left: 4px; }
.footer__col > p { font-size: 13.5px; margin-bottom: 14px; }

.footer__news { display: flex; flex-direction: column; gap: 10px; }
.footer__news input { font-family: inherit; padding: 11px 13px; border-radius: 9px; border: 1px solid rgba(255,255,255,.16); background: rgba(255,255,255,.06); color: #fff; outline: none; }
.footer__news input::placeholder { color: #8896b8; }
.footer__news input:focus { border-color: var(--green); }
.footer__news button { font-family: inherit; font-weight: 600; padding: 11px; border: none; border-radius: 9px; background: var(--green); color: #fff; cursor: pointer; transition: .2s; }
.footer__news button:hover { background: var(--green-d); }

.footer__bottom { border-top: 1px solid rgba(255,255,255,.1); padding: 18px 0; }
.footer__bottom-inner { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 10px; font-size: 13px; color: #95a2c6; }

/* ============================================================
   FLOATING ELEMENTS
   ============================================================ */
.float-wa {
  position: fixed; right: 22px; bottom: 22px; z-index: 90;
  width: 56px; height: 56px; border-radius: 50%; background: #25d366; color: #fff;
  display: grid; place-items: center; font-size: 28px; box-shadow: 0 10px 24px rgba(37,211,102,.45);
  animation: waPulse 2.4s infinite;
}
.float-wa:hover { transform: scale(1.08); }
@keyframes waPulse { 0%, 100% { box-shadow: 0 10px 24px rgba(37,211,102,.45); } 50% { box-shadow: 0 10px 24px rgba(37,211,102,.45), 0 0 0 12px rgba(37,211,102,.12); } }

/* ============================================================
   REVEAL ANIMATION (subtle fade-up as sections enter viewport)
   ============================================================ */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity .6s cubic-bezier(.22, 1, .36, 1), transform .6s cubic-bezier(.22, 1, .36, 1);
  will-change: opacity, transform;
}
.reveal.is-visible {
  opacity: 1;
  transform: none;
  will-change: auto;
}

/* ============================================================
   ACCESSIBILITY — visible keyboard focus
   ============================================================ */
:focus-visible {
  outline: 3px solid var(--blue);
  outline-offset: 2px;
  border-radius: 6px;
}
/* mouse clicks shouldn't show the ring on these */
.btn:focus:not(:focus-visible),
.nav__link:focus:not(:focus-visible) { outline: none; }

/* ============================================================
   PERF — skip rendering offscreen heavy sections until needed
   ============================================================ */
.testi,
.about,
.footer {
  content-visibility: auto;
  contain-intrinsic-size: auto 600px;
}

/* ============================================================
   RESPONSIVE
   ============================================================ */

/* ---- Large tablets / small laptops ---- */
@media (max-width: 1080px) {
  .features__grid { grid-template-columns: repeat(3, 1fr); }
  .why__grid { grid-template-columns: repeat(3, 1fr); }
  .footer__inner { grid-template-columns: 1.6fr 1fr 1fr 1.3fr; }
  .footer__col:nth-child(4) { display: none; }  /* hide "Our Solutions" to keep footer balanced */
}

/* ---- Tablets ---- */
@media (max-width: 920px) {
  .hero__inner { grid-template-columns: minmax(0, 1fr); }
  .hero__content { text-align: center; display: flex; flex-direction: column; align-items: center; min-width: 0; }
  .hero__buttons, .hero__badges, .hero__trust { justify-content: center; }
  .hero__visual { order: 2; margin-top: 24px; }
  .hero__img { width: 100%; max-width: min(520px, 100%); }
  .mockup-laptop { margin-inline: auto; }
  .apps__inner { grid-template-columns: 1fr; gap: 30px; }
  .apps__text { text-align: center; }
  .apps__list { max-width: 360px; margin-inline: auto; margin-bottom: 26px; }
  .plans { grid-template-columns: 1fr; max-width: 440px; gap: 32px; }
  .plan--dim { opacity: 1; transform: none; }
  .about__inner { grid-template-columns: 1fr 1fr; }
  .demo { grid-column: 1 / -1; }
  .tcard { flex-basis: calc((100% - 22px) / 2); }
}

/* ---- Mobile (phones, large) ---- */
@media (max-width: 760px) {
  /* tighter header + smaller logo so it doesn't dominate the viewport */
  html { scroll-padding-top: 80px; }
  .header__inner { height: 68px; }
  .brand__logo { height: 54px; }

  /* The header's backdrop-filter creates a containing block, which would trap
     the fixed drawer inside the 68px-tall header. Drop the blur on mobile so
     the drawer's `position: fixed` resolves against the viewport (full height). */
  .header { backdrop-filter: none; -webkit-backdrop-filter: none; background: #fff; }

  /* ---- mobile nav drawer (premium) ---- */
  .nav {
    position: fixed; inset: 0 0 0 auto; width: min(82vw, 340px); height: 100%;
    display: flex; flex-direction: column;
    background: #fff; box-shadow: -8px 0 24px rgba(10,18,40,.12);
    transform: translateX(100%); transition: transform .35s cubic-bezier(.4,0,.2,1);
    z-index: 200; overflow: hidden;
  }
  .nav.open { transform: translateX(0); }

  /* branded gradient header strip with logo + close */
  .nav__head {
    display: flex; align-items: center; justify-content: space-between;
    padding: calc(18px + env(safe-area-inset-top, 0px)) 20px 18px;
    background: linear-gradient(135deg, var(--navy) 0%, var(--blue) 100%);
    position: relative; flex-shrink: 0;
  }
  .nav__head::after {
    content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 3px;
    background: linear-gradient(90deg, var(--green), var(--green-l));
  }
  .nav__logo { height: 52px; width: auto; filter: brightness(0) invert(1); }
  .nav__close {
    display: grid; place-items: center; width: 42px; height: 42px; border-radius: 50%;
    color: #fff; font-size: 18px; line-height: 1;
    background: rgba(255,255,255,.18); border: 1px solid rgba(255,255,255,.28);
    transition: background .18s, transform .25s; position: static;
  }
  .nav__close:hover, .nav__close:active { background: rgba(255,255,255,.32); transform: rotate(90deg); }

  /* links — scrollable middle area */
  .nav__list {
    flex: 1; flex-direction: column; align-items: stretch; gap: 4px;
    padding: 18px 16px; overflow-y: auto; -webkit-overflow-scrolling: touch;
  }
  .nav__link {
    display: flex; align-items: center; gap: 12px;
    padding: 14px 16px; border-radius: 12px; font-size: 16px; font-weight: 500;
    color: var(--ink); position: relative;
    transition: background .2s, color .2s, padding-left .2s;
    /* staggered entrance — set per-item below */
    opacity: 0; transform: translateX(18px);
  }
  .nav.open .nav__link { animation: navLinkIn .45s cubic-bezier(.22,1,.36,1) forwards; }
  .nav.open li:nth-child(1) .nav__link { animation-delay: .06s; }
  .nav.open li:nth-child(2) .nav__link { animation-delay: .10s; }
  .nav.open li:nth-child(3) .nav__link { animation-delay: .14s; }
  .nav.open li:nth-child(4) .nav__link { animation-delay: .18s; }
  .nav.open li:nth-child(5) .nav__link { animation-delay: .22s; }
  .nav.open li:nth-child(6) .nav__link { animation-delay: .26s; }
  .nav.open li:nth-child(7) .nav__link { animation-delay: .30s; }
  .nav.open li:nth-child(8) .nav__link { animation-delay: .34s; }
  /* leading accent bar (hidden until active/hover) */
  .nav__link::before {
    content: ""; position: absolute; left: 6px; top: 50%; transform: translateY(-50%);
    width: 4px; height: 0; border-radius: 4px; background: var(--green);
    transition: height .22s ease;
  }
  .nav__link::after { display: none; }
  .nav__link:hover { color: var(--blue); background: var(--bg-soft); padding-left: 22px; }
  .nav__link.active {
    color: var(--blue); font-weight: 600;
    background: linear-gradient(90deg, rgba(30,99,216,.10), rgba(30,99,216,0));
    padding-left: 22px;
  }
  .nav__link.active::before, .nav__link:hover::before { height: 22px; }

  /* sticky bottom CTA */
  .nav__cta {
    display: flex; align-items: center; justify-content: center; gap: 8px;
    margin: 0 16px calc(18px + env(safe-area-inset-bottom, 0px));
    flex-shrink: 0; width: auto; font-size: 16px; padding: 15px;
    box-shadow: 0 8px 22px rgba(30,99,216,.28);
  }

  .nav__toggle { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 10px; }
  .header__actions .btn { display: none; }

  /* clean dim backdrop — no blur */
  .nav-backdrop {
    position: fixed; inset: 0; background: rgba(15,23,42,.45);
    opacity: 0; visibility: hidden; transition: opacity .3s ease, visibility .3s ease; z-index: 150;
  }
  .nav-backdrop.show { opacity: 1; visibility: visible; }

  @keyframes navLinkIn {
    to { opacity: 1; transform: translateX(0); }
  }

  /* type + spacing */
  .section { padding: 48px 0; }
  .section__head { margin-bottom: 32px; }
  .section__title { font-size: clamp(22px, 6.4vw, 30px); }
  .container { padding-inline: 18px; }

  /* hero */
  .hero { padding: 36px 0 48px; }
  .hero__content { width: 100%; max-width: 100%; }
  .hero__title { font-size: clamp(30px, 8vw, 42px); max-width: 100%; }
  .hero__sub { font-size: 16px; max-width: 100%; }
  .hero__sub br { display: none; }           /* let the subtitle wrap naturally */
  .hero__buttons { gap: 10px; width: 100%; }
  .hero__buttons .btn { flex: 1 1 auto; }
  /* trust pills must wrap (not run off-screen) and stay centered */
  .hero__trust { flex-wrap: wrap; justify-content: center; max-width: 100%; }

  /* features */
  .features__grid { grid-template-columns: repeat(2, 1fr); gap: 14px; }
  .fcard { padding: 16px; flex-direction: column; gap: 10px; }

  /* stats */
  .why__grid { grid-template-columns: repeat(2, 1fr); gap: 14px; }

  /* about / contact stack */
  .about__inner { grid-template-columns: 1fr; }

  /* testimonials — one premium card, taller portrait */
  .tcard { flex-basis: 100%; }
  .tcard__photo { aspect-ratio: 16 / 11; }
  .testi__slider { max-width: 480px; }
  .testi__arrow { width: 40px; height: 40px; }
  .testi__arrow--prev { left: -6px; } .testi__arrow--next { right: -6px; }

  /* footer — comfortable inline breathing room on mobile */
  .footer__inner { grid-template-columns: 1fr 1fr; gap: 28px 22px; padding: 44px 22px 28px; }
  .footer__bottom-inner { padding-inline: 22px; }
  .footer__col:nth-child(4) { display: block; }   /* show "Our Solutions" again on 2-col layout */
  .footer__brand { grid-column: 1 / -1; }

  /* comfortable tap targets + no iOS zoom on focus */
  .btn { padding: 14px 22px; }
  .demo__form input, .demo__form textarea, .footer__news input { font-size: 16px; }

  /* keep the floating WhatsApp clear of the home indicator */
  .float-wa { right: 16px; bottom: calc(16px + env(safe-area-inset-bottom, 0px)); }
}

/* ---- Mobile (phones, small) ---- */
@media (max-width: 480px) {
  .hero__buttons .btn { width: 100%; flex: 1 1 100%; }
  .hero__trust { gap: 6px; }
  .hero__trust-item { font-size: 11.5px; padding: 7px 9px; gap: 5px; }
  .hero__trust-item i { font-size: 12px; }
  .demo__row { grid-template-columns: 1fr; }
  .features__grid { grid-template-columns: 1fr; }
  .fcard { flex-direction: row; }
  .why__grid { grid-template-columns: 1fr 1fr; }
  .footer__inner { grid-template-columns: 1fr; }
  .footer__bottom-inner { justify-content: center; text-align: center; }
  .mockup-phone { display: none; }

  .plan { padding: 26px 22px; }
  .plan__amount { font-size: 46px; }
  .plan__badge { font-size: 10px; padding: 6px 14px; }
  .bill-toggle { flex-wrap: wrap; gap: 10px 12px; margin-bottom: 32px; }

  /* keep the prev/next arrows on mobile, tucked just inside the card edges */
  .testi__slider { max-width: 100%; }
  .testi__arrow { display: grid; place-items: center; width: 38px; height: 38px; font-size: 14px; }
  .testi__arrow--prev { left: 6px; }
  .testi__arrow--next { right: 6px; }
  .testi__dots { margin-top: 20px; }

  .video-player__play { width: 64px; height: 64px; font-size: 24px; }
}

/* ---- Very small phones ---- */
@media (max-width: 360px) {
  .why__grid { grid-template-columns: 1fr; }
  .hero__title { font-size: 32px; }
  .hero__sub { font-size: 14px; }
  .hero__trust-item { font-size: 11px; padding: 6px 8px; }
}

/* ---- Landscape phones: trim vertical padding ---- */
@media (max-height: 480px) and (orientation: landscape) {
  .hero { padding: 28px 0; }
  .section { padding: 40px 0; }
}

/* ---- Respect reduced-motion preference ---- */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
    scroll-behavior: auto !important;
  }
  /* never leave reveal content hidden when motion is off */
  .reveal { opacity: 1 !important; transform: none !important; }
  .nav__link { opacity: 1 !important; transform: none !important; }
}
