/* ========================================
   AI RISK GUARD — STYLES
   ======================================== */

:root {
  --bg: #060E1A;
  --surface: #0B1525;
  --surface2: #101E30;
  --surface3: #162540;
  --border: #1A3050;
  --border2: #243D5E;
  --accent: #00D4AA;
  --accent-dim: rgba(0,212,170,0.08);
  --accent-glow: rgba(0,212,170,0.2);
  --accent-amber: #F59E0B;
  --accent-red: #EF4444;
  --accent-green: #10B981;
  --accent-purple: #7C5CFC;
  --text: #E2EAF4;
  --text-muted: #6B829E;
  --text-dim: #3D5575;
  --font-mono: 'JetBrains Mono', ui-monospace, monospace;
  --font-body: 'Inter', system-ui, sans-serif;
  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 12px;
  --radius-xl: 16px;
  --shadow-sm: 0 1px 3px rgba(0,0,0,0.3);
  --shadow-md: 0 4px 16px rgba(0,0,0,0.4);
  --shadow-lg: 0 8px 32px rgba(0,0,0,0.5);
  --transition: 0.2s ease;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  min-height: 100vh;
}

::selection { background: rgba(0,212,170,0.25); color: var(--text); }
::-webkit-scrollbar { width: 6px; height: 6px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb { background: var(--border2); border-radius: 3px; }
::-webkit-scrollbar-thumb:hover { background: var(--text-dim); }

.hidden { display: none !important; }

/* ===== LAYOUT ===== */
.container {
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* ===== TYPOGRAPHY ===== */
.section-label {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--accent);
  font-family: var(--font-mono);
  margin-bottom: 0.75rem;
}

.section-title {
  font-size: clamp(1.75rem, 3.5vw, 2.5rem);
  font-weight: 700;
  line-height: 1.2;
  color: var(--text);
  margin-bottom: 1rem;
}

.section-sub {
  font-size: 1.05rem;
  color: var(--text-muted);
  max-width: 600px;
  line-height: 1.7;
}

.accent { color: var(--accent); }

/* ===== NAVBAR ===== */
.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  background: rgba(6,14,26,0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid transparent;
  transition: border-color var(--transition), background var(--transition);
}

.navbar.scrolled {
  border-bottom-color: var(--border);
  background: rgba(6,14,26,0.95);
}

.nav-inner {
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 1.5rem;
  height: 60px;
  display: flex;
  align-items: center;
  gap: 2rem;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  text-decoration: none;
  font-weight: 700;
  font-size: 1rem;
  color: var(--text);
  flex-shrink: 0;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  margin-left: auto;
}

.nav-link {
  padding: 0.375rem 0.75rem;
  border-radius: var(--radius-md);
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--text-muted);
  cursor: pointer;
  transition: color var(--transition), background var(--transition);
}

.nav-link:hover, .nav-link.active { color: var(--text); background: var(--surface2); }

.nav-toggle {
  display: none;
  background: none;
  border: none;
  color: var(--text-muted);
  cursor: pointer;
  padding: 0.25rem;
  margin-left: auto;
}

/* ===== BUTTONS ===== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.625rem 1.25rem;
  border-radius: var(--radius-md);
  font-family: var(--font-body);
  font-size: 0.875rem;
  font-weight: 600;
  cursor: pointer;
  border: none;
  text-decoration: none;
  transition: all var(--transition);
  white-space: nowrap;
  line-height: 1;
}

.btn-primary {
  background: var(--accent);
  color: #060E1A;
}
.btn-primary:hover { background: #00BFA3; transform: translateY(-1px); box-shadow: 0 4px 12px rgba(0,212,170,0.3); }
.btn-primary:active { transform: translateY(0); }

.btn-ghost {
  background: transparent;
  color: var(--text-muted);
  border: 1px solid var(--border);
}
.btn-ghost:hover { color: var(--text); border-color: var(--border2); background: var(--surface2); }

.btn-outline-accent {
  background: transparent;
  color: var(--accent);
  border: 1px solid rgba(0,212,170,0.4);
}
.btn-outline-accent:hover { background: var(--accent-dim); border-color: var(--accent); }

.btn-lg { padding: 0.875rem 1.75rem; font-size: 1rem; border-radius: var(--radius-lg); }
.btn-sm { padding: 0.375rem 0.875rem; font-size: 0.8rem; }
.btn-full { width: 100%; justify-content: center; }

/* ===== HERO ===== */
.hero {
  position: relative;
  padding: 8rem 0 5rem;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 80% 60% at 50% 0%, rgba(0,212,170,0.06) 0%, transparent 70%);
  pointer-events: none;
}

.hero-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(26,48,80,0.3) 1px, transparent 1px),
    linear-gradient(90deg, rgba(26,48,80,0.3) 1px, transparent 1px);
  background-size: 40px 40px;
  mask-image: radial-gradient(ellipse 70% 70% at 50% 0%, black 0%, transparent 70%);
  pointer-events: none;
}

.hero-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--accent-dim);
  border: 1px solid rgba(0,212,170,0.2);
  border-radius: 100px;
  padding: 0.375rem 0.875rem;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--accent);
  font-family: var(--font-mono);
  margin-bottom: 1.5rem;
}

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

@keyframes pulse { 0%, 100% { opacity: 1; } 50% { opacity: 0.4; } }

.hero-headline {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800;
  line-height: 1.15;
  color: var(--text);
  margin-bottom: 1.25rem;
}

.hero-sub {
  font-size: 1.1rem;
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 2rem;
  max-width: 520px;
}

.hero-actions {
  display: flex;
  gap: 0.875rem;
  flex-wrap: wrap;
  margin-bottom: 2rem;
}

.hero-proof {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.8rem;
  color: var(--text-muted);
}

.hero-proof strong { color: var(--text); }

.proof-avatars {
  display: flex;
}

.avatar {
  width: 28px; height: 28px;
  border-radius: 50%;
  border: 2px solid var(--bg);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.6rem;
  font-weight: 700;
  color: #060E1A;
  margin-right: -6px;
}

/* Hero Visual */
.hero-visual {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.25rem;
}

.risk-gauge-preview {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 1.5rem 2rem;
  text-align: center;
  width: 100%;
  max-width: 280px;
  box-shadow: var(--shadow-lg);
}

.gauge-label {
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-muted);
  font-family: var(--font-mono);
  margin-bottom: 0.75rem;
}

.gauge-svg { width: 200px; height: 130px; }

.gauge-arc-anim { animation: gauge-fill 1.5s ease-out forwards; }
@keyframes gauge-fill {
  from { stroke-dasharray: 0 251; }
  to { stroke-dasharray: 135 251; }
}

.needle-anim {
  transform-origin: 100px 100px;
  animation: needle-swing 1.5s cubic-bezier(0.34, 1.56, 0.64, 1) forwards;
}
@keyframes needle-swing {
  from { transform: rotate(-90deg); }
  to { transform: rotate(0deg); }
}

.gauge-score {
  margin-top: 0.5rem;
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 0.25rem;
}

.gauge-num {
  font-family: var(--font-mono);
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--text);
}

.gauge-denom {
  font-family: var(--font-mono);
  font-size: 1rem;
  color: var(--text-muted);
}

.gauge-tier-badge {
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  padding: 0.25rem 0.625rem;
  border-radius: 100px;
  margin-left: 0.5rem;
}

.tier-low { background: rgba(16,185,129,0.15); color: #10B981; }
.tier-moderate { background: rgba(245,158,11,0.15); color: #F59E0B; }
.tier-high { background: rgba(239,68,68,0.15); color: #EF4444; }
.tier-critical { background: rgba(239,68,68,0.2); color: #EF4444; animation: critical-pulse 1.5s ease-in-out infinite; }

@keyframes critical-pulse { 0%, 100% { opacity: 1; } 50% { opacity: 0.7; } }

.hero-dims-grid {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
  justify-content: center;
}

.dim-chip {
  display: flex;
  align-items: center;
  gap: 0.375rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 100px;
  padding: 0.25rem 0.625rem;
  font-size: 0.7rem;
}

.dim-chip-name { color: var(--text-muted); font-weight: 500; }
.dim-chip-val { font-family: var(--font-mono); font-weight: 700; }
.dim-chip-low .dim-chip-val { color: #10B981; }
.dim-chip-amber .dim-chip-val { color: #F59E0B; }
.dim-chip-red .dim-chip-val { color: #EF4444; }

/* ===== TRUST BAR ===== */
.section-trust {
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 1.25rem 0;
}

.trust-label {
  font-size: 0.75rem;
  color: var(--text-dim);
  text-align: center;
  margin-bottom: 0.875rem;
  font-family: var(--font-mono);
  letter-spacing: 0.05em;
}

.trust-logos {
  display: flex;
  justify-content: center;
  gap: 2.5rem;
  flex-wrap: wrap;
}

.trust-logo-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--text-muted);
  font-family: var(--font-mono);
}

/* ===== SECTIONS ===== */
section { padding: 5rem 0; }
.section-pain { background: var(--bg); }
.section-solution { background: var(--surface); }
.section-dimensions { background: var(--bg); }
.section-testimonials { background: var(--surface); }
.section-pricing { background: var(--bg); }
.section-cta { background: var(--surface2); position: relative; overflow: hidden; padding: 6rem 0; }

.cta-bg-glow {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 600px;
  height: 300px;
  background: radial-gradient(ellipse, rgba(0,212,170,0.07) 0%, transparent 70%);
  pointer-events: none;
}

/* ===== PAIN GRID ===== */
.pain-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
  margin-top: 2.5rem;
}

.pain-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  transition: border-color var(--transition), transform var(--transition);
}

.pain-card:hover { border-color: rgba(239,68,68,0.3); transform: translateY(-2px); }

.pain-icon {
  width: 40px; height: 40px;
  background: rgba(239,68,68,0.08);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
}

.pain-card h3 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 0.5rem;
}

.pain-card p {
  font-size: 0.875rem;
  color: var(--text-muted);
  line-height: 1.65;
}

/* ===== HOW IT WORKS ===== */
.how-it-works {
  display: flex;
  align-items: flex-start;
  gap: 0;
  margin-top: 2.5rem;
  position: relative;
}

.how-step {
  flex: 1;
  text-align: center;
  padding: 0 1.5rem;
}

.step-num {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  font-weight: 700;
  color: var(--accent);
  background: var(--accent-dim);
  border-radius: 100px;
  width: 28px; height: 28px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
}

.step-icon {
  width: 60px; height: 60px;
  background: var(--surface2);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.25rem;
}

.step-content h3 {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 0.5rem;
}

.step-content p {
  font-size: 0.875rem;
  color: var(--text-muted);
  line-height: 1.65;
}

.how-connector {
  width: 60px;
  height: 2px;
  background: linear-gradient(90deg, var(--border), var(--accent), var(--border));
  flex-shrink: 0;
  align-self: center;
  margin-top: 30px;
}

/* ===== DIMENSIONS GRID ===== */
.dimensions-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 1rem;
  margin-top: 2.5rem;
}

.dimension-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.25rem;
  transition: border-color var(--transition), box-shadow var(--transition);
}

.dimension-card:hover {
  border-color: rgba(0,212,170,0.3);
  box-shadow: 0 0 20px rgba(0,212,170,0.05);
}

.dim-card-icon {
  width: 36px; height: 36px;
  background: var(--surface2);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 0.75rem;
}

.dim-card-name {
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 0.375rem;
}

.dim-card-desc {
  font-size: 0.78rem;
  color: var(--text-muted);
  line-height: 1.5;
  margin-bottom: 0.75rem;
}

.dim-card-weight {
  font-size: 0.65rem;
  font-weight: 700;
  color: var(--accent);
  font-family: var(--font-mono);
  background: var(--accent-dim);
  display: inline-block;
  padding: 0.2rem 0.5rem;
  border-radius: var(--radius-sm);
}

/* ===== TESTIMONIALS ===== */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1.5rem;
  margin-top: 2.5rem;
}

.testimonial-card {
  background: var(--surface2);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  transition: border-color var(--transition);
}

.testimonial-card:hover { border-color: rgba(0,212,170,0.2); }

.testimonial-stars {
  display: flex;
  gap: 0.25rem;
  margin-bottom: 1rem;
}

.testimonial-quote {
  font-size: 0.95rem;
  color: var(--text);
  line-height: 1.7;
  margin-bottom: 1.25rem;
  font-style: italic;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.testimonial-avatar {
  width: 36px; height: 36px;
  border-radius: 50%;
  background: var(--accent-purple);
  color: white;
  font-size: 0.7rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.testimonial-name {
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--text);
}

.testimonial-role {
  font-size: 0.75rem;
  color: var(--text-muted);
}

/* ===== PRICING ===== */
.pricing-toggle {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  justify-content: center;
  margin-bottom: 3rem;
}

.toggle-label {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--text-muted);
  cursor: pointer;
  transition: color var(--transition);
}

.toggle-label.active { color: var(--text); }

.toggle-switch {
  width: 44px; height: 24px;
  background: var(--surface2);
  border: 1px solid var(--border);
  border-radius: 100px;
  cursor: pointer;
  position: relative;
  transition: background var(--transition);
}

.toggle-thumb {
  width: 18px; height: 18px;
  background: var(--accent);
  border-radius: 50%;
  position: absolute;
  top: 2px; left: 2px;
  transition: transform var(--transition);
}

.toggle-switch.on .toggle-thumb { transform: translateX(20px); }
.toggle-switch.on { background: var(--accent-dim); border-color: rgba(0,212,170,0.4); }

.save-badge {
  font-size: 0.7rem;
  font-weight: 700;
  background: rgba(16,185,129,0.15);
  color: #10B981;
  padding: 0.25rem 0.625rem;
  border-radius: 100px;
  font-family: var(--font-mono);
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
  align-items: start;
}

.pricing-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 2rem;
  position: relative;
  transition: border-color var(--transition), transform var(--transition);
}

.pricing-card:hover { border-color: var(--border2); transform: translateY(-2px); }
.pricing-card.popular { border-color: rgba(0,212,170,0.4); box-shadow: 0 0 30px rgba(0,212,170,0.08); }

.pricing-popular-badge {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--accent);
  color: #060E1A;
  font-size: 0.65rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  padding: 0.25rem 0.875rem;
  border-radius: 100px;
  white-space: nowrap;
  font-family: var(--font-mono);
}

.pricing-tier {
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-family: var(--font-mono);
  margin-bottom: 0.75rem;
}

.pricing-price {
  font-family: var(--font-mono);
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--text);
  display: flex;
  align-items: flex-start;
  gap: 0.25rem;
  line-height: 1;
}

.pricing-price sup { font-size: 1rem; font-weight: 600; margin-top: 0.5rem; color: var(--text-muted); }

.pricing-period {
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-bottom: 1.25rem;
}

.pricing-divider {
  height: 1px;
  background: var(--border);
  margin-bottom: 1.25rem;
}

.pricing-features {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.625rem;
  margin-bottom: 1.75rem;
}

.pricing-features li {
  display: flex;
  align-items: flex-start;
  gap: 0.625rem;
  font-size: 0.85rem;
  color: var(--text);
  line-height: 1.4;
}

.pricing-features li svg { flex-shrink: 0; margin-top: 0.1rem; }
.text-muted { color: var(--text-muted) !important; }

/* ===== CTA ===== */
.cta-title {
  font-size: clamp(1.75rem, 4vw, 2.75rem);
  font-weight: 800;
  line-height: 1.2;
  color: var(--text);
  margin-bottom: 1rem;
  text-align: center;
}

.cta-sub {
  font-size: 1rem;
  color: var(--text-muted);
  text-align: center;
  margin-bottom: 2rem;
}

.cta-form { max-width: 600px; margin: 0 auto; }

.cta-inputs {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.cta-email, .cta-company {
  flex: 1;
  min-width: 180px;
  padding: 0.75rem 1rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 0.9rem;
  transition: border-color var(--transition);
}

.cta-email:focus, .cta-company:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(0,212,170,0.1);
}

.cta-disclaimer {
  font-size: 0.75rem;
  color: var(--text-dim);
  text-align: center;
  margin-top: 0.875rem;
}

.cta-success {
  max-width: 500px;
  margin: 0 auto;
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  background: rgba(16,185,129,0.08);
  border: 1px solid rgba(16,185,129,0.25);
  border-radius: var(--radius-lg);
  padding: 1.25rem;
}

.cta-success p { font-size: 0.875rem; color: var(--text-muted); margin-top: 0.25rem; }
.cta-success strong { color: #10B981; }

/* ===== FOOTER ===== */
.footer {
  border-top: 1px solid var(--border);
  padding: 4rem 0 2rem;
  background: var(--bg);
}

.footer-inner {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 3rem;
  margin-bottom: 3rem;
}

.footer-brand p {
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.65;
  margin-top: 0.5rem;
  max-width: 300px;
}

.footer-col-title {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-dim);
  font-family: var(--font-mono);
  margin-bottom: 1rem;
}

.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.625rem;
}

.footer-links a {
  font-size: 0.85rem;
  color: var(--text-muted);
  text-decoration: none;
  transition: color var(--transition);
}

.footer-links a:hover { color: var(--text); }

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-top: 1px solid var(--border);
  padding-top: 1.5rem;
  font-size: 0.8rem;
  color: var(--text-dim);
}

.footer-bottom a { color: var(--text-dim); text-decoration: none; transition: color var(--transition); }
.footer-bottom a:hover { color: var(--text-muted); }

/* ===== ASSESSMENT PAGE ===== */
.assess-layout { padding-top: 80px; min-height: 100vh; }

.assess-header {
  background: var(--surface);
  border-bottom: 1px solid var(--border);
  padding: 2rem 0 0;
  position: sticky;
  top: 60px;
  z-index: 50;
}

.assess-header-inner {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 1.5rem;
}

.assess-title { font-size: 1.5rem; font-weight: 700; margin-bottom: 0.25rem; }
.assess-subtitle { font-size: 0.875rem; color: var(--text-muted); }
.assess-progress-info { font-size: 0.8rem; color: var(--text-muted); font-family: var(--font-mono); }

.assess-progress-bar {
  height: 3px;
  background: var(--border);
  border-radius: 2px;
  overflow: hidden;
  margin-bottom: 1rem;
}

.assess-progress-fill {
  height: 100%;
  background: var(--accent);
  border-radius: 2px;
  transition: width 0.4s ease;
}

.assess-steps-labels {
  display: flex;
  gap: 1.5rem;
  padding-bottom: 0;
}

.step-label {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--text-dim);
  font-family: var(--font-mono);
  padding-bottom: 1rem;
  border-bottom: 2px solid transparent;
  cursor: pointer;
  transition: color var(--transition), border-color var(--transition);
}

.step-label.active { color: var(--accent); border-bottom-color: var(--accent); }
.step-label:hover { color: var(--text-muted); }

.assess-step {
  padding: 2.5rem 0 3rem;
  animation: fadeIn 0.3s ease;
}

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

.assess-step-header {
  margin-bottom: 2rem;
}

.step-num-lg {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  font-weight: 700;
  color: var(--accent);
  background: var(--accent-dim);
  border-radius: 100px;
  width: 32px; height: 32px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 0.75rem;
}

.assess-step-header h3 { font-size: 1.35rem; font-weight: 700; margin-bottom: 0.375rem; }
.assess-step-header p { font-size: 0.9rem; color: var(--text-muted); }

.step-actions {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 2rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--border);
}

/* ===== FORMS ===== */
.form-group { margin-bottom: 1.5rem; }

.form-label {
  display: block;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 0.5rem;
}

.required { color: var(--accent-red); }

.form-help {
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-bottom: 0.75rem;
  line-height: 1.5;
}

.form-input, .form-select, .form-textarea {
  width: 100%;
  padding: 0.625rem 0.875rem;
  background: var(--surface2);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 0.9rem;
  transition: border-color var(--transition), box-shadow var(--transition);
  -webkit-appearance: none;
  appearance: none;
}

.form-input:focus, .form-select:focus, .form-textarea:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(0,212,170,0.1);
}

.form-input::placeholder, .form-textarea::placeholder { color: var(--text-dim); }
.form-select { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%236B829E' stroke-width='2' stroke-linecap='round'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 0.75rem center; padding-right: 2.5rem; }
.form-textarea { resize: vertical; min-height: 80px; }

.radio-group, .checkbox-grid {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.radio-option, .checkbox-option {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  padding: 0.75rem 1rem;
  background: var(--surface2);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  cursor: pointer;
  transition: border-color var(--transition), background var(--transition);
}

.radio-option:hover, .checkbox-option:hover { border-color: rgba(0,212,170,0.3); background: rgba(0,212,170,0.03); }

.radio-option input, .checkbox-option input {
  width: 16px; height: 16px;
  accent-color: var(--accent);
  flex-shrink: 0;
  margin-top: 0.125rem;
  cursor: pointer;
}

.radio-label, .checkbox-label {
  font-size: 0.875rem;
  color: var(--text);
  line-height: 1.5;
}

.radio-label strong, .checkbox-label strong { font-weight: 700; }

/* ===== DASHBOARD ===== */
.dashboard-layout { padding-top: 80px; min-height: 100vh; }

.dashboard-header {
  background: var(--surface);
  border-bottom: 1px solid var(--border);
  padding: 1.5rem 0;
  margin-bottom: 2rem;
}

.dashboard-header-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
}

/* Score Section */
.dash-score-section {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 2rem;
  margin-bottom: 1.5rem;
  display: flex;
  gap: 3rem;
  align-items: center;
  flex-wrap: wrap;
}

.dash-gauge-wrap { display: flex; align-items: center; gap: 2rem; flex-shrink: 0; }
.dash-gauge-container { position: relative; }
.gauge-lg { width: 220px; height: 140px; }

.gauge-score-lg {
  position: absolute;
  bottom: 10px; left: 50%;
  transform: translateX(-50%);
  text-align: center;
}

.gauge-num-lg {
  font-family: var(--font-mono);
  font-size: 3rem;
  font-weight: 700;
  color: var(--text);
}

.gauge-denom-lg {
  font-family: var(--font-mono);
  font-size: 1rem;
  color: var(--text-muted);
}

.dash-tier-info { }

.dash-tier-badge {
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.15em;
  padding: 0.375rem 1rem;
  border-radius: 100px;
  display: inline-block;
  margin-bottom: 0.5rem;
}

.dash-tier-desc { font-size: 0.85rem; color: var(--text-muted); max-width: 280px; }

.dash-meta {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
  flex: 1;
}

.dash-meta-item { display: flex; flex-direction: column; gap: 0.25rem; }

.dash-meta-label {
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-dim);
  font-family: var(--font-mono);
}

.dash-meta-value {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--text);
  font-family: var(--font-mono);
}

/* Radar + Coverage */
.dash-radar-section {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  margin-bottom: 1.5rem;
}

.dash-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  overflow: hidden;
}

.dash-card-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.25rem 1.5rem;
  border-bottom: 1px solid var(--border);
}

.dash-card-title { font-size: 0.9rem; font-weight: 700; color: var(--text); }
.dash-card-subtitle { font-size: 0.75rem; color: var(--text-muted); }

.dash-card-body { padding: 1.5rem; }

.radar-container { width: 100%; max-width: 380px; margin: 0 auto; }
.radar-svg { width: 100%; height: auto; }

/* Coverage Recs */
.coverage-rec-empty {
  text-align: center;
  color: var(--text-dim);
  font-size: 0.85rem;
  padding: 1rem;
}

.coverage-rec-item {
  display: flex;
  gap: 0.875rem;
  padding: 0.875rem;
  background: var(--surface2);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  margin-bottom: 0.625rem;
  transition: border-color var(--transition);
}

.coverage-rec-item:last-child { margin-bottom: 0; }
.coverage-rec-item:hover { border-color: rgba(0,212,170,0.3); }

.coverage-rec-icon {
  width: 36px; height: 36px;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.coverage-rec-name { font-size: 0.8rem; font-weight: 700; color: var(--text); margin-bottom: 0.2rem; }
.coverage-rec-meta { font-size: 0.72rem; color: var(--text-muted); }
.coverage-rec-premium { font-size: 0.72rem; color: var(--accent); font-family: var(--font-mono); font-weight: 700; margin-top: 0.25rem; }

/* Dims Breakdown */
.dim-row {
  display: grid;
  grid-template-columns: 2fr 80px 100px 1fr;
  gap: 0.75rem;
  align-items: center;
  padding: 0.625rem 0;
  border-bottom: 1px solid var(--border);
  font-size: 0.8rem;
}

.dim-row:last-child { border-bottom: none; }

.dim-header {
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-dim);
  font-family: var(--font-mono);
}

.dim-empty-msg { font-size: 0.85rem; color: var(--text-dim); padding: 1rem 0; }

.dim-item-name { font-weight: 600; color: var(--text); }

.dim-item-score {
  font-family: var(--font-mono);
  font-weight: 700;
}

.dim-risk-badge {
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  padding: 0.2rem 0.5rem;
  border-radius: 100px;
  display: inline-block;
}

.dim-risk-low { background: rgba(16,185,129,0.15); color: #10B981; }
.dim-risk-medium { background: rgba(245,158,11,0.15); color: #F59E0B; }
.dim-risk-high { background: rgba(239,68,68,0.15); color: #EF4444; }

.dim-item-factor { font-size: 0.75rem; color: var(--text-muted); }

.dim-bar-wrap {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  grid-column: 1 / -1;
  padding-left: 1.5rem;
  padding-top: 0.25rem;
  padding-bottom: 0.5rem;
}

.dim-bar-bg {
  flex: 1;
  height: 4px;
  background: var(--border);
  border-radius: 2px;
  overflow: hidden;
}

.dim-bar-fill { height: 100%; border-radius: 2px; transition: width 0.6s ease-out; }

/* Compliance */
.compliance-empty { font-size: 0.85rem; color: var(--text-dim); }

.compliance-section {
  margin-bottom: 1.25rem;
  padding-bottom: 1.25rem;
  border-bottom: 1px solid var(--border);
}

.compliance-section:last-child { border-bottom: none; margin-bottom: 0; padding-bottom: 0; }

.compliance-label {
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-dim);
  font-family: var(--font-mono);
  margin-bottom: 0.375rem;
}

.compliance-value {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 0.25rem;
}

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

.compliance-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
  font-size: 0.7rem;
  font-weight: 700;
  padding: 0.25rem 0.625rem;
  border-radius: 100px;
  margin-top: 0.375rem;
}

.badge-green { background: rgba(16,185,129,0.15); color: #10B981; }
.badge-amber { background: rgba(245,158,11,0.15); color: #F59E0B; }
.badge-red { background: rgba(239,68,68,0.15); color: #EF4444; }

/* ===== COVERAGE PAGE ===== */
.coverage-layout { padding-top: 80px; min-height: 100vh; }

.coverage-header {
  background: var(--surface);
  border-bottom: 1px solid var(--border);
  padding: 2.5rem 0;
  margin-bottom: 2.5rem;
}

.coverage-filters {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-wrap: wrap;
  margin-top: 1.25rem;
}

.filter-label { font-size: 0.8rem; color: var(--text-muted); font-weight: 600; }

.filter-chip {
  padding: 0.375rem 0.875rem;
  border-radius: 100px;
  font-size: 0.78rem;
  font-weight: 600;
  cursor: pointer;
  background: var(--surface2);
  border: 1px solid var(--border);
  color: var(--text-muted);
  transition: all var(--transition);
}

.filter-chip:hover { color: var(--text); border-color: var(--border2); }
.filter-chip.active { background: var(--accent-dim); border-color: rgba(0,212,170,0.4); color: var(--accent); }

.coverage-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 1.5rem;
  padding-bottom: 4rem;
}

.coverage-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 1.75rem;
  transition: border-color var(--transition), transform var(--transition), box-shadow var(--transition);
  display: flex;
  flex-direction: column;
}

.coverage-card:hover {
  border-color: rgba(0,212,170,0.3);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0,0,0,0.3);
}

.coverage-card.hidden-filter { display: none; }

.coverage-card-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 1rem;
}

.coverage-insurer {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.insurer-logo {
  width: 36px; height: 36px;
  background: var(--surface2);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.65rem;
  font-weight: 700;
  color: var(--text-muted);
  font-family: var(--font-mono);
}

.insurer-name { font-size: 0.8rem; font-weight: 700; color: var(--text); }
.insurer-type { font-size: 0.72rem; color: var(--text-muted); }

.broker-badge {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  font-size: 0.65rem;
  font-weight: 700;
  background: rgba(124,92,252,0.12);
  color: #7C5CFC;
  padding: 0.25rem 0.5rem;
  border-radius: 100px;
  font-family: var(--font-mono);
  letter-spacing: 0.05em;
}

.coverage-product-name {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 0.375rem;
}

.coverage-type {
  font-size: 0.78rem;
  color: var(--accent);
  font-weight: 600;
  font-family: var(--font-mono);
  margin-bottom: 0.75rem;
}

.coverage-desc {
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 1.25rem;
  flex: 1;
}

.coverage-tier-range {
  display: flex;
  gap: 0.375rem;
  flex-wrap: wrap;
  margin-bottom: 1rem;
}

.coverage-tier-chip {
  font-size: 0.65rem;
  font-weight: 700;
  padding: 0.2rem 0.5rem;
  border-radius: 100px;
  border: 1px solid;
}

.chip-low { background: rgba(16,185,129,0.08); color: #10B981; border-color: rgba(16,185,129,0.3); }
.chip-moderate { background: rgba(245,158,11,0.08); color: #F59E0B; border-color: rgba(245,158,11,0.3); }
.chip-high { background: rgba(239,68,68,0.08); color: #EF4444; border-color: rgba(239,68,68,0.3); }

.coverage-premium {
  font-size: 1rem;
  font-weight: 700;
  font-family: var(--font-mono);
  color: var(--text);
  margin-bottom: 1.25rem;
}

.coverage-premium span { font-size: 0.75rem; font-weight: 500; color: var(--text-muted); }

/* ===== PRICING PAGE ===== */
.pricing-page-layout { padding-top: 80px; min-height: 100vh; }

/* FAQ */
.faq-section {
  margin-top: 4rem;
  padding-top: 3rem;
  border-top: 1px solid var(--border);
}

.faq-title { font-size: 1.5rem; font-weight: 700; margin-bottom: 1.5rem; }

.faq-list { display: flex; flex-direction: column; gap: 0.5rem; }

.faq-item {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  cursor: pointer;
  transition: border-color var(--transition);
}

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

.faq-q {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 1.25rem;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text);
}

.faq-q svg { flex-shrink: 0; color: var(--text-muted); transition: transform var(--transition); }
.faq-item.open .faq-q svg { transform: rotate(180deg); }

.faq-a {
  padding: 0 1.25rem 1rem;
  font-size: 0.875rem;
  color: var(--text-muted);
  line-height: 1.65;
  display: none;
}

.faq-item.open .faq-a { display: block; }

/* ===== MODALS ===== */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(6,14,26,0.8);
  backdrop-filter: blur(4px);
  z-index: 200;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  animation: overlayIn 0.2s ease;
}

@keyframes overlayIn { from { opacity: 0; } to { opacity: 1; } }

.modal {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 2rem;
  max-width: 480px;
  width: 100%;
  box-shadow: var(--shadow-lg);
  animation: modalIn 0.25s ease;
}

@keyframes modalIn { from { opacity: 0; transform: scale(0.95) translateY(8px); } to { opacity: 1; transform: scale(1) translateY(0); } }

.modal-title { font-size: 1.1rem; font-weight: 700; color: var(--text); margin-bottom: 0.25rem; }

.modal-body { font-size: 0.875rem; color: var(--text-muted); margin-bottom: 1.5rem; }

.modal-actions {
  display: flex;
  gap: 0.75rem;
  justify-content: flex-end;
}

/* Sample Modal */
.sample-list { display: flex; flex-direction: column; gap: 0.5rem; }

.sample-item {
  display: flex;
  align-items: center;
  gap: 0.875rem;
  padding: 0.875rem 1rem;
  background: var(--surface2);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  cursor: pointer;
  transition: border-color var(--transition), background var(--transition);
}

.sample-item:hover { border-color: rgba(0,212,170,0.3); background: rgba(0,212,170,0.03); }

.sample-icon {
  width: 32px; height: 32px;
  background: var(--surface);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.sample-name { font-size: 0.875rem; font-weight: 600; color: var(--text); margin-bottom: 0.2rem; }
.sample-meta { font-size: 0.72rem; color: var(--text-muted); font-family: var(--font-mono); }

/* ===== TOAST ===== */
.toast {
  position: fixed;
  top: 80px; right: 1.5rem;
  background: var(--surface);
  border: 1px solid rgba(0,212,170,0.3);
  border-radius: var(--radius-lg);
  padding: 0.875rem 1.25rem;
  display: flex;
  align-items: center;
  gap: 0.625rem;
  font-size: 0.875rem;
  font-weight: 600;
  color: #10B981;
  box-shadow: var(--shadow-md);
  z-index: 300;
  animation: toastIn 0.3s ease;
}

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

/* ===== STAGGER ANIMATIONS ===== */
.stagger-in > * { animation: staggerUp 0.4s ease both; }
.stagger-in > *:nth-child(1) { animation-delay: 0ms; }
.stagger-in > *:nth-child(2) { animation-delay: 80ms; }
.stagger-in > *:nth-child(3) { animation-delay: 160ms; }
.stagger-in > *:nth-child(4) { animation-delay: 240ms; }
.stagger-in > *:nth-child(5) { animation-delay: 320ms; }
.stagger-in > *:nth-child(6) { animation-delay: 400ms; }
.stagger-in > *:nth-child(7) { animation-delay: 480ms; }
.stagger-in > *:nth-child(8) { animation-delay: 560ms; }
.stagger-in > *:nth-child(9) { animation-delay: 640ms; }
.stagger-in > *:nth-child(10) { animation-delay: 720ms; }

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

/* ===== RESPONSIVE ===== */
@media (max-width: 900px) {
  .hero-inner { grid-template-columns: 1fr; gap: 2.5rem; }
  .hero-visual { display: none; }
  .how-it-works { flex-direction: column; }
  .how-connector { width: 2px; height: 30px; margin: 0 auto; }
  .dash-score-section { flex-direction: column; gap: 1.5rem; }
  .dash-radar-section { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: 1fr 1fr; }
  .dash-meta { grid-template-columns: repeat(2, 1fr); }
  .dim-row { grid-template-columns: 1.5fr 70px 80px 1fr; }
}

@media (max-width: 640px) {
  .nav-links { display: none; }
  .nav-links.open {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 60px; left: 0; right: 0;
    background: var(--surface);
    border-bottom: 1px solid var(--border);
    padding: 1rem;
    gap: 0.5rem;
  }
  .nav-toggle { display: block; }
  .hero { padding-top: 6rem; }
  .pricing-grid { grid-template-columns: 1fr; }
  .coverage-grid { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: 1fr; gap: 2rem; }
  .footer-bottom { flex-direction: column; gap: 0.75rem; text-align: center; }
  .cta-inputs { flex-direction: column; }
  .cta-email, .cta-company { min-width: 0; }
  .dash-score-section { padding: 1.5rem; }
  .dash-meta { grid-template-columns: 1fr 1fr; }
  .dim-row { grid-template-columns: 1fr 60px 70px; }
  .dim-row .dim-item-factor { display: none; }
  .assess-steps-labels { gap: 0.75rem; }
  .step-label { font-size: 0.65rem; }
  .hero-proof { font-size: 0.72rem; }
}
