/* WebCheck by Wease — Modern B2B Design System */
:root {
  --font-sans: 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif;
  --font-mono: 'JetBrains Mono', ui-monospace, monospace;

  --bg: #f8f7f4;
  --bg-elevated: #ffffff;
  --bg-muted: #eeede8;
  --text: #14181f;
  --text-secondary: #5c6370;
  --text-muted: #8b919c;
  --border: #e2e0d8;
  --border-strong: #c9c5bb;

  --accent: #0d9488;
  --accent-hover: #0f766e;
  --accent-soft: rgba(13, 148, 136, 0.1);
  --accent-glow: rgba(13, 148, 136, 0.25);

  --success: #166534;
  --success-bg: #ecfdf5;
  --warning: #b45309;
  --warning-bg: #fffbeb;
  --critical: #b91c1c;
  --critical-bg: #fef2f2;
  --info: #1d4ed8;
  --info-bg: #eff6ff;

  --shadow-sm: 0 1px 2px rgba(20, 24, 31, 0.04);
  --shadow-md: 0 4px 24px rgba(20, 24, 31, 0.06);
  --shadow-lg: 0 12px 48px rgba(20, 24, 31, 0.08);

  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --radius-full: 9999px;

  --header-height: 72px;
  --transition: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
}

[data-theme="dark"] {
  --bg: #0c0f14;
  --bg-elevated: #151a22;
  --bg-muted: #1c222d;
  --text: #f0f2f5;
  --text-secondary: #9aa3b2;
  --text-muted: #6b7280;
  --border: #2a3140;
  --border-strong: #3d4656;
  --accent-soft: rgba(45, 212, 191, 0.12);
  --accent-glow: rgba(45, 212, 191, 0.2);
  --success-bg: rgba(22, 101, 52, 0.15);
  --warning-bg: rgba(180, 83, 9, 0.15);
  --critical-bg: rgba(185, 28, 28, 0.15);
  --info-bg: rgba(29, 78, 216, 0.15);
  --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.2);
  --shadow-md: 0 4px 24px rgba(0, 0, 0, 0.3);
  --shadow-lg: 0 12px 48px rgba(0, 0, 0, 0.4);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
}

body {
  font-family: var(--font-sans);
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  min-height: 100vh;
}

img { max-width: 100%; display: block; }
a { color: var(--accent); text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--accent-hover); }

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  height: var(--header-height);
  background: color-mix(in srgb, var(--bg) 85%, transparent);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}

.logo {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: var(--text);
}

.logo:hover {
  color: var(--text);
}

.logo-mark {
  height: 36px;
  width: auto;
  display: block;
  flex-shrink: 0;
  background: transparent;
  object-fit: contain;
}

.logo-text {
  display: flex;
  flex-direction: column;
  line-height: 1.25;
  gap: 2px;
}

.logo-product {
  font-weight: 700;
  font-size: 1.0625rem;
  letter-spacing: -0.02em;
  color: var(--text);
}

.logo-powered {
  font-size: 0.6875rem;
  font-weight: 500;
  color: var(--text-muted);
  letter-spacing: 0.01em;
}

.footer-brand .logo-mark {
  height: 40px;
  width: auto;
}

.footer-brand .logo-product {
  font-size: 1.125rem;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
  list-style: none;
}

.nav-links a {
  color: var(--text-secondary);
  font-size: 0.9375rem;
  font-weight: 500;
  text-decoration: none;
}

.nav-links a:hover { color: var(--text); }

.header-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.theme-toggle {
  width: 40px;
  height: 40px;
  border: 1px solid var(--border);
  background: var(--bg-elevated);
  border-radius: var(--radius-sm);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-secondary);
  transition: all var(--transition);
}

.theme-toggle:hover {
  border-color: var(--border-strong);
  color: var(--text);
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 24px;
  font-family: var(--font-sans);
  font-size: 0.9375rem;
  font-weight: 600;
  border-radius: var(--radius-sm);
  border: none;
  cursor: pointer;
  transition: all var(--transition);
  text-decoration: none;
  white-space: nowrap;
}

.btn-primary {
  background: var(--accent);
  color: white;
}

.btn-primary:hover {
  background: var(--accent-hover);
  color: white;
  transform: translateY(-1px);
  box-shadow: 0 4px 16px var(--accent-glow);
}

.btn-secondary {
  background: var(--bg-elevated);
  color: var(--text);
  border: 1px solid var(--border);
}

.btn-secondary:hover {
  border-color: var(--border-strong);
  background: var(--bg-muted);
  color: var(--text);
}

.btn-whatsapp {
  background: #25d366;
  color: white;
}

.btn-whatsapp:hover {
  background: #1ebe57;
  color: white;
  transform: translateY(-1px);
  box-shadow: 0 4px 16px rgba(37, 211, 102, 0.35);
}

.btn-lg { padding: 16px 32px; font-size: 1rem; }

/* Section utilities */
.section {
  padding: 96px 0;
}

.section-badge {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent);
  background: var(--accent-soft);
  padding: 6px 14px;
  border-radius: var(--radius-full);
  margin-bottom: 20px;
}

.section-title {
  font-size: clamp(2rem, 4vw, 2.75rem);
  font-weight: 700;
  line-height: 1.15;
  margin-bottom: 20px;
  letter-spacing: -0.035em;
}

.section-subtitle {
  font-size: 1.125rem;
  color: var(--text-secondary);
  max-width: 640px;
  line-height: 1.7;
}

/* Hero */
.hero {
  padding: 80px 0 96px;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 60%;
  height: 120%;
  background: radial-gradient(circle, var(--accent-glow) 0%, transparent 70%);
  pointer-events: none;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

.hero-content { position: relative; z-index: 1; }

.hero-eyebrow {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.8125rem;
  color: var(--text-secondary);
  margin-bottom: 24px;
}

.hero-eyebrow span {
  padding: 4px 10px;
  background: var(--bg-muted);
  border-radius: var(--radius-full);
  font-weight: 500;
}

.hero h1 {
  font-size: clamp(2.25rem, 5vw, 3.25rem);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -0.04em;
  margin-bottom: 24px;
}

.hero h1 .highlight {
  color: var(--accent);
  display: block;
  margin-top: 0.15em;
}

.hero-desc {
  font-size: 1.125rem;
  color: var(--text-secondary);
  margin-bottom: 32px;
  line-height: 1.7;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 32px;
}

.hero-trust {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  font-size: 0.8125rem;
  color: var(--text-muted);
}

.hero-trust span::before {
  content: '✓ ';
  color: var(--accent);
}

/* EAA Card */
.eaa-card {
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px;
  box-shadow: var(--shadow-md);
}

/* Official source card — accsible.com EUR-Lex style */
.official-source {
  display: block;
  background: var(--bg-muted);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 20px;
  margin-bottom: 20px;
  text-decoration: none;
  color: inherit;
  transition: all var(--transition);
}

.official-source:hover {
  border-color: var(--accent);
  box-shadow: var(--shadow-sm);
  color: inherit;
}

.official-source-top {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 12px;
}

.official-source-favicon {
  width: 28px;
  height: 28px;
  background: var(--critical);
  color: white;
  font-size: 0.625rem;
  font-weight: 800;
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.official-source-domain {
  font-family: var(--font-mono);
  font-size: 0.8125rem;
  color: var(--text-secondary);
  flex: 1;
}

.official-source-external {
  color: var(--text-muted);
  flex-shrink: 0;
}

.official-source-publisher {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: var(--text-muted);
  margin-bottom: 6px;
}

.official-source-title {
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.35;
  letter-spacing: -0.02em;
  color: var(--text);
  margin-bottom: 8px;
}

.official-source-meta {
  font-size: 0.8125rem;
  color: var(--text-secondary);
  margin-bottom: 8px;
}

.official-source-scope-label {
  font-size: 0.75rem;
  color: var(--text-muted);
  line-height: 1.5;
}

.official-source-note {
  font-size: 0.8125rem;
  color: var(--text-muted);
  margin-bottom: 16px;
}

.official-source-note a {
  font-weight: 600;
}

.eaa-alert {
  background: var(--warning-bg);
  border: 1px solid color-mix(in srgb, var(--warning) 30%, transparent);
  border-radius: var(--radius-md);
  padding: 16px;
  margin-bottom: 20px;
}

.eaa-alert strong {
  display: block;
  color: var(--warning);
  font-size: 0.875rem;
  margin-bottom: 4px;
}

.eaa-alert p {
  font-size: 0.875rem;
  color: var(--text-secondary);
}

.eaa-scope {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.eaa-scope span {
  font-size: 0.75rem;
  padding: 4px 10px;
  background: var(--bg-muted);
  border-radius: var(--radius-full);
  color: var(--text-secondary);
}

/* EAA countdown */
.countdown-block {
  margin-top: 20px;
  padding-top: 20px;
  border-top: 1px solid var(--border);
}

.countdown-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 12px;
  flex-wrap: wrap;
}

.countdown-label {
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--text-secondary);
}

.countdown-status {
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: var(--radius-full);
}

.countdown-status.elapsed {
  background: var(--critical-bg);
  color: var(--critical);
}

.countdown-status.upcoming {
  background: var(--warning-bg);
  color: var(--warning);
}

.countdown-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
}

.countdown-item {
  background: var(--bg-muted);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 12px 8px;
  text-align: center;
}

.countdown-value {
  font-size: 1.5rem;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  letter-spacing: -0.02em;
  line-height: 1;
  color: var(--text);
}

.countdown-unit {
  font-size: 0.6875rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--text-muted);
  margin-top: 6px;
}

.countdown-deadline {
  margin-top: 10px;
  font-size: 0.75rem;
  color: var(--text-muted);
  font-family: var(--font-mono);
}

/* Urgency strip */
.urgency-strip {
  background: var(--bg-elevated);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 16px 0;
}

.urgency-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
  text-align: center;
}

.urgency-badge {
  background: var(--critical-bg);
  color: var(--critical);
  font-size: 0.75rem;
  font-weight: 700;
  padding: 4px 12px;
  border-radius: var(--radius-full);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.urgency-text {
  font-size: 0.9375rem;
  color: var(--text-secondary);
}

/* Scan form */
.scan-section {
  background: var(--bg-muted);
}

.scan-card {
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 48px;
  box-shadow: var(--shadow-md);
  max-width: 800px;
  margin: 0 auto;
}

.scan-form {
  display: flex;
  gap: 0;
  margin-top: 32px;
  border: 2px solid var(--border);
  border-radius: var(--radius-md);
  overflow: hidden;
  background: var(--bg);
  transition: border-color var(--transition);
}

.scan-form:focus-within {
  border-color: var(--accent);
}

.scan-protocol {
  padding: 0 12px;
  font-family: var(--font-mono);
  font-size: 0.875rem;
  color: var(--text-secondary);
  background: var(--bg-muted);
  border: none;
  border-right: 1px solid var(--border);
  user-select: none;
  flex-shrink: 0;
  line-height: 1;
  display: flex;
  align-items: center;
}

.scan-input {
  flex: 1;
  border: none;
  background: transparent;
  padding: 16px;
  font-family: var(--font-mono);
  font-size: 0.9375rem;
  color: var(--text);
  outline: none;
  min-width: 0;
}

.scan-submit {
  padding: 16px 28px;
  background: var(--accent);
  color: white;
  border: none;
  font-weight: 600;
  cursor: pointer;
  transition: background var(--transition);
  white-space: nowrap;
}

.scan-submit:hover { background: var(--accent-hover); }
.scan-submit:disabled { opacity: 0.6; cursor: not-allowed; }

.scan-trust {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-top: 20px;
  font-size: 0.8125rem;
  color: var(--text-muted);
}

.scan-error {
  margin-top: 12px;
  color: var(--critical);
  font-size: 0.875rem;
}

.scan-disclaimer {
  margin-top: 24px;
  padding-top: 24px;
  border-top: 1px solid var(--border);
  font-size: 0.8125rem;
  color: var(--text-muted);
  line-height: 1.6;
}

/* POUR tabs */
.pour-tabs {
  display: flex;
  gap: 8px;
  margin-bottom: 32px;
  flex-wrap: wrap;
}

.pour-tab {
  padding: 10px 20px;
  border: 1px solid var(--border);
  background: var(--bg-elevated);
  border-radius: var(--radius-full);
  font-size: 0.875rem;
  font-weight: 500;
  cursor: pointer;
  color: var(--text-secondary);
  transition: all var(--transition);
}

.pour-tab.active,
.pour-tab:hover {
  background: var(--accent);
  border-color: var(--accent);
  color: white;
}

.pour-panel { display: none; }
.pour-panel.active { display: block; }

.pour-intro {
  margin-bottom: 32px;
  padding: 24px;
  background: var(--bg-muted);
  border-radius: var(--radius-md);
}

.pour-intro h3 {
  font-size: 1.25rem;
  margin-bottom: 8px;
}

.pour-intro p {
  color: var(--text-secondary);
  font-size: 0.9375rem;
}

.pour-tags {
  display: flex;
  gap: 8px;
  margin-top: 12px;
  flex-wrap: wrap;
}

.pour-tags span {
  font-size: 0.75rem;
  padding: 4px 10px;
  background: var(--bg-elevated);
  border-radius: var(--radius-full);
  color: var(--text-muted);
}

.tools-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 16px;
}

.tool-card {
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 24px;
  transition: all var(--transition);
}

.tool-card:hover {
  border-color: var(--accent);
  box-shadow: var(--shadow-sm);
}

.tool-card h4 {
  font-size: 1rem;
  margin-bottom: 4px;
}

.tool-wcag {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--accent);
  margin-bottom: 12px;
}

.tool-card p {
  font-size: 0.875rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

/* Feature block */
.feature-block {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

.feature-list {
  list-style: none;
  margin: 24px 0;
}

.feature-list li {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 8px 0;
  font-size: 0.9375rem;
  color: var(--text-secondary);
}

.feature-list li::before {
  content: '';
  width: 6px;
  height: 6px;
  background: var(--accent);
  border-radius: 50%;
  flex-shrink: 0;
}

.feature-visual {
  background: var(--bg-muted);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px;
  min-height: 320px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.widget-preview {
  width: 100%;
  max-width: 360px;
  background: var(--bg-elevated);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
}

.widget-preview-bar {
  padding: 12px 16px;
  background: var(--bg-muted);
  font-size: 0.75rem;
  color: var(--text-muted);
  border-bottom: 1px solid var(--border);
}

.widget-preview-body { padding: 24px; }

.widget-fab {
  width: 48px;
  height: 48px;
  background: var(--accent);
  border-radius: 50%;
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
}

.widget-options {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.widget-option {
  padding: 10px 14px;
  background: var(--bg-muted);
  border-radius: var(--radius-sm);
  font-size: 0.8125rem;
  color: var(--text-secondary);
}

/* Platform grid */
.platform-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
  gap: 12px;
}

.platform-item {
  padding: 20px 16px;
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  text-align: center;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--text-secondary);
  transition: all var(--transition);
}

.platform-item:hover {
  border-color: var(--accent);
  color: var(--text);
  transform: translateY(-2px);
}

/* Mobile SDK */
.sdk-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-top: 40px;
}

.sdk-card {
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 28px;
}

.sdk-card h4 {
  font-size: 1rem;
  margin-bottom: 8px;
}

.sdk-card p {
  font-size: 0.875rem;
  color: var(--text-secondary);
}

.sdk-phone {
  background: var(--bg-muted);
  border-radius: var(--radius-lg);
  padding: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.phone-mockup {
  width: 200px;
  height: 400px;
  background: var(--bg-elevated);
  border: 3px solid var(--border-strong);
  border-radius: 28px;
  padding: 12px;
  box-shadow: var(--shadow-lg);
}

.phone-screen {
  width: 100%;
  height: 100%;
  background: linear-gradient(180deg, var(--accent-soft), var(--bg-muted));
  border-radius: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  color: var(--text-muted);
}

.sdk-platforms {
  display: flex;
  gap: 8px;
  margin-top: 24px;
  flex-wrap: wrap;
}

.sdk-platforms span {
  padding: 6px 14px;
  background: var(--bg-muted);
  border-radius: var(--radius-full);
  font-size: 0.8125rem;
  color: var(--text-secondary);
}

/* CTA Banner */
.cta-banner {
  background: linear-gradient(135deg, #0f1419 0%, #1a2332 100%);
  color: white;
  padding: 64px;
  border-radius: var(--radius-lg);
  text-align: center;
}

[data-theme="dark"] .cta-banner {
  background: linear-gradient(135deg, var(--bg-muted) 0%, var(--bg-elevated) 100%);
  border: 1px solid var(--border);
}

.cta-banner h2 {
  font-size: 2rem;
  font-weight: 700;
  letter-spacing: -0.03em;
  margin-bottom: 16px;
  color: white;
}

[data-theme="dark"] .cta-banner h2 { color: var(--text); }

.cta-banner p {
  color: rgba(255, 255, 255, 0.75);
  margin-bottom: 28px;
  max-width: 520px;
  margin-left: auto;
  margin-right: auto;
}

[data-theme="dark"] .cta-banner p { color: var(--text-secondary); }

/* Footer */
.site-footer {
  background: var(--bg-elevated);
  border-top: 1px solid var(--border);
  padding: 64px 0 32px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 48px;
}

.footer-brand p {
  color: var(--text-secondary);
  font-size: 0.9375rem;
  margin-top: 16px;
  line-height: 1.7;
}

.footer-col h4 {
  font-size: 0.8125rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--text-muted);
  margin-bottom: 16px;
}

.footer-col ul { list-style: none; }

.footer-col li { margin-bottom: 10px; }

.footer-col a {
  color: var(--text-secondary);
  font-size: 0.9375rem;
  text-decoration: none;
}

.footer-col a:hover { color: var(--accent); }

.footer-bottom {
  padding-top: 32px;
  border-top: 1px solid var(--border);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
  font-size: 0.8125rem;
  color: var(--text-muted);
}

/* WhatsApp float */
.whatsapp-float {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 200;
  display: flex;
  align-items: center;
  gap: 12px;
  background: #25d366;
  color: white;
  padding: 12px 20px;
  border-radius: var(--radius-full);
  font-weight: 600;
  font-size: 0.875rem;
  text-decoration: none;
  box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
  transition: all var(--transition);
}

.whatsapp-float:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 28px rgba(37, 211, 102, 0.5);
  color: white;
}

.whatsapp-float svg { flex-shrink: 0; }

/* Scan page specific */
.scan-page { min-height: calc(100vh - var(--header-height)); }

.scan-form-page {
  max-width: 720px;
  margin: 0 auto;
  padding: 64px 24px;
}

/* Progress screen */
.scan-progress {
  padding: 48px 24px;
  max-width: 1000px;
  margin: 0 auto;
}

.progress-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: start;
}

.browser-mockup {
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-md);
}

.browser-bar {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 16px;
  background: var(--bg-muted);
  border-bottom: 1px solid var(--border);
}

.browser-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--border-strong);
}

.browser-url {
  flex: 1;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--text-muted);
  background: var(--bg-elevated);
  padding: 6px 12px;
  border-radius: var(--radius-sm);
}

.browser-content {
  position: relative;
  height: 280px;
  background: var(--bg);
  overflow: hidden;
}

.scan-beam {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, transparent, var(--accent), transparent);
  animation: scanBeam 2s ease-in-out infinite;
}

@keyframes scanBeam {
  0%, 100% { top: 0; opacity: 0.5; }
  50% { top: 100%; opacity: 1; }
}

.skeleton-lines {
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.skeleton-line {
  height: 12px;
  background: linear-gradient(90deg, var(--bg-muted) 25%, var(--border) 50%, var(--bg-muted) 75%);
  background-size: 200% 100%;
  animation: shimmer 1.5s infinite;
  border-radius: 4px;
}

.skeleton-line:nth-child(1) { width: 60%; }
.skeleton-line:nth-child(2) { width: 100%; }
.skeleton-line:nth-child(3) { width: 85%; }
.skeleton-line:nth-child(4) { width: 70%; }

@keyframes shimmer {
  0% { background-position: 200% 0; }
  100% { background-position: -200% 0; }
}

.progress-sidebar h2 {
  font-size: 1.5rem;
  margin-bottom: 8px;
}

.progress-meta {
  font-size: 0.875rem;
  color: var(--text-muted);
  margin-bottom: 24px;
}

.issue-counter {
  display: flex;
  align-items: baseline;
  gap: 8px;
  margin-bottom: 24px;
}

.issue-counter .count {
  font-size: 3rem;
  font-weight: 700;
  color: var(--critical);
  font-variant-numeric: tabular-nums;
}

.issue-counter .label {
  font-size: 0.875rem;
  color: var(--text-secondary);
}

.terminal {
  background: #0d1117;
  border-radius: var(--radius-md);
  padding: 16px;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  line-height: 1.8;
  max-height: 200px;
  overflow-y: auto;
}

.terminal-line { color: #9ee37d; }
.terminal-line.warn { color: #ff7b72; }
.terminal-line.info { color: #79c0ff; }

.progress-bar-wrap {
  margin-top: 32px;
}

.progress-bar-header {
  display: flex;
  justify-content: space-between;
  font-size: 0.8125rem;
  color: var(--text-muted);
  margin-bottom: 8px;
}

.progress-bar {
  height: 6px;
  background: var(--bg-muted);
  border-radius: var(--radius-full);
  overflow: hidden;
}

.progress-bar-fill {
  height: 100%;
  background: var(--accent);
  border-radius: var(--radius-full);
  transition: width 0.3s ease;
  width: 0%;
}

.progress-step {
  margin-top: 12px;
  font-size: 0.875rem;
  color: var(--text-secondary);
}

/* Results screen */
.scan-results {
  padding: 32px 24px 96px;
  max-width: 1100px;
  margin: 0 auto;
}

.results-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 32px;
}

.results-back {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--text-secondary);
  font-size: 0.9375rem;
  text-decoration: none;
  font-weight: 500;
}

.results-back:hover { color: var(--accent); }

.region-badge {
  font-size: 0.8125rem;
  color: var(--text-muted);
}

.region-badge strong { color: var(--text); }

.site-header-card {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 24px;
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  margin-bottom: 24px;
}

.site-icon {
  width: 48px;
  height: 48px;
  background: linear-gradient(135deg, var(--accent), #14b8a6);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-weight: 700;
  font-size: 1.25rem;
}

.site-info h2 {
  font-size: 1.25rem;
  margin-bottom: 4px;
}

.site-info h2 a {
  color: var(--text);
  text-decoration: none;
}

.site-info h2 a:hover { color: var(--accent); }

.site-meta {
  font-size: 0.8125rem;
  color: var(--text-muted);
}

.results-disclaimer {
  font-size: 0.8125rem;
  color: var(--text-muted);
  margin-bottom: 32px;
  padding: 16px;
  background: var(--bg-muted);
  border-radius: var(--radius-sm);
}

.summary-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin-bottom: 32px;
}

.summary-card {
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 28px;
}

.summary-card h3 {
  font-size: 0.8125rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--text-muted);
  margin-bottom: 20px;
}

.score-ring-wrap {
  display: flex;
  align-items: center;
  gap: 24px;
}

.score-ring {
  width: 140px;
  height: 140px;
  position: relative;
}

.score-ring svg {
  width: 100%;
  height: 100%;
  transform: rotate(-90deg);
}

.score-ring circle {
  fill: none;
  stroke-width: 8;
}

.score-ring .ring-bg { stroke: var(--bg-muted); }
.score-ring .ring-fill {
  stroke: var(--accent);
  stroke-linecap: round;
  transition: stroke-dashoffset 1s ease, stroke 0.3s;
}

.score-ring .score-value {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
}

.score-desc {
  font-size: 0.875rem;
  color: var(--text-secondary);
  line-height: 1.6;
  flex: 1;
}

.score-desc.good { color: var(--success); }
.score-desc.warn { color: var(--warning); }
.score-desc.bad { color: var(--critical); }

.wcag-breakdown { display: flex; flex-direction: column; gap: 12px; }

.wcag-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 0;
  border-bottom: 1px solid var(--border);
}

.wcag-row:last-child { border-bottom: none; }

.wcag-row-label {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.9375rem;
}

.wcag-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
}

.wcag-dot.critical { background: var(--critical); }
.wcag-dot.passed { background: var(--success); }
.wcag-dot.manual { background: var(--info); }
.wcag-dot.na { background: var(--text-muted); }

.wcag-row-count {
  font-weight: 700;
  font-variant-numeric: tabular-nums;
}

.wcag-link {
  font-size: 0.8125rem;
  margin-top: 12px;
}

/* Risk block */
.risk-block {
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 28px;
  margin-bottom: 32px;
}

.risk-header {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 16px;
}

.risk-label {
  font-size: 0.8125rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--text-muted);
}

.risk-badge {
  padding: 6px 14px;
  border-radius: var(--radius-full);
  font-size: 0.8125rem;
  font-weight: 700;
}

.risk-badge.high {
  background: var(--critical-bg);
  color: var(--critical);
}

.risk-badge.low {
  background: var(--success-bg);
  color: var(--success);
}

.risk-text {
  font-size: 0.9375rem;
  color: var(--text-secondary);
  margin-bottom: 24px;
  line-height: 1.7;
}

.risk-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.risk-stat {
  padding: 20px;
  background: var(--bg-muted);
  border-radius: var(--radius-md);
  text-align: center;
}

.risk-stat .value {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 4px;
}

.risk-stat .label {
  font-size: 0.75rem;
  color: var(--text-muted);
  line-height: 1.4;
}

/* Tabs */
.results-tabs {
  display: flex;
  gap: 4px;
  margin-bottom: 0;
  border-bottom: 1px solid var(--border);
  flex-wrap: wrap;
}

.results-tab {
  padding: 12px 20px;
  background: none;
  border: none;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--text-secondary);
  cursor: pointer;
  border-bottom: 2px solid transparent;
  margin-bottom: -1px;
  transition: all var(--transition);
}

.results-tab:hover { color: var(--text); }
.results-tab.active {
  color: var(--accent);
  border-bottom-color: var(--accent);
}

.tab-panel {
  display: none;
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-top: none;
  border-radius: 0 0 var(--radius-md) var(--radius-md);
  padding: 24px;
}

.tab-panel.active { display: block; }

/* Issues table */
.issues-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.875rem;
}

.issues-table th {
  text-align: left;
  padding: 12px 16px;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--text-muted);
  border-bottom: 1px solid var(--border);
  background: var(--bg-muted);
}

.issues-table td {
  padding: 16px;
  border-bottom: 1px solid var(--border);
  vertical-align: top;
}

.issues-table tr:last-child td { border-bottom: none; }

.issue-title {
  display: flex;
  align-items: flex-start;
  gap: 10px;
}

.severity-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  flex-shrink: 0;
  margin-top: 6px;
}

.severity-dot.critical { background: #a32d2d; }
.severity-dot.serious { background: #d97706; }
.severity-dot.moderate { background: #b4860c; }

.issue-name { font-weight: 600; margin-bottom: 2px; }
.issue-impact { font-size: 0.8125rem; color: var(--text-muted); }

.chip {
  display: inline-block;
  padding: 4px 10px;
  background: var(--bg-muted);
  border-radius: var(--radius-full);
  font-size: 0.75rem;
  color: var(--text-secondary);
  margin: 2px;
}

.chip-wcag {
  font-family: var(--font-mono);
  background: var(--accent-soft);
  color: var(--accent);
  white-space: nowrap;
}

.issues-table td.wcag-cell,
.issues-table th:last-child {
  white-space: nowrap;
}

/* Checklist */
.checklist { list-style: none; }

.checklist li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 12px 0;
  border-bottom: 1px solid var(--border);
  font-size: 0.9375rem;
  color: var(--text-secondary);
}

.checklist li:last-child { border-bottom: none; }

.check-icon {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  flex-shrink: 0;
}

.check-icon.pass { background: var(--success-bg); color: var(--success); }
.check-icon.manual { background: var(--info-bg); color: var(--info); }
.check-icon.na { background: var(--bg-muted); color: var(--text-muted); }

.critical-empty {
  text-align: center;
  padding: 48px 24px;
}

.critical-empty-icon {
  width: 64px;
  height: 64px;
  background: var(--success-bg);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  color: var(--success);
  font-size: 1.5rem;
}

.critical-empty h3 {
  font-size: 1.25rem;
  margin-bottom: 8px;
}

.critical-empty p {
  color: var(--text-secondary);
  font-size: 0.9375rem;
  margin-bottom: 16px;
}

.critical-empty .tag {
  display: inline-block;
  padding: 6px 14px;
  background: var(--success-bg);
  color: var(--success);
  border-radius: var(--radius-full);
  font-size: 0.8125rem;
  font-weight: 600;
}

/* Results CTA */
.results-cta {
  margin-top: 32px;
  padding: 40px;
  border-radius: var(--radius-md);
  text-align: center;
}

.results-cta.urgent {
  background: linear-gradient(135deg, #0f1419 0%, #1a2332 100%);
  color: white;
}

.results-cta.success {
  background: linear-gradient(135deg, var(--success) 0%, #0d9488 100%);
  color: white;
}

.results-cta h3 {
  font-size: 1.5rem;
  margin-bottom: 12px;
}

.results-cta p {
  opacity: 0.85;
  margin-bottom: 24px;
  max-width: 520px;
  margin-left: auto;
  margin-right: auto;
}

/* Mobile nav */
.mobile-menu-btn {
  display: none;
  width: 40px;
  height: 40px;
  border: 1px solid var(--border);
  background: var(--bg-elevated);
  border-radius: var(--radius-sm);
  cursor: pointer;
  align-items: center;
  justify-content: center;
}

/* Responsive */
@media (max-width: 1024px) {
  .hero-grid,
  .feature-block,
  .progress-grid,
  .summary-grid,
  .sdk-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .risk-stats { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
  .nav-links { display: none; }
  .mobile-menu-btn { display: flex; }
  .nav-links.open {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: var(--header-height);
    left: 0;
    right: 0;
    background: var(--bg-elevated);
    border-bottom: 1px solid var(--border);
    padding: 24px;
    gap: 16px;
  }
  .scan-form { flex-direction: column; }
  .scan-protocol { border-right: none; border-bottom: 1px solid var(--border); width: 100%; padding: 12px 16px; }
  .scan-submit { width: 100%; }
  .scan-card { padding: 32px 24px; }
  .issues-table { display: block; overflow-x: auto; }
  .cta-banner { padding: 40px 24px; }
  .whatsapp-float span { display: none; }
  .whatsapp-float { padding: 14px; border-radius: 50%; }
  .countdown-value { font-size: 1.25rem; }
}

/* Hidden utility */
.hidden { display: none !important; }
