/* ===================================
   B4GAI Design System - Core Tech Aesthetic
   =================================== */

/* Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Hanken+Grotesk:wght@400;600;700&family=Inter:wght@400;500&family=JetBrains+Mono:wght@500&display=swap');

/* CSS Custom Properties (Design Tokens) */
:root {
  /* Colors */
  --color-primary: #4648d4;
  --color-primary-container: #6063ee;
  --color-on-primary: #ffffff;
  --color-on-primary-container: #fffbff;
  --color-primary-fixed: #e1e0ff;
  --color-primary-fixed-dim: #c0c1ff;
  --color-on-primary-fixed: #07006c;
  --color-on-primary-fixed-variant: #2f2ebe;

  --color-secondary: #565e74;
  --color-secondary-container: #dae2fd;
  --color-on-secondary: #ffffff;
  --color-on-secondary-container: #5c647a;
  --color-secondary-fixed: #dae2fd;
  --color-secondary-fixed-dim: #bec6e0;
  --color-on-secondary-fixed: #131b2e;
  --color-on-secondary-fixed-variant: #3f465c;

  --color-tertiary: #595c5e;
  --color-tertiary-container: #727577;
  --color-on-tertiary: #ffffff;
  --color-on-tertiary-container: #fbfdff;
  --color-tertiary-fixed: #e0e3e5;
  --color-tertiary-fixed-dim: #c4c7c9;
  --color-on-tertiary-fixed: #191c1e;
  --color-on-tertiary-fixed-variant: #444749;

  --color-surface: #f8f9ff;
  --color-surface-bright: #f8f9ff;
  --color-surface-dim: #cbdbf5;
  --color-surface-variant: #d3e4fe;
  --color-surface-container-lowest: #ffffff;
  --color-surface-container-low: #eff4ff;
  --color-surface-container: #e5eeff;
  --color-surface-container-high: #dce9ff;
  --color-surface-container-highest: #d3e4fe;
  --color-on-surface: #0b1c30;
  --color-on-surface-variant: #464554;

  --color-inverse-surface: #213145;
  --color-inverse-on-surface: #eaf1ff;
  --color-inverse-primary: #c0c1ff;

  --color-outline: #767586;
  --color-outline-variant: #c7c4d7;
  --color-surface-tint: #494bd6;

  --color-error: #ba1a1a;
  --color-on-error: #ffffff;
  --color-error-container: #ffdad6;
  --color-on-error-container: #93000a;

  --color-background: #f8f9ff;
  --color-on-background: #0b1c30;

  /* Typography */
  --font-headline: 'Hanken Grotesk', system-ui, sans-serif;
  --font-body: 'Inter', system-ui, sans-serif;
  --font-mono: 'JetBrains Mono', monospace;

  /* Spacing */
  --space-base: 8px;
  --space-gutter: 24px;
  --space-margin-desktop: 64px;
  --space-margin-tablet: 32px;
  --space-margin-mobile: 20px;
  --container-max: 1440px;

  /* Border Radius */
  --radius-sm: 0.125rem;
  --radius-md: 0.25rem;
  --radius-lg: 0.375rem;
  --radius-xl: 0.5rem;
  --radius-2xl: 0.75rem;
  --radius-full: 9999px;

  /* Transitions */
  --transition-fast: 150ms ease;
  --transition-normal: 300ms ease;
  --transition-slow: 500ms ease;
}

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

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

body {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  color: var(--color-on-surface);
  background-color: var(--color-background);
  overflow-x: hidden;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-headline);
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: -0.01em;
}

.display-lg {
  font-size: clamp(40px, 5vw, 64px);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.02em;
}

.headline-xl {
  font-size: clamp(32px, 4vw, 48px);
  font-weight: 600;
  line-height: 1.2;
}

.headline-lg {
  font-size: clamp(24px, 3vw, 32px);
  font-weight: 600;
  line-height: 1.3;
}

.headline-md {
  font-size: 24px;
  font-weight: 600;
  line-height: 1.4;
}

.body-lg {
  font-size: 18px;
  font-weight: 400;
  line-height: 1.6;
}

.body-md {
  font-size: 16px;
  font-weight: 400;
  line-height: 1.6;
}

.label-md {
  font-family: var(--font-mono);
  font-size: 14px;
  font-weight: 500;
  line-height: 1.2;
  letter-spacing: 0.05em;
}

.label-sm {
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 500;
  line-height: 1.2;
  letter-spacing: 0.08em;
}

/* Material Symbols */
.material-symbols-outlined {
  font-variation-settings: 'FILL' 0, 'wght' 400, 'GRAD' 0, 'opsz' 24;
  vertical-align: middle;
}

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

@media (min-width: 768px) {
  .container {
    padding: 0 var(--space-margin-tablet);
  }
}

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

/* Navigation */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  background: rgba(248, 249, 255, 0.8);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(199, 196, 215, 0.3);
  padding: 16px 0;
}

.nav-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.nav-brand {
  font-family: var(--font-headline);
  font-size: 24px;
  font-weight: 700;
  color: var(--color-on-surface);
  text-decoration: none;
  letter-spacing: -0.02em;
}

.nav-links {
  display: none;
  gap: 32px;
}

@media (min-width: 768px) {
  .nav-links {
    display: flex;
  }
}

.nav-link {
  font-family: var(--font-mono);
  font-size: 14px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--color-on-surface-variant);
  text-decoration: none;
  transition: color var(--transition-fast);
  padding-bottom: 4px;
  border-bottom: 2px solid transparent;
}

.nav-link:hover {
  color: var(--color-primary);
}

.nav-link.active {
  color: var(--color-primary);
  border-bottom-color: var(--color-primary);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 24px;
}

.nav-icon-btn {
  background: none;
  border: none;
  cursor: pointer;
  color: var(--color-on-surface-variant);
  transition: color var(--transition-fast);
  padding: 4px;
}

.nav-icon-btn:hover {
  color: var(--color-primary);
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 16px 40px;
  font-family: var(--font-mono);
  font-size: 14px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  border-radius: var(--radius-md);
  cursor: pointer;
  transition: all var(--transition-fast);
  text-decoration: none;
  border: none;
}

.btn:active {
  transform: scale(0.96);
}

.btn-primary {
  background-color: var(--color-primary);
  color: var(--color-on-primary);
}

.btn-primary:hover {
  background-color: var(--color-primary-container);
}

.btn-secondary {
  background-color: transparent;
  color: var(--color-on-surface);
  border: 1px solid var(--color-outline-variant);
}

.btn-secondary:hover {
  border-color: var(--color-primary);
  color: var(--color-primary);
}

.btn-outline {
  background-color: transparent;
  color: var(--color-on-surface);
  border: 1px solid var(--color-outline-variant);
}

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

.btn-white {
  background-color: #ffffff;
  color: var(--color-on-surface);
}

.btn-white:hover {
  background-color: var(--color-primary);
  color: white;
}

.btn-dark {
  background-color: var(--color-on-surface);
  color: white;
}

.btn-dark:hover {
  background-color: var(--color-primary);
}

/* Cards */
.card {
  background-color: var(--color-surface-container-low);
  border-radius: var(--radius-xl);
  overflow: hidden;
  transition: all var(--transition-normal);
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 40px rgba(11, 28, 48, 0.1);
}

.card-image {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  transition: transform var(--transition-slow);
}

.card:hover .card-image {
  transform: scale(1.05);
}

.card-content {
  padding: 24px;
}

/* Product Card */
.product-card {
  position: relative;
}

.product-card-image {
  position: relative;
  aspect-ratio: 4/5;
  background-color: var(--color-surface-container-high);
  overflow: hidden;
  border-radius: var(--radius-xl);
}

.product-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-slow);
}

.product-card:hover .product-card-image img {
  transform: scale(1.1);
}

.product-card-badge {
  position: absolute;
  top: 16px;
  left: 16px;
  background-color: var(--color-primary);
  color: white;
  padding: 6px 12px;
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  border-radius: var(--radius-full);
}

.product-card-actions {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background-color: var(--color-on-surface);
  color: white;
  padding: 16px;
  font-family: var(--font-mono);
  font-size: 14px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  text-align: center;
  transform: translateY(100%);
  transition: transform var(--transition-normal);
}

.product-card:hover .product-card-actions {
  transform: translateY(0);
}

.product-card-category {
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--color-on-surface-variant);
  margin-bottom: 8px;
}

.product-card-title {
  font-family: var(--font-headline);
  font-size: 24px;
  font-weight: 600;
  margin-bottom: 8px;
}

.product-card-price {
  font-family: var(--font-mono);
  font-size: 14px;
  font-weight: 500;
  color: var(--color-outline);
}

/* Badge */
.badge {
  display: inline-block;
  padding: 4px 12px;
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  border-radius: var(--radius-full);
}

.badge-primary {
  background-color: var(--color-primary);
  color: white;
}

.badge-secondary {
  background-color: var(--color-secondary-container);
  color: var(--color-on-secondary-container);
}

/* Input Fields */
.input {
  width: 100%;
  background-color: var(--color-surface-container-low);
  border: none;
  border-bottom: 1px solid var(--color-outline-variant);
  padding: 12px 8px;
  font-family: var(--font-body);
  font-size: 16px;
  color: var(--color-on-surface);
  transition: border-color var(--transition-fast);
  outline: none;
}

.input:focus {
  border-bottom-color: var(--color-primary);
  border-bottom-width: 2px;
}

.input::placeholder {
  color: var(--color-outline);
}

/* Checkbox & Radio */
.checkbox,
.radio {
  width: 20px;
  height: 20px;
  border: 1px solid var(--color-outline-variant);
  background-color: transparent;
  cursor: pointer;
  accent-color: var(--color-primary);
}

/* Select */
.select {
  width: 100%;
  background-color: var(--color-surface);
  border: 1px solid var(--color-outline-variant);
  border-radius: var(--radius-lg);
  padding: 8px 40px 8px 16px;
  font-family: var(--font-mono);
  font-size: 14px;
  font-weight: 500;
  color: var(--color-on-surface);
  cursor: pointer;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%23767586' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
  background-size: 20px;
}

.select:focus {
  outline: none;
  border-color: var(--color-primary);
}

/* Range Slider */
.range-slider {
  width: 100%;
  height: 4px;
  background-color: var(--color-outline-variant);
  border-radius: var(--radius-full);
  appearance: none;
  cursor: pointer;
  accent-color: var(--color-primary);
}

/* Grid Layouts */
.grid {
  display: grid;
  gap: var(--space-gutter);
}

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

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

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

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

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

/* Bento Grid */
.bento-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-template-rows: repeat(2, 400px);
  gap: var(--space-base);
  height: 800px;
}

.bento-item-large {
  grid-column: span 2;
  grid-row: span 2;
}

.bento-item-wide {
  grid-column: span 2;
}

@media (max-width: 768px) {
  .bento-grid {
    grid-template-columns: 1fr;
    grid-template-rows: auto;
    height: auto;
  }

  .bento-item-large,
  .bento-item-wide {
    grid-column: span 1;
    grid-row: span 1;
    height: 400px;
  }
}

/* Glass Effect */
.glass {
  background: rgba(255, 255, 255, 0.7);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

/* Scrollbar */
::-webkit-scrollbar {
  width: 6px;
  height: 6px;
}

::-webkit-scrollbar-track {
  background: var(--color-surface);
}

::-webkit-scrollbar-thumb {
  background: var(--color-outline);
  border-radius: 10px;
}

::-webkit-scrollbar-thumb:hover {
  background: var(--color-primary);
}

/* Selection */
::selection {
  background-color: rgba(70, 72, 212, 0.2);
}

/* Utilities */
.text-primary { color: var(--color-primary); }
.text-on-primary { color: var(--color-on-primary); }
.text-on-surface { color: var(--color-on-surface); }
.text-on-surface-variant { color: var(--color-on-surface-variant); }
.text-outline { color: var(--color-outline); }

.bg-primary { background-color: var(--color-primary); }
.bg-surface { background-color: var(--color-surface); }
.bg-surface-container-low { background-color: var(--color-surface-container-low); }
.bg-surface-container-high { background-color: var(--color-surface-container-high); }
.bg-surface-container-lowest { background-color: var(--color-surface-container-lowest); }
.bg-on-surface { background-color: var(--color-on-surface); }
.bg-on-background { background-color: var(--color-on-background); }

.border-outline { border-color: var(--color-outline); }
.border-outline-variant { border-color: var(--color-outline-variant); }
.border-primary { border-color: var(--color-primary); }

.rounded-md { border-radius: var(--radius-md); }
.rounded-lg { border-radius: var(--radius-lg); }
.rounded-xl { border-radius: var(--radius-xl); }
.rounded-full { border-radius: var(--radius-full); }

.transition-all { transition: all var(--transition-normal); }
.transition-fast { transition: all var(--transition-fast); }

/* Footer */
.footer {
  background-color: var(--color-surface-container-lowest);
  border-top: 1px solid var(--color-outline-variant);
  padding: 64px 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
}

@media (max-width: 768px) {
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }
}

.footer-title {
  font-family: var(--font-headline);
  font-size: 18px;
  font-weight: 700;
  color: var(--color-on-surface);
  margin-bottom: 16px;
}

.footer-text {
  font-size: 16px;
  color: var(--color-on-surface-variant);
  line-height: 1.6;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-link {
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--color-on-surface-variant);
  text-decoration: none;
  transition: color var(--transition-fast);
}

.footer-link:hover {
  color: var(--color-primary);
}

.footer-bottom {
  margin-top: 64px;
  padding-top: 32px;
  border-top: 1px solid rgba(199, 196, 215, 0.3);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
}

.footer-copyright {
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 500;
  color: var(--color-on-surface-variant);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

/* Carousel */
.carousel {
  display: flex;
  gap: 32px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  -ms-overflow-style: none;
  scrollbar-width: none;
}

.carousel::-webkit-scrollbar {
  display: none;
}

.carousel-item {
  flex-shrink: 0;
  scroll-snap-align: start;
  min-width: 300px;
}

@media (min-width: 768px) {
  .carousel-item {
    min-width: 400px;
  }
}

/* Progress Bar */
.progress-bar {
  width: 100%;
  height: 2px;
  background-color: rgba(199, 196, 215, 0.3);
  position: relative;
}

.progress-bar-fill {
  position: absolute;
  left: 0;
  top: 0;
  height: 100%;
  background-color: var(--color-primary);
  transition: width var(--transition-normal);
}

/* Tabs */
.tabs {
  display: flex;
  gap: 8px;
  border-bottom: 1px solid var(--color-outline-variant);
}

.tab {
  padding: 12px 24px;
  font-family: var(--font-mono);
  font-size: 14px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--color-on-surface-variant);
  background: none;
  border: none;
  cursor: pointer;
  position: relative;
  transition: color var(--transition-fast);
}

.tab:hover {
  color: var(--color-primary);
}

.tab.active {
  color: var(--color-primary);
}

.tab.active::after {
  content: '';
  position: absolute;
  bottom: -1px;
  left: 0;
  right: 0;
  height: 2px;
  background-color: var(--color-primary);
}

/* Steps */
.step {
  display: flex;
  align-items: center;
  gap: 12px;
}

.step-number {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-mono);
  font-size: 14px;
  font-weight: 500;
}

.step-number-active {
  background-color: var(--color-primary);
  color: white;
}

.step-number-inactive {
  background-color: var(--color-surface-container-high);
  color: var(--color-on-surface-variant);
  border: 1px solid var(--color-outline-variant);
}

.step-connector {
  flex: 1;
  height: 1px;
  background-color: var(--color-outline-variant);
}

/* Spec Card */
.spec-card {
  background-color: white;
  border: 1px solid var(--color-outline-variant);
  padding: 32px;
  border-radius: var(--radius-xl);
  transition: box-shadow var(--transition-normal);
}

.spec-card:hover {
  box-shadow: 0 10px 30px rgba(11, 28, 48, 0.08);
}

/* Review Card */
.review-card {
  border-bottom: 1px solid rgba(199, 196, 215, 0.3);
  padding-bottom: 32px;
}

.review-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 16px;
}

.review-avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background-color: var(--color-surface-container);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  color: var(--color-primary);
}

.review-meta {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--color-outline);
}

/* Rating Stars */
.rating {
  display: flex;
  align-items: center;
  gap: 2px;
  color: var(--color-primary);
}

.rating-empty {
  color: var(--color-outline-variant);
}

/* Sticky Bar */
.sticky-bar {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background-color: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-top: 1px solid var(--color-outline-variant);
  padding: 16px 0;
  transform: translateY(100%);
  transition: transform var(--transition-normal);
  z-index: 50;
}

.sticky-bar.visible {
  transform: translateY(0);
}

/* Toast Notification */
.toast {
  position: fixed;
  bottom: 24px;
  right: 24px;
  background-color: var(--color-on-surface);
  color: white;
  padding: 16px 24px;
  border-radius: var(--radius-lg);
  font-family: var(--font-mono);
  font-size: 14px;
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 8px;
  transform: translateY(100px);
  opacity: 0;
  transition: all var(--transition-normal);
  z-index: 100;
}

.toast.show {
  transform: translateY(0);
  opacity: 1;
}

/* Filter Chip */
.filter-chip {
  padding: 8px 12px;
  border: 1px solid var(--color-outline-variant);
  border-radius: var(--radius-lg);
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 500;
  background: none;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.filter-chip:hover {
  border-color: var(--color-primary);
  color: var(--color-primary);
}

.filter-chip.active {
  background-color: var(--color-primary);
  border-color: var(--color-primary);
  color: white;
}

/* Sidebar */
.sidebar {
  width: 288px;
  flex-shrink: 0;
  position: sticky;
  top: 128px;
  height: calc(100vh - 160px);
  overflow-y: auto;
  padding-right: 16px;
}

.sidebar::-webkit-scrollbar {
  width: 4px;
}

.sidebar::-webkit-scrollbar-track {
  background: transparent;
}

.sidebar::-webkit-scrollbar-thumb {
  background: var(--color-outline-variant);
  border-radius: 10px;
}

/* Hero */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  padding-top: 80px;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.7);
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to right, rgba(11, 28, 48, 0.6), transparent);
}

.hero-content {
  position: relative;
  z-index: 10;
  max-width: 720px;
}

/* Newsletter */
.newsletter {
  background-color: var(--color-on-background);
  padding: 64px;
  position: relative;
  overflow: hidden;
}

.newsletter-glow {
  position: absolute;
  width: 384px;
  height: 384px;
  border-radius: 50%;
  filter: blur(120px);
  opacity: 0.1;
}

.newsletter-glow-1 {
  top: 0;
  right: 0;
  background-color: var(--color-primary);
}

.newsletter-glow-2 {
  bottom: 0;
  left: 0;
  background-color: var(--color-primary);
}

/* Value Props */
.value-prop-icon {
  width: 64px;
  height: 64px;
  background-color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--color-outline-variant);
  transition: border-color var(--transition-fast);
}

.value-prop-card:hover .value-prop-icon {
  border-color: var(--color-primary);
}

/* Order Summary */
.order-summary {
  background: rgba(255, 255, 255, 0.7);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid var(--color-outline-variant);
  padding: 40px;
  border-radius: var(--radius-2xl);
}

.order-item {
  display: flex;
  gap: 16px;
}

.order-item-image {
  width: 80px;
  height: 80px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  flex-shrink: 0;
  background-color: var(--color-surface-variant);
}

.order-item-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Trust Badges */
.trust-badge {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 12px;
  border: 1px solid var(--color-outline-variant);
  border-radius: var(--radius-lg);
  background-color: var(--color-surface-container-lowest);
}

/* Gallery Thumbnail */
.gallery-thumb {
  width: 96px;
  height: 96px;
  flex-shrink: 0;
  border-radius: var(--radius-lg);
  overflow: hidden;
  cursor: pointer;
  background-color: var(--color-surface-container);
  transition: opacity var(--transition-fast);
  opacity: 0.6;
}

.gallery-thumb:hover {
  opacity: 1;
}

.gallery-thumb.active {
  opacity: 1;
  ring: 2px solid var(--color-primary);
  outline: 2px solid var(--color-primary);
  outline-offset: 2px;
}

.gallery-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Config Option */
.config-option {
  border: 2px solid var(--color-primary);
  padding: 16px;
  border-radius: var(--radius-lg);
  text-align: left;
  background: rgba(70, 72, 212, 0.05);
}

.config-option-inactive {
  border: 1px solid var(--color-outline-variant);
  background: transparent;
}

.config-option-inactive:hover {
  border-color: var(--color-primary);
}

/* ===================================
   UTILITY CLASSES
   =================================== */

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

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

/* Gap */
.gap-0 { gap: 0; }
.gap-1 { gap: 4px; }
.gap-2 { gap: 8px; }
.gap-3 { gap: 12px; }
.gap-4 { gap: 16px; }
.gap-6 { gap: 24px; }
.gap-8 { gap: 32px; }
.gap-12 { gap: 48px; }
.gap-16 { gap: 64px; }

/* Grid */
.grid { display: grid; }
.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)); }

/* Spacing - Margin */
.m-0 { margin: 0; }
.m-1 { margin: 4px; }
.m-2 { margin: 8px; }
.m-3 { margin: 12px; }
.m-4 { margin: 16px; }
.m-6 { margin: 24px; }
.m-8 { margin: 32px; }
.m-auto { margin: auto; }
.mx-auto { margin-left: auto; margin-right: auto; }
.my-auto { margin-top: auto; margin-bottom: auto; }

.mt-0 { margin-top: 0; }
.mt-1 { margin-top: 4px; }
.mt-2 { margin-top: 8px; }
.mt-3 { margin-top: 12px; }
.mt-4 { margin-top: 16px; }
.mt-6 { margin-top: 24px; }
.mt-8 { margin-top: 32px; }
.mt-12 { margin-top: 48px; }
.mt-16 { margin-top: 64px; }
.mt-20 { margin-top: 80px; }

.mb-0 { margin-bottom: 0; }
.mb-1 { margin-bottom: 4px; }
.mb-2 { margin-bottom: 8px; }
.mb-3 { margin-bottom: 12px; }
.mb-4 { margin-bottom: 16px; }
.mb-6 { margin-bottom: 24px; }
.mb-8 { margin-bottom: 32px; }
.mb-12 { margin-bottom: 48px; }
.mb-16 { margin-bottom: 64px; }

.ml-0 { margin-left: 0; }
.ml-1 { margin-left: 4px; }
.ml-2 { margin-left: 8px; }
.ml-3 { margin-left: 12px; }
.ml-4 { margin-left: 16px; }
.ml-auto { margin-left: auto; }

.mr-0 { margin-right: 0; }
.mr-1 { margin-right: 4px; }
.mr-2 { margin-right: 8px; }
.mr-3 { margin-right: 12px; }
.mr-4 { margin-right: 16px; }
.mr-auto { margin-right: auto; }

/* Spacing - Padding */
.p-0 { padding: 0; }
.p-1 { padding: 4px; }
.p-2 { padding: 8px; }
.p-3 { padding: 12px; }
.p-4 { padding: 16px; }
.p-5 { padding: 20px; }
.p-6 { padding: 24px; }
.p-8 { padding: 32px; }
.p-12 { padding: 48px; }
.p-16 { padding: 64px; }
.p-24 { padding: 96px; }

.pt-0 { padding-top: 0; }
.pt-1 { padding-top: 4px; }
.pt-2 { padding-top: 8px; }
.pt-3 { padding-top: 12px; }
.pt-4 { padding-top: 16px; }
.pt-6 { padding-top: 24px; }
.pt-8 { padding-top: 32px; }
.pt-12 { padding-top: 48px; }
.pt-16 { padding-top: 64px; }

.pb-0 { padding-bottom: 0; }
.pb-1 { padding-bottom: 4px; }
.pb-2 { padding-bottom: 8px; }
.pb-3 { padding-bottom: 12px; }
.pb-4 { padding-bottom: 16px; }
.pb-6 { padding-bottom: 24px; }
.pb-8 { padding-bottom: 32px; }
.pb-12 { padding-bottom: 48px; }
.pb-16 { padding-bottom: 64px; }
.pb-32 { padding-bottom: 128px; }

.px-0 { padding-left: 0; padding-right: 0; }
.px-2 { padding-left: 8px; padding-right: 8px; }
.px-4 { padding-left: 16px; padding-right: 16px; }
.px-6 { padding-left: 24px; padding-right: 24px; }
.px-8 { padding-left: 32px; padding-right: 32px; }

.py-0 { padding-top: 0; padding-bottom: 0; }
.py-2 { padding-top: 8px; padding-bottom: 8px; }
.py-4 { padding-top: 16px; padding-bottom: 16px; }
.py-6 { padding-top: 24px; padding-bottom: 24px; }
.py-8 { padding-top: 32px; padding-bottom: 32px; }
.py-12 { padding-top: 48px; padding-bottom: 48px; }
.py-16 { padding-top: 64px; padding-bottom: 64px; }
.py-24 { padding-top: 96px; padding-bottom: 96px; }

/* Width & Height */
.w-full { width: 100%; }
.w-auto { width: auto; }
.w-1\/2 { width: 50%; }
.w-1\/3 { width: 33.333333%; }
.w-2\/3 { width: 66.666667%; }
.w-1\/4 { width: 25%; }
.w-3\/4 { width: 75%; }
.w-12 { width: 48px; }
.w-16 { width: 64px; }
.w-20 { width: 80px; }
.w-24 { width: 96px; }
.w-48 { width: 192px; }
.w-64 { width: 256px; }
.w-96 { width: 384px; }
.min-w-0 { min-width: 0; }
.max-w-xs { max-width: 320px; }
.max-w-sm { max-width: 384px; }
.max-w-md { max-width: 448px; }
.max-w-lg { max-width: 512px; }
.max-w-xl { max-width: 576px; }
.max-w-2xl { max-width: 672px; }
.max-w-3xl { max-width: 768px; }
.max-w-4xl { max-width: 896px; }
.max-w-5xl { max-width: 1024px; }
.max-w-6xl { max-width: 1152px; }
.max-w-7xl { max-width: 1280px; }

.h-full { height: 100%; }
.h-auto { height: auto; }
.h-screen { height: 100vh; }
.h-1 { height: 4px; }
.h-2 { height: 8px; }
.h-4 { height: 16px; }
.h-8 { height: 32px; }
.h-12 { height: 48px; }
.h-16 { height: 64px; }
.h-20 { height: 80px; }
.h-24 { height: 96px; }
.h-48 { height: 192px; }
.h-64 { height: 256px; }
.h-96 { height: 384px; }
.h-\[calc\(100vh-160px\)\] { height: calc(100vh - 160px); }
.min-h-screen { min-height: 100vh; }
.min-h-0 { min-height: 0; }

/* Position */
.relative { position: relative; }
.absolute { position: absolute; }
.fixed { position: fixed; }
.sticky { position: sticky; }
.inset-0 { top: 0; right: 0; bottom: 0; left: 0; }
.top-0 { top: 0; }
.right-0 { right: 0; }
.bottom-0 { bottom: 0; }
.left-0 { left: 0; }
.top-4 { top: 16px; }
.top-8 { top: 32px; }
.top-12 { top: 48px; }
.top-16 { top: 64px; }
.right-4 { right: 16px; }
.right-8 { right: 32px; }
.bottom-4 { bottom: 16px; }
.bottom-8 { bottom: 32px; }
.bottom-12 { bottom: 48px; }
.left-4 { left: 16px; }
.left-8 { left: 32px; }
.left-12 { left: 48px; }
.-top-1 { top: -4px; }
.-right-1 { right: -4px; }

/* Z-Index */
.z-0 { z-index: 0; }
.z-10 { z-index: 10; }
.z-20 { z-index: 20; }
.z-30 { z-index: 30; }
.z-40 { z-index: 40; }
.z-50 { z-index: 50; }
.z-auto { z-index: auto; }

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

/* Text */
.text-left { text-align: left; }
.text-center { text-align: center; }
.text-right { text-align: right; }
.text-justify { text-align: justify; }
.uppercase { text-transform: uppercase; }
.lowercase { text-transform: lowercase; }
.capitalize { text-transform: capitalize; }
.normal-case { text-transform: none; }
.tracking-tight { letter-spacing: -0.025em; }
.tracking-normal { letter-spacing: 0; }
.tracking-wide { letter-spacing: 0.025em; }
.tracking-wider { letter-spacing: 0.05em; }
.tracking-widest { letter-spacing: 0.1em; }
.leading-none { line-height: 1; }
.leading-tight { line-height: 1.25; }
.leading-snug { line-height: 1.375; }
.leading-normal { line-height: 1.5; }
.leading-relaxed { line-height: 1.625; }
.leading-loose { line-height: 2; }
.leading-6 { line-height: 1.5; }
.leading-7 { line-height: 1.75; }
.leading-8 { line-height: 2; }
.leading-9 { line-height: 2.25; }
.leading-10 { line-height: 2.5; }
.font-normal { font-weight: 400; }
.font-medium { font-weight: 500; }
.font-semibold { font-weight: 600; }
.font-bold { font-weight: 700; }
.truncate { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

/* Font Sizes */
.text-xs { font-size: 12px; }
.text-sm { font-size: 14px; }
.text-base { font-size: 16px; }
.text-lg { font-size: 18px; }
.text-xl { font-size: 20px; }
.text-2xl { font-size: 24px; }
.text-3xl { font-size: 30px; }
.text-4xl { font-size: 36px; }
.text-5xl { font-size: 48px; }
.text-6xl { font-size: 60px; }
.text-\[10px\] { font-size: 10px; }
.text-\[12px\] { font-size: 12px; }
.text-\[14px\] { font-size: 14px; }
.text-\[16px\] { font-size: 16px; }
.text-\[18px\] { font-size: 18px; }
.text-\[20px\] { font-size: 20px; }
.text-\[24px\] { font-size: 24px; }
.text-\[32px\] { font-size: 32px; }
.text-\[40px\] { font-size: 40px; }
.text-\[48px\] { font-size: 48px; }
.text-\[64px\] { font-size: 64px; }

/* Colors */
.text-white { color: white; }
.text-black { color: black; }
.text-transparent { color: transparent; }
.text-current { color: currentColor; }
.text-opacity-0 { --tw-text-opacity: 0; }
.text-opacity-30 { --tw-text-opacity: 0.3; }
.text-opacity-60 { --tw-text-opacity: 0.6; }
.text-opacity-80 { --tw-text-opacity: 0.8; }
.bg-transparent { background-color: transparent; }
.bg-white { background-color: white; }
.bg-black { background-color: black; }
.bg-current { background-color: currentColor; }

/* Opacity */
.opacity-0 { opacity: 0; }
.opacity-5 { opacity: 0.05; }
.opacity-10 { opacity: 0.1; }
.opacity-20 { opacity: 0.2; }
.opacity-30 { opacity: 0.3; }
.opacity-40 { opacity: 0.4; }
.opacity-50 { opacity: 0.5; }
.opacity-60 { opacity: 0.6; }
.opacity-70 { opacity: 0.7; }
.opacity-80 { opacity: 0.8; }
.opacity-90 { opacity: 0.9; }
.opacity-100 { opacity: 1; }

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

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

/* Pointer Events */
.pointer-events-none { pointer-events: none; }
.pointer-events-auto { pointer-events: auto; }

/* User Select */
.select-none { user-select: none; }
.select-text { user-select: text; }
.select-all { user-select: all; }

/* Resize */
.resize-none { resize: none; }
.resize { resize: both; }
.resize-y { resize: vertical; }
.resize-x { resize: horizontal; }

/* Border */
.border { border-width: 1px; border-style: solid; }
.border-0 { border-width: 0; }
.border-2 { border-width: 2px; }
.border-4 { border-width: 4px; }
.border-t { border-top-width: 1px; border-top-style: solid; }
.border-t-2 { border-top-width: 2px; border-top-style: solid; }
.border-b { border-bottom-width: 1px; border-bottom-style: solid; }
.border-b-2 { border-bottom-width: 2px; border-bottom-style: solid; }
.border-l { border-left-width: 1px; border-left-style: solid; }
.border-l-2 { border-left-width: 2px; border-left-style: solid; }
.border-r { border-right-width: 1px; border-right-style: solid; }
.border-r-2 { border-right-width: 2px; border-right-style: solid; }

/* Shadow */
.shadow-sm { box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05); }
.shadow { box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1), 0 1px 2px 0 rgba(0, 0, 0, 0.06); }
.shadow-md { box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06); }
.shadow-lg { box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05); }
.shadow-xl { box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04); }
.shadow-2xl { box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25); }
.shadow-none { box-shadow: none; }

/* Ring */
.ring-0 { box-shadow: 0 0 0 0px var(--tw-ring-offset-shadow, 0 0 #000), var(--tw-ring-shadow, 0 0 0 #000), 0 0 #000; }
.ring-1 { box-shadow: 0 0 0 1px var(--tw-ring-offset-shadow, 0 0 #000), var(--tw-ring-shadow, 0 0 0 #000), 0 0 #000; }
.ring-2 { box-shadow: 0 0 0 2px var(--tw-ring-offset-shadow, 0 0 #000), var(--tw-ring-shadow, 0 0 0 #000), 0 0 #000; }
.ring-offset-0 { --tw-ring-offset-width: 0px; }
.ring-offset-2 { --tw-ring-offset-width: 2px; }
.ring-offset-4 { --tw-ring-offset-width: 4px; }
.ring-primary { --tw-ring-color: var(--color-primary); }

/* Transform */
.scale-95 { transform: scale(0.95); }
.scale-100 { transform: scale(1); }
.scale-105 { transform: scale(1.05); }
.scale-110 { transform: scale(1.1); }
.-translate-y-0 { transform: translateY(0); }
.-translate-y-4 { transform: translateY(-16px); }
.-translate-y-full { transform: translateY(-100%); }
.translate-y-0 { transform: translateY(0); }
.translate-y-4 { transform: translateY(16px); }
.translate-y-full { transform: translateY(100%); }

/* Aspect Ratio */
.aspect-square { aspect-ratio: 1 / 1; }
.aspect-video { aspect-ratio: 16 / 9; }
.aspect-\[4\/3\] { aspect-ratio: 4 / 3; }
.aspect-\[4\/5\] { aspect-ratio: 4 / 5; }
.aspect-\[3\/4\] { aspect-ratio: 3 / 4; }

/* Object Fit */
.object-cover { object-fit: cover; }
.object-contain { object-fit: contain; }
.object-fill { object-fit: fill; }
.object-none { object-fit: none; }
.object-scale-down { object-fit: scale-down; }

/* Object Position */
.object-bottom { object-position: bottom; }
.object-center { object-position: center; }
.object-left { object-position: left; }
.object-left-bottom { object-position: left bottom; }
.object-left-top { object-position: left top; }
.object-right { object-position: right; }
.object-right-bottom { object-position: right bottom; }
.object-right-top { object-position: right top; }
.object-top { object-position: top; }

/* Whitespace */
.whitespace-normal { white-space: normal; }
.whitespace-nowrap { white-space: nowrap; }
.whitespace-pre { white-space: pre; }
.whitespace-pre-line { white-space: pre-line; }
.whitespace-pre-wrap { white-space: pre-wrap; }
.break-normal { overflow-wrap: normal; word-break: normal; }
.break-words { overflow-wrap: break-word; }
.break-all { word-break: break-all; }

/* Placeholder Color */
.placeholder\:text-white\/30::placeholder { color: rgba(255, 255, 255, 0.3); }
.placeholder\:text-outline::placeholder { color: var(--color-outline); }

/* Space Between Children */
.space-y-1 > * + * { margin-top: 4px; }
.space-y-2 > * + * { margin-top: 8px; }
.space-y-3 > * + * { margin-top: 12px; }
.space-y-4 > * + * { margin-top: 16px; }
.space-y-6 > * + * { margin-top: 24px; }
.space-y-8 > * + * { margin-top: 32px; }
.space-y-12 > * + * { margin-top: 48px; }
.space-y-16 > * + * { margin-top: 64px; }
.space-y-20 > * + * { margin-top: 80px; }

.space-x-1 > * + * { margin-left: 4px; }
.space-x-2 > * + * { margin-left: 8px; }
.space-x-3 > * + * { margin-left: 12px; }
.space-x-4 > * + * { margin-left: 16px; }
.space-x-6 > * + * { margin-left: 24px; }
.space-x-8 > * + * { margin-left: 32px; }

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

/* No Scrollbar */
.no-scrollbar::-webkit-scrollbar { display: none; }
.no-scrollbar { -ms-overflow-style: none; scrollbar-width: none; }

/* Grayscale */
.grayscale { filter: grayscale(100%); }
.grayscale-0 { filter: grayscale(0); }

/* Background Blend Mode */
.bg-blend-normal { background-blend-mode: normal; }
.bg-blend-multiply { background-blend-mode: multiply; }
.bg-blend-screen { background-blend-mode: screen; }
.bg-blend-overlay { background-blend-mode: overlay; }
.bg-blend-darken { background-blend-mode: darken; }
.bg-blend-lighten { background-blend-mode: lighten; }

/* Grayscale and Opacity on hover parent */
.group:hover .group-hover\:grayscale-0 { filter: grayscale(0); }

/* Focus Ring */
.focus\:ring-2:focus { box-shadow: 0 0 0 2px var(--tw-ring-color, var(--color-primary)); }
.focus\:ring-primary:focus { --tw-ring-color: var(--color-primary); }
.focus\:border-primary:focus { border-color: var(--color-primary); }
.focus\:outline-none:focus { outline: none; }
.focus\:ring-0:focus { box-shadow: none; }

/* Hover states */
.hover\:bg-primary:hover { background-color: var(--color-primary); }
.hover\:bg-primary-container:hover { background-color: var(--color-primary-container); }
.hover\:bg-surface-container:hover { background-color: var(--color-surface-container); }
.hover\:bg-white:hover { background-color: white; }
.hover\:bg-surface:hover { background-color: var(--color-surface); }
.hover\:text-primary:hover { color: var(--color-primary); }
.hover\:text-white:hover { color: white; }
.hover\:text-on-surface:hover { color: var(--color-on-surface); }
.hover\:border-primary:hover { border-color: var(--color-primary); }
.hover\:border-outline:hover { border-color: var(--color-outline); }
.hover\:scale-105:hover { transform: scale(1.05); }
.hover\:scale-110:hover { transform: scale(1.1); }
.hover\:opacity-80:hover { opacity: 0.8; }
.hover\:opacity-100:hover { opacity: 1; }
.hover\:translate-x-\[-4px\]:hover { transform: translateX(-4px); }
.hover\:translate-x-2:hover { transform: translateX(8px); }

/* Active States */
.active\:scale-95:active { transform: scale(0.95); }
.active\:scale-96:active { transform: scale(0.96); }

/* Group Hover */
.group:hover .group-hover\:scale-105 { transform: scale(1.05); }
.group:hover .group-hover\:scale-110 { transform: scale(1.1); }
.group:hover .group-hover\:translate-y-0 { transform: translateY(0); }
.group:hover .group-hover\:opacity-100 { opacity: 1; }
.group:hover .group-hover\:opacity-0 { opacity: 0; }
.group:hover .group-hover\:text-primary { color: var(--color-primary); }

/* Responsive utilities */
@media (min-width: 640px) {
  .sm\:flex { display: flex; }
  .sm\:hidden { display: none; }
  .sm\:block { display: block; }
  .sm\:grid-cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .sm\:grid-cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .sm\:flex-row { flex-direction: row; }
  .sm\:items-center { align-items: center; }
  .sm\:justify-between { justify-content: space-between; }
  .sm\:text-left { text-align: left; }
  .sm\:w-auto { width: auto; }
}

@media (min-width: 768px) {
  .md\:flex { display: flex; }
  .md\:hidden { display: none; }
  .md\:block { display: block; }
  .md\:inline { display: inline; }
  .md\:inline-block { display: inline-block; }
  .md\:grid { display: grid; }
  .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\:grid-cols-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .md\:flex-row { flex-direction: row; }
  .md\:flex-row-reverse { flex-direction: row-reverse; }
  .md\:flex-col { flex-direction: column; }
  .md\:items-start { align-items: flex-start; }
  .md\:items-center { align-items: center; }
  .md\:items-end { align-items: flex-end; }
  .md\:items-stretch { align-items: stretch; }
  .md\:justify-start { justify-content: flex-start; }
  .md\:justify-center { justify-content: center; }
  .md\:justify-end { justify-content: flex-end; }
  .md\:justify-between { justify-content: space-between; }
  .md\:justify-around { justify-content: space-around; }
  .md\:text-left { text-align: left; }
  .md\:text-center { text-align: center; }
  .md\:text-right { text-align: right; }
  .md\:text-lg { font-size: 18px; }
  .md\:text-xl { font-size: 20px; }
  .md\:text-2xl { font-size: 24px; }
  .md\:text-3xl { font-size: 30px; }
  .md\:text-4xl { font-size: 36px; }
  .md\:text-5xl { font-size: 48px; }
  .md\:w-auto { width: auto; }
  .md\:w-64 { width: 256px; }
  .md\:col-span-1 { grid-column: span 1 / span 1; }
  .md\:col-span-2 { grid-column: span 2 / span 2; }
  .md\:col-span-3 { grid-column: span 3 / span 3; }
  .md\:col-span-4 { grid-column: span 4 / span 4; }
  .md\:row-span-1 { grid-row: span 1 / span 1; }
  .md\:row-span-2 { grid-row: span 2 / span 2; }
  .md\:gap-4 { gap: 16px; }
  .md\:gap-6 { gap: 24px; }
  .md\:gap-8 { gap: 32px; }
  .md\:gap-12 { gap: 48px; }
  .md\:p-4 { padding: 16px; }
  .md\:p-6 { padding: 24px; }
  .md\:p-8 { padding: 32px; }
  .md\:p-12 { padding: 48px; }
  .md\:p-16 { padding: 64px; }
  .md\:p-24 { padding: 96px; }
  .md\:px-8 { padding-left: 32px; padding-right: 32px; }
  .md\:px-12 { padding-left: 48px; padding-right: 48px; }
  .md\:px-16 { padding-left: 64px; padding-right: 64px; }
  .md\:px-32 { padding-left: 128px; padding-right: 128px; }
  .md\:py-4 { padding-top: 16px; padding-bottom: 16px; }
  .md\:py-8 { padding-top: 32px; padding-bottom: 32px; }
  .md\:py-12 { padding-top: 48px; padding-bottom: 48px; }
  .md\:py-16 { padding-top: 64px; padding-bottom: 64px; }
  .md\:py-24 { padding-top: 96px; padding-bottom: 96px; }
  .md\:mt-0 { margin-top: 0; }
  .md\:mt-4 { margin-top: 16px; }
  .md\:mt-6 { margin-top: 24px; }
  .md\:mt-8 { margin-top: 32px; }
  .md\:mt-12 { margin-top: 48px; }
  .md\:mb-0 { margin-bottom: 0; }
  .md\:mb-4 { margin-bottom: 16px; }
  .md\:mb-6 { margin-bottom: 24px; }
  .md\:mb-8 { margin-bottom: 32px; }
  .md\:mb-12 { margin-bottom: 48px; }
  .md\:mb-16 { margin-bottom: 64px; }
  .md\:pl-0 { padding-left: 0; }
  .md\:pl-8 { padding-left: 32px; }
  .md\:pr-0 { padding-right: 0; }
  .md\:pr-8 { padding-right: 32px; }
  .md\:static { position: static; }
  .md\:absolute { position: absolute; }
  .md\:sticky { position: sticky; }
  .md\:inset-auto { top: auto; right: auto; bottom: auto; left: auto; }
  .md\:top-auto { top: auto; }
  .md\:bottom-auto { bottom: auto; }
  .md\:h-auto { height: auto; }
  .md\:w-full { width: 100%; }
  .md\:min-w-0 { min-width: 0; }
  .md\:max-w-none { max-width: none; }
  .md\:flex-1 { flex: 1; }
  .md\:flex-none { flex: none; }
  .md\:flex-shrink-0 { flex-shrink: 0; }
  .md\:flex-grow { flex-grow: 1; }
  .md\:grid-flow-row { grid-auto-flow: row; }
  .md\:grid-flow-col { grid-auto-flow: column; }
  .md\:auto-cols-auto { grid-auto-columns: auto; }
  .md\:auto-cols-fr { grid-auto-columns: minmax(0, 1fr); }
  .md\:auto-rows-auto { grid-auto-rows: auto; }
  .md\:auto-rows-fr { grid-auto-rows: minmax(0, 1fr); }
  .md\:aspect-square { aspect-ratio: 1 / 1; }
}

@media (min-width: 1024px) {
  .lg\:flex { display: flex; }
  .lg\:hidden { display: none; }
  .lg\:block { display: block; }
  .lg\:grid { display: grid; }
  .lg\:grid-cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .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\:flex-row { flex-direction: row; }
  .lg\:items-start { align-items: flex-start; }
  .lg\:items-center { align-items: center; }
  .lg\:items-end { align-items: flex-end; }
  .lg\:justify-start { justify-content: flex-start; }
  .lg\:justify-center { justify-content: center; }
  .lg\:justify-end { justify-content: flex-end; }
  .lg\:justify-between { justify-content: space-between; }
  .lg\:gap-4 { gap: 16px; }
  .lg\:gap-6 { gap: 24px; }
  .lg\:gap-8 { gap: 32px; }
  .lg\:gap-12 { gap: 48px; }
  .lg\:col-span-1 { grid-column: span 1 / span 1; }
  .lg\:col-span-2 { grid-column: span 2 / span 2; }
  .lg\:col-span-3 { grid-column: span 3 / span 3; }
  .lg\:col-span-4 { grid-column: span 4 / span 4; }
  .lg\:col-span-5 { grid-column: span 5 / span 5; }
  .lg\:col-span-6 { grid-column: span 6 / span 6; }
  .lg\:col-span-7 { grid-column: span 7 / span 7; }
  .lg\:col-span-8 { grid-column: span 8 / span 8; }
  .lg\:col-span-9 { grid-column: span 9 / span 9; }
  .lg\:col-span-12 { grid-column: span 12 / span 12; }
  .lg\:row-span-1 { grid-row: span 1 / span 1; }
  .lg\:row-span-2 { grid-row: span 2 / span 2; }
  .lg\:w-\[420px\] { width: 420px; }
  .lg\:flex-row { flex-direction: row; }
  .lg\:flex-col { flex-direction: column; }
  .lg\:static { position: static; }
  .lg\:absolute { position: absolute; }
}

@media (min-width: 1280px) {
  .xl\:flex { display: flex; }
  .xl\:hidden { display: none; }
  .xl\:block { display: block; }
  .xl\:grid { display: grid; }
  .xl\:grid-cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .xl\:grid-cols-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}

/* Custom Widths */
.w-\[420px\] { width: 420px; }
.w-\[288px\] { width: 288px; }
.w-\[96px\] { width: 96px; }
.w-\[80px\] { width: 80px; }
.w-\[64px\] { width: 64px; }
.w-\[48px\] { width: 48px; }
.w-\[40px\] { width: 40px; }
.w-\[32px\] { width: 32px; }
.w-\[24px\] { width: 24px; }
.w-\[20px\] { width: 20px; }
.w-\[16px\] { width: 16px; }
.w-\[12px\] { width: 12px; }
.w-\[8px\] { width: 8px; }

.h-\[420px\] { height: 420px; }
.h-\[288px\] { height: 288px; }
.h-\[96px\] { height: 96px; }
.h-\[80px\] { height: 80px; }
.h-\[64px\] { height: 64px; }
.h-\[48px\] { height: 48px; }
.h-\[40px\] { height: 40px; }
.h-\[32px\] { height: 32px; }
.h-\[24px\] { height: 24px; }
.h-\[20px\] { height: 20px; }
.h-\[16px\] { height: 16px; }
.h-\[800px\] { height: 800px; }

/* Min Widths */
.min-w-\[300px\] { min-width: 300px; }
.min-w-\[400px\] { min-width: 400px; }

/* Max Widths */
.max-w-container-max { max-width: 1440px; }

/* Direct children spacing (alternative to space-y which uses > * + *) */
.space-y-4 > * { margin-top: 16px; }
.space-y-4 > *:first-child { margin-top: 0; }
.space-y-6 > * { margin-top: 24px; }
.space-y-6 > *:first-child { margin-top: 0; }
.space-y-8 > * { margin-top: 32px; }
.space-y-8 > *:first-child { margin-top: 0; }
.space-y-12 > * { margin-top: 48px; }
.space-y-12 > *:first-child { margin-top: 0; }

/* Column Span */
.col-span-1 { grid-column: span 1 / span 1; }
.col-span-2 { grid-column: span 2 / span 2; }
.col-span-3 { grid-column: span 3 / span 3; }
.col-span-4 { grid-column: span 4 / span 4; }
.col-span-full { grid-column: 1 / -1; }

/* Row Span */
.row-span-1 { grid-row: span 1 / span 1; }
.row-span-2 { grid-row: span 2 / span 2; }
.row-span-full { grid-row: 1 / -1; }

/* Auto columns */
.col-auto { grid-column: auto; }
.col-start-1 { grid-column-start: 1; }
.col-start-2 { grid-column-start: 2; }
.col-start-3 { grid-column-start: 3; }
.col-start-4 { grid-column-start: 4; }
.col-start-5 { grid-column-start: 5; }
.col-start-6 { grid-column-start: 6; }
.col-start-7 { grid-column-start: 7; }
.col-start-auto { grid-column-start: auto; }
.col-end-1 { grid-column-end: 1; }
.col-end-2 { grid-column-end: 2; }
.col-end-3 { grid-column-end: 3; }
.col-end-4 { grid-column-end: 4; }
.col-end-5 { grid-column-end: 5; }
.col-end-6 { grid-column-end: 6; }
.col-end-7 { grid-column-end: 7; }
.col-end-auto { grid-column-end: auto; }

/* Row Start/End */
.row-start-1 { grid-row-start: 1; }
.row-start-2 { grid-row-start: 2; }
.row-start-3 { grid-row-start: 3; }
.row-start-auto { grid-row-start: auto; }
.row-end-1 { grid-row-end: 1; }
.row-end-2 { grid-row-end: 2; }
.row-end-3 { grid-row-end: 3; }
.row-end-4 { grid-row-end: 4; }
.row-end-5 { grid-row-end: 5; }
.row-end-auto { grid-row-end: auto; }

/* Order */
.order-1 { order: 1; }
.order-2 { order: 2; }
.order-3 { order: 3; }
.order-4 { order: 4; }
.order-5 { order: 5; }
.order-6 { order: 6; }
.order-first { order: -9999; }
.order-last { order: 9999; }
.order-none { order: 0; }

/* Aspect Ratio for specific values */
.\[aspect-ratio\:1\/1\] { aspect-ratio: 1 / 1; }
.\[aspect-ratio\:4\/3\] { aspect-ratio: 4 / 3; }
.\[aspect-ratio\:4\/5\] { aspect-ratio: 4 / 5; }
.\[aspect-ratio\:16\/9\] { aspect-ratio: 16 / 9; }
.\[aspect-ratio\:3\/4\] { aspect-ratio: 3 / 4; }

/* Negative Margin */
.-mt-1 { margin-top: -4px; }
.-mt-2 { margin-top: -8px; }
.-mt-4 { margin-top: -16px; }
.-mt-6 { margin-top: -24px; }
.-mt-8 { margin-top: -32px; }
.-mb-1 { margin-bottom: -4px; }
.-mb-2 { margin-bottom: -8px; }
.-mb-4 { margin-bottom: -16px; }
.-mb-6 { margin-bottom: -24px; }
.-mb-8 { margin-bottom: -32px; }
.-ml-1 { margin-left: -4px; }
.-ml-2 { margin-left: -8px; }
.-ml-4 { margin-left: -16px; }
.-mr-1 { margin-right: -4px; }
.-mr-2 { margin-right: -8px; }
.-mr-4 { margin-right: -16px; }

/* Negative Translate */
.-translate-x-1 { transform: translateX(-4px); }
.-translate-x-2 { transform: translateX(-8px); }
.-translate-x-4 { transform: translateX(-16px); }
.-translate-x-1\/2 { transform: translateX(-50%); }
.-translate-y-1 { transform: translateY(-4px); }
.-translate-y-2 { transform: translateY(-8px); }
.-translate-y-4 { transform: translateY(-16px); }
.-translate-y-1\/2 { transform: translateY(-50%); }
.-translate-y-full { transform: translateY(-100%); }

/* Ring Color */
.ring-black { --tw-ring-color: #000; }
.ring-white { --tw-ring-color: #fff; }
.ring-gray-100 { --tw-ring-color: #f7fafc; }
.ring-gray-200 { --tw-ring-color: #edf2f7; }
.ring-gray-300 { --tw-ring-color: #e2e8f0; }
.ring-gray-400 { --tw-ring-color: #cbd5e0; }
.ring-gray-500 { --tw-ring-color: #a0aec0; }
.ring-gray-600 { --tw-ring-color: #718096; }
.ring-gray-700 { --tw-ring-color: #4a5568; }
.ring-gray-800 { --tw-ring-color: #2d3748; }
.ring-gray-900 { --tw-ring-color: #1a202c; }

/* Flex grow/shrink shorthand */
.shrink-0 { flex-shrink: 0; }
.shrink { flex-shrink: 1; }
.grow { flex-grow: 1; }
.grow-0 { flex-grow: 0; }

/* Self alignment */
.self-start { align-self: flex-start; }
.self-center { align-self: center; }
.self-end { align-self: flex-end; }
.self-stretch { align-self: stretch; }
.self-auto { align-self: auto; }

/* Place items */
.place-items-start { place-items: start; }
.place-items-center { place-items: center; }
.place-items-end { place-items: end; }
.place-items-stretch { place-items: stretch; }

/* Place self */
.place-self-start { place-self: start; }
.place-self-center { place-self: center; }
.place-self-end { place-self: end; }
.place-self-stretch { place-self: stretch; }

/* Justify self */
.justify-self-start { justify-self: start; }
.justify-self-center { justify-self: center; }
.justify-self-end { justify-self: end; }
.justify-self-stretch { justify-self: stretch; }

/* Place content */
.place-content-start { place-content: start; }
.place-content-center { place-content: center; }
.place-content-end { place-content: end; }
.place-content-between { place-content: space-between; }
.place-content-around { place-content: space-around; }
.place-content-evenly { place-content: space-evenly; }
.place-content-stretch { place-content: stretch; }

/* Vertical align */
.align-baseline { vertical-align: baseline; }
.align-top { vertical-align: top; }
.align-middle { vertical-align: middle; }
.align-bottom { vertical-align: bottom; }
.align-text-top { vertical-align: text-top; }
.align-text-bottom { vertical-align: text-bottom; }
.align-sub { vertical-align: sub; }
.align-super { vertical-align: super; }

/* Whitespace */
.whitespace-break-spaces { white-space: break-spaces; }

/* Content Distribution */
.content-center { align-content: center; }
.content-start { align-content: flex-start; }
.content-end { align-content: flex-end; }
.content-between { align-content: space-between; }
.content-around { align-content: space-around; }
.content-evenly { align-content: space-evenly; }

/* Line Heights */
.leading-3 { line-height: .75rem; }
.leading-4 { line-height: 1rem; }
.leading-5 { line-height: 1.25rem; }
.leading-3 { line-height: .75rem; }
.leading-4 { line-height: 1rem; }
.leading-5 { line-height: 1.25rem; }

/* Container query */
@container (min-width: 700px) {
  .lg\:container { max-width: 1440px; }
}

/* Print */
.print\:hidden { display: none; }

@media print {
  .print\:block { display: block; }
  .print\:inline { display: inline; }
  .print\:inline-block { display: inline-block; }
  .print\:flex { display: flex; }
  .print\:hidden { display: none; }
}

/* Screen reader only */
.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;
}

.not-sr-only {
  position: static;
  width: auto;
  height: auto;
  padding: 0;
  margin: 0;
  overflow: visible;
  clip: auto;
  white-space: normal;
}

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

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

@media (min-width: 768px) {
  .container {
    padding: 0 var(--space-margin-tablet);
  }
}

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

/* Aspect ratio for specific containers */
.aspect-container {
  aspect-ratio: 4 / 5;
}

.aspect-banner {
  aspect-ratio: 16 / 9;
}

/* Absolute positioning within relative container */
.absolute-inset {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
}

/* Gradient text */
.text-gradient {
  background: linear-gradient(to right, var(--color-primary), var(--color-primary-container));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* Blur */
.blur-0 { filter: blur(0); }
.blur-2 { filter: blur(2px); }
.blur-4 { filter: blur(4px); }
.blur-8 { filter: blur(8px); }
.blur-12 { filter: blur(12px); }
.blur-16 { filter: blur(16px); }
.blur-24 { filter: blur(24px); }
.blur-32 { filter: blur(32px); }
.blur-48 { filter: blur(48px); }
.blur-64 { filter: blur(64px); }
.blur-96 { filter: blur(96px); }
.blur-128 { filter: blur(128px); }
.blur-sm { filter: blur(4px); }
.blur { filter: blur(8px); }
.blur-md { filter: blur(12px); }
.blur-lg { filter: blur(16px); }
.blur-xl { filter: blur(24px); }
.blur-2xl { filter: blur(48px); }
.blur-3xl { filter: blur(64px); }

/* Backdrop blur */
.backdrop-blur-0 { backdrop-filter: blur(0); }
.backdrop-blur-2 { backdrop-filter: blur(2px); }
.backdrop-blur-4 { backdrop-filter: blur(4px); }
.backdrop-blur-8 { backdrop-filter: blur(8px); }
.backdrop-blur-sm { backdrop-filter: blur(4px); }
.backdrop-blur { backdrop-filter: blur(8px); }
.backdrop-blur-md { backdrop-filter: blur(12px); }
.backdrop-blur-lg { backdrop-filter: blur(16px); }
.backdrop-blur-xl { backdrop-filter: blur(24px); }
.backdrop-blur-2xl { backdrop-filter: blur(48px); }
.backdrop-blur-3xl { backdrop-filter: blur(64px); }

/* Transition timing */
.duration-0 { transition-duration: 0s; }
.duration-75 { transition-duration: 75ms; }
.duration-100 { transition-duration: 100ms; }
.duration-150 { 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; }

/* Transition property */
.transition-colors { transition-property: color, background-color, border-color, text-decoration-color, fill, stroke; }
.transition-opacity { transition-property: opacity; }
.transition-transform { transition-property: transform; }
.transition-shadow { transition-property: box-shadow; }
.transition-all { transition-property: all; }

/* Transition timing function */
.ease-linear { transition-timing-function: linear; }
.ease-in { transition-timing-function: cubic-bezier(0.4, 0, 1, 1); }
.ease-out { transition-timing-function: cubic-bezier(0, 0, 0.2, 1); }
.ease-in-out { transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1); }
.ease-\[cubic-bezier\(0\.4\2c 0\2c 0\.2\2c 1\)\] { transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1); }

/* Will change */
.will-change-auto { will-change: auto; }
.will-change-scroll { will-change: scroll-position; }
.will-change-contents { will-change: contents; }
.will-change-transform { will-change: transform; }

/* Specific display for containers */
.inline-grid { display: inline-grid; }
.inline-table { display: inline-table; }

/* Table layout */
.table-auto { table-layout: auto; }
.table-fixed { table-layout: fixed; }

/* Border collapse */
.border-collapse { border-collapse: collapse; }
.border-separate { border-collapse: separate; }

/* Caption side */
.caption-top { caption-side: top; }
.caption-bottom { caption-side: bottom; }

/* Empty cells */
.table-empty-show { empty-cells: show; }
.table-empty-hide { empty-cells: hide; }

/* List style type */
.list-none { list-style-type: none; }
.list-disc { list-style-type: disc; }
.list-decimal { list-style-type: decimal; }
.list-square { list-style-type: square; }
.list-alpha { list-style-type: lower-alpha; }
.list-upper-alpha { list-style-type: upper-alpha; }
.list-roman { list-style-type: lower-roman; }
.list-upper-roman { list-style-type: upper-roman; }

/* List style position */
.list-inside { list-style-position: inside; }
.list-outside { list-style-position: outside; }

/* Counter reset/increment */
.counter-reset { counter-reset: none; }
.counter-increment { counter-increment: none; }

/* Float */
.float-left { float: left; }
.float-right { float: right; }
.float-none { float: none; }

/* Clear */
.clear-left { clear: left; }
.clear-right { clear: right; }
.clear-both { clear: both; }
.clear-none { clear: none; }

/* Isolate */
.isolate { isolation: isolate; }
.isolation-auto { isolation: auto; }

/* Object Fit */
.object-bottom { object-position: bottom; }
.object-center { object-position: center; }
.object-left { object-position: left; }
.object-left-bottom { object-position: left bottom; }
.object-left-top { object-position: left top; }
.object-right { object-position: right; }
.object-right-bottom { object-position: right bottom; }
.object-right-top { object-position: right top; }
.object-top { object-position: top; }

/* Fill */
.fill-current { fill: currentColor; }
.fill-white { fill: white; }
.fill-black { fill: black; }
.fill-primary { fill: var(--color-primary); }
.fill-none { fill: none; }

/* Stroke */
.stroke-current { stroke: currentColor; }
.stroke-white { stroke: white; }
.stroke-black { stroke: black; }
.stroke-none { stroke: none; }
.stroke-0 { stroke-width: 0; }
.stroke-1 { stroke-width: 1; }
.stroke-2 { stroke-width: 2; }
.stroke-4 { stroke-width: 4; }

/* Screen reader utility */
.peer:checked ~ .peer-checked\:bg-primary { background-color: var(--color-primary); }

/* First, last, odd, even */
.first\:mt-0:first-child { margin-top: 0; }
.last\:mb-0:last-child { margin-bottom: 0; }
.odd\:bg-gray-50:nth-child(odd) { background-color: #f9fafb; }
.even\:bg-gray-100:nth-child(even) { background-color: #f3f4f6; }
.first-of-type\:mt-0:first-of-type { margin-top: 0; }
.last-of-type\:mb-0:last-of-type { margin-bottom: 0; }
.only\:mt-0:only-child { margin-top: 0; }

/* Empty */
.empty\:hidden:empty { display: none; }

/* File input */
.file\:mr-4::file-selector-button { margin-right: 16px; }
.file\:rounded-full::file-selector-button { border-radius: 9999px; }
.file\:border-0::file-selector-button { border-width: 0; }
.file\:bg-primary::file-selector-button { background-color: var(--color-primary); }
.file\:px-4::file-selector-button { padding-left: 16px; padding-right: 16px; }
.file\:py-2::file-selector-button { padding-top: 8px; padding-bottom: 8px; }
.file\:text-white::file-selector-button { color: white; }
.file\:font-semibold::file-selector-button { font-weight: 600; }

/* Marker (for lists) */
.mark\:bg-yellow-200 mark { background-color: #fefcbf; }
.mark\:text-yellow-900 mark { color: #744210; }

/* Selection */
.selection\:bg-primary::selection { background-color: var(--color-primary); color: white; }
.selection\:text-white::selection { color: white; }

/* Placeholder */
.placeholder\:text-gray-400::placeholder { color: #9ca3af; }
.placeholder\:text-gray-500::placeholder { color: #6b7280; }
.placeholder\:text-gray-600::placeholder { color: #4b5563; }

/* Responsive aspect ratios */
@media (min-width: 640px) {
  .sm\:aspect-square { aspect-ratio: 1 / 1; }
  .sm\:aspect-video { aspect-ratio: 16 / 9; }
}

@media (min-width: 768px) {
  .md\:aspect-square { aspect-ratio: 1 / 1; }
  .md\:aspect-video { aspect-ratio: 16 / 9; }
  .md\:aspect-\[4\/3\] { aspect-ratio: 4 / 3; }
  .md\:aspect-\[4\/5\] { aspect-ratio: 4 / 5; }
}

@media (min-width: 1024px) {
  .lg\:aspect-square { aspect-ratio: 1 / 1; }
  .lg\:aspect-video { aspect-ratio: 16 / 9; }
  .lg\:aspect-\[4\/3\] { aspect-ratio: 4 / 3; }
  .lg\:aspect-\[4\/5\] { aspect-ratio: 4 / 5; }
}

/* Marker styling */
marker { background-color: transparent; color: inherit; }

/* Any link/hierachy */
.open\:block.block[open] { display: block; }
.open\:inline-block.block[open] { display: inline-block; }
.details\:block details[open] block { display: block; }

/* RTL Support */
[dir="rtl"] .rtl\:text-right { text-align: right; }
[dir="rtl"] .rtl\:text-left { text-align: left; }
[dir="rtl"] .rtl\:ml-0 { margin-left: 0; margin-right: 0; }
[dir="rtl"] .rtl\:mr-0 { margin-right: 0; margin-left: 0; }

/* Color scheme */
.color-scheme-dark { color-scheme: dark; }
.color-scheme-light { color-scheme: light; }
.color-scheme-normal { color-scheme: normal; }

/* Forced color mode */
@media (forced-colors: active) {
  .forced-colors\:appearance-auto { appearance: auto; }
  .forced-colors\:appearance-none { appearance: none; }
}

/* Prefers color scheme */
@media (prefers-color-scheme: dark) {
  .dark\:block { display: block; }
  .dark\:hidden { display: none; }
  .dark\:flex { display: flex; }
  .dark\:grid { display: grid; }
  .dark\:inline { display: inline; }
  .dark\:inline-block { display: inline-block; }
  .dark\:inline-flex { display: inline-flex; }
}

/* Dark mode specific */
.dark\:text-white { color: white; }
.dark\:text-gray-100 { color: #f3f4f6; }
.dark\:text-gray-200 { color: #e5e7eb; }
.dark\:text-gray-300 { color: #d1d5db; }
.dark\:text-gray-400 { color: #9ca3af; }
.dark\:text-gray-500 { color: #6b7280; }
.dark\:text-gray-600 { color: #4b5563; }
.dark\:text-gray-700 { color: #374151; }
.dark\:text-gray-800 { color: #1f2937; }
.dark\:text-gray-900 { color: #111827; }

.dark\:bg-gray-50 { background-color: #f9fafb; }
.dark\:bg-gray-100 { background-color: #f3f4f6; }
.dark\:bg-gray-200 { background-color: #e5e7eb; }
.dark\:bg-gray-300 { background-color: #d1d5db; }
.dark\:bg-gray-400 { background-color: #9ca3af; }
.dark\:bg-gray-500 { background-color: #6b7280; }
.dark\:bg-gray-600 { background-color: #4b5563; }
.dark\:bg-gray-700 { background-color: #374151; }
.dark\:bg-gray-800 { background-color: #1f2937; }
.dark\:bg-gray-900 { background-color: #111827; }
.dark\:bg-white { background-color: white; }
.dark\:bg-black { background-color: black; }

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  .motion-reduce\:transition-none-all { transition: none; }
  .motion-reduce\:transform { transform: none; }
}

/* High contrast mode */
@media (prefers-contrast: high) {
  .contrast-more\:border-2 { border-width: 2px; }
  .contrast-more\:border-4 { border-width: 4px; }
}

/* Portrait/Landscape */
@media (orientation: portrait) {
  .portrait\:hidden { display: none; }
  .portrait\:block { display: block; }
  .portrait\:flex { display: flex; }
}

@media (orientation: landscape) {
  .landscape\:hidden { display: none; }
  .landscape\:block { display: block; }
  .landscape\:flex { display: flex; }
}
