/**
 * Ticksy Design System - 2025 Contemporary Minimal
 * Modern typography, refined grays, clean aesthetics
 */

/* Inter Font Loading */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@100..900&display=swap');

/* Premium Design System 2025 - Framer Quality */
:root {
  /* Sophisticated Gray Palette */
  --gray-0: #ffffff;
  --gray-25: #fcfcfd;
  --gray-50: #f8fafc;
  --gray-100: #f1f5f9;
  --gray-200: #e2e8f0;
  --gray-300: #cbd5e1;
  --gray-400: #94a3b8;
  --gray-500: #64748b;
  --gray-600: #475569;
  --gray-700: #334155;
  --gray-800: #1e293b;
  --gray-900: #0f172a;
  --gray-950: #020617;
  
  /* Framer-Quality Easing Functions */
  --ease-out-expo: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-in-out-circ: cubic-bezier(0.785, 0.135, 0.15, 0.86);
  --ease-spring: cubic-bezier(0.175, 0.885, 0.32, 1.275);
  --ease-bounce: cubic-bezier(0.68, -0.55, 0.265, 1.55);
  --ease-anticipate: cubic-bezier(0.22, 1, 0.36, 1);
  
  /* Advanced Timing System */
  --duration-micro: 150ms;
  --duration-standard: 300ms;
  --duration-complex: 500ms;
  --duration-stagger: 50ms;
  
  /* 2025 Contemporary Typography Stack */
  --font-sans: "Inter", "SF Pro Display", -apple-system, BlinkMacSystemFont, "Segoe UI", "Roboto", "Helvetica Neue", sans-serif;
  --font-mono: "SF Mono", "JetBrains Mono", "Cascadia Code", "Fira Code", monospace;
  
  /* Modern Spacing Scale */
  --space-xs: 0.25rem;
  --space-sm: 0.5rem;
  --space-md: 1rem;
  --space-lg: 1.5rem;
  --space-xl: 2rem;
  --space-2xl: 3rem;
  --space-3xl: 4rem;
  
  /* Modern Border Radius */
  --radius-sm: 0.125rem;
  --radius-md: 0.375rem;
  --radius-lg: 0.5rem;
  --radius-xl: 1rem;
  
  /* Premium Shadows */
  --shadow-xs: 0 1px 2px 0 rgb(0 0 0 / 0.05);
  --shadow-sm: 0 1px 3px 0 rgb(0 0 0 / 0.1), 0 1px 2px -1px rgb(0 0 0 / 0.1);
  --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);
  --shadow-2xl: 0 25px 50px -12px rgb(0 0 0 / 0.25);
  --shadow-inner: inset 0 2px 4px 0 rgb(0 0 0 / 0.05);
  
  /* Premium Gradients */
  --gradient-radial: radial-gradient(ellipse at center, var(--tw-gradient-stops));
  --gradient-conic: conic-gradient(from 180deg at 50% 50%, var(--tw-gradient-stops));
  
  /* Dark Mode Variables - Enhanced */
  --dark-bg: #0a0a0a;
  --dark-surface: #111111;
  --dark-card: #171717;
  --dark-card-elevated: #1f1f1f;
  --dark-border: #2a2a2a;
  --dark-border-light: #333333;
  --dark-text: #fafafa;
  --dark-text-secondary: #a1a1aa;
  --dark-text-muted: #71717a;
  
  /* Purposeful Accent Color */
  --accent-blue: #3b82f6;
  --accent-blue-dark: #2563eb;
  --accent-blue-light: #60a5fa;
}

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

html { 
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  font-feature-settings: "kern" 1, "liga" 1, "calt" 1, "ss01" 1;
  font-optical-sizing: auto;
}

body { 
  min-height: 100vh;
  background: 
    radial-gradient(ellipse at top, rgba(59, 130, 246, 0.02) 0%, transparent 50%),
    linear-gradient(135deg, var(--gray-25) 0%, var(--gray-50) 100%);
  color: var(--gray-900);
  font-weight: 400;
  letter-spacing: -0.01em;
  font-variant-numeric: tabular-nums;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

/* Dark Mode - Enhanced Premium Experience */
@media (prefers-color-scheme: dark) {
  body {
    background: 
      radial-gradient(ellipse at top, rgba(59, 130, 246, 0.03) 0%, transparent 40%),
      linear-gradient(135deg, var(--dark-bg) 0%, var(--dark-surface) 100%);
    color: var(--dark-text);
  }
  
  /* Text colors - Better hierarchy */
  .text-gray-900 { color: var(--dark-text) !important; }
  .text-gray-800 { color: #f1f5f9 !important; }
  .text-gray-700 { color: #e2e8f0 !important; }
  .text-gray-600 { color: var(--dark-text-secondary) !important; }
  .text-gray-500 { color: var(--dark-text-muted) !important; }
  .text-gray-400 { color: #64748b !important; }
  
  /* Background colors - Subtle gradients */
  .bg-white { 
    background: linear-gradient(145deg, var(--dark-card) 0%, var(--dark-card-elevated) 100%) !important;
    border: 1px solid var(--dark-border) !important;
  }
  .bg-gray-50 { 
    background: linear-gradient(145deg, var(--dark-surface) 0%, #141414 100%) !important;
  }
  .bg-gray-100 { background-color: #262626 !important; }
  
  /* Border colors */
  .border-gray-100 { border-color: var(--dark-border) !important; }
  .border-gray-200 { border-color: var(--dark-border-light) !important; }
  .border-gray-300 { border-color: #404040 !important; }
  
  /* Focus states */
  .focus:border-blue-500:focus { border-color: var(--accent-blue-light) !important; }
  .focus:ring-blue-100:focus { --tw-ring-color: rgba(59, 130, 246, 0.1) !important; }
  
  /* Button states */
  .bg-blue-600 { background-color: var(--accent-blue) !important; }
  .hover:bg-blue-700:hover { background-color: var(--accent-blue-dark) !important; }
  
  /* Category icon backgrounds */
  .bg-blue-100 { background-color: rgba(59, 130, 246, 0.1) !important; }
  .bg-yellow-100 { background-color: rgba(251, 191, 36, 0.1) !important; }
  .bg-purple-100 { background-color: rgba(147, 51, 234, 0.1) !important; }
  .bg-green-100 { background-color: rgba(34, 197, 94, 0.1) !important; }
  
  /* Category icon text */
  .text-blue-600 { color: #60a5fa !important; }
  .text-yellow-600 { color: #fbbf24 !important; }
  .text-purple-600 { color: #a855f7 !important; }
  .text-green-600 { color: #22c55e !important; }
  
  /* Hover states for categories */
  .group:hover .group-hover:text-blue-600 { color: #60a5fa !important; }
  .group:hover .group-hover:text-yellow-600 { color: #fbbf24 !important; }
  .group:hover .group-hover:text-purple-600 { color: #a855f7 !important; }
  .group:hover .group-hover:text-green-600 { color: #22c55e !important; }
  
  /* Shadows for dark mode */
  .shadow-sm { box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.3), 0 1px 2px -1px rgba(0, 0, 0, 0.3) !important; }
  .shadow-lg { box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.3), 0 4px 6px -4px rgba(0, 0, 0, 0.3) !important; }
  .shadow-xl { box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.4), 0 8px 10px -6px rgba(0, 0, 0, 0.4) !important; }
  .hover:shadow-xl:hover { box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.4), 0 8px 10px -6px rgba(0, 0, 0, 0.4) !important; }
  
  /* Form elements */
  input, textarea, select {
    background-color: var(--dark-card) !important;
    border-color: var(--dark-border) !important;
    color: var(--dark-text) !important;
  }
  
  input::placeholder, textarea::placeholder {
    color: var(--dark-text-muted) !important;
  }
  
  /* Gradient text for dark mode */
  .bg-gradient-to-r.from-blue-600.to-purple-600.bg-clip-text.text-transparent {
    background: linear-gradient(to right, #60a5fa, #c084fc) !important;
    -webkit-background-clip: text !important;
    background-clip: text !important;
    color: transparent !important;
  }
  .bg-gray-200 { background-color: #404040 !important; }
  .bg-gray-900 { 
    background: linear-gradient(145deg, var(--accent-blue) 0%, var(--accent-blue-dark) 100%) !important; 
    color: white !important;
    box-shadow: 0 4px 12px rgba(59, 130, 246, 0.3) !important;
  }
  
  /* Border colors - More refined */
  .border-gray-200 { border-color: var(--dark-border) !important; }
  .border-gray-300 { border-color: var(--dark-border-light) !important; }
  
  /* Cards and surfaces - Enhanced depth */
  .card {
    background: linear-gradient(145deg, var(--dark-card) 0%, var(--dark-card-elevated) 100%) !important;
    border: 1px solid var(--dark-border) !important;
    box-shadow: 
      0 1px 3px rgba(0, 0, 0, 0.2),
      0 0 0 1px rgba(255, 255, 255, 0.02) inset !important;
  }
  
  .card:hover {
    box-shadow: 
      0 4px 12px rgba(0, 0, 0, 0.3),
      0 0 0 1px rgba(255, 255, 255, 0.03) inset !important;
    transform: translateY(-1px) !important;
  }
  
  /* Buttons - Purposeful blue accent */
  .btn-primary {
    background: linear-gradient(145deg, var(--accent-blue) 0%, var(--accent-blue-dark) 100%) !important;
    color: white !important;
    border: none !important;
    box-shadow: 
      0 2px 8px rgba(59, 130, 246, 0.3),
      0 0 0 1px rgba(255, 255, 255, 0.1) inset !important;
  }
  
  .btn-primary:hover {
    background: linear-gradient(145deg, var(--accent-blue-light) 0%, var(--accent-blue) 100%) !important;
    box-shadow: 
      0 4px 12px rgba(59, 130, 246, 0.4),
      0 0 0 1px rgba(255, 255, 255, 0.15) inset !important;
    transform: translateY(-1px) !important;
  }
  
  .btn-outline {
    background: rgba(255, 255, 255, 0.02) !important;
    border: 1px solid var(--dark-border-light) !important;
    color: var(--dark-text) !important;
    backdrop-filter: blur(10px) !important;
  }
  
  .btn-outline:hover {
    background: rgba(255, 255, 255, 0.05) !important;
    border-color: var(--dark-border-light) !important;
  }
  
  /* Form inputs - Better depth and focus */
  input, textarea, select {
    background: 
      linear-gradient(145deg, var(--dark-card) 0%, rgba(23, 23, 23, 0.8) 100%) !important;
    border: 1px solid var(--dark-border) !important;
    color: var(--dark-text) !important;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.2) inset !important;
  }
  
  input:focus, textarea:focus, select:focus {
    border-color: var(--accent-blue) !important;
    box-shadow: 
      0 0 0 3px rgba(59, 130, 246, 0.1),
      0 1px 3px rgba(0, 0, 0, 0.2) inset !important;
    background: var(--dark-card-elevated) !important;
  }
  
  input::placeholder, textarea::placeholder {
    color: var(--dark-text-muted) !important;
  }
  
  /* Header - Elevated feel */
  header {
    background: 
      linear-gradient(145deg, rgba(23, 23, 23, 0.95) 0%, rgba(17, 17, 17, 0.95) 100%) !important;
    border-color: var(--dark-border) !important;
    backdrop-filter: blur(20px) saturate(180%) !important;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.2) !important;
  }
  
  /* Navigation links - Blue accent for active states */
  header a {
    color: var(--dark-text) !important;
    transition: all 200ms ease !important;
  }
  
  header a:hover {
    color: var(--accent-blue-light) !important;
  }
  
  /* Special styling for Sign In button */
  header .btn {
    background: linear-gradient(145deg, var(--accent-blue) 0%, var(--accent-blue-dark) 100%) !important;
    color: white !important;
    box-shadow: 0 2px 8px rgba(59, 130, 246, 0.3) !important;
  }
  
  /* Search dropdown */
  #searchDropdown {
    background: linear-gradient(145deg, var(--dark-card) 0%, var(--dark-card-elevated) 100%) !important;
    border-color: var(--dark-border-light) !important;
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.4), 0 8px 10px -6px rgba(0, 0, 0, 0.4) !important;
  }
  
  /* Trust indicator cards */
  .trust-indicator {
    background: linear-gradient(145deg, var(--dark-card) 0%, var(--dark-card-elevated) 100%) !important;
    border: 1px solid var(--dark-border) !important;
  }
  
  /* Navigation breadcrumbs and misc elements */
  .text-blue-600 { color: var(--accent-blue-light) !important; }
  .hover:text-blue-700:hover { color: var(--accent-blue) !important; }
  
  header .btn:hover {
    box-shadow: 0 4px 12px rgba(59, 130, 246, 0.4) !important;
    transform: translateY(-1px) !important;
  }
}

/* Light Mode Optimizations */
@media (prefers-color-scheme: light) {
  /* Enhanced shadows for light mode */
  .shadow-xl { 
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.08), 0 8px 10px -6px rgba(0, 0, 0, 0.08);
  }
  
  .hover:shadow-xl:hover { 
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.12);
  }
  
  /* Card hover states */
  .group:hover {
    transform: translateY(-2px);
  }
  
  /* Button hover improvements */
  .hover:-translate-y-0.5:hover {
    transform: translateY(-2px);
  }
  
  /* Search input focus */
  .focus:ring-4:focus {
    box-shadow: 0 0 0 4px rgba(59, 130, 246, 0.1);
  }
  
  /* Category card improvements */
  .bg-blue-100 { background-color: rgba(59, 130, 246, 0.08); }
  .bg-yellow-100 { background-color: rgba(251, 191, 36, 0.08); }
  .bg-purple-100 { background-color: rgba(147, 51, 234, 0.08); }
  .bg-green-100 { background-color: rgba(34, 197, 94, 0.08); }
}

/* 2025 Contemporary Typography Scale */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-sans);
  font-weight: 300;
  letter-spacing: -0.035em;
  line-height: 1.1;
  margin-bottom: 0.5em;
  font-feature-settings: "kern" 1, "liga" 1, "ss01" 1;
}

h1 { 
  font-size: clamp(2.75rem, 6vw, 5rem); 
  font-weight: 250; 
  letter-spacing: -0.045em;
  line-height: 0.95;
}
h2 { 
  font-size: clamp(2.25rem, 4.5vw, 3.5rem); 
  font-weight: 275; 
  letter-spacing: -0.04em;
}
h3 { 
  font-size: clamp(1.75rem, 3.5vw, 2.5rem); 
  font-weight: 325; 
  letter-spacing: -0.035em;
}
h4 { 
  font-size: clamp(1.375rem, 2.75vw, 1.75rem); 
  font-weight: 375; 
  letter-spacing: -0.03em;
}

p { 
  margin-bottom: 1em; 
  line-height: 1.65;
  color: var(--gray-6);
  font-weight: 400;
  letter-spacing: -0.01em;
  font-feature-settings: "kern" 1, "liga" 1;
}

/* Essential text utilities with 2025 refinements */
.text-5xl { font-size: 3rem; line-height: 1.05; letter-spacing: -0.035em; font-weight: 275; font-optical-sizing: auto; }
.text-6xl { font-size: 3.75rem; line-height: 1; letter-spacing: -0.04em; font-weight: 250; font-optical-sizing: auto; }
.text-7xl { font-size: 4.5rem; line-height: 0.95; letter-spacing: -0.045em; font-weight: 225; font-optical-sizing: auto; }
.text-8xl { font-size: 6rem; line-height: 0.9; letter-spacing: -0.05em; font-weight: 200; font-optical-sizing: auto; }
.text-9xl { font-size: 8rem; line-height: 0.85; letter-spacing: -0.055em; font-weight: 175; font-optical-sizing: auto; }

/* Variable Font Weights for Framer-Quality Typography */
.font-ultralight { font-weight: 100; }
.font-extra-thin { font-weight: 150; }
.font-ultra-thin { font-weight: 175; }
.font-super-light { font-weight: 225; }
.font-extra-extralight { font-weight: 275; }
.font-super-medium { font-weight: 525; }
.font-extra-semibold { font-weight: 650; }
.font-ultra-bold { font-weight: 750; }
.font-black { font-weight: 900; }
.leading-relaxed { line-height: 1.65; }
.leading-\[0\.85\] { line-height: 0.85; }
.leading-\[1\.3\] { line-height: 1.3; }
.tracking-tight { letter-spacing: -0.035em; }
.tracking-wide { letter-spacing: 0.05em; }

/* Layout utilities */
.min-h-screen { min-height: 100vh; }
.h-full { height: 100%; }
.w-full { width: 100%; }
.w-4 { width: 1rem; }
.h-4 { height: 1rem; }
.w-5 { width: 1.25rem; }
.h-5 { height: 1.25rem; }
.w-6 { width: 1.5rem; }
.h-6 { height: 1.5rem; }
.w-8 { width: 2rem; }
.h-8 { height: 2rem; }
.w-12 { width: 3rem; }
.h-12 { height: 3rem; }
.w-16 { width: 4rem; }
.h-16 { height: 4rem; }

/* Container system - Mobile-First Spacing */
.container {
  width: 100%;
  margin-left: auto;
  margin-right: auto;
  padding-left: 1rem;
  padding-right: 1rem;
}

/* Safe mobile spacing - ensures content never touches edges */
.mobile-safe {
  padding-left: 1rem;
  padding-right: 1rem;
}

/* Page wrapper with comfortable mobile spacing */
.page-wrapper {
  width: 100%;
  max-width: 1600px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 1rem;
  padding-right: 1rem;
}

@media (min-width: 1536px) {
  .page-wrapper { 
    max-width: 1800px; 
    padding-left: 3rem; 
    padding-right: 3rem; 
  }
}

.container-sm { max-width: 640px; }
.container-md { max-width: 768px; }
.container-lg { max-width: 1024px; }
.container-xl { max-width: 1280px; }
.container-2xl { max-width: 1536px; }

.max-w-screen-xl { max-width: 1200px; }
.max-w-4xl { max-width: 56rem; }
.max-w-2xl { max-width: 42rem; }
.max-w-md { max-width: 28rem; }
.max-w-sm { max-width: 24rem; }
.max-w-6xl { max-width: 72rem; }
.max-w-7xl { max-width: 80rem; }
.mx-auto { margin-left: auto; margin-right: auto; }

/* Proper responsive containers */
@media (min-width: 640px) {
  .container { max-width: 640px; padding-left: 1.5rem; padding-right: 1.5rem; }
  .mobile-safe { padding-left: 1.5rem; padding-right: 1.5rem; }
  .page-wrapper { padding-left: 1.5rem; padding-right: 1.5rem; }
}

@media (min-width: 768px) {
  .container { max-width: 768px; padding-left: 2rem; padding-right: 2rem; }
  .mobile-safe { padding-left: 2rem; padding-right: 2rem; }
  .page-wrapper { padding-left: 2rem; padding-right: 2rem; }
}

@media (min-width: 1024px) {
  .container { max-width: 1024px; padding-left: 2.5rem; padding-right: 2.5rem; }
  .mobile-safe { padding-left: 2.5rem; padding-right: 2.5rem; }
  .page-wrapper { padding-left: 2.5rem; padding-right: 2.5rem; }
}

@media (min-width: 1280px) {
  .container { max-width: 1280px; }
}

@media (min-width: 1536px) {
  .container { max-width: 1536px; }
}

/* Spacing */
.p-2 { padding: 0.5rem; }
.p-3 { padding: 0.75rem; }
.p-4 { padding: 1rem; }
.p-6 { padding: 1.5rem; }
.p-8 { padding: 2rem; }
.px-2 { padding-left: 0.5rem; padding-right: 0.5rem; }
.px-3 { padding-left: 0.75rem; padding-right: 0.75rem; }
.px-4 { padding-left: 1rem; padding-right: 1rem; }
.px-5 { padding-left: 1.25rem; padding-right: 1.25rem; }
.px-6 { padding-left: 1.5rem; padding-right: 1.5rem; }
.px-8 { padding-left: 2rem; padding-right: 2rem; }
.py-2 { padding-top: 0.5rem; padding-bottom: 0.5rem; }
.py-3 { padding-top: 0.75rem; padding-bottom: 0.75rem; }
.py-4 { padding-top: 1rem; padding-bottom: 1rem; }
.py-6 { padding-top: 1.5rem; padding-bottom: 1.5rem; }
.py-8 { padding-top: 2rem; padding-bottom: 2rem; }
.py-12 { padding-top: 3rem; padding-bottom: 3rem; }
.py-16 { padding-top: 4rem; padding-bottom: 4rem; }
.py-20 { padding-top: 5rem; padding-bottom: 5rem; }
.px-4 { padding-left: 1rem; padding-right: 1rem; }
.px-6 { padding-left: 1.5rem; padding-right: 1.5rem; }
.px-12 { padding-left: 3rem; padding-right: 3rem; }
.pt-6 { padding-top: 1.5rem; }
.pb-4 { padding-bottom: 1rem; }
.pb-20 { padding-bottom: 5rem; }
.pl-4 { padding-left: 1rem; }
.pl-16 { padding-left: 4rem; }
.pr-6 { padding-right: 1.5rem; }

/* Position utilities */
.pointer-events-none { pointer-events: none; }
.left-6 { left: 1.5rem; }
.top-full { top: 100%; }
.left-0 { left: 0; }
.right-0 { right: 0; }
.mb-2 { margin-bottom: 0.5rem; }
.mb-4 { margin-bottom: 1rem; }
.mb-6 { margin-bottom: 1.5rem; }
.mb-8 { margin-bottom: 2rem; }
.mb-12 { margin-bottom: 3rem; }
.mb-16 { margin-bottom: 4rem; }
.mb-20 { margin-bottom: 5rem; }
.mb-24 { margin-bottom: 6rem; }
.mb-32 { margin-bottom: 8rem; }
.mb-40 { margin-bottom: 10rem; }
.mt-4 { margin-top: 1rem; }
.mt-8 { margin-top: 2rem; }
.mt-24 { margin-top: 6rem; }
.-mt-4 { margin-top: -1rem; }
.ml-6 { margin-left: 1.5rem; }
.mx-2 { margin-left: 0.5rem; margin-right: 0.5rem; }
.my-12 { margin-top: 3rem; margin-bottom: 3rem; }
.h-16 { height: 4rem; }
.h-20 { height: 5rem; }
.h-24 { height: 6rem; }
.h-32 { height: 8rem; }
.h-screen { height: 100vh; }
.w-24 { width: 6rem; }
.w-px { width: 1px; }

/* Transforms */
.transform { transform: var(--tw-transform); }
.-skew-x-12 { --tw-skew-x: -12deg; transform: skewX(-12deg); }
.-translate-x-full { --tw-translate-x: -100%; transform: translateX(-100%); }
.translate-x-full { --tw-translate-x: 100%; transform: translateX(100%); }

/* Flexbox */
.flex { display: flex; }
.flex-col { flex-direction: column; }
.items-center { align-items: center; }
.items-start { align-items: flex-start; }
.justify-center { justify-content: center; }
.justify-between { justify-content: space-between; }
.gap-2 { gap: 0.5rem; }
.gap-3 { gap: 0.75rem; }
.gap-4 { gap: 1rem; }
.gap-6 { gap: 1.5rem; }
.gap-8 { gap: 2rem; }
.gap-12 { gap: 3rem; }
.gap-16 { gap: 4rem; }
.gap-20 { gap: 5rem; }
.gap-24 { gap: 6rem; }
.space-x-6 > * + * { margin-left: 1.5rem; }
.space-x-8 > * + * { margin-left: 2rem; }
.space-y-1 > * + * { margin-top: 0.25rem; }
.space-y-4 > * + * { margin-top: 1rem; }
.space-y-6 > * + * { margin-top: 1.5rem; }
.space-y-8 > * + * { margin-top: 2rem; }
.space-y-3 > * + * { margin-top: 0.75rem; }
.space-y-5 > * + * { margin-top: 1.25rem; }
.space-y-12 > * + * { margin-top: 3rem; }
.space-y-16 > * + * { margin-top: 4rem; }
.flex-shrink-0 { flex-shrink: 0; }
.flex-1 { flex: 1 1 0%; }
.border-t { border-top: 1px solid var(--gray-3); }

/* Grid */
.grid { display: grid; }

/* Framer-Style Hero Components */
.hero-container {
  min-height: calc(100vh - 160px);
  display: flex;
  flex-direction: column;
  position: relative;
  padding: 0 1.5rem;
}

.hero-content {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 4rem 0;
}

.hero-text {
  margin-bottom: 3rem;
  max-width: 48rem;
}

.hero-title {
  font-size: clamp(3rem, 8vw, 5rem);
  font-weight: 200;
  letter-spacing: -0.02em;
  line-height: 1.1;
  margin: 0 0 1.5rem 0;
  background: linear-gradient(135deg, #111827 0%, #374151 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-subtitle {
  font-size: clamp(1.125rem, 3vw, 1.375rem);
  color: #6b7280;
  line-height: 1.6;
  margin: 0;
  font-weight: 400;
}

.search-container {
  width: 100%;
  max-width: 32rem;
  perspective: 1000px;
}

.search-wrapper {
  position: relative;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(12px) saturate(180%);
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 16px;
  box-shadow: 
    0 4px 24px rgba(0, 0, 0, 0.06),
    0 1px 4px rgba(0, 0, 0, 0.04),
    inset 0 1px 0 rgba(255, 255, 255, 0.7);
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  transform: translateZ(0);
}

.search-wrapper:hover {
  transform: translateY(-2px) translateZ(0);
  box-shadow: 
    0 8px 32px rgba(0, 0, 0, 0.08),
    0 2px 8px rgba(0, 0, 0, 0.06),
    inset 0 1px 0 rgba(255, 255, 255, 0.8);
}

.search-wrapper:focus-within {
  transform: translateY(-3px) translateZ(0);
  border-color: rgba(17, 24, 39, 0.2);
  box-shadow: 
    0 12px 40px rgba(0, 0, 0, 0.1),
    0 4px 12px rgba(0, 0, 0, 0.08),
    inset 0 1px 0 rgba(255, 255, 255, 0.9),
    0 0 0 3px rgba(17, 24, 39, 0.08);
}

.search-input {
  width: 100%;
  padding: 1.25rem 3.5rem 1.25rem 1.5rem;
  font-size: 1.125rem;
  border: none;
  background: transparent;
  outline: none;
  color: #111827;
  font-weight: 400;
  line-height: 1.5;
  border-radius: 16px;
}

.search-input:focus {
  outline: none;
  box-shadow: none;
}

.search-input::placeholder {
  color: #9ca3af;
  font-weight: 400;
}

.search-icon {
  position: absolute;
  right: 1rem;
  top: 50%;
  transform: translateY(-50%);
  width: 1.25rem;
  height: 1.25rem;
  color: #6b7280;
  pointer-events: none;
  transition: color 0.2s ease;
}

.search-wrapper:focus-within .search-icon {
  color: #374151;
}

.value-props {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 2.5rem;
  padding: 2rem 0;
  border-top: 1px solid rgba(229, 231, 235, 0.6);
  margin-top: auto;
  flex-wrap: wrap;
}

.prop-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: #6b7280;
  font-size: 0.875rem;
  font-weight: 500;
  transition: all 0.3s ease;
  opacity: 0.8;
}

.prop-item:hover {
  color: #374151;
  opacity: 1;
  transform: translateY(-1px);
}

.prop-icon {
  width: 1rem;
  height: 1rem;
  flex-shrink: 0;
}

.search-results {
  position: absolute;
  top: 100%;
  left: 1.5rem;
  right: 1.5rem;
  background: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(20px) saturate(180%);
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 16px;
  box-shadow: 
    0 8px 32px rgba(0, 0, 0, 0.08),
    0 2px 8px rgba(0, 0, 0, 0.04);
  max-width: 64rem;
  margin: 0 auto;
  padding: 1.5rem;
  animation: slideIn 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  z-index: 50;
}

@keyframes slideIn {
  from {
    opacity: 0;
    transform: translateY(-8px) scale(0.98);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

/* Framer-Quality OTP Box Styling */
.otp-container {
  display: flex;
  flex-direction: row;
  gap: 0.75rem;
  justify-content: center;
  align-items: center;
  margin: 2rem 0;
  flex-wrap: nowrap;
}

.otp-box {
  width: 3.5rem;
  height: 3.5rem;
  text-align: center;
  font-size: 1.5rem;
  font-weight: 500;
  border: 1.5px solid var(--gray-3);
  border-radius: 12px;
  background: var(--gray-0);
  color: var(--gray-8);
  transition: all 300ms var(--ease-out-expo);
  outline: none;
  font-family: var(--font-sans);
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
  letter-spacing: 0.025em;
  transform-style: preserve-3d;
}

.otp-box:focus {
  border-color: var(--gray-8);
  box-shadow: 
    0 0 0 3px rgba(17, 24, 39, 0.08),
    0 8px 24px rgba(0, 0, 0, 0.12);
  transform: translateY(-3px) scale(1.05);
  background: var(--gray-0);
}

.otp-box:not(:placeholder-shown) {
  border-color: var(--gray-8);
  background: var(--gray-1);
  color: var(--gray-9);
  font-weight: 600;
  transform: scale(1.05);
  animation: otpSuccess 400ms var(--ease-bounce);
}

@keyframes otpSuccess {
  0% { transform: scale(1); }
  50% { transform: scale(1.1); }
  100% { transform: scale(1.05); }
}

/* Auto-focus animation */
.otp-box.auto-advance {
  animation: otpAdvance 300ms var(--ease-anticipate);
}

@keyframes otpAdvance {
  0% { transform: scale(1.05); }
  50% { transform: scale(0.95) rotateY(5deg); }
  100% { transform: scale(1); }
}

/* Mobile OTP Optimizations */
@media (max-width: 768px) {
  .otp-container {
    gap: 0.5rem;
  }
  
  .otp-box {
    width: 3.5rem;
    height: 2.5rem;
    font-size: 1.25rem;
    border-radius: 0.375rem;
  }
}

/* Mobile Optimizations - Enhanced Touch & Interaction */
@media (max-width: 768px) {
  /* Mobile button improvements with enhanced touch targets */
  .btn {
    padding: 1rem 1.25rem;
    min-height: 48px;
    font-size: 1rem;
    border-radius: 12px;
    touch-action: manipulation;
    -webkit-tap-highlight-color: transparent;
  }
  
  .btn-sm {
    padding: 0.75rem 1rem;
    min-height: 44px;
    font-size: 0.9rem;
    border-radius: 10px;
  }
  
  .btn-lg {
    padding: 1.25rem 1.5rem;
    min-height: 52px;
    font-size: 1.1rem;
    border-radius: 14px;
  }
  
  /* Ensure safe touch targets for all interactive elements */
  button, a, input, select, textarea, .clickable {
    min-height: 44px;
    touch-action: manipulation;
    -webkit-tap-highlight-color: transparent;
  }
  
  /* Enhanced card interactions on mobile */
  .card, .card-premium {
    padding: 1.5rem;
    border-radius: 16px;
    transition: all 200ms ease-out;
  }
  
  .card:active, .card-premium:active {
    transform: scale(0.98);
    transition: transform 100ms ease-out;
  }
  
  /* Mobile form improvements */
  input, textarea, select {
    padding: 1rem 0.75rem;
    font-size: 16px; /* Prevent zoom on iOS */
    border-radius: 12px;
    transition: all 200ms ease-out;
  }
  
  input:focus, textarea:focus, select:focus {
    transform: scale(1.02);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  }
  
  /* Mobile-optimized ticket cards */
  .ticket-card {
    padding: 1.5rem;
    margin-bottom: 1rem;
  }
  
  /* Enhanced mobile navigation touches */
  .nav-link {
    padding: 1rem;
    min-height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
  }
  
  /* Mobile search enhancements */
  .search-container input {
    padding: 1rem 1rem 1rem 3rem;
    font-size: 16px;
    border-radius: 16px;
  }
  
  /* Mobile category cards with better touch */
  .category-card {
    padding: 1.5rem 1rem;
    min-height: 100px;
    border-radius: 16px;
    transition: all 200ms ease-out;
  }
  
  .category-card:active {
    transform: scale(0.95);
  }
  
  .hero-content {
    padding: 3rem 0;
  }
  
  .hero-text {
    margin-bottom: 2rem;
  }
  
  .search-wrapper {
    border-radius: 12px;
  }
  
  .search-wrapper:focus-within {
    box-shadow: 
      0 8px 24px rgba(0, 0, 0, 0.08),
      0 2px 6px rgba(0, 0, 0, 0.06),
      inset 0 1px 0 rgba(255, 255, 255, 0.9),
      0 0 0 2px rgba(17, 24, 39, 0.06);
  }
  
  .search-input {
    padding: 1rem 3rem 1rem 1.25rem;
    font-size: 1rem;
    border-radius: 12px;
  }
  
  .value-props {
    gap: 1.5rem;
    padding: 1.5rem 0;
  }
  
  .prop-item {
    font-size: 0.8125rem;
  }
  
  .search-results {
    left: 1rem;
    right: 1rem;
    border-radius: 12px;
    padding: 1rem;
  }
}
.grid-cols-1 { grid-template-columns: repeat(1, minmax(0, 1fr)); }
.grid-cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid-cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid-cols-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.col-span-2 { grid-column: span 2 / span 2; }

/* Text */
.text-center { text-align: center; }
.text-left { text-align: left; }
.text-right { text-align: right; }
.text-xs { font-size: 0.75rem; }
.text-sm { font-size: 0.875rem; }
.text-base { font-size: 1rem; }
.text-lg { font-size: 1.125rem; }
.text-xl { font-size: 1.25rem; }
.text-2xl { font-size: 1.5rem; }
.text-3xl { font-size: 1.875rem; }
.text-4xl { font-size: 2.25rem; }
.text-5xl { font-size: 3rem; }
.text-6xl { font-size: 3.75rem; }
.font-thin { font-weight: 200; }
.font-extralight { font-weight: 250; }
.font-light { font-weight: 300; }
.font-normal { font-weight: 400; }
.font-medium { font-weight: 500; }
.font-semibold { font-weight: 600; }
.font-bold { font-weight: 700; }

/* Colors */
.text-gray-400 { color: var(--gray-4); }
.text-gray-500 { color: var(--gray-5); }
.text-gray-600 { color: var(--gray-6); }
.text-gray-700 { color: var(--gray-7); }
.text-gray-800 { color: var(--gray-8); }
.text-gray-900 { color: var(--gray-9); }
.text-white { color: var(--gray-0); }

.bg-white { background-color: var(--gray-0); }
.bg-gray-50 { background-color: var(--gray-1); }
.bg-gray-100 { background-color: var(--gray-2); }
.bg-gray-200 { background-color: var(--gray-3); }
.bg-gray-800 { background-color: var(--gray-8); }
.bg-gray-900 { background-color: var(--gray-9); }

/* Modern Gradients */
.bg-gradient-to-b { background-image: linear-gradient(to bottom, var(--tw-gradient-stops)); }
.bg-gradient-to-r { background-image: linear-gradient(to right, var(--tw-gradient-stops)); }
.from-transparent { --tw-gradient-from: transparent; --tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to, transparent); }
.from-gray-900 { --tw-gradient-from: var(--gray-9); --tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to, var(--gray-9)); }
.via-gray-300 { --tw-gradient-stops: var(--tw-gradient-from), var(--gray-3), var(--tw-gradient-to, var(--gray-3)); }
.via-white\/10 { --tw-gradient-stops: var(--tw-gradient-from), rgba(255, 255, 255, 0.1), var(--tw-gradient-to, rgba(255, 255, 255, 0.1)); }
.to-transparent { --tw-gradient-to: transparent; }
.to-gray-300 { --tw-gradient-to: var(--gray-3); }
.to-gray-900 { --tw-gradient-to: var(--gray-9); }

/* Borders */
.border { border: 1px solid var(--gray-3); }
.border-2 { border: 2px solid var(--gray-3); }
.border-gray-200 { border-color: var(--gray-2); }
.border-gray-300 { border-color: var(--gray-3); }
.rounded { border-radius: 0.375rem; }
.rounded-md { border-radius: 0.375rem; }
.rounded-lg { border-radius: 0.5rem; }
.rounded-full { border-radius: 9999px; }

/* Border utilities */
.border-0 { border-width: 0; }

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

/* Position */
.relative { position: relative; }
.absolute { position: absolute; }
.fixed { position: fixed; }
.sticky { position: sticky; }
.top-0 { top: 0; }
.z-10 { z-index: 10; }
.z-50 { z-index: 50; }

/* Premium Forms */
input, select, textarea {
  font-family: var(--font-sans);
  font-size: 1rem;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(8px);
  border: 1px solid var(--gray-200);
  color: var(--gray-900);
  border-radius: 12px;
  padding: 1rem 1.25rem;
  width: 100%;
  transition: all 350ms cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 
    0 1px 3px 0 rgba(0, 0, 0, 0.1),
    0 1px 2px -1px rgba(0, 0, 0, 0.1),
    inset 0 1px 0 rgba(255, 255, 255, 0.1);
  line-height: 1.5;
}

input:focus, select:focus, textarea:focus {
  outline: none;
  border-color: var(--gray-900);
  background: rgba(255, 255, 255, 0.95);
  box-shadow: 
    0 0 0 4px rgba(15, 23, 42, 0.08),
    0 4px 6px -1px rgba(0, 0, 0, 0.1),
    0 2px 4px -2px rgba(0, 0, 0, 0.1),
    inset 0 1px 0 rgba(255, 255, 255, 0.2);
  transform: translateY(-2px) scale(1.01);
}

input:hover, select:hover, textarea:hover {
  border-color: var(--gray-400);
  background: rgba(255, 255, 255, 0.95);
  transform: translateY(-1px);
}

input:disabled, select:disabled, textarea:disabled {
  background: var(--gray-1);
  color: var(--gray-5);
  cursor: not-allowed;
  opacity: 0.6;
}

/* Modern form groups */
.form-group {
  margin-bottom: 2rem;
  position: relative;
}

.form-group label {
  display: block;
  font-weight: 500;
  color: var(--gray-8);
  margin-bottom: 0.75rem;
  font-size: 0.95rem;
  letter-spacing: -0.01em;
}

/* Floating label effect */
.form-group.floating {
  position: relative;
}

.form-group.floating input:focus + label,
.form-group.floating input:not(:placeholder-shown) + label {
  transform: translateY(-2.5rem) scale(0.85);
  color: var(--gray-6);
}

/* Framer-Quality Premium Buttons */
.btn {
  font-family: var(--font-sans);
  font-size: 1rem;
  font-weight: 500;
  padding: 0.875rem 1.5rem;
  border-radius: 16px;
  border: 1px solid transparent;
  cursor: pointer;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  position: relative;
  overflow: hidden;
  /* Mobile touch target */
  min-height: 44px;
  transition: all 400ms var(--ease-out-expo);
  letter-spacing: -0.005em;
  box-shadow: 
    0 4px 6px -1px rgba(0, 0, 0, 0.1),
    0 2px 4px -2px rgba(0, 0, 0, 0.1),
    inset 0 1px 0 rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(8px);
  transform-style: preserve-3d;
}

.btn:hover {
  transform: translateY(-6px) scale(1.02) rotateX(2deg);
  box-shadow: 
    0 32px 64px -12px rgba(0, 0, 0, 0.12),
    0 16px 32px -8px rgba(0, 0, 0, 0.08),
    inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

.btn:active {
  transform: translateY(-2px) scale(0.98);
  transition: all var(--duration-micro) var(--ease-anticipate);
}

.btn-primary {
  background: linear-gradient(135deg, var(--gray-900) 0%, var(--gray-800) 100%);
  color: var(--gray-0);
  border-color: var(--gray-900);
  position: relative;
}

.btn-primary::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: linear-gradient(135deg, var(--gray-800) 0%, var(--gray-700) 100%);
  opacity: 0;
  transition: opacity 400ms cubic-bezier(0.16, 1, 0.3, 1);
}

.btn-primary:hover::before {
  opacity: 1;
}

.btn-primary > * {
  position: relative;
  z-index: 1;
}

.btn-secondary {
  background: var(--gray-0);
  color: var(--gray-9);
  border-color: var(--gray-9);
}

.btn-secondary:hover {
  background: var(--gray-9);
  color: var(--gray-0);
}

.btn-ghost {
  background: transparent;
  color: var(--gray-7);
  border-color: transparent;
  box-shadow: none;
}

.btn-ghost:hover {
  background: var(--gray-1);
  color: var(--gray-9);
  box-shadow: var(--shadow-sm);
}

.btn-outline {
  background: transparent;
  color: var(--gray-8);
  border-color: var(--gray-4);
}

.btn-outline:hover {
  background: var(--gray-8);
  border-color: var(--gray-8);
  color: var(--gray-0);
}

.btn-lg {
  padding: 1.25rem 2.5rem;
  font-size: 1.125rem;
  min-height: 64px;
}

.btn-sm {
  padding: 0.75rem 1.5rem;
  font-size: 0.875rem;
  min-height: 44px;
}

.btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
  transform: none;
  box-shadow: var(--shadow-sm);
}

/* Enhanced Button Animations */
.btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
  transition: left 500ms var(--ease-out-expo);
}

.btn:hover::before {
  left: 100%;
}

/* Magnetic Button Effect */
.btn-magnetic {
  will-change: transform;
  transition: all 200ms var(--ease-out-expo);
}

.btn-magnetic:hover {
  transform: translateY(-6px) scale(1.02) rotateX(2deg);
  filter: brightness(1.05);
}

/* Pulse Animation for CTAs */
.btn-pulse {
  animation: buttonPulse 2s ease-in-out infinite;
}

@keyframes buttonPulse {
  0%, 100% { transform: scale(1); box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1); }
  50% { transform: scale(1.02); box-shadow: 0 8px 16px -2px rgba(0, 0, 0, 0.15); }
}

/* Success Button Animation */
.btn-success {
  position: relative;
  overflow: hidden;
}

.btn-success::after {
  content: '✓';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) scale(0);
  opacity: 0;
  transition: all 300ms var(--ease-bounce);
  font-size: 1.2em;
  color: #10b981;
}

.btn-success.success-active::after {
  transform: translate(-50%, -50%) scale(1);
  opacity: 1;
}

/* Framer-Quality Premium Cards */
.card {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(20px) saturate(180%);
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 24px;
  padding: 2rem;
  box-shadow: 
    0 4px 6px -1px rgba(0, 0, 0, 0.1),
    0 2px 4px -2px rgba(0, 0, 0, 0.1),
    inset 0 1px 0 rgba(255, 255, 255, 0.1);
  transition: all 400ms var(--ease-out-expo);
  position: relative;
  overflow: hidden;
  transform-style: preserve-3d;
}

.card:hover {
  transform: translateY(-12px) scale(1.02) rotateX(5deg);
  box-shadow: 
    0 32px 64px -12px rgba(0, 0, 0, 0.12),
    0 16px 32px -8px rgba(0, 0, 0, 0.08),
    inset 0 1px 0 rgba(255, 255, 255, 0.2);
  border-color: rgba(255, 255, 255, 0.4);
}

.card::before {
  content: '';
  position: absolute;
  top: 0;
  left: -50%;
  width: 200%;
  height: 100%;
  background: linear-gradient(
    105deg,
    transparent 40%, 
    rgba(255, 255, 255, 0.15) 50%, 
    transparent 60%
  );
  transform: translateX(-100%);
  transition: transform 600ms var(--ease-anticipate);
}

.card:hover::before {
  transform: translateX(0);
}

/* Enhanced Card Variants */
.card-premium {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(20px) saturate(180%);
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 20px;
  padding: 2rem;
  box-shadow: var(--shadow-md);
  transition: all 300ms var(--ease-out-expo);
  position: relative;
  overflow: hidden;
}

.card-premium:before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(156, 163, 175, 0.3), transparent);
  opacity: 0.6;
}

/* Hover lift effect */
.hover-lift {
  transition: all 300ms var(--ease-out-expo);
}

.hover-lift:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-xl);
  border-color: rgba(255, 255, 255, 0.4);
}

/* Enhanced ticket card styling */
.ticket-card.upcoming {
  border-left: 4px solid #3b82f6;
  background: linear-gradient(135deg, #ffffff 0%, #f8fafc 100%);
}

.ticket-card.past {
  border-left: 4px solid var(--gray-300);
  opacity: 0.75;
}

/* Filter buttons for dashboard */
.filter-btn {
  padding: 0.5rem 1rem;
  border: 1px solid var(--gray-300);
  border-radius: 8px;
  background: var(--gray-0);
  color: var(--gray-600);
  font-size: 0.875rem;
  font-weight: 500;
  transition: all 200ms var(--ease-out-expo);
  cursor: pointer;
  outline: none;
}

.filter-btn:hover {
  border-color: var(--gray-400);
  background: var(--gray-100);
}

.filter-btn.active {
  background: var(--gray-900);
  color: var(--gray-0);
  border-color: var(--gray-900);
}

.card-magnetic {
  will-change: transform;
  cursor: pointer;
}

.card-magnetic:hover {
  animation: cardFloat 2s ease-in-out infinite;
}

@keyframes cardFloat {
  0%, 100% { transform: translateY(-12px) scale(1.02) rotateX(5deg); }
  50% { transform: translateY(-16px) scale(1.025) rotateX(3deg); }
}

/* Shimmer Loading Effect */
.card-loading {
  background: linear-gradient(
    90deg,
    rgba(255, 255, 255, 0.95) 25%,
    rgba(255, 255, 255, 0.98) 50%,
    rgba(255, 255, 255, 0.95) 75%
  );
  background-size: 200% 100%;
  animation: shimmer 2s infinite;
}

@keyframes shimmer {
  0% { background-position: -200% 0; }
  100% { background-position: 200% 0; }
}

/* Essential spacing */
.space-y-20 > * + * { margin-top: 5rem; }
.space-y-16 > * + * { margin-top: 4rem; }

/* Modern group interactions */
.group:hover .group-hover\:scale-105 {
  transform: scale(1.05);
}

.group:hover .group-hover\:opacity-100 {
  opacity: 1;
}

/* Modern backdrop blur */
.backdrop-blur {
  backdrop-filter: blur(8px);
}

.backdrop-blur-sm {
  backdrop-filter: blur(4px);
}

/* Modern Navigation */
.nav-link::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--gray-900);
  transition: width 300ms cubic-bezier(0.4, 0, 0.2, 1);
}

.nav-link:hover::after,
.nav-link.nav-active::after {
  width: 100%;
}

.nav-active::after {
  width: 100%;
}

/* Modern mobile menu */
.mobile-menu {
  backdrop-filter: blur(8px);
  background: rgba(255, 255, 255, 0.95);
}

/* Modern responsive utilities */
.min-h-\[80vh\] { min-height: 80vh; }
.min-h-\[56px\] { min-height: 56px; }

/* Additional modern utilities */
.bg-white\/95 { background-color: rgba(255, 255, 255, 0.95); }
.border-gray-200\/50 { border-color: rgba(229, 231, 235, 0.5); }

/* Text decoration */
.underline { text-decoration: underline; }
.text-decoration-none { text-decoration: none; }

/* Hover states */
.hover\:text-gray-600:hover { color: var(--gray-6); }
.hover\:text-gray-700:hover { color: var(--gray-7); }
.hover\:bg-gray-100:hover { background-color: var(--gray-2); }
.hover\:border-gray-400:hover { border-color: var(--gray-4); }

/* Focus states */
.focus\:outline-none:focus { outline: none; }
.focus\:border-gray-900:focus { border-color: var(--gray-9); }

/* Group focus utilities */
.group:focus-within .group-focus-within\:bg-white { background-color: var(--gray-0); }
.group:focus-within .group-focus-within\:shadow-lg { box-shadow: var(--shadow-lg); }

/* Transitions */
.transition-colors { 
  transition-property: color, background-color, border-color; 
  transition-duration: 150ms; 
}
.transition-all { 
  transition-property: all; 
  transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1); 
  transition-duration: 150ms; 
}
.duration-200 { transition-duration: 200ms; }
.duration-300 { transition-duration: 300ms; }
.duration-500 { transition-duration: 500ms; }
.duration-700 { transition-duration: 700ms; }
.duration-1000 { transition-duration: 1000ms; }
.duration-150 { transition-duration: 150ms; }

/* Additional utilities */
.space-x-6 > * + * { margin-left: 1.5rem; }

/* Width utilities */
.w-3/4 { width: 75%; }
.justify-between { justify-content: space-between; }
.text-right { text-align: right; }
.border-l-4 { border-left-width: 4px; }
.py-5 { padding-top: 1.25rem; padding-bottom: 1.25rem; }
.mt-1 { margin-top: 0.25rem; }
.mt-2 { margin-top: 0.5rem; }

/* Framer-Quality Entrance Animations */
.animate-fade-in {
  animation: fadeIn 600ms var(--ease-out-expo) forwards;
  opacity: 0;
}

.animate-slide-up {
  animation: slideUp 600ms var(--ease-out-expo) forwards;
  opacity: 0;
  transform: translateY(30px);
}

.animate-slide-up-stagger {
  animation: slideUp 600ms var(--ease-out-expo) forwards;
  opacity: 0;
  transform: translateY(30px);
}

.animate-slide-up-stagger:nth-child(1) { animation-delay: 0ms; }
.animate-slide-up-stagger:nth-child(2) { animation-delay: 50ms; }
.animate-slide-up-stagger:nth-child(3) { animation-delay: 100ms; }
.animate-slide-up-stagger:nth-child(4) { animation-delay: 150ms; }
.animate-slide-up-stagger:nth-child(5) { animation-delay: 200ms; }
.animate-slide-up-stagger:nth-child(6) { animation-delay: 250ms; }

.animate-scale-in {
  animation: scaleIn 500ms var(--ease-bounce) forwards;
  opacity: 0;
  transform: scale(0.8);
}

@keyframes fadeIn {
  to {
    opacity: 1;
  }
}

@keyframes slideUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes scaleIn {
  to {
    opacity: 1;
    transform: scale(1);
  }
}

/* Parallax Container */
.parallax-container {
  position: relative;
  overflow: hidden;
  perspective: 1000px;
}

.parallax-layer {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  will-change: transform;
}

.parallax-bg {
  transform: translateZ(-1px) scale(2);
}

.parallax-mid {
  transform: translateZ(-0.5px) scale(1.5);
}

.parallax-front {
  transform: translateZ(0);
}

/* Magnetic Hover Effects */
.magnetic {
  will-change: transform;
  transition: transform 200ms var(--ease-out-expo);
}

.magnetic:hover {
  transform: translateY(-2px);
}

/* Glass Morphism Effects */
.glass {
  background: rgba(255, 255, 255, 0.25);
  backdrop-filter: blur(10px) saturate(180%);
  border: 1px solid rgba(255, 255, 255, 0.18);
}

.glass-dark {
  background: rgba(0, 0, 0, 0.25);
  backdrop-filter: blur(10px) saturate(180%);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

/* Enhanced search interface utilities */
.w-3 { width: 0.75rem; }
.h-3 { height: 0.75rem; }
.placeholder-gray-400::placeholder { color: var(--gray-4); }
.group:focus-within .group-focus-within\:shadow-xl { box-shadow: var(--shadow-lg); }
.group:focus-within .group-focus-within\:border-gray-500 { border-color: var(--gray-5); }
.group:focus-within .group-focus-within\:text-gray-600 { color: var(--gray-6); }
.group:focus-within .group-focus-within\:block { display: block; }
.right-4 { right: 1rem; }
.bg-transparent { background-color: transparent; }

/* Component System Styles */

/* Button Variants */
.btn-danger {
  background: linear-gradient(135deg, #dc2626 0%, #b91c1c 100%);
  color: var(--gray-0);
  border-color: #dc2626;
}

.btn-danger:hover {
  background: linear-gradient(135deg, #b91c1c 0%, #991b1b 100%);
  border-color: #b91c1c;
}

.btn-loading {
  position: relative;
  color: transparent;
}

.btn-spinner {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: currentColor;
}

/* Card Variants */
.card-elevated {
  box-shadow: var(--shadow-lg);
}

.card-outline {
  background: transparent;
  border: 2px solid var(--gray-3);
}

.card-glass {
  background: rgba(255, 255, 255, 0.7);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.3);
}

.card-sm {
  padding: 1rem;
}

.card-lg {
  padding: 3rem;
}

/* Form Field Styles */
.form-field {
  margin-bottom: 1.5rem;
}

.form-field:last-child {
  margin-bottom: 0;
}

/* Modal Styles */
.modal.flex {
  display: flex;
}

.modal-content {
  animation: modalSlideIn 200ms cubic-bezier(0.16, 1, 0.3, 1);
}

.modal.closing .modal-content {
  animation: modalSlideOut 150ms cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes modalSlideIn {
  from {
    opacity: 0;
    transform: translateY(-8px) scale(0.98);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@keyframes modalSlideOut {
  from {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
  to {
    opacity: 0;
    transform: translateY(-8px) scale(0.98);
  }
}

/* Dropdown Styles */
.dropdown {
  position: relative;
}

.dropdown-menu {
  background: var(--gray-0);
  border: 1px solid var(--gray-3);
  border-radius: 8px;
  box-shadow: var(--shadow-lg);
  min-width: 10rem;
}

.dropdown-menu button {
  width: 100%;
  padding: 0.5rem 1rem;
  text-align: left;
  font-size: 0.875rem;
  color: var(--gray-7);
  border: none;
  background: none;
  cursor: pointer;
  transition: background-color 150ms ease;
}

.dropdown-menu button:hover {
  background: var(--gray-1);
  color: var(--gray-9);
}

.dropdown-menu button:first-child {
  border-radius: 8px 8px 0 0;
}

.dropdown-menu button:last-child {
  border-radius: 0 0 8px 8px;
}

/* Line Clamp Utilities */
.line-clamp-1 {
  display: -webkit-box;
  -webkit-line-clamp: 1;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.line-clamp-2 {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* Additional utilities */
.aspect-video {
  aspect-ratio: 16 / 9;
}

.min-w-32 {
  min-width: 8rem;
}

/* Modern gradients and effects */
.bg-clip-text {
  -webkit-background-clip: text;
  background-clip: text;
}

.text-transparent {
  color: transparent;
}

.min-h-\[90vh\] {
  min-height: 90vh;
}

/* Enhanced responsive text */
.md\:text-7xl {
  font-size: clamp(3rem, 7vw, 4.5rem);
}

/* Background utilities */
.bg-white\/80 {
  background-color: rgba(255, 255, 255, 0.8);
}

/* Modern shadows */
.shadow-sm {
  box-shadow: 0 1px 2px 0 rgb(0 0 0 / 0.05);
}

/* Focus utilities */
.group-focus-within\:text-gray-600:focus-within {
  color: var(--gray-6);
}

/* Animation utilities */
.animate-spin {
  animation: spin 1s linear infinite;
}

@keyframes spin {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

@keyframes shake {
  0%, 100% { transform: translateX(0); }
  10%, 30%, 50%, 70%, 90% { transform: translateX(-4px); }
  20%, 40%, 60%, 80% { transform: translateX(4px); }
}

/* Revolutionary Virtual Venue Tour System */
.venue-tour-container {
  position: relative;
  width: 100%;
  height: 100vh;
  background: linear-gradient(135deg, var(--gray-900) 0%, var(--gray-800) 100%);
  overflow: hidden;
  font-family: var(--font-sans);
}

.tour-viewport {
  position: relative;
  width: 100%;
  height: 100%;
  border-radius: 24px;
  overflow: hidden;
  background: radial-gradient(ellipse at center, rgba(30, 41, 59, 0.8) 0%, rgba(15, 23, 42, 0.95) 100%);
  box-shadow: 
    inset 0 1px 0 rgba(255, 255, 255, 0.1),
    0 20px 40px rgba(0, 0, 0, 0.3);
}

.tour-canvas {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  cursor: grab;
  background: linear-gradient(45deg, #1a1a2e 0%, #16213e  50%, #0f172a 100%);
}

.tour-canvas:active {
  cursor: grabbing;
}

/* Atmospheric Overlay System */
.atmospheric-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 1;
}

.lighting-effects {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(
    ellipse at 50% 20%,
    rgba(255, 204, 128, 0.15) 0%,
    rgba(255, 204, 128, 0.05) 30%,
    transparent 60%
  );
  animation: lightingPulse 4s ease-in-out infinite;
}

.atmosphere-intimate .lighting-effects {
  background: radial-gradient(
    ellipse at 50% 50%,
    rgba(255, 179, 102, 0.2) 0%,
    rgba(255, 140, 66, 0.1) 40%,
    transparent 70%
  );
}

.atmosphere-energetic .lighting-effects {
  background: 
    radial-gradient(ellipse at 30% 30%, rgba(59, 130, 246, 0.2) 0%, transparent 50%),
    radial-gradient(ellipse at 70% 70%, rgba(251, 113, 133, 0.2) 0%, transparent 50%),
    radial-gradient(ellipse at 50% 50%, rgba(168, 85, 247, 0.1) 0%, transparent 60%);
  animation: energeticLighting 2s ease-in-out infinite alternate;
}

.atmosphere-elegant .lighting-effects {
  background: radial-gradient(
    ellipse at 50% 30%,
    rgba(255, 255, 255, 0.1) 0%,
    rgba(226, 232, 240, 0.05) 40%,
    transparent 70%
  );
}

.atmosphere-raw .lighting-effects {
  background: 
    linear-gradient(45deg, rgba(75, 85, 99, 0.1) 0%, transparent 50%),
    radial-gradient(ellipse at 80% 20%, rgba(239, 68, 68, 0.1) 0%, transparent 40%);
}

@keyframes lightingPulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.8; }
}

@keyframes energeticLighting {
  0% { filter: hue-rotate(0deg) brightness(1); }
  100% { filter: hue-rotate(20deg) brightness(1.2); }
}

/* Particle System */
.particle-system {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.particle {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
  animation: particleFloat 5s ease-in-out infinite;
}

.particle.warm-glow {
  width: 4px;
  height: 4px;
  background: radial-gradient(circle, rgba(255, 204, 128, 0.6) 0%, transparent 60%);
  animation: warmGlowFloat 6s ease-in-out infinite;
}

.particle.energy-sparks {
  width: 2px;
  height: 2px;
  background: radial-gradient(circle, rgba(59, 130, 246, 0.8) 0%, transparent 50%);
  animation: energySparkFloat 3s linear infinite;
}

.particle.soft-lights {
  width: 6px;
  height: 6px;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.3) 0%, transparent 70%);
  animation: softLightFloat 8s ease-in-out infinite;
}

.particle.dust-motes {
  width: 1px;
  height: 1px;
  background: rgba(156, 163, 175, 0.4);
  animation: dustMoteFloat 10s linear infinite;
}

@keyframes particleFloat {
  0%, 100% { 
    transform: translateY(0px) translateX(0px) scale(1);
    opacity: 0.6;
  }
  50% { 
    transform: translateY(-20px) translateX(10px) scale(1.2);
    opacity: 1;
  }
}

@keyframes warmGlowFloat {
  0%, 100% { 
    transform: translateY(0px) scale(1);
    opacity: 0.6;
  }
  33% { 
    transform: translateY(-15px) scale(1.3);
    opacity: 0.9;
  }
  66% { 
    transform: translateY(-5px) scale(0.8);
    opacity: 0.7;
  }
}

@keyframes energySparkFloat {
  0% { 
    transform: translateY(100%) scale(0);
    opacity: 0;
  }
  10% { 
    transform: translateY(90%) scale(1);
    opacity: 1;
  }
  90% { 
    transform: translateY(-10%) scale(1);
    opacity: 1;
  }
  100% { 
    transform: translateY(-20%) scale(0);
    opacity: 0;
  }
}

@keyframes softLightFloat {
  0%, 100% { 
    transform: translateY(0px) scale(1);
    opacity: 0.3;
  }
  50% { 
    transform: translateY(-30px) scale(1.1);
    opacity: 0.6;
  }
}

@keyframes dustMoteFloat {
  0% { 
    transform: translateY(100vh) translateX(0px);
    opacity: 0;
  }
  10%, 90% { 
    opacity: 0.4;
  }
  100% { 
    transform: translateY(-20px) translateX(50px);
    opacity: 0;
  }
}

/* Interactive Hotspots */
.hotspot-container {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 10;
}

.hotspot {
  position: absolute;
  transform: translate(-50%, -50%);
  cursor: pointer;
  z-index: 11;
}

.hotspot-marker {
  position: relative;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: rgba(59, 130, 246, 0.9);
  border: 2px solid rgba(255, 255, 255, 0.8);
  box-shadow: 
    0 4px 12px rgba(59, 130, 246, 0.4),
    0 0 0 0 rgba(59, 130, 246, 0.6);
  transition: all var(--duration-standard) var(--ease-out-expo);
  animation: hotspotPulse 2s ease-in-out infinite;
}

.hotspot-marker.highlighted {
  background: rgba(251, 113, 133, 0.9);
  border-color: rgba(255, 255, 255, 1);
  box-shadow: 
    0 6px 20px rgba(251, 113, 133, 0.5),
    0 0 0 0 rgba(251, 113, 133, 0.8);
  animation: highlightedHotspotPulse 1.5s ease-in-out infinite;
}

.hotspot:hover .hotspot-marker {
  transform: scale(1.3);
  box-shadow: 
    0 8px 24px rgba(59, 130, 246, 0.6),
    0 0 0 8px rgba(59, 130, 246, 0.2);
}

.hotspot-pulse {
  position: absolute;
  top: -4px;
  left: -4px;
  right: -4px;
  bottom: -4px;
  border: 2px solid rgba(59, 130, 246, 0.6);
  border-radius: 50%;
  animation: pulseRing 2s ease-out infinite;
}

.hotspot-icon {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 12px;
  height: 12px;
  background: var(--gray-0);
  border-radius: 2px;
}

.hotspot-tooltip {
  position: absolute;
  bottom: 120%;
  left: 50%;
  transform: translateX(-50%);
  background: rgba(0, 0, 0, 0.9);
  backdrop-filter: blur(12px);
  color: var(--gray-0);
  padding: 0.75rem 1rem;
  border-radius: 8px;
  font-size: 0.875rem;
  font-weight: 500;
  white-space: nowrap;
  opacity: 0;
  visibility: hidden;
  transition: all var(--duration-standard) var(--ease-out-expo);
  z-index: 20;
}

.hotspot-tooltip::after {
  content: '';
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  border: 6px solid transparent;
  border-top-color: rgba(0, 0, 0, 0.9);
}

.hotspot:hover .hotspot-tooltip {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(-4px);
}

.hotspot-tooltip h4 {
  margin: 0 0 0.25rem 0;
  font-size: 0.875rem;
  font-weight: 600;
}

.hotspot-tooltip p {
  margin: 0;
  font-size: 0.75rem;
  opacity: 0.9;
}

@keyframes hotspotPulse {
  0%, 100% { 
    transform: scale(1);
    opacity: 1;
  }
  50% { 
    transform: scale(1.05);
    opacity: 0.9;
  }
}

@keyframes highlightedHotspotPulse {
  0%, 100% { 
    transform: scale(1);
    box-shadow: 
      0 6px 20px rgba(251, 113, 133, 0.5),
      0 0 0 0 rgba(251, 113, 133, 0.8);
  }
  50% { 
    transform: scale(1.1);
    box-shadow: 
      0 8px 28px rgba(251, 113, 133, 0.7),
      0 0 0 4px rgba(251, 113, 133, 0.4);
  }
}

/* QR Scanner Styles */
.qr-video {
  width: 100%;
  max-width: 500px;
  height: auto;
  border-radius: 12px;
  background-color: #000;
}

.qr-scan-overlay {
  display: flex;
  align-items: center;
  justify-content: center;
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  pointer-events: none;
  z-index: 10;
}

.scan-region {
  position: relative;
  width: 250px;
  height: 250px;
  border: 2px solid rgba(255, 255, 255, 0.5);
  border-radius: 12px;
  background: rgba(0, 0, 0, 0.3);
}

.scan-corners {
  position: absolute;
  inset: -2px;
}

.corner {
  position: absolute;
  width: 20px;
  height: 20px;
  border: 3px solid #10b981;
}

.corner.top-left {
  top: 0;
  left: 0;
  border-right: none;
  border-bottom: none;
  border-top-left-radius: 12px;
}

.corner.top-right {
  top: 0;
  right: 0;
  border-left: none;
  border-bottom: none;
  border-top-right-radius: 12px;
}

.corner.bottom-left {
  bottom: 0;
  left: 0;
  border-right: none;
  border-top: none;
  border-bottom-left-radius: 12px;
}

.corner.bottom-right {
  bottom: 0;
  right: 0;
  border-left: none;
  border-top: none;
  border-bottom-right-radius: 12px;
}

.scan-line {
  position: absolute;
  top: 50%;
  left: 10px;
  right: 10px;
  height: 2px;
  background: linear-gradient(90deg, transparent, #10b981, transparent);
  animation: scan-line 2s ease-in-out infinite;
}

@keyframes scan-line {
  0%, 100% {
    transform: translateY(-50px);
    opacity: 0;
  }
  50% {
    transform: translateY(50px);
    opacity: 1;
  }
}

/* Mobile QR Scanner Optimizations */
@media (max-width: 768px) {
  .qr-video {
    max-width: 100%;
  }
  
  .scan-region {
    width: 200px;
    height: 200px;
  }
  
  .corner {
    width: 16px;
    height: 16px;
    border-width: 2px;
  }
}

/* Accessibility - Respect motion preferences */
@media (prefers-reduced-motion: reduce) {
  .scan-line {
    animation: none;
    opacity: 0.5;
  }
}

/* Scanner container styles */
#qr-scanner-container {
  min-height: 300px;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Scanner feedback styles */
.scan-feedback {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background: rgba(0, 0, 0, 0.8);
  color: white;
  padding: 1rem 1.5rem;
  border-radius: 8px;
  font-size: 0.875rem;
  z-index: 20;
  animation: scan-feedback 0.3s var(--ease-out-expo);
}

@keyframes scan-feedback {
  from {
    opacity: 0;
    transform: translate(-50%, -50%) scale(0.8);
  }
  to {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1);
  }
}

@keyframes pulseRing {
  0% {
    transform: scale(1);
    opacity: 0.6;
  }
  100% {
    transform: scale(2);
    opacity: 0;
  }
}

/* Tour Navigation Controls */
.tour-navigation {
  position: absolute;
  bottom: 2rem;
  right: 2rem;
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: 1fr 1fr;
  gap: 0.5rem;
  z-index: 15;
}

.nav-btn {
  width: 48px;
  height: 48px;
  background: rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 12px;
  color: var(--gray-0);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--duration-standard) var(--ease-out-expo);
  font-size: 0;
}

.nav-btn svg {
  width: 20px;
  height: 20px;
  transition: transform var(--duration-standard) var(--ease-out-expo);
}

.nav-btn:hover {
  background: rgba(0, 0, 0, 0.9);
  border-color: rgba(255, 255, 255, 0.4);
  transform: translateY(-2px) scale(1.05);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
}

.nav-btn:hover svg {
  transform: scale(1.1);
}

.nav-btn:active {
  transform: translateY(0) scale(0.95);
}

.nav-left { grid-column: 1; grid-row: 2; }
.nav-right { grid-column: 2; grid-row: 2; }
.nav-up { grid-column: 2; grid-row: 1; }
.nav-down { grid-column: 2; grid-row: 3; }

/* Scene Controls */
.scene-controls {
  position: absolute;
  top: 2rem;
  right: 2rem;
  display: flex;
  gap: 0.75rem;
  z-index: 15;
}

.control-btn {
  width: 56px;
  height: 56px;
  background: rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 16px;
  color: var(--gray-0);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--duration-standard) var(--ease-out-expo);
  font-size: 0;
}

.control-btn svg {
  width: 24px;
  height: 24px;
  transition: transform var(--duration-standard) var(--ease-out-expo);
}

.control-btn:hover {
  background: rgba(0, 0, 0, 0.9);
  border-color: rgba(255, 255, 255, 0.4);
  transform: translateY(-3px) scale(1.05);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.4);
}

.control-btn:hover svg {
  transform: scale(1.1) rotate(5deg);
}

.control-btn.active {
  background: rgba(59, 130, 246, 0.9);
  border-color: rgba(59, 130, 246, 1);
  box-shadow: 0 8px 24px rgba(59, 130, 246, 0.4);
}

.control-btn.active:hover {
  background: rgba(59, 130, 246, 1);
  box-shadow: 0 12px 32px rgba(59, 130, 246, 0.6);
}

/* Scene Information Panel */
.scene-info-panel {
  position: absolute;
  top: 2rem;
  left: 2rem;
  width: 320px;
  background: rgba(0, 0, 0, 0.8);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 20px;
  padding: 1.5rem;
  color: var(--gray-0);
  z-index: 15;
  transform: translateX(-100%);
  transition: transform var(--duration-complex) var(--ease-out-expo);
}

.scene-info-panel.visible {
  transform: translateX(0);
}

.scene-header {
  margin-bottom: 1.5rem;
}

.scene-title {
  font-size: 1.375rem;
  font-weight: 600;
  margin: 0 0 0.5rem 0;
  background: linear-gradient(135deg, var(--gray-0) 0%, var(--gray-3) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.scene-description {
  font-size: 0.875rem;
  line-height: 1.5;
  opacity: 0.9;
  margin: 0;
}

.scene-details {
  margin-bottom: 1.5rem;
}

.detail-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.5rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 0.875rem;
}

.detail-item:last-child {
  border-bottom: none;
}

.detail-label {
  font-weight: 500;
  opacity: 0.8;
}

.detail-value {
  font-weight: 600;
  color: var(--gray-0);
}

.scene-navigation h4 {
  font-size: 1rem;
  font-weight: 600;
  margin: 0 0 1rem 0;
  opacity: 0.9;
}

.scene-thumbnails {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.scene-thumbnail {
  width: 80px;
  height: 60px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 8px;
  cursor: pointer;
  overflow: hidden;
  transition: all var(--duration-standard) var(--ease-out-expo);
  position: relative;
}

.scene-thumbnail:hover {
  transform: scale(1.05);
  border-color: rgba(255, 255, 255, 0.4);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.thumbnail-image {
  width: 100%;
  height: 100%;
  background: linear-gradient(45deg, rgba(59, 130, 246, 0.3) 0%, rgba(168, 85, 247, 0.3) 100%);
}

.thumbnail-label {
  position: absolute;
  bottom: 0.25rem;
  left: 0.25rem;
  right: 0.25rem;
  font-size: 0.625rem;
  font-weight: 500;
  text-align: center;
  background: rgba(0, 0, 0, 0.7);
  border-radius: 4px;
  padding: 0.125rem 0.25rem;
}

/* Loading States */
.tour-loading {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.9);
  backdrop-filter: blur(20px);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 50;
}

.loading-animation {
  text-align: center;
  color: var(--gray-0);
}

.loading-sphere {
  width: 60px;
  height: 60px;
  margin: 0 auto 1.5rem;
  border: 3px solid rgba(255, 255, 255, 0.2);
  border-top-color: var(--gray-0);
  border-radius: 50%;
  animation: loadingSpin 1s linear infinite;
}

.loading-animation p {
  font-size: 1rem;
  font-weight: 500;
  opacity: 0.9;
  margin: 0;
  animation: loadingPulse 2s ease-in-out infinite;
}

@keyframes loadingSpin {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

@keyframes loadingPulse {
  0%, 100% { opacity: 0.9; }
  50% { opacity: 0.6; }
}

/* Responsive Design */
@media (max-width: 768px) {
  .scene-info-panel {
    position: static;
    width: 100%;
    transform: none;
    border-radius: 0;
    border-left: none;
    border-right: none;
  }
  
  .tour-navigation {
    bottom: 1rem;
    right: 1rem;
    gap: 0.25rem;
  }
  
  .nav-btn {
    width: 40px;
    height: 40px;
  }
  
  .nav-btn svg {
    width: 16px;
    height: 16px;
  }
  
  .scene-controls {
    top: 1rem;
    right: 1rem;
    gap: 0.5rem;
  }
  
  .control-btn {
    width: 44px;
    height: 44px;
  }
  
  .control-btn svg {
    width: 20px;
    height: 20px;
  }
  
  .scene-thumbnails {
    gap: 0.5rem;
  }
  
  .scene-thumbnail {
    width: 60px;
    height: 45px;
  }
  
  .thumbnail-label {
    font-size: 0.5rem;
  }
}

/* VR Mode Styles */
.venue-tour-container.vr-mode {
  background: #000;
}

.venue-tour-container.vr-mode .tour-viewport {
  border-radius: 0;
  background: #000;
}

/* Accessibility */
@media (prefers-reduced-motion: reduce) {
  .hotspot-marker,
  .particle,
  .lighting-effects {
    animation: none;
  }
  
  .tour-navigation .nav-btn:hover,
  .scene-controls .control-btn:hover,
  .scene-thumbnail:hover {
    transform: none;
  }
}

/* High contrast mode */
@media (prefers-contrast: high) {
  .hotspot-marker {
    border-width: 3px;
    border-color: var(--gray-0);
  }
  
  .nav-btn,
  .control-btn {
    border-width: 2px;
    border-color: var(--gray-0);
  }
}

/* Hero section utilities */
.top-1\/2 { top: 50%; }
.-translate-y-1\/2 { --tw-translate-y: -50%; transform: translateY(-50%); }
.focus\:ring-1:focus { box-shadow: 0 0 0 1px var(--gray-9); }
.focus\:ring-gray-900:focus { --tw-ring-color: var(--gray-9); }
.max-w-xl { max-width: 36rem; }
.pt-6 { padding-top: 1.5rem; }

/* Events page utilities */
.line-clamp-3 {
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.leading-tight { line-height: 1.25; }
.bg-green-500 { background-color: #10b981; }
.w-2 { width: 0.5rem; }
.h-2 { height: 0.5rem; }
.shadow-sm { box-shadow: var(--shadow-sm); }

/* List view styling */
.card.list-view {
  padding: 1.5rem;
  border-radius: 0.5rem;
}

.card.list-view .space-y-4 {
  display: flex;
  gap: 1.5rem;
  align-items: center;
}

.card.list-view .space-y-4 > div:first-child {
  flex: 1;
}

.card.list-view .space-y-4 > div:last-child {
  flex-shrink: 0;
}

/* Colors */
.text-blue-600 { color: #2563eb; }
.text-blue-700 { color: #1d4ed8; }
.border-blue-600 { border-color: #2563eb; }
.bg-blue-600 { background-color: #2563eb; }
.text-red-500 { color: #ef4444; }
.text-red-600 { color: #dc2626; }
.text-red-700 { color: #b91c1c; }
.bg-red-50 { background-color: #fef2f2; }
.bg-red-100 { background-color: #fee2e2; }
.border-red-300 { border-color: #fca5a5; }
.text-green-600 { color: #16a34a; }
.text-green-700 { color: #15803d; }
.bg-green-100 { background-color: #dcfce7; }
.bg-green-500 { background-color: #22c55e; }

/* Hover states for blue */
.hover\:text-blue-700:hover { color: #1d4ed8; }
.group-hover\:text-blue-700:group:hover { color: #1d4ed8; }

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

/* Opacity */
.opacity-50 { opacity: 0.5; }
.opacity-65 { opacity: 0.65; }
.opacity-70 { opacity: 0.7; }

/* Inline utilities */
.inline-flex { display: inline-flex; }

/* Smooth Scroll Behavior */
html {
  scroll-behavior: smooth;
}

/* Reduced Motion Support */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
  
  .animate-fade-in,
  .animate-slide-up,
  .animate-slide-up-stagger,
  .animate-scale-in {
    animation: none;
    opacity: 1;
    transform: none;
  }
}

/* High Performance Optimizations */
.will-change-transform { will-change: transform; }
.will-change-opacity { will-change: opacity; }
.will-change-auto { will-change: auto; }

/* GPU Acceleration */
.gpu-accelerate {
  transform: translateZ(0);
  backface-visibility: hidden;
  perspective: 1000px;
}

/* Mobile responsive */
@media (min-width: 640px) {
  .sm\:text-xl { font-size: 1.25rem; }
  .sm\:text-3xl { font-size: 1.875rem; }
  .sm\:text-8xl { font-size: 6rem; }
  .sm\:text-base { font-size: 1rem; }
  .sm\:flex-row { flex-direction: row; }
  .sm\:block { display: block; }
}

@media (max-width: 767px) {
  .md\:hidden { display: none; }
  .md\:flex { display: flex; }
}

@media (min-width: 768px) {
  .md\:flex { display: flex; }
  .md\:hidden { display: none; }
  .md\:grid-cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .md\:grid-cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .md\:text-4xl { font-size: 2.25rem; }
  .md\:text-5xl { font-size: 3rem; }
  .md\:text-6xl { font-size: 3.75rem; }
  .md\:text-9xl { font-size: 8rem; }
  .md\:gap-16 { gap: 4rem; }
  .md\:py-16 { padding-top: 4rem; padding-bottom: 4rem; }
  .md\:pt-16 { padding-top: 4rem; }
  .md\:mb-8 { margin-bottom: 2rem; }
  .md\:mb-4 { margin-bottom: 1rem; }
}

@media (min-width: 1024px) {
  .lg\:grid-cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .lg\:px-8 { padding-left: 2rem; padding-right: 2rem; }
  .lg\:gap-16 { gap: 4rem; }
}

/* Navigation */
.nav-mobile {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  background: var(--gray-0);
  z-index: 50;
  padding: 2rem;
}

.nav-mobile.hidden {
  display: none;
}

/* Prose styling for legal pages */
.prose {
  max-width: none;
}

.prose h1 {
  font-size: 2.25rem;
  font-weight: 700;
  margin-bottom: 1rem;
  margin-top: 0;
}

.prose h2 {
  font-size: 1.5rem;
  font-weight: 600;
  margin-bottom: 0.75rem;
  margin-top: 2rem;
}

.prose h3 {
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
  margin-top: 1.5rem;
}

.prose p {
  margin-bottom: 1rem;
  line-height: 1.7;
}

.prose ul {
  margin-bottom: 1rem;
  padding-left: 1.5rem;
}

.prose li {
  margin-bottom: 0.5rem;
}

.prose strong {
  font-weight: 600;
}

.prose-gray h1,
.prose-gray h2,
.prose-gray h3 {
  color: var(--gray-9);
}

.prose-gray p,
.prose-gray li {
  color: var(--gray-7);
}

.list-disc {
  list-style-type: disc;
}

.list-inside {
  list-style-position: inside;
}

/* Utilities */
.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;
}

/* Framer-Quality Loading States */
.skeleton {
  background: linear-gradient(
    90deg,
    var(--gray-100) 25%,
    var(--gray-50) 50%,
    var(--gray-100) 75%
  );
  background-size: 200% 100%;
  animation: skeleton-loading 2s infinite;
  border-radius: 8px;
}

@keyframes skeleton-loading {
  0% { background-position: -200% 0; }
  100% { background-position: 200% 0; }
}

.skeleton-text {
  height: 1em;
  margin-bottom: 0.5em;
}

.skeleton-text:last-child {
  width: 80%;
}

/* Floating Animation for Parallax Elements */
.animate-float {
  animation: float 6s ease-in-out infinite;
}

.animate-float-delayed {
  animation: float 6s ease-in-out infinite 2s;
}

.animate-float-slow {
  animation: float 8s ease-in-out infinite 1s;
}

@keyframes float {
  0%, 100% { transform: translateY(0px) rotate(0deg); }
  33% { transform: translateY(-20px) rotate(1deg); }
  66% { transform: translateY(-10px) rotate(-1deg); }
}

/* Enhanced Card Magnetic Effect */
.card-magnetic {
  will-change: transform;
  transition: all 300ms var(--ease-out-expo);
}

.card-magnetic:hover {
  transform: translateY(-4px) scale(1.01);
  box-shadow: 0 16px 32px rgba(0, 0, 0, 0.1);
}

/* Fade Out Animation */
.animate-fade-out {
  animation: fadeOut 200ms var(--ease-out-expo) forwards;
}

@keyframes fadeOut {
  to {
    opacity: 0;
    transform: translateY(-8px) scale(0.98);
  }
}

/* Success/Error State Animations */
.success-pulse {
  animation: successPulse 600ms var(--ease-out-expo);
}

.error-shake {
  animation: errorShake 600ms var(--ease-out-expo);
}

@keyframes successPulse {
  0% { transform: scale(1); }
  50% { transform: scale(1.05); background-color: rgba(16, 185, 129, 0.1); }
  100% { transform: scale(1); }
}

@keyframes errorShake {
  0%, 100% { transform: translateX(0); }
  10%, 30%, 50%, 70%, 90% { transform: translateX(-4px); }
  20%, 40%, 60%, 80% { transform: translateX(4px); }
}

/* Interactive Feedback */
.interactive {
  transition: all 200ms var(--ease-out-expo);
  cursor: pointer;
}

.interactive:hover {
  transform: translateY(-1px);
}

.interactive:active {
  transform: translateY(0) scale(0.98);
  transition: all 100ms var(--ease-anticipate);
}

/* Focus-visible improvements */
.focus-ring:focus-visible {
  outline: 2px solid var(--gray-900);
  outline-offset: 2px;
  border-radius: 4px;
}

/* Modern scroll indicators */
.scroll-indicator {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: linear-gradient(to right, var(--gray-900), var(--gray-600));
  transform-origin: left;
  transform: scaleX(0);
  z-index: 9999;
}

/* Advanced Blur Effects */
.blur-xs { filter: blur(2px); }
.blur-sm { filter: blur(4px); }
.blur-md { filter: blur(8px); }
.blur-lg { filter: blur(16px); }
.blur-xl { filter: blur(24px); }
.blur-2xl { filter: blur(40px); }
.blur-3xl { filter: blur(64px); }

/* Enhanced Search Results */
.search-results {
  backdrop-filter: blur(20px) saturate(180%);
  background: rgba(255, 255, 255, 0.98);
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 16px;
  box-shadow: 
    0 8px 32px rgba(0, 0, 0, 0.08),
    0 2px 8px rgba(0, 0, 0, 0.04);
  animation: slideIn 300ms var(--ease-out-expo);
}

.search-results .card-magnetic {
  cursor: pointer;
  border-radius: 12px;
}

.search-results .card-magnetic:hover {
  background: rgba(249, 250, 251, 0.8);
  transform: translateY(-2px) scale(1.005);
}

/* Layout Component System */
.page-header {
  background: var(--gray-0);
  border-bottom: 1px solid var(--gray-200);
  padding: 2rem 0;
}

.page-header .container {
  max-width: 1280px;
}

.page-header h1 {
  font-size: 2.5rem;
  font-weight: 300;
  color: var(--gray-900);
  margin-bottom: 0.5rem;
}

.page-header .breadcrumbs {
  margin-bottom: 1rem;
}

.page-header .breadcrumbs a {
  color: var(--gray-600);
  text-decoration: none;
  transition: color 200ms var(--ease-out-expo);
}

.page-header .breadcrumbs a:hover {
  color: var(--gray-900);
}

.dashboard-layout {
  min-height: 100vh;
  background: linear-gradient(135deg, var(--gray-25) 0%, var(--gray-50) 100%);
}

.dashboard-stats {
  background: var(--gray-50);
  border-bottom: 1px solid var(--gray-200);
  padding: 2rem 0;
}

.dashboard-stats .container {
  max-width: 1280px;
}

.dashboard-content {
  padding: 2rem 0;
}

.dashboard-content .container {
  max-width: 1280px;
}

.content-grid {
  display: grid;
  width: 100%;
}

.content-grid.grid-cols-1 {
  grid-template-columns: repeat(1, minmax(0, 1fr));
}

.content-grid.grid-cols-2 {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.content-grid.grid-cols-3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.content-grid.grid-cols-4 {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

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

@media (min-width: 769px) and (max-width: 1024px) {
  .content-grid.grid-cols-3,
  .content-grid.grid-cols-4 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 1025px) {
  .content-grid.grid-cols-4 {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

.empty-state {
  text-align: center;
  padding: 4rem 2rem;
  color: var(--gray-600);
}

.empty-state h3 {
  font-size: 1.25rem;
  font-weight: 500;
  color: var(--gray-900);
  margin-bottom: 0.5rem;
}

.empty-state p {
  font-size: 1rem;
  color: var(--gray-600);
  max-width: 28rem;
  margin: 0 auto 1.5rem;
}

.section-header {
  margin-bottom: 2rem;
}

.section-header h2 {
  font-size: 2rem;
  font-weight: 300;
  color: var(--gray-900);
  margin-bottom: 0.5rem;
}

.section-header p {
  font-size: 1.125rem;
  color: var(--gray-600);
}

.page-section {
  width: 100%;
}

.page-section .container {
  max-width: 1280px;
}

.split-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  align-items: start;
}

@media (min-width: 1024px) {
  .split-layout.lg\:grid-cols-2 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  
  .split-layout.lg\:grid-cols-3 {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
  
  .split-layout.lg\:grid-cols-5 {
    grid-template-columns: repeat(5, minmax(0, 1fr));
  }
}

.table-wrapper {
  border: 1px solid var(--gray-200);
  border-radius: 0.75rem;
  overflow: hidden;
  background: var(--gray-0);
}

.table-wrapper .overflow-x-auto {
  overflow-x: auto;
}

/* Dashboard-specific refinements */
.dashboard-layout .card {
  background: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.4);
  box-shadow: 
    0 4px 6px -1px rgba(0, 0, 0, 0.05),
    0 2px 4px -2px rgba(0, 0, 0, 0.05);
}

.dashboard-layout .card:hover {
  transform: translateY(-4px) scale(1.01);
  box-shadow: 
    0 16px 32px -8px rgba(0, 0, 0, 0.08),
    0 8px 16px -4px rgba(0, 0, 0, 0.04);
  border-color: rgba(255, 255, 255, 0.6);
}

/* Stats cards specific styling */
.dashboard-stats .card {
  min-height: 120px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
}

.dashboard-stats .card p {
  margin: 0;
}

/* Event list cards */
.dashboard-content .card {
  padding: 2rem;
  transition: all 300ms var(--ease-out-expo);
}

.dashboard-content .card h3 {
  font-size: 1.25rem;
  font-weight: 500;
  color: var(--gray-900);
  margin-bottom: 0.75rem;
}

/* Responsive dashboard adjustments */
@media (max-width: 768px) {
  .dashboard-layout {
    padding: 0;
  }
  
  .dashboard-stats,
  .dashboard-content {
    padding: 1.5rem 0;
  }
  
  .dashboard-stats .card,
  .dashboard-content .card {
    padding: 1.5rem;
  }
  
  .page-header {
    padding: 1.5rem 0;
  }
  
  .page-header h1 {
    font-size: 2rem;
  }
}

/* Container max-width consistency */
@media (min-width: 1281px) {
  .container,
  .page-header .container,
  .dashboard-stats .container,
  .dashboard-content .container {
    max-width: 1280px;
  }
}

/* Improved spacing for empty states */
.empty-state {
  padding: 6rem 2rem;
  max-width: 32rem;
  margin: 0 auto;
}

.empty-state .w-16 {
  margin-bottom: 2rem;
}

/* Button alignment improvements */
.dashboard-layout .btn {
  min-width: auto;
  white-space: nowrap;
}

.dashboard-layout .btn-sm {
  padding: 0.625rem 1.25rem;
  font-size: 0.875rem;
  min-height: 40px;
}

/* Ensure proper text alignment */
.text-center {
  text-align: center;
}

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

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