/* CSS Variables */
:root {
  --slate-900: #0f172a;
  --slate-800: #1e293b;
  --slate-700: #334155;
  --slate-600: #475569;
  --slate-400: #94a3b8;
  --slate-300: #cbd5e1;
  --slate-200: #e2e8f0;
  --slate-100: #f1f5f9;
  --slate-50: #f8fafc;
  
  --primary: #6366f1;
  --primary-dark: #4f46e5;
  --primary-light: #818cf8;
  
  --accent: #ec4899;
  --accent-dark: #db2777;
  
  --success: #10b981;
  --warning: #f59e0b;
  --danger: #ef4444;
  
  --gradient-primary: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  --gradient-accent: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
  --gradient-success: linear-gradient(135deg, #0ba360 0%, #3cba92 100%);
  
  --shadow-sm: 0 1px 2px rgba(0,0,0,0.05);
  --shadow: 0 4px 6px rgba(0,0,0,0.07);
  --shadow-md: 0 10px 15px rgba(0,0,0,0.1);
  --shadow-lg: 0 20px 25px rgba(0,0,0,0.15);
  --shadow-xl: 0 25px 50px rgba(0,0,0,0.25);
  
  --transition-fast: 150ms cubic-bezier(0.4, 0, 0.2, 1);
  --transition-base: 300ms cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: 500ms cubic-bezier(0.4, 0, 0.2, 1);
  
  --font-primary: 'Sora', system-ui, sans-serif;
  --font-secondary: 'Space Grotesk', monospace;
}

/* Reset & Base */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-primary);
  background: var(--slate-50);
  color: var(--slate-900);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img {
  max-width: 100%;
  display: block;
}

button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  background: none;
}

a {
  text-decoration: none;
  color: inherit;
}

/* Animated Background */
.bg-canvas {
  position: fixed;
  inset: 0;
  z-index: -1;
  overflow: hidden;
}

.mesh-gradient {
  position: absolute;
  inset: 0;
  background: 
    radial-gradient(ellipse 80% 50% at 50% -20%, rgba(120, 119, 198, 0.3), transparent),
    radial-gradient(ellipse 60% 50% at 0% 100%, rgba(189, 147, 249, 0.2), transparent),
    radial-gradient(ellipse 60% 50% at 100% 100%, rgba(139, 92, 246, 0.2), transparent),
    linear-gradient(180deg, var(--slate-50) 0%, #ffffff 100%);
}

.floating-shapes {
  position: absolute;
  inset: 0;
}

.shape {
  position: absolute;
  border-radius: 50%;
  filter: blur(40px);
  opacity: 0.4;
  animation: float 20s infinite ease-in-out;
}

.shape-1 {
  width: 400px;
  height: 400px;
  background: linear-gradient(135deg, #667eea, #764ba2);
  top: -100px;
  left: -100px;
  animation-delay: 0s;
}

.shape-2 {
  width: 300px;
  height: 300px;
  background: linear-gradient(135deg, #f093fb, #f5576c);
  top: 20%;
  right: -80px;
  animation-delay: -5s;
}

.shape-3 {
  width: 350px;
  height: 350px;
  background: linear-gradient(135deg, #4facfe, #00f2fe);
  bottom: -100px;
  left: 20%;
  animation-delay: -10s;
}

.shape-4 {
  width: 250px;
  height: 250px;
  background: linear-gradient(135deg, #43e97b, #38f9d7);
  bottom: 20%;
  right: 15%;
  animation-delay: -15s;
}

@keyframes float {
  0%, 100% {
    transform: translate(0, 0) scale(1);
  }
  33% {
    transform: translate(30px, -30px) scale(1.1);
  }
  66% {
    transform: translate(-20px, 20px) scale(0.9);
  }
}

.noise-texture {
  position: absolute;
  inset: 0;
  background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 600 600"><filter id="n"><feTurbulence type="fractalNoise" baseFrequency="0.9" numOctaves="3" stitchTiles="stitch"/></filter><rect width="600" height="600" filter="url(%23n)" opacity="0.05"/></svg>');
  opacity: 0.5;
  mix-blend-mode: overlay;
}

/* Top Banner */
.top-banner {
  background: var(--gradient-primary);
  color: white;
  padding: 12px 0;
  position: relative;
  z-index: 100;
}

.banner-content {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  font-size: 14px;
  font-weight: 500;
}

.banner-icon {
  font-size: 20px;
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0%, 100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.1);
  }
}

.banner-close {
  position: absolute;
  right: 24px;
  color: white;
  font-size: 24px;
  opacity: 0.8;
  transition: opacity var(--transition-fast);
}

.banner-close:hover {
  opacity: 1;
}

/* Header */
.main-header {
  background: rgba(255, 255, 255, 0.8);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--slate-200);
  position: sticky;
  top: 0;
  z-index: 90;
  transition: transform var(--transition-base), box-shadow var(--transition-base);
}

.main-header.scrolled {
  box-shadow: var(--shadow-md);
}

.header-container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 24px;
}

.header-top {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 32px;
  padding: 16px 0;
}

.mobile-menu-btn {
  display: none;
  flex-direction: column;
  gap: 4px;
  padding: 8px;
}

.mobile-menu-btn span {
  width: 24px;
  height: 2px;
  background: var(--slate-900);
  border-radius: 2px;
  transition: all var(--transition-base);
}

.logo {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 800;
  font-size: 24px;
  color: var(--slate-900);
  transition: transform var(--transition-fast);
}

.logo:hover {
  transform: scale(1.05);
}

.logo-icon {
  width: 40px;
  height: 40px;
  color: var(--primary);
}

.main-nav {
  display: flex;
  gap: 32px;
  align-items: center;
  justify-content: center;
}

.main-nav a {
  font-weight: 500;
  font-size: 15px;
  color: var(--slate-700);
  position: relative;
  transition: color var(--transition-fast);
}

.main-nav a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--primary);
  transform: scaleX(0);
  transition: transform var(--transition-base);
}

.main-nav a:hover {
  color: var(--primary);
}

.main-nav a:hover::after {
  transform: scaleX(1);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.search-trigger {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 20px;
  background: var(--slate-100);
  border-radius: 50px;
  cursor: pointer;
  transition: all var(--transition-base);
}

.search-trigger svg {
  width: 20px;
  height: 20px;
  color: var(--slate-600);
}

.search-trigger span {
  font-size: 14px;
  color: var(--slate-600);
  font-weight: 500;
}

.search-trigger:hover {
  background: var(--slate-200);
  transform: translateY(-2px);
  box-shadow: var(--shadow);
}

.action-btn {
  position: relative;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--slate-100);
  transition: all var(--transition-base);
}

.action-btn svg {
  width: 22px;
  height: 22px;
  color: var(--slate-700);
}

.action-btn:hover {
  background: var(--slate-200);
  transform: translateY(-2px);
  box-shadow: var(--shadow);
}

.action-btn.cart-btn {
  background: var(--primary);
}

.action-btn.cart-btn svg {
  color: white;
}

.action-btn.cart-btn:hover {
  background: var(--primary-dark);
}

.action-badge {
  position: absolute;
  top: -4px;
  right: -4px;
  min-width: 20px;
  height: 20px;
  padding: 0 6px;
  background: var(--accent);
  color: white;
  border-radius: 10px;
  font-size: 11px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 8px rgba(236, 72, 153, 0.4);
}

/* Search Bar */
.search-bar {
  padding: 16px 0;
  border-top: 1px solid var(--slate-200);
  max-height: 0;
  opacity: 0;
  overflow: hidden;
  transition: all var(--transition-base);
}

.search-bar.active {
  max-height: 400px;
  opacity: 1;
}

.search-input-wrapper {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px 20px;
  background: white;
  border: 2px solid var(--slate-200);
  border-radius: 50px;
  transition: border-color var(--transition-fast);
}

.search-input-wrapper:focus-within {
  border-color: var(--primary);
  box-shadow: 0 0 0 4px rgba(99, 102, 241, 0.1);
}

.search-input-wrapper svg {
  width: 24px;
  height: 24px;
  color: var(--slate-400);
}

.search-input-wrapper input {
  flex: 1;
  border: none;
  outline: none;
  font-size: 16px;
  color: var(--slate-900);
}

.search-close {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--slate-100);
  color: var(--slate-600);
  font-size: 24px;
  transition: all var(--transition-fast);
}

.search-close:hover {
  background: var(--slate-200);
}

.search-suggestions {
  margin-top: 12px;
  background: white;
  border-radius: 16px;
  box-shadow: var(--shadow-md);
  max-height: 300px;
  overflow-y: auto;
  display: none;
}

.search-suggestions.active {
  display: block;
}

.suggestion-item {
  padding: 12px 20px;
  cursor: pointer;
  transition: background var(--transition-fast);
}

.suggestion-item:hover {
  background: var(--slate-50);
}

.trending-searches {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 16px;
  flex-wrap: wrap;
}

.trend-label {
  font-size: 14px;
  font-weight: 600;
  color: var(--slate-600);
}

.trend-tags {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.trend-tag {
  padding: 6px 16px;
  background: white;
  border: 1px solid var(--slate-200);
  border-radius: 50px;
  font-size: 13px;
  font-weight: 500;
  color: var(--slate-700);
  cursor: pointer;
  transition: all var(--transition-fast);
}

.trend-tag:hover {
  background: var(--slate-100);
  border-color: var(--primary);
  color: var(--primary);
}

/* Mobile Sidebar */
.mobile-sidebar {
  position: fixed;
  top: 0;
  left: 0;
  bottom: 0;
  width: 320px;
  background: white;
  box-shadow: var(--shadow-xl);
  transform: translateX(-100%);
  transition: transform var(--transition-base);
  z-index: 100;
  overflow-y: auto;
}

.mobile-sidebar.active {
  transform: translateX(0);
}

.sidebar-header {
  padding: 24px;
  border-bottom: 1px solid var(--slate-200);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.sidebar-header h3 {
  font-size: 20px;
  font-weight: 700;
}

.sidebar-close {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--slate-100);
  font-size: 24px;
  color: var(--slate-600);
  display: flex;
  align-items: center;
  justify-content: center;
}

.sidebar-nav {
  padding: 16px;
}

.sidebar-nav a {
  display: block;
  padding: 14px 16px;
  border-radius: 12px;
  font-weight: 500;
  color: var(--slate-700);
  transition: all var(--transition-fast);
}

.sidebar-nav a:hover {
  background: var(--slate-100);
  color: var(--primary);
}

.nav-divider {
  height: 1px;
  background: var(--slate-200);
  margin: 12px 0;
}

/* Hero Section */
.hero-section {
  padding: 80px 24px;
  overflow: hidden;
}

.hero-container {
  max-width: 1400px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.hero-content {
  animation: fadeInUp 0.8s ease-out;
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.hero-badge {
  display: inline-block;
  padding: 8px 20px;
  background: linear-gradient(135deg, rgba(99, 102, 241, 0.1), rgba(139, 92, 246, 0.1));
  color: var(--primary);
  border-radius: 50px;
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 24px;
  border: 1px solid rgba(99, 102, 241, 0.2);
}

.hero-title {
  font-size: 64px;
  font-weight: 800;
  line-height: 1.1;
  margin-bottom: 24px;
  font-family: var(--font-secondary);
}

.gradient-text {
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-subtitle {
  font-size: 20px;
  color: var(--slate-600);
  margin-bottom: 32px;
  line-height: 1.6;
}

.hero-cta-group {
  display: flex;
  gap: 16px;
  margin-bottom: 48px;
}

.cta-primary,
.cta-secondary {
  padding: 16px 32px;
  border-radius: 50px;
  font-size: 16px;
  font-weight: 600;
  transition: all var(--transition-base);
}

.cta-primary {
  background: var(--primary);
  color: white;
  box-shadow: 0 10px 30px rgba(99, 102, 241, 0.3);
}

.cta-primary:hover {
  background: var(--primary-dark);
  transform: translateY(-2px);
  box-shadow: 0 15px 40px rgba(99, 102, 241, 0.4);
}

.cta-secondary {
  background: white;
  color: var(--slate-900);
  border: 2px solid var(--slate-300);
}

.cta-secondary:hover {
  border-color: var(--primary);
  color: var(--primary);
  transform: translateY(-2px);
}

.hero-stats {
  display: flex;
  gap: 48px;
}

.stat-item {
  display: flex;
  flex-direction: column;
}

.stat-item strong {
  font-size: 32px;
  font-weight: 800;
  color: var(--slate-900);
  font-family: var(--font-secondary);
}

.stat-item span {
  font-size: 14px;
  color: var(--slate-600);
}

.hero-visual {
  position: relative;
  animation: fadeInUp 0.8s 0.2s ease-out both;
}

.product-showcase {
  position: relative;
  border-radius: 32px;
  overflow: hidden;
  box-shadow: var(--shadow-xl);
  transform: rotate(3deg);
  transition: transform var(--transition-slow);
}

.product-showcase:hover {
  transform: rotate(0deg) scale(1.02);
}

.product-showcase img {
  width: 100%;
  height: auto;
  display: block;
}

.showcase-badge {
  position: absolute;
  top: 24px;
  right: 24px;
  padding: 12px 24px;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  border-radius: 50px;
  font-weight: 600;
  font-size: 14px;
  box-shadow: var(--shadow);
}

/* Section Containers */
.section-container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 80px 24px;
}

.section-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 40px;
}

.section-header h2 {
  font-size: 36px;
  font-weight: 800;
  font-family: var(--font-secondary);
}

.view-all {
  padding: 12px 24px;
  background: var(--slate-100);
  border-radius: 50px;
  font-weight: 600;
  color: var(--slate-700);
  transition: all var(--transition-fast);
}

.view-all:hover {
  background: var(--slate-200);
  transform: translateX(4px);
}

/* Category Grid */
.category-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 24px;
}

.category-card {
  position: relative;
  height: 200px;
  border-radius: 24px;
  overflow: hidden;
  cursor: pointer;
  transition: all var(--transition-base);
  box-shadow: var(--shadow);
}

.category-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 0%, rgba(0,0,0,0.7) 100%);
  z-index: 1;
}

.category-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-slow);
}

.category-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
}

.category-card:hover img {
  transform: scale(1.1);
}

.category-info {
  position: absolute;
  bottom: 24px;
  left: 24px;
  right: 24px;
  z-index: 2;
  color: white;
}

.category-info h3 {
  font-size: 24px;
  font-weight: 700;
  margin-bottom: 4px;
}

.category-info p {
  font-size: 14px;
  opacity: 0.9;
}

/* Deals Section */
.deals-section {
  background: white;
  border-radius: 32px;
  margin: 0 24px;
  box-shadow: var(--shadow-md);
}

.deals-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 40px 40px 24px;
}

.deals-header h2 {
  font-size: 36px;
  font-weight: 800;
  font-family: var(--font-secondary);
  margin-bottom: 4px;
}

.deals-header p {
  color: var(--slate-600);
}

.countdown-timer {
  display: flex;
  gap: 12px;
}

.timer-block {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 12px 16px;
  background: var(--slate-100);
  border-radius: 12px;
  min-width: 70px;
}

.timer-block span {
  font-size: 28px;
  font-weight: 800;
  color: var(--primary);
  font-family: var(--font-secondary);
}

.timer-block label {
  font-size: 12px;
  color: var(--slate-600);
  margin-top: 4px;
}

.deals-carousel {
  display: flex;
  gap: 24px;
  padding: 0 40px 40px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
}

.deals-carousel::-webkit-scrollbar {
  display: none;
}

/* Product Card */
.product-card {
  flex: 0 0 300px;
  background: white;
  border-radius: 20px;
  overflow: hidden;
  border: 1px solid var(--slate-200);
  transition: all var(--transition-base);
  scroll-snap-align: start;
  cursor: pointer;
}

.product-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
  border-color: var(--primary);
}

.product-image {
  position: relative;
  aspect-ratio: 1;
  overflow: hidden;
  background: var(--slate-100);
}

.product-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-slow);
}

.product-card:hover .product-image img {
  transform: scale(1.1);
}

.product-badges {
  position: absolute;
  top: 12px;
  left: 12px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.product-badge {
  padding: 6px 12px;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  border-radius: 50px;
  font-size: 12px;
  font-weight: 700;
  box-shadow: var(--shadow-sm);
}

.product-badge.deal {
  background: var(--accent);
  color: white;
}

.product-badge.new {
  background: var(--success);
  color: white;
}

.product-actions {
  position: absolute;
  top: 12px;
  right: 12px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  opacity: 0;
  transform: translateX(20px);
  transition: all var(--transition-base);
}

.product-card:hover .product-actions {
  opacity: 1;
  transform: translateX(0);
}

.product-action-btn {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow);
  transition: all var(--transition-fast);
}

.product-action-btn:hover {
  background: var(--primary);
  transform: scale(1.1);
}

.product-action-btn:hover svg {
  color: white;
}

.product-action-btn svg {
  width: 20px;
  height: 20px;
  color: var(--slate-700);
}

.product-info {
  padding: 20px;
}

.product-brand {
  font-size: 12px;
  color: var(--slate-600);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 8px;
}

.product-title {
  font-size: 16px;
  font-weight: 700;
  color: var(--slate-900);
  margin-bottom: 12px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.product-rating {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 12px;
}

.rating-stars {
  color: #fbbf24;
  font-size: 14px;
}

.rating-count {
  font-size: 13px;
  color: var(--slate-600);
}

.product-price {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
}

.current-price {
  font-size: 24px;
  font-weight: 800;
  color: var(--slate-900);
  font-family: var(--font-secondary);
}

.original-price {
  font-size: 16px;
  color: var(--slate-400);
  text-decoration: line-through;
}

.discount-badge {
  padding: 4px 8px;
  background: var(--accent);
  color: white;
  border-radius: 6px;
  font-size: 12px;
  font-weight: 700;
}

.product-cta {
  display: flex;
  gap: 8px;
}

.add-to-cart-btn {
  flex: 1;
  padding: 12px;
  background: var(--primary);
  color: white;
  border-radius: 12px;
  font-weight: 600;
  font-size: 14px;
  transition: all var(--transition-fast);
}

.add-to-cart-btn:hover {
  background: var(--primary-dark);
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(99, 102, 241, 0.3);
}

.quick-view-btn {
  padding: 12px 16px;
  background: white;
  border: 2px solid var(--slate-300);
  border-radius: 12px;
  font-weight: 600;
  font-size: 14px;
  transition: all var(--transition-fast);
}

.quick-view-btn:hover {
  border-color: var(--primary);
  color: var(--primary);
}

/* Products Grid */
.filter-chips {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.filter-chip {
  padding: 10px 20px;
  background: white;
  border: 2px solid var(--slate-200);
  border-radius: 50px;
  font-weight: 600;
  font-size: 14px;
  color: var(--slate-700);
  transition: all var(--transition-fast);
}

.filter-chip:hover {
  border-color: var(--primary);
  color: var(--primary);
}

.filter-chip.active {
  background: var(--primary);
  color: white;
  border-color: var(--primary);
}

.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 24px;
  margin-top: 40px;
}

.load-more-wrapper {
  display: flex;
  justify-content: center;
  margin-top: 48px;
}

.load-more-btn {
  padding: 16px 40px;
  background: white;
  border: 2px solid var(--slate-300);
  border-radius: 50px;
  font-weight: 600;
  font-size: 16px;
  transition: all var(--transition-base);
}

.load-more-btn:hover {
  border-color: var(--primary);
  color: var(--primary);
  transform: translateY(-2px);
  box-shadow: var(--shadow);
}

/* Brands Section */
.brands-section {
  background: white;
  padding: 80px 24px;
}

.brands-section h2 {
  text-align: center;
  font-size: 36px;
  font-weight: 800;
  margin-bottom: 48px;
  font-family: var(--font-secondary);
}

.brands-grid {
  max-width: 1400px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 24px;
}

.brand-card {
  padding: 32px;
  background: var(--slate-50);
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 18px;
  color: var(--slate-700);
  transition: all var(--transition-base);
  cursor: pointer;
}

.brand-card:hover {
  background: white;
  transform: translateY(-4px);
  box-shadow: var(--shadow);
}

/* Newsletter */
.newsletter-section {
  padding: 80px 24px;
}

.newsletter-container {
  max-width: 800px;
  margin: 0 auto;
  padding: 60px 40px;
  background: var(--gradient-primary);
  border-radius: 32px;
  text-align: center;
  color: white;
}

.newsletter-container h2 {
  font-size: 42px;
  font-weight: 800;
  margin-bottom: 16px;
  font-family: var(--font-secondary);
}

.newsletter-container p {
  font-size: 18px;
  margin-bottom: 32px;
  opacity: 0.95;
}

.newsletter-form {
  display: flex;
  gap: 12px;
  max-width: 500px;
  margin: 0 auto;
}

.newsletter-form input {
  flex: 1;
  padding: 16px 24px;
  border-radius: 50px;
  border: none;
  font-size: 16px;
  outline: none;
}

.newsletter-form button {
  padding: 16px 32px;
  background: white;
  color: var(--primary);
  border-radius: 50px;
  font-weight: 700;
  font-size: 16px;
  transition: all var(--transition-fast);
}

.newsletter-form button:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

/* Footer */
.main-footer {
  background: var(--slate-900);
  color: white;
  padding: 80px 24px 32px;
}

.footer-container {
  max-width: 1400px;
  margin: 0 auto;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 48px;
}

.footer-col h4,
.footer-col h5 {
  margin-bottom: 20px;
  font-size: 18px;
  font-weight: 700;
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 24px;
  font-weight: 800;
  margin-bottom: 16px;
}

.footer-logo .logo-icon {
  width: 36px;
  height: 36px;
  color: var(--primary-light);
}

.footer-col p {
  color: var(--slate-400);
  line-height: 1.6;
  margin-bottom: 24px;
}

.social-links {
  display: flex;
  gap: 12px;
}

.social-links a {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--slate-800);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--transition-fast);
}

.social-links a:hover {
  background: var(--primary);
  transform: translateY(-4px);
}

.social-links svg {
  width: 20px;
  height: 20px;
}

.footer-col ul {
  list-style: none;
}

.footer-col ul li {
  margin-bottom: 12px;
}

.footer-col ul a {
  color: var(--slate-400);
  transition: color var(--transition-fast);
}

.footer-col ul a:hover {
  color: white;
}

.footer-bottom {
  padding-top: 32px;
  border-top: 1px solid var(--slate-800);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.footer-bottom p {
  color: var(--slate-400);
}

.footer-links {
  display: flex;
  gap: 24px;
}

.footer-links a {
  color: var(--slate-400);
  font-size: 14px;
  transition: color var(--transition-fast);
}

.footer-links a:hover {
  color: white;
}

/* Modal */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(4px);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 200;
  padding: 24px;
}

.modal-overlay.active {
  display: flex;
}

.modal-container {
  position: relative;
  max-width: 900px;
  width: 100%;
  max-height: 90vh;
  background: white;
  border-radius: 24px;
  box-shadow: var(--shadow-xl);
  overflow: hidden;
  animation: modalSlideUp 0.3s ease-out;
}

@keyframes modalSlideUp {
  from {
    opacity: 0;
    transform: translateY(50px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.modal-close {
  position: absolute;
  top: 20px;
  right: 20px;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--slate-100);
  font-size: 24px;
  color: var(--slate-600);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10;
  transition: all var(--transition-fast);
}

.modal-close:hover {
  background: var(--slate-200);
  transform: rotate(90deg);
}

.modal-content {
  padding: 40px;
  max-height: 90vh;
  overflow-y: auto;
}

/* Toast Notifications */
.toast-container {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 300;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.toast {
  padding: 16px 24px;
  background: var(--slate-900);
  color: white;
  border-radius: 12px;
  box-shadow: var(--shadow-lg);
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 300px;
  animation: toastSlideIn 0.3s ease-out;
}

@keyframes toastSlideIn {
  from {
    opacity: 0;
    transform: translateX(100%);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

.toast.success {
  background: var(--success);
}

.toast.error {
  background: var(--danger);
}

.toast.warning {
  background: var(--warning);
}

/* Responsive Design */
@media (max-width: 1024px) {
  .hero-container {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  
  .hero-title {
    font-size: 48px;
  }
  
  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .mobile-menu-btn {
    display: flex;
  }
  
  .main-nav {
    display: none;
  }
  
  .header-top {
    grid-template-columns: auto auto 1fr;
    gap: 16px;
  }
  
  .header-actions {
    justify-self: end;
  }
  
  .search-trigger span {
    display: none;
  }
  
  .hero-title {
    font-size: 36px;
  }
  
  .hero-stats {
    gap: 24px;
  }
  
  .stat-item strong {
    font-size: 24px;
  }
  
  .section-container {
    padding: 60px 16px;
  }
  
  .section-header h2 {
    font-size: 28px;
  }
  
  .deals-header {
    flex-direction: column;
    gap: 24px;
    align-items: flex-start;
  }
  
  .products-grid {
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    gap: 16px;
  }
  
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  
  .footer-bottom {
    flex-direction: column;
    gap: 16px;
    text-align: center;
  }
  
  .newsletter-form {
    flex-direction: column;
  }
}