/* ZenEd — CUET & IPMAT page. Builds on styles.css tokens and components. */

/* ---------- Scroll-in motion (data-anim="up|left|right|pop", delay via --d) ---------- */
@property --pv { syntax: "<number>"; inherits: false; initial-value: 0; }
[data-anim] {
  opacity: 0;
  transition: opacity .9s cubic-bezier(.2, .8, .2, 1) var(--d, 0s), transform .9s cubic-bezier(.2, .8, .2, 1) var(--d, 0s);
}
[data-anim="up"] { transform: translateY(40px); }
[data-anim="left"] { transform: translateX(-64px); }
[data-anim="right"] { transform: translateX(64px); }
[data-anim="pop"] { transform: scale(.9); }
[data-anim].in { opacity: 1; transform: none; }

/* Self-drawing strokes (JS sets pathLength="1") */
.draw { fill: none; stroke: url(#gGold); stroke: var(--gold); stroke-width: 3; stroke-linecap: round; stroke-dasharray: 1; stroke-dashoffset: 1; transition: stroke-dashoffset 1.4s cubic-bezier(.6, 0, .2, 1) var(--dd, .2s); }
.in .draw, .in.draw { stroke-dashoffset: 0; }

/* ---------- Hero ---------- */
.c-hero {
  position: relative; min-height: 100svh; display: flex; align-items: center; padding: 120px 0 90px; overflow: hidden;
  background:
    radial-gradient(50% 60% at 78% 45%, rgba(27, 70, 48, .95), transparent 70%),
    radial-gradient(40% 40% at 5% 95%, rgba(233, 185, 73, .12), transparent 70%),
    var(--ink);
}
.c-hero-inner { position: relative; display: grid; grid-template-columns: 1.05fr .95fr; gap: 56px; align-items: center; }
.c-hero h1 { font-size: clamp(2.9rem, 6.8vw, 5.6rem); font-weight: 800; margin: 22px 0 24px; }
.c-hero .hl { font-style: normal; }
.split .w { display: inline-block; opacity: .18; transform: translateY(.45em) rotate(3deg); animation: wordIn .7s cubic-bezier(.2, .8, .2, 1) forwards; animation-delay: calc(.05s + var(--i) * .06s); }
@keyframes wordIn { to { opacity: 1; transform: none; filter: none; } }
.c-hero .lede { max-width: 560px; }

.route { position: relative; width: min(460px, 100%); aspect-ratio: 440 / 460; justify-self: center; }
.route-svg { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.route-svg .draw { stroke-width: 3.5; stroke-dasharray: 1; }
.route-svg .d2 { --dd: 1.1s; }
.route-svg .d3 { --dd: 1.3s; }
.node {
  position: absolute; transform: translate(-50%, -50%) scale(.6); opacity: 0;
  display: grid; grid-template-columns: auto 1fr; column-gap: 10px; align-items: center; text-align: left;
  padding: 10px 14px 10px 10px; border-radius: 16px; min-width: 170px;
  background: rgba(11, 34, 25, .9); border: 1px solid var(--line); box-shadow: var(--shadow);
  transition: transform .6s cubic-bezier(.3, 1.6, .5, 1) var(--nd), opacity .4s var(--nd);
}
.route.in .node { opacity: 1; transform: translate(-50%, -50%) scale(1); }
.node .ni { grid-row: span 2; width: 38px; height: 38px; border-radius: 12px; display: grid; place-items: center; font-family: var(--display); font-weight: 800; background: rgba(233, 185, 73, .16); color: var(--gold); }
.node .ni.c { background: rgba(140, 199, 240, .16); color: var(--sky); }
.node .ni.i { background: rgba(127, 214, 174, .16); color: var(--mint); }
.node b { color: var(--cream); font-size: .95rem; line-height: 1.2; }
.node small { color: var(--muted); font-size: .74rem; line-height: 1.25; }
.n0 { left: 16%; top: 87%; --nd: .25s; }
.n1 { left: 50%; top: 52%; --nd: 1s; border-color: rgba(233, 185, 73, .5); }
.n2 { left: 22%; top: 17%; --nd: 2.2s; }
.n3 { left: 78%; top: 17%; --nd: 2.4s; }
.route.in .n1 { animation: glow 2.6s ease-in-out 1.8s infinite; }
@keyframes glow { 50% { box-shadow: var(--shadow), 0 0 0 8px rgba(233, 185, 73, .12); } }
.route-face { position: absolute; right: 2%; bottom: 3%; width: 104px; height: 104px; border-radius: 50%; object-fit: cover; object-position: 50% 15%; border: 2px solid var(--gold); background: linear-gradient(180deg, var(--forest-2), var(--forest)); box-shadow: var(--shadow); opacity: 0; transform: scale(.6); transition: transform .6s cubic-bezier(.3, 1.6, .5, 1) 1.6s, opacity .4s 1.6s; }
.route.in .route-face { opacity: 1; transform: none; }
.route-note { position: absolute; right: 26%; bottom: 6%; transform: rotate(-8deg); font-size: 1.5rem; text-align: right; opacity: 0; transition: opacity .6s 2.6s; }
.route.in .route-note { opacity: 1; }
.c-scroll-hint { position: absolute; left: 50%; bottom: 26px; width: 26px; height: 42px; border: 2px solid var(--line); border-radius: 14px; transform: translateX(-50%); }
.c-scroll-hint span { position: absolute; left: 50%; top: 8px; width: 4px; height: 8px; margin-left: -2px; border-radius: 2px; background: var(--gold); animation: wheel 1.6s ease-in-out infinite; }
@keyframes wheel { 60% { transform: translateY(12px); opacity: 0; } 100% { opacity: 0; } }

/* ---------- Exam switcher ---------- */
.exam-switch { border-radius: 28px; border: 1px solid var(--line); background: linear-gradient(160deg, var(--forest-2), var(--forest)); padding: clamp(22px, 4vw, 44px); }
.exam-switch .tabs { margin: 0 0 28px; }
.exam-panel { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: start; }
.exam-panel[hidden] { display: none; }
.exam-intro h3 { font-size: 2rem; margin-bottom: 12px; }
.exam-intro p { color: var(--muted); }
.exam-intro b { color: var(--cream); }
.exam-panel.show .exam-intro { animation: fadeUp .5s both; }
.topic-cloud { display: flex; flex-wrap: wrap; gap: 10px; align-content: start; }
.topic-cloud span {
  padding: 10px 16px; border-radius: 999px; font-size: .9rem; font-weight: 500;
  background: rgba(255, 255, 255, .04); border: 1px solid var(--line); color: var(--cream);
  opacity: 0; transform: translateY(10px) scale(.9);
  transition: border-color .2s, background .2s, transform .2s;
}
.exam-panel.show .topic-cloud span { animation: chipIn .5s cubic-bezier(.3, 1.5, .5, 1) forwards; animation-delay: calc(.1s + var(--i) * .05s); }
@keyframes chipIn { to { opacity: 1; transform: none; } }
.topic-cloud span:hover { border-color: var(--gold); background: rgba(233, 185, 73, .1); }
.exam-note { margin-top: 26px; font-size: .82rem; color: var(--muted); border-top: 1px dashed var(--line); padding-top: 16px; }

/* ---------- Journey stages ---------- */
.journey { background: linear-gradient(180deg, var(--ink), var(--forest) 50%, var(--ink)); }
.journey .wrap { position: relative; }
.j-line { position: absolute; left: 50%; top: 240px; bottom: 40px; width: 2px; margin-left: -1px; background: var(--line); border-radius: 2px; }
.j-line i { display: block; width: 100%; height: calc(var(--jp, 0) * 100%); background: linear-gradient(180deg, var(--gold-2), var(--gold)); border-radius: 2px; box-shadow: 0 0 18px rgba(233, 185, 73, .5); }
.stage { position: relative; display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center; padding: 56px 0; }
.stage.flip .stage-copy { order: 2; }
.stage-no { display: inline-block; font-family: var(--hand); font-size: 1.6rem; color: var(--gold); transform: rotate(-4deg); margin-bottom: 4px; }
.stage-copy h3 { font-size: clamp(2rem, 4vw, 3rem); font-weight: 800; margin-bottom: 14px; }
.stage-copy p { color: var(--muted); font-size: 1.08rem; max-width: 460px; }
.stage-card { position: relative; justify-self: center; width: min(420px, 100%); }
.mock {
  position: relative; padding: 22px; border-radius: 20px; background: var(--cream); color: #17241c;
  box-shadow: 0 30px 60px -25px rgba(0, 0, 0, .8), 0 0 0 6px rgba(245, 239, 226, .06);
  transform: rotate(-2deg); transition: transform .4s cubic-bezier(.2, .8, .2, 1);
}
.stage.flip .mock { transform: rotate(2deg); }
.stage-card:hover .mock { transform: rotate(0) translateY(-6px) scale(1.02); }
.mock-title { font-family: var(--display); font-weight: 800; font-size: 1.1rem; margin-bottom: 14px; display: flex; align-items: center; gap: 8px; }
.mock-title::before { content: ""; width: 10px; height: 10px; border-radius: 50%; background: var(--gold); }
.trick { display: grid; grid-template-columns: 1fr auto auto; gap: 12px; align-items: center; padding: 10px 12px; border-radius: 12px; background: rgba(11, 34, 25, .06); margin-top: 8px; }
.trick b { font-family: var(--display); font-size: 1.15rem; }
.trick span { font-weight: 600; color: #1b4630; }
.trick em { font-style: normal; font-size: .72rem; font-weight: 600; color: #8a6a12; background: rgba(233, 185, 73, .25); padding: 3px 8px; border-radius: 999px; }
.lesson-row { display: flex; align-items: center; gap: 10px; padding: 10px 0; border-bottom: 1px dashed rgba(11, 34, 25, .15); font-weight: 500; font-size: .95rem; }
.lesson-row i { width: 18px; height: 18px; border-radius: 50%; border: 2px solid rgba(11, 34, 25, .3); flex: none; }
.lesson-row.done i { background: #1b4630; border-color: #1b4630; box-shadow: inset 0 0 0 3px var(--cream); }
.lesson-row.now { color: #1b4630; font-weight: 700; }
.lesson-row.now i { border-color: var(--red); }
.lesson-row span { margin-left: auto; font-size: .7rem; font-weight: 700; color: #fff; background: var(--red); padding: 2px 8px; border-radius: 999px; text-transform: uppercase; letter-spacing: .05em; }
.lvl { display: grid; grid-template-columns: 90px 1fr; gap: 12px; align-items: center; margin-top: 12px; font-size: .88rem; font-weight: 600; }
.lvl .bar { height: 10px; border-radius: 10px; background: rgba(11, 34, 25, .1); overflow: hidden; }
.lvl .bar i { display: block; height: 100%; width: 0; border-radius: 10px; background: linear-gradient(90deg, #1b4630, #3f8f63); transition: width 1.2s cubic-bezier(.2, .8, .2, 1) .5s; }
.in .lvl .bar i { width: var(--w); }
.ring-row { display: flex; gap: 18px; align-items: center; }
.ring-row ul { list-style: none; padding: 0; display: grid; gap: 8px; font-size: .88rem; font-weight: 500; }
.ring-row b { display: inline-grid; place-items: center; width: 20px; height: 20px; border-radius: 50%; font-size: .72rem; margin-right: 6px; color: #fff; }
.ring-row b.ok { background: #1b4630; }
.ring-row b.warn { background: #c2410c; }
.ring {
  --pv: 0; flex: none; position: relative; width: 104px; height: 104px; border-radius: 50%; display: grid; place-content: center; text-align: center;
  background: conic-gradient(var(--gold) calc(var(--pv) * 1%), rgba(11, 34, 25, .12) 0);
  transition: --pv 1.6s cubic-bezier(.2, .8, .2, 1) .4s;
}
.ring::before { content: ""; position: absolute; inset: 11px; border-radius: 50%; background: var(--cream); }
.ring span, .ring small { position: relative; }
.ring span { font-family: var(--display); font-weight: 800; font-size: 1.5rem; line-height: 1; }
.ring small { font-size: .68rem; text-transform: uppercase; letter-spacing: .08em; opacity: .7; }
.in .ring, .ring.live { --pv: var(--p); }
.mock-check label { display: flex; align-items: center; gap: 10px; padding: 9px 0; font-weight: 500; font-size: .95rem; border-bottom: 1px dashed rgba(11, 34, 25, .15); }
.mock-check input { width: 18px; height: 18px; accent-color: #1b4630; }
.callout { position: absolute; font-family: var(--hand); font-size: 1.45rem; line-height: 1.05; color: var(--gold-2); white-space: nowrap; opacity: 0; transition: opacity .6s .9s; }
.in .callout { opacity: 1; }
.c-right { right: 4px; top: -58px; transform: rotate(4deg); text-align: right; }
.c-left { left: 4px; top: -58px; transform: rotate(-4deg); }
.arrow { position: absolute; width: 90px; height: 46px; top: -14px; }
.arrow .draw { stroke-width: 2.5; --dd: .8s; }
.a-right { right: 150px; }
.a-left { left: 150px; }

/* ---------- Readiness check ---------- */
.ready-inner { display: grid; grid-template-columns: .9fr 1.1fr; gap: 56px; align-items: center; }
.ready-card { display: grid; grid-template-columns: 1fr auto; gap: 28px; align-items: center; padding: clamp(22px, 4vw, 36px); border-radius: 28px; background: var(--forest); border: 1px solid var(--line); box-shadow: var(--shadow); }
.ready-rows { display: grid; gap: 16px; }
.r-row p { font-size: .9rem; font-weight: 600; color: var(--cream); margin-bottom: 8px; }
.r-opts { display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; }
.r-opts button { padding: 9px 4px; border-radius: 10px; border: 1px solid var(--line); background: rgba(255, 255, 255, .03); font-size: .78rem; font-weight: 500; color: var(--muted); transition: all .2s; }
.r-opts button:hover { border-color: var(--gold); color: var(--cream); }
.r-opts button.on { background: var(--gold); border-color: var(--gold); color: #1a1405; font-weight: 700; }
.ready-result { display: grid; justify-items: center; gap: 14px; width: 200px; text-align: center; }
.ring.big { width: 160px; height: 160px; background: conic-gradient(var(--gold) calc(var(--pv) * 1%), rgba(255, 255, 255, .08) 0); transition: --pv 1s cubic-bezier(.2, .8, .2, 1); }
.ring.big::before { inset: 14px; background: var(--forest); }
.ring.big span { font-size: 2.3rem; color: var(--cream); }
.ring.big small { color: var(--muted); }
#readyTip { font-size: .9rem; color: var(--muted); }
#readyTip b { color: var(--gold-2); }

/* ---------- Videos ---------- */
.c-vids { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 18px; margin-top: 24px; }
.c-vids .vid.hide { display: none; }
.vmodal { border: 0; padding: 0; background: transparent; width: min(960px, 94vw); overflow: visible; }
.vmodal.short { width: min(380px, 90vw); }
.vmodal::backdrop { background: rgba(3, 9, 6, .9); backdrop-filter: blur(6px); }
.vframe { aspect-ratio: 16 / 9; border-radius: 18px; overflow: hidden; background: #000; }
.vmodal.short .vframe { aspect-ratio: 9 / 16; }
.vframe iframe { width: 100%; height: 100%; border: 0; display: block; }

/* ---------- CTA ---------- */
.cta-card { text-align: center; padding: clamp(40px, 7vw, 80px) clamp(20px, 5vw, 60px); border-radius: 32px; border: 1px solid rgba(233, 185, 73, .3); background: radial-gradient(60% 100% at 50% 0%, rgba(233, 185, 73, .18), transparent 70%), var(--forest); }
.cta-card h2 { font-size: clamp(2.2rem, 5.5vw, 4rem); margin: 10px auto 30px; max-width: 800px; }
.cta-card .hero-ctas { justify-content: center; margin: 0; }

/* ---------- Responsive ---------- */
@media (max-width: 980px) {
  .c-hero-inner, .exam-panel, .ready-inner { grid-template-columns: 1fr; }
  .c-hero { min-height: 0; padding-top: 110px; }
  .route { width: min(420px, 100%); }
  .stage { grid-template-columns: 1fr; gap: 56px; padding: 40px 0; }
  .stage.flip .stage-copy { order: 0; }
  .j-line { left: 0; }
  .stage-copy, .stage-card { padding-left: 20px; }
}
@media (max-width: 640px) {
  .c-hero { padding: 96px 0 56px; }
  .c-hero h1 { font-size: clamp(2.5rem, 11.5vw, 3.2rem); margin: 16px 0; }
  .c-scroll-hint { display: none; }
  .node { min-width: 0; padding: 8px 10px 8px 8px; column-gap: 8px; }
  .node .ni { width: 30px; height: 30px; font-size: .85rem; }
  .node b { font-size: .82rem; }
  .node small { display: none; }
  .n0 { left: 22%; }
  .n2 { left: 24%; }
  .n3 { left: 76%; }
  .route-face { width: 76px; height: 76px; }
  .route-note { font-size: 1.2rem; right: 24%; }
  [data-anim="left"], [data-anim="right"] { transform: translateY(40px); }
  [data-anim].in { transform: none; }
  .stage { gap: 64px; }
  .callout { font-size: 1.2rem; }
  .c-right { right: 0; top: -50px; }
  .c-left { left: 20px; top: -50px; }
  .a-right, .a-left { display: none; }
  .ready-card { grid-template-columns: 1fr; }
  .ready-result { width: 100%; order: -1; }
  .r-opts button { font-size: .72rem; }
  .c-vids.rail { grid-auto-columns: 78%; }
}
@media (prefers-reduced-motion: reduce) {
  [data-anim] { opacity: 1; transform: none; }
  .split .w { opacity: 1; transform: none; filter: none; }
  .draw { stroke-dashoffset: 0; }
  .node, .route-face, .route-note, .callout { opacity: 1; }
  .node { transform: translate(-50%, -50%); }
  .topic-cloud span { opacity: 1; transform: none; }
}

/* ======================================================================
   DU CUET eligibility checker
   ====================================================================== */
.e-hero { position: relative; overflow: hidden; padding: 140px 0 40px; text-align: center;
  background: radial-gradient(50% 80% at 50% 0%, rgba(27, 70, 48, .9), transparent 70%), var(--ink); }
.e-hero .wrap { position: relative; display: grid; justify-items: center; }
.e-hero h1 { font-size: clamp(2.6rem, 6.4vw, 5rem); font-weight: 800; margin: 20px 0 18px; max-width: 900px; }
.e-hero .lede { max-width: 640px; }
.e-steps { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; justify-content: center; margin-top: 30px; font-size: .9rem; color: var(--muted); }
.e-steps span { display: inline-flex; align-items: center; gap: 8px; }
.e-steps b { width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center; background: rgba(233, 185, 73, .16); color: var(--gold); font-size: .8rem; }
.e-steps i { width: 28px; height: 1px; background: var(--line); }

.e-main { padding-top: 40px; }
.e-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 28px; align-items: start; }
.e-picker, .e-results { border-radius: 28px; border: 1px solid var(--line); background: var(--forest); padding: clamp(20px, 3vw, 30px); }
.e-results { position: sticky; top: 92px; max-height: calc(100vh - 110px); overflow: auto; scrollbar-width: thin; }
.e-group + .e-group { margin-top: 24px; padding-top: 22px; border-top: 1px dashed var(--line); }
.e-group-head { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; flex-wrap: wrap; margin-bottom: 12px; }
.e-group-head h3, .e-group-head .e-gh { font-size: 1.15rem; }
.e-group-head small { font-family: var(--body); font-weight: 500; font-size: .75rem; color: var(--gold); margin-left: 6px; letter-spacing: .05em; }
.e-hint { font-size: .8rem; color: var(--muted); }
.e-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.e-chip {
  padding: 9px 14px; border-radius: 12px; font-size: .86rem; font-weight: 500; text-align: left;
  border: 1px solid var(--line); background: rgba(255, 255, 255, .03); color: var(--text);
  transition: background .2s, border-color .2s, color .2s, transform .2s cubic-bezier(.3, 1.6, .5, 1);
}
.e-chip:hover { border-color: var(--gold); }
.e-chip:active { transform: scale(.95); }
.e-chip.on { background: var(--gold); border-color: var(--gold); color: #1a1405; font-weight: 600; animation: chipPop .35s cubic-bezier(.3, 1.6, .5, 1); }
.e-chip.on::before { content: "✓ "; }
@keyframes chipPop { 50% { transform: scale(1.08); } }
.e-status p { margin-top: 18px; padding: 12px 14px; border-radius: 12px; background: rgba(255, 122, 112, .1); border: 1px solid rgba(255, 122, 112, .3); color: #ffc9c3; font-size: .88rem; }
.e-picker-actions { display: flex; justify-content: space-between; align-items: center; margin-top: 22px; }
.e-count { font-size: .85rem; color: var(--muted); }

.e-summary { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding-bottom: 18px; border-bottom: 1px dashed var(--line); }
.e-big { display: flex; align-items: center; gap: 14px; }
.e-big b { font-family: var(--display); font-weight: 800; font-size: 3.6rem; line-height: 1; color: var(--gold); min-width: 1.4em; }
.e-big span { font-size: .88rem; color: var(--muted); line-height: 1.3; }
.e-big.bump b { animation: bump .5s cubic-bezier(.3, 1.6, .5, 1); }
@keyframes bump { 40% { transform: scale(1.18); } }
.e-suggest { margin-top: 18px; padding: 16px; border-radius: 18px; background: rgba(233, 185, 73, .07); border: 1px solid rgba(233, 185, 73, .25); }
.e-suggest-title { font-family: var(--hand); font-size: 1.4rem; color: var(--gold-2); margin-bottom: 8px; }
.e-sug { display: grid; grid-template-columns: 1fr auto; gap: 2px 10px; width: 100%; text-align: left; padding: 10px 12px; border-radius: 12px; transition: background .2s; }
.e-sug:hover { background: rgba(255, 255, 255, .05); }
.e-sug span { font-size: .9rem; color: var(--text); }
.e-sug b { color: var(--cream); }
.e-sug em { font-style: normal; font-weight: 700; color: var(--mint); font-size: .85rem; }
.e-sug small { grid-column: 1 / -1; color: var(--muted); font-size: .75rem; }
.e-tools { display: grid; gap: 12px; margin: 18px 0 12px; }
.e-tools .tabs { margin: 0; }
.e-tools .tab em { font-style: normal; font-size: .72rem; opacity: .7; margin-left: 2px; }
.e-search { font: inherit; color: var(--cream); background: rgba(255, 255, 255, .04); border: 1px solid var(--line); border-radius: 12px; padding: 11px 14px; }
.e-search:focus { outline: none; border-color: var(--gold); }
.e-empty { text-align: center; padding: 34px 10px; color: var(--muted); }
.e-empty .scribble { font-size: 2rem; }
.e-list { list-style: none; padding: 0; display: grid; gap: 10px; }
.e-item { padding: 14px 16px; border-radius: 16px; background: rgba(255, 255, 255, .03); border: 1px solid var(--line);
  animation: itemIn .45s cubic-bezier(.2, .8, .2, 1) both; animation-delay: calc(var(--i) * .03s); }
@keyframes itemIn { from { opacity: 0; transform: translateY(10px); } }
.e-item-top { display: flex; justify-content: space-between; align-items: start; gap: 10px; }
.e-item h4, .e-item .h4 { font-family: var(--display); font-weight: 700; font-size: 1rem; color: var(--cream); line-height: 1.3; }
.e-item .tag { flex: none; font-size: .64rem; }
.e-via { font-size: .82rem; color: var(--muted); margin-top: 6px; }
.e-via b { color: var(--gold-2); font-weight: 600; }
.e-flags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 8px; }
.e-flags:empty { display: none; }
.e-flag { font-size: .72rem; padding: 4px 9px; border-radius: 8px; background: rgba(140, 199, 240, .12); color: var(--sky); }
.e-flag.warn { background: rgba(255, 170, 80, .12); color: #ffc58a; }
.e-flag.soft { background: rgba(255, 255, 255, .05); color: var(--muted); }
.e-none { color: var(--muted); font-size: .9rem; padding: 10px; }
.e-not { margin-top: 18px; border-top: 1px dashed var(--line); padding-top: 14px; }
.e-not summary { cursor: pointer; font-weight: 600; color: var(--muted); }
.e-not ul { list-style: none; padding: 0; display: grid; gap: 10px; margin-top: 12px; }
.e-not li { display: grid; gap: 2px; font-size: .82rem; }
.e-not li b { color: var(--text); font-weight: 600; }
.e-not li span { color: var(--muted); }
.e-not li i { font-style: normal; color: var(--gold); }

.e-rule-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.e-rule { padding: 22px; border-radius: 20px; border: 1px solid var(--line); background: rgba(255, 255, 255, .02); }
.e-rule span { font-family: var(--hand); font-size: 1.6rem; color: var(--gold); }
.e-rule h3 { font-size: 1.1rem; margin: 6px 0 8px; }
.e-rule p { font-size: .88rem; color: var(--muted); }
.e-source { margin-top: 26px; font-size: .82rem; color: var(--muted); }
.mbar b { margin-left: 6px; padding: 1px 8px; border-radius: 999px; background: var(--gold); color: #1a1405; font-size: .78rem; }

@media (max-width: 980px) {
  .e-grid { grid-template-columns: 1fr; }
  .e-results { position: static; max-height: none; overflow: visible; }
  .e-rule-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) {
  .e-hero { padding: 104px 0 20px; }
  .e-hero h1 { font-size: clamp(2.3rem, 10.5vw, 3rem); }
  .e-steps i { display: none; }
  .e-chip { font-size: .8rem; padding: 8px 11px; }
  .e-big b { font-size: 3rem; }
  .e-rule-grid { grid-template-columns: 1fr; }
}

.e-link { margin-top: 18px; white-space: normal; text-align: left; }
#eGroups { display: flex; flex-wrap: nowrap; overflow-x: auto; max-width: 100%; border-radius: 16px; scrollbar-width: none; }
#eGroups::-webkit-scrollbar { display: none; }
#eGroups .tab { flex: none; }

/* CUET subject cards */
.subj-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; align-content: start; }
.subj { position: relative; padding: 16px 16px 16px 62px; border-radius: 16px; border: 1px solid var(--line); background: rgba(255, 255, 255, .03);
  opacity: 0; transform: translateY(14px) scale(.96); transition: border-color .2s, background .2s; }
.exam-panel.show .subj { animation: chipIn .55s cubic-bezier(.3, 1.4, .5, 1) forwards; animation-delay: calc(.1s + var(--i) * .08s); }
.subj:hover { border-color: rgba(233, 185, 73, .5); background: rgba(233, 185, 73, .06); }
.subj-ic { position: absolute; left: 14px; top: 16px; width: 36px; height: 36px; border-radius: 11px; display: grid; place-items: center;
  font-family: var(--display); font-weight: 800; font-size: .95rem; background: rgba(233, 185, 73, .14); color: var(--gold); }
.subj h4, .subj .h4 { font-family: var(--display); font-weight: 700; font-size: 1rem; color: var(--cream); line-height: 1.25; }
.subj p { font-size: .78rem; color: var(--muted); margin-top: 4px; line-height: 1.45; }
@media (max-width: 640px) { .subj-grid { grid-template-columns: 1fr; } }
@media (prefers-reduced-motion: reduce) { .subj { opacity: 1; transform: none; } }

/* "Taught at ZenEd" markers in the checker */
.e-chip[data-zen]::after, .zen-key { content: "Z"; display: inline-grid; place-items: center; width: 16px; height: 16px; margin-left: 7px; border-radius: 5px;
  font: 800 .62rem/1 var(--display); font-style: normal; vertical-align: 1px; background: rgba(233, 185, 73, .2); color: var(--gold); }
.zen-key { margin: 0 2px; }
.e-chip.on[data-zen]::after { background: #1a1405; color: var(--gold-2); }
.e-zen { display: flex; align-items: center; gap: 10px; margin-top: 16px; padding: 12px 14px; border-radius: 14px; font-size: .88rem;
  border: 1px solid rgba(233, 185, 73, .35); background: linear-gradient(90deg, rgba(233, 185, 73, .14), rgba(233, 185, 73, .03)); transition: border-color .2s; }
.e-zen:hover { border-color: var(--gold); }
.e-zen b { color: var(--gold-2); }
.e-zen em { margin-left: auto; font-style: normal; font-weight: 600; color: var(--gold-2); white-space: nowrap; }
.e-zen-dot { flex: none; width: 26px; height: 26px; border-radius: 8px; display: grid; place-items: center; background: var(--gold); color: #1a1405; font: 800 .8rem/1 var(--display); }
.cta-subjects { color: var(--muted); margin: -14px auto 28px; max-width: 640px; font-size: .95rem; }
/* Exam cards still appear if the reveal fallback (not the observer) shows the switcher */
.exam-switch.in .exam-panel:not([hidden]) .subj, .exam-switch.in .exam-panel:not([hidden]) .topic-cloud span { animation: chipIn .55s cubic-bezier(.3, 1.4, .5, 1) forwards; animation-delay: calc(.1s + var(--i) * .08s); }

/* Hero credentials + mentor section */
.creds { list-style: none; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; margin-top: 30px; }
.creds li { display: grid; padding: 9px 13px; border-radius: 14px; border: 1px solid var(--line); background: rgba(255, 255, 255, .03); }
.creds li:first-child, .creds li:nth-child(2) { border-color: rgba(233, 185, 73, .45); background: rgba(233, 185, 73, .08); }
.creds b { font-family: var(--display); font-weight: 800; font-size: 1.2rem; color: var(--cream); line-height: 1.1; }
.creds li:first-child b, .creds li:nth-child(2) b { color: var(--gold); }
.creds span { font-size: .74rem; color: var(--muted); }
.mentor .sec-sub { margin-bottom: 6px; }
@media (max-width: 640px) { .creds { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; } .creds li { padding: 9px 12px; } }

.e-share-btns { display: flex; gap: 8px; flex-wrap: wrap; justify-content: flex-end; }
@media (max-width: 640px) { .e-summary { flex-wrap: wrap; } .e-share-btns { width: 100%; } .e-share-btns .btn { flex: 1; } }

/* First screen on the CUET and eligibility pages: never wait for scrolling — visible at once, motion only */
.c-hero [data-anim], .e-hero [data-anim] { opacity: 1; transform: none; transition: none; animation: heroRise .8s cubic-bezier(.2, .8, .2, 1) var(--d, 0s) both; }
.c-hero [data-anim="pop"] { animation-name: heroPop; }
@keyframes heroRise { from { transform: translateY(16px); } }
@keyframes heroPop { from { transform: scale(.94); } }
