:root {
  --navy: #0B2A4A; --navy2: #123C6B; --yellow: #F5C518;
  --ink: #1B2A3B; --muted: #5B6B7C; --line: #E3E8EF; --soft: #F4F7FB;
  --blue: #0B5FFF; --cyan: #00C2FF;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { font-family: "Segoe UI", system-ui, -apple-system, sans-serif; color: var(--ink); background: #fff; line-height: 1.5; overflow-x: hidden; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; }

/* ---------- animations ---------- */
@keyframes floaty { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }
@keyframes popIn { from { opacity: 0; transform: translateY(24px) scale(.98); } to { opacity: 1; transform: none; } }
@keyframes pulseRing { 0% { box-shadow: 0 0 0 0 rgba(37,211,102,.45); } 70% { box-shadow: 0 0 0 14px rgba(37,211,102,0); } 100% { box-shadow: 0 0 0 0 rgba(37,211,102,0); } }
@keyframes shine { 0% { background-position: -200% 0; } 100% { background-position: 200% 0; } }

.reveal { opacity: 1; transform: none; }
.js .reveal { opacity: 0; transform: translateY(26px); transition: opacity .7s cubic-bezier(.2,.7,.3,1), transform .7s cubic-bezier(.2,.7,.3,1); }
.js .reveal.visible { opacity: 1; transform: none; }
.float-anim { animation: floaty 5s ease-in-out infinite; }

/* ---------- top bar ---------- */
.topbar { display: flex; align-items: center; justify-content: space-between; padding: 10px 5vw; border-bottom: 1px solid var(--line); position: sticky; top: 0; background: rgba(255,255,255,.92); backdrop-filter: blur(10px); z-index: 10; }
.brand-logo { height: 40px; width: auto; display: block; transition: transform .3s ease; }
.brand:hover .brand-logo { transform: scale(1.05); }
.nav { display: flex; gap: 22px; font-size: 14px; color: var(--muted); }
.nav a { position: relative; padding: 4px 0; transition: color .25s; }
.nav a::after { content: ""; position: absolute; left: 0; bottom: 0; height: 2px; width: 0; background: linear-gradient(90deg, var(--blue), var(--cyan)); transition: width .3s ease; }
.nav a:hover { color: var(--navy); }
.nav a:hover::after { width: 100%; }
.cta { background: linear-gradient(120deg, var(--navy), var(--navy2)); color: #fff; padding: 10px 18px; border-radius: 8px; font-size: 13px; font-weight: 600; position: relative; overflow: hidden; }
.cta::before { content: ""; position: absolute; inset: 0; background: linear-gradient(110deg, transparent 30%, rgba(255,255,255,.35) 50%, transparent 70%); background-size: 200% 100%; }
.cta:hover::before { animation: shine 1s linear; }

/* ---------- hero ---------- */
.hero { background: linear-gradient(120deg, var(--navy) 0%, var(--navy2) 55%, #14518f 100%); color: #fff; padding: 60px 5vw 52px; display: grid; grid-template-columns: 1.1fr .9fr; gap: 36px; align-items: center; position: relative; overflow: hidden; }
.hero::before { content: ""; position: absolute; width: 420px; height: 420px; border-radius: 50%; background: radial-gradient(circle, rgba(0,194,255,.22), transparent 65%); top: -140px; right: -80px; pointer-events: none; }
.hero::after { content: ""; position: absolute; width: 340px; height: 340px; border-radius: 50%; background: radial-gradient(circle, rgba(11,95,255,.25), transparent 65%); bottom: -160px; left: -60px; pointer-events: none; }
.invite { display: inline-block; background: linear-gradient(120deg, var(--yellow), #ffe066); color: var(--navy); font-weight: 700; padding: 6px 16px; border-radius: 4px; font-size: 13px; transform: rotate(-1.5deg); margin-bottom: 18px; box-shadow: 0 6px 18px rgba(245,197,24,.35); }
.hero h1 { font-size: clamp(26px, 3.4vw, 40px); line-height: 1.15; font-weight: 800; }
.hero h1 em { font-style: normal; background: linear-gradient(90deg, var(--yellow), #ffe27a); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero p { margin-top: 14px; font-size: 15px; color: rgba(255,255,255,.82); max-width: 48ch; }
.actions { margin-top: 24px; display: flex; gap: 12px; flex-wrap: wrap; }
.btn { padding: 13px 22px; border-radius: 10px; font-weight: 700; font-size: 14px; display: inline-block; transition: transform .25s ease, box-shadow .25s ease; }
.btn:hover { transform: translateY(-3px); }
.btn-y { background: linear-gradient(120deg, var(--yellow), #ffd84d); color: var(--navy); box-shadow: 0 8px 22px rgba(245,197,24,.4); }
.btn-o { border: 1px solid rgba(255,255,255,.45); color: #fff; }
.btn-o:hover { background: rgba(255,255,255,.08); }

/* laptop mock */
.lap { position: relative; max-width: 460px; justify-self: center; width: 100%; z-index: 1; }
.lap .scr { background: #fff; border-radius: 12px 12px 0 0; padding: 14px 16px 16px; box-shadow: 0 24px 50px rgba(0,0,0,.35); color: var(--ink); }
.lap .bar { display: flex; justify-content: space-between; align-items: center; font-size: 12px; color: var(--muted); padding-bottom: 10px; border-bottom: 1px solid var(--line); }
.scr-logo { height: 20px; width: auto; }
.lap .timer { font-variant-numeric: tabular-nums; color: var(--navy); font-weight: 700; }
.lap .q { font-size: 12px; color: var(--muted); margin: 10px 0 4px; }
.lap .qt { font-size: 14px; font-weight: 600; margin-bottom: 10px; }
.lap .opt { display: flex; align-items: center; gap: 8px; font-size: 13px; padding: 8px 10px; border: 1px solid var(--line); border-radius: 6px; margin-bottom: 7px; }
.lap .opt.sel { border-color: var(--navy); background: var(--soft); }
.lap .opt .r { width: 12px; height: 12px; border-radius: 999px; border: 2px solid var(--muted); }
.lap .opt.sel .r { border-color: var(--navy); background: var(--navy); }
.lap .pal { display: grid; grid-template-columns: repeat(5, 1fr); gap: 5px; margin-top: 8px; }
.lap .pal i { height: 18px; border-radius: 4px; background: var(--soft); border: 1px solid var(--line); font-style: normal; font-size: 10px; display: flex; align-items: center; justify-content: center; color: var(--muted); }
.lap .pal i.c { background: var(--navy); color: #fff; border-color: var(--navy); }
.lap .pal i.m { background: var(--yellow); border-color: var(--yellow); color: var(--navy); }
.lap .base { height: 12px; background: #C9D4E0; border-radius: 0 0 14px 14px; margin: 0 24px; }

/* ---------- sections ---------- */
.sec { padding: 56px 5vw; }
.sec.soft { background: var(--soft); }
.sec h2 { font-size: 26px; font-weight: 800; color: var(--navy); }
.sec .lead { color: var(--muted); font-size: 15px; margin-top: 8px; max-width: 62ch; }

.grid5 { display: grid; grid-template-columns: repeat(5, 1fr); gap: 14px; margin-top: 26px; }
.feat { background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 18px; transition: transform .3s ease, box-shadow .3s ease, border-color .3s ease; }
.feat:hover { transform: translateY(-6px); box-shadow: 0 14px 30px rgba(11,42,74,.12); border-color: rgba(11,95,255,.35); }
.feat .ic { width: 38px; height: 38px; border-radius: 9px; background: linear-gradient(135deg, rgba(11,95,255,.12), rgba(0,194,255,.12)); color: var(--navy); display: flex; align-items: center; justify-content: center; margin-bottom: 12px; }
.feat .ic svg { width: 20px; height: 20px; }
.feat h4 { font-size: 14px; font-weight: 700; color: var(--navy); }
.feat p { font-size: 13px; color: var(--muted); margin-top: 5px; }

.exams { display: grid; grid-template-columns: 1.2fr .8fr; gap: 16px; margin-top: 26px; }
.excard { background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 20px; }
.excard h4 { font-size: 15px; font-weight: 700; color: var(--navy); margin-bottom: 12px; }
.exlist { display: grid; grid-template-columns: 1fr 1fr; gap: 9px; font-size: 14px; }
.exlist span { display: flex; align-items: center; gap: 8px; transition: transform .2s ease; }
.exlist span:hover { transform: translateX(4px); }
.exlist svg { width: 15px; height: 15px; flex-shrink: 0; }
.excard.note { background: linear-gradient(135deg, #FFF7D6, #FFEFB0); border-color: #F0DFA0; }
.excard.note p { font-size: 14px; line-height: 1.55; }
.excard.note .sig { margin-top: 14px; font-size: 18px; color: var(--navy); font-style: italic; }

/* ---------- demo ---------- */
.demo { display: grid; grid-template-columns: 1.1fr .9fr; gap: 20px; margin-top: 26px; align-items: start; }
.dleft, .dright { background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 20px; box-shadow: 0 8px 24px rgba(11,42,74,.06); }
.dleft .qh { display: flex; justify-content: space-between; font-size: 13px; color: var(--muted); margin-bottom: 8px; }
.dleft .qh b { color: var(--navy); font-variant-numeric: tabular-nums; }
.dleft .qt { font-size: 17px; font-weight: 700; margin: 8px 0 14px; }
.dopt { display: flex; align-items: center; gap: 10px; border: 1px solid var(--line); border-radius: 8px; padding: 11px 14px; margin-bottom: 9px; font-size: 15px; transition: border-color .2s, background .2s, transform .15s; }
.dopt:hover { border-color: var(--navy); transform: translateX(3px); }
.dopt.sel { border-color: var(--navy); background: var(--soft); }
.dopt .r { width: 16px; height: 16px; border-radius: 999px; border: 2px solid var(--muted); flex-shrink: 0; transition: border-color .2s, background .2s; }
.dopt.sel .r { border-color: var(--navy); background: var(--navy); }
.dnav { display: flex; gap: 9px; margin-top: 14px; }
.dnav button { flex: 1; padding: 11px; border-radius: 8px; border: 1px solid var(--line); background: #fff; font-size: 14px; transition: background .2s, transform .15s; }
.dnav button:hover:not(:disabled) { transform: translateY(-2px); }
.dnav .nx { background: linear-gradient(120deg, var(--navy), var(--navy2)); color: #fff; border-color: transparent; }
.dnav button:disabled { opacity: .45; cursor: not-allowed; }
.dright h4 { font-size: 14px; font-weight: 700; color: var(--navy); margin-bottom: 12px; }
.pal2 { display: grid; grid-template-columns: repeat(8, 1fr); gap: 7px; }
.pal2 button { height: 34px; border-radius: 7px; border: 1px solid var(--line); background: var(--soft); font-size: 13px; font-variant-numeric: tabular-nums; transition: transform .15s, background .2s; }
.pal2 button:hover { transform: scale(1.08); }
.pal2 button.c { background: linear-gradient(120deg, var(--navy), var(--navy2)); color: #fff; border-color: transparent; }
.pal2 button.m { background: var(--yellow); border-color: var(--yellow); color: var(--navy); font-weight: 700; }
.legend { display: flex; gap: 16px; margin-top: 14px; font-size: 13px; color: var(--muted); flex-wrap: wrap; }
.legend i { width: 11px; height: 11px; border-radius: 3px; display: inline-block; margin-right: 6px; }
.score { margin-top: 16px; padding: 14px; border-radius: 8px; background: var(--soft); font-size: 14px; color: var(--navy); display: none; }
.score.show { display: block; animation: popIn .45s cubic-bezier(.2,.7,.3,1); }

/* ---------- contact ---------- */
.contact { background: linear-gradient(120deg, var(--navy), var(--navy2) 60%, #14518f); color: #fff; padding: 44px 5vw; display: flex; justify-content: space-between; align-items: center; gap: 22px; flex-wrap: wrap; }
.contact h3 { font-size: 24px; font-weight: 800; }
.contact p { color: rgba(255,255,255,.75); font-size: 14px; margin-top: 5px; }
.contact-cards { display: flex; gap: 14px; flex-wrap: wrap; }
.ccard { display: flex; align-items: center; gap: 12px; padding: 13px 20px; border-radius: 14px; font-weight: 700; font-size: 16px; transition: transform .25s ease, box-shadow .25s ease; }
.ccard:hover { transform: translateY(-4px) scale(1.02); }
.ccard small { display: block; font-size: 11px; font-weight: 500; opacity: .85; }
.ccard svg { width: 26px; height: 26px; flex-shrink: 0; }
.ccard.whatsapp { background: linear-gradient(135deg, #25D366, #1DA851); color: #fff; box-shadow: 0 10px 26px rgba(37,211,102,.4); animation: pulseRing 2.4s infinite; }
.ccard.email { background: linear-gradient(135deg, #ffffff, #eef3fb); color: var(--navy); box-shadow: 0 10px 26px rgba(255,255,255,.25); }
.ccard.email svg { color: var(--blue); }

.person { padding: 18px 5vw; font-size: 14px; color: var(--muted); border-top: 1px solid var(--line); display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; }
.person b { color: var(--ink); }
.foot { background: var(--navy); color: rgba(255,255,255,.7); font-size: 13px; padding: 16px 5vw; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; }

@media (max-width: 860px) {
  .hero, .demo, .exams { grid-template-columns: 1fr; }
  .grid5 { grid-template-columns: repeat(2, 1fr); }
  .nav { display: none; }
  .contact { flex-direction: column; align-items: flex-start; }
}

.qtag { display: inline-block; font-size: 11px; font-weight: 700; color: var(--blue); background: rgba(11,95,255,.1); padding: 2px 8px; border-radius: 6px; margin-left: 8px; vertical-align: middle; }

/* ---------- full CBT demo ---------- */
.cbt { background: #fff; border: 1px solid var(--line); border-radius: 14px; overflow: hidden; box-shadow: 0 10px 30px rgba(11,42,74,.08); margin-top: 26px; }
.cbt-top { display: flex; justify-content: space-between; align-items: center; padding: 14px 20px; background: linear-gradient(120deg, var(--navy), var(--navy2)); color: #fff; }
.cbt-brand { display: flex; align-items: center; gap: 12px; }
.institution-logo { min-width: 150px; height: 34px; display: flex; align-items: center; justify-content: center; background: #fff; color: var(--navy); border-radius: 6px; padding: 0 10px; font-size: 11px; font-weight: 700; text-align: center; }
.cbt-title { font-weight: 700; font-size: 15px; }
.cbt-user { font-size: 12px; opacity: .8; margin-top: 2px; }
.cbt-timer { font-size: 22px; font-weight: 700; font-variant-numeric: tabular-nums; background: rgba(255,255,255,.15); padding: 6px 16px; border-radius: 8px; }
.cbt-tabs { display: flex; border-bottom: 1px solid var(--line); background: var(--soft); }
.cbt-tab { padding: 10px 20px; font-size: 13px; font-weight: 600; color: var(--muted); border: none; background: transparent; cursor: pointer; border-bottom: 3px solid transparent; transition: color .2s, border-color .2s; }
.cbt-tab.on { color: var(--navy); border-bottom-color: var(--navy); background: #fff; }
.cbt-body { display: grid; grid-template-columns: 1.5fr 1fr; min-height: 380px; }
.cbt-main { padding: 20px; border-right: 1px solid var(--line); }
.cbt-qhead { display: flex; justify-content: space-between; align-items: center; font-size: 13px; color: var(--muted); margin-bottom: 10px; }
.cbt-qtag { font-size: 11px; font-weight: 700; color: var(--blue); background: rgba(11,95,255,.1); padding: 3px 10px; border-radius: 6px; }
.cbt-qtext { font-size: 16px; font-weight: 600; margin-bottom: 16px; line-height: 1.5; }
.cbt-opts { display: flex; flex-direction: column; gap: 8px; }
.cbt-opt { display: flex; align-items: center; gap: 10px; border: 1px solid var(--line); border-radius: 8px; padding: 11px 14px; font-size: 14px; cursor: pointer; transition: border-color .2s, background .2s; }
.cbt-opt:hover { border-color: var(--navy); }
.cbt-opt.sel { border-color: var(--navy); background: var(--soft); }
.cbt-opt .r { width: 16px; height: 16px; border-radius: 999px; border: 2px solid var(--muted); flex-shrink: 0; }
.cbt-opt.sel .r { border-color: var(--navy); background: var(--navy); }
.cbt-nav { display: flex; gap: 8px; margin-top: 18px; flex-wrap: wrap; }
.cbt-nav button { padding: 9px 14px; border-radius: 8px; border: 1px solid var(--line); background: #fff; font-size: 13px; transition: background .2s, transform .15s; }
.cbt-nav button:hover:not(:disabled) { transform: translateY(-2px); }
.cbt-nav button:disabled { opacity: .4; cursor: not-allowed; }
.cbt-nav .save { background: linear-gradient(120deg, var(--navy), var(--navy2)); color: #fff; border-color: transparent; font-weight: 600; }
.cbt-side { padding: 20px; background: #FBFCFE; }
.cbt-side h4 { font-size: 13px; font-weight: 700; color: var(--navy); margin-bottom: 12px; }
.cbt-pal { display: grid; grid-template-columns: repeat(5, 1fr); gap: 7px; }
.cbt-pal button { height: 34px; border-radius: 7px; border: 1px solid var(--line); background: #fff; font-size: 13px; font-variant-numeric: tabular-nums; cursor: pointer; transition: transform .15s, background .2s; }
.cbt-pal button:hover { transform: scale(1.08); }
.cbt-pal button.a { background: linear-gradient(120deg, var(--navy), var(--navy2)); color: #fff; border-color: transparent; }
.cbt-pal button.m { background: var(--yellow); border-color: var(--yellow); color: var(--navy); font-weight: 700; }
.cbt-pal button.cur { box-shadow: 0 0 0 2px var(--blue); }
.cbt-legend { display: flex; flex-direction: column; gap: 6px; margin-top: 14px; font-size: 12px; color: var(--muted); }
.cbt-legend i { width: 11px; height: 11px; border-radius: 3px; display: inline-block; margin-right: 7px; }
.cbt-legend i.a { background: var(--navy); }
.cbt-legend i.n { background: #fff; border: 1px solid var(--line); }
.cbt-legend i.m { background: var(--yellow); }
.cbt-legend b { color: var(--navy); margin-left: 3px; }
.cbt-submit { width: 100%; margin-top: 16px; padding: 12px; border-radius: 8px; border: none; background: linear-gradient(120deg, #0B5FFF, #00C2FF); color: #fff; font-weight: 700; font-size: 14px; cursor: pointer; transition: transform .2s, box-shadow .2s; }
.cbt-submit:hover { transform: translateY(-2px); box-shadow: 0 8px 20px rgba(11,95,255,.35); }
.cbt-result { margin-top: 14px; padding: 14px; border-radius: 8px; background: var(--soft); font-size: 14px; color: var(--navy); display: none; }
.cbt-result.show { display: block; animation: popIn .45s cubic-bezier(.2,.7,.3,1); }

@media (max-width: 860px) {
  .cbt-body { grid-template-columns: 1fr; }
  .cbt-main { border-right: none; border-bottom: 1px solid var(--line); }
}

/* ---------- command center ---------- */
.command-section { background: linear-gradient(180deg,#f7faff 0%,#eef5fb 100%); }
.section-kicker { display:inline-flex; align-items:center; gap:8px; font-size:11px; letter-spacing:.16em; font-weight:800; color:var(--blue); margin-bottom:8px; }
.section-kicker::before { content:""; width:24px; height:2px; background:linear-gradient(90deg,var(--blue),var(--cyan)); border-radius:2px; }
.cc-switch { display:flex; gap:8px; margin-top:24px; flex-wrap:wrap; }
.cc-mode { border:1px solid var(--line); background:#fff; color:var(--muted); padding:9px 15px; border-radius:999px; font-size:13px; font-weight:700; cursor:pointer; transition:.2s; }
.cc-mode:hover { transform:translateY(-1px); color:var(--navy); }
.cc-mode.active { background:var(--navy); color:#fff; border-color:var(--navy); box-shadow:0 7px 18px rgba(11,42,74,.18); }
.cc-panel { margin-top:16px; background:#fff; border:1px solid #dbe6f0; border-radius:18px; box-shadow:0 18px 45px rgba(11,42,74,.10); overflow:hidden; }
.cc-head { padding:22px 24px; display:flex; justify-content:space-between; gap:20px; align-items:flex-start; border-bottom:1px solid var(--line); }
.cc-head h3 { margin-top:9px; color:var(--navy); font-size:21px; }
.cc-head p { margin-top:4px; color:var(--muted); font-size:13px; }
.cc-live { display:inline-flex; align-items:center; gap:6px; color:#178652; font-size:10px; font-weight:800; letter-spacing:.08em; }
.cc-live i { width:7px; height:7px; border-radius:50%; background:#20b56b; box-shadow:0 0 0 5px rgba(32,181,107,.10); animation: pulseDot 1.6s infinite; }
.cc-exam { text-align:right; background:var(--soft); border:1px solid var(--line); padding:10px 13px; border-radius:10px; min-width:220px; }
.cc-exam strong,.cc-exam span { display:block; }
.cc-exam strong { font-size:12px; color:var(--navy); }
.cc-exam span { margin-top:3px; font-size:10px; color:var(--muted); }
.cc-stats { display:grid; grid-template-columns:repeat(4,1fr); gap:10px; padding:16px 20px; background:#fbfdff; border-bottom:1px solid var(--line); }
.cc-stat { padding:13px 14px; border:1px solid var(--line); border-radius:12px; background:#fff; }
.cc-stat span { font-size:14px; }
.cc-stat b { display:block; margin-top:5px; color:var(--navy); font-size:23px; }
.cc-stat small { color:var(--muted); font-size:10px; }
.cc-grid { display:grid; grid-template-columns:1.2fr .8fr; gap:14px; padding:18px 20px; }
.cc-card { border:1px solid var(--line); border-radius:13px; padding:16px; background:#fff; }
.cc-card-title { display:flex; justify-content:space-between; align-items:center; margin-bottom:9px; color:var(--navy); font-size:13px; }
.cc-card-title > span { font-size:10px; color:var(--muted); }
.cc-card-title .healthy { color:#178652; font-weight:800; }
.candidate-row { display:grid; grid-template-columns:34px 1fr auto; align-items:center; gap:10px; padding:10px 0; border-top:1px solid #edf2f7; }
.avatar { width:34px; height:34px; display:flex; align-items:center; justify-content:center; border-radius:10px; background:linear-gradient(135deg,#eaf2ff,#dff8ff); color:var(--navy); font-size:10px; font-weight:800; }
.candidate-row b,.candidate-row small { display:block; }
.candidate-row b { color:var(--navy); font-size:12px; }
.candidate-row small { color:var(--muted); font-size:10px; margin-top:2px; }
.candidate-row em { font-style:normal; font-size:9px; font-weight:800; padding:5px 7px; border-radius:999px; }
.ok { background:#e8f8ef; color:#16834f; }
.done { background:#eef1f5; color:#5e6b79; }
.warn { background:#fff4dc; color:#a86a00; }
.health-item { display:flex; justify-content:space-between; padding:11px 0; border-bottom:1px solid #edf2f7; font-size:11px; }
.health-item span { color:var(--muted); }
.health-item b { color:var(--navy); }
.health-item:first-of-type b { color:#16834f; }
.progress { height:7px; background:#edf2f7; border-radius:999px; overflow:hidden; margin-top:14px; }
.progress i { display:block; width:68%; height:100%; background:linear-gradient(90deg,var(--blue),var(--cyan)); border-radius:999px; transition:width .5s; }
.health-note { display:block; margin-top:9px; color:#94a0ad; font-size:9px; }
.cc-bottom { display:grid; grid-template-columns:repeat(3,1fr); gap:10px; padding:0 20px 20px; }
.security-pill { display:flex; align-items:center; gap:10px; border:1px solid var(--line); border-radius:11px; padding:11px 12px; background:#fbfdff; }
.security-pill span { font-size:15px; }
.security-pill b,.security-pill small { display:block; }
.security-pill b { color:var(--navy); font-size:11px; }
.security-pill small { color:var(--muted); font-size:9px; margin-top:2px; }
@keyframes pulseDot { 50% { transform:scale(1.35); opacity:.65; } }

@media (max-width:900px) {
  .cc-head { flex-direction:column; }
  .cc-exam { text-align:left; width:100%; box-sizing:border-box; }
  .cc-stats { grid-template-columns:repeat(2,1fr); }
  .cc-grid { grid-template-columns:1fr; }
  .cc-bottom { grid-template-columns:1fr; }
}

/* ---------- client / internal layered platform ---------- */
.platform-gateway{background:linear-gradient(180deg,#f8fbff,#eef5fb)}
.gateway-card{margin-top:22px;display:grid;grid-template-columns:1.15fr .85fr;gap:22px;background:#fff;border:1px solid #dbe6f0;border-radius:20px;padding:28px;box-shadow:0 18px 45px rgba(11,42,74,.10)}
.gateway-badge{display:inline-flex;padding:6px 9px;border-radius:999px;background:#edf5ff;color:var(--blue);font-size:9px;font-weight:900;letter-spacing:.1em}
.gateway-copy h3{margin:12px 0 7px;color:var(--navy);font-size:24px}
.gateway-copy p{color:var(--muted);font-size:13px;line-height:1.7}
.gateway-btn{margin-top:16px;border:0;border-radius:10px;background:var(--navy);color:#fff;padding:12px 17px;font-weight:800;cursor:pointer}
.gateway-flow{display:grid;grid-template-columns:1fr 1fr;gap:10px;align-content:center}
.gateway-flow span{padding:16px;border:1px solid var(--line);border-radius:12px;background:#fbfdff;color:var(--navy);font-size:12px;font-weight:800}
.platform-modal{position:fixed;inset:0;background:rgba(4,17,31,.72);backdrop-filter:blur(7px);z-index:9999;display:none;padding:28px;box-sizing:border-box}
.platform-modal.open{display:flex;align-items:center;justify-content:center}
.platform-shell{width:min(1120px,100%);max-height:92vh;overflow:auto;background:#f7faff;border-radius:20px;box-shadow:0 30px 90px rgba(0,0,0,.3);position:relative}
.platform-close{position:absolute;right:16px;top:13px;width:35px;height:35px;border-radius:50%;border:1px solid #d8e3ee;background:#fff;font-size:23px;cursor:pointer;color:var(--navy);z-index:2}
.platform-top{padding:25px 28px 18px;display:flex;justify-content:space-between;gap:20px}
.platform-top h2{margin:10px 0 4px;color:var(--navy)}
.platform-top p{margin:0;color:var(--muted);font-size:12px}
.platform-step{font-size:11px;font-weight:900;color:var(--blue);padding-top:10px}
.platform-tabs{display:flex;gap:7px;padding:0 28px 18px;border-bottom:1px solid #dbe6f0;overflow:auto}
.platform-tab{white-space:nowrap;border:1px solid #dbe6f0;background:#fff;color:var(--muted);border-radius:999px;padding:9px 13px;font-size:10px;font-weight:800;cursor:pointer}
.platform-tab.active{background:var(--navy);color:#fff;border-color:var(--navy)}
.platform-content{padding:22px 28px 30px}.platform-view{display:none}.platform-view.active{display:block}
.demo-exam-head{display:grid;grid-template-columns:1fr auto auto;align-items:center;gap:18px;background:#fff;border:1px solid #dbe6f0;padding:15px 18px;border-radius:13px}
.demo-brand span,.demo-brand small,.demo-candidate b,.demo-candidate small{display:block}.demo-brand span{font-weight:900;color:var(--navy)}.demo-brand small,.demo-candidate small{font-size:9px;color:var(--muted);margin-top:3px}.demo-candidate{text-align:right}.demo-time{font-weight:900;color:#b05f00;background:#fff4dc;padding:9px;border-radius:9px;font-size:12px}
.demo-exam-body{display:grid;grid-template-columns:1fr 280px;gap:14px;margin-top:14px}.demo-question,.demo-palette{background:#fff;border:1px solid #dbe6f0;border-radius:13px;padding:19px}.q-label{font-size:10px;color:var(--blue);font-weight:900}.demo-question h3{font-size:17px;color:var(--navy);line-height:1.5;margin:12px 0 18px}.demo-question label{display:block;padding:11px;border:1px solid #edf2f7;border-radius:9px;margin:7px 0;font-size:12px;color:#35485b}.demo-actions{display:flex;justify-content:flex-end;gap:8px;margin-top:18px}.demo-actions button,.result-actions button{border:1px solid #dbe6f0;background:#fff;padding:9px 12px;border-radius:8px;font-size:10px;font-weight:800;cursor:pointer}.demo-actions .primary{background:var(--navy);color:#fff;border-color:var(--navy)}
.palette-grid{display:grid;grid-template-columns:repeat(5,1fr);gap:6px;margin-top:13px}.palette-grid i{font-style:normal;text-align:center;padding:8px 0;background:#edf2f7;border-radius:6px;font-size:10px}.palette-grid i.answered{background:#dff5e9;color:#147b4a}.palette-grid i.review{background:#eee6ff;color:#7144a7}.demo-palette small{display:block;color:#8b98a5;font-size:8px;margin-top:10px}
.dash-stats{display:grid;grid-template-columns:repeat(4,1fr);gap:10px}.dash-stats div{background:#fff;border:1px solid #dbe6f0;border-radius:11px;padding:13px}.dash-stats small,.dash-stats b{display:block}.dash-stats small{font-size:9px;color:var(--muted)}.dash-stats b{font-size:22px;color:var(--navy);margin-top:4px}.internal-grid{display:grid;grid-template-columns:1.2fr .8fr;gap:13px;margin-top:13px}.internal-card{background:#fff;border:1px solid #dbe6f0;border-radius:13px;padding:16px}.internal-card h4{color:var(--navy);margin:0 0 8px}.internal-card h4 span{float:right;color:#178652;font-size:9px}.internal-card p{font-size:11px;border-top:1px solid #edf2f7;padding:10px 0;margin:0;color:#566779}.internal-card p em{font-style:normal;color:#95a0aa;margin-left:8px}.internal-card p strong{float:right;color:#178652}.internal-card p strong.alert{color:#b16b00}
.admin-banner{background:#fff;border:1px solid #dbe6f0;border-radius:13px;padding:20px}.admin-banner span{font-size:9px;color:var(--blue);font-weight:900;letter-spacing:.1em}.admin-banner h3{margin:8px 0;color:var(--navy)}.admin-banner p{margin:0;color:var(--muted);font-size:12px}.admin-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:10px;margin-top:13px}.admin-grid button{text-align:left;border:1px solid #dbe6f0;background:#fff;border-radius:12px;padding:15px;color:var(--navy);font-weight:800;cursor:pointer}.admin-grid b,.admin-grid small{display:block}.admin-grid b{font-size:18px;margin-bottom:10px}.admin-grid small{font-size:9px;color:var(--muted);font-weight:500}
.result-layout{background:#fff;border:1px solid #dbe6f0;border-radius:14px;padding:22px}.result-score{text-align:center}.result-score small,.result-score b,.result-score span{display:block}.result-score small{color:var(--muted);font-size:10px}.result-score b{font-size:52px;color:var(--navy);line-height:1.1;margin:6px}.result-score span{font-size:11px;color:#178652;font-weight:800}.result-bars{max-width:650px;margin:22px auto}.result-bars p{display:grid;grid-template-columns:150px 1fr 40px;gap:10px;align-items:center;font-size:10px;color:#536477}.result-bars i{height:8px;background:linear-gradient(90deg,var(--blue),var(--cyan));border-radius:99px}.result-bars b{text-align:right;color:var(--navy)}.result-actions{display:flex;justify-content:center;gap:8px}.result-actions button{background:#f7faff}
@media(max-width:800px){.gateway-card,.demo-exam-body,.internal-grid{grid-template-columns:1fr}.gateway-flow,.admin-grid{grid-template-columns:1fr 1fr}.demo-exam-head{grid-template-columns:1fr}.demo-candidate{text-align:left}.platform-modal{padding:10px}.platform-top,.platform-tabs,.platform-content{padding-left:16px;padding-right:16px}.dash-stats{grid-template-columns:1fr 1fr}}

/* ---------- newsroom / newspaper-style cuttings ---------- */
.newsroom{background:linear-gradient(180deg,#f8fafc,#eef4f8)}
.news-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:18px;margin-top:24px}
.news-cutting{background:#fbfaf5;border:1px solid #d5d0c5;border-radius:4px;padding:22px;box-shadow:0 12px 28px rgba(34,45,55,.09);cursor:pointer;transition:.2s;position:relative}
.news-cutting:hover{transform:translateY(-4px);box-shadow:0 18px 36px rgba(34,45,55,.14)}
.paper-mast{font-family:Georgia,serif;font-size:17px;font-weight:900;color:#20252a;letter-spacing:.05em;display:flex;justify-content:space-between;gap:12px}
.paper-mast span{font-family:Arial,sans-serif;font-size:8px;letter-spacing:.08em;color:#7c858c;padding-top:5px}
.paper-rule{height:1px;background:#34383c;margin:8px 0 12px}
.paper-tag{font-family:Arial,sans-serif;font-size:8px;font-weight:900;letter-spacing:.14em;color:#69737a}
.news-cutting h3{font-family:Georgia,serif;font-size:21px;line-height:1.16;color:#1f2529;margin:9px 0 10px}
.news-cutting p{font-family:Georgia,serif;font-size:12px;line-height:1.6;color:#4c5256}
.paper-footer{margin-top:16px;padding-top:10px;border-top:1px dotted #aaa49a;display:flex;justify-content:space-between;gap:10px;font-family:Arial,sans-serif;font-size:8px;color:#69737a}
.paper-footer span{font-weight:900;color:#1b5b83}
.news-modal{position:fixed;inset:0;background:rgba(11,22,32,.72);backdrop-filter:blur(6px);z-index:10000;display:none;padding:24px;box-sizing:border-box}
.news-modal.open{display:flex;align-items:center;justify-content:center}
.news-modal-card{width:min(760px,100%);max-height:88vh;overflow:auto;background:#fbfaf5;border:1px solid #d1ccc2;box-shadow:0 30px 80px rgba(0,0,0,.28);padding:32px;position:relative}
.news-close{position:absolute;right:13px;top:10px;width:34px;height:34px;border-radius:50%;border:1px solid #cfc9bf;background:#fff;font-size:22px;cursor:pointer}
.modal-paper h2{font-family:Georgia,serif;font-size:31px;line-height:1.12;color:#20252a;margin:10px 0}
.modal-paper .meta{font-family:Arial,sans-serif;font-size:9px;color:#707980;letter-spacing:.08em;border-bottom:1px solid #333;padding-bottom:10px}
.modal-paper p{font-family:Georgia,serif;font-size:14px;line-height:1.75;color:#34393d}
.modal-paper .source{margin-top:18px;padding:12px;background:#f0f3f5;border-left:3px solid #1b5b83;font-family:Arial,sans-serif;font-size:10px;color:#44515b}
.modal-paper a{display:inline-block;margin-top:14px;background:#173d5b;color:#fff;text-decoration:none;padding:10px 14px;border-radius:6px;font:800 10px Arial,sans-serif}
@media(max-width:760px){.news-grid{grid-template-columns:1fr}.paper-mast{font-size:14px}.news-cutting h3{font-size:19px}}

/* ---------- Tripura verified CBT section ---------- */
.tripura-cbt{background:#f5f9fc}
.tripura-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:18px;margin-top:24px}
.tripura-card{background:#fff;border:1px solid #d9e5ee;border-radius:15px;padding:22px;box-shadow:0 12px 30px rgba(11,42,74,.07);transition:.2s}
.tripura-card:hover{transform:translateY(-3px);box-shadow:0 18px 38px rgba(11,42,74,.11)}
.tripura-top{display:flex;justify-content:space-between;align-items:center;gap:10px}
.tripura-top span{font-size:10px;font-weight:900;letter-spacing:.1em;color:#5e6e7c}
.tripura-top b{font-size:8px;letter-spacing:.08em;color:#16834f;background:#e7f8ee;padding:6px 8px;border-radius:999px}
.tripura-card h3{font-size:22px;color:var(--navy);margin:13px 0 7px}
.tripura-card p{font-size:12px;line-height:1.65;color:var(--muted)}
.tripura-meta{display:flex;justify-content:space-between;margin-top:17px;padding-top:11px;border-top:1px solid #edf2f7;font-size:9px;color:#82909b}
.tripura-card button{margin-top:14px;border:1px solid #d5e2ec;background:#f8fbfe;color:#174b6d;border-radius:8px;padding:9px 12px;font-size:9px;font-weight:800;cursor:pointer}
.tripura-note{margin-top:16px;padding:13px 15px;background:#fff;border:1px dashed #ccd9e3;border-radius:10px;color:#667683;font-size:10px;line-height:1.6}
.tripura-modal{position:fixed;inset:0;background:rgba(7,22,35,.7);backdrop-filter:blur(6px);z-index:10001;display:none;padding:24px;box-sizing:border-box}
.tripura-modal.open{display:flex;align-items:center;justify-content:center}
.tripura-modal-card{width:min(650px,100%);background:#fff;border-radius:16px;padding:28px;position:relative;box-shadow:0 30px 80px rgba(0,0,0,.3)}
.tripura-modal-card>button{position:absolute;right:13px;top:11px;width:32px;height:32px;border-radius:50%;border:1px solid #d9e4ed;background:#fff;font-size:21px;cursor:pointer}
.tripura-modal-card h3{color:var(--navy);font-size:24px;margin:5px 0 9px}
.tripura-modal-card p{color:var(--muted);font-size:12px;line-height:1.7}
.tripura-source{margin-top:15px;padding:12px;background:#f3f7fa;border-left:3px solid var(--blue);font-size:10px;color:#506170}
.tripura-source a{display:inline-block;margin-top:10px;background:var(--navy);color:#fff;text-decoration:none;padding:9px 12px;border-radius:6px;font-weight:800}
@media(max-width:720px){.tripura-grid{grid-template-columns:1fr}}

.paper-source-link,.tripura-source-direct{font-family:Arial,sans-serif;text-decoration:none;cursor:pointer}
.paper-source-link{font-weight:900;color:#1b5b83;font-size:8px}
.tripura-source-direct{display:inline-block;margin-top:14px;border:1px solid #d5e2ec;background:#f8fbfe;color:#174b6d;border-radius:8px;padding:9px 12px;font-size:9px;font-weight:800}

/* ---------- final presentation adjustments ---------- */
.prominent-warning{
  display:flex !important;
  align-items:flex-start;
  gap:15px;
  margin-top:20px;
  padding:19px 22px !important;
  background:#fff1f1 !important;
  border:2px solid #ef4444 !important;
  border-radius:12px !important;
  color:#991b1b !important;
  box-shadow:0 8px 22px rgba(239,68,68,.08);
}
.prominent-warning .warning-icon{
  flex:0 0 auto;
  width:34px;height:34px;
  display:flex;align-items:center;justify-content:center;
  border-radius:50%;
  background:#ef4444;
  color:#fff;
  font-size:20px;
  font-weight:900;
}
.prominent-warning strong{
  display:block;
  color:#b91c1c;
  font-size:14px;
  letter-spacing:.02em;
}
.prominent-warning p{
  margin:6px 0 3px;
  color:#991b1b;
  font-size:12px;
  line-height:1.55;
  font-weight:700;
}
.prominent-warning small{
  color:#b45309;
  font-size:10px;
  line-height:1.4;
}
.exvo-contact-strip{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:14px;
  margin:24px 0 8px;
  padding:18px 20px;
  background:#fff;
  border:1px solid #dbe6f0;
  border-radius:14px;
  box-shadow:0 10px 25px rgba(11,42,74,.06);
}
.contact-person,.contact-address{
  display:flex;
  align-items:center;
  gap:12px;
}
.contact-icon,.pin-icon{
  width:38px;height:38px;
  flex:0 0 38px;
  display:flex;align-items:center;justify-content:center;
  border-radius:50%;
  background:#eaf3ff;
  color:#1769aa;
  font-size:17px;
  font-weight:900;
}
.pin-icon{background:#edf8f1;color:#16834f}
.contact-person b,.contact-address b{
  display:block;color:var(--navy);font-size:13px;
}
.contact-person small,.contact-address small{
  display:block;color:var(--muted);font-size:10px;margin-top:3px;
}
@media(max-width:700px){
  .exvo-contact-strip{grid-template-columns:1fr}
  .prominent-warning{padding:15px !important}
}

/* Contact person + address on the same line */
.exvo-contact-strip{display:flex !important;grid-template-columns:none !important;padding:15px 20px !important}
.contact-person{width:100%;display:flex;align-items:center;gap:12px}
.contact-address-inline{margin-left:28px;padding-left:28px;border-left:1px solid #dbe6f0}
.contact-address-inline b,.contact-address-inline small{display:block}
@media(max-width:700px){
  .contact-address-inline{margin-left:10px;padding-left:10px}
  .contact-person{flex-wrap:wrap}
}

/* Existing Contact person line: keep address beside the contact person */
.person .contact-address-inline{
  margin-left:16px;
  padding-left:16px;
  border-left:1px solid rgba(255,255,255,.25);
  font-size:inherit;
  color:inherit;
}
@media(max-width:760px){
  .person .contact-address-inline{
    margin-left:8px;
    padding-left:8px;
  }
}

/* Clean final footer */
.clean-footer{
  display:flex;
  justify-content:center;
  align-items:center;
  gap:12px;
  flex-wrap:wrap;
  padding:18px 20px;
  border-top:1px solid #dbe6f0;
  color:#71808d;
  font-size:10px;
  text-align:center;
}
.clean-footer span:last-child{font-weight:800;color:#536575}
