/**
 * CheckThatMate Design System v4.0
 * Single Source of Truth for all design tokens and components
 * 
 * Usage: Import this file FIRST, then any page-specific styles
 * @import url('design-system.css');
 */

/* ============================================
   1. COLOR TOKENS - Brand Colors
   ============================================ */
:root {
  /* Primary Brand Colors */
  --brand-primary: #42D9C8;      /* Electric Teal - Main brand accent */
  --brand-secondary: #5E239D;    /* Deep Violet - Secondary actions */
  --brand-accent: #F61067;       /* Hot Pink - CTAs, highlights */
  --brand-cyan: #2C8C99;         /* Pacific Cyan - Supporting */

  /* Semantic Colors */
  --color-success: #10B981;       /* Emerald - Success states */
  --color-warning: #F59E0B;      /* Amber - Warnings */
  --color-error: #EF4444;         /* Red - Errors */
  --color-info: #42D9C8;         /* Teal - Info */

  /* Legacy Aliases (for backward compatibility) */
  --electric-teal: var(--brand-primary);
  --deep-violet: var(--brand-secondary);
  --hot-pink: var(--brand-accent);
  --pacific-cyan: var(--brand-cyan);
  --primary-green: var(--color-success);
  --evergreen: #064E3B;
  --midnight: #0F172A;

  /* Accent Pastels */
  --accent-sage: #E2E8F0;
  --accent-peach: #FFB8D4;
  --accent-lavender: #E9D5FF;
  --accent-mint: #D1FAE5;

  /* Background Colors */
  --bg-cream: #FFFBF0;
  --bg-offwhite: #F8FAFC;
  --bg-white: #FFFFFF;
  --bg-paper: #FFFFFF;

  /* Text Colors */
  --text-primary: #1A1638;        /* Main text - dark navy */
  --text-secondary: #1A1A1A;     /* Body text */
  --text-muted: #64748B;         /* Muted text - slate */
  --text-inverse: #FFFFFF;       /* Text on dark backgrounds */
  --text-link: var(--brand-secondary);

  /* UI Colors */
  --border-subtle: rgba(94, 35, 157, 0.12);
  --border-strong: rgba(94, 35, 157, 0.25);
  --glass-border: rgba(94, 35, 157, 0.15);
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.06);
  --shadow-md: 0 10px 40px rgba(0, 0, 0, 0.08);
  --shadow-lg: 0 20px 60px rgba(0, 0, 0, 0.12);
  --shadow-hover: 0 25px 60px rgba(0, 0, 0, 0.12);

  /* ============================================
     2. TYPOGRAPHY TOKENS
     ============================================ */
  --font-display: 'Plus Jakarta Sans', sans-serif;
  --font-heading: 'Plus Jakarta Sans', sans-serif;
  --font-body: 'Inter', sans-serif;
  --font-ui: 'Plus Jakarta Sans', sans-serif;

  /* Font Sizes */
  --text-xs: 0.75rem;    /* 12px */
  --text-sm: 0.875rem;   /* 14px */
  --text-base: 1rem;     /* 16px */
  --text-lg: 1.125rem;   /* 18px */
  --text-xl: 1.25rem;    /* 20px */
  --text-2xl: 1.5rem;    /* 24px */
  --text-3xl: 1.875rem;  /* 30px */
  --text-4xl: 2.25rem;   /* 36px */
  --text-5xl: 3rem;       /* 48px */
  --text-6xl: 3.75rem;   /* 60px */

  /* Font Weights */
  --font-normal: 400;
  --font-medium: 500;
  --font-semibold: 600;
  --font-bold: 700;
  --font-extrabold: 800;

  /* Line Heights */
  --leading-tight: 1.2;
  --leading-snug: 1.375;
  --leading-normal: 1.5;
  --leading-relaxed: 1.625;
  --leading-loose: 1.75;

  /* Letter Spacing */
  --tracking-tight: -0.02em;
  --tracking-normal: 0;
  --tracking-wide: 0.025em;
  --tracking-wider: 0.05em;

  /* ============================================
     3. SPACING TOKENS
     ============================================ */
  --space-1: 0.25rem;   /* 4px */
  --space-2: 0.5rem;     /* 8px */
  --space-3: 0.75rem;    /* 12px */
  --space-4: 1rem;       /* 16px */
  --space-5: 1.25rem;   /* 20px */
  --space-6: 1.5rem;     /* 24px */
  --space-8: 2rem;       /* 32px */
  --space-10: 2.5rem;   /* 40px */
  --space-12: 3rem;      /* 48px */
  --space-16: 4rem;      /* 64px */
  --space-20: 5rem;      /* 80px */
  --space-24: 6rem;      /* 96px */

  /* Section Padding */
  --section-py: 5rem;     /* 80px */
  --section-py-mobile: 3.75rem; /* 60px */
  --section-px: 1.5rem;    /* 24px */

  /* ============================================
     4. LAYOUT TOKENS
     ============================================ */
  --radius-sm: 6px;
  --radius-md: 8px;
  --radius-lg: 12px;
  --radius-xl: 16px;
  --radius-2xl: 24px;
  --radius-3xl: 32px;
  --radius-full: 9999px;

  --container-max: 1280px;
  --container-narrow: 800px;
  --container-wide: 1440px;

  /* ============================================
     5. Z-INDEX SCALE
     ============================================ */
  --z-base: 0;
  --z-dropdown: 100;
  --z-sticky: 200;
  --z-fixed: 300;
  --z-modal-backdrop: 400;
  --z-modal: 500;
  --z-popover: 600;
  --z-tooltip: 700;
}

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

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

body {
  font-family: var(--font-body);
  font-size: var(--text-base);
  font-weight: var(--font-medium);
  line-height: var(--leading-relaxed);
  color: var(--text-secondary);
  background-color: var(--bg-white);
}

/* Headings */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: var(--font-bold);
  line-height: var(--leading-tight);
  letter-spacing: var(--tracking-tight);
  color: var(--text-primary);
}

h1 { font-size: var(--text-5xl); }
h2 { font-size: var(--text-4xl); }
h3 { font-size: var(--text-3xl); }
h4 { font-size: var(--text-2xl); }
h5 { font-size: var(--text-xl); }
h6 { font-size: var(--text-lg); }

p {
  margin-bottom: var(--space-4);
}

a {
  color: var(--text-link);
  text-decoration: none;
  transition: opacity 0.2s ease;
}

a:hover {
  opacity: 0.8;
}

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

/* Lists */
ul, ol {
  padding-left: var(--space-6);
}

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

/* ============================================
   7. COMPONENT: BUTTONS
   ============================================ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
  padding: var(--space-4) var(--space-8);
  font-family: var(--font-ui);
  font-size: var(--text-sm);
  font-weight: var(--font-semibold);
  line-height: 1;
  text-decoration: none;
  border: 2px solid transparent;
  border-radius: var(--radius-full);
  cursor: pointer;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  white-space: nowrap;
}

.btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

/* Primary Button - Main CTA */
.btn-primary {
  background-color: var(--brand-accent);
  color: var(--text-inverse);
  border-color: var(--brand-accent);
  box-shadow: 0 4px 14px rgba(246, 16, 103, 0.25);
}

.btn-primary:hover:not(:disabled) {
  background-color: #D92E89;
  border-color: #D92E89;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(246, 16, 103, 0.35);
}

.btn-primary:active:not(:disabled) {
  transform: translateY(0);
}

/* Secondary Button */
.btn-secondary {
  background-color: transparent;
  color: var(--brand-secondary);
  border-color: var(--brand-secondary);
}

.btn-secondary:hover:not(:disabled) {
  background-color: var(--brand-secondary);
  color: var(--text-inverse);
}

/* Outline Button */
.btn-outline {
  background-color: transparent;
  color: var(--brand-secondary);
  border-color: var(--border-subtle);
}

.btn-outline:hover:not(:disabled) {
  border-color: var(--brand-secondary);
  background-color: rgba(94, 35, 157, 0.05);
}

/* Ghost Button */
.btn-ghost {
  background-color: transparent;
  color: var(--brand-secondary);
  border-color: transparent;
}

.btn-ghost:hover:not(:disabled) {
  background-color: rgba(94, 35, 157, 0.08);
}

/* Success Button */
.btn-success {
  background-color: var(--color-success);
  color: var(--text-inverse);
  border-color: var(--color-success);
}

.btn-success:hover:not(:disabled) {
  background-color: #059669;
  border-color: #059669;
}

/* Button Sizes */
.btn-sm {
  padding: var(--space-3) var(--space-5);
  font-size: var(--text-xs);
}

.btn-lg {
  padding: var(--space-5) var(--space-10);
  font-size: var(--text-base);
}

.btn-icon {
  padding: var(--space-3);
  border-radius: var(--radius-full);
}

/* ============================================
   8. COMPONENT: FORMS
   ============================================ */
.form-group {
  margin-bottom: var(--space-6);
}

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

.form-input,
.form-select,
.form-textarea {
  width: 100%;
  padding: var(--space-4);
  font-family: var(--font-body);
  font-size: var(--text-base);
  color: var(--text-secondary);
  background-color: var(--bg-white);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  transition: all 0.2s ease;
}

.form-input:focus,
.form-select:focus,
.form-textarea:focus {
  outline: none;
  border-color: var(--brand-primary);
  box-shadow: 0 0 0 3px rgba(66, 217, 200, 0.15);
}

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

.form-input.error {
  border-color: var(--color-error);
}

.form-input.error:focus {
  box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.15);
}

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

.form-group.has-error .form-error {
  display: block;
}

/* Checkbox & Radio */
.form-check {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  cursor: pointer;
}

.form-check-input {
  width: 20px;
  height: 20px;
  accent-color: var(--brand-primary);
  cursor: pointer;
}

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

/* ============================================
   9. COMPONENT: CARDS
   ============================================ */
.card {
  background-color: var(--bg-white);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

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

.card-body {
  padding: var(--space-6);
}

.card-header {
  padding: var(--space-6);
  border-bottom: 1px solid var(--border-subtle);
}

.card-footer {
  padding: var(--space-6);
  border-top: 1px solid var(--border-subtle);
  background-color: var(--bg-offwhite);
}

/* Glass Card Variant */
.card-glass {
  background: rgba(255, 255, 255, 0.8);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid var(--glass-border);
}

/* ============================================
   10. COMPONENT: NAVIGATION
   ============================================ */
.site-nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: var(--z-fixed);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: var(--space-5) var(--space-8);
  transition: all 0.3s ease;
}

/* Transparent Nav (for hero sections) */
.site-nav.transparent {
  background: transparent;
  border-bottom: none;
}

.site-nav.transparent .nav-logo img {
  filter: brightness(0) invert(1);
}

.site-nav.transparent .nav-link {
  color: var(--text-inverse);
}

/* Solid Nav (for content pages) */
.site-nav.solid {
  background: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border-subtle);
  box-shadow: var(--shadow-sm);
}

.site-nav.solid .nav-logo img {
  filter: none;
}

.site-nav.solid .nav-link {
  color: var(--text-primary);
}

.site-nav.solid .nav-link:hover {
  color: var(--brand-secondary);
}

/* Nav Content */
.nav-container {
  max-width: var(--container-max);
  width: 100%;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-logo {
  display: flex;
  align-items: center;
  text-decoration: none;
}

.nav-logo img {
  height: 40px;
  width: auto;
}

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

.nav-link {
  font-family: var(--font-ui);
  font-size: var(--text-sm);
  font-weight: var(--font-semibold);
  text-decoration: none;
  transition: color 0.2s ease;
}

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

/* Mobile Nav */
.mobile-menu-btn {
  display: none;
  background: none;
  border: none;
  padding: var(--space-2);
  cursor: pointer;
  color: inherit;
}

@media (max-width: 768px) {
  .nav-menu {
    display: none;
  }
  
  .nav-menu.open {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--bg-white);
    padding: var(--space-6);
    box-shadow: var(--shadow-lg);
  }
  
  .mobile-menu-btn {
    display: block;
  }
}

/* ============================================
   11. COMPONENT: LANGUAGE SWITCHER
   ============================================ */
.lang-switcher {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  font-family: var(--font-ui);
  font-size: var(--text-sm);
  font-weight: var(--font-bold);
}

.lang-switcher a {
  text-decoration: none;
  color: inherit;
  opacity: 0.5;
  padding: var(--space-1) 0;
  transition: opacity 0.2s ease;
}

.lang-switcher a:hover {
  opacity: 0.8;
}

.lang-switcher a.active {
  opacity: 1;
  border-bottom: 2px solid currentColor;
}

.lang-switcher .divider {
  opacity: 0.3;
  font-weight: var(--font-normal);
}

/* ============================================
   12. COMPONENT: BADGES
   ============================================ */
.badge {
  display: inline-flex;
  align-items: center;
  padding: var(--space-1) var(--space-3);
  font-family: var(--font-ui);
  font-size: var(--text-xs);
  font-weight: var(--font-bold);
  text-transform: uppercase;
  letter-spacing: var(--tracking-wider);
  border-radius: var(--radius-full);
}

.badge-success {
  background-color: rgba(16, 185, 129, 0.1);
  color: var(--color-success);
}

.badge-warning {
  background-color: rgba(245, 158, 11, 0.1);
  color: var(--color-warning);
}

.badge-error {
  background-color: rgba(239, 68, 68, 0.1);
  color: var(--color-error);
}

.badge-info {
  background-color: rgba(66, 217, 200, 0.1);
  color: var(--brand-primary);
}

/* ============================================
   13. COMPONENT: HERO SECTIONS
   ============================================ */
.hero {
  position: relative;
  min-height: 80vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: var(--space-24) var(--space-8);
  background-color: var(--brand-primary);
  background-image: var(--hero-bg-image, none);
  background-size: cover;
  background-position: center;
  color: var(--text-inverse);
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: var(--container-narrow);
  text-align: center;
}

.hero-title {
  font-size: var(--text-6xl);
  font-weight: var(--font-extrabold);
  margin-bottom: var(--space-6);
  color: var(--text-inverse);
}

.hero-subtitle {
  font-size: var(--text-xl);
  opacity: 0.9;
  margin-bottom: var(--space-10);
}

/* Hero Overlay */
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(15, 23, 42, 0.3) 0%, rgba(15, 23, 42, 0.8) 100%);
  z-index: 1;
}

/* ============================================
   14. COMPONENT: SECTIONS
   ============================================ */
.section {
  padding: var(--section-py) var(--section-px);
}

.section-dark {
  background-color: var(--midnight);
  color: var(--text-inverse);
}

.section-light {
  background-color: var(--bg-white);
}

.section-cream {
  background-color: var(--bg-cream);
}

.section-header {
  text-align: center;
  max-width: var(--container-narrow);
  margin: 0 auto var(--space-16);
}

.section-title {
  font-size: var(--text-4xl);
  margin-bottom: var(--space-4);
}

.section-subtitle {
  font-size: var(--text-lg);
  color: var(--text-muted);
}

@media (max-width: 768px) {
  .section {
    padding: var(--section-py-mobile) var(--space-4);
  }
  
  .section-title {
    font-size: var(--text-3xl);
  }
}

/* ============================================
   15. COMPONENT: TICKER
   ============================================ */
.ticker-wrap {
  background-color: var(--brand-primary);
  color: var(--text-inverse);
  font-family: var(--font-ui);
  font-weight: var(--font-semibold);
  letter-spacing: var(--tracking-wide);
  padding: var(--space-3) 0;
}

.ticker-content {
  display: flex;
  align-items: center;
  gap: var(--space-8);
  overflow: hidden;
}

.ticker-item {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  white-space: nowrap;
}

.status-pulse {
  display: inline-block;
  width: 8px;
  height: 8px;
  background-color: var(--color-success);
  border-radius: 50%;
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.5; }
}

/* ============================================
   16. COMPONENT: GRIDS
   ============================================ */
.grid {
  display: grid;
  gap: var(--space-8);
}

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

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

@media (max-width: 768px) {
  .grid-2,
  .grid-3,
  .grid-4 { 
    grid-template-columns: 1fr; 
  }
}

/* ============================================
   17. COMPONENT: PRODUCT CARDS
   ============================================ */
.product-card {
  background: var(--bg-white);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-xl);
  overflow: hidden;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.product-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(94, 35, 157, 0.15);
}

.product-card-image {
  aspect-ratio: 4/3;
  background: var(--bg-cream);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.product-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.product-card-body {
  padding: var(--space-6);
}

.product-card-title {
  font-family: var(--font-heading);
  font-size: var(--text-lg);
  font-weight: var(--font-bold);
  color: var(--text-primary);
  margin-bottom: var(--space-2);
}

.product-card-desc {
  font-size: var(--text-sm);
  color: var(--text-muted);
  margin-bottom: var(--space-4);
}

.product-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: var(--space-4);
  border-top: 1px solid var(--border-subtle);
}

.product-card-price {
  font-family: var(--font-heading);
  font-size: var(--text-xl);
  font-weight: var(--font-extrabold);
  color: var(--brand-secondary);
}

/* ============================================
   18. COMPONENT: CARTS & PANELS
   ============================================ */
.cart-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
  z-index: var(--z-modal-backdrop);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.cart-overlay.open {
  opacity: 1;
  pointer-events: auto;
}

.cart-panel {
  position: fixed;
  top: 0;
  right: 0;
  width: 100%;
  max-width: 420px;
  height: 100%;
  background: var(--bg-white);
  z-index: var(--z-modal);
  box-shadow: -10px 0 40px rgba(0, 0, 0, 0.15);
  transform: translateX(100%);
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  display: flex;
  flex-direction: column;
}

.cart-panel.open {
  transform: translateX(0);
}

.cart-panel-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: var(--space-6);
  border-bottom: 1px solid var(--border-subtle);
}

.cart-panel-title {
  font-family: var(--font-heading);
  font-size: var(--text-xl);
  font-weight: var(--font-bold);
}

.cart-panel-body {
  flex: 1;
  overflow-y: auto;
  padding: var(--space-6);
}

.cart-panel-footer {
  padding: var(--space-6);
  border-top: 1px solid var(--border-subtle);
  background: var(--bg-offwhite);
}

.cart-close-btn {
  background: none;
  border: none;
  font-size: var(--text-2xl);
  color: var(--text-muted);
  cursor: pointer;
  padding: var(--space-2);
  line-height: 1;
}

.cart-close-btn:hover {
  color: var(--text-primary);
}

/* ============================================
   19. COMPONENT: FOOTER
   ============================================ */
.site-footer {
  background-color: var(--midnight);
  color: var(--text-inverse);
  padding: var(--space-16) var(--space-8);
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr repeat(3, 1fr);
  gap: var(--space-12);
  max-width: var(--container-max);
  margin: 0 auto;
}

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

.footer-logo {
  display: block;
  margin-bottom: var(--space-4);
}

.footer-logo img {
  height: 36px;
}

.footer-desc {
  font-size: var(--text-sm);
  opacity: 0.7;
  line-height: var(--leading-relaxed);
}

.footer-title {
  font-family: var(--font-heading);
  font-size: var(--text-sm);
  font-weight: var(--font-bold);
  text-transform: uppercase;
  letter-spacing: var(--tracking-wider);
  margin-bottom: var(--space-4);
  color: rgba(255, 255, 255, 0.5);
}

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

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

.footer-links a {
  color: rgba(255, 255, 255, 0.8);
  font-size: var(--text-sm);
  text-decoration: none;
  transition: color 0.2s ease;
}

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

.footer-bottom {
  max-width: var(--container-max);
  margin: var(--space-12) auto 0;
  padding-top: var(--space-8);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: var(--text-sm);
  opacity: 0.6;
}

@media (max-width: 768px) {
  .footer-grid {
    grid-template-columns: 1fr;
    gap: var(--space-8);
  }
  
  .footer-bottom {
    flex-direction: column;
    gap: var(--space-4);
    text-align: center;
  }
}

/* ============================================
   20. COMPONENT: ACCORDION / FAQ
   ============================================ */
.faq-item {
  border-bottom: 1px solid var(--border-subtle);
}

.faq-question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: var(--space-5) 0;
  font-family: var(--font-ui);
  font-size: var(--text-base);
  font-weight: var(--font-semibold);
  color: var(--text-primary);
  cursor: pointer;
  transition: color 0.2s ease;
}

.faq-question:hover {
  color: var(--brand-secondary);
}

.faq-question::after {
  content: '+';
  font-size: var(--text-xl);
  font-weight: var(--font-bold);
  color: var(--brand-secondary);
  transition: transform 0.3s ease;
}

.faq-item.active .faq-question::after {
  content: '−';
}

.faq-answer {
  display: none;
  padding-bottom: var(--space-5);
  font-size: var(--text-base);
  color: var(--text-muted);
  line-height: var(--leading-relaxed);
}

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

/* ============================================
   21. COMPONENT: TESTIMONIALS
   ============================================ */
.testimonial-card {
  background: var(--bg-white);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-xl);
  padding: var(--space-8);
  text-align: center;
}

.testimonial-avatar {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  object-fit: cover;
  margin: 0 auto var(--space-4);
  border: 3px solid var(--brand-primary);
}

.testimonial-stars {
  color: #F59E0B;
  font-size: var(--text-lg);
  margin-bottom: var(--space-3);
}

.testimonial-quote {
  font-size: var(--text-base);
  font-style: italic;
  color: var(--text-secondary);
  margin-bottom: var(--space-4);
  line-height: var(--leading-relaxed);
}

.testimonial-author {
  font-family: var(--font-ui);
  font-weight: var(--font-bold);
  color: var(--text-primary);
}

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

/* ============================================
   22. UTILITY CLASSES
   ============================================ */

/* Display */
.hidden { display: none !important; }
.block { display: block; }
.inline-block { display: inline-block; }
.flex { display: flex; }
.inline-flex { display: inline-flex; }

/* Visibility */
.visible { visibility: visible; }
.invisible { visibility: hidden; }

/* Positioning */
.relative { position: relative; }
.absolute { position: absolute; }
.fixed { position: fixed; }
.sticky { position: sticky; }

/* Text */
.text-center { text-align: center; }
.text-left { text-align: left; }
.text-right { text-align: right; }
.text-sm { font-size: var(--text-sm); }
.text-lg { font-size: var(--text-lg); }
.text-muted { color: var(--text-muted); }
.text-primary { color: var(--text-primary); }
.font-bold { font-weight: var(--font-bold); }
.font-medium { font-weight: var(--font-medium); }

/* Spacing */
.m-0 { margin: 0; }
.mt-4 { margin-top: var(--space-4); }
.mb-4 { margin-bottom: var(--space-4); }
.mb-8 { margin-bottom: var(--space-8); }
.p-4 { padding: var(--space-4); }
.p-6 { padding: var(--space-6); }
.p-8 { padding: var(--space-8); }

/* Width */
.w-full { width: 100%; }
.max-w-md { max-width: 28rem; }
.max-w-lg { max-width: 32rem; }
.max-w-xl { max-width: 36rem; }
.max-w-2xl { max-width: 42rem; }
.max-w-4xl { max-width: 56rem; }
.max-w-6xl { max-width: 72rem; }
.max-w-7xl { max-width: 80rem; }

/* Container */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin-left: auto;
  margin-right: auto;
  padding-left: var(--space-6);
  padding-right: var(--space-6);
}

/* Border Radius */
.rounded { border-radius: var(--radius-md); }
.rounded-lg { border-radius: var(--radius-lg); }
.rounded-xl { border-radius: var(--radius-xl); }
.rounded-2xl { border-radius: var(--radius-2xl); }
.rounded-full { border-radius: var(--radius-full); }

/* Shadow */
.shadow-sm { box-shadow: var(--shadow-sm); }
.shadow { box-shadow: var(--shadow-md); }
.shadow-lg { box-shadow: var(--shadow-lg); }

/* Cursor */
.cursor-pointer { cursor: pointer; }
.cursor-not-allowed { cursor: not-allowed; }

/* Overflow */
.overflow-hidden { overflow: hidden; }
.overflow-auto { overflow: auto; }

/* Transitions */
.transition { transition: all 0.2s ease; }
.transition-fast { transition: all 0.15s ease; }
.transition-slow { transition: all 0.3s ease; }

/* Opacity */
.opacity-50 { opacity: 0.5; }
.opacity-75 { opacity: 0.75; }

/* ============================================
   23. RESPONSIVE HELPERS
   ============================================ */
.desktop-only {
  display: block;
}

.mobile-only {
  display: none;
}

@media (max-width: 768px) {
  .desktop-only {
    display: none !important;
  }
  
  .mobile-only {
    display: block !important;
  }
  
  .mobile-flex {
    display: flex !important;
  }
}

/* ============================================
   24. ANIMATIONS
   ============================================ */
@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes slideInRight {
  from {
    transform: translateX(100%);
  }
  to {
    transform: translateX(0);
  }
}

@keyframes slideInUp {
  from {
    transform: translateY(100%);
  }
  to {
    transform: translateY(0);
  }
}

.animate-fadeIn {
  animation: fadeIn 0.5s ease;
}

.animate-fadeInUp {
  animation: fadeInUp 0.5s ease;
}

.animate-slideInRight {
  animation: slideInRight 0.3s ease;
}

/* Stagger children animations */
.stagger-children > * {
  animation: fadeInUp 0.5s ease both;
}

.stagger-children > *:nth-child(1) { animation-delay: 0.1s; }
.stagger-children > *:nth-child(2) { animation-delay: 0.2s; }
.stagger-children > *:nth-child(3) { animation-delay: 0.3s; }
.stagger-children > *:nth-child(4) { animation-delay: 0.4s; }
.stagger-children > *:nth-child(5) { animation-delay: 0.5s; }
.stagger-children > *:nth-child(6) { animation-delay: 0.6s; }
