/* GoNoGo Platform — Design Tokens & Styles */

/* ============================================================
   FONTS
   ============================================================ */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800;900&display=swap');

/* ============================================================
   CSS CUSTOM PROPERTIES (DESIGN TOKENS)
   ============================================================ */
:root {
  /* Typography */
  --font-body: 'Inter', system-ui, -apple-system, sans-serif;
  --font-display: 'Inter', system-ui, -apple-system, sans-serif;

  --text-xs: clamp(0.6875rem, 0.65rem + 0.1vw, 0.75rem);     /* 11-12px */
  --text-sm: clamp(0.8125rem, 0.775rem + 0.1vw, 0.875rem);    /* 13-14px */
  --text-base: clamp(0.875rem, 0.85rem + 0.1vw, 0.9375rem);   /* 14-15px */
  --text-lg: clamp(1.0625rem, 1rem + 0.2vw, 1.25rem);         /* 17-20px */
  --text-xl: clamp(1.375rem, 1.25rem + 0.4vw, 1.75rem);       /* 22-28px */
  --text-2xl: clamp(1.75rem, 1.5rem + 0.8vw, 2.5rem);         /* 28-40px */
  --text-3xl: clamp(2.25rem, 2rem + 1vw, 3.25rem);            /* 36-52px */

  /* Spacing (4px grid) */
  --space-0: 0;
  --space-1: 4px;
  --space-2: 8px;
  --space-3: 12px;
  --space-4: 16px;
  --space-5: 20px;
  --space-6: 24px;
  --space-7: 28px;
  --space-8: 32px;
  --space-10: 40px;
  --space-12: 48px;
  --space-16: 64px;
  --space-20: 80px;
  --space-24: 96px;

  /* Colors — GoNoGo Dark Mode */
  --bg-primary: #0a0a0a;
  --bg-secondary: #121212;
  --bg-card: #1a1a1a;
  --bg-card-hover: #1e1e1e;
  --bg-elevated: #222222;
  --border-primary: #2a2a2a;
  --border-subtle: #1f1f1f;
  --border-focus: #11a551;

  --green: #11a551;
  --green-dim: rgba(17, 165, 81, 0.15);
  --green-glow: rgba(17, 165, 81, 0.12);
  --green-text: #15c962;
  --green-bg: rgba(17, 165, 81, 0.1);

  --orange: #ff9800;
  --orange-dim: rgba(255, 152, 0, 0.15);
  --orange-text: #ffb74d;
  --orange-bg: rgba(255, 152, 0, 0.1);

  --red: #e74c3c;
  --red-dim: rgba(231, 76, 60, 0.15);
  --red-text: #ff6b5a;
  --red-bg: rgba(231, 76, 60, 0.1);

  --blue: #3b82f6;
  --blue-dim: rgba(59, 130, 246, 0.15);

  --text-primary: #ffffff;
  --text-secondary: #a0a0a0;
  --text-muted: #666666;
  --text-faint: #444444;

  /* Surfaces */
  --surface-0: var(--bg-primary);
  --surface-1: var(--bg-secondary);
  --surface-2: var(--bg-card);
  --surface-3: var(--bg-elevated);

  /* Radius */
  --radius-sm: 6px;
  --radius-md: 8px;
  --radius-lg: 12px;
  --radius-xl: 16px;
  --radius-2xl: 20px;
  --radius-full: 9999px;

  /* Shadows */
  --shadow-sm: 0 1px 2px rgba(0,0,0,0.3);
  --shadow-md: 0 4px 12px rgba(0,0,0,0.4);
  --shadow-lg: 0 8px 24px rgba(0,0,0,0.5);
  --shadow-glow: 0 0 20px var(--green-glow);
  --shadow-glow-strong: 0 0 30px rgba(17,165,81,0.2);

  /* Transitions */
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --transition-fast: 150ms var(--ease-out);
  --transition-normal: 200ms var(--ease-out);
  --transition-slow: 350ms var(--ease-out);

  /* Layout */
  --content-max: 1200px;
  --content-narrow: 800px;
  --sidebar-width: 260px;
  --header-height: 60px;
}

/* ============================================================
   LIGHT MODE OVERRIDES (Public pages only)
   ============================================================ */
/* Works on both html.light-mode (flash prevention) and body.light-mode (JS toggle) */
.light-mode {
  --bg-primary: #f8f9fa;
  --bg-secondary: #ffffff;
  --bg-card: #ffffff;
  --bg-card-hover: #f0f2f5;
  --bg-elevated: #f5f5f5;
  --border-primary: #e0e0e0;
  --border-subtle: #eeeeee;

  --green: #0d8c44;
  --green-dim: rgba(13, 140, 68, 0.12);
  --green-glow: rgba(13, 140, 68, 0.08);
  --green-text: #0d8c44;
  --green-bg: rgba(13, 140, 68, 0.08);

  --orange: #e68a00;
  --orange-dim: rgba(230, 138, 0, 0.12);
  --orange-text: #cc7a00;
  --orange-bg: rgba(230, 138, 0, 0.08);

  --red: #d63031;
  --red-dim: rgba(214, 48, 49, 0.12);
  --red-text: #c0392b;
  --red-bg: rgba(214, 48, 49, 0.08);

  --blue: #2563eb;
  --blue-dim: rgba(37, 99, 235, 0.12);

  --text-primary: #1a1a1a;
  --text-secondary: #555555;
  --text-muted: #888888;
  --text-faint: #bbbbbb;

  --surface-0: var(--bg-primary);
  --surface-1: var(--bg-secondary);
  --surface-2: var(--bg-card);
  --surface-3: var(--bg-elevated);

  --shadow-sm: 0 1px 3px rgba(0,0,0,0.08);
  --shadow-md: 0 4px 12px rgba(0,0,0,0.1);
  --shadow-lg: 0 8px 24px rgba(0,0,0,0.12);
  --shadow-glow: 0 0 20px rgba(13, 140, 68, 0.06);
  --shadow-glow-strong: 0 0 30px rgba(13, 140, 68, 0.1);
}

/* Light-mode overrides for hardcoded dark colours */
.light-mode .site-header {
  background: rgba(255, 255, 255, 0.85);
}

.light-mode .data-table tr:hover td {
  background: rgba(0, 0, 0, 0.02);
}

.light-mode .score-circle svg .score-track,
.light-mode .score-circle svg circle:first-child {
  stroke: #e0e0e0 !important;
}

/* Logo: use dedicated light-mode logo via JS — no CSS filter needed */

/* Brand logos have white background — add subtle border in light mode */
.light-mode .brand-logo {
  border: 1px solid var(--border-subtle);
}

/* Search results dropdown */
.light-mode #search-results {
  background: var(--bg-secondary) !important;
  box-shadow: 0 8px 32px rgba(0,0,0,0.12) !important;
}

/* Hero glow */
.light-mode .hero::before {
  opacity: 0.25;
}

/* Card shadows in light mode */
.light-mode .brand-card,
.light-mode .card,
.light-mode .industry-card,
.light-mode .industry-card-v2,
.light-mode .category-card,
.light-mode .rating-card,
.light-mode .pricing-card,
.light-mode .comment-card,
.light-mode .kpi-card {
  box-shadow: 0 1px 3px rgba(0,0,0,0.06);
}

/* Mobile nav */
.light-mode .mobile-nav {
  background: var(--bg-secondary);
}

/* Scrollbar */
.light-mode ::-webkit-scrollbar-thumb {
  background: #ccc;
}
.light-mode ::-webkit-scrollbar-thumb:hover {
  background: #999;
}

/* Brand selector dropdown */
.light-mode .brand-selector-dropdown {
  background: var(--bg-secondary);
}

/* Modal overlay */
.light-mode .modal-overlay {
  background: rgba(0, 0, 0, 0.4);
}

/* Selection */
.light-mode ::selection {
  background: var(--green);
  color: #fff;
}

/* Theme toggle button */
.theme-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: var(--radius-md);
  color: var(--text-secondary);
  background: transparent;
  border: 1px solid transparent;
  cursor: pointer;
  transition: all var(--transition-fast);
  font-size: 1rem;
  flex-shrink: 0;
}

.nav-theme-toggle {
  margin-left: var(--space-2);
}

.theme-toggle:hover {
  color: var(--text-primary);
  background: var(--surface-2);
  border-color: var(--border-primary);
}

/* Mobile nav theme toggle row */
.mobile-nav .theme-toggle {
  width: auto;
  padding: var(--space-3) var(--space-4);
  border-radius: var(--radius-lg);
  font-size: var(--text-base);
  gap: var(--space-3);
  justify-content: flex-start;
  color: var(--text-secondary);
  font-weight: 500;
}

.mobile-nav .theme-toggle:hover {
  color: var(--text-primary);
  background: var(--surface-2);
}

/* ============================================================
   BASE RESET & FOUNDATION
   ============================================================ */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  font-size: var(--text-base);
  line-height: 1.6;
  color: var(--text-primary);
  background: var(--bg-primary);
  min-height: 100vh;
  overflow-x: hidden;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: var(--green);
  text-decoration: none;
  transition: color var(--transition-fast);
}

a:hover {
  color: var(--green-text);
}

button {
  font-family: var(--font-body);
  cursor: pointer;
  border: none;
  background: none;
  color: inherit;
  font-size: inherit;
}

input, select, textarea {
  font-family: var(--font-body);
  font-size: var(--text-sm);
  color: var(--text-primary);
  background: var(--surface-2);
  border: 1px solid var(--border-primary);
  border-radius: var(--radius-md);
  padding: var(--space-2) var(--space-3);
  transition: border-color var(--transition-fast), box-shadow var(--transition-fast);
  outline: none;
  width: 100%;
}

input:focus, select:focus, textarea:focus {
  border-color: var(--green);
  box-shadow: 0 0 0 3px var(--green-dim);
}

::selection {
  background: var(--green);
  color: white;
}

::-webkit-scrollbar {
  width: 6px;
  height: 6px;
}

::-webkit-scrollbar-track {
  background: transparent;
}

::-webkit-scrollbar-thumb {
  background: var(--border-primary);
  border-radius: 3px;
}

::-webkit-scrollbar-thumb:hover {
  background: var(--text-muted);
}

/* ============================================================
   TYPOGRAPHY UTILITIES
   ============================================================ */
.text-xs { font-size: var(--text-xs); }
.text-sm { font-size: var(--text-sm); }
.text-base { font-size: var(--text-base); }
.text-lg { font-size: var(--text-lg); }
.text-xl { font-size: var(--text-xl); }
.text-2xl { font-size: var(--text-2xl); }
.text-3xl { font-size: var(--text-3xl); }

.font-medium { font-weight: 500; }
.font-semibold { font-weight: 600; }
.font-bold { font-weight: 700; }
.font-extrabold { font-weight: 800; }

.text-primary { color: var(--text-primary); }
.text-secondary { color: var(--text-secondary); }
.text-muted { color: var(--text-muted); }
.text-green { color: var(--green); }
.text-orange { color: var(--orange); }
.text-red { color: var(--red); }

.tabular-nums {
  font-variant-numeric: tabular-nums lining-nums;
}

/* ============================================================
   LAYOUT UTILITIES
   ============================================================ */
.container {
  max-width: var(--content-max);
  margin: 0 auto;
  padding: 0 var(--space-6);
}

.container-narrow {
  max-width: var(--content-narrow);
  margin: 0 auto;
  padding: 0 var(--space-6);
}

.flex { display: flex; }
.flex-col { flex-direction: column; }
.flex-wrap { flex-wrap: wrap; }
.items-center { align-items: center; }
.items-start { align-items: flex-start; }
.justify-between { justify-content: space-between; }
.justify-center { justify-content: center; }
.gap-1 { gap: var(--space-1); }
.gap-2 { gap: var(--space-2); }
.gap-3 { gap: var(--space-3); }
.gap-4 { gap: var(--space-4); }
.gap-6 { gap: var(--space-6); }
.gap-8 { gap: var(--space-8); }

.grid { display: grid; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

.w-full { width: 100%; }
.h-full { height: 100%; }

/* ============================================================
   COMPONENT: NAVIGATION
   ============================================================ */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(10, 10, 10, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border-primary);
  height: var(--header-height);
}

.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}

.logo {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  font-weight: 800;
  font-size: var(--text-lg);
  color: var(--text-primary);
  letter-spacing: -0.02em;
  text-decoration: none;
}

.logo-icon {
  width: 32px;
  height: 32px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
}

.logo span.go { color: var(--green); }
.logo span.no { color: var(--text-secondary); }

.nav-links {
  display: flex;
  align-items: center;
  gap: var(--space-1);
  list-style: none;
}

.nav-links a {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  padding: var(--space-2) var(--space-3);
  border-radius: var(--radius-md);
  color: var(--text-secondary);
  font-size: var(--text-sm);
  font-weight: 500;
  transition: all var(--transition-fast);
  white-space: nowrap;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--text-primary);
  background: var(--surface-2);
}

.nav-links a.active {
  color: var(--green);
}

.hamburger {
  display: none;
  width: 44px;
  height: 44px;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-md);
  color: var(--text-secondary);
  font-size: 1.25rem;
  background: transparent;
  border: 1px solid var(--border-primary);
  cursor: pointer;
  transition: all var(--transition-fast);
}

.hamburger:hover {
  color: var(--text-primary);
  background: var(--surface-2);
}

.mobile-nav {
  display: none;
  position: fixed;
  top: var(--header-height);
  left: 0;
  right: 0;
  bottom: 0;
  background: var(--bg-primary);
  z-index: 99;
  padding: var(--space-6);
  flex-direction: column;
  gap: var(--space-2);
}

.mobile-nav.open {
  display: flex;
}

.mobile-nav a {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  padding: var(--space-3) var(--space-4);
  border-radius: var(--radius-lg);
  color: var(--text-secondary);
  font-size: var(--text-base);
  font-weight: 500;
  transition: all var(--transition-fast);
}

.mobile-nav a:hover,
.mobile-nav a.active {
  color: var(--text-primary);
  background: var(--surface-2);
}

@media (max-width: 768px) {
  .nav-links { display: none; }
  .hamburger { display: flex; }
}

/* ============================================================
   COMPONENT: BUTTONS
   ============================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
  padding: var(--space-2) var(--space-4);
  border-radius: var(--radius-md);
  font-size: var(--text-sm);
  font-weight: 600;
  line-height: 1.4;
  transition: all var(--transition-fast);
  white-space: nowrap;
  min-height: 36px;
  border: 1px solid transparent;
}

.btn:active {
  transform: scale(0.97);
}

.btn-primary {
  background: var(--green);
  color: white;
  border-color: var(--green);
}

.btn-primary:hover {
  background: #0fb84a;
  border-color: #0fb84a;
  box-shadow: 0 0 20px var(--green-dim);
  color: white;
}

.btn-secondary {
  background: var(--surface-2);
  color: var(--text-primary);
  border-color: var(--border-primary);
}

.btn-secondary:hover {
  background: var(--surface-3);
  border-color: var(--text-muted);
}

.btn-ghost {
  background: transparent;
  color: var(--text-secondary);
}

.btn-ghost:hover {
  background: var(--surface-2);
  color: var(--text-primary);
}

.btn-danger {
  background: var(--red);
  color: white;
}

.btn-danger:hover {
  background: #ff5a4a;
  box-shadow: 0 0 20px var(--red-dim);
  color: white;
}

.btn-sm {
  padding: var(--space-1) var(--space-3);
  font-size: var(--text-xs);
  min-height: 28px;
}

.btn-lg {
  padding: var(--space-3) var(--space-6);
  font-size: var(--text-base);
  min-height: 44px;
}

/* ============================================================
   COMPONENT: CARDS
   ============================================================ */
.card {
  background: var(--surface-2);
  border: 1px solid var(--border-primary);
  border-radius: var(--radius-lg);
  padding: var(--space-5);
  transition: all var(--transition-normal);
}

.card-hover:hover {
  border-color: var(--border-subtle);
  box-shadow: var(--shadow-glow);
  transform: translateY(-2px);
}

.card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: var(--space-4);
}

.card-title {
  font-size: var(--text-lg);
  font-weight: 600;
  color: var(--text-primary);
}

/* ============================================================
   COMPONENT: BADGES
   ============================================================ */
.badge {
  display: inline-flex;
  align-items: center;
  gap: var(--space-1);
  padding: 2px var(--space-2);
  border-radius: var(--radius-full);
  font-size: var(--text-xs);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  line-height: 1.6;
}

.badge-go {
  background: var(--green-bg);
  color: var(--green-text);
  border: 1px solid var(--green-dim);
}

.badge-nogo {
  background: var(--red-bg);
  color: var(--red-text);
  border: 1px solid var(--red-dim);
}

.badge-caution {
  background: var(--orange-bg);
  color: var(--orange-text);
  border: 1px solid var(--orange-dim);
}

.badge-score {
  padding: var(--space-1) var(--space-3);
  font-size: var(--text-sm);
  font-weight: 700;
  border-radius: var(--radius-md);
}

.badge-score.score-high {
  background: var(--green-bg);
  color: var(--green-text);
  border: 1px solid var(--green-dim);
}

.badge-score.score-mid {
  background: var(--orange-bg);
  color: var(--orange-text);
  border: 1px solid var(--orange-dim);
}

.badge-score.score-low {
  background: var(--red-bg);
  color: var(--red-text);
  border: 1px solid var(--red-dim);
}

/* ============================================================
   COMPONENT: SCORE DISPLAY
   ============================================================ */
.score-circle {
  position: relative;
  width: 80px;
  height: 80px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.score-circle svg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  transform: rotate(-90deg);
}

.score-circle .score-value {
  font-size: var(--text-xl);
  font-weight: 800;
  font-variant-numeric: tabular-nums;
  line-height: 1;
  z-index: 1;
}
.score-circle-lg .score-value {
  font-size: 2.5rem; /* or try 2.25rem if this feels too big */
}

.score-circle-lg {
  width: 120px;
  height: 120px;
}

.score-circle-lg .score-value {
  font-size: var(--text-2xl);
}

.score-bar {
  height: 6px;
  background: var(--surface-3);
  border-radius: 3px;
  overflow: hidden;
  width: 100%;
}

.score-bar-fill {
  height: 100%;
  border-radius: 3px;
  transition: width 600ms var(--ease-out);
}

/* ============================================================
   COMPONENT: TABLES (Admin)
   ============================================================ */
.data-table {
  width: 100%;
  border-collapse: collapse;
  font-size: var(--text-sm);
}

.data-table th {
  text-align: left;
  padding: var(--space-3) var(--space-4);
  font-weight: 600;
  font-size: var(--text-xs);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--text-muted);
  border-bottom: 1px solid var(--border-primary);
  white-space: nowrap;
  cursor: pointer;
  user-select: none;
}

.data-table th:hover {
  color: var(--text-secondary);
}

.data-table td {
  padding: var(--space-3) var(--space-4);
  border-bottom: 1px solid var(--border-subtle);
  vertical-align: middle;
}

.data-table tr:hover td {
  background: rgba(255, 255, 255, 0.02);
}

.data-table .brand-cell {
  display: flex;
  align-items: center;
  gap: var(--space-3);
}

.brand-logo {
  width: 32px;
  height: 32px;
  border-radius: var(--radius-sm);
  object-fit: contain;
  background: white;
  padding: 2px;
}

.brand-logo-lg {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-md);
  padding: 4px;
}

/* ============================================================
   COMPONENT: STAR RATING
   ============================================================ */
.star-rating {
  display: flex;
  align-items: center;
  gap: 2px;
}

.star-rating i {
  color: var(--text-faint);
  font-size: var(--text-sm);
  transition: color var(--transition-fast);
}

.star-rating i.active {
  color: var(--orange);
}

.star-rating-input {
  cursor: pointer;
}

.star-rating-input i:hover,
.star-rating-input i.hover {
  color: var(--orange);
}

/* ============================================================
   COMPONENT: COMMENTS
   ============================================================ */
.comment-card {
  background: var(--surface-1);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: var(--space-4);
  transition: border-color var(--transition-fast);
  overflow: hidden;
  word-wrap: break-word;
}

.comment-card:hover {
  border-color: var(--border-primary);
}

.comment-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: var(--space-2);
  flex-wrap: wrap;
  gap: var(--space-2);
}

.comment-author {
  font-weight: 600;
  font-size: var(--text-sm);
}

.comment-date {
  font-size: var(--text-xs);
  color: var(--text-muted);
}

.comment-text {
  font-size: var(--text-sm);
  color: var(--text-secondary);
  line-height: 1.6;
}

.sentiment-badge {
  font-size: var(--text-xs);
  padding: 1px var(--space-2);
  border-radius: var(--radius-full);
  font-weight: 500;
}

.sentiment-positive {
  background: var(--green-bg);
  color: var(--green-text);
}

.sentiment-neutral {
  background: var(--orange-bg);
  color: var(--orange-text);
}

.sentiment-negative {
  background: var(--red-bg);
  color: var(--red-text);
}

/* ============================================================
   COMPONENT: MODAL
   ============================================================ */
.modal-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(4px);
  z-index: 1000;
  align-items: center;
  justify-content: center;
  padding: var(--space-6);
}

.modal-overlay.open {
  display: flex;
}

.modal {
  background: var(--surface-2);
  border: 1px solid var(--border-primary);
  border-radius: var(--radius-xl);
  max-width: 600px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  padding: var(--space-6);
}

.modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: var(--space-5);
}

.modal-title {
  font-size: var(--text-lg);
  font-weight: 700;
}

.modal-close {
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-sm);
  color: var(--text-muted);
  transition: all var(--transition-fast);
}

.modal-close:hover {
  background: var(--surface-3);
  color: var(--text-primary);
}

/* ============================================================
   COMPONENT: FORM ELEMENTS
   ============================================================ */
.form-group {
  margin-bottom: var(--space-4);
}

.form-label {
  display: block;
  font-size: var(--text-xs);
  font-weight: 600;
  color: var(--text-secondary);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin-bottom: var(--space-1);
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-4);
}

@media (max-width: 480px) {
  .form-row { grid-template-columns: 1fr; }
}

select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%23666' stroke-width='2'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
  padding-right: 36px;
}

textarea {
  resize: vertical;
  min-height: 80px;
}

/* ============================================================
   COMPONENT: TOAST / ALERT
   ============================================================ */
.toast {
  position: fixed;
  bottom: var(--space-6);
  right: var(--space-6);
  background: var(--surface-3);
  border: 1px solid var(--border-primary);
  border-radius: var(--radius-lg);
  padding: var(--space-3) var(--space-5);
  font-size: var(--text-sm);
  font-weight: 500;
  box-shadow: var(--shadow-lg);
  z-index: 2000;
  transform: translateY(100px);
  opacity: 0;
  transition: all var(--transition-slow);
}

.toast.show {
  transform: translateY(0);
  opacity: 1;
}

.toast-success {
  border-color: var(--green-dim);
  color: var(--green-text);
}

.toast-error {
  border-color: var(--red-dim);
  color: var(--red-text);
}

/* ============================================================
   COMPONENT: SEARCH
   ============================================================ */
.search-input {
  position: relative;
}

.search-input i {
  position: absolute;
  left: var(--space-3);
  top: 50%;
  transform: translateY(-50%);
  color: var(--text-muted);
  font-size: var(--text-sm);
}

.search-input input {
  padding-left: 36px;
}

/* ============================================================
   COMPONENT: CATEGORY FILTER PILLS
   ============================================================ */
.filter-pills {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-2);
}

.filter-pill {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  padding: var(--space-1) var(--space-3);
  border-radius: var(--radius-full);
  font-size: var(--text-xs);
  font-weight: 500;
  background: var(--surface-2);
  border: 1px solid var(--border-primary);
  color: var(--text-secondary);
  cursor: pointer;
  transition: all var(--transition-fast);
  user-select: none;
}

.filter-pill:hover {
  border-color: var(--text-muted);
  color: var(--text-primary);
}

.filter-pill.active {
  background: var(--green-bg);
  border-color: var(--green);
  color: var(--green-text);
}

/* ============================================================
   SECTION STYLES
   ============================================================ */
.section {
  padding: var(--space-16) 0;
}

.section-sm {
  padding: var(--space-10) 0;
}

.section-header {
  margin-bottom: var(--space-8);
}

.section-title {
  font-size: var(--text-xl);
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: var(--space-2);
}

.section-subtitle {
  font-size: var(--text-sm);
  color: var(--text-secondary);
}

/* ============================================================
   HERO
   ============================================================ */
.hero {
  padding: var(--space-24) 0 var(--space-16);
  text-align: center;
  position: relative;
  overflow: visible;
}

.hero::before {
  content: '';
  position: absolute;
  top: -50%;
  left: 50%;
  transform: translateX(-50%);
  width: 800px;
  height: 800px;
  background: radial-gradient(circle, var(--green-glow) 0%, transparent 70%);
  pointer-events: none;
  opacity: 0.5;
}

.hero-title {
  font-size: var(--text-3xl);
  font-weight: 900;
  letter-spacing: -0.03em;
  line-height: 1.1;
  margin-bottom: var(--space-4);
  position: relative;
}

.hero-subtitle {
  font-size: var(--text-lg);
  color: var(--text-secondary);
  max-width: 600px;
  margin: 0 auto var(--space-8);
  line-height: 1.5;
  position: relative;
}

/* ============================================================
   INDUSTRY GRID
   ============================================================ */
.industry-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: var(--space-4);
}

.industry-card {
  background: var(--surface-2);
  border: 1px solid var(--border-primary);
  border-radius: var(--radius-lg);
  padding: var(--space-5);
  text-align: center;
  cursor: pointer;
  transition: all var(--transition-normal);
  text-decoration: none;
  color: var(--text-primary);
}

.industry-card:hover {
  border-color: var(--green-dim);
  box-shadow: var(--shadow-glow);
  transform: translateY(-2px);
  color: var(--text-primary);
}

.industry-card i {
  font-size: var(--text-xl);
  color: var(--green);
  margin-bottom: var(--space-3);
  display: block;
}

.industry-card .name {
  font-weight: 600;
  font-size: var(--text-sm);
  margin-bottom: var(--space-1);
}

.industry-card .count {
  font-size: var(--text-xs);
  color: var(--text-muted);
}

.industry-card.no-data {
  opacity: 0.4;
  pointer-events: none;
}

/* ============================================================
   BRAND CARDS (Public listing)
   ============================================================ */
.brand-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: var(--space-5);
}

.brand-card {
  background: var(--surface-2);
  border: 1px solid var(--border-primary);
  border-radius: var(--radius-lg);
  padding: var(--space-5);
  cursor: pointer;
  transition: all var(--transition-normal);
  text-decoration: none;
  color: var(--text-primary);
  display: flex;
  flex-direction: column;
}

.brand-card:hover {
  border-color: var(--green-dim);
  box-shadow: var(--shadow-glow);
  transform: translateY(-3px);
  color: var(--text-primary);
}

.brand-card-top {
  display: flex;
  align-items: flex-start;
  gap: var(--space-4);
  margin-bottom: var(--space-4);
}

.brand-card-info {
  flex: 1;
  min-width: 0;
}

.brand-card-name {
  font-size: var(--text-lg);
  font-weight: 700;
  margin-bottom: var(--space-1);
}

.brand-card-meta {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  font-size: var(--text-xs);
  color: var(--text-muted);
}

.brand-card-chart {
  width: 100%;
  height: 180px;
  margin-bottom: var(--space-3);
}

.brand-card-stats {
  display: flex;
  gap: var(--space-4);
  font-size: var(--text-xs);
  color: var(--text-secondary);
  padding-top: var(--space-3);
  border-top: 1px solid var(--border-subtle);
  margin-top: auto;
}

.brand-card-stats span {
  display: flex;
  align-items: center;
  gap: var(--space-1);
}

/* ============================================================
   BRAND DETAIL PAGE
   ============================================================ */
.brand-hero {
  padding: var(--space-8) 0;
  border-bottom: 1px solid var(--border-primary);
}

.brand-hero-inner {
  display: flex;
  align-items: center;
  gap: var(--space-6);
}

.brand-hero-score {
  text-align: center;
}

.brand-hero-info {
  flex: 1;
}

.brand-hero-name {
  font-size: var(--text-2xl);
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: var(--space-2);
}

.brand-hero-badges {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  flex-wrap: wrap;
}

/* Category breakdown */
.category-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: var(--space-4);
}

.category-card {
  background: var(--surface-2);
  border: 1px solid var(--border-primary);
  border-radius: var(--radius-lg);
  padding: var(--space-4);
  transition: border-color var(--transition-fast);
}

.category-card:hover {
  border-color: var(--border-primary);
}

.category-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: var(--space-3);
}

.category-card-name {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  font-weight: 600;
  font-size: var(--text-sm);
}

.category-card-name i {
  color: var(--green);
  width: 16px;
}

.category-card-score {
  font-weight: 700;
  font-size: var(--text-sm);
  font-variant-numeric: tabular-nums;
}

.category-card-desc {
  font-size: var(--text-xs);
  color: var(--text-muted);
  margin-top: var(--space-2);
  line-height: 1.5;
}

/* ============================================================
   COMPARE PAGE
   ============================================================ */
.compare-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-6);
}

.compare-grid .card {
  display: flex;
  flex-direction: column;
  align-items: center;
}

@media (max-width: 768px) {
  .compare-grid { grid-template-columns: 1fr; }
}

.compare-row {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: var(--space-4);
  align-items: center;
  padding: var(--space-3) 0;
  border-bottom: 1px solid var(--border-subtle);
}

.compare-row .label {
  text-align: center;
  font-size: var(--text-xs);
  font-weight: 600;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  min-width: 100px;
}

.compare-bar {
  display: flex;
  align-items: center;
  gap: var(--space-2);
}

.compare-bar.left {
  justify-content: flex-end;
}

.compare-bar.right {
  justify-content: flex-start;
}

.compare-bar-track {
  height: 8px;
  border-radius: 4px;
  background: var(--surface-3);
  flex: 1;
  overflow: hidden;
  max-width: 200px;
}

.compare-bar-fill {
  height: 100%;
  border-radius: 4px;
  transition: width 600ms var(--ease-out);
}

.compare-bar.left .compare-bar-track {
  direction: rtl;
}

/* ============================================================
   ADMIN STYLES
   ============================================================ */
.admin-layout {
  display: grid;
  grid-template-columns: var(--sidebar-width) 1fr;
  min-height: 100vh;
}

.admin-sidebar {
  background: var(--surface-1);
  border-right: 1px solid var(--border-primary);
  padding: var(--space-5);
  position: sticky;
  top: 0;
  height: 100vh;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
}

.admin-sidebar-nav {
  display: flex;
  flex-direction: column;
  gap: var(--space-1);
  margin-top: var(--space-6);
  flex: 1;
}

.admin-sidebar-link {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  padding: var(--space-2) var(--space-3);
  border-radius: var(--radius-md);
  color: var(--text-secondary);
  font-size: var(--text-sm);
  font-weight: 500;
  transition: all var(--transition-fast);
  text-decoration: none;
}

.admin-sidebar-link:hover {
  background: var(--surface-2);
  color: var(--text-primary);
}

.admin-sidebar-link.active {
  background: var(--green-bg);
  color: var(--green-text);
}

.admin-sidebar-link i {
  width: 20px;
  text-align: center;
}

.admin-main {
  padding: var(--space-8);
  min-height: 100vh;
}

.admin-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: var(--space-8);
}

.admin-title {
  font-size: var(--text-xl);
  font-weight: 700;
}

/* KPI Cards */
.kpi-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: var(--space-4);
}

.kpi-card {
  background: var(--surface-2);
  border: 1px solid var(--border-primary);
  border-radius: var(--radius-lg);
  padding: var(--space-5);
}

.kpi-label {
  font-size: var(--text-xs);
  font-weight: 600;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin-bottom: var(--space-2);
}

.kpi-value {
  font-size: var(--text-2xl);
  font-weight: 800;
  font-variant-numeric: tabular-nums;
  line-height: 1.1;
}

.kpi-delta {
  font-size: var(--text-xs);
  font-weight: 500;
  margin-top: var(--space-1);
}

/* Admin table wrapper */
.table-wrapper {
  background: var(--surface-2);
  border: 1px solid var(--border-primary);
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.table-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-4);
  padding: var(--space-4);
  border-bottom: 1px solid var(--border-primary);
  flex-wrap: wrap;
}

.table-toolbar-left {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  flex: 1;
}

/* ============================================================
   PASSWORD PROMPT (Admin)
   ============================================================ */
.password-overlay {
  position: fixed;
  inset: 0;
  background: var(--bg-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
}

.password-box {
  background: var(--surface-2);
  border: 1px solid var(--border-primary);
  border-radius: var(--radius-xl);
  padding: var(--space-8);
  max-width: 400px;
  width: 100%;
  text-align: center;
}

.password-box .logo {
  justify-content: center;
  margin-bottom: var(--space-6);
}

.password-box .form-group {
  text-align: left;
}

.password-error {
  color: var(--red-text);
  font-size: var(--text-xs);
  margin-top: var(--space-2);
  display: none;
}

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer {
  border-top: 1px solid var(--border-primary);
  padding: var(--space-10) 0;
  margin-top: var(--space-16);
}

.footer-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: var(--space-4);
}

.footer-links {
  display: flex;
  gap: var(--space-4);
}

.footer-links a {
  font-size: var(--text-xs);
  color: var(--text-muted);
}

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

.footer-attribution {
  font-size: var(--text-xs);
  color: var(--text-muted);
}

.footer-attribution a {
  color: var(--text-muted);
}

.footer-attribution a:hover {
  color: var(--text-secondary);
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1024px) {
  .admin-layout {
    grid-template-columns: 1fr;
  }
  .admin-sidebar {
    display: none;
  }
  .admin-sidebar.mobile-open {
    display: flex;
    position: fixed;
    top: 0;
    left: 0;
    width: 280px;
    z-index: 200;
    box-shadow: var(--shadow-lg);
  }
  .admin-main {
    padding: var(--space-5);
  }
}

@media (max-width: 768px) {
  .hero {
    padding: var(--space-16) 0 var(--space-10);
  }
  .brand-grid {
    grid-template-columns: 1fr;
  }
  .industry-grid {
    grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
  }
  .brand-hero-inner {
    flex-direction: column;
    text-align: center;
  }
  .brand-hero-badges {
    justify-content: center;
  }
  .category-grid {
    grid-template-columns: 1fr;
  }
  .kpi-grid {
    grid-template-columns: 1fr 1fr;
  }
  .section {
    padding: var(--space-10) 0;
  }
  .container {
    padding: 0 var(--space-4);
  }
}

@media (max-width: 480px) {
  .kpi-grid {
    grid-template-columns: 1fr;
  }
  .form-row {
    grid-template-columns: 1fr;
  }
  .brand-card-top {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }
  .footer-content {
    flex-direction: column;
    text-align: center;
  }
}

/* ============================================================
   ANIMATIONS
   ============================================================ */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(8px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.animate-in {
  animation: fadeInUp 400ms var(--ease-out) forwards;
  opacity: 0;
}

.stagger-1 { animation-delay: 50ms; }
.stagger-2 { animation-delay: 100ms; }
.stagger-3 { animation-delay: 150ms; }
.stagger-4 { animation-delay: 200ms; }
.stagger-5 { animation-delay: 250ms; }
.stagger-6 { animation-delay: 300ms; }

/* ============================================================
   PRICING TABLE
   ============================================================ */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: var(--space-4);
}

.pricing-card {
  background: var(--surface-2);
  border: 1px solid var(--border-primary);
  border-radius: var(--radius-lg);
  padding: var(--space-5);
  display: flex;
  flex-direction: column;
}

.pricing-card-name {
  font-weight: 600;
  font-size: var(--text-sm);
  color: var(--text-secondary);
  margin-bottom: var(--space-2);
}

.pricing-card-price {
  font-size: var(--text-xl);
  font-weight: 800;
  color: var(--text-primary);
  margin-bottom: var(--space-4);
}

.pricing-card-features {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
}

.pricing-card-features li {
  font-size: var(--text-xs);
  color: var(--text-secondary);
  display: flex;
  align-items: center;
  gap: var(--space-2);
}

.pricing-card-features li::before {
  content: '\f00c';
  font-family: 'Font Awesome 6 Free';
  font-weight: 900;
  color: var(--green);
  font-size: 10px;
}

/* ============================================================
   EXTERNAL RATINGS
   ============================================================ */
.ratings-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: var(--space-4);
}

.rating-card {
  background: var(--surface-2);
  border: 1px solid var(--border-primary);
  border-radius: var(--radius-lg);
  padding: var(--space-5);
  text-align: center;
}

.rating-card-platform {
  font-size: var(--text-xs);
  font-weight: 600;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin-bottom: var(--space-2);
}

.rating-card-score {
  font-size: var(--text-2xl);
  font-weight: 800;
  font-variant-numeric: tabular-nums;
  margin-bottom: var(--space-1);
}

/* Regulatory */
.regulatory-info {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: var(--space-4);
}

.regulatory-item {
  display: flex;
  align-items: flex-start;
  gap: var(--space-3);
}

.regulatory-icon {
  width: 36px;
  height: 36px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: var(--text-sm);
}

/* ============================================================
   STRENGTHS & CONCERNS
   ============================================================ */
.sc-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-4);
}

@media (max-width: 768px) {
  .sc-grid { grid-template-columns: 1fr; }
}

.sc-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
}

.sc-list li {
  display: flex;
  align-items: flex-start;
  gap: var(--space-2);
  font-size: var(--text-sm);
  color: var(--text-secondary);
  line-height: 1.5;
}

.sc-list li i {
  margin-top: 3px;
  font-size: var(--text-xs);
  flex-shrink: 0;
}

/* ============================================================
   RESEARCH STATUS (Admin)
   ============================================================ */
.freshness-badge {
  display: inline-flex;
  align-items: center;
  gap: var(--space-1);
  padding: 2px var(--space-2);
  border-radius: var(--radius-full);
  font-size: var(--text-xs);
  font-weight: 500;
}

.freshness-fresh {
  background: var(--green-bg);
  color: var(--green-text);
}

.freshness-stale {
  background: var(--orange-bg);
  color: var(--orange-text);
}

.freshness-outdated {
  background: var(--red-bg);
  color: var(--red-text);
}

/* Activity feed */
.activity-feed {
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
}

.activity-item {
  display: flex;
  align-items: flex-start;
  gap: var(--space-3);
  padding: var(--space-3);
  border-radius: var(--radius-md);
  background: var(--surface-1);
  border: 1px solid var(--border-subtle);
}

.activity-icon {
  width: 32px;
  height: 32px;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: var(--text-xs);
  flex-shrink: 0;
}

.activity-text {
  font-size: var(--text-sm);
  color: var(--text-secondary);
  line-height: 1.4;
}

.activity-text strong {
  color: var(--text-primary);
}

.activity-time {
  font-size: var(--text-xs);
  color: var(--text-muted);
  margin-top: 2px;
}

/* Pill selector for brand compare */
.brand-selector {
  position: relative;
}

.brand-selector-dropdown {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background: var(--surface-3);
  border: 1px solid var(--border-primary);
  border-radius: var(--radius-md);
  max-height: 200px;
  overflow-y: auto;
  z-index: 50;
  display: none;
}

.brand-selector-dropdown.open {
  display: block;
}

.brand-selector-option {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  padding: var(--space-2) var(--space-3);
  font-size: var(--text-sm);
  cursor: pointer;
  transition: background var(--transition-fast);
}

.brand-selector-option:hover {
  background: var(--surface-2);
}

/* Tab system */
.tabs {
  display: flex;
  border-bottom: 1px solid var(--border-primary);
  gap: 0;
  margin-bottom: var(--space-6);
}

.tab {
  padding: var(--space-3) var(--space-4);
  font-size: var(--text-sm);
  font-weight: 500;
  color: var(--text-muted);
  border-bottom: 2px solid transparent;
  margin-bottom: -1px;
  transition: all var(--transition-fast);
  cursor: pointer;
}

.tab:hover {
  color: var(--text-secondary);
}

.tab.active {
  color: var(--green);
  border-bottom-color: var(--green);
}

/* Admin mobile toggle */
.admin-mobile-toggle {
  display: none;
  position: fixed;
  bottom: var(--space-5);
  left: var(--space-5);
  width: 44px;
  height: 44px;
  border-radius: var(--radius-full);
  background: var(--green);
  color: white;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-lg);
  z-index: 150;
  font-size: var(--text-base);
}

@media (max-width: 1024px) {
  .admin-mobile-toggle { display: flex; }
}

/* ============================================================
   INDUSTRY CARDS V2 — UK-style with colors
   ============================================================ */
.industry-grid-v2 {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: var(--space-4);
}
.industry-card-v2 {
  background: var(--surface-2);
  border: 1px solid var(--border-primary);
  border-radius: var(--radius-lg);
  padding: var(--space-5);
  text-decoration: none;
  color: var(--text-primary);
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
  transition: all var(--transition-normal);
  position: relative;
}
.industry-card-v2:hover {
  border-color: var(--green-dim);
  box-shadow: var(--shadow-glow);
  transform: translateY(-2px);
}
.ic-icon {
  font-size: var(--text-xl);
  margin-bottom: var(--space-1);
}
.ic-name {
  font-weight: 700;
  font-size: var(--text-base);
}
.ic-desc {
  font-size: var(--text-xs);
  color: var(--text-muted);
  line-height: 1.5;
  flex: 1;
}
.ic-arrow {
  color: var(--text-faint);
  font-size: var(--text-sm);
  margin-top: var(--space-2);
  transition: transform var(--transition-fast);
}
.industry-card-v2:hover .ic-arrow {
  transform: translateX(4px);
  color: var(--green);
}


/* ============================================================
   COOKIE CONSENT BANNER
   ============================================================ */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 10000;
  background: var(--bg-card);
  border-top: 1px solid var(--border-primary);
  padding: var(--space-5) var(--space-6);
  box-shadow: 0 -4px 20px rgba(0,0,0,0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-6);
  flex-wrap: wrap;
  font-family: var(--font-body);
  animation: slideUp 0.3s ease-out;
}
@keyframes slideUp {
  from { transform: translateY(100%); }
  to { transform: translateY(0); }
}
.cookie-banner p {
  font-size: var(--text-sm);
  color: var(--text-secondary);
  margin: 0;
  max-width: 600px;
  line-height: 1.5;
}
.cookie-banner p a {
  color: var(--green);
  text-decoration: underline;
}
.cookie-banner-buttons {
  display: flex;
  gap: var(--space-3);
  flex-shrink: 0;
}
.cookie-banner-buttons button {
  padding: var(--space-2) var(--space-5);
  border-radius: var(--radius-md);
  font-size: var(--text-sm);
  font-weight: 600;
  cursor: pointer;
  border: none;
  transition: all var(--transition-fast);
}
.cookie-btn-accept {
  background: var(--green);
  color: #fff;
}
.cookie-btn-accept:hover {
  background: #0d8c44;
}
.cookie-btn-reject {
  background: transparent;
  color: var(--text-secondary);
  border: 1px solid var(--border-primary) !important;
}
.cookie-btn-reject:hover {
  background: var(--surface-2);
  color: var(--text-primary);
}
@media (max-width: 640px) {
  .cookie-banner {
    flex-direction: column;
    text-align: center;
    padding: var(--space-4);
  }
}
