/* =============================================
   YOLGEN LANDING -- styles
   Premium aesthetic, OKLCH + light-dark()
   ============================================= */

/* --- TOKENS --- */
:root {
  --font-primary: 'DM Sans', system-ui, -apple-system, sans-serif;
  --font-heading: 'Outfit', 'DM Sans', system-ui, sans-serif;
  --font-display: 'Orbitron', 'Outfit', system-ui, sans-serif;
  --font-mono: 'Roboto Mono', 'Menlo', monospace;
  --fw-regular: 400;
  --fw-medium: 500;
  --fw-semibold: 600;
  --fw-bold: 700;
  --space-xs: 0.375rem;
  --space-sm: 0.5rem;
  --space-md: 0.875rem;
  --space-lg: 1.25rem;
  --space-xl: 1.5rem;
  --space-2xl: 2rem;
  --space-3xl: 2.5rem;
  --space-4xl: 4rem;
  --space-5xl: 6rem;
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 14px;
  --radius-xl: 18px;
  --radius-2xl: 24px;
  --max-width: 1200px;
  --section-pad: clamp(1rem, 5vw, 4rem);
}

/* --- THEME --- */
:root {
  --bg-primary: light-dark(oklch(98% 0.005 250), oklch(12% 0.01 260));
  --bg-secondary: light-dark(oklch(95% 0.008 250), oklch(16% 0.015 260));
  --text-primary: light-dark(oklch(18% 0.01 250), oklch(95% 0.005 250));
  --text-secondary: light-dark(oklch(42% 0.01 250), oklch(62% 0.01 250));
  --text-tertiary: light-dark(oklch(55% 0.008 250), oklch(48% 0.008 250));
  --accent-primary: light-dark(oklch(48% 0.2 270), oklch(68% 0.16 270));
  --accent-warm: light-dark(oklch(58% 0.22 22), oklch(70% 0.2 22));
  --accent-success: light-dark(oklch(52% 0.18 145), oklch(72% 0.16 145));
  --glass-tint: light-dark(oklch(0% 0 0), oklch(100% 0 0));
  --surface: light-dark(oklch(100% 0 0 / 0.82), oklch(100% 0 0 / 0.035));
  --surface-strong: light-dark(oklch(100% 0 0 / 0.92), oklch(100% 0 0 / 0.055));
  --border: light-dark(oklch(0% 0 0 / 0.07), oklch(100% 0 0 / 0.07));
  --border-subtle: light-dark(oklch(0% 0 0 / 0.04), oklch(100% 0 0 / 0.04));
  --shadow-sm: 0 1px 3px light-dark(oklch(0% 0 0 / 0.06), oklch(0% 0 0 / 0.15));
  --shadow-md: 0 6px 20px light-dark(oklch(0% 0 0 / 0.08), oklch(0% 0 0 / 0.25));
  --shadow-lg: 0 16px 50px light-dark(oklch(0% 0 0 / 0.1), oklch(0% 0 0 / 0.4));
  --shadow-glow: 0 0 40px light-dark(oklch(48% 0.2 270 / 0.08), oklch(68% 0.16 270 / 0.15));
}

/* --- ANIMATIONS --- */
@keyframes float {
  0%,
  100% {
    transform: translate(0, 0) scale(1);
  }
  33% {
    transform: translate(50px, -60px) scale(1.1);
  }
  66% {
    transform: translate(-40px, 40px) scale(0.9);
  }
}
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
@keyframes fadeInScale {
  from {
    opacity: 0;
    transform: scale(0.92) translateY(20px);
  }
  to {
    opacity: 1;
    transform: scale(1) translateY(0);
  }
}
@keyframes pulse-dot {
  0%,
  100% {
    opacity: 1;
    box-shadow: 0 0 0 0 oklch(70% 0.22 145/0.6);
  }
  50% {
    opacity: 0.8;
    box-shadow: 0 0 0 6px oklch(70% 0.22 145/0);
  }
}
@keyframes shimmer {
  0% {
    left: -100%;
  }
  100% {
    left: 200%;
  }
}
@keyframes floatCard {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-12px);
  }
}
@keyframes barGrow {
  from {
    width: 0;
  }
}
@keyframes voiceBar {
  0%,
  100% {
    transform: scaleY(0.4);
  }
  50% {
    transform: scaleY(1);
  }
}

/* Scroll reveal */
.showcase-step,
.candidate-feature,
.flow-step,
.problem-stat,
.about-story,
.about-team,
.portal-card {
  opacity: 0;
  transform: translateY(30px);
  transition:
    opacity 0.6s ease-out,
    transform 0.6s ease-out;
}
.showcase-step.revealed,
.candidate-feature.revealed,
.flow-step.revealed,
.problem-stat.revealed,
.about-story.revealed,
.about-team.revealed,
.portal-card.revealed {
  opacity: 1;
  transform: translateY(0);
}
.candidate-feature:nth-child(2) {
  transition-delay: 0.1s;
}
.candidate-feature:nth-child(3) {
  transition-delay: 0.2s;
}
.candidate-feature:nth-child(4) {
  transition-delay: 0.3s;
}

/* No-JS fallback: show all sections immediately when scripting is unavailable */
@media (scripting: none) {
  .showcase-step,
  .candidate-feature,
  .flow-step,
  .problem-stat,
  .about-story,
  .about-team,
  .portal-card {
    opacity: 1;
    transform: none;
  }
}

/* Offset anchor targets so the fixed 72px navbar doesn't hide their top edge */
#the-problem,
#platform,
#about {
  scroll-margin-top: 72px;
}

/* ==========================================
   HERO
   ========================================== */
.hero {
  position: relative;
  overflow: hidden;
  padding: calc(72px + var(--space-3xl)) 0 var(--space-4xl);
}
.hero-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 var(--section-pad);
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: var(--space-3xl);
  min-height: calc(100dvh - 72px - var(--space-4xl));
}
.hero-bg {
  position: fixed;
  inset: 0;
  z-index: -1;
  overflow: hidden;
}
.gradient-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(90px);
  animation: float 18s ease-in-out infinite;
}
.gradient-orb--1 {
  width: 700px;
  height: 700px;
  top: -25%;
  left: -10%;
  background: light-dark(oklch(50% 0.28 270/0.12), oklch(50% 0.28 270/0.45));
}
.gradient-orb--2 {
  width: 600px;
  height: 600px;
  bottom: -20%;
  right: -5%;
  animation-delay: -6s;
  background: light-dark(oklch(55% 0.28 15/0.1), oklch(55% 0.28 15/0.35));
}
.gradient-orb--3 {
  width: 450px;
  height: 450px;
  top: 40%;
  left: 45%;
  animation-delay: -12s;
  background: light-dark(oklch(50% 0.2 180/0.08), oklch(50% 0.2 180/0.25));
}
.noise-overlay {
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0.4;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.04'/%3E%3C/svg%3E");
}
.grid-overlay {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(
      light-dark(oklch(40% 0.06 270/0.04), oklch(60% 0.08 270/0.06)) 1px,
      transparent 1px
    ),
    linear-gradient(
      90deg,
      light-dark(oklch(40% 0.06 270/0.04), oklch(60% 0.08 270/0.06)) 1px,
      transparent 1px
    );
  background-size: 64px 64px;
  mask-image: radial-gradient(ellipse 70% 60% at 50% 40%, black 20%, transparent 80%);
}
.hero-content {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  gap: var(--space-lg);
  animation: fadeInUp 0.7s ease-out both;
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: var(--space-xs);
  padding: 6px 16px;
  border-radius: 100px;
  font-family: var(--font-display);
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  width: fit-content;
  background: light-dark(oklch(48% 0.2 270/0.07), oklch(68% 0.18 270/0.1));
  border: 1px solid light-dark(oklch(48% 0.2 270/0.12), oklch(68% 0.18 270/0.2));
  color: light-dark(oklch(38% 0.18 270), oklch(82% 0.1 270));
}
.badge-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: oklch(70% 0.22 145);
  animation: pulse-dot 2s ease-in-out infinite;
}
.hero h1 {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 5.5vw, 4.5rem);
  font-weight: 900;
  line-height: 1.05;
  letter-spacing: -0.02em;
  text-transform: uppercase;
}
.hero-line {
  display: block;
}
.hero-line--accent {
  background: linear-gradient(
    135deg,
    light-dark(oklch(52% 0.26 20), oklch(72% 0.22 25)),
    light-dark(oklch(48% 0.28 340), oklch(68% 0.25 340)),
    light-dark(oklch(45% 0.24 270), oklch(65% 0.2 270))
  );
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}
.tagline {
  font-size: clamp(1rem, 1.4vw, 1.15rem);
  line-height: 1.7;
  max-width: 50ch;
  color: var(--text-secondary);
}
.cta-group {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-md);
  padding-top: var(--space-sm);
}
.cta-button {
  display: inline-flex;
  align-items: center;
  gap: var(--space-xs);
  padding: 14px 32px;
  border-radius: 100px;
  font-family: var(--font-heading);
  font-size: 0.95rem;
  font-weight: var(--fw-semibold);
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.23, 1, 0.32, 1);
  position: relative;
  overflow: hidden;
  border: none;
}
.cta-button svg {
  transition: transform 0.3s ease-out;
}
.cta-button:hover svg {
  transform: translateX(4px);
}
.cta-button.primary {
  background: linear-gradient(
    135deg,
    light-dark(oklch(52% 0.26 20), oklch(62% 0.24 20)),
    light-dark(oklch(46% 0.28 5), oklch(56% 0.26 5))
  );
  color: white;
  box-shadow:
    0 6px 24px light-dark(oklch(52% 0.26 20/0.3), oklch(60% 0.24 20/0.35)),
    inset 0 1px 0 oklch(100% 0 0/0.12);
}
.cta-button.primary:hover {
  box-shadow:
    0 10px 40px light-dark(oklch(52% 0.26 20/0.4), oklch(60% 0.24 20/0.5)),
    inset 0 1px 0 oklch(100% 0 0/0.15);
  transform: translateY(-2px);
}
.cta-button.primary.large {
  padding: 18px 40px;
  font-size: 1.05rem;
}
.btn-shimmer {
  position: absolute;
  top: 0;
  left: -100%;
  width: 60%;
  height: 100%;
  background: linear-gradient(90deg, transparent, oklch(100% 0 0/0.15), transparent);
  animation: shimmer 3s ease-in-out infinite;
  pointer-events: none;
}
.cta-button.secondary {
  background: var(--surface);
  border: 1px solid var(--border);
  color: var(--text-primary);
  backdrop-filter: blur(12px);
}
.cta-button.secondary:hover {
  background: var(--surface-strong);
  border-color: light-dark(oklch(0% 0 0/0.1), oklch(100% 0 0/0.15));
}
.hero-trust {
  display: flex;
  align-items: center;
  gap: var(--space-md);
  padding-top: var(--space-lg);
}
.trust-label {
  font-size: 0.78rem;
  font-weight: var(--fw-medium);
  color: var(--text-tertiary);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}
.trust-logos {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
}
.trust-badge {
  margin: 0;
  padding: 6px 14px;
  border-radius: 8px;
  font-size: 0.78rem;
  line-height: 1.2;
  font-weight: var(--fw-bold);
  white-space: nowrap;
  text-align: center;
  background: light-dark(oklch(55% 0.2 30/0.1), oklch(65% 0.18 30/0.12));
  color: light-dark(oklch(45% 0.18 30), oklch(80% 0.14 30));
  border: 1px solid light-dark(oklch(55% 0.2 30/0.15), oklch(65% 0.18 30/0.2));
}

/* Hero visual */
.hero-visual {
  position: relative;
  z-index: 1;
  display: flex;
  justify-content: center;
  align-items: center;
  animation: fadeInScale 0.8s ease-out 0.3s both;
}
.mockup-glow {
  position: absolute;
  width: 80%;
  height: 80%;
  border-radius: 50%;
  filter: blur(80px);
  z-index: 0;
  background: radial-gradient(
    circle,
    light-dark(oklch(48% 0.2 270/0.1), oklch(55% 0.22 270/0.25)),
    light-dark(oklch(48% 0.2 20/0.05), oklch(55% 0.2 20/0.12)),
    transparent
  );
}
.mockup-card {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 480px;
  border-radius: 16px;
  overflow: hidden;
  animation: floatCard 6s ease-in-out infinite;
  background: var(--surface-strong);
  border: 1px solid var(--border);
  backdrop-filter: blur(20px);
  box-shadow: var(--shadow-lg);
}
.mockup-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 16px;
  border-bottom: 1px solid var(--border-subtle);
}
.mockup-dots {
  display: flex;
  gap: 6px;
}
.mockup-dots span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
}
.mockup-dots span:nth-child(1) {
  background: oklch(65% 0.2 25);
}
.mockup-dots span:nth-child(2) {
  background: oklch(75% 0.18 85);
}
.mockup-dots span:nth-child(3) {
  background: oklch(70% 0.18 145);
}
.mockup-title {
  font-size: 0.75rem;
  font-weight: var(--fw-semibold);
  letter-spacing: 0.02em;
  color: var(--text-secondary);
}
.mockup-body {
  padding: 0 16px 16px;
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.mockup-list {
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.mockup-row {
  display: grid;
  grid-template-columns: 1.4fr 1fr 0.7fr;
  align-items: center;
  padding: 10px 12px;
  border-radius: 8px;
  font-size: 0.82rem;
  gap: 8px;
}
.mockup-row:not(.mockup-row--header):hover {
  background: oklch(from var(--glass-tint) l c h/0.03);
}
.mockup-row--header {
  font-size: 0.7rem;
  font-weight: var(--fw-semibold);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding-bottom: 6px;
  color: var(--text-tertiary);
}
.mockup-user {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: var(--fw-medium);
}
.mockup-avatar {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.7rem;
  font-weight: var(--fw-bold);
  font-style: normal;
  text-decoration: none;
  flex-shrink: 0;
}
.mockup-avatar--1 {
  background: light-dark(oklch(48% 0.2 270/0.12), oklch(55% 0.2 270/0.25));
  color: light-dark(oklch(38% 0.16 270), oklch(80% 0.12 270));
}
.mockup-avatar--2 {
  background: light-dark(oklch(48% 0.2 25/0.12), oklch(55% 0.2 25/0.25));
  color: light-dark(oklch(38% 0.16 25), oklch(80% 0.12 25));
}
.mockup-avatar--3 {
  background: light-dark(oklch(48% 0.2 180/0.12), oklch(55% 0.2 180/0.25));
  color: light-dark(oklch(38% 0.16 180), oklch(80% 0.12 180));
}
.mockup-score {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.78rem;
  font-weight: var(--fw-semibold);
}
.mockup-bar {
  flex: 1;
  height: 6px;
  border-radius: 3px;
  overflow: hidden;
  background: oklch(from var(--glass-tint) l c h/0.06);
}
.mockup-fill {
  height: 100%;
  border-radius: 3px;
  background: linear-gradient(90deg, oklch(60% 0.2 270), oklch(65% 0.22 20));
  animation: barGrow 1.2s ease-out 0.8s both;
}
.mockup-badge {
  font-size: 0.7rem;
  font-weight: var(--fw-semibold);
  padding: 3px 10px;
  border-radius: 100px;
  text-align: center;
  width: fit-content;
}
.mockup-badge--pass {
  background: light-dark(oklch(52% 0.18 145/0.1), oklch(72% 0.2 145/0.12));
  color: light-dark(oklch(38% 0.18 145), oklch(78% 0.15 145));
}
.mockup-badge--review {
  background: light-dark(oklch(60% 0.18 85/0.1), oklch(75% 0.18 85/0.12));
  color: light-dark(oklch(42% 0.18 85), oklch(80% 0.14 85));
}
.floating-card {
  position: absolute;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 16px;
  border-radius: 12px;
  font-size: 0.82rem;
  white-space: nowrap;
  background: var(--surface-strong);
  border: 1px solid var(--border);
  backdrop-filter: blur(16px);
  box-shadow: var(--shadow-md);
}
.floating-card strong {
  font-family: var(--font-display);
  font-size: 1.1rem;
  display: block;
  line-height: 1;
}
.floating-card span {
  font-size: 0.72rem;
  display: block;
}
.floating-card--1 {
  top: 5%;
  right: -5%;
  animation: floatCard 5s ease-in-out 1s infinite;
}
.floating-card--1 svg {
  color: oklch(70% 0.2 145);
}
.floating-card--1 strong {
  color: var(--accent-success);
}
.floating-card--1 .card-label {
  color: var(--text-secondary);
}
.floating-card--2 {
  bottom: 10%;
  left: -5%;
  animation: floatCard 5s ease-in-out 2.5s infinite;
}
.floating-card--2 svg {
  color: var(--accent-primary);
}
.floating-card--2 strong {
  color: var(--accent-primary);
}
.floating-card--2 .card-label {
  color: var(--text-secondary);
}

/* ==========================================
   SHARED SECTION STYLES
   ========================================== */
.section-header {
  text-align: center;
  margin-bottom: var(--space-3xl);
}
.section-badge {
  display: inline-block;
  padding: 6px 18px;
  border-radius: 100px;
  margin-bottom: var(--space-lg);
  font-family: var(--font-display);
  font-size: 0.6rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  background: light-dark(oklch(48% 0.2 270/0.07), oklch(68% 0.16 270/0.1));
  border: 1px solid light-dark(oklch(48% 0.2 270/0.12), oklch(68% 0.16 270/0.2));
  color: light-dark(oklch(38% 0.18 270), oklch(82% 0.1 270));
}
.section-badge--warm {
  background: light-dark(oklch(58% 0.22 22/0.07), oklch(70% 0.2 22/0.1));
  border-color: light-dark(oklch(58% 0.22 22/0.12), oklch(70% 0.2 22/0.2));
  color: light-dark(oklch(45% 0.2 22), oklch(82% 0.12 22));
}
.section-title {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 3vw, 2.2rem);
  font-weight: 800;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  margin-bottom: var(--space-sm);
}
.section-subtitle {
  font-size: clamp(1rem, 1.3vw, 1.15rem);
  color: var(--text-secondary);
  max-width: 55ch;
  margin: 0 auto;
}

/* ==========================================
   PLATFORM SHOWCASE (Admin)
   ========================================== */
.platform-section {
  padding: var(--space-5xl) var(--section-pad);
  max-width: var(--max-width);
  margin: 0 auto;
}
.platform-showcase {
  display: flex;
  flex-direction: column;
  gap: var(--space-5xl);
}
.showcase-step {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: var(--space-3xl);
  align-items: center;
}
.showcase-step--reverse {
  grid-template-columns: 1.2fr 1fr;
}
.showcase-step--reverse .step-info {
  order: 2;
}
.step-info {
  display: flex;
  flex-direction: column;
  gap: var(--space-lg);
}
.step-number {
  font-family: var(--font-display);
  font-size: 3.5rem;
  font-weight: 900;
  line-height: 1;
  color: light-dark(oklch(48% 0.2 270/0.12), oklch(68% 0.16 270/0.15));
}
.step-info h3 {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: var(--fw-bold);
}
.step-info p {
  font-size: 1rem;
  line-height: 1.7;
  color: var(--text-secondary);
}

/* App window mockup */
.app-window {
  border-radius: 16px;
  overflow: hidden;
  background: var(--surface-strong);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-lg);
}
.app-window-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 16px;
  border-bottom: 1px solid var(--border-subtle);
}
.window-dots {
  display: flex;
  gap: 6px;
}
.window-dots span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
}
.window-dots span:nth-child(1) {
  background: oklch(65% 0.2 25);
}
.window-dots span:nth-child(2) {
  background: oklch(75% 0.18 85);
}
.window-dots span:nth-child(3) {
  background: oklch(70% 0.18 145);
}
.window-title {
  font-size: 0.75rem;
  font-weight: var(--fw-semibold);
  color: var(--text-secondary);
  letter-spacing: 0.02em;
}
.app-window-body {
  padding: 20px;
}

/* Form mockup */
.form-mock {
  display: flex;
  flex-direction: column;
  gap: var(--space-lg);
}
.form-field label {
  display: block;
  font-size: 0.72rem;
  font-weight: var(--fw-semibold);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--text-tertiary);
  margin-bottom: 6px;
}
.input-mock {
  padding: 10px 14px;
  border-radius: var(--radius-md);
  font-size: 0.88rem;
  background: light-dark(oklch(96% 0.004 250), oklch(10% 0.008 260));
  border: 1px solid var(--border-subtle);
  color: var(--text-primary);
}
.select-mock::after {
  content: ' \25BE';
  color: var(--text-tertiary);
}
.ai-insight {
  display: flex;
  align-items: flex-start;
  gap: var(--space-md);
  padding: 14px;
  border-radius: var(--radius-lg);
  background: light-dark(oklch(52% 0.18 145/0.06), oklch(72% 0.16 145/0.08));
  border: 1px solid light-dark(oklch(52% 0.18 145/0.12), oklch(72% 0.16 145/0.15));
}
.ai-icon {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  background: light-dark(oklch(52% 0.18 145/0.12), oklch(72% 0.16 145/0.15));
  color: var(--accent-success);
}
.ai-insight strong {
  font-size: 0.82rem;
  display: block;
  margin-bottom: 2px;
  color: var(--accent-success);
}
.ai-insight p {
  font-size: 0.78rem;
  color: var(--text-secondary);
  line-height: 1.5;
}

/* Position brief mockup */
.window-bar-actions {
  display: flex;
  gap: 6px;
}
.wba {
  font-size: 0.65rem;
  padding: 4px 12px;
  border-radius: 100px;
  font-weight: var(--fw-semibold);
  color: var(--text-tertiary);
  border: 1px solid var(--border-subtle);
}
.wba-primary {
  background: linear-gradient(
    135deg,
    light-dark(oklch(52% 0.26 20), oklch(62% 0.24 20)),
    light-dark(oklch(46% 0.28 5), oklch(56% 0.26 5))
  );
  color: white;
  border: none;
}
.brief-detail-mock {
  padding: 16px !important;
}
.brief-position-header {
  display: flex;
  align-items: center;
  gap: var(--space-md);
  margin-bottom: var(--space-xl);
  padding-bottom: var(--space-lg);
  border-bottom: 1px solid var(--border-subtle);
}
.brief-pos-icon {
  font-size: 1.8rem;
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 14px;
  background: linear-gradient(
    135deg,
    light-dark(oklch(48% 0.2 270/0.08), oklch(60% 0.18 270/0.12)),
    light-dark(oklch(48% 0.2 20/0.04), oklch(60% 0.18 20/0.06))
  );
  border: 1px solid light-dark(oklch(48% 0.2 270/0.1), oklch(68% 0.16 270/0.15));
}
.brief-pos-title {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-weight: var(--fw-bold);
  display: block;
}
.brief-pos-company {
  font-size: 0.78rem;
  color: var(--text-tertiary);
}
.brief-section {
  margin-bottom: var(--space-xl);
}
.brief-section-label {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  font-size: 0.82rem;
  font-weight: var(--fw-bold);
  margin-bottom: var(--space-md);
  color: var(--text-primary);
}
.bsl-icon {
  font-size: 1rem;
}
.brief-field {
  margin-bottom: var(--space-md);
}
.brief-field-label {
  display: block;
  font-size: 0.68rem;
  font-weight: var(--fw-semibold);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--text-tertiary);
  margin-bottom: 4px;
}
.brief-field p {
  font-size: 0.82rem;
  line-height: 1.6;
  color: var(--text-secondary);
}
.brief-expand-row {
  display: flex;
  gap: 8px;
}
.brief-expand-card {
  flex: 1;
  padding: 12px;
  border-radius: var(--radius-md);
  background: light-dark(oklch(0% 0 0/0.02), oklch(100% 0 0/0.02));
  border: 1px solid var(--border-subtle);
  cursor: pointer;
  transition: all 0.2s;
}
.brief-expand-card:hover {
  border-color: light-dark(oklch(48% 0.2 270/0.15), oklch(68% 0.16 270/0.2));
}
.brief-expand-card strong {
  font-size: 0.78rem;
  display: block;
  margin-bottom: 2px;
}
.brief-expand-count {
  font-size: 0.68rem;
  color: var(--text-tertiary);
}

/* ==========================================
   EVALUATION SETUP MOCKUP
   ========================================== */
.eval-setup-mock {
  padding: 16px !important;
}
.eval-tabs {
  display: flex;
  gap: 4px;
  margin-bottom: var(--space-lg);
  background: light-dark(oklch(0% 0 0/0.03), oklch(100% 0 0/0.03));
  border-radius: 100px;
  padding: 4px;
}
.eval-tab {
  padding: 7px 16px;
  border-radius: 100px;
  font-size: 0.72rem;
  font-weight: var(--fw-semibold);
  color: var(--text-tertiary);
  cursor: pointer;
  text-align: center;
  flex: 1;
  transition: all 0.2s;
}
.eval-tab.active {
  background: var(--accent-primary);
  color: white;
}
.criteria-section {
  margin-bottom: var(--space-lg);
}
.criteria-header {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  padding: 10px 12px;
  border-radius: var(--radius-md);
  margin-bottom: 6px;
  background: light-dark(oklch(0% 0 0/0.02), oklch(100% 0 0/0.02));
}
.criteria-cat-icon {
  font-size: 1rem;
}
.criteria-header strong {
  font-size: 0.85rem;
  flex: 1;
}
.criteria-count {
  font-family: var(--font-display);
  font-size: 0.65rem;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: 100px;
  background: light-dark(oklch(48% 0.2 270/0.1), oklch(68% 0.16 270/0.12));
  color: var(--accent-primary);
}
.criteria-add {
  font-size: 0.72rem;
  font-weight: var(--fw-semibold);
  color: var(--accent-primary);
  cursor: pointer;
  padding: 2px 10px;
  border: 1px solid light-dark(oklch(48% 0.2 270/0.15), oklch(68% 0.16 270/0.2));
  border-radius: 100px;
}
.criteria-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 8px 12px;
  border-radius: var(--radius-sm);
  border-bottom: 1px solid var(--border-subtle);
}
.criteria-item:last-child {
  border-bottom: none;
}
.criteria-name {
  font-size: 0.82rem;
  font-weight: var(--fw-medium);
}
.criteria-badges {
  display: flex;
  gap: 6px;
  flex-shrink: 0;
}
.badge-prof {
  font-size: 0.6rem;
  font-weight: var(--fw-bold);
  padding: 2px 8px;
  border-radius: 4px;
  letter-spacing: 0.04em;
  background: light-dark(oklch(48% 0.2 270/0.1), oklch(68% 0.16 270/0.12));
  color: light-dark(oklch(42% 0.18 270), oklch(78% 0.14 270));
}
.badge-prof.badge-inter {
  background: light-dark(oklch(55% 0.18 85/0.1), oklch(70% 0.16 85/0.12));
  color: light-dark(oklch(45% 0.16 85), oklch(78% 0.14 85));
}
.badge-prof.badge-basic {
  background: light-dark(oklch(50% 0.12 250/0.08), oklch(60% 0.1 250/0.1));
  color: var(--text-secondary);
}
.badge-imp {
  font-size: 0.6rem;
  font-weight: var(--fw-bold);
  padding: 2px 8px;
  border-radius: 4px;
  letter-spacing: 0.02em;
}
.badge-critical {
  background: light-dark(oklch(55% 0.22 25/0.12), oklch(65% 0.2 25/0.15));
  color: light-dark(oklch(45% 0.2 25), oklch(78% 0.16 25));
}
.badge-high {
  background: light-dark(oklch(55% 0.18 60/0.1), oklch(70% 0.16 60/0.12));
  color: light-dark(oklch(45% 0.16 60), oklch(78% 0.14 60));
}
.badge-medium {
  background: light-dark(oklch(50% 0.12 250/0.08), oklch(60% 0.1 250/0.1));
  color: var(--text-secondary);
}
.badge-weight {
  font-size: 0.6rem;
  font-weight: var(--fw-semibold);
  padding: 2px 8px;
  border-radius: 4px;
  font-family: var(--font-mono);
  background: light-dark(oklch(0% 0 0/0.04), oklch(100% 0 0/0.04));
  color: var(--text-secondary);
}

/* ==========================================
   SIMULATION STORY MOCKUP
   ========================================== */
.sim-story-mock {
  padding: 16px !important;
}
.window-bar-tabs {
  display: flex;
  gap: 2px;
}
.wbt {
  font-size: 0.65rem;
  padding: 4px 12px;
  border-radius: 100px;
  font-weight: var(--fw-semibold);
  color: var(--text-tertiary);
}
.wbt.active {
  background: light-dark(oklch(55% 0.22 25/0.12), oklch(65% 0.2 25/0.15));
  color: light-dark(oklch(45% 0.2 25), oklch(78% 0.16 25));
}
.sim-status-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: var(--space-md);
}
.sim-difficulty {
  font-family: var(--font-display);
  font-size: 0.6rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  padding: 4px 12px;
  border-radius: 6px;
  background: light-dark(oklch(0% 0 0/0.04), oklch(100% 0 0/0.04));
  color: var(--text-secondary);
}
.sim-draft-badge {
  font-family: var(--font-display);
  font-size: 0.6rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  padding: 4px 12px;
  border-radius: 6px;
  background: light-dark(oklch(55% 0.22 25/0.12), oklch(65% 0.2 25/0.15));
  color: light-dark(oklch(48% 0.2 25), oklch(78% 0.16 25));
}
.sim-story-title {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-weight: var(--fw-bold);
  margin-bottom: var(--space-md);
}
.sim-narrative {
  padding: 14px;
  border-radius: var(--radius-md);
  border-left: 3px solid var(--border);
  margin-bottom: var(--space-lg);
  background: light-dark(oklch(0% 0 0/0.02), oklch(100% 0 0/0.02));
}
.sim-narrative p {
  font-size: 0.82rem;
  line-height: 1.65;
  color: var(--text-secondary);
}
.sim-mission {
  margin-bottom: var(--space-lg);
}
.sim-label {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  font-size: 0.9rem;
  font-weight: var(--fw-bold);
  margin-bottom: var(--space-md);
}
.label-icon {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  font-weight: var(--fw-bold);
  padding: 2px 6px;
  border-radius: 4px;
}
.label-m {
  background: light-dark(oklch(48% 0.2 270/0.1), oklch(68% 0.16 270/0.12));
  color: var(--accent-primary);
}
.label-c {
  background: light-dark(oklch(52% 0.18 145/0.1), oklch(72% 0.16 145/0.12));
  color: var(--accent-success);
}
/* Scoped: `.chapter-count` also names the sim-story task counter. */
.sim-chapters .chapter-count {
  font-size: 0.78rem;
  font-weight: var(--fw-regular);
  color: var(--text-tertiary);
}
.sim-skill-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.sim-skill-tags span {
  font-size: 0.72rem;
  font-weight: var(--fw-medium);
  padding: 5px 12px;
  border-radius: 100px;
  background: light-dark(oklch(48% 0.2 270/0.06), oklch(68% 0.16 270/0.08));
  border: 1px solid light-dark(oklch(48% 0.2 270/0.1), oklch(68% 0.16 270/0.12));
  color: light-dark(oklch(40% 0.16 270), oklch(78% 0.12 270));
}
.sim-chapters {
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
}
/* Scoped to the landing sim mockup: `.chapter-card` / `.chapter-type` are
   generic names also used by the real simulation-story page (a <details>).
   Left global, this `display: flex` leaks onto that page and turns the card
   into a side-by-side flex row. Keep these confined to the mockup. */
.sim-chapters .chapter-card {
  display: flex;
  align-items: flex-start;
  gap: var(--space-md);
  padding: 12px;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-subtle);
  transition: all 0.2s;
  cursor: pointer;
}
.sim-chapters .chapter-card:hover {
  border-color: light-dark(oklch(48% 0.2 270/0.2), oklch(68% 0.16 270/0.25));
  background: light-dark(oklch(48% 0.2 270/0.02), oklch(68% 0.16 270/0.03));
}
.chapter-num {
  font-family: var(--font-display);
  font-size: 0.7rem;
  font-weight: 700;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  background: light-dark(oklch(48% 0.2 270/0.08), oklch(68% 0.16 270/0.1));
  color: var(--accent-primary);
}
.chapter-info {
  flex: 1;
}
.chapter-info strong {
  font-size: 0.85rem;
  display: block;
  margin-bottom: 2px;
  color: light-dark(oklch(42% 0.18 270), oklch(78% 0.14 270));
}
.sim-chapters .chapter-type {
  font-size: 0.65rem;
  font-weight: var(--fw-semibold);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--text-tertiary);
  display: block;
  margin-bottom: 4px;
}
.chapter-info p {
  font-size: 0.75rem;
  line-height: 1.5;
  color: var(--text-secondary);
}
/* Scoped: `.chapter-arrow` also names the sim-story expand chevron. */
.sim-chapters .chapter-arrow {
  font-size: 1.4rem;
  color: var(--text-tertiary);
  flex-shrink: 0;
  line-height: 1;
}

/* ==========================================
   CANDIDATE SECTION
   ========================================== */
.candidate-section {
  padding: var(--space-5xl) var(--section-pad);
  max-width: var(--max-width);
  margin: 0 auto;
}
.candidate-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-xl);
}
.candidate-feature {
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
}
.candidate-feature h3 {
  font-size: 1.1rem;
  font-weight: var(--fw-bold);
}
.candidate-feature p {
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.6;
}
.app-window--compact .app-window-body {
  padding: 16px;
}

/* Code mockup */
.code-mock {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  line-height: 1.8;
}
.code-line {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.code-kw {
  color: light-dark(oklch(48% 0.2 270), oklch(72% 0.16 270));
}
.code-fn {
  color: light-dark(oklch(52% 0.18 145), oklch(78% 0.16 145));
}
.code-str {
  color: light-dark(oklch(55% 0.2 22), oklch(75% 0.18 22));
}
.code-p {
  color: var(--text-secondary);
}

/* Voice mockup */
.voice-mock {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: var(--space-lg) 0;
}
.voice-animation {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  height: 50px;
  margin-bottom: var(--space-md);
}
.voice-bar {
  width: 4px;
  background: linear-gradient(180deg, var(--accent-primary), var(--accent-warm));
  border-radius: 4px;
  animation: voiceBar 1.2s ease-in-out infinite;
}
.voice-bar:nth-child(1) {
  height: 18px;
  animation-delay: 0s;
}
.voice-bar:nth-child(2) {
  height: 30px;
  animation-delay: 0.15s;
}
.voice-bar:nth-child(3) {
  height: 42px;
  animation-delay: 0.3s;
}
.voice-bar:nth-child(4) {
  height: 26px;
  animation-delay: 0.45s;
}
.voice-bar:nth-child(5) {
  height: 38px;
  animation-delay: 0.6s;
}
.voice-bar:nth-child(6) {
  height: 22px;
  animation-delay: 0.75s;
}
.voice-bar:nth-child(7) {
  height: 34px;
  animation-delay: 0.9s;
}
.voice-status {
  font-family: var(--font-display);
  font-size: 0.65rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent-primary);
}

/* Sheet mockup */
.sheet-mock {
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.sheet-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2px;
}
.sheet-row span {
  padding: 6px 10px;
  font-size: 0.78rem;
  text-align: center;
  border-radius: 4px;
  background: light-dark(oklch(96% 0.004 250), oklch(10% 0.008 260));
}
.sheet-header span {
  font-weight: var(--fw-bold);
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--text-secondary);
}
.sheet-row.highlight span {
  background: light-dark(oklch(48% 0.2 270/0.06), oklch(68% 0.16 270/0.08));
  color: var(--accent-primary);
  font-family: var(--font-mono);
  font-size: 0.72rem;
}

/* Slide mockup */
.slide-mock {
  padding: var(--space-md);
}
.slide-title {
  font-family: var(--font-heading);
  font-size: 0.95rem;
  font-weight: var(--fw-bold);
  margin-bottom: var(--space-md);
}
.slide-bullets {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: var(--space-lg);
}
.slide-bullet {
  height: 8px;
  border-radius: 4px;
  background: light-dark(oklch(0% 0 0/0.06), oklch(100% 0 0/0.06));
  width: 80%;
}
.slide-bullet.short {
  width: 50%;
}
.slide-chart {
  display: flex;
  align-items: flex-end;
  gap: 6px;
  height: 60px;
}
.slide-chart .bar {
  flex: 1;
  border-radius: 4px 4px 0 0;
  background: light-dark(oklch(48% 0.2 270/0.2), oklch(68% 0.16 270/0.25));
  transition: height 0.5s ease;
}
.slide-chart .bar.accent {
  background: linear-gradient(
    180deg,
    var(--accent-warm),
    light-dark(oklch(50% 0.24 15), oklch(60% 0.22 15))
  );
}

/* ==========================================
   THE PROBLEM / HIRING GAP
   ========================================== */
.problem-section {
  padding: var(--space-5xl) var(--section-pad);
}
.problem-inner {
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
}
.problem-inner .section-badge {
  margin-bottom: var(--space-lg);
}
.problem-text {
  font-size: 1.05rem;
  line-height: 1.75;
  color: var(--text-secondary);
  margin-bottom: var(--space-2xl);
}
.problem-text strong {
  color: var(--text-primary);
}
.problem-stats {
  display: flex;
  gap: var(--space-2xl);
  justify-content: center;
  margin: var(--space-3xl) 0;
  flex-wrap: wrap;
}
.problem-stat {
  flex: 1;
  min-width: 180px;
  padding: var(--space-xl);
  border-radius: var(--radius-2xl);
  background: var(--surface);
  border: 1px solid var(--border);
}
.problem-stat strong {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 3vw, 2.5rem);
  font-weight: 900;
  display: block;
  line-height: 1;
  margin-bottom: var(--space-xs);
  background: linear-gradient(
    135deg,
    var(--accent-warm),
    light-dark(oklch(48% 0.22 340), oklch(65% 0.2 340))
  );
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}
.problem-stat span {
  font-size: 0.85rem;
  color: var(--text-secondary);
}

/* ==========================================
   ABOUT
   ========================================== */
.about-section {
  padding: var(--space-5xl) var(--section-pad);
  max-width: var(--max-width);
  margin: 0 auto;
}
.about-content {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: var(--space-3xl);
  margin-top: var(--space-xl);
}
.about-story h3,
.about-team h3 {
  font-family: var(--font-heading);
  font-size: 1.3rem;
  font-weight: var(--fw-bold);
  margin-bottom: var(--space-lg);
}
.about-story p {
  font-size: 1rem;
  line-height: 1.75;
  color: var(--text-secondary);
  margin-bottom: var(--space-lg);
}
.about-story p:last-child {
  margin-bottom: 0;
}
.team-creds {
  display: flex;
  flex-direction: column;
  gap: var(--space-2xl);
}
.cred-group h4 {
  font-size: 0.78rem;
  font-weight: var(--fw-semibold);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--text-tertiary);
  margin-bottom: var(--space-md);
}
.cred-badges {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
}
.cred-badge {
  margin: 0;
  padding: 10px 18px;
  border-radius: var(--radius-lg);
  font-size: 0.88rem;
  line-height: 1.2;
  font-weight: var(--fw-semibold);
  white-space: nowrap;
  text-align: center;
  background: var(--surface);
  border: 1px solid var(--border);
  color: var(--text-primary);
  transition: all 0.2s;
}
.cred-badge:hover {
  border-color: var(--accent-primary);
  box-shadow: var(--shadow-glow);
}

/* ==========================================
   SOCIAL PROOF
   ========================================== */
.social-proof-section {
  padding: var(--space-5xl) var(--section-pad);
}
.proof-inner {
  max-width: 750px;
  margin: 0 auto;
}
.proof-quote {
  padding: var(--space-3xl);
  border-radius: var(--radius-2xl);
  position: relative;
  background: var(--surface);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-md);
}
.quote-mark {
  font-family: Georgia, serif;
  font-size: 5rem;
  line-height: 1;
  position: absolute;
  top: 16px;
  left: 24px;
  background: linear-gradient(135deg, var(--accent-primary), var(--accent-warm));
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  opacity: 0.4;
}
.proof-quote blockquote {
  font-family: var(--font-heading);
  font-size: clamp(1.05rem, 1.5vw, 1.2rem);
  font-weight: var(--fw-medium);
  line-height: 1.75;
  font-style: italic;
  color: var(--text-primary);
  margin-bottom: var(--space-2xl);
  padding-top: var(--space-xl);
}
.quote-attribution {
  display: flex;
  align-items: center;
  gap: var(--space-md);
}
.quote-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-size: 0.9rem;
  font-weight: 700;
  flex-shrink: 0;
  background: linear-gradient(
    135deg,
    light-dark(oklch(48% 0.2 270/0.12), oklch(60% 0.18 270/0.2)),
    light-dark(oklch(48% 0.2 20/0.06), oklch(60% 0.18 20/0.1))
  );
  border: 1px solid light-dark(oklch(48% 0.2 270/0.15), oklch(68% 0.16 270/0.2));
  color: var(--accent-primary);
}
.quote-attribution strong {
  font-size: 0.9rem;
  display: block;
}
.quote-attribution span {
  font-size: 0.8rem;
  color: var(--text-secondary);
}

/* ==========================================
   PORTALS
   ========================================== */
.portals-section {
  padding: var(--space-4xl) var(--section-pad);
  max-width: var(--max-width);
  margin: 0 auto;
}
.portal-list {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-xl);
  justify-content: center;
}
.portal-card {
  display: flex;
  align-items: center;
  gap: var(--space-lg);
  padding: var(--space-xl) var(--space-2xl);
  border-radius: 16px;
  flex: 1;
  min-width: 300px;
  max-width: 520px;
  background: var(--surface);
  border: 1px solid var(--border);
  opacity: 0.55;
  filter: grayscale(0.4);
  cursor: default;
}
.portal-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 50px;
  height: 50px;
  border-radius: 14px;
  flex-shrink: 0;
}
.portal-card--admin .portal-icon {
  background: light-dark(oklch(48% 0.2 270/0.08), oklch(60% 0.18 270/0.12));
  color: light-dark(oklch(40% 0.18 270), oklch(75% 0.14 270));
}
.portal-card--candidate .portal-icon {
  background: light-dark(oklch(52% 0.24 25/0.08), oklch(60% 0.22 25/0.12));
  color: light-dark(oklch(42% 0.2 25), oklch(75% 0.16 25));
}
.portal-card h3 {
  font-size: 1rem;
  font-weight: var(--fw-semibold);
  margin-bottom: 2px;
}
.portal-card p {
  font-size: 0.88rem;
  color: var(--text-secondary);
}
.coming-soon-badge {
  margin-left: auto;
  padding: 6px 16px;
  border-radius: 100px;
  white-space: nowrap;
  font-family: var(--font-display);
  font-size: 0.58rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  background: light-dark(oklch(48% 0.18 270/0.08), oklch(65% 0.15 270/0.12));
  border: 1px solid light-dark(oklch(48% 0.18 270/0.15), oklch(65% 0.15 270/0.2));
  color: light-dark(oklch(48% 0.18 270), oklch(75% 0.12 270));
}

/* ==========================================
   FINAL CTA
   ========================================== */
.final-cta {
  padding: var(--space-5xl) var(--section-pad);
  text-align: center;
}
.final-cta-inner {
  max-width: 700px;
  margin: 0 auto;
  padding: var(--space-4xl) var(--space-3xl);
  border-radius: var(--radius-2xl);
  background: var(--surface);
  border: 1px solid var(--border);
  backdrop-filter: blur(16px);
  box-shadow: var(--shadow-lg), var(--shadow-glow);
}
.final-cta h2 {
  font-family: var(--font-display);
  font-size: clamp(1.3rem, 2.5vw, 1.8rem);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  margin-bottom: var(--space-sm);
}
.final-cta p {
  font-size: 1.05rem;
  color: var(--text-secondary);
  margin-bottom: var(--space-2xl);
}

/* ==========================================
   FOOTER
   ========================================== */
.footer {
  padding: var(--space-3xl) var(--section-pad) var(--space-xl);
  border-top: 1px solid var(--border-subtle);
}
.footer-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: var(--space-lg);
}
.footer-brand {
  display: flex;
  align-items: center;
  gap: 12px;
}
.footer-logo {
  height: 26px;
  width: auto;
}
html[data-theme='light'] .footer-logo {
  filter: invert(1);
}
.footer-brand-text {
  font-family: var(--font-display);
  font-size: 0.58rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-secondary);
}
.footer-links {
  display: flex;
  gap: var(--space-xl);
  flex-wrap: wrap;
}
.footer-links a {
  font-size: 0.85rem;
  color: var(--text-secondary);
  transition: color 0.2s;
}
.footer-links a:hover {
  color: var(--text-primary);
}
.footer-social {
  display: flex;
  gap: var(--space-md);
}
.social-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  color: var(--text-secondary);
  background: light-dark(oklch(0% 0 0/0.04), oklch(100% 0 0/0.04));
  border: 1px solid var(--border-subtle);
  transition: all 0.2s;
}
.social-link:hover {
  color: var(--text-primary);
  border-color: var(--accent-primary);
  background: light-dark(oklch(48% 0.2 270/0.06), oklch(68% 0.16 270/0.08));
}
.social-link svg {
  width: 16px;
  height: 16px;
}
.footer-copy {
  width: 100%;
  text-align: center;
  margin-top: var(--space-xl);
  padding-top: var(--space-lg);
  border-top: 1px solid var(--border-subtle);
  font-size: 0.82rem;
  color: var(--text-tertiary);
}

/* ==========================================
   RESPONSIVE
   ========================================== */
@media (max-width: 900px) {
  .hero-inner {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .hero-content {
    align-items: center;
  }
  .cta-group {
    justify-content: center;
  }
  .hero-visual {
    order: 1;
  }
  .hero-trust {
    justify-content: center;
    flex-wrap: wrap;
  }
  .trust-logos {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 6px;
    justify-content: center;
  }
  .floating-card {
    display: none;
  }
  .showcase-step,
  .showcase-step--reverse {
    grid-template-columns: 1fr;
  }
  .showcase-step--reverse .step-info {
    order: 0;
  }
  .candidate-grid {
    grid-template-columns: 1fr;
  }
  .about-content {
    grid-template-columns: 1fr;
  }
  .portal-card {
    flex-direction: column;
    text-align: center;
  }
  .coming-soon-badge {
    margin-left: 0;
  }
  .problem-stats {
    flex-direction: column;
    align-items: center;
  }
  .problem-stat {
    min-width: auto;
    width: 100%;
    max-width: 300px;
  }
  .brief-expand-row {
    flex-direction: column;
  }
  .window-bar-actions,
  .window-bar-tabs {
    display: none;
  }
  .footer-inner {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }
  .footer-links {
    justify-content: center;
  }
  .footer-social {
    justify-content: center;
  }
  .proof-quote {
    padding: var(--space-2xl) var(--space-xl);
  }
  .quote-mark {
    font-size: 3.5rem;
    top: 8px;
    left: 16px;
  }
  .criteria-name {
    font-size: 0.75rem;
  }
  .criteria-badges {
    gap: 4px;
  }
  .sim-skill-tags {
    gap: 4px;
  }
  .sim-skill-tags span {
    font-size: 0.65rem;
    padding: 4px 8px;
  }
  .chapter-info p {
    display: none;
  }
}

@media (max-width: 600px) {
  .hero h1 {
    font-size: 2.2rem;
  }
  .section-title {
    font-size: 1.4rem;
  }
  .step-number {
    font-size: 2.5rem;
  }
  .cta-button {
    padding: 12px 24px;
    font-size: 0.88rem;
  }
  .tagline {
    font-size: 0.95rem;
  }
  .step-info h3 {
    font-size: 1.2rem;
  }
  .step-info p {
    font-size: 0.9rem;
  }
  .mockup-card {
    max-width: 100%;
  }
  .criteria-item {
    flex-direction: column;
    align-items: flex-start;
    gap: 6px;
  }
  .app-window-body {
    padding: 12px;
  }
  .eval-tabs {
    flex-direction: column;
    gap: 2px;
    border-radius: var(--radius-lg);
  }
  .eval-tab {
    border-radius: var(--radius-md);
  }
}
