/* ==========================================================================
   Job Portal: base stylesheet
   Brand colours are injected as --brand / --brand-2 / --accent from settings.
   ========================================================================== */

@font-face { font-family: "Inter"; font-style: normal; font-weight: 400; font-display: swap; src: url("../fonts/inter-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: "Inter"; font-style: normal; font-weight: 500; font-display: swap; src: url("../fonts/inter-latin-500-normal.woff2") format("woff2"); }
@font-face { font-family: "Inter"; font-style: normal; font-weight: 600; font-display: swap; src: url("../fonts/inter-latin-600-normal.woff2") format("woff2"); }
@font-face { font-family: "Inter"; font-style: normal; font-weight: 700; font-display: swap; src: url("../fonts/inter-latin-700-normal.woff2") format("woff2"); }
@font-face { font-family: "Noto Sans Bengali"; font-style: normal; font-weight: 400; font-display: swap; src: url("../fonts/noto-sans-bengali-bengali-400-normal.woff2") format("woff2"); unicode-range: U+0951-0952, U+0964-0965, U+0980-09FE, U+1CD0, U+1CD2, U+1CD5-1CD6, U+1CD8, U+1CE1, U+1CEA, U+1CED, U+1CF2, U+1CF5-1CF7, U+200C-200D, U+20B9, U+25CC, U+A8F1; }
@font-face { font-family: "Noto Sans Bengali"; font-style: normal; font-weight: 500; font-display: swap; src: url("../fonts/noto-sans-bengali-bengali-500-normal.woff2") format("woff2"); unicode-range: U+0951-0952, U+0964-0965, U+0980-09FE, U+200C-200D, U+25CC; }
@font-face { font-family: "Noto Sans Bengali"; font-style: normal; font-weight: 600; font-display: swap; src: url("../fonts/noto-sans-bengali-bengali-600-normal.woff2") format("woff2"); unicode-range: U+0951-0952, U+0964-0965, U+0980-09FE, U+200C-200D, U+25CC; }
@font-face { font-family: "Noto Sans Bengali"; font-style: normal; font-weight: 700; font-display: swap; src: url("../fonts/noto-sans-bengali-bengali-700-normal.woff2") format("woff2"); unicode-range: U+0951-0952, U+0964-0965, U+0980-09FE, U+200C-200D, U+25CC; }

:root {
  --brand: #0f766e;
  --brand-2: #1e293b;
  --accent: #f59e0b;
  --brand-ink: #ffffff;
  --brand-soft: color-mix(in srgb, var(--brand) 10%, white);
  --brand-strong: color-mix(in srgb, var(--brand) 82%, black);

  --bg: #f6f7f9;
  --surface: #ffffff;
  --surface-2: #f1f3f6;
  --line: #e3e7ec;
  --line-strong: #cfd6de;
  --ink: #16202b;
  --ink-2: #44515f;
  --ink-3: #6b7785;

  --ok: #15803d;   --ok-soft: #e7f6ec;
  --warn: #b45309; --warn-soft: #fdf3e2;
  --bad: #b91c1c;  --bad-soft: #fdecec;
  --info: #1d4ed8; --info-soft: #e8efff;

  --radius: 10px;
  --radius-sm: 7px;
  --shadow: 0 1px 2px rgba(16, 24, 40, .05), 0 1px 3px rgba(16, 24, 40, .06);
  --shadow-lg: 0 12px 32px -12px rgba(16, 24, 40, .22);
  --font: "Inter", "Noto Sans Bengali", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --sidebar-w: 248px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; font-family: var(--font); font-size: 15px; line-height: 1.55; color: var(--ink); background: var(--bg); }
html[lang="bn"] body { font-family: "Noto Sans Bengali", "Inter", system-ui, sans-serif; font-size: 15.5px; line-height: 1.7; }
img { max-width: 100%; height: auto; }
a { color: var(--brand-strong); text-decoration-thickness: 1px; text-underline-offset: 2px; }
a:hover { color: var(--brand); }
h1, h2, h3, h4 { line-height: 1.25; margin: 0 0 .5em; color: var(--ink); letter-spacing: -0.01em; }
h1 { font-size: 1.65rem; } h2 { font-size: 1.25rem; } h3 { font-size: 1.05rem; }
p { margin: 0 0 1em; }
code { font-size: .9em; background: var(--surface-2); padding: .1em .35em; border-radius: 4px; }
:focus-visible { outline: 3px solid color-mix(in srgb, var(--brand) 55%, white); outline-offset: 2px; border-radius: 4px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip-link { position: absolute; left: -999px; top: 8px; background: var(--surface); padding: 8px 12px; z-index: 100; border-radius: 6px; }
.skip-link:focus { left: 8px; }
.icon { width: 18px; height: 18px; flex: none; vertical-align: -3px; }
.muted { color: var(--ink-3); }
.small { font-size: .86rem; }
.nowrap { white-space: nowrap; }
.mono { font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; font-size: .85em; }
.container { width: 100%; max-width: 1180px; margin: 0 auto; padding: 0 20px; }
.stack > * + * { margin-top: 16px; }
.row { display: flex; gap: 12px; align-items: center; flex-wrap: wrap; }
.row.between { justify-content: space-between; }
.grid { display: grid; gap: 16px; }
.grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
@media (max-width: 900px) { .grid-3, .grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 620px) { .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; } }

/* ---------- Buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 40px; padding: 8px 16px;
  border: 1px solid transparent; border-radius: var(--radius-sm); background: var(--brand); color: var(--brand-ink);
  font: inherit; font-weight: 600; font-size: .94rem; text-decoration: none; cursor: pointer; transition: background .15s, border-color .15s; }
.btn:hover { background: var(--brand-strong); color: var(--brand-ink); }
.btn-secondary { background: var(--surface); color: var(--ink); border-color: var(--line-strong); }
.btn-secondary:hover { background: var(--surface-2); color: var(--ink); }
.btn-ghost { background: transparent; color: var(--ink-2); }
.btn-ghost:hover { background: var(--surface-2); color: var(--ink); }
.btn-danger { background: var(--bad); }
.btn-danger:hover { background: #991b1b; }
.btn-sm { min-height: 32px; padding: 4px 11px; font-size: .86rem; }
.btn-block { width: 100%; }
.btn[disabled] { opacity: .55; cursor: not-allowed; }
.link-btn { background: none; border: 0; padding: 0; color: var(--brand-strong); font: inherit; cursor: pointer; text-decoration: underline; }

/* ---------- Forms ---------- */
.form-grid { display: grid; gap: 16px 18px; grid-template-columns: repeat(2, minmax(0, 1fr)); }
.form-grid .full { grid-column: 1 / -1; }
@media (max-width: 620px) { .form-grid { grid-template-columns: 1fr; } }
.field { display: flex; flex-direction: column; gap: 6px; }
.field > label, .label { font-weight: 600; font-size: .9rem; color: var(--ink-2); }
.field .hint { font-size: .82rem; color: var(--ink-3); margin: 0; }
.req::after { content: " *"; color: var(--bad); }
input[type=text], input[type=email], input[type=password], input[type=url], input[type=tel], input[type=number], input[type=date], input[type=search], select, textarea {
  width: 100%; min-height: 42px; padding: 9px 12px; border: 1px solid var(--line-strong); border-radius: var(--radius-sm);
  background: var(--surface); color: var(--ink); font: inherit; font-size: .95rem; transition: border-color .15s, box-shadow .15s; }
textarea { min-height: 110px; resize: vertical; }
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--brand); box-shadow: 0 0 0 3px color-mix(in srgb, var(--brand) 18%, transparent); }
input[type=color] { width: 48px; height: 40px; padding: 2px; border: 1px solid var(--line-strong); border-radius: var(--radius-sm); background: var(--surface); }
input[type=file] { font: inherit; font-size: .9rem; }
.is-invalid { border-color: var(--bad) !important; }
.field-error { color: var(--bad); font-size: .84rem; margin: 0; }
.check { display: flex; gap: 10px; align-items: flex-start; font-size: .93rem; color: var(--ink-2); }
.check input { margin-top: 4px; width: 17px; height: 17px; accent-color: var(--brand); }
.input-group { position: relative; }
.input-group .toggle-pw { position: absolute; right: 6px; top: 50%; transform: translateY(-50%); }
.otp-input { font-size: 1.6rem !important; letter-spacing: .5em; text-align: center; font-variant-numeric: tabular-nums; }
fieldset { border: 1px solid var(--line); border-radius: var(--radius); padding: 16px; margin: 0; }
legend { padding: 0 6px; font-weight: 600; color: var(--ink-2); }

/* ---------- Cards, alerts, badges ---------- */
.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); padding: 20px; }
.card-head { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-bottom: 14px; flex-wrap: wrap; }
.card-head h2, .card-head h3 { margin: 0; }
.card.flush { padding: 0; overflow: hidden; }
.card.flush .card-head { padding: 16px 20px 0; }
.alert { display: flex; gap: 10px; align-items: flex-start; padding: 12px 14px; border-radius: var(--radius-sm); border: 1px solid; font-size: .93rem; margin-bottom: 16px; }
.alert .icon { margin-top: 2px; }
.alert-success { background: var(--ok-soft); border-color: #bfe5cc; color: #14532d; }
.alert-error { background: var(--bad-soft); border-color: #f5c2c2; color: #7f1d1d; }
.alert-warning { background: var(--warn-soft); border-color: #f3d9a8; color: #78350f; }
.alert-info { background: var(--info-soft); border-color: #c7d6fb; color: #1e3a8a; }
.badge { display: inline-flex; align-items: center; gap: 4px; padding: 2px 9px; border-radius: 999px; font-size: .78rem; font-weight: 600; background: var(--surface-2); color: var(--ink-2); white-space: nowrap; }
.badge-ok { background: var(--ok-soft); color: var(--ok); }
.badge-warn { background: var(--warn-soft); color: var(--warn); }
.badge-bad { background: var(--bad-soft); color: var(--bad); }
.badge-info { background: var(--info-soft); color: var(--info); }
.badge-brand { background: var(--brand-soft); color: var(--brand-strong); }

/* ---------- Tables ---------- */
.table-wrap { width: 100%; overflow-x: auto; }
table.table { width: 100%; border-collapse: collapse; font-size: .92rem; }
.table th { text-align: left; font-weight: 600; color: var(--ink-3); font-size: .78rem; text-transform: uppercase; letter-spacing: .04em; padding: 10px 14px; border-bottom: 1px solid var(--line); background: var(--surface-2); white-space: nowrap; }
html[lang="bn"] .table th { text-transform: none; letter-spacing: 0; font-size: .84rem; }
.table td { padding: 11px 14px; border-bottom: 1px solid var(--line); vertical-align: top; }
.table tr:last-child td { border-bottom: 0; }
.table tbody tr:hover { background: #fafbfc; }
.table .actions { text-align: right; white-space: nowrap; }
.empty { text-align: center; padding: 36px 16px; color: var(--ink-3); }
.empty .icon { width: 32px; height: 32px; margin-bottom: 8px; color: var(--line-strong); }
@media (max-width: 720px) {
  .table.responsive thead { display: none; }
  .table.responsive tr { display: block; border-bottom: 1px solid var(--line); padding: 8px 0; }
  .table.responsive td { display: flex; justify-content: space-between; gap: 12px; border: 0; padding: 6px 14px; }
  .table.responsive td::before { content: attr(data-label); font-weight: 600; color: var(--ink-3); font-size: .82rem; }
  .table.responsive .actions { justify-content: flex-end; }
  .table.responsive .actions::before { content: none; }
}
.pagination { display: flex; gap: 6px; flex-wrap: wrap; align-items: center; justify-content: space-between; padding: 14px 20px; border-top: 1px solid var(--line); font-size: .88rem; }
.pagination .pages { display: flex; gap: 4px; flex-wrap: wrap; }
.pagination a, .pagination span.cur { min-width: 34px; height: 34px; display: inline-flex; align-items: center; justify-content: center; padding: 0 9px; border-radius: 6px; border: 1px solid var(--line); text-decoration: none; color: var(--ink-2); background: var(--surface); }
.pagination span.cur { background: var(--brand); border-color: var(--brand); color: #fff; font-weight: 600; }

.filters { display: flex; flex-wrap: wrap; gap: 10px; align-items: flex-end; padding: 16px 20px; border-bottom: 1px solid var(--line); background: var(--surface); }
.filters .field { min-width: 150px; flex: 1 1 150px; }
.filters .field.grow { flex: 3 1 220px; }

/* ---------- Public header / footer ---------- */
.site-header { background: var(--surface); border-bottom: 1px solid var(--line); position: sticky; top: 0; z-index: 40; }
.site-header .container { display: flex; align-items: center; gap: 20px; min-height: 66px; }
.brand { display: inline-flex; align-items: center; gap: 10px; font-weight: 700; font-size: 1.12rem; color: var(--ink); text-decoration: none; }
.brand img { max-height: 38px; width: auto; }
.brand-mark { width: 34px; height: 34px; border-radius: 9px; background: var(--brand); color: #fff; display: inline-flex; align-items: center; justify-content: center; font-weight: 700; }
.main-nav { display: flex; gap: 4px; margin-left: 8px; }
.main-nav a { padding: 8px 12px; border-radius: 7px; color: var(--ink-2); text-decoration: none; font-weight: 500; }
.main-nav a:hover, .main-nav a.active { background: var(--surface-2); color: var(--ink); }
.header-actions { margin-left: auto; display: flex; gap: 8px; align-items: center; }
.lang-switch { display: inline-flex; border: 1px solid var(--line-strong); border-radius: 999px; overflow: hidden; }
.lang-switch a { padding: 5px 11px; font-size: .82rem; font-weight: 600; text-decoration: none; color: var(--ink-2); }
.lang-switch a[aria-current="true"] { background: var(--brand-2); color: #fff; }
.nav-toggle { display: none; }
@media (max-width: 1100px) {
  .main-nav { display: none; position: absolute; top: 66px; left: 0; right: 0; background: var(--surface); flex-direction: column; padding: 10px 20px 16px; border-bottom: 1px solid var(--line); box-shadow: var(--shadow-lg); }
  .main-nav.open { display: flex; }
  .nav-toggle { display: inline-flex; }
  .header-actions .hide-sm { display: none; }
}
.site-footer { background: var(--brand-2); color: #cbd5e1; margin-top: 64px; padding: 44px 0 24px; font-size: .92rem; }
.site-footer a { color: #e2e8f0; text-decoration: none; }
.site-footer a:hover { color: #fff; text-decoration: underline; }
.site-footer h3 { color: #fff; font-size: .98rem; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1.4fr; gap: 28px; }
.footer-grid ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.12); margin-top: 32px; padding-top: 18px; display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; font-size: .85rem; }
.social { display: flex; gap: 8px; margin-top: 12px; }
.social a { width: 36px; height: 36px; display: inline-flex; align-items: center; justify-content: center; border-radius: 8px; background: rgba(255,255,255,.08); }
@media (max-width: 860px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .footer-grid { grid-template-columns: 1fr; } }

/* ---------- Home ---------- */
.hero { background: linear-gradient(160deg, var(--brand-2) 0%, color-mix(in srgb, var(--brand-2) 70%, var(--brand)) 100%); color: #fff; padding: 72px 0 84px; position: relative; overflow: hidden; }
.hero::after { content: ""; position: absolute; right: -120px; top: -120px; width: 420px; height: 420px; border-radius: 50%; background: radial-gradient(circle, color-mix(in srgb, var(--accent) 45%, transparent), transparent 70%); opacity: .5; }
.hero .container { position: relative; z-index: 1; }
.hero h1 { color: #fff; font-size: clamp(1.9rem, 4vw, 2.9rem); max-width: 760px; letter-spacing: -0.02em; }
.hero p.lead { font-size: 1.12rem; color: #dbe4ee; max-width: 640px; }
.hero-search { margin-top: 26px; background: #fff; border-radius: 14px; padding: 8px; display: flex; gap: 8px; max-width: 760px; box-shadow: var(--shadow-lg); flex-wrap: wrap; }
.hero-search input { border: 0; min-height: 48px; flex: 1 1 220px; }
.hero-search input:focus { box-shadow: none; }
.hero-search .btn { min-height: 48px; padding: 0 22px; }
.hero-cta { display: flex; gap: 10px; margin-top: 22px; flex-wrap: wrap; }
.hero-cta .btn-secondary { background: transparent; color: #fff; border-color: rgba(255,255,255,.4); }
.hero-cta .btn-secondary:hover { background: rgba(255,255,255,.08); }
.section { padding: 56px 0 0; }
.section-head { display: flex; justify-content: space-between; align-items: end; gap: 16px; margin-bottom: 22px; flex-wrap: wrap; }
.section-head p { margin: 0; color: var(--ink-3); }
.stat-band { margin-top: -38px; position: relative; z-index: 2; }
.stat-band .card { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; padding: 22px 26px; }
.stat-band .num { font-size: 1.7rem; font-weight: 700; color: var(--ink); }
.stat-band .lbl { color: var(--ink-3); font-size: .9rem; }
@media (max-width: 620px) { .stat-band .card { grid-template-columns: 1fr; } }
.feature { display: flex; gap: 14px; align-items: flex-start; }
.feature .ic { width: 44px; height: 44px; border-radius: 11px; background: var(--brand-soft); color: var(--brand-strong); display: inline-flex; align-items: center; justify-content: center; flex: none; }
.feature .ic .icon { width: 22px; height: 22px; }
.cta-split { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.cta-split .card { padding: 28px; }
.cta-split .card.dark { background: var(--brand-2); color: #e2e8f0; border-color: var(--brand-2); }
.cta-split .card.dark h3 { color: #fff; }
@media (max-width: 720px) { .cta-split { grid-template-columns: 1fr; } }

/* ---------- Auth pages ---------- */
.auth-wrap { min-height: 100vh; display: grid; grid-template-columns: 1fr minmax(420px, 520px); }
.auth-aside { background: linear-gradient(170deg, var(--brand-2), color-mix(in srgb, var(--brand-2) 65%, var(--brand))); color: #e2e8f0; padding: 48px; display: flex; flex-direction: column; justify-content: space-between; }
.auth-aside .brand { color: #fff; }
.auth-aside h2 { color: #fff; font-size: 1.9rem; max-width: 460px; }
.auth-aside ul { list-style: none; padding: 0; display: grid; gap: 12px; }
.auth-aside li { display: flex; gap: 10px; }
.auth-main { background: var(--surface); padding: 40px 44px; display: flex; flex-direction: column; justify-content: center; }
.auth-main .top { display: flex; justify-content: space-between; align-items: center; margin-bottom: 36px; }
.auth-main h1 { font-size: 1.5rem; }
.auth-tabs { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; background: var(--surface-2); padding: 4px; border-radius: 9px; margin-bottom: 20px; }
.auth-tabs a { text-align: center; padding: 8px; border-radius: 7px; text-decoration: none; color: var(--ink-2); font-weight: 600; font-size: .9rem; }
.auth-tabs a.active { background: var(--surface); color: var(--ink); box-shadow: var(--shadow); }
.choice-card { display: flex; gap: 14px; align-items: center; padding: 18px; border: 1px solid var(--line-strong); border-radius: var(--radius); text-decoration: none; color: var(--ink); transition: border-color .15s, box-shadow .15s; }
.choice-card:hover { border-color: var(--brand); box-shadow: 0 0 0 3px color-mix(in srgb, var(--brand) 14%, transparent); color: var(--ink); }
.choice-card .ic { width: 46px; height: 46px; border-radius: 11px; background: var(--brand-soft); color: var(--brand-strong); display: inline-flex; align-items: center; justify-content: center; }
@media (max-width: 900px) { .auth-wrap { grid-template-columns: 1fr; } .auth-aside { display: none; } .auth-main { padding: 28px 20px; } }

/* ---------- Dashboard shell ---------- */
.dash { display: grid; grid-template-columns: var(--sidebar-w) 1fr; min-height: 100vh; }
.sidebar { background: var(--brand-2); color: #cbd5e1; position: sticky; top: 0; height: 100vh; overflow-y: auto; display: flex; flex-direction: column; }
.sidebar .brand { color: #fff; padding: 18px 20px; min-height: 66px; border-bottom: 1px solid rgba(255,255,255,.08); }
.side-nav { padding: 12px 10px; display: flex; flex-direction: column; gap: 2px; flex: 1; }
.side-nav .group { font-size: .72rem; text-transform: uppercase; letter-spacing: .08em; color: #8494a7; padding: 14px 12px 6px; }
html[lang="bn"] .side-nav .group { text-transform: none; letter-spacing: 0; font-size: .8rem; }
.side-nav a { display: flex; gap: 11px; align-items: center; padding: 9px 12px; border-radius: 8px; color: #cbd5e1; text-decoration: none; font-weight: 500; font-size: .93rem; }
.side-nav a:hover { background: rgba(255,255,255,.06); color: #fff; }
.side-nav a.active { background: color-mix(in srgb, var(--brand) 40%, transparent); color: #fff; }
.side-nav .count { margin-left: auto; background: var(--accent); color: #111; border-radius: 999px; font-size: .72rem; padding: 0 7px; font-weight: 700; }
.side-foot { padding: 14px 20px; border-top: 1px solid rgba(255,255,255,.08); font-size: .8rem; color: #8494a7; }
.dash-main { min-width: 0; display: flex; flex-direction: column; }
.topbar { background: var(--surface); border-bottom: 1px solid var(--line); min-height: 66px; display: flex; align-items: center; gap: 14px; padding: 0 26px; position: sticky; top: 0; z-index: 30; }
.topbar .spacer { flex: 1; }
.topbar .user-chip { display: flex; align-items: center; gap: 10px; }
.avatar { width: 34px; height: 34px; border-radius: 50%; background: var(--brand-soft); color: var(--brand-strong); display: inline-flex; align-items: center; justify-content: center; font-weight: 700; font-size: .9rem; overflow: hidden; flex: none; }
.avatar img { width: 100%; height: 100%; object-fit: cover; }
.avatar.lg { width: 64px; height: 64px; font-size: 1.4rem; }
.bell { position: relative; }
.bell .dot { position: absolute; top: 4px; right: 4px; min-width: 16px; height: 16px; border-radius: 999px; background: var(--bad); color: #fff; font-size: .66rem; display: inline-flex; align-items: center; justify-content: center; padding: 0 4px; font-weight: 700; }
.content { padding: 26px; max-width: 1280px; width: 100%; }
.page-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 16px; flex-wrap: wrap; margin-bottom: 20px; }
.page-head h1 { margin: 0; font-size: 1.45rem; }
.page-head p { margin: 4px 0 0; color: var(--ink-3); }
.breadcrumb { font-size: .84rem; color: var(--ink-3); margin-bottom: 4px; }
.breadcrumb a { color: var(--ink-3); }
.sidebar-toggle { display: none; }
.scrim { display: none; }
@media (max-width: 980px) {
  .dash { grid-template-columns: 1fr; }
  .sidebar { position: fixed; left: 0; top: 0; bottom: 0; width: var(--sidebar-w); transform: translateX(-100%); transition: transform .2s ease; z-index: 60; }
  .sidebar.open { transform: none; box-shadow: var(--shadow-lg); }
  .sidebar-toggle { display: inline-flex; }
  .content { padding: 18px 16px; }
  .topbar { padding: 0 14px; }
  .topbar .hide-sm { display: none; }
  .scrim { position: fixed; inset: 0; background: rgba(15,23,42,.45); z-index: 55; display: none; }
  .scrim.show { display: block; }
}

/* ---------- Dashboard widgets ---------- */
.kpi { display: flex; flex-direction: column; gap: 4px; }
.kpi .lbl { color: var(--ink-3); font-size: .86rem; display: flex; align-items: center; gap: 8px; }
.kpi .val { font-size: 1.75rem; font-weight: 700; letter-spacing: -0.02em; font-variant-numeric: tabular-nums; }
.kpi .sub { font-size: .82rem; color: var(--ink-3); }
.kpi .sub b { color: var(--ok); font-weight: 600; }
.bars { display: flex; align-items: flex-end; gap: 3px; height: 160px; padding-top: 10px; }
.bars .bar { flex: 1; display: flex; flex-direction: column-reverse; min-width: 3px; border-radius: 3px 3px 0 0; overflow: hidden; background: var(--surface-2); position: relative; }
.bars .bar span { display: block; width: 100%; }
.bars .bar .c { background: var(--brand); }
.bars .bar .e { background: var(--accent); }
.bars .bar:hover { outline: 2px solid var(--line-strong); }
.legend { display: flex; gap: 16px; font-size: .84rem; color: var(--ink-3); }
.legend i { display: inline-block; width: 10px; height: 10px; border-radius: 3px; margin-right: 6px; vertical-align: 0; }
.progress { height: 8px; border-radius: 999px; background: var(--surface-2); overflow: hidden; }
.progress > span { display: block; height: 100%; background: var(--brand); border-radius: 999px; }
.list { list-style: none; margin: 0; padding: 0; }
.list li { padding: 11px 0; border-bottom: 1px solid var(--line); display: flex; gap: 12px; justify-content: space-between; align-items: flex-start; font-size: .92rem; }
.list li:last-child { border-bottom: 0; }
.dl { display: grid; grid-template-columns: 170px 1fr; gap: 10px 16px; font-size: .93rem; margin: 0; }
.dl dt { color: var(--ink-3); }
.dl dd { margin: 0; word-break: break-word; }
@media (max-width: 560px) { .dl { grid-template-columns: 1fr; gap: 2px; } .dl dd { margin-bottom: 8px; } }
.tabs { display: flex; gap: 2px; border-bottom: 1px solid var(--line); margin-bottom: 20px; overflow-x: auto; }
.tabs a { padding: 10px 14px; text-decoration: none; color: var(--ink-3); font-weight: 600; font-size: .92rem; border-bottom: 2px solid transparent; margin-bottom: -1px; white-space: nowrap; }
.tabs a.active { color: var(--ink); border-color: var(--brand); }
.perm-module { border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 12px 14px; }
.perm-module h4 { margin: 0 0 8px; font-size: .92rem; display: flex; justify-content: space-between; }
.perm-module .opts { display: flex; flex-wrap: wrap; gap: 6px 16px; }
.danger-zone { border-color: #f5c2c2; }
.danger-zone h2 { color: var(--bad); }
details.inline-form summary { cursor: pointer; list-style: none; }
details.inline-form summary::-webkit-details-marker { display: none; }
details.inline-form[open] { flex-basis: 100%; }
.swatch { display: inline-block; width: 14px; height: 14px; border-radius: 4px; vertical-align: -2px; border: 1px solid rgba(0,0,0,.1); }

/* ---------- Errors / minimal ---------- */
.center-page { min-height: 100vh; display: flex; align-items: center; justify-content: center; padding: 24px; text-align: center; }
.center-page .code { font-size: 4.5rem; font-weight: 700; color: var(--brand); line-height: 1; letter-spacing: -0.03em; }

@media print { .sidebar, .topbar, .site-header, .site-footer { display: none !important; } .dash { display: block; } }
@media (prefers-reduced-motion: reduce) { * { transition: none !important; } }

/* Main + side column layout that stacks on small screens */
.split { grid-template-columns: minmax(0, 1.7fr) minmax(0, 1fr); }
@media (max-width: 980px) { .split { grid-template-columns: minmax(0, 1fr); } }
.grid > * { min-width: 0; }
.list li > span:first-child { min-width: 0; overflow-wrap: anywhere; }
@media (max-width: 560px) { .list li { flex-wrap: wrap; } }

/* ==========================================================================
   Jobs, applications, billing, CV builder, CMS, community, ads, operations
   ========================================================================== */
.narrow { max-width: 860px; }
.center { text-align: center; }
.right { text-align: right; }
.table td.num, .table th.num { text-align: right; font-variant-numeric: tabular-nums; }
.table.compact td, .table.compact th { padding: 7px 10px; }
.text-bad { color: var(--bad); }
.small { font-size: .86rem; } .muted { color: var(--ink-3); } .mono { font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; }
.h2 { font-size: 1.25rem; } .h3 { font-size: 1.05rem; margin: 0 0 .6em; }
.card-pad { padding: 16px 20px; margin: 0; }
.row-actions { display: flex; gap: 6px; align-items: center; flex-wrap: wrap; }
.row-actions form, .inline-form { display: inline-flex; gap: 6px; align-items: center; flex-wrap: wrap; margin: 0; }
.inline-form input, .inline-form select { width: auto; min-width: 0; }
.w-sm { width: 80px !important; }
.btn.danger, .btn-ghost.danger { color: var(--bad); }
.btn.is-disabled { pointer-events: none; opacity: .65; }
.btn-light { background: #fff; color: var(--brand-2); }
.btn-light:hover { background: #f1f5f9; color: var(--brand-2); }
.btn-outline-light { background: transparent; color: #fff; border-color: rgba(255,255,255,.45); }
.btn-outline-light:hover { background: rgba(255,255,255,.1); color: #fff; }
button.link { background: none; border: 0; padding: 0; color: var(--brand-strong); cursor: pointer; font: inherit; }
dl.compact { display: grid; grid-template-columns: max-content 1fr; gap: 6px 16px; margin: 0; font-size: .93rem; }
dl.compact dt { color: var(--ink-3); } dl.compact dd { margin: 0; overflow-wrap: anywhere; }
dl.compact.inline { max-width: 420px; margin: 16px auto; text-align: left; }
ul.plain { list-style: none; padding: 0; margin: 0 0 12px; display: grid; gap: 4px; }
.check-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 8px 16px; }
.inline-fields { display: flex; gap: 12px; align-items: center; }
.inline-fields input[type=number] { max-width: 140px; }
pre.code { background: var(--surface-2); padding: 10px 12px; border-radius: var(--radius-sm); overflow-x: auto; white-space: pre-wrap; word-break: break-all; margin: 6px 0 0; }
.thumb { display: block; max-width: 220px; max-height: 120px; border-radius: 6px; border: 1px solid var(--line); margin: 6px 0; object-fit: cover; }
.sub-card { border: 1px dashed var(--line-strong); border-radius: var(--radius-sm); padding: 12px; margin-bottom: 10px; }
.tabs.sub { margin-top: -12px; } .tabs.center { justify-content: center; border: 0; } .tabs.compact a { padding: 6px 10px; }
.page-banner { background: linear-gradient(160deg, var(--brand-2), color-mix(in srgb, var(--brand-2) 75%, var(--brand))); color: #e2e8f0; padding: 40px 0 34px; }
.page-banner h1 { color: #fff; margin-bottom: 6px; } .page-banner p { color: #cbd5e1; max-width: 680px; }
.page-banner .tabs a { color: #cbd5e1; } .page-banner .tabs a.active { color: #fff; border-color: var(--accent); }
.search-inline { display: flex; gap: 8px; max-width: 520px; margin-top: 14px; }
.search-inline input { flex: 1; }
.breadcrumbs { margin-bottom: 10px; color: var(--ink-3); }
.eyebrow { text-transform: uppercase; letter-spacing: .06em; font-weight: 600; color: var(--brand-strong); text-decoration: none; }
.preview-bar { background: var(--warn-soft); color: #78350f; padding: 8px 16px; text-align: center; font-size: .9rem; border-bottom: 1px solid #f3d9a8; }
.filters-bar { display: flex; gap: 10px; flex-wrap: wrap; align-items: center; margin-bottom: 16px; padding: 12px 16px; }
.filters-bar input[type=search], .filters-bar input[type=text] { flex: 1 1 200px; width: auto; }
.filters-bar select, .filters-bar input[type=date], .filters-bar input[type=number], .filters-bar input[type=email] { flex: 0 1 auto; width: auto; }
.export-form { margin: -6px 0 14px; justify-content: flex-end; display: flex; }

/* Job listing */
.listing { display: grid; grid-template-columns: 280px minmax(0, 1fr); gap: 22px; align-items: start; }
@media (max-width: 960px) { .listing { grid-template-columns: minmax(0, 1fr); } }
.filters-panel { position: sticky; top: 84px; }
@media (max-width: 960px) { .filters-panel { position: static; } }
.filters-panel .field { margin-bottom: 12px; }
.job-list { display: grid; gap: 12px; }
.job-list.two-col { grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (max-width: 820px) { .job-list.two-col { grid-template-columns: minmax(0, 1fr); } }
.job-card { display: grid; grid-template-columns: 52px minmax(0, 1fr) auto; gap: 14px; align-items: start; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 16px; box-shadow: var(--shadow); transition: border-color .15s, box-shadow .15s; }
.job-card:hover { border-color: var(--line-strong); box-shadow: var(--shadow-lg); }
.job-card.is-featured { border-color: color-mix(in srgb, var(--accent) 55%, var(--line)); background: linear-gradient(0deg, var(--surface), color-mix(in srgb, var(--accent) 5%, var(--surface))); }
.job-logo { width: 48px; height: 48px; border-radius: 10px; background: var(--brand-soft); color: var(--brand-strong); display: inline-flex; align-items: center; justify-content: center; font-weight: 700; overflow: hidden; flex: none; }
.job-logo img { width: 100%; height: 100%; object-fit: contain; background: #fff; }
.job-main h3 { margin: 0 0 2px; font-size: 1.02rem; } .job-main h3 a { color: var(--ink); text-decoration: none; } .job-main h3 a:hover { color: var(--brand-strong); }
.job-company { margin: 0 0 6px; color: var(--ink-2); font-size: .92rem; }
.job-meta { display: flex; flex-wrap: wrap; gap: 4px 14px; margin: 0; color: var(--ink-3); font-size: .86rem; }
.job-meta span { display: inline-flex; align-items: center; gap: 4px; } .job-meta .icon { width: 15px; height: 15px; }
.job-side { display: flex; flex-direction: column; align-items: flex-end; gap: 6px; }
@media (max-width: 560px) { .job-card { grid-template-columns: 44px minmax(0, 1fr); } .job-side { grid-column: 1 / -1; flex-direction: row; flex-wrap: wrap; align-items: center; } }
.verified { color: var(--ok); display: inline-flex; vertical-align: -2px; } .verified .icon { width: 16px; height: 16px; }
.saved-row { display: grid; gap: 4px; } .saved-row form { justify-self: end; }
.job-page { display: block; }
.job-page > .grid.split { grid-template-columns: minmax(0, 1fr) 340px; gap: 22px; align-items: start; }
@media (max-width: 960px) { .job-page > .grid.split { grid-template-columns: minmax(0, 1fr); } }
.dl.compact { grid-template-columns: minmax(80px, 110px) minmax(0, 1fr); gap: 10px 12px; }
.dl.compact dd { overflow-wrap: break-word; word-break: normal; min-width: 0; }
@media (max-width: 560px) { .dl.compact { grid-template-columns: 1fr; gap: 2px; } }
.job-head { display: flex; gap: 16px; align-items: flex-start; }
.job-head .job-logo { width: 64px; height: 64px; }
.job-actions { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 14px; }
.prose { line-height: 1.7; overflow-wrap: anywhere; }
.prose h2 { font-size: 1.2rem; margin-top: 1.4em; } .prose h3 { font-size: 1.05rem; margin-top: 1.2em; }
.prose ul, .prose ol { padding-left: 1.3em; } .prose img { border-radius: 8px; }
.prose blockquote { margin: 1em 0; padding: 4px 16px; border-left: 3px solid var(--brand); color: var(--ink-2); }
.tags { display: flex; flex-wrap: wrap; gap: 6px; } .tag { background: var(--surface-2); border-radius: 999px; padding: 3px 10px; font-size: .84rem; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 18px; }
.chip { border: 1px solid var(--line-strong); background: var(--surface); padding: 5px 12px; border-radius: 999px; font-size: .86rem; text-decoration: none; color: var(--ink-2); }
.chip.active, .chip:hover { background: var(--brand-2); color: #fff; border-color: var(--brand-2); }
.share-row { display: flex; gap: 6px; flex-wrap: wrap; }
.company-grid, .cat-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 12px; }
.company-card, .cat-card { display: flex; gap: 12px; align-items: center; text-decoration: none; color: var(--ink); padding: 14px 16px; }
.company-card > span:last-child, .cat-card > span:last-child { display: flex; flex-direction: column; min-width: 0; }
.cat-card .ic { width: 40px; height: 40px; border-radius: 10px; background: var(--brand-soft); color: var(--brand-strong); display: inline-flex; align-items: center; justify-content: center; flex: none; }
.company-card:hover, .cat-card:hover { border-color: var(--brand); }
.section.alt { background: linear-gradient(180deg, transparent, color-mix(in srgb, var(--brand) 4%, transparent)); padding-bottom: 8px; }
.hero[style*="--hero-img"] { background-image: linear-gradient(160deg, color-mix(in srgb, var(--brand-2) 88%, transparent), color-mix(in srgb, var(--brand-2) 70%, transparent)), var(--hero-img); background-size: cover; background-position: center; }
.hero-center .container { text-align: center; } .hero-center h1, .hero-center p.lead, .hero-center .hero-search { margin-left: auto; margin-right: auto; } .hero-center .hero-cta { justify-content: center; }
.promo { display: flex; justify-content: space-between; align-items: center; gap: 20px; flex-wrap: wrap; padding: 26px 28px; }
.promo h2 { margin-bottom: 4px; } .promo p { margin: 0; }
.promo.dark { background: var(--brand-2); color: #cbd5e1; border-color: var(--brand-2); } .promo.dark h2 { color: #fff; }
figure.quote { margin: 0; }
.section-head h2 { margin: 0; }
.quote blockquote { margin: 0 0 10px; font-size: 1.02rem; color: var(--ink-2); }
.newsletter { display: flex; justify-content: space-between; align-items: center; gap: 18px; flex-wrap: wrap; } .newsletter h2 { margin-bottom: 2px; } .newsletter p { margin: 0; }
.newsletter .inline-form input[type=email] { min-width: 240px; }

/* Profiles, timelines */
.profile-head { display: flex; gap: 14px; align-items: center; }
.avatar-lg { width: 72px; height: 72px; border-radius: 50%; object-fit: cover; font-size: 1.6rem; display: inline-flex; align-items: center; justify-content: center; background: var(--brand-soft); color: var(--brand-strong); font-weight: 700; flex: none; }
.entries { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.timeline { list-style: none; margin: 0; padding: 0 0 0 14px; border-left: 2px solid var(--line); display: grid; gap: 6px; }
.timeline li { position: relative; font-size: .9rem; } .timeline li::before { content: ""; position: absolute; left: -20px; top: 7px; width: 10px; height: 10px; border-radius: 50%; background: var(--brand); border: 2px solid var(--surface); }
.list li.selected { background: var(--brand-soft); margin: 0 -20px; padding-left: 20px; padding-right: 20px; }
.card.flush .list li { padding-left: 20px; padding-right: 20px; }
.topics li { align-items: center; }
.comment { border-bottom: 1px solid var(--line); padding: 10px 0; } .comment:last-of-type { border-bottom: 0; }
.reply { margin-top: 10px; } .reply.is-answer { border-color: var(--ok); background: color-mix(in srgb, var(--ok) 4%, var(--surface)); } .reply.is-hidden { opacity: .55; }

/* Blog */
.post-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 16px; }
.post-card { padding: 0; overflow: hidden; display: flex; flex-direction: column; }
.post-img { display: block; aspect-ratio: 16 / 9; background: var(--surface-2); overflow: hidden; } .post-img img { width: 100%; height: 100%; object-fit: cover; }
.post-body { padding: 16px; } .post-body h2 a, .post-body h3 a { color: var(--ink); text-decoration: none; }
.post-hero { width: 100%; border-radius: var(--radius); margin: 10px 0 20px; aspect-ratio: 16 / 9; object-fit: cover; }

/* Pricing & billing */
.pricing-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 18px; align-items: stretch; }
.price-card { position: relative; display: flex; flex-direction: column; gap: 6px; padding: 24px; }
.price-card.highlighted { border: 2px solid var(--brand); box-shadow: var(--shadow-lg); }
.ribbon { position: absolute; top: -12px; right: 18px; background: var(--accent); color: #1f2937; font-size: .76rem; font-weight: 700; padding: 3px 10px; border-radius: 999px; }
.price { display: flex; align-items: baseline; gap: 8px; flex-wrap: wrap; margin: 6px 0; }
.price .amount { font-size: 1.9rem; font-weight: 700; letter-spacing: -0.02em; } .price .per { color: var(--ink-3); font-size: .9rem; }
.features { list-style: none; padding: 0; margin: 8px 0 16px; display: grid; gap: 7px; font-size: .92rem; flex: 1; }
.features li { display: flex; gap: 8px; align-items: flex-start; } .features li .icon { color: var(--ok); margin-top: 2px; }
.features li.off { color: var(--ink-3); } .features li.off .icon { color: var(--line-strong); }
.features.compact { gap: 4px; font-size: .88rem; }
.price-cta .btn { width: 100%; }
.table.summary th { background: none; text-transform: none; font-size: .93rem; color: var(--ink-2); letter-spacing: 0; }
.table.summary tr.total td, .table.summary tr.total th { border-top: 2px solid var(--line-strong); color: var(--ink); }
.gateway-list { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 10px; }
.gateway-option { display: flex; align-items: center; gap: 8px; border: 1px solid var(--line-strong); border-radius: var(--radius-sm); padding: 12px; cursor: pointer; font-weight: 600; }
.gateway-option:has(input:checked) { border-color: var(--brand); background: var(--brand-soft); }
.result-card { max-width: 620px; margin: 0 auto; padding: 32px; }
.result-icon { width: 64px; height: 64px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; margin-bottom: 12px; }
.result-icon .icon { width: 32px; height: 32px; } .result-icon.ok { background: var(--ok-soft); color: var(--ok); } .result-icon.wait { background: var(--info-soft); color: var(--info); } .result-icon.bad { background: var(--bad-soft); color: var(--bad); }
.progress.sm { height: 5px; margin-top: 4px; }
.table.usage td { width: 45%; }
.spinner { width: 36px; height: 36px; border: 4px solid var(--line); border-top-color: var(--brand); border-radius: 50%; margin: 0 auto 10px; animation: spin 1s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }

/* CV builder */
.cv-editor { grid-template-columns: minmax(0, 420px) minmax(0, 1fr); }
@media (max-width: 1100px) { .cv-editor { grid-template-columns: minmax(0, 1fr); } }
.tpl-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 8px; border: 0; padding: 0; margin: 0; }
.tpl-grid legend, fieldset legend { font-weight: 600; font-size: .9rem; margin-bottom: 8px; padding: 0; }
fieldset { border: 0; padding: 0; margin: 0; min-width: 0; }
.tpl-option { display: flex; flex-direction: column; gap: 6px; border: 1px solid var(--line-strong); border-radius: var(--radius-sm); padding: 8px; cursor: pointer; font-size: .86rem; }
.tpl-option input { position: absolute; opacity: 0; pointer-events: none; }
.tpl-option:has(input:checked) { border-color: var(--brand); box-shadow: 0 0 0 2px var(--brand-soft); }
.tpl-option:has(input:focus-visible) { outline: 3px solid color-mix(in srgb, var(--brand) 55%, white); }
.tpl-option.locked { opacity: .7; }
.tpl-swatch { height: 46px; border-radius: 5px; background: linear-gradient(var(--sw) 0 22%, #fff 22%), repeating-linear-gradient(180deg, #e5e7eb 0 3px, #fff 3px 8px); border: 1px solid var(--line); }
.tpl-swatch[data-family="sidebar"] { background: linear-gradient(90deg, var(--sw) 0 30%, #fff 30%), #fff; }
.tpl-swatch[data-family="two_column"] { background: linear-gradient(90deg, #fff 0 64%, color-mix(in srgb, var(--sw) 20%, #fff) 64%); }
.colors { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; }
.color-dot { width: 28px; height: 28px; border-radius: 50%; background: var(--c); cursor: pointer; border: 2px solid #fff; box-shadow: 0 0 0 1px var(--line-strong); }
.color-dot input { position: absolute; opacity: 0; } .color-dot:has(input:checked) { box-shadow: 0 0 0 2px var(--ink); }
.color-custom input { width: 36px; height: 30px; padding: 0; border: 0; background: none; }
.sortable { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px; }
.sortable li { display: flex; justify-content: space-between; align-items: center; border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 4px 8px; background: var(--surface); }
.sortable .move { display: inline-flex; gap: 2px; }
.cv-preview-card { position: sticky; top: 80px; }
.preview-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 8px; }
.cv-frame { width: 100%; height: 78vh; min-height: 520px; border: 1px solid var(--line); border-radius: var(--radius-sm); background: #e5e7eb; }

/* Rich text editor */
.rte-toolbar { display: flex; flex-wrap: wrap; gap: 2px; border: 1px solid var(--line-strong); border-bottom: 0; border-radius: var(--radius-sm) var(--radius-sm) 0 0; padding: 4px; background: var(--surface-2); }
.rte-toolbar button { min-width: 32px; height: 30px; border: 0; background: transparent; border-radius: 5px; cursor: pointer; font-size: .9rem; color: var(--ink-2); }
.rte-toolbar button:hover, .rte-toolbar button[aria-pressed="true"] { background: var(--surface); color: var(--ink); }
.rte-area { min-height: 220px; border: 1px solid var(--line-strong); border-radius: 0 0 var(--radius-sm) var(--radius-sm); padding: 12px 14px; background: var(--surface); }
.rte-area:focus { outline: 3px solid color-mix(in srgb, var(--brand) 35%, white); }
.rte-source { font-family: ui-monospace, Menlo, Consolas, monospace; font-size: .85rem; border-radius: 0 0 var(--radius-sm) var(--radius-sm); }

/* Ads, consent */
.ad-slot { margin: 16px auto; text-align: center; max-width: 100%; }
.ad-slot img { border-radius: 8px; display: inline-block; }
.ad-label { display: block; font-size: .7rem; text-transform: uppercase; letter-spacing: .08em; color: var(--ink-3); margin-bottom: 4px; }
.consent { position: fixed; left: 16px; right: 16px; bottom: 16px; z-index: 60; max-width: 760px; margin: 0 auto; background: var(--brand-2); color: #e2e8f0; border-radius: var(--radius); padding: 14px 18px; display: flex; gap: 14px; align-items: center; justify-content: space-between; box-shadow: var(--shadow-lg); flex-wrap: wrap; }
.consent[hidden] { display: none; } .consent p { margin: 0; font-size: .9rem; } .consent a { color: #fff; }

/* Reports */
.spark { display: flex; align-items: flex-end; gap: 1px; height: 46px; margin-top: 8px; }
.spark span { flex: 1; background: color-mix(in srgb, var(--brand) 65%, white); border-radius: 2px 2px 0 0; min-width: 1px; }
.funnel { display: grid; gap: 10px; } .funnel > div { display: grid; grid-template-columns: 200px 1fr 90px; gap: 12px; align-items: center; }
.funnel .bar { height: 12px; background: var(--surface-2); border-radius: 999px; overflow: hidden; } .funnel .bar span { display: block; height: 100%; background: var(--brand); }
@media (max-width: 620px) { .funnel > div { grid-template-columns: 1fr 70px; } .funnel .bar { grid-column: 1 / -1; grid-row: 2; } }
.footer-grid { grid-template-columns: 1.6fr 1fr 1fr 1fr 1.3fr; }
@media (max-width: 860px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .footer-grid { grid-template-columns: 1fr; } }
@media (max-width: 620px) { .form-grid { grid-template-columns: minmax(0, 1fr); } }
.form-grid > * { min-width: 0; }
.hint .mono, .mono { overflow-wrap: anywhere; }

/* ---------- 1.1: appearance options ---------- */
.topbar-note { color: #1f2937; font-size: .88rem; font-weight: 600; text-align: center; padding: 7px 0; }
.topbar-note a { color: inherit; text-decoration: none; }
.site-header.not-sticky { position: static; }
.btn-accent { background: var(--accent); color: #1f2937; }
.btn-accent:hover { background: color-mix(in srgb, var(--accent) 85%, black); color: #1f2937; }
.brand img { display: block; }
.brand-footer img, .brand-light img { max-width: 220px; }
.auth-logo { display: none; margin-bottom: 18px; }
@media (max-width: 900px) { .auth-logo { display: block; } }
.auth-aside[data-image] { background-image: linear-gradient(170deg, color-mix(in srgb, var(--brand-2) 82%, transparent), color-mix(in srgb, var(--brand-2) 60%, transparent)), var(--auth-img); background-size: cover; background-position: center; }
.logo-thumb { background: repeating-conic-gradient(#eef1f4 0 25%, #fff 0 50%) 0 0 / 14px 14px; object-fit: contain; }
.footer-newsletter { display: flex; gap: 6px; margin-top: 12px; flex-wrap: wrap; }
.footer-newsletter input { flex: 1 1 140px; min-width: 0; }
.footer-payments { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 22px; }
.pay-chip { border: 1px solid rgba(255,255,255,.25); border-radius: 6px; padding: 3px 10px; font-size: .8rem; font-weight: 600; }

/* ---------- 1.1: homepage sections ---------- */
.hero.hero-normal { padding: 64px 0 76px; }
.hero.hero-large { padding: 104px 0 120px; }
.hero.hero-large h1 { font-size: clamp(2.1rem, 5vw, 3.6rem); }
.hero.hero-full { min-height: calc(100vh - 66px); display: flex; align-items: center; }
.hero.hero-full h1 { font-size: clamp(2.3rem, 6vw, 4.2rem); }
.btn-lg { min-height: 50px; padding: 12px 24px; font-size: 1.02rem; }
.slider { position: relative; background: var(--brand-2); color: #fff; }
.slider .slides { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; }
.slider .slides::-webkit-scrollbar { display: none; }
.slide { position: relative; flex: 0 0 100%; scroll-snap-align: start; min-height: 420px; display: flex; align-items: center; overflow: hidden; }
.slider-large .slide { min-height: 540px; } .slider-full .slide { min-height: calc(100vh - 66px); } .slider-normal .slide { min-height: 380px; }
.slide picture, .slide picture img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.slide::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(10,16,28,.78), rgba(10,16,28,.25)); }
.slide.theme-light::after { background: linear-gradient(90deg, rgba(255,255,255,.88), rgba(255,255,255,.35)); }
.slide.align-center::after { background: rgba(10,16,28,.55); } .slide.theme-light.align-center::after { background: rgba(255,255,255,.7); }
.slide-body { position: relative; z-index: 1; padding-top: 48px; padding-bottom: 96px; }
.slide-title { color: #fff; font-size: clamp(1.9rem, 4.6vw, 3.4rem); max-width: 760px; letter-spacing: -0.02em; margin-bottom: 12px; }
.slide .lead { font-size: 1.15rem; max-width: 620px; color: #e2e8f0; margin-bottom: 22px; }
.slide.theme-light .slide-title { color: var(--ink); } .slide.theme-light .lead { color: var(--ink-2); }
.slide.align-center .slide-body { text-align: center; } .slide.align-center .slide-title, .slide.align-center .lead { margin-left: auto; margin-right: auto; }
.slide.align-right .slide-body { text-align: right; } .slide.align-right .slide-title, .slide.align-right .lead { margin-left: auto; }
.slider-nav { position: absolute; top: 50%; transform: translateY(-50%); z-index: 2; width: 44px; height: 44px; border-radius: 50%; border: 0; background: rgba(255,255,255,.85); color: var(--ink); font-size: 1.6rem; line-height: 1; cursor: pointer; }
.slider-nav.prev { left: 16px; } .slider-nav.next { right: 16px; }
.slider-dots { position: absolute; left: 0; right: 0; bottom: 18px; z-index: 2; display: flex; justify-content: center; gap: 8px; }
.slider-dots button { width: 10px; height: 10px; border-radius: 999px; border: 0; background: rgba(255,255,255,.5); cursor: pointer; padding: 0; transition: width .2s; }
.slider-dots button[aria-current="true"] { width: 28px; background: var(--accent); }
.slider-search { position: relative; z-index: 3; margin-top: -40px; padding-bottom: 8px; }
@media (max-width: 640px) { .slider-nav { display: none; } .slide { min-height: 460px !important; } }
.center-head { justify-content: center; text-align: center; }
.pill-tabs { display: flex; justify-content: center; gap: 6px; margin: 0 auto 22px; background: var(--surface-2); border-radius: 999px; padding: 4px; width: max-content; max-width: 100%; }
.pill-tabs button { border: 0; background: transparent; padding: 8px 18px; border-radius: 999px; font: inherit; font-weight: 600; color: var(--ink-2); cursor: pointer; }
.pill-tabs button.active { background: var(--surface); color: var(--ink); box-shadow: var(--shadow); }
.steps-grid { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 16px; counter-reset: s; }
.step { position: relative; padding: 26px 22px; }
.step .ic { width: 48px; height: 48px; border-radius: 12px; background: var(--brand-soft); color: var(--brand-strong); display: inline-flex; align-items: center; justify-content: center; margin-bottom: 12px; }
.step-no { position: absolute; top: 14px; right: 18px; font-size: 2.2rem; font-weight: 800; color: var(--surface-2); line-height: 1; }
.faq-list { display: grid; gap: 10px; }
.faq summary { cursor: pointer; font-weight: 600; list-style: none; display: flex; justify-content: space-between; gap: 12px; }
.faq summary::after { content: "+"; font-size: 1.3rem; color: var(--brand); } .faq[open] summary::after { content: "−"; }
.faq .prose { margin-top: 10px; color: var(--ink-2); }
.tools-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 16px; }
.tool-card { text-decoration: none; color: var(--ink); display: flex; flex-direction: column; gap: 6px; padding: 24px; transition: transform .15s, box-shadow .15s; border-top: 4px solid var(--brand); }
.tool-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); color: var(--ink); }
.tool-card .ic { width: 46px; height: 46px; border-radius: 12px; display: inline-flex; align-items: center; justify-content: center; background: var(--brand-soft); color: var(--brand-strong); }
.tool-iq { border-top-color: #7c3aed; } .tool-iq .ic { background: #f3e8ff; color: #7c3aed; }
.tool-ai { border-top-color: #db2777; } .tool-ai .ic { background: #fce7f3; color: #db2777; }
.tool-ref { border-top-color: var(--accent); } .tool-ref .ic { background: #fef3c7; color: #b45309; }
.tool-go { margin-top: auto; font-weight: 600; color: var(--brand-strong); }

/* ---------- 1.1: popups ---------- */
.jp-popup { --pop: var(--brand); position: fixed; inset: 0; z-index: 90; display: flex; align-items: center; justify-content: center; padding: 16px; }
.jp-popup[hidden] { display: none; }
.jp-popup-backdrop { position: absolute; inset: 0; background: rgba(15, 23, 42, .55); backdrop-filter: blur(3px); opacity: 0; transition: opacity .2s; }
.jp-popup-card { position: relative; background: var(--surface); border-radius: 18px; box-shadow: 0 30px 80px -20px rgba(0,0,0,.45); max-width: 480px; width: 100%; overflow: hidden; transform: translateY(16px) scale(.97); opacity: 0; transition: transform .25s, opacity .25s; }
.jp-popup.open .jp-popup-backdrop { opacity: 1; } .jp-popup.open .jp-popup-card { transform: none; opacity: 1; }
.jp-popup-x { position: absolute; top: 10px; right: 12px; z-index: 2; width: 34px; height: 34px; border-radius: 50%; border: 0; background: rgba(255,255,255,.9); font-size: 1.4rem; line-height: 1; cursor: pointer; color: var(--ink); }
.jp-popup-body { padding: 26px 28px 24px; } .jp-popup-body h2 { font-size: 1.4rem; margin-bottom: 8px; } .jp-popup-body p { color: var(--ink-2); }
.jp-popup-media img { display: block; width: 100%; max-height: 240px; object-fit: cover; }
.jp-popup-actions { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 14px; } .jp-popup-actions.center { justify-content: center; }
.jp-popup-actions .btn:not(.btn-ghost) { background: var(--pop); }
.style-spotlight .jp-popup-card { border-top: 6px solid var(--pop); }
.style-split .jp-popup-card { max-width: 760px; display: grid; grid-template-columns: 1fr 1fr; }
.style-split .jp-popup-media, .style-split .jp-popup-media img { height: 100%; max-height: none; }
@media (max-width: 640px) { .style-split .jp-popup-card { grid-template-columns: 1fr; } .style-split .jp-popup-media img { max-height: 180px; } }
.style-gradient .jp-popup-card { background: linear-gradient(135deg, var(--pop), color-mix(in srgb, var(--pop) 45%, #7c3aed)); color: #fff; }
.style-gradient .jp-popup-body h2, .style-gradient .jp-popup-body p { color: #fff; }
.style-gradient .jp-popup-actions .btn:not(.btn-ghost) { background: #fff; color: var(--ink); } .style-gradient .btn-ghost { color: #fff; }
.style-coupon .jp-popup-card { border: 3px dashed var(--pop); text-align: center; }
.jp-popup-badge { display: inline-block; font-size: 1.6rem; font-weight: 800; letter-spacing: .04em; color: var(--pop); border: 2px solid var(--pop); border-radius: 10px; padding: 4px 14px; margin-bottom: 10px; transform: rotate(-3deg); }
.style-coupon .jp-popup-actions { justify-content: center; }
.style-bar { inset: auto 0 0 0; padding: 0; } .style-bar .jp-popup-backdrop { display: none; }
.style-bar .jp-popup-card { max-width: none; border-radius: 0; background: var(--pop); color: #fff; display: flex; align-items: center; }
.style-bar .jp-popup-media { display: none; } .style-bar .jp-popup-body { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; padding: 12px 56px 12px 20px; }
.style-bar .jp-popup-body h2 { font-size: 1.02rem; margin: 0; color: #fff; } .style-bar .jp-popup-body p { margin: 0; color: rgba(255,255,255,.9); }
.style-bar .jp-popup-actions { margin: 0; } .style-bar .jp-popup-actions .btn:not(.btn-ghost) { background: #fff; color: var(--ink); } .style-bar .btn-ghost { color: #fff; }
.style-toast { inset: auto 16px 16px auto; padding: 0; } .style-toast .jp-popup-backdrop { display: none; }
.style-toast .jp-popup-card { max-width: 360px; border-left: 5px solid var(--pop); } .style-toast .jp-popup-media img { max-height: 140px; }
.apply-note { background: var(--surface-2); border-radius: 10px; padding: 12px 14px; text-align: left; margin-top: 10px; } .apply-note p { margin: 4px 0 0; }
@media (prefers-reduced-motion: reduce) { .jp-popup-card, .jp-popup-backdrop { transition: none; } }
.style-picker { display: grid; grid-template-columns: repeat(auto-fill, minmax(120px, 1fr)); gap: 10px; }
.style-option { display: flex; flex-direction: column; gap: 6px; border: 1px solid var(--line-strong); border-radius: 10px; padding: 8px; cursor: pointer; font-size: .86rem; }
.style-option input { position: absolute; opacity: 0; } .style-option:has(input:checked) { border-color: var(--brand); box-shadow: 0 0 0 2px var(--brand-soft); }
.style-thumb { height: 64px; border-radius: 6px; background: #e5e7eb; position: relative; overflow: hidden; }
.style-thumb::after { content: ""; position: absolute; background: #fff; border-radius: 4px; box-shadow: 0 2px 6px rgba(0,0,0,.15); }
.st-spotlight::after { inset: 12px 22px; border-top: 4px solid var(--brand); }
.st-split::after { inset: 10px 14px; background: linear-gradient(90deg, #94a3b8 0 45%, #fff 45%); }
.st-coupon::after { inset: 12px 22px; border: 2px dashed var(--brand); }
.st-gradient::after { inset: 12px 22px; background: linear-gradient(135deg, var(--brand), #7c3aed); }
.st-bar::after { left: 0; right: 0; bottom: 0; height: 14px; border-radius: 0; background: var(--brand); }
.st-toast::after { right: 6px; bottom: 6px; width: 46%; height: 22px; border-left: 3px solid var(--brand); }

/* ---------- 1.1: shared helpers ---------- */
.card-head.pad { padding: 16px 20px 0; }
.check-list { list-style: none; padding: 0; margin: 8px 0; display: grid; gap: 6px; }
.check-list li { position: relative; padding-left: 24px; }
.check-list li::before { content: ""; position: absolute; left: 2px; top: .45em; width: 12px; height: 7px; border-left: 2px solid var(--ok); border-bottom: 2px solid var(--ok); transform: rotate(-45deg); }
.tools-strip { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 12px; }
.tools-strip .tool-card { flex-direction: row; align-items: center; padding: 14px 16px; gap: 12px; }
.tools-strip .tool-card div { display: flex; flex-direction: column; min-width: 0; }

/* ---------- 1.1: IQ tests ---------- */
.iq-banner { background: radial-gradient(1200px 300px at 85% -40%, rgba(167, 139, 250, .45), transparent 60%), linear-gradient(150deg, #1e1b4b, #312e81 60%, #4c1d95); }
.iq-banner .eyebrow { color: #c4b5fd; display: inline-flex; gap: 6px; align-items: center; margin-bottom: 6px; }
.iq-levels { align-items: stretch; }
.iq-level { --lv: #0ea5e9; display: flex; flex-direction: column; gap: 6px; border-top: 4px solid var(--lv); position: relative; overflow: hidden; }
.iq-level.lvl-2, .iq-score-tile.lvl-2, .iq-result.lvl-2, .iq-chip.lvl-2 { --lv: #7c3aed; }
.iq-level.lvl-3, .iq-score-tile.lvl-3, .iq-result.lvl-3, .iq-chip.lvl-3 { --lv: #db2777; }
.iq-level.is-off { opacity: .65; }
.iq-level-top { display: flex; justify-content: space-between; align-items: center; }
.iq-level-num { width: 44px; height: 44px; border-radius: 12px; display: inline-flex; align-items: center; justify-content: center; font-weight: 800; font-size: 1.25rem; color: #fff; background: var(--lv); box-shadow: 0 8px 18px -8px var(--lv); }
.iq-meta { list-style: none; padding: 0; margin: 4px 0; display: flex; gap: 14px; color: var(--ink-2); }
.iq-meta li { display: inline-flex; gap: 5px; align-items: center; }
.iq-cta { margin-top: auto; display: flex; flex-direction: column; gap: 6px; align-items: flex-start; }
.iq-score-tile { --lv: #0ea5e9; display: flex; flex-direction: column; gap: 4px; padding: 14px; border-radius: var(--radius); background: color-mix(in srgb, var(--lv) 8%, white); border: 1px solid color-mix(in srgb, var(--lv) 25%, white); }
.iq-score-tile strong { font-size: 2rem; line-height: 1.1; color: var(--lv); }
.iq-score-tile .badge { align-self: flex-start; }
.iq-take { max-width: 860px; }
.iq-take-head { position: sticky; top: 64px; z-index: 5; display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 10px; margin-bottom: 16px; }
.iq-timer { font-variant-numeric: tabular-nums; font-size: 1.35rem; font-weight: 700; display: inline-flex; gap: 6px; align-items: center; padding: 6px 14px; border-radius: 999px; background: var(--brand-soft); color: var(--brand-strong); }
.iq-timer.low { background: var(--bad-soft); color: var(--bad); animation: iqpulse 1s ease-in-out infinite; }
@keyframes iqpulse { 50% { transform: scale(1.05); } }
.iq-progress { flex-basis: 100%; height: 6px; border-radius: 99px; background: var(--surface-2); overflow: hidden; }
.iq-progress span { display: block; height: 100%; background: linear-gradient(90deg, var(--brand), #7c3aed); transition: width .25s; }
.iq-q legend { float: left; width: 100%; font-weight: 600; font-size: 1.02rem; padding: 0; margin: 0; display: flex; gap: 10px; align-items: flex-start; }
.iq-q { border: 1px solid var(--line); }
.iq-q-img { clear: both; display: block; }
.iq-q-num { flex: none; width: 28px; height: 28px; border-radius: 8px; background: var(--surface-2); display: inline-flex; align-items: center; justify-content: center; font-size: .85rem; }
.iq-q-img { max-width: 100%; max-height: 260px; margin: 10px 0; border-radius: var(--radius-sm); }
.iq-options { clear: both; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; padding-top: 12px; }
@media (max-width: 520px) { .iq-options { grid-template-columns: 1fr; } }
.iq-option { display: flex; gap: 10px; align-items: center; padding: 10px 12px; border: 1.5px solid var(--line-strong); border-radius: var(--radius-sm); cursor: pointer; transition: border-color .12s, background .12s; }
.iq-option:hover { border-color: var(--brand); }
.iq-option input { position: absolute; opacity: 0; pointer-events: none; }
.iq-letter { flex: none; width: 26px; height: 26px; border-radius: 50%; border: 1.5px solid var(--line-strong); display: inline-flex; align-items: center; justify-content: center; font-weight: 700; font-size: .8rem; }
.iq-option:has(input:checked) { border-color: var(--brand); background: var(--brand-soft); }
.iq-option:has(input:checked) .iq-letter { background: var(--brand); border-color: var(--brand); color: #fff; }
.iq-option:has(input:focus-visible) { outline: 2px solid var(--brand); outline-offset: 2px; }
.iq-submit { display: flex; gap: 12px; align-items: center; flex-wrap: wrap; }
.iq-result { --lv: #0ea5e9; text-align: center; display: flex; flex-direction: column; align-items: center; gap: 8px; border-top: 5px solid var(--lv); }
.iq-result-score { display: flex; flex-direction: column; align-items: center; }
.iq-result-score strong { font-size: 4rem; line-height: 1; color: var(--lv); letter-spacing: -.03em; }
.iq-review { border-left: 4px solid var(--ok); } .iq-review.bad { border-left-color: var(--bad); }
.iq-review p { margin: 4px 0; }
.iq-chips { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; margin-top: 12px; color: #7c3aed; }
.iq-chip { --lv: #0ea5e9; font-size: .8rem; padding: 3px 10px; border-radius: 999px; background: color-mix(in srgb, var(--lv) 12%, white); color: color-mix(in srgb, var(--lv) 80%, black); }
.iq-opt-row { display: grid; grid-template-columns: 56px 1fr 1fr; gap: 8px; align-items: center; }
@media (max-width: 620px) { .iq-opt-row { grid-template-columns: 48px 1fr; } .iq-opt-row input[name="opt_bn[]"] { grid-column: 2; } .iq-take-head { top: 56px; } }

/* ---------- 1.1: AI interviews ---------- */
.ai-orb { width: 52px; height: 52px; flex: none; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; color: #fff;
  background: conic-gradient(from 210deg, #db2777, #7c3aed, #0ea5e9, #db2777); box-shadow: 0 10px 24px -10px #7c3aed; }
.ai-orb .icon { width: 24px; height: 24px; }
.ai-orb.sm { width: 34px; height: 34px; } .ai-orb.sm .icon { width: 17px; height: 17px; }
.ai-hero { display: flex; gap: 14px; align-items: center; }
.ai-progress { display: flex; gap: 6px; margin-bottom: 12px; }
.ai-progress span { flex: 1; height: 6px; border-radius: 99px; background: var(--line); }
.ai-progress span.done { background: var(--brand); } .ai-progress span.now { background: linear-gradient(90deg, #db2777, #7c3aed); }
.ai-chat { display: flex; flex-direction: column; gap: 12px; }
.ai-msg { display: flex; gap: 10px; align-items: flex-start; max-width: 92%; }
.ai-msg p { margin: 0; padding: 10px 14px; border-radius: 14px; background: var(--surface-2); }
.ai-q.current p { background: linear-gradient(135deg, #fdf2f8, #f5f3ff); border: 1px solid #e9d5ff; font-weight: 500; }
.ai-a { align-self: flex-end; } .ai-a p { background: var(--brand-soft); border-bottom-right-radius: 4px; }
.ai-answer { border-top: 1px dashed var(--line); padding-top: 12px; }
.ai-report { display: flex; gap: 20px; align-items: center; flex-wrap: wrap; }
.ai-gauge { --v: 0; width: 132px; height: 132px; flex: none; border-radius: 50%; display: flex; align-items: center; justify-content: center; flex-direction: column;
  background: radial-gradient(closest-side, var(--surface) 76%, transparent 77% 100%), conic-gradient(#7c3aed calc(var(--v) * 1%), var(--line) 0); }
.ai-gauge strong { font-size: 2.3rem; line-height: 1; } .ai-gauge span { color: var(--ink-3); font-size: .85rem; }
.ai-report > div:last-child { flex: 1; min-width: 220px; }
.ai-turn-head { display: flex; justify-content: space-between; gap: 10px; align-items: flex-start; }
.ai-score-pill { flex: none; font-weight: 700; font-size: .82rem; padding: 3px 10px; border-radius: 999px; background: #f5f3ff; color: #6d28d9; }
.ai-feedback { background: #fffbeb; border-radius: var(--radius-sm); padding: 8px 12px; display: flex; gap: 8px; }
.ai-practice { display: flex; gap: 12px; align-items: flex-start; background: linear-gradient(135deg, #fdf2f8, #f5f3ff 70%); border-color: #e9d5ff; }

/* ---------- 1.1: referrals ---------- */
.ref-invite { display: flex; gap: 12px; align-items: center; padding: 12px 14px; border-radius: var(--radius); margin: 8px 0 14px;
  background: linear-gradient(135deg, #fef3c7, #fde68a); color: #78350f; }
.ref-invite .ic { width: 38px; height: 38px; border-radius: 50%; background: #fff; display: inline-flex; align-items: center; justify-content: center; flex: none; color: #b45309; }
.ref-invite div { display: flex; flex-direction: column; }
.ref-hero { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; align-items: center; background: linear-gradient(135deg, #fffbeb, #fff 60%); border-color: #fde68a; }
.ref-hero-text { display: flex; gap: 14px; align-items: flex-start; }
.ref-gift { width: 56px; height: 56px; flex: none; border-radius: 16px; display: inline-flex; align-items: center; justify-content: center; color: #fff; background: linear-gradient(135deg, #f59e0b, #ea580c); box-shadow: 0 10px 24px -10px #ea580c; }
.ref-gift .icon { width: 28px; height: 28px; }
.copy-row { display: flex; gap: 8px; } .copy-row input { font-family: ui-monospace, monospace; font-size: .88rem; }
.share-row { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 10px; }
@media (max-width: 760px) { .ref-hero { grid-template-columns: 1fr; } .copy-row { flex-direction: column; } }
.table td.actions { white-space: nowrap; } .table td.actions form { display: inline-flex; margin: 0; }
.ai-report, .ai-report + .grid { margin-bottom: 16px; }

/* =====================================================================
   1.2 Kormopedia look: red / navy / blue brand, 3D IQ, new homepage
   ===================================================================== */
:root { --radius: 12px; --radius-sm: 9px; --shadow-lg: 0 18px 40px -18px rgba(11, 27, 61, .35);
  --brand-soft: color-mix(in srgb, var(--brand) 9%, white); --navy: var(--brand-2); --blue: var(--accent);
  --grad-brand: linear-gradient(135deg, var(--brand) 0%, color-mix(in srgb, var(--brand) 70%, #ff6a3d) 100%);
  --grad-navy: linear-gradient(150deg, var(--brand-2) 0%, color-mix(in srgb, var(--brand-2) 82%, var(--accent)) 100%); }
body { background: #f5f6fa; }
.btn { background: var(--grad-brand); border: 0; box-shadow: 0 6px 16px -8px color-mix(in srgb, var(--brand) 80%, transparent); transition: transform .15s, box-shadow .15s, filter .15s; }
.btn:hover { filter: brightness(1.05); transform: translateY(-1px); box-shadow: 0 10px 22px -10px color-mix(in srgb, var(--brand) 90%, transparent); color: #fff; }
.btn:active { transform: translateY(0); }
.btn-secondary { background: var(--surface); border: 1px solid var(--line-strong); box-shadow: none; }
.btn-secondary:hover { filter: none; box-shadow: none; background: var(--surface-2); }
.btn-ghost { background: transparent; box-shadow: none; }
.btn-ghost:hover { box-shadow: none; filter: none; }
.btn-danger { background: var(--bad); }
.btn-accent { background: linear-gradient(135deg, var(--accent), color-mix(in srgb, var(--accent) 70%, #7c3aed)); color: #fff; }
.btn-accent:hover { color: #fff; }
.btn-light { background: #fff; box-shadow: 0 8px 20px -12px rgba(0,0,0,.4); }
.btn-outline-light { background: transparent; border: 1px solid rgba(255,255,255,.45); box-shadow: none; }
.btn-glow { background: var(--grad-brand); color: #fff; box-shadow: 0 0 0 0 color-mix(in srgb, var(--brand) 60%, transparent), 0 12px 28px -10px color-mix(in srgb, var(--brand) 85%, transparent); animation: glow 2.6s ease-in-out infinite; }
@keyframes glow { 50% { box-shadow: 0 0 0 8px color-mix(in srgb, var(--brand) 0%, transparent), 0 14px 32px -10px color-mix(in srgb, var(--brand) 95%, transparent); } }
.btn-ghost-light { background: rgba(255,255,255,.08); color: #fff; border: 1px solid rgba(255,255,255,.22); box-shadow: none; }
.btn-ghost-light:hover { background: rgba(255,255,255,.16); color: #fff; box-shadow: none; filter: none; }
.link-light { color: #cbd5e1; } .link-light:hover { color: #fff; }
.eyebrow { display: inline-flex; align-items: center; gap: 6px; font-size: .8rem; color: var(--brand); }
.eyebrow.light { color: #ff9aa5; }
.card { border-radius: var(--radius); }
.pulse-dot { width: 9px; height: 9px; border-radius: 50%; background: #22c55e; display: inline-block; box-shadow: 0 0 0 0 rgba(34,197,94,.6); animation: pulse 1.8s infinite; flex: none; }
@keyframes pulse { 70% { box-shadow: 0 0 0 9px rgba(34,197,94,0); } 100% { box-shadow: 0 0 0 0 rgba(34,197,94,0); } }

/* Header */
.site-header { box-shadow: 0 1px 0 var(--line), 0 6px 20px -18px rgba(11,27,61,.5); }
.site-header .container { min-height: 70px; }
.main-nav a { position: relative; font-weight: 600; }
.main-nav a.active, .main-nav a:hover { background: transparent; color: var(--brand); }
.main-nav a.active::after { content: ""; position: absolute; left: 12px; right: 12px; bottom: 2px; height: 3px; border-radius: 3px; background: var(--grad-brand); }

/* Hero */
.hero2 { position: relative; overflow: hidden; color: #fff; background: var(--grad-navy); padding: 70px 0 110px; isolation: isolate; }
.hero2[style*="--hero-img"] { background: linear-gradient(120deg, color-mix(in srgb, var(--brand-2) 92%, transparent), color-mix(in srgb, var(--brand-2) 70%, transparent)), var(--hero-img) center/cover; }
.hero2-bg { position: absolute; inset: 0; z-index: -1; pointer-events: none; }
.hero2-bg .swoosh { position: absolute; border-radius: 0 100% 0 100%; filter: blur(.5px); opacity: .9; }
.hero2-bg .s1 { width: 520px; height: 260px; right: -80px; top: -60px; background: linear-gradient(135deg, var(--brand), #ff5a5f); transform: rotate(-18deg); opacity: .55; }
.hero2-bg .s2 { width: 600px; height: 220px; right: -160px; top: 120px; background: linear-gradient(135deg, var(--accent), #38bdf8); transform: rotate(-24deg); opacity: .38; }
.hero2-bg .s3 { width: 300px; height: 300px; left: -120px; bottom: -160px; border-radius: 50%; background: radial-gradient(circle, color-mix(in srgb, var(--brand) 60%, transparent), transparent 70%); }
.hero2-bg .dots { position: absolute; inset: 0; background-image: radial-gradient(rgba(255,255,255,.08) 1px, transparent 1.2px); background-size: 22px 22px; mask-image: linear-gradient(to bottom, #000, transparent 85%); }
.hero2-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: 40px; align-items: center; }
.hero2 h1 { color: #fff; font-size: clamp(2rem, 4.6vw, 3.4rem); line-height: 1.08; letter-spacing: -0.03em; margin: 14px 0 12px; }
.hero2 h1 .hl { background: linear-gradient(90deg, #ff4d5a, #ff9f43); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero2 .lead { color: #d6deea; font-size: 1.12rem; max-width: 600px; }
.hero-badge { display: inline-flex; align-items: center; gap: 9px; padding: 6px 14px 6px 10px; border-radius: 999px; background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.18); font-size: .88rem; backdrop-filter: blur(6px); }
.hero-search.big { margin-top: 26px; padding: 8px; border-radius: 16px; display: grid; grid-template-columns: 1.4fr 1fr auto; gap: 6px; max-width: 720px; }
.hs-field { display: flex; align-items: center; gap: 8px; padding: 0 12px; border-radius: 10px; background: #f5f6fa; color: var(--ink-3); }
.hs-field input { background: transparent; min-height: 50px; padding: 0; }
.hero-tags { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin-top: 16px; font-size: .88rem; color: #cbd5e1; }
.hero-tags a { color: #fff; text-decoration: none; padding: 4px 12px; border-radius: 999px; background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.16); }
.hero-tags a:hover { background: rgba(255,255,255,.2); }
.hero2-visual { position: relative; height: 380px; perspective: 1100px; }
.stack3d { position: absolute; inset: 20px 10px; transform-style: preserve-3d; transform: rotateY(-18deg) rotateX(10deg); animation: floaty 6s ease-in-out infinite; }
@keyframes floaty { 50% { transform: rotateY(-10deg) rotateX(6deg) translateY(-10px); } }
.h3d-card { position: absolute; display: flex; align-items: center; gap: 12px; padding: 16px 18px; border-radius: 16px; background: rgba(255,255,255,.12); border: 1px solid rgba(255,255,255,.22);
  backdrop-filter: blur(10px); box-shadow: 0 30px 60px -30px rgba(0,0,0,.6); color: #fff; min-width: 250px; }
.h3d-card strong { display: block; font-size: .98rem; } .h3d-card small { color: #cbd5e1; }
.h3d-card.c-job { top: 10px; left: 30px; transform: translateZ(60px); background: #fff; color: var(--ink); }
.h3d-card.c-job small { color: var(--ink-3); }
.h3d-logo { width: 44px; height: 44px; border-radius: 12px; display: inline-flex; align-items: center; justify-content: center; background: var(--grad-brand); color: #fff; }
.h3d-pill { margin-left: auto; font-size: .72rem; font-weight: 700; color: #fff; background: #22c55e; padding: 3px 9px; border-radius: 999px; }
.h3d-card.c-iq { top: 130px; right: 0; transform: translateZ(110px); background: linear-gradient(135deg, rgba(124,58,237,.85), rgba(21,97,232,.85)); }
.h3d-card .ring { position: relative; width: 58px; height: 58px; color: #fbbf24; }
.h3d-card .ring svg { width: 58px; height: 58px; transform: rotate(0deg); }
.h3d-card .ring b { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; font-size: 1rem; color: #fff; }
.h3d-card.c-cert { top: 250px; left: 0; transform: translateZ(30px); background: linear-gradient(135deg, rgba(224,24,45,.92), rgba(255,106,61,.9)); }
.h3d-card.c-cert .icon { width: 34px; height: 34px; }
.float-chip { position: absolute; display: inline-flex; gap: 6px; align-items: center; font-weight: 700; font-size: .9rem; padding: 8px 14px; border-radius: 999px; background: #fff; color: var(--brand-2); box-shadow: var(--shadow-lg); animation: bob 4s ease-in-out infinite; }
.float-chip .icon { color: var(--brand); }
.float-chip.ch1 { right: 10px; top: 0; } .float-chip.ch2 { left: 40px; bottom: 6px; animation-delay: -2s; }
@keyframes bob { 50% { transform: translateY(-8px); } }

/* Counters */
.stat-band2 { position: relative; z-index: 3; margin-top: -64px; display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.sb2-item { display: flex; align-items: center; gap: 14px; background: #fff; border-radius: 16px; padding: 18px 20px; box-shadow: 0 18px 40px -26px rgba(11,27,61,.45); border: 1px solid var(--line); }
.sb2-num { font-size: 1.7rem; font-weight: 800; letter-spacing: -.02em; color: var(--brand-2); font-variant-numeric: tabular-nums; }
.sb2-item small { display: block; color: var(--ink-3); font-size: .86rem; }
.sb2-ic { width: 50px; height: 50px; border-radius: 14px; display: inline-flex; align-items: center; justify-content: center; flex: none; color: #fff; }
.sb2-ic .icon { width: 24px; height: 24px; }
.sb2-ic.c1 { background: var(--grad-brand); } .sb2-ic.c2 { background: linear-gradient(135deg, var(--accent), #38bdf8); }
.sb2-ic.c3 { background: linear-gradient(135deg, #f59e0b, #f97316); } .sb2-ic.c4 { background: linear-gradient(135deg, #7c3aed, #db2777); }

/* Live strip */
.live-strip { margin-top: 18px; display: flex; align-items: center; gap: 14px; background: #fff; border: 1px solid var(--line); border-radius: 999px; padding: 8px 10px 8px 16px; overflow: hidden; }
.live-label { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; color: var(--brand); white-space: nowrap; font-size: .9rem; }
.live-items { display: flex; gap: 22px; overflow-x: auto; scrollbar-width: none; font-size: .9rem; color: var(--ink-2); }
.live-items span { display: inline-flex; gap: 6px; align-items: center; white-space: nowrap; }
.live-items .icon { color: var(--accent); }

/* IQ feature on the homepage */
.iq-feature { position: relative; overflow: hidden; margin-top: 56px; padding: 70px 0; color: #e2e8f0; background: radial-gradient(900px 400px at 85% 0%, rgba(124,58,237,.45), transparent 60%), radial-gradient(700px 400px at 0% 100%, rgba(224,24,45,.35), transparent 60%), #0b1026; isolation: isolate; }
.iq-feature h2 { color: #fff; font-size: clamp(1.7rem, 3.4vw, 2.6rem); letter-spacing: -.02em; margin: 10px 0; }
.iq-feature .lead { color: #c7d2fe; }
.iq-feature-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 40px; align-items: center; }
.iqf-3d { position: relative; height: 340px; perspective: 1000px; }
.iqf-levels { display: flex; gap: 12px; flex-wrap: wrap; margin: 22px 0 16px; }
.iqf-level { --lv: #0ea5e9; display: flex; gap: 10px; align-items: center; padding: 10px 16px 10px 10px; border-radius: 14px; background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.14); color: #fff; text-decoration: none; transition: transform .2s, background .2s; }
.iqf-level:hover { transform: translateY(-3px); background: rgba(255,255,255,.12); color: #fff; }
.iqf-level small { display: block; color: #fbbf24; font-weight: 700; }
.iqf-level.lvl-2 { --lv: #7c3aed; } .iqf-level.lvl-3 { --lv: #db2777; }
.iqf-points { list-style: none; padding: 0; margin: 0 0 22px; display: grid; gap: 8px; }
.iqf-points li { display: flex; gap: 8px; align-items: center; } .iqf-points .icon { color: #fbbf24; }

/* 3D cube and orbits (shared) */
.scene { position: absolute; left: 50%; top: 50%; width: 150px; height: 150px; margin: -75px 0 0 -75px; perspective: 800px; }
.cube3d { position: relative; width: 150px; height: 150px; transform-style: preserve-3d; animation: spin3d 14s linear infinite; }
.cube3d.big { width: 170px; height: 170px; }
.scene:has(.big) { width: 170px; height: 170px; margin: -85px 0 0 -85px; }
.cube3d .face { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; font-size: 3.2rem; font-weight: 800; color: #fff; border-radius: 22px;
  border: 1px solid rgba(255,255,255,.35); background: linear-gradient(135deg, rgba(224,24,45,.85), rgba(124,58,237,.75)); box-shadow: inset 0 0 40px rgba(255,255,255,.15); backface-visibility: visible; }
.cube3d .f1 { transform: translateZ(75px); } .cube3d .f2 { transform: rotateY(180deg) translateZ(75px); background: linear-gradient(135deg, rgba(21,97,232,.85), rgba(56,189,248,.7)); }
.cube3d .f3 { transform: rotateY(90deg) translateZ(75px); background: linear-gradient(135deg, rgba(124,58,237,.85), rgba(219,39,119,.75)); } .cube3d .f4 { transform: rotateY(-90deg) translateZ(75px); }
.cube3d .f5 { transform: rotateX(90deg) translateZ(75px); background: linear-gradient(135deg, rgba(245,158,11,.85), rgba(224,24,45,.75)); } .cube3d .f6 { transform: rotateX(-90deg) translateZ(75px); }
.cube3d.big .face { font-size: 3.6rem; } .cube3d.big .f1 { transform: translateZ(85px); } .cube3d.big .f2 { transform: rotateY(180deg) translateZ(85px); } .cube3d.big .f3 { transform: rotateY(90deg) translateZ(85px); }
.cube3d.big .f4 { transform: rotateY(-90deg) translateZ(85px); } .cube3d.big .f5 { transform: rotateX(90deg) translateZ(85px); } .cube3d.big .f6 { transform: rotateX(-90deg) translateZ(85px); }
@keyframes spin3d { from { transform: rotateX(-18deg) rotateY(0deg); } to { transform: rotateX(-18deg) rotateY(360deg); } }
.orbit { position: absolute; left: 50%; top: 50%; border: 1px dashed rgba(255,255,255,.18); border-radius: 50%; animation: orbit 10s linear infinite; }
.orbit span { position: absolute; top: -16px; left: 50%; margin-left: -16px; width: 32px; height: 32px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-weight: 800; color: #0b1026; background: #fbbf24; box-shadow: 0 0 18px rgba(251,191,36,.7); }
.orbit.o1 { width: 280px; height: 280px; margin: -140px 0 0 -140px; } .orbit.o2 { width: 340px; height: 340px; margin: -170px 0 0 -170px; animation-duration: 16s; animation-direction: reverse; }
.orbit.o2 span { background: #38bdf8; box-shadow: 0 0 18px rgba(56,189,248,.7); } .orbit.o3 { width: 220px; height: 220px; margin: -110px 0 0 -110px; animation-duration: 7s; }
.orbit.o3 span { background: #f472b6; box-shadow: 0 0 18px rgba(244,114,182,.7); }
@keyframes orbit { to { transform: rotate(360deg); } }
.iq-stars { position: absolute; inset: 0; z-index: -1; background-image: radial-gradient(1.2px 1.2px at 20% 30%, #fff, transparent), radial-gradient(1px 1px at 70% 20%, #c7d2fe, transparent), radial-gradient(1.4px 1.4px at 40% 80%, #fff, transparent),
  radial-gradient(1px 1px at 85% 65%, #fbcfe8, transparent), radial-gradient(1px 1px at 10% 70%, #fff, transparent); background-size: 300px 300px; opacity: .55; animation: twinkle 8s linear infinite; }
@keyframes twinkle { to { background-position: 300px 150px; } }

/* Notices */
.notice-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 14px; }
.notice-card { position: relative; display: flex; gap: 14px; align-items: flex-start; padding: 16px; background: #fff; border: 1px solid var(--line); border-radius: 14px; text-decoration: none; color: var(--ink);
  transition: transform .18s, box-shadow .18s, border-color .18s; border-left: 4px solid var(--brand); }
.notice-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); color: var(--ink); border-color: color-mix(in srgb, var(--brand) 35%, var(--line)); }
.notice-card.cat-defence { border-left-color: #15803d; } .notice-card.cat-bank { border-left-color: var(--accent); } .notice-card.cat-education { border-left-color: #7c3aed; }
.nc-logo, .oc-logo, .nh-logo { flex: none; width: 52px; height: 52px; border-radius: 12px; background: #fff; border: 1px solid var(--line); display: inline-flex; align-items: center; justify-content: center; overflow: hidden; font-weight: 800; color: var(--brand-2); }
.nc-logo img, .oc-logo img, .nh-logo img { width: 100%; height: 100%; object-fit: contain; padding: 4px; }
.nc-body { display: flex; flex-direction: column; gap: 3px; min-width: 0; }
.nc-org { font-size: .78rem; font-weight: 700; color: var(--ink-3); text-transform: uppercase; letter-spacing: .03em; }
.nc-title { font-size: 1rem; line-height: 1.35; }
.nc-meta { display: flex; flex-wrap: wrap; gap: 12px; font-size: .82rem; color: var(--ink-3); margin-top: 4px; }
.nc-meta span { display: inline-flex; gap: 4px; align-items: center; } .nc-meta .urgent { color: var(--bad); font-weight: 700; }
.nc-tag { position: absolute; top: 12px; right: 12px; font-size: .74rem; font-weight: 800; padding: 3px 9px; border-radius: 999px; display: inline-flex; gap: 4px; align-items: center; }
.nc-tag.free { background: var(--ok-soft); color: var(--ok); } .nc-tag.paid { background: #fff3e6; color: #c2410c; }
.nc-tag .icon { width: 12px; height: 12px; }
.notice-card .nc-title { padding-right: 56px; }
.org-strip { display: flex; gap: 10px; overflow-x: auto; padding-bottom: 6px; }
.org-chip { display: inline-flex; gap: 10px; align-items: center; padding: 8px 14px 8px 8px; border-radius: 999px; background: #fff; border: 1px solid var(--line); white-space: nowrap; text-decoration: none; color: var(--ink); font-weight: 600; font-size: .88rem; }
.org-chip .oc-logo { width: 34px; height: 34px; border-radius: 50%; }
.org-chip:hover, .org-chip.active { border-color: var(--brand); color: var(--brand); }
.org-marquee { overflow: hidden; margin-bottom: 18px; mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); }
.om-track { display: flex; gap: 12px; width: max-content; animation: marquee 40s linear infinite; }
.org-marquee:hover .om-track { animation-play-state: paused; }
@keyframes marquee { to { transform: translateX(-50%); } }
.notice-banner { background: radial-gradient(800px 300px at 90% 0%, color-mix(in srgb, var(--brand) 40%, transparent), transparent 60%), var(--grad-navy); }
.hero-search.compact { margin-top: 18px; display: grid; grid-template-columns: 1fr 220px auto; gap: 6px; padding: 6px; max-width: 760px; }
.hero-search.compact select { border: 0; min-height: 46px; }
.notice-hero { background: var(--grad-navy); color: #fff; padding: 30px 0 34px; }
.nh-row { display: flex; gap: 18px; align-items: center; margin-top: 14px; }
.nh-row h1 { color: #fff; font-size: clamp(1.4rem, 3vw, 2.1rem); margin: 8px 0 4px; }
.nh-logo { width: 84px; height: 84px; border-radius: 18px; } .nh-logo.sm { width: 64px; height: 64px; }
.nh-org { color: #cbd5e1; margin: 0; font-weight: 600; }
.nh-facts { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 18px; }
.nh-facts > div { background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.16); border-radius: 12px; padding: 10px 16px; }
.nh-facts small { display: block; color: #cbd5e1; font-size: .78rem; } .nh-facts strong.urgent { color: #fca5a5; }
.badge-glow { background: rgba(255,255,255,.14); color: #fff; border: 1px solid rgba(255,255,255,.25); }
.locked-card { text-align: center; display: flex; flex-direction: column; align-items: center; gap: 8px; padding: 34px 24px; background: linear-gradient(180deg, #fff, #fff7f7); border: 1px dashed color-mix(in srgb, var(--brand) 40%, var(--line)); }
.locked-card .check-list { text-align: left; }
.lock-orb { width: 70px; height: 70px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; color: #fff; background: var(--grad-brand); box-shadow: 0 14px 30px -12px var(--brand); }
.lock-orb .icon { width: 30px; height: 30px; }
.notice-image img { width: 100%; border-radius: 10px; }
.org-card { text-align: center; display: flex; flex-direction: column; align-items: center; gap: 6px; }
.lead-sm { font-size: 1.05rem; margin: 0; }

/* IQ pages */
body.iq-page { background: #0b1026; }
body.iq-page .site-footer { margin-top: 0; }
.iq-hero { position: relative; overflow: hidden; color: #e2e8f0; padding: 64px 0 40px; background: radial-gradient(900px 420px at 80% 10%, rgba(124,58,237,.45), transparent 60%), radial-gradient(700px 380px at 5% 90%, rgba(224,24,45,.35), transparent 60%), #0b1026; isolation: isolate; }
.iq-hero-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 30px; align-items: center; }
.iq-hero h1 { color: #fff; font-size: clamp(2rem, 4.5vw, 3.2rem); letter-spacing: -.03em; margin: 14px 0 10px; }
.iq-hero .lead { color: #c7d2fe; font-size: 1.1rem; }
.iq-pill { display: inline-flex; gap: 8px; align-items: center; padding: 6px 14px 6px 10px; border-radius: 999px; background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.16); font-size: .88rem; }
.iq-hero-points { list-style: none; padding: 0; display: grid; gap: 8px; margin: 16px 0 24px; }
.iq-hero-points li { display: flex; gap: 8px; align-items: center; } .iq-hero-points .icon { color: #fbbf24; }
.iq-hero-3d { position: relative; height: 360px; perspective: 1000px; }
.float-card { position: absolute; padding: 12px 16px; border-radius: 14px; background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.2); backdrop-filter: blur(8px); color: #fff; animation: bob 5s ease-in-out infinite; }
.float-card small { display: block; color: #c7d2fe; } .float-card strong { font-size: 1.8rem; }
.float-card .bar { display: block; width: 140px; height: 6px; border-radius: 6px; background: rgba(255,255,255,.15); margin-top: 6px; }
.float-card .bar i { display: block; height: 100%; border-radius: 6px; background: linear-gradient(90deg, #fbbf24, #f472b6); }
.fc-score { right: 0; top: 20px; } .fc-cert { left: 0; bottom: 20px; display: flex; gap: 8px; align-items: center; animation-delay: -2.5s; } .fc-cert .icon { color: #4ade80; }
.iq-wrap { position: relative; }
.glass { background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.12); color: #e2e8f0; backdrop-filter: blur(8px); }
.glass h2, .glass h3 { color: #fff; } .glass .muted { color: #a5b4fc; } .glass .check span { color: #e2e8f0; }
.iq-page .card.flush { background: #111836; border-color: rgba(255,255,255,.1); color: #e2e8f0; }
.iq-page .card.flush h2 { color: #fff; } .iq-page .table th { background: #0f1630; color: #a5b4fc; border-color: rgba(255,255,255,.08); } .iq-page .table td { border-color: rgba(255,255,255,.08); }
.iq-levels3d { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; perspective: 1200px; }
.level3d { --lv: #0ea5e9; --rx: 0deg; --ry: 0deg; border-radius: 22px; transform-style: preserve-3d; transform: rotateX(var(--rx)) rotateY(var(--ry)); transition: transform .25s ease; }
.level3d.lvl-2 { --lv: #7c3aed; } .level3d.lvl-3 { --lv: #db2777; }
.level3d-inner { height: 100%; display: flex; flex-direction: column; gap: 8px; padding: 24px; border-radius: 22px; color: #e2e8f0;
  background: linear-gradient(160deg, color-mix(in srgb, var(--lv) 30%, #121a3a), #0f1530 70%); border: 1px solid color-mix(in srgb, var(--lv) 45%, transparent);
  box-shadow: 0 30px 60px -30px color-mix(in srgb, var(--lv) 80%, transparent), inset 0 1px 0 rgba(255,255,255,.12); transform: translateZ(20px); }
.level3d h2 { color: #fff; font-size: 1.25rem; margin: 6px 0 0; }
.level3d p { color: #c7d2fe; margin: 0; font-size: .94rem; }
.level3d.is-off { opacity: .55; }
.level3d-top { display: flex; justify-content: space-between; align-items: center; }
.level-orb { width: 58px; height: 58px; border-radius: 18px; display: inline-flex; align-items: center; justify-content: center; font-size: 1.7rem; font-weight: 900; color: #fff;
  background: linear-gradient(135deg, var(--lv), color-mix(in srgb, var(--lv) 55%, #fff)); box-shadow: 0 12px 26px -10px var(--lv), inset 0 -4px 0 rgba(0,0,0,.18); transform: translateZ(40px); }
.level-orb.sm { width: 40px; height: 40px; border-radius: 12px; font-size: 1.1rem; }
.price-tag { font-weight: 800; padding: 6px 12px; border-radius: 999px; font-size: .9rem; display: inline-flex; gap: 4px; align-items: center; }
.price-tag.free { background: rgba(34,197,94,.18); color: #4ade80; } .price-tag.paid { background: rgba(251,191,36,.16); color: #fbbf24; } .price-tag.off { background: rgba(255,255,255,.08); color: #94a3b8; }
.level3d .iq-meta { color: #c7d2fe; } .level3d .iq-cta { margin-top: auto; padding-top: 10px; }
.iq-score-tile { background: rgba(255,255,255,.05); border-color: color-mix(in srgb, var(--lv) 40%, transparent); }
.iq-page .iq-score-tile .muted { color: #a5b4fc; }
.how-steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin: 10px 0; }
.how-steps div { display: flex; gap: 10px; align-items: flex-start; } .how-steps p { margin: 0; color: #c7d2fe; font-size: .92rem; }
.how-steps span { flex: none; width: 32px; height: 32px; border-radius: 10px; display: inline-flex; align-items: center; justify-content: center; font-weight: 800; color: #fff; background: var(--grad-brand); }
.cert-list { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 10px; }
.cert-mini { --lv: #0ea5e9; display: flex; gap: 12px; align-items: center; padding: 12px; border-radius: 14px; background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.1); color: #fff; text-decoration: none; }
.cert-mini.lvl-2 { --lv: #7c3aed; } .cert-mini.lvl-3 { --lv: #db2777; } .cert-mini:hover { color: #fff; background: rgba(255,255,255,.1); }
.cert-mini small { display: block; color: #a5b4fc; } .cert-mini .icon { margin-left: auto; }
.cm-score { width: 48px; height: 48px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; font-weight: 800; background: conic-gradient(var(--lv) 75%, rgba(255,255,255,.12) 0); box-shadow: inset 0 0 0 5px #0f1530; }

/* Taking the test */
.iq-arena { --lv: #0ea5e9; position: relative; overflow: hidden; isolation: isolate; color: #e2e8f0; padding: 30px 0 60px; min-height: 80vh;
  background: radial-gradient(900px 420px at 80% 0%, color-mix(in srgb, var(--lv) 40%, transparent), transparent 60%), radial-gradient(700px 380px at 0% 100%, rgba(224,24,45,.3), transparent 60%), #0b1026; }
.iq-arena.lvl-2 { --lv: #7c3aed; } .iq-arena.lvl-3 { --lv: #db2777; }
.iq-arena-inner { max-width: 820px; }
.iq-arena h1 { color: #fff; margin: 0; }
.iq-take-head { position: static; display: flex; justify-content: space-between; align-items: center; gap: 12px; background: none; border: 0; box-shadow: none; padding: 0; margin-bottom: 14px; }
.iq-timer-ring { position: relative; width: 92px; height: 92px; flex: none; }
.iq-timer-ring svg { width: 100%; height: 100%; transform: rotate(-90deg); }
.iq-timer-ring circle { fill: none; stroke-width: 8; } .iq-timer-ring .trk { stroke: rgba(255,255,255,.12); }
.iq-timer-ring .val { stroke: var(--lv); stroke-linecap: round; stroke-dasharray: 327; stroke-dashoffset: 0; transition: stroke-dashoffset 1s linear, stroke .3s; filter: drop-shadow(0 0 6px var(--lv)); }
.iq-timer-ring span { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; font-weight: 800; font-size: 1.15rem; font-variant-numeric: tabular-nums; color: #fff; }
.iq-timer-ring.low .val { stroke: #ef4444; } .iq-timer-ring.low span { color: #fca5a5; animation: iqpulse 1s ease-in-out infinite; }
.iq-arena .iq-progress { background: rgba(255,255,255,.1); }
.iq-arena .iq-progress span { background: linear-gradient(90deg, var(--lv), #fbbf24); }
.iq-counter { color: #a5b4fc; margin: 10px 0 6px; }
.iq-deck { position: relative; perspective: 1400px; }
.card3d { background: linear-gradient(160deg, rgba(255,255,255,.1), rgba(255,255,255,.04)); border: 1px solid rgba(255,255,255,.16); border-radius: 22px; padding: 26px; color: #fff;
  box-shadow: 0 40px 80px -40px rgba(0,0,0,.8), inset 0 1px 0 rgba(255,255,255,.15); backdrop-filter: blur(10px); }
.iq-q.card3d legend { color: #fff; font-size: 1.2rem; line-height: 1.45; }
.iq-q.card3d .iq-q-num { background: var(--lv); color: #fff; }
.iq-arena .iq-option { border: 1.5px solid rgba(255,255,255,.2); background: rgba(255,255,255,.04); color: #e2e8f0; padding: 14px 16px; border-radius: 14px; font-size: 1.02rem; transition: transform .12s, background .15s, border-color .15s; }
.iq-arena .iq-option:hover { border-color: var(--lv); transform: translateY(-2px); }
.iq-arena .iq-letter { border-color: rgba(255,255,255,.35); }
.iq-arena .iq-option:has(input:checked) { border-color: var(--lv); background: color-mix(in srgb, var(--lv) 28%, transparent); box-shadow: 0 0 0 3px color-mix(in srgb, var(--lv) 35%, transparent); }
.iq-arena .iq-option:has(input:checked) .iq-letter { background: var(--lv); border-color: var(--lv); }
.js .iq-deck .iq-q { display: none; }
.js .iq-deck .iq-q.active { display: block; animation: flipIn .55s cubic-bezier(.2,.8,.2,1); transform-origin: 50% 50% -200px; }
.js .iq-deck .iq-q.active.back { animation-name: flipInBack; }
@keyframes flipIn { from { opacity: 0; transform: rotateY(-70deg) translateZ(-120px); } to { opacity: 1; transform: none; } }
@keyframes flipInBack { from { opacity: 0; transform: rotateY(70deg) translateZ(-120px); } to { opacity: 1; transform: none; } }
.iq-nav { display: none; }
.js .iq-nav { display: flex; justify-content: space-between; align-items: center; gap: 10px; margin-top: 16px; }
.iq-dots { display: flex; gap: 6px; flex-wrap: wrap; justify-content: center; }
.iq-dots button { width: 12px; height: 12px; border-radius: 50%; border: 0; padding: 0; background: rgba(255,255,255,.2); cursor: pointer; }
.iq-dots button.done { background: color-mix(in srgb, var(--lv) 70%, #fff); }
.iq-dots button[aria-current="true"] { background: #fbbf24; transform: scale(1.3); }
.iq-arena .iq-submit { margin-top: 18px; color: #a5b4fc; }
.js .iq-arena .iq-submit { justify-content: center; }
.iq-review { color: var(--ink); }

/* Result */
.iq-result-wrap .narrow { max-width: 820px; }
.iq-result3d { text-align: center; display: flex; flex-direction: column; align-items: center; gap: 10px; padding: 30px 20px; }
.iq-result3d h1 { color: #fff; font-size: clamp(1.6rem, 4vw, 2.4rem); }
.muted-light { color: #a5b4fc; } .h3.light { color: #fff; }
.medal3d { width: 170px; height: 170px; perspective: 800px; margin-bottom: 8px; }
.medal-face { width: 100%; height: 100%; border-radius: 50%; display: flex; flex-direction: column; align-items: center; justify-content: center; color: #fff;
  background: conic-gradient(from 210deg, #fbbf24, var(--lv), #f472b6, #fbbf24); box-shadow: 0 0 60px color-mix(in srgb, var(--lv) 60%, transparent), inset 0 0 0 10px rgba(255,255,255,.25);
  animation: medal 6s ease-in-out infinite; transform-style: preserve-3d; }
.medal-face strong { font-size: 3.4rem; line-height: 1; text-shadow: 0 4px 12px rgba(0,0,0,.35); } .medal-face span { font-weight: 800; letter-spacing: .2em; }
@keyframes medal { 0%, 100% { transform: rotateY(-20deg); } 50% { transform: rotateY(20deg); } }
.confetti { position: fixed; top: -12px; width: 10px; height: 14px; z-index: 99; pointer-events: none; animation: fall linear forwards; }
@keyframes fall { to { transform: translateY(105vh) rotate(720deg); } }

/* Certificate */
.cert-page { padding: 34px 0 60px; }
.certificate { position: relative; max-width: 980px; margin: 0 auto; aspect-ratio: 1.414; background: #fffbf5; color: var(--brand-2); border-radius: 10px; overflow: hidden;
  box-shadow: 0 50px 100px -40px rgba(0,0,0,.8); transform: perspective(1600px) rotateX(4deg); }
.cert-ribbon { position: absolute; width: 46%; height: 34%; }
.cert-ribbon.r1 { left: -8%; top: -10%; background: linear-gradient(135deg, var(--brand), #ff6a3d); clip-path: polygon(0 0, 100% 0, 0 100%); }
.cert-ribbon.r2 { right: -8%; bottom: -10%; background: linear-gradient(135deg, var(--accent), #38bdf8); clip-path: polygon(100% 100%, 0 100%, 100% 0); }
.cert-inner { position: absolute; inset: 4%; border: 3px double #c9a227; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; padding: 2% 6%; }
.cert-brand img { max-height: 44px; } .cert-brand .brand { color: var(--brand-2); }
.cert-kicker { letter-spacing: .25em; text-transform: uppercase; font-size: clamp(.6rem, 1.3vw, .85rem); color: var(--accent); margin: 1% 0 0; font-weight: 700; }
.cert-title { font-family: Georgia, "DejaVu Serif", serif; color: var(--brand); font-size: clamp(1.2rem, 3.6vw, 2.6rem); margin: .5% 0; }
.cert-level { font-weight: 700; margin: 0; font-size: clamp(.8rem, 1.6vw, 1.05rem); }
.cert-small { color: #5b6575; margin: 1.2% 0 0; font-size: clamp(.7rem, 1.4vw, .95rem); }
.cert-name { font-family: Georgia, "DejaVu Serif", serif; font-size: clamp(1.4rem, 4.2vw, 3rem); font-weight: 700; margin: .5% 0; border-bottom: 2px solid #c9a227; padding: 0 4%; }
.cert-score { margin: 1% 0; } .cert-score span { display: inline-flex; width: clamp(64px, 11vw, 110px); height: clamp(64px, 11vw, 110px); border-radius: 50%; align-items: center; justify-content: center;
  font-size: clamp(1.4rem, 4vw, 2.6rem); font-weight: 900; color: var(--brand); border: 5px solid var(--brand); background: #fff; box-shadow: 0 0 0 6px #fde68a; }
.cert-band { font-weight: 700; margin: 0; font-size: clamp(.75rem, 1.5vw, 1rem); }
.cert-foot { position: absolute; left: 4%; right: 4%; bottom: 4%; display: flex; justify-content: space-between; align-items: flex-end; text-align: left; font-size: clamp(.6rem, 1.2vw, .85rem); color: #5b6575; }
.cert-foot small { display: block; } .cert-foot strong { display: block; color: var(--brand-2); margin-bottom: 4px; }
.cert-qr { text-align: center; } .cert-qr svg { width: clamp(64px, 11vw, 110px); height: auto; display: block; }
.cert-actions { display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; }
.share-bar { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; justify-content: center; }
.share-label { display: inline-flex; gap: 6px; align-items: center; font-weight: 700; margin-right: 4px; }
.iq-page .share-label, .iq-arena .share-label { color: #fff; }
.sb { display: inline-flex; gap: 6px; align-items: center; padding: 8px 14px; border-radius: 999px; border: 0; color: #fff; text-decoration: none; font-weight: 600; font-size: .88rem; cursor: pointer; }
.sb:hover { color: #fff; filter: brightness(1.08); }
.sb.fb { background: #1877f2; } .sb.li { background: #0a66c2; } .sb.wa { background: #22c55e; } .sb.xx { background: #111; } .sb.cp, .sb.ns { background: #475569; }
.verify-page { padding: 50px 0; }
.verify-card { text-align: center; display: flex; flex-direction: column; align-items: center; gap: 10px; padding: 34px; }
.verify-card dl { text-align: left; width: 100%; max-width: 440px; }
.verify-badge { width: 84px; height: 84px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; color: #fff; }
.verify-badge .icon { width: 44px; height: 44px; stroke-width: 2.6; }
.verify-card.ok .verify-badge { background: linear-gradient(135deg, #16a34a, #22c55e); box-shadow: 0 0 0 10px #dcfce7; }
.verify-card.bad .verify-badge { background: linear-gradient(135deg, #dc2626, #f87171); box-shadow: 0 0 0 10px #fee2e2; }

/* Sign-in pages */
.auth-body { background: #f1f3f9; }
.auth-center { --auth-bg: transparent; position: relative; min-height: 100vh; overflow: hidden; isolation: isolate; display: flex; flex-direction: column; background: var(--auth-bg); }
.auth-center[style*="--auth-img"] { background: linear-gradient(rgba(241,243,249,.88), rgba(241,243,249,.92)), var(--auth-img) center/cover; }
.auth-ribbons span { position: absolute; z-index: -1; border-radius: 0 100% 0 100%; }
.auth-ribbons .r1 { width: 520px; height: 240px; left: -160px; top: -70px; background: linear-gradient(135deg, var(--brand), #ff6a3d); transform: rotate(-16deg); opacity: .14; }
.auth-ribbons .r2 { width: 600px; height: 240px; right: -220px; bottom: 40px; background: linear-gradient(135deg, var(--accent), #38bdf8); transform: rotate(-22deg); opacity: .12; }
.auth-ribbons .r3 { width: 360px; height: 360px; right: 10%; top: -180px; border-radius: 50%; background: radial-gradient(circle, color-mix(in srgb, var(--brand) 25%, transparent), transparent 70%); }
.auth-topbar { display: flex; justify-content: space-between; align-items: center; padding: 16px 22px; }
.auth-home { display: inline-flex; gap: 4px; align-items: center; color: var(--ink-2); text-decoration: none; font-weight: 600; }
.auth-stage { flex: 1; display: flex; flex-direction: column; align-items: center; padding: 0 16px 30px; }
.auth-logo-top { margin: 4px 0 18px; text-align: center; }
.auth-logo-top .brand img { max-height: 64px; } .auth-logo-top .brand { font-size: 1.5rem; }
.auth-card { width: 100%; max-width: 440px; background: #fff; border-radius: 22px; padding: 30px 30px 26px; box-shadow: 0 30px 70px -36px rgba(11,27,61,.45); border: 1px solid var(--line); }
.auth-card h1, .auth-title { font-size: 1.5rem; text-align: center; margin: 0 0 4px; }
.center { text-align: center; }
.auth-card .field input, .auth-card .field select { min-height: 48px; border-radius: 12px; }
.auth-card .btn-block { margin-top: 4px; }
.otp-link { margin-top: 10px; }
.auth-switch { margin: 18px 0 0; }
.auth-points { list-style: none; padding: 0; margin: 20px 0 0; display: flex; flex-wrap: wrap; gap: 8px 16px; justify-content: center; max-width: 640px; color: var(--ink-2); font-size: .88rem; }
.auth-points li { display: inline-flex; gap: 6px; align-items: center; } .auth-points .icon { color: var(--ok); }
.auth-copy { color: var(--ink-3); margin-top: 18px; }
.social-login { display: grid; gap: 10px; margin: 18px 0 4px; }
.btn-social { display: flex; align-items: center; justify-content: center; gap: 10px; min-height: 48px; border-radius: 12px; border: 1.5px solid var(--line-strong); background: #fff; color: var(--ink); font-weight: 700; text-decoration: none; transition: border-color .15s, transform .15s; }
.btn-social:hover { border-color: var(--ink-3); transform: translateY(-1px); color: var(--ink); }
.btn-social .icon { width: 20px; height: 20px; }
.sb-google .icon { color: #ea4335; } .sb-facebook { background: #1877f2; border-color: #1877f2; color: #fff; } .sb-facebook:hover { color: #fff; border-color: #1877f2; }
.sb-linkedin { background: #0a66c2; border-color: #0a66c2; color: #fff; } .sb-linkedin:hover { color: #fff; border-color: #0a66c2; }
.or-divider { display: flex; align-items: center; gap: 12px; color: var(--ink-3); font-size: .85rem; margin: 14px 0; }
.or-divider::before, .or-divider::after { content: ""; flex: 1; height: 1px; background: var(--line); }
.auth-tabs { margin-top: 0; }
.otp-input { font-size: 1.5rem; letter-spacing: .4em; text-align: center; font-variant-numeric: tabular-nums; }

/* Toasts (real activity) */
.toast-dock { position: fixed; left: 16px; bottom: 16px; z-index: 80; display: flex; flex-direction: column; gap: 8px; pointer-events: none; }
.toast { pointer-events: auto; display: flex; gap: 10px; align-items: center; max-width: 340px; background: #fff; border-radius: 14px; padding: 10px 12px; box-shadow: 0 18px 40px -16px rgba(11,27,61,.45); border: 1px solid var(--line);
  font-size: .88rem; animation: toastIn .45s cubic-bezier(.2,.8,.2,1); }
.toast .t-ic { width: 36px; height: 36px; border-radius: 10px; flex: none; display: inline-flex; align-items: center; justify-content: center; color: #fff; background: var(--grad-brand); }
.toast small { display: block; color: var(--ink-3); }
.toast button { margin-left: auto; border: 0; background: none; color: var(--ink-3); cursor: pointer; font-size: 1.1rem; }
.toast.out { animation: toastOut .35s forwards; }
@keyframes toastIn { from { opacity: 0; transform: translateY(16px) scale(.96); } }
@keyframes toastOut { to { opacity: 0; transform: translateX(-30px); } }

/* Footer */
.site-footer { background: linear-gradient(180deg, #0b1b3d, #081530); border-top: 4px solid var(--brand); }
.footer-payments { margin: 26px 0 0; padding: 12px; background: #fff; border-radius: 14px; }
.footer-payments img { display: block; width: 100%; height: auto; }

/* Checkout for one-time items */
.buy-card { text-align: center; } .buy-ic { width: 64px; height: 64px; border-radius: 18px; display: inline-flex; align-items: center; justify-content: center; color: #fff; background: var(--grad-brand); margin-bottom: 6px; }
.buy-ic .icon { width: 30px; height: 30px; }
.pay-logos img { width: 100%; height: auto; margin-top: 8px; border-radius: 10px; border: 1px solid var(--line); }

/* Dashboard facelift */
.sidebar { background: linear-gradient(185deg, #0b1b3d 0%, #0d2150 60%, #11275c 100%); }
.sidebar .brand { min-height: 70px; }
.side-nav a { border-radius: 10px; transition: background .15s, transform .15s; }
.side-nav a:hover { transform: translateX(2px); }
.side-nav a.active { background: var(--grad-brand); color: #fff; box-shadow: 0 10px 22px -12px var(--brand); }
.side-nav a.active .icon { color: #fff; }
.topbar { background: rgba(255,255,255,.85); backdrop-filter: blur(10px); min-height: 70px; }
.dash-content, .dash-main > main { background: #f5f6fa; }
.kpi { position: relative; overflow: hidden; }
.kpi::after { content: ""; position: absolute; right: -30px; top: -30px; width: 110px; height: 110px; border-radius: 50%; background: radial-gradient(circle, color-mix(in srgb, var(--brand) 14%, transparent), transparent 70%); }
.kpi .lbl .icon { width: 30px; height: 30px; padding: 6px; border-radius: 9px; background: var(--brand-soft); color: var(--brand); }
.grid-4 > .kpi:nth-child(2) .lbl .icon, .grid-3 > .kpi:nth-child(2) .lbl .icon { background: #e8efff; color: var(--accent); }
.grid-4 > .kpi:nth-child(3) .lbl .icon, .grid-3 > .kpi:nth-child(3) .lbl .icon { background: #fef3c7; color: #b45309; }
.grid-4 > .kpi:nth-child(4) .lbl .icon { background: #f3e8ff; color: #7c3aed; }
.kpi .val { color: var(--brand-2); }
.page-head h1 { font-size: 1.6rem; letter-spacing: -.02em; }
.dash-hero { position: relative; overflow: hidden; display: flex; justify-content: space-between; align-items: center; gap: 18px; flex-wrap: wrap; padding: 24px 26px; border-radius: 20px; color: #fff; margin-bottom: 18px;
  background: radial-gradient(500px 200px at 100% 0%, color-mix(in srgb, var(--brand) 55%, transparent), transparent 70%), var(--grad-navy); box-shadow: 0 24px 50px -30px rgba(11,27,61,.7); }
.dash-hero h1 { color: #fff; margin: 0 0 4px; font-size: clamp(1.3rem, 3vw, 1.8rem); }
.dash-hero p { color: #cbd5e1; margin: 0; }
.dash-hero .ring-wrap { display: flex; align-items: center; gap: 14px; }
.ring-prog { --p: 0; width: 84px; height: 84px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; font-weight: 800; font-size: 1.1rem;
  background: radial-gradient(closest-side, #12234d 76%, transparent 77% 100%), conic-gradient(#fbbf24 calc(var(--p) * 1%), rgba(255,255,255,.15) 0); }
.quick-actions { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 12px; margin-bottom: 18px; }
.qa { display: flex; flex-direction: column; gap: 8px; padding: 16px; border-radius: 16px; background: #fff; border: 1px solid var(--line); text-decoration: none; color: var(--ink); font-weight: 700; transition: transform .15s, box-shadow .15s; }
.qa:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); color: var(--ink); }
.qa .ic { width: 42px; height: 42px; border-radius: 12px; display: inline-flex; align-items: center; justify-content: center; color: #fff; background: var(--grad-brand); }
.qa:nth-child(2) .ic { background: linear-gradient(135deg, var(--accent), #38bdf8); } .qa:nth-child(3) .ic { background: linear-gradient(135deg, #7c3aed, #db2777); }
.qa:nth-child(4) .ic { background: linear-gradient(135deg, #f59e0b, #f97316); } .qa:nth-child(5) .ic { background: linear-gradient(135deg, #16a34a, #22c55e); } .qa:nth-child(6) .ic { background: linear-gradient(135deg, #0ea5e9, #6366f1); }
.qa small { color: var(--ink-3); font-weight: 500; }

/* Responsive */
@media (max-width: 980px) {
  .hero2-grid, .iq-feature-grid, .iq-hero-grid { grid-template-columns: 1fr; }
  .hero2-visual { height: 300px; } .iqf-3d, .iq-hero-3d { height: 280px; }
  .stat-band2 { grid-template-columns: repeat(2, 1fr); }
  .iq-levels3d { grid-template-columns: 1fr; } .how-steps { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) {
  .hero2 { padding: 40px 0 90px; } .hero2-visual { display: none; }
  .hero-search.big, .hero-search.compact { grid-template-columns: 1fr; }
  .stat-band2 { gap: 10px; } .sb2-item { padding: 14px; gap: 10px; } .sb2-num { font-size: 1.3rem; } .sb2-ic { width: 40px; height: 40px; }
  .live-strip { border-radius: 16px; flex-direction: column; align-items: flex-start; }
  .notice-grid { grid-template-columns: 1fr; }
  .iq-feature { padding: 46px 0; } .iqf-3d { height: 230px; } .orbit.o2 { display: none; }
  .how-steps { grid-template-columns: 1fr; }
  .card3d { padding: 18px; } .iq-q.card3d legend { font-size: 1.05rem; }
  .iq-timer-ring { width: 72px; height: 72px; }
  .certificate { aspect-ratio: auto; min-height: 520px; transform: none; } .cert-foot { position: static; margin-top: 16px; width: 100%; }
  .auth-card { padding: 22px 18px; border-radius: 18px; }
  .nh-row { flex-direction: column; align-items: flex-start; } .nh-logo { width: 64px; height: 64px; }
  .toast-dock { left: 10px; right: 10px; } .toast { max-width: none; }
}
@media (prefers-reduced-motion: reduce) {
  .cube3d, .orbit, .stack3d, .float-chip, .float-card, .om-track, .btn-glow, .medal-face, .iq-stars, .pulse-dot { animation: none !important; }
  .js .iq-deck .iq-q.active { animation: none; }
}

/* 1.2 polish: header never wraps; neutral focus colour so it does not look like an error */
.main-nav a, .brand span, .header-actions .btn { white-space: nowrap; }
.site-header .brand span { white-space: nowrap; }
@media (max-width: 1360px) { .main-nav { gap: 0; } .main-nav a { padding: 8px 9px; font-size: .94rem; } }
@media (max-width: 1260px) and (min-width: 1101px) { .main-nav a { padding: 8px 6px; font-size: .9rem; } }
input:focus, select:focus, textarea:focus { border-color: var(--accent, #1561E8); box-shadow: 0 0 0 3px color-mix(in srgb, var(--accent, #1561E8) 18%, transparent); }
a.sb2-item { text-decoration: none; color: var(--ink); transition: transform .15s; } a.sb2-item:hover { transform: translateY(-3px); }
.iq-arena .certificate .cert-title { color: var(--brand); }
.iq-arena .certificate .cert-name, .iq-arena .certificate .cert-level, .iq-arena .certificate .cert-band { color: var(--brand-2); }
.cert-qr { position: relative; z-index: 2; background: #fff; padding: 6px; border-radius: 6px; }
@media (max-width: 620px) { .iq-dots { display: none; } .iq-nav .btn { padding: 10px 16px; } }
/* CV design gallery */
.tpl-thumb { width: 100%; height: auto; aspect-ratio: 180 / 212; object-fit: cover; object-position: top; border-radius: 6px; border: 1px solid var(--line); background: #fff; transition: transform .15s, box-shadow .15s; }
.tpl-option:hover .tpl-thumb { transform: translateY(-2px); box-shadow: 0 10px 24px -14px rgba(11,27,61,.5); }
.tpl-option.locked .tpl-thumb { filter: grayscale(.6); }
.tpl-grid { grid-template-columns: repeat(auto-fill, minmax(118px, 1fr)); }
.tpl-scroll { position: relative; max-height: 560px; overflow-y: auto; padding: 2px 4px 2px 2px; border-radius: 10px; }

/* ---------- 1.2: digital dashboards ---------- */
.dash-hero { position: relative; overflow: hidden; display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 26px 28px; border-radius: 20px; color: #fff; margin-bottom: 16px;
  background: radial-gradient(600px 220px at 100% 0%, color-mix(in srgb, var(--brand) 55%, transparent), transparent 70%), linear-gradient(135deg, var(--brand-2), color-mix(in srgb, var(--brand-2) 70%, var(--accent)));
  box-shadow: 0 24px 50px -30px color-mix(in srgb, var(--brand-2) 90%, transparent); }
.dash-hero-glow { position: absolute; width: 260px; height: 260px; right: -60px; bottom: -120px; border-radius: 50%; background: color-mix(in srgb, var(--accent) 45%, transparent); filter: blur(30px); }
.dash-hero-main { position: relative; min-width: 0; }
.dash-hero h1 { color: #fff; margin: 4px 0 6px; font-size: clamp(1.35rem, 2.6vw, 1.9rem); }
.dash-hero p { color: #cbd5e1; margin: 0; }
.dash-greet { display: inline-block; font-size: .85rem; font-weight: 600; color: #fde68a; letter-spacing: .02em; }
.dash-chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }
.dash-chips span { display: inline-flex; gap: 6px; align-items: center; padding: 5px 12px; border-radius: 999px; background: rgba(255,255,255,.12); border: 1px solid rgba(255,255,255,.18); font-size: .85rem; }
.dash-ring { --p: 0; position: relative; flex: none; width: 128px; height: 128px; border-radius: 50%; display: grid; place-items: center;
  background: radial-gradient(closest-side, var(--brand-2) 78%, transparent 79% 100%), conic-gradient(#fbbf24 calc(var(--p) * 1%), rgba(255,255,255,.16) 0); }
.dash-ring div { text-align: center; } .dash-ring strong { display: block; font-size: 1.7rem; line-height: 1; } .dash-ring small { display: block; font-size: .7rem; color: #cbd5e1; max-width: 90px; margin-top: 4px; }
.quick-actions { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 10px; margin-bottom: 18px; }
.qa { --qc: var(--brand); display: flex; align-items: center; gap: 10px; padding: 12px 14px; border-radius: 14px; background: var(--surface); border: 1px solid var(--line); color: var(--ink); text-decoration: none; font-weight: 600; font-size: .9rem;
  transition: transform .15s, box-shadow .15s, border-color .15s; }
.qa:hover { transform: translateY(-3px); border-color: color-mix(in srgb, var(--qc) 40%, transparent); box-shadow: 0 16px 30px -20px color-mix(in srgb, var(--qc) 70%, transparent); color: var(--ink); }
.qa-ic { width: 38px; height: 38px; flex: none; border-radius: 11px; display: grid; place-items: center; color: #fff; background: linear-gradient(135deg, var(--qc), color-mix(in srgb, var(--qc) 60%, #000)); }
.qa-red { --qc: #E0182D; } .qa-blue { --qc: #1561E8; } .qa-purple { --qc: #7c3aed; } .qa-amber { --qc: #f59e0b; } .qa-pink { --qc: #db2777; } .qa-green { --qc: #16a34a; }
.dash-range { margin-top: -6px; }
.card.kpi { transition: transform .15s, box-shadow .15s; } .card.kpi:hover { transform: translateY(-2px); box-shadow: 0 18px 36px -24px rgba(11,27,61,.45); }
@media (max-width: 620px) { .dash-hero { flex-direction: column; align-items: flex-start; padding: 22px 18px; } .dash-ring { width: 104px; height: 104px; align-self: center; } .quick-actions { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.tpl-option { position: relative; }
code { overflow-wrap: anywhere; word-break: break-word; }

/* 1.2.1 IQ result: how the score is calculated */
details.iq-how { max-width: 520px; text-align: left; background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.18); border-radius: 12px; padding: 10px 14px; color: #e8ecf6; }
details.iq-how summary { cursor: pointer; font-weight: 600; }
details.iq-how p { margin: 8px 0 0; line-height: 1.55; }

/* 1.3 IQ: sign-in popup, name step, locked result */
.iq-auth { position: fixed; inset: 0; z-index: 1000; display: grid; place-items: center; padding: 16px; opacity: 0; transition: opacity .2s ease; }
.iq-auth.open { opacity: 1; }
.iq-auth[hidden], .iq-auth-card form[hidden] { display: none !important; }
.iq-auth-backdrop { position: absolute; inset: 0; background: rgba(8, 15, 35, .62); backdrop-filter: blur(3px); }
.iq-auth-card { position: relative; width: 100%; max-width: 410px; max-height: calc(100vh - 32px); overflow-y: auto; background: var(--surface); color: var(--ink);
  border-radius: 18px; padding: 28px 26px 20px; box-shadow: 0 30px 70px -20px rgba(0,0,0,.55); transform: translateY(14px) scale(.98); transition: transform .22s ease; }
.iq-auth.open .iq-auth-card { transform: none; }
.iq-auth-card h2 { font-size: 1.35rem; text-align: center; margin: 6px 0 4px; }
.iq-auth-card > p { text-align: center; }
.iq-auth-card form { display: flex; flex-direction: column; gap: 8px; margin-top: 14px; }
.iq-auth-card label { font-weight: 600; font-size: .9rem; }
.iq-auth-card .field-error { color: var(--danger, #c81e1e); font-size: .86rem; margin: 0; min-height: 1.2em; }
.iq-auth-card form.is-busy { opacity: .7; pointer-events: none; }
.iq-auth-logo { display: flex; justify-content: center; }
.iq-auth-logo .brand img { height: 40px !important; max-height: 40px !important; }
.iq-auth-x { position: absolute; top: 10px; right: 12px; width: 34px; height: 34px; border: 0; border-radius: 50%; background: transparent; font-size: 1.5rem; line-height: 1; color: var(--ink-3); cursor: pointer; }
.iq-auth-x:hover { background: var(--bg, #f3f4f6); color: var(--ink); }
.iq-auth-who { display: flex; justify-content: space-between; align-items: center; gap: 8px; background: var(--bg, #f3f4f6); border-radius: 10px; padding: 8px 12px; margin: 0; font-weight: 600; word-break: break-all; }
.iq-auth-terms { margin-top: 12px; }
#iq-auth-code { font-size: 1.5rem; letter-spacing: .4em; text-align: center; }
.linklike { background: none; border: 0; padding: 0; color: var(--accent, #1561E8); font: inherit; cursor: pointer; text-decoration: underline; text-underline-offset: 2px; }
html.modal-open { overflow: hidden; }
.iq-pay-note { display: block; margin-top: 6px; color: #fde68a; }
.iq-step-card { max-width: 480px; margin: 20px auto 0; text-align: center; display: flex; flex-direction: column; align-items: center; gap: 10px;
  background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.14); border-radius: 22px; padding: 34px 26px; backdrop-filter: blur(6px); }
.iq-step-card h1 { color: #fff; font-size: clamp(1.4rem, 4vw, 1.9rem); margin: 0; }
.iq-step-kicker { margin: 0; font-size: .85rem; letter-spacing: .04em; color: #c7d2fe; }
.iq-step-icon { width: 64px; height: 64px; border-radius: 50%; display: grid; place-items: center; background: #16a34a; color: #fff; box-shadow: 0 10px 30px -8px rgba(22,163,74,.7); }
.iq-step-icon svg { width: 32px; height: 32px; }
.iq-step-form { width: 100%; text-align: left; margin-top: 8px; }
.iq-step-form label { color: #e2e8f0; }
.iq-step-form .hint { color: #a5b4fc; }
.iq-step-form input { background: #fff; color: #0f172a; }
.medal3d.is-locked .medal-face { filter: saturate(.55) brightness(.9); }
.medal3d.is-locked .medal-face svg { width: 54px; height: 54px; }
.iq-unlock-list { list-style: none; padding: 0; margin: 4px 0 8px; display: grid; gap: 6px; text-align: left; color: #e2e8f0; }
.iq-unlock-list svg { width: 18px; height: 18px; color: #4ade80; vertical-align: -3px; }
@media (max-width: 520px) { .iq-auth { padding: 0; place-items: end center; } .iq-auth-card { border-radius: 18px 18px 0 0; max-height: 92vh; } }

/* 1.3.1 Checkout: EPS option shows what the customer can pay with */
.gateway-option.gw-rich { grid-column: 1 / -1; align-items: flex-start; padding: 14px 16px; font-weight: 400; }
.gateway-option.gw-rich input { margin-top: 4px; flex: none; }
.gw-body { display: flex; flex-direction: column; gap: 6px; min-width: 0; width: 100%; }
.gw-head { display: flex; justify-content: space-between; align-items: center; gap: 10px; }
.gw-rich .gw-name { font-weight: 700; font-size: 1.02rem; }
.gw-badge { height: 34px; width: auto; flex: none; }
.gw-sub { color: var(--ink-3); font-size: .88rem; }
.gw-chips { display: flex; flex-wrap: wrap; gap: 6px; }
.gw-chip { font-size: .78rem; font-weight: 700; padding: 3px 9px; border-radius: 999px; background: var(--surface-2, #f3f4f6); border: 1px solid var(--line); color: var(--ink-2); }
.gw-logos { width: 100%; max-width: 520px; height: auto; border-radius: 8px; }
@media (max-width: 520px) { .gw-badge { height: 28px; } }

/* ===== 1.5 Job post form (apply method first, title assistant, skills chips) ===== */
.job-form .card-head h2 { display: flex; align-items: center; gap: 10px; }
.job-form .card-head .muted { margin: 4px 0 0; }
.job-form .row-between { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.jf-step { display: inline-grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; background: var(--grad-brand, var(--brand)); color: #fff; font-size: .85rem; font-weight: 700; flex: none; }
.apply-choice { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin-bottom: 14px; }
.apply-opt { position: relative; display: flex; gap: 12px; align-items: flex-start; padding: 14px; border: 2px solid var(--line); border-radius: var(--radius); background: var(--surface); cursor: pointer; transition: border-color .15s, box-shadow .15s, transform .15s; }
.apply-opt:hover { border-color: color-mix(in srgb, var(--brand) 45%, var(--line)); transform: translateY(-1px); }
.apply-opt input { position: absolute; opacity: 0; pointer-events: none; }
.apply-opt strong { display: block; color: var(--ink); }
.apply-opt small { display: block; color: var(--ink-3); margin-top: 3px; line-height: 1.4; }
.apply-opt .apply-ic { flex: none; width: 38px; height: 38px; border-radius: 10px; display: grid; place-items: center; background: var(--brand-soft); color: var(--brand); }
.apply-opt.is-selected { border-color: var(--brand); box-shadow: 0 0 0 4px color-mix(in srgb, var(--brand) 14%, transparent); }
.apply-opt.is-selected .apply-ic { background: var(--grad-brand, var(--brand)); color: #fff; }
.apply-opt.is-locked { opacity: .55; cursor: not-allowed; background: var(--surface-2); }
.apply-opt.is-locked:hover { transform: none; border-color: var(--line); }
.apply-opt .lock-note { color: var(--warn); }
.apply-opt .lock-note a { pointer-events: auto; }
.apply-opt input:focus-visible ~ .apply-ic { outline: 3px solid color-mix(in srgb, var(--brand) 40%, white); }
.apply-fields .hint .icon { color: var(--ok); vertical-align: -3px; }
.assist-hint { display: flex; align-items: center; gap: 6px; }
.assist-hint .icon { color: var(--accent); flex: none; }
.assist-hint.is-on { color: var(--ok); font-weight: 600; }
.auto-tag { display: inline-block; margin-left: 6px; padding: 1px 7px; border-radius: 99px; background: color-mix(in srgb, var(--accent) 16%, white); color: color-mix(in srgb, var(--accent) 80%, black); font-size: .7rem; font-weight: 700; text-transform: uppercase; letter-spacing: .03em; vertical-align: 1px; }
.auto-filled { animation: autofill 1.4s ease; }
@keyframes autofill { 0% { box-shadow: 0 0 0 0 color-mix(in srgb, var(--accent) 60%, transparent); } 30% { box-shadow: 0 0 0 5px color-mix(in srgb, var(--accent) 35%, transparent); } 100% { box-shadow: 0 0 0 0 transparent; } }
.field.is-muted { opacity: .55; }
.assist-banner { display: flex; gap: 10px; align-items: flex-start; margin: 0 0 14px; padding: 12px 14px; border-radius: var(--radius-sm); background: linear-gradient(135deg, color-mix(in srgb, var(--accent) 12%, white), var(--brand-soft)); color: var(--ink-2); font-size: .92rem; }
.assist-banner .icon { color: var(--accent); flex: none; margin-top: 2px; }
.rte-label-row { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-bottom: 6px; }
.rte-label-row label { margin: 0; }
.rte-basic .rte-area { min-height: 150px; }
.rte-basic .rte-area ul, .rte-basic .rte-area ol, .job-rich ul, .job-rich ol { padding-left: 1.3em; margin: .4em 0; }
.rte-basic .rte-area li, .job-rich li { margin: .2em 0; }
.rte-basic .rte-area p, .job-rich p { margin: 0 0 .6em; }
.rte-sep { width: 1px; background: var(--line-strong); margin: 4px 4px; }
.rte.has-error .rte-area { border-color: var(--bad); }
.chips-input { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; min-height: 44px; padding: 6px 8px; border: 1px solid var(--line-strong); border-radius: var(--radius-sm); background: var(--surface); cursor: text; }
.chips-input:focus-within { outline: 3px solid color-mix(in srgb, var(--brand) 30%, white); border-color: var(--brand); }
.chips-input input { flex: 1 1 160px; min-width: 120px; border: 0 !important; outline: 0 !important; box-shadow: none !important; padding: 4px; background: transparent; min-height: 0; }
.chip { display: inline-flex; align-items: center; gap: 4px; padding: 4px 6px 4px 11px; border-radius: 99px; background: var(--brand-soft); color: var(--brand-strong); font-size: .86rem; font-weight: 600; border: 1px solid color-mix(in srgb, var(--brand) 22%, transparent); }
.chip-x { border: 0; background: transparent; color: inherit; font-size: 1.05rem; line-height: 1; width: 20px; height: 20px; border-radius: 50%; cursor: pointer; }
.chip-x:hover { background: color-mix(in srgb, var(--brand) 18%, white); }
.chip-add { cursor: pointer; padding: 4px 11px; background: var(--surface); color: var(--ink-2); border-color: var(--line-strong); font-weight: 500; }
.chip-add:hover { background: var(--brand-soft); color: var(--brand-strong); border-color: var(--brand); }
.skill-suggest { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; margin-top: 8px; }
.skill-suggest [data-skill-chips] { display: contents; }
.stack-tight { display: flex; flex-direction: column; gap: 6px; justify-content: center; }
.form-actions { position: sticky; bottom: 0; z-index: 5; background: color-mix(in srgb, var(--bg) 88%, transparent); backdrop-filter: blur(6px); padding: 12px 0; }
@media (max-width: 760px) { .apply-choice { grid-template-columns: 1fr; } }
.job-form [data-show-for][hidden], .job-form [data-new-company][hidden], .job-form [hidden] { display: none !important; }

/* ===== 1.5 IQ pages: light, colourful theme (overrides the dark 1.2 look) ===== */
body.iq-page { --iq-ink: #13204a; --iq-ink-2: #4b587c; --iq-sky: #38bdf8; --iq-violet: #8b5cf6; --iq-pink: #ec4899; --iq-sun: #f59e0b;
  background: linear-gradient(180deg, #f7f5ff 0%, #fff7f2 45%, #f2fbff 100%); }
body.iq-page .iq-stars { opacity: .5; filter: hue-rotate(200deg) saturate(2) brightness(.7); }
.iq-hero { color: var(--iq-ink); padding: 56px 0 36px;
  background: radial-gradient(760px 380px at 85% 0%, rgba(139,92,246,.22), transparent 62%), radial-gradient(620px 360px at 0% 100%, rgba(236,72,153,.18), transparent 60%),
    radial-gradient(520px 300px at 50% 120%, rgba(56,189,248,.22), transparent 60%), linear-gradient(180deg, #fbfaff, #fff6f1); }
.iq-hero h1 { color: var(--iq-ink); background: linear-gradient(90deg, #4f46e5, #db2777 55%, #f59e0b); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.iq-hero .lead { color: var(--iq-ink-2); }
.iq-pill { background: #fff; border-color: rgba(139,92,246,.25); color: var(--iq-ink); box-shadow: 0 6px 16px -10px rgba(79,70,229,.45); }
.iq-hero-points li { color: var(--iq-ink); } .iq-hero-points .icon { color: var(--iq-violet); }
.float-card { background: rgba(255,255,255,.85); border-color: rgba(139,92,246,.22); color: var(--iq-ink); box-shadow: 0 18px 40px -20px rgba(79,70,229,.45); }
.float-card small { color: var(--iq-ink-2); } .fc-cert .icon { color: #16a34a; }
.float-card .bar { background: #ede9fe; }
.orbit { border-color: rgba(139,92,246,.25) !important; }
.glass { background: rgba(255,255,255,.82); border: 1px solid rgba(139,92,246,.16); color: var(--iq-ink); box-shadow: 0 20px 44px -28px rgba(79,70,229,.4); }
.glass h2, .glass h3 { color: var(--iq-ink); } .glass .muted { color: var(--iq-ink-2); } .glass .check span { color: var(--iq-ink); }
.iq-page .card.flush { background: #fff; border-color: rgba(139,92,246,.16); color: var(--iq-ink); }
.iq-page .card.flush h2 { color: var(--iq-ink); } .iq-page .table th { background: #f5f3ff; color: #5b21b6; border-color: #ede9fe; } .iq-page .table td { border-color: #f1eefc; }
.level3d { --lv: #0ea5e9; } .level3d.lvl-2 { --lv: #8b5cf6; } .level3d.lvl-3 { --lv: #ec4899; }
.level3d-inner { color: var(--iq-ink); background: linear-gradient(165deg, #fff 0%, color-mix(in srgb, var(--lv) 9%, #fff) 100%);
  border: 1.5px solid color-mix(in srgb, var(--lv) 35%, #fff); box-shadow: 0 26px 50px -30px color-mix(in srgb, var(--lv) 75%, transparent), inset 0 1px 0 #fff; position: relative; overflow: hidden; }
.level3d-inner::before { content: ""; position: absolute; right: -40px; top: -40px; width: 150px; height: 150px; border-radius: 50%; background: radial-gradient(circle, color-mix(in srgb, var(--lv) 28%, transparent), transparent 70%); pointer-events: none; }
.level3d h2 { color: var(--iq-ink); } .level3d p, .level3d .iq-meta { color: var(--iq-ink-2); }
.price-tag.free { background: #dcfce7; color: #15803d; } .price-tag.paid { background: #fef3c7; color: #b45309; } .price-tag.off { background: #f1f5f9; color: #64748b; }
.level3d.is-locked .level3d-inner { background: linear-gradient(165deg, #fff, #f8fafc); border-style: dashed; box-shadow: none; }
.level3d.is-locked .level-orb { filter: grayscale(.55); opacity: .75; }
.btn-locked { display: inline-flex; gap: 6px; align-items: center; background: #f1f5f9 !important; color: #475569 !important; border: 1px dashed #cbd5e1 !important; box-shadow: none !important; }
.level3d .iq-pay-note, .iq-pay-note { color: var(--iq-ink-2) !important; }
.iq-score-tile { background: #fff; border: 1.5px solid color-mix(in srgb, var(--lv, #8b5cf6) 30%, #fff); color: var(--iq-ink); }
.iq-page .iq-score-tile .muted { color: var(--iq-ink-2); }
.how-steps p { color: var(--iq-ink-2); }
.cert-mini { background: #fff; border-color: #ede9fe; color: var(--iq-ink); } .cert-mini:hover { background: #faf5ff; color: var(--iq-ink); }
.cert-mini small { color: var(--iq-ink-2); } .cm-score { color: var(--iq-ink); box-shadow: inset 0 0 0 5px #fff; background: conic-gradient(var(--lv) 75%, #ede9fe 0); }
/* Taking the test */
.iq-arena { color: var(--iq-ink, #13204a);
  background: radial-gradient(820px 380px at 85% 0%, color-mix(in srgb, var(--lv) 20%, transparent), transparent 62%), radial-gradient(640px 360px at 0% 100%, rgba(245,158,11,.14), transparent 60%), linear-gradient(180deg, #fbfaff, #f4fbff); }
.iq-arena.lvl-2 { --lv: #8b5cf6; } .iq-arena.lvl-3 { --lv: #ec4899; }
.iq-arena h1 { color: #13204a; }
.iq-timer-ring .trk { stroke: #e9e5fb; } .iq-timer-ring span { color: #13204a; } .iq-timer-ring .val { filter: none; }
.iq-arena .iq-progress { background: #ece8fb; }
.iq-counter { color: #4b587c; }
.card3d { background: #fff; border: 1.5px solid color-mix(in srgb, var(--lv) 25%, #fff); color: #13204a; box-shadow: 0 30px 60px -36px color-mix(in srgb, var(--lv) 70%, transparent); backdrop-filter: none; }
.iq-q.card3d legend { color: #13204a; }
.iq-arena .iq-option { border-color: #e2e8f0; background: #f8fafc; color: #13204a; }
.iq-arena .iq-option:hover { background: #fff; }
.iq-arena .iq-letter { border-color: #cbd5e1; color: #475569; }
.iq-arena .iq-option:has(input:checked) { background: color-mix(in srgb, var(--lv) 12%, #fff); color: #13204a; }
.iq-arena .iq-option:has(input:checked) .iq-letter { color: #fff; }
.iq-dots button { background: #e2e8f0; } .iq-arena .iq-submit { color: #4b587c; }
/* Result & certificate pages */
.iq-result3d h1, .h3.light { color: #13204a; } .muted-light { color: #4b587c; }
.medal-face { box-shadow: 0 24px 60px -18px color-mix(in srgb, var(--lv) 70%, transparent), inset 0 0 0 10px rgba(255,255,255,.45); }
.certificate { box-shadow: 0 40px 90px -40px rgba(79,70,229,.45); }
.iq-page .share-label, .iq-arena .share-label { color: #13204a; }
.iq-arena .btn-ghost-light, .iq-page .btn-ghost-light { background: #fff; color: #13204a; border: 1px solid #ddd6fe; }
.iq-arena .alert, .iq-page .alert { color: inherit; }
/* IQ share panel */
.iq-share { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: 22px; align-items: center; margin: 18px auto 0; max-width: 980px; padding: 18px; border-radius: 22px;
  background: #fff; border: 1px solid #ede9fe; box-shadow: 0 30px 60px -36px rgba(79,70,229,.5); color: #13204a; text-align: left; }
.iq-share-preview { position: relative; border-radius: 16px; overflow: hidden; box-shadow: 0 16px 40px -20px rgba(219,39,119,.6); transform: rotate(-1.2deg); transition: transform .3s; }
.iq-share-preview:hover { transform: rotate(0) scale(1.01); }
.iq-share-preview img { display: block; width: 100%; height: auto; }
.iq-share-badge { position: absolute; top: 10px; right: 10px; display: inline-flex; gap: 6px; align-items: center; padding: 6px 12px; border-radius: 99px; background: #fef3c7; color: #92400e; font-weight: 800; font-size: .85rem; box-shadow: 0 6px 14px -6px rgba(0,0,0,.3); }
.iq-share-body h2 { display: flex; gap: 8px; align-items: center; margin: 0 0 4px; color: #13204a; }
.iq-share-body .muted { color: #4b587c; margin: 0 0 12px; }
.share-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.sg { display: inline-flex; gap: 7px; align-items: center; justify-content: center; padding: 10px; border-radius: 12px; border: 0; color: #fff; text-decoration: none; font-weight: 700; font-size: .9rem; cursor: pointer; transition: transform .12s, filter .12s; }
.sg:hover { color: #fff; transform: translateY(-2px); filter: brightness(1.06); }
.sg.li { background: #0a66c2; } .sg.fb { background: #1877f2; } .sg.wa { background: #22c55e; } .sg.xx { background: #111827; } .sg.tg { background: #229ed9; } .sg.cp, .sg.ns { background: #64748b; }
.btn-li-add { width: 100%; justify-content: center; margin-top: 12px; background: linear-gradient(135deg, #0a66c2, #2563eb) !important; color: #fff; }
.iq-share-dl { display: flex; gap: 8px; margin-top: 10px; flex-wrap: wrap; }
.iq-share-dl .btn { flex: 1; justify-content: center; }
@media (max-width: 760px) { .iq-share { grid-template-columns: 1fr; } }
/* Homepage IQ section: light theme */
.iq-feature { color: #13204a; border-top: 1px solid #efeafd; border-bottom: 1px solid #efeafd;
  background: radial-gradient(760px 380px at 85% 0%, rgba(139,92,246,.20), transparent 62%), radial-gradient(620px 360px at 0% 100%, rgba(236,72,153,.16), transparent 60%),
    radial-gradient(520px 300px at 45% 115%, rgba(56,189,248,.20), transparent 60%), linear-gradient(180deg, #fbfaff, #fff6f1); }
.iq-feature .iq-stars { opacity: .45; filter: hue-rotate(200deg) saturate(2) brightness(.7); }
.iq-feature h2 { background: linear-gradient(90deg, #4f46e5, #db2777 55%, #f59e0b); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.iq-feature .lead { color: #4b587c; }
.iqf-level { background: #fff; border-color: color-mix(in srgb, var(--lv) 30%, #fff); color: #13204a; box-shadow: 0 12px 26px -18px color-mix(in srgb, var(--lv) 80%, transparent); }
.iqf-level:hover { background: color-mix(in srgb, var(--lv) 8%, #fff); color: #13204a; }
.iqf-level small { color: #b45309; }
.iqf-points li { color: #13204a; } .iqf-points .icon { color: #8b5cf6; }
.iq-feature .orbit, .iq-hero .orbit { border-color: rgba(139,92,246,.28); }

/* 1.7 job form: experience pair + Bangladesh location path */
.exp-pair{display:flex;align-items:flex-end;gap:10px;flex-wrap:wrap}
.exp-sel{display:flex;flex-direction:column;gap:4px;flex:1;min-width:130px;font-size:.82rem;color:var(--muted,#64748b)}
.exp-sel select{width:100%}
.exp-dash{padding-bottom:10px;color:var(--muted,#64748b);font-weight:700}
.loc-box{background:linear-gradient(180deg,#f8fbff,#fff);border:1px solid #e3eafa;border-radius:14px;padding:14px 16px}
.loc-box>label{display:flex;align-items:center;gap:6px;font-weight:600}
.geo-path{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:10px;margin-top:6px}
.geo-sel{display:flex;flex-direction:column;gap:4px;font-size:.82rem;color:var(--muted,#64748b);position:relative}
.geo-sel+.geo-sel::before{content:'›';position:absolute;left:-9px;bottom:9px;color:#94a3b8;font-weight:700}
.geo-sel select,.geo-sel input{width:100%}
[data-geo-summary]:not(:empty){color:var(--primary,#0058E8);font-weight:600}
@media (max-width:900px){.geo-path{grid-template-columns:repeat(2,minmax(0,1fr))}.geo-sel+.geo-sel::before{display:none}}
@media (max-width:480px){.geo-path{grid-template-columns:1fr}}

/* 1.7 job share box */
.job-share{overflow:hidden}
.job-share-head{display:flex;gap:12px;align-items:center;margin-bottom:12px}
.job-share-head .h3{margin:0}
.job-share-head p{margin:2px 0 0}
.job-share-ic{width:42px;height:42px;border-radius:12px;display:grid;place-items:center;background:linear-gradient(135deg,#FB1A28,#ff5a64);color:#fff;flex:none}
.job-share-ic svg{width:20px;height:20px}
.job-share-preview{display:block;border-radius:14px;overflow:hidden;border:1px solid #e3eafa;box-shadow:0 18px 36px -22px rgba(0,23,59,.45);transition:transform .2s}
.job-share-preview:hover{transform:translateY(-2px)}
.job-share-preview img{display:block;width:100%;height:auto;aspect-ratio:1200/630;object-fit:cover;background:#f3f6fc}
.job-share-btns{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin-top:14px}
.sbtn{display:flex;align-items:center;justify-content:center;gap:8px;padding:12px 14px;border-radius:12px;color:#fff;font-weight:700;text-decoration:none;transition:filter .15s,transform .15s}
.sbtn:hover{filter:brightness(1.07);transform:translateY(-1px);color:#fff}
.sbtn svg{width:18px;height:18px}
.sbtn-fb{background:#1877F2}
.sbtn-li{background:#0A66C2}
.job-share-more{display:flex;flex-wrap:wrap;gap:8px;margin-top:10px}
@media (max-width:420px){.job-share-btns{grid-template-columns:1fr}}

/* 1.7 testimonials: "What people say?" */
.tst-home{position:relative;overflow:hidden;background:radial-gradient(900px 420px at 0% 0%,rgba(0,88,232,.08),transparent 60%),radial-gradient(800px 420px at 100% 100%,rgba(251,26,40,.08),transparent 60%),linear-gradient(180deg,#f7faff,#fff)}
.tst-head{display:flex;justify-content:space-between;align-items:flex-end;gap:24px;flex-wrap:wrap;margin-bottom:26px}
.tst-head h2{margin:.35rem 0 .25rem;font-size:clamp(1.6rem,3vw,2.3rem)}
.tst-head p{margin:0;max-width:560px}
.tst-eyebrow{display:inline-flex;align-items:center;gap:6px;padding:6px 12px;border-radius:999px;background:#fff;border:1px solid #e3eafa;font-weight:700;font-size:.82rem;color:#FB1A28;box-shadow:0 8px 20px -14px rgba(0,23,59,.4)}
.tst-eyebrow svg{width:15px;height:15px}
.tst-score{display:grid;grid-template-columns:auto auto;align-items:center;gap:2px 10px;padding:14px 18px;border-radius:18px;background:#fff;border:1px solid #e3eafa;box-shadow:0 18px 40px -26px rgba(0,23,59,.45)}
.tst-score strong{font-size:2rem;line-height:1;color:#00173B;grid-row:span 2}
.tst-score small{color:#64748b}
.tst-stars{display:inline-flex;gap:2px}
.tst-stars span{color:#d7dfee;display:inline-flex}
.tst-stars span.on{color:#f59e0b}
.tst-stars svg{width:17px;height:17px;fill:currentColor;stroke:currentColor}
.tst-marquee{display:flex;flex-direction:column;gap:18px;-webkit-mask-image:linear-gradient(90deg,transparent,#000 6%,#000 94%,transparent);mask-image:linear-gradient(90deg,transparent,#000 6%,#000 94%,transparent)}
.tst-track{display:flex;gap:18px;width:max-content;animation:tst-scroll 70s linear infinite}
.tst-track.tst-rev{animation-direction:reverse;animation-duration:85s}
.tst-marquee:hover .tst-track{animation-play-state:paused}
@keyframes tst-scroll{from{transform:translateX(0)}to{transform:translateX(calc(-50% - 9px))}}
.tst-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(280px,1fr));gap:18px}
.tst-card{position:relative;margin:0;width:360px;flex:none;display:flex;flex-direction:column;gap:12px;padding:22px 22px 18px;border-radius:20px;background:#fff;border:1px solid #e6edfb;box-shadow:0 22px 44px -30px rgba(0,23,59,.45);transition:transform .2s,box-shadow .2s}
.tst-grid .tst-card{width:auto}
.tst-card:hover{transform:translateY(-4px);box-shadow:0 30px 50px -28px rgba(0,23,59,.5)}
.tst-card.is-featured{border-color:transparent;background:linear-gradient(#fff,#fff) padding-box,linear-gradient(135deg,#FB1A28,#0058E8) border-box;border:2px solid transparent}
.tst-qmark{position:absolute;right:16px;top:-6px;font:800 92px/1 Georgia,serif;color:rgba(0,88,232,.10);pointer-events:none}
.tst-card::before{content:"";position:absolute;left:22px;right:22px;top:0;height:3px;border-radius:0 0 4px 4px;background:linear-gradient(90deg,#FB1A28,#0058E8);opacity:.75}
.tst-card.is-featured::before{display:none}
.tst-card blockquote{margin:0;color:#1e293b;font-size:1.02rem;line-height:1.7;display:-webkit-box;-webkit-line-clamp:6;-webkit-box-orient:vertical;overflow:hidden}
.tst-card figcaption{display:flex;align-items:center;gap:12px;margin-top:auto;padding-top:12px;border-top:1px dashed #e3eafa}
.tst-av{width:44px;height:44px;border-radius:50%;display:grid;place-items:center;color:#fff;font-weight:800;flex:none}
.tst-av-0{background:linear-gradient(135deg,#0058E8,#3b8bff)}.tst-av-1{background:linear-gradient(135deg,#FB1A28,#ff6b75)}.tst-av-2{background:linear-gradient(135deg,#00173B,#2a4a85)}
.tst-av-3{background:linear-gradient(135deg,#0ea5a4,#22c3c2)}.tst-av-4{background:linear-gradient(135deg,#7c3aed,#a78bfa)}.tst-av-5{background:linear-gradient(135deg,#f59e0b,#fbbf24)}
.tst-who{display:flex;flex-direction:column;min-width:0}
.tst-who strong{color:#00173B}
.tst-who span{font-size:.85rem;color:#64748b;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.tst-ver{margin-left:auto;color:#16a34a;display:inline-flex}
.tst-ver svg{width:20px;height:20px}
.tst-empty{position:relative;text-align:center;padding:42px 20px;border-radius:22px;background:#fff;border:1px dashed #cdd9f3}
.tst-empty .tst-qmark{position:static;display:block;font-size:80px;color:rgba(251,26,40,.18);height:50px}
.tst-cta{display:flex;align-items:center;justify-content:space-between;gap:16px;flex-wrap:wrap;margin-top:26px;padding:18px 22px;border-radius:18px;background:linear-gradient(90deg,#00173B,#0b2f6b);color:#fff}
.tst-cta div{display:flex;flex-direction:column;gap:2px}
.tst-cta span{color:#b9c8ea;font-size:.92rem}
.star-input{display:inline-flex;flex-direction:row-reverse;justify-content:flex-end;gap:4px;align-self:flex-start;width:max-content}
.star-input input{position:absolute;opacity:0;pointer-events:none}
.star-input label{cursor:pointer;color:#d7dfee;display:inline-flex}
.star-input label svg{width:32px;height:32px;fill:currentColor;stroke:currentColor}
.star-input input:checked~label,.star-input label:hover,.star-input label:hover~label{color:#f59e0b}
.star-input input:focus-visible+label{outline:2px solid #0058E8;outline-offset:2px;border-radius:6px}
.tst-form-card{max-width:760px}
.tst-status{display:inline-flex;align-items:center;gap:6px;padding:6px 12px;border-radius:999px;font-weight:600;font-size:.9rem;margin:0 0 12px}
.tst-status svg{width:16px;height:16px}
.tst-status-pending{background:#fff7e6;color:#b45309}.tst-status-approved{background:#e9fbf0;color:#15803d}.tst-status-rejected{background:#fdecec;color:#b91c1c}
.tst-admin-list{display:grid;gap:14px;margin:16px 0}
.tst-admin blockquote{margin:10px 0;color:#1e293b}
.tst-admin-top{display:flex;align-items:center;gap:10px;flex-wrap:wrap}
.tst-admin-actions{display:flex;gap:8px;flex-wrap:wrap}
@media (prefers-reduced-motion:reduce){.tst-track{animation:none}.tst-marquee{overflow-x:auto;-webkit-mask-image:none;mask-image:none}}
@media (max-width:600px){.tst-card{width:290px}}

/* 1.7 circulars: government / company tabs */
.sector-tabs{display:flex;gap:10px;flex-wrap:wrap}
.sector-tabs a{display:inline-flex;align-items:center;gap:8px;padding:10px 18px;border-radius:999px;background:#fff;border:1px solid #e3eafa;font-weight:600;color:#334155;text-decoration:none;box-shadow:0 10px 24px -20px rgba(0,23,59,.5)}
.sector-tabs a svg{width:17px;height:17px}
.sector-tabs a.active{background:linear-gradient(90deg,#FB1A28,#ff4e5b);border-color:transparent;color:#fff}
.org-new-box{background:#f8fbff;border:1px dashed #c9d8f7;border-radius:14px;padding:14px}
