/* ============================================
   GEAZ — AI Search Readiness Score
   Dark vibrant theme — palette: #0a0310 #49007e #ff005b #ff7d10 #ffb238
   ============================================ */

:root {
  --bg: #0a0310;
  --bg-alt: #110820;
  --bg-card: #150d24;
  --bg-card-hover: #1c1230;
  --bg-muted: #1a1028;
  --text: #d4cde0;
  --text-title: #f5f0ff;
  --text-muted: #8a7fa0;
  --text-dim: #5c5272;
  --accent: #ff005b;
  --accent-hover: #e0004f;
  --accent-light: rgba(255, 0, 91, 0.1);
  --accent-glow: rgba(255, 0, 91, 0.2);
  --purple: #49007e;
  --purple-light: rgba(73, 0, 126, 0.3);
  --orange: #ff7d10;
  --gold: #ffb238;
  --border: #2a1e40;
  --border-light: #1f1533;
  --green: #22c55e;
  --blue: #818cf8;
  --yellow: #ffb238;
  --red: #ff005b;
  --radius: 16px;
  --radius-sm: 10px;
  --shadow-card: 0 2px 8px rgba(0,0,0,0.3);
  --shadow-card-hover: 0 8px 24px rgba(255,0,91,0.08);
  --shadow-elevated: 0 12px 40px rgba(0,0,0,0.4);
  --ease: cubic-bezier(0.4, 0, 0.2, 1);
}

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

body {
  font-family: 'DM Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Google Sans Flex', 'Plus Jakarta Sans', 'DM Sans', sans-serif;
  color: var(--text-title);
  font-weight: 600;
}

.container {
  max-width: 780px;
  margin: 0 auto;
  padding: 0 20px;
}

/* ===========================
   NAV BAR
   =========================== */
.main-nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(10,3,16,0.85);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
}

.nav-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 56px;
}

.nav-brand {
  font-family: 'Google Sans Flex', 'Plus Jakarta Sans', sans-serif;
  font-size: 1.2rem;
  font-weight: 800;
  color: var(--accent);
  text-decoration: none;
  letter-spacing: -0.03em;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 16px;
}

.nav-link {
  font-size: 0.88rem;
  color: var(--text-muted);
  text-decoration: none;
  font-weight: 500;
  transition: color 0.2s;
  background: none;
  border: none;
  cursor: pointer;
  font-family: inherit;
}

.nav-link:hover { color: var(--text-title); }

.nav-register-btn {
  padding: 7px 16px !important;
  font-size: 0.82rem !important;
  border-radius: 8px !important;
}

.nav-auth {
  display: flex;
  align-items: center;
  gap: 12px;
}

.nav-user-menu {
  display: flex;
  align-items: center;
  gap: 12px;
}

.nav-user-name {
  font-size: 0.85rem;
  color: var(--text);
  font-weight: 500;
}

.nav-logout {
  color: var(--text-dim) !important;
  font-size: 0.82rem !important;
}

.nav-logout:hover { color: var(--accent) !important; }

/* ===========================
   HERO — Dark, vibrant
   =========================== */
.hero {
  text-align: center;
  padding: 72px 0 64px;
  background: linear-gradient(178deg, #0a0310 0%, #150820 50%, #0f0518 100%);
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(255,0,91,0.03) 1px, transparent 1px);
  background-size: 32px 32px;
  pointer-events: none;
}

.hero::after {
  content: '';
  position: absolute;
  width: 700px;
  height: 700px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(73,0,126,0.15) 0%, rgba(255,0,91,0.05) 40%, transparent 70%);
  top: 50%;
  left: 50%;
  transform: translate(-50%, -30%);
  pointer-events: none;
}

.hero-inner {
  max-width: 700px;
  margin: 0 auto;
  padding: 0 20px;
  position: relative;
  z-index: 1;
}

/* --- Social proof bar --- */
.hero-proof-bar {
  display: inline-flex;
  align-items: center;
  gap: 0;
  background: rgba(255,255,255,0.03);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(255,0,91,0.1);
  border-radius: 40px;
  padding: 10px 28px;
  margin-bottom: 32px;
}

.proof-stat {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 0 20px;
}

.proof-number {
  font-family: 'Google Sans Flex', 'Plus Jakarta Sans', sans-serif;
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--gold);
  line-height: 1.2;
}

.proof-label {
  font-size: 0.65rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: rgba(255,255,255,0.35);
  margin-top: 1px;
}

.proof-divider {
  width: 1px;
  height: 28px;
  background: rgba(255,255,255,0.08);
  flex-shrink: 0;
}

/* --- Badge --- */
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255,0,91,0.08);
  border: 1px solid rgba(255,0,91,0.2);
  color: var(--accent);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 8px 20px;
  border-radius: 20px;
  margin-bottom: 28px;
}

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

@keyframes badgePulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(255,0,91,0.4); }
  50% { box-shadow: 0 0 0 6px rgba(255,0,91,0); }
}

/* --- Headline --- */
.hero h1 {
  font-size: 2.8rem;
  font-weight: 700;
  line-height: 1.12;
  margin-bottom: 18px;
  color: #fff;
}

.text-gradient {
  background: linear-gradient(135deg, var(--accent) 0%, var(--orange) 50%, var(--gold) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-sub {
  font-size: 1.05rem;
  color: rgba(255,255,255,0.55);
  max-width: 560px;
  margin: 0 auto 36px;
  line-height: 1.7;
}

.hero-sub strong {
  color: rgba(255,255,255,0.8);
}

/* --- Search Wrapper --- */
.search-wrapper {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,0,91,0.15);
  border-radius: 16px;
  padding: 6px;
  max-width: 600px;
  margin: 0 auto;
  transition: border-color 0.3s var(--ease), box-shadow 0.3s var(--ease);
}

.search-wrapper:focus-within {
  border-color: rgba(255,0,91,0.4);
  box-shadow: 0 0 0 4px rgba(255,0,91,0.08);
}

.audit-form {
  margin: 0;
}

.input-group {
  display: flex;
  align-items: center;
  gap: 0;
}

.input-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 0 0 14px;
  flex-shrink: 0;
}

.input-group input {
  flex: 1;
  padding: 14px 12px;
  background: transparent;
  border: none;
  color: #fff;
  font-size: 15px;
  font-family: 'DM Sans', sans-serif;
  outline: none;
}

.input-group input::placeholder { color: rgba(255,255,255,0.3); }

.input-group .btn-primary {
  border-radius: 12px;
  padding: 14px 28px;
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}

.btn-arrow {
  font-size: 1.1rem;
  transition: transform 0.2s var(--ease);
}

.input-group .btn-primary:hover .btn-arrow {
  transform: translateX(3px);
}

/* --- Buttons --- */
.btn-primary {
  padding: 12px 28px;
  background: var(--accent);
  color: #fff;
  border: none;
  border-radius: var(--radius-sm);
  font-size: 14px;
  font-weight: 600;
  font-family: 'DM Sans', sans-serif;
  cursor: pointer;
  transition: all 0.2s var(--ease);
  white-space: nowrap;
}

.btn-primary:hover {
  background: var(--accent-hover);
  transform: translateY(-1px);
  box-shadow: 0 4px 20px rgba(255,0,91,0.35);
}

.btn-primary:active {
  transform: scale(0.98);
}

.btn-primary:disabled { opacity: 0.5; cursor: not-allowed; transform: none; box-shadow: none; }

.btn-secondary {
  padding: 12px 28px;
  background: var(--bg-card);
  color: var(--text-title);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  font-size: 0.9rem;
  font-weight: 500;
  font-family: 'DM Sans', sans-serif;
  cursor: pointer;
  transition: all 0.2s var(--ease);
}

.btn-secondary:hover {
  background: var(--bg-card-hover);
  border-color: var(--accent);
}

.btn-full { width: 100%; text-align: center; display: block; }

.btn-sm {
  padding: 7px 16px !important;
  font-size: 0.82rem !important;
}

/* --- Trust indicators --- */
.hero-trust {
  display: flex;
  justify-content: center;
  gap: 24px;
  margin-top: 28px;
  flex-wrap: wrap;
}

.hero-trust-item {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.8rem;
  color: rgba(255,255,255,0.4);
}

.hero-trust-item svg { flex-shrink: 0; }
.hero-trust-item svg path { stroke: var(--accent); }

/* ===========================
   LOADING
   =========================== */
.loading-section {
  display: none;
  padding: 60px 0;
}

.loading-section.active { display: block; }

.loading-card {
  max-width: 540px;
  margin: 0 auto;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 36px;
  box-shadow: var(--shadow-elevated);
}

.loading-header {
  text-align: center;
  margin-bottom: 28px;
}

.loading-icon-ring {
  margin-bottom: 16px;
}

.radar-svg {
  display: block;
  margin: 0 auto;
}

.radar-svg circle { stroke: rgba(255,0,91,0.12); }
.radar-svg circle:nth-child(2) { stroke: rgba(255,0,91,0.08); }
.radar-svg circle:nth-child(3) { stroke: rgba(255,0,91,0.05); }

.radar-sweep {
  transform-origin: 28px 28px;
  animation: radarSpin 2s linear infinite;
  stroke: var(--accent) !important;
}

@keyframes radarSpin { to { transform: rotate(360deg); } }

.loading-header h2 {
  font-size: 1.15rem;
  font-weight: 600;
  margin-bottom: 4px;
}

.loading-url {
  font-size: 0.82rem;
  color: var(--text-muted);
  word-break: break-all;
}

.loading-steps {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.loading-step {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 10px 0;
  opacity: 0.35;
  transition: opacity 0.4s var(--ease);
}

.loading-step.active { opacity: 1; }
.loading-step.done { opacity: 0.7; }

.step-indicator {
  display: flex;
  flex-direction: column;
  align-items: center;
  flex-shrink: 0;
}

.step-check {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  border: 2px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  color: transparent;
  transition: all 0.3s var(--ease);
  flex-shrink: 0;
}

.loading-step.active .step-check {
  border-color: var(--accent);
  box-shadow: 0 0 0 4px rgba(255,0,91,0.1);
  animation: stepPulse 1.5s ease-in-out infinite;
}

.loading-step.done .step-check {
  background: var(--accent);
  border-color: var(--accent);
  color: #fff;
  animation: none;
  box-shadow: none;
}

@keyframes stepPulse {
  0%, 100% { box-shadow: 0 0 0 4px rgba(255,0,91,0.1); }
  50% { box-shadow: 0 0 0 8px rgba(255,0,91,0.04); }
}

.step-content {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding-top: 2px;
}

.step-icon {
  font-size: 1.1rem;
  flex-shrink: 0;
  line-height: 1.4;
}

.step-name {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--text-title);
  line-height: 1.4;
}

.step-detail {
  font-size: 0.75rem;
  color: var(--text-muted);
  margin-top: 1px;
}

.loading-progress {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 24px;
  padding-top: 20px;
  border-top: 1px solid var(--border);
}

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

.progress-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--accent), var(--orange));
  border-radius: 2px;
  width: 0%;
  transition: width 0.6s var(--ease);
}

.progress-percent {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--text-muted);
  min-width: 32px;
  text-align: right;
  font-family: 'Google Sans Flex', 'Plus Jakarta Sans', sans-serif;
}

/* ===========================
   ERROR
   =========================== */
.error-section {
  display: none;
  padding: 60px 0;
}

.error-section.active { display: block; }

.error-card {
  max-width: 480px;
  margin: 0 auto;
  text-align: center;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 40px;
  box-shadow: var(--shadow-card);
}

.error-icon {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: rgba(255,0,91,0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
}

.error-section h2 {
  font-size: 1.15rem;
  margin-bottom: 8px;
}

.error-message {
  color: var(--text-muted);
  font-size: 0.9rem;
  margin-bottom: 24px;
}

/* ===========================
   RESULT
   =========================== */
.result-section {
  display: none;
  padding: 20px 0 60px;
}

.result-section.active { display: block; }

/* --- Score Card --- */
.score-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 40px;
  text-align: center;
  margin-bottom: 28px;
  box-shadow: var(--shadow-card);
  border-top: 3px solid var(--border);
  transition: border-color 0.5s;
}

.score-card-header {
  margin-bottom: 8px;
}

.score-card-label {
  font-size: 0.72rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--text-muted);
}

.score-url {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-top: 4px;
  margin-bottom: 24px;
  word-break: break-all;
}

.waf-warning {
  background: rgba(255,125,16,0.08);
  border: 1px solid rgba(255,125,16,0.2);
  color: var(--orange);
  font-size: 0.85rem;
  padding: 12px 18px;
  border-radius: var(--radius-sm);
  margin-bottom: 20px;
  text-align: left;
}

/* --- Score Ring --- */
.score-main {
  margin-bottom: 28px;
}

.score-ring-container {
  position: relative;
  width: 180px;
  height: 180px;
  margin: 0 auto 20px;
}

.score-ring {
  width: 100%;
  height: 100%;
  transform: rotate(-90deg);
}

.ring-bg {
  fill: none;
  stroke: var(--border);
  stroke-width: 8;
}

.ring-fill {
  fill: none;
  stroke-width: 8;
  stroke-linecap: round;
  stroke-dasharray: 427.26;
  stroke-dashoffset: 427.26;
  transition: stroke-dashoffset 1.8s var(--ease);
}

.score-ring-value {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.score-number {
  font-size: 3.2rem;
  font-weight: 700;
  line-height: 1;
  font-family: 'Google Sans Flex', 'Plus Jakarta Sans', sans-serif;
}

.score-of {
  font-size: 1rem;
  color: var(--text-muted);
  font-weight: 500;
  margin-top: 2px;
}

.score-label {
  font-size: 1.15rem;
  font-weight: 600;
  margin-top: 4px;
  font-family: 'Google Sans Flex', 'Plus Jakarta Sans', sans-serif;
}

.score-meaning {
  font-size: 0.88rem;
  color: var(--text);
  margin-top: 6px;
  max-width: 400px;
  margin-left: auto;
  margin-right: auto;
}

/* --- Stats grid --- */
.score-stats {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0;
  padding-top: 24px;
  border-top: 1px solid var(--border);
  margin-top: 24px;
}

.stat-item {
  flex: 1;
  text-align: center;
  padding: 0 12px;
}

.stat-number {
  display: block;
  font-size: 1.4rem;
  font-weight: 700;
  font-family: 'Google Sans Flex', 'Plus Jakarta Sans', sans-serif;
  color: var(--text-title);
}

.stat-pass .stat-number { color: var(--green); }
.stat-fail .stat-number { color: var(--accent); }

.stat-label {
  display: block;
  font-size: 0.7rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin-top: 2px;
}

.stat-divider {
  width: 1px;
  height: 36px;
  background: var(--border);
  flex-shrink: 0;
}

/* ===========================
   CATEGORIES
   =========================== */
.section-title {
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--text-title);
  margin-bottom: 16px;
}

.categories-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin-bottom: 28px;
}

.cat-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-left: 4px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 18px 22px;
  transition: transform 0.2s var(--ease), box-shadow 0.2s var(--ease);
  box-shadow: var(--shadow-card);
  opacity: 0;
  transform: translateY(12px);
  animation: fadeInUp 0.4s var(--ease) forwards;
}

.cat-card:nth-child(1) { animation-delay: 0.05s; }
.cat-card:nth-child(2) { animation-delay: 0.1s; }
.cat-card:nth-child(3) { animation-delay: 0.15s; }
.cat-card:nth-child(4) { animation-delay: 0.2s; }
.cat-card:nth-child(5) { animation-delay: 0.25s; }
.cat-card:nth-child(6) { animation-delay: 0.3s; }

@keyframes fadeInUp {
  to { opacity: 1; transform: translateY(0); }
}

@media (hover: hover) {
  .cat-card:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-card-hover);
  }
}

.cat-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 10px;
}

.cat-name {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-title);
}

.cat-percent {
  font-size: 0.85rem;
  font-weight: 700;
}

.cat-bar {
  height: 6px;
  background: var(--border);
  border-radius: 3px;
  overflow: hidden;
}

.cat-bar-fill {
  height: 100%;
  border-radius: 3px;
  transition: width 1s ease-out;
}

.cat-detail {
  font-size: 0.75rem;
  color: var(--text-muted);
  margin-top: 8px;
}

/* ===========================
   TOP PROBLEMS
   =========================== */
.problems-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
  margin-bottom: 28px;
  box-shadow: var(--shadow-card);
}

.problems-card h3 {
  font-size: 1.05rem;
  font-weight: 600;
  margin-bottom: 6px;
}

.problems-sub {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 20px;
}

.problem-item {
  display: flex;
  gap: 14px;
  padding: 14px 0;
  border-bottom: 1px solid var(--border-light);
}

.problem-item:last-child { border-bottom: none; }

.problem-severity {
  flex-shrink: 0;
  min-width: 40px;
  height: 28px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.78rem;
  font-weight: 700;
  color: #fff;
  padding: 0 10px;
}

.problem-content { flex: 1; }

.problem-name {
  font-size: 0.9rem;
  font-weight: 600;
  margin-bottom: 4px;
  color: var(--text-title);
}

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

.problem-rec {
  font-size: 0.8rem;
  color: var(--text);
  margin-top: 6px;
}

/* ===========================
   LEAD CAPTURE
   =========================== */
.lead-card {
  background: linear-gradient(135deg, #1a0830 0%, #150520 100%);
  border: 1px solid rgba(255,0,91,0.12);
  border-radius: var(--radius);
  padding: 36px;
  text-align: center;
  margin-bottom: 28px;
}

.lead-card-icon {
  margin-bottom: 16px;
}

.lead-card-icon svg path { stroke: var(--accent); }

.lead-card h3 {
  font-size: 1.2rem;
  margin-bottom: 16px;
  color: #fff;
}

.lead-benefits {
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
  margin-bottom: 24px;
}

.lead-benefit {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.78rem;
  color: rgba(255,255,255,0.5);
}

.lead-benefit svg { flex-shrink: 0; }
.lead-benefit svg path { stroke: var(--accent); }

.lead-form {
  display: flex;
  gap: 10px;
  max-width: 440px;
  margin: 0 auto;
}

.lead-form input {
  flex: 1;
  padding: 12px 16px;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--radius-sm);
  color: #fff;
  font-size: 15px;
  font-family: 'DM Sans', sans-serif;
  outline: none;
}

.lead-form input:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(255,0,91,0.15);
}

.lead-form input::placeholder { color: rgba(255,255,255,0.35); }

.lead-success {
  display: none;
  color: var(--gold);
  font-weight: 600;
  margin-top: 12px;
}

/* ===========================
   ACTIONS
   =========================== */
.actions-section {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
}

.btn-share {
  font-size: 0.85rem;
  color: var(--text-muted);
  cursor: pointer;
  transition: color 0.2s;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.btn-share:hover { color: var(--text-title); }

/* ===========================
   INFO SECTIONS
   =========================== */
.info-sections {
  padding: 60px 0 20px;
  background: var(--bg);
}

.info-block {
  margin-bottom: 56px;
}

.info-block-label {
  font-size: 0.7rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--accent);
  margin-bottom: 10px;
}

.info-block h2 {
  font-size: 1.6rem;
  font-weight: 700;
  line-height: 1.25;
  margin-bottom: 14px;
}

.info-block-desc {
  font-size: 0.95rem;
  color: var(--text);
  line-height: 1.7;
  max-width: 640px;
}

.info-block-desc strong {
  color: var(--text-title);
}

/* --- Categories info grid --- */
.categories-info-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 16px;
  margin-top: 28px;
}

.cat-info-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 24px 20px;
  transition: transform 0.2s var(--ease), box-shadow 0.2s var(--ease);
}

@media (hover: hover) {
  .cat-info-card:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-card-hover);
  }
}

.cat-info-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: var(--accent-light);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 14px;
  color: var(--accent);
}

.cat-info-card h3 {
  font-size: 0.9rem;
  font-weight: 600;
  margin-bottom: 6px;
}

.cat-info-card p {
  font-size: 0.82rem;
  color: var(--text-muted);
  line-height: 1.5;
}

/* --- How it works steps --- */
.steps-how {
  display: flex;
  flex-direction: column;
  gap: 24px;
  margin-top: 24px;
}

.step-how {
  display: flex;
  align-items: flex-start;
  gap: 18px;
}

.step-how-number {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--accent);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Google Sans Flex', 'Plus Jakarta Sans', sans-serif;
  font-size: 1rem;
  font-weight: 700;
  flex-shrink: 0;
}

.step-how h3 {
  font-size: 0.95rem;
  font-weight: 600;
  margin-bottom: 4px;
}

.step-how p {
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.5;
}

/* --- Methodology --- */
.info-block-methodology {
  background: var(--bg-alt);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px;
}

.methodology-points {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 20px;
}

.methodology-point {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.88rem;
  color: var(--text);
}

.methodology-point svg { flex-shrink: 0; }
.methodology-point svg path { stroke: var(--accent); }

/* ===========================
   AUTH SECTIONS
   =========================== */
.auth-section {
  display: none;
  padding: 80px 0 60px;
}

.auth-section.active { display: block; }

.auth-card {
  max-width: 380px;
  margin: 0 auto;
}

.auth-card h2 {
  font-size: 1.5rem;
  margin-bottom: 6px;
  text-align: center;
}

.auth-sub {
  font-size: 0.88rem;
  color: var(--text-muted);
  margin-bottom: 32px;
  text-align: center;
}

.auth-form {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.form-group label {
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--text);
}

.form-group input {
  padding: 12px 14px;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  font-size: 15px;
  font-family: 'DM Sans', sans-serif;
  background: var(--bg-card);
  color: var(--text-title);
  outline: none;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.form-group input:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(255,0,91,0.08);
}

.form-error {
  font-size: 0.82rem;
  color: var(--accent);
  min-height: 20px;
}

.form-success {
  font-size: 0.82rem;
  color: var(--green);
  min-height: 20px;
  font-weight: 500;
}

.auth-switch {
  font-size: 0.85rem;
  color: var(--text-muted);
  text-align: center;
  margin-top: 24px;
}

.auth-switch a {
  color: var(--accent);
  text-decoration: none;
  font-weight: 600;
}

.auth-switch a:hover { text-decoration: underline; }

.auth-forgot {
  text-align: right;
  margin-top: -10px;
  margin-bottom: 4px;
}

.auth-forgot a {
  font-size: 0.82rem;
  color: var(--text-muted);
  text-decoration: none;
}

.auth-forgot a:hover { color: var(--accent); text-decoration: underline; }

/* ===========================
   DASHBOARD
   =========================== */
.dashboard-section {
  display: none;
  padding: 40px 0 60px;
}

.dashboard-section.active { display: block; }

.dashboard-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 28px;
  flex-wrap: wrap;
  gap: 16px;
}

.dashboard-header h2 {
  font-size: 1.5rem;
  margin-bottom: 4px;
}

.dashboard-sub {
  font-size: 0.88rem;
  color: var(--text-muted);
}

.plan-badge {
  display: inline-block;
  padding: 2px 10px;
  border-radius: 12px;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.plan-free { background: var(--bg-muted); border: 1px solid var(--border); color: var(--text-muted); }
.plan-starter { background: var(--accent-light); color: var(--accent); border: 1px solid rgba(255,0,91,0.2); }
.plan-pro { background: rgba(255,0,91,0.08); color: var(--accent); border: 1px solid rgba(255,0,91,0.2); }

.dashboard-table-wrapper {
  overflow-x: auto;
}

.dashboard-table {
  width: 100%;
  border-collapse: collapse;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  overflow: hidden;
}

.dashboard-table th {
  text-align: left;
  padding: 12px 16px;
  font-size: 0.72rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--text-muted);
  border-bottom: 1px solid var(--border);
  background: var(--bg-alt);
}

.dashboard-table td {
  padding: 12px 16px;
  font-size: 0.88rem;
  border-bottom: 1px solid var(--border-light);
  color: var(--text);
}

.dashboard-table tr:last-child td { border-bottom: none; }

.td-url {
  max-width: 200px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-weight: 500;
  color: var(--text-title);
}

.td-date {
  font-size: 0.82rem;
  color: var(--text-muted);
}

.td-link {
  color: var(--accent);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.82rem;
}

.td-link:hover { text-decoration: underline; }

.score-badge {
  font-weight: 700;
  font-family: 'Google Sans Flex', 'Plus Jakarta Sans', sans-serif;
}

.dashboard-empty {
  text-align: center;
  padding: 40px;
  color: var(--text-muted);
}

.dashboard-empty a {
  color: var(--accent);
  font-weight: 600;
}

.dashboard-pagination {
  display: flex;
  justify-content: center;
  gap: 6px;
  margin-top: 20px;
}

.pag-btn {
  padding: 8px 14px;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: var(--bg-card);
  color: var(--text);
  font-size: 0.82rem;
  font-family: 'DM Sans', sans-serif;
  cursor: pointer;
  transition: all 0.2s;
}

.pag-btn:hover { background: var(--bg-card-hover); }
.pag-active { background: var(--accent); color: #fff; border-color: var(--accent); }

/* ===========================
   PRICING
   =========================== */
.pricing-section {
  display: none;
  padding: 60px 0;
}

.pricing-section.active { display: block; }

.pricing-header {
  text-align: center;
  margin-bottom: 40px;
}

.pricing-header h2 {
  font-size: 1.6rem;
  margin-bottom: 10px;
}

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

.pricing-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 20px;
  max-width: 900px;
  margin: 0 auto;
}

.pricing-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px 28px;
  position: relative;
  transition: transform 0.2s var(--ease), box-shadow 0.2s var(--ease);
}

@media (hover: hover) {
  .pricing-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-elevated);
  }
}

.pricing-card-popular {
  border-color: var(--accent);
  border-width: 2px;
  background: linear-gradient(180deg, rgba(255,0,91,0.04) 0%, var(--bg-card) 100%);
}

.pricing-popular-badge {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--accent);
  color: #fff;
  font-size: 0.68rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding: 4px 16px;
  border-radius: 12px;
}

.pricing-card-header {
  margin-bottom: 24px;
}

.pricing-card-header h3 {
  font-size: 1.1rem;
  margin-bottom: 8px;
}

.pricing-price {
  font-family: 'Google Sans Flex', 'Plus Jakarta Sans', sans-serif;
  font-size: 2.2rem;
  font-weight: 800;
  color: var(--text-title);
}

.pricing-price span {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-muted);
}

.pricing-features {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 28px;
}

.pricing-features li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.88rem;
  color: var(--text);
}

.pricing-features svg { flex-shrink: 0; }

/* ===========================
   CRITERIA ACCORDION
   =========================== */
.cat-card-clickable { cursor: pointer; }
.cat-card-clickable:hover { border-left-width: 5px; }

.cat-expand-hint {
  font-size: 0.7rem;
  color: var(--text-dim);
  margin-left: 8px;
}

.cat-criteria {
  margin-top: 14px;
  padding-top: 14px;
  border-top: 1px solid var(--border-light);
}

.criteria-item {
  padding: 8px 0;
  border-bottom: 1px solid var(--border-light);
}

.criteria-item:last-child { border-bottom: none; }

.criteria-header {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.82rem;
}

.cr-pass { color: var(--green); font-weight: 700; }
.cr-fail { color: var(--accent); font-weight: 700; }

.criteria-name {
  flex: 1;
  font-weight: 500;
  color: var(--text-title);
}

.criteria-pts {
  font-size: 0.75rem;
  color: var(--text-muted);
  font-weight: 600;
}

.criteria-rec {
  font-size: 0.78rem;
  color: var(--text-muted);
  margin-top: 4px;
  padding-left: 22px;
  line-height: 1.4;
}

/* ===========================
   AI ANALYSIS
   =========================== */
.ai-analysis-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
  margin-bottom: 28px;
  box-shadow: var(--shadow-card);
  border-left: 4px solid var(--accent);
}

.ai-analysis-card h3 {
  font-size: 1.05rem;
  margin-bottom: 12px;
}

.ai-summary {
  font-size: 0.9rem;
  color: var(--text);
  line-height: 1.6;
  margin-bottom: 20px;
}

.ai-columns {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin-bottom: 20px;
}

.ai-col-title {
  font-size: 0.82rem;
  font-weight: 700;
  margin-bottom: 8px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.ai-strengths-title { color: var(--green); }
.ai-weaknesses-title { color: var(--accent); }

.ai-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.ai-list li {
  font-size: 0.85rem;
  color: var(--text);
  padding-left: 14px;
  position: relative;
}

.ai-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 8px;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--text-dim);
}

.ai-recommendations { margin-top: 16px; }
.ai-recommendations .ai-col-title { color: var(--orange); }

/* ===========================
   PDF DOWNLOAD
   =========================== */
.pdf-download-section {
  margin-bottom: 20px;
}

.pdf-download-section .btn-secondary {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
}

/* ===========================
   FAQ
   =========================== */
.faq-list {
  display: flex;
  flex-direction: column;
  gap: 0;
  margin-top: 20px;
}

.faq-item {
  border-bottom: 1px solid var(--border);
}

.faq-question {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text-title);
  padding: 18px 0;
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.faq-question::-webkit-details-marker { display: none; }

.faq-question::after {
  content: '+';
  font-size: 1.2rem;
  color: var(--text-muted);
  font-weight: 400;
  transition: transform 0.2s;
}

.faq-item[open] .faq-question::after {
  content: '-';
}

.faq-answer {
  font-size: 0.9rem;
  color: var(--text);
  line-height: 1.7;
  padding: 0 0 18px;
}

/* ===========================
   FOOTER
   =========================== */
footer {
  text-align: center;
  padding: 40px 0;
  border-top: 1px solid var(--border);
  font-size: 0.8rem;
  color: var(--text-muted);
  background: var(--bg-alt);
}

.footer-brand {
  font-family: 'Google Sans Flex', 'Plus Jakarta Sans', sans-serif;
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--accent);
  margin-bottom: 8px;
}

footer p { margin-bottom: 4px; }

.footer-sub { margin-top: 8px; }

.footer-sub a {
  color: var(--accent);
  text-decoration: none;
  font-weight: 500;
}

.footer-sub a:hover {
  text-decoration: underline;
}

/* ===========================
   FOOTER LINKS
   =========================== */
.footer-links {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
  margin: 12px 0;
  flex-wrap: wrap;
}

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

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

.footer-link-sep {
  color: var(--text-dim);
  font-size: 0.75rem;
}

/* ===========================
   LEGAL PAGES (Sobre, Privacidade, Termos)
   =========================== */
.legal-section {
  display: none;
  padding: 40px 0 60px;
}

.legal-section.active { display: block; }

.legal-card {
  max-width: 680px;
  margin: 0 auto;
  padding: 40px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow-card);
}

.legal-card h1 {
  font-size: 1.6rem;
  margin-bottom: 8px;
}

.legal-updated {
  font-size: 0.82rem;
  color: var(--text-muted);
  margin-bottom: 32px;
}

.legal-card h2 {
  font-size: 1.1rem;
  margin-top: 28px;
  margin-bottom: 10px;
  color: var(--text-title);
}

.legal-card p {
  font-size: 0.92rem;
  color: var(--text);
  line-height: 1.7;
  margin-bottom: 12px;
}

.legal-card ul {
  margin: 8px 0 16px 20px;
  font-size: 0.92rem;
  color: var(--text);
  line-height: 1.7;
}

.legal-card ul li {
  margin-bottom: 6px;
}

.legal-card a {
  color: var(--accent);
  text-decoration: none;
}

.legal-card a:hover { text-decoration: underline; }

/* ===========================
   MULTI-PAGE AUDIT
   =========================== */
.multipage-card {
  max-width: 680px;
  margin: 0 auto;
  padding: 40px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow-card);
}

.multipage-card h2 {
  font-size: 1.4rem;
  margin-bottom: 8px;
}

.multipage-sub {
  font-size: 0.92rem;
  color: var(--text-muted);
  margin-bottom: 32px;
}

.multipage-discover {
  background: var(--bg-alt);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 24px;
  margin-bottom: 28px;
}

.multipage-discover h3 {
  font-size: 1rem;
  margin-bottom: 6px;
}

.multipage-discover-desc {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 14px;
}

.multipage-discover-form {
  display: flex;
  gap: 10px;
}

.multipage-discover-form input {
  flex: 1;
  padding: 10px 14px;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  font-size: 14px;
  font-family: 'DM Sans', sans-serif;
  background: var(--bg-card);
  color: var(--text-title);
  outline: none;
}

.multipage-discover-form input:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(255,0,91,0.08);
}

.discover-status {
  font-size: 0.85rem;
  margin-top: 12px;
  padding: 10px 14px;
  border-radius: var(--radius-sm);
  background: var(--bg-muted);
  color: var(--text);
}

.discover-success {
  background: rgba(34,197,94,0.08);
  color: var(--green);
  border: 1px solid rgba(34,197,94,0.15);
}

.discover-warning {
  background: rgba(255,178,56,0.08);
  color: var(--gold);
  border: 1px solid rgba(255,178,56,0.15);
}

.discover-error {
  background: rgba(255,0,91,0.08);
  color: var(--accent);
  border: 1px solid rgba(255,0,91,0.15);
}

.multipage-urls h3 {
  font-size: 1rem;
  margin-bottom: 6px;
}

.multipage-urls-desc {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 12px;
}

.multipage-textarea {
  width: 100%;
  padding: 14px;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  font-size: 14px;
  font-family: 'DM Sans', monospace;
  background: var(--bg-card);
  color: var(--text-title);
  outline: none;
  resize: vertical;
  line-height: 1.6;
}

.multipage-textarea:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(255,0,91,0.08);
}

.multipage-actions {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 14px;
}

.multipage-count {
  font-size: 0.85rem;
  color: var(--text-muted);
  font-weight: 500;
}

.multipage-progress {
  margin-top: 28px;
}

.multipage-progress h3 {
  font-size: 1rem;
  margin-bottom: 14px;
}

.multipage-progress-bar {
  height: 6px;
  background: var(--border);
  border-radius: 3px;
  overflow: hidden;
  margin-bottom: 10px;
}

.multipage-progress-text {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 16px;
}

.multipage-results,
.multipage-done-results {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.mp-result-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 0;
  border-bottom: 1px solid var(--border-light);
}

.mp-result-item:last-child { border-bottom: none; }

.mp-result-url {
  font-size: 0.88rem;
  color: var(--accent);
  text-decoration: none;
  font-weight: 500;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  flex: 1;
  margin-right: 12px;
}

.mp-result-url:hover { text-decoration: underline; }

.mp-result-score {
  font-size: 0.92rem;
  font-weight: 700;
  font-family: 'Google Sans Flex', 'Plus Jakarta Sans', sans-serif;
  flex-shrink: 0;
}

.multipage-done-header {
  margin-bottom: 20px;
}

.multipage-done-header h3 {
  font-size: 1.1rem;
  margin-bottom: 4px;
}

.multipage-avg-score {
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--accent);
  font-family: 'Google Sans Flex', 'Plus Jakarta Sans', sans-serif;
}

/* ===========================
   RESPONSIVE
   =========================== */
@media (max-width: 640px) {
  .hero h1 { font-size: 1.9rem; }
  .hero { padding: 48px 0 40px; }

  .hero-proof-bar {
    flex-direction: column;
    gap: 8px;
    padding: 14px 24px;
    border-radius: 16px;
  }
  .proof-stat { flex-direction: row; gap: 6px; }
  .proof-divider { width: 40px; height: 1px; }

  .input-group {
    flex-direction: column;
  }
  .input-icon { display: none; }
  .input-group input {
    padding: 14px 16px;
    border-bottom: 1px solid rgba(255,255,255,0.08);
  }
  .input-group .btn-primary {
    border-radius: 12px;
    justify-content: center;
    width: 100%;
  }

  .categories-grid { grid-template-columns: 1fr; }
  .lead-form { flex-direction: column; }
  .lead-benefits { flex-direction: column; align-items: center; gap: 8px; }

  .score-stats { flex-wrap: wrap; gap: 4px; }
  .stat-divider { display: none; }
  .stat-item { flex: 0 0 48%; padding: 8px 0; }

  .score-card { padding: 28px 20px; }
  .score-ring-container { width: 140px; height: 140px; }
  .score-number { font-size: 2.6rem; }

  .problems-card { padding: 20px; }
  .lead-card { padding: 24px 20px; }
  .loading-card { padding: 24px 20px; }

  .hero-trust { flex-direction: column; align-items: center; gap: 8px; }
  .actions-section { flex-direction: column; }

  .step-detail { display: none; }

  .categories-info-grid { grid-template-columns: 1fr; }
  .info-block h2 { font-size: 1.3rem; }
  .info-block-methodology { padding: 24px 20px; }

  .nav-inner { padding: 0 16px; }
  .nav-links { gap: 8px; }
  .nav-register-btn { display: none; }
  .pricing-grid { grid-template-columns: 1fr; }
  .pricing-card-popular { order: -1; }
  .dashboard-table { font-size: 0.8rem; }
  .td-url { max-width: 120px; }
  .ai-columns { grid-template-columns: 1fr; }
  .auth-card { padding: 0 4px; }
  .multipage-card { padding: 24px 20px; }
  .multipage-discover-form { flex-direction: column; }
  .legal-card { padding: 24px 20px; }
}
