/* ═══════════════════════════════════════════════════════════
   SimpleCookie – Design System
   Inspired by Cookiebot, Cookie Information, CookieYes
   ═══════════════════════════════════════════════════════════ */

/* ── Variables ─────────────────────────────────────────── */
:root {
  --primary: #1b5fc1;
  --primary-light: #3b82f6;
  --primary-dark: #1e40af;
  --primary-bg: #eff6ff;
  --accent: #10b981;
  --accent-light: #d1fae5;
  --bg: #ffffff;
  --bg-alt: #f8fafc;
  --bg-dark: #0f172a;
  --bg-card: #ffffff;
  --text: #0f172a;
  --text-secondary: #475569;
  --text-muted: #94a3b8;
  --border: #e2e8f0;
  --border-light: #f1f5f9;
  --shadow-sm: 0 1px 3px rgba(0,0,0,.06);
  --shadow-md: 0 4px 16px rgba(0,0,0,.08);
  --shadow-lg: 0 12px 40px rgba(0,0,0,.12);
  --shadow-xl: 0 20px 60px rgba(0,0,0,.16);
  --radius: 12px;
  --radius-lg: 20px;
  --radius-full: 999px;
  --font: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', system-ui, sans-serif;
  --transition: .2s ease;
  --max-width: 1200px;
}

/* ── Reset & Base ──────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-font-smoothing: antialiased; }
body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--primary); text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--primary-dark); }

/* ── Container ─────────────────────────────────────────── */
.container { max-width: var(--max-width); margin: 0 auto; padding: 0 24px; }

/* ── Navigation ────────────────────────────────────────── */
.navbar {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255,255,255,.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  padding: 0 24px;
}
.navbar-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 64px;
}
.navbar-brand {
  font-weight: 800;
  font-size: 20px;
  color: var(--text);
  display: flex;
  align-items: center;
  gap: 8px;
}
.navbar-brand .brand-icon {
  width: 32px; height: 32px;
  background: var(--primary);
  border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  color: #fff; font-size: 16px;
}
.navbar-links {
  display: flex;
  align-items: center;
  gap: 8px;
}
.navbar-links a {
  padding: 8px 16px;
  font-size: 14px;
  font-weight: 500;
  color: var(--text-secondary);
  border-radius: var(--radius);
  transition: all var(--transition);
}
.navbar-links a:hover {
  color: var(--text);
  background: var(--bg-alt);
}
.navbar-links .btn-primary,
.navbar-links .btn-primary:hover {
  background: var(--accent);
  border-color: var(--accent);
  color: #fff;
}
.navbar-links .btn-primary:hover {
  background: #059669;
}

#funktioner,
#priser,
#faq {
  scroll-margin-top: 84px;
}

/* ── Buttons ───────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 20px;
  font-size: 14px;
  font-weight: 600;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--bg);
  color: var(--text);
  cursor: pointer;
  transition: all var(--transition);
  text-decoration: none;
  white-space: nowrap;
}
.btn:hover {
  transform: translateY(-1px);
  box-shadow: var(--shadow-sm);
  color: var(--text);
}
.btn-primary {
  background: var(--primary);
  color: #fff;
  border-color: var(--primary);
}
.btn-primary:hover {
  background: var(--primary-dark);
  color: #fff;
  box-shadow: 0 4px 16px rgba(27,95,193,.35);
}
.btn-accent {
  background: var(--accent);
  color: #fff;
  border-color: var(--accent);
}
.btn-accent:hover {
  background: #059669;
  color: #fff;
  box-shadow: 0 4px 16px rgba(16,185,129,.35);
}
.btn-ghost {
  background: transparent;
  border-color: rgba(255,255,255,.3);
  color: #fff;
}
.btn-ghost:hover {
  background: rgba(255,255,255,.1);
  color: #fff;
}
.btn-lg {
  padding: 14px 28px;
  font-size: 16px;
  border-radius: 14px;
}
.btn-sm {
  padding: 6px 14px;
  font-size: 13px;
}
.btn-danger {
  background: #fef2f2;
  color: #991b1b;
  border-color: #fecaca;
}
.btn-danger:hover {
  background: #fee2e2;
}
.btn[disabled],
.btn:disabled {
  opacity: .6;
  cursor: not-allowed;
  transform: none;
  box-shadow: none;
}
.btn-loading {
  position: relative;
  pointer-events: none;
}
.btn-loading::before {
  content: "";
  width: 12px;
  height: 12px;
  border-radius: 50%;
  border: 2px solid rgba(255,255,255,.65);
  border-top-color: #fff;
  animation: sc-spin .8s linear infinite;
  display: inline-block;
  margin-right: 8px;
}
@keyframes sc-spin {
  to { transform: rotate(360deg); }
}

/* ── Pill / Badge ──────────────────────────────────────── */
.pill {
  display: inline-block;
  padding: 6px 14px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .5px;
  border-radius: var(--radius-full);
  background: var(--primary-bg);
  color: var(--primary);
  text-transform: uppercase;
}
.pill-accent {
  background: var(--accent-light);
  color: #065f46;
}

/* ── Section ───────────────────────────────────────────── */
.section {
  padding: 80px 24px;
}
.section-alt {
  background: var(--bg-alt);
}
.section-dark {
  background: var(--bg-dark);
  color: #e2e8f0;
}
.section-title {
  font-size: 36px;
  font-weight: 800;
  line-height: 1.15;
  margin-bottom: 12px;
}
.section-subtitle {
  font-size: 18px;
  color: var(--text-secondary);
  max-width: 600px;
  line-height: 1.6;
}
.section-center {
  text-align: center;
}
.section-center .section-subtitle {
  margin: 0 auto;
}

/* ═══════════════════════════════════════════════════════════
   HERO
   ═══════════════════════════════════════════════════════════ */
.hero {
  position: relative;
  padding: 100px 24px 80px;
  background: linear-gradient(135deg, #0f172a 0%, #1e3a5f 40%, #1b5fc1 100%);
  color: #fff;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 800px;
  height: 800px;
  background: radial-gradient(circle, rgba(59,130,246,.2) 0%, transparent 70%);
  pointer-events: none;
}
.hero::after {
  content: '';
  position: absolute;
  bottom: -30%;
  left: -10%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(16,185,129,.15) 0%, transparent 70%);
  pointer-events: none;
}
.hero-inner {
  position: relative;
  max-width: var(--max-width);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}
.hero-content { z-index: 1; }
.hero-content .pill {
  background: rgba(255,255,255,.12);
  color: #93c5fd;
  backdrop-filter: blur(4px);
  margin-bottom: 20px;
}
.hero h1 {
  font-size: 52px;
  font-weight: 800;
  line-height: 1.08;
  margin-bottom: 20px;
  letter-spacing: -.5px;
}
.hero p {
  font-size: 18px;
  line-height: 1.6;
  color: #cbd5e1;
  margin-bottom: 28px;
  max-width: 520px;
}
.hero-cta {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 24px;
}
.hero-checks {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
  font-size: 13px;
  color: #94a3b8;
}
.hero-checks span {
  display: flex;
  align-items: center;
  gap: 6px;
}
.hero-checks .check-icon {
  color: var(--accent);
}

/* Hero visual (cookie banner preview) */
.hero-visual {
  position: relative;
  z-index: 1;
}
.hero-preview {
  background: #fff;
  border-radius: var(--radius-lg);
  padding: 24px;
  color: var(--text);
  box-shadow: var(--shadow-xl);
  max-width: 420px;
  margin-left: auto;
  transform: perspective(800px) rotateY(-4deg) rotateX(2deg);
  transition: transform .4s ease;
}
.hero-preview:hover {
  transform: perspective(800px) rotateY(0) rotateX(0);
}
.hero-preview-header {
  display: flex;
  gap: 0;
  border-bottom: 2px solid var(--border);
  margin-bottom: 14px;
}
.hero-preview-tab {
  padding: 8px 14px;
  font-size: 13px;
  font-weight: 600;
  color: var(--text-muted);
  border-bottom: 2px solid transparent;
  margin-bottom: -2px;
}
.hero-preview-tab.active {
  color: var(--primary);
  border-bottom-color: var(--primary);
}
.hero-preview h4 {
  font-size: 15px;
  margin-bottom: 8px;
}
.hero-preview p {
  font-size: 13px;
  color: var(--text-secondary);
  margin-bottom: 16px;
  line-height: 1.5;
}
.hero-preview-btns {
  display: flex;
  gap: 6px;
}
.hero-preview-btns .btn {
  flex: 1;
  padding: 8px;
  font-size: 12px;
}

/* ═══════════════════════════════════════════════════════════
   LOGO BAR
   ═══════════════════════════════════════════════════════════ */
.logo-bar {
  padding: 20px 24px;
  background: var(--bg-alt);
  border-bottom: 1px solid var(--border);
}
.logo-bar-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 32px;
  flex-wrap: wrap;
}
.logo-bar-inner span {
  font-size: 13px;
  font-weight: 600;
  color: var(--text-muted);
  white-space: nowrap;
}
.logo-bar-inner img {
  height: 24px;
  opacity: .5;
  transition: opacity var(--transition);
  filter: grayscale(1);
}
.logo-bar-inner img:hover {
  opacity: .8;
  filter: grayscale(0);
}

/* ═══════════════════════════════════════════════════════════
   HOW IT WORKS (Steps)
   ═══════════════════════════════════════════════════════════ */
.steps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  margin-top: 48px;
}
.step-card {
  text-align: center;
  padding: 40px 28px;
  border-radius: var(--radius-lg);
  background: var(--bg);
  border: 1px solid var(--border);
  transition: all .3s ease;
  position: relative;
}
.step-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: var(--primary-bg);
}
.step-number {
  width: 48px; height: 48px;
  border-radius: 50%;
  background: var(--primary);
  color: #fff;
  font-size: 20px;
  font-weight: 700;
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 20px;
}
.step-card h3 {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 10px;
}
.step-card p {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.6;
}
.step-icon {
  font-size: 36px;
  margin-bottom: 16px;
}

/* ═══════════════════════════════════════════════════════════
   FEATURES
   ═══════════════════════════════════════════════════════════ */
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 48px;
}
.feature-card {
  padding: 28px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  background: var(--bg);
  transition: all .3s ease;
}
.feature-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
  border-color: var(--primary-bg);
}
.feature-icon {
  width: 48px; height: 48px;
  border-radius: 14px;
  background: var(--primary-bg);
  display: flex; align-items: center; justify-content: center;
  font-size: 22px;
  margin-bottom: 16px;
}
.feature-card h4 {
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 8px;
}
.feature-card p {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.5;
}

/* ═══════════════════════════════════════════════════════════
   CTA BAND
   ═══════════════════════════════════════════════════════════ */
.cta-band {
  margin: 0;
  padding: 48px;
  background: linear-gradient(135deg, #0f172a 0%, #1b5fc1 60%, #3b82f6 100%);
  border-radius: var(--radius-lg);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  box-shadow: var(--shadow-xl);
  position: relative;
  overflow: hidden;
}
.cta-band::after {
  content: '';
  position: absolute;
  right: -60px; top: -60px;
  width: 200px; height: 200px;
  background: radial-gradient(circle, rgba(255,255,255,.12) 0%, transparent 70%);
}
.cta-band h2 {
  font-size: 28px;
  font-weight: 800;
  margin-bottom: 8px;
}
.cta-band p {
  color: #94a3b8;
  font-size: 16px;
}
.cta-band-actions {
  display: flex;
  gap: 12px;
  flex-shrink: 0;
}

/* ═══════════════════════════════════════════════════════════
   PRICING
   ═══════════════════════════════════════════════════════════ */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-top: 48px;
}
.pricing-card {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px 24px;
  text-align: center;
  transition: all .3s ease;
  position: relative;
  display: flex;
  flex-direction: column;
}
.pricing-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}
.pricing-card.featured {
  border-color: var(--primary);
  box-shadow: 0 8px 32px rgba(27,95,193,.15);
}
.pricing-card.featured::before {
  content: attr(data-badge);
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--primary);
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  padding: 4px 16px;
  border-radius: var(--radius-full);
  text-transform: uppercase;
  letter-spacing: .5px;
}
.pricing-card h3 {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 8px;
}
.pricing-price {
  font-size: 40px;
  font-weight: 800;
  color: var(--text);
  margin-bottom: 4px;
}
.pricing-period {
  font-size: 14px;
  color: var(--text-muted);
  margin-bottom: 24px;
}
.pricing-features {
  list-style: none;
  text-align: left;
  margin-bottom: 28px;
  flex: 1;
}
.pricing-features li {
  padding: 8px 0;
  font-size: 14px;
  color: var(--text-secondary);
  display: flex;
  align-items: flex-start;
  gap: 8px;
  border-bottom: 1px solid var(--border-light);
}
.pricing-features li:last-child {
  border-bottom: none;
}
.pricing-features .check {
  color: var(--accent);
  font-weight: 700;
  flex-shrink: 0;
}

/* ═══════════════════════════════════════════════════════════
   TESTIMONIALS
   ═══════════════════════════════════════════════════════════ */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 48px;
}
.testimonial-card {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px;
  transition: all .3s ease;
}
.testimonial-card:hover {
  box-shadow: var(--shadow-md);
}
.testimonial-stars {
  color: #f59e0b;
  font-size: 16px;
  margin-bottom: 14px;
}
.testimonial-text {
  font-size: 15px;
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: 20px;
  font-style: italic;
}
.testimonial-author {
  display: flex;
  align-items: center;
  gap: 12px;
}
.testimonial-avatar {
  width: 40px; height: 40px;
  border-radius: 50%;
  background: var(--primary-bg);
  display: flex; align-items: center; justify-content: center;
  font-weight: 700;
  color: var(--primary);
  font-size: 16px;
}
.testimonial-name {
  font-weight: 600;
  font-size: 14px;
}
.testimonial-role {
  font-size: 12px;
  color: var(--text-muted);
}

/* ═══════════════════════════════════════════════════════════
   FAQ
   ═══════════════════════════════════════════════════════════ */
.faq-list {
  max-width: 720px;
  margin: 48px auto 0;
}
.faq-item {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  margin-bottom: 10px;
  overflow: hidden;
  transition: all var(--transition);
}
.faq-item:hover {
  border-color: var(--primary-bg);
}
.faq-question {
  padding: 18px 20px;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  user-select: none;
}
.faq-question .faq-icon {
  transition: transform .2s;
  color: var(--text-muted);
  flex-shrink: 0;
}
.faq-item.open .faq-icon {
  transform: rotate(180deg);
}
.faq-answer {
  padding: 0 20px 0;
  max-height: 0;
  overflow: hidden;
  transition: max-height .3s ease, padding .3s ease;
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.7;
}
.faq-item.open .faq-answer {
  max-height: 300px;
  padding: 0 20px 18px;
}

/* ═══════════════════════════════════════════════════════════
   STATS BAR
   ═══════════════════════════════════════════════════════════ */
.stats-bar {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-top: 48px;
}
.stat-item {
  text-align: center;
  padding: 24px;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
}
.stat-value {
  font-size: 32px;
  font-weight: 800;
  color: var(--primary);
}
.stat-label {
  font-size: 13px;
  color: var(--text-muted);
  margin-top: 4px;
}

/* ═══════════════════════════════════════════════════════════
   FOOTER
   ═══════════════════════════════════════════════════════════ */
.footer {
  background: var(--bg-dark);
  color: #94a3b8;
  padding: 60px 24px 24px;
}
.footer-grid {
  max-width: var(--max-width);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 40px;
}
.footer-brand {
  font-size: 20px;
  font-weight: 800;
  color: #fff;
  margin-bottom: 12px;
}
.footer-desc {
  font-size: 14px;
  line-height: 1.6;
  max-width: 280px;
}
.footer h4 {
  font-size: 14px;
  font-weight: 700;
  color: #e2e8f0;
  margin-bottom: 16px;
  text-transform: uppercase;
  letter-spacing: .5px;
}
.footer a {
  display: block;
  color: #94a3b8;
  font-size: 14px;
  padding: 4px 0;
  transition: color var(--transition);
}
.footer a:hover {
  color: #fff;
}
.footer-bottom {
  max-width: var(--max-width);
  margin: 0 auto;
  padding-top: 24px;
  border-top: 1px solid #1e293b;
  font-size: 13px;
  text-align: center;
}

/* ═══════════════════════════════════════════════════════════
   AUTH PAGES
   ═══════════════════════════════════════════════════════════ */
.auth-page {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--bg-alt);
  padding: 96px 24px 24px;
}
.auth-topbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 120;
  background: rgba(255,255,255,.95);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
}
.auth-topbar-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  height: 64px;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.auth-card {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 40px;
  width: 100%;
  max-width: 440px;
  box-shadow: var(--shadow-lg);
}
.auth-card .brand {
  text-align: center;
  margin-bottom: 8px;
}
.auth-card .brand a {
  font-weight: 800;
  font-size: 22px;
  color: var(--text);
}
.auth-card .pill {
  display: block;
  text-align: center;
  margin-bottom: 20px;
}
.auth-card h1 {
  font-size: 24px;
  font-weight: 800;
  text-align: center;
  margin-bottom: 8px;
}
.auth-card .sub {
  text-align: center;
  font-size: 14px;
  color: var(--text-secondary);
  margin-bottom: 28px;
}
.form-group {
  margin-bottom: 16px;
}
.form-group label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 6px;
  color: var(--text-secondary);
}
.form-group input {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  font-size: 14px;
  transition: border-color var(--transition), box-shadow var(--transition);
  outline: none;
  font-family: var(--font);
}
.form-group input:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(27,95,193,.1);
}
.auth-card .btn {
  width: 100%;
  margin-top: 8px;
}
.auth-note {
  text-align: center;
  font-size: 13px;
  color: var(--text-muted);
  margin-top: 16px;
}
.auth-footer {
  text-align: center;
  font-size: 14px;
  margin-top: 20px;
  color: var(--text-secondary);
}
.error-msg {
  background: #fef2f2;
  color: #991b1b;
  padding: 10px 14px;
  border-radius: var(--radius);
  font-size: 13px;
  margin-bottom: 16px;
  border: 1px solid #fecaca;
}

/* ═══════════════════════════════════════════════════════════
   DASHBOARD
   ═══════════════════════════════════════════════════════════ */
.dash-page {
  background: var(--bg-alt);
  min-height: 100vh;
}
.dash-header {
  background: var(--bg);
  border-bottom: 1px solid var(--border);
  padding: 20px 24px;
}
.dash-header-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.dash-content {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 32px 24px;
}

/* Add site form */
.add-site-form {
  display: flex;
  gap: 10px;
  margin-bottom: 32px;
}
.add-site-form input {
  flex: 1;
  padding: 12px 16px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  font-size: 14px;
  outline: none;
  font-family: var(--font);
}
.add-site-form input:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(27,95,193,.1);
}

/* Site card */
.site-card {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px;
  margin-bottom: 20px;
  transition: all .3s ease;
}
.site-card:hover {
  box-shadow: var(--shadow-md);
}
.site-card-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 16px;
}
.site-domain {
  font-size: 18px;
  font-weight: 700;
  color: var(--text);
  word-break: break-all;
}
.site-actions {
  display: flex;
  gap: 8px;
}
.site-meta {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
  margin-bottom: 20px;
}
.site-meta-item {
  font-size: 13px;
  color: var(--text-secondary);
}
.site-meta-item strong {
  color: var(--text);
}
.status-badge {
  display: inline-block;
  padding: 3px 10px;
  border-radius: var(--radius-full);
  font-size: 12px;
  font-weight: 600;
}
.status-not_scanned {
  background: #fef3c7;
  color: #92400e;
}
.status-scanning {
  background: #dbeafe;
  color: #1e40af;
}
.status-completed {
  background: #d1fae5;
  color: #065f46;
}
.status-failed {
  background: #fee2e2;
  color: #991b1b;
}

/* Script box */
.script-box {
  background: var(--bg-dark);
  border-radius: var(--radius);
  padding: 16px;
  margin-top: 16px;
  position: relative;
}
.script-box code {
  display: block;
  font-family: 'Fira Code', 'Cascadia Code', 'JetBrains Mono', monospace;
  font-size: 13px;
  color: #93c5fd;
  word-break: break-all;
  line-height: 1.6;
}
.script-copy-btn {
  position: absolute;
  top: 10px;
  right: 10px;
  padding: 4px 10px;
  font-size: 12px;
  background: #1e293b;
  color: #94a3b8;
  border: 1px solid #334155;
  border-radius: 6px;
  cursor: pointer;
  transition: all var(--transition);
}
.script-copy-btn:hover {
  color: #fff;
  border-color: #475569;
}

/* Cookie table */
.cookie-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 12px;
  font-size: 13px;
}
.cookie-table th {
  text-align: left;
  padding: 10px 12px;
  background: var(--bg-alt);
  font-weight: 600;
  color: var(--text-secondary);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: .5px;
  border-bottom: 2px solid var(--border);
}
.cookie-table td {
  padding: 10px 12px;
  border-bottom: 1px solid var(--border-light);
  color: var(--text-secondary);
}
.cookie-table tr:hover td {
  background: var(--bg-alt);
}
.cat-badge {
  display: inline-block;
  padding: 2px 8px;
  border-radius: var(--radius-full);
  font-size: 11px;
  font-weight: 600;
}
.cat-necessary   { background: #d1fae5; color: #065f46; }
.cat-statistics  { background: #dbeafe; color: #1e40af; }
.cat-marketing   { background: #fce7f3; color: #9d174d; }
.cat-preferences { background: #fef3c7; color: #92400e; }

/* Install guide */
.guide-section {
  margin-top: 20px;
}
.guide-tabs {
  display: flex;
  gap: 4px;
  margin-bottom: 16px;
  flex-wrap: wrap;
}
.guide-tab {
  padding: 8px 16px;
  font-size: 13px;
  font-weight: 600;
  border-radius: var(--radius);
  cursor: pointer;
  background: var(--bg-alt);
  color: var(--text-secondary);
  border: 1px solid transparent;
  transition: all var(--transition);
}
.guide-tab:hover,
.guide-tab.active {
  background: var(--primary-bg);
  color: var(--primary);
  border-color: var(--primary-bg);
}
.guide-content {
  display: none;
  padding: 20px;
  background: var(--bg-alt);
  border-radius: var(--radius);
  border: 1px solid var(--border);
}
.guide-content.active {
  display: block;
}
.guide-content h4 {
  font-size: 16px;
  margin-bottom: 10px;
}
.guide-content p {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: 12px;
}
.guide-content ol {
  padding-left: 20px;
  margin-bottom: 12px;
}
.guide-content ol li {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: 6px;
}

/* Expandable sections */
.expandable-header {
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 0;
  font-weight: 600;
  font-size: 15px;
  border-bottom: 1px solid var(--border);
  user-select: none;
}
.expandable-header .expand-icon {
  transition: transform .2s;
  color: var(--text-muted);
}
.expandable.open .expand-icon {
  transform: rotate(180deg);
}
.expandable-body {
  max-height: 0;
  overflow: hidden;
  transition: max-height .3s ease;
}
.expandable.open .expandable-body {
  max-height: 2000px;
}

/* ═══════════════════════════════════════════════════════════
   UPGRADE PAGE
   ═══════════════════════════════════════════════════════════ */
.upgrade-page {
  background: var(--bg-alt);
  min-height: 100vh;
}

/* ═══════════════════════════════════════════════════════════
   RESPONSIVE
   ═══════════════════════════════════════════════════════════ */
@media (max-width: 1024px) {
  .hero-inner { grid-template-columns: 1fr; }
  .hero-visual { display: none; }
  .pricing-grid { grid-template-columns: repeat(2, 1fr); }
  .features-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  .hero h1 { font-size: 36px; }
  .hero { padding: 60px 24px 50px; }
  .section { padding: 50px 24px; }
  .section-title { font-size: 28px; }
  .steps-grid { grid-template-columns: 1fr; }
  .features-grid { grid-template-columns: 1fr; }
  .pricing-grid { grid-template-columns: 1fr; }
  .testimonials-grid { grid-template-columns: 1fr; }
  .stats-bar { grid-template-columns: repeat(2, 1fr); }
  .cta-band { flex-direction: column; align-items: flex-start; padding: 32px 24px; margin: 0 16px; }
  .cta-band-actions { width: 100%; }
  .cta-band-actions .btn { flex: 1; }
  .navbar-links { gap: 4px; }
  .navbar-links a { padding: 6px 10px; font-size: 13px; }
  .footer-grid { grid-template-columns: 1fr; }
  .add-site-form { flex-direction: column; }
  .site-card-header { flex-direction: column; gap: 12px; }
  .site-meta { gap: 12px; }
  .dash-header-inner { flex-direction: column; gap: 12px; align-items: flex-start; }
}

/* ═══════════════════════════════════════════════════════════
   STATIC PAGES
   ═══════════════════════════════════════════════════════════ */
.page-content {
  font-size: 16px;
  line-height: 1.8;
  color: var(--text-secondary);
}
.page-content h2 {
  font-size: 22px;
  font-weight: 700;
  color: var(--text);
  margin: 32px 0 12px;
}
.page-content p {
  margin-bottom: 16px;
}
.page-content ul, .page-content ol {
  margin-bottom: 16px;
}
.page-content code {
  background: var(--bg-alt);
  padding: 2px 6px;
  border-radius: 4px;
  font-size: 14px;
}
