:root {
  --ink: #14161D;
  --ink-soft: #1E212B;
  --line-dark: #2C2F3A;
  --paper: #FFFFFF;
  --surface: #F5F6F8;
  --surface-hover: #EDEEF1;
  --hairline: #E6E8EC;
  --text: #14161D;
  --muted: #6B7280;
  --muted-soft: #9AA0AB;
  --signal: #5B4BFF;
  --signal-soft: #EEEBFF;
  --signal-dark: #4A3BEA;
  --ok: #1AA06D;
  --ok-soft: #E6F7F1;
  --warn: #E8A13A;
  --warn-soft: #FBF1DF;
  --bad: #E0544E;
  --bad-soft: #FDEEEE;
  --r: 12px;
  --shadow-sm: 0 1px 3px rgba(0,0,0,.06), 0 1px 2px rgba(0,0,0,.04);
  --shadow-md: 0 4px 16px rgba(0,0,0,.08), 0 1px 4px rgba(0,0,0,.04);
  --shadow-lg: 0 12px 40px rgba(0,0,0,.12), 0 2px 8px rgba(0,0,0,.06);
}

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

html { scroll-behavior: smooth; }

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

.wrap { max-width: 1100px; margin: 0 auto; padding: 0 24px; }

/* ---- HEADER ---- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(20, 22, 29, .97);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line-dark);
}

.navbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 60px;
}

.logo {
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 700;
  font-size: 20px;
  letter-spacing: -.02em;
  color: #fff;
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 9px;
}
.logo--dark { color: var(--ink); }
.logo-dot {
  width: 10px; height: 10px;
  border-radius: 50%;
  background: var(--signal);
  box-shadow: 0 0 0 4px rgba(91,75,255,.22);
  flex-shrink: 0;
}

.nav-links {
  display: flex;
  gap: 28px;
  align-items: center;
}
.nav-links a {
  color: #9AA0AB;
  text-decoration: none;
  font-size: 14.5px;
  transition: color .15s;
}
.nav-links a:hover { color: #fff; }
.btn-ghost {
  background: rgba(255,255,255,.1);
  color: #fff !important;
  padding: 8px 16px;
  border-radius: 8px;
  font-weight: 500;
  font-size: 14px;
  transition: background .15s !important;
}
.btn-ghost:hover { background: rgba(255,255,255,.18) !important; }

.nav-burger { display: none; background: none; border: none; cursor: pointer; padding: 4px; flex-direction: column; gap: 5px; }
.nav-burger span { display: block; width: 22px; height: 2px; background: #fff; border-radius: 2px; }

/* ---- HERO ---- */
.hero {
  background: var(--ink);
  color: #fff;
  padding: 80px 0 96px;
  position: relative;
  overflow: hidden;
}

.hero-bg-orb {
  position: absolute;
  top: -200px; right: -200px;
  width: 600px; height: 600px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(91,75,255,.14) 0%, transparent 70%);
  pointer-events: none;
}

.hero-content { max-width: 700px; position: relative; z-index: 2; }

.eyebrow {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 12.5px;
  font-weight: 500;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--signal);
  margin-bottom: 24px;
}

.hero h1 {
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 600;
  font-size: clamp(38px, 5.5vw, 64px);
  line-height: 1.04;
  letter-spacing: -.028em;
  margin-bottom: 24px;
}
.hero h1 em { font-style: normal; color: var(--signal); }

.hero-sub {
  font-size: clamp(16px, 1.7vw, 19px);
  color: #AFB4C0;
  max-width: 54ch;
  margin-bottom: 44px;
  line-height: 1.65;
}

/* ---- SCANNER ---- */
.scanner-box {
  display: flex;
  align-items: center;
  gap: 8px;
  background: var(--ink-soft);
  border: 1px solid var(--line-dark);
  border-radius: 14px;
  padding: 8px 8px 8px 18px;
  max-width: 580px;
  transition: border-color .2s;
}
.scanner-box:focus-within { border-color: var(--signal); }

.scanner-prefix {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 15px;
  color: #5A5F6C;
  flex-shrink: 0;
  white-space: nowrap;
}

.scanner-input {
  flex: 1;
  background: transparent;
  border: none;
  outline: none;
  color: #fff;
  font-family: 'IBM Plex Mono', monospace;
  font-size: 15.5px;
  padding: 10px 6px;
  min-width: 0;
}
.scanner-input::placeholder { color: #4A5066; }

.btn-scan {
  background: var(--signal);
  color: #fff;
  border: none;
  border-radius: 10px;
  padding: 13px 28px;
  font-family: 'IBM Plex Sans', sans-serif;
  font-weight: 600;
  font-size: 15px;
  cursor: pointer;
  white-space: nowrap;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: background .15s, transform .1s;
  flex-shrink: 0;
}
.btn-scan:hover { background: var(--signal-dark); }
.btn-scan:active { transform: scale(.98); }
.btn-scan:disabled { opacity: .7; cursor: not-allowed; }

.btn-scan-spinner svg {
  animation: spin 0.8s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }

.scanner-trust {
  display: flex;
  gap: 20px;
  margin-top: 16px;
  font-size: 13.5px;
  color: #6B7280;
  flex-wrap: wrap;
}
.scanner-trust span { display: flex; align-items: center; gap: 7px; }

.dot {
  display: inline-block;
  width: 6px; height: 6px;
  border-radius: 50%;
  flex-shrink: 0;
}
.dot-ok { background: var(--ok); }
.dot-warn { background: var(--warn); }
.dot-bad { background: var(--bad); }

/* ---- STATES ---- */
.state-block { padding: 72px 0; }

/* Loading */
.loading-card {
  max-width: 480px;
  margin: 0 auto;
  text-align: center;
}

.loading-animation {
  position: relative;
  width: 80px; height: 80px;
  margin: 0 auto 28px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.pulse-ring {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 2px solid var(--signal);
  opacity: .3;
  animation: pulse-expand 1.6s ease-out infinite;
}
.pulse-ring--2 { animation-delay: .8s; }
@keyframes pulse-expand {
  0% { transform: scale(.6); opacity: .4; }
  100% { transform: scale(1.4); opacity: 0; }
}

.loading-icon { position: relative; z-index: 1; animation: spin 2s linear infinite; }

.loading-domain {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 18px;
  font-weight: 600;
  color: var(--ink);
  margin-bottom: 24px;
}

.loading-steps { display: flex; flex-direction: column; gap: 10px; }
.step-item {
  font-size: 14px;
  color: var(--muted-soft);
  padding: 8px 16px;
  border-radius: 8px;
  transition: all .3s;
}
.step-item.active {
  background: var(--signal-soft);
  color: var(--signal);
  font-weight: 500;
}
.step-item.done {
  color: var(--ok);
}
.step-item.done::before { content: '✓ '; }

/* Error */
.error-card {
  max-width: 440px;
  margin: 0 auto;
  text-align: center;
  padding: 48px 32px;
  background: var(--surface);
  border-radius: 20px;
  border: 1px solid var(--hairline);
}
.error-icon { font-size: 40px; margin-bottom: 16px; }
.error-card h3 { font-family: 'Space Grotesk'; font-size: 22px; margin-bottom: 12px; }
.error-card p { color: var(--muted); margin-bottom: 24px; }
.btn-retry {
  background: var(--ink);
  color: #fff;
  border: none;
  border-radius: 10px;
  padding: 12px 24px;
  font-family: 'IBM Plex Sans';
  font-weight: 500;
  font-size: 15px;
  cursor: pointer;
}

/* ---- RESULTS ---- */
.results-section { padding: 60px 0; background: var(--surface); }

.result-card {
  background: var(--paper);
  border: 1px solid var(--hairline);
  border-radius: 20px;
  overflow: hidden;
  box-shadow: var(--shadow-md);
  max-width: 820px;
  margin: 0 auto;
}

.result-header {
  display: flex;
  gap: 36px;
  padding: 36px 40px;
  border-bottom: 1px solid var(--hairline);
  align-items: center;
  flex-wrap: wrap;
}

/* Gauge */
.gauge-wrap {
  position: relative;
  width: 160px; height: 160px;
  flex-shrink: 0;
}
.gauge-svg { transform: rotate(-90deg); }
.gauge-arc {
  transition: stroke-dashoffset 1.2s cubic-bezier(.4,0,.2,1), stroke .6s;
}
.gauge-center {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}
.gauge-score {
  font-family: 'IBM Plex Mono', monospace;
  font-weight: 600;
  font-size: 48px;
  line-height: 1;
  color: var(--text);
  transition: color .6s;
}
.gauge-of {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 13px;
  color: var(--muted-soft);
  margin-top: 3px;
}

/* Result meta */
.result-meta { flex: 1; min-width: 0; }
.result-domain {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 16px;
  color: var(--muted);
  margin-bottom: 10px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.result-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  border-radius: 8px;
  font-family: 'IBM Plex Mono', monospace;
  font-size: 12.5px;
  font-weight: 500;
  margin-bottom: 14px;
}
.result-badge.badge-good { background: var(--ok-soft); color: #0D6B48; }
.result-badge.badge-average { background: var(--warn-soft); color: #8A5A12; }
.result-badge.badge-bad { background: var(--bad-soft); color: #9B2E29; }
.badge-dot { width: 7px; height: 7px; border-radius: 50%; background: currentColor; }

.result-summary { font-size: 14.5px; color: var(--muted); max-width: 38ch; line-height: 1.6; }

/* Categories */
.categories {
  padding: 8px 40px 16px;
}
.cat-row {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 0;
  border-bottom: 1px solid var(--hairline);
  cursor: pointer;
  transition: background .1s;
}
.cat-row:last-child { border-bottom: none; }
.cat-row:hover { background: var(--surface); margin: 0 -16px; padding: 14px 16px; border-radius: 8px; }

.cat-sig { width: 9px; height: 9px; border-radius: 50%; flex-shrink: 0; }
.cat-sig.ok { background: var(--ok); }
.cat-sig.average { background: var(--warn); }
.cat-sig.bad { background: var(--bad); }

.cat-label {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 14px;
  color: var(--text);
  flex: 1;
}
.cat-score-bar {
  width: 100px;
  height: 4px;
  background: var(--hairline);
  border-radius: 2px;
  overflow: hidden;
}
.cat-score-fill {
  height: 100%;
  border-radius: 2px;
  transition: width 1s cubic-bezier(.4,0,.2,1);
  background: var(--ok);
}
.cat-score-fill.average { background: var(--warn); }
.cat-score-fill.bad { background: var(--bad); }

.cat-stat {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 12.5px;
  letter-spacing: .02em;
  min-width: 70px;
  text-align: right;
}
.cat-stat.ok { color: var(--ok); }
.cat-stat.average { color: #B07512; }
.cat-stat.bad { color: var(--bad); }

.cat-details {
  display: none;
  padding: 12px 0 16px 23px;
  border-bottom: 1px solid var(--hairline);
}
.cat-details.open { display: block; }
.cat-finding {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 13.5px;
  color: var(--muted);
  padding: 5px 0;
  line-height: 1.5;
}
.finding-dot { width: 7px; height: 7px; border-radius: 50%; flex-shrink: 0; margin-top: 5px; }
.finding-dot.ok { background: var(--ok); }
.finding-dot.warn { background: var(--warn); }
.finding-dot.bad { background: var(--bad); }

/* Result footer */
.result-footer {
  padding: 24px 40px 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  background: #FAFAFC;
  border-top: 1px solid var(--hairline);
}
.footer-left p { font-size: 14px; color: var(--muted); max-width: 40ch; }

.btn-full-audit {
  background: var(--signal);
  color: #fff;
  border: none;
  border-radius: 10px;
  padding: 14px 24px;
  font-family: 'IBM Plex Sans';
  font-weight: 600;
  font-size: 15px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: background .15s;
  white-space: nowrap;
}
.btn-full-audit:hover { background: var(--signal-dark); }

/* Issues */
.issues-section {
  max-width: 820px;
  margin: 32px auto 0;
}
.issues-title {
  font-family: 'Space Grotesk';
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 16px;
  color: var(--ink);
}
.issue-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 14px 20px;
  border-radius: 12px;
  margin-bottom: 8px;
  border: 1px solid;
}
.issue-item.bad { background: var(--bad-soft); border-color: #f5c4c2; }
.issue-item.warn { background: var(--warn-soft); border-color: #f5dab2; }

.issue-tag {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .08em;
  padding: 3px 8px;
  border-radius: 5px;
  flex-shrink: 0;
  text-transform: uppercase;
}
.issue-item.bad .issue-tag { background: var(--bad); color: #fff; }
.issue-item.warn .issue-tag { background: var(--warn); color: #fff; }

.issue-text { font-size: 14px; line-height: 1.55; }
.issue-cat { font-size: 12px; color: var(--muted-soft); margin-top: 2px; }

/* Rescan bar */
.rescan-bar {
  max-width: 820px;
  margin: 20px auto 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.btn-link {
  background: none;
  border: none;
  color: var(--signal);
  font-size: 14px;
  font-family: 'IBM Plex Sans';
  cursor: pointer;
  text-decoration: underline;
  padding: 0;
}
.btn-share {
  background: var(--surface);
  border: 1px solid var(--hairline);
  color: var(--ink);
  font-size: 14px;
  font-family: 'IBM Plex Sans';
  font-weight: 500;
  padding: 8px 16px;
  border-radius: 8px;
  cursor: pointer;
  transition: background .15s;
}
.btn-share:hover { background: var(--surface-hover); }

/* ---- MODAL ---- */
[hidden] { display: none !important; }

.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(20,22,29,.6);
  backdrop-filter: blur(6px);
  z-index: 200;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
}
.modal-box {
  background: var(--paper);
  border-radius: 20px;
  padding: 40px 36px;
  max-width: 460px;
  width: 100%;
  position: relative;
  box-shadow: var(--shadow-lg);
}
.modal-close {
  position: absolute;
  top: 16px; right: 20px;
  background: none;
  border: none;
  font-size: 24px;
  color: var(--muted);
  cursor: pointer;
  line-height: 1;
}
.modal-badge {
  display: inline-block;
  background: var(--signal-soft);
  color: var(--signal);
  font-family: 'IBM Plex Mono', monospace;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .1em;
  text-transform: uppercase;
  padding: 5px 12px;
  border-radius: 6px;
  margin-bottom: 16px;
}
.modal-title {
  font-family: 'Space Grotesk';
  font-size: 26px;
  font-weight: 700;
  letter-spacing: -.02em;
  margin-bottom: 12px;
}
.modal-sub { font-size: 15px; color: var(--muted); margin-bottom: 28px; line-height: 1.6; }
.lead-input {
  width: 100%;
  padding: 14px 16px;
  border: 1.5px solid var(--hairline);
  border-radius: 10px;
  font-family: 'IBM Plex Sans';
  font-size: 15px;
  margin-bottom: 12px;
  outline: none;
  transition: border-color .15s;
  display: block;
}
.lead-input:focus { border-color: var(--signal); }
.btn-lead-submit {
  width: 100%;
  background: var(--signal);
  color: #fff;
  border: none;
  border-radius: 10px;
  padding: 14px;
  font-family: 'IBM Plex Sans';
  font-weight: 600;
  font-size: 15.5px;
  cursor: pointer;
  transition: background .15s;
}
.btn-lead-submit:hover { background: var(--signal-dark); }
.modal-fine { font-size: 12.5px; color: var(--muted-soft); text-align: center; margin-top: 14px; }

/* ---- HOW IT WORKS ---- */
.how-section { padding: 88px 0; background: var(--paper); }
.section-label {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--signal);
  margin-bottom: 12px;
}
.section-title {
  font-family: 'Space Grotesk', sans-serif;
  font-size: clamp(24px, 3vw, 34px);
  font-weight: 700;
  letter-spacing: -.02em;
  margin-bottom: 48px;
}
.steps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.step-card {
  padding: 32px 28px;
  border-radius: 16px;
  border: 1px solid var(--hairline);
  background: var(--paper);
  transition: box-shadow .2s, transform .2s;
}
.step-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}
.step-num {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 13px;
  font-weight: 600;
  color: var(--signal);
  letter-spacing: .08em;
  margin-bottom: 14px;
}
.step-card h3 {
  font-family: 'Space Grotesk';
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 10px;
}
.step-card p { font-size: 14.5px; color: var(--muted); line-height: 1.65; }

/* ---- CATEGORIES SECTION ---- */
.cats-section { padding: 88px 0; background: var(--surface); }
.cats-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.cat-card {
  padding: 28px 24px;
  border-radius: 16px;
  border: 1px solid var(--hairline);
  background: var(--paper);
  transition: box-shadow .2s, transform .2s;
}
.cat-card:hover { box-shadow: var(--shadow-md); transform: translateY(-2px); }
.cat-icon {
  font-size: 28px;
  margin-bottom: 14px;
  display: block;
}
.cat-card h3 {
  font-family: 'Space Grotesk';
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 8px;
}
.cat-card p { font-size: 13.5px; color: var(--muted); line-height: 1.65; }

/* ---- FOOTER ---- */
.site-footer {
  background: var(--ink);
  color: #fff;
  padding: 40px 0;
}
.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
}
.footer-copy { font-size: 14px; color: #6B7280; }
.footer-links { display: flex; gap: 20px; }
.footer-links a { font-size: 14px; color: #6B7280; text-decoration: none; transition: color .15s; }
.footer-links a:hover { color: #fff; }

/* ---- FORM FIELDS (dashboard + settings + project) ---- */
.field-label { font-size: 13px; font-weight: 600; color: var(--muted); letter-spacing: .03em; text-transform: uppercase; margin-bottom: 6px; display: block; }
.field-input {
  width: 100%; padding: 12px 16px;
  border: 1.5px solid var(--hairline);
  border-radius: 10px;
  font-family: 'IBM Plex Sans', sans-serif;
  font-size: 15px;
  color: var(--text);
  background: var(--paper);
  outline: none;
  transition: border-color .15s, box-shadow .15s;
  box-shadow: inset 0 1px 2px rgba(0,0,0,.04);
}
.field-input:hover { border-color: #C8CDD6; }
.field-input:focus { border-color: var(--signal); box-shadow: 0 0 0 3px rgba(91,75,255,.12); }
.field-input[disabled] { background: var(--surface); color: var(--muted); cursor: not-allowed; }
.field-input--sm { width: 90px !important; }
.field-select {
  width: 100%; padding: 11px 16px;
  border: 1.5px solid var(--hairline);
  border-radius: 10px;
  font-family: 'IBM Plex Sans', sans-serif;
  font-size: 14.5px;
  color: var(--text);
  background: var(--paper);
  outline: none;
  cursor: pointer;
  transition: border-color .15s, box-shadow .15s;
  box-shadow: inset 0 1px 2px rgba(0,0,0,.04);
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%239AA0AB' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 36px;
}
.field-select:focus { border-color: var(--signal); box-shadow: 0 0 0 3px rgba(91,75,255,.12); }
.field-hint { font-size: 12.5px; color: var(--muted-soft); margin-top: 5px; }

/* ---- PRICING TEASER ---- */
.pricing-teaser { padding: 96px 0 80px; background: var(--ink); }
.pricing-teaser .section-label { color: rgba(255,255,255,.4); }
.pricing-teaser .section-title { color: #fff; }
.pt-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 48px; }
.pt-card { background: rgba(255,255,255,.06); border: 1.5px solid rgba(255,255,255,.1); border-radius: 20px; padding: 32px 28px; position: relative; display: flex; flex-direction: column; }
.pt-card-featured { background: #fff; border-color: #fff; }
.pt-badge { position: absolute; top: -13px; left: 50%; transform: translateX(-50%); background: var(--signal); color: #fff; font-family: 'IBM Plex Mono'; font-size: 11px; font-weight: 700; letter-spacing: .1em; padding: 4px 16px; border-radius: 20px; white-space: nowrap; }
.pt-plan-label { font-family: 'IBM Plex Mono'; font-size: 11px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: rgba(255,255,255,.4); margin-bottom: 12px; }
.pt-card-featured .pt-plan-label { color: var(--muted); }
.pt-price-block { margin-bottom: 24px; }
.pt-amount { font-family: 'Space Grotesk'; font-size: 42px; font-weight: 700; color: #fff; line-height: 1; }
.pt-card-featured .pt-amount { color: var(--ink); }
.pt-period { font-size: 16px; font-weight: 400; color: rgba(255,255,255,.4); margin-left: 2px; }
.pt-card-featured .pt-period { color: var(--muted); }
.pt-feat-list { list-style: none; margin-bottom: 28px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.pt-feat-list li { font-size: 14px; padding-left: 22px; position: relative; color: rgba(255,255,255,.75); }
.pt-card-featured .pt-feat-list li { color: var(--text); }
.pt-feat-list li::before { content: ''; position: absolute; left: 0; top: 6px; width: 8px; height: 8px; border-radius: 50%; }
.pt-feat-list li.ok::before { background: var(--ok); }
.pt-feat-list li.no { color: rgba(255,255,255,.25); }
.pt-card-featured .pt-feat-list li.no { color: var(--muted-soft); }
.pt-feat-list li.no::before { background: rgba(255,255,255,.15); }
.pt-cta { display: block; text-align: center; padding: 13px 20px; border-radius: 10px; font-family: 'IBM Plex Sans'; font-weight: 600; font-size: 14.5px; text-decoration: none; transition: all .15s; margin-top: auto; }
.pt-cta-primary { background: var(--signal); color: #fff; border: 1.5px solid var(--signal); }
.pt-cta-primary:hover { background: var(--signal-dark); }
.pt-cta-outline { background: rgba(255,255,255,.08); color: #fff; border: 1.5px solid rgba(255,255,255,.2); }
.pt-cta-outline:hover { background: rgba(255,255,255,.14); border-color: rgba(255,255,255,.4); }
.pt-card-featured .pt-cta-outline { background: none; color: var(--ink); border-color: var(--hairline); }
.pt-card-featured .pt-cta-outline:hover { border-color: var(--ink); }

/* Modal scan info */
.modal-scan-info { display: flex; align-items: center; justify-content: space-between; background: var(--surface); border-radius: 10px; padding: 10px 16px; margin-bottom: 20px; }
.modal-scan-domain { font-family: 'IBM Plex Mono'; font-size: 14px; font-weight: 500; color: var(--ink); }
.modal-scan-score { font-family: 'IBM Plex Mono'; font-size: 13px; font-weight: 600; color: var(--signal); }

/* ---- RESPONSIVE ---- */
html, body { max-width: 100%; overflow-x: hidden; }

@media (max-width: 768px) {
  .nav-links { display: none; position: absolute; top: 60px; left: 0; right: 0; background: rgba(20,22,29,.98); backdrop-filter: blur(12px); flex-direction: column; align-items: flex-start; padding: 18px 24px 22px; gap: 18px; border-bottom: 1px solid #2C2F3A; z-index: 99; }
  .nav-links a { font-size: 16px; }
  body.nav-open .nav-links { display: flex; }
  .nav-burger { display: flex; }
  body.nav-open .nav-burger span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  body.nav-open .nav-burger span:nth-child(2) { opacity: 0; }
  body.nav-open .nav-burger span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
  .nav-burger span { transition: all .2s; }

  /* Wide tables scroll inside themselves instead of stretching the page */
  .legal-wrap table, .article-wrap table { display: block; overflow-x: auto; }
  pre { max-width: 100%; overflow-x: auto; }

  /* Footer stacks vertically and links wrap */
  .footer-inner { flex-direction: column; align-items: center; gap: 16px; text-align: center; }
  .footer-links { flex-wrap: wrap; justify-content: center; gap: 12px 18px; }
  .footer-copy { order: 3; }

  .hero { padding: 60px 0 72px; }
  .scanner-box { flex-direction: column; padding: 14px; }
  .scanner-prefix { display: none; }
  .btn-scan { width: 100%; justify-content: center; }

  .steps-grid, .cats-grid { grid-template-columns: 1fr; }

  .result-header { flex-direction: column; text-align: center; padding: 28px 24px; }
  .result-summary { max-width: none; }
  .categories { padding: 8px 24px 16px; }
  .result-footer { padding: 20px 24px; }
  .result-footer .btn-full-audit { width: 100%; justify-content: center; }

  .modal-box { padding: 28px 20px; }
  .rescan-bar { flex-direction: column; gap: 12px; align-items: flex-start; }
  .pt-grid { grid-template-columns: 1fr; }
  .pt-card-featured { order: -1; }
}

/* ============================================================
   AURORA PUBLIC THEME v4 - unified with dashboard
   ============================================================ */

/* Buttons available on ALL public pages */
.btn-primary { display: inline-flex; align-items: center; gap: 8px; background: linear-gradient(135deg, #6C52FF, #8E4BFF); color: #fff; border: none; border-radius: 11px; padding: 12px 24px; font-family: 'IBM Plex Sans'; font-weight: 600; font-size: 15px; cursor: pointer; text-decoration: none; transition: all .18s; white-space: nowrap; box-shadow: 0 4px 14px rgba(108,82,255,.3); }
.btn-primary:hover { transform: translateY(-1px); box-shadow: 0 7px 22px rgba(108,82,255,.42); }
.btn-plan-outline { display: inline-flex; align-items: center; justify-content: center; gap: 6px; padding: 11px 20px; border: 1.5px solid #DDE0EA; border-radius: 11px; background: #fff; color: var(--ink); font-family: 'IBM Plex Sans'; font-weight: 500; font-size: 14.5px; cursor: pointer; text-decoration: none; transition: all .15s; }
.btn-plan-outline:hover { border-color: #6C52FF; color: #6C52FF; }

/* Aurora hero gradient */
.hero { background: linear-gradient(130deg, #0F1019 0%, #1A1533 55%, #251A4A 100%); }
.hero-bg-orb { background: radial-gradient(circle, rgba(140,82,255,.28) 0%, transparent 70%); }
.hero h1 em { background: linear-gradient(135deg, #9D8FFF, #C77BFF); -webkit-background-clip: text; background-clip: text; color: transparent; }
.eyebrow { color: #9D8FFF; }

/* Hero 2-col product layout */
.hero-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 48px; align-items: center; position: relative; z-index: 2; }
@media (max-width: 920px) { .hero-grid { grid-template-columns: 1fr; } .hero-visual { display: none; } }
.hero-visual { position: relative; }
.mock-card { background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.12); backdrop-filter: blur(12px); border-radius: 20px; padding: 26px; box-shadow: 0 24px 70px rgba(0,0,0,.4); }
.mock-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 20px; }
.mock-domain { font-family: 'IBM Plex Mono'; font-size: 13px; color: rgba(255,255,255,.65); }
.mock-badge { font-size: 11px; font-weight: 700; padding: 4px 12px; border-radius: 12px; background: rgba(26,196,138,.22); color: #4BE3AC; }
.mock-score-row { display: flex; align-items: center; gap: 22px; margin-bottom: 22px; }
.mock-ring { position: relative; width: 92px; height: 92px; flex-shrink: 0; }
.mock-ring svg { transform: rotate(-90deg); display: block; }
.mock-ring-num { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; font-family: 'Space Grotesk'; font-size: 28px; font-weight: 700; color: #4BE3AC; }
.mock-cats { flex: 1; display: flex; flex-direction: column; gap: 9px; }
.mock-cat { display: flex; align-items: center; gap: 10px; font-size: 12px; color: rgba(255,255,255,.7); }
.mock-cat-bar { flex: 1; height: 4px; background: rgba(255,255,255,.1); border-radius: 2px; overflow: hidden; }
.mock-cat-bar i { display: block; height: 100%; border-radius: 2px; }
.mock-engines { display: flex; gap: 7px; flex-wrap: wrap; }
.mock-engine { font-size: 10.5px; font-weight: 600; color: rgba(255,255,255,.75); background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.1); padding: 4px 11px; border-radius: 12px; }

/* Section polish */
.section-title { font-family: 'Space Grotesk'; letter-spacing: -.02em; }
.step-card, .cat-card { border-radius: 18px; transition: transform .18s, box-shadow .18s; }
.step-card:hover, .cat-card:hover { transform: translateY(-3px); box-shadow: 0 12px 36px rgba(20,22,40,.1); }
.step-num { background: linear-gradient(135deg, #6C52FF, #B44BFF); -webkit-background-clip: text; background-clip: text; color: transparent; }

/* Pricing teaser polish */
.pt-card { border-radius: 20px; }
.pt-card-featured { border: 2px solid transparent; background-image: linear-gradient(#fff,#fff), linear-gradient(135deg,#6C52FF,#B44BFF); background-origin: border-box; background-clip: padding-box, border-box; }
.pt-cta-primary { background: linear-gradient(135deg, #6C52FF, #8E4BFF); box-shadow: 0 4px 14px rgba(108,82,255,.3); }

/* Scanner button gradient */
.btn-scan { background: linear-gradient(135deg, #6C52FF, #8E4BFF); }
.btn-scan:hover { background: linear-gradient(135deg, #5B43F0, #7D3BF0); }
