/* ==========================================================================
   PsiQ — Industry-Level Landing Page Stylesheet (v3)
   Aesthetic: Ultra-modern, high-contrast, scientific & clinical elegance.
   Typography: Plus Jakarta Sans + JetBrains Mono
   ========================================================================== */

:root {
  --v3-font-sans: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --v3-font-mono: 'JetBrains Mono', ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  
  /* Color Palette */
  --v3-bg-dark: #07090e;
  --v3-bg-card-dark: #0e131f;
  --v3-bg-card-dark-hover: #141c2e;
  --v3-border-dark: rgba(255, 255, 255, 0.08);
  --v3-border-dark-glow: rgba(99, 102, 241, 0.35);
  
  --v3-indigo-400: #818cf8;
  --v3-indigo-500: #6366f1;
  --v3-indigo-600: #4f46e5;
  --v3-indigo-700: #4338ca;
  --v3-purple-500: #a855f7;
  --v3-cyan-400: #22d3ee;
  --v3-cyan-500: #06b6d4;
  --v3-emerald-400: #34d399;
  --v3-emerald-500: #10b981;
  --v3-amber-400: #fbbf24;
  --v3-amber-500: #f59e0b;
  
  --v3-text-main: #f8fafc;
  --v3-text-muted: #94a3b8;
  --v3-text-dim: #64748b;
  
  --v3-glow-indigo: 0 0 50px -10px rgba(99, 102, 241, 0.3);
  --v3-glow-cyan: 0 0 40px -10px rgba(6, 182, 212, 0.25);
  --v3-glow-purple: 0 0 45px -10px rgba(168, 85, 247, 0.25);
  
  --v3-shadow-card: 0 20px 40px -15px rgba(0, 0, 0, 0.5), 0 0 1px 1px rgba(255, 255, 255, 0.05);
  --v3-shadow-card-hover: 0 25px 50px -12px rgba(0, 0, 0, 0.7), 0 0 25px rgba(99, 102, 241, 0.2), 0 0 1px 1px rgba(99, 102, 241, 0.4);
}

/* Reset main wrapper constraint for modern full-bleed landing */
body {
  font-family: var(--v3-font-sans) !important;
  background: var(--v3-bg-dark) !important;
  color: var(--v3-text-main) !important;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

main {
  max-width: 100% !important;
  padding: 0 !important;
  margin: 0 !important;
  overflow-x: hidden;
}

/* Floating "island" header — detached from the viewport edge on all
   sides, rounded, and elevated with a soft indigo-tinted shadow rather
   than the old edge-to-edge bar. Sticky positioning still applies, it
   just sticks 16px from the top instead of flush against it. */
.site-header {
  /* Noticeably lighter than the page background (--v3-bg-dark is
     #07090e) — a dark-on-dark surface with only a black shadow was
     nearly invisible against an already-black page; this needs to read
     as a distinct elevated card regardless of what's behind it. */
  background: rgba(24, 28, 44, 0.92) !important;
  backdrop-filter: blur(20px) saturate(160%) !important;
  -webkit-backdrop-filter: blur(20px) saturate(160%) !important;
  border: 1px solid rgba(255, 255, 255, 0.16) !important;
  position: sticky !important;
  top: 16px;
  width: calc(100% - 32px);
  max-width: 1240px;
  margin: 16px auto 0;
  border-radius: 18px;
  /* Kept tight (small blur, small offset) on purpose — the header is
     nearly full viewport width (only 16px of gutter on each side), so
     a wide blur (the original 60px) bleeds straight past those narrow
     gutters and reads as a hard horizontal band across the whole page
     rather than a soft shadow under a floating card. */
  box-shadow:
    0 8px 20px -6px rgba(0, 0, 0, 0.5),
    0 0 24px -10px rgba(99, 102, 241, 0.3),
    inset 0 1px 0 rgba(255, 255, 255, 0.1);
  transition: box-shadow 0.25s ease, background 0.25s ease, border-color 0.25s ease;
}
.site-header.scrolled {
  border-color: rgba(255, 255, 255, 0.22) !important;
  box-shadow:
    0 10px 26px -6px rgba(0, 0, 0, 0.6),
    0 0 28px -8px rgba(99, 102, 241, 0.4),
    inset 0 1px 0 rgba(255, 255, 255, 0.12);
}
/* Three clear zones — logo, centered menu, login button — instead of
   a two-way space-between split where Login was just the last item
   crammed into the nav's own flex group. */
.site-header-inner {
  padding: 12px 20px !important;
  display: grid !important;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 20px;
}

@media (max-width: 640px) {
  .site-header { width: calc(100% - 24px); margin-top: 12px; top: 12px; border-radius: 16px; }
}

.site-nav-desktop {
  grid-column: 2;
  justify-content: center !important;
  gap: 30px !important;
}

.site-header-actions { grid-column: 3; display: flex; align-items: center; }
.brand { grid-column: 1; }

/* Hamburger always claims column 3 (harmless on desktop since it's
   display:none there) so that when nav + actions both hide on mobile,
   it lands on the right instead of grid auto-placement sliding it into
   the newly-vacated center column. */
.hamburger-btn { grid-column: 3; justify-self: end; }

@media (max-width: 720px) {
  .site-header-actions { display: none !important; }
}

.site-nav-desktop a {
  color: #cbd5e1 !important;
  font-weight: 500 !important;
  font-size: 14px !important;
  letter-spacing: 0.01em;
  transition: color 0.2s ease, transform 0.2s ease;
}

.site-nav-desktop a:hover {
  color: #ffffff !important;
  transform: translateY(-1px);
}

.brand .logo-img { transition: filter 0.25s ease; }
.brand:hover .logo-img { filter: drop-shadow(0 0 10px rgba(99, 102, 241, 0.5)); }

.site-header .btn {
  background: linear-gradient(135deg, var(--v3-indigo-600) 0%, var(--v3-purple-500) 100%) !important;
  color: #ffffff !important;
  border-radius: 9999px !important;
  box-shadow: 0 4px 14px rgba(99, 102, 241, 0.35) !important;
  border: 1px solid rgba(255, 255, 255, 0.15) !important;
  font-weight: 600 !important;
  transition: all 0.25s ease !important;
}

.site-header .btn:hover {
  transform: translateY(-2px) scale(1.02) !important;
  box-shadow: 0 6px 20px rgba(99, 102, 241, 0.5) !important;
}

/* Common Container */
.v3-container {
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ==========================================================================
   Hero Section
   ========================================================================== */

.v3-hero-wrapper {
  position: relative;
  overflow: hidden;
  padding: 80px 0 100px;
  background: radial-gradient(circle at 50% 0%, #151a30 0%, var(--v3-bg-dark) 70%);
}

.v3-hero-bg-glow {
  position: absolute;
  top: -200px;
  left: 50%;
  transform: translateX(-50%);
  width: 900px;
  height: 600px;
  background: radial-gradient(ellipse at center, rgba(99, 102, 241, 0.22) 0%, rgba(168, 85, 247, 0.15) 35%, rgba(6, 182, 212, 0.08) 60%, transparent 70%);
  filter: blur(60px);
  pointer-events: none;
  z-index: 0;
  animation: heroGlowPulse 10s ease-in-out infinite alternate;
}

@keyframes heroGlowPulse {
  0% { transform: translateX(-50%) scale(0.95); opacity: 0.8; }
  100% { transform: translateX(-50%) scale(1.08); opacity: 1; }
}

.v3-hero-grid-pattern {
  position: absolute;
  inset: 0;
  background-image: 
    linear-gradient(to right, rgba(255, 255, 255, 0.03) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
  background-size: 40px 40px;
  mask-image: radial-gradient(ellipse 65% 50% at 50% 30%, #000 70%, transparent 100%);
  -webkit-mask-image: radial-gradient(ellipse 65% 50% at 50% 30%, #000 70%, transparent 100%);
  pointer-events: none;
  z-index: 0;
}

.v3-hero-content {
  position: relative;
  z-index: 1;
  text-align: center;
  max-width: 940px;
  margin: 0 auto;
}

.v3-hero-pill {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(12px);
  padding: 6px 18px;
  border-radius: 9999px;
  font-size: 13px;
  font-weight: 600;
  color: #e2e8f0;
  margin-bottom: 24px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  transition: all 0.2s ease;
}

.v3-hero-pill:hover {
  border-color: var(--v3-indigo-400);
  background: rgba(99, 102, 241, 0.1);
}

.v3-hero-pill-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: linear-gradient(135deg, var(--v3-indigo-600), var(--v3-purple-500));
  color: #fff;
  padding: 2px 8px;
  border-radius: 9999px;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.v3-hero-title {
  font-size: 56px;
  line-height: 1.12;
  font-weight: 800;
  letter-spacing: -0.035em;
  margin: 0 0 24px;
  color: #ffffff;
}

.v3-hero-gradient-text {
  background: linear-gradient(135deg, #ffffff 0%, #818cf8 35%, #c084fc 70%, #38bdf8 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline;
}

.v3-hero-lead {
  font-size: 19px;
  line-height: 1.6;
  color: var(--v3-text-muted);
  max-width: 720px;
  margin: 0 auto 36px;
  font-weight: 400;
}

.v3-hero-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 32px;
}

.v3-btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: linear-gradient(135deg, var(--v3-indigo-600) 0%, var(--v3-purple-500) 100%);
  color: #ffffff;
  padding: 14px 28px;
  border-radius: 12px;
  font-size: 15px;
  font-weight: 600;
  text-decoration: none;
  border: 1px solid rgba(255, 255, 255, 0.2);
  box-shadow: 0 10px 25px -5px rgba(99, 102, 241, 0.45);
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  cursor: pointer;
}

.v3-btn-primary:hover {
  transform: translateY(-2px) scale(1.02);
  box-shadow: 0 16px 32px -6px rgba(99, 102, 241, 0.6);
  color: #ffffff;
}

.v3-btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: rgba(255, 255, 255, 0.05);
  color: #e2e8f0;
  padding: 14px 26px;
  border-radius: 12px;
  font-size: 15px;
  font-weight: 600;
  text-decoration: none;
  border: 1px solid var(--v3-border-dark);
  backdrop-filter: blur(10px);
  transition: all 0.25s ease;
  cursor: pointer;
}

.v3-btn-secondary:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.25);
  color: #ffffff;
  transform: translateY(-2px);
}

.v3-hero-trust-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 28px;
  flex-wrap: wrap;
  font-size: 13px;
  color: var(--v3-text-dim);
}

.v3-hero-trust-item {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.v3-hero-trust-item svg {
  color: var(--v3-emerald-400);
  width: 16px;
  height: 16px;
}

/* ==========================================================================
   Hero Visual Showcase (Interactive Radar & Live Test Card)
   ========================================================================== */

.v3-hero-showcase {
  position: relative;
  z-index: 1;
  margin-top: 60px;
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 28px;
  align-items: stretch;
}

.v3-glass-card {
  background: var(--v3-bg-card-dark);
  border: 1px solid var(--v3-border-dark);
  border-radius: 20px;
  padding: 28px;
  box-shadow: var(--v3-shadow-card);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  position: relative;
  overflow: hidden;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.v3-glass-card:hover {
  border-color: rgba(99, 102, 241, 0.3);
  box-shadow: var(--v3-shadow-card-hover);
}

.v3-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 24px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--v3-border-dark);
}

.v3-card-title-group {
  display: flex;
  align-items: center;
  gap: 12px;
}

.v3-card-icon-wrap {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  background: rgba(99, 102, 241, 0.12);
  border: 1px solid rgba(99, 102, 241, 0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--v3-indigo-400);
}

.v3-card-heading {
  font-size: 16px;
  font-weight: 700;
  color: #fff;
  margin: 0;
}

.v3-card-subheading {
  font-size: 12px;
  color: var(--v3-text-dim);
  margin: 2px 0 0;
  font-family: var(--v3-font-mono);
}

.v3-live-indicator {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 11px;
  font-weight: 600;
  color: var(--v3-emerald-400);
  background: rgba(16, 185, 129, 0.1);
  padding: 4px 10px;
  border-radius: 9999px;
  border: 1px solid rgba(16, 185, 129, 0.2);
}

.v3-pulse-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--v3-emerald-400);
  box-shadow: 0 0 8px var(--v3-emerald-400);
  animation: pulseDot 2s infinite;
}

@keyframes pulseDot {
  0% { transform: scale(0.95); opacity: 0.8; }
  50% { transform: scale(1.4); opacity: 1; }
  100% { transform: scale(0.95); opacity: 0.8; }
}

/* Radar Profile Layout */
.v3-radar-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  align-items: center;
}

.v3-radar-svg-container {
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.v3-radar-svg {
  width: 100%;
  max-width: 250px;
  height: auto;
  filter: drop-shadow(0 0 15px rgba(99, 102, 241, 0.35));
}

.v3-radar-metrics {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.v3-metric-row {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.v3-metric-label-row {
  display: flex;
  justify-content: space-between;
  font-size: 13px;
  font-weight: 600;
  color: #cbd5e1;
}

.v3-metric-score {
  font-family: var(--v3-font-mono);
  color: var(--v3-indigo-400);
  font-weight: 700;
}

.v3-metric-bar-track {
  height: 6px;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 999px;
  overflow: hidden;
}

.v3-metric-bar-fill {
  height: 100%;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--v3-indigo-600), var(--v3-cyan-400));
  transition: width 1s cubic-bezier(0.16, 1, 0.3, 1);
}

.v3-radar-footer-badge {
  margin-top: 20px;
  padding: 12px 16px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--v3-border-dark);
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 12px;
}

.v3-badge-stanine {
  color: #fff;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 6px;
}

.v3-badge-hash {
  font-family: var(--v3-font-mono);
  color: var(--v3-text-dim);
  font-size: 11px;
}

/* Simulated Live Assessment Card */
.v3-sim-test-card {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.v3-sim-progress-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
  font-size: 12px;
  color: var(--v3-text-muted);
}

.v3-sim-timer {
  font-family: var(--v3-font-mono);
  color: var(--v3-amber-400);
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 4px;
}

.v3-sim-question-box {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--v3-border-dark);
  border-radius: 14px;
  padding: 18px;
  margin-bottom: 18px;
}

.v3-sim-question-meta {
  font-size: 11px;
  text-transform: uppercase;
  font-weight: 700;
  letter-spacing: 0.05em;
  color: var(--v3-indigo-400);
  margin-bottom: 6px;
}

.v3-sim-question-text {
  font-size: 15px;
  font-weight: 600;
  color: #fff;
  line-height: 1.4;
  margin: 0;
}

.v3-sim-options {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 18px;
}

.v3-sim-opt {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 14px;
  border-radius: 10px;
  border: 1px solid var(--v3-border-dark);
  background: rgba(255, 255, 255, 0.02);
  color: #cbd5e1;
  font-size: 13px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s ease;
}

.v3-sim-opt:hover {
  background: rgba(99, 102, 241, 0.1);
  border-color: var(--v3-indigo-500);
  color: #fff;
}

.v3-sim-opt.selected {
  background: rgba(99, 102, 241, 0.18);
  border-color: var(--v3-indigo-400);
  color: #fff;
}

.v3-sim-opt-letter {
  width: 24px;
  height: 24px;
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  font-weight: 700;
  font-family: var(--v3-font-mono);
}

.v3-sim-opt.selected .v3-sim-opt-letter {
  background: var(--v3-indigo-600);
  color: #fff;
}

.v3-sim-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 12px;
  color: var(--v3-text-dim);
}

.v3-sim-score-btn {
  background: rgba(99, 102, 241, 0.15);
  color: var(--v3-indigo-400);
  border: 1px solid rgba(99, 102, 241, 0.3);
  padding: 6px 14px;
  border-radius: 8px;
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
}

.v3-sim-score-btn:hover {
  background: var(--v3-indigo-600);
  color: #fff;
}

/* ==========================================================================
   Trust / Stats Metrics Strip
   ========================================================================== */

.v3-stats-strip {
  border-top: 1px solid var(--v3-border-dark);
  border-bottom: 1px solid var(--v3-border-dark);
  background: rgba(14, 19, 31, 0.6);
  padding: 36px 0;
  position: relative;
  z-index: 2;
}

.v3-stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  text-align: center;
}

.v3-stat-box {
  padding: 0 16px;
  border-right: 1px solid var(--v3-border-dark);
}

.v3-stat-box:last-child {
  border-right: none;
}

.v3-stat-number {
  font-size: 38px;
  font-weight: 800;
  letter-spacing: -0.03em;
  color: #ffffff;
  font-family: var(--v3-font-sans);
  background: linear-gradient(135deg, #ffffff 0%, #cbd5e1 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  line-height: 1.1;
  margin-bottom: 6px;
}

.v3-stat-desc {
  font-size: 13px;
  color: var(--v3-text-muted);
  font-weight: 500;
}

/* Credibility Badges Carousel / Row */
.v3-standards-strip {
  padding: 28px 0;
  background: var(--v3-bg-dark);
  border-bottom: 1px solid var(--v3-border-dark);
}

.v3-standards-row {
  display: flex;
  align-items: center;
  justify-content: space-around;
  gap: 32px;
  flex-wrap: wrap;
  opacity: 0.85;
}

.v3-standard-badge {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  font-weight: 600;
  color: #cbd5e1;
}

.v3-standard-badge svg {
  color: var(--v3-indigo-400);
  width: 20px;
  height: 20px;
}

/* ==========================================================================
   Section Headers (Global)
   ========================================================================== */

.v3-section {
  padding: 100px 0;
  position: relative;
}

.v3-section-tag {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--v3-indigo-400);
  background: rgba(99, 102, 241, 0.1);
  border: 1px solid rgba(99, 102, 241, 0.2);
  padding: 4px 12px;
  border-radius: 9999px;
  margin-bottom: 16px;
}

.v3-section-title {
  font-size: 38px;
  font-weight: 800;
  letter-spacing: -0.03em;
  color: #ffffff;
  margin: 0 0 16px;
  line-height: 1.2;
}

.v3-section-subtitle {
  font-size: 17px;
  color: var(--v3-text-muted);
  max-width: 640px;
  line-height: 1.6;
  margin: 0 auto;
}

.v3-text-center {
  text-align: center;
}

/* ==========================================================================
   Interactive Audience / Role Matrix
   ========================================================================== */

.v3-role-tabs-wrap {
  display: flex;
  justify-content: center;
  margin: 48px auto 40px;
}

.v3-role-tabs {
  display: inline-flex;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--v3-border-dark);
  padding: 6px;
  border-radius: 14px;
  gap: 4px;
}

.v3-role-tab-btn {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 22px;
  border-radius: 10px;
  background: transparent;
  color: var(--v3-text-muted);
  border: none;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.25s ease;
}

.v3-role-tab-btn.active {
  background: linear-gradient(135deg, var(--v3-indigo-600), var(--v3-purple-500));
  color: #ffffff;
  box-shadow: 0 4px 14px rgba(99, 102, 241, 0.35);
}

.v3-role-tab-btn:hover:not(.active) {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.05);
}

.v3-role-panel {
  display: none;
  animation: fadeInPanel 0.35s ease forwards;
}

.v3-role-panel.active {
  display: block;
}

@keyframes fadeInPanel {
  from { opacity: 0; transform: translateY(12px); }
  to { opacity: 1; transform: translateY(0); }
}

.v3-role-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
  background: var(--v3-bg-card-dark);
  border: 1px solid var(--v3-border-dark);
  border-radius: 24px;
  padding: 48px;
  box-shadow: var(--v3-shadow-card);
}

.v3-role-content h3 {
  font-size: 28px;
  font-weight: 800;
  color: #fff;
  margin: 0 0 16px;
  letter-spacing: -0.02em;
}

.v3-role-content p {
  font-size: 16px;
  line-height: 1.6;
  color: var(--v3-text-muted);
  margin-bottom: 24px;
}

.v3-role-checklist {
  list-style: none;
  padding: 0;
  margin: 0 0 32px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.v3-role-checklist li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 14px;
  color: #cbd5e1;
}

.v3-check-icon {
  width: 20px;
  height: 20px;
  border-radius: 6px;
  background: rgba(16, 185, 129, 0.15);
  color: var(--v3-emerald-400);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 2px;
}

.v3-check-icon svg {
  width: 14px;
  height: 14px;
}

.v3-role-mockup-wrap {
  background: rgba(7, 9, 14, 0.8);
  border: 1px solid var(--v3-border-dark);
  border-radius: 18px;
  padding: 24px;
  box-shadow: inset 0 2px 8px rgba(0, 0, 0, 0.5);
  position: relative;
}

/* ==========================================================================
   Live 15-Second Interactive Cognitive Challenge Widget
   ========================================================================== */

.v3-interactive-demo-section {
  background: radial-gradient(circle at 50% 50%, rgba(99, 102, 241, 0.08) 0%, transparent 65%);
  padding: 80px 0;
}

.v3-challenge-card {
  max-width: 780px;
  margin: 0 auto;
  background: var(--v3-bg-card-dark);
  border: 1px solid var(--v3-border-dark-glow);
  border-radius: 24px;
  padding: 36px;
  box-shadow: var(--v3-shadow-card-hover);
  position: relative;
}

.v3-challenge-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 24px;
}

.v3-challenge-grid-box {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  max-width: 320px;
  margin: 20px auto 28px;
  background: rgba(0, 0, 0, 0.3);
  padding: 16px;
  border-radius: 16px;
  border: 1px solid var(--v3-border-dark);
}

.v3-matrix-cell {
  aspect-ratio: 1;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  font-weight: 700;
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.v3-matrix-cell.target-missing {
  border: 2px dashed var(--v3-indigo-400);
  background: rgba(99, 102, 241, 0.12);
  color: var(--v3-indigo-400);
}

.v3-challenge-choices {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  margin-bottom: 24px;
}

.v3-choice-btn {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--v3-border-dark);
  border-radius: 12px;
  padding: 14px;
  color: #fff;
  font-size: 16px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s ease;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
}

.v3-choice-btn:hover {
  border-color: var(--v3-indigo-400);
  background: rgba(99, 102, 241, 0.15);
  transform: translateY(-2px);
}

.v3-choice-btn.correct {
  border-color: var(--v3-emerald-400) !important;
  background: rgba(16, 185, 129, 0.2) !important;
  color: var(--v3-emerald-400) !important;
}

.v3-choice-btn.wrong {
  border-color: #f87171 !important;
  background: rgba(239, 68, 68, 0.2) !important;
  color: #f87171 !important;
}

.v3-challenge-feedback {
  display: none;
  padding: 16px;
  border-radius: 12px;
  font-size: 14px;
  margin-top: 16px;
  text-align: center;
  animation: fadeInPanel 0.3s ease;
}

.v3-feedback-success {
  background: rgba(16, 185, 129, 0.12);
  border: 1px solid rgba(16, 185, 129, 0.3);
  color: #a7f3d0;
}

.v3-feedback-error {
  background: rgba(239, 68, 68, 0.12);
  border: 1px solid rgba(239, 68, 68, 0.3);
  color: #fca5a5;
}

/* ==========================================================================
   Assessment Catalog Grid
   ========================================================================== */

.v3-catalog-grid {
  display: grid;
  /* auto-fill instead of a fixed 3 columns — a fixed grid leaves an
     awkward incomplete last row whenever the item count isn't a
     multiple of 3 (e.g. 4 items renders 3 + 1 stranded alone with 2/3
     of the row empty). This wraps naturally at any count and any
     width, so the explicit breakpoint overrides below are no longer
     needed either. */
  grid-template-columns: repeat(auto-fill, minmax(270px, 1fr));
  gap: 28px;
  margin-top: 48px;
}

.v3-catalog-card {
  background: var(--v3-bg-card-dark);
  border: 1px solid var(--v3-border-dark);
  border-radius: 20px;
  padding: 28px;
  box-shadow: var(--v3-shadow-card);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  text-decoration: none;
  color: inherit;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
  overflow: hidden;
}

.v3-catalog-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--v3-indigo-500), var(--v3-purple-500));
  opacity: 0;
  transition: opacity 0.3s ease;
}

.v3-catalog-card:hover {
  transform: translateY(-4px);
  border-color: rgba(99, 102, 241, 0.35);
  box-shadow: var(--v3-shadow-card-hover);
}

.v3-catalog-card:hover::before {
  opacity: 1;
}

.v3-card-top-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
}

.v3-badge-free {
  background: rgba(16, 185, 129, 0.12);
  color: var(--v3-emerald-400);
  border: 1px solid rgba(16, 185, 129, 0.25);
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  padding: 3px 8px;
  border-radius: 9999px;
  letter-spacing: 0.04em;
}

.v3-badge-paid {
  background: rgba(245, 158, 11, 0.12);
  color: var(--v3-amber-400);
  border: 1px solid rgba(245, 158, 11, 0.25);
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  padding: 3px 8px;
  border-radius: 9999px;
  letter-spacing: 0.04em;
}

.v3-catalog-title {
  font-size: 18px;
  font-weight: 700;
  color: #fff;
  margin: 0 0 10px;
  line-height: 1.35;
}

.v3-catalog-desc {
  font-size: 14px;
  color: var(--v3-text-muted);
  line-height: 1.5;
  margin: 0 0 20px;
  flex-grow: 1;
}

.v3-catalog-meta-row {
  display: flex;
  align-items: center;
  gap: 16px;
  font-size: 12px;
  color: var(--v3-text-dim);
  padding-top: 16px;
  border-top: 1px solid var(--v3-border-dark);
}

.v3-catalog-meta-item {
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

.v3-catalog-meta-item svg {
  width: 14px;
  height: 14px;
  color: var(--v3-indigo-400);
}

/* ==========================================================================
   Scientific Architecture Bento Grid
   ========================================================================== */

.v3-bento-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin-top: 56px;
}

.v3-bento-card {
  background: var(--v3-bg-card-dark);
  border: 1px solid var(--v3-border-dark);
  border-radius: 20px;
  padding: 32px 24px;
  box-shadow: var(--v3-shadow-card);
  transition: all 0.3s ease;
  position: relative;
}

.v3-bento-card:hover {
  border-color: rgba(99, 102, 241, 0.3);
  transform: translateY(-3px);
  box-shadow: var(--v3-shadow-card-hover);
}

.v3-bento-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: rgba(99, 102, 241, 0.12);
  border: 1px solid rgba(99, 102, 241, 0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--v3-indigo-400);
  margin-bottom: 20px;
}

.v3-bento-card h4 {
  font-size: 17px;
  font-weight: 700;
  color: #fff;
  margin: 0 0 10px;
}

.v3-bento-card p {
  font-size: 14px;
  line-height: 1.6;
  color: var(--v3-text-muted);
  margin: 0;
}

/* ==========================================================================
   Verifiable Sample Report Preview
   ========================================================================== */

.v3-report-preview-section {
  background: linear-gradient(180deg, var(--v3-bg-dark) 0%, #0d1222 50%, var(--v3-bg-dark) 100%);
  padding: 100px 0;
}

.v3-report-split {
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: 56px;
  align-items: center;
}

.v3-report-sheet {
  background: #ffffff;
  color: #0f172a;
  border-radius: 16px;
  padding: 36px;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.7), 0 0 30px rgba(99, 102, 241, 0.25);
  font-family: var(--v3-font-sans);
}

.v3-sheet-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  border-bottom: 2px solid #e2e8f0;
  padding-bottom: 20px;
  margin-bottom: 24px;
}

.v3-sheet-title {
  font-size: 18px;
  font-weight: 800;
  color: #0f172a;
  margin: 0 0 4px;
}

.v3-sheet-subtitle {
  font-size: 12px;
  color: #64748b;
  margin: 0;
}

.v3-sheet-qr-mock {
  width: 52px;
  height: 52px;
  background: #0f172a;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 9px;
  text-align: center;
  font-family: var(--v3-font-mono);
  font-weight: 700;
}

.v3-bell-curve-svg {
  width: 100%;
  height: auto;
  margin: 16px 0 24px;
}

/* ==========================================================================
   FAQ Accordion (Polished Modern Dark)
   ========================================================================== */

.v3-faq-container {
  max-width: 820px;
  margin: 48px auto 0;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.v3-faq-item {
  background: var(--v3-bg-card-dark);
  border: 1px solid var(--v3-border-dark);
  border-radius: 16px;
  padding: 20px 24px;
  transition: all 0.25s ease;
}

.v3-faq-item[open] {
  border-color: rgba(99, 102, 241, 0.35);
  background: var(--v3-bg-card-dark-hover);
}

.v3-faq-item summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 16px;
  font-weight: 700;
  color: #fff;
  outline: none;
}

.v3-faq-item summary::-webkit-details-marker {
  display: none;
}

.v3-faq-item summary .v3-faq-toggle {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.06);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--v3-indigo-400);
  font-size: 16px;
  transition: transform 0.25s ease, background 0.25s ease;
  flex-shrink: 0;
}

.v3-faq-item[open] summary .v3-faq-toggle {
  transform: rotate(45deg);
  background: var(--v3-indigo-600);
  color: #fff;
}

.v3-faq-item p {
  font-size: 14px;
  line-height: 1.7;
  color: var(--v3-text-muted);
  margin: 14px 0 0;
}

/* ==========================================================================
   High-Conversion Bottom CTA & Polished Footer
   ========================================================================== */

.v3-bottom-cta-banner {
  margin: 80px 0 40px;
  background: radial-gradient(circle at 50% 0%, rgba(99, 102, 241, 0.3) 0%, rgba(14, 19, 31, 0.95) 75%), var(--v3-bg-card-dark);
  border: 1px solid var(--v3-border-dark-glow);
  border-radius: 28px;
  padding: 64px 32px;
  text-align: center;
  position: relative;
  overflow: hidden;
  box-shadow: 0 25px 60px -15px rgba(0, 0, 0, 0.7), 0 0 50px rgba(99, 102, 241, 0.25);
}

.v3-bottom-cta-banner h2 {
  font-size: 40px;
  font-weight: 800;
  color: #ffffff;
  margin: 0 0 16px;
  letter-spacing: -0.03em;
}

.v3-bottom-cta-banner p {
  font-size: 17px;
  color: #cbd5e1;
  max-width: 600px;
  margin: 0 auto 32px;
}

/* Modernized Footer */
.site-footer {
  background: #05070a !important;
  border-top: 1px solid var(--v3-border-dark) !important;
  color: var(--v3-text-muted) !important;
  padding-top: 60px !important;
}

.site-footer a {
  color: #94a3b8 !important;
  transition: color 0.2s ease !important;
}

.site-footer a:hover {
  color: #ffffff !important;
}

.footer-bottom {
  border-top: 1px solid var(--v3-border-dark) !important;
  color: var(--v3-text-dim) !important;
}

/* ==========================================================================
   Responsive Breakpoints
   ========================================================================== */

@media (max-width: 1080px) {
  .v3-hero-title { font-size: 44px; }
  .v3-hero-showcase { grid-template-columns: 1fr; }
  .v3-bento-grid { grid-template-columns: repeat(2, 1fr); }
  .v3-report-split { grid-template-columns: 1fr; }
  .v3-role-grid { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
  .v3-hero-wrapper { padding: 48px 0 60px; }
  .v3-hero-title { font-size: 34px; }
  .v3-hero-lead { font-size: 16px; }
  .v3-stats-grid { grid-template-columns: repeat(2, 1fr); gap: 16px; }
  .v3-stat-box { border-right: none; }
  .v3-bento-grid { grid-template-columns: 1fr; }
  .v3-role-tabs { flex-direction: column; width: 100%; }
  .v3-role-tab-btn { justify-content: center; }
  .v3-role-grid { padding: 24px; }
  .v3-challenge-choices { grid-template-columns: repeat(2, 1fr); }
  .v3-radar-layout { grid-template-columns: 1fr; }
  .v3-bottom-cta-banner { padding: 40px 20px; }
  .v3-bottom-cta-banner h2 { font-size: 28px; }
  .v3-pricing-grid { grid-template-columns: 1fr; }
}

/* ==========================================================================
   Pricing Page — Plan Cards
   ========================================================================== */

.v3-pricing-panel {
  display: none;
  animation: fadeInPanel 0.35s ease forwards;
}

.v3-pricing-panel.active {
  display: block;
}

.v3-pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  align-items: stretch;
}

.v3-pricing-card {
  position: relative;
  background: var(--v3-bg-card-dark);
  border: 1px solid var(--v3-border-dark);
  border-radius: 18px;
  padding: 32px 28px;
  display: flex;
  flex-direction: column;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.v3-pricing-card:hover {
  transform: translateY(-4px);
  border-color: var(--v3-border-dark-glow);
  box-shadow: var(--v3-shadow-card-hover);
}

.v3-pricing-card-featured {
  border-color: var(--v3-indigo-500);
  background: linear-gradient(160deg, var(--v3-bg-card-dark-hover) 0%, var(--v3-bg-card-dark) 100%);
}

.v3-pricing-ribbon {
  position: absolute;
  top: -12px;
  right: 28px;
  background: linear-gradient(135deg, var(--v3-indigo-600), var(--v3-purple-500));
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  padding: 5px 14px;
  border-radius: 9999px;
  box-shadow: 0 4px 14px rgba(99, 102, 241, 0.4);
}

.v3-pricing-plan-name {
  font-size: 19px;
  font-weight: 700;
  color: var(--v3-text-main);
  margin: 0 0 12px;
}

.v3-pricing-amount {
  display: flex;
  align-items: baseline;
  gap: 6px;
  margin-bottom: 6px;
}

.v3-pricing-value {
  font-size: 36px;
  font-weight: 800;
  color: #ffffff;
  font-family: var(--v3-font-mono);
}

.v3-pricing-period {
  font-size: 14px;
  color: var(--v3-text-dim);
}

.v3-pricing-custom {
  font-size: 26px;
  font-weight: 800;
  color: #ffffff;
}

.v3-pricing-credits {
  font-size: 13px;
  color: var(--v3-cyan-400);
  font-family: var(--v3-font-mono);
  margin-bottom: 18px;
}

.v3-pricing-limits {
  list-style: none;
  padding: 0;
  margin: 0 0 18px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.v3-pricing-limits li {
  font-size: 13px;
  color: var(--v3-text-muted);
  padding-bottom: 10px;
  border-bottom: 1px solid var(--v3-border-dark);
}

.v3-pricing-feature-list {
  flex: 1;
  margin-bottom: 24px;
}

.v3-pricing-feature-list li {
  align-items: flex-start;
}

.v3-pricing-cta {
  width: 100%;
  justify-content: center;
  text-align: center;
}

.v3-pricing-disclaimer {
  text-align: center;
  font-size: 12.5px;
  color: var(--v3-text-dim);
  max-width: 720px;
  margin: 36px auto 0;
  line-height: 1.7;
}

@media (max-width: 1080px) {
  .v3-pricing-grid { grid-template-columns: repeat(2, 1fr); }
}

/* ==========================================================================
   Site-wide dark theme — this stylesheet now loads on every PUBLIC page
   (via public-header.php), not just the homepage/pricing page. Everything
   below re-themes the shared style-v2.css component classes those other
   public pages already use (cards, forms, alerts, badges, the mobile
   panel) so they inherit the same dark identity WITHOUT needing their own
   markup rewritten. style-v2.css itself is left untouched, because the
   logged-in dashboard also loads it and stays on the light theme.
   ========================================================================== */

/* Plain inline-styled links across the public site (breadcrumbs,
   jump-nav anchors, prose links in policy pages) never set their own
   text-decoration, so they fall back to the browser default underline
   — inconsistent with every classed link on this site (.site-nav-desktop
   a, .footer-grid a, .v3-catalog-card, etc.), which all explicitly turn
   it off. One global reset instead of patching each inline <a> tag. */
a { color: var(--v3-indigo-400); text-decoration: none; }

.section-subtitle, .muted-link, .policy-content p, .policy-content li,
p.subtitle, .auth-wrap p {
  color: var(--v3-text-muted) !important;
}

.muted-link a { color: var(--v3-indigo-400) !important; }

/* ---- Cards, auth card, contact form (.card is reused directly as a
   form wrapper on contact.php) ---- */
.card, .auth-card, .feature-card {
  background: var(--v3-bg-card-dark) !important;
  border: 1px solid var(--v3-border-dark) !important;
  color: var(--v3-text-main);
}
.feature-card:hover { border-color: var(--v3-border-dark-glow) !important; }
.feature-card p { color: var(--v3-text-muted) !important; }
.feature-icon {
  background: rgba(99, 102, 241, 0.12) !important;
  color: var(--v3-indigo-400) !important;
}

/* ---- Tables (e.g. the cookie-policy page) ---- */
.policy-content table th { color: var(--v3-text-dim) !important; border-bottom-color: var(--v3-border-dark) !important; }
.policy-content table td { border-bottom-color: var(--v3-border-dark) !important; color: var(--v3-text-muted); }

/* ---- Policy table-of-contents ---- */
.policy-toc {
  background: var(--v3-bg-card-dark) !important;
  border-color: var(--v3-border-dark) !important;
}

/* ---- Forms ---- */
input[type=text], input[type=email], input[type=password], input[type=number],
select, textarea {
  background: var(--v3-bg-card-dark-hover) !important;
  border: 1px solid var(--v3-border-dark) !important;
  color: var(--v3-text-main) !important;
}
label { color: var(--v3-text-muted); }

/* ---- Buttons ---- */
.btn-secondary {
  background: rgba(255, 255, 255, 0.04) !important;
  color: var(--v3-text-main) !important;
  border: 1px solid var(--v3-border-dark) !important;
}
.btn-secondary:hover { background: rgba(255, 255, 255, 0.08) !important; }

/* ---- Badges / alerts — translucent tints instead of flat pastel
   backgrounds, matching the same treatment v3's own .v3-badge-* already
   use, rather than a light chip floating oddly on a dark page ---- */
.badge { background: rgba(255, 255, 255, 0.08) !important; color: var(--v3-text-muted) !important; }
.alert-error { background: rgba(239, 68, 68, 0.12) !important; color: #fca5a5 !important; }
.alert-success { background: rgba(16, 185, 129, 0.12) !important; color: var(--v3-emerald-400) !important; }

/* ---- Footer — align exactly with the page background instead of the
   separate (slightly different) dark slate-900 style-v2.css already used ---- */
.site-footer {
  background: var(--v3-bg-dark) !important;
  border-top: 1px solid var(--v3-border-dark);
}
.footer-grid a { color: var(--v3-text-muted) !important; }
.footer-grid a:hover { color: #ffffff !important; }
.footer-bottom { border-top-color: var(--v3-border-dark) !important; color: var(--v3-text-dim) !important; }

/* ---- Mobile slide-out panel — restructured into header (logo + close)
   / scrollable body (nav) / footer (social + copyright) instead of one
   flat scrolling column, so the social row stays anchored at the
   bottom regardless of how long the nav list is. ---- */
.mobile-panel {
  background: var(--v3-bg-card-dark) !important;
  box-shadow: -20px 0 50px rgba(0, 0, 0, 0.5) !important;
  display: flex !important;
  flex-direction: column;
  padding: 0 !important;
  overflow-y: hidden !important;
}
.mobile-panel-overlay { background: rgba(0, 0, 0, 0.6) !important; }

.mobile-panel-header {
  display: flex; align-items: center; justify-content: space-between;
  padding: 18px 20px; border-bottom: 1px solid var(--v3-border-dark);
  flex-shrink: 0;
}
/* The base .mobile-panel a rule (style-v2.css) sets width:100% and its
   own padding on every link inside the panel — correct for full-width
   nav rows, but it was also silently stretching the logo link across
   the entire header row (squashing the close button against the
   edge) since nothing here overrode it. */
.mobile-panel-header .brand {
  width: auto;
  padding: 0;
  margin: 0;
  display: inline-flex !important;
}

.mobile-panel-body { flex: 1; overflow-y: auto; padding: 14px 12px; }

.mobile-panel a, .mobile-panel form button {
  display: flex !important;
  align-items: center;
  color: #e2e8f0 !important;
  border-bottom-color: var(--v3-border-dark) !important;
  border-radius: 8px;
}
.mobile-panel a:hover, .mobile-panel form button:hover { background: rgba(255, 255, 255, 0.04); }
.mobile-panel-icon { margin-right: 12px; color: var(--v3-text-dim); flex-shrink: 0; }

.mobile-panel-cta {
  margin-top: 8px !important;
  justify-content: center !important;
  background: linear-gradient(135deg, var(--v3-indigo-600), var(--v3-purple-500)) !important;
  color: #fff !important;
  font-weight: 600;
  border-bottom: none !important;
}

.mobile-panel-close {
  position: static !important;
  color: var(--v3-text-muted) !important;
  width: 32px; height: 32px; border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  transition: background 0.2s ease;
}
.mobile-panel-close:hover { background: rgba(255, 255, 255, 0.06); }

.mobile-panel-footer {
  flex-shrink: 0;
  padding: 16px 20px 22px;
  border-top: 1px solid var(--v3-border-dark);
}
.mobile-panel-social { display: flex; gap: 12px; margin-bottom: 12px; }
.mobile-panel-social a {
  width: 38px; height: 38px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  background: rgba(255, 255, 255, 0.06); color: #cbd5e1 !important;
  border-bottom: none !important;
  transition: background 0.2s ease, transform 0.2s ease, color 0.2s ease;
}
.mobile-panel-social a:hover {
  background: linear-gradient(135deg, var(--v3-indigo-600), var(--v3-purple-500));
  color: #fff !important;
  transform: translateY(-2px);
}
.mobile-panel-copyright { font-size: 11px; color: var(--v3-text-dim); margin: 0; }
/* ---- Hamburger — a proper animated hamburger-to-X, thicker rounded
   bars, and a larger touch target (44px, the mobile touch-target
   minimum used everywhere else on this site) instead of the bare
   20x2px lines the light theme used. ---- */
.hamburger-btn {
  width: 44px !important; height: 44px !important;
  border-radius: 10px;
  transition: background 0.2s ease;
}
.hamburger-btn:hover { background: rgba(255, 255, 255, 0.08) !important; }
.hamburger-btn span {
  width: 22px !important; height: 2.5px !important;
  background: #e2e8f0 !important;
  border-radius: 2px;
  transition: background 0.2s ease 0.1s;
}
.hamburger-btn span::before, .hamburger-btn span::after {
  width: 22px !important; height: 2.5px !important;
  background: #e2e8f0 !important;
  border-radius: 2px;
  transition: transform 0.25s ease, top 0.25s ease;
}
body.panel-open .hamburger-btn span { background: transparent !important; }
body.panel-open .hamburger-btn span::before { top: 0; transform: rotate(45deg); background: var(--v3-indigo-400) !important; }
body.panel-open .hamburger-btn span::after { top: 0; transform: rotate(-45deg); background: var(--v3-indigo-400) !important; }

/* ==========================================================================
   About page — vertical timeline
   ========================================================================== */

.v3-timeline { position: relative; padding-left: 44px; }
.v3-timeline::before {
  content: '';
  position: absolute; left: 11px; top: 8px; bottom: 8px; width: 2px;
  background: linear-gradient(180deg, var(--v3-indigo-500) 0%, var(--v3-purple-500) 50%, var(--v3-cyan-400) 100%);
  opacity: 0.45;
}
.v3-timeline-item { position: relative; margin-bottom: 32px; }
.v3-timeline-item:last-child { margin-bottom: 0; }
.v3-timeline-dot {
  position: absolute; left: -44px; top: 2px;
  width: 24px; height: 24px; border-radius: 50%;
  background: var(--v3-bg-dark); border: 2px solid var(--v3-indigo-500);
}
.v3-timeline-year {
  font-family: var(--v3-font-mono); font-size: 13px; font-weight: 700;
  color: var(--v3-indigo-400); letter-spacing: 0.05em; text-transform: uppercase;
}

@media (max-width: 640px) {
  .v3-timeline { padding-left: 32px; }
  .v3-timeline::before { left: 7px; }
  .v3-timeline-dot { left: -32px; width: 18px; height: 18px; }
}

/* ==========================================================================
   Nav dropdowns (Solutions / Support) + nested Legal group
   ========================================================================== */

.nav-dropdown { position: relative; }
.nav-dropdown-trigger {
  display: inline-flex; align-items: center; gap: 5px;
  background: none; border: none; cursor: pointer;
  color: #cbd5e1; font-weight: 500; font-size: 14px; font-family: inherit;
  padding: 0;
}
.nav-dropdown-trigger:hover, .nav-dropdown.open .nav-dropdown-trigger { color: #ffffff; }
.nav-dropdown-trigger svg { transition: transform 0.2s ease; }
.nav-dropdown.open .nav-dropdown-trigger svg { transform: rotate(180deg); }

.nav-dropdown-menu {
  display: none;
  position: absolute; top: calc(100% + 16px); left: 50%; transform: translateX(-50%);
  min-width: 220px;
  background: var(--v3-bg-card-dark); border: 1px solid var(--v3-border-dark);
  border-radius: 12px; padding: 8px; box-shadow: var(--v3-shadow-card);
  z-index: 60;
}
.nav-dropdown.open .nav-dropdown-menu { display: block; }
.nav-dropdown-menu a {
  display: block; padding: 9px 12px; border-radius: 8px;
  color: #cbd5e1 !important; font-size: 13.5px; font-weight: 500;
  white-space: nowrap;
}
.nav-dropdown-menu a:hover { background: rgba(255, 255, 255, 0.06); color: #fff !important; }

.nav-dropdown-group-label {
  font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.05em;
  color: var(--v3-text-dim); padding: 10px 12px 4px;
}
.nav-dropdown-divider { height: 1px; background: var(--v3-border-dark); margin: 6px 4px; }

@media (min-width: 721px) {
  .nav-dropdown-menu { display: none !important; }
  .nav-dropdown.open .nav-dropdown-menu { display: block !important; }
}

/* ---- Mobile accordion (Solutions / Support / nested Legal) — native
   <details>/<summary>, same lightweight pattern already proven by the
   FAQ accordions elsewhere on this site, so it needs no extra JS. ---- */
.mobile-panel details { border-bottom: 1px solid var(--v3-border-dark); }
.mobile-panel details summary {
  display: flex; align-items: center; justify-content: space-between;
  padding: 12px 8px; font-size: 15px; color: #e2e8f0; cursor: pointer;
  list-style: none;
}
.mobile-panel details summary::-webkit-details-marker { display: none; }
.mobile-panel details summary::after { content: '\25BE'; font-size: 12px; color: var(--v3-text-dim); }
.mobile-panel details[open] summary::after { transform: rotate(180deg); }
.mobile-panel details .mobile-panel-sublist { padding: 0 0 8px 16px; }
.mobile-panel details .mobile-panel-sublist a { border-bottom: none; padding: 9px 8px; font-size: 14px; }
.mobile-panel details details { border-bottom: none; }
.mobile-panel details details summary { padding: 9px 8px; font-size: 14px; }
.mobile-panel details details .mobile-panel-sublist { padding-left: 16px; }
