/* Techclick Mock Interview Lab — dark professional product theme */

:root {
  color-scheme: dark;
  --bg: #060b14;
  --bg-2: #0a1220;
  --bg-elevated: #0f1829;
  --panel: #111c30;
  --panel-2: #152238;
  --ink: #f1f5fb;
  --ink-soft: #d7e0ef;
  --muted: #8b9bb3;
  --muted-2: #64748b;
  --line: rgba(148, 163, 184, 0.14);
  --line-strong: rgba(148, 163, 184, 0.24);
  --teal: #2dd4bf;
  --teal-dark: #14b8a6;
  --teal-soft: rgba(45, 212, 191, 0.12);
  --blue: #60a5fa;
  --blue-deep: #3b82f6;
  --blue-soft: rgba(59, 130, 246, 0.14);
  --indigo: #818cf8;
  --amber: #fbbf24;
  --amber-soft: rgba(251, 191, 36, 0.12);
  --red: #f87171;
  --red-soft: rgba(248, 113, 113, 0.12);
  --green: #34d399;
  --green-soft: rgba(52, 211, 153, 0.12);
  --navy: #07101f;
  --glow: 0 0 80px rgba(45, 212, 191, 0.08);
  --shadow-sm: 0 1px 0 rgba(255, 255, 255, 0.03) inset, 0 8px 20px rgba(0, 0, 0, 0.25);
  --shadow: 0 1px 0 rgba(255, 255, 255, 0.04) inset, 0 18px 50px rgba(0, 0, 0, 0.45);
  --shadow-lg: 0 1px 0 rgba(255, 255, 255, 0.05) inset, 0 30px 80px rgba(0, 0, 0, 0.55);
  --radius: 20px;
  --radius-sm: 12px;
  --font: "DM Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --display: "Instrument Sans", "DM Sans", -apple-system, BlinkMacSystemFont, sans-serif;
  --container: 1180px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  color: var(--ink);
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.6;
  background:
    radial-gradient(1000px 520px at 12% -10%, rgba(20, 184, 166, 0.14), transparent 55%),
    radial-gradient(900px 480px at 95% 0%, rgba(59, 130, 246, 0.16), transparent 50%),
    radial-gradient(700px 400px at 50% 110%, rgba(99, 102, 241, 0.1), transparent 55%),
    linear-gradient(180deg, #050a12 0%, #070e1a 40%, #060b14 100%);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  max-width: 100%;
}

/* ——— Announcement ——— */
.announcement {
  background: linear-gradient(90deg, #0d3d38, #0f2744 50%, #1e1b4b);
  border-bottom: 1px solid rgba(45, 212, 191, 0.2);
  font-size: 12.5px;
  font-weight: 600;
  color: #cce7e4;
}

.announcement-inner {
  max-width: var(--container);
  margin: 0 auto;
  padding: 8px clamp(16px, 4vw, 48px);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 10px 14px;
  text-align: center;
}

.announcement a {
  color: #5eead4;
  font-weight: 800;
}

.live-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #34d399;
  box-shadow: 0 0 0 4px rgba(52, 211, 153, 0.2);
  animation: pulse 2s ease infinite;
}

/* ——— Top bar ——— */
.topbar {
  position: sticky;
  top: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 10px clamp(16px, 4vw, 48px);
  background: rgba(6, 11, 20, 0.88);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(18px) saturate(1.3);
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}

.brand-logo {
  height: 40px;
  width: auto;
  max-width: 168px;
  object-fit: contain;
  display: block;
  background: transparent !important;
  /* light logo for dark header — no white plate behind */
  filter: drop-shadow(0 1px 10px rgba(45, 212, 191, 0.15));
}

.brand-divider {
  width: 1px;
  height: 28px;
  background: var(--line-strong);
  flex-shrink: 0;
}

.brand-product strong {
  display: block;
  font-family: var(--display);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.2;
  color: #f8fafc;
}

.brand-product small {
  display: block;
  color: var(--muted);
  font-size: 11px;
  font-weight: 500;
  margin-top: 1px;
}

.navlinks {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-end;
  gap: 4px;
}

.navlinks a,
.navlinks button.linkish {
  border: 0;
  background: none;
  color: var(--muted);
  font: inherit;
  font-size: 13.5px;
  font-weight: 600;
  padding: 8px 12px;
  border-radius: 999px;
  cursor: pointer;
  transition: color 0.15s, background 0.15s;
}

.navlinks a:hover,
.navlinks button.linkish:hover {
  color: #fff;
  background: rgba(255, 255, 255, 0.06);
}

.navlinks .cta-nav {
  background: linear-gradient(135deg, #0d9488, #2563eb);
  color: #fff !important;
  padding: 10px 16px;
  box-shadow: 0 8px 24px rgba(37, 99, 235, 0.35);
}

.navlinks .cta-nav:hover {
  filter: brightness(1.08);
  color: #fff !important;
}

/* ——— Hero ——— */
.hero-section {
  position: relative;
  overflow: hidden;
  padding: 28px clamp(16px, 4vw, 48px) 12px;
}

.hero-section::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(rgba(45, 212, 191, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(45, 212, 191, 0.04) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: radial-gradient(ellipse 70% 55% at 40% 10%, #000 15%, transparent 70%);
  pointer-events: none;
  opacity: 0.65;
}

.hero-grid {
  position: relative;
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: clamp(20px, 3vw, 36px);
  align-items: center;
  max-width: var(--container);
  margin: 0 auto;
}

.hero-copy {
  padding: 8px 0;
}

.stats {
  max-width: none !important;
  grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
}

.offer-pill {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 14px;
  margin: 0 0 20px;
  padding: 12px 16px;
  border-radius: 14px;
  background: linear-gradient(90deg, rgba(249, 115, 22, 0.18), rgba(13, 148, 136, 0.12));
  border: 1px solid rgba(249, 115, 22, 0.45);
  box-shadow: 0 0 40px rgba(249, 115, 22, 0.12);
  max-width: 520px;
}

.offer-was {
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #fdba74;
}

.offer-price {
  font-family: var(--display);
  font-size: 1.75rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  color: #fb923c;
  line-height: 1;
}

.offer-note {
  font-size: 13px;
  font-weight: 600;
  color: var(--ink-soft);
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 18px;
  padding: 7px 12px 7px 8px;
  border-radius: 999px;
  background: rgba(15, 24, 41, 0.9);
  border: 1px solid var(--line-strong);
  color: var(--teal);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  box-shadow: var(--shadow-sm);
}

.eyebrow-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #2dd4bf;
  box-shadow: 0 0 0 4px rgba(45, 212, 191, 0.2);
  animation: pulse 2s ease infinite;
}

@keyframes pulse {
  0%, 100% { box-shadow: 0 0 0 4px rgba(45, 212, 191, 0.18); }
  50% { box-shadow: 0 0 0 8px rgba(45, 212, 191, 0.05); }
}

h1 {
  margin: 0 0 16px;
  font-family: var(--display);
  font-size: clamp(2.15rem, 4.8vw, 3.45rem);
  font-weight: 700;
  line-height: 1.06;
  letter-spacing: -0.04em;
  color: #f8fafc;
}

h1 .grad {
  background: linear-gradient(115deg, #5eead4 0%, #38bdf8 45%, #818cf8 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.subcopy {
  margin: 0 0 26px;
  max-width: 52ch;
  color: var(--muted);
  font-size: 1.05rem;
  line-height: 1.7;
}

.subcopy strong {
  color: var(--ink-soft);
  font-weight: 700;
}

.subcopy a {
  color: var(--teal);
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-color: rgba(45, 212, 191, 0.4);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 28px;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: 0;
  border-radius: 12px;
  padding: 13px 18px;
  font-family: inherit;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: -0.01em;
  cursor: pointer;
  text-decoration: none;
  transition: transform 0.12s ease, box-shadow 0.15s ease, background 0.15s ease, border-color 0.15s, filter 0.15s;
  white-space: nowrap;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn:active {
  transform: translateY(0);
}

.btn-primary {
  background: linear-gradient(135deg, #0d9488 0%, #2563eb 100%);
  color: #fff;
  box-shadow: 0 12px 32px rgba(37, 99, 235, 0.35), 0 0 0 1px rgba(255, 255, 255, 0.08) inset;
}

.btn-primary:hover {
  filter: brightness(1.08);
  box-shadow: 0 16px 40px rgba(37, 99, 235, 0.42);
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.04);
  color: var(--ink);
  border: 1px solid var(--line-strong);
  box-shadow: var(--shadow-sm);
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.07);
  border-color: rgba(96, 165, 250, 0.45);
}

.btn-ghost {
  background: var(--blue-soft);
  color: #93c5fd;
  border: 1px solid rgba(96, 165, 250, 0.22);
}

.btn-danger {
  background: var(--red-soft);
  color: var(--red);
  border: 1px solid rgba(248, 113, 113, 0.25);
}

.stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  max-width: 540px;
}

.stat {
  background: linear-gradient(180deg, rgba(21, 34, 56, 0.95), rgba(15, 24, 41, 0.95));
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 14px 14px 12px;
  box-shadow: var(--shadow-sm);
}

.stat b {
  display: block;
  font-family: var(--display);
  font-size: 1.5rem;
  font-weight: 700;
  letter-spacing: -0.03em;
  color: #fff;
  line-height: 1.1;
}

.stat span {
  display: block;
  margin-top: 5px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 500;
  line-height: 1.35;
}

/* Guarantee card */
.guarantee-card {
  position: relative;
  padding: 26px 24px;
  border-radius: 24px;
  background:
    radial-gradient(circle at 100% 0%, rgba(45, 212, 191, 0.2), transparent 42%),
    radial-gradient(circle at 0% 100%, rgba(59, 130, 246, 0.22), transparent 45%),
    linear-gradient(160deg, #0c1628 0%, #0e1f3a 48%, #101f42 100%);
  color: #f1f5f9;
  border: 1px solid rgba(96, 165, 250, 0.2);
  box-shadow: var(--shadow-lg), var(--glow);
  overflow: hidden;
}

.guarantee-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(125deg, transparent 40%, rgba(255, 255, 255, 0.04) 50%, transparent 60%);
  pointer-events: none;
}

.guarantee-card .card-kicker {
  display: inline-flex;
  margin: 0 0 12px;
  padding: 5px 10px;
  border-radius: 999px;
  background: rgba(45, 212, 191, 0.12);
  border: 1px solid rgba(45, 212, 191, 0.3);
  color: #5eead4;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

.guarantee-card h2 {
  position: relative;
  z-index: 1;
  margin: 0 0 10px;
  font-family: var(--display);
  font-size: 1.4rem;
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: -0.02em;
  color: #fff;
}

.guarantee-card > p {
  position: relative;
  z-index: 1;
  margin: 0 0 18px;
  color: #94a3b8;
  font-size: 14px;
  line-height: 1.55;
}

.guarantee-list {
  position: relative;
  z-index: 1;
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 10px;
}

.guarantee-list li {
  display: grid;
  grid-template-columns: 34px 1fr;
  gap: 12px;
  align-items: start;
  padding: 12px;
  border-radius: 14px;
  background: rgba(0, 0, 0, 0.22);
  border: 1px solid rgba(255, 255, 255, 0.07);
  font-size: 13.5px;
  line-height: 1.45;
  color: #cbd5e1;
}

.guarantee-list strong {
  color: #fff;
}

.badge-num {
  width: 34px;
  height: 34px;
  border-radius: 10px;
  display: grid;
  place-items: center;
  background: linear-gradient(145deg, #2dd4bf, #3b82f6);
  color: #042f2e;
  font-family: var(--display);
  font-weight: 800;
  font-size: 13px;
  box-shadow: 0 6px 16px rgba(45, 212, 191, 0.25);
}

/* Trust strip */
.trust-strip {
  max-width: var(--container);
  margin: 32px auto 0;
  padding: 0 clamp(16px, 4vw, 48px);
}

.trust-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 14px 20px;
  padding: 16px 20px;
  border-radius: 16px;
  background: rgba(15, 24, 41, 0.75);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
}

.trust-inner p {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  font-weight: 600;
}

.trust-logos {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.trust-logos span {
  padding: 6px 11px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--line);
  color: var(--ink-soft);
  font-size: 12px;
  font-weight: 700;
}

/* Sections */
.section {
  max-width: var(--container);
  margin: 0 auto;
  padding: 52px clamp(16px, 4vw, 48px) 12px;
}

.section-head {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 14px 20px;
  align-items: end;
  margin-bottom: 22px;
}

.section-kicker {
  margin: 0 0 8px;
  color: var(--teal);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.section-head h2 {
  margin: 0 0 8px;
  font-family: var(--display);
  font-size: clamp(1.45rem, 2.6vw, 1.95rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.2;
  color: #f8fafc;
}

.section-head p {
  margin: 0;
  max-width: 58ch;
  color: var(--muted);
  font-size: 15px;
}

/* Journey rounds */
.rounds {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.round-card {
  position: relative;
  padding: 20px 18px;
  min-height: 210px;
  border-radius: 18px;
  background: linear-gradient(180deg, #142033 0%, #0f1829 100%);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
  transition: transform 0.15s, box-shadow 0.15s, border-color 0.15s;
  overflow: hidden;
}

.round-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, #2dd4bf, #3b82f6, #818cf8);
}

.round-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow);
  border-color: rgba(96, 165, 250, 0.35);
}

.round-card .r-id {
  display: inline-flex;
  margin-bottom: 10px;
  padding: 4px 9px;
  border-radius: 999px;
  background: var(--teal-soft);
  color: var(--teal);
  border: 1px solid rgba(45, 212, 191, 0.2);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.round-card h3 {
  margin: 0 0 10px;
  font-family: var(--display);
  font-size: 1.02rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.3;
  color: #f8fafc;
}

.round-card p {
  margin: 0;
  color: var(--muted);
  font-size: 13.5px;
  line-height: 1.5;
}

.round-card .chip {
  margin-top: 14px;
}

/* Track / vendor cards */
.track-grid,
.vendor-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(230px, 1fr));
  gap: 14px;
}

.track-card,
.vendor-card {
  text-align: left;
  padding: 18px;
  border-radius: 18px;
  border: 1px solid var(--line);
  background: linear-gradient(180deg, #132033 0%, #0f1829 100%);
  cursor: pointer;
  font: inherit;
  color: inherit;
  box-shadow: var(--shadow-sm);
  transition: transform 0.14s, box-shadow 0.14s, border-color 0.14s, background 0.14s;
}

.track-card:hover,
.vendor-card:hover {
  transform: translateY(-3px);
  border-color: rgba(96, 165, 250, 0.4);
  box-shadow: var(--shadow);
}

.track-card.is-active,
.vendor-card.is-active {
  border-color: rgba(45, 212, 191, 0.55);
  box-shadow: 0 0 0 3px rgba(45, 212, 191, 0.12), var(--shadow);
  background: linear-gradient(180deg, rgba(13, 148, 136, 0.16) 0%, #0f1829 55%);
}

.track-card .icon,
.vendor-card .icon {
  font-size: 1.5rem;
  line-height: 1;
}

.track-card h3,
.vendor-card h3 {
  margin: 10px 0 6px;
  font-family: var(--display);
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: #f8fafc;
}

.track-card p,
.vendor-card p {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.45;
}

.vendor-card .meta {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 12px;
}

/* Chips */
.chip {
  display: inline-flex;
  align-items: center;
  padding: 4px 9px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--line);
  color: var(--muted);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.01em;
}

.chip.teal {
  background: var(--teal-soft);
  border-color: rgba(45, 212, 191, 0.25);
  color: #5eead4;
}

.chip.blue {
  background: var(--blue-soft);
  border-color: rgba(96, 165, 250, 0.25);
  color: #93c5fd;
}

.chip.amber {
  background: var(--amber-soft);
  border-color: rgba(251, 191, 36, 0.25);
  color: #fcd34d;
}

.chip.green {
  background: var(--green-soft);
  border-color: rgba(52, 211, 153, 0.25);
  color: #6ee7b7;
}

/* Workspace shell */
.workspace {
  display: none;
  max-width: var(--container);
  margin: 28px auto 0;
  padding: 0 clamp(16px, 4vw, 48px) 20px;
}

.workspace.is-open {
  display: block;
}

.workspace-shell {
  border-radius: 24px;
  background: linear-gradient(180deg, #121e33 0%, #0d1628 100%);
  border: 1px solid var(--line-strong);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
}

.tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  padding: 12px 14px;
  background: rgba(0, 0, 0, 0.28);
  border-bottom: 1px solid var(--line);
}

.tab {
  border: 1px solid transparent;
  background: transparent;
  border-radius: 999px;
  padding: 9px 14px;
  font-family: inherit;
  font-weight: 700;
  font-size: 13px;
  cursor: pointer;
  color: var(--muted);
  transition: all 0.15s;
}

.tab:hover {
  color: #fff;
  background: rgba(255, 255, 255, 0.05);
}

.tab.is-active {
  background: linear-gradient(135deg, #0d9488, #2563eb);
  color: #fff;
  border-color: transparent;
  box-shadow: 0 8px 20px rgba(37, 99, 235, 0.3);
}

.panel {
  padding: 24px clamp(16px, 2.5vw, 28px) 28px;
  background: transparent;
  border: 0;
  box-shadow: none;
  border-radius: 0;
}

.panel h3 {
  margin: 0 0 6px;
  font-family: var(--display);
  font-size: 1.2rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: #f8fafc;
}

.panel .hint {
  margin: 0 0 20px;
  color: var(--muted);
  font-size: 14px;
  max-width: 70ch;
}

.panel .hint code,
.panel code {
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 12px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--line);
  padding: 2px 7px;
  border-radius: 6px;
  color: #e2e8f0;
}

/* Forms */
.form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.form-grid .full {
  grid-column: 1 / -1;
}

label {
  display: grid;
  gap: 7px;
  font-size: 12.5px;
  font-weight: 700;
  color: var(--ink-soft);
  letter-spacing: 0.01em;
}

input,
select,
textarea {
  width: 100%;
  border: 1px solid var(--line-strong);
  border-radius: 12px;
  padding: 12px 13px;
  font: inherit;
  font-size: 14.5px;
  font-weight: 500;
  background: rgba(0, 0, 0, 0.28);
  color: var(--ink);
  transition: border-color 0.15s, box-shadow 0.15s, background 0.15s;
  appearance: none;
}

select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' fill='none'%3E%3Cpath d='M1 1.5 6 6.5 11 1.5' stroke='%238b9bb3' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  background-color: rgba(0, 0, 0, 0.28);
  padding-right: 36px;
}

input:focus,
select:focus,
textarea:focus {
  outline: none;
  border-color: rgba(45, 212, 191, 0.55);
  box-shadow: 0 0 0 4px rgba(45, 212, 191, 0.12);
  background: rgba(0, 0, 0, 0.4);
}

input::placeholder,
textarea::placeholder {
  color: var(--muted-2);
}

option {
  background: #0f1829;
  color: #f1f5fb;
}

.form-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 6px;
  align-items: center;
}

.status-line {
  min-height: 1.4em;
  color: var(--muted);
  font-size: 13px;
  font-weight: 600;
}

.status-line.ok {
  color: var(--green);
}

.status-line.err {
  color: var(--red);
}

/* Quiz */
.q-card {
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 16px;
  margin-bottom: 12px;
  background: rgba(0, 0, 0, 0.2);
}

.q-card .q-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 10px;
  font-size: 12px;
  color: var(--muted);
  font-weight: 600;
}

.q-card strong {
  display: block;
  margin-bottom: 12px;
  font-size: 15px;
  line-height: 1.45;
  letter-spacing: -0.01em;
  color: #f8fafc;
}

.options {
  display: grid;
  gap: 8px;
}

.option {
  display: grid;
  grid-template-columns: 20px 1fr;
  gap: 10px;
  align-items: start;
  padding: 12px 13px;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.02);
  cursor: pointer;
  transition: border-color 0.12s, background 0.12s;
  font-size: 14px;
  font-weight: 500;
  color: var(--ink-soft);
}

.option:hover {
  border-color: rgba(96, 165, 250, 0.4);
  background: rgba(59, 130, 246, 0.08);
}

.option:has(input:checked) {
  border-color: rgba(45, 212, 191, 0.55);
  background: rgba(45, 212, 191, 0.1);
  box-shadow: 0 0 0 3px rgba(45, 212, 191, 0.1);
}

.score-hero {
  display: grid;
  grid-template-columns: 130px 1fr;
  gap: 18px;
  align-items: center;
  padding: 18px;
  border-radius: 18px;
  background: linear-gradient(135deg, rgba(13, 148, 136, 0.15), rgba(37, 99, 235, 0.15));
  border: 1px solid var(--line-strong);
  margin-bottom: 16px;
}

.score-ring {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background:
    radial-gradient(circle at center, #0f1829 54%, transparent 55%),
    conic-gradient(#2dd4bf calc(var(--p) * 1%), rgba(148, 163, 184, 0.2) 0);
  font-family: var(--display);
  font-weight: 800;
  font-size: 1.45rem;
  letter-spacing: -0.03em;
  color: #fff;
  box-shadow: var(--shadow-sm);
}

/* Journey board */
.journey-board {
  display: grid;
  gap: 12px;
}

.j-row {
  display: grid;
  grid-template-columns: 150px 1fr auto;
  gap: 14px;
  align-items: center;
  padding: 14px 16px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: rgba(0, 0, 0, 0.22);
  box-shadow: var(--shadow-sm);
}

.j-row strong {
  color: #f8fafc;
}

.j-row .state {
  margin-top: 4px;
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.state-ready {
  color: var(--blue);
}

.state-booked,
.state-scheduled {
  color: var(--amber);
}

.state-completed,
.state-passed {
  color: var(--green);
}

.state-locked,
.state-not_started {
  color: var(--muted-2);
}

.state-needs_work,
.state-recommended {
  color: var(--red);
}

.feedback-box {
  margin-top: 4px;
  padding: 12px 14px;
  border-radius: 12px;
  background: rgba(0, 0, 0, 0.28);
  border: 1px solid var(--line);
  font-size: 13px;
}

.feedback-box h4 {
  margin: 0 0 8px;
  font-size: 13px;
  font-weight: 700;
  color: #f8fafc;
}

.feedback-box p {
  margin: 0 0 6px;
  color: var(--muted);
  line-height: 1.45;
}

.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.card {
  background: rgba(0, 0, 0, 0.2);
  border: 1px solid var(--line);
  border-radius: 16px;
  box-shadow: var(--shadow-sm);
}

.dash-profile,
.dash-ready {
  padding: 18px;
  background: linear-gradient(180deg, rgba(20, 32, 51, 0.9), rgba(15, 24, 41, 0.9));
}

.dash-title {
  margin: 12px 0 4px;
  font-family: var(--display);
  font-size: 1.15rem;
  font-weight: 700;
  color: #f8fafc;
}

.dash-sub {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
}

.dash-note {
  margin: 12px 0 0;
  font-size: 13px;
  color: var(--ink-soft);
  font-weight: 600;
}

.admin-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 13px;
}

.admin-table th,
.admin-table td {
  text-align: left;
  padding: 12px 10px;
  border-bottom: 1px solid var(--line);
  vertical-align: top;
  color: var(--ink-soft);
}

.admin-table th {
  color: var(--muted);
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  background: rgba(0, 0, 0, 0.3);
}

.admin-table code {
  font-size: 11.5px;
}

/* CTA band */
.cta-band {
  max-width: var(--container);
  margin: 48px auto 0;
  padding: 0 clamp(16px, 4vw, 48px);
}

.cta-band-inner {
  display: grid;
  grid-template-columns: 1.3fr 0.7fr;
  gap: 20px;
  align-items: center;
  padding: 30px 28px;
  border-radius: 24px;
  background:
    radial-gradient(circle at 100% 0%, rgba(45, 212, 191, 0.18), transparent 40%),
    radial-gradient(circle at 0% 100%, rgba(59, 130, 246, 0.2), transparent 42%),
    linear-gradient(120deg, #0a1426, #0e1f3d 55%, #152a55);
  color: #fff;
  border: 1px solid rgba(96, 165, 250, 0.22);
  box-shadow: var(--shadow-lg);
}

.cta-band-inner h2 {
  margin: 0 0 8px;
  font-family: var(--display);
  font-size: 1.55rem;
  letter-spacing: -0.03em;
  color: #fff;
}

.cta-band-inner p {
  margin: 0;
  color: #94a3b8;
  font-size: 14.5px;
}

.cta-band-inner .hero-actions {
  margin: 0;
  justify-content: flex-end;
}

.cta-band-inner .btn-primary {
  background: #fff;
  color: #0b1220;
  box-shadow: none;
}

.cta-band-inner .btn-primary:hover {
  filter: none;
  background: #e2e8f0;
}

.cta-band-inner .btn-secondary {
  background: transparent;
  color: #fff;
  border-color: rgba(255, 255, 255, 0.22);
}

/* Footer */
.footer {
  max-width: var(--container);
  margin: 40px auto 0;
  padding: 28px clamp(16px, 4vw, 48px) 48px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 13px;
  display: flex;
  flex-wrap: wrap;
  gap: 16px 28px;
  justify-content: space-between;
  align-items: start;
}

.footer strong {
  color: #f8fafc;
  font-family: var(--display);
}

.footer a {
  color: #93c5fd;
  font-weight: 600;
}

.footer a:hover {
  color: #bfdbfe;
  text-decoration: underline;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 16px;
}

.banner {
  margin: 0 0 16px;
  padding: 12px 14px;
  border-radius: 12px;
  background: var(--amber-soft);
  border: 1px solid rgba(251, 191, 36, 0.28);
  color: #fcd34d;
  font-size: 13.5px;
  font-weight: 600;
}

.hidden {
  display: none !important;
}

.divider-soft {
  margin-top: 20px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
}

/* Features row */
.features {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin-top: 18px;
}

.feature {
  padding: 18px;
  border-radius: 16px;
  background: linear-gradient(180deg, #132033 0%, #0f1829 100%);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
}

.feature .f-icon {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  display: grid;
  place-items: center;
  margin-bottom: 10px;
  background: var(--blue-soft);
  border: 1px solid rgba(96, 165, 250, 0.2);
  font-size: 16px;
}

.feature h3 {
  margin: 0 0 6px;
  font-family: var(--display);
  font-size: 0.98rem;
  font-weight: 700;
  color: #f8fafc;
}

.feature p {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.45;
}

/* Override any leftover light inline patterns */
#dashMeta,
#dashGuarantee {
  color: var(--muted) !important;
}

#dashKnowledge {
  color: var(--ink-soft) !important;
}

@media (max-width: 980px) {
  .hero {
    grid-template-columns: 1fr;
  }

  .rounds {
    grid-template-columns: 1fr 1fr;
  }

  .two-col,
  .features,
  .cta-band-inner {
    grid-template-columns: 1fr;
  }

  .j-row {
    grid-template-columns: 1fr;
  }

  .cta-band-inner .hero-actions {
    justify-content: flex-start;
  }
}

@media (max-width: 640px) {
  .navlinks .hide-sm {
    display: none;
  }

  .rounds,
  .stats,
  .form-grid {
    grid-template-columns: 1fr;
  }

  .score-hero {
    grid-template-columns: 1fr;
    justify-items: center;
    text-align: center;
  }

  h1 {
    font-size: 1.9rem;
  }

  .topbar {
    padding: 10px 14px;
  }

  .brand small {
    display: none;
  }
}

/* ——— Hero image slider ——— */
.hero-slider {
  position: relative;
  border-radius: 22px;
  overflow: hidden;
  border: 1px solid var(--line-strong);
  box-shadow: var(--shadow-lg), 0 0 60px rgba(37, 99, 235, 0.12);
  background: #0a1220;
  min-height: 340px;
  aspect-ratio: 16 / 10;
}

.slides {
  position: relative;
  width: 100%;
  height: 100%;
  min-height: inherit;
}

.slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transform: scale(1.03);
  transition: opacity 0.55s ease, transform 0.7s ease;
  pointer-events: none;
}

.slide.is-active {
  opacity: 1;
  transform: scale(1);
  pointer-events: auto;
  z-index: 1;
}

.slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.slide::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 30%, rgba(4, 10, 20, 0.88) 100%);
}

.slide-cap {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 2;
  padding: 18px 18px 52px;
}

.slide-cap h3 {
  margin: 8px 0 4px;
  font-family: var(--display);
  font-size: 1.15rem;
  color: #fff;
  letter-spacing: -0.02em;
}

.slide-cap p {
  margin: 0;
  color: #b6c4d8;
  font-size: 13.5px;
}

.slider-controls {
  position: absolute;
  z-index: 3;
  left: 12px;
  right: 12px;
  bottom: 12px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.slider-btn {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: rgba(6, 11, 20, 0.65);
  color: #fff;
  font-size: 22px;
  line-height: 1;
  cursor: pointer;
  backdrop-filter: blur(8px);
}

.slider-btn:hover {
  background: rgba(45, 212, 191, 0.25);
  border-color: rgba(45, 212, 191, 0.45);
}

.slider-dots {
  display: flex;
  gap: 6px;
  flex: 1;
  justify-content: center;
}

.slider-dots button {
  width: 8px;
  height: 8px;
  border-radius: 999px;
  border: 0;
  background: rgba(255, 255, 255, 0.28);
  cursor: pointer;
  padding: 0;
  transition: width 0.2s, background 0.2s;
}

.slider-dots button.is-active {
  width: 22px;
  background: #2dd4bf;
}

.slider-progress {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 3px;
  background: rgba(255, 255, 255, 0.08);
  z-index: 4;
}

.slider-progress span {
  display: block;
  height: 100%;
  width: 0;
  background: linear-gradient(90deg, #2dd4bf, #3b82f6);
  transition: width 0.1s linear;
}

/* ——— Marquee ——— */
.logo-marquee {
  max-width: var(--container);
  margin: 28px auto 0;
  padding: 0 clamp(16px, 4vw, 48px);
}

.logo-marquee > p {
  margin: 0 0 10px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-align: center;
}

.marquee {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: rgba(15, 24, 41, 0.7);
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}

.marquee-track {
  display: flex;
  gap: 10px;
  width: max-content;
  padding: 14px 0;
  animation: marquee 38s linear infinite;
}

.marquee-track span {
  padding: 7px 14px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.03);
  color: var(--ink-soft);
  font-size: 12.5px;
  font-weight: 700;
  white-space: nowrap;
}

@keyframes marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* ——— Features with images ——— */
.feature {
  padding: 0 !important;
  overflow: hidden;
}

.feature-img {
  width: 100%;
  height: 140px;
  object-fit: cover;
  display: block;
  border-bottom: 1px solid var(--line);
}

.feature-body {
  padding: 16px;
}

/* ——— Gallery ——— */
.gallery-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  grid-template-rows: auto auto;
  gap: 14px;
}

.gallery-card {
  margin: 0;
  position: relative;
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
  min-height: 200px;
  background: #0a1220;
}

.gallery-wide {
  grid-row: span 2;
  min-height: 420px;
}

.gallery-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.45s ease;
}

.gallery-card:hover img {
  transform: scale(1.05);
}

.gallery-card figcaption {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 16px;
  background: linear-gradient(180deg, transparent, rgba(4, 10, 20, 0.92));
}

.gallery-card figcaption strong {
  display: block;
  color: #fff;
  font-family: var(--display);
  font-size: 1rem;
  margin-bottom: 2px;
}

.gallery-card figcaption span {
  color: var(--muted);
  font-size: 12.5px;
}

/* ——— Guarantee split ——— */
.guarantee-split {
  display: grid;
  grid-template-columns: 1fr 1.05fr;
  gap: 28px;
  align-items: center;
  padding: 22px;
  border-radius: 24px;
  border: 1px solid var(--line-strong);
  background: linear-gradient(145deg, rgba(15, 24, 41, 0.95), rgba(10, 18, 32, 0.98));
  box-shadow: var(--shadow);
}

.guarantee-visual {
  position: relative;
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid var(--line);
  min-height: 280px;
}

.guarantee-visual img {
  width: 100%;
  height: 100%;
  min-height: 280px;
  object-fit: cover;
  display: block;
}

.guarantee-badge {
  position: absolute;
  left: 14px;
  bottom: 14px;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 14px;
  border-radius: 14px;
  background: rgba(6, 11, 20, 0.82);
  border: 1px solid rgba(45, 212, 191, 0.3);
  backdrop-filter: blur(10px);
}

.guarantee-badge img {
  width: 44px;
  height: 44px;
  min-height: 0;
  object-fit: contain;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding: 4px;
}

.guarantee-badge strong {
  display: block;
  font-family: var(--display);
  font-size: 1.35rem;
  color: #5eead4;
  line-height: 1;
}

.guarantee-badge span {
  font-size: 12px;
  color: var(--muted);
  font-weight: 600;
}

.guarantee-copy h2 {
  margin: 0 0 12px;
  font-family: var(--display);
  font-size: clamp(1.4rem, 2.5vw, 1.85rem);
  letter-spacing: -0.03em;
  color: #f8fafc;
}

.guarantee-copy > p {
  color: var(--muted);
  margin: 0 0 16px;
  font-size: 15px;
}

.guarantee-copy strong {
  color: #e2e8f0;
}

.check-list {
  list-style: none;
  margin: 0 0 20px;
  padding: 0;
  display: grid;
  gap: 10px;
}

.check-list li {
  position: relative;
  padding: 10px 12px 10px 40px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--line);
  color: var(--ink-soft);
  font-size: 14px;
  font-weight: 600;
}

.check-list li::before {
  content: "✓";
  position: absolute;
  left: 12px;
  top: 50%;
  transform: translateY(-50%);
  width: 20px;
  height: 20px;
  border-radius: 6px;
  display: grid;
  place-items: center;
  background: var(--teal-soft);
  color: #5eead4;
  font-size: 12px;
  font-weight: 800;
}

/* ——— Stories slider ——— */
.story-slider {
  position: relative;
}

.story-track {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(280px, 32%);
  gap: 14px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  padding-bottom: 8px;
}

.story-track::-webkit-scrollbar {
  display: none;
}

.story-card {
  scroll-snap-align: start;
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid var(--line);
  background: linear-gradient(180deg, #132033, #0f1829);
  box-shadow: var(--shadow-sm);
}

.story-card img {
  width: 100%;
  height: 150px;
  object-fit: cover;
  display: block;
}

.story-body {
  padding: 16px;
}

.stars {
  color: #fbbf24;
  letter-spacing: 2px;
  font-size: 13px;
  margin-bottom: 8px;
}

.story-body p {
  margin: 0 0 12px;
  color: var(--ink-soft);
  font-size: 14px;
  line-height: 1.5;
}

.story-body strong {
  color: var(--muted);
  font-size: 12.5px;
  font-weight: 700;
}

.story-controls {
  position: static;
  justify-content: flex-end;
  margin-top: 12px;
}

/* ——— Workspace intro ——— */
.workspace-intro {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 14px;
}

.workspace-logo {
  height: 36px;
  width: auto;
  object-fit: contain;
  background: transparent !important;
}

.site-footer .footer-brand img,
.cta-with-logo img {
  background: transparent !important;
  object-fit: contain;
}

/* Kill accidental white plates on dark theme */
img[src*="logo"] {
  background: transparent !important;
}

.workspace-intro h2 {
  margin: 0;
  font-family: var(--display);
  font-size: 1.25rem;
  color: #f8fafc;
}

.workspace-intro p {
  margin: 2px 0 0;
  color: var(--muted);
  font-size: 13px;
}

/* ——— CTA with logo ——— */
.cta-with-logo img {
  height: 36px;
  width: auto;
  margin-bottom: 12px;
  filter: brightness(1.1);
}

/* ——— Full footer ——— */
.site-footer {
  margin-top: 48px;
  padding: 40px clamp(16px, 4vw, 48px) 28px;
  border-top: 1px solid var(--line);
  background: linear-gradient(180deg, transparent, rgba(0, 0, 0, 0.35));
}

.footer-grid {
  max-width: var(--container);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 28px 20px;
}

.footer-brand img {
  height: 44px;
  width: auto;
  margin-bottom: 12px;
  object-fit: contain;
}

.footer-brand p {
  margin: 0 0 14px;
  color: var(--muted);
  font-size: 13.5px;
  line-height: 1.55;
  max-width: 36ch;
}

.footer-social {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.footer-social a {
  padding: 6px 11px;
  border-radius: 999px;
  border: 1px solid var(--line);
  color: #93c5fd;
  font-size: 12px;
  font-weight: 700;
}

.footer-grid h4 {
  margin: 0 0 12px;
  font-family: var(--display);
  font-size: 13px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #f8fafc;
}

.footer-grid ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 8px;
}

.footer-grid li,
.footer-grid a {
  color: var(--muted);
  font-size: 13.5px;
  font-weight: 500;
}

.footer-grid a:hover {
  color: #93c5fd;
}

.footer-bottom {
  max-width: var(--container);
  margin: 28px auto 0;
  padding-top: 18px;
  border-top: 1px solid var(--line);
  display: flex;
  flex-wrap: wrap;
  gap: 10px 20px;
  justify-content: space-between;
  color: var(--muted-2);
  font-size: 12.5px;
}

.footer-bottom p {
  margin: 0;
}

.footer-note {
  max-width: 52ch;
}

/* Hide old simple footer if any */
.footer {
  display: none;
}

@media (max-width: 980px) {
  .hero-grid,
  .guarantee-split,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .gallery-grid {
    grid-template-columns: 1fr 1fr;
  }

  .gallery-wide {
    grid-column: span 2;
    grid-row: span 1;
    min-height: 240px;
  }

  .stats {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }

  .brand-product {
    display: none;
  }

  .brand-divider {
    display: none;
  }

  .story-track {
    grid-auto-columns: minmax(260px, 85%);
  }
}

@media (max-width: 640px) {
  .gallery-grid {
    grid-template-columns: 1fr;
  }

  .gallery-wide {
    grid-column: span 1;
  }

  .announcement-inner span:nth-child(2) {
    font-size: 11.5px;
  }

  .hero-slider {
    min-height: 260px;
    aspect-ratio: 4 / 3;
  }
}
