/* ==========================================================================
   RESAD.WORK — EXECUTIVE DESIGN SYSTEM & PRODUCTION STYLESHEET
   Clean, Zero-CDN-Runtime, WCAG 2.2 AA Compliant, Hardware-Accelerated
   ========================================================================== */

:root {
  color-scheme: dark;

  /* Color Tokens */
  --bg-primary: #09090b;
  --bg-surface: #121215;
  --bg-card: #151518;
  --bg-card-hover: #1c1c21;
  --bg-recessed: #0c0c0e;
  
  --border-subtle: #27272a;
  --border-card: #2e2e34;
  --border-card-hover: #52525b;
  --border-highlight: rgba(255, 255, 255, 0.12);

  --text-white: #ffffff;
  --text-silver: #f4f4f5;
  --text-body: #d4d4d8;
  --text-muted: #a1a1aa;
  --text-dim: #71717a;

  --accent-gold: #ff9900;
  --accent-gold-hover: #e68a00;
  --accent-emerald: #10b981;
  --accent-emerald-light: #34d399;
  --accent-emerald-bg: rgba(16, 185, 129, 0.12);
  --accent-danger: #ef4444;
  --accent-amber: #f59e0b;
  --accent-sky: #38bdf8;

  /* Typography */
  --font-sans: 'Plus Jakarta Sans', 'Inter', system-ui, -apple-system, sans-serif;
  --font-mono: 'JetBrains Mono', ui-monospace, SFMono-Regular, monospace;

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

  /* Shadows */
  --shadow-card: inset 0 1px 0 0 rgba(255, 255, 255, 0.08), 0 12px 28px -8px rgba(0, 0, 0, 0.85);
  --shadow-card-hover: inset 0 1px 0 0 rgba(255, 255, 255, 0.15), 0 20px 36px -10px rgba(0, 0, 0, 0.95), 0 0 0 1px rgba(255, 255, 255, 0.1);
  --shadow-glow-gold: 0 0 24px rgba(255, 153, 0, 0.25);
  --shadow-glow-emerald: 0 0 20px rgba(16, 185, 129, 0.2);
}

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

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  background-color: var(--bg-primary);
  color: var(--text-white);
  font-family: var(--font-sans);
  width: 100%;
  max-width: 100%;
  overflow-x: clip;
}

body {
  width: 100%;
  max-width: 100%;
  min-height: 100vh;
  font-size: 14.5px;
  line-height: 1.6;
  letter-spacing: 0.01em;
  background-color: var(--bg-primary);
  color: var(--text-white);
  overflow-x: clip;
  position: relative;
  text-rendering: optimizeLegibility;
}

header {
  width: 100%;
  max-width: 100vw;
  overflow-x: clip;
}

nav[aria-label="Mobil Bölmə Naviqasiyası"] {
  width: 100%;
  max-width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

.toast-container {
  width: calc(100vw - 2rem);
  max-width: 380px;
}

@media (min-width: 640px) {
  body {
    font-size: 15.5px;
  }
}

/* Headings text-wrap balance */
h1, h2, h3, h4, h5, h6 {
  text-wrap: balance;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--text-white);
}

p, li, caption {
  text-wrap: pretty;
}

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

/* High-Precision Architectural Grid */
.bg-executive-grid {
  background-color: var(--bg-primary);
  background-size: 40px 40px;
  background-image:
    linear-gradient(to right, rgba(255, 255, 255, 0.025) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255, 255, 255, 0.025) 1px, transparent 1px);
}

/* Custom Scrollbars */
::-webkit-scrollbar {
  width: 7px;
  height: 7px;
}
::-webkit-scrollbar-track {
  background: var(--bg-primary);
}
::-webkit-scrollbar-thumb {
  background: #27272a;
  border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
  background: #52525b;
}

/* Overflow Utilities */
.overflow-x-auto { overflow-x: auto; -webkit-overflow-scrolling: touch; }
.overflow-y-auto { overflow-y: auto; -webkit-overflow-scrolling: touch; }
.overflow-hidden { overflow: hidden; }
.overflow-x-hidden { overflow-x: hidden; }
.overflow-x-clip { overflow-x: clip; }
.min-w-0 { min-width: 0; }
.text-decoration-none { text-decoration: none; }

.no-scrollbar::-webkit-scrollbar {
  display: none;
}
.no-scrollbar {
  -ms-overflow-style: none;
  scrollbar-width: none;
}

/* Executive Cards */
.exec-card {
  background-color: var(--bg-card);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-card);
  transition: transform 0.22s cubic-bezier(0.16, 1, 0.3, 1),
              border-color 0.22s ease,
              background-color 0.22s ease,
              box-shadow 0.22s ease;
}

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

.exec-card-interactive {
  cursor: pointer;
}
.exec-card-interactive:hover,
.exec-card-interactive:focus-visible {
  transform: translateY(-3px);
  box-shadow: var(--shadow-card-hover);
  border-color: rgba(255, 255, 255, 0.3);
}

.recessed-box {
  background-color: var(--bg-recessed);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
}

/* Buttons & Tactile Interaction */
.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  background: var(--accent-gold);
  color: #000000;
  font-weight: 800;
  padding: 0.75rem 1.25rem;
  border-radius: var(--radius-md);
  border: none;
  cursor: pointer;
  box-shadow: 0 4px 14px rgba(255, 153, 0, 0.35);
  transition: transform 0.15s ease, background-color 0.15s ease, box-shadow 0.15s ease;
  user-select: none;
  touch-action: manipulation;
  text-decoration: none;
}
.btn-primary:hover {
  background: var(--accent-gold-hover);
  box-shadow: 0 6px 20px rgba(255, 153, 0, 0.5);
  transform: translateY(-1px);
}
.btn-primary:active {
  transform: scale(0.97);
}

.btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  background: var(--bg-surface);
  color: var(--text-white);
  border: 1px solid var(--border-card);
  font-weight: 700;
  padding: 0.75rem 1.25rem;
  border-radius: var(--radius-md);
  cursor: pointer;
  transition: transform 0.15s ease, background-color 0.15s ease, border-color 0.15s ease;
  user-select: none;
  touch-action: manipulation;
  text-decoration: none;
}
.btn-secondary:hover {
  background: #1f1f25;
  border-color: rgba(255, 255, 255, 0.35);
  transform: translateY(-1px);
}
.btn-secondary:active {
  transform: scale(0.97);
}

.btn-ghost {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.375rem;
  background: transparent;
  color: var(--text-body);
  border: 1px solid transparent;
  padding: 0.5rem 0.875rem;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: all 0.15s ease;
}
.btn-ghost:hover {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.08);
}

/* Keyboard Focus Rings */
:focus-visible {
  outline: 2px solid #ffffff;
  outline-offset: 3px;
  border-radius: var(--radius-sm);
}
:focus:not(:focus-visible) {
  outline: none;
}

html, body {
  max-width: 100%;
  overflow-x: hidden;
}

header {
  max-width: 100%;
  overflow-x: clip;
}

nav[aria-label="Mobil Bölmə Naviqasiyası"] {
  width: 100%;
  max-width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

.toast-container {
  max-width: min(380px, calc(100vw - 2rem));
}
section[id], #booking-section {
  scroll-margin-top: 5.5rem;
}

/* Skip link */
.skip-link {
  position: absolute;
  left: 1rem;
  top: -4rem;
  z-index: 100;
  padding: 0.6rem 1.2rem;
  border-radius: var(--radius-md);
  background: #ffffff;
  color: #000000;
  font-weight: 800;
  font-size: 0.85rem;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.5);
  transition: top 0.2s ease;
  text-decoration: none;
}
.skip-link:focus {
  top: 1rem;
}

/* Pulse animation */
@keyframes live-pulse {
  0%, 100% {
    transform: scale(1);
    opacity: 1;
  }
  50% {
    transform: scale(1.6);
    opacity: 0;
  }
}
.pulse-dot {
  position: relative;
  display: inline-flex;
  width: 8px;
  height: 8px;
}
.pulse-dot-ping {
  position: absolute;
  inset: 0;
  border-radius: 9999px;
  background: #34d399;
  animation: live-pulse 2s cubic-bezier(0, 0, 0.2, 1) infinite;
}
.pulse-dot-core {
  position: relative;
  display: inline-flex;
  width: 8px;
  height: 8px;
  border-radius: 9999px;
  background: #10b981;
}

/* Nav Link States */
.nav-link {
  position: relative;
  padding: 0.5rem 0.25rem;
  color: var(--text-body);
  font-size: 0.875rem;
  font-weight: 600;
  text-decoration: none;
  transition: color 0.15s ease;
}
.nav-link:hover {
  color: #ffffff;
}
.nav-link::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  right: 0;
  height: 2px;
  background: #ffffff;
  transform: scaleX(0);
  transition: transform 0.2s ease;
}
.nav-link.active {
  color: #ffffff;
}
.nav-link.active::after {
  transform: scaleX(1);
}

/* Mobile Quick Tabs */
.quick-tab {
  flex-shrink: 0;
  padding: 0.45rem 0.8rem;
  min-height: 38px;
  border-radius: var(--radius-sm);
  background: var(--bg-surface);
  border: 1px solid var(--border-card);
  font-weight: 700;
  font-size: 0.75rem;
  color: var(--text-body);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  transition: all 0.15s ease;
}
.quick-tab:active, .quick-tab.active {
  background: #ffffff;
  color: #000000;
  border-color: #ffffff;
}

/* Modals */
.modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 90;
  display: none;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, 0.88);
  backdrop-filter: blur(12px);
  padding: 1rem;
  overflow-y: auto;
  opacity: 0;
  transition: opacity 0.2s ease;
}
.modal-overlay.open {
  display: flex;
  opacity: 1;
}

.modal-content {
  width: 100%;
  max-width: 600px;
  background: var(--bg-card);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-2xl);
  overflow: hidden;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.9);
  transform: scale(0.96) translateY(8px);
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  margin: auto;
}
.modal-overlay.open .modal-content {
  transform: scale(1) translateY(0);
}

body.modal-open {
  overflow: hidden;
}

/* Toast Notifications */
.toast-container {
  position: fixed;
  top: 5.5rem;
  right: 1.5rem;
  z-index: 80;
  max-width: 380px;
  pointer-events: none;
}
@media (max-width: 640px) {
  .toast-container {
    top: 4.5rem;
    left: 1rem;
    right: 1rem;
    max-width: none;
  }
}

.toast-card {
  pointer-events: auto;
  background: var(--bg-card);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-lg);
  padding: 0.85rem 1rem;
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.85);
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  transform: translateY(-16px) scale(0.95);
  opacity: 0;
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.3s ease;
}
.toast-card.show {
  transform: translateY(0) scale(1);
  opacity: 1;
}

/* Add-on Calculator Switch */
.addon-toggle {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.85rem 1rem;
  background: var(--bg-recessed);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  cursor: pointer;
  transition: all 0.15s ease;
  user-select: none;
}
.addon-toggle:hover {
  border-color: var(--border-card-hover);
  background: #111114;
}
.addon-toggle.selected {
  border-color: var(--accent-gold);
  background: rgba(255, 153, 0, 0.06);
}

/* Video Player Simulation Frame */
.video-player-frame {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  background: #000000;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border-card);
}
.video-canvas {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.video-hud {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 1rem;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.6) 0%, transparent 30%, transparent 70%, rgba(0, 0, 0, 0.85) 100%);
  pointer-events: none;
}
.video-hud-interactive {
  pointer-events: auto;
}

/* Interactive Timeline Bar */
.video-timeline {
  width: 100%;
  height: 6px;
  background: rgba(255, 255, 255, 0.2);
  border-radius: 3px;
  cursor: pointer;
  position: relative;
  overflow: hidden;
}
.video-timeline-progress {
  height: 100%;
  background: var(--accent-gold);
  width: 0%;
  transition: width 0.1s linear;
}

/* Sound Switch Badge */
.sound-toggle-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.35rem 0.65rem;
  border-radius: var(--radius-full);
  background: var(--bg-surface);
  border: 1px solid var(--border-card);
  color: var(--text-body);
  font-size: 0.75rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.15s ease;
}
.sound-toggle-btn:hover {
  color: #ffffff;
  border-color: #ffffff;
}
.sound-toggle-btn.active {
  background: rgba(16, 185, 129, 0.15);
  border-color: rgba(16, 185, 129, 0.4);
  color: var(--accent-emerald-light);
}

/* Print Styles */
@media print {
  body {
    background: #ffffff !important;
    color: #000000 !important;
  }
  header, footer, .toast-container, #chat-widget-root, .btn-primary, .btn-secondary {
    display: none !important;
  }
  .modal-overlay.open {
    position: static !important;
    background: transparent !important;
    padding: 0 !important;
  }
  .modal-content {
    border: 2px solid #000000 !important;
    box-shadow: none !important;
    color: #000000 !important;
    max-width: 100% !important;
  }
}

/* Reduced Motion */
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto !important;
  }
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }
}


/* ==========================================================================
   LAYOUT & UTILITY SYSTEM (Zero-CDN, Fast Native CSS Grid/Flexbox)
   ========================================================================== */

/* Max Widths & Containers */
.max-w-7xl { max-width: 80rem; }
.max-w-4xl { max-width: 56rem; }
.max-w-3xl { max-width: 48rem; }
.max-w-2xl { max-width: 42rem; }
.max-w-xl { max-width: 36rem; }
.max-w-md { max-width: 28rem; }
.mx-auto { margin-left: auto; margin-right: auto; }
.w-full { width: 100%; }

/* Grid System */
.grid { display: grid; }
.grid-cols-1 { grid-template-columns: repeat(1, minmax(0, 1fr)); }
.col-span-full { grid-column: 1 / -1; }

@media (min-width: 640px) {
  .sm\:grid-cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .sm\:grid-cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (min-width: 768px) {
  .md\:grid-cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (min-width: 1024px) {
  .lg\:grid-cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .lg\:grid-cols-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .lg\:grid-cols-12 { grid-template-columns: repeat(12, minmax(0, 1fr)); }
  .lg\:col-span-7 { grid-column: span 7 / span 7; }
  .lg\:col-span-5 { grid-column: span 5 / span 5; }
}

/* Flexbox */
.flex { display: flex; }
.inline-flex { display: inline-flex; }
.flex-col { flex-direction: column; }
.items-center { align-items: center; }
.items-start { align-items: flex-start; }
.items-end { align-items: flex-end; }
.items-stretch { align-items: stretch; }
.justify-between { justify-content: space-between; }
.justify-center { justify-content: center; }
.justify-end { justify-content: flex-end; }
.flex-wrap { flex-wrap: wrap; }
.shrink-0 { flex-shrink: 0; }
.flex-1 { flex: 1 1 0%; }

/* Gaps */
.gap-1 { gap: 0.25rem; }
.gap-1\.5 { gap: 0.375rem; }
.gap-2 { gap: 0.5rem; }
.gap-2\.5 { gap: 0.625rem; }
.gap-3 { gap: 0.75rem; }
.gap-3\.5 { gap: 0.875rem; }
.gap-4 { gap: 1rem; }
.gap-5 { gap: 1.25rem; }
.gap-6 { gap: 1.5rem; }
.gap-8 { gap: 2rem; }
.gap-12 { gap: 3rem; }

/* Spacing Helpers */
.space-y-1 > * + * { margin-top: 0.25rem; }
.space-y-1\.5 > * + * { margin-top: 0.375rem; }
.space-y-2 > * + * { margin-top: 0.5rem; }
.space-y-2\.5 > * + * { margin-top: 0.625rem; }
.space-y-3 > * + * { margin-top: 0.75rem; }
.space-y-3\.5 > * + * { margin-top: 0.875rem; }
.space-y-4 > * + * { margin-top: 1rem; }
.space-y-5 > * + * { margin-top: 1.25rem; }
.space-y-6 > * + * { margin-top: 1.5rem; }

/* Padding & Margins */
.p-1 { padding: 0.25rem; }
.p-1\.5 { padding: 0.375rem; }
.p-2 { padding: 0.5rem; }
.p-2\.5 { padding: 0.625rem; }
.p-3 { padding: 0.75rem; }
.p-3\.5 { padding: 0.875rem; }
.p-4 { padding: 1rem; }
.p-5 { padding: 1.25rem; }
.p-6 { padding: 1.5rem; }
.p-7 { padding: 1.75rem; }

.px-2 { padding-left: 0.5rem; padding-right: 0.5rem; }
.px-2\.5 { padding-left: 0.625rem; padding-right: 0.625rem; }
.px-3 { padding-left: 0.75rem; padding-right: 0.75rem; }
.px-3\.5 { padding-left: 0.875rem; padding-right: 0.875rem; }
.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-0\.2 { padding-top: 0.125rem; padding-bottom: 0.125rem; }
.py-0\.5 { padding-top: 0.125rem; padding-bottom: 0.125rem; }
.py-1 { padding-top: 0.25rem; padding-bottom: 0.25rem; }
.py-1\.5 { padding-top: 0.375rem; padding-bottom: 0.375rem; }
.py-2 { padding-top: 0.5rem; padding-bottom: 0.5rem; }
.py-2\.5 { padding-top: 0.625rem; padding-bottom: 0.625rem; }
.py-3 { padding-top: 0.75rem; padding-bottom: 0.75rem; }
.py-3\.5 { padding-top: 0.875rem; padding-bottom: 0.875rem; }
.py-4 { padding-top: 1rem; padding-bottom: 1rem; }
.py-10 { padding-top: 2.5rem; padding-bottom: 2.5rem; }
.py-12 { padding-top: 3rem; padding-bottom: 3rem; }
.py-16 { padding-top: 4rem; padding-bottom: 4rem; }

.pt-1 { padding-top: 0.25rem; }
.pt-2 { padding-top: 0.5rem; }
.pt-3 { padding-top: 0.75rem; }
.pt-8 { padding-top: 2rem; }
.pb-2 { padding-bottom: 0.5rem; }
.pb-3 { padding-bottom: 0.75rem; }
.pb-4 { padding-bottom: 1rem; }
.pb-10 { padding-bottom: 2.5rem; }

.mt-0\.5 { margin-top: 0.125rem; }
.mt-1 { margin-top: 0.25rem; }
.mt-2 { margin-top: 0.5rem; }
.mt-2\.5 { margin-top: 0.625rem; }
.mt-3 { margin-top: 0.75rem; }
.mt-8 { margin-top: 2rem; }
.mb-1 { margin-bottom: 0.25rem; }
.mb-1\.5 { margin-bottom: 0.375rem; }
.mb-2 { margin-bottom: 0.5rem; }
.mb-3 { margin-bottom: 0.75rem; }
.mb-4 { margin-bottom: 1rem; }
.mb-5 { margin-bottom: 1.25rem; }
.mb-6 { margin-bottom: 1.5rem; }
.mb-8 { margin-bottom: 2rem; }
.mb-10 { margin-bottom: 2.5rem; }

.ml-auto { margin-left: auto; }
.ml-1 { margin-left: 0.25rem; }
.ml-2 { margin-left: 0.5rem; }

@media (min-width: 640px) {
  .sm\:p-4 { padding: 1rem; }
  .sm\:p-5 { padding: 1.25rem; }
  .sm\:p-6 { padding: 1.5rem; }
  .sm\:p-7 { padding: 1.75rem; }
  .sm\:px-6 { padding-left: 1.5rem; padding-right: 1.5rem; }
  .sm\:pt-14 { padding-top: 3.5rem; }
  .sm\:pb-16 { padding-bottom: 4rem; }
  .sm\:py-16 { padding-top: 4rem; padding-bottom: 4rem; }
  .sm\:mt-12 { margin-top: 3rem; }
  .sm\:w-64 { width: 16rem; }
  .sm\:w-\[380px\] { width: 380px; }
  .sm\:flex-row { flex-direction: row; }
}

@media (min-width: 1024px) {
  .lg\:px-8 { padding-left: 2rem; padding-right: 2rem; }
  .lg\:pt-16 { padding-top: 4rem; }
  .lg\:py-16 { padding-top: 4rem; padding-bottom: 4rem; }
}

/* Typography Helpers */
.text-\[9px\] { font-size: 9px; }
.text-\[10px\] { font-size: 10px; }
.text-\[11px\] { font-size: 11px; }
.text-xs { font-size: 0.75rem; line-height: 1rem; }
.text-sm { font-size: 0.875rem; line-height: 1.25rem; }
.text-base { font-size: 1rem; line-height: 1.5rem; }
.text-lg { font-size: 1.125rem; line-height: 1.75rem; }
.text-xl { font-size: 1.25rem; line-height: 1.75rem; }
.text-2xl { font-size: 1.5rem; line-height: 2rem; }
.text-3xl { font-size: 1.875rem; line-height: 2.25rem; }
.text-4xl { font-size: 2.25rem; line-height: 2.5rem; }
.text-5xl { font-size: 3rem; line-height: 1; }
.text-6xl { font-size: 3.75rem; line-height: 1; }

.font-normal { font-weight: 400; }
.font-medium { font-weight: 500; }
.font-semibold { font-weight: 600; }
.font-bold { font-weight: 700; }
.font-extrabold { font-weight: 800; }
.font-black { font-weight: 900; }
.font-mono { font-family: var(--font-mono); }

.tracking-tight { letter-spacing: -0.025em; }
.tracking-normal { letter-spacing: 0em; }
.tracking-wider { letter-spacing: 0.05em; }
.tracking-widest { letter-spacing: 0.1em; }
.uppercase { text-transform: uppercase; }
.text-center { text-align: center; }
.text-right { text-align: right; }
.leading-tight { line-height: 1.25; }
.leading-snug { line-height: 1.375; }
.leading-relaxed { line-height: 1.625; }
.line-clamp-2 {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.truncate {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.break-all { word-break: break-all; }
.underline { text-decoration: underline; }

/* Colors */
.text-white { color: #ffffff; }
.text-black { color: #000000; }
.text-accent-gold { color: var(--accent-gold); }
.text-emerald-400 { color: #34d399; }
.text-red-400 { color: #f87171; }
.text-amber-300 { color: #fcd34d; }
.text-text-body { color: var(--text-body); }
.text-text-muted { color: var(--text-muted); }

.bg-white { background-color: #ffffff; }
.bg-black { background-color: #000000; }
.bg-accent-gold { background-color: var(--accent-gold); }
.bg-bg-surface { background-color: var(--bg-surface); }
.bg-bg-card { background-color: var(--bg-card); }
.bg-emerald-400 { background-color: #34d399; }
.bg-red-500 { background-color: #ef4444; }
.bg-amber-400 { background-color: #fbbf24; }

.bg-white\/5 { background-color: rgba(255, 255, 255, 0.05); }
.bg-white\/10 { background-color: rgba(255, 255, 255, 0.1); }
.bg-black\/80 { background-color: rgba(0, 0, 0, 0.8); }
.bg-black\/85 { background-color: rgba(0, 0, 0, 0.85); }
.bg-accent-gold\/15 { background-color: rgba(255, 153, 0, 0.15); }
.bg-emerald-500\/10 { background-color: rgba(16, 185, 129, 0.1); }
.bg-emerald-500\/15 { background-color: rgba(16, 185, 129, 0.15); }
.bg-emerald-500\/20 { background-color: rgba(16, 185, 129, 0.2); }
.bg-amber-500\/15 { background-color: rgba(245, 158, 11, 0.15); }
.bg-red-500\/15 { background-color: rgba(239, 68, 68, 0.15); }

/* Borders */
.border { border: 1px solid var(--border-card); }
.border-2 { border: 2px solid #ffffff; }
.border-b { border-bottom: 1px solid var(--border-card); }
.border-t { border-top: 1px solid var(--border-card); }
.border-dashed { border-style: dashed; }
.border-border-card { border-color: var(--border-card); }
.border-border-subtle { border-color: var(--border-subtle); }
.border-white\/10 { border-color: rgba(255, 255, 255, 0.1); }
.border-white\/20 { border-color: rgba(255, 255, 255, 0.2); }
.border-emerald-500\/25 { border-color: rgba(16, 185, 129, 0.25); }
.border-emerald-500\/30 { border-color: rgba(16, 185, 129, 0.3); }
.border-emerald-500\/40 { border-color: rgba(16, 185, 129, 0.4); }
.border-amber-500\/30 { border-color: rgba(245, 158, 11, 0.3); }
.border-red-500\/30 { border-color: rgba(239, 68, 68, 0.3); }

/* Rounded */
.rounded { border-radius: var(--radius-sm); }
.rounded-md { border-radius: var(--radius-md); }
.rounded-lg { border-radius: var(--radius-lg); }
.rounded-xl { border-radius: var(--radius-xl); }
.rounded-2xl { border-radius: var(--radius-2xl); }
.rounded-full { border-radius: var(--radius-full); }
.rounded-tl-sm { border-top-left-radius: 4px; }
.rounded-tr-sm { border-top-right-radius: 4px; }

/* Display & Positioning */
.hidden { display: none !important; }
.block { display: block; }
.inline-block { display: inline-block; }
.relative { position: relative; }
.absolute { position: absolute; }
.fixed { position: fixed; }
.sticky { position: sticky; }
.inset-0 { inset: 0; }
.top-0 { top: 0; }
.top-2 { top: 0.5rem; }
.bottom-2 { bottom: 0.5rem; }
.bottom-3 { bottom: 0.75rem; }
.bottom-4 { bottom: 1rem; }
.left-0 { left: 0; }
.left-2 { left: 0.5rem; }
.left-3 { left: 0.75rem; }
.right-0 { right: 0; }
.right-2 { right: 0.5rem; }
.right-3 { right: 0.75rem; }
.right-4 { right: 1rem; }
.z-10 { z-index: 10; }
.z-20 { z-index: 20; }
.z-40 { z-index: 40; }

.w-2 { width: 0.5rem; }
.w-2\.5 { width: 0.625rem; }
.w-3\.5 { width: 0.875rem; }
.w-5 { width: 1.25rem; }
.w-6 { width: 1.5rem; }
.w-7 { width: 1.75rem; }
.w-8 { width: 2rem; }
.w-9 { width: 2.25rem; }
.w-10 { width: 2.5rem; }
.w-12 { width: 3rem; }
.h-2 { height: 0.5rem; }
.h-2\.5 { height: 0.625rem; }
.h-3\.5 { height: 0.875rem; }
.h-5 { height: 1.25rem; }
.h-6 { height: 1.5rem; }
.h-7 { height: 1.75rem; }
.h-8 { height: 2rem; }
.h-9 { height: 2.25rem; }
.h-10 { height: 2.5rem; }
.h-12 { height: 3rem; }
.h-16 { height: 4rem; }
.h-20 { height: 5rem; }
.h-56 { height: 14rem; }
.max-h-\[75vh\] { max-height: 75vh; }
.max-h-32 { max-height: 8rem; }

.aspect-video { aspect-ratio: 16 / 9; }
.aspect-\[4\/3\.8\] { aspect-ratio: 4 / 3.8; }
.object-cover { object-fit: cover; }
.object-center { object-position: center; }

.shadow-lg { box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.4); }
.shadow-xl { box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.5); }
.shadow-2xl { box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.7); }

.select-none { user-select: none; }
.cursor-pointer { cursor: pointer; }
.cursor-not-allowed { cursor: not-allowed; }
.opacity-50 { opacity: 0.5; }
.opacity-80 { opacity: 0.8; }
.transition-transform { transition: transform 0.2s ease; }
.transition-colors { transition: color 0.15s ease, background-color 0.15s ease, border-color 0.15s ease; }
.transition-all { transition: all 0.2s ease; }
.duration-500 { transition-duration: 500ms; }
.duration-1000 { transition-duration: 1000ms; }
.hover\:scale-105:hover { transform: scale(1.05); }
.group:hover .group-hover\:scale-110 { transform: scale(1.1); }
.group:hover .group-hover\:text-accent-gold { color: var(--accent-gold); }

/* Backdrop Blur */
.backdrop-blur-md { backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); }
