/* ========================================
   CALCUTTA CLUB - POLICIES & TERMS
   Professional Responsive Design System
   Designed & Developed by Deep Basu (deepbasu.com)
   ======================================== */

/* Performance Optimizations */
/* Prevent layout shifts */
* {
  box-sizing: border-box;
}

/* Ensure images have dimensions to prevent layout shifts */
img {
  max-width: 100%;
  height: auto;
}

/* CSS Custom Properties (Design Tokens) */
:root {
  /* Brand Colors - Based on Calcutta Club Identity */
  --primary-color: #1e3a8a;        /* Deep Blue */
  --primary-light: #3b82f6;        /* Bright Blue */
  --primary-dark: #1e40af;         /* Darker Blue */
  --secondary-color: #dc2626;      /* Red Accent */
  --accent-color: #1e3a8a;         /* Blue accent for light mode */
  
  /* Neutral Colors */
  --white: #ffffff;
  --gray-50: #f9fafb;
  --gray-100: #f3f4f6;
  --gray-200: #e5e7eb;
  --gray-300: #d1d5db;
  --gray-400: #9ca3af;
  --gray-500: #6b7280;
  --gray-600: #4b5563;
  --gray-700: #374151;
  --gray-800: #1f2937;
  --gray-900: #111827;
  
  /* Dark Mode Colors */
  --dark-bg: #0f172a;
  --dark-surface: #1e293b;
  --dark-surface-light: #334155;
  --dark-text: #f1f5f9;
  --dark-text-muted: #cbd5e1;
  
  /* Typography */
  --font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-size-xs: 0.75rem;    /* 12px */
  --font-size-sm: 0.875rem;   /* 14px */
  --font-size-base: 1rem;     /* 16px */
  --font-size-lg: 1.125rem;   /* 18px */
  --font-size-xl: 1.25rem;    /* 20px */
  --font-size-2xl: 1.5rem;    /* 24px */
  --font-size-3xl: 1.875rem;  /* 30px */
  --font-size-4xl: 2.25rem;   /* 36px */
  --font-size-5xl: 3rem;      /* 48px */
  
  /* Spacing Scale */
  --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 */
  
  /* Border Radius */
  --radius-sm: 0.375rem;   /* 6px */
  --radius-md: 0.5rem;     /* 8px */
  --radius-lg: 0.75rem;    /* 12px */
  --radius-xl: 1rem;       /* 16px */
  --radius-2xl: 1.5rem;    /* 24px */
  --radius-full: 9999px;
  
  /* Shadows */
  --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
  --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
  --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
  --shadow-xl: 0 20px 25px -5px rgb(0 0 0 / 0.1), 0 8px 10px -6px rgb(0 0 0 / 0.1);
  
  /* Transitions */
  --transition-fast: 150ms ease-in-out;
  --transition-normal: 300ms ease-in-out;
  --transition-slow: 500ms ease-in-out;
  
  /* Z-Index Scale */
  --z-dropdown: 1000;
  --z-sticky: 1020;
  --z-fixed: 1030;
  --z-modal-backdrop: 1040;
  --z-modal: 1050;
  --z-popover: 1060;
  --z-tooltip: 1070;
}

/* Dark Mode Variables - Based on Calcutta Club Logo Colors */
[data-theme="dark"] {
  --primary-color: #f59e0b;        /* Golden from logo - PRIMARY */
  --primary-light: #fbbf24;        /* Bright Gold */
  --primary-dark: #d97706;         /* Darker Gold */
  --secondary-color: #3b82f6;      /* Blue from logo - SECONDARY */
  --accent-color: #f59e0b;         /* Golden accent for dark mode */
  
  --white: #ffffff;                 /* Pure white for text */
  --gray-50: #1e293b;              /* Dark surface */
  --gray-100: #334155;             /* Darker surface */
  --gray-200: #475569;             /* Medium dark */
  --gray-300: #64748b;             /* Lighter dark */
  --gray-400: #94a3b8;             /* Light gray */
  --gray-500: #cbd5e1;             /* Very light gray */
  --gray-600: #e2e8f0;             /* Almost white */
  --gray-700: #f1f5f9;             /* Off-white */
  --gray-800: #f8fafc;             /* Near white */
  --gray-900: #ffffff;             /* Pure white */
}

/* ========================================
   RESET & BASE STYLES
   ======================================== */

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-size: 16px;
  line-height: 1.5;
  -webkit-text-size-adjust: 100%;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  scroll-behavior: smooth;
  overflow-x: hidden;
}

body {
  font-family: var(--font-family);
  font-size: var(--font-size-base);
  line-height: 1.6;
  color: var(--gray-800);
  background-color: var(--white);
  overflow-x: hidden;
  width: 100%;
  min-height: 100vh;
  transition: background-color var(--transition-normal), color var(--transition-normal);
}

/* ========================================
   UTILITY CLASSES
   ======================================== */

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 var(--space-4);
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* ========================================
   NAVIGATION
   ======================================== */

.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: var(--z-sticky);
  background: rgba(255, 255, 255, 0.95) !important;
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--gray-200);
  transition: all var(--transition-normal);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1) !important;
}

/* Prevent JavaScript from overriding navbar styles in light mode */
.navbar[style*="background"] {
  background: rgba(255, 255, 255, 0.95) !important;
}

.navbar[style*="box-shadow"] {
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1) !important;
}

[data-theme="dark"] .navbar {
  background: rgba(15, 23, 42, 0.98) !important;
  border-bottom-color: var(--primary-color);
  box-shadow: 0 2px 20px rgba(245, 158, 11, 0.2) !important;
}

/* Prevent JavaScript from overriding navbar styles in dark mode */
[data-theme="dark"] .navbar[style*="background"] {
  background: rgba(15, 23, 42, 0.98) !important;
}

/* Logo styling - Light mode: Blue, Dark mode: Golden */
.nav-logo-img {
  filter: brightness(0) saturate(100%) invert(15%) sepia(76%) saturate(4088%) hue-rotate(233deg) brightness(94%) contrast(105%);
  transition: filter var(--transition-normal);
}

[data-theme="dark"] .nav-logo-img {
  filter: brightness(0) saturate(100%) invert(75%) sepia(99%) saturate(1552%) hue-rotate(1deg) brightness(101%) contrast(101%) !important;
}

/* Mobile logo - show different logos based on theme */
.nav-logo-mobile.nav-logo-light {
  display: block;
  filter: brightness(0) saturate(100%) invert(20%) sepia(100%) saturate(2000%) hue-rotate(220deg) brightness(0.9) contrast(1.2);
}

.nav-logo-mobile.nav-logo-dark {
  display: none;
  filter: none;
}

[data-theme="dark"] .nav-logo-mobile.nav-logo-light {
  display: none;
}

[data-theme="dark"] .nav-logo-mobile.nav-logo-dark {
  display: block;
  filter: none;
}

/* Hamburger menu styling */
.hamburger {
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  display: none;
  flex-direction: column;
  gap: 6px;
  position: relative;
  z-index: 1001;
  width: 40px;
  height: 40px;
  justify-content: center;
  align-items: center;
}

.hamburger span {
  width: 30px;
  height: 3px;
  background: var(--primary-color);
  transition: all 0.3s ease;
  border-radius: 2px;
  display: block;
}

.hamburger.active span:nth-child(1) {
  transform: translateY(9px) rotate(45deg);
}

.hamburger.active span:nth-child(2) {
  opacity: 0;
}

.hamburger.active span:nth-child(3) {
  transform: translateY(-9px) rotate(-45deg);
}

[data-theme="dark"] .hamburger span {
  background: var(--primary-color);
}

@media (max-width: 768px) {
  .hamburger {
    display: flex;
    justify-content: center;
    align-items: center;
  }
}

/* Extra enforcement for very small phones - no animations */
@media (max-width: 480px) {
  .floating-cards {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 12px !important;
    max-width: 280px !important;
    margin: 0 auto !important;
  }

  .floating-cards .card,
  .floating-cards .privacy-card,
  .floating-cards .refund-card,
  .floating-cards .terms-card {
    position: relative !important;
    top: auto !important;
    left: auto !important;
    right: auto !important;
    bottom: auto !important;
    animation: none !important;
  }
}

[data-theme="dark"] .navbar[style*="box-shadow"] {
  box-shadow: 0 2px 20px rgba(245, 158, 11, 0.2) !important;
}

.nav-container {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  flex-wrap: nowrap;
  gap: var(--space-2);
  height: 70px;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 var(--space-4);
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  flex: 0 0 auto;
  min-width: 0; /* Allow flex shrink */
}

/* Ensure logo container doesn't grow too large */
.nav-logo a {
  display: flex;
  align-items: center;
  max-width: 100%;
}

/* Ensure consistent ordering and right-side grouping */
.nav-logo { order: 0; }
.nav-menu { order: 1; margin-left: auto; }
#mobile-menu-toggle { order: 2; margin-left: var(--space-2); }
.theme-toggle { order: 3; margin-left: var(--space-2); }

.nav-logo-img {
  height: 60px;
  width: auto;
  min-width: 60px;
  min-height: 60px;
  object-fit: contain;
}

/* Show desktop logo by default, hide mobile logo */
.nav-logo-desktop {
  display: block;
}

.nav-logo-mobile {
  display: none;
}

/* Hide mobile logo on desktop screens */
@media (min-width: 1200px) {
  .nav-logo-mobile {
    display: none !important;
  }
}


.nav-menu {
  display: flex;
  list-style: none;
  gap: var(--space-8);
  align-items: center;
  flex: 1 1 auto;
  margin-left: var(--space-6);
  margin-right: auto; /* push actions to the far right */
  min-width: 0; /* allow flex shrink/grow properly */
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  flex: 0 0 auto;
  margin-left: auto; /* push actions to the far right */
}

@media (max-width: 1199px) {
  .nav-actions { gap: var(--space-2); }
}

/* Keep actions aligned to the right on desktop */
@media (min-width: 1200px) {
  .nav-actions { margin-left: auto; }
  .nav-container { position: relative; }
  .nav-actions {
    position: absolute;
    right: var(--space-4);
    top: 50%;
    transform: translateY(-50%);
  }
}

.nav-menu.active {
  left: 0;
}

.nav-link {
  color: var(--gray-700);
  text-decoration: none;
  font-weight: 500;
  font-size: var(--font-size-base);
  transition: color var(--transition-fast);
  position: relative;
  padding: var(--space-2) 0;
}

.nav-link:hover {
  color: var(--primary-color);
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--primary-color);
  transition: width var(--transition-fast);
}

.nav-link:hover::after {
  width: 100%;
}

[data-theme="dark"] .nav-link {
  color: var(--dark-text-muted);
}

[data-theme="dark"] .nav-link:hover {
  color: var(--primary-color);
}

[data-theme="dark"] .nav-link::after {
  background: var(--primary-color);
}

/* Remove this duplicate hamburger definition */

/* Remove this duplicate hamburger span definition */

[data-theme="dark"] .hamburger span {
  background: var(--dark-text);
}

/* ========================================
   THEME TOGGLE BUTTON
   ======================================== */

.theme-toggle {
  position: relative;
  width: 44px;
  height: 44px;
  border-radius: var(--radius-full);
  border: 2px solid var(--gray-200);
  background: var(--white);
  color: var(--gray-700);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: var(--font-size-base);
  box-shadow: var(--shadow-md);
  transition: all var(--transition-normal);
  z-index: 9999;
  margin-left: var(--space-2);
  pointer-events: auto;
  user-select: none;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  flex: 0 0 auto;
}

#mobile-menu-toggle { flex: 0 0 auto; margin-left: var(--space-2); }

.theme-toggle:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
  border-color: var(--primary-color);
}

[data-theme="dark"] .theme-toggle {
  background: var(--dark-surface);
  color: var(--primary-color);
  border-color: var(--primary-color);
  box-shadow: 0 4px 15px rgba(245, 158, 11, 0.3);
}

[data-theme="dark"] .theme-toggle:hover {
  border-color: var(--primary-light);
  background: var(--primary-color);
  color: var(--dark-bg);
  box-shadow: 0 6px 20px rgba(245, 158, 11, 0.4);
}

/* ========================================
   HERO SECTION
   ======================================== */

.hero {
  padding: 120px 0 var(--space-20);
  background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
  color: var(--white);
  position: relative;
  overflow: hidden;
  box-shadow: inset 0 0 50px rgba(0, 0, 0, 0.1);
}

[data-theme="dark"] .hero {
  background: linear-gradient(135deg, var(--dark-bg) 0%, var(--dark-surface) 100%);
  box-shadow: inset 0 0 50px rgba(245, 158, 11, 0.05);
}

[data-theme="dark"] .hero-content h1 {
  background: linear-gradient(135deg, var(--white) 0%, var(--primary-color) 50%, var(--primary-light) 100%);
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.9), 0 0 20px rgba(245, 158, 11, 0.5);
}

[data-theme="dark"] .hero-content p {
  background: linear-gradient(135deg, var(--white) 0%, var(--primary-color) 50%, var(--primary-light) 100%);
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  text-shadow: 0 1px 5px rgba(0, 0, 0, 0.7), 0 0 15px rgba(245, 158, 11, 0.4);
}

/* Removed unused dark mode stat styles */

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="50" cy="50" r="1" fill="white" opacity="0.1"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>');
  opacity: 0.3;
}

.hero-container {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-areas: "content visual";
  gap: var(--space-16);
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 var(--space-4);
}

.hero-content { grid-area: content; }
.hero-visual  { grid-area: visual; }

.hero-content {
  max-width: 640px;
}

.hero-content h1 {
  font-size: var(--font-size-5xl);
  font-weight: 700;
  line-height: 1.1;
  margin-bottom: var(--space-4);
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.7), 0 0 15px rgba(245, 158, 11, 0.4);
  color: var(--white);
  display: block;
  white-space: nowrap;
}

.hero-content p {
  font-size: var(--font-size-xl);
  margin-bottom: var(--space-8);
  margin-left: 0;
  opacity: 1;
  line-height: 1.6;
  color: var(--white);
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.5), 0 0 10px rgba(245, 158, 11, 0.3);
  display: block;
  white-space: nowrap;
}

/* Removed unused .stat and .hero-stats styles */

/* ========================================
   HERO VISUAL SECTION
   ======================================== */

.hero-visual {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 400px;
  min-height: 400px;
  perspective: 1000px;
  contain: layout;
}

/* Desktop hero: center heading/subheading and arrange cards in 3 columns below */
@media (min-width: 1024px) {
  .hero-container {
    grid-template-columns: 1fr !important;
    grid-template-areas:
      "content"
      "visual" !important;
    justify-items: center !important;
    text-align: center !important;
    gap: var(--space-10) !important;
  }

  .hero-content {
    max-width: 840px;
  }

  .hero-content h1,
  .hero-content p {
    white-space: normal;
  }

  .hero-visual {
    height: auto;
  }

  .floating-cards {
    height: auto;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-8);
    place-items: stretch;
    align-items: stretch;
    width: 100%;
    max-width: 1000px;
    margin-top: var(--space-4);
  }

  .floating-cards .card {
    position: relative;
    width: 100%;
    height: 100%;
    padding: var(--space-8) var(--space-6);
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.25);
    box-shadow: 0 10px 25px rgba(0,0,0,0.15);
  }

  /* Animations removed - desktop cards are now static */

  /* Reset absolute positions used for mobile/anim */
  .privacy-card,
  .refund-card,
  .terms-card {
    position: relative !important;
    top: auto !important;
    left: auto !important;
    right: auto !important;
    bottom: auto !important;
  }

  /* Responsive desktop icon/title sizing */
  .floating-cards .card i { 
    font-size: var(--font-size-2xl); 
    max-width: 100%;
    overflow: hidden;
  }
  .floating-cards .card h3 { font-size: var(--font-size-lg); }
}

@keyframes floatRow {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}

.floating-cards {
  position: relative;
  width: 100%;
  height: 100%;
  display: grid;
  place-items: center;
}

.card {
  position: absolute;
  width: 200px;
  height: 120px;
  min-width: 200px;
  min-height: 120px;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  border-radius: var(--radius-xl);
  border: 1px solid rgba(255, 255, 255, 0.2);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: var(--white);
  transition: all var(--transition-slow);
  cursor: pointer;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
  contain: layout;
}

.card:hover {
  transform: translateY(-10px) scale(1.05);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2), 0 0 20px rgba(245, 158, 11, 0.3);
  background: rgba(255, 255, 255, 0.2);
  border-color: var(--accent-color);
}

.card i {
  font-size: var(--font-size-2xl);
  margin-bottom: var(--space-2);
  color: var(--primary-color);
  transition: all var(--transition-normal);
  max-width: 100%;
  overflow: hidden;
  display: block !important;
  visibility: visible !important;
  opacity: 1 !important;
  min-height: 1.5em;
  min-width: 1.5em;
  text-align: center;
  line-height: 1;
}

.card:hover i {
  color: var(--white);
}

.card h3 {
  font-size: var(--font-size-lg);
  font-weight: 600;
  margin: 0;
  color: var(--white);
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.6), 0 0 12px rgba(245, 158, 11, 0.4);
}

/* Card positioning removed - desktop cards now use flexbox layout */

/* Floating animations removed for desktop - cards are now static */

/* Large screens - prevent cards from getting too wide */
@media (min-width: 1400px) {
  .floating-cards {
    max-width: 1200px !important;
    gap: 1.5rem !important;
  }
}

/* Extra large screens - maintain optimal proportions */
@media (min-width: 1600px) {
  .floating-cards {
    max-width: 1400px !important;
    gap: 2rem !important;
  }
}

/* Desktop hero cards - static 3 column layout with rectangular cards */
@media (min-width: 1024px) {
  .floating-cards { 
    display: flex !important;
    justify-content: space-between !important;
    align-items: stretch !important;
    gap: 1rem !important;
    height: 100% !important;
    position: relative !important;
    max-width: min(1200px, calc(100vw - 4rem)) !important;
    margin: 0 auto !important;
    padding: 0 1rem !important;
  }
  .floating-cards .card { 
    position: relative !important;
    flex: 1 1 0 !important;
    width: 100% !important;
    height: auto !important;
    min-height: 160px !important;
    max-height: 200px !important;
    max-width: none !important;
    animation: none !important;
    will-change: auto !important;
    display: flex !important;
    flex-direction: column !important;
    justify-content: center !important;
    align-items: center !important;
    padding: var(--space-6) var(--space-4) !important;
    aspect-ratio: 2.5 / 1 !important;
  }

  .floating-cards .card i {
    font-size: var(--font-size-2xl) !important;
    max-width: 100% !important;
    overflow: hidden !important;
    display: block !important;
    visibility: visible !important;
  }
  /* Ensure all cards have identical rectangular sizing */
  .privacy-card,
  .refund-card,
  .terms-card {
    position: relative !important;
    top: auto !important;
    left: auto !important;
    right: auto !important;
    bottom: auto !important;
    transform: none !important;
    animation: none !important;
    flex: 1 1 0 !important;
    width: 100% !important;
    height: auto !important;
    min-height: 160px !important;
    max-height: 200px !important;
    max-width: none !important;
    padding: var(--space-6) var(--space-4) !important;
    aspect-ratio: 2.5 / 1 !important;
  }
}

/* Animation keyframes removed - desktop cards are now static */

/* Mobile animations removed - static cards only */

/* Desktop hero cards are now static in 3 columns - animations removed */

/* Dark mode adjustments */
[data-theme="dark"] .card {
  background: rgba(255, 255, 255, 0.05);
  border-color: rgba(255, 255, 255, 0.1);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
}

[data-theme="dark"] .card:hover {
  background: rgba(255, 255, 255, 0.1);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3), 0 0 25px rgba(245, 158, 11, 0.4);
  border-color: var(--accent-color);
}

[data-theme="dark"] .card i {
  color: var(--primary-color) !important;
}

[data-theme="dark"] .card h3 {
  color: var(--white);
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.9), 0 0 15px rgba(245, 158, 11, 0.5);
}

/* ========================================
   SEARCH SECTION
   ======================================== */

.search-section {
  padding: var(--space-20) 0;
  background: var(--white);
}

[data-theme="dark"] .search-section {
  background: var(--dark-bg);
}

.search-box {
  max-width: 600px;
  margin: 0 auto;
  position: relative;
  display: flex;
  align-items: center;
  background: var(--white);
  border-radius: var(--radius-full);
  box-shadow: var(--shadow-lg);
  border: 2px solid var(--gray-200);
  overflow: hidden;
  transition: all var(--transition-normal);
}

[data-theme="dark"] .search-box {
  background: var(--dark-surface);
  border-color: var(--dark-surface-light);
}

.search-box:focus-within {
  border-color: var(--primary-color);
  box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}

.search-box i {
  position: absolute;
  left: var(--space-5);
  color: var(--gray-400);
  font-size: var(--font-size-lg);
}

[data-theme="dark"] .search-box i {
  color: var(--dark-text-muted);
}

.search-box input {
  flex: 1;
  padding: var(--space-4) var(--space-5) var(--space-4) var(--space-12);
  border: none;
  background: transparent;
  font-size: var(--font-size-base);
  color: var(--gray-800);
  outline: none;
}

[data-theme="dark"] .search-box input {
  color: var(--dark-text);
}

.search-box input::placeholder {
  color: var(--gray-400);
}

[data-theme="dark"] .search-box input::placeholder {
  color: var(--dark-text-muted);
}

.search-box button {
  padding: var(--space-4) var(--space-6);
  background: var(--primary-color);
  color: var(--white);
  border: none;
  font-weight: 600;
  cursor: pointer;
  transition: background-color var(--transition-fast);
}

.search-box button:hover {
  background: var(--primary-dark);
}

/* ========================================
   QUICK NAVIGATION
   ======================================== */

.quick-nav {
  padding: var(--space-20) 0;
  background: var(--gray-50);
  position: relative;
}

.quick-nav::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--primary-color), transparent);
}

[data-theme="dark"] .quick-nav {
  background: var(--dark-surface);
}

[data-theme="dark"] .quick-nav::before {
  background: linear-gradient(90deg, transparent, var(--primary-color), transparent);
}

.quick-nav h2 {
  text-align: center;
  font-size: var(--font-size-4xl);
  font-weight: 700;
  color: var(--gray-800);
  margin-bottom: var(--space-12);
}

[data-theme="dark"] .quick-nav h2 {
  color: var(--dark-text);
}

.nav-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: var(--space-6);
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 var(--space-4);
}

.nav-card {
  background: var(--white);
  border-radius: var(--radius-xl);
  padding: var(--space-8);
  text-decoration: none;
  color: inherit;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--gray-200);
  transition: all var(--transition-normal);
  position: relative;
  overflow: hidden;
}

[data-theme="dark"] .nav-card {
  background: var(--dark-surface);
  border-color: var(--dark-surface-light);
}

[data-theme="dark"] .nav-card:hover {
  background: var(--dark-surface-light);
  border-color: var(--accent-color);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4), 0 0 20px rgba(245, 158, 11, 0.2);
}

/* Quick Access text hover colors - dark mode */
[data-theme="dark"] .nav-card:hover h3 {
  color: var(--primary-color);
}

[data-theme="dark"] .nav-card .card-icon {
  background: transparent;
  border-color: var(--primary-color) !important;
  color: var(--primary-color) !important;
}

[data-theme="dark"] .nav-card:hover .card-icon {
  background: var(--primary-color);
  color: var(--dark-bg) !important; /* Override the previous !important rule */
}

.nav-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-xl);
  border-color: var(--primary-color);
}

/* Quick Access text hover colors - light mode */
.nav-card:hover h3 {
  color: var(--primary-color);
}

.nav-card .card-icon {
  width: 60px;
  height: 60px;
  background: transparent;
  border-radius: var(--radius-xl);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: var(--space-4);
  font-size: var(--font-size-2xl);
  color: var(--primary-color);
  transition: all var(--transition-normal);
  border: 2px solid var(--primary-color);
}

.nav-card:hover .card-icon {
  background: var(--primary-color);
  color: var(--white);
}

.nav-card h3 {
  font-size: var(--font-size-xl);
  font-weight: 600;
  margin-bottom: var(--space-2);
  color: var(--gray-800);
}

[data-theme="dark"] .nav-card h3 {
  color: var(--dark-text);
}

.nav-card p {
  color: var(--gray-600);
  line-height: 1.6;
  margin-bottom: var(--space-4);
}

[data-theme="dark"] .nav-card p {
  color: var(--dark-text-muted);
}

.card-arrow {
  position: absolute;
  top: var(--space-6);
  right: var(--space-6);
  font-size: var(--font-size-lg);
  color: var(--primary-color);
  transition: transform var(--transition-fast);
}

.nav-card:hover .card-arrow {
  transform: translateX(4px);
}

/* ========================================
   POLICY SECTIONS
   ======================================== */

.policy-section {
  padding: var(--space-20) 0;
  background: var(--white);
  border-bottom: 2px solid var(--primary-color); /* Light mode divider between sections */
}

[data-theme="dark"] .policy-section {
  background: var(--dark-bg);
  border-bottom: 1px solid var(--primary-color);
  box-shadow: 0 0 20px rgba(245, 158, 11, 0.1);
}

.policy-section:nth-child(even) {
  background: var(--gray-50);
  position: relative;
}

.policy-section:nth-child(even)::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--accent-color), var(--primary-color), var(--accent-color));
}

[data-theme="dark"] .policy-section:nth-child(even) {
  background: var(--dark-surface);
  border-bottom: 1px solid var(--primary-color);
  box-shadow: 0 0 25px rgba(245, 158, 11, 0.15);
}

[data-theme="dark"] .policy-section:nth-child(even)::before {
  background: linear-gradient(90deg, var(--accent-color), var(--primary-color), var(--accent-color));
}

.section-header {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  margin-bottom: var(--space-6);
  padding-bottom: var(--space-2);
  border-bottom: 1px solid var(--gray-200);
  background: var(--white);
  padding: var(--space-3);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-sm);
  position: relative;
  overflow: hidden;
  transition: all var(--transition-normal);
}

.section-header::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--accent-color), var(--primary-color), var(--accent-color));
}

.section-header:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 30px rgba(245, 158, 11, 0.1);
}

[data-theme="dark"] .section-header {
  border-bottom-color: var(--primary-color);
  background: linear-gradient(135deg, var(--dark-surface), var(--dark-bg));
  box-shadow: 0 8px 25px rgba(245, 158, 11, 0.2);
  border: 1px solid var(--primary-color);
}

[data-theme="dark"] .section-header:hover {
  background: linear-gradient(135deg, var(--dark-surface-light), var(--dark-surface));
  box-shadow: 0 15px 35px rgba(245, 158, 11, 0.3);
  border-color: var(--primary-light);
}

.section-icon {
  width: 48px;
  height: 48px;
  background: transparent;
  border-radius: var(--radius-2xl);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: var(--font-size-xl);
  color: var(--primary-color);
  box-shadow: var(--shadow-sm);
  transition: all var(--transition-normal);
  border: 2px solid var(--primary-color);
}

.section-header:hover .section-icon {
  background: var(--primary-color);
  color: var(--white);
}

[data-theme="dark"] .section-icon {
  color: var(--primary-color) !important;
  border-color: var(--primary-color) !important;
}

[data-theme="dark"] .section-header:hover .section-icon {
  background: var(--primary-color);
  color: var(--dark-bg) !important; /* Override the previous !important rule */
}

.section-header h2 {
  font-size: var(--font-size-2xl);
  font-weight: 700;
  color: var(--gray-800);
  margin: 0;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

[data-theme="dark"] .section-header h2 {
  color: var(--dark-text);
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.policy-content {
  max-width: 1000px;
  margin: 0 auto;
  padding: 0 var(--space-4);
}

.section-spacer {
  height: var(--space-8);
}

@media (min-width: 1024px) {
  .section-spacer {
    height: var(--space-12);
  }
}

/* Ensure spacing even without spacer element */
.policy-intro + .policy-section-content {
  margin-top: var(--space-8);
}

@media (min-width: 1024px) {
  .policy-intro + .policy-section-content {
    margin-top: var(--space-12);
  }
}

/* Desktop styling for the introductory notice */
.policy-intro {
  background: var(--gray-50);
  border-left: 4px solid var(--primary-color);
  border-radius: var(--radius-lg);
  padding: var(--space-6) var(--space-8);
  margin-bottom: var(--space-8);
  box-shadow: var(--shadow-md);
}

.policy-intro p {
  font-size: var(--font-size-lg);
  line-height: 1.8;
  color: var(--gray-700);
  margin: 0;
  text-align: left; /* Default for mobile */
}

@media (min-width: 1024px) {
  .policy-intro p {
    text-align: justify !important;
    text-justify: inter-word;
    hyphens: auto;
    -webkit-hyphens: auto;
    -ms-hyphens: auto;
  }
}

[data-theme="dark"] .policy-intro {
  background: var(--dark-surface);
  border-left-color: var(--primary-color);
  box-shadow: 0 8px 25px rgba(245, 158, 11, 0.15);
}

[data-theme="dark"] .policy-intro p {
  color: var(--dark-text-muted);
}

/* Extra breathing room below intro on desktops */
@media (min-width: 1024px) {
  .policy-intro {
    margin-bottom: var(--space-12);
  }
}

/* Enhanced desktop card styling for the intro notice */
@media (min-width: 1024px) {
  .policy-intro {
    background: var(--gray-50);
    border-left: 4px solid var(--primary-color);
    border-radius: var(--radius-lg);
    padding: var(--space-8) var(--space-10);
    box-shadow: var(--shadow-md);
  }

  .policy-intro p {
    font-size: var(--font-size-xl);
    line-height: 1.85;
  }
}

@media (min-width: 1024px) {
  [data-theme="dark"] .policy-intro {
    background: var(--dark-surface);
    border-left: 4px solid var(--primary-color);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.25);
  }
}

.policy-section-content {
  background: var(--white);
  border-radius: var(--radius-xl);
  padding: var(--space-8);
  margin-bottom: var(--space-6);
  box-shadow: var(--shadow-md);
  border-left: 4px solid var(--primary-color);
  transition: all var(--transition-normal);
  position: relative;
  overflow: hidden;
}

.policy-section-content::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 4px;
  height: 100%;
  background: linear-gradient(180deg, var(--accent-color), var(--primary-color), var(--accent-color));
  opacity: 0;
  transition: opacity var(--transition-normal);
}

.policy-section-content:hover {
  transform: translateX(8px);
  box-shadow: var(--shadow-lg);
  border-left-color: var(--accent-color);
}

.policy-section-content:hover::before {
  opacity: 1;
}

[data-theme="dark"] .policy-section-content {
  background: linear-gradient(135deg, var(--dark-surface), var(--dark-bg));
  border-left-color: var(--primary-color);
  border: 1px solid var(--primary-color);
  box-shadow: 0 8px 25px rgba(245, 158, 11, 0.15);
}

[data-theme="dark"] .policy-section-content:hover {
  background: linear-gradient(135deg, var(--dark-surface-light), var(--dark-surface));
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.3), 0 0 25px rgba(245, 158, 11, 0.2);
  border-color: var(--primary-light);
}

.policy-section-content:hover {
  transform: translateX(8px);
  box-shadow: var(--shadow-lg);
}

.policy-section-content h3 {
  font-size: var(--font-size-xl);
  font-weight: 600;
  color: var(--primary-color);
  margin-bottom: var(--space-4);
  display: flex;
  align-items: center;
  gap: var(--space-2);
}

[data-theme="dark"] .policy-section-content h3 {
  color: var(--primary-color);
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.5);
}

.policy-section-content h3::before {
  content: '▶';
  color: var(--primary-color);
  font-size: var(--font-size-sm);
}

.policy-section-content h4 {
  font-size: var(--font-size-lg);
  font-weight: 600;
  color: var(--primary-color);
  margin: var(--space-6) 0 var(--space-4) 0;
}

[data-theme="dark"] .policy-section-content h4 {
  color: var(--primary-light);
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.5);
}

.policy-section-content h5 {
  font-size: var(--font-size-base);
  font-weight: 600;
  color: var(--primary-color);
  margin: var(--space-4) 0 var(--space-2) 0;
}

/* Ensure h3 and h2 in policy content also use brand blue in light mode */
.policy-section-content h3 {
  color: var(--primary-color);
}

.policy-section-content h2 {
  color: var(--primary-color);
}

[data-theme="dark"] .policy-section-content h5 {
  color: var(--primary-light);
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.5);
}

.policy-section-content p {
  color: var(--gray-600);
  line-height: 1.7;
  margin-bottom: var(--space-4);
  text-align: left; /* Default for mobile */
}

@media (min-width: 1024px) {
  .policy-section-content p {
    text-align: justify !important;
    text-justify: inter-word;
    hyphens: auto;
    -webkit-hyphens: auto;
    -ms-hyphens: auto;
  }
}

[data-theme="dark"] .policy-section-content p {
  color: var(--dark-text-muted);
}


.policy-section-content ul {
  margin: var(--space-4) 0;
  padding-left: var(--space-8);
}

.policy-section-content li {
  color: var(--gray-600);
  line-height: 1.6;
  margin-bottom: var(--space-2);
}

[data-theme="dark"] .policy-section-content li {
  color: var(--dark-text-muted);
}

.highlight-text {
  background: linear-gradient(135deg, #fef3c7, #fde68a);
  padding: var(--space-6);
  border-radius: var(--radius-lg);
  border-left: 4px solid var(--accent-color);
  font-weight: 600;
  color: var(--gray-800);
  margin: var(--space-6) 0;
}

[data-theme="dark"] .highlight-text {
  background: linear-gradient(135deg, #451a03, #78350f);
  color: var(--dark-text);
}

.policy-section-content a {
  color: var(--primary-color);
  text-decoration: none;
  font-weight: 500;
  transition: color var(--transition-fast);
}

.policy-section-content a:hover {
  color: var(--primary-dark);
  text-decoration: underline;
}

[data-theme="dark"] .policy-section-content a {
  color: var(--primary-light);
}

/* ========================================
   CONTACT SECTION
   ======================================== */

.contact-section {
  padding: var(--space-20) 0;
  background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
  color: var(--white);
  text-align: center;
  position: relative;
}

.contact-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="contact-pattern" width="20" height="20" patternUnits="userSpaceOnUse"><circle cx="10" cy="10" r="1" fill="white" opacity="0.1"/></pattern></defs><rect width="100" height="100" fill="url(%23contact-pattern)"/></svg>');
  opacity: 0.3;
}

[data-theme="dark"] .contact-section {
  background: linear-gradient(135deg, var(--primary-dark), var(--dark-bg), var(--primary-color));
  box-shadow: inset 0 0 100px rgba(245, 158, 11, 0.2);
}

.contact-content h2 {
  font-size: var(--font-size-4xl);
  font-weight: 700;
  margin-bottom: var(--space-4);
}

.contact-content p {
  font-size: var(--font-size-xl);
  margin-bottom: var(--space-8);
  opacity: 0.9;
}

.contact-methods {
  display: flex;
  justify-content: center;
  gap: var(--space-8);
  flex-wrap: wrap;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 var(--space-4);
}

.contact-method {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  background: rgba(255, 255, 255, 0.1);
  padding: var(--space-4) var(--space-6);
  border-radius: var(--radius-full);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  text-decoration: none;
  color: var(--white);
  transition: all var(--transition-normal);
  position: relative;
  overflow: hidden;
}

.contact-method::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(245, 158, 11, 0.2), transparent);
  transition: left var(--transition-slow);
}

.contact-method:hover::before {
  left: 100%;
}

.contact-method:hover {
  background: rgba(255, 255, 255, 0.2);
  transform: translateY(-2px);
}

.contact-method i {
  font-size: var(--font-size-xl);
  color: var(--primary-color);
  transition: all var(--transition-normal);
}

.contact-method:hover i {
  color: var(--white);
}

[data-theme="dark"] .contact-method i {
  color: var(--primary-color) !important;
}

/* ========================================
   FOOTER
   ======================================== */

.footer {
  background: var(--gray-800);
  color: var(--white);
  padding: var(--space-16) 0 var(--space-8);
  width: 100%;
  overflow-x: hidden;
  position: relative;
}

.footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--primary-color), var(--accent-color), var(--primary-color));
}

[data-theme="dark"] .footer {
  background: var(--dark-bg);
}

[data-theme="dark"] .footer::before {
  background: linear-gradient(90deg, var(--primary-color), var(--accent-color), var(--primary-color));
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: var(--space-8);
  margin-bottom: var(--space-8);
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
  padding: 0 var(--space-4);
}

.footer-section {
  text-align: center;
  background: rgba(255, 255, 255, 0.05);
  padding: var(--space-6);
  border-radius: var(--radius-lg);
  border: 1px solid rgba(255, 255, 255, 0.1);
  transition: all var(--transition-normal);
}

.footer-section:hover {
  background: rgba(255, 255, 255, 0.1);
  transform: translateY(-2px);
}

[data-theme="dark"] .footer-section {
  background: rgba(245, 158, 11, 0.1);
  border-color: rgba(245, 158, 11, 0.2);
}

[data-theme="dark"] .footer-section:hover {
  background: rgba(245, 158, 11, 0.2);
}

.footer-section h3,
.footer-section h4 {
  margin-bottom: var(--space-4);
  color: var(--white);
  font-weight: 600;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
}

[data-theme="dark"] .footer-section h3,
[data-theme="dark"] .footer-section h4 {
  color: var(--primary-color);
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.5);
}

.footer-section p {
  color: var(--gray-300);
  line-height: 1.6;
  margin-bottom: var(--space-2);
}

[data-theme="dark"] .footer-section p {
  color: var(--dark-text-muted);
}

.footer-section ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-section ul li {
  margin-bottom: var(--space-2);
}

.footer-section a {
  color: var(--gray-300);
  text-decoration: none;
  transition: all var(--transition-fast);
  display: block;
  padding: var(--space-1) 0;
  border-radius: var(--radius-sm);
}

.footer-section a:hover {
  color: var(--primary-light);
  background: rgba(255, 255, 255, 0.1);
  padding-left: var(--space-2);
}

[data-theme="dark"] .footer-section a {
  color: var(--dark-text-muted);
}

[data-theme="dark"] .footer-section a:hover {
  color: var(--accent-color);
  background: rgba(245, 158, 11, 0.2);
}

.footer-bottom {
  text-align: center;
  padding-top: var(--space-8);
  border-top: 1px solid var(--gray-700);
  color: var(--gray-400);
  background: rgba(0, 0, 0, 0.2);
  margin-top: var(--space-8);
  padding: var(--space-6);
  border-radius: var(--radius-lg);
}

[data-theme="dark"] .footer-bottom {
  border-top-color: var(--primary-color);
  color: var(--dark-text-muted);
  background: rgba(245, 158, 11, 0.1);
  border: 1px solid rgba(245, 158, 11, 0.2);
}

/* ========================================
   BACK TO TOP BUTTON
   ======================================== */

.back-to-top {
  position: fixed;
  bottom: var(--space-8);
  right: var(--space-8);
  width: 56px;
  height: 56px;
  background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
  color: var(--white);
  border: none;
  border-radius: var(--radius-full);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: var(--font-size-lg);
  box-shadow: var(--shadow-lg);
  transition: all var(--transition-normal);
  z-index: var(--z-fixed);
  opacity: 1;
  visibility: visible;
}

.back-to-top:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-xl);
}

.back-to-top:active {
  transform: translateY(-2px);
}

/* ========================================
   RESPONSIVE DESIGN
   ======================================== */

/* Mobile Navigation */
@media (max-width: 768px) {
  /* Show mobile logo, hide desktop logo on mobile */
  .nav-logo-desktop {
    display: none;
  }
  
  .nav-logo-mobile {
    display: block;
    height: 48px;
    width: 48px;
  }

  .hero-container {
    grid-template-columns: 1fr;
    grid-template-areas:
      "content"
      "visual";
    gap: var(--space-8);
    padding: 0 var(--space-4);
  }

  .hero-content {
    justify-self: center;
    text-align: center;
  }

  .hero-visual { 
    height: 400px; 
    padding: 0 var(--space-2);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 20px;
  }
  
  /* Single column layout for mobile cards */
  .floating-cards { 
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 20px !important;
    width: 100% !important;
    height: 100% !important;
  }
  
  .card { 
    width: 200px !important; 
    height: 80px !important; 
    position: relative !important;
    top: auto !important;
    left: auto !important;
    right: auto !important;
    transform: none !important;
    font-size: var(--font-size-sm) !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
  }
  
  .privacy-card { 
    animation: none !important;
  }
  .refund-card { 
    animation: none !important;
  }
  .terms-card { 
    animation: none !important;
    display: flex !important;
    visibility: visible !important;
    opacity: 1 !important;
  }
  
  /* Enhanced mobile card styling */
  .card {
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
    border: 2px solid rgba(255, 255, 255, 0.3);
  }
  
  .card:hover {
    transform: scale(1.05) !important;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.25);
  }
  .hamburger {
    display: flex;
  }
  
  .nav-menu {
    position: fixed;
    left: -100%;
    top: 70px;
    flex-direction: column;
    background: var(--white);
    width: 100%;
    text-align: center;
    transition: left var(--transition-normal);
    box-shadow: var(--shadow-lg);
    padding: var(--space-6) 0;
    z-index: var(--z-dropdown);
    overflow-x: hidden;
    max-width: 100vw;
    margin: 0;
  }
  
  [data-theme="dark"] .nav-menu {
    background: var(--dark-surface);
  }
  
  .nav-menu.active {
    left: 0;
  }
  
  .nav-link {
    padding: var(--space-4) var(--space-6);
    display: block;
    border-bottom: none;
    font-size: var(--font-size-lg);
    width: 100%;
    text-align: center;
    border-radius: var(--radius-md);
    margin: var(--space-1) 0;
    transition: all var(--transition-fast);
    justify-content: center;
    align-items: center;
  }
  
  [data-theme="dark"] .nav-link {
    border-bottom-color: var(--dark-surface-light);
  }
  
  .nav-link::after {
    display: none;
  }
  
  .nav-link:hover {
    background: var(--gray-100);
    color: var(--primary-color);
    transform: translateX(4px);
  }
  
  [data-theme="dark"] .nav-link:hover {
    background: var(--dark-surface-light);
    color: var(--primary-color);
  }
  
  /* Theme Toggle Positioning */
  .theme-toggle {
    position: relative;
    width: 40px;
    height: 40px;
    font-size: var(--font-size-sm);
    margin-left: var(--space-2);
  }
  
  /* Hero Section */
  .hero {
    padding: 100px 0 var(--space-16);
  }
  
  .hero-container {
    grid-template-columns: 1fr;
    gap: var(--space-6);
    text-align: center;
    padding: 0 var(--space-2);
  }
  
  .hero-content h1 {
    font-size: var(--font-size-4xl);
    white-space: normal;
    line-height: 1.2;
    margin-bottom: var(--space-3);
  }
  
  .hero-content p {
    font-size: var(--font-size-lg);
    white-space: normal;
    line-height: 1.4;
    margin-bottom: var(--space-6);
  }
  
  /* Removed unused hero-stats mobile styles */
  
  /* Hero Visual Mobile */
  .hero-visual {
    height: 260px;
    margin-top: var(--space-4);
  }
  
  .card { width: 140px; height: 96px; }
  
  .card i {
    font-size: var(--font-size-2xl);
  }
  
  .card h3 {
    font-size: var(--font-size-base);
  }
  
  .privacy-card { top: 8%; left: 10%; }
  .refund-card  { top: 8%; right: 10%; }
  .terms-card   { top: 64%; left: 50%; transform: translateX(-50%); }
  
  /* Search Section */
  .search-section {
    padding: var(--space-16) 0;
  }
  
  .search-box {
    margin: 0 var(--space-4);
    flex-direction: column;
    border-radius: var(--radius-xl);
    gap: 0;
  }
  
  .search-box i {
    display: none;
  }
  
  .search-box input {
    padding: var(--space-4);
    text-align: center;
  }
  
  .search-box button {
    border-radius: 0 0 var(--radius-xl) var(--radius-xl);
  }
  
  /* Quick Navigation */
  .quick-nav {
    padding: var(--space-16) 0;
  }
  
  .quick-nav h2 {
    font-size: var(--font-size-3xl);
    margin-bottom: var(--space-8);
  }
  
  .nav-cards {
    grid-template-columns: 1fr;
    gap: var(--space-4);
  }
  
  .nav-card {
    padding: var(--space-6);
  }
  
  /* Policy Sections */
  .policy-section {
    padding: var(--space-16) 0;
  }
  
  .section-header {
    flex-direction: column;
    text-align: center;
    gap: var(--space-4);
    margin-bottom: var(--space-8);
  }
  
  .section-icon {
    width: 60px;
    height: 60px;
    font-size: var(--font-size-2xl);
  }
  
  .section-title {
    font-size: var(--font-size-3xl);
  }
  
  .policy-section-content {
    padding: var(--space-6);
    margin-bottom: var(--space-4);
  }
  
  /* Mobile Text Justification */
  .hero-content p {
    text-align: center;
  }
  
  /* Mobile Text Readability */
  .hero-content h1 {
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.6);
  }
  
  .hero-content p {
    text-shadow: 0 1px 4px rgba(0, 0, 0, 0.4);
  }
  
  .stat span {
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.5);
  }
  
  .card h3 {
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.6);
  }
  
  .contact-content p {
    text-align: center;
  }
  
  .footer-section p {
    text-align: center;
  }
  
  .nav-card p {
    text-align: left;
  }
  
  .policy-section-content h3 {
    font-size: var(--font-size-lg);
  }
  
  .policy-section-content h4 {
    font-size: var(--font-size-base);
  }
  
  .policy-section-content h5 {
    font-size: var(--font-size-sm);
  }
  
  .policy-section-content p {
    font-size: var(--font-size-sm);
    text-align: justify;
    text-justify: inter-word;
    hyphens: auto;
    -webkit-hyphens: auto;
    -ms-hyphens: auto;
  }
  
  .policy-section-content h3,
  .policy-section-content h4,
  .policy-section-content h5 {
    text-align: center;
  }
  
  .policy-section-content ul {
    text-align: left;
  }
  
  .policy-section-content li {
    text-align: justify;
    text-justify: inter-word;
  }
  
  /* Policy Intro Section Mobile */
  .policy-intro {
    text-align: center;
    margin-bottom: var(--space-6);
    padding: var(--space-4);
    background: var(--gray-50);
    border-radius: var(--radius-lg);
    border-left: 4px solid var(--primary-color);
  }
  
  [data-theme="dark"] .policy-intro {
    background: var(--dark-surface);
  }
  
  .policy-intro p {
    text-align: justify;
    text-justify: inter-word;
    hyphens: auto;
    -webkit-hyphens: auto;
    -ms-hyphens: auto;
    font-size: var(--font-size-sm);
    line-height: 1.6;
    margin: 0;
  }
  
  /* Contact Section */
  .contact-section {
    padding: var(--space-16) 0;
  }
  
  .contact-content h2 {
    font-size: var(--font-size-3xl);
  }
  
  .contact-content p {
    font-size: var(--font-size-lg);
  }
  
  .contact-methods {
    flex-direction: column;
    align-items: center;
    gap: var(--space-4);
  }
  
  .contact-method {
    width: 100%;
    max-width: 300px;
    justify-content: center;
  }
  
  /* Footer */
  .footer {
    padding: var(--space-12) 0 var(--space-6);
  }
  
  .footer-content {
    grid-template-columns: 1fr;
    gap: var(--space-6);
  }
  
  /* Back to Top */
  .back-to-top {
    bottom: var(--space-6);
    right: var(--space-6);
    width: 48px;
    height: 48px;
    font-size: var(--font-size-base);
  }
}

/* Mobile: Static cards, no animations - Single column layout */
@media (max-width: 768px) {
  /* Ensure single column flex layout */
  .floating-cards {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 16px !important;
    width: 100% !important;
    height: auto !important;
    max-width: 300px !important;
    margin: 0 auto !important;
  }

  .floating-cards .card {
    position: relative !important;
    top: auto !important;
    left: auto !important;
    right: auto !important;
    bottom: auto !important;
    width: 100% !important;
    height: 80px !important;
    min-width: 0 !important;
    animation: none !important;
  }

  /* Remove all animations on mobile */
  .floating-cards .privacy-card,
  .floating-cards .refund-card,
  .floating-cards .terms-card {
    animation: none !important;
    display: flex !important;
    visibility: visible !important;
    opacity: 1 !important;
  }
}

/* Tablet layout: 769px–1023px - Specific range to ensure 3-column layout */
@media (min-width: 769px) and (max-width: 1023px) {
  /* Fix hero container layout for proper centering */
  .hero-container {
    grid-template-columns: 1fr !important;
    grid-template-areas:
      "content"
      "visual" !important;
    justify-items: center !important;
    text-align: center !important;
    gap: var(--space-8) !important;
    padding: 0 var(--space-4) !important;
  }

  .hero-content h1,
  .hero-content p {
    white-space: normal !important;
  }

  /* Use a 3-column grid for tablets */
  .floating-cards {
    height: auto !important;
    display: grid !important;
    grid-template-columns: repeat(3, 1fr) !important;
    gap: 1rem !important;
    justify-items: stretch !important;
    align-items: stretch !important;
    width: 100% !important;
    max-width: calc(100vw - 2rem) !important;
    margin: var(--space-4) auto 0 !important;
    flex-direction: unset !important;
    place-items: unset !important;
    padding: 0 1rem !important;
  }
}

/* Narrow tablets - tighter spacing for better fit */
@media (min-width: 769px) and (max-width: 900px) {
  .floating-cards {
    gap: 0.75rem !important;
    padding: 0 0.5rem !important;
  }
  
  .floating-cards .card {
    position: relative !important;
    width: 100% !important;
    height: auto !important;
    min-width: 0 !important;
    min-height: 0 !important;
    padding: var(--space-4) var(--space-3) !important;
    transform: none !important;
    animation: none !important;
  }

  .floating-cards .card i {
    font-size: var(--font-size-lg) !important;
    max-width: 100% !important;
    overflow: hidden !important;
  }

  .privacy-card,
  .refund-card,
  .terms-card {
    position: relative !important;
    top: auto !important;
    left: auto !important;
    right: auto !important;
    bottom: auto !important;
    transform: none !important;
    width: 100% !important;
    height: auto !important;
    min-width: 0 !important;
    min-height: 0 !important;
    animation: none !important;
  }
}

/* Medium tablets - balanced spacing */
@media (min-width: 901px) and (max-width: 1023px) {
  .floating-cards {
    gap: 1rem !important;
    padding: 0 1rem !important;
  }
  .floating-cards .card {
    position: relative !important;
    width: 100% !important;
    height: auto !important;
    min-width: 0 !important;
    min-height: 0 !important;
    padding: var(--space-8) var(--space-6) !important;
    transform: none !important;
    animation: none !important;
  }

  .floating-cards .card i {
    font-size: var(--font-size-xl) !important;
    max-width: 100% !important;
    overflow: hidden !important;
  }

  /* Reset absolute positions used on phones */
  .privacy-card,
  .refund-card,
  .terms-card {
    position: relative !important;
    top: auto !important;
    left: auto !important;
    right: auto !important;
    bottom: auto !important;
    transform: none !important;
    width: 100% !important;
    height: auto !important;
    min-width: 0 !important;
    min-height: 0 !important;
    animation: none !important;
  }
}

/* Tablet layout: 1024px–1199px - More specific to override mobile rules */
@media (min-width: 1024px) and (max-width: 1199px) {
  /* Show mobile logo on tablets too for better space management */
  .nav-logo-desktop {
    display: none;
  }
  
  .nav-logo-mobile {
    display: block;
    height: 48px;
    width: 48px;
  }

  .hero-container {
    grid-template-columns: 1fr !important;
    grid-template-areas:
      "content"
      "visual" !important;
    justify-items: center !important;
    text-align: center !important;
    gap: var(--space-8) !important;
    padding: 0 var(--space-4) !important;
  }

  .hero-content h1,
  .hero-content p {
    white-space: normal;
  }

  .hero-visual {
    height: auto;
    padding: 0 var(--space-3);
  }

  /* Responsive floating cards for larger tablets */
  .floating-cards {
    display: grid !important;
    grid-template-columns: repeat(3, 1fr) !important;
    gap: 1rem !important;
    justify-items: stretch !important;
    align-items: stretch !important;
    width: 100% !important;
    max-width: min(1000px, calc(100vw - 2rem)) !important;
    margin: var(--space-4) auto 0 !important;
    padding: 0 1rem !important;
  }

  .floating-cards .card i {
    font-size: var(--font-size-xl) !important;
    max-width: 100% !important;
    overflow: hidden !important;
    display: block !important;
    visibility: visible !important;
  }

  .floating-cards .card {
    position: relative !important;
    width: 100% !important;
    height: auto !important;
    min-width: 0 !important;
    min-height: 0 !important;
    padding: var(--space-6) var(--space-4) !important;
    transform: none !important;
    animation: none !important;
  }

  .privacy-card,
  .refund-card,
  .terms-card {
    position: relative !important;
    top: auto !important;
    left: auto !important;
    right: auto !important;
    bottom: auto !important;
    transform: none !important;
    width: 100% !important;
    height: auto !important;
    min-width: 0 !important;
    min-height: 0 !important;
    animation: none !important;
  }

  /* Tablet navigation: show mobile menu button */
  #mobile-menu-toggle {
    display: flex !important;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border-radius: var(--radius-full);
    border: 2px solid var(--gray-200);
    background: var(--white);
    color: var(--primary-color);
    cursor: pointer;
    margin-left: var(--space-2);
  }

  [data-theme="dark"] #mobile-menu-toggle {
    background: var(--dark-surface);
    color: var(--primary-color);
    border-color: var(--primary-color);
  }

  /* Hide horizontal desktop nav; use slide-down list */
  .nav-menu {
    display: none;
    position: fixed;
    top: 70px;
    left: 0;
    right: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(10px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
    padding: var(--space-6) 0;
    z-index: var(--z-dropdown);
    border-top: 1px solid var(--gray-200);
    border-bottom: 3px solid var(--primary-color);
    margin: 0;
  }

  [data-theme="dark"] .nav-menu {
    background: rgba(15, 23, 42, 0.98);
    border-top-color: var(--dark-surface-light);
    border-bottom-color: var(--primary-color);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3), 0 0 15px rgba(245, 158, 11, 0.2);
  }

  .nav-menu.show { display: block; }

  .nav-menu li {
    display: block;
    margin: 0;
    text-align: center;
    border-bottom: 1px solid var(--gray-200);
    padding: 0;
  }

  [data-theme="dark"] .nav-menu li {
    border-bottom: 1px solid var(--dark-surface-light);
  }

  .nav-menu li:first-child { border-top: 1px solid var(--gray-200); }
  [data-theme="dark"] .nav-menu li:first-child { border-top: 1px solid var(--dark-surface-light); }

  .nav-menu li a {
    display: block;
    padding: 15px;
    font-size: 16px;
    font-weight: 500;
    color: var(--gray-700);
    transition: all 0.3s ease;
    text-align: center;
    width: 100%;
  }

  [data-theme="dark"] .nav-menu li a { color: var(--dark-text-muted); }

  .nav-menu li a:hover {
    background: rgba(30, 58, 138, 0.05);
    color: var(--primary-color);
  }

  [data-theme="dark"] .nav-menu li a:hover {
    background: rgba(245, 158, 11, 0.1);
    color: var(--primary-color);
  }
}

/* Show menu button on all devices below desktop; keep it beside theme toggle */
@media (max-width: 1199px) {
  #mobile-menu-toggle {
    display: flex !important;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border-radius: var(--radius-full);
    border: 2px solid var(--gray-200);
    background: var(--white);
    color: var(--primary-color);
    cursor: pointer;
    margin-left: var(--space-2);
  }

  [data-theme="dark"] #mobile-menu-toggle {
    background: var(--dark-surface);
    color: var(--primary-color);
    border-color: var(--primary-color);
  }

  /* Ensure nav list doesn't push buttons; menu opens as overlay */
  .nav-menu { display: none; }
  .nav-menu.show { display: block; }

  .theme-toggle { margin-left: var(--space-2); }
}

/* Hide menu button on desktop/laptop */
@media (min-width: 1200px) {
  #mobile-menu-toggle { display: none !important; }
}

/* Small Mobile Devices */
@media (max-width: 480px) {
  .container {
    padding: 0 var(--space-3);
  }
  
  /* Use even smaller logo for very small screens */
  .nav-logo-mobile {
    height: 44px;
    width: 44px;
  }
  
  /* Add padding to hero on very small screens */
  .hero {
    padding-left: var(--space-4);
    padding-right: var(--space-4);
  }
  
  .hero-container {
    padding-left: var(--space-4);
    padding-right: var(--space-4);
  }
  
  .nav-container {
    padding: 0 var(--space-3);
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: space-between;
  }
  
  .nav-logo {
    flex: 1;
  }
  
  .nav-menu {
    position: fixed;
    left: -100%;
    top: 60px;
    flex-direction: column;
    background: var(--white);
    width: 100%;
    text-align: center;
    transition: left var(--transition-normal);
    box-shadow: var(--shadow-lg);
    padding: var(--space-6) 0;
    z-index: var(--z-dropdown);
    overflow-x: hidden;
    max-width: 100vw;
    display: flex;
    margin: 0;
  }
  
  .hamburger {
    order: 2;
  }
  
  .theme-toggle {
    order: 3;
    margin-left: var(--space-2);
  }
  
  .nav-logo-img {
    height: 40px;
  }
  
  .theme-toggle {
    width: 40px;
    height: 40px;
    font-size: var(--font-size-sm);
  }
  
  .hero {
    padding: 60px 0 var(--space-8);
  }
  
  .hero-content h1 {
    font-size: var(--font-size-3xl);
    white-space: normal;
    line-height: 1.2;
    margin-bottom: var(--space-2);
  }
  
  .hero-content p {
    font-size: var(--font-size-base);
    white-space: normal;
    line-height: 1.4;
    margin-bottom: var(--space-4);
  }
  
  /* Removed unused hero-stats small mobile styles */
  
  /* Hero Visual Small Mobile */
  .hero-visual {
    height: 260px;
    margin-top: var(--space-6);
    padding: 0 var(--space-2);
  }
  
  .card {
    width: 120px;
    height: 80px;
  }
  
  .card i {
    font-size: var(--font-size-xl);
  }
  
  .card h3 {
    font-size: var(--font-size-sm);
  }
  
  .privacy-card { top: 12%; left: 12%; }
  .refund-card  { top: 12%; right: 12%; }
  .terms-card   { top: 76%; left: 50%; transform: translateX(-50%); }
  
  /* Removed unused stat small mobile styles */
  
  .search-section {
    padding: var(--space-12) 0;
  }
  
  .quick-nav {
    padding: var(--space-12) 0;
  }
  
  .quick-nav h2 {
    font-size: var(--font-size-2xl);
  }
  
  .nav-card {
    padding: var(--space-4);
  }
  
  .nav-card .card-icon {
    width: 48px;
    height: 48px;
    font-size: var(--font-size-xl);
  }
  
  .nav-card h3 {
    font-size: var(--font-size-lg);
  }
  
  .nav-card p {
    font-size: var(--font-size-sm);
  }
  
  .policy-section {
    padding: var(--space-12) 0;
  }
  
  .section-title {
    font-size: var(--font-size-2xl);
  }
  
  .policy-section-content {
    padding: var(--space-4);
  }
  
  .contact-section {
    padding: var(--space-12) 0;
  }
  
  .contact-content h2 {
    font-size: var(--font-size-2xl);
  }
  
  .contact-content p {
    font-size: var(--font-size-base);
  }
  
  .footer {
    padding: var(--space-8) 0 var(--space-4);
  }
  
  .back-to-top {
    bottom: var(--space-4);
    right: var(--space-4);
    width: 44px;
    height: 44px;
    font-size: var(--font-size-sm);
  }
}

/* Very narrow screens - ensure cards fit properly */
@media (max-width: 360px) {
  .floating-cards {
    max-width: 280px !important;
    gap: 8px !important;
    padding: 0 0.5rem !important;
  }
  
  .floating-cards .card {
    padding: var(--space-3) var(--space-2) !important;
    height: 60px !important;
  }

  .floating-cards .card i {
    font-size: var(--font-size-sm) !important;
    max-width: 100% !important;
    overflow: hidden !important;
  }
}

/* Extra Small Devices */
@media (max-width: 320px) {
  /* Use smallest logo for extra small screens */
  .nav-logo-mobile {
    height: 40px;
    width: 40px;
  }
  
  /* Adjust cards for very small mobile screens */
  .hero-visual {
    height: 350px;
    gap: 15px;
  }
  
  .card {
    width: 180px;
    height: 70px;
    font-size: var(--font-size-xs);
  }
  
  .floating-cards {
    gap: 15px;
  }

  .hero-content h1 {
    font-size: var(--font-size-2xl);
    white-space: normal;
    line-height: 1.2;
    margin-bottom: var(--space-2);
  }
  
  .hero-content p {
    font-size: var(--font-size-sm);
    white-space: normal;
    line-height: 1.4;
    margin-bottom: var(--space-3);
  }
  
  .section-title {
    font-size: var(--font-size-xl);
  }
  
  .quick-nav h2 {
    font-size: var(--font-size-xl);
  }
  
  .contact-content h2 {
    font-size: var(--font-size-xl);
  }
}

/* ========================================
   ACCESSIBILITY & PERFORMANCE
   ======================================== */

/* Focus styles */
*:focus {
  outline: 2px solid var(--primary-color);
  outline-offset: 2px;
}

/* Enhanced focus management for better accessibility */
*:focus-visible {
  outline: 3px solid var(--primary-color);
  outline-offset: 2px;
  border-radius: 4px;
}

/* Remove focus outline for mouse users but keep for keyboard users */
*:focus:not(:focus-visible) {
  outline: none;
}

/* Ensure interactive elements are focusable */
button, a, input, [role="button"], [role="menuitem"] {
  cursor: pointer;
}

button:disabled {
  cursor: not-allowed;
  opacity: 0.6;
}

/* Skip link */
.skip-link {
  position: absolute;
  top: -40px;
  left: 6px;
  background: var(--primary-color);
  color: var(--white);
  padding: 8px;
  text-decoration: none;
  border-radius: 4px;
  z-index: var(--z-tooltip);
}

.skip-link:focus {
  top: 6px;
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  /* Exception: keep hero card floating animations active if user wants visuals */
  .floating-cards .privacy-card,
  .floating-cards .refund-card,
  .floating-cards .terms-card {
    animation-duration: 6s !important;
    animation-iteration-count: infinite !important;
  }
}

/* High contrast mode */
@media (prefers-contrast: high) {
  .nav-card,
  .contact-method,
  .policy-section-content {
    border: 2px solid var(--gray-800);
  }
  
  [data-theme="dark"] .nav-card,
  [data-theme="dark"] .contact-method,
  [data-theme="dark"] .policy-section-content {
    border-color: var(--white);
  }
}

/* High Contrast Mode Support */
@media (prefers-contrast: high) {
  :root {
    --primary-color: #0000ff;
    --accent-color: #ff0000;
    --gray-600: #000000;
    --gray-700: #000000;
    --gray-800: #000000;
  }
  
  [data-theme="dark"] {
    --primary-color: #ffff00;
    --accent-color: #00ffff;
    --dark-text: #ffffff;
    --dark-text-muted: #ffffff;
  }
  
  .nav-link,
  .nav-card,
  .policy-section-content,
  .contact-method {
    border: 2px solid currentColor;
  }
  
  .btn,
  .theme-toggle,
  .search-box button {
    border: 2px solid currentColor;
  }
}

/* Print styles */
@media print {
  .navbar,
  .search-section,
  .quick-nav,
  .contact-section,
  .footer,
  .back-to-top,
  .theme-toggle {
    display: none;
  }
  
  .hero {
    background: var(--white);
    color: var(--gray-800);
  }
  
  .policy-section {
    background: var(--white);
    page-break-inside: avoid;
  }
  
  .policy-section-content {
    box-shadow: none;
    border: 1px solid var(--gray-300);
  }
}

/* ========================================
   THEMED SCROLLBAR (WebKit + Firefox)
   ======================================== */

/* Firefox */
html,
body {
  scrollbar-width: thin; /* auto | thin | none */
  scrollbar-color: var(--primary-color) var(--gray-100); /* thumb track */
}

/* Dark mode attribute can be on html or body */
html[data-theme="dark"],
body[data-theme="dark"] {
  scrollbar-color: var(--primary-color) var(--dark-surface);
}

/* WebKit (Chrome, Edge, Safari) */
/* WebKit (Chrome, Edge, Safari) - target root scrollbars */
html::-webkit-scrollbar,
body::-webkit-scrollbar {
  width: 10px;
  height: 10px;
}

html::-webkit-scrollbar-track,
body::-webkit-scrollbar-track {
  background: var(--gray-100);
}

html::-webkit-scrollbar-thumb,
body::-webkit-scrollbar-thumb {
  background: var(--primary-color);
  border-radius: 9999px;
  border: 2px solid var(--gray-100);
}

html::-webkit-scrollbar-thumb:hover,
body::-webkit-scrollbar-thumb:hover {
  background: var(--primary-dark);
}

/* Dark mode track */
html[data-theme="dark"]::-webkit-scrollbar-track,
body[data-theme="dark"]::-webkit-scrollbar-track {
  background: var(--dark-surface);
}

/* Dark mode thumb */
html[data-theme="dark"]::-webkit-scrollbar-thumb,
body[data-theme="dark"]::-webkit-scrollbar-thumb {
  background: var(--primary-color);
  border: 2px solid var(--dark-surface);
}

html[data-theme="dark"]::-webkit-scrollbar-thumb:hover,
body[data-theme="dark"]::-webkit-scrollbar-thumb:hover {
  background: var(--primary-light);
}

