:root {
  --bg: #09090b;
  --bg-alt: #18181b;
  --nav-bg: #09090b;
  --text: #f4f4f5;
  --text-muted: #a1a1aa;
  --accent: #00d4ff;
  --accent-soft: rgba(0, 212, 255, 0.12);
  --accent-hover: #33ddff;
  --green: #22c55e;
  --red: #ef4444;
  --amber: #f59e0b;
  --border: #27272a;
}

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

body {
  font-family: 'DM Sans', sans-serif;
  background: var(--bg);
  color: var(--text);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

/* NAV */
.nav {
  background: var(--nav-bg);
  border-bottom: 1px solid var(--border);
  padding: 14px 0;
  position: sticky;
  top: 0;
  z-index: 100;
}
.nav-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 32px;
  display: flex;
  align-items: center;
  gap: 12px;
}
.nav-logo {
  font-family: 'DM Serif Display', serif;
  font-size: 22px;
  color: #fff;
  text-decoration: none;
  flex-shrink: 0;
}
.nav-logo:hover {
  color: var(--accent);
}
.nav-tag {
  font-size: 12px;
  color: #71717a;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 500;
  display: none;
}
@media (min-width: 600px) {
  .nav-tag { display: inline; }
}
.nav-actions {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 12px;
}
/* Keep primary CTA last (natural reading order) */
.nav-actions .btn-nav-primary { order: 10; }
/* User email pill in nav */
.nav-user-email {
  font-size: 12px;
  color: var(--text-muted);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 160px;
}
.nav-logout-btn {
  background: none;
  border: 1px solid var(--border);
  color: var(--text-muted);
  font-size: 13px;
  cursor: pointer;
  font-family: 'DM Sans', sans-serif;
  padding: 6px 14px;
  border-radius: 8px;
  transition: color 0.2s, border-color 0.2s;
}
.nav-logout-btn:hover { color: var(--red); border-color: var(--red); }
.btn-nav-ghost {
  font-size: 14px;
  font-weight: 600;
  color: var(--text);
  text-decoration: none;
  padding: 10px 20px;
  border-radius: 8px;
  border: 1.5px solid rgba(0, 212, 255, 0.25);
  background: rgba(0, 212, 255, 0.06);
  transition: border-color 0.2s, color 0.2s, background 0.2s;
}
.btn-nav-ghost:hover {
  color: var(--accent);
  border-color: var(--accent);
  background: rgba(0, 212, 255, 0.12);
}
.btn-nav-primary {
  font-size: 14px;
  font-weight: 700;
  color: #0c0c0c;
  text-decoration: none;
  padding: 10px 22px;
  border-radius: 8px;
  background: var(--accent);
  box-shadow: 0 2px 10px rgba(0, 212, 255, 0.25);
  transition: background 0.2s, box-shadow 0.2s;
}
.btn-nav-primary:hover {
  background: var(--accent-hover);
  box-shadow: 0 4px 14px rgba(0, 212, 255, 0.35);
}
/* Mobile hamburger toggle */
.nav-toggle {
  display: none;
  background: none;
  border: 1px solid var(--border);
  color: var(--text);
  width: 40px;
  height: 40px;
  border-radius: 8px;
  cursor: pointer;
  align-items: center;
  justify-content: center;
  margin-left: auto;
  flex-shrink: 0;
  transition: border-color 0.2s;
}
.nav-toggle:hover { border-color: var(--accent); }
.nav-toggle svg { display: block; }

/* HERO */
.hero {
  position: relative;
  overflow: hidden;
  padding: 96px 0 80px;
  background: var(--bg);
}
.hero-bg-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.03) 1px, transparent 1px);
  background-size: 48px 48px;
}
.hero-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 32px;
  display: grid;
  grid-template-columns: 1fr 420px;
  gap: 80px;
  align-items: center;
  position: relative;
}
.hero-eyebrow {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 20px;
}
.hero-headline {
  font-family: 'DM Serif Display', serif;
  font-size: clamp(32px, 4vw, 52px);
  color: #fff;
  line-height: 1.15;
  margin-bottom: 24px;
}
.hero-lede {
  font-size: 17px;
  color: rgba(255,255,255,0.7);
  line-height: 1.7;
  max-width: 520px;
}
.hero-ctas {
  margin-top: 36px;
}
.btn-primary {
  display: inline-block;
  font-size: 16px;
  font-weight: 600;
  color: #0c0c0c;
  text-decoration: none;
  padding: 14px 28px;
  border-radius: 8px;
  background: var(--accent);
  transition: all 0.15s;
  box-shadow: 0 4px 16px rgba(0, 212, 255, 0.2);
}
.btn-primary:hover {
  background: var(--accent-hover);
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(0, 212, 255, 0.3);
}
.btn-primary-light {
  background: var(--accent);
  color: #0c0c0c;
  box-shadow: 0 4px 16px rgba(0, 212, 255, 0.2);
}
.btn-primary-light:hover {
  background: var(--accent-hover);
  box-shadow: 0 6px 20px rgba(0, 212, 255, 0.3);
}

/* RADAR SCREEN */
.hero-visual {
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.radar-screen {
  position: relative;
  width: 280px;
  height: 280px;
  margin: 0 auto;
}
.radar-ring {
  position: absolute;
  border-radius: 50%;
  border: 1.5px solid rgba(0, 212, 255, 0.2);
}
.radar-ring-1 { width: 280px; height: 280px; top: 0; left: 0; }
.radar-ring-2 { width: 200px; height: 200px; top: 40px; left: 40px; }
.radar-ring-3 { width: 120px; height: 120px; top: 80px; left: 80px; }
.radar-sweep {
  position: absolute;
  width: 140px;
  height: 4px;
  background: linear-gradient(90deg, var(--accent), transparent);
  top: 138px;
  left: 0;
  border-radius: 2px;
  transform-origin: left center;
  animation: sweep 3s linear infinite;
  box-shadow: 0 0 12px rgba(0, 212, 255, 0.6);
}
@keyframes sweep {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}
.radar-center-dot {
  position: absolute;
  width: 8px;
  height: 8px;
  background: var(--accent);
  border-radius: 50%;
  top: 136px;
  left: 136px;
  box-shadow: 0 0 12px var(--accent);
}
.blip {
  position: absolute;
  width: 10px;
  height: 10px;
  background: var(--accent);
  border-radius: 50%;
  animation: blip-pulse 2s ease-in-out infinite;
}
.blip-1 { top: 30px; left: 170px; animation-delay: 0s; }
.blip-2 { top: 140px; left: 20px; animation-delay: 0.6s; }
.blip-3 { top: 220px; left: 160px; animation-delay: 1.2s; }
.blip-4 { top: 100px; left: 240px; animation-delay: 0.3s; }
@keyframes blip-pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(0.7); }
}

/* WEAKNESS CARD */
.weakness-card {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(163, 230, 53, 0.25);
  border-radius: 12px;
  padding: 20px 24px;
  backdrop-filter: blur(8px);
}
.weakness-label {
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--red);
  margin-bottom: 8px;
}
.weakness-topic {
  font-size: 15px;
  font-weight: 500;
  color: #fff;
  margin-bottom: 6px;
  line-height: 1.4;
}
.weakness-count {
  font-size: 13px;
  color: rgba(255,255,255,0.5);
  margin-bottom: 12px;
}
.weakness-bar {
  height: 4px;
  background: rgba(255,255,255,0.1);
  border-radius: 2px;
  overflow: hidden;
}
.weakness-fill {
  height: 100%;
  background: var(--red);
  border-radius: 2px;
}

/* HOW SECTION */
.how { background: var(--bg-alt); padding: 96px 0; border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.how-inner { max-width: 1100px; margin: 0 auto; padding: 0 32px; }
.section-title {
  font-family: 'DM Serif Display', serif;
  font-size: clamp(28px, 3.5vw, 44px);
  color: var(--text);
  line-height: 1.2;
  margin-bottom: 12px;
}
.section-sub {
  font-size: 18px;
  color: var(--text-muted);
  margin-bottom: 64px;
}
.how-steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 48px;
}
.how-step { position: relative; }
.step-num {
  font-family: 'DM Serif Display', serif;
  font-size: 56px;
  color: rgba(0, 212, 255, 0.15);
  font-style: italic;
  display: block;
  margin-bottom: 12px;
}
.how-step h3 {
  font-size: 20px;
  font-weight: 600;
  margin-bottom: 10px;
  color: var(--text);
}
.how-step p {
  font-size: 15px;
  color: var(--text-muted);
  line-height: 1.65;
}

/* TRUST */
.trust {
  padding: 56px 0;
  background: var(--bg-alt);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.trust-inner { max-width: 1100px; margin: 0 auto; padding: 0 32px; }
.trust-grid {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  flex-wrap: wrap;
  margin-bottom: 24px;
}
.trust-stat {
  flex: 1;
  min-width: 180px;
  text-align: center;
  padding: 20px 32px;
}
.trust-num {
  font-family: 'DM Serif Display', serif;
  font-size: 42px;
  color: #fff;
  display: block;
  margin-bottom: 6px;
}
.trust-label {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.4;
  max-width: 220px;
  margin: 0 auto;
}
.trust-divider {
  width: 1px;
  height: 60px;
  background: var(--border);
  flex-shrink: 0;
}
.trust-badge {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-size: 13px;
  color: var(--accent);
  font-weight: 500;
}
.trust-badge svg { flex-shrink: 0; }

/* TESTIMONIALS */
.testimonials { padding: 96px 0; background: var(--bg); }
.testimonials-inner { max-width: 1100px; margin: 0 auto; padding: 0 32px; }
.section-eyebrow {
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--accent);
  margin-bottom: 16px;
}
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 48px;
}
.testimonial-card {
  background: var(--bg-alt);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 32px 28px;
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.testimonial-quote {
  font-size: 15px;
  color: rgba(255,255,255,0.8);
  line-height: 1.65;
  font-style: italic;
}
.testimonial-author {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-top: auto;
}
.testimonial-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(0, 212, 255, 0.15);
  border: 1px solid rgba(0, 212, 255, 0.3);
  color: var(--accent);
  font-size: 13px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.testimonial-name {
  font-size: 14px;
  font-weight: 600;
  color: var(--text);
}
.testimonial-sub {
  font-size: 12px;
  color: var(--text-muted);
  margin-top: 2px;
}

/* DIAG-CTA */
.diag-cta {
  padding: 96px 0;
  background: var(--bg-alt);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.diag-cta-inner { max-width: 800px; margin: 0 auto; padding: 0 32px; text-align: center; }
.diag-cta-headline {
  font-family: 'DM Serif Display', serif;
  font-size: clamp(28px, 4vw, 48px);
  color: #fff;
  line-height: 1.15;
  margin-bottom: 20px;
}
.diag-cta-body {
  font-size: 18px;
  color: var(--text-muted);
  line-height: 1.65;
  margin-bottom: 40px;
}
.diag-cta-actions { margin-bottom: 20px; }
.diag-cta-btn {
  display: inline-block;
  font-size: 17px;
  font-weight: 700;
  color: #0c0c0c;
  text-decoration: none;
  padding: 18px 40px;
  border-radius: 12px;
  background: var(--accent);
  box-shadow: 0 4px 24px rgba(0, 212, 255, 0.25);
  transition: all 0.2s;
}
.diag-cta-btn:hover {
  background: var(--accent-hover);
  transform: translateY(-2px);
  box-shadow: 0 8px 32px rgba(0, 212, 255, 0.35);
}
.diag-cta-micro {
  margin-top: 12px;
  font-size: 13px;
  color: rgba(255,255,255,0.4);
}
.diag-cta-proof {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
  font-size: 13px;
  color: rgba(255,255,255,0.5);
}
.proof-sep { color: var(--border); }

/* HERO MICROCOPY */
.hero-micro {
  margin-top: 10px;
  font-size: 13px;
  color: rgba(255,255,255,0.4);
}

/* FEATURES */
.features { padding: 96px 0; background: var(--bg); }
.features-inner { max-width: 1100px; margin: 0 auto; padding: 0 32px; }
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2px;
  background: var(--border);
  border: 1px solid var(--border);
  border-radius: 16px;
  overflow: hidden;
}
.feature-card {
  background: var(--bg-alt);
  padding: 40px 36px;
  transition: background 0.2s;
}
.feature-card:hover { background: #1f1f23; }
.feature-icon {
  width: 44px;
  height: 44px;
  background: rgba(163, 230, 53, 0.1);
  border: 1px solid rgba(0, 212, 255, 0.2);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent);
  margin-bottom: 20px;
}
.feature-card h3 {
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 10px;
  color: var(--text);
}
.feature-card p {
  font-size: 15px;
  color: var(--text-muted);
  line-height: 1.65;
}

/* RADAR SECTION */
.radar-section { background: var(--bg-alt); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); padding: 96px 0; }
.radar-section-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 32px;
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: 80px;
  align-items: start;
}
.radar-section .section-title { color: #fff; }
.radar-section .section-sub { color: rgba(255,255,255,0.6); margin-bottom: 48px; }
.radar-findings {
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.finding {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}
.finding-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  flex-shrink: 0;
  margin-top: 5px;
}
.finding-red { background: var(--red); }
.finding-amber { background: var(--amber); }
.finding-green { background: var(--green); }
.finding-topic {
  font-size: 15px;
  font-weight: 500;
  color: #fff;
  margin-bottom: 4px;
}
.finding-detail {
  font-size: 14px;
  color: rgba(255,255,255,0.55);
  line-height: 1.5;
}
.radar-stats {
  display: flex;
  flex-direction: column;
  gap: 32px;
  padding-top: 8px;
}
.stat-block { text-align: center; }
.stat-num {
  font-family: 'DM Serif Display', serif;
  font-size: 48px;
  color: var(--accent);
  display: block;
  margin-bottom: 6px;
}
.stat-label {
  font-size: 13px;
  color: rgba(255,255,255,0.5);
  line-height: 1.4;
}

/* CLOSING */
.closing {
  background: var(--bg-alt);
  border-top: 1px solid var(--border);
  padding: 96px 0;
  text-align: center;
}
.closing-inner { max-width: 800px; margin: 0 auto; padding: 0 32px; }
.closing-headline {
  font-family: 'DM Serif Display', serif;
  font-size: clamp(24px, 3.5vw, 40px);
  color: var(--text);
  line-height: 1.25;
  margin-bottom: 24px;
}
.closing-body {
  font-size: 18px;
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 40px;
}
.closing-badge {
  display: inline-block;
  background: var(--accent-soft);
  border: 1px solid rgba(0, 212, 255, 0.2);
  border-radius: 100px;
  padding: 10px 24px;
}
.closing-badge span {
  font-size: 14px;
  font-weight: 500;
  color: var(--accent);
}
.closing-founder {
  margin-top: 32px;
  font-size: 15px;
  color: var(--text-muted);
  line-height: 1.5;
}

/* FOOTER */
.footer {
  background: var(--bg);
  border-top: 1px solid var(--border);
  padding: 48px 0;
}
.footer-inner { max-width: 1100px; margin: 0 auto; padding: 0 32px; text-align: center; }
.footer-brand {
  font-family: 'DM Serif Display', serif;
  font-size: 22px;
  color: #fff;
  margin-bottom: 12px;
}
.footer-copy { font-size: 14px; color: rgba(255,255,255,0.45); margin-bottom: 8px; }
.footer-note { font-size: 12px; color: rgba(255,255,255,0.25); }

/* RESPONSIVE */
@media (max-width: 900px) {
  .hero-inner { grid-template-columns: 1fr; gap: 48px; }
  .hero-visual { display: none; }
  .radar-section-inner { grid-template-columns: 1fr; }
  .radar-stats { flex-direction: row; justify-content: center; }
  .how-steps { grid-template-columns: 1fr; gap: 40px; }
  .features-grid { grid-template-columns: 1fr; }
}
@media (max-width: 600px) {
  .hero { padding: 64px 0 56px; }
  .how, .features, .radar-section, .closing { padding: 64px 0; }
  .section-sub { margin-bottom: 40px; }
  .nav-inner { padding: 0 16px; gap: 8px; flex-wrap: wrap; }
  .nav-toggle { display: flex; }
  .nav-actions {
    display: none;
    flex-direction: column;
    width: 100%;
    gap: 10px;
    padding: 16px 0 8px;
    border-top: 1px solid var(--border);
    margin-top: 8px;
  }
  .nav-actions.open { display: flex; }
  .nav-actions .btn-nav-ghost,
  .nav-actions .btn-nav-primary {
    width: 100%;
    text-align: center;
    padding: 14px 18px;
    font-size: 15px;
    border-radius: 10px;
    order: 0;
  }
  .nav-actions .btn-nav-primary {
    font-size: 15px;
    font-weight: 700;
    padding: 14px 20px;
  }
  .nav-actions .nav-user-email {
    max-width: none;
    font-size: 13px;
    text-align: center;
    color: var(--text-muted);
    padding: 4px 0;
    order: -1;
  }
  .nav-actions .nav-logout-btn {
    width: 100%;
    text-align: center;
    padding: 12px;
    font-size: 13px;
    border-radius: 10px;
    order: 20;
  }
}