/* ============================================
   BOZEX Modern Design System
   Light/Dark Theme Support
   ============================================ */

/* CSS Custom Properties - Light Theme (default) */
:root {
  /* Colors */
  --bg-primary: #ffffff;
  --bg-secondary: #f8f9fc;
  --bg-tertiary: #eef1f6;
  --bg-card: rgba(255, 255, 255, 0.9);
  --bg-glass: rgba(255, 255, 255, 0.7);

  --text-primary: #1a1a2e;
  --text-secondary: #4a4a68;
  --text-muted: #8888a0;

  --accent-primary: #6366f1;
  --accent-secondary: #8b5cf6;
  --accent-gradient: linear-gradient(135deg, #6366f1 0%, #8b5cf6 50%, #a855f7 100%);

  --border-color: rgba(0, 0, 0, 0.08);
  --border-light: rgba(0, 0, 0, 0.04);

  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.04);
  --shadow-md: 0 4px 20px rgba(0, 0, 0, 0.08);
  --shadow-lg: 0 8px 40px rgba(0, 0, 0, 0.12);
  --shadow-glow: 0 0 40px rgba(99, 102, 241, 0.15);

  /* Spacing */
  --space-xs: 0.25rem;
  --space-sm: 0.5rem;
  --space-md: 1rem;
  --space-lg: 1.5rem;
  --space-xl: 2rem;
  --space-2xl: 3rem;
  --space-3xl: 4rem;

  /* Border Radius */
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --radius-xl: 28px;
  --radius-full: 9999px;

  /* Transitions */
  --transition-fast: 0.15s ease;
  --transition-base: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: 0.5s cubic-bezier(0.4, 0, 0.2, 1);

  /* Glass effect */
  --glass-blur: blur(20px);
  --glass-border: 1px solid rgba(255, 255, 255, 0.2);
}

/* Dark Theme */
[data-theme="dark"] {
  --bg-primary: #0b0c10;
  --bg-secondary: #12141a;
  --bg-tertiary: #1a1c23;
  --bg-card: rgba(20, 22, 28, 0.8);
  --bg-glass: rgba(20, 22, 28, 0.6);

  --text-primary: #ffffff;
  --text-secondary: #a0a0b0;
  --text-muted: #6a6a88;

  --accent-primary: #1E90FF;
  --accent-secondary: #8b5cf6;
  --accent-gradient: linear-gradient(135deg, #1E90FF 0%, #8b5cf6 50%, #c084fc 100%);

  --border-color: rgba(255, 255, 255, 0.08);
  --border-light: rgba(255, 255, 255, 0.03);

  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.4);
  --shadow-md: 0 4px 20px rgba(0, 0, 0, 0.5);
  --shadow-lg: 0 8px 40px rgba(0, 0, 0, 0.6);
  --shadow-glow: 0 0 60px rgba(30, 144, 255, 0.2);

  --glass-border: 1px solid rgba(255, 255, 255, 0.08);
}

/* ============================================
   Reset & Base
   ============================================ */
*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

@font-face {
  font-family: "Monument Extended";
  src: url('/fonts/MonumentExtended-Regular.woff2') format('woff2'),
    url('/fonts/MonumentExtended-Regular.woff') format('woff');
  font-weight: 400;
}

@font-face {
  font-family: "Monument Extended";
  src: url('/fonts/MonumentExtended-Bold.woff2') format('woff2'),
    url('/fonts/MonumentExtended-Bold.woff') format('woff');
  font-weight: 700;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  background: var(--bg-primary);
  color: var(--text-primary);
  line-height: 1.6;
  transition: background var(--transition-base), color var(--transition-base);
  overflow-x: hidden;
  min-height: 100vh;
}

/* Background decoration */
body::before {
  content: '';
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 100vh;
  background:
    radial-gradient(circle at 20% 20%, rgba(99, 102, 241, 0.08) 0%, transparent 50%),
    radial-gradient(circle at 80% 80%, rgba(168, 85, 247, 0.08) 0%, transparent 50%);
  pointer-events: none;
  z-index: -1;
}

[data-theme="dark"] body::before {
  background:
    radial-gradient(circle at 20% 20%, rgba(99, 102, 241, 0.15) 0%, transparent 50%),
    radial-gradient(circle at 80% 80%, rgba(168, 85, 247, 0.15) 0%, transparent 50%);
}

a {
  color: var(--text-primary);
  text-decoration: none;
  transition: color var(--transition-fast), opacity var(--transition-fast);
}

a:hover {
  color: var(--accent-primary);
}

img {
  max-width: 100%;
  height: auto;
}

/* ============================================
   Header
   ============================================ */
.header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--bg-glass);
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
  border-bottom: var(--glass-border);
  transition: background var(--transition-base);
}

.header-inner {
  max-width: 1400px;
  margin: 0 auto;
  padding: var(--space-md) var(--space-xl);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-xl);
}

.logo .bozex-logo {
  font-family: 'Monument Extended', Arial, sans-serif;
  font-size: 1.8rem;
  font-weight: 700;
  letter-spacing: 3px;
  text-transform: uppercase;
  background: var(--accent-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.nav ul {
  display: flex;
  gap: var(--space-xl);
  list-style: none;
}

.nav ul li a {
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--text-secondary);
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  padding: var(--space-sm) var(--space-md);
  border-radius: var(--radius-full);
  transition: all var(--transition-fast);
}

.nav ul li a:hover {
  color: var(--text-primary);
  background: var(--bg-tertiary);
}

.nav ul li a img {
  width: 20px;
  height: 20px;
  opacity: 0.7;
  transition: opacity var(--transition-fast);
}

.nav ul li a:hover img {
  opacity: 1;
}

.header-icons {
  display: flex;
  align-items: center;
  gap: var(--space-md);
}

/* Theme Toggle Button */
.theme-toggle {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-full);
  border: none;
  background: var(--bg-tertiary);
  color: var(--text-primary);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--transition-fast);
  position: relative;
}

.theme-toggle:hover {
  background: var(--accent-gradient);
  color: white;
  transform: scale(1.05);
}

.theme-toggle svg {
  transition: opacity var(--transition-fast), transform var(--transition-fast);
  position: absolute;
}

.theme-toggle .icon-sun {
  opacity: 0;
  transform: rotate(-90deg) scale(0.5);
}

.theme-toggle .icon-moon {
  opacity: 1;
  transform: rotate(0deg) scale(1);
}

[data-theme="dark"] .theme-toggle .icon-sun {
  opacity: 1;
  transform: rotate(0deg) scale(1);
}

[data-theme="dark"] .theme-toggle .icon-moon {
  opacity: 0;
  transform: rotate(90deg) scale(0.5);
}

/* ============================================
   Hero Section
   ============================================ */
.hero {
  max-width: 1400px;
  margin: var(--space-3xl) auto;
  padding: 0 var(--space-xl);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-3xl);
  align-items: center;
  min-height: 60vh;
}

.hero-content {
  animation: fadeInUp 0.8s ease-out;
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.hero-content .logo {
  margin-bottom: var(--space-lg);
}

.hero-content .bozex-logo {
  font-family: 'Monument Extended', Arial, sans-serif;
  font-size: 4rem;
  font-weight: 700;
  background: var(--accent-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  display: inline-block;
}

.hero-subtitle {
  font-size: 1.5rem;
  color: var(--text-secondary);
  margin-bottom: var(--space-xl);
  line-height: 1.5;
}

.hero-cta {
  display: inline-flex;
  align-items: center;
  gap: var(--space-sm);
  padding: var(--space-md) var(--space-2xl);
  background: var(--accent-gradient);
  color: white;
  font-weight: 600;
  font-size: 1.1rem;
  border-radius: var(--radius-full);
  box-shadow: var(--shadow-glow);
  transition: all var(--transition-base);
}

.hero-cta:hover {
  color: white;
  transform: translateY(-3px);
  box-shadow: 0 15px 40px rgba(99, 102, 241, 0.4);
}

.hero-image {
  position: relative;
  animation: fadeInUp 0.8s ease-out 0.2s both;
}

.hero-image img {
  width: 100%;
  max-width: 600px;
  margin: 0 auto;
  display: block;
  filter: drop-shadow(var(--shadow-lg));
  transition: transform var(--transition-slow);
}

.hero-image:hover img {
  transform: scale(1.03) rotate(1deg);
}

/* ============================================
   Popular Products Section
   ============================================ */
.popular-now {
  max-width: 1400px;
  margin: var(--space-3xl) auto;
  padding: 0 var(--space-xl);
}

.popular-now h2 {
  font-family: 'Monument Extended', Arial, sans-serif;
  font-size: 2.2rem;
  font-weight: 700;
  margin-bottom: var(--space-2xl);
  text-align: center;
  background: var(--accent-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.popular-products {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: var(--space-xl);
}

/* Product Card - Glass Effect */
.product-card {
  background: var(--bg-card);
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
  border: var(--glass-border);
  border-radius: var(--radius-lg);
  padding: var(--space-xl);
  text-align: center;
  transition: all var(--transition-base);
  position: relative;
  overflow: hidden;
}

.product-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--accent-gradient);
  opacity: 0;
  transition: opacity var(--transition-base);
}

.product-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
}

.product-card:hover::before {
  opacity: 1;
}

/* Gallery (replaces old carousel) */
.gallery {
  width: 100%;
  position: relative;
  border-radius: var(--radius-md);
  background: var(--bg-tertiary);
  margin-bottom: var(--space-sm);
  touch-action: pan-y pinch-zoom;
  overflow: hidden;
}

.gallery-viewport {
  width: 100%;
  height: 240px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.gallery-img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  cursor: pointer;
  transition: opacity 0.15s ease;
  user-select: none;
  -webkit-user-drag: none;
}

.gallery-img:hover {
  opacity: 0.92;
}

/* Photo indicator dots */
.gallery-photo-dots {
  display: flex;
  justify-content: center;
  gap: 4px;
  padding: var(--space-xs) 0;
  min-height: 16px;
}

.photo-dot {
  width: 6px;
  height: 6px;
  border-radius: var(--radius-full);
  background: var(--text-muted);
  opacity: 0.35;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.photo-dot.active {
  opacity: 1;
  background: var(--accent-primary);
  width: 16px;
}

.photo-dot.small {
  width: 4px;
  height: 4px;
  margin-top: 1px;
}

/* Legacy carousel support (keep old classes working) */
.carousel {
  width: 100%;
  overflow: hidden;
  position: relative;
  border-radius: var(--radius-md);
  background: var(--bg-tertiary);
  margin-bottom: var(--space-md);
  touch-action: pan-y pinch-zoom;
}

.carousel-inner {
  display: flex;
  transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  height: 200px;
}

.carousel-inner img {
  height: 100%;
  object-fit: contain;
  cursor: pointer;
}

/* Color Dots */
.color-dots {
  display: flex;
  justify-content: center;
  gap: var(--space-sm);
  margin: var(--space-md) 0;
}

.dot {
  width: 22px;
  height: 22px;
  border-radius: var(--radius-full);
  cursor: pointer;
  border: 2px solid var(--border-color);
  transition: all var(--transition-fast);
  position: relative;
}

.dot:hover {
  transform: scale(1.15);
}

.dot.active {
  border-color: var(--accent-primary);
  box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.3);
}

/* Color definitions */
.color-white {
  background: #ffffff;
}

.color-black {
  background: #1a1a1a;
}

.color-red {
  background: #ef4444;
}

.color-blue {
  background: #3b82f6;
}

.color-silver {
  background: linear-gradient(135deg, #e8e8e8, #b8b8b8);
}

.color-gold {
  background: linear-gradient(135deg, #ffd700, #daa520);
}

.color-biege {
  background: #f5f5dc;
}

.color-white-silver {
  background: linear-gradient(135deg, #fff 50%, #c0c0c0 50%);
}

.color-black-silver {
  background: linear-gradient(135deg, #1a1a1a 50%, #c0c0c0 50%);
}

.color-black-gold {
  background: linear-gradient(135deg, #1a1a1a 50%, #ffd700 50%);
}

.color-white-gold {
  background: linear-gradient(135deg, #fff 50%, #ffd700 50%);
}

.color-biege-gold {
  background: linear-gradient(135deg, #f5f5dc 50%, #ffd700 50%);
}

.product-card h3 {
  font-family: 'Monument Extended', Arial, sans-serif;
  font-size: 1.4rem;
  font-weight: 600;
  margin-bottom: var(--space-sm);
  color: var(--text-primary);
}

.price {
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--accent-primary);
  margin: var(--space-sm) 0;
}

/* Market Links */
.market-links {
  margin-top: var(--space-md);
}

.market-links a {
  display: inline-block;
  transition: transform var(--transition-fast);
}

.market-links a:hover {
  transform: scale(1.08);
}

.market-links img {
  width: 140px;
  height: auto;
  border-radius: var(--radius-sm);
}

/* ============================================
   Modal
   ============================================ */
.modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.9);
  backdrop-filter: blur(10px);
  justify-content: center;
  align-items: center;
  z-index: 1000;
}

.modal-carousel {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-lg);
  background: var(--bg-card);
  width: 90vmin;
  height: 90vmin;
  max-width: 800px;
  max-height: 800px;
  box-shadow: var(--shadow-lg);
}

.modal-carousel-inner {
  display: flex;
  height: 100%;
  width: 100%;
  will-change: transform;
}

.modal-image-wrapper {
  position: relative;
  width: 100%;
  height: 100%;
  flex-shrink: 0;
  display: flex;
  justify-content: center;
  align-items: center;
}

.modal-image-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  user-select: none;
  -webkit-user-drag: none;
  touch-action: pan-y;
}

/* Modal counter & color dots */
.modal-counter {
  position: absolute;
  bottom: 60px;
  left: 50%;
  transform: translateX(-50%);
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.85rem;
  font-weight: 500;
  background: rgba(0, 0, 0, 0.4);
  padding: 4px 12px;
  border-radius: var(--radius-full);
  z-index: 5;
  pointer-events: none;
}

.modal-color-dots {
  position: absolute;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 8px;
  z-index: 5;
  background: rgba(0, 0, 0, 0.3);
  padding: 6px 12px;
  border-radius: var(--radius-full);
}

.modal-color-dots .dot {
  width: 24px;
  height: 24px;
  border: 2px solid rgba(255, 255, 255, 0.3);
}

.modal-color-dots .dot.active {
  border-color: white;
  box-shadow: 0 0 0 2px rgba(255, 255, 255, 0.5);
}

.modal-close {
  position: absolute;
  top: 20px;
  right: 20px;
  font-size: 2rem;
  color: white;
  cursor: pointer;
  z-index: 10;
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-full);
  transition: all var(--transition-fast);
}

.modal-close:hover {
  background: rgba(255, 255, 255, 0.2);
  transform: rotate(90deg);
}

/* ============================================
   Info Cards Section
   ============================================ */
.info-cards {
  max-width: 1400px;
  margin: var(--space-3xl) auto;
  padding: var(--space-3xl) var(--space-xl);
  text-align: center;
  background: var(--bg-secondary);
  border-radius: var(--radius-xl);
}

.info-cards h2 {
  font-family: 'Monument Extended', Arial, sans-serif;
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: var(--space-2xl);
  color: var(--text-primary);
}

.info-cards-list {
  display: flex;
  justify-content: center;
  gap: var(--space-2xl);
  flex-wrap: wrap;
}

.info-card {
  background: var(--bg-card);
  backdrop-filter: var(--glass-blur);
  border: var(--glass-border);
  border-radius: var(--radius-lg);
  padding: var(--space-xl);
  max-width: 280px;
  flex: 1;
  min-width: 220px;
  transition: all var(--transition-base);
}

.info-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
}

.info-card svg {
  width: 60px;
  height: 60px;
  margin-bottom: var(--space-md);
  opacity: 0.8;
  color: var(--accent-primary);
  transition: all var(--transition-base);
}

.info-card:hover svg {
  transform: scale(1.1);
  opacity: 1;
}

.info-card h3 {
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: var(--space-sm);
  color: var(--text-primary);
}

.info-card p {
  font-size: 0.95rem;
  color: var(--text-secondary);
  margin-bottom: var(--space-md);
}

.info-card a {
  color: var(--accent-primary);
  font-weight: 500;
  font-size: 0.9rem;
}

.info-card a:hover {
  text-decoration: underline;
}

/* ============================================
   Features Section
   ============================================ */
.bozex-features {
  max-width: 1400px;
  margin: var(--space-3xl) auto;
  padding: 0 var(--space-xl);
}

.bozex-features h2 {
  font-family: 'Monument Extended', Arial, sans-serif;
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: var(--space-2xl);
  text-align: center;
  color: var(--text-primary);
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: var(--space-xl);
}

.feature-item {
  background: var(--bg-card);
  backdrop-filter: var(--glass-blur);
  border: var(--glass-border);
  border-radius: var(--radius-lg);
  padding: var(--space-lg);
  text-align: center;
  transition: all var(--transition-base);
  overflow: hidden;
}

.feature-item:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
}

.feature-item img {
  width: 100%;
  height: 160px;
  object-fit: cover;
  border-radius: var(--radius-md);
  margin-bottom: var(--space-md);
  transition: transform var(--transition-base);
}

.feature-item:hover img {
  transform: scale(1.05);
}

.feature-item h3 {
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: var(--space-sm);
  color: var(--text-primary);
}

.feature-item p {
  font-size: 0.9rem;
  color: var(--text-secondary);
  margin-bottom: var(--space-md);
}

.feature-item a {
  color: var(--accent-primary);
  font-weight: 500;
  font-size: 0.9rem;
}

.feature-item a:hover {
  text-decoration: underline;
}

/* ============================================
   Compare Section
   ============================================ */
.compare-products {
  text-align: center;
  margin: var(--space-3xl) auto;
  max-width: 1400px;
  padding: var(--space-3xl) var(--space-xl);
  background: var(--bg-secondary);
  border-radius: var(--radius-xl);
}

.compare-products h2 {
  font-family: 'Monument Extended', Arial, sans-serif;
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: var(--space-md);
  color: var(--text-primary);
}

.compare-products p {
  font-size: 1.1rem;
  color: var(--text-secondary);
  margin-bottom: var(--space-xl);
}

.compare-button {
  display: inline-flex;
  align-items: center;
  gap: var(--space-sm);
  padding: var(--space-md) var(--space-2xl);
  background: var(--accent-gradient);
  color: white;
  font-weight: 600;
  border-radius: var(--radius-full);
  transition: all var(--transition-base);
}

.compare-button:hover {
  color: white;
  transform: translateY(-3px);
  box-shadow: var(--shadow-glow);
}

/* ============================================
   Footer
   ============================================ */
.footer {
  background: var(--bg-secondary);
  padding: var(--space-3xl) var(--space-xl) var(--space-xl);
  margin-top: var(--space-3xl);
  border-top: var(--glass-border);
}

.footer-links {
  max-width: 1400px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: var(--space-2xl);
  margin-bottom: var(--space-2xl);
}

.footer-links h3 {
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: var(--space-md);
  color: var(--text-primary);
}

.footer-links ul {
  list-style: none;
}

.footer-links li {
  margin-bottom: var(--space-sm);
}

.footer-links a {
  font-size: 0.9rem;
  color: var(--text-secondary);
  transition: color var(--transition-fast);
}

.footer-links a:hover {
  color: var(--accent-primary);
}

.footer-country {
  max-width: 1400px;
  margin: var(--space-xl) auto;
  text-align: right;
  font-size: 0.9rem;
  color: var(--text-muted);
}

.footer-country a {
  color: var(--accent-primary);
}

.footer-legal {
  max-width: 1400px;
  margin: var(--space-md) auto 0;
  padding-top: var(--space-xl);
  border-top: 1px solid var(--border-color);
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: var(--space-md);
  font-size: 0.85rem;
  color: var(--text-muted);
}

.footer-legal ul {
  display: flex;
  gap: var(--space-lg);
  list-style: none;
}

.footer-legal a {
  color: var(--text-muted);
}

.footer-legal a:hover {
  color: var(--accent-primary);
}

/* ============================================
   Promo Bar (hidden by default)
   ============================================ */
.promo-top {
  background: var(--accent-gradient);
  color: white;
  text-align: center;
  padding: var(--space-sm) var(--space-md);
  font-size: 0.9rem;
}

.promo-top a {
  color: white;
  text-decoration: underline;
}

/* ============================================
   Container utility
   ============================================ */
.container {
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 100vh;
}

.container img {
  max-width: 100%;
  height: auto;
}

/* ============================================
   Scroll animations
   ============================================ */
.fade-in {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ============================================
   Responsive Design
   ============================================ */
@media (max-width: 1024px) {
  .hero {
    grid-template-columns: 1fr;
    text-align: center;
    gap: var(--space-xl);
  }

  .hero-content .bozex-logo {
    font-size: 3rem;
  }

  .hero-image {
    order: -1;
  }

  .hero-image img {
    max-width: 400px;
  }
}

@media (max-width: 768px) {
  .header-inner {
    padding: var(--space-sm) var(--space-md);
  }

  .logo .bozex-logo {
    font-size: 1.4rem;
  }

  .nav ul {
    gap: var(--space-md);
  }

  .nav ul li a {
    font-size: 0.85rem;
    padding: var(--space-xs) var(--space-sm);
  }

  .hero {
    margin: var(--space-xl) auto;
    padding: 0 var(--space-md);
  }

  .hero-content .bozex-logo {
    font-size: 2.5rem;
  }

  .hero-subtitle {
    font-size: 1.2rem;
  }

  .popular-now,
  .bozex-features,
  .info-cards,
  .compare-products {
    padding-left: var(--space-md);
    padding-right: var(--space-md);
  }

  .popular-now h2,
  .bozex-features h2,
  .info-cards h2,
  .compare-products h2 {
    font-size: 1.6rem;
  }

  .popular-products {
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-md);
  }

  .product-card {
    padding: var(--space-md);
  }

  .product-card h3 {
    font-size: 1.1rem;
  }

  .price {
    font-size: 1.3rem;
  }

  .info-cards-list {
    gap: var(--space-md);
  }

  .info-card {
    min-width: 100%;
  }

  .features-grid {
    grid-template-columns: 1fr 1fr;
  }

  .footer-links {
    grid-template-columns: repeat(2, 1fr);
  }

  .footer-legal {
    flex-direction: column;
    text-align: center;
  }

  .footer-legal ul {
    flex-wrap: wrap;
    justify-content: center;
  }
}

@media (max-width: 480px) {
  .nav ul li a span {
    display: none;
  }

  .popular-products {
    grid-template-columns: 1fr;
  }

  .gallery-viewport {
    height: 300px;
  }

  .dot {
    width: 28px;
    height: 28px;
  }

  .features-grid {
    grid-template-columns: 1fr;
  }

  .hero-content .bozex-logo {
    font-size: 2rem;
  }

  .theme-toggle {
    width: 38px;
    height: 38px;
  }
}