/* ============================================
   DISC PROFILE - DESIGN SYSTEM
   Brand: 4-Color DISC Palette on Dark Premium
   Mode: Dark default with light toggle
   Heading Font: Inter (bold weight)
   Body Font: Inter
   ============================================ */

/* ---------- Reset & Base ---------- */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  /* -- Dark Mode (Default) -- */
  --bg-0: #08080f;
  --bg-1: #0d0d18;
  --bg-2: #141422;
  --bg-3: #1c1c30;
  --bg-card: rgba(255,255,255,0.04);
  --bg-card-hover: rgba(255,255,255,0.07);
  --text: #f0f0f8;
  --text-secondary: #b0b0c8;
  --text-muted: #7878a0;
  --border: rgba(255,255,255,0.08);
  --border-hover: rgba(255,255,255,0.16);

  /* -- DISC Type Colors -- */
  --disc-d: #ef4444;
  --disc-i: #f59e0b;
  --disc-s: #10b981;
  --disc-c: #3b82f6;

  --disc-d-glow: rgba(239,68,68,0.25);
  --disc-i-glow: rgba(245,158,11,0.25);
  --disc-s-glow: rgba(16,185,129,0.25);
  --disc-c-glow: rgba(59,130,246,0.25);

  /* -- Accent (shifts after assessment) -- */
  --accent: #8b5cf6;
  --accent-glow: rgba(139,92,246,0.25);

  /* -- Typography (Task 8: removed General Sans, using Inter for everything) -- */
  --font-heading: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-mono: 'JetBrains Mono', 'SF Mono', 'Fira Code', 'Courier New', monospace;

  /* -- Spacing (8px grid) -- */
  --space-xs: 4px;
  --space-sm: 8px;
  --space-md: 16px;
  --space-lg: 24px;
  --space-xl: 32px;
  --space-2xl: 48px;
  --space-3xl: 64px;
  --space-4xl: 80px;
  --space-section: 120px;

  /* -- Radius -- */
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --radius-xl: 20px;
  --radius-pill: 999px;

  /* -- Shadows (multi-layer, tinted) -- */
  --shadow-sm:
    0 1px 2px hsla(250, 40%, 10%, 0.12),
    0 1px 3px hsla(250, 40%, 10%, 0.16);
  --shadow-md:
    0 1px 2px hsla(250, 40%, 10%, 0.1),
    0 2px 4px hsla(250, 40%, 10%, 0.1),
    0 4px 8px hsla(250, 40%, 10%, 0.1),
    0 8px 16px hsla(250, 40%, 10%, 0.08);
  --shadow-lg:
    0 1px 2px hsla(250, 40%, 10%, 0.08),
    0 4px 8px hsla(250, 40%, 10%, 0.1),
    0 8px 16px hsla(250, 40%, 10%, 0.1),
    0 16px 32px hsla(250, 40%, 10%, 0.12),
    0 32px 64px hsla(250, 40%, 10%, 0.08);
  --shadow-glow:
    0 0 20px var(--accent-glow),
    0 0 60px var(--accent-glow);

  /* -- Transitions -- */
  --transition-fast: 0.15s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-base: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-spring: 0.6s cubic-bezier(0.34, 1.56, 0.64, 1);

  /* -- Scroll progress -- */
  --scroll-progress: 0%;
}

/* ---------- Light Mode ---------- */
[data-theme="light"] {
  --bg-0: #f8f8fc;
  --bg-1: #f0f0f6;
  --bg-2: #e8e8f0;
  --bg-3: #dcdce8;
  --bg-card: rgba(0,0,0,0.03);
  --bg-card-hover: rgba(0,0,0,0.06);
  --text: #1a1a2e;
  --text-secondary: #4a4a6a;
  --text-muted: #8888a0;
  --border: rgba(0,0,0,0.08);
  --border-hover: rgba(0,0,0,0.16);

  --shadow-sm:
    0 1px 2px hsla(250, 20%, 50%, 0.06),
    0 1px 3px hsla(250, 20%, 50%, 0.08);
  --shadow-md:
    0 1px 2px hsla(250, 20%, 50%, 0.05),
    0 2px 4px hsla(250, 20%, 50%, 0.05),
    0 4px 8px hsla(250, 20%, 50%, 0.05),
    0 8px 16px hsla(250, 20%, 50%, 0.04);
  --shadow-lg:
    0 1px 2px hsla(250, 20%, 50%, 0.04),
    0 4px 8px hsla(250, 20%, 50%, 0.05),
    0 8px 16px hsla(250, 20%, 50%, 0.05),
    0 16px 32px hsla(250, 20%, 50%, 0.06),
    0 32px 64px hsla(250, 20%, 50%, 0.04);
}

/* ---------- Base Styles ---------- */
html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  font-size: 16px;
}

body {
  font-family: var(--font-body);
  background: var(--bg-0);
  color: var(--text);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
button { cursor: pointer; font: inherit; border: none; background: none; }
ul, ol { list-style: none; }

/* ---------- Scroll Progress Bar ---------- */
.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  height: 3px;
  width: var(--scroll-progress);
  background: linear-gradient(90deg, var(--disc-d), var(--disc-i), var(--disc-s), var(--disc-c));
  z-index: 10000;
  transition: width 0.05s linear;
}

/* ---------- Typography ---------- */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.15;
  color: var(--text);
}

h1 { font-size: clamp(2.5rem, 5vw + 1rem, 4.5rem); }
h2 { font-size: clamp(1.75rem, 3vw + 0.5rem, 3rem); }
h3 { font-size: clamp(1.25rem, 2vw + 0.25rem, 1.75rem); }
h4 { font-size: clamp(1.1rem, 1.5vw + 0.25rem, 1.35rem); }

p {
  font-size: clamp(0.95rem, 0.5vw + 0.85rem, 1.125rem);
  color: var(--text-secondary);
  line-height: 1.7;
}

.gradient-text {
  background: linear-gradient(135deg, var(--disc-d), var(--disc-i), var(--disc-s), var(--disc-c));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.accent-text {
  color: var(--accent);
  transition: color var(--transition-slow);
}

/* ---------- Container ---------- */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 var(--space-lg);
}

.container--narrow {
  max-width: 800px;
}

/* ---------- Section ---------- */
section {
  padding: var(--space-section) 0;
  position: relative;
}

.section-header {
  text-align: center;
  margin-bottom: var(--space-3xl);
}

.section-overline {
  display: inline-flex;
  align-items: center;
  gap: var(--space-sm);
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--accent);
  margin-bottom: var(--space-md);
  transition: color var(--transition-slow);
}

.section-overline .dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent);
  animation: pulse-dot 2s ease-in-out infinite;
  transition: background var(--transition-slow);
}

@keyframes pulse-dot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(0.8); }
}

.section-subtitle {
  font-size: clamp(1rem, 1vw + 0.75rem, 1.2rem);
  color: var(--text-muted);
  max-width: 600px;
  margin: var(--space-md) auto 0;
}

/* ---------- Scroll Reveal ---------- */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s cubic-bezier(0.4, 0, 0.2, 1),
              transform 0.7s cubic-bezier(0.4, 0, 0.2, 1);
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }

/* ============================================
   NAVIGATION - Mega Menu System
   Inspired by Linear, Stripe, 16Personalities
   ============================================ */

.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  height: 60px;
  display: flex;
  align-items: center;
  background: transparent;
  border-bottom: 1px solid transparent;
  transition: background 0.3s ease, border-color 0.3s ease, backdrop-filter 0.3s ease;
}

.nav--scrolled {
  background: rgba(10,10,26,0.95);
  backdrop-filter: blur(12px) saturate(1.8);
  -webkit-backdrop-filter: blur(12px) saturate(1.8);
  border-bottom-color: var(--border);
}

[data-theme="light"] .nav--scrolled {
  background: rgba(248,248,252,0.95);
}

.nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1200px;
  width: 100%;
  margin: 0 auto;
  padding: 0 var(--space-lg);
  height: 100%;
}

/* --- Logo --- */
.nav__logo {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.2rem;
  letter-spacing: -0.03em;
  flex-shrink: 0;
  z-index: 1002;
}

.nav__logo-icon {
  width: 32px;
  height: 32px;
  border-radius: 7px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--disc-d), var(--disc-i), var(--disc-s), var(--disc-c));
  font-family: var(--font-mono);
  font-size: 0.6rem;
  font-weight: 700;
  color: #fff;
  letter-spacing: 0;
}

/* --- Center Nav Items --- */
.nav__center {
  display: flex;
  align-items: center;
  gap: 4px;
  height: 100%;
}

.nav__item {
  position: relative;
  height: 100%;
  display: flex;
  align-items: center;
}

.nav__trigger {
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 6px 14px;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-secondary);
  border-radius: var(--radius-sm);
  transition: color 0.15s ease, background 0.15s ease;
  cursor: pointer;
  white-space: nowrap;
  height: 36px;
  text-decoration: none;
  position: relative;
}

.nav__trigger:hover,
.nav__item--active > .nav__trigger {
  color: var(--text);
  background: var(--bg-card);
}

/* Active page indicator */
.nav__item--active > .nav__trigger::after {
  content: '';
  position: absolute;
  bottom: -14px;
  left: 50%;
  transform: translateX(-50%);
  width: 20px;
  height: 2px;
  background: var(--accent);
  border-radius: 1px;
  transition: background var(--transition-slow);
}

/* Chevron on dropdown triggers */
.nav__trigger--has-dropdown .nav__chevron {
  width: 14px;
  height: 14px;
  opacity: 0.5;
  transition: transform 0.2s ease, opacity 0.15s ease;
  flex-shrink: 0;
}

.nav__item--open .nav__trigger--has-dropdown .nav__chevron {
  transform: rotate(180deg);
  opacity: 0.8;
}

/* --- Mega Menu Panel --- */
.nav__mega {
  position: absolute;
  top: calc(100% + 8px);
  left: 50%;
  transform: translateX(-50%) translateY(4px);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s ease;
  z-index: 1100;
}

.nav__item--open .nav__mega {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateX(-50%) translateY(0);
}

.nav__mega-panel {
  background: rgba(13,13,24,0.96);
  backdrop-filter: blur(24px) saturate(1.5);
  -webkit-backdrop-filter: blur(24px) saturate(1.5);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: var(--radius-lg);
  padding: 20px;
  box-shadow:
    0 4px 12px rgba(0,0,0,0.15),
    0 16px 40px rgba(0,0,0,0.25),
    0 0 0 1px rgba(255,255,255,0.04) inset;
  min-width: 350px;
  max-width: 400px;
}

[data-theme="light"] .nav__mega-panel {
  background: rgba(248,248,252,0.96);
  border-color: rgba(0,0,0,0.08);
  box-shadow:
    0 4px 12px rgba(0,0,0,0.06),
    0 16px 40px rgba(0,0,0,0.1),
    0 0 0 1px rgba(0,0,0,0.03) inset;
}

/* Arrow pointer on mega menu */
.nav__mega-panel::before {
  content: '';
  position: absolute;
  top: -6px;
  left: 50%;
  transform: translateX(-50%) rotate(45deg);
  width: 12px;
  height: 12px;
  background: rgba(13,13,24,0.96);
  border-top: 1px solid rgba(255,255,255,0.08);
  border-left: 1px solid rgba(255,255,255,0.08);
}

[data-theme="light"] .nav__mega-panel::before {
  background: rgba(248,248,252,0.96);
  border-color: rgba(0,0,0,0.08);
}

/* Mega menu grid */
.nav__mega-grid {
  display: grid;
  gap: 6px;
}

.nav__mega-grid--2col {
  grid-template-columns: 1fr 1fr;
  min-width: 380px;
  max-width: 400px;
}

.nav__mega-grid--3col {
  grid-template-columns: 1fr 1fr 1fr;
  min-width: 560px;
}

/* Mega menu card items */
.nav__mega-card {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 12px 14px;
  border-radius: var(--radius-md);
  text-decoration: none;
  transition: background 0.15s ease;
  position: relative;
}

.nav__mega-card:hover {
  background: rgba(255,255,255,0.06);
}

[data-theme="light"] .nav__mega-card:hover {
  background: rgba(0,0,0,0.04);
}

.nav__mega-icon {
  width: 36px;
  height: 36px;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 1rem;
  background: var(--bg-card);
  border: 1px solid var(--border);
  transition: border-color 0.15s ease, background 0.15s ease;
}

.nav__mega-card:hover .nav__mega-icon {
  border-color: var(--border-hover);
  background: var(--bg-card-hover);
}

.nav__mega-text {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}

.nav__mega-title {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text);
  line-height: 1.3;
  display: flex;
  align-items: center;
  gap: 6px;
}

.nav__mega-badge {
  font-size: 0.65rem;
  font-weight: 700;
  padding: 1px 6px;
  border-radius: var(--radius-pill);
  background: var(--accent);
  color: #fff;
  letter-spacing: 0.02em;
  white-space: nowrap;
  line-height: 1.4;
}

.nav__mega-badge--price {
  background: linear-gradient(135deg, var(--disc-i), var(--disc-d));
}

.nav__mega-desc {
  font-size: 0.75rem;
  color: var(--text-muted);
  line-height: 1.4;
}

/* --- About link (no dropdown, plain link) --- */
.nav__trigger--plain {
  text-decoration: none;
}

/* --- Right Section --- */
.nav__right {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
  z-index: 1002;
}

/* Theme Toggle */
.theme-toggle {
  width: 36px;
  height: 36px;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-secondary);
  transition: color 0.15s ease, background 0.15s ease;
}

.theme-toggle:hover {
  color: var(--text);
  background: var(--bg-card);
}

.theme-toggle svg { width: 18px; height: 18px; }
.theme-toggle .icon-sun { display: none; }
[data-theme="light"] .theme-toggle .icon-moon { display: none; }
[data-theme="light"] .theme-toggle .icon-sun { display: block; }

/* CTA Button in Nav */
.nav__cta {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 16px;
  font-size: 0.8rem;
  font-weight: 600;
  color: #fff;
  background: var(--accent);
  border-radius: var(--radius-pill);
  text-decoration: none;
  transition: background 0.15s ease, transform 0.15s ease, box-shadow 0.15s ease;
  white-space: nowrap;
  letter-spacing: 0.01em;
}

.nav__cta:hover {
  background: color-mix(in srgb, var(--accent) 85%, white);
  transform: translateY(-1px);
  box-shadow: 0 4px 12px var(--accent-glow);
}

.nav__cta svg {
  width: 14px;
  height: 14px;
}

/* --- Admin Link (subtle gear icon) --- */
.nav__admin-link {
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  opacity: 0.3;
  transition: opacity var(--transition-fast), color var(--transition-fast);
  padding: 4px;
}
.nav__admin-link:hover {
  opacity: 0.8;
  color: var(--text-secondary);
}

/* --- Hamburger Menu Button --- */
.nav__hamburger {
  display: none;
  width: 40px;
  height: 40px;
  align-items: center;
  justify-content: center;
  color: var(--text);
  border-radius: var(--radius-sm);
  z-index: 1002;
  transition: background 0.15s ease;
}

.nav__hamburger:hover {
  background: var(--bg-card);
}

.nav__hamburger-lines {
  width: 20px;
  height: 14px;
  position: relative;
}

.nav__hamburger-lines span {
  display: block;
  position: absolute;
  width: 100%;
  height: 2px;
  background: currentColor;
  border-radius: 1px;
  transition: transform 0.3s ease, opacity 0.3s ease, top 0.3s ease;
}

.nav__hamburger-lines span:nth-child(1) { top: 0; }
.nav__hamburger-lines span:nth-child(2) { top: 6px; }
.nav__hamburger-lines span:nth-child(3) { top: 12px; }

/* Hamburger X state */
.nav__hamburger--open .nav__hamburger-lines span:nth-child(1) {
  top: 6px;
  transform: rotate(45deg);
}
.nav__hamburger--open .nav__hamburger-lines span:nth-child(2) {
  opacity: 0;
}
.nav__hamburger--open .nav__hamburger-lines span:nth-child(3) {
  top: 6px;
  transform: rotate(-45deg);
}

/* --- Mobile Overlay Menu --- */
.nav__mobile-overlay {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  width: 100%;
  max-width: 400px;
  background: rgba(8,8,15,0.98);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  z-index: 1001;
  transform: translateX(100%);
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  display: flex;
  flex-direction: column;
}

[data-theme="light"] .nav__mobile-overlay {
  background: rgba(248,248,252,0.98);
}

.nav__mobile-overlay--open {
  transform: translateX(0);
}

.nav__mobile-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.5);
  z-index: 1000;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

.nav__mobile-backdrop--visible {
  opacity: 1;
  visibility: visible;
}

.nav__mobile-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 24px;
  border-bottom: 1px solid var(--border);
  height: 64px;
  flex-shrink: 0;
}

.nav__mobile-close {
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-secondary);
  border-radius: var(--radius-sm);
  transition: color 0.15s ease, background 0.15s ease;
}

.nav__mobile-close:hover {
  color: var(--text);
  background: var(--bg-card);
}

.nav__mobile-close svg {
  width: 20px;
  height: 20px;
}

.nav__mobile-body {
  padding: 24px;
  flex: 1;
}

.nav__mobile-section {
  margin-bottom: 28px;
}

.nav__mobile-label {
  font-size: 0.7rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-muted);
  margin-bottom: 12px;
  padding-left: 4px;
}

.nav__mobile-link {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 14px;
  border-radius: var(--radius-md);
  text-decoration: none;
  color: var(--text);
  font-size: 0.95rem;
  font-weight: 500;
  transition: background 0.15s ease;
}

.nav__mobile-link:hover,
.nav__mobile-link--active {
  background: var(--bg-card);
}

.nav__mobile-link--active {
  color: var(--accent);
}

.nav__mobile-link-icon {
  width: 32px;
  height: 32px;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--bg-card);
  border: 1px solid var(--border);
  font-size: 0.9rem;
  flex-shrink: 0;
}

.nav__mobile-link-badge {
  margin-left: auto;
  font-size: 0.65rem;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: var(--radius-pill);
  background: linear-gradient(135deg, var(--disc-i), var(--disc-d));
  color: #fff;
}

.nav__mobile-footer {
  padding: 20px 24px;
  border-top: 1px solid var(--border);
  flex-shrink: 0;
}

.nav__mobile-cta {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  padding: 14px 24px;
  font-size: 0.95rem;
  font-weight: 600;
  color: #fff;
  background: var(--accent);
  border-radius: var(--radius-md);
  text-decoration: none;
  transition: background 0.15s ease;
}

.nav__mobile-cta:hover {
  background: color-mix(in srgb, var(--accent) 85%, white);
}

.nav__mobile-cta svg {
  width: 18px;
  height: 18px;
}

/* --- Desktop/Mobile Breakpoints --- */
@media (max-width: 768px) {
  .nav__center,
  .nav__cta {
    display: none;
  }

  .nav__hamburger {
    display: flex;
  }
}

@media (min-width: 769px) {
  .nav__hamburger,
  .nav__mobile-overlay,
  .nav__mobile-backdrop {
    display: none !important;
  }
}

/* Invisible hit area below nav for mega menus */
.nav__item::after {
  content: '';
  position: absolute;
  bottom: -12px;
  left: 0;
  right: 0;
  height: 12px;
}

/* ============================================
   HERO
   ============================================ */

.hero {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding-top: 80px;
  position: relative;
  overflow: hidden;
}

/* Ambient background glow */
.hero::before {
  content: '';
  position: absolute;
  top: -20%;
  left: 50%;
  transform: translateX(-50%);
  width: 140%;
  height: 80%;
  background: radial-gradient(ellipse at center,
    rgba(239,68,68,0.06) 0%,
    rgba(245,158,11,0.04) 25%,
    rgba(16,185,129,0.04) 50%,
    rgba(59,130,246,0.06) 75%,
    transparent 100%
  );
  pointer-events: none;
  animation: ambient-shift 12s ease-in-out infinite alternate;
}

@keyframes ambient-shift {
  0% { transform: translateX(-50%) rotate(0deg) scale(1); }
  100% { transform: translateX(-50%) rotate(3deg) scale(1.05); }
}

.hero__content {
  position: relative;
  z-index: 1;
  max-width: 820px;
}

.hero__overline {
  display: inline-flex;
  align-items: center;
  gap: var(--space-sm);
  font-size: 0.85rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-muted);
  margin-bottom: var(--space-lg);
  padding: var(--space-sm) var(--space-md);
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-pill);
}

.hero__overline .pulse {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--disc-s);
  animation: pulse-dot 2s ease-in-out infinite;
}

.hero__title {
  margin-bottom: var(--space-lg);
}

.hero__subtitle {
  font-size: clamp(1.05rem, 1vw + 0.85rem, 1.3rem);
  color: var(--text-secondary);
  max-width: 620px;
  margin: 0 auto var(--space-2xl);
  line-height: 1.7;
}

.hero__ctas {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-md);
  margin-bottom: var(--space-2xl);
  flex-wrap: wrap;
}

.hero__trust {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-lg);
  color: var(--text-muted);
  font-size: 0.85rem;
  font-weight: 500;
}

.hero__trust span {
  display: flex;
  align-items: center;
  gap: var(--space-xs);
}

.hero__trust .sep {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--text-muted);
  opacity: 0.5;
}

.hero__scroll {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  color: var(--text-muted);
  animation: bounce-down 2s ease-in-out infinite;
}

.hero__scroll svg { width: 24px; height: 24px; }

@keyframes bounce-down {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50% { transform: translateX(-50%) translateY(10px); }
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-sm);
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.95rem;
  padding: 14px 28px;
  border-radius: var(--radius-md);
  transition: all var(--transition-base);
  position: relative;
  overflow: hidden;
  white-space: nowrap;
}

.btn--primary {
  background: linear-gradient(135deg, var(--disc-d), var(--disc-i), var(--disc-s), var(--disc-c));
  color: #fff;
  box-shadow: 0 4px 20px rgba(139,92,246,0.25);
}

.btn--primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(139,92,246,0.35);
}

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

.btn--secondary {
  background: var(--bg-card);
  color: var(--text);
  border: 1px solid var(--border);
}

.btn--secondary:hover {
  background: var(--bg-card-hover);
  border-color: var(--border-hover);
  transform: translateY(-2px);
}

.btn--accent {
  background: var(--accent);
  color: #fff;
  box-shadow: 0 4px 20px var(--accent-glow);
  transition: all var(--transition-base), background var(--transition-slow), box-shadow var(--transition-slow);
}

.btn--accent:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px var(--accent-glow);
}

.btn--lg {
  padding: 18px 36px;
  font-size: 1.05rem;
  border-radius: var(--radius-lg);
  max-width: 100%;
  box-sizing: border-box;
}

.btn svg {
  width: 18px;
  height: 18px;
}

/* ============================================
   HOW IT WORKS
   ============================================ */

.how-it-works {
  background: var(--bg-1);
}

.steps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-xl);
}

.step-card {
  text-align: center;
  padding: var(--space-2xl) var(--space-lg);
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  transition: all var(--transition-base);
  position: relative;
}

.step-card:hover {
  background: var(--bg-card-hover);
  border-color: var(--border-hover);
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.step-card__number {
  position: absolute;
  top: var(--space-md);
  left: var(--space-md);
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--text-muted);
  background: var(--bg-2);
  width: 28px;
  height: 28px;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
}

.step-card__icon {
  width: 64px;
  height: 64px;
  margin: 0 auto var(--space-lg);
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--bg-2);
  transition: box-shadow var(--transition-slow);
}

.step-card:hover .step-card__icon {
  box-shadow: var(--shadow-glow);
}

.step-card__icon svg {
  width: 28px;
  height: 28px;
  color: var(--accent);
  transition: color var(--transition-slow);
}

.step-card h3 {
  margin-bottom: var(--space-sm);
}

.step-card p {
  font-size: 0.95rem;
  color: var(--text-muted);
}

@media (max-width: 768px) {
  .steps-grid {
    grid-template-columns: 1fr;
    gap: var(--space-md);
  }
}

/* ============================================
   DISC TYPES
   ============================================ */

.types-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-xl);
}

.type-card {
  padding: var(--space-2xl);
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  transition: all var(--transition-base);
  position: relative;
  overflow: hidden;
}

.type-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  border-radius: var(--radius-xl) var(--radius-xl) 0 0;
}

.type-card--d::before { background: var(--disc-d); }
.type-card--i::before { background: var(--disc-i); }
.type-card--s::before { background: var(--disc-s); }
.type-card--c::before { background: var(--disc-c); }

.type-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.type-card--d:hover { border-color: var(--disc-d-glow); box-shadow: 0 0 30px var(--disc-d-glow); }
.type-card--i:hover { border-color: var(--disc-i-glow); box-shadow: 0 0 30px var(--disc-i-glow); }
.type-card--s:hover { border-color: var(--disc-s-glow); box-shadow: 0 0 30px var(--disc-s-glow); }
.type-card--c:hover { border-color: var(--disc-c-glow); box-shadow: 0 0 30px var(--disc-c-glow); }

.type-card__header {
  display: flex;
  align-items: center;
  gap: var(--space-md);
  margin-bottom: var(--space-lg);
}

.type-card__badge {
  width: 56px;
  height: 56px;
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-mono);
  font-size: 1.5rem;
  font-weight: 800;
  color: #fff;
}

.type-card--d .type-card__badge { background: var(--disc-d); }
.type-card--i .type-card__badge { background: var(--disc-i); }
.type-card--s .type-card__badge { background: var(--disc-s); }
.type-card--c .type-card__badge { background: var(--disc-c); }

.type-card__title h3 {
  margin-bottom: 2px;
}

.type-card__title span {
  font-size: 0.85rem;
  color: var(--text-muted);
  font-weight: 500;
}

.type-card--d .type-card__title span { color: var(--disc-d); }
.type-card--i .type-card__title span { color: var(--disc-i); }
.type-card--s .type-card__title span { color: var(--disc-s); }
.type-card--c .type-card__title span { color: var(--disc-c); }

.type-card__desc {
  margin-bottom: var(--space-lg);
  font-size: 0.95rem;
}

.type-card__traits {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-sm);
  margin-bottom: var(--space-md);
}

.trait-pill {
  font-size: 0.8rem;
  font-weight: 500;
  padding: 6px 14px;
  border-radius: var(--radius-pill);
  background: var(--bg-2);
  color: var(--text-secondary);
  border: 1px solid var(--border);
}

.type-card--d .trait-pill { border-color: rgba(239,68,68,0.2); color: var(--disc-d); }
.type-card--i .trait-pill { border-color: rgba(245,158,11,0.2); color: var(--disc-i); }
.type-card--s .trait-pill { border-color: rgba(16,185,129,0.2); color: var(--disc-s); }
.type-card--c .trait-pill { border-color: rgba(59,130,246,0.2); color: var(--disc-c); }

.type-card__famous {
  font-size: 0.8rem;
  color: var(--text-muted);
  font-style: italic;
}

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

/* ============================================
   ASSESSMENT
   ============================================ */

.assessment {
  background: var(--bg-1);
}

.assessment-container {
  max-width: 720px;
  margin: 0 auto;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: var(--space-2xl);
  position: relative;
  overflow: hidden;
}

/* Progress bar */
.assessment__progress {
  margin-bottom: var(--space-2xl);
}

.assessment__progress-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: var(--space-sm);
}

.assessment__progress-label {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-secondary);
}

.assessment__progress-count {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  color: var(--text-muted);
}

.assessment__progress-bar {
  height: 6px;
  background: var(--bg-2);
  border-radius: var(--radius-pill);
  overflow: hidden;
}

.assessment__progress-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--disc-d), var(--disc-i), var(--disc-s), var(--disc-c));
  border-radius: var(--radius-pill);
  transition: width var(--transition-base);
  width: 20%;
}

/* Question */
.assessment__question {
  margin-bottom: var(--space-2xl);
  animation: fadeSlideIn 0.4s ease-out;
}

@keyframes fadeSlideIn {
  from { opacity: 0; transform: translateX(20px); }
  to { opacity: 1; transform: translateX(0); }
}

.assessment__question-number {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--accent);
  margin-bottom: var(--space-sm);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  transition: color var(--transition-slow);
}

.assessment__question-text {
  font-family: var(--font-heading);
  font-size: clamp(1.15rem, 1.5vw + 0.5rem, 1.5rem);
  font-weight: 600;
  letter-spacing: -0.02em;
  color: var(--text);
  line-height: 1.4;
}

/* Instructions (Task 2: clear instructions) */
.assessment__instructions {
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
  margin-bottom: var(--space-lg);
  padding: var(--space-md);
  background: var(--bg-2);
  border-radius: var(--radius-md);
}

.assessment__instruction-text {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text);
  margin-bottom: 0;
  text-align: center;
}

.assessment__instruction-row {
  display: flex;
  gap: var(--space-lg);
  justify-content: center;
}

.assessment__instruction {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--text-muted);
}

.assessment__instruction .dot-most {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--disc-s);
}

.assessment__instruction .dot-least {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--disc-d);
  opacity: 0.6;
}

/* Options */
.assessment__options {
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
  margin-bottom: var(--space-2xl);
}

.option-card {
  padding: var(--space-md) var(--space-lg);
  background: var(--bg-2);
  border: 2px solid var(--border);
  border-radius: var(--radius-lg);
  cursor: default;
  transition: all var(--transition-base);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-md);
  user-select: none;
}

.option-card:hover {
  background: var(--bg-3);
  border-color: var(--border-hover);
}

.option-card__text {
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--text);
  line-height: 1.5;
  flex: 1;
}

.option-card__actions {
  display: flex;
  gap: var(--space-sm);
  flex-shrink: 0;
}

/* Task 7: 44px minimum touch targets for option buttons */
.option-btn {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  font-weight: 700;
  font-family: var(--font-mono);
  border: 2px solid var(--border);
  color: var(--text-muted);
  transition: all var(--transition-base);
  background: transparent;
  cursor: pointer;
}

.option-btn:hover {
  border-color: var(--text-muted);
}

.option-btn--most:hover {
  border-color: var(--disc-s);
  color: var(--disc-s);
}

.option-btn--least:hover {
  border-color: var(--disc-d);
  color: var(--disc-d);
}

/* Selected states */
.option-card.selected-most {
  border-color: var(--disc-s);
  background: rgba(16,185,129,0.08);
}

.option-card.selected-most .option-btn--most {
  background: var(--disc-s);
  border-color: var(--disc-s);
  color: #fff;
}

.option-card.selected-least {
  border-color: rgba(239,68,68,0.3);
  background: rgba(239,68,68,0.05);
  opacity: 0.7;
}

.option-card.selected-least .option-btn--least {
  background: var(--disc-d);
  border-color: var(--disc-d);
  color: #fff;
}

.option-card.selected-least .option-card__text {
  text-decoration: line-through;
  color: var(--text-muted);
}

/* Navigation buttons */
.assessment__nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.assessment__nav .btn {
  min-width: 140px;
}

.btn:disabled {
  opacity: 0.4;
  cursor: not-allowed;
  transform: none !important;
}

/* Start state */
.assessment__start {
  text-align: center;
  padding: var(--space-2xl) 0;
}

.assessment__start h3 {
  margin-bottom: var(--space-md);
}

.assessment__start p {
  margin-bottom: var(--space-lg);
  max-width: 480px;
  margin-left: auto;
  margin-right: auto;
}

/* Name input form */
.assessment__name-form {
  max-width: 320px;
  margin: 0 auto var(--space-xl);
  text-align: left;
}

.assessment__name-label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-secondary);
  margin-bottom: var(--space-xs);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.assessment__name-input {
  width: 100%;
  padding: 14px 18px;
  background: var(--bg-2);
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 1rem;
  transition: border-color 0.25s ease, box-shadow 0.25s ease;
}

.assessment__name-input::placeholder {
  color: var(--text-muted);
}

.assessment__name-input:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(139, 92, 246, 0.15);
}

.assessment__name-hint {
  font-size: 0.78rem;
  color: var(--text-muted);
  margin-top: var(--space-xs);
  margin-bottom: 0 !important;
}

/* ============================================
   ADAPTIVE AXIS CIRCLES
   ============================================ */

.axis-step {
  text-align: center;
  padding: var(--space-lg) 0;
  animation: fadeSlideIn 0.5s ease-out;
}

.axis-step__header {
  margin-bottom: var(--space-xl);
}

.axis-step__label {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: var(--space-sm);
  transition: color var(--transition-slow);
}

.axis-step__title {
  font-size: clamp(1.25rem, 2vw + 0.5rem, 1.75rem);
  margin-bottom: var(--space-sm);
}

.axis-step__subtitle {
  font-size: 0.95rem;
  color: var(--text-muted);
}

/* Circle Container */
.axis-circle-wrap {
  display: flex;
  justify-content: center;
  margin: var(--space-xl) auto;
  max-width: 320px;
}

.axis-circle {
  width: 100%;
  height: auto;
  cursor: pointer;
  overflow: visible;
}

/* Half Labels */
.axis-half__label {
  font-family: var(--font-heading);
  font-size: 18px;
  font-weight: 700;
  fill: var(--text);
}

.axis-half__sublabel {
  font-family: var(--font-body);
  font-size: 12px;
  fill: var(--text-muted);
}

/* Half Backgrounds */
.axis-half__bg {
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.axis-half {
  cursor: pointer;
  outline: none;
}

.axis-half:hover .axis-half__bg,
.axis-half:focus-visible .axis-half__bg {
  filter: brightness(1.4);
  stroke-width: 3;
}

.axis-half--outgoing:hover .axis-half__bg,
.axis-half--outgoing:focus-visible .axis-half__bg {
  stroke: rgba(245,158,11,0.6);
}

.axis-half--reserved:hover .axis-half__bg,
.axis-half--reserved:focus-visible .axis-half__bg {
  stroke: rgba(59,130,246,0.6);
}

.axis-half--task:hover .axis-half__bg,
.axis-half--task:focus-visible .axis-half__bg {
  stroke: rgba(239,68,68,0.5);
}

.axis-half--people:hover .axis-half__bg,
.axis-half--people:focus-visible .axis-half__bg {
  stroke: rgba(16,185,129,0.5);
}

/* Selected State */
.axis-half--selected .axis-half__bg {
  stroke-width: 4 !important;
  filter: brightness(1.6) !important;
}

.axis-half--outgoing.axis-half--selected .axis-half__bg {
  fill: rgba(245,158,11,0.35);
  stroke: rgba(245,158,11,0.8);
}

.axis-half--reserved.axis-half--selected .axis-half__bg {
  fill: rgba(59,130,246,0.35);
  stroke: rgba(59,130,246,0.8);
}

.axis-half--task.axis-half--selected .axis-half__bg {
  fill: rgba(239,68,68,0.3);
  stroke: rgba(239,68,68,0.7);
}

.axis-half--people.axis-half--selected .axis-half__bg {
  fill: rgba(16,185,129,0.3);
  stroke: rgba(16,185,129,0.7);
}

.axis-half--selected .axis-half__label {
  fill: #fff;
}

/* Dimmed State (unchosen half) */
.axis-half--dimmed {
  cursor: default;
  pointer-events: none;
}

.axis-half--dimmed .axis-half__bg {
  opacity: 0.2;
  transition: opacity 0.6s ease;
}

.axis-half--dimmed .axis-half__label,
.axis-half--dimmed .axis-half__sublabel {
  opacity: 0.25;
  transition: opacity 0.6s ease;
}

/* Axis Insights (micro-feedback after each click) */
.axis-insight {
  max-width: 480px;
  margin: var(--space-lg) auto 0;
  padding: var(--space-md) var(--space-lg);
  background: var(--bg-2);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  font-size: 0.95rem;
  color: var(--text-secondary);
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}

.axis-insight--visible {
  opacity: 1;
  transform: translateY(0);
}

/* ============================================
   QUADRANT REVEAL
   ============================================ */

.quadrant-reveal__content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-xl);
  animation: quadrantRevealEntrance 0.8s cubic-bezier(0.34, 1.56, 0.64, 1);
}

@keyframes quadrantRevealEntrance {
  from { opacity: 0; transform: scale(0.85); }
  to { opacity: 1; transform: scale(1); }
}

.quadrant-map {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: 1fr 1fr;
  gap: 4px;
  width: 240px;
  height: 240px;
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.quadrant-map__cell {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  background: var(--bg-card);
  transition: all 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
  position: relative;
}

.quadrant-map__letter {
  font-family: var(--font-mono);
  font-size: 2rem;
  font-weight: 800;
  color: var(--text-muted);
  transition: all 0.5s ease;
}

.quadrant-map__name {
  font-size: 0.7rem;
  font-weight: 600;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  transition: all 0.5s ease;
}

/* Active quadrant */
.quadrant-map__cell--active {
  transform: scale(1.05);
  z-index: 2;
}

.quadrant-map__cell--d.quadrant-map__cell--active {
  background: rgba(239,68,68,0.15);
  box-shadow: 0 0 30px rgba(239,68,68,0.3);
}
.quadrant-map__cell--d.quadrant-map__cell--active .quadrant-map__letter { color: var(--disc-d); }
.quadrant-map__cell--d.quadrant-map__cell--active .quadrant-map__name { color: var(--disc-d); }

.quadrant-map__cell--i.quadrant-map__cell--active {
  background: rgba(245,158,11,0.15);
  box-shadow: 0 0 30px rgba(245,158,11,0.3);
}
.quadrant-map__cell--i.quadrant-map__cell--active .quadrant-map__letter { color: var(--disc-i); }
.quadrant-map__cell--i.quadrant-map__cell--active .quadrant-map__name { color: var(--disc-i); }

.quadrant-map__cell--s.quadrant-map__cell--active {
  background: rgba(16,185,129,0.15);
  box-shadow: 0 0 30px rgba(16,185,129,0.3);
}
.quadrant-map__cell--s.quadrant-map__cell--active .quadrant-map__letter { color: var(--disc-s); }
.quadrant-map__cell--s.quadrant-map__cell--active .quadrant-map__name { color: var(--disc-s); }

.quadrant-map__cell--c.quadrant-map__cell--active {
  background: rgba(59,130,246,0.15);
  box-shadow: 0 0 30px rgba(59,130,246,0.3);
}
.quadrant-map__cell--c.quadrant-map__cell--active .quadrant-map__letter { color: var(--disc-c); }
.quadrant-map__cell--c.quadrant-map__cell--active .quadrant-map__name { color: var(--disc-c); }

/* Non-active quadrants dim */
.quadrant-map__cell:not(.quadrant-map__cell--active) {
  opacity: 0.35;
}

/* Axis labels on quadrant map */
.quadrant-map__axis-top,
.quadrant-map__axis-bottom,
.quadrant-map__axis-left,
.quadrant-map__axis-right {
  position: absolute;
  font-size: 0.65rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-muted);
  pointer-events: none;
}

.quadrant-map__axis-top { top: -20px; left: 50%; transform: translateX(-50%); }
.quadrant-map__axis-bottom { bottom: -20px; left: 50%; transform: translateX(-50%); }
.quadrant-map__axis-left { left: -50px; top: 50%; transform: translateY(-50%) rotate(-90deg); }
.quadrant-map__axis-right { right: -50px; top: 50%; transform: translateY(-50%) rotate(90deg); }

.quadrant-reveal__text {
  max-width: 480px;
  text-align: center;
}

.quadrant-reveal__headline {
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--text);
  margin-bottom: var(--space-sm);
}

.quadrant-reveal__desc {
  font-size: 0.95rem;
  color: var(--text-secondary);
}

/* ============================================
   CONTEXT SELECTION
   ============================================ */

.context-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-md);
  max-width: 560px;
  margin: 0 auto;
}

.context-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-md);
  padding: var(--space-xl) var(--space-md);
  background: var(--bg-card);
  border: 1.5px solid var(--border);
  border-radius: var(--radius-lg);
  cursor: pointer;
  transition: all var(--transition-base);
  backdrop-filter: blur(8px);
}

.context-card:hover {
  background: var(--bg-card-hover);
  border-color: var(--border-hover);
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.context-card__icon {
  width: 36px;
  height: 36px;
  color: var(--text-muted);
  transition: color var(--transition-base);
}

.context-card:hover .context-card__icon {
  color: var(--accent);
}

.context-card__label {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-secondary);
  text-align: center;
  transition: color var(--transition-base);
}

.context-card:hover .context-card__label {
  color: var(--text);
}

/* Selected context */
.context-card--selected {
  border-color: var(--accent) !important;
  background: rgba(139,92,246,0.08);
  box-shadow: 0 0 20px var(--accent-glow);
  transform: translateY(-4px) scale(1.02);
}

.context-card--selected .context-card__icon {
  color: var(--accent);
}

.context-card--selected .context-card__label {
  color: var(--text);
  font-weight: 700;
}

@media (max-width: 560px) {
  .context-cards {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 380px) {
  .context-cards {
    grid-template-columns: 1fr;
  }
}

/* ============================================
   PROGRESSIVE INSIGHT
   ============================================ */

.progressive-insight {
  margin-bottom: var(--space-lg);
  padding: var(--space-sm) var(--space-md);
  background: var(--bg-2);
  border-left: 3px solid var(--accent);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  opacity: 0;
  min-height: 44px;
  visibility: hidden;
  transition: opacity 0.4s ease, border-color var(--transition-slow);
}

.progressive-insight--visible {
  opacity: 1;
  visibility: visible;
}

.progressive-insight p {
  font-size: 0.88rem;
  font-style: italic;
  color: var(--text-secondary);
  margin: 0;
}

/* ============================================
   RESULTS
   ============================================ */

.results {
  display: none;
  background: var(--bg-0);
}

.results.active {
  display: block;
  animation: resultsReveal 0.8s cubic-bezier(0.34, 1.56, 0.64, 1);
}

@keyframes resultsReveal {
  from {
    opacity: 0;
    transform: scale(0.9);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

.results__hero {
  text-align: center;
  padding: var(--space-4xl) 0 var(--space-3xl);
}

.results__badge {
  width: 120px;
  height: 120px;
  margin: 0 auto var(--space-xl);
  border-radius: var(--radius-xl);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-mono);
  font-size: 3.5rem;
  font-weight: 800;
  color: #fff;
  position: relative;
  animation: badgePulse 2s ease-in-out infinite;
}

@keyframes badgePulse {
  0%, 100% { box-shadow: 0 0 0 0 var(--accent-glow); }
  50% { box-shadow: 0 0 40px 10px var(--accent-glow); }
}

.results__title {
  margin-bottom: var(--space-sm);
}

.results__title-type {
  color: var(--accent);
  transition: color var(--transition-slow);
}

.results__tagline {
  font-size: 1.2rem;
  color: var(--text-secondary);
  margin-bottom: var(--space-2xl);
}

/* Chart */
.results__chart {
  max-width: 600px;
  margin: 0 auto var(--space-3xl);
  padding: var(--space-2xl);
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
}

.results__chart h3 {
  text-align: center;
  margin-bottom: var(--space-xl);
  font-size: 1.1rem;
}

.chart-bars {
  display: flex;
  flex-direction: column;
  gap: var(--space-lg);
}

.chart-bar {
  display: grid;
  grid-template-columns: 100px 1fr 50px;
  align-items: center;
  gap: var(--space-md);
}

.chart-bar__label {
  font-family: var(--font-heading);
  font-size: 0.9rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: var(--space-sm);
}

.chart-bar__label-letter {
  font-family: var(--font-mono);
  font-weight: 800;
  width: 28px;
  height: 28px;
  border-radius: var(--radius-sm);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8rem;
  color: #fff;
}

.chart-bar__track {
  height: 28px;
  background: var(--bg-2);
  border-radius: var(--radius-pill);
  overflow: hidden;
  position: relative;
}

.chart-bar__fill {
  height: 100%;
  border-radius: var(--radius-pill);
  transition: width 1s cubic-bezier(0.34, 1.56, 0.64, 1);
  width: 0;
}

.chart-bar__fill--d { background: linear-gradient(90deg, var(--disc-d), #f87171); }
.chart-bar__fill--i { background: linear-gradient(90deg, var(--disc-i), #fbbf24); }
.chart-bar__fill--s { background: linear-gradient(90deg, var(--disc-s), #34d399); }
.chart-bar__fill--c { background: linear-gradient(90deg, var(--disc-c), #60a5fa); }

.chart-bar__value {
  font-family: var(--font-mono);
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--text);
  text-align: right;
}

/* Results Content */
.results__content {
  max-width: 800px;
  margin: 0 auto;
}

.results__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-xl);
  margin-bottom: var(--space-2xl);
}

.results__card {
  padding: var(--space-xl);
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
}

.results__card h4 {
  margin-bottom: var(--space-md);
  display: flex;
  align-items: center;
  gap: var(--space-sm);
}

.results__card h4 svg {
  width: 20px;
  height: 20px;
  color: var(--accent);
  transition: color var(--transition-slow);
}

.results__card ul {
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
}

.results__card li {
  font-size: 0.95rem;
  color: var(--text-secondary);
  padding-left: var(--space-lg);
  position: relative;
}

.results__card li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 9px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
  transition: background var(--transition-slow);
}

.results__full-description {
  padding: var(--space-xl);
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  margin-bottom: var(--space-2xl);
}

.results__full-description h4 {
  margin-bottom: var(--space-md);
}

.results__full-description p {
  line-height: 1.8;
}

/* Secondary type */
.results__secondary {
  text-align: center;
  padding: var(--space-xl);
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  margin-bottom: var(--space-2xl);
}

.results__secondary h4 {
  margin-bottom: var(--space-sm);
}

/* Shareable Card */
.results__share-card {
  max-width: 480px;
  margin: 0 auto var(--space-2xl);
  padding: var(--space-xl);
  background: var(--bg-2);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.results__share-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--accent);
  transition: background var(--transition-slow);
}

.results__share-card h4 {
  font-size: 0.85rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: var(--space-md);
}

.results__share-card .share-type {
  font-family: var(--font-mono);
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--accent);
  transition: color var(--transition-slow);
}

.results__share-card .share-name {
  font-family: var(--font-heading);
  font-size: 1.3rem;
  font-weight: 700;
  margin-bottom: var(--space-md);
}

.results__share-card .share-tagline {
  font-size: 0.95rem;
  color: var(--text-secondary);
  margin-bottom: var(--space-md);
}

.results__share-card .share-brand {
  font-size: 0.75rem;
  color: var(--text-muted);
  font-weight: 500;
}

/* How Others See You */
.results__perception {
  text-align: center;
  padding: var(--space-xl);
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  margin-bottom: var(--space-2xl);
}

.results__perception h4 {
  margin-bottom: var(--space-md);
}

.results__perception p {
  font-size: 1.1rem;
  font-style: italic;
}

/* Social Sharing (Task 6) */
.results__social {
  text-align: center;
  margin-bottom: var(--space-2xl);
}

.results__social h4 {
  margin-bottom: var(--space-lg);
  font-size: 1rem;
  color: var(--text-secondary);
}

.social-buttons {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-sm);
  flex-wrap: wrap;
}

.social-btn {
  display: inline-flex;
  align-items: center;
  gap: var(--space-sm);
  padding: 10px 18px;
  border-radius: var(--radius-md);
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-secondary);
  background: var(--bg-card);
  border: 1px solid var(--border);
  cursor: pointer;
  transition: all var(--transition-base);
  white-space: nowrap;
}

.social-btn:hover {
  background: var(--bg-card-hover);
  border-color: var(--border-hover);
  color: var(--text);
  transform: translateY(-2px);
}

.social-btn svg {
  flex-shrink: 0;
}

.social-btn--success {
  border-color: var(--disc-s);
  color: var(--disc-s);
}

.social-btn--x:hover {
  border-color: rgba(255,255,255,0.2);
  color: var(--text);
}

.social-btn--linkedin:hover {
  border-color: rgba(0,119,181,0.4);
  color: #0077b5;
}

/* Download PDF (Task 5) */
.results__download {
  text-align: center;
  margin-bottom: var(--space-xl);
}

/* Retake (Task 9) */
.results__retake {
  text-align: center;
  margin-bottom: var(--space-2xl);
}

/* Results CTA */
.results__cta {
  text-align: center;
  padding: var(--space-2xl) 0;
}

.results__cta h3 {
  margin-bottom: var(--space-sm);
}

.results__cta p {
  margin-bottom: var(--space-xl);
}

@media (max-width: 768px) {
  .results__grid {
    grid-template-columns: 1fr;
  }
  .chart-bar {
    grid-template-columns: 80px 1fr 40px;
  }
  .chart-bar__label {
    font-size: 0.8rem;
  }
  .social-buttons {
    flex-direction: column;
    align-items: stretch;
  }
  .social-btn {
    justify-content: center;
  }
}

/* ============================================
   UPGRADE PREVIEW
   ============================================ */

.upgrade {
  background: var(--bg-1);
}

.comparison-table {
  max-width: 700px;
  margin: 0 auto var(--space-2xl);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  overflow: hidden;
}

.comparison-table__header {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  background: var(--bg-2);
  border-bottom: 1px solid var(--border);
}

.comparison-table__header > div {
  padding: var(--space-md) var(--space-lg);
  font-weight: 700;
  font-family: var(--font-heading);
  text-align: center;
}

.comparison-table__header > div:first-child {
  text-align: left;
  color: var(--text-secondary);
}

.comparison-table__row {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  border-bottom: 1px solid var(--border);
}

.comparison-table__row:last-child {
  border-bottom: none;
}

.comparison-table__row > div {
  padding: var(--space-md) var(--space-lg);
  font-size: 0.9rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.comparison-table__row > div:first-child {
  justify-content: flex-start;
  color: var(--text-secondary);
}

.comparison-table .check {
  color: var(--disc-s);
  font-weight: 700;
}

.comparison-table .cross {
  color: var(--text-muted);
  opacity: 0.4;
}

.comparison-table .coming-soon-badge {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 3px 8px;
  border-radius: var(--radius-pill);
  background: var(--bg-3);
  color: var(--disc-i);
  border: 1px solid rgba(245,158,11,0.2);
}

/* Email capture form */
.email-capture {
  max-width: 480px;
  margin: 0 auto;
  text-align: center;
}

.email-capture h3 {
  margin-bottom: var(--space-sm);
}

.email-capture p {
  margin-bottom: var(--space-lg);
  font-size: 0.95rem;
}

.email-form {
  display: flex;
  gap: var(--space-sm);
}

.email-form input[type="email"] {
  flex: 1;
  padding: 14px var(--space-md);
  background: var(--bg-2);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 0.95rem;
  outline: none;
  transition: border-color var(--transition-fast);
}

.email-form input[type="email"]:focus {
  border-color: var(--accent);
}

.email-form input[type="email"]::placeholder {
  color: var(--text-muted);
}

.email-form button {
  padding: 14px 24px;
  background: var(--accent);
  color: #fff;
  border-radius: var(--radius-md);
  font-weight: 600;
  font-size: 0.95rem;
  transition: all var(--transition-base), background var(--transition-slow);
  white-space: nowrap;
}

.email-form button:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 20px var(--accent-glow);
}

@media (max-width: 480px) {
  .email-form {
    flex-direction: column;
  }
  .comparison-table__header,
  .comparison-table__row {
    grid-template-columns: 1.5fr 1fr 1fr;
  }
  .comparison-table__row > div,
  .comparison-table__header > div {
    padding: var(--space-sm) var(--space-md);
    font-size: 0.8rem;
  }
}

/* ============================================
   FAQ
   ============================================ */

.faq-list {
  max-width: 700px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
}

.faq-item {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: border-color var(--transition-fast);
}

.faq-item.open {
  border-color: var(--border-hover);
}

.faq-item__question {
  width: 100%;
  padding: var(--space-lg);
  text-align: left;
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 600;
  color: var(--text);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-md);
  transition: color var(--transition-fast);
}

.faq-item__question:hover {
  color: var(--accent);
}

.faq-item__icon {
  width: 24px;
  height: 24px;
  flex-shrink: 0;
  transition: transform var(--transition-base);
  color: var(--text-muted);
}

.faq-item.open .faq-item__icon {
  transform: rotate(45deg);
  color: var(--accent);
}

.faq-item__answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height var(--transition-base), padding var(--transition-base);
}

.faq-item.open .faq-item__answer {
  max-height: 300px;
}

.faq-item__answer-inner {
  padding: 0 var(--space-lg) var(--space-lg);
}

.faq-item__answer p {
  font-size: 0.95rem;
  line-height: 1.7;
  color: var(--text-secondary);
}

/* ============================================
   FOOTER
   ============================================ */

.footer {
  background: var(--bg-1);
  border-top: 1px solid var(--border);
  padding: var(--space-3xl) 0 var(--space-xl);
}

.footer__main {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: var(--space-2xl);
  flex-wrap: wrap;
  gap: var(--space-lg);
}

.footer__brand {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.1rem;
}

.footer__links {
  display: flex;
  gap: var(--space-xl);
}

.footer__link {
  font-size: 0.9rem;
  color: var(--text-muted);
  transition: color var(--transition-fast);
}

.footer__link:hover {
  color: var(--text);
}

.footer__bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: var(--space-lg);
  border-top: 1px solid var(--border);
  flex-wrap: wrap;
  gap: var(--space-md);
}

.footer__copyright {
  font-size: 0.8rem;
  color: var(--text-muted);
}

.footer__network {
  display: flex;
  align-items: center;
  gap: var(--space-md);
}

.footer__network-label {
  font-size: 0.75rem;
  color: var(--text-muted);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.footer__network-link {
  font-size: 0.8rem;
  color: var(--text-muted);
  transition: color var(--transition-fast);
}

.footer__network-link:hover {
  color: var(--accent);
}

/* ============================================
   UTILITIES
   ============================================ */

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.text-center { text-align: center; }
.mt-sm { margin-top: var(--space-sm); }
.mt-md { margin-top: var(--space-md); }
.mt-lg { margin-top: var(--space-lg); }
.mb-sm { margin-bottom: var(--space-sm); }
.mb-md { margin-bottom: var(--space-md); }
.mb-lg { margin-bottom: var(--space-lg); }

/* ============================================
   RESPONSIVE FINE-TUNING
   ============================================ */

@media (max-width: 1024px) {
  :root {
    --space-section: 80px;
  }
}

@media (max-width: 768px) {
  :root {
    --space-section: 64px;
  }

  .hero__ctas {
    flex-direction: column;
    width: 100%;
    max-width: 320px;
    margin-left: auto;
    margin-right: auto;
  }

  .hero__ctas .btn {
    width: 100%;
  }

  .hero__trust {
    flex-wrap: wrap;
    gap: var(--space-md);
  }

  .hero__trust .sep {
    display: none;
  }

  .assessment-container {
    padding: var(--space-lg);
  }

  .assessment__instruction-row {
    flex-direction: column;
    gap: var(--space-sm);
    align-items: center;
  }

  .option-card {
    flex-direction: column;
    align-items: stretch;
    gap: var(--space-sm);
  }

  .option-card__actions {
    justify-content: flex-end;
  }

  .footer__main {
    flex-direction: column;
    text-align: center;
  }

  .footer__links {
    flex-wrap: wrap;
    justify-content: center;
  }

  .footer__bottom {
    flex-direction: column;
    text-align: center;
  }

  .footer__network {
    flex-wrap: wrap;
    justify-content: center;
  }
}

@media (max-width: 480px) {
  .assessment__instructions {
    padding: var(--space-sm);
  }

  .results__badge {
    width: 96px;
    height: 96px;
    font-size: 2.8rem;
  }
}

/* ============================================
   TYPE REVEAL: "Your Type" label
   ============================================ */
.results__type-label {
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--text-secondary);
  margin-bottom: var(--space-xs);
  font-weight: 600;
}

.results__type-subtitle {
  color: var(--accent);
  font-weight: 600;
  font-size: 1.1rem;
  margin-bottom: var(--space-md);
  transition: color var(--transition-slow);
  letter-spacing: 0.03em;
}

/* ============================================
   TYPE-SPECIFIC BADGE STYLES (FIX 2)
   Glow, pulse, entrance animation per DISC type
   ============================================ */

/* --- D (Dominance): Sharp, angular, bold --- */
.results__badge--d {
  border-radius: 8px;
  clip-path: polygon(50% 0%, 100% 50%, 50% 100%, 0% 50%);
  box-shadow: none;
  filter: drop-shadow(0 0 20px rgba(239,68,68,0.4));
  animation: badgePulseD 2.5s ease-in-out infinite, badgeEnterD 0.6s cubic-bezier(0.34, 1.56, 0.64, 1) both;
}

@keyframes badgePulseD {
  0%, 100% { filter: drop-shadow(0 0 15px rgba(239,68,68,0.3)); }
  50% { filter: drop-shadow(0 0 30px rgba(239,68,68,0.55)); }
}
@keyframes badgeEnterD {
  0% { opacity: 0; transform: scale(0.3); }
  100% { opacity: 1; transform: scale(1); }
}

/* --- I (Influence): Warm, radiating, bouncy --- */
.results__badge--i {
  border-radius: 50%;
  box-shadow: 0 0 30px rgba(245,158,11,0.4), 0 0 60px rgba(245,158,11,0.15);
  animation: badgePulseI 2s ease-in-out infinite, badgeEnterI 0.7s cubic-bezier(0.34, 1.56, 0.64, 1) both;
}
.results__badge--i::before {
  content: '';
  position: absolute; inset: -6px;
  border-radius: 50%;
  border: 2px solid rgba(245,158,11,0.3);
  pointer-events: none;
  animation: iRingPulse 2s ease-in-out infinite;
}
.results__badge--i::after {
  content: '';
  position: absolute; inset: -14px;
  border-radius: 50%;
  border: 1px solid rgba(245,158,11,0.15);
  pointer-events: none;
  animation: iRingPulse 2s ease-in-out 0.3s infinite;
}

@keyframes badgePulseI {
  0%, 100% { box-shadow: 0 0 20px rgba(245,158,11,0.3), 0 0 40px rgba(245,158,11,0.1); }
  50% { box-shadow: 0 0 45px rgba(245,158,11,0.5), 0 0 90px rgba(245,158,11,0.2); }
}
@keyframes iRingPulse {
  0%, 100% { opacity: 0.5; transform: scale(1); }
  50% { opacity: 1; transform: scale(1.05); }
}
@keyframes badgeEnterI {
  0% { opacity: 0; transform: scale(0.2); }
  60% { transform: scale(1.15); }
  100% { opacity: 1; transform: scale(1); }
}

/* --- S (Steadiness): Calm, smooth, gentle --- */
.results__badge--s {
  border-radius: 50%;
  box-shadow: 0 0 25px rgba(16,185,129,0.35), 0 0 50px rgba(16,185,129,0.12);
  animation: badgePulseS 3s ease-in-out infinite, badgeEnterS 0.9s ease-out both;
}
.results__badge--s::before {
  content: '';
  position: absolute; inset: -8px;
  border-radius: 50%;
  border: 1px solid rgba(16,185,129,0.2);
  pointer-events: none;
}

@keyframes badgePulseS {
  0%, 100% { box-shadow: 0 0 20px rgba(16,185,129,0.25), 0 0 40px rgba(16,185,129,0.08); }
  50% { box-shadow: 0 0 35px rgba(16,185,129,0.4), 0 0 70px rgba(16,185,129,0.15); }
}
@keyframes badgeEnterS {
  0% { opacity: 0; transform: scale(0.8); }
  100% { opacity: 1; transform: scale(1); }
}

/* --- C (Conscientiousness): Precise, geometric, crisp --- */
.results__badge--c {
  border-radius: 0;
  clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%);
  box-shadow: none;
  outline: none;
  position: relative;
  filter: drop-shadow(0 0 15px rgba(59,130,246,0.35));
  animation: badgeEnterC 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94) both, badgeGlowC 2.5s ease-in-out infinite;
}

@keyframes badgeEnterC {
  0% { opacity: 0; transform: translateY(-20px); }
  100% { opacity: 1; transform: translateY(0); }
}
@keyframes badgeGlowC {
  0%, 100% { filter: drop-shadow(0 0 12px rgba(59,130,246,0.3)); }
  50% { filter: drop-shadow(0 0 25px rgba(59,130,246,0.5)); }
}

/* --- Results Hero Entrance Animation --- */
.results__hero--reveal .results__badge {
  animation-play-state: running;
}
.results__hero--reveal .results__type-label {
  animation: revealFadeUp 0.5s ease-out 0.3s both;
}
.results__hero--reveal .results__title {
  animation: revealFadeUp 0.6s ease-out 0.4s both;
}
.results__hero--reveal .results__type-subtitle {
  animation: revealFadeUp 0.6s ease-out 0.5s both;
}
.results__hero--reveal .results__tagline {
  animation: revealFadeUp 0.6s ease-out 0.6s both;
}

@keyframes revealFadeUp {
  0% { opacity: 0; transform: translateY(16px); }
  100% { opacity: 1; transform: translateY(0); }
}

/* Override the old generic badgePulse for typed badges */
.results__badge--d,
.results__badge--i,
.results__badge--s,
.results__badge--c {
  /* These override the generic badgePulse */
}

/* ============================================
   PRINT STYLES
   ============================================ */

@media print {
  .nav, .scroll-progress, .hero__scroll, .theme-toggle,
  .nav__mobile-toggle, .footer__network, .results__social,
  .results__download, .results__retake { display: none; }
  body { background: #fff; color: #000; }
  section { padding: 2rem 0; }
}

/* ============================================
   MOBILE UX FIXES (2026-04-03)
   Quick-win fixes for mobile traffic (60%+ of users).
   Targets: iOS zoom, touch targets, tab bars, option cards.
   ============================================ */
@media (max-width: 768px) {
  /* --- iOS Safari: inputs < 16px trigger zoom-on-focus --- */
  input[type="text"],
  input[type="email"],
  input[type="password"],
  input[type="number"],
  input[type="tel"],
  input[type="search"],
  input[type="url"],
  textarea,
  select,
  .form-input,
  .assessment__name-input,
  .email-form input[type="email"],
  .gate__code-input {
    font-size: 16px !important;
  }

  /* --- Touch targets: social share buttons (were ~37px) --- */
  .social-btn {
    min-height: 44px;
    padding: 11px 16px;
  }

  /* --- Assessment option cards: tighter horizontal padding on phones --- */
  .option-card {
    padding: var(--space-md);
  }

  /* --- Results action buttons full width for one-handed use --- */
  .results__social .social-buttons {
    gap: 10px;
  }

  /* --- Report tab-bar: larger touch targets + scroll-snap --- */
  .tab-bar {
    scroll-snap-type: x proximity;
    scroll-padding-left: 16px;
  }
  .tab-bar .tab-btn {
    min-height: 44px;
    padding: 12px 16px;
    font-size: 0.78rem;
    scroll-snap-align: start;
  }

  /* --- Edge-fade hint that tab-bar scrolls horizontally --- */
  .tab-bar::after {
    content: '';
    position: sticky;
    right: 0;
    width: 24px;
    flex: 0 0 24px;
    background: linear-gradient(90deg, transparent, var(--surface, rgba(15,15,30,0.9)));
    pointer-events: none;
  }

  /* --- Prevent mobile bottom nav bar (56px) from covering sticky report tabs --- */
  body { scroll-padding-bottom: 72px; }
}

/* --- Very small phones: further tighten --- */
@media (max-width: 380px) {
  .social-btn {
    padding: 11px 12px;
    font-size: 0.8rem;
  }
  .option-card {
    padding: 14px 12px;
  }
}

