/* ==========================================================================
   ZentumAPP — TNPSC Group IV Super Revision page (design system from the UG TRB / Special TNTET pages)
   Mobile-first (360px), scales to max 1100px content width.
   ========================================================================== */

/* Size-matched fallbacks for the heading font: until Bricolage loads, headings use Arial Bold (desktop/iPhone) or
   Roboto Bold (Android) scaled to Bricolage's width, so lines break the same way and nothing shifts when it swaps in.
   Values measured on the page headlines (Bricolage 700 vs each font). */
@font-face { font-family: "Bricolage Fallback"; src: local("Arial Bold"), local("Arial-BoldMT"); font-weight: 700; size-adjust: 90.5%; }
@font-face { font-family: "Bricolage Fallback Android"; src: local("Roboto Bold"), local("Roboto-Bold"); font-weight: 700; size-adjust: 96.4%; }

:root {
  --navy: #1E2157;
  --orange: #F15A24;
  --orange-d: #D94C18;
  --green: #2FB67C;
  --green-bg: #E7F7EF;
  --blue-bg: #EEF4FC;
  --maroon: #6E0F1F;
  --maroon-d: #560B18;
  --gold: #D4A64A;
  --text: #2B2B3A;
  --muted: #5F6375; /* slightly darker than #6B6F80 to pass 4.5:1 on light-blue bg */
  --border: #E3E6EF;
  --white: #fff;
  --shadow: 0 4px 18px rgba(30, 33, 87, .08);
  --shadow-lg: 0 10px 36px rgba(30, 33, 87, .16);
  --r-card: 14px;
  --r-btn: 12px;
  --font: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --font-num: "Poppins", "Inter", system-ui, sans-serif;
  --font-head: "Bricolage Grotesque", "Bricolage Fallback", "Bricolage Fallback Android", "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --sec-pad: 56px;
  --topbar-h: 36px;
}
@media (min-width: 900px) { :root { --sec-pad: 88px; } }

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--topbar-h) + 12px); }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0;
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.6;
  color: var(--text);
  background: var(--white);
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--navy); }
h1, h2, h3 { color: var(--navy); line-height: 1.35; margin: 0 0 .5em; font-weight: 800; }
/* Display font for headings (matches the app). Section h3s and card titles stay in the body font for readability. */
h1, h2 { font-family: var(--font-head); font-weight: 700; line-height: 1.15; letter-spacing: -.015em; }
h2 { font-size: 1.4rem; }
h3 { font-size: 1.08rem; font-weight: 700; }
p { margin: 0 0 1em; }
@media (min-width: 900px) { h2 { font-size: 1.85rem; } }
.num { font-family: var(--font-num); }
.sr-only { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
[hidden] { display: none !important; }

.wrap { width: 100%; max-width: 1100px; margin: 0 auto; padding: 0 16px; }
@media (min-width: 600px) { .wrap { padding: 0 24px; } }

.section { padding: var(--sec-pad) 0; }
.section--blue { background: var(--blue-bg); }
.section__head { text-align: center; max-width: 760px; margin: 0 auto 28px; }
.section__head p { color: var(--muted); margin: 0; }
.center { text-align: center; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 52px; padding: 12px 20px; text-align: center;
  border: 0; border-radius: var(--r-btn);
  font: 700 1.1875rem/1.3 var(--font); /* 19px: ≥18.66px bold = WCAG 'large text', so white on brand orange passes 3:1 */
  text-decoration: none; cursor: pointer;
  transition: background-color .15s, transform .1s, box-shadow .15s;
  -webkit-tap-highlight-color: transparent;
}
.btn--primary { background: var(--orange); color: var(--white); box-shadow: 0 6px 18px rgba(241, 90, 36, .32); }
.btn--primary:hover { background: var(--orange-d); }
.btn--primary:active { transform: translateY(1px); }
.btn--outline { background: var(--white); color: var(--navy); border: 2px solid var(--navy); }
.btn--green { background: #1D8556; color: var(--white); } /* darker than brand green for text contrast */
.btn--green:hover { background: #176E47; }
.btn--block { width: 100%; }
.btn[disabled], .btn[aria-disabled="true"] { background: #B9BCC8; box-shadow: none; cursor: not-allowed; color: var(--white); }
.btn[aria-busy="true"] { gap: 10px; cursor: progress; }
.btn:focus-visible, a:focus-visible, button:focus-visible, summary:focus-visible {
  outline: 3px solid var(--navy); outline-offset: 3px;
}
.btn--block-m { width: 100%; }
@media (min-width: 600px) { .btn--block-m { width: auto; min-width: 320px; } }

.spinner { width: 18px; height: 18px; border: 3px solid rgba(255,255,255,.4); border-top-color: #fff; border-radius: 50%; animation: spin .8s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }

/* ---------- Top announcement bar ---------- */
.topbar {
  position: sticky; top: 0; z-index: 60;
  background: var(--maroon); color: var(--white);
  font-size: .8rem; font-weight: 600; text-align: center;
  min-height: var(--topbar-h); padding: 6px 10px; line-height: 1.5;
}
@media (min-width: 400px) { .topbar { font-size: .9rem; } }
.topbar .num { font-weight: 700; }

/* ---------- Header ---------- */
.header { padding: 12px 0; }
.header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.logo { display: inline-flex; align-items: center; text-decoration: none; min-height: 44px; }
.logo img { height: 30px; width: auto; }
@media (min-width: 600px) { .logo img { height: 34px; } }
.call-link {
  display: inline-flex; align-items: center; gap: 6px; min-height: 44px;
  font-weight: 700; font-size: .95rem; text-decoration: none; color: var(--navy);
}
.call-link svg { width: 18px; height: 18px; color: var(--green); }

/* ---------- Hero ---------- */
.hero { padding: 8px 0 var(--sec-pad); background: linear-gradient(180deg, #fff 0%, var(--blue-bg) 100%); }
.hero__grid { display: grid; gap: 32px; align-items: center; }
@media (min-width: 900px) { .hero { padding-top: 24px; } }
/* Centred single column at every width; the phone mockup sits below the copy */
.hero__copy { text-align: center; max-width: 780px; margin: 0 auto; }
.pill {
  display: inline-block; background: var(--navy); color: var(--white);
  font-size: .82rem; font-weight: 600; border-radius: 999px; padding: 4px 14px; margin-bottom: 12px; line-height: 1.5;
}
.hero h1 { font-size: 1.75rem; margin-bottom: 14px; }
@media (min-width: 400px) { .hero h1 { font-size: 1.9rem; } }
@media (min-width: 600px) { .hero h1 { font-size: 2.4rem; } }
@media (min-width: 900px) { .hero h1 { font-size: 2.9rem; } }
.hero__sub { font-size: 1.05rem; color: var(--text); }
.ticks { list-style: none; padding: 0; margin: 0 0 20px; }
.ticks li { position: relative; padding-left: 34px; margin-bottom: 10px; }
.ticks li::before {
  content: ""; position: absolute; left: 0; top: .2em; width: 24px; height: 24px; border-radius: 50%;
  background: var(--green) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 12.5l4 4 8-9'/%3E%3C/svg%3E") center/16px no-repeat;
}
.ticks--sm li { font-size: .95rem; padding-left: 30px; margin-bottom: 8px; }
.ticks--sm li::before { width: 20px; height: 20px; background-size: 13px; top: .25em; }

.price-row { display: flex; align-items: baseline; flex-wrap: wrap; gap: 4px 12px; margin-bottom: 14px; }
.price-row .mrp { font: 600 1.2rem var(--font-num); color: var(--muted); text-decoration: line-through; }
.price-row .price { font: 700 2.4rem/1 var(--font-num); color: var(--navy); }
.price-row .validity { font-size: .92rem; color: var(--muted); flex-basis: 100%; }
.hero .price-row { justify-content: center; }
/* Tick list stays left-aligned inside a centred, shrink-to-fit box so the ticks line up */
.hero .ticks { width: fit-content; max-width: 100%; margin-left: auto; margin-right: auto; text-align: left; }
@media (min-width: 400px) { .price-row .validity { flex-basis: auto; } }
.microcopy { font-size: .88rem; color: var(--muted); margin: 10px 0 0; }

.trust { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px; margin-top: 22px; }
@media (min-width: 600px) { .trust { flex-direction: row; gap: 12px; } }
.avatars { display: flex; flex-shrink: 0; }
.avatars .av { margin-left: -10px; }
.avatars .av:first-child { margin-left: 0; }
.trust p { margin: 0; font-size: .9rem; font-weight: 600; color: var(--navy); line-height: 1.45; }

/* Avatar with initials fallback (img sits on top, removed on error) */
.av {
  position: relative; display: inline-grid; place-items: center;
  width: 40px; height: 40px; border-radius: 50%;
  background: var(--gold); color: var(--maroon-d);
  font: 700 .8rem/1 var(--font-num); border: 2px solid #fff; overflow: hidden;
}
.av img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }

/* Phone mockup */
.phone {
  position: relative; width: 100%; max-width: 270px; margin: 0 auto;
  border: 10px solid var(--navy); border-radius: 38px; background: var(--navy);
  box-shadow: var(--shadow-lg); overflow: hidden;
}
.phone::before { content: ""; position: absolute; top: 6px; left: 50%; transform: translateX(-50%); width: 70px; height: 16px; border-radius: 10px; background: var(--navy); z-index: 1; }
.phone img { border-radius: 28px; width: 100%; aspect-ratio: 9 / 19.5; object-fit: cover; background: #fff; }


/* ---------- Cards / grids ---------- */
.grid { display: grid; gap: 16px; }
@media (min-width: 600px) { .grid--2 { grid-template-columns: repeat(2, 1fr); } .grid--3 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 900px) { .grid--4 { grid-template-columns: repeat(4, 1fr); } .grid--3 { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 600px) and (max-width: 899px) { .grid--4 { grid-template-columns: repeat(2, 1fr); } }
.card {
  background: var(--white); border: 1px solid var(--border); border-radius: var(--r-card);
  padding: 20px; box-shadow: var(--shadow);
}
.card h3 { margin-bottom: 6px; }
.card p { margin: 0; color: var(--muted); font-size: .95rem; }
.icon {
  width: 48px; height: 48px; border-radius: 12px; display: grid; place-items: center;
  background: #FDEEE8; color: var(--orange); margin-bottom: 12px;
}
.icon svg { width: 26px; height: 26px; }
.icon--blue { background: var(--blue-bg); color: var(--navy); }
/* Problem cards and feature tiles: centred icon + text */
.grid .card { text-align: center; }
.grid .card .icon { margin-left: auto; margin-right: auto; }

.tile h3 { font-size: 1.02rem; }
.tile .feat { display: inline-block; font-size: .85rem; color: var(--muted); font-weight: 600; margin-top: 4px; }
.tiles-note { text-align: center; color: var(--muted); font-size: .9rem; margin: 20px 0 0; }

/* Screens swipe row */
.screens {
  display: flex; gap: 16px; overflow-x: auto; scroll-snap-type: x mandatory;
  padding: 8px 16px 16px; margin: 32px -16px 0; -webkit-overflow-scrolling: touch;
}
@media (min-width: 900px) { .screens { justify-content: center; overflow: visible; margin: 40px 0 0; padding: 0; } .screens .screen { flex-basis: calc((100% - 48px) / 4); } }
.screen { flex: 0 0 74%; max-width: 250px; scroll-snap-align: center; margin: 0; text-align: center; }
.screen .phone { border-width: 7px; border-radius: 28px; }
.screen .phone::before { display: none; }
.screen .phone img { border-radius: 21px; }
.screen figcaption { margin-top: 12px; font-size: .85rem; color: var(--muted); line-height: 1.4; }
.screen figcaption b { display: block; font-size: .95rem; color: var(--navy); margin-bottom: 2px; }
.screens-note { text-align: center; font-size: .8rem; color: var(--muted); margin: 14px 0 0; }

.table { width: 100%; border-collapse: collapse; background: #fff; border-radius: var(--r-card); overflow: hidden; box-shadow: var(--shadow); }
.table th, .table td { padding: 12px 14px; text-align: left; border-bottom: 1px solid var(--border); font-size: .95rem; }
.table th { background: var(--navy); color: #fff; font-weight: 600; }
.table td:last-child, .table th:last-child { text-align: right; font-family: var(--font-num); font-weight: 600; white-space: nowrap; }
.table tfoot td { background: var(--blue-bg); font-weight: 700; color: var(--navy); }
.table tfoot td:last-child { font-family: var(--font); white-space: normal; }
.footnote { max-width: 640px; margin: 16px auto 0; font-size: .9rem; color: var(--muted); text-align: center; }

/* ---------- Steps ---------- */
.steps { list-style: none; padding: 0; margin: 0; counter-reset: step; display: grid; gap: 16px; }
@media (min-width: 900px) { .steps { grid-template-columns: repeat(3, 1fr); } }
.step { position: relative; padding-top: 72px; text-align: center; }
.step::before {
  counter-increment: step; content: counter(step);
  position: absolute; left: 50%; top: 20px; transform: translateX(-50%); width: 38px; height: 38px; border-radius: 50%;
  background: var(--orange); color: #fff; display: grid; place-items: center; font: 700 1.1rem var(--font-num);
}
.reassure {
  margin-top: 24px; display: flex; flex-direction: column; gap: 10px; align-items: center; text-align: center;
  background: var(--green-bg); border: 2px solid var(--green); border-radius: var(--r-card); padding: 18px 20px;
  font-weight: 600; color: #145C3D;
}
.reassure svg { flex: 0 0 32px; width: 32px; height: 32px; color: var(--green); }
.reassure p { margin: 0; }
@media (min-width: 600px) { .reassure { flex-direction: row; justify-content: center; text-align: left; gap: 14px; } }

/* ---------- Video facade ---------- */
.video {
  position: relative; display: block; width: 100%; max-width: 760px; margin: 0 auto;
  aspect-ratio: 16 / 9; border-radius: var(--r-card); overflow: hidden; background: #000;
  border: 0; padding: 0; cursor: pointer; box-shadow: var(--shadow-lg);
}
.video img { width: 100%; height: 100%; object-fit: cover; opacity: .9; }
.video iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.video__play {
  position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%);
  width: 76px; height: 76px; border-radius: 50%; background: var(--orange);
  display: grid; place-items: center; box-shadow: 0 6px 24px rgba(0,0,0,.35);
}
.video__play svg { width: 32px; height: 32px; color: #fff; margin-left: 4px; }

/* ---------- Timeline ---------- */
.timeline { list-style: none; padding: 0; margin: 0 auto; max-width: 720px; position: relative; }
.timeline::before { content: ""; position: absolute; left: 19px; top: 8px; bottom: 8px; width: 3px; background: var(--border); border-radius: 2px; }
.tl { position: relative; padding: 0 0 22px 60px; }
.tl:last-child { padding-bottom: 0; }
.tl__dot { position: absolute; left: 6px; top: 2px; width: 30px; height: 30px; border-radius: 50%; background: var(--navy); border: 4px solid var(--blue-bg); box-sizing: content-box; }
.tl:last-child .tl__dot { background: var(--orange); }
.tl h3 { margin-bottom: 2px; }
.tl p { margin: 0; color: var(--text); }

/* ---------- Pricing ---------- */
.plans { display: grid; gap: 20px; max-width: 1000px; margin: 0 auto; }
@media (min-width: 900px) { .plans { grid-template-columns: repeat(3, 1fr); align-items: stretch; } }
.plan { position: relative; display: flex; flex-direction: column; padding: 26px 22px 22px; }
.plan--best { border: 3px solid var(--orange); box-shadow: var(--shadow-lg); }
@media (min-width: 900px) { .plan--best { transform: translateY(-8px); } }
.badge {
  position: absolute; top: -14px; left: 50%; transform: translateX(-50%);
  background: var(--gold); color: var(--maroon-d); font: 700 .82rem var(--font-num);
  padding: 4px 14px; border-radius: 999px; white-space: nowrap;
}
.plan h3, .plan__sub, .plan__validity { text-align: center; }
.plan h3 { font-size: 1.3rem; margin-bottom: 2px; }
.plan__sub { color: var(--muted); font-size: .9rem; min-height: 2.8em; }
.plan__price { display: flex; align-items: baseline; justify-content: center; gap: 10px; margin: 6px 0 2px; }
.plan__price .mrp { font: 600 1.05rem var(--font-num); color: var(--muted); text-decoration: line-through; }
.plan__price .price { font: 700 2.2rem/1 var(--font-num); color: var(--navy); }
.plan__validity { font-size: .9rem; color: var(--green); font-weight: 700; margin-bottom: 14px; }
.plan .ticks { margin-bottom: 20px; flex: 1; }
.secure { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 8px; margin-top: 26px; font-size: .9rem; color: var(--muted); }
.secure strong { color: var(--navy); display: inline-flex; align-items: center; gap: 6px; }
.secure svg { width: 18px; height: 18px; color: var(--green); }
.tbadge { border: 1px solid var(--border); background: #fff; border-radius: 6px; padding: 2px 8px; font: 600 .78rem var(--font-num); color: var(--navy); }

/* ---------- FAQ ---------- */
.faq { max-width: 780px; margin: 0 auto; }
.faq details { background: #fff; border: 1px solid var(--border); border-radius: var(--r-card); margin-bottom: 10px; }
.faq summary {
  list-style: none; cursor: pointer; padding: 16px 52px 16px 18px; position: relative;
  font-weight: 700; color: var(--navy); min-height: 52px;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: ""; position: absolute; right: 18px; top: 50%; width: 12px; height: 12px; margin-top: -8px;
  border-right: 3px solid var(--orange); border-bottom: 3px solid var(--orange); transform: rotate(45deg); transition: transform .2s;
}
.faq details[open] summary::after { transform: rotate(-135deg); margin-top: -2px; }
.faq details > div { padding: 0 18px 16px; }
.faq details p { margin: 0; }

/* ---------- Final CTA ---------- */
.final { background: var(--navy); color: #fff; text-align: center; }
.final h2 { color: #fff; }
.countdown { display: flex; justify-content: center; gap: 10px; margin: 8px 0 24px; }
.cd { background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.2); border-radius: var(--r-card); padding: 12px 6px; min-width: 84px; }
.cd b { display: block; font: 700 2.2rem/1.1 var(--font-num); color: #fff; }
.cd span { font-size: .82rem; color: #C9CCE6; }
@media (min-width: 600px) { .cd { min-width: 110px; } .cd b { font-size: 3rem; } }
.final p.lead { max-width: 620px; margin: 0 auto 24px; font-size: 1.05rem; color: #E6E8F7; }

/* ---------- Footer ---------- */
.footer { background: #14163D; color: #C9CCE6; padding: 40px 0 120px; font-size: .92rem; }
.footer a { color: #fff; }
.footer__grid { display: grid; gap: 20px; justify-items: center; text-align: center; }
@media (min-width: 900px) { .footer__grid { grid-template-columns: 1fr 1fr 1fr; } .footer { padding-bottom: 40px; } }
.footer ul { list-style: none; padding: 0; margin: 0; }
.footer li { margin-bottom: 4px; }
.footer li a { display: inline-block; min-height: 32px; padding: 4px 0; }
.disclaimer { border-top: 1px solid rgba(255,255,255,.12); margin-top: 24px; padding-top: 18px; font-size: .82rem; color: #A9ADCF; text-align: center; }

/* ---------- Sticky bottom bar (mobile) ---------- */
.sticky-bar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 50;
  background: #fff; border-top: 1px solid var(--border); box-shadow: 0 -6px 20px rgba(30,33,87,.12);
  padding: 10px 16px calc(10px + env(safe-area-inset-bottom));
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  transform: translateY(110%); transition: transform .25s ease;
}
.sticky-bar.show { transform: translateY(0); }
.sticky-bar__info { font-weight: 700; color: var(--navy); line-height: 1.3; font-size: .95rem; }
.sticky-bar__info .num { font-size: 1.15rem; }
.sticky-bar .btn { min-width: 128px; }
@media (min-width: 900px) { .sticky-bar { display: none; } }

/* ---------- WhatsApp float ---------- */
.wa-float {
  position: fixed; right: 16px; bottom: 20px; z-index: 55;
  width: 56px; height: 56px; border-radius: 50%; background: #25D366; color: #fff;
  display: grid; place-items: center; box-shadow: 0 6px 20px rgba(0,0,0,.25); transition: bottom .25s ease;
}
.wa-float svg { width: 30px; height: 30px; }
body.bar-visible .wa-float { bottom: calc(86px + env(safe-area-inset-bottom)); }
@media (min-width: 900px) { body.bar-visible .wa-float { bottom: 20px; } }

/* ---------- Thank-you & legal ---------- */
.ty { padding: 32px 0 var(--sec-pad); }
.ty__tick { width: 88px; height: 88px; border-radius: 50%; background: var(--green); display: grid; place-items: center; margin: 0 auto 18px; box-shadow: 0 8px 28px rgba(47,182,124,.35); }
.ty__tick svg { width: 48px; height: 48px; color: #fff; }
.ty h1 { text-align: center; font-size: 1.6rem; }
.ty__lead { text-align: center; font-size: 1.12rem; font-weight: 600; max-width: 560px; margin: 0 auto 28px; }
.ty-steps { list-style: none; padding: 0; margin: 0 auto; max-width: 600px; counter-reset: s; }
.ty-steps li { position: relative; padding: 18px 18px 18px 72px; margin-bottom: 14px; font-size: 1.12rem; font-weight: 600; color: var(--navy); }
.ty-steps li::before {
  counter-increment: s; content: counter(s); position: absolute; left: 18px; top: 16px;
  width: 40px; height: 40px; border-radius: 50%; background: var(--orange); color: #fff; display: grid; place-items: center; font: 700 1.2rem var(--font-num);
}
.ty-steps .btn { margin-top: 12px; }
.help { max-width: 600px; margin: 24px auto 0; text-align: center; background: var(--blue-bg); border-radius: var(--r-card); padding: 22px 18px; }
.help p { font-weight: 700; color: var(--navy); font-size: 1.05rem; }
.help .btn { margin-top: 4px; }
.ty-video { max-width: 600px; margin: 28px auto 0; }
.ty-video h2 { font-size: 1.2rem; text-align: center; }

.legal { padding-top: 32px; padding-bottom: var(--sec-pad); max-width: 780px; }
.legal h1 { font-size: 1.6rem; }
.legal h2 { font-size: 1.2rem; margin-top: 1.6em; }
.legal li { margin-bottom: 6px; }
.todo-box { background: #FFF4D6; border: 2px dashed #E6A700; border-radius: var(--r-card); padding: 18px; font-weight: 600; }

/* ---------- Reveal on scroll ---------- */
.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity .5s ease, transform .5s ease; }
.js .reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .js .reveal { opacity: 1; transform: none; transition: none; }
  .sticky-bar, .wa-float { transition: none; }
}

/* ---------- Official note ---------- */
.official { max-width: 780px; margin: 24px auto 0; padding: 14px 16px; border-left: 4px solid var(--gold); background: #FFF8E6; border-radius: 8px; font-size: .9rem; color: var(--text); text-align: left; }

/* ---------- Legal pages ---------- */
.legal__meta { color: var(--muted); font-size: .9rem; }
.legal .addendum { background: var(--blue-bg); border-left: 4px solid var(--navy); border-radius: 10px; padding: 4px 18px 10px; margin: 24px 0 8px; }
.legal .addendum h2 { margin-top: .8em; }
.legal a { overflow-wrap: anywhere; }

/* ==========================================================================
   Shared additions (from the UG TRB page)
   ========================================================================== */
.narrow { max-width: 820px; }

/* Single plan card */
.plan--one { max-width: 440px; margin: 0 auto; }
.plan__note { text-align: center; color: var(--muted); font-size: .92rem; margin: 6px 0 0; }
.plan__micro { text-align: center; margin: 10px 0 0; }
.plan--one .plan__price { justify-content: center; margin-top: 14px; }

.ty-tip { max-width: 600px; margin: 4px auto 0; text-align: center; background: #FFF8E6; border-radius: var(--r-card); padding: 12px 16px; font-size: .98rem; }

/* ==========================================================================
   Group IV additions (poster gold #D4A64A for price highlights and the bundle box)
   ========================================================================== */
.hero__ta { margin: -4px 0 14px; font: 700 1.25rem/1.5 "Noto Sans Tamil", "Nirmala UI", "Latha", system-ui, sans-serif; color: #8A6412; }
@media (min-width: 600px) { .hero__ta { font-size: 1.5rem; } }
.batch-badge {
  display: inline-block; margin: 0 auto 16px; padding: 8px 14px; border-radius: 999px;
  background: #FFF6E0; border: 1.5px solid var(--gold); color: #6B4C08; font-weight: 700; font-size: .92rem; line-height: 1.4;
}
.price--gold { position: relative; }
.price-row .price--gold, .plan__price .price--gold { color: var(--navy); background: linear-gradient(transparent 62%, rgba(212, 166, 74, .45) 62%); padding: 0 4px; }

/* Bundle box (like the poster) */
.bundle { background: linear-gradient(135deg, #F3DFA9 0%, var(--gold) 100%); border-radius: 20px; padding: 6px 18px; box-shadow: var(--shadow-lg); color: #2A2208; max-width: 640px; margin: 0 auto; }
.bundle__rows { list-style: none; margin: 0; padding: 0; }
.bundle__rows li, .bundle__total { display: flex; align-items: center; justify-content: space-between; gap: 14px; padding: 14px 0; }
.bundle__rows li + li { border-top: 1px solid rgba(42, 34, 8, .18); }
.bundle__label { font-weight: 600; line-height: 1.4; }
.bundle__p { display: flex; align-items: baseline; gap: 8px; white-space: nowrap; font-family: var(--font-num); }
.bundle__p s { color: #5C4A1A; font-weight: 600; text-decoration-color: #B3261E; text-decoration-thickness: 2px; }
.bundle__p b { font-size: 1.25rem; color: var(--navy); }
.bundle__total { border-top: 2px solid rgba(42, 34, 8, .35); }
.bundle__total .bundle__label { font-weight: 800; font-size: 1.05rem; }
.bundle__total b { background: var(--navy); color: #fff; border-radius: 10px; padding: 4px 12px; font-size: 1.3rem; }
.bundle__dates { text-align: center; font-weight: 600; color: var(--navy); margin: 18px 0 20px; }

/* 5 benefits: numbered cards, short last row centred */
.benefits { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 16px; }
.benefits > li { flex: 1 1 100%; position: relative; padding-top: 64px; text-align: center; }
@media (min-width: 600px) { .benefits > li { flex-basis: calc((100% - 16px) / 2); flex-grow: 0; } }
@media (min-width: 900px) { .benefits > li { flex-basis: calc((100% - 32px) / 3); } }
.benefit__n { position: absolute; top: 18px; left: 50%; transform: translateX(-50%); width: 38px; height: 38px; border-radius: 50%;
  display: grid; place-items: center; background: var(--gold); color: #2A2208; font: 700 1.1rem var(--font-num); }

/* Real app screenshots in the phone frame (keep the screenshot's own shape). Unused while the sample mockups are shown. */
.phone--shot img { display: block; aspect-ratio: 540 / 1054; height: auto; object-fit: contain; }

/* App screen mockups (HTML, SAMPLE Group IV data) — from the UG TRB page */
.phone { container-type: inline-size; }
.scr {
  --s-navy: #1B2550; --s-blue: #2A60A0; --s-line: #E4E8F0; --s-mut: #5F6375;
  position: relative; aspect-ratio: 9 / 19.5; overflow: hidden; border-radius: 28px; background: #F6F7FA;
  padding: 11% 6% 0; font-size: 11px; font-size: 4.7cqw; line-height: 1.35; color: var(--s-navy); text-align: left;
  display: flex; flex-direction: column; gap: .7em;
}
.screen .scr { border-radius: 21px; }
.scr b { font-weight: 700; }
.scr small { display: block; font-size: .82em; color: var(--s-mut); }
.scr p { margin: 0; }
.scr ul { list-style: none; margin: 0; padding: 0; }
.s-sample { position: absolute; top: 2.2%; right: 5%; z-index: 2; background: #FFF4E5; color: #8A4B00; border: 1px solid #F0C98A; border-radius: 99px; padding: .1em .6em; font-size: .78em; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; }
.s-row { display: flex; justify-content: space-between; align-items: center; gap: .5em; }
.s-blue { color: var(--s-blue); font-weight: 700; font-size: .9em; }
.s-muted { margin-top: -.5em; }
.s-title { font-size: 1.45em; }
.s-card { background: #fff; border: 1px solid var(--s-line); border-radius: 1em; padding: .85em; }
.s-av { width: 2.6em; height: 2.6em; border-radius: 50%; display: inline-grid; place-items: center; flex: none; background: #E8F0FB; color: var(--s-blue); font-weight: 700; border: .2em solid #CFE0F5; }
.s-hello { display: flex; align-items: center; gap: .6em; }
.s-hello small { font-size: .85em; }
.s-hello b { display: block; font-size: 1.15em; }
.s-coach { margin-left: auto; padding: .45em .8em; border-radius: 99px; border: 1.5px solid #8FA8F5; background: #fff; font-weight: 700; font-size: .85em; white-space: nowrap; }
.s-count { background: linear-gradient(135deg, #1D2B5E, #2F5AA8); color: #fff; border-radius: 1.1em; padding: 1em; }
.s-count small { color: #C9D4F0; letter-spacing: .08em; font-weight: 700; }
.s-count b { display: block; font-size: 1.35em; line-height: 1.2; margin: .25em 0 .3em; }
.s-count p { color: #DCE4F7; font-size: .88em; }
.s-btn { display: inline-block; margin-top: .8em; background: #fff; color: #1D2B5E; font-weight: 700; padding: .5em .9em; border-radius: 99px; font-size: .9em; }
.s-big { display: flex; align-items: baseline; gap: .25em; margin: .4em 0 .5em; }
.s-big b { font-size: 2.4em; line-height: 1; }
.s-big span { color: var(--s-mut); font-size: 1.05em; }
.s-bar { position: relative; height: .6em; border-radius: 99px; background: #EEF1F6; margin-bottom: .4em; }
.s-bar i { position: absolute; inset: 0 auto 0 0; border-radius: 99px; background: var(--s-navy); }
.s-list { margin-top: .6em !important; border-top: 1px solid var(--s-line); padding-top: .5em !important; }
.s-list li { padding: .3em 0 .3em 1.6em; position: relative; font-size: .9em; }
.s-list li::before { content: ""; position: absolute; left: 0; top: .35em; width: 1em; height: 1em; border-radius: 50%; border: 1.5px solid #B8C3D6; }
.s-list li.done { color: var(--s-mut); text-decoration: line-through; }
.s-list li.done::before { background: #2FB67C; border-color: #2FB67C; }
.s-tabs { margin: auto -7% 0; display: flex; justify-content: space-around; background: #fff; border-top: 1px solid var(--s-line); padding: .8em 0 1.4em; font-size: .78em; color: #646C7E; font-weight: 600; }
.s-tabs .on { color: var(--s-blue); }
.s-ring { align-self: center; width: 9em; height: 9em; border-radius: 50%; display: grid; place-content: center; text-align: center; margin: .3em 0;
  background: radial-gradient(closest-side, #F6F7FA 79%, transparent 80%), conic-gradient(#2FB67C var(--p, 70%), #E4E8F0 0); }
.s-ring b { font-size: 2.4em; line-height: 1; }
.s-ring span { color: var(--s-mut); }
.s-secs { display: grid; gap: .55em; background: #fff; border: 1px solid var(--s-line); border-radius: 1em; padding: .8em; }
.s-secs li { display: grid; grid-template-columns: 1fr auto; gap: .2em .5em; font-size: .9em; }
.s-secs i { grid-column: 1 / -1; height: .4em; border-radius: 99px; background: linear-gradient(90deg, var(--s-blue) var(--w), #EEF1F6 0); }
.s-secs li.weak b, .s-secs li.weak span { color: #B3261E; }
.s-secs li.weak i { background: linear-gradient(90deg, #D8473B var(--w), #EEF1F6 0); }
.s-focus { background: #FFF4E5; border-radius: .9em; padding: .7em .8em; }
.s-focus b { color: #8A4B00; }
@media (min-width: 600px) { .screens { justify-content: center; } }
@media (min-width: 900px) { .screens .screen { flex-basis: 260px; } }
.hero .screens-note { margin-top: 10px; }

/* Exam pattern table */
.table--pattern td:not(:first-child), .table--pattern th:not(:first-child) { text-align: right; white-space: nowrap; font-family: var(--font-num); font-weight: 600; }
.table--pattern tbody td:first-child { line-height: 1.45; }
.table--pattern tfoot td { font-family: var(--font-num); }
.table--pattern tr:last-child td { border-bottom: 0; }
