/* ============================================
   AUDITS PAGE — Premium dark sales theme
   biggerpicture.cc/audits
   ============================================ */

*,*::before,*::after{box-sizing:border-box}

:root {
  --au-bg: #0a0a0a;
  --au-bg-card: #141414;
  --au-bg-card-hover: #1a1a1a;
  --au-bg-accent: #111;
  --au-border: rgba(255,255,255,0.08);
  --au-border-hover: rgba(255,255,255,0.15);
  --au-text: #f0f0f0;
  --au-text-secondary: #a0a0a0;
  --au-text-muted: #666;
  --au-brand: #3ecf8e;
  --au-brand-dim: rgba(62,207,142,0.15);
  --au-brand-glow: rgba(62,207,142,0.3);
  --au-accent: #7f55d3;
  --au-accent-dim: rgba(127,85,211,0.15);
  --au-orange: #ff974c;
  --au-orange-dim: rgba(255,151,76,0.12);
  --au-font: 'Inter',system-ui,-apple-system,sans-serif;
  --au-font-display: 'Inter',system-ui,-apple-system,sans-serif;
  --au-font-mono: 'JetBrains Mono','Fira Code',ui-monospace,monospace;
  --au-radius: 10px;
  --au-radius-lg: 16px;
  --au-transition: 0.2s cubic-bezier(0.4,0,0.2,1);
  --au-max-w: 1200px;
  --au-gutter: clamp(1rem,4vw,2rem);
}

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body.audits-page {
  margin: 0;
  padding: 0;
  font-family: var(--au-font);
  font-size: 1rem;
  line-height: 1.6;
  color: var(--au-text);
  background: var(--au-bg);
}

[data-lang="pl"] .t-en,
[data-lang="en"] .t-pl { display: none !important; }

.au-icon {
  width: 1em;
  height: 1em;
  display: inline-block;
  vertical-align: -0.125em;
  stroke: var(--au-brand);
  flex-shrink: 0;
}
.au-icon-sm {
  width: 0.85em;
  height: 0.85em;
  display: inline-block;
  vertical-align: -0.1em;
  stroke: var(--au-text-muted);
  flex-shrink: 0;
}

/* ============================================
   LAYOUT
   ============================================ */

.au-container {
  max-width: var(--au-max-w);
  margin: 0 auto;
  padding: 0 var(--au-gutter);
}

.au-section {
  padding: clamp(3rem,8vw,6rem) 0;
}

.au-section + .au-section {
  border-top: 1px solid var(--au-border);
}

/* ============================================
   HEADER
   ============================================ */

.au-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(10,10,10,0.85);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--au-border);
  padding: 0.75rem 0;
}

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

.au-logo {
  font-weight: 700;
  font-size: 1.1rem;
  color: var(--au-text);
  text-decoration: none;
  letter-spacing: -0.02em;
  white-space: nowrap;
}

.au-logo span { color: var(--au-brand); }

.au-nav {
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

.au-nav a {
  color: var(--au-text-secondary);
  text-decoration: none;
  font-size: 0.875rem;
  padding: 0.4rem 0.75rem;
  border-radius: 6px;
  transition: color var(--au-transition), background var(--au-transition);
}
.au-nav a:hover {
  color: var(--au-text);
  background: rgba(255,255,255,0.05);
}

.au-lang-toggle {
  display: flex;
  gap: 0;
  border: 1px solid var(--au-border);
  border-radius: 6px;
  overflow: hidden;
  margin-left: 0.5rem;
}
.au-lang-toggle button {
  background: none;
  border: none;
  color: var(--au-text-muted);
  font-size: 0.8rem;
  font-weight: 600;
  padding: 0.35rem 0.6rem;
  cursor: pointer;
  transition: all var(--au-transition);
  font-family: inherit;
}
.au-lang-toggle button.active {
  background: var(--au-brand);
  color: #000;
}
.au-lang-toggle button:hover:not(.active) {
  color: var(--au-text);
}

.au-header-cta {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: var(--au-brand);
  color: #000;
  font-weight: 600;
  font-size: 0.85rem;
  padding: 0.5rem 1rem;
  border-radius: 8px;
  text-decoration: none;
  transition: all var(--au-transition);
  white-space: nowrap;
}
.au-header-cta:hover {
  background: #50e0a0;
  transform: translateY(-1px);
  box-shadow: 0 4px 16px var(--au-brand-glow);
}

/* ============================================
   HERO
   ============================================ */

.au-hero {
  padding: clamp(4rem,12vw,8rem) 0 clamp(3rem,8vw,5rem);
  text-align: center;
}

.au-hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--au-brand-dim);
  color: var(--au-brand);
  font-size: 0.8rem;
  font-weight: 600;
  padding: 0.4rem 1rem;
  border-radius: 999px;
  margin-bottom: 1.5rem;
  letter-spacing: 0.02em;
}

.au-hero h1 {
  font-size: clamp(2rem,5vw,3.5rem);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.03em;
  margin: 0 auto 1rem;
  max-width: 800px;
}

.au-hero h1 .au-highlight {
  background: linear-gradient(135deg, var(--au-brand), #50e0a0);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.au-hero-sub {
  font-size: clamp(1rem,2vw,1.25rem);
  color: var(--au-text-secondary);
  max-width: 600px;
  margin: 0 auto 2rem;
  line-height: 1.6;
}

.au-hero-actions {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

.au-btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--au-brand);
  color: #000;
  font-weight: 700;
  font-size: 1rem;
  padding: 0.85rem 2rem;
  border-radius: 10px;
  border: none;
  cursor: pointer;
  text-decoration: none;
  transition: all var(--au-transition);
  font-family: inherit;
}
.au-btn-primary:hover {
  background: #50e0a0;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px var(--au-brand-glow);
}

.au-btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: transparent;
  color: var(--au-text);
  font-weight: 600;
  font-size: 1rem;
  padding: 0.85rem 2rem;
  border-radius: 10px;
  border: 1px solid var(--au-border);
  cursor: pointer;
  text-decoration: none;
  transition: all var(--au-transition);
  font-family: inherit;
}
.au-btn-secondary:hover {
  border-color: var(--au-border-hover);
  background: rgba(255,255,255,0.03);
}

.au-hero-proof {
  display: flex;
  justify-content: center;
  gap: 2rem;
  margin-top: 3rem;
  flex-wrap: wrap;
}
.au-proof-item {
  text-align: center;
}
.au-proof-item strong {
  display: block;
  font-size: 1.5rem;
  color: var(--au-text);
}
.au-proof-item span {
  font-size: 0.8rem;
  color: var(--au-text-muted);
}

/* ============================================
   PRICING CARDS
   ============================================ */

.au-tier-header {
  text-align: center;
  margin-bottom: 2.5rem;
}

.au-tier-badge {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  padding: 0.3rem 0.8rem;
  border-radius: 999px;
  margin-bottom: 0.75rem;
}
.au-tier-badge.tier1 { background: var(--au-brand-dim); color: var(--au-brand); }
.au-tier-badge.tier2 { background: var(--au-accent-dim); color: var(--au-accent); }
.au-tier-badge.tier3 { background: var(--au-orange-dim); color: var(--au-orange); }

.au-tier-title {
  font-size: clamp(1.5rem,3vw,2rem);
  font-weight: 700;
  margin: 0 0 0.5rem;
  letter-spacing: -0.02em;
}

.au-tier-desc {
  color: var(--au-text-secondary);
  font-size: 0.95rem;
  max-width: 500px;
  margin: 0 auto;
}

.au-cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 1.25rem;
}

.au-card {
  background: var(--au-bg-card);
  border: 1px solid var(--au-border);
  border-radius: var(--au-radius-lg);
  padding: 1.75rem;
  transition: all var(--au-transition);
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
}
.au-card:hover {
  border-color: var(--au-border-hover);
  background: var(--au-bg-card-hover);
  transform: translateY(-2px);
  box-shadow: 0 8px 32px rgba(0,0,0,0.3);
}

.au-card.featured {
  border-color: var(--au-brand);
  box-shadow: 0 0 0 1px var(--au-brand), 0 8px 32px rgba(62,207,142,0.1);
}
.au-card.featured::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--au-brand), #50e0a0);
}

.au-card-name {
  font-size: 1.1rem;
  font-weight: 700;
  margin: 0 0 0.5rem;
  letter-spacing: -0.01em;
}

.au-card-desc {
  font-size: 0.85rem;
  color: var(--au-text-secondary);
  margin: 0 0 1.25rem;
  line-height: 1.5;
  flex: 1;
}

.au-card-price {
  margin-bottom: 1rem;
}
.au-card-price .from {
  font-size: 0.75rem;
  color: var(--au-text-muted);
  display: block;
  margin-bottom: 0.15rem;
}
.au-card-price .amount {
  font-size: 1.75rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--au-text);
}
.au-card-price .currency {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--au-text-secondary);
  margin-left: 0.15rem;
}
.au-card-price .range {
  font-size: 0.75rem;
  color: var(--au-text-muted);
  display: block;
  margin-top: 0.15rem;
}

.au-card-features {
  list-style: none;
  margin: 0 0 1.5rem;
  padding: 0;
  border-top: 1px solid var(--au-border);
  padding-top: 1rem;
}
.au-card-features li {
  font-size: 0.85rem;
  color: var(--au-text-secondary);
  padding: 0.3rem 0;
  padding-left: 1.4rem;
  position: relative;
}
.au-card-features li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--au-brand);
  font-weight: 700;
}

.au-card-cta {
  display: block;
  width: 100%;
  text-align: center;
  padding: 0.75rem 1.5rem;
  border-radius: 8px;
  font-weight: 600;
  font-size: 0.9rem;
  cursor: pointer;
  transition: all var(--au-transition);
  text-decoration: none;
  border: none;
  font-family: inherit;
  margin-top: auto;
}
.au-card-cta.primary {
  background: var(--au-brand);
  color: #000;
}
.au-card-cta.primary:hover {
  background: #50e0a0;
  box-shadow: 0 4px 16px var(--au-brand-glow);
}
.au-card-cta.secondary {
  background: transparent;
  color: var(--au-text);
  border: 1px solid var(--au-border);
}
.au-card-cta.secondary:hover {
  border-color: var(--au-border-hover);
  background: rgba(255,255,255,0.03);
}

/* ============================================
   AI AGENT TRAP SECTION
   ============================================ */

.au-ai-section {
  background: linear-gradient(180deg, rgba(127,85,211,0.05) 0%, transparent 100%);
  border: 1px solid rgba(127,85,211,0.15);
  border-radius: var(--au-radius-lg);
  padding: clamp(2rem,5vw,3.5rem);
  margin-top: 2rem;
  position: relative;
  overflow: hidden;
}
.au-ai-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--au-accent), var(--au-brand));
}

.au-ai-icon {
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

.au-ai-title {
  font-size: 1.5rem;
  font-weight: 700;
  margin: 0 0 0.75rem;
}

.au-ai-text {
  color: var(--au-text-secondary);
  font-size: 0.95rem;
  max-width: 700px;
  margin-bottom: 1.5rem;
  line-height: 1.6;
}

.au-ai-features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1rem;
  margin-bottom: 1.5rem;
}
.au-ai-feature {
  padding: 1rem;
  background: rgba(127,85,211,0.08);
  border-radius: 8px;
  border: 1px solid rgba(127,85,211,0.1);
}
.au-ai-feature strong {
  display: block;
  font-size: 0.9rem;
  margin-bottom: 0.25rem;
}
.au-ai-feature span {
  font-size: 0.8rem;
  color: var(--au-text-muted);
}

/* ============================================
   HOW IT WORKS
   ============================================ */

.au-steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 2rem;
  counter-reset: step;
}

.au-step {
  position: relative;
  padding-top: 3rem;
}
.au-step::before {
  counter-increment: step;
  content: counter(step);
  position: absolute;
  top: 0;
  left: 0;
  width: 2.5rem;
  height: 2.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--au-brand-dim);
  color: var(--au-brand);
  font-weight: 800;
  font-size: 1rem;
  border-radius: 8px;
}

.au-step h3 {
  font-size: 1rem;
  font-weight: 700;
  margin: 0 0 0.4rem;
}

.au-step p {
  font-size: 0.85rem;
  color: var(--au-text-secondary);
  margin: 0;
}

/* ============================================
   FAQ
   ============================================ */

.au-faq-list {
  max-width: 700px;
  margin: 0 auto;
}

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

.au-faq-q {
  width: 100%;
  background: none;
  border: none;
  color: var(--au-text);
  font-family: inherit;
  font-size: 1rem;
  font-weight: 600;
  text-align: left;
  padding: 1.25rem 2rem 1.25rem 0;
  cursor: pointer;
  position: relative;
  transition: color var(--au-transition);
}
.au-faq-q:hover { color: var(--au-brand); }
.au-faq-q::after {
  content: '+';
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  font-size: 1.25rem;
  color: var(--au-text-muted);
  transition: transform var(--au-transition);
}
.au-faq-item.open .au-faq-q::after {
  transform: translateY(-50%) rotate(45deg);
}

.au-faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease-out;
  color: var(--au-text-secondary);
  font-size: 0.9rem;
  line-height: 1.6;
}
.au-faq-item.open .au-faq-a {
  max-height: 500px;
  padding-bottom: 1.25rem;
}

/* ============================================
   FINAL CTA
   ============================================ */

.au-final-cta {
  text-align: center;
  padding: clamp(3rem,8vw,5rem) 0;
}

.au-final-cta h2 {
  font-size: clamp(1.5rem,4vw,2.5rem);
  font-weight: 800;
  margin: 0 0 1rem;
  letter-spacing: -0.03em;
}

.au-final-cta p {
  color: var(--au-text-secondary);
  font-size: 1.1rem;
  margin-bottom: 2rem;
  max-width: 500px;
  margin-left: auto;
  margin-right: auto;
}

/* ============================================
   FOOTER
   ============================================ */

.au-footer {
  border-top: 1px solid var(--au-border);
  padding: 2rem 0;
  text-align: center;
  font-size: 0.8rem;
  color: var(--au-text-muted);
}
.au-footer a {
  color: var(--au-text-secondary);
  text-decoration: none;
}
.au-footer a:hover {
  color: var(--au-brand);
}

/* ============================================
   RAAS HIGHLIGHT
   ============================================ */

.au-raas-box {
  background: linear-gradient(135deg, rgba(62,207,142,0.08), rgba(127,85,211,0.08));
  border: 1px solid rgba(62,207,142,0.15);
  border-radius: var(--au-radius-lg);
  padding: clamp(2rem,5vw,3rem);
  text-align: center;
  margin-top: 2rem;
}

.au-raas-title {
  font-size: 1.5rem;
  font-weight: 800;
  margin: 0 0 0.5rem;
  letter-spacing: -0.02em;
}

.au-raas-desc {
  color: var(--au-text-secondary);
  max-width: 600px;
  margin: 0 auto 1.5rem;
  font-size: 0.95rem;
}

/* ============================================
   RESPONSIVE
   ============================================ */

@media (max-width: 768px) {
  .au-nav { display: none; }
  .au-cards-grid { grid-template-columns: 1fr; }
  .au-hero-proof { gap: 1.5rem; }
  .au-header-inner { padding: 0 0.5rem; }
}

@media (max-width: 480px) {
  .au-hero-actions { flex-direction: column; align-items: stretch; }
  .au-hero-actions a, .au-hero-actions button { text-align: center; }
}

/* ============================================
   SKIP LINK & A11Y
   ============================================ */

.au-skip-link {
  position: absolute;
  top: -40px;
  left: 0;
  background: var(--au-brand);
  color: #000;
  padding: 0.5rem 1rem;
  z-index: 200;
  text-decoration: none;
  font-weight: 600;
  border-radius: 0 0 8px 0;
}
.au-skip-link:focus { top: 0; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

/* ============================================
   SECTION HEADERS
   ============================================ */

.au-section-header {
  text-align: center;
  margin-bottom: 2.5rem;
}

.au-section-title {
  font-size: clamp(1.5rem,3vw,2rem);
  font-weight: 700;
  margin: 0 0 0.5rem;
  letter-spacing: -0.02em;
}

.au-section-desc {
  color: var(--au-text-secondary);
  font-size: 0.95rem;
  max-width: 550px;
  margin: 0 auto;
}

/* ============================================
   STRIPE NOTICE
   ============================================ */

.au-stripe-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.75rem;
  color: var(--au-text-muted);
  margin-top: 1rem;
}
.au-stripe-badge svg {
  width: 16px;
  height: 16px;
  opacity: 0.5;
}

/* ============================================
   SCANNER TOOL
   ============================================ */

.au-scanner-box {
  background: linear-gradient(180deg, rgba(62,207,142,0.06) 0%, transparent 100%);
  border: 1px solid rgba(62,207,142,0.12);
  border-radius: var(--au-radius-lg);
  padding: clamp(2rem,5vw,3.5rem);
}

.au-scanner-form { margin-top: 1.5rem; }

.au-scanner-input-wrap {
  display: flex;
  gap: 0;
  max-width: 560px;
  margin: 0 auto;
  border-radius: 12px;
  border: 1.5px solid var(--au-brand);
  background: rgba(0,0,0,0.3);
  overflow: hidden;
  transition: box-shadow 0.25s ease, border-color 0.25s ease;
}
.au-scanner-input-wrap:focus-within {
  border-color: #50e0a0;
  box-shadow:
    0 0 0 4px var(--au-brand-dim),
    0 0 32px var(--au-brand-glow),
    0 0 64px rgba(62,207,142,0.1);
}

.au-scanner-input {
  flex: 1;
  background: transparent;
  border: none;
  color: var(--au-text);
  font-family: var(--au-font-mono);
  font-size: clamp(0.85rem, 2vw, 0.95rem);
  padding: 0.85rem clamp(0.75rem, 2vw, 1.25rem);
  outline: none;
  min-width: 0;
  height: auto;
}
.au-scanner-input::placeholder { color: var(--au-text-muted); }

.au-scanner-btn {
  white-space: nowrap;
  border-radius: 0;
  padding: 0.85rem clamp(1rem, 3vw, 1.75rem);
  border-left: 1px solid rgba(62,207,142,0.25);
  flex-shrink: 0;
}

.au-scanner-hint {
  text-align: center;
  font-size: 0.8rem;
  color: var(--au-text-muted);
  margin-top: 0.75rem;
}

.au-scanner-results { margin-top: 2rem; }

.au-scanner-loading {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  padding: 2rem;
  color: var(--au-text-secondary);
}

.au-spinner {
  width: 20px;
  height: 20px;
  border: 2px solid var(--au-border);
  border-top-color: var(--au-brand);
  border-radius: 50%;
  animation: au-spin 0.6s linear infinite;
}
@keyframes au-spin { to { transform: rotate(360deg); } }

.au-scanner-report-title {
  font-size: 1.25rem;
  font-weight: 700;
  margin: 0 0 0.25rem;
}

.au-scanner-report-url {
  font-family: var(--au-font-mono);
  font-size: 0.8rem;
  color: var(--au-text-muted);
  margin: 0 0 1.5rem;
}

.au-scanner-scores {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(130px, 1fr));
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.au-score-card {
  background: var(--au-bg-card);
  border: 1px solid var(--au-border);
  border-radius: 10px;
  padding: 1.25rem 1rem;
  text-align: center;
}
.au-score-card .score-value {
  font-size: 2rem;
  font-weight: 800;
  line-height: 1;
  margin-bottom: 0.25rem;
}
.au-score-card .score-value.good { color: var(--au-brand); }
.au-score-card .score-value.ok { color: #f59e0b; }
.au-score-card .score-value.bad { color: #ef4444; }
.au-score-card .score-label {
  font-size: 0.75rem;
  color: var(--au-text-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.au-scanner-issues { margin-bottom: 1.5rem; }

.au-issue-item {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  padding: 0.75rem 0;
  border-bottom: 1px solid var(--au-border);
  font-size: 0.85rem;
  color: var(--au-text-secondary);
}
.au-issue-item:last-child { border-bottom: none; }
.au-issue-icon { flex-shrink: 0; font-size: 1rem; }

.au-scanner-cta {
  background: var(--au-bg-card);
  border: 1px solid var(--au-brand);
  border-radius: 10px;
  padding: 1.5rem;
  text-align: center;
}
.au-scanner-cta p {
  color: var(--au-text-secondary);
  font-size: 0.9rem;
  margin: 0 0 1rem;
  max-width: 500px;
  margin-left: auto;
  margin-right: auto;
}

.au-scanner-error {
  text-align: center;
  color: #ef4444;
  padding: 1.5rem;
}

/* ============================================
   SAMPLE REPORTS — Slide deck style
   ============================================ */

.au-samples {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.au-sample {
  border-radius: var(--au-radius-lg);
  overflow: hidden;
  transition: box-shadow 0.3s ease;
}
.au-sample[open] {
  box-shadow: 0 16px 48px rgba(0,0,0,0.25);
}

.au-sample-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.1rem 1.75rem;
  cursor: pointer;
  list-style: none;
  background: var(--au-bg-card);
  border: 1px solid var(--au-border);
  border-radius: var(--au-radius-lg);
  transition: all var(--au-transition);
}
.au-sample[open] .au-sample-header {
  border-radius: var(--au-radius-lg) var(--au-radius-lg) 0 0;
  border-bottom-color: transparent;
}
.au-sample-header:hover { background: var(--au-bg-card-hover); }
.au-sample-header::-webkit-details-marker { display: none; }
.au-sample-header::marker { content: ''; }

.au-sample-type {
  font-weight: 700;
  font-size: clamp(0.95rem, 2vw, 1.1rem);
}

.au-sample-tag {
  font-size: 0.65rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--au-brand);
  background: var(--au-brand-dim);
  padding: 0.25rem 0.7rem;
  border-radius: 999px;
}

/* ---- SLIDE CONTAINER ---- */
.au-sample-page {
  background: #111;
  border: 1px solid var(--au-border);
  border-top: none;
  border-radius: 0 0 var(--au-radius-lg) var(--au-radius-lg);
  overflow: hidden;
}

/* ---- INDIVIDUAL SLIDE ---- */
.au-slide {
  padding: clamp(1.5rem, 4vw, 2.5rem) clamp(1.5rem, 5vw, 3rem);
  position: relative;
  animation: au-slide-in 0.4s ease-out both;
  border-bottom: 1px solid rgba(255,255,255,0.04);
}
.au-slide:last-child { border-bottom: none; }
.au-slide:nth-child(1) { animation-delay: 0s; }
.au-slide:nth-child(2) { animation-delay: 0.08s; }
.au-slide:nth-child(3) { animation-delay: 0.16s; }
.au-slide:nth-child(4) { animation-delay: 0.24s; }

@keyframes au-slide-in {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}

/* Slide number indicator */
.au-slide::before {
  content: attr(data-slide);
  position: absolute;
  top: clamp(1rem, 3vw, 1.5rem);
  right: clamp(1rem, 3vw, 1.5rem);
  font-size: 0.6rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--au-text-muted);
  opacity: 0.5;
  text-transform: uppercase;
}

/* ---- SLIDE: TITLE ---- */
.au-slide-title {
  background: linear-gradient(135deg, var(--au-bg-card) 0%, rgba(62,207,142,0.06) 100%);
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: clamp(8rem, 20vw, 12rem);
}

.au-slide-title .au-sample-logo {
  font-weight: 700;
  font-size: 0.85rem;
  margin-bottom: 1rem;
  opacity: 0.6;
}
.au-slide-title .au-sample-logo span { color: var(--au-brand); }

.au-slide-title h4 {
  font-size: clamp(1.25rem, 3vw, 1.75rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  margin: 0 0 0.5rem;
  line-height: 1.2;
}

.au-sample-meta-row {
  display: flex;
  gap: 1.5rem;
  flex-wrap: wrap;
  font-size: 0.75rem;
  color: var(--au-text-muted);
  margin-top: 0.75rem;
}

/* ---- SLIDE: STATS ---- */
.au-sample-section-title {
  font-size: clamp(0.7rem, 1.5vw, 0.8rem);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--au-text-muted);
  margin: 0 0 clamp(0.75rem, 2vw, 1rem);
  padding-bottom: 0;
  border-bottom: none;
}

.au-sample-summary-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: clamp(0.5rem, 1.5vw, 0.75rem);
  margin-bottom: 0;
}
.au-sample-summary-grid.cols-3 { grid-template-columns: repeat(3, 1fr); }
.au-sample-summary-grid.cols-5 { grid-template-columns: repeat(5, 1fr); }

.au-sample-stat {
  text-align: center;
  padding: clamp(0.75rem, 2vw, 1.25rem) 0.5rem;
  background: rgba(255,255,255,0.03);
  border: 1px solid var(--au-border);
  border-radius: 10px;
  transition: transform 0.2s ease, border-color 0.2s ease;
}
.au-sample-stat:hover {
  transform: translateY(-2px);
  border-color: var(--au-border-hover);
}

.au-sample-stat-value {
  display: block;
  font-size: clamp(1.5rem, 4vw, 2rem);
  font-weight: 800;
  line-height: 1.1;
}
.au-sample-stat-label {
  display: block;
  font-size: clamp(0.55rem, 1.2vw, 0.65rem);
  color: var(--au-text-muted);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-top: 0.25rem;
}

/* ---- SLIDE: ROADMAP ---- */
.au-roadmap {
  display: flex;
  flex-direction: column;
  gap: 0;
}
.au-roadmap-phase {
  display: flex;
  gap: 1.25rem;
  padding: clamp(0.6rem, 1.5vw, 0.85rem) 0;
  border-bottom: 1px solid rgba(255,255,255,0.04);
  align-items: baseline;
}
.au-roadmap-phase:last-child { border-bottom: none; }
.au-roadmap-label {
  min-width: 5rem;
  font-weight: 800;
  font-size: clamp(0.75rem, 1.5vw, 0.85rem);
  color: var(--au-brand);
  flex-shrink: 0;
}
.au-roadmap-content {
  font-size: clamp(0.78rem, 1.5vw, 0.85rem);
  color: var(--au-text-secondary);
  line-height: 1.55;
}

/* ---- SLIDE: DELIVERABLES ---- */
.au-sample-deliverables { margin-top: 0; }
.au-deliverable-list {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}
.au-deliverable {
  display: flex;
  align-items: baseline;
  gap: 0.75rem;
  font-size: clamp(0.78rem, 1.5vw, 0.85rem);
  color: var(--au-text-secondary);
  line-height: 1.5;
}
.au-deliverable-icon {
  color: var(--au-brand);
  font-size: 0.55rem;
  flex-shrink: 0;
  margin-top: 0.2rem;
}

/* ---- SLIDE: CTA (last slide) ---- */
.au-slide-cta {
  background: linear-gradient(135deg, rgba(62,207,142,0.08) 0%, rgba(127,85,211,0.06) 100%);
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: clamp(10rem, 25vw, 14rem);
  border-bottom: none;
}
.au-slide-cta .au-slide-cta-title {
  font-size: clamp(1.1rem, 2.5vw, 1.4rem);
  font-weight: 800;
  margin: 0 0 0.5rem;
  letter-spacing: -0.02em;
}
.au-slide-cta .au-slide-cta-sub {
  font-size: clamp(0.8rem, 1.5vw, 0.9rem);
  color: var(--au-text-secondary);
  margin: 0 0 1.5rem;
  max-width: 400px;
  line-height: 1.5;
}

.au-sample-blur-note {
  font-size: clamp(0.7rem, 1.3vw, 0.8rem);
  color: var(--au-text-muted);
  text-align: center;
  padding: 0.75rem 0 0;
  margin: 0;
  font-style: italic;
  opacity: 0.7;
}

.au-samples-cta-note {
  text-align: center;
  font-size: clamp(0.8rem, 1.5vw, 0.9rem);
  color: var(--au-text-muted);
  margin-top: 1.5rem;
}

@media (max-width: 480px) {
  .au-sample-summary-grid { grid-template-columns: repeat(2, 1fr); }
  .au-sample-summary-grid.cols-3 { grid-template-columns: repeat(3, 1fr); }
  .au-sample-summary-grid.cols-5 { grid-template-columns: repeat(3, 1fr); }
  .au-roadmap-phase { flex-direction: column; gap: 0.25rem; }
  .au-slide::before { display: none; }
}

.au-report-card {
  border: 1px solid var(--au-border);
  border-radius: 8px;
  padding: 1rem 1.25rem;
  margin-bottom: 0.75rem;
  background: rgba(255,255,255,0.02);
}

.au-report-header {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 0.5rem;
}

.au-report-badge {
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 0.2rem 0.6rem;
  border-radius: 999px;
}
.au-report-badge.critical { background: rgba(239,68,68,0.15); color: #ef4444; }
.au-report-badge.high { background: rgba(245,158,11,0.15); color: #f59e0b; }
.au-report-badge.medium { background: rgba(59,130,246,0.15); color: #3b82f6; }

.au-report-heuristic {
  font-size: 0.75rem;
  color: var(--au-text-muted);
  font-family: var(--au-font-mono);
}

.au-report-finding {
  font-size: 0.85rem;
  color: var(--au-text-secondary);
  margin: 0 0 0.5rem;
  line-height: 1.5;
}

.au-report-meta {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  font-size: 0.75rem;
  color: var(--au-text-muted);
}

.au-report-preview-note {
  font-size: 0.85rem;
  color: var(--au-text-muted);
  margin: 1rem 0 0;
  text-align: center;
}

@media (max-width: 480px) {
  .au-scanner-input-wrap { max-width: 100%; }
}

/* ============================================
   HTTP EDUCATION MODAL
   ============================================ */

.au-modal-backdrop {
  position: fixed;
  inset: 0;
  z-index: 1000;
  background: rgba(0,0,0,0.6);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: var(--au-gutter);
}
.au-modal-backdrop[hidden] { display: none; }

.au-modal {
  background: var(--au-bg-card);
  border: 1px solid var(--au-border);
  border-radius: var(--au-radius-lg);
  padding: clamp(1.5rem,4vw,2.5rem);
  max-width: 480px;
  width: 100%;
  position: relative;
  animation: au-modal-in 0.25s ease-out;
}
@keyframes au-modal-in {
  from { opacity: 0; transform: translateY(12px) scale(0.97); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

.au-modal-close {
  position: absolute;
  top: 0.75rem;
  right: 0.75rem;
  background: none;
  border: none;
  color: var(--au-text-muted);
  font-size: 1.5rem;
  cursor: pointer;
  line-height: 1;
  padding: 0.25rem;
  transition: color var(--au-transition);
}
.au-modal-close:hover { color: var(--au-text); }

.au-modal-title {
  font-size: 1.25rem;
  font-weight: 700;
  margin: 0 0 1.25rem;
  padding-right: 2rem;
}

.au-modal-body { margin-bottom: 1.5rem; }

.au-modal-item {
  margin-bottom: 1rem;
}
.au-modal-item:last-child { margin-bottom: 0; }
.au-modal-item strong {
  display: block;
  font-size: 0.9rem;
  margin-bottom: 0.15rem;
}
.au-modal-item p {
  font-size: 0.85rem;
  color: var(--au-text-secondary);
  margin: 0;
  line-height: 1.5;
}

.au-modal-cta {
  width: 100%;
  justify-content: center;
}
