/* ============================================================
   subpage.css — shared styles for ClearUPSC SEO landing pages
   (/interview, /mains-evaluation, /upsc-polity-book, /current-affairs)
   Loaded AFTER landing.css; reuses its :root tokens, nav, btn,
   section, footer, acc, ticks, steps, cta. Only page-specific
   components live here.
   ============================================================ */

/* ---- Sub-page hero ---- */
.subhero { position: relative; padding: clamp(120px, 15vw, 168px) 0 clamp(48px, 7vw, 84px); overflow: hidden; }
.subhero__aura {
  position: absolute; inset: -30% -10% auto -10%; height: 620px; z-index: -1;
  background:
    radial-gradient(closest-side, rgba(226,103,15,0.10), transparent 70%) 22% 30%/620px 620px no-repeat,
    radial-gradient(closest-side, rgba(17,43,76,0.09), transparent 70%) 82% 8%/560px 560px no-repeat;
  filter: blur(6px);
}
.subhero__inner { max-width: 860px; }
.crumbs { display: flex; align-items: center; gap: 9px; font-size: 0.82rem; color: var(--muted); margin-bottom: 22px; }
.crumbs a { color: var(--ink-soft); text-decoration: none; transition: color .2s; }
.crumbs a:hover { color: var(--saffron); }
.crumbs span[aria-hidden] { color: var(--line); }
.subhero__title {
  font-family: var(--serif); font-weight: 400; letter-spacing: -0.02em;
  font-size: clamp(2.3rem, 5.4vw, 4rem); line-height: 1.05; margin: 14px 0 0;
}
.subhero__lede { margin-top: clamp(18px, 2.6vw, 26px); font-size: clamp(1.02rem, 1.5vw, 1.2rem); line-height: 1.62; color: var(--ink-soft); max-width: 720px; }
.subhero__actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: clamp(26px, 3.4vw, 34px); }
.subhero__note { margin-top: 18px; font-size: 0.86rem; color: var(--muted); letter-spacing: 0.01em; }

/* ---- Tinted band section ---- */
.section.band { background: linear-gradient(180deg, var(--bg-tint), var(--bg)); border-block: 1px solid var(--line-soft); }

/* ---- Media showcase (image + copy, 2-col) ---- */
.showcase__inner { display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(28px, 4.5vw, 60px); align-items: center; }
.showcase__media { position: relative; margin: 0; border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-lg); border: 1px solid var(--line); }
.showcase__img { display: block; width: 100%; height: 100%; object-fit: cover; aspect-ratio: 3 / 2; }
.showcase__cap {
  position: absolute; left: 14px; right: 14px; bottom: 14px; padding: 11px 16px; border-radius: 12px;
  background: rgba(17,43,76,0.44); backdrop-filter: blur(9px); -webkit-backdrop-filter: blur(9px);
  color: #fff; font-size: 0.82rem; letter-spacing: 0.01em; text-align: center;
}
.showcase__copy .section__title { margin-top: 10px; }
.showcase__copy > p { color: var(--ink-soft); font-size: 1.02rem; line-height: 1.62; }

/* ---- Quality / feature grid ---- */
.qgrid { display: grid; grid-template-columns: repeat(auto-fit, minmax(232px, 1fr)); gap: 16px; margin-top: clamp(26px, 4vw, 42px); }
.qcard {
  position: relative; padding: 26px 22px 24px; border-radius: var(--radius); background: var(--bg-2);
  border: 1px solid var(--line); box-shadow: var(--shadow-sm); transition: transform .35s var(--ease), box-shadow .35s var(--ease), border-color .35s;
}
.qcard:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: rgba(226,103,15,0.3); }
.qcard__n { font-family: var(--serif); font-style: italic; font-weight: 300; font-size: 1.5rem; color: rgba(226,103,15,0.5); display: block; margin-bottom: 12px; }
.qcard h3 { font-family: var(--serif); font-weight: 500; font-size: 1.18rem; letter-spacing: -0.01em; margin-bottom: 8px; }
.qcard p { color: var(--ink-soft); font-size: 0.95rem; line-height: 1.55; }

/* ---- Compare table (label + 3 options) ---- */
.ctable { margin-top: clamp(24px, 4vw, 40px); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; background: var(--bg-2); box-shadow: var(--shadow-sm); }
.ctable__row { display: grid; grid-template-columns: minmax(150px, 1.8fr) repeat(3, minmax(96px, 1fr)); align-items: center; gap: 8px; padding: 14px clamp(12px, 2.4vw, 22px); border-bottom: 1px solid var(--line-soft); }
.ctable__row:last-child { border-bottom: none; }
.ctable__row > span:first-child { font-weight: 500; color: var(--ink); font-size: 0.93rem; }
.ctable__row > span:not(:first-child) { text-align: center; font-size: 0.9rem; color: var(--ink-soft); }
.ctable__row--head { background: rgba(17,43,76,0.03); }
.ctable__row--head span { font-size: 0.72rem; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; color: var(--ink-soft); text-align: center; }
.ctable__row--head span:first-child { text-align: left; }
.ctable__us { background: rgba(226,103,15,0.06); border-radius: 8px; padding: 6px 4px; color: var(--saffron) !important; font-weight: 600; }
.ctable__row--head .ctable__us { color: var(--saffron) !important; }

/* ---- FAQ list wrapper ---- */
.acc-list { max-width: 820px; margin: clamp(24px, 4vw, 38px) auto 0; }

/* ---- Responsive ---- */
@media (max-width: 860px) {
  .showcase__inner { grid-template-columns: 1fr; gap: 28px; }
  .showcase__media { order: -1; }
}
@media (max-width: 640px) {
  .subhero__actions .btn { width: 100%; justify-content: center; }
  .ctable { overflow-x: auto; -webkit-overflow-scrolling: touch; }
  .ctable__row { min-width: 520px; }
}

/* ---- Mains evaluation report mockup ---- */
.report { max-width: 920px; margin-inline: auto; border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; background: var(--bg-2); box-shadow: var(--shadow-lg); }
.report__q { padding: clamp(18px, 3vw, 26px); border-bottom: 1px solid var(--line-soft); background: rgba(17,43,76,0.02); }
.report__tag { display: inline-block; font-size: 0.66rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--navy); background: var(--bg-tint); padding: 4px 11px; border-radius: 100px; margin-bottom: 10px; }
.report__q p { font-family: var(--serif); font-weight: 500; font-size: clamp(1.1rem, 2.1vw, 1.4rem); line-height: 1.3; letter-spacing: -0.01em; }
.report__body { display: grid; grid-template-columns: 1.55fr 1fr; gap: 0; }
.report__verdict { padding: clamp(18px, 3vw, 28px); border-right: 1px solid var(--line-soft); }
.report__eyebrow { display: block; font-size: 0.66rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--saffron); margin-bottom: 12px; }
.report__verdict p { color: var(--ink-soft); font-size: 1rem; line-height: 1.66; }
.report__verdict em { color: var(--ink); font-style: italic; }
.report__scores { padding: clamp(18px, 3vw, 28px); background: linear-gradient(180deg, #fff, var(--bg)); }
.report__score--total { display: flex; align-items: baseline; gap: 6px; }
.report__score--total b { font-family: var(--serif); font-weight: 400; font-size: clamp(2.8rem, 6vw, 3.6rem); line-height: 1; color: var(--saffron); }
.report__score--total span { color: var(--muted); font-size: 1.05rem; }
.report__dims { margin: 18px 0 16px; display: flex; flex-direction: column; gap: 13px; }
.report__dims li { list-style: none; font-size: 0.82rem; color: var(--ink-soft); }
.report__dims li span { display: block; margin-bottom: 6px; }
.report__bar { display: block; height: 7px; border-radius: 100px; background: var(--line); position: relative; overflow: hidden; }
.report__bar::after { content: ""; position: absolute; inset: 0 auto 0 0; width: var(--v, 60%); border-radius: 100px; background: var(--grad); }
.report__fix { font-size: 0.9rem; color: var(--ink); padding: 12px 14px; border-left: 3px solid var(--saffron); background: rgba(226,103,15,0.05); border-radius: 0 10px 10px 0; }
.report__fix b { color: var(--saffron); }

/* ---- Book reader mockup ---- */
.reader { display: grid; grid-template-columns: 260px 1fr; gap: 0; max-width: 980px; margin-inline: auto; border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; background: var(--bg-2); box-shadow: var(--shadow-lg); }
.reader__rail { padding: 22px 18px; border-right: 1px solid var(--line-soft); background: rgba(17,43,76,0.02); }
.reader__search { font-size: 0.82rem; color: var(--muted); border: 1px solid var(--line); border-radius: 10px; padding: 9px 12px; margin-bottom: 18px; background: #fff; }
.reader__search span { color: var(--saffron); font-weight: 700; margin-right: 4px; }
.reader__vols { display: flex; flex-direction: column; gap: 6px; }
.reader__vols li { list-style: none; padding: 11px 13px; border-radius: 10px; border: 1px solid transparent; cursor: default; }
.reader__vols li b { display: block; font-size: 0.9rem; font-weight: 600; }
.reader__vols li span { font-size: 0.76rem; color: var(--muted); }
.reader__vols li.is-active { background: #fff; border-color: rgba(226,103,15,0.3); box-shadow: var(--shadow-sm); }
.reader__vols li.is-active b { color: var(--saffron); }
.reader__page { padding: clamp(20px, 3.4vw, 34px); }
.reader__crumb { font-size: 0.74rem; letter-spacing: 0.04em; text-transform: uppercase; color: var(--muted); margin-bottom: 12px; }
.reader__title { font-family: var(--serif); font-weight: 400; font-size: clamp(1.5rem, 3vw, 2.1rem); letter-spacing: -0.01em; line-height: 1.14; margin-bottom: 16px; }
.reader__lead { font-family: var(--serif); font-weight: 300; font-size: 1.05rem; line-height: 1.68; color: var(--ink-soft); }
.reader__intel { margin: 20px 0; padding: 13px 16px; border-left: 3px solid var(--saffron); background: rgba(226,103,15,0.05); border-radius: 0 12px 12px 0; }
.reader__intel span { display: block; font-size: 0.64rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--saffron); margin-bottom: 4px; }
.reader__intel p { font-size: 0.94rem; color: var(--ink); }
.reader__chaps { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 20px; }
.reader__chap { font-size: 0.8rem; padding: 7px 13px; border-radius: 100px; border: 1px solid var(--line); color: var(--ink-soft); }
.reader__chap.is-read { color: var(--muted); text-decoration: line-through; }
.reader__chap.is-now { background: var(--saffron); color: #fff; border-color: var(--saffron); font-weight: 600; }

@media (max-width: 720px) {
  .report__body { grid-template-columns: 1fr; }
  .report__verdict { border-right: none; border-bottom: 1px solid var(--line-soft); }
  .reader { grid-template-columns: 1fr; }
  .reader__rail { border-right: none; border-bottom: 1px solid var(--line-soft); }
  .reader__vols { flex-direction: row; flex-wrap: wrap; }
  .reader__vols li { flex: 1 1 44%; }
}
