/* =============================================================================
   LaunchIndia - main stylesheet (public site + student dashboard + admin)
   Sections:  1 Base  2 Buttons  3 Navbar  4 Hero  5 Sections  6 Auth  7 Forms
              8 Cards & dashboard  9 Footer  10 Admin  11 Animations
   ============================================================================= */

/* ---------- 1. BASE ---------- */
:root {
  --ink: #0b1020;  --ink-2: #1a2140;  --muted: #667085;  --line: #e6e8f0;  --bg: #f6f7fb;
  --brand: #6366f1;  --brand-2: #8b5cf6;  --pink: #ec4899;  --accent: #ff9f1c;
  --ok: #12b76a;  --warn: #f79009;  --danger: #f04438;
  --grad: linear-gradient(135deg, #6366f1 0%, #8b5cf6 55%, #ec4899 100%);
  --radius: 20px;
  --shadow: 0 10px 30px rgba(16, 24, 64, .08);
  --shadow-lg: 0 30px 60px rgba(16, 24, 64, .18);
}
html { scroll-behavior: smooth; scroll-padding-top: 84px; }
body { font-family: 'Plus Jakarta Sans', system-ui, -apple-system, 'Segoe UI', sans-serif; color: var(--ink); background: #fff; -webkit-font-smoothing: antialiased; overflow-x: hidden; }
h1, h2, h3, h4, h5, h6 { letter-spacing: -.02em; font-weight: 800; }
a { color: var(--brand); text-decoration: none; }
a:hover { color: var(--brand-2); }
.text-grad { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.text-muted { color: var(--muted) !important; }

/* ---------- 2. BUTTONS ---------- */
.btn { border-radius: 14px; font-weight: 700; padding: .65rem 1.2rem; }
.btn-lg { padding: .9rem 1.6rem; font-size: 1.02rem; }
.btn-lx {
  background: var(--grad); color: #fff !important; border: 0; position: relative; overflow: hidden;
  box-shadow: 0 10px 24px rgba(99, 102, 241, .35); transition: transform .2s, box-shadow .2s;
}
.btn-lx::after { /* shine sweep on hover */
  content: ''; position: absolute; inset: 0; transform: translateX(-120%);
  background: linear-gradient(110deg, transparent 30%, rgba(255, 255, 255, .4) 50%, transparent 70%); transition: transform .7s;
}
.btn-lx:hover { transform: translateY(-2px); box-shadow: 0 16px 32px rgba(99, 102, 241, .45); }
.btn-lx:hover::after { transform: translateX(120%); }
.btn-lx:disabled { opacity: .7; transform: none; }
.btn-ghost { border: 1.5px solid rgba(255, 255, 255, .3); color: #fff; background: rgba(255, 255, 255, .06); backdrop-filter: blur(6px); }
.btn-ghost:hover { background: rgba(255, 255, 255, .15); color: #fff; }
.btn-ghost-dark { border: 1.5px solid var(--line); color: var(--ink); background: #fff; }
.btn-ghost-dark:hover { border-color: var(--brand); color: var(--brand); }
.btn-nav-ghost { color: #fff; border: 1.5px solid rgba(255, 255, 255, .28); }
.btn-nav-ghost:hover { background: rgba(255, 255, 255, .12); color: #fff; }

/* ---------- 3. NAVBAR ---------- */
.lx-nav { padding: .9rem 0; transition: all .3s; }
.lx-brand { font-weight: 800; font-size: 1.3rem; color: #fff; display: inline-flex; align-items: center; gap: .55rem; letter-spacing: -.02em; }
.lx-brand span:not(.lx-logo) { color: var(--accent); }
.lx-logo { width: 38px; height: 38px; border-radius: 12px; background: var(--grad); display: inline-grid; place-items: center; color: #fff; font-size: 1.05rem; box-shadow: 0 6px 16px rgba(99, 102, 241, .5); }
.lx-nav .nav-link { color: rgba(255, 255, 255, .8); font-weight: 600; padding: .5rem .9rem !important; border-radius: 10px; }
.lx-nav .nav-link:hover { color: #fff; background: rgba(255, 255, 255, .1); }
.lx-nav .navbar-toggler { color: #fff; border: 0; box-shadow: none; padding: 0; }
.lx-nav .navbar-collapse.show, .lx-nav .navbar-collapse.collapsing { background: #0d1330; border-radius: 18px; padding: 1rem; margin-top: .6rem; }
.lx-nav.scrolled { background: rgba(255, 255, 255, .88); backdrop-filter: blur(14px); box-shadow: 0 1px 0 var(--line); padding: .6rem 0; }
.lx-nav.scrolled .lx-brand { color: var(--ink); }
.lx-nav.scrolled .nav-link { color: #475467; }
.lx-nav.scrolled .nav-link:hover { color: var(--brand); background: #eef0ff; }
.lx-nav.scrolled .btn-nav-ghost { color: var(--ink); border-color: var(--line); }
.lx-nav.scrolled .navbar-toggler { color: var(--ink); }
.lx-nav.scrolled .navbar-collapse.show, .lx-nav.scrolled .navbar-collapse.collapsing { background: #fff; box-shadow: var(--shadow); }
main { min-height: 60vh; }

/* flash messages */
.flash { position: fixed; top: 84px; left: 50%; transform: translateX(-50%); z-index: 1200; display: flex; gap: .6rem; align-items: center; padding: .85rem 1.2rem; border-radius: 14px; background: #fff; box-shadow: var(--shadow-lg); font-weight: 600; max-width: 92vw; animation: dropIn .5s cubic-bezier(.2, .9, .3, 1.2); transition: opacity .4s, transform .4s; }
.flash-success i { color: var(--ok); } .flash-error i { color: var(--danger); } .flash-info i { color: var(--brand); }
.flash.hide { opacity: 0; transform: translate(-50%, -20px); }

/* ---------- 4. HERO ---------- */
.hero { position: relative; background: #070b1f; padding: 150px 0 110px; overflow: hidden; color: #fff; }
.blob { position: absolute; border-radius: 50%; filter: blur(80px); opacity: .55; animation: drift 14s ease-in-out infinite alternate; pointer-events: none; }
.blob-1 { width: 520px; height: 520px; background: #6366f1; top: -160px; left: -120px; }
.blob-2 { width: 460px; height: 460px; background: #ec4899; bottom: -180px; right: -100px; animation-delay: -4s; opacity: .4; }
.blob-3 { width: 340px; height: 340px; background: #ff9f1c; top: 30%; left: 45%; animation-delay: -8s; opacity: .22; }
.hero-grid { position: absolute; inset: 0; background-image: linear-gradient(rgba(255, 255, 255, .05) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, .05) 1px, transparent 1px); background-size: 56px 56px; -webkit-mask-image: radial-gradient(ellipse at center, #000 30%, transparent 75%); mask-image: radial-gradient(ellipse at center, #000 30%, transparent 75%); }
.hero-badge { display: inline-flex; gap: .5rem; align-items: center; padding: .5rem 1rem; border-radius: 99px; background: rgba(255, 255, 255, .09); border: 1px solid rgba(255, 255, 255, .16); color: #fff; font-weight: 600; font-size: .88rem; backdrop-filter: blur(8px); }
.hero-badge i { color: var(--accent); }
.hero-title { font-size: clamp(2.4rem, 5.6vw, 4.3rem); line-height: 1.05; margin: 1.4rem 0 1.2rem; }
.hero-sub { font-size: 1.15rem; color: rgba(255, 255, 255, .72); max-width: 580px; margin-bottom: 2rem; line-height: 1.7; }
.hero-stats { display: flex; gap: 2.4rem; flex-wrap: wrap; margin-top: 3rem; }
.hero-stats strong { display: block; font-size: 1.9rem; font-weight: 800; }
.hero-stats span { color: rgba(255, 255, 255, .6); font-size: .9rem; }

.hero-visual { position: relative; padding: 30px; transition: transform .15s ease-out; transform-style: preserve-3d; }
.glass { background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 255, 255, .16); backdrop-filter: blur(18px); border-radius: 26px; box-shadow: 0 40px 80px rgba(0, 0, 0, .35); }
.app-card { padding: 1.7rem; animation: floaty 7s ease-in-out infinite; }
.mini-steps { list-style: none; padding: 0; margin: 0 0 1.2rem; }
.mini-steps li { display: flex; align-items: center; gap: .7rem; padding: .55rem 0; color: rgba(255, 255, 255, .5); font-size: .95rem; }
.mini-steps li i { width: 24px; height: 24px; display: grid; place-items: center; border-radius: 50%; background: rgba(255, 255, 255, .1); font-size: .75rem; }
.mini-steps li.done { color: #fff; } .mini-steps li.done i { background: var(--ok); }
.mini-steps li.now { color: #fff; font-weight: 700; } .mini-steps li.now i { background: var(--accent); animation: pulse 1.8s infinite; }
.prize-chip { display: flex; align-items: center; gap: .6rem; background: linear-gradient(135deg, rgba(255, 159, 28, .25), rgba(236, 72, 153, .25)); border: 1px solid rgba(255, 159, 28, .4); color: #fff; padding: .8rem 1rem; border-radius: 14px; }
.prize-chip b { margin-left: auto; font-size: 1.15rem; color: #ffd08a; }
.float-chip { position: absolute; background: #fff; color: var(--ink); font-weight: 700; font-size: .85rem; padding: .55rem .9rem; border-radius: 99px; box-shadow: var(--shadow-lg); display: flex; gap: .45rem; align-items: center; white-space: nowrap; }
.chip-1 { top: 0; right: 0; animation: floaty 5s ease-in-out infinite; }
.chip-2 { bottom: 50px; left: -10px; animation: floaty 6s ease-in-out -2s infinite; }
.chip-3 { bottom: -6px; right: 30px; animation: floaty 5.5s ease-in-out -1s infinite; }

.marquee { background: #0d1330; border-top: 1px solid rgba(255, 255, 255, .06); overflow: hidden; padding: .9rem 0; }
.marquee-track { display: flex; width: max-content; animation: scrollX 70s linear infinite; }
.marquee-track span { color: rgba(255, 255, 255, .6); font-weight: 600; font-size: .9rem; padding: 0 1.4rem; white-space: nowrap; }
.marquee-track i { color: var(--accent); margin-right: .45rem; }
.marquee:hover .marquee-track { animation-play-state: paused; }

/* ---------- 5. SECTIONS ---------- */
.section { padding: 100px 0; position: relative; }
.section-soft { background: var(--bg); }
.section-head { max-width: 680px; margin: 0 auto 3.2rem; }
.section-head h2, h2 { font-size: clamp(1.9rem, 3.4vw, 2.7rem); }
.section-head p { color: var(--muted); font-size: 1.1rem; }
.eyebrow { display: inline-block; color: var(--brand); font-weight: 800; text-transform: uppercase; letter-spacing: .12em; font-size: .78rem; margin-bottom: .8rem; }
.eyebrow-light { color: var(--accent); }

.feature-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 2rem 1.6rem; transition: transform .3s, box-shadow .3s, border-color .3s; }
.feature-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-lg); border-color: transparent; }
.feature-icon { width: 58px; height: 58px; border-radius: 18px; background: linear-gradient(135deg, #eef0ff, #f5ecff); color: var(--brand); display: grid; place-items: center; font-size: 1.5rem; margin-bottom: 1.2rem; transition: .3s; }
.feature-card:hover .feature-icon { background: var(--grad); color: #fff; transform: rotate(-6deg) scale(1.08); }
.feature-card h5 { margin-bottom: .5rem; } .feature-card p { color: var(--muted); margin: 0; }

.steps { display: grid; grid-template-columns: repeat(5, 1fr); gap: 1.5rem; position: relative; }
.steps::before { content: ''; position: absolute; top: 31px; left: 10%; right: 10%; height: 3px; background: repeating-linear-gradient(90deg, var(--brand) 0 10px, transparent 10px 20px); opacity: .35; }
.step { text-align: center; position: relative; padding: 0 .4rem; }
.step-num { width: 64px; height: 64px; margin: 0 auto 1.1rem; border-radius: 50%; background: var(--grad); color: #fff; font-weight: 800; font-size: 1.4rem; display: grid; place-items: center; box-shadow: 0 10px 24px rgba(99, 102, 241, .4); border: 5px solid var(--bg); transition: transform .3s; }
.step:hover .step-num { transform: scale(1.12) rotate(8deg); }
.step p { color: var(--muted); font-size: .94rem; }

.format-card { display: flex; gap: 1rem; background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: 1.2rem; height: 100%; transition: .3s; }
.format-card:hover { border-color: var(--brand); box-shadow: var(--shadow); transform: translateY(-4px); }
.format-card > i { font-size: 1.5rem; color: var(--brand); } .format-card h6 { margin: 0 0 .25rem; } .format-card p { margin: 0; color: var(--muted); font-size: .9rem; }

.prize { background: radial-gradient(circle at 50% 0%, #1b2160 0%, #0a0e24 70%); overflow: hidden; }
.prize .blob-2 { top: 10%; right: 5%; bottom: auto; }
.prize-ring { width: 290px; height: 290px; margin: 1.5rem auto 2.2rem; border-radius: 50%; padding: 6px; background: conic-gradient(from 0deg, #ff9f1c, #ec4899, #6366f1, #ff9f1c); animation: spin 8s linear infinite; box-shadow: 0 0 80px rgba(255, 159, 28, .35); }
.prize-inner { width: 100%; height: 100%; border-radius: 50%; background: #0a0e24; display: grid; place-content: center; text-align: center; animation: spin 8s linear infinite reverse; }
.prize-inner small { color: rgba(255, 255, 255, .6); font-weight: 600; }
.prize-amount { font-size: 2.9rem; font-weight: 800; background: linear-gradient(135deg, #ffd08a, #ff9f1c); -webkit-background-clip: text; background-clip: text; color: transparent; }

.criteria { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 2rem; box-shadow: var(--shadow); }
.criteria-row + .criteria-row { margin-top: 1.4rem; }
.bar { height: 10px; background: #eef0f6; border-radius: 99px; overflow: hidden; margin-top: .5rem; }
.bar span { display: block; height: 100%; width: 0; background: var(--grad); border-radius: 99px; transition: width 1.3s cubic-bezier(.2, .8, .2, 1) .2s; }
.in-view .bar span, .bar-thin span { width: var(--w); }
.bar-thin { height: 6px; margin-top: .35rem; }

.lx-accordion .accordion-item { border: 1px solid var(--line); border-radius: 16px !important; margin-bottom: .8rem; overflow: hidden; }
.lx-accordion .accordion-button { font-weight: 700; padding: 1.2rem 1.4rem; box-shadow: none; }
.lx-accordion .accordion-button:not(.collapsed) { background: #f3f4ff; color: var(--brand); }
.lx-accordion .accordion-body { color: var(--muted); padding: 1.2rem 1.4rem; }

.cta { background: var(--grad); padding: 90px 0; position: relative; overflow: hidden; }
.cta::before { content: ''; position: absolute; inset: 0; background: radial-gradient(circle at 20% 20%, rgba(255, 255, 255, .25), transparent 40%), radial-gradient(circle at 85% 80%, rgba(255, 159, 28, .45), transparent 40%); }
.cta .container { position: relative; }

.page-top { padding: 130px 0 2rem; background: linear-gradient(180deg, #f1f2ff 0%, #fff 100%); }
.page-top h1 { font-size: clamp(1.8rem, 3.5vw, 2.5rem); margin-bottom: .4rem; }
.legal h2 { font-size: 1.5rem; margin: 2rem 0 .8rem; } .legal { max-width: 820px; } .legal li { margin-bottom: .5rem; color: #344054; } .legal p { color: #344054; }

/* ---------- 6. AUTH (login / register) ---------- */
.auth { display: grid; grid-template-columns: 1fr 1.1fr; min-height: 100vh; }
.auth-aside { background: #070b1f; position: relative; overflow: hidden; display: flex; align-items: center; padding: 8rem 4rem 4rem; }
.auth-aside h2 { font-size: clamp(2rem, 3vw, 2.8rem); }
.auth-points { list-style: none; padding: 0; margin: 2rem 0 0; color: rgba(255, 255, 255, .85); }
.auth-points li { padding: .55rem 0; font-weight: 600; } .auth-points i { color: var(--ok); margin-right: .6rem; }
.auth-main { display: flex; align-items: center; justify-content: center; padding: 7rem 1.5rem 3rem; background: #fff; }
.auth-card { width: 100%; max-width: 520px; animation: fadeUp .6s ease both; }
.input-group-pw { position: relative; }
.input-group-pw .form-control { padding-right: 3rem; }
.pw-toggle { position: absolute; right: .5rem; top: 50%; transform: translateY(-50%); background: none; border: 0; color: var(--muted); padding: .4rem .6rem; }

/* ---------- 7. FORMS ---------- */
.form-label { font-weight: 700; font-size: .92rem; margin-bottom: .4rem; }
.form-hint { color: var(--muted); font-size: .85rem; margin: -.2rem 0 .5rem; }
.form-control, .form-select { border-radius: 12px; border: 1.5px solid var(--line); padding: .8rem 1rem; transition: border-color .2s, box-shadow .2s; }
.form-control:focus, .form-select:focus { border-color: var(--brand); box-shadow: 0 0 0 4px rgba(99, 102, 241, .14); }
.char-count { text-align: right; font-size: .78rem; color: var(--muted); margin-top: .25rem; }

.card-lx { background: #fff; border: 1px solid var(--line); border-radius: 24px; box-shadow: var(--shadow); }
.wizard-progress { display: flex; justify-content: space-between; margin-bottom: 2.4rem; position: relative; }
.wizard-progress::before { content: ''; position: absolute; top: 15px; left: 5%; right: 5%; height: 3px; background: var(--line); }
.wp-item { text-align: center; position: relative; z-index: 1; flex: 1; }
.wp-dot { width: 32px; height: 32px; margin: 0 auto .3rem; border-radius: 50%; background: #fff; border: 2px solid var(--line); display: grid; place-items: center; font-weight: 800; font-size: .85rem; color: var(--muted); transition: .3s; }
.wp-item small { color: var(--muted); font-weight: 600; font-size: .75rem; }
.wp-item.active .wp-dot { background: var(--grad); border-color: transparent; color: #fff; transform: scale(1.15); box-shadow: 0 6px 16px rgba(99, 102, 241, .4); }
.wp-item.active small { color: var(--ink); } .wp-item.done .wp-dot { background: var(--ok); border-color: var(--ok); color: #fff; }
.wizard.wizard-on .wizard-step { display: none; }
.wizard.wizard-on .wizard-step.active { display: block; animation: fadeUp .45s ease both; }
.wizard-nav [data-wizard-next], .wizard-nav [data-wizard-submit], .wizard-nav [data-wizard-prev] { display: none; }
.wizard:not(.wizard-on) .wizard-nav [data-wizard-submit] { display: inline-block; }   /* no JS: just show Save */
.wizard.wizard-on .wizard-nav .show-btn { display: inline-block; }

/* ---------- 8. CARDS & STUDENT DASHBOARD ---------- */
.summary-row { display: flex; justify-content: space-between; gap: 1rem; padding: .65rem 0; border-bottom: 1px dashed var(--line); font-size: .95rem; }
.summary-row:last-of-type { border-bottom: 0; } .summary-row span { color: var(--muted); }
.check-list { list-style: none; padding: 0; margin: 0; } .check-list li { padding: .35rem 0 .35rem 1.8rem; position: relative; color: #475467; }
.check-list li::before { content: '\F26A'; font-family: 'bootstrap-icons'; color: var(--ok); position: absolute; left: 0; }
.pay-card { position: sticky; top: 100px; } .pay-amount { font-size: 3rem; font-weight: 800; margin: .3rem 0 1rem; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }

.status-banner { display: flex; align-items: center; gap: 1.4rem; padding: 1.8rem; border-radius: 24px; color: #fff; background: var(--grad); box-shadow: 0 20px 50px rgba(99, 102, 241, .3); flex-wrap: wrap; }
.status-icon { width: 64px; height: 64px; border-radius: 20px; background: rgba(255, 255, 255, .2); display: grid; place-items: center; font-size: 1.9rem; animation: floaty 4s ease-in-out infinite; }
.status-none, .status-draft { background: linear-gradient(135deg, #475467, #1d2939); box-shadow: 0 20px 50px rgba(16, 24, 40, .25); }
.status-shortlisted { background: linear-gradient(135deg, #f79009, #ec4899); }
.status-finalist, .status-winner { background: linear-gradient(135deg, #12b76a, #0e9384); }
.status-winner { background: linear-gradient(135deg, #ff9f1c, #ec4899); }
.status-rejected { background: linear-gradient(135deg, #667085, #344054); }

.track { display: flex; }
.track-step { flex: 1; text-align: center; position: relative; }
.track-step::before { content: ''; position: absolute; top: 19px; left: -50%; width: 100%; height: 4px; background: var(--line); z-index: 0; }
.track-step:first-child::before { display: none; }
.track-step.done::before, .track-step.current::before { background: var(--ok); }
.track-step.failed::before { background: var(--ok); }
.track-dot { width: 42px; height: 42px; margin: 0 auto .6rem; border-radius: 50%; background: #fff; border: 3px solid var(--line); display: grid; place-items: center; font-weight: 800; color: var(--muted); position: relative; z-index: 1; transition: .3s; }
.track-step.done .track-dot { background: var(--ok); border-color: var(--ok); color: #fff; }
.track-step.current .track-dot { border-color: var(--brand); color: var(--brand); box-shadow: 0 0 0 0 rgba(99, 102, 241, .5); animation: ring 1.8s infinite; }
.track-step.failed .track-dot { background: var(--danger); border-color: var(--danger); color: #fff; }
.track-label { font-size: .82rem; font-weight: 700; color: var(--muted); padding: 0 .2rem; }
.track-step.done .track-label, .track-step.current .track-label { color: var(--ink); }

.pill { display: inline-block; padding: .3rem .8rem; border-radius: 99px; font-size: .78rem; font-weight: 800; white-space: nowrap; }
.pill-draft { background: #f2f4f7; color: #475467; } .pill-submitted { background: #e0eaff; color: #3538cd; }
.pill-under_review { background: #e0f2fe; color: #0369a1; } .pill-shortlisted { background: #fef0c7; color: #b54708; }
.pill-finalist { background: #f4ebff; color: #7a2fd0; } .pill-winner { background: #d1fadf; color: #027a48; }
.pill-rejected { background: #fee4e2; color: #b42318; }
.pill-pay-paid { background: #d1fadf; color: #027a48; } .pill-pay-created { background: #fef0c7; color: #b54708; }
.pill-pay-failed { background: #fee4e2; color: #b42318; } .pill-pay-refunded { background: #f2f4f7; color: #475467; }
.hero .pill-shortlisted { background: rgba(254, 240, 199, .95); }

.paid-badge, .unpaid-badge { display: inline-flex; gap: .4rem; align-items: center; padding: .4rem .9rem; border-radius: 99px; font-weight: 800; margin-bottom: .8rem; }
.paid-badge { background: #d1fadf; color: #027a48; } .unpaid-badge { background: #fef0c7; color: #b54708; }
.prize-mini { background: linear-gradient(135deg, #1b2160, #0a0e24); color: #fff; border-radius: 24px; padding: 1.6rem; text-align: center; box-shadow: var(--shadow-lg); }
.prize-mini i { font-size: 2rem; color: var(--accent); display: block; } .prize-mini small { color: rgba(255, 255, 255, .6); } .prize-mini strong { display: block; font-size: 2rem; }
.lead-sm { font-size: 1.05rem; color: #344054; }

.timeline { list-style: none; padding: 0; margin: 0; position: relative; }
.timeline::before { content: ''; position: absolute; left: 7px; top: 8px; bottom: 8px; width: 2px; background: var(--line); }
.timeline li { display: flex; gap: 1rem; padding-bottom: 1.3rem; position: relative; }
.tl-dot { width: 16px; height: 16px; border-radius: 50%; background: var(--grad); border: 3px solid #fff; box-shadow: 0 0 0 2px var(--brand); margin-top: 4px; flex: none; z-index: 1; }

/* ---------- 9. FOOTER ---------- */
.lx-footer { background: #070b1f; color: rgba(255, 255, 255, .65); }
.footer-text { color: rgba(255, 255, 255, .6); }
.footer-links li { margin-bottom: .55rem; } .footer-links a { color: rgba(255, 255, 255, .65); } .footer-links a:hover { color: #fff; }
.footer-bottom { border-top: 1px solid rgba(255, 255, 255, .1); padding: 1.4rem 0; font-size: .9rem; }

/* ---------- 10. ADMIN ---------- */
.admin-body { background: #f3f5fa; }
.admin-side { width: 260px; background: linear-gradient(180deg, #0b1020, #151b3d); color: #cbd0e6; display: flex; flex-direction: column; }
.admin-brand { display: flex; align-items: center; gap: .6rem; padding: 1.4rem 1.4rem 1rem; color: #fff; font-weight: 800; font-size: 1.2rem; }
.admin-brand span:not(.lx-logo) { color: var(--accent); }
.admin-nav { padding: .5rem .9rem; flex: 1; }
.admin-nav a { display: flex; align-items: center; gap: .75rem; padding: .75rem 1rem; border-radius: 12px; color: #aab2d5; font-weight: 600; margin-bottom: .2rem; transition: .2s; }
.admin-nav a:hover { background: rgba(255, 255, 255, .07); color: #fff; }
.admin-nav a.active { background: var(--grad); color: #fff; box-shadow: 0 8px 20px rgba(99, 102, 241, .4); }
.admin-nav hr { border-color: rgba(255, 255, 255, .1); }
.admin-me { display: flex; gap: .7rem; align-items: center; padding: 1.1rem 1.4rem; border-top: 1px solid rgba(255, 255, 255, .08); color: #fff; font-weight: 700; } .admin-me i { font-size: 1.8rem; } .admin-me small { display: block; color: #8d96bd; font-weight: 500; font-size: .75rem; }
.admin-topbar { position: sticky; top: 0; z-index: 1030; background: #fff; border-bottom: 1px solid var(--line); padding: .7rem 1rem; display: flex; gap: .8rem; align-items: center; }
.admin-main { min-height: 100vh; }
.admin-content { padding: 1.6rem 1.2rem 3rem; }
@media (min-width: 992px) {
  .admin-side { position: fixed !important; top: 0; bottom: 0; left: 0; z-index: 1030; }
  .admin-main { margin-left: 260px; }
  .admin-content { padding: 2rem 2.2rem 3rem; }
}
.admin-title { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 1rem; margin-bottom: 1.6rem; }
.admin-title h1 { font-size: 1.7rem; margin: 0; } .admin-title p { margin: .2rem 0 0; color: var(--muted); }
.demo-banner { background: #fff7e0; color: #7a4b00; padding: .6rem 1.2rem; font-size: .88rem; border-bottom: 1px solid #fde4a1; }
.panel { background: #fff; border-radius: 20px; padding: 1.4rem; box-shadow: 0 4px 20px rgba(16, 24, 64, .05); border: 1px solid #edf0f7; }
.panel-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 1rem; gap: .5rem; } .panel-head h5 { margin: 0; font-size: 1.05rem; }
.kpi { background: #fff; border-radius: 20px; padding: 1.2rem; border: 1px solid #edf0f7; box-shadow: 0 4px 20px rgba(16, 24, 64, .05); height: 100%; transition: transform .25s, box-shadow .25s; position: relative; overflow: hidden; }
.kpi:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.kpi-icon { width: 42px; height: 42px; border-radius: 13px; display: grid; place-items: center; font-size: 1.2rem; margin-bottom: .8rem; }
.kpi-value { font-size: 1.65rem; font-weight: 800; line-height: 1.1; } .kpi-label { color: var(--muted); font-size: .84rem; font-weight: 600; margin-top: .2rem; }
.kpi-green .kpi-icon { background: #d1fadf; color: #027a48; } .kpi-indigo .kpi-icon { background: #e0e7ff; color: #4338ca; }
.kpi-blue .kpi-icon { background: #dbeafe; color: #1d4ed8; } .kpi-grey .kpi-icon { background: #f2f4f7; color: #475467; }
.kpi-amber .kpi-icon { background: #fef0c7; color: #b54708; } .kpi-pink .kpi-icon { background: #fce7f3; color: #be185d; } .kpi-teal .kpi-icon { background: #ccfbf1; color: #0f766e; }
.india-map { min-height: 440px; } .chart-box { position: relative; height: 300px; }
.state-row { padding: .65rem 0; border-bottom: 1px solid #f1f3f9; } .state-row:last-child { border-bottom: 0; }
.list-row { display: flex; justify-content: space-between; gap: 1rem; padding: .7rem 0; border-bottom: 1px solid #f1f3f9; align-items: center; } .list-row:last-child { border-bottom: 0; }
.table-lx thead th { background: #f8f9fc; color: var(--muted); font-size: .76rem; text-transform: uppercase; letter-spacing: .06em; font-weight: 800; border-bottom: 1px solid var(--line); padding: .9rem 1rem; white-space: nowrap; }
.table-lx td { padding: .9rem 1rem; border-color: #f1f3f9; } .table-lx tbody tr:hover { background: #fafbff; }
.filters { margin-bottom: 1.2rem; }
.review-block { margin-bottom: 1.4rem; } .review-block h6 { color: var(--brand); text-transform: uppercase; font-size: .75rem; letter-spacing: .08em; margin-bottom: .3rem; } .review-block p { margin: 0; color: #344054; line-height: 1.7; }
.total-score { background: #f3f4ff; border-radius: 12px; padding: .7rem 1rem; text-align: right; font-weight: 700; color: var(--brand); } .total-score b { font-size: 1.4rem; }
.decision .form-range::-webkit-slider-thumb { background: var(--brand); } .pagination .page-link { border-radius: 10px; margin: 0 .15rem; border: 0; color: var(--ink); } .pagination .active .page-link { background: var(--brand); color: #fff; }

/* ---------- 11. ANIMATIONS ---------- */
.reveal { opacity: 0; transform: translateY(32px); transition: opacity .8s cubic-bezier(.2, .7, .2, 1), transform .8s cubic-bezier(.2, .7, .2, 1); }
.reveal.in-view { opacity: 1; transform: none; }
.reveal[data-delay="1"] { transition-delay: .12s; } .reveal[data-delay="2"] { transition-delay: .24s; }
.reveal[data-delay="3"] { transition-delay: .36s; } .reveal[data-delay="4"] { transition-delay: .48s; }
@keyframes fadeUp { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: none; } }
@keyframes dropIn { from { opacity: 0; transform: translate(-50%, -30px); } to { opacity: 1; transform: translate(-50%, 0); } }
@keyframes floaty { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-14px); } }
@keyframes drift { from { transform: translate(0, 0) scale(1); } to { transform: translate(60px, 40px) scale(1.15); } }
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes scrollX { to { transform: translateX(-50%); } }
@keyframes pulse { 0%, 100% { box-shadow: 0 0 0 0 rgba(255, 159, 28, .6); } 50% { box-shadow: 0 0 0 8px rgba(255, 159, 28, 0); } }
@keyframes ring { 0% { box-shadow: 0 0 0 0 rgba(99, 102, 241, .45); } 100% { box-shadow: 0 0 0 14px rgba(99, 102, 241, 0); } }

/* ---------- RESPONSIVE ---------- */
@media (max-width: 991px) {
  .auth { grid-template-columns: 1fr; } .auth-aside { display: none; }
  .hero { padding: 120px 0 80px; } .section { padding: 70px 0; }
  .steps { grid-template-columns: 1fr; gap: 1.6rem; } .steps::before { display: none; }
  .step { display: grid; grid-template-columns: 64px 1fr; text-align: left; gap: 0 1rem; } .step-num { grid-row: span 2; margin: 0; }
  .pay-card { position: static; }
}
@media (max-width: 767px) {
  .track { flex-direction: column; gap: 1rem; }
  .track-step { display: flex; align-items: center; gap: 1rem; text-align: left; }
  .track-step::before { display: none; } .track-dot { margin: 0; flex: none; }
  .wp-item small { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal { opacity: 1; transform: none; } .bar span { width: var(--w); }
}
