/* विद्याधाम — BPSC मुख्य परीक्षा की तैयारी */
:root {
  --navy: #0f1f4b;
  --navy-2: #1a2f6b;
  --navy-3: #243f8f;
  --red: #c0262d;
  --red-dark: #9a1c22;
  --gold: #c8962e;
  --green: #1f7a4d;
  --ink: #111827;
  --body: #374151;
  --muted: #6b7280;
  --line: #e5e7eb;
  --soft: #f5f7fb;
  --soft-red: #fdf1f1;
  --soft-blue: #eef2fb;
  --soft-gold: #fbf5e8;
  --white: #fff;
  --radius: 14px;
  --radius-lg: 20px;
  --shadow-sm: 0 1px 2px rgba(16, 24, 40, .06), 0 1px 3px rgba(16, 24, 40, .08);
  --shadow: 0 12px 32px -8px rgba(15, 31, 75, .18);
  --shadow-lg: 0 30px 60px -20px rgba(15, 31, 75, .35);
  --font: "Mukta", "Noto Sans Devanagari", system-ui, sans-serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font); color: var(--body); background: var(--white);
  line-height: 1.7; font-size: 17px; -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
strong, b { color: var(--ink); font-weight: 700; }
.container { width: min(1180px, 100% - 40px); margin-inline: auto; }
:focus-visible { outline: 3px solid var(--navy-3); outline-offset: 2px; border-radius: 6px; }

/* घोषणा पट्टी */
.topbar { background: var(--navy); color: #d6def5; font-size: 14px; }
.topbar .container { display: flex; justify-content: space-between; align-items: center; gap: 16px; min-height: 40px; }
.topbar a { color: var(--white); font-weight: 600; }
.topbar .badge-new { background: var(--red); color: var(--white); border-radius: 4px; padding: 1px 8px; font-size: 12px; font-weight: 700; margin-right: 8px; }
.topbar-contact { display: flex; gap: 20px; }

/* हेडर */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(255, 255, 255, .92); backdrop-filter: saturate(180%) blur(10px); border-bottom: 1px solid var(--line); }
.nav { display: flex; align-items: center; justify-content: space-between; height: 76px; gap: 20px; }
.brand { display: flex; align-items: center; gap: 12px; }
.brand-logo { width: 46px; height: 46px; flex: none; }
.brand-name { font-size: 25px; font-weight: 800; color: var(--navy); line-height: 1; letter-spacing: -.2px; }
.brand-name small { display: block; font-size: 12.5px; font-weight: 500; color: var(--muted); margin-top: 5px; letter-spacing: .2px; }
.nav-links { display: flex; align-items: center; gap: 4px; list-style: none; }
.nav-links a { display: block; padding: 8px 14px; border-radius: 8px; font-weight: 600; font-size: 16px; color: var(--ink); transition: color .2s, background .2s; position: relative; }
.nav-links a:hover { color: var(--red); }
.nav-links a.active { color: var(--red); }
.nav-links a.active::after { content: ""; position: absolute; left: 14px; right: 14px; bottom: 0; height: 2px; background: var(--red); border-radius: 2px; }
.nav-cta { margin-left: 10px; }
.nav-toggle { display: none; background: var(--white); border: 1px solid var(--line); color: var(--navy); border-radius: 10px; width: 44px; height: 42px; cursor: pointer; }

/* बटन */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 13px 26px; border-radius: 10px; font-weight: 700; font-size: 16px; border: 1.5px solid transparent; cursor: pointer; transition: all .2s; font-family: var(--font); line-height: 1.2; }
.btn svg { width: 18px; height: 18px; }
.btn-primary { background: var(--red); color: var(--white); box-shadow: 0 8px 20px -6px rgba(192, 38, 45, .55); }
.btn-primary:hover { background: var(--red-dark); transform: translateY(-1px); }
.btn-outline { border-color: #cfd6e6; color: var(--navy); background: var(--white); }
.btn-outline:hover { border-color: var(--navy); background: var(--soft-blue); }
.btn-light { background: var(--white); color: var(--navy); }
.btn-light:hover { background: #f0f3fa; }
.btn-sm { padding: 9px 18px; font-size: 15px; }

/* हीरो */
.hero { position: relative; padding: 76px 0 96px; background: radial-gradient(1100px 500px at 85% -10%, #e9eefb 0, transparent 60%), radial-gradient(700px 400px at -10% 110%, #fbeeee 0, transparent 60%), var(--white); overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 56px; align-items: center; }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; background: var(--white); border: 1px solid var(--line); color: var(--navy); padding: 6px 14px 6px 8px; border-radius: 999px; font-size: 14px; font-weight: 600; margin-bottom: 22px; box-shadow: var(--shadow-sm); }
.eyebrow i { font-style: normal; background: var(--soft-red); color: var(--red); border-radius: 999px; padding: 1px 10px; font-size: 12.5px; font-weight: 700; }
.hero h1 { font-size: clamp(36px, 5.2vw, 58px); line-height: 1.18; color: var(--navy); font-weight: 800; letter-spacing: -.5px; margin-bottom: 20px; }
.hero h1 span { color: var(--red); }
.hero p.lead { font-size: 19.5px; color: var(--muted); margin-bottom: 32px; max-width: 560px; }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }
.hero-points { display: flex; flex-wrap: wrap; gap: 10px 24px; margin-top: 30px; list-style: none; font-size: 15.5px; color: var(--body); }
.hero-points li { display: flex; align-items: center; gap: 8px; }
.hero-points svg { width: 20px; height: 20px; color: var(--green); flex: none; }

.hero-visual { position: relative; display: flex; justify-content: center; }
.book { width: 310px; max-width: 70vw; height: auto; border-radius: 6px 14px 14px 6px; box-shadow: var(--shadow-lg), inset 6px 0 10px rgba(0,0,0,.1); transform: perspective(1400px) rotateY(-12deg) rotateX(2deg); transition: transform .5s; }
.book:hover { transform: perspective(1400px) rotateY(-4deg); }
.float-badge { position: absolute; background: var(--white); border: 1px solid var(--line); border-radius: 14px; padding: 12px 16px; box-shadow: var(--shadow); display: flex; align-items: center; gap: 12px; }
.float-badge strong { display: block; font-size: 22px; color: var(--navy); line-height: 1.1; }
.float-badge span { font-size: 13px; color: var(--muted); }
.float-badge .ic { width: 42px; height: 42px; border-radius: 10px; display: grid; place-items: center; }
.float-badge .ic svg { width: 22px; height: 22px; }
.fb-1 { left: 2%; bottom: 16%; }
.fb-2 { right: 2%; top: 10%; }

/* आंकड़े */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-lg); box-shadow: var(--shadow); margin-top: -52px; position: relative; z-index: 2; }
.stat { padding: 26px 20px; text-align: center; border-right: 1px solid var(--line); }
.stat:last-child { border-right: none; }
.stat strong { display: block; font-size: 38px; font-weight: 800; color: var(--navy); line-height: 1.1; }
.stat strong em { font-style: normal; color: var(--red); }
.stat span { font-size: 15px; color: var(--muted); }

/* सेक्शन */
section { padding: 88px 0; }
.section-head { text-align: center; max-width: 720px; margin: 0 auto 52px; }
.section-head .kicker { display: inline-block; color: var(--red); font-weight: 700; font-size: 14px; letter-spacing: 1.5px; text-transform: uppercase; margin-bottom: 10px; }
.section-head h2 { font-size: clamp(30px, 4vw, 42px); color: var(--navy); font-weight: 800; line-height: 1.25; margin-bottom: 12px; letter-spacing: -.3px; }
.section-head p { color: var(--muted); font-size: 18px; }
.divider { display: none; }
.bg-alt { background: var(--soft); }

/* ग्रिड और कार्ड */
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.card { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 30px; transition: transform .25s, box-shadow .25s, border-color .25s; }
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: #d5dbea; }
.icon { width: 52px; height: 52px; border-radius: 12px; display: grid; place-items: center; background: var(--soft-red); color: var(--red); margin-bottom: 18px; flex: none; }
.icon svg { width: 26px; height: 26px; }
.card:nth-child(3n+2) .icon { background: var(--soft-blue); color: var(--navy-3); }
.card:nth-child(3n) .icon { background: var(--soft-gold); color: var(--gold); }
.card h3 { font-size: 20px; color: var(--ink); font-weight: 700; margin-bottom: 8px; line-height: 1.35; }
.card p { color: var(--muted); font-size: 16px; }

/* पत्र */
.paper { border-radius: var(--radius-lg); padding: 32px; color: var(--white); position: relative; overflow: hidden; }
.paper::after { content: ""; position: absolute; width: 220px; height: 220px; border-radius: 50%; border: 36px solid rgba(255,255,255,.07); right: -70px; top: -70px; }
.paper.gs1 { background: linear-gradient(150deg, var(--navy-2), var(--navy)); }
.paper.gs2 { background: linear-gradient(150deg, #c8333a, var(--red-dark)); }
.paper.essay { background: linear-gradient(150deg, #23895a, #165c3a); }
.paper .label { display: inline-block; font-size: 13px; font-weight: 700; letter-spacing: 1px; background: rgba(255,255,255,.15); border-radius: 6px; padding: 2px 10px; margin-bottom: 14px; }
.paper h3 { font-size: 27px; font-weight: 800; margin-bottom: 2px; }
.paper .marks { opacity: .8; font-size: 15px; margin-bottom: 18px; }
.paper ul { list-style: none; position: relative; z-index: 1; border-top: 1px solid rgba(255,255,255,.18); padding-top: 14px; }
.paper li { padding: 5px 0 5px 26px; font-size: 16px; position: relative; }
.paper li::before { content: ""; position: absolute; left: 0; top: 13px; width: 14px; height: 8px; border-left: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: rotate(-45deg); opacity: .85; }

/* टैग */
.tag { display: inline-block; padding: 2px 10px; border-radius: 6px; font-size: 13.5px; font-weight: 600; line-height: 1.6; }
.tag-gs1 { background: var(--soft-blue); color: var(--navy-3); }
.tag-gs2 { background: var(--soft-red); color: var(--red-dark); }
.tag-hot { background: #fde8e8; color: #b42318; }
.tag-likely { background: #fef3dc; color: #a15c07; }
.tag-low { background: #f2f4f7; color: #475467; }

/* तालिका */
.toolbar { display: flex; gap: 12px; flex-wrap: wrap; margin-bottom: 20px; padding: 16px; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow-sm); }
.toolbar input, .toolbar select { font-family: var(--font); font-size: 16px; padding: 11px 14px; border-radius: 10px; border: 1px solid #d0d5dd; background: var(--white); color: var(--ink); outline: none; }
.toolbar input { flex: 1; min-width: 240px; }
.toolbar input:focus, .toolbar select:focus { border-color: var(--navy-3); box-shadow: 0 0 0 4px #e3e9fb; }
.table-wrap { overflow-x: auto; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow-sm); }
table { width: 100%; border-collapse: collapse; font-size: 16px; }
th { background: var(--soft); color: var(--muted); text-align: left; padding: 14px 16px; font-weight: 600; font-size: 14px; white-space: nowrap; border-bottom: 1px solid var(--line); letter-spacing: .3px; }
td { padding: 14px 16px; border-top: 1px solid var(--line); vertical-align: middle; }
tbody tr:first-child td { border-top: none; }
tbody tr:hover { background: #fafbfd; }
.bar { height: 6px; border-radius: 999px; background: #eef0f4; min-width: 90px; overflow: hidden; }
.bar i { display: block; height: 100%; background: linear-gradient(90deg, var(--navy-3), var(--red)); border-radius: 999px; }
.empty { text-align: center; padding: 34px; color: var(--muted); }

/* नोट्स कार्ड */
.note-card { display: flex; flex-direction: column; }
.note-card .meta { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 14px; }
.note-card ul { margin: 12px 0 22px; list-style: none; color: var(--body); font-size: 15.5px; }
.note-card ul li { padding: 4px 0 4px 24px; position: relative; }
.note-card ul li::before { content: ""; position: absolute; left: 2px; top: 12px; width: 11px; height: 6px; border-left: 2px solid var(--green); border-bottom: 2px solid var(--green); transform: rotate(-45deg); }
.note-card .actions { margin-top: auto; display: flex; gap: 10px; flex-wrap: wrap; }
.note-card.soon { background: var(--soft); }
.note-card.soon:hover { transform: none; box-shadow: none; }
.note-card.featured { border: 2px solid var(--red); position: relative; }
.note-card.featured::before { content: "उपलब्ध"; position: absolute; top: -12px; right: 20px; background: var(--red); color: var(--white); font-size: 13px; font-weight: 700; padding: 2px 12px; border-radius: 999px; }

/* CTA */
.cta { background: radial-gradient(600px 300px at 100% 0, rgba(255,255,255,.08), transparent 60%), linear-gradient(135deg, var(--navy-2), var(--navy)); color: var(--white); border-radius: var(--radius-lg); padding: 52px 56px; display: flex; align-items: center; justify-content: space-between; gap: 28px; flex-wrap: wrap; box-shadow: var(--shadow-lg); }
.cta h2 { font-size: clamp(26px, 3.4vw, 36px); font-weight: 800; color: var(--white); line-height: 1.25; margin-bottom: 6px; }
.cta p { color: #c9d3ef; font-size: 17.5px; }
.cta strong { color: var(--white); }

/* पेज हेडर */
.page-hero { padding: 64px 0 56px; text-align: center; background: radial-gradient(800px 300px at 50% -20%, #e6ecfb, transparent 70%), var(--soft); border-bottom: 1px solid var(--line); }
.page-hero .crumbs { font-size: 14px; color: var(--muted); margin-bottom: 10px; }
.page-hero .crumbs a { color: var(--navy-3); font-weight: 600; }
.page-hero h1 { font-size: clamp(34px, 5vw, 50px); color: var(--navy); font-weight: 800; letter-spacing: -.4px; line-height: 1.2; }
.page-hero p { color: var(--muted); max-width: 680px; margin: 12px auto 0; font-size: 18px; }

/* उत्तर-लेखन */
.answer-steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.step { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 30px; position: relative; overflow: hidden; }
.step::before { content: ""; position: absolute; left: 0; top: 0; right: 0; height: 4px; background: var(--red); }
.step:nth-child(2)::before { background: var(--navy-3); }
.step:nth-child(3)::before { background: var(--green); }
.step .num { font-size: 30px; font-weight: 800; color: var(--navy); }
.step small { display: inline-block; color: var(--muted); background: var(--soft); border-radius: 6px; padding: 2px 10px; font-size: 14px; margin: 4px 0 14px; }
.step p { font-size: 16px; }

/* कैसे काम करता है */
.process { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; counter-reset: step; }
.process-item { text-align: left; position: relative; }
.process-item .n { width: 48px; height: 48px; border-radius: 50%; background: var(--navy); color: var(--white); display: grid; place-items: center; font-weight: 800; font-size: 19px; margin-bottom: 18px; box-shadow: 0 0 0 6px var(--soft-blue); }
.process-item h3 { font-size: 19px; color: var(--ink); margin-bottom: 6px; }
.process-item p { color: var(--muted); font-size: 16px; }
.process-item:not(:last-child)::after { content: ""; position: absolute; top: 24px; left: 64px; right: -12px; border-top: 2px dashed #cfd6e6; }

/* टॉप टॉपिक सूची */
.topic-list { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-sm); }
.topic-row { display: grid; grid-template-columns: 52px 1fr 180px 90px; align-items: center; gap: 16px; padding: 16px 24px; border-top: 1px solid var(--line); }
.topic-row:first-child { border-top: none; }
.topic-row .rank { font-weight: 800; font-size: 20px; color: #c3c9d6; }
.topic-row .t { font-weight: 600; color: var(--ink); }
.topic-row .t small { display: block; font-weight: 500; color: var(--muted); font-size: 14px; }
.topic-row .count { text-align: right; font-weight: 800; color: var(--red); font-size: 18px; }

/* FAQ */
.faq { max-width: 820px; margin: 0 auto; }
.faq details { background: var(--white); border: 1px solid var(--line); border-radius: 12px; margin-bottom: 12px; padding: 0 22px; transition: box-shadow .2s; }
.faq details[open] { box-shadow: var(--shadow-sm); }
.faq summary { cursor: pointer; list-style: none; padding: 18px 0; font-weight: 700; color: var(--ink); font-size: 17.5px; display: flex; justify-content: space-between; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-size: 24px; line-height: 1; color: var(--red); transition: transform .2s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { padding: 0 0 18px; color: var(--muted); }

/* हीरो कार्ड (अन्य पेज) */
.hero-card { background: var(--white); border-radius: var(--radius-lg); padding: 30px; box-shadow: var(--shadow); border: 1px solid var(--line); }
.hero-card h3 { font-size: 19px; color: var(--navy); margin-bottom: 12px; }
.mini-list { list-style: none; }
.mini-list li { display: flex; justify-content: space-between; gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--line); font-size: 16px; }
.mini-list li:last-child { border-bottom: none; }
.mini-list b { color: var(--red); white-space: nowrap; }

/* फ़ॉर्म */
.form { display: grid; gap: 16px; }
.form label { font-weight: 600; font-size: 15px; display: grid; gap: 6px; color: var(--ink); }
.form input, .form textarea, .form select { font-family: var(--font); font-size: 16px; padding: 12px 14px; border-radius: 10px; border: 1px solid #d0d5dd; background: var(--white); color: var(--ink); outline: none; }
.form input:focus, .form textarea:focus, .form select:focus { border-color: var(--navy-3); box-shadow: 0 0 0 4px #e3e9fb; }
.form textarea { min-height: 140px; resize: vertical; }
.contact-item { display: flex; gap: 16px; align-items: flex-start; padding: 18px 0; border-bottom: 1px solid var(--line); }
.contact-item:first-child { padding-top: 0; }
.contact-item:last-child { border-bottom: none; padding-bottom: 0; }
.contact-item .icon { margin: 0; width: 48px; height: 48px; }
.contact-item a { color: var(--red); font-weight: 600; }

/* फ़ुटर */
.site-footer { background: #0b1636; color: #aeb9d6; padding: 64px 0 0; }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.2fr; gap: 36px; padding-bottom: 44px; }
.site-footer h4 { color: var(--white); margin-bottom: 14px; font-size: 16px; letter-spacing: .3px; }
.site-footer ul { list-style: none; }
.site-footer li { padding: 5px 0; font-size: 15.5px; }
.site-footer a:hover { color: var(--white); }
.site-footer .brand-name { color: var(--white); }
.site-footer .brand-name small { color: #8f9bbd; }
.footer-contact li { display: flex; gap: 10px; align-items: center; }
.footer-contact svg { width: 18px; height: 18px; color: #f2a7aa; flex: none; }
.footer-bottom { border-top: 1px solid #1d2a52; padding: 20px 0; font-size: 14px; display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; color: #8592b5; }

/* WhatsApp */
.wa-float { position: fixed; right: 20px; bottom: 20px; z-index: 60; width: 58px; height: 58px; border-radius: 50%; background: #25d366; display: grid; place-items: center; box-shadow: 0 10px 24px rgba(0,0,0,.22); transition: transform .2s; }
.wa-float:hover { transform: scale(1.07); }

/* एनिमेशन */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s ease, transform .7s ease; }
.reveal.show { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; transition: none; } .book { transform: none; } }

/* टैबलेट */
@media (max-width: 980px) {
  .hero-grid, .grid-2 { grid-template-columns: 1fr; }
  .hero-visual { margin-top: 10px; }
  .grid-3, .answer-steps { grid-template-columns: 1fr 1fr; }
  .process { grid-template-columns: 1fr 1fr; }
  .process-item::after { display: none; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .nav-toggle { display: grid; place-items: center; }
  .nav-links { position: absolute; top: 76px; left: 0; right: 0; background: var(--white); flex-direction: column; align-items: stretch; padding: 12px 20px 20px; border-bottom: 1px solid var(--line); box-shadow: var(--shadow); display: none; }
  .nav-links.open { display: flex; }
  .nav-links a.active::after { display: none; }
  .nav-cta { margin: 8px 0 0; }
  .topbar-contact { display: none; }
}

/* मोबाइल */
@media (max-width: 700px) {
  body { font-size: 16.5px; }
  .stats { grid-template-columns: 1fr 1fr; }
  .stat:nth-child(2) { border-right: none; }
  .stat:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
  .topic-row { grid-template-columns: 34px 1fr 64px; padding: 14px 16px; }
  .topic-row .bar { display: none; }
  .book { width: 230px; }
  .float-badge { padding: 9px 12px; }
  .tb-long { display: none; }
  .float-badge strong { font-size: 18px; }
  .fb-1 { left: -4px; }
  .fb-2 { right: -4px; }

  .table-wrap { background: none; border: none; overflow: visible; box-shadow: none; }
  .table-wrap thead { display: none; }
  .table-wrap table, .table-wrap tbody { display: block; }
  .table-wrap tbody tr { display: grid; grid-template-columns: auto 1fr auto; gap: 6px 10px; align-items: center; background: var(--white); border: 1px solid var(--line); border-radius: 12px; padding: 14px 16px; margin-bottom: 10px; }
  .table-wrap td { border: none; padding: 0; }
  .table-wrap td:nth-child(1) { color: var(--muted); font-size: 13px; }
  .table-wrap td:nth-child(2) { grid-column: 2 / 4; }
  .table-wrap td:nth-child(3) { grid-column: 1 / 3; }
  .table-wrap td:nth-child(4)::before { content: "पिछली 9 में: "; color: var(--muted); font-size: 13px; }
  .table-wrap td:nth-child(5) { grid-column: 1 / 3; font-size: 14px; }
  .table-wrap td.empty { grid-column: 1 / -1; }
}
@media (max-width: 600px) {
  .grid-3, .answer-steps, .process, .footer-grid { grid-template-columns: 1fr; }
  .hero { padding: 48px 0 84px; }
  .cta { padding: 36px 26px; }
  section { padding: 64px 0; }
  .brand-name { font-size: 22px; }
  .topbar .container { justify-content: center; text-align: center; }
}

/* कीमत */
.price-row { display: flex; align-items: baseline; gap: 10px; flex-wrap: wrap; margin: 6px 0 2px; }
.price { font-size: 32px; font-weight: 800; color: var(--navy); line-height: 1; }
.price-note { font-size: 14px; color: var(--muted); }

/* भुगतान विंडो */
.pay-modal { position: fixed; inset: 0; z-index: 100; background: rgba(11, 22, 54, .6); backdrop-filter: blur(3px); display: grid; place-items: center; padding: 16px; overflow-y: auto; }
.pay-modal[hidden] { display: none; }
.pay-box { position: relative; background: var(--white); border-radius: var(--radius-lg); width: min(760px, 100%); padding: 32px; box-shadow: var(--shadow-lg); animation: pop .25s ease; }
@keyframes pop { from { transform: translateY(12px); opacity: 0; } }
.pay-close { position: absolute; top: 14px; right: 14px; width: 38px; height: 38px; border-radius: 50%; border: 1px solid var(--line); background: var(--white); cursor: pointer; font-size: 16px; color: var(--muted); }
.pay-close:hover { background: var(--soft); color: var(--ink); }
.kicker-sm { color: var(--red); font-weight: 700; font-size: 13px; letter-spacing: 1px; }
.pay-box h3 { font-size: 22px; color: var(--navy); line-height: 1.35; margin: 4px 40px 6px 0; }
.pay-price { font-size: 30px; font-weight: 800; color: var(--red); margin-bottom: 18px; }
.pay-price b { color: var(--red); }
.pay-price small { font-size: 14px; font-weight: 500; color: var(--muted); }
.pay-grid { display: grid; grid-template-columns: 240px 1fr; gap: 28px; align-items: start; margin-bottom: 20px; }
.pay-qr { text-align: center; background: var(--soft); border: 1px solid var(--line); border-radius: var(--radius); padding: 14px; }
.pay-qr img { width: 210px; height: 210px; margin: 0 auto 8px; border-radius: 8px; background: var(--white); }
.pay-qr p { font-size: 14px; font-weight: 600; color: var(--ink); line-height: 1.5; }
.pay-qr small { color: var(--muted); font-weight: 500; }
.pay-steps { padding-left: 20px; display: grid; gap: 14px; font-size: 16px; }
.pay-steps li::marker { color: var(--red); font-weight: 800; }
.upi-row { display: flex; align-items: center; gap: 8px; margin-top: 8px; flex-wrap: wrap; }
.upi-row code { background: var(--soft-blue); color: var(--navy); padding: 6px 12px; border-radius: 8px; font-size: 16px; font-weight: 700; font-family: var(--font); }
.upi-app { display: none; }
.btn-wa { width: 100%; background: #25d366; color: #fff; font-size: 17px; }
.btn-wa:hover { background: #1ebe5a; }
.btn-wa svg { width: 20px; height: 20px; }
@media (max-width: 700px) {
  .pay-box { padding: 24px 18px; }
  .pay-grid { grid-template-columns: 1fr; gap: 18px; }
  .upi-app { display: inline-flex; }
  .btn-wa { font-size: 15px; padding: 13px 14px; }
}

/* टैब */
.tabs { display: inline-flex; gap: 4px; background: var(--soft); border: 1px solid var(--line); border-radius: 12px; padding: 4px; margin-bottom: 24px; flex-wrap: wrap; }
.tabs.center { display: flex; width: fit-content; margin: 0 auto 32px; }
.tab { font-family: var(--font); font-size: 16px; font-weight: 600; border: none; background: none; color: var(--muted); padding: 9px 18px; border-radius: 9px; cursor: pointer; }
.tab.active { background: var(--white); color: var(--navy); box-shadow: var(--shadow-sm); }

/* आज का अभ्यास */
.practice-wrap { max-width: 860px; }
.practice-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 16px; flex-wrap: wrap; margin-bottom: 18px; }
.practice-head h2 { font-size: 28px; color: var(--navy); font-weight: 800; line-height: 1.2; }
.day-pick { display: grid; gap: 4px; font-size: 14px; font-weight: 600; color: var(--muted); }
.day-pick select { font-family: var(--font); font-size: 15px; padding: 9px 12px; border-radius: 10px; border: 1px solid #d0d5dd; background: var(--white); color: var(--ink); max-width: 320px; }
.mcq { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; margin-bottom: 16px; }
.mcq-q { font-size: 17.5px; color: var(--ink); margin-bottom: 14px; }
.opts { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.opt { display: flex; align-items: center; gap: 12px; text-align: left; font-family: var(--font); font-size: 16px; color: var(--body); background: var(--white); border: 1.5px solid var(--line); border-radius: 10px; padding: 11px 14px; cursor: pointer; transition: border-color .15s, background .15s; }
.opt span { flex: none; width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; background: var(--soft); font-weight: 700; color: var(--navy); font-size: 14px; }
.opt:hover { border-color: var(--navy-3); }
.mcq.done .opt { cursor: default; }
.mcq.done .opt:hover { border-color: var(--line); }
.opt.right { border-color: var(--green) !important; background: #ecf8f1; color: #14532d; }
.opt.right span { background: var(--green); color: #fff; }
.opt.wrong { border-color: var(--red) !important; background: var(--soft-red); color: var(--red-dark); }
.opt.wrong span { background: var(--red); color: #fff; }
.explain { margin-top: 14px; background: var(--soft-blue); border-left: 4px solid var(--navy-3); border-radius: 8px; padding: 12px 14px; font-size: 15.5px; }
.score-box { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; background: var(--navy); color: #d6def5; border-radius: var(--radius); padding: 20px 24px; }
.score-box strong { color: #fff; font-size: 20px; }
.score-box .btn { margin-left: auto; }
.mains-card { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 30px; box-shadow: var(--shadow-sm); }
.mains-card .meta { display: flex; gap: 8px; margin-bottom: 14px; }
.mains-q { font-size: 21px; font-weight: 700; color: var(--ink); line-height: 1.55; margin-bottom: 20px; }
.hint-box { background: var(--soft-gold); border: 1px solid #f0e2bf; border-radius: 12px; padding: 0 18px; margin-bottom: 20px; }
.hint-box summary { cursor: pointer; padding: 14px 0; font-weight: 700; color: #8a5a07; }
.hint-box ul { padding: 0 0 16px 20px; }
.hint-box li { padding: 3px 0; }
.small-note { font-size: 14px; color: var(--muted); margin-top: 10px; text-align: center; }

/* पुस्तकें */
.book-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.book-card { display: grid; grid-template-columns: 170px 1fr; gap: 24px; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 24px; transition: box-shadow .25s, transform .25s; }
.book-card:hover { box-shadow: var(--shadow); transform: translateY(-3px); }
.book-card[hidden] { display: none; }
.book-cover { position: relative; }
.book-cover img, .gen-cover { width: 100%; aspect-ratio: 640 / 905; object-fit: cover; border-radius: 4px 10px 10px 4px; box-shadow: 0 14px 28px -10px rgba(15,31,75,.45); }
.gen-cover { display: flex; flex-direction: column; justify-content: space-between; padding: 16px 14px; color: #fff; background: linear-gradient(160deg, var(--navy-3), var(--navy)); position: relative; overflow: hidden; }
.gen-cover::after { content: ""; position: absolute; width: 140px; height: 140px; border-radius: 50%; border: 22px solid rgba(255,255,255,.1); right: -50px; bottom: -40px; }
.gen-cover span { font-size: 12px; letter-spacing: 1px; opacity: .85; }
.gen-cover b { color: #fff; font-size: 24px; line-height: 1.25; }
.gen-cover small { font-size: 12px; opacity: .85; }
.gen-cover.c-red { background: linear-gradient(160deg, #c8333a, var(--red-dark)); }
.gen-cover.c-green { background: linear-gradient(160deg, #23895a, #165c3a); }
.gen-cover.c-gold { background: linear-gradient(160deg, #d8a440, #9a6a12); }
.soon-badge { position: absolute; top: 10px; left: -6px; background: var(--red); color: #fff; font-size: 12px; font-weight: 700; padding: 2px 10px; border-radius: 4px; }
.book-body { display: flex; flex-direction: column; }
.book-body .meta { display: flex; gap: 6px; flex-wrap: wrap; margin-bottom: 10px; }
.book-body h3 { font-size: 20px; color: var(--ink); line-height: 1.35; margin-bottom: 6px; }
.book-body p { color: var(--muted); font-size: 15.5px; }
.book-body ul { list-style: none; margin: 10px 0 16px; font-size: 15px; }
.book-body li { padding: 3px 0 3px 22px; position: relative; }
.book-body li::before { content: ""; position: absolute; left: 2px; top: 11px; width: 10px; height: 6px; border-left: 2px solid var(--green); border-bottom: 2px solid var(--green); transform: rotate(-45deg); }
.book-actions { margin-top: auto; display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }

/* होम: रोज़ का अभ्यास पट्टी */
.daily-strip { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.daily-card { border-radius: var(--radius-lg); padding: 30px; border: 1px solid var(--line); background: var(--white); }
.daily-card .kicker-sm { display: block; margin-bottom: 6px; }
.daily-card h3 { font-size: 22px; color: var(--navy); margin-bottom: 8px; }
.daily-card p { color: var(--muted); margin-bottom: 18px; }

@media (max-width: 980px) {
  .book-grid, .daily-strip { grid-template-columns: 1fr; }
}
@media (max-width: 600px) {
  .opts { grid-template-columns: 1fr; }
  .book-card { grid-template-columns: 110px 1fr; gap: 16px; padding: 18px; }
  .gen-cover b { font-size: 16px; }
  .mains-q { font-size: 18.5px; }
  .mains-card { padding: 22px 18px; }
  .score-box .btn { margin-left: 0; }
}
.score-box[hidden] { display: none; }
@media (max-width: 1180px) and (min-width: 981px) {
  .nav-links a { padding: 8px 9px; font-size: 15px; }
  .brand-name small { display: none; }
}

/* लॉगिन / खाता */
.nav-user { display: inline-flex !important; align-items: center; gap: 6px; }
.nav-user svg { width: 18px; height: 18px; color: var(--green); }
.auth-wrap { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; align-items: start; }
.auth-card { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 30px; box-shadow: var(--shadow-sm); }
.auth-card h2 { font-size: 24px; color: var(--navy); margin-bottom: 6px; }
.auth-card > p { color: var(--muted); margin-bottom: 18px; }
.form-msg { font-size: 15px; font-weight: 600; min-height: 1.4em; }
.form-msg.err { color: var(--red); }
.form-msg.ok { color: var(--green); }
.plan { border-radius: var(--radius-lg); padding: 30px; border: 1px solid var(--line); background: var(--white); position: relative; }
.plan.pro { border: 2px solid var(--red); box-shadow: var(--shadow); }
.plan.pro::before { content: "सबसे लोकप्रिय"; position: absolute; top: -13px; left: 24px; background: var(--red); color: #fff; font-size: 13px; font-weight: 700; padding: 2px 12px; border-radius: 999px; }
.plan h3 { font-size: 20px; color: var(--ink); }
.plan .amount { font-size: 40px; font-weight: 800; color: var(--navy); line-height: 1.1; margin: 8px 0 2px; }
.plan .amount small { font-size: 16px; color: var(--muted); font-weight: 500; }
.plan > ul { list-style: none; margin: 16px 0 22px; }
.plan > ul > li { padding: 6px 0 6px 28px; position: relative; font-size: 16px; }
.plan > ul > li::before { content: ""; position: absolute; left: 4px; top: 14px; width: 12px; height: 7px; border-left: 2px solid var(--green); border-bottom: 2px solid var(--green); transform: rotate(-45deg); }
.plan > ul > li.no { color: #9aa3b2; }
.plan > ul > li.no::before { border: none; content: "✕"; transform: none; top: 6px; left: 4px; color: #c3c9d6; font-size: 14px; }
.status-pill { display: inline-flex; align-items: center; gap: 6px; padding: 4px 14px; border-radius: 999px; font-weight: 700; font-size: 14px; }
.status-pill.free { background: var(--soft); color: var(--muted); }
.status-pill.pro { background: #fde8e8; color: #b42318; }
.status-pill.wait { background: #fef3dc; color: #a15c07; }
.premium-pay { display: grid; grid-template-columns: 230px 1fr; gap: 26px; align-items: start; margin-top: 18px; }
.lock-box { text-align: center; background: var(--white); border: 1px dashed #cfd6e6; border-radius: var(--radius-lg); padding: 40px 24px; }
.lock-box h3 { font-size: 22px; color: var(--navy); margin: 10px 0 6px; }
.lock-box p { color: var(--muted); margin-bottom: 18px; }
.lock-box .icon { margin: 0 auto; }
@media (max-width: 980px) { .auth-wrap { grid-template-columns: 1fr; } }
@media (max-width: 700px) { .premium-pay { grid-template-columns: 1fr; } .premium-pay .pay-qr { max-width: 260px; margin: 0 auto; } }

.full-note { font-size: 14.5px !important; color: var(--green) !important; background: #ecf8f1; border-radius: 8px; padding: 6px 10px; margin-bottom: 12px; }
.full-note b { color: #14532d; }

.upcoming-banner { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; margin-top: 28px; background: #ecf8f1; border: 1px solid #b7e2c8; border-radius: var(--radius); padding: 14px 18px; color: #14532d; font-size: 16px; }
.upcoming-banner > span { width: 40px; height: 40px; border-radius: 10px; background: #fff; display: grid; place-items: center; color: var(--green); flex: none; }
.upcoming-banner > span svg { width: 22px; height: 22px; }
.upcoming-banner > div { flex: 1; min-width: 220px; }
.upcoming-banner b { color: #14532d; }

/* आज का अभ्यास — होम और अभ्यास पेज */
.daily-quiz { background: linear-gradient(180deg, var(--soft) 0, var(--white) 60%); }
.quiz-loading { text-align: center; color: var(--muted); padding: 30px; }
.q-progress { display: flex; align-items: center; gap: 12px; margin-bottom: 16px; font-size: 14px; color: var(--muted); font-weight: 600; }
.q-progress .bar { flex: 1; height: 8px; }
.answer-box { display: grid; gap: 6px; margin-bottom: 14px; font-weight: 600; color: var(--ink); }
.answer-box textarea { font-family: var(--font); font-size: 16px; line-height: 1.7; min-height: 220px; padding: 14px; border-radius: 12px; border: 1px solid #d0d5dd; resize: vertical; outline: none; }
.answer-box textarea:focus { border-color: var(--navy-3); box-shadow: 0 0 0 4px #e3e9fb; }
.answer-box small { color: var(--muted); font-weight: 500; text-align: right; }

/* उत्तर अपलोड */
.q-submit { display: grid; gap: 12px; }
.upload-box { position: relative; display: flex; align-items: center; gap: 14px; border: 2px dashed #cfd6e6; border-radius: 12px; padding: 14px 16px; cursor: pointer; background: var(--soft); transition: border-color .2s, background .2s; }
.upload-box:hover { border-color: var(--navy-3); background: var(--soft-blue); }
.upload-box input[type=file] { position: absolute; width: 1px; height: 1px; opacity: 0; }
.upload-box:focus-within { outline: 3px solid var(--navy-3); outline-offset: 2px; }
.up-ic { font-size: 26px; }
.up-text { display: grid; gap: 2px; }
.up-text b { color: var(--navy); font-size: 16px; word-break: break-all; }
.up-text small { color: var(--muted); font-size: 13.5px; }
.q-guest { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.q-guest input { font-family: var(--font); font-size: 16px; padding: 11px 14px; border-radius: 10px; border: 1px solid #d0d5dd; }
.q-submit-btn { justify-self: start; }
@media (max-width: 600px) { .q-guest { grid-template-columns: 1fr; } .q-submit-btn { justify-self: stretch; } }
.my-ans { border-top: 1px solid var(--line); padding: 14px 0; }
.my-ans:first-child { border-top: none; padding-top: 0; }
.my-ans-head { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; }
.my-ans-q { color: var(--ink); margin: 6px 0; font-size: 15.5px; }
