/* ==========================================================================
   Bonavendi Design System - Back Market Inspired
   Modern, bold, trustworthy
   ========================================================================== */

/* ==========================================================================
   1. CSS Variables (Design Tokens)
   ========================================================================== */

:root {
  /* Brand Orange - Logo color, aligned with sell-primary */
  --brand-orange: #FF8C52;
  --brand-orange-dark: #D4612C;
  --brand-orange-light: #FFF7ED;
  --brand-orange-glow: rgba(255, 140, 82, 0.2);

  /* Dark Theme Colors - Back Market Inspired */
  --dark-900: #0F1011;
  --dark-800: #171A1C;
  --dark-700: #1E2124;
  --dark-600: #282C30;
  --dark-500: #3A3F44;

  /* Light Theme Colors */
  --light-50: #FAFBFC;
  --light-100: #F4F5F7;
  --light-200: #E4E7EB;
  --light-300: #D1D5DB;

  /* Text Colors */
  --text-primary: #1A1D21;
  --text-secondary: #4B5563;
  --text-muted: #9CA3AF;
  --text-on-dark: #FFFFFF;
  --text-on-dark-muted: rgba(255, 255, 255, 0.75);

  /* Semantic Colors */
  --success: #10B981;
  --warning: #F59E0B;
  --error: #EF4444;
  --info: #3B82F6;
  --money: #059669;

  /* Mode Colors - Sell (Orange) - Logo "Bona" color */
  --sell-primary: #FF8C52;
  --sell-primary-dark: #D4612C;
  --sell-primary-light: #FFF5EE;
  --sell-background: #FFFCFA;

  /* Mode Colors - Buy (Teal) - Logo "vendi" color */
  --buy-primary: #3DAC9A;
  --buy-primary-dark: #2D8A7A;
  --buy-primary-light: #E6F5F2;
  --buy-background: #FAFCFB;

  /* Mode-aware (defaults to sell) */
  --mode-primary: var(--sell-primary);
  --mode-primary-dark: var(--sell-primary-dark);
  --mode-primary-light: var(--sell-primary-light);
  --mode-primary-glow: rgba(255, 140, 82, 0.2);

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

  /* Typography */
  --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-display: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

  /* Font Sizes */
  --text-xs: 0.75rem;
  --text-sm: 0.875rem;
  --text-base: 1rem;
  --text-lg: 1.125rem;
  --text-xl: 1.25rem;
  --text-2xl: 1.5rem;
  --text-3xl: 2rem;
  --text-4xl: 2.5rem;
  --text-5xl: 3.5rem;

  /* Border Radius */
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 14px;
  --radius-xl: 20px;
  --radius-2xl: 28px;
  --radius-full: 9999px;

  /* Shadows */
  --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.04);
  --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.06);
  --shadow-lg: 0 12px 32px rgba(0, 0, 0, 0.08);
  --shadow-xl: 0 24px 48px rgba(0, 0, 0, 0.12);
  --shadow-glow: 0 0 40px var(--mode-primary-glow);

  /* Transitions */
  --transition-fast: 150ms cubic-bezier(0.4, 0, 0.2, 1);
  --transition-normal: 200ms cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: 300ms cubic-bezier(0.4, 0, 0.2, 1);

  /* Layout */
  --container-max: 1280px;
  --content-max: 720px;
}

/* Buy mode overrides */
[data-mode="buy"] {
  --mode-primary: var(--buy-primary);
  --mode-primary-dark: var(--buy-primary-dark);
  --mode-primary-light: var(--buy-primary-light);
  --mode-primary-glow: rgba(61, 172, 154, 0.2);
}

/* Homepage uses sell mode (orange) by default */
[data-mode="homepage"] {
  --mode-primary: var(--sell-primary);
  --mode-primary-dark: var(--sell-primary-dark);
  --mode-primary-light: var(--sell-primary-light);
  --mode-primary-glow: rgba(255, 140, 82, 0.2);
}

/* ==========================================================================
   2. Reset & Base
   ========================================================================== */

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

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

body {
  font-family: var(--font-sans);
  font-size: var(--text-base);
  line-height: 1.6;
  color: var(--text-primary);
  background-color: var(--light-50);
}

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

/* ==========================================================================
   3. Typography
   ========================================================================== */

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.15;
  color: var(--text-primary);
  letter-spacing: -0.02em;
}

h1 {
  font-size: var(--text-5xl);
  margin-bottom: var(--space-6);
}

h2 {
  font-size: var(--text-4xl);
  margin-bottom: var(--space-5);
}

h3 {
  font-size: var(--text-2xl);
  margin-bottom: var(--space-4);
}

h4 {
  font-size: var(--text-xl);
  font-weight: 600;
  margin-bottom: var(--space-3);
}

p {
  margin-bottom: var(--space-4);
  max-width: var(--content-max);
  color: var(--text-secondary);
}

.lead {
  font-size: var(--text-lg);
  line-height: 1.7;
  color: var(--text-secondary);
}

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

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

a:hover {
  color: var(--mode-primary-dark);
}

/* ==========================================================================
   4. Layout
   ========================================================================== */

.container {
  width: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 var(--space-4);
}

@media (min-width: 640px) {
  .container { padding: 0 var(--space-6); }
}

@media (min-width: 1024px) {
  .container { padding: 0 var(--space-8); }
}

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

.section-dark {
  background: var(--dark-800);
  color: var(--text-on-dark);
}

.section-dark h1,
.section-dark h2,
.section-dark h3,
.section-dark h4 {
  color: var(--text-on-dark);
}

.section-dark p,
.section-dark .lead {
  color: var(--text-on-dark-muted);
}

/* ==========================================================================
   5. Buttons
   ========================================================================== */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
  height: 52px;
  padding: 0 var(--space-8);
  font-family: var(--font-sans);
  font-size: var(--text-base);
  font-weight: 600;
  line-height: 1;
  text-decoration: none;
  border: none;
  border-radius: var(--radius-lg);
  cursor: pointer;
  transition: all var(--transition-fast);
  white-space: nowrap;
}

.btn:hover {
  transform: translateY(-2px);
  text-decoration: none;
}

.btn:active {
  transform: translateY(0) scale(0.98);
}

/* Primary Button - Mode-aware (Teal for Sell, Blue for Buy) */
.btn-primary {
  background: var(--mode-primary);
  color: white;
  box-shadow: 0 4px 14px var(--mode-primary-glow);
}

.btn-primary:hover {
  background: var(--mode-primary-dark);
  box-shadow: 0 6px 20px var(--mode-primary-glow);
  color: white;
}

/* Brand Orange Button - For homepage/brand moments */
.btn-brand {
  background: var(--brand-orange);
  color: white;
  box-shadow: 0 4px 14px var(--brand-orange-glow);
}

.btn-brand:hover {
  background: var(--brand-orange-dark);
  box-shadow: 0 6px 20px var(--brand-orange-glow);
  color: white;
}

/* Secondary Button */
.btn-secondary {
  background: var(--dark-700);
  color: var(--text-on-dark);
  border: 1px solid var(--dark-500);
}

.btn-secondary:hover {
  background: var(--dark-600);
  color: var(--text-on-dark);
}

/* Outline Button */
.btn-outline {
  background: transparent;
  color: var(--text-primary);
  border: 2px solid var(--light-300);
}

.btn-outline:hover {
  border-color: var(--mode-primary);
  color: var(--mode-primary);
  background: var(--mode-primary-light);
}

/* Ghost Button */
.btn-ghost {
  height: 44px;
  padding: 0 var(--space-4);
  background: transparent;
  color: var(--text-secondary);
}

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

/* Button on dark backgrounds */
.section-dark .btn-outline {
  color: var(--text-on-dark);
  border-color: var(--dark-500);
}

.section-dark .btn-outline:hover {
  border-color: var(--mode-primary);
  background: rgba(12, 228, 112, 0.1);
}

/* Small button */
.btn-sm {
  height: 40px;
  padding: 0 var(--space-5);
  font-size: var(--text-sm);
  border-radius: var(--radius-md);
}

/* ==========================================================================
   6. Cards
   ========================================================================== */

.card {
  background: white;
  border: 1px solid var(--light-200);
  border-radius: var(--radius-xl);
  padding: var(--space-6);
  transition: all var(--transition-normal);
}

.card-interactive:hover {
  border-color: var(--light-300);
  box-shadow: var(--shadow-lg);
  transform: translateY(-4px);
}

.card-dark {
  background: var(--dark-700);
  border-color: var(--dark-500);
}

.card-highlight {
  border-color: var(--mode-primary);
  box-shadow: var(--shadow-glow);
}

/* ==========================================================================
   7. Header & Navigation
   ========================================================================== */

/* Top Banner */
.top-banner {
  background: var(--dark-800);
  color: var(--text-on-dark);
  padding: var(--space-2) 0;
  font-size: var(--text-sm);
}

.top-banner-content {
  display: flex;
  align-items: center;
  gap: var(--space-6);
  justify-content: center;
}

.top-banner-link {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  color: var(--text-on-dark-muted);
  font-weight: 500;
  transition: color var(--transition-fast);
}

.top-banner-link:hover {
  color: var(--text-on-dark);
}

.top-banner-icon {
  color: var(--mode-primary);
}

@media (max-width: 768px) {
  .top-banner-content {
    gap: var(--space-4);
    font-size: var(--text-xs);
  }

  .top-banner-link:not(:first-child) {
    display: none;
  }
}

/* Main Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: white;
  border-bottom: 1px solid var(--light-200);
}

.header-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
  gap: var(--space-6);
}

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

.logo-image {
  height: 32px;
  width: auto;
}

.logo-text {
  font-family: var(--font-display);
  font-size: var(--text-xl);
  font-weight: 800;
  color: var(--sell-primary);
  letter-spacing: -0.02em;
}

.logo-text span {
  color: var(--buy-primary);
}

/* Logo on dark backgrounds */
.section-dark .logo-text,
.site-footer .logo-text {
  color: var(--sell-primary);
}

.section-dark .logo-text span,
.site-footer .logo-text span {
  color: var(--buy-primary);
}

/* Mode Switcher - Pill style */
.mode-switcher {
  display: flex;
  background: var(--light-100);
  padding: 4px;
  border-radius: var(--radius-full);
  gap: 2px;
}

.mode-btn {
  padding: var(--space-2) var(--space-5);
  font-family: var(--font-sans);
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--text-muted);
  background: transparent;
  border: none;
  border-radius: var(--radius-full);
  cursor: pointer;
  transition: all var(--transition-fast);
}

.mode-btn:hover:not(.active) {
  color: var(--text-secondary);
}

.mode-btn.active {
  background: var(--dark-800);
  color: white;
}

/* Navigation */
.nav-main {
  display: flex;
  align-items: center;
  gap: var(--space-1);
}

.nav-link {
  padding: var(--space-2) var(--space-4);
  font-size: var(--text-sm);
  font-weight: 500;
  color: var(--text-secondary);
  border-radius: var(--radius-md);
  transition: all var(--transition-fast);
}

.nav-link:hover {
  color: var(--text-primary);
  background: var(--light-100);
  text-decoration: none;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: var(--space-3);
}

.header-action-link {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: var(--space-2) var(--space-3);
  color: var(--text-secondary);
  font-size: var(--text-sm);
  font-weight: 500;
  border-radius: var(--radius-md);
  transition: all var(--transition-fast);
}

.header-action-link:hover {
  color: var(--text-primary);
  background: var(--light-100);
}

.header-action-icon {
  display: flex;
  align-items: center;
  justify-content: center;
}

.header-action-icon svg {
  width: 20px;
  height: 20px;
}

.header-action-text {
  font-weight: 500;
}

.header-help-link {
  padding: var(--space-2) var(--space-4);
}

/* Header Search */
.header-search {
  flex: 1;
  max-width: 400px;
  margin: 0 var(--space-4);
}

.header-search .search-input-wrapper {
  position: relative;
  width: 100%;
}

.header-search .search-input {
  width: 100%;
  height: 44px;
  padding: 0 var(--space-4) 0 var(--space-10);
  font-size: var(--text-sm);
  background: var(--light-100);
  border: 1px solid var(--light-200);
  border-radius: var(--radius-full);
  transition: all var(--transition-fast);
}

.header-search .search-input:focus {
  background: white;
  border-color: var(--mode-primary);
  box-shadow: 0 0 0 3px var(--mode-primary-glow);
  outline: none;
}

.header-search .search-icon {
  position: absolute;
  left: var(--space-4);
  top: 50%;
  transform: translateY(-50%);
  display: flex;
  align-items: center;
  color: var(--text-muted);
  color: var(--text-muted);
  pointer-events: none;
}

@media (max-width: 1024px) {
  .header-search {
    display: none;
  }
}

/* Category Navigation Bar */
.category-nav-bar {
  background: white;
  border-bottom: 1px solid var(--light-200);
  padding: 0;
}

.category-nav-bar .container {
  overflow: visible;
}

.category-nav-bar .container::-webkit-scrollbar {
  display: none;
}

.category-nav-bar .category-nav {
  display: flex;
  align-items: center;
  padding: 0;
}

.category-nav-bar .primary-categories {
  display: flex;
  align-items: center;
  gap: 0;
  white-space: nowrap;
}

.category-nav-bar .primary-categories li {
  list-style: none;
}

.category-nav-bar .primary-categories a {
  display: block;
  padding: var(--space-3) var(--space-4);
  font-size: var(--text-sm);
  font-weight: 500;
  color: var(--text-secondary);
  transition: all var(--transition-fast);
  border-bottom: 2px solid transparent;
}

.category-nav-bar .primary-categories a:hover {
  color: var(--text-primary);
  background: var(--light-50);
}

.category-nav-bar .primary-categories a.active {
  color: var(--mode-primary);
  border-bottom-color: var(--mode-primary);
}

/* Category dropdown - hidden by default */
.all-categories-dropdown {
  position: relative;
}

.all-categories-dropdown .dropdown-toggle {
  background: none;
  border: none;
  font-size: var(--text-sm);
  color: var(--text-secondary);
  cursor: pointer;
  padding: var(--space-3) var(--space-4);
  display: flex;
  align-items: center;
  gap: var(--space-2);
  transition: color var(--transition-fast);
}

.all-categories-dropdown .dropdown-toggle:hover {
  color: var(--mode-primary);
}

.all-categories-dropdown .dropdown-toggle .arrow {
  font-size: 0.7em;
  transition: transform var(--transition-fast);
}

.all-categories-dropdown .dropdown-menu {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  background: white;
  border: 1px solid var(--light-200);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  padding: var(--space-6);
  min-width: 500px;
  z-index: 200;
  gap: var(--space-8);
}

.all-categories-dropdown:hover .dropdown-menu,
.all-categories-dropdown .dropdown-menu.is-open {
  display: flex;
}

.all-categories-dropdown:hover .dropdown-toggle .arrow {
  transform: rotate(180deg);
}

.all-categories-dropdown .category-group .group-title {
  display: block;
  font-size: var(--text-xs);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--text-muted);
  margin-bottom: var(--space-3);
}

.all-categories-dropdown .category-group ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.all-categories-dropdown .category-group li {
  margin-bottom: var(--space-2);
}

.all-categories-dropdown .category-group a {
  color: var(--text-secondary);
  font-size: var(--text-sm);
  text-decoration: none;
  transition: color var(--transition-fast);
}

.all-categories-dropdown .category-group a:hover {
  color: var(--mode-primary);
}

/* Hide ratgeber link in nav bar */
.category-nav-bar .ratgeber-link {
  display: none;
}

/* Skip link */
.skip-to-content {
  position: absolute;
  left: -9999px;
}

.skip-to-content:focus {
  left: var(--space-4);
  top: var(--space-4);
  z-index: 999;
  padding: var(--space-3) var(--space-4);
  background: var(--mode-primary);
  color: var(--dark-900);
  border-radius: var(--radius-md);
}

/* Breadcrumb Navigation */
.breadcrumb {
  background: var(--light-50);
  padding: var(--space-3) 0;
  border-bottom: 1px solid var(--light-200);
}

.breadcrumb ol {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--space-2);
  list-style: none;
  margin: 0;
  padding: 0 var(--space-4);
  max-width: var(--container-max);
  margin: 0 auto;
}

@media (min-width: 640px) {
  .breadcrumb ol {
    padding: 0 var(--space-6);
  }
}

@media (min-width: 1024px) {
  .breadcrumb ol {
    padding: 0 var(--space-8);
  }
}

.breadcrumb li {
  display: flex;
  align-items: center;
  font-size: var(--text-sm);
  color: var(--text-muted);
}

.breadcrumb li:not(:last-child)::after {
  content: '/';
  margin-left: var(--space-2);
  color: var(--text-muted);
}

.breadcrumb a {
  color: var(--text-secondary);
  text-decoration: none;
  transition: color var(--transition-fast);
}

.breadcrumb a:hover {
  color: var(--mode-primary);
}

.breadcrumb li.current {
  color: var(--text-primary);
  font-weight: 500;
}

/* Breadcrumb in hero sections - subtle, non-intrusive approach */
.category-hero .breadcrumb,
.landing-hero .breadcrumb,
.hero .breadcrumb {
  position: absolute;
  top: 12px;
  left: 16px;
  z-index: 3;
  background: none;
  padding: 0;
  border-bottom: none;
}

.category-hero .breadcrumb ol,
.landing-hero .breadcrumb ol,
.hero .breadcrumb ol {
  font-size: 11px;
  padding: 0;
}

.category-hero .breadcrumb li,
.landing-hero .breadcrumb li,
.hero .breadcrumb li {
  font-size: 11px;
  color: rgba(255, 255, 255, 0.65);
}

.category-hero .breadcrumb a,
.landing-hero .breadcrumb a,
.hero .breadcrumb a {
  color: rgba(255, 255, 255, 0.75);
  transition: color 0.2s;
}

.category-hero .breadcrumb a:hover,
.landing-hero .breadcrumb a:hover,
.hero .breadcrumb a:hover {
  color: rgba(255, 255, 255, 0.95);
}

.category-hero .breadcrumb li.current,
.landing-hero .breadcrumb li.current,
.hero .breadcrumb li.current {
  color: rgba(255, 255, 255, 0.85);
}

.category-hero .breadcrumb li:not(:last-child)::after,
.landing-hero .breadcrumb li:not(:last-child)::after,
.hero .breadcrumb li:not(:last-child)::after {
  color: rgba(255, 255, 255, 0.5);
}

/* Desktop: subtle visibility */
@media (min-width: 769px) {
  .category-hero .breadcrumb,
  .landing-hero .breadcrumb,
  .hero .breadcrumb {
    opacity: 0.8;
  }

  .category-hero .breadcrumb:hover,
  .landing-hero .breadcrumb:hover,
  .hero .breadcrumb:hover {
    opacity: 1;
  }
}

/* Mobile: hide completely - screen space is precious, users don't use breadcrumbs */
@media (max-width: 768px) {
  .category-hero .breadcrumb,
  .landing-hero .breadcrumb,
  .hero .breadcrumb {
    display: none;
  }
}

/* ==========================================================================
   8. Hero Section - Back Market Inspired Dark & Bold
   ========================================================================== */

.hero {
  background: linear-gradient(135deg, var(--dark-900) 0%, var(--dark-800) 50%, var(--dark-700) 100%);
  color: var(--text-on-dark);
  padding: var(--space-24) 0 var(--space-20);
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: -40%;
  right: -15%;
  width: 900px;
  height: 900px;
  background: radial-gradient(circle, var(--mode-primary-glow) 0%, transparent 60%);
  pointer-events: none;
  opacity: 0.8;
}

.hero::after {
  content: '';
  position: absolute;
  bottom: -30%;
  left: -10%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, var(--mode-primary-glow) 0%, transparent 70%);
  pointer-events: none;
  opacity: 0.4;
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 760px;
}

.hero .vendor-logo {
  width: 120px;
  height: 60px;
  object-fit: contain;
  background: white;
  border-radius: var(--radius-lg);
  padding: var(--space-2);
  margin-bottom: var(--space-4);
}

.hero h1 {
  color: var(--text-on-dark);
  font-size: var(--text-5xl);
  margin-bottom: var(--space-6);
  line-height: 1.1;
}

.hero .lead,
.hero .subheadline {
  color: var(--text-on-dark-muted);
  font-size: var(--text-xl);
  margin-bottom: var(--space-8);
  max-width: 560px;
  line-height: 1.6;
}

.hero-highlight {
  color: var(--mode-primary);
  position: relative;
}

.hero-highlight::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 100%;
  height: 3px;
  background: var(--mode-primary);
  border-radius: 2px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  padding: var(--space-2) var(--space-4);
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--mode-primary);
  background: rgba(255, 140, 82, 0.15);
  border-radius: var(--radius-full);
  margin-bottom: var(--space-3);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

[data-mode="buy"] .hero-badge {
  color: var(--buy-primary);
  background: rgba(61, 172, 154, 0.15);
}

.hero-cta {
  display: flex;
  gap: var(--space-4);
  flex-wrap: wrap;
}

/* Trust indicators in hero */
.hero-trust {
  display: flex;
  align-items: center;
  gap: var(--space-6);
  margin-top: var(--space-10);
  padding-top: var(--space-8);
  border-top: 1px solid var(--dark-600);
}

.trust-stat {
  text-align: left;
}

.trust-stat-value {
  font-size: var(--text-2xl);
  font-weight: 700;
  color: var(--mode-primary);
}

.trust-stat-label {
  font-size: var(--text-sm);
  color: var(--text-on-dark-muted);
}

/* ==========================================================================
   9. Category Hub
   ========================================================================== */

.category-hub {
  background: var(--light-50);
}

.category-hero {
  background: var(--dark-800);
  color: var(--text-on-dark);
  padding: var(--space-16) 0;
  text-align: center;
}

.category-hero h1 {
  color: var(--text-on-dark);
}

.category-hero .lead {
  color: var(--text-on-dark-muted);
  max-width: 560px;
  margin: 0 auto var(--space-6);
}

.category-badge {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  padding: var(--space-2) var(--space-4);
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--mode-primary);
  background: rgba(12, 228, 112, 0.1);
  border-radius: var(--radius-full);
}

/* Widget Section */
.widget-section {
  padding: var(--space-16) 0;
  background: var(--light-50);
}

.widget-header {
  text-align: center;
  margin-bottom: var(--space-8);
}

.widget-header h2 {
  margin-bottom: var(--space-3);
}

.widget-subtitle {
  color: var(--text-secondary);
  font-size: var(--text-lg);
}

.widget-container {
  max-width: 1600px;
  margin: 0 auto;
}

.widget-placeholder {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-3);
  padding: var(--space-16);
  text-align: center;
  background: white;
  border: 2px dashed var(--light-300);
  border-radius: var(--radius-xl);
  color: var(--text-muted);
}

.widget-placeholder-icon {
  font-size: var(--text-4xl);
}

/* Section Headers */
.section-header {
  margin-bottom: var(--space-10);
}

.section-header.text-center {
  text-align: center;
}

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

.section-subtitle {
  color: var(--text-secondary);
  font-size: var(--text-lg);
  max-width: 600px;
}

.section-header.text-center .section-subtitle {
  margin: 0 auto;
}

.section-dark .section-subtitle {
  color: var(--text-on-dark-muted);
}

/* ==========================================================================
   10. Vendor/Partner Cards
   ========================================================================== */

.vendor-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
  gap: var(--space-4);
}

.vendor-card {
  background: white;
  border: 1px solid var(--light-200);
  border-radius: var(--radius-xl);
  padding: var(--space-6);
  transition: all var(--transition-normal);
}

.vendor-card:hover {
  border-color: var(--light-300);
  box-shadow: var(--shadow-lg);
}

.vendor-card.best-offer {
  border-color: var(--mode-primary);
  background: linear-gradient(to bottom, var(--mode-primary-light), white);
}

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

.vendor-card .vendor-logo {
  width: 100px;
  height: 50px;
  object-fit: contain;
  flex-shrink: 0;
}


.vendor-name {
  font-size: var(--text-lg);
  font-weight: 700;
  margin-bottom: var(--space-2);
}

.vendor-rating {
  display: flex;
  align-items: center;
  gap: var(--space-1);
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--text-secondary);
}

.vendor-rating .stars {
  color: #FBBF24;
}

.vendor-price {
  font-size: var(--text-3xl);
  font-weight: 700;
  color: var(--mode-primary);
  margin: var(--space-4) 0;
}

.vendor-features {
  list-style: none;
  margin-bottom: var(--space-4);
}

.vendor-features li {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  padding: var(--space-2) 0;
  font-size: var(--text-sm);
  color: var(--text-secondary);
}

.vendor-features .check {
  color: var(--mode-primary);
  font-weight: bold;
}

/* ==========================================================================
   10a-2. Vendor List - Category-C (ranked vertical list)
   Mirrors PriceQueryOfferRow pattern from the widget
   ========================================================================== */

/* List container */
.vendor-list {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--light-200);
}

/* Individual row */
.vendor-row {
  border-bottom: 1px solid var(--light-200);
  background: white;
  transition: background var(--transition-fast);
}

.vendor-row:last-child {
  border-bottom: 0;
}

.vendor-row:nth-child(even) {
  background: var(--light-50);
}

.vendor-row:hover {
  background: var(--light-100);
}

/* Best offer (first row) */
.vendor-row--best {
  background: color-mix(in srgb, var(--mode-primary, var(--brand-orange)) 8%, white) !important;
  border-left: 4px solid var(--mode-primary, var(--brand-orange));
}

/* ── Mobile layout ── */
.vendor-row-mobile {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  padding: var(--space-3) var(--space-3);
  text-decoration: none;
  color: inherit;
  cursor: pointer;
}

.vendor-row-desktop {
  display: none;
}

/* Logo (mobile) */
.vendor-row-logo {
  flex-shrink: 0;
  width: 56px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.vendor-row-logo img {
  width: 56px;
  height: 56px;
  object-fit: contain;
}

.vendor-row-logo-placeholder {
  width: 56px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--mode-primary, var(--brand-orange)), var(--mode-primary-dark, var(--brand-orange-dark)));
  color: white;
  font-weight: 700;
  font-size: var(--text-sm);
  border-radius: var(--radius-md);
}

/* Info column (mobile) */
.vendor-row-info {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.vendor-row-info h3 {
  font-size: var(--text-base);
  font-weight: 600;
  margin: 0;
  color: var(--text-primary);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.vendor-row-fact-inline {
  font-size: var(--text-xs);
  color: var(--text-muted);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* Chevron (mobile) */
.vendor-row-chevron {
  flex-shrink: 0;
  font-size: var(--text-2xl);
  color: var(--text-muted);
  line-height: 1;
}

/* ── Rating badge (shared) ── */
.vendor-row-rating {
  display: inline-flex;
  align-items: center;
  gap: 3px;
  padding: 1px var(--space-1);
  border-radius: var(--radius-sm);
  font-size: var(--text-xs);
  font-weight: 600;
  white-space: nowrap;
  width: fit-content;
}

.vendor-row-rating .rating-ct {
  font-weight: 400;
  opacity: 0.7;
}

.vendor-row-rating .rating-src {
  font-weight: 400;
  opacity: 0.5;
  font-size: 10px;
}

.vendor-row-rating--excellent {
  background: #D1FAE5;
  color: #065F46;
}

.vendor-row-rating--good {
  background: #FEF3C7;
  color: #92400E;
}

.vendor-row-rating--fair {
  background: #FEF3C7;
  color: #B45309;
}

.vendor-row-rating--poor {
  background: #FEE2E2;
  color: #991B1B;
}

/* Hide category tags on mobile (shown in desktop media query) */
.vendor-row-categories {
  display: none;
}

/* ── Desktop layout (768px+) ── */
@media (min-width: 768px) {
  .vendor-row-mobile {
    display: none;
  }

  .vendor-row-desktop {
    display: grid;
    grid-template-columns: 120px 1fr 1fr 140px;
    gap: var(--space-4);
    align-items: center;
    padding: var(--space-4) var(--space-5);
  }

  /* Col 1: Logo */
  .vendor-row-col-logo {
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .vendor-row-col-logo img {
    width: 96px;
    height: 48px;
    object-fit: contain;
  }

  .vendor-row-col-logo .vendor-row-logo-placeholder {
    width: 96px;
    height: 48px;
    font-size: var(--text-base);
  }

  /* Col 2: Info */
  .vendor-row-col-info {
    display: flex;
    flex-direction: column;
    gap: var(--space-1);
  }

  .vendor-row-col-info h3 {
    font-size: var(--text-lg);
    font-weight: 700;
    margin: 0;
    color: var(--text-primary);
  }

  .vendor-row-desc {
    font-size: var(--text-sm);
    color: var(--text-secondary);
    margin: 0;
    line-height: 1.4;
  }

  .vendor-row-highlights {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-1) var(--space-3);
  }

  .vendor-row-hl {
    font-size: var(--text-xs);
    color: #16A34A;
    white-space: nowrap;
  }

  /* Category tags in vendor rows (desktop only) */
  .vendor-row-categories {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-1);
    margin-top: var(--space-2);
  }

  .vendor-row-categories .category-tag {
    font-size: var(--text-xs);
    padding: 2px var(--space-2);
    background: var(--light-100);
    color: var(--text-muted);
    border-radius: var(--radius-sm);
  }

  .vendor-row-categories .category-tag.more {
    background: var(--light-200);
  }

  /* Col 3: Facts */
  .vendor-row-col-facts {
    display: flex;
    flex-direction: column;
    gap: var(--space-2);
  }

  .vendor-row-fact {
    display: flex;
    align-items: baseline;
    gap: var(--space-1);
    font-size: var(--text-sm);
    line-height: 1.3;
  }

  .vrf-icon {
    flex-shrink: 0;
    width: 18px;
    text-align: center;
    font-size: var(--text-sm);
  }

  .vrf-label {
    color: var(--text-muted);
    font-size: var(--text-xs);
    flex-shrink: 0;
  }

  .vrf-value {
    color: var(--text-primary);
    font-weight: 600;
    font-size: var(--text-sm);
  }

  .vendor-row-since {
    font-size: var(--text-xs);
    color: var(--text-muted);
    margin-top: var(--space-1);
  }

  /* Col 4: CTA */
  .vendor-row-col-cta {
    display: flex;
    flex-direction: column;
    gap: var(--space-2);
    justify-content: center;
  }

  .btn-vendor-cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: var(--space-2) var(--space-4);
    min-height: 48px;
    background: var(--mode-primary, var(--brand-orange));
    color: white;
    border: none;
    border-radius: var(--radius-md);
    font-size: var(--text-sm);
    font-weight: 600;
    text-align: center;
    text-decoration: none;
    cursor: pointer;
    transition: all var(--transition-normal);
    white-space: nowrap;
  }

  .btn-vendor-cta:hover {
    background: var(--mode-primary, var(--brand-orange-dark));
    box-shadow: var(--shadow-md);
    color: white;
    text-decoration: none;
    transform: translateY(-1px);
  }

  /* Primary CTA - go to vendor */
  .btn-vendor-cta--primary {
    background: var(--mode-primary, var(--brand-orange));
    color: white;
  }

  .btn-vendor-cta--primary:hover {
    background: var(--mode-primary, var(--brand-orange-dark));
    color: white;
  }

  /* Secondary CTA - details */
  .btn-vendor-cta--secondary {
    background: transparent;
    color: var(--dark-600);
    border: 1px solid var(--dark-200);
  }

  .btn-vendor-cta--secondary:hover {
    background: var(--light-100);
    color: var(--dark-700);
    border-color: var(--dark-300);
    box-shadow: none;
    transform: none;
  }

  /* Best row CTA emphasis */
  .vendor-row--best .btn-vendor-cta {
    font-size: var(--text-base);
    padding: var(--space-3) var(--space-5);
  }
}

/* ==========================================================================
   10b. Vendor Profile Pages
   ========================================================================== */

.vendor-profile {
  background: var(--light-50);
}

/* Vendor Hero - Matches category-hero style */
.vendor-hero {
  background: linear-gradient(135deg, var(--dark-900) 0%, var(--dark-800) 50%, var(--dark-700) 100%);
  color: var(--text-on-dark);
  padding: var(--space-12) 0;
  position: relative;
}

.vendor-hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(ellipse at top right, var(--mode-primary-glow, var(--brand-orange-glow)) 0%, transparent 50%);
  pointer-events: none;
}

.vendor-hero .container {
  position: relative;
  z-index: 1;
}

.vendor-header {
  display: flex;
  align-items: center;
  gap: var(--space-6);
}

.vendor-hero .vendor-logo {
  width: 120px;
  height: 60px;
  border-radius: var(--radius-lg);
  background: white;
  padding: var(--space-2);
  object-fit: contain;
  flex-shrink: 0;
}

.vendor-info h1 {
  color: var(--text-on-dark);
  font-size: var(--text-3xl);
  margin-bottom: var(--space-2);
}

.vendor-tagline {
  color: var(--text-on-dark-muted);
  font-size: var(--text-lg);
  margin-bottom: var(--space-3);
  max-width: 600px;
}

.vendor-link {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  color: var(--mode-primary, var(--brand-orange));
  font-weight: 500;
  font-size: var(--text-sm);
  text-decoration: none;
}

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

/* Scorecard Section */
.scorecard-section {
  padding: var(--space-12) 0;
  background: white;
}

.scorecard-section h2 {
  text-align: center;
  margin-bottom: var(--space-8);
}

.scorecard-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-6);
  max-width: 900px;
  margin: 0 auto;
}

.scorecard-item {
  background: var(--light-50);
  border-radius: var(--radius-lg);
  padding: var(--space-5);
  text-align: center;
}

.scorecard-label {
  display: block;
  font-size: var(--text-sm);
  color: var(--text-muted);
  margin-bottom: var(--space-3);
  font-weight: 500;
}

.scorecard-bar {
  height: 8px;
  background: var(--light-200);
  border-radius: var(--radius-full);
  overflow: hidden;
  margin-bottom: var(--space-2);
}

.scorecard-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--mode-primary, var(--brand-orange)) 0%, var(--mode-primary-dark, var(--brand-orange-dark)) 100%);
  border-radius: var(--radius-full);
  transition: width 0.5s ease-out;
}

.scorecard-value {
  display: block;
  font-size: var(--text-sm);
  color: var(--text-secondary);
  font-weight: 500;
}

.scorecard-value-large {
  font-size: var(--text-xl);
  font-weight: 700;
  color: var(--text-primary);
  margin-top: var(--space-2);
}

/* Audit/Price Analysis Section */
.audit-section {
  padding: var(--space-12) 0;
  background: var(--light-50);
}

.audit-section h2 {
  text-align: center;
  margin-bottom: var(--space-8);
}

.audit-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: var(--space-4);
  max-width: 900px;
  margin: 0 auto;
}

.audit-card {
  background: white;
  border: 1px solid var(--light-200);
  border-radius: var(--radius-lg);
  padding: var(--space-5);
  text-align: center;
  transition: all var(--transition-normal);
}

.audit-card:hover {
  border-color: var(--light-300);
  box-shadow: var(--shadow-md);
}

.audit-card.highlight {
  border-color: var(--mode-primary, var(--brand-orange));
  background: var(--mode-primary-light, var(--brand-orange-light));
}

.audit-category {
  display: block;
  font-size: var(--text-sm);
  color: var(--text-muted);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: var(--space-2);
}

.audit-winrate {
  display: block;
  font-size: var(--text-2xl);
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: var(--space-2);
}

.audit-card.highlight .audit-winrate {
  color: var(--mode-primary-dark, var(--brand-orange-dark));
}

.audit-note {
  font-size: var(--text-sm);
  color: var(--text-secondary);
  margin: 0;
  line-height: 1.4;
}

/* Alternatives Section */
.alternatives-section {
  padding: var(--space-12) 0;
  background: white;
}

.alternatives-section h2 {
  text-align: center;
  margin-bottom: var(--space-3);
}

.section-subtitle {
  color: var(--text-secondary);
  text-align: center;
  margin-bottom: var(--space-8);
  font-size: var(--text-lg);
}

.alternatives-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: var(--space-4);
  max-width: 700px;
  margin: 0 auto;
}

.alternative-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: var(--space-5);
  background: var(--light-50);
  border: 1px solid var(--light-200);
  border-radius: var(--radius-lg);
  text-decoration: none;
  transition: all var(--transition-normal);
}

.alternative-card:hover {
  border-color: var(--mode-primary, var(--brand-orange));
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}

.alternative-name {
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: var(--space-1);
}

.alternative-note {
  font-size: var(--text-sm);
  color: var(--text-muted);
  text-align: center;
}

/* CTA Section (vendor profile specific) */
.cta-section {
  padding: var(--space-12) 0;
  background: var(--light-50);
}

/* Responsive adjustments for vendor profile */
@media (max-width: 768px) {
  .vendor-header {
    flex-direction: column;
    text-align: center;
  }

  .vendor-info h1 {
    font-size: var(--text-2xl);
  }

  .vendor-tagline {
    font-size: var(--text-base);
  }

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

  .audit-grid {
    grid-template-columns: 1fr;
  }

  .alternatives-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 480px) {
  .vendor-hero .vendor-logo {
    width: 96px;
    height: 48px;
  }

  .vendor-info h1 {
    font-size: var(--text-xl);
  }

  .scorecard-grid {
    grid-template-columns: 1fr;
  }

  .scorecard-section h2,
  .audit-section h2,
  .alternatives-section h2 {
    font-size: var(--text-xl);
  }
}

/* ==========================================================================
   10c. Landing Pages (Vendor Comparison, Special Categories)
   ========================================================================== */

.landing-page {
  background: var(--light-50);
}

/* Landing Hero - Dark theme matching category-hero */
.landing-hero {
  background: linear-gradient(135deg, var(--dark-900) 0%, var(--dark-800) 50%, var(--dark-700) 100%);
  color: var(--text-on-dark);
  padding: var(--space-20) 0;
  position: relative;
}

.landing-hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(ellipse at top right, var(--mode-primary-glow, var(--brand-orange-glow)) 0%, transparent 50%);
  pointer-events: none;
}

.landing-hero .container {
  position: relative;
  z-index: 1;
}

.landing-hero .hero-content {
  max-width: 700px;
  text-align: center;
  margin: 0 auto;
}

.landing-hero .hero-badge {
  display: inline-block;
  background: var(--mode-primary, var(--brand-orange));
  color: white;
  font-size: var(--text-xs);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  padding: var(--space-1) var(--space-3);
  border-radius: var(--radius-full);
  margin-bottom: var(--space-4);
}

.landing-hero .vendor-logo {
  width: 120px;
  height: 60px;
  object-fit: contain;
  background: white;
  border-radius: var(--radius-lg);
  padding: var(--space-2);
  margin-bottom: var(--space-4);
  display: block;
  margin-left: auto;
  margin-right: auto;
}

.landing-hero h1 {
  color: var(--text-on-dark);
  font-size: var(--text-4xl);
  margin-bottom: var(--space-4);
}

.landing-hero .lead {
  color: var(--text-on-dark-muted);
  font-size: var(--text-lg);
  line-height: 1.6;
  margin-bottom: var(--space-6);
  margin-left: auto;
  margin-right: auto;
  max-width: 560px;
}

.landing-hero .hero-cta .btn {
  background: var(--mode-primary, var(--brand-orange));
  color: white;
  padding: var(--space-3) var(--space-6);
  font-weight: 600;
  border-radius: var(--radius-lg);
  transition: all var(--transition-normal);
}

.landing-hero .hero-cta .btn:hover {
  background: var(--mode-primary-dark, var(--brand-orange-dark));
  transform: translateY(-1px);
}

/* Partner Section */
.partner-section {
  padding: var(--space-10) 0;
  background: white;
}

.partner-highlight {
  text-align: center;
  max-width: 600px;
  margin: 0 auto;
}

.partner-highlight h2 {
  margin-bottom: var(--space-3);
}

.partner-highlight p {
  color: var(--text-secondary);
  font-size: var(--text-lg);
}

/* Trust Section */
.trust-section {
  padding: var(--space-8) 0;
  background: var(--light-100);
}

.trust-badges {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: var(--space-6);
}

.trust-badge {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  font-size: var(--text-sm);
  font-weight: 500;
  color: var(--text-secondary);
}

.trust-badge-icon {
  font-size: var(--text-lg);
}

/* Back Link Section */
.back-link-section {
  padding: var(--space-8) 0;
  background: white;
}

.back-link {
  color: var(--mode-primary, var(--brand-orange));
  font-weight: 500;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  transition: color var(--transition-fast);
}

.back-link:hover {
  color: var(--mode-primary-dark, var(--brand-orange-dark));
  text-decoration: underline;
}

/* Responsive adjustments for landing pages */
@media (max-width: 768px) {
  .landing-hero {
    padding: var(--space-10) 0;
    text-align: center;
  }

  .landing-hero h1 {
    font-size: var(--text-3xl);
  }

  .landing-hero .hero-content {
    max-width: 100%;
  }

  .trust-badges {
    flex-direction: column;
    align-items: center;
    gap: var(--space-3);
  }
}

@media (max-width: 480px) {
  .landing-hero .vendor-logo {
    width: 96px;
    height: 48px;
  }

  .landing-hero h1 {
    font-size: var(--text-2xl);
  }

  .landing-hero .lead {
    font-size: var(--text-base);
  }
}

/* ==========================================================================
   11. Comparison Table
   ========================================================================== */

.comparison-table-wrapper {
  overflow-x: auto;
  border-radius: var(--radius-xl);
  border: 1px solid var(--light-200);
  background: white;
}

table {
  width: 100%;
  border-collapse: collapse;
}

th, td {
  padding: var(--space-4) var(--space-5);
  text-align: left;
}

th {
  font-size: var(--text-xs);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--text-muted);
  background: var(--light-50);
  border-bottom: 1px solid var(--light-200);
}

td {
  border-bottom: 1px solid var(--light-100);
}

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

tr:hover td {
  background: var(--light-50);
}

.table-best-row {
  background: var(--mode-primary-light);
}

.table-best-row td {
  border-bottom-color: rgba(12, 228, 112, 0.2);
}

.table-price {
  font-size: var(--text-xl);
  font-weight: 700;
  color: var(--mode-primary);
}

/* ==========================================================================
   12. FAQ Accordion
   ========================================================================== */

.faq {
  padding: var(--space-16) 0;
}

.faq h2 {
  text-align: center;
  margin-bottom: var(--space-10);
}

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

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

.faq-question {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: var(--space-5) 0;
  font-family: var(--font-sans);
  font-size: var(--text-lg);
  font-weight: 600;
  color: var(--text-primary);
  text-align: left;
  background: transparent;
  border: none;
  cursor: pointer;
  transition: color var(--transition-fast);
}

.faq-question:hover {
  color: var(--mode-primary);
}

.faq-icon {
  font-size: var(--text-xl);
  color: var(--text-muted);
  transition: transform var(--transition-normal);
}

.faq-item.active .faq-icon {
  transform: rotate(45deg);
}

.faq-answer {
  display: none;
  padding-bottom: var(--space-5);
  color: var(--text-secondary);
  line-height: 1.7;
}

.faq-item.active .faq-answer {
  display: block;
}

/* ==========================================================================
   13. How It Works
   ========================================================================== */

.how-it-works {
  padding: var(--space-20) 0;
  background: var(--dark-800);
  color: var(--text-on-dark);
}

.how-it-works h2 {
  text-align: center;
  color: var(--text-on-dark);
  margin-bottom: var(--space-12);
}

.steps-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: var(--space-8);
}

.step {
  text-align: center;
  padding: var(--space-6);
}

.step-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  margin-bottom: var(--space-4);
  font-size: var(--text-xl);
  font-weight: 700;
  color: var(--dark-900);
  background: var(--mode-primary);
  border-radius: var(--radius-full);
}

.step h3 {
  color: var(--text-on-dark);
  margin-bottom: var(--space-3);
}

.step p {
  color: var(--text-on-dark-muted);
  margin: 0 auto;
}

/* ==========================================================================
   14. Trust & Social Proof
   ========================================================================== */

.trust-section {
  padding: var(--space-12) 0;
  background: white;
  border-top: 1px solid var(--light-200);
  border-bottom: 1px solid var(--light-200);
}

.trust-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: var(--space-8);
  text-align: center;
}

.trust-item-value {
  font-size: var(--text-4xl);
  font-weight: 700;
  color: var(--mode-primary);
  margin-bottom: var(--space-2);
}

.trust-item-label {
  font-size: var(--text-sm);
  color: var(--text-secondary);
}

/* Trust Badges */
.trust-badges {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-3);
  justify-content: center;
}

.trust-badge {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  padding: var(--space-2) var(--space-4);
  font-size: var(--text-sm);
  font-weight: 500;
  color: var(--text-secondary);
  background: var(--light-100);
  border-radius: var(--radius-full);
}

.trust-badge-icon {
  color: var(--mode-primary);
}

/* ==========================================================================
   15. Category Tiles - Bento Grid Style
   ========================================================================== */

.category-tiles {
  padding: var(--space-16) 0;
  background: var(--light-100);
}

.tiles-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: var(--space-5);
}

.category-tile {
  display: flex;
  flex-direction: column;
  padding: var(--space-6);
  background: white;
  border: 1px solid var(--light-200);
  border-radius: var(--radius-xl);
  text-decoration: none;
  color: var(--text-primary);
  transition: all var(--transition-normal);
  position: relative;
  overflow: hidden;
}

.category-tile::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: var(--mode-primary);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--transition-normal);
}

.category-tile:hover {
  border-color: var(--mode-primary);
  box-shadow: var(--shadow-lg);
  transform: translateY(-4px);
  text-decoration: none;
}

.category-tile:hover::before {
  transform: scaleX(1);
}

.tile-icon {
  font-size: var(--text-4xl);
  margin-bottom: var(--space-4);
  line-height: 1;
}

.category-tile h3 {
  margin-bottom: var(--space-2);
  font-size: var(--text-xl);
}

.category-tile p {
  font-size: var(--text-sm);
  color: var(--text-secondary);
  margin: 0;
  flex-grow: 1;
}

.tile-arrow {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  margin-top: var(--space-4);
  font-size: var(--text-xl);
  font-weight: 500;
  color: var(--mode-primary);
  background: var(--mode-primary-light);
  border-radius: var(--radius-full);
  transition: all var(--transition-fast);
}

.category-tile:hover .tile-arrow {
  background: var(--mode-primary);
  color: white;
  transform: translateX(4px);
}

/* ==========================================================================
   16. Forms & Inputs
   ========================================================================== */

.form-group {
  margin-bottom: var(--space-4);
}

.form-label {
  display: block;
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: var(--space-2);
}

.form-input {
  width: 100%;
  height: 52px;
  padding: 0 var(--space-4);
  font-family: var(--font-sans);
  font-size: var(--text-base);
  color: var(--text-primary);
  background: white;
  border: 1px solid var(--light-300);
  border-radius: var(--radius-lg);
  transition: all var(--transition-fast);
}

.form-input:focus {
  outline: none;
  border-color: var(--mode-primary);
  box-shadow: 0 0 0 3px var(--mode-primary-glow);
}

.form-input::placeholder {
  color: var(--text-muted);
}

/* Search input with icon */
.search-input-wrapper {
  position: relative;
}

.search-input {
  padding-left: var(--space-12);
}

.search-icon {
  position: absolute;
  left: var(--space-4);
  top: 50%;
  transform: translateY(-50%);
  color: var(--text-muted);
}

/* ==========================================================================
   17. Footer
   ========================================================================== */

.site-footer {
  background: var(--dark-800);
  color: var(--text-on-dark);
  padding: var(--space-16) 0 var(--space-8);
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: var(--space-10);
  margin-bottom: var(--space-12);
}

.footer-brand {
  max-width: 280px;
}

.footer-logo {
  height: 36px;
  width: auto;
  margin-bottom: var(--space-4);
  filter: brightness(0) invert(1);
}

.footer-brand .logo-text {
  color: var(--text-on-dark);
  margin-bottom: var(--space-4);
}

.footer-brand p {
  color: var(--text-on-dark-muted);
  font-size: var(--text-sm);
}

.footer-heading {
  display: block;
  color: var(--text-on-dark);
  font-size: var(--text-sm);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: var(--space-4);
}

.footer-links {
  list-style: none;
}

.footer-links li {
  margin-bottom: var(--space-2);
}

.footer-links a {
  font-size: var(--text-sm);
  color: var(--text-on-dark-muted);
  transition: color var(--transition-fast);
}

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

.footer-copyright {
  font-size: var(--text-sm);
  color: var(--text-on-dark-muted);
  margin: 0;
}

/* Footer Logo Link */
.footer-logo-link {
  display: inline-block;
  margin-bottom: var(--space-4);
  text-decoration: none;
}

.footer-logo-link:hover .logo-text {
  opacity: 0.9;
}

/* Footer Tagline */
.footer-tagline {
  color: var(--text-on-dark-muted);
  font-size: var(--text-sm);
  line-height: 1.6;
  margin: 0;
}

/* Footer Disclosure */
.footer-disclosure {
  font-size: var(--text-xs);
  color: var(--text-muted);
  max-width: 600px;
  line-height: 1.5;
  margin: 0;
}

/* Footer Bottom - Updated layout */
.footer-bottom {
  padding-top: var(--space-8);
  border-top: 1px solid var(--dark-600);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-3);
  text-align: center;
}

/* ==========================================================================
   18. Page-Specific Styles
   ========================================================================== */

/* Landing pages intro */
.page-intro {
  padding: var(--space-12) 0;
  max-width: 800px;
}

.page-intro p {
  font-size: var(--text-lg);
}

/* Simple/Legal pages (Impressum, Datenschutz, AGB) */
.simple-page {
  padding: var(--space-12) 0;
  background: white;
}

.simple-page .page-header {
  margin-bottom: var(--space-8);
  padding-bottom: var(--space-6);
  border-bottom: 1px solid var(--light-200);
}

.simple-page .page-header h1 {
  font-size: var(--text-3xl);
  margin-bottom: 0;
}

.simple-page .page-content {
  max-width: 800px;
}

.simple-page .page-content h2 {
  font-size: var(--text-xl);
  margin-top: var(--space-8);
  margin-bottom: var(--space-4);
  padding-top: var(--space-6);
  border-top: 1px solid var(--light-100);
}

.simple-page .page-content h2:first-child {
  margin-top: 0;
  padding-top: 0;
  border-top: none;
}

.simple-page .page-content h3 {
  font-size: var(--text-lg);
  margin-top: var(--space-6);
  margin-bottom: var(--space-3);
}

.simple-page .page-content p {
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: var(--space-4);
}

.simple-page .page-content ul,
.simple-page .page-content ol {
  margin-left: var(--space-6);
  margin-bottom: var(--space-4);
  color: var(--text-secondary);
}

.simple-page .page-content li {
  margin-bottom: var(--space-2);
  line-height: 1.6;
}

.simple-page .page-content strong {
  color: var(--text-primary);
}

.simple-page .page-content a {
  color: var(--mode-primary);
  text-decoration: underline;
}

.simple-page .page-content a:hover {
  color: var(--mode-primary-dark);
}

.simple-page .page-content hr {
  border: none;
  border-top: 1px solid var(--light-200);
  margin: var(--space-8) 0;
}

/* Guide/Ratgeber pages */
.guide-content {
  max-width: 800px;
  margin: 0 auto;
  padding: var(--space-12) 0;
}

.guide-content h2 {
  margin-top: var(--space-12);
  padding-top: var(--space-8);
  border-top: 1px solid var(--light-200);
}

.guide-content ul,
.guide-content ol {
  margin-left: var(--space-6);
  margin-bottom: var(--space-6);
  color: var(--text-secondary);
}

.guide-content li {
  margin-bottom: var(--space-2);
}

/* Price table */
.price-table {
  margin: var(--space-6) 0;
}

/* CTA Box */
.cta-box {
  padding: var(--space-10);
  background: var(--dark-800);
  border-radius: var(--radius-2xl);
  text-align: center;
  margin: var(--space-12) 0;
}

.cta-box h3 {
  color: var(--text-on-dark);
  margin-bottom: var(--space-3);
}

.cta-box p {
  color: var(--text-on-dark-muted);
  margin: 0 auto var(--space-6);
}

/* ==========================================================================
   19. Landing Page Sections
   ========================================================================== */

/* Category Hero - Dark */
.category-hero {
  background: linear-gradient(135deg, var(--dark-900) 0%, var(--dark-800) 50%, var(--dark-700) 100%);
  color: var(--text-on-dark);
  padding: var(--space-4) 0 var(--space-16);
  position: relative;
  overflow: hidden;
}

.category-hero::before {
  content: '';
  position: absolute;
  top: -40%;
  right: -15%;
  width: 700px;
  height: 700px;
  background: radial-gradient(circle, var(--mode-primary-glow) 0%, transparent 60%);
  pointer-events: none;
  opacity: 0.6;
}

.category-hero .hero-content {
  position: relative;
  z-index: 1;
  max-width: 700px;
}

.category-hero h1 {
  color: var(--text-on-dark);
  font-size: var(--text-4xl);
  margin-bottom: var(--space-4);
}

.category-hero .lead {
  color: var(--text-on-dark-muted);
  font-size: var(--text-lg);
  margin-bottom: var(--space-6);
  max-width: 720px;
}

/* Hero with Background Image (unified for all hero types) */
/* Hero with responsive picture element */
.hero.has-hero-image,
.category-hero.has-hero-image {
  position: relative;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.hero.has-hero-image {
  min-height: 500px;
}

.category-hero.has-hero-image {
  align-items: flex-start;
}

/* Hero picture and image - absolute positioned background */
.hero-picture {
  position: absolute;
  inset: 0;
  z-index: 0;
  display: block;
  width: 100%;
  height: 100%;
}

.hero-picture source {
  display: none;
}

.hero-image {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

/* Dark overlay for text readability - must override base .hero::before glow */
.hero.has-hero-image::before,
.category-hero.has-hero-image::before {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(15, 16, 17, 0.8);
  opacity: 1;
  z-index: 1;
  pointer-events: auto;
}

/* Hide glow effect on image heroes */
.hero.has-hero-image::after,
.category-hero.has-hero-image::after {
  display: none;
}

/* Content above overlay */
.hero.has-hero-image .hero-content,
.category-hero.has-hero-image .hero-content {
  position: relative;
  z-index: 2;
}

/* Hero adjustments for pages with widget below */
.category-hub .category-hero .hero-content {
  text-align: center;
  margin: 0 auto;
}

.category-hub .category-hero .lead {
  margin-left: auto;
  margin-right: auto;
}

/* Widget section below hero (overlapping) */
.widget-section-below {
  position: relative;
  z-index: 3;
  margin-top: -80px;
  padding-bottom: var(--space-8);
}

.hero-widget-container {
  background: white;
  border-radius: var(--radius-xl);
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.12);
  padding: var(--space-6);
  max-width: 900px;
  margin: 0 auto;
}

.widget-section-below .hero-trust {
  justify-content: center;
  margin: var(--space-6) auto 0;
  max-width: 600px;
  border-top: none;
  padding-top: 0;
}

.widget-section-below .trust-stat-value {
  color: var(--primary);
}

.widget-section-below .trust-stat-label {
  color: var(--text-secondary);
}

/* Content Section */
.content-section {
  padding: var(--space-12) 0;
  background: white;
}

.content-box {
  max-width: 800px;
  margin: 0 auto;
}

.content-box h2 {
  margin-top: var(--space-8);
  margin-bottom: var(--space-4);
}

.content-box p {
  color: var(--text-secondary);
  line-height: 1.7;
}

.content-box ul, .content-box ol {
  margin-left: var(--space-6);
  margin-bottom: var(--space-6);
  color: var(--text-secondary);
}

.content-box li {
  margin-bottom: var(--space-2);
}

.content-box h3 {
  margin-top: var(--space-10);
  margin-bottom: var(--space-4);
  font-size: var(--text-xl);
}

.content-box hr {
  border: none;
  border-top: 1px solid var(--light-200);
  margin: var(--space-12) 0;
}

.content-box table {
  margin-bottom: var(--space-6);
}

.content-box blockquote,
.content-box p:has(> strong:first-child) + p:empty + hr {
  margin-top: var(--space-6);
}

.content-box img {
  max-width: 100%;
  height: auto;
  border-radius: var(--radius-lg);
}

/* Design comparison showcase */
.design-compare {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-6);
  margin: var(--space-10) -15%;
}

.design-compare-card {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 4px 24px rgba(0,0,0,0.10);
  border: 1px solid var(--light-200);
  transition: transform 0.2s, box-shadow 0.2s;
}

.design-compare-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 32px rgba(0,0,0,0.14);
}

.design-compare-card img {
  display: block;
  width: 100%;
  border-radius: 0;
}

.design-compare-label {
  position: absolute;
  top: var(--space-3);
  left: var(--space-3);
  padding: var(--space-1) var(--space-4);
  border-radius: var(--radius-full);
  font-size: var(--text-sm);
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  box-shadow: 0 2px 8px rgba(0,0,0,0.25);
}

.design-compare-label--old {
  background: rgba(255,255,255,0.92);
  color: var(--text-primary);
}

.design-compare-label--new {
  background: var(--brand-orange);
  color: white;
}

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

/* Price Section */
.price-section {
  padding: var(--space-16) 0;
  background: var(--light-50);
}

.price-table-wrapper {
  overflow-x: auto;
  border-radius: var(--radius-xl);
  border: 1px solid var(--light-200);
  background: white;
}

.price-table {
  width: 100%;
  border-collapse: collapse;
}

.price-table th {
  background: var(--light-100);
  padding: var(--space-4) var(--space-5);
  font-size: var(--text-xs);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--text-muted);
  text-align: left;
  border-bottom: 1px solid var(--light-200);
}

.price-table td {
  padding: var(--space-4) var(--space-5);
  border-bottom: 1px solid var(--light-100);
}

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

.price-table tr:hover td {
  background: var(--light-50);
}

.price-cell {
  font-weight: 600;
  color: var(--money);
}

/* Vendors Section */
.vendors-section {
  padding: var(--space-16) 0;
  background: white;
}

/* Preparation Section */
.preparation-section {
  padding: var(--space-16) 0;
  background: var(--light-100);
}

.checklist-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: var(--space-4);
}

.checklist-item {
  display: flex;
  align-items: flex-start;
  gap: var(--space-4);
  padding: var(--space-5);
  background: white;
  border-radius: var(--radius-lg);
  border: 1px solid var(--light-200);
}

.checklist-number {
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 32px;
  height: 32px;
  font-size: var(--text-sm);
  font-weight: 700;
  color: white;
  background: var(--mode-primary);
  border-radius: var(--radius-full);
}

.checklist-text {
  color: var(--text-primary);
  line-height: 1.5;
}

/* FAQ Section */
.faq-section {
  padding: var(--space-16) 0;
  background: var(--light-50);
}

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

/* Notice Section */
.notice-section {
  padding: var(--space-12) 0;
  background: white;
}

.notice-box {
  display: flex;
  align-items: flex-start;
  gap: var(--space-5);
  padding: var(--space-6);
  background: var(--mode-primary-light);
  border: 1px solid var(--mode-primary);
  border-radius: var(--radius-xl);
  max-width: 700px;
  margin: 0 auto;
}

.notice-icon {
  font-size: var(--text-3xl);
  line-height: 1;
}

.notice-content h3 {
  color: var(--text-primary);
  margin-bottom: var(--space-2);
}

.notice-content p {
  color: var(--text-secondary);
  margin: 0;
}

/* Related Section */
.related-section {
  padding: var(--space-12) 0;
  background: var(--light-100);
}

.related-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: var(--space-4);
}

.related-card {
  display: flex;
  align-items: center;
  gap: var(--space-4);
  padding: var(--space-4) var(--space-5);
  background: white;
  border: 1px solid var(--light-200);
  border-radius: var(--radius-lg);
  text-decoration: none;
  color: var(--text-primary);
  transition: all var(--transition-fast);
}

.related-card:hover {
  border-color: var(--mode-primary);
  box-shadow: var(--shadow-md);
  transform: translateX(4px);
  text-decoration: none;
}

.related-icon {
  font-size: var(--text-2xl);
}

.related-title {
  flex-grow: 1;
  font-weight: 500;
}

.related-arrow {
  color: var(--mode-primary);
  font-weight: bold;
}

/* Value Section (Comparison) */
.value-section {
  padding: var(--space-16) 0;
  background: var(--dark-800);
  color: var(--text-on-dark);
}

.value-section h2 {
  color: var(--text-on-dark);
}

.value-section .section-subtitle {
  color: var(--text-on-dark-muted);
}

.comparison-cards {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-6);
  flex-wrap: wrap;
  margin-top: var(--space-10);
}

.comparison-card {
  padding: var(--space-6);
  background: var(--dark-700);
  border: 1px solid var(--dark-500);
  border-radius: var(--radius-xl);
  min-width: 240px;
  text-align: center;
  position: relative;
}

.comparison-card.highlight {
  background: var(--dark-600);
  border-color: var(--mode-primary);
  box-shadow: 0 0 30px var(--mode-primary-glow);
}

.comparison-label {
  display: inline-block;
  padding: var(--space-1) var(--space-3);
  font-size: var(--text-xs);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--text-on-dark-muted);
  background: var(--dark-500);
  border-radius: var(--radius-full);
  margin-bottom: var(--space-4);
}

.comparison-card.highlight .comparison-label {
  color: var(--dark-900);
  background: var(--mode-primary);
}

.comparison-desc {
  color: var(--text-on-dark-muted);
  font-size: var(--text-sm);
  margin-bottom: var(--space-3);
}

.comparison-price {
  font-size: var(--text-3xl);
  font-weight: 700;
  color: var(--mode-primary);
  margin: 0;
}

.comparison-price.muted {
  color: var(--text-on-dark-muted);
}

.comparison-arrow {
  font-size: var(--text-2xl);
  color: var(--text-on-dark-muted);
}

.comparison-savings {
  display: inline-block;
  margin-top: var(--space-3);
  padding: var(--space-1) var(--space-3);
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--mode-primary);
  background: var(--mode-primary-light);
  border-radius: var(--radius-full);
}

/* Pages Section (List Pages) */
.pages-section {
  padding: var(--space-16) 0;
  background: var(--light-100);
}

.pages-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: var(--space-5);
}

.page-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-4);
  padding: var(--space-6);
  background: white;
  border: 1px solid var(--light-200);
  border-radius: var(--radius-xl);
  text-decoration: none;
  color: var(--text-primary);
  transition: all var(--transition-normal);
  position: relative;
  overflow: hidden;
}

.page-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 4px;
  height: 100%;
  background: var(--mode-primary);
  transform: scaleY(0);
  transform-origin: top;
  transition: transform var(--transition-normal);
}

.page-card:hover {
  border-color: var(--mode-primary);
  box-shadow: var(--shadow-lg);
  transform: translateY(-4px);
  text-decoration: none;
}

.page-card:hover::before {
  transform: scaleY(1);
}

.page-card-content {
  flex-grow: 1;
}

.page-card-content h2 {
  font-size: var(--text-xl);
  margin-bottom: var(--space-2);
  transition: color var(--transition-fast);
}

.page-card:hover .page-card-content h2 {
  color: var(--mode-primary);
}

.page-card-content p {
  font-size: var(--text-sm);
  color: var(--text-secondary);
  margin: 0;
  line-height: 1.5;
}

.page-card-arrow {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  font-size: var(--text-xl);
  color: var(--mode-primary);
  background: var(--mode-primary-light);
  border-radius: var(--radius-full);
  transition: all var(--transition-fast);
  flex-shrink: 0;
}

.page-card:hover .page-card-arrow {
  background: var(--mode-primary);
  color: white;
  transform: translateX(4px);
}

/* Testimonials Section */
.testimonials-section {
  padding: var(--space-16) 0;
  background: white;
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-5);
  margin-top: var(--space-8);
}

@media (max-width: 992px) {
  .testimonials-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

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

.testimonial-card {
  padding: var(--space-8);
  background: white;
  border-radius: var(--radius-xl);
  border: 1px solid var(--light-200);
  box-shadow: var(--shadow-sm);
  position: relative;
}

.testimonial-card::before {
  content: '"';
  position: absolute;
  top: var(--space-4);
  right: var(--space-6);
  font-size: 4rem;
  font-family: Georgia, serif;
  color: var(--mode-primary);
  opacity: 0.15;
  line-height: 1;
}

.testimonial-stars {
  color: #FBBF24;
  font-size: var(--text-lg);
  margin-bottom: var(--space-4);
  letter-spacing: 2px;
}

.testimonial-quote {
  font-size: var(--text-base);
  color: var(--text-primary);
  line-height: 1.7;
  margin-bottom: var(--space-5);
}

.testimonial-author {
  font-size: var(--text-sm);
  color: var(--text-muted);
  font-weight: 500;
}

/* Popular Items Section */
.popular-section {
  padding: var(--space-16) 0;
  background: var(--light-50);
}

.popular-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: var(--space-4);
  margin-top: var(--space-8);
}

.popular-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: var(--space-5);
  background: white;
  border: 1px solid var(--light-200);
  border-radius: var(--radius-xl);
  text-decoration: none;
  color: var(--text-primary);
  transition: all var(--transition-normal);
}

.popular-card:hover {
  border-color: var(--mode-primary);
  box-shadow: var(--shadow-md);
  transform: translateY(-4px);
  text-decoration: none;
}

.popular-card-image {
  width: 100px;
  height: 100px;
  margin-bottom: var(--space-4);
  object-fit: contain;
  border-radius: var(--radius-lg);
  background: var(--light-100);
}

.popular-card-placeholder {
  width: 100px;
  height: 100px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: var(--space-4);
  font-size: var(--text-4xl);
  background: var(--light-100);
  border-radius: var(--radius-lg);
}

.popular-card-name {
  font-size: var(--text-sm);
  font-weight: 600;
  text-align: center;
  margin-bottom: var(--space-2);
}

.popular-card-price {
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--mode-primary);
}

/* Impact Stats Section */
.impact-section {
  padding: var(--space-16) 0;
  background: var(--dark-800);
  color: var(--text-on-dark);
}

.impact-section h2 {
  color: var(--text-on-dark);
}

.impact-section .section-subtitle {
  color: var(--text-on-dark-muted);
}

.impact-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-8);
  margin-top: var(--space-10);
}

@media (max-width: 768px) {
  .impact-grid {
    grid-template-columns: 1fr;
    gap: var(--space-6);
  }
}

.impact-card {
  text-align: center;
  padding: var(--space-6);
}

.impact-value {
  font-size: var(--text-4xl);
  font-weight: 800;
  color: var(--mode-primary);
  margin-bottom: var(--space-2);
  line-height: 1;
}

.impact-label {
  font-size: var(--text-base);
  font-weight: 600;
  color: var(--text-on-dark);
  margin-bottom: var(--space-2);
}

.impact-desc {
  font-size: var(--text-sm);
  color: var(--text-on-dark-muted);
  line-height: 1.5;
}

/* Steps Link Section (lightweight CTA linking to how-it-works page) */
.steps-link-section {
  padding: var(--space-6) 0;
  background: white;
}

.steps-link-box {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-3);
  padding: var(--space-4) var(--space-6);
  background: var(--light-50);
  border-radius: var(--radius-lg);
  border: 1px solid var(--light-200);
}

.steps-link-label {
  font-size: var(--font-sm);
  color: var(--text-secondary);
}

.steps-link {
  font-size: var(--font-sm);
  font-weight: 600;
  color: var(--primary-600);
  text-decoration: none;
  transition: color var(--transition-base);
}

.steps-link:hover {
  color: var(--primary-700);
  text-decoration: underline;
}

/* Steps Section (Light version for landing pages) */
.steps-section {
  padding: var(--space-16) 0;
  background: white;
}

.steps-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-6);
  margin-top: var(--space-8);
}

@media (max-width: 992px) {
  .steps-row {
    grid-template-columns: repeat(2, 1fr);
  }
}

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

.step-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: var(--space-4);
  padding: var(--space-8) var(--space-6);
  background: white;
  border-radius: var(--radius-xl);
  border: 1px solid var(--light-200);
  box-shadow: var(--shadow-sm);
  transition: all var(--transition-base);
}

.step-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}

.step-card-number {
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 56px;
  height: 56px;
  font-size: var(--text-base);
  font-weight: 700;
  color: white;
  background: var(--mode-primary);
  border-radius: var(--radius-full);
}

.step-card-content h3 {
  font-size: var(--text-lg);
  font-weight: 600;
  margin-bottom: var(--space-2);
}

.step-card-content p {
  font-size: var(--text-sm);
  color: var(--text-secondary);
  margin: 0;
  line-height: 1.6;
}

/* CTA Banner (Green/Accent colored) */
.cta-banner {
  padding: var(--space-10) var(--space-6);
  background: linear-gradient(135deg, var(--mode-primary) 0%, var(--mode-primary-dark) 100%);
  border-radius: var(--radius-2xl);
  text-align: center;
  margin: var(--space-8) 0;
}

.cta-banner h3 {
  color: white;
  font-size: var(--text-2xl);
  margin-bottom: var(--space-3);
}

.cta-banner p {
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: var(--space-6);
  max-width: 500px;
  margin-left: auto;
  margin-right: auto;
}

.cta-banner .btn {
  background: white;
  color: var(--mode-primary);
}

.cta-banner .btn:hover {
  background: var(--light-100);
  color: var(--mode-primary-dark);
}

/* Categories Grid (with images) */
.categories-section {
  padding: var(--space-12) 0;
  background: white;
}

.categories-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
  gap: var(--space-4);
  margin-top: var(--space-6);
}

.category-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: var(--space-5);
  background: var(--light-50);
  border: 1px solid var(--light-200);
  border-radius: var(--radius-xl);
  text-decoration: none;
  color: var(--text-primary);
  transition: all var(--transition-fast);
}

.category-card:hover {
  border-color: var(--mode-primary);
  box-shadow: var(--shadow-md);
  text-decoration: none;
}

.category-card-icon {
  font-size: var(--text-4xl);
  margin-bottom: var(--space-3);
}

.category-card-name {
  font-size: var(--text-sm);
  font-weight: 600;
  text-align: center;
}

/* Mobile menu toggle (hidden by default on desktop) */
.mobile-menu-toggle {
  display: none;
  padding: var(--space-2);
  background: none;
  border: none;
  cursor: pointer;
}

/* Mobile menu drawer/overlay (hidden by default on desktop) */
.mobile-menu-overlay,
.mobile-menu-drawer {
  display: none;
}

/* ==========================================================================
   20. Responsive Styles
   ========================================================================== */

@media (max-width: 1024px) {
  h1 { font-size: var(--text-4xl); }
  h2 { font-size: var(--text-3xl); }

  .hero { padding: var(--space-16) 0; }
  .hero h1 { font-size: var(--text-4xl); }
}

@media (max-width: 768px) {
  :root {
    --space-12: 40px;
    --space-16: 56px;
    --space-20: 64px;
  }

  h1 { font-size: var(--text-3xl); }
  h2 { font-size: var(--text-2xl); }
  h3 { font-size: var(--text-xl); }

  .site-header .nav-main,
  .site-header .mode-switcher {
    display: none;
  }

  .mobile-menu-toggle {
    display: flex;
  }

  .header-content {
    height: 64px;
  }

  .hero h1 { font-size: var(--text-3xl); }
  .hero .lead { font-size: var(--text-base); }

  .hero-cta {
    flex-direction: column;
  }

  .hero-cta .btn {
    width: 100%;
  }

  .hero-trust {
    flex-direction: column;
    gap: var(--space-4);
    text-align: center;
  }

  .vendor-grid,
  .tiles-grid {
    grid-template-columns: 1fr;
  }

  .steps-grid {
    grid-template-columns: 1fr;
  }

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

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

  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }
}

@media (max-width: 480px) {
  .container {
    padding: 0 var(--space-4);
  }

  .btn {
    width: 100%;
    justify-content: center;
  }

  .trust-grid {
    grid-template-columns: 1fr;
  }

  .footer-grid {
    grid-template-columns: 1fr;
  }
}

/* ==========================================================================
   20. Responsive Design - Mobile First Approach
   ========================================================================== */

/* --- Tablet (768px - 1024px) --- */
@media (max-width: 1024px) {
  /* Header adjustments */
  .header-search {
    max-width: 300px;
  }

  .header-action-text {
    display: none;
  }

  /* Category nav scrollable */
  .category-nav-bar .container {
    overflow-x: auto;
    scrollbar-width: none;
    -ms-overflow-style: none;
  }

  .category-nav-bar .container::-webkit-scrollbar {
    display: none;
  }

  .category-nav-bar .primary-categories {
    white-space: nowrap;
  }

  /* Hero adjustments */
  .category-hero .hero-content {
    max-width: 100%;
    padding-right: 120px;
  }

  /* Comparison cards */
  .comparison-cards {
    flex-direction: column;
    align-items: center;
    gap: var(--space-4);
  }

  .comparison-arrow {
    transform: rotate(90deg);
  }
}

/* --- Mobile (max-width: 767px) --- */
@media (max-width: 767px) {
  /* Top banner - compact on mobile */
  .top-banner {
    padding: var(--space-2) var(--space-3);
    font-size: var(--text-xs);
    text-align: center;
  }

  .top-banner-content {
    gap: var(--space-2);
  }

  /* Header - mobile layout with two rows */
  .site-header .header-content {
    flex-wrap: wrap;
    height: auto;
    gap: var(--space-3);
    padding: var(--space-3) 0;
  }

  .logo {
    order: 2;
    flex: 1;
    text-align: center;
  }

  .mobile-menu-toggle {
    display: flex;
    order: 1;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
  }

  .mobile-menu-toggle .hamburger {
    display: block;
    width: 20px;
    height: 2px;
    background: var(--text-primary);
    position: relative;
  }

  .mobile-menu-toggle .hamburger::before,
  .mobile-menu-toggle .hamburger::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 2px;
    background: var(--text-primary);
    left: 0;
  }

  .mobile-menu-toggle .hamburger::before {
    top: -6px;
  }

  .mobile-menu-toggle .hamburger::after {
    top: 6px;
  }

  .header-actions {
    order: 3;
  }

  .header-help-link {
    display: none;
  }

  /* Search bar - full width on second row */
  .header-search {
    display: flex;
    order: 4;
    flex: 0 0 100%;
    width: 100%;
    max-width: 100%;
    margin: 0;
    padding: 0;
  }

  .header-search .search-form {
    width: 100%;
  }

  .header-search .search-input-wrapper {
    width: 100%;
  }

  .header-search .search-input {
    height: 40px;
    width: 100%;
  }

  /* Mode switcher */
  .mode-switcher {
    display: none;
  }

  /* Hide category nav bar on mobile - use hamburger instead */
  .category-nav-bar {
    display: none;
  }

  /* Hero section - stack vertically */
  .category-hero {
    text-align: left;
    padding: var(--space-4) 0 var(--space-8);
  }

  .category-hero .hero-badge {
    display: flex;
    width: fit-content;
    margin-left: auto;
    margin-right: auto;
  }

  .category-hero .hero-content,
  .category-hub .category-hero .hero-content {
    padding-right: 0;
    max-width: 100%;
    text-align: left;
  }

  .category-hero .container {
    padding-left: var(--space-3);
    padding-right: var(--space-3);
  }

  .category-hero .lead,
  .category-hub .category-hero .lead {
    max-width: 100%;
    font-size: var(--text-base);
    margin-left: 0;
  }

  .category-hero .hero-content h1 {
    font-size: var(--text-2xl);
  }

  .category-hero .hero-trust {
    justify-content: center;
    flex-wrap: wrap;
  }

  .widget-section-below {
    margin-top: -32px;
  }

  .hero-widget-container {
    max-width: 100%;
    padding: var(--space-4);
  }

  .widget-section-below .hero-trust {
    max-width: 100%;
  }

  /* Steps section - single column */
  .steps-row {
    grid-template-columns: 1fr;
  }

  .step-card {
    text-align: left;
    flex-direction: row;
    gap: var(--space-4);
    padding: var(--space-4);
  }

  .step-card-number {
    position: static;
    flex-shrink: 0;
  }

  /* Testimonials - single column */
  .testimonials-grid {
    grid-template-columns: 1fr;
  }

  /* Impact section - single column */
  .impact-grid {
    grid-template-columns: 1fr;
  }

  /* Mobile Menu Overlay */
  .mobile-menu-overlay {
    display: block;
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.7);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
    z-index: 999;
    -webkit-backdrop-filter: blur(2px);
    backdrop-filter: blur(2px);
  }

  .mobile-menu-overlay.active {
    opacity: 1;
    visibility: visible;
  }

  /* Mobile Menu Drawer */
  .mobile-menu-drawer {
    display: flex;
    position: fixed;
    top: 0;
    left: 0;
    width: 85%;
    max-width: 320px;
    height: 100vh;
    background: #FFFFFF;
    transform: translateX(-100%);
    transition: transform 0.3s ease;
    z-index: 1000;
    overflow-y: auto;
    flex-direction: column;
    box-shadow: 2px 0 12px rgba(0, 0, 0, 0.15);
  }

  .mobile-menu-drawer.active {
    transform: translateX(0);
  }

  .mobile-menu-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: var(--space-4);
    border-bottom: 1px solid #E4E7EB;
    background: #FFFFFF;
    position: sticky;
    top: 0;
  }

  .mobile-menu-header .logo-text {
    font-size: var(--text-xl);
    font-weight: 700;
    color: var(--sell-primary);
  }

  .mobile-menu-header .logo-text span {
    color: var(--buy-primary);
  }

  .mobile-menu-close {
    background: none;
    border: none;
    padding: var(--space-2);
    cursor: pointer;
    color: var(--text-secondary);
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .mobile-menu-close:hover {
    color: var(--text-primary);
  }

  /* Mobile Mode Switcher */
  .mobile-mode-switcher {
    display: flex;
    gap: var(--space-2);
    padding: var(--space-3);
    background: var(--light-100);
    border-bottom: 1px solid var(--border);
  }

  .mobile-mode-btn {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-2);
    padding: var(--space-3);
    border-radius: var(--radius-md);
    text-decoration: none;
    font-weight: 600;
    font-size: var(--text-base);
    color: var(--text-secondary);
    background: white;
    border: 2px solid transparent;
    transition: all 0.2s ease;
  }

  .mobile-mode-btn.active {
    border-color: var(--mode-primary);
    color: var(--mode-primary);
    background: white;
  }

  .mobile-mode-btn:first-child.active {
    border-color: var(--sell-primary);
    color: var(--sell-primary);
  }

  .mobile-mode-btn:last-child.active {
    border-color: var(--buy-primary);
    color: var(--buy-primary);
  }

  .mobile-mode-icon {
    font-size: var(--text-lg);
  }

  .mobile-menu-content {
    flex: 1;
    padding: var(--space-4);
  }

  /* Primary Categories */
  .mobile-menu-categories {
    list-style: none;
    padding: 0;
    margin: 0 0 var(--space-6) 0;
  }

  .mobile-menu-categories li {
    border-bottom: 1px solid var(--border);
  }

  .mobile-menu-categories a {
    display: block;
    padding: var(--space-4) 0;
    color: var(--text-primary);
    font-weight: 600;
    font-size: var(--text-lg);
    text-decoration: none;
  }

  .mobile-menu-categories a:hover {
    color: var(--brand-orange);
  }

  /* Menu Sections */
  .mobile-menu-section {
    margin-bottom: var(--space-6);
  }

  .mobile-menu-section-title {
    font-size: var(--text-xs);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--text-tertiary);
    margin: 0 0 var(--space-3) 0;
    font-weight: 600;
  }

  .mobile-menu-group {
    margin-bottom: var(--space-4);
  }

  .mobile-menu-group-label {
    display: block;
    font-size: var(--text-sm);
    font-weight: 600;
    color: var(--text-secondary);
    margin-bottom: var(--space-2);
  }

  .mobile-menu-group ul {
    list-style: none;
    padding: 0;
    margin: 0;
  }

  .mobile-menu-group li {
    padding-left: var(--space-3);
  }

  .mobile-menu-group a {
    display: block;
    padding: var(--space-2) 0;
    color: var(--text-secondary);
    font-size: var(--text-sm);
    text-decoration: none;
  }

  .mobile-menu-group a:hover {
    color: var(--brand-orange);
  }

  /* Secondary Links */
  .mobile-menu-links {
    list-style: none;
    padding: 0;
    margin: 0;
  }

  .mobile-menu-links li {
    border-bottom: 1px solid var(--border);
  }

  .mobile-menu-links li:last-child {
    border-bottom: none;
  }

  .mobile-menu-links a {
    display: block;
    padding: var(--space-3) 0;
    color: var(--text-secondary);
    font-size: var(--text-sm);
    text-decoration: none;
  }

  .mobile-menu-links a:hover {
    color: var(--brand-orange);
  }

  /* Body scroll lock when menu is open */
  body.mobile-menu-open {
    overflow: hidden;
  }

  /* FAQ section */
  .faq-question {
    padding: var(--space-4);
    font-size: var(--text-base);
  }

  /* Related guides - single column */
  .related-grid {
    grid-template-columns: 1fr;
  }

  /* CTA banner */
  .cta-banner {
    padding: var(--space-6);
  }

  .cta-banner h3 {
    font-size: var(--text-xl);
  }

  /* Widget section */
  .widget-header h2 {
    font-size: var(--text-2xl);
  }

  /* Section headers */
  .section-header h2 {
    font-size: var(--text-2xl);
  }

  /* Footer */
  .footer-grid {
    grid-template-columns: 1fr;
    gap: var(--space-8);
  }

  .footer-bottom {
    gap: var(--space-4);
  }

  .footer-disclosure {
    font-size: var(--text-xs);
    padding: 0 var(--space-4);
  }
}

/* --- Small Mobile (max-width: 480px) --- */
@media (max-width: 480px) {
  .category-hero .hero-content h1 {
    font-size: var(--text-2xl);
  }

  .hero-badge {
    font-size: var(--text-xs);
    padding: var(--space-1) var(--space-3);
  }

  .hero-trust .trust-stat {
    min-width: 80px;
  }

  .trust-stat-value {
    font-size: var(--text-xl);
  }

  /* Comparison section */
  .comparison-card {
    width: 100%;
    max-width: 280px;
  }

  /* Impact stats */
  .impact-value {
    font-size: var(--text-4xl);
  }
}

/* ==========================================================================
   21. Utility Classes
   ========================================================================== */

.text-center { text-align: center; }
.text-left { text-align: left; }
.text-right { text-align: right; }

.mb-0 { margin-bottom: 0; }
.mb-2 { margin-bottom: var(--space-2); }
.mb-4 { margin-bottom: var(--space-4); }
.mb-6 { margin-bottom: var(--space-6); }
.mb-8 { margin-bottom: var(--space-8); }

.mt-4 { margin-top: var(--space-4); }
.mt-6 { margin-top: var(--space-6); }
.mt-8 { margin-top: var(--space-8); }

.py-8 { padding-top: var(--space-8); padding-bottom: var(--space-8); }
.py-12 { padding-top: var(--space-12); padding-bottom: var(--space-12); }
.py-16 { padding-top: var(--space-16); padding-bottom: var(--space-16); }

.hidden { display: none; }

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

/* ==========================================================================
   22. Internal Linking Styles
   ========================================================================== */

/* Subcategories Section */
.subcategories-section {
  padding: var(--space-12) 0;
  background: var(--surface-secondary);
}

.subcategories-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: var(--space-6);
  margin-top: var(--space-8);
}

.subcategory-card {
  display: flex;
  flex-direction: column;
  padding: var(--space-6);
  background: var(--surface-primary);
  border: 1px solid var(--border-primary);
  border-radius: var(--radius-lg);
  text-decoration: none;
  color: inherit;
  transition: all var(--transition-base);
}

.subcategory-card:hover {
  border-color: var(--primary);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  transform: translateY(-2px);
}

.subcategory-title {
  font-size: var(--text-lg);
  font-weight: 600;
  color: var(--text-primary);
  margin: 0 0 var(--space-2) 0;
}

.subcategory-desc {
  font-size: var(--text-sm);
  color: var(--text-secondary);
  margin: 0;
  flex-grow: 1;
}

.subcategory-arrow {
  margin-top: var(--space-4);
  color: var(--primary);
  font-size: var(--text-lg);
  align-self: flex-end;
}

/* Related/Situational Guides */
.related-desc {
  display: block;
  font-size: var(--text-sm);
  color: var(--text-secondary);
  margin-top: var(--space-1);
}

/* Back Link Section */
.back-link-section {
  padding: var(--space-6) 0;
  background: var(--surface-secondary);
}

.back-link {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  color: var(--primary);
  text-decoration: none;
  font-weight: 500;
  transition: color var(--transition-base);
}

.back-link:hover {
  color: var(--primary-hover);
  text-decoration: underline;
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .subcategories-grid {
    grid-template-columns: 1fr;
  }

  .subcategory-card {
    padding: var(--space-4);
  }
}

/* Vendor Links Section */
.vendors-section {
  padding: var(--space-12) 0;
  background: var(--surface-primary);
}

.hub-vendor-logos-grid {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: var(--space-4);
  margin-top: var(--space-6);
}

.hub-vendor-logo {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 140px;
  height: 70px;
  padding: var(--space-2);
  background: white;
  border: 1px solid var(--border-primary);
  border-radius: var(--radius-md);
  transition: all var(--transition-base);
  text-decoration: none;
}

.hub-vendor-logo:hover {
  border-color: var(--primary);
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}

.hub-vendor-logo img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}

.hub-vendor-logo__initials {
  font-size: var(--text-lg);
  font-weight: 700;
  color: var(--text-muted);
}

.hub-vendor-all {
  display: inline-flex;
  align-items: center;
  padding: var(--space-2) var(--space-4);
  height: 70px;
  font-weight: 600;
  font-size: var(--text-sm);
  color: var(--primary);
  text-decoration: none;
  border: 1px dashed var(--primary);
  border-radius: var(--radius-md);
  transition: all var(--transition-base);
}

.hub-vendor-all:hover {
  background: var(--primary);
  color: white;
  border-style: solid;
}

/* ==========================================================================
   HOMEPAGE - Dual Engine Hero
   ========================================================================== */

.homepage {
  --card-radius: 16px;
}

/* Dual Hero Section with Background Image */
.dual-hero {
  position: relative;
  min-height: 70vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: linear-gradient(135deg, var(--dark-900) 0%, var(--dark-800) 100%);
}

/* Background image */
.dual-hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.dual-hero-bg picture {
  display: block;
  width: 100%;
  height: 100%;
}

.dual-hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

/* Dark overlay for readability */
.dual-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(15, 16, 17, 0.85) 0%,
    rgba(23, 26, 28, 0.75) 50%,
    rgba(30, 33, 36, 0.85) 100%
  );
  z-index: 1;
}

.dual-hero .container {
  position: relative;
  z-index: 2;
  padding: var(--space-16) var(--space-4);
}

/* Hero Grid - Two cards side by side */
.dual-hero-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-6);
  max-width: 1000px;
  margin: 0 auto;
}

/* Individual Cards */
.dual-hero-card {
  display: flex;
  flex-direction: column;
  padding: var(--space-8);
  border-radius: var(--card-radius);
  text-decoration: none;
  color: var(--text-on-dark);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
  min-height: 320px;
}

/* Sell Card - Orange theme */
.dual-hero-card.sell-card {
  background: linear-gradient(145deg,
    rgba(212, 97, 44, 0.2) 0%,
    rgba(212, 97, 44, 0.1) 50%,
    rgba(212, 97, 44, 0.05) 100%
  );
  border: 2px solid rgba(212, 97, 44, 0.3);
}

.dual-hero-card.sell-card:hover {
  background: linear-gradient(145deg,
    rgba(212, 97, 44, 0.35) 0%,
    rgba(212, 97, 44, 0.2) 50%,
    rgba(212, 97, 44, 0.1) 100%
  );
  border-color: var(--sell-primary);
  transform: translateY(-4px);
  box-shadow: 0 20px 40px rgba(212, 97, 44, 0.25);
}

.dual-hero-card.sell-card .hero-highlight {
  color: var(--sell-primary);
}

.dual-hero-card.sell-card .dual-hero-badge {
  background: var(--sell-primary);
  color: white;
}

.dual-hero-card.sell-card .dual-hero-action {
  color: var(--sell-primary);
}

/* Buy Card - Teal theme */
.dual-hero-card.buy-card {
  background: linear-gradient(145deg,
    rgba(45, 138, 122, 0.2) 0%,
    rgba(45, 138, 122, 0.1) 50%,
    rgba(45, 138, 122, 0.05) 100%
  );
  border: 2px solid rgba(45, 138, 122, 0.3);
}

.dual-hero-card.buy-card:hover {
  background: linear-gradient(145deg,
    rgba(45, 138, 122, 0.35) 0%,
    rgba(45, 138, 122, 0.2) 50%,
    rgba(45, 138, 122, 0.1) 100%
  );
  border-color: var(--buy-primary);
  transform: translateY(-4px);
  box-shadow: 0 20px 40px rgba(45, 138, 122, 0.25);
}

.dual-hero-card.buy-card .hero-highlight {
  color: var(--buy-primary);
}

.dual-hero-card.buy-card .dual-hero-badge {
  background: var(--buy-primary);
  color: white;
}

.dual-hero-card.buy-card .dual-hero-action {
  color: var(--buy-primary);
}

/* Card Content Styling */
.dual-hero-badge {
  display: inline-block;
  padding: var(--space-2) var(--space-4);
  border-radius: 100px;
  font-size: var(--text-sm);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: var(--space-4);
  width: fit-content;
}

.dual-hero-card h2 {
  font-size: var(--text-3xl);
  font-weight: 800;
  line-height: 1.2;
  margin: 0 0 var(--space-4) 0;
  color: var(--text-on-dark);
}

.dual-hero-card p {
  font-size: var(--text-lg);
  color: var(--text-on-dark-muted);
  margin: 0 0 auto 0;
  line-height: 1.6;
}

.dual-hero-action {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  font-size: var(--text-lg);
  font-weight: 600;
  margin-top: var(--space-6);
  transition: gap 0.2s ease;
}

.dual-hero-card:hover .dual-hero-action {
  gap: var(--space-3);
}

.dual-hero-arrow {
  font-size: var(--text-xl);
  transition: transform 0.2s ease;
}

.dual-hero-card:hover .dual-hero-arrow {
  transform: translateX(4px);
}

/* How it Works Section */
.homepage .how-it-works {
  background: linear-gradient(135deg, var(--dark-900) 0%, var(--dark-800) 100%);
  color: var(--text-on-dark);
  padding: var(--space-20) var(--space-4);
}

.homepage .how-it-works .section-header {
  margin-bottom: var(--space-12);
}

.homepage .how-it-works h2 {
  color: var(--text-on-dark);
  font-size: var(--text-4xl);
  font-weight: 800;
}

.homepage .how-it-works .section-subtitle {
  color: var(--text-on-dark-muted);
  font-size: var(--text-lg);
  margin-top: var(--space-3);
}

.homepage .steps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-8);
  max-width: 900px;
  margin: 0 auto;
}

.homepage .step {
  text-align: center;
}

.homepage .step-number {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--brand-orange);
  color: white;
  font-size: var(--text-xl);
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto var(--space-5);
}

.homepage .step h3 {
  color: var(--text-on-dark);
  font-size: var(--text-xl);
  font-weight: 700;
  margin: 0 0 var(--space-3) 0;
}

.homepage .step p {
  color: var(--text-on-dark-muted);
  font-size: var(--text-base);
  line-height: 1.6;
  margin: 0;
}

/* Trust Section */
.homepage .trust-section {
  padding: var(--space-16) var(--space-4);
  background: var(--surface-primary);
}

.homepage .trust-grid {
  display: flex;
  justify-content: center;
  gap: var(--space-12);
  flex-wrap: wrap;
}

.homepage .trust-item {
  text-align: center;
}

.homepage .trust-item-value {
  display: block;
  font-size: var(--text-4xl);
  font-weight: 800;
  color: var(--brand-orange);
  line-height: 1.1;
}

.homepage .trust-item-label {
  display: block;
  font-size: var(--text-sm);
  color: var(--text-secondary);
  margin-top: var(--space-1);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* Responsive - Tablet */
@media (max-width: 900px) {
  .dual-hero-grid {
    gap: var(--space-4);
  }

  .dual-hero-card {
    padding: var(--space-6);
    min-height: 280px;
  }

  .dual-hero-card h2 {
    font-size: var(--text-2xl);
  }
}

/* Responsive - Mobile */
@media (max-width: 768px) {
  .dual-hero {
    min-height: auto;
  }

  .dual-hero .container {
    padding: var(--space-10) var(--space-4);
  }

  .dual-hero-grid {
    grid-template-columns: 1fr;
    gap: var(--space-4);
  }

  .dual-hero-card {
    min-height: auto;
    padding: var(--space-6);
  }

  .dual-hero-card h2 {
    font-size: var(--text-2xl);
  }

  .dual-hero-card p {
    font-size: var(--text-base);
  }

  .homepage .steps-grid {
    grid-template-columns: 1fr;
    gap: var(--space-8);
  }

  .homepage .how-it-works {
    padding: var(--space-12) var(--space-4);
  }

  .homepage .how-it-works h2 {
    font-size: var(--text-3xl);
  }

  .homepage .trust-grid {
    gap: var(--space-8);
  }

  .homepage .trust-item-value {
    font-size: var(--text-3xl);
  }
}

@media (max-width: 480px) {
  .dual-hero-card h2 {
    font-size: var(--text-xl);
  }

  .dual-hero-badge {
    font-size: var(--text-xs);
    padding: var(--space-1) var(--space-3);
  }

  .homepage .trust-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-6);
  }
}

/* ==========================================================================
   Vendor Badges (2:1 Rectangle)
   See VENDOR_BADGES.md for specification
   ========================================================================== */

.vendor-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #FFFFFF;
  border: 1px solid var(--light-200);
  border-radius: 8px;
  overflow: hidden;
  flex-shrink: 0;
}

.vendor-badge--sm {
  width: 64px;
  height: 32px;
}

.vendor-badge--md {
  width: 80px;
  height: 40px;
}

.vendor-badge--lg {
  width: 112px;
  height: 56px;
}

.vendor-badge--xl {
  width: 160px;
  height: 80px;
}

.vendor-badge img {
  width: 85%;
  height: 75%;
  object-fit: contain;
}

.vendor-badge__initials {
  font-family: var(--font-sans);
  font-weight: 700;
  color: white;
  background: var(--text-secondary);
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 6px;
}

.vendor-badge--sm .vendor-badge__initials {
  font-size: var(--text-xs);
}

.vendor-badge--md .vendor-badge__initials {
  font-size: var(--text-sm);
}

.vendor-badge--lg .vendor-badge__initials {
  font-size: var(--text-base);
}

.vendor-badge--xl .vendor-badge__initials {
  font-size: var(--text-xl);
}

/* ==========================================================================
   Reviews Section - Bonavendi User Reviews
   ========================================================================== */

.reviews-section {
  padding: var(--space-16) 0;
  background: var(--light-50);
}

.reviews-section .section-header {
  text-align: center;
  margin-bottom: var(--space-8);
}

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

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

/* Rating Summary */
.rating-summary {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: var(--space-8);
  max-width: 700px;
  margin: 0 auto var(--space-10);
  padding: var(--space-6);
  background: white;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
}

@media (max-width: 600px) {
  .rating-summary {
    grid-template-columns: 1fr;
    text-align: center;
  }
}

.rating-score {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding-right: var(--space-6);
  border-right: 1px solid var(--light-200);
}

@media (max-width: 600px) {
  .rating-score {
    padding-right: 0;
    border-right: none;
    padding-bottom: var(--space-4);
    border-bottom: 1px solid var(--light-200);
  }
}

.rating-number {
  font-size: var(--text-4xl);
  font-weight: 800;
  color: var(--text-primary);
  line-height: 1;
}

.rating-stars {
  margin: var(--space-2) 0;
}

.rating-stars .star {
  font-size: var(--text-lg);
}

.star-full {
  color: #FBBF24;
}

.star-half {
  color: #FBBF24;
  opacity: 0.6;
}

.star-empty {
  color: var(--light-300);
}

.rating-count {
  font-size: var(--text-sm);
  color: var(--text-secondary);
}

/* Rating Distribution */
.rating-distribution {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: var(--space-2);
}

.distribution-row {
  display: grid;
  grid-template-columns: 40px 1fr 40px;
  gap: var(--space-3);
  align-items: center;
}

.distribution-label {
  font-size: var(--text-sm);
  color: var(--text-secondary);
  text-align: right;
}

.distribution-label .star {
  color: #FBBF24;
  font-size: var(--text-xs);
}

.distribution-bar {
  height: 8px;
  background: var(--light-200);
  border-radius: 4px;
  overflow: hidden;
}

.distribution-fill {
  height: 100%;
  background: linear-gradient(90deg, #FBBF24, #F59E0B);
  border-radius: 4px;
  transition: width 0.3s ease;
}

.distribution-count {
  font-size: var(--text-xs);
  color: var(--text-muted);
  text-align: left;
}

/* Reviews Grid */
.reviews-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: var(--space-4);
  margin-bottom: var(--space-8);
}

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

.review-card {
  background: white;
  border-radius: var(--radius-md);
  padding: var(--space-5);
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--light-200);
  transition: box-shadow 0.2s ease;
}

.review-card:hover {
  box-shadow: var(--shadow-md);
}

.review-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: var(--space-3);
  gap: var(--space-3);
}

.review-author {
  display: flex;
  align-items: center;
  gap: var(--space-3);
}

.author-avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--mode-primary);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
  font-size: var(--text-sm);
}

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

.review-meta {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: var(--space-1);
}

.review-stars .star {
  font-size: var(--text-sm);
}

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

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

/* Reviews Footer */
.reviews-footer {
  text-align: center;
}

.reviews-note {
  font-size: var(--text-sm);
  color: var(--text-muted);
  display: flex;
  flex-direction: column;
  gap: var(--space-1);
}

.reviews-source {
  font-size: var(--text-xs);
  color: var(--text-muted);
}

/* ==========================================================================
   Vendor List Page
   ========================================================================== */

.vendor-list-page {
  background: var(--light-50);
}

/* Category Filter */
.category-filter-section {
  padding: var(--space-6) 0;
  background: white;
  border-bottom: 1px solid var(--light-200);
}

.category-filters {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-2);
  justify-content: center;
  position: sticky;
  top: 60px;
  z-index: 10;
  background: white;
  padding: var(--space-3) 0;
  margin-bottom: var(--space-4);
}

.category-filter {
  padding: var(--space-2) var(--space-4);
  border: 1px solid var(--light-300);
  border-radius: var(--radius-full);
  background: white;
  font-size: var(--text-sm);
  font-weight: 500;
  color: var(--text-secondary);
  cursor: pointer;
  transition: all var(--transition-fast);
}

.category-filter:hover {
  border-color: var(--mode-primary, var(--brand-orange));
  color: var(--mode-primary, var(--brand-orange));
}

.category-filter.active {
  background: var(--mode-primary, var(--brand-orange));
  border-color: var(--mode-primary, var(--brand-orange));
  color: white;
}

/* Intro Section (vendor list pages) */
.intro-section {
  padding: var(--space-8) 0;
  background: linear-gradient(to bottom, var(--light-50), white);
}

.intro-box {
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
}

.intro-box h3 {
  font-size: var(--text-xl);
  font-weight: 600;
  color: var(--dark-800);
  margin-bottom: var(--space-4);
}

.intro-box p {
  font-size: var(--text-base);
  line-height: 1.7;
  color: var(--dark-600);
  margin-bottom: var(--space-4);
}

.intro-box p:last-child {
  margin-bottom: 0;
}

.intro-box strong {
  color: var(--dark-800);
}

/* Vendor Cards Section */
.vendor-cards-section {
  padding: var(--space-12) 0;
}

.vendor-cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: var(--space-5);
}

/* Vendor Card V2 */
.vendor-card-v2 {
  background: white;
  border-radius: var(--radius-xl);
  overflow: hidden;
  transition: all var(--transition-normal);
  border: 1px solid var(--light-200);
}

.vendor-card-v2:hover {
  border-color: var(--mode-primary, var(--brand-orange));
  box-shadow: var(--shadow-lg);
  transform: translateY(-2px);
}

.vendor-card-link {
  display: block;
  padding: var(--space-5);
  text-decoration: none;
  color: inherit;
}

.vendor-card-header {
  display: flex;
  align-items: flex-start;
  gap: var(--space-3);
  margin-bottom: var(--space-3);
}

.vendor-card-logo {
  width: 80px;
  height: 40px;
  object-fit: contain;
  border-radius: var(--radius-md);
  background: var(--light-50);
  padding: var(--space-1);
  flex-shrink: 0;
}

.vendor-card-logo-placeholder {
  width: 80px;
  height: 40px;
  border-radius: var(--radius-md);
  background: linear-gradient(135deg, var(--mode-primary, var(--brand-orange)) 0%, var(--mode-primary-dark, var(--brand-orange-dark)) 100%);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: var(--text-lg);
  font-weight: 700;
  flex-shrink: 0;
}

.vendor-card-header.no-logo .vendor-card-logo {
  display: none;
}

.vendor-card-title {
  flex: 1;
  min-width: 0;
}

.vendor-card-title h3 {
  font-size: var(--text-lg);
  font-weight: 600;
  margin: 0 0 var(--space-1) 0;
  color: var(--text-primary);
}

.vendor-card-v2:hover .vendor-card-title h3 {
  color: var(--mode-primary, var(--brand-orange));
}

.vendor-card-rating {
  display: inline-flex;
  align-items: center;
  gap: var(--space-1);
  font-size: var(--text-sm);
  padding: var(--space-1) var(--space-2);
  border-radius: var(--radius-sm);
  background: var(--light-100);
}

.vendor-card-rating .stars {
  color: #F59E0B;
}

.vendor-card-rating .score {
  font-weight: 600;
  color: var(--text-primary);
}

.vendor-card-rating .source {
  color: var(--text-muted);
  font-size: var(--text-xs);
}

.vendor-card-rating.excellent {
  background: #D1FAE5;
}

.vendor-card-rating.excellent .score {
  color: #065F46;
}

.vendor-card-rating.good {
  background: #FEF3C7;
}

.vendor-card-rating.good .score {
  color: #92400E;
}

.vendor-card-rating.fair {
  background: #FEF3C7;
}

.vendor-card-rating.poor {
  background: #FEE2E2;
}

.vendor-card-rating.poor .score {
  color: #991B1B;
}

.vendor-card-desc {
  font-size: var(--text-sm);
  color: var(--text-secondary);
  margin: 0 0 var(--space-3) 0;
  line-height: 1.5;
}

.vendor-card-facts {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-3);
  margin-bottom: var(--space-3);
}

.vendor-fact {
  display: flex;
  align-items: center;
  gap: var(--space-1);
  font-size: var(--text-sm);
  color: var(--text-secondary);
}

.fact-icon {
  font-size: var(--text-base);
}

.vendor-card-categories {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-1);
}

.category-tag {
  font-size: var(--text-xs);
  padding: var(--space-1) var(--space-2);
  background: var(--light-100);
  color: var(--text-muted);
  border-radius: var(--radius-sm);
}

.category-tag.more {
  background: var(--light-200);
}

/* Stats Section */
.stats-section {
  padding: var(--space-12) 0;
  background: var(--dark-800);
}

.stats-grid {
  display: flex;
  justify-content: center;
  gap: var(--space-16);
}

.stat-item {
  text-align: center;
}

.stat-value {
  display: block;
  font-size: var(--text-4xl);
  font-weight: 800;
  color: var(--mode-primary, var(--brand-orange));
  line-height: 1.2;
}

.stat-label {
  font-size: var(--text-sm);
  color: var(--text-on-dark-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* Responsive */
@media (max-width: 768px) {
  .category-filters {
    justify-content: flex-start;
    overflow-x: auto;
    flex-wrap: nowrap;
    padding-bottom: var(--space-2);
    -webkit-overflow-scrolling: touch;
  }

  .category-filter {
    flex-shrink: 0;
  }

  .vendor-cards-grid {
    grid-template-columns: 1fr;
  }

  .stats-grid {
    flex-direction: column;
    gap: var(--space-8);
  }

  .stat-value {
    font-size: var(--text-3xl);
  }
}

/* ==========================================================================
   Hero Badge Overlay - Award Badges (Top Right)
   ========================================================================== */

.hero-badge-overlay {
  position: absolute;
  top: 1rem;
  right: 1rem;
  z-index: 10;
  opacity: 0.95;
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.hero-badge-overlay:hover {
  opacity: 1;
  transform: scale(1.05);
}

.hero-badge-overlay img {
  width: 100px;
  height: auto;
  filter: drop-shadow(0 2px 4px rgba(0,0,0,0.2));
}

/* Responsive: hide hero overlay on mobile (shown in trust row instead) */
@media (max-width: 768px) {
  .hero-badge-overlay {
    display: none;
  }
}
@media (max-width: 640px) {
  .hero-badge-overlay {
    top: 0.5rem;
    right: 0.5rem;
  }
  .hero-badge-overlay img {
    width: 70px;
  }
}

/* ==========================================================================
   Account Page - Unified Login/Profile
   ========================================================================== */

.account-page {
  min-height: 60vh;
  background: var(--light-50);
  padding-bottom: var(--space-12);
}

.account-widget-container {
  display: flex;
  justify-content: center;
  padding: var(--space-6) var(--space-4);
  position: relative;
}

/* Account page responsive */
@media (max-width: 640px) {
  .account-widget-container {
    padding: var(--space-4) var(--space-2);
  }
}

/* ==========================================================================
   404 Error Page
   ========================================================================== */

.error-404 {
  position: relative;
  min-height: 70vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: var(--space-16) var(--space-4);
  overflow: hidden;
}

.error-404-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.error-404-bg picture,
.error-404-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.error-404-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(15, 16, 17, 0.85) 0%,
    rgba(15, 16, 17, 0.6) 50%,
    rgba(15, 16, 17, 0.75) 100%
  );
}

.error-404-content {
  position: relative;
  z-index: 1;
  text-align: center;
  max-width: 520px;
  margin: 0 auto;
}

.error-404-code {
  font-family: var(--font-display);
  font-size: clamp(5rem, 15vw, 8rem);
  font-weight: 800;
  line-height: 1;
  color: rgba(255, 255, 255, 0.12);
  display: block;
  margin-bottom: var(--space-4);
}

.error-404 h1 {
  font-size: var(--text-3xl);
  font-weight: 700;
  color: var(--text-on-dark);
  margin-bottom: var(--space-4);
}

.error-404-desc {
  font-size: var(--text-lg);
  color: var(--text-on-dark-muted);
  margin-bottom: var(--space-8);
  line-height: 1.6;
}

.error-404-actions {
  margin-bottom: var(--space-10);
}

.error-404-links {
  border-top: 1px solid rgba(255, 255, 255, 0.15);
  padding-top: var(--space-6);
}

.error-404-links-label {
  font-size: var(--text-sm);
  color: var(--text-on-dark-muted);
  margin-bottom: var(--space-3);
}

.error-404-links ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  justify-content: center;
  gap: var(--space-6);
}

.error-404-links a {
  font-size: var(--text-base);
  font-weight: 600;
  color: var(--brand-orange);
  text-decoration: none;
  transition: color 0.15s ease;
}

.error-404-links a:hover {
  color: var(--brand-orange-light);
}

@media (max-width: 480px) {
  .error-404-links ul {
    flex-direction: column;
    gap: var(--space-3);
  }
}
