/* Aakarva - Modern E-commerce Design System */
:root {
  /* Primary Colors - Black & White Theme */
  --primary: #000000;
  --primary-dark: #000000;
  --primary-light: #666666;
  
  /* Secondary Colors - Gray */
  --secondary: #333333;
  --secondary-dark: #555555;
  
  /* Neutral Colors */
  --dark: #000000;
  --gray-900: #000000;
  --gray-800: #1a1a1a;
  --gray-700: #333333;
  --gray-600: #666666;
  --gray-500: #808080;
  --gray-400: #999999;
  --gray-300: #b3b3b3;
  --gray-200: #cccccc;
  --gray-100: #e6e6e6;
  --white: #ffffff;
  
  /* Accent Colors */
  --success: #333333;
  --warning: #666666;
  --danger: #000000;
  --info: #808080;
  
  /* Gradients */
  --gradient-primary: linear-gradient(135deg, #000000 0%, #333333 100%);
  --gradient-secondary: linear-gradient(135deg, #333333 0%, #666666 100%);
  --gradient-dark: linear-gradient(135deg, #000000 0%, #1a1a1a 100%);
  --gradient-hero: linear-gradient(135deg, #000000 0%, #333333 50%, #666666 100%);
  --gradient-ocean: linear-gradient(135deg, #808080 0%, #000000 50%, #1a1a1a 100%);
  
  /* Shadows */
  --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.1);
  --shadow: 0 1px 3px 0 rgb(0 0 0 / 0.2), 0 1px 2px -1px rgb(0 0 0 / 0.2);
  --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.2), 0 2px 4px -2px rgb(0 0 0 / 0.2);
  --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.2), 0 4px 6px -4px rgb(0 0 0 / 0.2);
  --shadow-xl: 0 20px 25px -5px rgb(0 0 0 / 0.3), 0 8px 10px -6px rgb(0 0 0 / 0.3);
  
  /* Spacing */
  --space-1: 0.25rem;
  --space-2: 0.5rem;
  --space-3: 0.75rem;
  --space-4: 1rem;
  --space-5: 1.25rem;
  --space-6: 1.5rem;
  --space-8: 2rem;
  --space-10: 2.5rem;
  --space-12: 3rem;
  --space-16: 4rem;
  
  /* Border Radius */
  --radius-sm: 0.375rem;
  --radius: 0.5rem;
  --radius-md: 0.75rem;
  --radius-lg: 1rem;
  --radius-xl: 1.5rem;
  --radius-full: 9999px;
}

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

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  color: var(--gray-700);
  background-color: var(--white);
}

a {
  text-decoration: none;
  color: inherit;
  transition: all 0.3s ease;
}

img {
  max-width: 100%;
  height: auto;
}

/* Container */
.container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 var(--space-4);
}

/* Header Redesign */
.header {
  background: var(--white);
  box-shadow: var(--shadow);
  position: sticky;
  top: 0;
  z-index: 1000;
}

.header-top {
  background: var(--gradient-dark);
  padding: var(--space-2) 0;
  color: var(--white);
  font-size: 0.875rem;
}

.header-main {
  padding: var(--space-4) 0;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-6);
}

/* Logo */
.logo {
  display: flex;
  align-items: center;
  gap: var(--space-3);
}

.logo-icon {
  width: 48px;
  height: 48px;
  background: var(--gradient-primary);
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-size: 1.5rem;
  font-weight: 700;
}

.logo-text {
  font-size: 1.75rem;
  font-weight: 800;
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* Navigation */
.nav-menu {
  display: flex;
  align-items: center;
  gap: var(--space-1);
}

.nav-link {
  padding: var(--space-3) var(--space-4);
  font-weight: 500;
  color: var(--gray-600);
  border-radius: var(--radius);
  position: relative;
}

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

.nav-link.active {
  color: var(--primary);
  background: var(--gray-100);
}

/* Search Bar */
.search-box {
  flex: 1;
  max-width: 500px;
  position: relative;
}

.search-input {
  width: 100%;
  padding: var(--space-3) var(--space-4) var(--space-3) var(--space-12);
  border: 2px solid var(--gray-200);
  border-radius: var(--radius-full);
  font-size: 1rem;
  transition: all 0.3s ease;
  background: var(--gray-100);
}

.search-input:focus {
  outline: none;
  border-color: var(--primary);
  background: var(--white);
  box-shadow: 0 0 0 3px rgb(99 102 241 / 0.1);
}

.search-btn {
  position: absolute;
  left: var(--space-4);
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: none;
  color: var(--gray-400);
  cursor: pointer;
  font-size: 1.125rem;
}

/* Header Actions */
.header-actions {
  display: flex;
  align-items: center;
  gap: var(--space-4);
}

.action-btn {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  padding: var(--space-3) var(--space-4);
  border-radius: var(--radius);
  font-weight: 500;
  color: var(--gray-600);
  transition: all 0.3s ease;
  position: relative;
}

.action-btn:hover {
  color: var(--primary);
  background: var(--gray-100);
}

.action-btn i {
  font-size: 1.25rem;
}

.badge {
  position: absolute;
  top: -4px;
  right: -4px;
  background: var(--danger);
  color: var(--white);
  font-size: 0.75rem;
  font-weight: 600;
  width: 20px;
  height: 20px;
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
  padding: var(--space-3) var(--space-6);
  font-size: 1rem;
  font-weight: 600;
  border-radius: var(--radius);
  border: none;
  cursor: pointer;
  transition: all 0.3s ease;
}

.btn-primary {
  background: var(--gradient-primary);
  color: var(--white);
  box-shadow: var(--shadow-md);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

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

.btn-outline {
  background: transparent;
  border: 2px solid var(--gray-300);
  color: var(--gray-700);
}

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

/* Hero Section */
.hero {
  background: var(--gradient-hero);
  color: var(--white);
  padding: var(--space-16) 0;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><circle cx="50" cy="50" r="40" fill="none" stroke="white" stroke-width="0.5" opacity="0.1"/></svg>');
  background-size: 100px 100px;
  animation: float 20s linear infinite;
}

@keyframes float {
  0% { transform: translateY(0); }
  100% { transform: translateY(-100px); }
}

.hero-content {
  position: relative;
  z-index: 1;
  text-align: center;
  max-width: 800px;
  margin: 0 auto;
}

.hero-title {
  font-size: 3.5rem;
  font-weight: 800;
  margin-bottom: var(--space-6);
  line-height: 1.1;
}

.hero-subtitle {
  font-size: 1.25rem;
  opacity: 0.9;
  margin-bottom: var(--space-8);
}

.hero-buttons {
  display: flex;
  gap: var(--space-4);
  justify-content: center;
}

/* Section Styles */
.section {
  padding: var(--space-16) 0;
}

.section-header {
  text-align: center;
  margin-bottom: var(--space-12);
}

.section-title {
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--gray-900);
  margin-bottom: var(--space-4);
}

.section-subtitle {
  font-size: 1.125rem;
  color: var(--gray-500);
  max-width: 600px;
  margin: 0 auto;
}

/* Product Cards Modern */
.product-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: var(--space-4);
}

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

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

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

@media (max-width: 480px) {
  .product-grid {
    grid-template-columns: 1fr;
  }
}

.product-card {
  background: var(--white);
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: all 0.4s ease;
  position: relative;
}

.product-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-xl);
}

.product-image {
  position: relative;
  aspect-ratio: 1;
  overflow: hidden;
}

.product-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

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

.product-badge {
  position: absolute;
  top: var(--space-4);
  left: var(--space-4);
  background: var(--danger);
  color: var(--white);
  padding: var(--space-1) var(--space-3);
  border-radius: var(--radius-full);
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
}

.product-badge.new {
  background: var(--success);
}

.product-badge.featured {
  background: var(--secondary);
}

.product-actions {
  position: absolute;
  top: var(--space-4);
  right: var(--space-4);
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
  opacity: 0;
  transform: translateX(20px);
  transition: all 0.3s ease;
}

.product-card:hover .product-actions {
  opacity: 1;
  transform: translateX(0);
}

.product-action-btn {
  width: 40px;
  height: 40px;
  border-radius: var(--radius-full);
  background: var(--white);
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: var(--shadow-md);
  transition: all 0.3s ease;
  color: var(--gray-600);
}

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

.product-badge.discount {
  background: #e71612;
  right: var(--space-2);
  left: auto;
  font-size: 0.65rem;
  padding: var(--space-1) var(--space-2);
}

.wishlist-btn {
  position: absolute;
  top: var(--space-2);
  right: var(--space-2);
  width: 28px;
  height: 28px;
  border-radius: var(--radius-full);
  background: var(--white);
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: var(--shadow-sm);
  transition: all 0.3s ease;
  color: var(--gray-600);
  z-index: 10;
}

.wishlist-btn:hover {
  background: var(--danger);
  color: var(--white);
  transform: scale(1.1);
}

.wishlist-btn i {
  font-size: 0.8rem;
}

.product-info {
  padding: var(--space-3);
}

.product-category {
  font-size: 0.75rem;
  color: var(--primary);
  font-weight: 600;
  text-transform: uppercase;
  margin-bottom: var(--space-1);
}

.product-title {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--gray-900);
  margin-bottom: var(--space-2);
  line-height: 1.3;
}

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

.product-price {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  margin-bottom: var(--space-2);
  flex-wrap: wrap;
}

.price-current {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--gray-900);
}

.price-old {
  font-size: 0.8rem;
  color: var(--gray-400);
  text-decoration: line-through;
}

.product-rating {
  display: flex;
  align-items: center;
  gap: var(--space-1);
  margin-bottom: var(--space-2);
}

.stars {
  color: var(--secondary);
  font-size: 0.75rem;
}

.rating-count {
  font-size: 0.75rem;
  color: var(--gray-500);
}

.product-btn {
  width: 100%;
  padding: var(--space-2) var(--space-3);
  background: var(--gray-900);
  color: var(--white);
  border: none;
  border-radius: var(--radius);
  font-weight: 600;
  font-size: 0.8rem;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-1);
}

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

/* Category Cards */
.category-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: var(--space-6);
}

.category-card {
  background: var(--white);
  border-radius: var(--radius-xl);
  padding: var(--space-8) var(--space-6);
  text-align: center;
  box-shadow: var(--shadow);
  transition: all 0.4s ease;
  position: relative;
  overflow: hidden;
}

.category-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: var(--gradient-primary);
  opacity: 0;
  transition: opacity 0.4s ease;
}

.category-card:hover::before {
  opacity: 1;
}

.category-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-xl);
}

.category-icon {
  width: 80px;
  height: 80px;
  margin: 0 auto var(--space-4);
  background: var(--gray-100);
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  position: relative;
  z-index: 1;
  transition: all 0.4s ease;
}

.category-card:hover .category-icon {
  background: var(--white);
  color: var(--primary);
}

.category-title {
  font-size: 1.125rem;
  font-weight: 600;
  color: var(--gray-900);
  margin-bottom: var(--space-2);
  position: relative;
  z-index: 1;
  transition: color 0.4s ease;
}

.category-card:hover .category-title {
  color: var(--white);
}

.category-count {
  font-size: 0.875rem;
  color: var(--gray-500);
  position: relative;
  z-index: 1;
  transition: color 0.4s ease;
}

.category-card:hover .category-count {
  color: rgba(255, 255, 255, 0.8);
}

/* Features Section */
.features {
  background: var(--white);
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: var(--space-8);
}

.feature-card {
  text-align: center;
  padding: var(--space-8);
  border-radius: var(--radius-xl);
  transition: all 0.4s ease;
}

.feature-card:hover {
  background: var(--gray-100);
  transform: translateY(-4px);
}

.feature-icon {
  width: 80px;
  height: 80px;
  margin: 0 auto var(--space-6);
  background: var(--gradient-primary);
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  color: var(--white);
}

.feature-title {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--gray-900);
  margin-bottom: var(--space-3);
}

.feature-desc {
  color: var(--gray-500);
  line-height: 1.6;
}

/* Newsletter Section */
.newsletter {
  background: var(--gradient-primary);
  color: var(--white);
  padding: var(--space-16) 0;
  text-align: center;
}

.newsletter-title {
  font-size: 2.5rem;
  font-weight: 800;
  margin-bottom: var(--space-4);
}

.newsletter-form {
  max-width: 500px;
  margin: var(--space-8) auto 0;
  display: flex;
  gap: var(--space-4);
}

.newsletter-input {
  flex: 1;
  padding: var(--space-4) var(--space-6);
  border: none;
  border-radius: var(--radius-full);
  font-size: 1rem;
}

.newsletter-input:focus {
  outline: none;
  box-shadow: 0 0 0 4px rgba(255, 255, 255, 0.3);
}

.newsletter-btn {
  padding: var(--space-4) var(--space-8);
  background: var(--gray-900);
  color: var(--white);
  border: none;
  border-radius: var(--radius-full);
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
}

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

/* Footer */
.footer {
  background: var(--gray-900);
  color: var(--gray-400);
  padding: var(--space-16) 0 var(--space-8);
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr repeat(3, 1fr);
  gap: var(--space-12);
  margin-bottom: var(--space-12);
}

.footer-brand {
  max-width: 300px;
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  margin-bottom: var(--space-6);
}

.footer-logo-icon {
  width: 40px;
  height: 40px;
  background: var(--gradient-primary);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-size: 1.25rem;
  font-weight: 700;
}

.footer-logo-text {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--white);
}

.footer-desc {
  line-height: 1.8;
  margin-bottom: var(--space-6);
}

.social-links {
  display: flex;
  gap: var(--space-3);
}

.social-link {
  width: 40px;
  height: 40px;
  border-radius: var(--radius-full);
  background: var(--gray-800);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  transition: all 0.3s ease;
}

.social-link:hover {
  background: var(--primary);
  transform: translateY(-3px);
}

.footer-title {
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: var(--space-6);
}

.footer-links {
  list-style: none;
}

.footer-links li {
  margin-bottom: var(--space-3);
}

.footer-links a {
  transition: color 0.3s ease;
}

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

.footer-contact li {
  display: flex;
  gap: var(--space-3);
  margin-bottom: var(--space-4);
}

.footer-contact i {
  color: var(--primary);
  margin-top: 4px;
}

.footer-bottom {
  border-top: 1px solid var(--gray-800);
  padding-top: var(--space-8);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.footer-copyright {
  font-size: 0.875rem;
}

.footer-payments {
  display: flex;
  gap: var(--space-4);
  align-items: center;
}

.footer-payments img {
  height: 30px;
  opacity: 0.7;
  transition: opacity 0.3s ease;
}

.footer-payments img:hover {
  opacity: 1;
}

/* Mobile Navigation Styles */
.mobile-menu-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 1.25rem;
  color: var(--gray-700);
  cursor: pointer;
  padding: var(--space-2);
  width: 40px;
  height: 40px;
  border-radius: var(--radius);
  transition: all 0.2s ease;
}

.mobile-menu-toggle:hover {
  background: var(--gray-100);
}

.mobile-menu-toggle:active {
  transform: scale(0.95);
}

.mobile-nav-overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.5);
  z-index: 998;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.mobile-nav-overlay.active {
  display: block;
  opacity: 1;
}

.mobile-nav {
  position: fixed;
  top: 0;
  left: -100%;
  width: 280px;
  height: 100vh;
  background: var(--white);
  z-index: 999;
  transition: left 0.3s ease;
  box-shadow: var(--shadow-xl);
  overflow-y: auto;
}

.mobile-nav.active {
  left: 0;
}

.mobile-nav-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: var(--space-4);
  border-bottom: 1px solid var(--gray-200);
  background: var(--gradient-primary);
  color: var(--white);
}

.mobile-nav-title {
  font-size: 1.125rem;
  font-weight: 700;
}

.mobile-nav-close {
  background: none;
  border: none;
  color: var(--white);
  font-size: 1.25rem;
  cursor: pointer;
  padding: var(--space-1);
}

.mobile-nav-links {
  padding: var(--space-4) 0;
}

.mobile-nav-link {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  padding: var(--space-3) var(--space-4);
  color: var(--gray-700);
  font-weight: 500;
  transition: all 0.2s ease;
  border-left: 3px solid transparent;
}

.mobile-nav-link:hover {
  background: var(--gray-100);
  color: var(--primary);
  border-left-color: var(--primary);
}

.mobile-nav-link.active {
  background: var(--gray-100);
  color: var(--primary);
  border-left-color: var(--primary);
  font-weight: 600;
}

.mobile-nav-link i {
  width: 24px;
  text-align: center;
  color: var(--gray-500);
}

.mobile-nav-link:hover i,
.mobile-nav-link.active i {
  color: var(--primary);
}

.mobile-nav-divider {
  height: 1px;
  background: var(--gray-200);
  margin: var(--space-3) var(--space-4);
}

.mobile-nav-link.text-danger {
  color: #dc2626;
}

.mobile-nav-link.text-danger:hover {
  background: #fef2f2;
  border-left-color: #dc2626;
}

.desktop-only {
  display: inline;
}

/* Mobile Bottom Navigation */
.mobile-bottom-nav {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: #fff;
  border-top: 1px solid #e2e8f0;
  z-index: 1000;
  padding: 8px 0;
  box-shadow: 0 -2px 10px rgba(0,0,0,0.05);
}

.mobile-bottom-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  flex: 1;
  color: #64748b;
  text-decoration: none;
  font-size: 11px;
  gap: 4px;
  position: relative;
  padding: 4px;
  transition: all 0.2s ease;
}

.mobile-bottom-item i {
  font-size: 20px;
}

.mobile-bottom-item.active {
  color: #0f172a;
}

.mobile-bottom-item:active {
  transform: scale(0.95);
}

.mobile-cart-badge {
  position: absolute;
  top: 0;
  right: calc(50% - 20px);
  background: #dc2626;
  color: #fff;
  font-size: 10px;
  font-weight: 600;
  min-width: 18px;
  height: 18px;
  border-radius: 9px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 5px;
}

/* Mobile Footer Accordion */
.mobile-footer {
  display: none;
}

.mobile-footer-section {
  border-bottom: 1px solid var(--gray-800);
}

.mobile-footer-toggle {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 0;
  background: none;
  border: none;
  color: var(--white);
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
}

.mobile-footer-toggle i {
  transition: transform 0.3s ease;
  color: var(--gray-400);
}

.mobile-footer-toggle.active i {
  transform: rotate(180deg);
}

.mobile-footer-content {
  display: none;
  padding: 0 0 16px 0;
}

.mobile-footer-content.active {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.mobile-footer-content a {
  color: var(--gray-400);
  text-decoration: none;
  font-size: 0.9rem;
  display: flex;
  align-items: center;
  gap: 8px;
}

.mobile-footer-content a:hover {
  color: var(--white);
}

.mobile-footer-content p {
  color: var(--gray-400);
  font-size: 0.9rem;
  margin: 0;
  display: flex;
  align-items: flex-start;
  gap: 8px;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .header-inner {
    flex-wrap: wrap;
  }
  
  .search-box {
    order: 3;
    max-width: 100%;
    width: 100%;
  }
  
  .hero-title {
    font-size: 2.5rem;
  }
  
  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .mobile-menu-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
  }
  
  .mobile-bottom-nav {
    display: flex;
  }
  
  /* Add padding to main content to prevent overlap with bottom nav */
  .main-content {
    padding-bottom: 70px;
  }
  
  .nav-menu {
    display: none;
  }
  
  .desktop-only {
    display: none;
  }
  
  /* Improved Mobile Header */
  .header {
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
  }
  
  .header-inner {
    gap: var(--space-2);
    padding: var(--space-2) 0;
  }
  
  .logo {
    flex: 1;
    justify-content: center;
  }
  
  .logo-text {
    font-size: 1.70rem;
    font-weight: 700;
  }
  
  .search-box {
    display: none;
  }
  
  .header-actions {
    gap: var(--space-1);
  }
  
  .action-btn {
    padding: var(--space-2);
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--radius);
    transition: all 0.2s ease;
  }
  
  .action-btn:hover {
    background: var(--gray-100);
  }
  
  .action-btn:active {
    transform: scale(0.95);
  }
  
  .action-btn span {
    display: none;
  }
  
  .action-btn i {
    font-size: 1.25rem;
    margin: 0;
  }
  
  .badge {
    width: 18px;
    height: 18px;
    font-size: 10px;
    top: 2px;
    right: 2px;
  }
  
  .hero-title {
    font-size: 2rem;
  }
  
  .hero-buttons {
    flex-direction: column;
    align-items: center;
  }
  
  .section-title {
    font-size: 1.75rem;
  }
  
  .newsletter-form {
    flex-direction: column;
  }
  
  /* Mobile Footer */
  .desktop-footer {
    display: none;
  }
  
  .mobile-footer {
    display: block;
  }
  
  .footer-grid {
    grid-template-columns: 1fr;
    text-align: left;
  }
  
  .footer-brand {
    max-width: 100%;
    text-align: center;
    margin-bottom: 24px;
  }
  
  .social-links {
    justify-content: center;
  }
  
  .footer-bottom {
    flex-direction: column;
    gap: var(--space-4);
    text-align: center;
  }
  
  .newsletter {
    padding: var(--space-10) 0;
  }
  
  .newsletter-title {
    font-size: 1.5rem;
  }
}

@media (max-width: 480px) {
  .logo-text {
    font-size: 1.70rem;
  }
  
  .container {
    padding: 0 var(--space-3);
  }
  
  .mobile-bottom-item span {
    font-size: 10px;
  }
  
  .mobile-bottom-item i {
    font-size: 18px;
  }
  
  .footer {
    padding-bottom: 80px;
  }
}

/* Animations */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

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

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

.animate-fadeInUp {
  animation: fadeInUp 0.6s ease forwards;
}

.animate-pulse {
  animation: pulse 2s ease infinite;
}

/* Loading Skeleton */
.skeleton {
  background: linear-gradient(90deg, var(--gray-200) 25%, var(--gray-300) 50%, var(--gray-200) 75%);
  background-size: 200% 100%;
  animation: shimmer 1.5s infinite;
  border-radius: var(--radius);
}

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

::-webkit-scrollbar-track {
  background: var(--gray-200);
}

::-webkit-scrollbar-thumb {
  background: var(--gray-600);
  border-radius: var(--radius-full);
}

::-webkit-scrollbar-thumb:hover {
  background: var(--gray-800);
}

/* Selection */
::selection {
  background: #000000;
  color: var(--white);
}
