/* Vamsi Crackers - Ultra Modern Design System */

:root {
  /* Modern Color Palette */
  --primary-50: #fef7ed;
  --primary-100: #fdedd3;
  --primary-200: #fbd6a5;
  --primary-300: #f8b86d;
  --primary-400: #f59532;
  --primary-500: #f37316;
  --primary-600: #e4570c;
  --primary-700: #bd420c;
  --primary-800: #973611;
  --primary-900: #7c2d12;
  
  /* Brand Colors */
  --brand-primary: #f37316;
  --brand-secondary: #1e293b;
  --brand-accent: #6366f1;
  --brand-success: #10b981;
  --brand-warning: #f59e0b;
  --brand-error: #ef4444;
  
  /* Neutral Colors */
  --neutral-50: #fafafa;
  --neutral-100: #f5f5f5;
  --neutral-200: #e5e5e5;
  --neutral-300: #d4d4d4;
  --neutral-400: #a3a3a3;
  --neutral-500: #737373;
  --neutral-600: #525252;
  --neutral-700: #404040;
  --neutral-800: #262626;
  --neutral-900: #171717;
  
  /* Semantic Colors */
  --background: #ffffff;
  --foreground: #0f172a;
  --card: #ffffff;
  --card-foreground: #0f172a;
  --popover: #ffffff;
  --popover-foreground: #0f172a;
  --primary: var(--brand-primary);
  --primary-foreground: #ffffff;
  --secondary: #f1f5f9;
  --secondary-foreground: #0f172a;
  --muted: #f1f5f9;
  --muted-foreground: #64748b;
  --accent: #f1f5f9;
  --accent-foreground: #0f172a;
  --destructive: var(--brand-error);
  --destructive-foreground: #ffffff;
  --border: #e2e8f0;
  --input: #e2e8f0;
  --ring: var(--brand-primary);
  
  /* Typography Scale */
  --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', system-ui, sans-serif;
  --font-display: 'Plus Jakarta Sans', var(--font-sans);
  --font-mono: 'JetBrains Mono', 'Fira Code', monospace;
  
  /* Font Sizes */
  --text-xs: 0.75rem;
  --text-sm: 0.875rem;
  --text-base: 1rem;
  --text-lg: 1.125rem;
  --text-xl: 1.25rem;
  --text-2xl: 1.5rem;
  --text-3xl: 1.875rem;
  --text-4xl: 2.25rem;
  --text-5xl: 3rem;
  --text-6xl: 3.75rem;
  
  /* Spacing Scale */
  --space-px: 1px;
  --space-0: 0;
  --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;
  --space-20: 5rem;
  --space-24: 6rem;
  --space-32: 8rem;
  
  /* Border Radius */
  --radius-none: 0;
  --radius-sm: 0.125rem;
  --radius-base: 0.25rem;
  --radius-md: 0.375rem;
  --radius-lg: 0.5rem;
  --radius-xl: 0.75rem;
  --radius-2xl: 1rem;
  --radius-3xl: 1.5rem;
  --radius-full: 9999px;
  
  /* Shadows */
  --shadow-xs: 0 1px 2px 0 rgb(0 0 0 / 0.05);
  --shadow-sm: 0 1px 3px 0 rgb(0 0 0 / 0.1), 0 1px 2px -1px rgb(0 0 0 / 0.1);
  --shadow-base: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
  --shadow-md: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
  --shadow-lg: 0 20px 25px -5px rgb(0 0 0 / 0.1), 0 8px 10px -6px rgb(0 0 0 / 0.1);
  --shadow-xl: 0 25px 50px -12px rgb(0 0 0 / 0.25);
  --shadow-2xl: 0 25px 50px -12px rgb(0 0 0 / 0.25);
  
  /* Transitions */
  --transition-fast: 150ms cubic-bezier(0.4, 0, 0.2, 1);
  --transition-base: 200ms cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: 300ms cubic-bezier(0.4, 0, 0.2, 1);
}

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

html, body {
  scroll-behavior: smooth;
  font-feature-settings: 'cv02', 'cv03', 'cv04', 'cv11';
  overflow-x: hidden;
  max-width: 100vw;
}

body {
  font-family: var(--font-sans);
  font-size: var(--text-base);
  line-height: 1.6;
  color: var(--foreground);
  background-color: var(--background);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  padding-top: 56px !important; /* Adjusted for compact header */
  margin-top: 0 !important;
}

@media (max-width: 768px) {
  body {
    padding-top: 48px !important; /* Adjusted for compact mobile header */
    margin-top: 0 !important;
  }
}

/* Modern Container */
.container {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 var(--space-4);
  overflow-x: hidden;
}

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

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

/* Ultra Modern Header */
#main-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  transition: all var(--transition-base);
  background: rgba(255, 255, 255, 0.85);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  backdrop-filter: blur(20px) saturate(180%);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.02);
}

#main-header.scrolled {
  background: rgba(255, 255, 255, 0.95);
  box-shadow: var(--shadow-lg);
}

#main-header.scrolled .logo {
  transform: scale(0.9);
}

.header-top {
  height: 40px;
  background: #18181b;
  color: white;
  font-size: var(--text-sm);
  display: flex;
  align-items: center;
  justify-content: center;
}

.contact-bar {
  height: 44px;
  background: var(--primary-color, #ff6b35);
  color: white;
  font-size: var(--text-sm);
  display: flex;
  align-items: center;
}

.header-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 4px 0 !important;
  position: relative;
  height: 56px;
}

/* Modern Logo */
.logo {
  font-family: var(--font-display);
  font-size: 1.2rem !important;
  font-weight: 800;
  color: var(--brand-primary);
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 4px !important;
  transition: all var(--transition-base);
  position: relative;
}

.logo::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--brand-primary), var(--primary-600));
  transition: width var(--transition-base);
}

.logo:hover::after {
  width: 100%;
}

.logo i {
  font-size: 1.5rem !important;
  background: linear-gradient(135deg, var(--brand-primary), var(--primary-600));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  filter: drop-shadow(0 2px 4px rgba(243, 115, 22, 0.2));
}

/* Modern Navigation */
.desktop-nav {
  display: flex;
  align-items: center;
}

.nav-menu {
  display: flex;
  list-style: none;
  gap: var(--space-1);
  margin: 0;
  align-items: center;
}

.nav-menu li a {
  color: var(--neutral-700);
  text-decoration: none;
  font-weight: 500;
  font-size: 0.95rem !important;
  padding: 4px 10px !important;
  border-radius: var(--radius-full);
  transition: all var(--transition-base);
  position: relative;
  white-space: nowrap;
  display: flex;
  align-items: center;
  gap: 4px !important;
}

.nav-menu li a::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: var(--radius-full);
  background: linear-gradient(135deg, var(--brand-primary), var(--primary-600));
  opacity: 0;
  transition: opacity var(--transition-base);
  z-index: -1;
}

.nav-menu li a:hover::before,
.nav-menu li a.active::before {
  opacity: 0.1;
}

.nav-menu li a:hover,
.nav-menu li a.active {
  color: var(--brand-primary);
  transform: translateY(-1px);
}

/* Header Actions */
.header-actions {
  display: flex;
  align-items: center;
  gap: 8px !important;
}

.cart-icon, .user-icon {
  position: relative;
  color: var(--neutral-700);
  font-size: var(--text-lg);
  padding: var(--space-2);
  border-radius: var(--radius-lg);
  transition: all var(--transition-base);
  text-decoration: none;
  display: flex;
  align-items: center;
  justify-content: center;
}

.cart-icon:hover, .user-icon:hover {
  color: var(--brand-primary);
  background: var(--primary-50);
  transform: translateY(-1px);
}

.cart-count {
  position: absolute;
  top: -2px;
  right: -2px;
  background: linear-gradient(135deg, var(--brand-error), #dc2626);
  color: white;
  border-radius: var(--radius-full);
  font-size: var(--text-xs);
  font-weight: 600;
  padding: var(--space-1) var(--space-2);
  min-width: 18px;
  height: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-sm);
}

/* Mobile Menu Toggle */
.mobile-menu-toggle {
  display: none;
  flex-direction: column;
  cursor: pointer;
  padding: var(--space-2);
  border-radius: var(--radius-md);
  transition: all var(--transition-base);
  background: transparent;
  border: none;
  outline: none;
  z-index: 60;
}

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

.mobile-menu-toggle span {
  width: 24px;
  height: 2px;
  background: var(--neutral-700);
  border-radius: var(--radius-full);
  transition: all var(--transition-base);
  transform-origin: center;
}

.mobile-menu-toggle span:not(:last-child) {
  margin-bottom: 5px;
}

.mobile-menu-toggle.active span:nth-child(1) {
  transform: rotate(45deg) translate(6px, 6px);
}

.mobile-menu-toggle.active span:nth-child(2) {
  opacity: 0;
}

.mobile-menu-toggle.active span:nth-child(3) {
  transform: rotate(-45deg) translate(6px, -6px);
}

/* Mobile Navigation Overlay */
.mobile-nav-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  -webkit-backdrop-filter: blur(5px);
  backdrop-filter: blur(5px);
  z-index: 40;
  opacity: 0;
  visibility: hidden;
  transition: all var(--transition-base);
}

.mobile-nav-overlay.active {
  opacity: 1;
  visibility: visible;
}

/* Mobile Navigation Panel */
.mobile-nav {
  position: fixed;
  top: 0;
  right: -100%;
  width: 300px;
  max-width: 85vw;
  height: 100vh;
  background: var(--background);
  z-index: 50;
  transition: right var(--transition-slow);
  box-shadow: var(--shadow-2xl);
  border-left: 1px solid var(--border);
  overflow-y: auto;
}

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

.mobile-nav .nav-menu {
  flex-direction: column;
  padding: var(--space-8) 0;
  gap: 0;
  height: auto;
  list-style: none;
  margin: 0;
}

.mobile-nav .nav-menu li {
  width: 100%;
  border-bottom: 1px solid var(--border);
}

.mobile-nav .nav-menu li:last-child {
  border-bottom: none;
}

.mobile-nav .nav-menu li a {
  display: flex;
  align-items: center;
  width: 100%;
  padding: var(--space-4) var(--space-6);
  font-size: var(--text-base);
  font-weight: 500;
  color: var(--neutral-700);
  text-decoration: none;
  transition: all var(--transition-base);
  border-radius: 0;
}

.mobile-nav .nav-menu li a:hover,
.mobile-nav .nav-menu li a.active {
  background: var(--primary-50);
  color: var(--brand-primary);
  padding-left: var(--space-8);
}

/* Ultra Modern Hero Section */
.modern-hero {
  position: relative;
  min-height: 85vh;
  background: linear-gradient(135deg, #1a1a40 0%, #23235b 60%, #ffb347 100%);
  /* deep blue to gold/orange */
  overflow: hidden;
  display: flex;
  align-items: center;
  padding: var(--space-8) 0;
  width: 100%;
  max-width: 100vw;
}

.hero-background {
  position: absolute;
  inset: 0;
  overflow: hidden;
  z-index: 1;
  -webkit-backdrop-filter: blur(20px);
  backdrop-filter: blur(20px);
}

.hero-shapes {
  position: absolute;
  inset: 0;
  overflow: hidden;
}

.shape {
  position: absolute;
  border-radius: var(--radius-full);
  background: linear-gradient(135deg, rgba(243, 115, 22, 0.1), rgba(251, 146, 60, 0.05));
  backdrop-filter: blur(40px);
  animation: float 20s ease-in-out infinite;
}

.shape-1 {
  width: 400px;
  height: 400px;
  top: -100px;
  left: -100px;
  animation-duration: 12s;
}

.shape-2 {
  width: 300px;
  height: 300px;
  bottom: -75px;
  right: -75px;
  animation-duration: 15s;
  animation-delay: 2s;
}

.shape-3 {
  width: 150px;
  height: 150px;
  bottom: 25%;
  left: 30%;
  animation-duration: 8s;
}

@keyframes float {
  0%, 100% { transform: translateY(0px) rotate(0deg); }
  33% { transform: translateY(-20px) rotate(120deg); }
  66% { transform: translateY(10px) rotate(240deg); }
}

.floating-particles {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
}

.particle {
  position: absolute;
  width: 4px;
  height: 4px;
  background: var(--brand-primary);
  border-radius: var(--radius-full);
  animation: particle-float 15s linear infinite;
  opacity: 0.6;
}

.particle:nth-child(1) { left: 20%; animation-delay: 0s; }
.particle:nth-child(2) { left: 40%; animation-delay: 3s; }
.particle:nth-child(3) { left: 60%; animation-delay: 6s; }
.particle:nth-child(4) { left: 80%; animation-delay: 9s; }
.particle:nth-child(5) { left: 90%; animation-delay: 12s; }

@keyframes particle-float {
  0% {
    transform: translateY(100vh) scale(0);
    opacity: 0;
  }
  10% {
    opacity: 0.6;
  }
  90% {
    opacity: 0.6;
  }
  100% {
    transform: translateY(-100vh) scale(1);
    opacity: 0;
  }
}

.hero-content {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-12);
  align-items: center;
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 var(--space-6);
  width: 100%;
  box-sizing: border-box;
  overflow: hidden;
  -webkit-backdrop-filter: blur(20px);
  backdrop-filter: blur(20px);
}

.hero-text {
  max-width: 600px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  background: linear-gradient(90deg, #ffd700 0%, #ff6b35 100%);
  color: #23235b;
  border: 1px solid #ffd700;
  padding: var(--space-2) var(--space-4);
  border-radius: var(--radius-full);
  font-size: var(--text-sm);
  font-weight: 600;
  margin-bottom: var(--space-6);
  box-shadow: var(--shadow-sm);
}

.badge-icon {
  font-size: var(--text-base);
}

.hero-title {
  font-family: var(--font-display);
  font-size: var(--text-5xl);
  font-weight: 800;
  line-height: 1.1;
  margin-bottom: var(--space-6);
  color: var(--neutral-900);
  background: linear-gradient(90deg, #fffbe7 0%, #ffd700 40%, #ff6b35 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.title-main {
  display: block;
  background: linear-gradient(90deg, #fffbe7 0%, #ffd700 40%, #ff6b35 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.title-sub {
  display: block;
  background: linear-gradient(90deg, #ffd700 0%, #ff6b35 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  font-size: 0.9em;
}

.hero-description {
  font-size: var(--text-lg);
  color: #fffbe7;
  line-height: 1.6;
  margin-bottom: var(--space-8);
  max-width: 500px;
}

.hero-features {
  display: flex;
  gap: var(--space-6);
  margin-bottom: var(--space-8);
  flex-wrap: wrap;
}

.feature {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  background: rgba(255, 255, 255, 0.7);
  backdrop-filter: blur(10px);
  padding: var(--space-3) var(--space-4);
  border-radius: var(--radius-xl);
  border: 1px solid rgba(243, 115, 22, 0.1);
  box-shadow: var(--shadow-xs);
}

.feature-icon {
  width: 40px;
  height: 40px;
  background: linear-gradient(135deg, #ffd700, #ff6b35);
  color: #23235b;
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: var(--text-sm);
  box-shadow: var(--shadow-sm);
}

.feature span {
  font-weight: 600;
  font-size: var(--text-sm);
  color: var(--neutral-700);
}

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

.btn-primary, .btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  padding: var(--space-3) var(--space-6);
  border-radius: var(--radius-full);
  text-decoration: none;
  font-weight: 600;
  font-size: var(--text-sm);
  transition: all var(--transition-base);
  position: relative;
  overflow: hidden;
  border: none;
  cursor: pointer;
  white-space: nowrap;
  background: linear-gradient(90deg, #ffd700 0%, #ff6b35 100%);
  color: #23235b;
}

.btn-primary::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, var(--primary-400), var(--primary-500));
  opacity: 0;
  transition: opacity var(--transition-base);
}

.btn-primary:hover {
  transform: translateY(-1px);
  box-shadow: var(--shadow-md);
  background: linear-gradient(90deg, #ffb347 0%, #ff6b35 100%);
}

.btn-primary:hover::before {
  opacity: 1;
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.9);
  color: var(--neutral-700);
  border: 1px solid var(--border);
  backdrop-filter: blur(10px);
}

.btn-secondary:hover {
  background: white;
  transform: translateY(-1px);
  box-shadow: var(--shadow-md);
  color: var(--brand-primary);
}

/* Modern Hero Visual */
.hero-visual {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}

.hero-image-container {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  -webkit-backdrop-filter: blur(20px);
  backdrop-filter: blur(20px);
}

.hero-image {
  width: 100%;
  max-width: 400px;
  border-radius: var(--radius-2xl);
  box-shadow: var(--shadow-xl);
  -webkit-backdrop-filter: blur(20px);
  backdrop-filter: blur(20px);
}

.image-glow {
  position: absolute;
  width: 120%;
  height: 120%;
  background: radial-gradient(circle, rgba(243, 115, 22, 0.15) 0%, transparent 70%);
  border-radius: var(--radius-full);
  animation: pulse-glow 4s ease-in-out infinite;
  z-index: -1;
}

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

.crackers-display {
  position: relative;
  width: 250px;
  height: 250px;
  display: grid;
  place-items: center;
}

.cracker-item {
  position: absolute;
  width: 70px;
  height: 70px;
  background: linear-gradient(135deg, var(--brand-primary), var(--primary-600));
  border-radius: var(--radius-2xl);
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: var(--text-xl);
  box-shadow: var(--shadow-lg);
  animation: cracker-float 6s ease-in-out infinite;
  border: 2px solid rgba(255, 255, 255, 0.3);
}

.cracker-1 {
  top: 10%;
  left: 50%;
  transform: translateX(-50%);
  animation-delay: 0s;
}

.cracker-2 {
  bottom: 15%;
  left: 15%;
  animation-delay: 2s;
}

.cracker-3 {
  bottom: 15%;
  right: 15%;
  animation-delay: 4s;
}

@keyframes cracker-float {
  0%, 100% {
    transform: translateY(0px) rotate(0deg);
  }
  33% {
    transform: translateY(-15px) rotate(5deg);
  }
  66% {
    transform: translateY(8px) rotate(-5deg);
  }
}

.hero-stats {
  display: flex;
  gap: var(--space-8);
  margin-top: var(--space-8);
  -webkit-backdrop-filter: blur(20px);
  backdrop-filter: blur(20px);
}

.stat {
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(10px);
  padding: var(--space-4) var(--space-3);
  border-radius: var(--radius-xl);
  text-align: center;
  border: 1px solid rgba(243, 115, 22, 0.2);
  min-width: 90px;
  box-shadow: var(--shadow-sm);
}

.stat-number {
  font-size: var(--text-xl);
  font-weight: 800;
  color: var(--brand-primary);
  display: block;
}

.stat-label {
  font-size: var(--text-xs);
  color: var(--neutral-600);
  margin-top: var(--space-1);
  font-weight: 500;
}

.hero-offer-banner {
  background: linear-gradient(90deg, var(--brand-primary), var(--brand-accent));
  color: white;
  padding: 1.5rem 0;
  position: relative;
  overflow: hidden;
}

.hero-offer-banner::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
  animation: shine 3s infinite;
}

@keyframes shine {
  0% {
    left: -100%;
  }
  100% {
    left: 100%;
  }
}

.offer-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  flex-wrap: wrap;
}

.offer-icon {
  font-size: 2rem;
  background: rgba(255, 255, 255, 0.2);
  width: 60px;
  height: 60px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  animation: bounce 2s infinite;
}

@keyframes bounce {
  0%, 20%, 50%, 80%, 100% {
    transform: translateY(0);
  }
  40% {
    transform: translateY(-10px);
  }
  60% {
    transform: translateY(-5px);
  }
}

.offer-text {
  flex: 1;
  min-width: 300px;
}

.offer-text strong {
  display: block;
  font-size: 1.3rem;
  margin-bottom: 0.5rem;
}

.offer-text span {
  opacity: 0.9;
  font-size: 1rem;
}

.offer-timer {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.timer-label {
  font-weight: 600;
  opacity: 0.9;
}

.timer {
  display: flex;
  gap: 1rem;
}

.timer-unit {
  text-align: center;
  background: rgba(255, 255, 255, 0.2);
  padding: 0.75rem 1rem;
  border-radius: 8px;
  backdrop-filter: blur(10px);
}

.timer-number {
  display: block;
  font-size: 1.5rem;
  font-weight: 800;
  line-height: 1;
}

.timer-text {
  display: block;
  font-size: 0.7rem;
  opacity: 0.8;
  margin-top: 0.25rem;
}

/* Modern Section Styling */
.section-title {
  font-family: var(--font-display);
  font-size: var(--text-3xl);
  font-weight: 800;
  color: var(--brand-primary);
  margin-bottom: var(--space-6);
  -webkit-backdrop-filter: blur(20px);
  backdrop-filter: blur(20px);
}

.section-title::after {
  content: '';
  position: absolute;
  bottom: -var(--space-3);
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 3px;
  background: linear-gradient(90deg, var(--brand-primary), var(--primary-600));
  border-radius: var(--radius-full);
}

/* Modern Categories Section */
.categories-section, .quick-categories {
  padding: var(--space-20) 0;
  background: var(--neutral-50);
  width: 100%;
  max-width: 100vw;
  overflow-x: hidden;
}

.categories-grid, .quick-categories-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: var(--space-6);
  margin-top: var(--space-12);
  width: 100%;
  max-width: 100%;
  overflow: hidden;
}

.category-card, .quick-cat-item {
  background: white;
  border-radius: var(--radius-2xl);
  padding: var(--space-8);
  text-decoration: none;
  color: var(--neutral-900);
  transition: all var(--transition-base);
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border);
  position: relative;
  overflow: hidden;
  text-align: center;
  group: hover;
}

.category-card::before, .quick-cat-item::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--brand-primary), var(--primary-600));
  transform: scaleX(0);
  transition: transform var(--transition-base);
}

.category-card:hover, .quick-cat-item:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: var(--primary-200);
}

.category-card:hover::before, .quick-cat-item:hover::before {
  transform: scaleX(1);
}

.category-image {
  margin-bottom: var(--space-6);
  position: relative;
}

.category-image i, .quick-cat-item i {
  font-size: var(--text-5xl);
  color: var(--brand-primary);
  margin-bottom: var(--space-4);
  transition: all var(--transition-base);
}

.category-card:hover .category-image i,
.quick-cat-item:hover i {
  transform: scale(1.1);
  color: var(--primary-600);
}

.category-info h3 {
  font-family: var(--font-display);
  font-size: var(--text-xl);
  font-weight: 700;
  margin-bottom: var(--space-2);
  color: var(--neutral-900);
}

.category-info p {
  color: var(--neutral-600);
  font-size: var(--text-sm);
  line-height: 1.6;
}

/* Modern Products Section */
.products-section {
  padding: var(--space-20) 0;
  background: white;
  width: 100%;
  max-width: 100vw;
  overflow-x: hidden;
}

.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 350px));
  gap: var(--space-6);
  justify-content: center;
}

.product-card {
  background-color: var(--background);
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-base);
  transition: all var(--transition-base);
  border: 1px solid var(--border);
  position: relative;
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  background: rgba(255, 255, 255, 0.5);
}

.product-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: var(--primary-200);
}

.product-image {
  position: relative;
  width: 100%;
  height: 200px;
  overflow: hidden;
  border-radius: var(--radius-lg);
  background: var(--neutral-100);
  display: flex;
  align-items: center;
  justify-content: center;
}

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

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

.product-image::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(243, 115, 22, 0.1), transparent);
  opacity: 0;
  transition: opacity var(--transition-base);
}

.product-card:hover .product-image::before {
  opacity: 1;
}

.product-image i {
  font-size: var(--text-6xl);
  color: var(--neutral-300);
}

.product-badge {
  position: absolute;
  top: var(--space-3);
  right: var(--space-3);
  background: linear-gradient(135deg, var(--brand-error), #dc2626);
  color: white;
  padding: var(--space-1) var(--space-3);
  border-radius: var(--radius-full);
  font-size: var(--text-xs);
  font-weight: 600;
  box-shadow: var(--shadow-sm);
}

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

.product-info h3 {
  font-family: var(--font-display);
  font-size: var(--text-lg);
  font-weight: 700;
  margin-bottom: var(--space-2);
  color: var(--neutral-900);
  line-height: 1.4;
}

.product-info p {
  color: var(--neutral-600);
  font-size: var(--text-sm);
  line-height: 1.5;
  margin-bottom: var(--space-4);
}

.product-price {
  margin-bottom: var(--space-4);
}

.current-price {
  font-size: var(--text-xl);
  font-weight: 800;
  color: var(--brand-primary);
}

.original-price {
  font-size: var(--text-base);
  color: var(--neutral-400);
  text-decoration: line-through;
  margin-left: var(--space-2);
}

.add-to-cart {
  width: 100%;
  background: linear-gradient(135deg, var(--brand-primary), var(--primary-600));
  color: white;
  border: none;
  padding: var(--space-3) var(--space-4);
  border-radius: var(--radius-lg);
  font-weight: 600;
  font-size: var(--text-sm);
  cursor: pointer;
  transition: all var(--transition-base);
  text-transform: none;
  letter-spacing: normal;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
}

.add-to-cart:hover {
  transform: translateY(-1px);
  box-shadow: var(--shadow-md);
  background: linear-gradient(135deg, var(--primary-600), var(--primary-700));
}

.add-to-cart:active {
  transform: translateY(0);
}

/* Special Offers Section */
.special-offers {
  background: linear-gradient(135deg, var(--primary-50), var(--primary-100));
  padding: var(--space-20) 0;
  text-align: center;
  position: relative;
  overflow: hidden;
  width: 100%;
  max-width: 100vw;
}

.special-offers::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 50% 50%, rgba(243, 115, 22, 0.05), transparent);
  animation: pulse 4s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 0.5; }
  50% { opacity: 1; }
}

.offer-badge {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  background: linear-gradient(135deg, var(--brand-primary), var(--primary-600));
  color: white;
  padding: var(--space-3) var(--space-6);
  border-radius: var(--radius-full);
  font-weight: 700;
  font-size: var(--text-sm);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: var(--space-6);
  box-shadow: var(--shadow-lg);
}

.special-offers h2 {
  font-family: var(--font-display);
  font-size: var(--text-4xl);
  font-weight: 800;
  color: var(--neutral-900);
  margin-bottom: var(--space-4);
  line-height: 1.2;
}

.special-offers p {
  font-size: var(--text-lg);
  color: var(--neutral-600);
  max-width: 600px;
  margin: 0 auto var(--space-8);
  line-height: 1.6;
}

/* Modern Footer */
.footer {
  background: linear-gradient(135deg, var(--neutral-900), var(--neutral-800));
  color: white;
  padding: var(--space-20) 0 var(--space-8);
  position: relative;
  width: 100%;
  max-width: 100vw;
  overflow-x: hidden;
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: var(--space-8);
  margin-bottom: var(--space-12);
}

.footer-section h3 {
  font-family: var(--font-display);
  font-size: var(--text-xl);
  font-weight: 700;
  margin-bottom: var(--space-6);
  color: white;
  position: relative;
}

.footer-section h3::after {
  content: '';
  position: absolute;
  bottom: -var(--space-2);
  left: 0;
  width: 40px;
  height: 2px;
  background: var(--brand-primary);
  border-radius: var(--radius-full);
}

.footer-section p {
  color: var(--neutral-300);
  line-height: 1.6;
  margin-bottom: var(--space-4);
}

.footer-section ul {
  list-style: none;
}

.footer-section ul li {
  margin-bottom: var(--space-2);
}

.footer-section ul li a {
  color: var(--neutral-300);
  text-decoration: none;
  transition: all var(--transition-base);
  font-size: var(--text-sm);
  display: flex;
  align-items: center;
  gap: var(--space-2);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
}

.footer-section ul li a:hover {
  color: var(--brand-primary);
  transform: translateX(4px);
}

.social-links {
  display: flex;
  gap: var(--space-4);
  margin-top: var(--space-6);
}

.social-links a {
  width: 44px;
  height: 44px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--neutral-300);
  font-size: var(--text-lg);
  transition: all var(--transition-base);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.social-links a:hover {
  background: var(--brand-primary);
  color: white;
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: var(--space-8);
  text-align: center;
  color: var(--neutral-400);
  font-size: var(--text-sm);
}

/* Notification System */
.notification {
  position: fixed;
  top: var(--space-6);
  right: var(--space-6);
  background: white;
  color: var(--neutral-900);
  padding: var(--space-4) var(--space-6);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-xl);
  border-left: 4px solid var(--brand-primary);
  transform: translateX(400px);
  transition: all var(--transition-base);
  z-index: 1000;
  min-width: 300px;
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
}

.notification.show {
  transform: translateX(0);
}

.notification.success {
  border-left-color: var(--brand-success);
}

.notification.error {
  border-left-color: var(--brand-error);
}

.notification.warning {
  border-left-color: var(--brand-warning);
}

.notification.info {
  border-left-color: var(--brand-accent);
}

/* Loading States */
.loading {
  display: inline-block;
  width: 20px;
  height: 20px;
  border: 2px solid var(--neutral-200);
  border-radius: var(--radius-full);
  border-top-color: var(--brand-primary);
  animation: spin 1s linear infinite;
}

.loading::after {
  content: '';
  display: block;
  width: 16px;
  height: 16px;
  margin: 1px;
  border-radius: var(--radius-full);
  border: 2px solid transparent;
  border-top-color: var(--brand-primary);
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

/* Premium Badge Animation */
.premium-badge {
  position: relative;
  overflow: hidden;
}

.premium-badge::after {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
  animation: glow 2s infinite;
}

@keyframes glow {
  0% { left: -100%; }
  100% { left: 100%; }
}

/* General Button Styles */
.btn {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  background: linear-gradient(135deg, var(--brand-primary), var(--primary-600));
  color: white;
  padding: var(--space-3) var(--space-4);
  text-decoration: none;
  border-radius: var(--radius-lg);
  font-weight: 600;
  font-size: var(--text-sm);
  transition: all var(--transition-base);
  border: none;
  cursor: pointer;
  box-shadow: var(--shadow-sm);
  text-transform: none;
  letter-spacing: normal;
  position: relative;
  overflow: hidden;
  white-space: nowrap;
}

.btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
  transition: left var(--transition-slow);
}

.btn:hover {
  transform: translateY(-1px);
  box-shadow: var(--shadow-md);
}

.btn:hover::before {
  left: 100%;
}

.btn:active {
  transform: translateY(0);
}

.btn-secondary {
  background: linear-gradient(135deg, var(--neutral-500), var(--neutral-600));
}

.btn-success {
  background: linear-gradient(135deg, var(--brand-success), #059669);
}

.btn-sm {
  padding: var(--space-2) var(--space-3);
  font-size: var(--text-xs);
}

.btn-lg {
  padding: var(--space-4) var(--space-6);
  font-size: var(--text-base);
}

/* Location Banner */
.location-banner {
  background: linear-gradient(135deg, var(--neutral-900), var(--neutral-800));
  color: white;
  padding: var(--space-2) 0;
  text-align: center;
  font-size: var(--text-sm);
  font-weight: 500;
  position: relative;
  overflow: hidden;
}

.location-banner::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
  animation: shimmer 3s infinite;
}

/* Modern Mobile Responsiveness */
@media (max-width: 1024px) {
  .hero-content {
    grid-template-columns: 1fr;
    gap: var(--space-8);
    text-align: center;
  }
  
  .hero-title {
    font-size: var(--text-4xl);
  }
  
  .hero-image-container {
    width: 350px;
    height: 350px;
  }
  
  .hero-image {
    width: 280px;
    height: 280px;
  }
  
  .categories-grid, .quick-categories-grid {
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: var(--space-4);
  }
  
  .products-grid {
    grid-template-columns: repeat(auto-fill, minmax(280px, 350px));
    gap: var(--space-6);
    justify-content: center;
  }
}

@media (max-width: 768px) {
  .container {
    padding: 0 var(--space-4);
    max-width: 100vw;
  }
  
  .mobile-menu-toggle {
    display: flex !important;
    z-index: 60;
  }
  
  .mobile-nav-overlay,
  .mobile-nav {
    display: block !important;
  }
  
  .desktop-nav {
    display: none !important;
  }
  
  .header-actions {
    gap: 8px !important;
  }
  
  .header-content {
    padding: 2px 0 !important;
  }
  
  .logo {
    font-size: 1rem !important;
  }
  
  .logo i {
    font-size: 1.2rem !important;
  }
  
  .modern-hero {
    min-height: 100vh;
    padding: var(--space-8) 0 var(--space-16);
    background: linear-gradient(135deg, #1a1a40 0%, #23235b 60%, #ffb347 100%);
  }
  
  .hero-content {
    grid-template-columns: 1fr;
    gap: var(--space-8);
    text-align: center;
    padding: 0 var(--space-4);
  }
  
  .hero-text {
    order: 1;
    max-width: 100%;
  }
  
  .hero-visual {
    order: 2;
    margin-top: var(--space-4);
  }
  
  .hero-badge {
    font-size: var(--text-sm);
    padding: var(--space-3) var(--space-4);
    margin-bottom: var(--space-6);
    display: inline-flex;
    max-width: max-content;
    margin-left: auto;
    margin-right: auto;
  }
  
  .hero-title {
    font-size: var(--text-4xl);
    margin-bottom: var(--space-6);
    line-height: 1.1;
  }
  
  .title-main {
    display: block;
    font-size: 1em;
    margin-bottom: var(--space-2);
  }
  
  .title-sub {
    display: block;
    font-size: 0.8em;
  }
  
  .hero-description {
    font-size: var(--text-base);
    margin-bottom: var(--space-8);
    line-height: 1.6;
    max-width: 100%;
    padding: 0 var(--space-2);
  }
  
  .hero-features {
    flex-direction: column;
    gap: var(--space-4);
    margin-bottom: var(--space-8);
    align-items: center;
  }
  
  .feature {
    flex-direction: row;
    justify-content: center;
    align-items: center;
    padding: var(--space-4) var(--space-6);
    max-width: 280px;
    width: 100%;
    text-align: left;
    background: rgba(255, 255, 255, 0.8);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-sm);
  }
  
  .feature-icon {
    width: 40px;
    height: 40px;
    font-size: var(--text-sm);
    margin-right: var(--space-3);
    flex-shrink: 0;
  }
  
  .feature span {
    font-size: var(--text-sm);
    font-weight: 600;
  }
  
  .hero-actions {
    flex-direction: column;
    gap: var(--space-4);
    width: 100%;
    align-items: center;
  }
  
  .btn-primary, .btn-secondary {
    width: 100%;
    max-width: 280px;
    justify-content: center;
    padding: var(--space-4) var(--space-6);
    font-size: var(--text-base);
    border-radius: var(--radius-xl);
  }
  
  .hero-image-container {
    width: 300px;
    height: 300px;
    margin: 0 auto;
  }
  
  .hero-image {
    width: 250px;
    height: 250px;
  }
  
  .crackers-display {
    width: 200px;
    height: 200px;
  }
  
  .cracker-item {
    width: 60px;
    height: 60px;
    font-size: var(--text-lg);
  }
  
  .hero-stats {
    position: static;
    margin-top: var(--space-8);
    justify-content: center;
    flex-wrap: wrap;
    gap: var(--space-3);
    transform: none;
  }
  
  .stat {
    min-width: 80px;
    padding: var(--space-3) var(--space-2);
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(243, 115, 22, 0.2);
    box-shadow: var(--shadow-sm);
  }
  
  .stat-number {
    font-size: var(--text-lg);
    color: var(--brand-primary);
  }
  
  .stat-label {
    font-size: var(--text-xs);
    color: var(--neutral-600);
  }
  
  .section-title {
    font-size: var(--text-3xl);
    margin-bottom: var(--space-8);
  }
  
  .categories-section, .quick-categories, .products-section {
    padding: var(--space-16) 0;
  }
  
  .categories-grid, .quick-categories-grid {
    grid-template-columns: 1fr;
    gap: var(--space-4);
    margin-top: var(--space-6);
  }
  
  .category-card, .quick-cat-item {
    padding: var(--space-6);
    text-align: center;
  }
  
  .category-image i, .quick-cat-item i {
    font-size: var(--text-4xl);
    margin-bottom: var(--space-3);
  }
  
  .category-info h3 {
    font-size: var(--text-lg);
    margin-bottom: var(--space-2);
  }
  
  .category-info p {
    font-size: var(--text-sm);
  }
  
  .products-grid {
    grid-template-columns: 1fr;
    gap: var(--space-6);
    margin-top: var(--space-6);
  }
  
  .product-card {
    max-width: 400px;
    margin: 0 auto;
  }
  
  .product-image {
    height: 200px;
  }
  
  .product-info {
    padding: var(--space-5);
  }
  
  .product-info h3 {
    font-size: var(--text-lg);
  }
  
  .product-info p {
    font-size: var(--text-sm);
  }
  
  .special-offers {
    padding: var(--space-16) 0;
  }
  
  .special-offers h2 {
    font-size: var(--text-3xl);
  }
  
  .special-offers p {
    font-size: var(--text-base);
    padding: 0 var(--space-4);
  }
  
  .footer {
    padding: var(--space-16) 0 var(--space-6);
  }
  
  .footer-content {
    grid-template-columns: 1fr;
    gap: var(--space-6);
    text-align: center;
    margin-bottom: var(--space-8);
  }
  
  .footer-section h3 {
    font-size: var(--text-lg);
    margin-bottom: var(--space-4);
  }
  
  .footer-section h3::after {
    left: 50%;
    transform: translateX(-50%);
  }
  
  .social-links {
    justify-content: center;
    margin-top: var(--space-4);
  }
  
  .notification {
    right: var(--space-4);
    left: var(--space-4);
    min-width: auto;
    max-width: calc(100vw - var(--space-8));
  }
  
  .mobile-nav .nav-menu {
    padding-top: var(--space-12);
  }
  
  .mobile-nav .nav-menu li a {
    padding: var(--space-4) var(--space-6);
    font-size: var(--text-base);
    font-weight: 500;
  }
  
  .mobile-nav .nav-menu li a:hover,
  .mobile-nav .nav-menu li a.active {
    background: linear-gradient(135deg, var(--primary-50), var(--primary-100));
    color: var(--brand-primary);
    padding-left: var(--space-8);
    border-left: 3px solid var(--brand-primary);
  }
  .header-top {
    font-size: 0.95rem;
    height: 36px;
  }
  .header {
    top: 36px;
  }
  body {
    padding-top: 140px;
  }
  .header-top .timing-marquee {
    display: inline-block;
    white-space: nowrap;
    animation: marquee-left 8s linear infinite;
    font-weight: 600;
    font-size: 1em;
    color: #fff;
    padding-left: 100vw;
  }
}

@keyframes marquee-left {
  0% { transform: translateX(0); }
  100% { transform: translateX(-100%); }
}

/* Smooth Transitions */
* {
  -webkit-tap-highlight-color: transparent;
}

button, .btn, a {
  -webkit-touch-callout: none;
  -webkit-user-select: none;
  -khtml-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
}

/* Improved Focus States for Accessibility */
.btn:focus,
.mobile-menu-toggle:focus,
.nav-menu a:focus,
.cart-icon:focus,
.user-icon:focus {
  outline: 2px solid var(--brand-primary);
  outline-offset: 2px;
}

/* Loading State for Mobile */
.mobile-nav.loading::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 20px;
  height: 20px;
  border: 2px solid var(--neutral-200);
  border-top-color: var(--brand-primary);
  border-radius: var(--radius-full);
  animation: spin 1s linear infinite;
}

/* Mobile Hero Section Responsive */
@media (max-width: 768px) {
  .header-content {
    padding: var(--space-3) 0;
  }
  
  .desktop-nav {
    display: none;
  }
  
  .mobile-menu-toggle {
    display: flex;
  }
  
  .logo {
    font-size: var(--text-lg);
  }
  
  .logo i {
    font-size: var(--text-xl);
  }
  
  .modern-hero {
    min-height: 100vh;
    padding: var(--space-8) 0 var(--space-16);
    background: linear-gradient(135deg, #1a1a40 0%, #23235b 60%, #ffb347 100%);
  }
  
  .hero-content {
    grid-template-columns: 1fr;
    gap: var(--space-8);
    text-align: center;
    padding: 0 var(--space-4);
  }
  
  .hero-text {
    order: 1;
    max-width: 100%;
  }
  
  .hero-visual {
    order: 2;
    margin-top: var(--space-4);
  }
  
  .hero-badge {
    font-size: var(--text-sm);
    padding: var(--space-3) var(--space-4);
    margin-bottom: var(--space-6);
    display: inline-flex;
    max-width: max-content;
    margin-left: auto;
    margin-right: auto;
  }
  
  .hero-title {
    font-size: var(--text-4xl);
    margin-bottom: var(--space-6);
    line-height: 1.1;
  }
  
  .title-main {
    display: block;
    font-size: 1em;
    margin-bottom: var(--space-2);
  }
  
  .title-sub {
    display: block;
    font-size: 0.8em;
  }
  
  .hero-description {
    font-size: var(--text-base);
    margin-bottom: var(--space-8);
    line-height: 1.6;
    max-width: 100%;
    padding: 0 var(--space-2);
  }
  
  .hero-features {
    flex-direction: column;
    gap: var(--space-4);
    margin-bottom: var(--space-8);
    align-items: center;
  }
  
  .feature {
    flex-direction: row;
    justify-content: center;
    align-items: center;
    padding: var(--space-4) var(--space-6);
    max-width: 280px;
    width: 100%;
    text-align: left;
    background: rgba(255, 255, 255, 0.8);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-sm);
  }
  
  .feature-icon {
    width: 40px;
    height: 40px;
    font-size: var(--text-sm);
    margin-right: var(--space-3);
    flex-shrink: 0;
  }
  
  .feature span {
    font-size: var(--text-sm);
    font-weight: 600;
  }
  
  .hero-actions {
    flex-direction: column;
    gap: var(--space-4);
    width: 100%;
    align-items: center;
  }
  
  .btn-primary, .btn-secondary {
    width: 100%;
    max-width: 280px;
    justify-content: center;
    padding: var(--space-4) var(--space-6);
    font-size: var(--text-base);
    border-radius: var(--radius-xl);
  }
  
  .hero-image-container {
    width: 300px;
    height: 300px;
    margin: 0 auto;
  }
  
  .hero-image {
    width: 250px;
    height: 250px;
  }
  
  .crackers-display {
    width: 200px;
    height: 200px;
  }
  
  .cracker-item {
    width: 60px;
    height: 60px;
    font-size: var(--text-lg);
  }
  
  .hero-stats {
    position: static;
    margin-top: var(--space-8);
    justify-content: center;
    flex-wrap: wrap;
    gap: var(--space-3);
    transform: none;
  }
  
  .stat {
    min-width: 80px;
    padding: var(--space-3) var(--space-2);
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(243, 115, 22, 0.2);
    box-shadow: var(--shadow-sm);
  }
  
  .stat-number {
    font-size: var(--text-lg);
    color: var(--brand-primary);
  }
  
  .stat-label {
    font-size: var(--text-xs);
    color: var(--neutral-600);
  }
}

/* Extra Small Mobile Hero */
@media (max-width: 480px) {
  .container {
    padding: 0 var(--space-3);
  }
  
  .mobile-nav {
    width: 280px;
    max-width: 90vw;
  }
  
  .modern-hero {
    min-height: 100vh;
    padding: var(--space-6) 0 var(--space-12);
  }
  
  .hero-content {
    gap: var(--space-6);
    padding: 0 var(--space-3);
  }
  
  .hero-badge {
    font-size: var(--text-xs);
    padding: var(--space-2) var(--space-3);
  }
  
  .hero-title {
    font-size: var(--text-3xl);
    margin-bottom: var(--space-4);
  }
  
  .title-main {
    font-size: 1em;
  }
  
  .title-sub {
    font-size: 0.75em;
  }
  
  .hero-description {
    font-size: var(--text-sm);
    margin-bottom: var(--space-6);
    padding: 0;
  }
  
  .hero-features {
    gap: var(--space-3);
    margin-bottom: var(--space-6);
  }
  
  .feature {
    padding: var(--space-3) var(--space-4);
    max-width: 260px;
  }
  
  .feature-icon {
    width: 36px;
    height: 36px;
    font-size: var(--text-xs);
  }
  
  .feature span {
    font-size: var(--text-xs);
  }
  
  .hero-actions {
    gap: var(--space-3);
  }
  
  .btn-primary, .btn-secondary {
    max-width: 260px;
    padding: var(--space-3) var(--space-5);
    font-size: var(--text-sm);
  }
  
  .hero-image-container {
    width: 250px;
    height: 250px;
  }
  
  .hero-image {
    width: 200px;
    height: 200px;
  }
  
  .crackers-display {
    width: 160px;
    height: 160px;
  }
  
  .cracker-item {
    width: 50px;
    height: 50px;
    font-size: var(--text-base);
  }
  
  .hero-stats {
    margin-top: var(--space-6);
    gap: var(--space-2);
  }
  
  .stat {
    min-width: 70px;
    padding: var(--space-2) var(--space-1);
  }
  
  .stat-number {
    font-size: var(--text-base);
  }
  
  .stat-label {
    font-size: 10px;
  }
}

/* Fix Horizontal Scrolling Issues */
* {
  box-sizing: border-box;
}

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

/* Desktop Only - Hide Mobile Navigation */
@media (min-width: 769px) {
  .mobile-menu-toggle {
    display: none !important;
  }
  
  .mobile-nav-overlay,
  .mobile-nav {
    display: none !important;
  }
  
  .desktop-nav {
    display: flex !important;
    align-items: center;
  }
  
  .nav-menu {
    display: flex !important;
    list-style: none;
    gap: var(--space-1);
    margin: 0;
    align-items: center;
  }
  
  .header-actions {
    display: flex;
    align-items: center;
    gap: var(--space-3);
  }
  
  .hero-content {
    grid-template-columns: 1fr 1fr;
    text-align: left;
  }
  
  .hero-text {
    max-width: 600px;
  }
}

/* Tablet Responsive */
@media (max-width: 1024px) and (min-width: 769px) {
  .container {
    padding: 0 var(--space-6);
  }
  
  .hero-content {
    gap: var(--space-8);
    max-width: 1200px;
  }
  
  .hero-title {
    font-size: var(--text-4xl);
  }
  
  .hero-image-container {
    width: 350px;
    height: 350px;
  }
  
  .hero-image {
    width: 280px;
    height: 280px;
  }
}

/* Image Placeholder and Error Handling */
.product-image img, .category-image img, .banner-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: var(--radius-lg);
    transition: all var(--transition-base);
}

.product-image img:not([src]), 
.product-image img[src=""], 
.product-image img[src="public/placeholder.jpg"],
.category-image img:not([src]), 
.category-image img[src=""], 
.category-image img[src="public/placeholder.jpg"] {
    display: none;
}

.product-image:has(img:not([src])) .product-image-placeholder,
.product-image:has(img[src=""]) .product-image-placeholder,
.product-image:has(img[src="public/placeholder.jpg"]) .product-image-placeholder,
.category-image:has(img:not([src])) .category-image-placeholder,
.category-image:has(img[src=""]) .category-image-placeholder,
.category-image:has(img[src="public/placeholder.jpg"]) .category-image-placeholder {
    display: flex;
}

.product-image-placeholder, .category-image-placeholder {
    display: none;
    width: 100%;
    height: 200px;
    background: linear-gradient(135deg, var(--neutral-100), var(--neutral-200));
    border: 2px dashed var(--neutral-300);
    border-radius: var(--radius-lg);
    align-items: center;
    justify-content: center;
    flex-direction: column;
    color: var(--neutral-500);
    font-size: var(--text-sm);
    text-align: center;
    position: relative;
}

.product-image-placeholder i, .category-image-placeholder i {
    font-size: var(--text-4xl);
    margin-bottom: var(--space-2);
    color: var(--brand-primary);
    opacity: 0.7;
}

.product-image-placeholder::before, .category-image-placeholder::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: repeating-linear-gradient(
        45deg,
        transparent,
        transparent 10px,
        var(--neutral-200) 10px,
        var(--neutral-200) 20px
    );
    opacity: 0.1;
    border-radius: var(--radius-lg);
}

/* Enhanced Product Image Styling */
.product-image {
    position: relative;
    width: 100%;
    height: 200px;
    overflow: hidden;
    border-radius: var(--radius-lg);
    background: var(--neutral-100);
    display: flex;
    align-items: center;
    justify-content: center;
}

.product-image img {
    transition: transform var(--transition-base);
}

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

/* Enhanced Category Image Styling */
.category-image {
    position: relative;
    width: 100%;
    height: 150px;
    overflow: hidden;
    border-radius: var(--radius-lg);
    background: var(--neutral-100);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: var(--space-4);
}

.category-image img {
    transition: transform var(--transition-base);
}

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

/* Fallback for browsers that don't support :has() */
@supports not (selector(:has(*))) {
    .product-image img[src="public/placeholder.jpg"] + .product-image-placeholder,
    .category-image img[src="public/placeholder.jpg"] + .category-image-placeholder {
        display: flex;
    }
    
    .product-image img[src="public/placeholder.jpg"],
    .category-image img[src="public/placeholder.jpg"] {
        display: none;
    }
}

/* Error state for broken images */
.product-image img[src]:not([src=""]):not([src="public/placeholder.jpg"]) {
    background: linear-gradient(135deg, var(--neutral-100), var(--neutral-200));
    position: relative;
}

.product-image img[src]:not([src=""]):not([src="public/placeholder.jpg"])::after {
    content: '🖼️ Image not found';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: var(--neutral-500);
    font-size: var(--text-sm);
    text-align: center;
}

/* Responsive Adjustments for Login/Register */
@media (max-width: 768px) {
    .account-wrapper {
        flex-direction: column;
    }

    .account-form-container,
    .account-info-container {
        width: 100%;
        max-width: none;
        margin-bottom: var(--space-8);
    }
}

/* Login & Registration Page Styles */
.login-section {
    padding: var(--space-16) 0;
    background-color: var(--neutral-50);
}

.account-wrapper {
    display: flex;
    justify-content: center;
    align-items: flex-start;
    gap: var(--space-12);
}

.account-form-container, .account-info-container {
    width: 100%;
    max-width: 500px;
}

.account-form-container {
    background: var(--background);
    padding: var(--space-8);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--border);
}

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

.login-header h1 {
    font-size: var(--text-3xl);
    font-weight: 700;
    color: var(--foreground);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-3);
}

.login-header p {
    font-size: var(--text-lg);
    color: var(--muted-foreground);
    margin-top: var(--space-1);
}

.form-group {
    margin-bottom: var(--space-4);
}

.form-group label {
    display: flex;
    align-items: center;
    font-weight: 500;
    margin-bottom: var(--space-2);
    color: var(--foreground);
    gap: var(--space-2);
}

.form-group input[type="text"],
.form-group input[type="email"],
.form-group input[type="tel"],
.form-group input[type="password"] {
    width: 100%;
    padding: var(--space-3);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    font-size: var(--text-base);
    transition: all var(--transition-base);
}

.form-group input:focus {
    outline: none;
    border-color: var(--brand-primary);
    box-shadow: 0 0 0 2px var(--primary-100);
}

.password-group {
    position: relative;
}

.toggle-password {
    position: absolute;
    top: 50%;
    right: 15px;
    transform: translateY(25%);
    cursor: pointer;
    color: var(--muted-foreground);
}

.password-hint {
    font-size: var(--text-sm);
    color: var(--muted-foreground);
    margin-top: -1rem;
    margin-bottom: 1.5rem;
}

.terms-group {
    display: flex;
    align-items: center;
    gap: var(--space-2);
}

.terms-group input[type="checkbox"] {
    width: 16px;
    height: 16px;
    accent-color: var(--brand-primary);
}

.terms-group label {
    margin: 0;
    font-weight: 400;
}

.terms-group a {
    color: var(--brand-primary);
    text-decoration: none;
    font-weight: 500;
}
.terms-group a:hover {
    text-decoration: underline;
}

.btn-block {
    width: 100%;
    padding: var(--space-3);
    font-size: var(--text-lg);
}

.login-footer {
    text-align: center;
    margin-top: var(--space-6);
}

.login-footer a {
    color: var(--brand-primary);
    font-weight: 500;
    text-decoration: none;
}

.login-footer a:hover {
    text-decoration: underline;
}

.account-info-container {
    padding: var(--space-8);
}

.account-info-container h3 {
    font-size: var(--text-2xl);
    font-weight: 600;
    margin-bottom: var(--space-6);
}

.account-info-container ul {
    list-style: none;
    padding: 0;
}

.account-info-container li {
    display: flex;
    align-items: center;
    gap: var(--space-4);
    font-size: var(--text-lg);
    margin-bottom: var(--space-4);
}

.account-info-container li i {
    font-size: var(--text-xl);
    color: var(--brand-primary);
    width: 24px;
    text-align: center;
}

.account-info-container li a {
    color: inherit;
    text-decoration: none;
}
.account-info-container li a:hover {
    color: var(--brand-primary);
}

.message {
    padding: var(--space-4);
    margin-bottom: var(--space-4);
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    gap: var(--space-3);
    font-weight: 500;
}

.message.success {
    background-color: var(--primary-100);
    color: var(--primary-800);
    border: 1px solid var(--primary-200);
}

.message.error {
    background-color: #fde8e8;
    color: #9b1c1c;
    border: 1px solid #f9c5c5;
}

.message.info {
    background-color: #e8f5fd;
    color: #1c5f9b;
    border: 1px solid #c5e5f9;
}

/* Featured Products Section */
.featured-products-section {
    padding: 60px 0;
    background-color: #ffffff;
    border-top: 1px solid #e9ecef;
}

.featured-products-section .section-header {
    margin-bottom: 40px;
    text-align: center;
}

.featured-products-section .section-header h2 {
    font-size: 2.5rem;
    font-weight: 700;
    color: #2c3e50;
    margin-bottom: 10px;
}

.featured-products-section .section-header p {
    font-size: 1.1rem;
    color: #6c757d;
}

.featured-products-section .product-card .product-image .fa-star {
    font-size: 2.5rem;
    color: var(--brand-warning);
}

/* 
==============================================
Product Recommendation Sections (Featured, Bestsellers, New Items)
==============================================
*/

.featured-products-section,
.bestsellers-section,
.new-items-section {
    padding: var(--space-16) 0;
    background-color: var(--neutral-50);
    text-align: center;
}

.bestsellers-section {
    background-color: var(--neutral-100);
}

.new-items-section {
    background-color: var(--background);
}

.featured-products-section .section-header,
.bestsellers-section .section-header,
.new-items-section .section-header {
    margin-bottom: var(--space-10);
}

.featured-products-section .section-header h2,
.bestsellers-section .section-header h2,
.new-items-section .section-header h2 {
    font-family: var(--font-display);
    font-size: var(--text-4xl);
    font-weight: 800;
    color: var(--brand-secondary);
    margin-bottom: var(--space-2);
}

.featured-products-section .section-header p,
.bestsellers-section .section-header p,
.new-items-section .section-header p {
    font-size: var(--text-lg);
    color: var(--neutral-500);
    max-width: 600px;
    margin: 0 auto;
}

.bestsellers-section .product-card .product-image .fa-medal {
    color: var(--primary-500);
}

.new-items-section .product-card .product-image .fa-star-of-life {
    color: var(--brand-accent);
}

/* 
==============================================
User Dropdown Menu
==============================================
*/

.user-menu-container {
    position: relative;
    display: inline-block;
}

.user-icon-button {
    background: none;
    border: none;
    cursor: pointer;
    font-size: 1.5rem;
    color: var(--brand-secondary);
    padding: 0.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: background-color var(--transition-base);
}

.user-icon-button:hover,
.user-icon-button[aria-expanded="true"] {
    background-color: var(--neutral-100);
}

.user-dropdown-menu {
    position: absolute;
    top: calc(100% + 10px);
    right: 0;
    background-color: var(--background);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-xl);
    width: 200px;
    padding: var(--space-2);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: opacity var(--transition-fast), transform var(--transition-fast);
    z-index: 100;
    border: 1px solid var(--border);
}

.user-dropdown-menu.active {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.user-dropdown-item {
    display: flex;
    align-items: center;
    gap: var(--space-3);
    padding: var(--space-3);
    text-decoration: none;
    color: var(--neutral-700);
    font-size: var(--text-base);
    font-weight: 500;
    border-radius: var(--radius-md);
    transition: background-color var(--transition-fast), color var(--transition-fast);
}

.user-dropdown-item i {
    width: 20px;
    text-align: center;
    color: var(--neutral-400);
    transition: color var(--transition-fast);
}

.user-dropdown-item:hover {
    background-color: var(--neutral-100);
    color: var(--brand-primary);
}

.user-dropdown-item:hover i {
    color: var(--brand-primary);
}

.dropdown-divider {
    height: 1px;
    background-color: var(--border);
    margin: var(--space-2) 0;
}

/* ===== LIVE CART UPDATES ===== */
.cart-count {
    transition: all 0.3s ease;
}

.cart-count-updating {
    animation: cartCountPulse 0.3s ease;
}

.cart-count-increased {
    animation: cartCountIncrease 0.3s ease;
}

.cart-count-decreased {
    animation: cartCountDecrease 0.3s ease;
}

@keyframes cartCountPulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.2); }
    100% { transform: scale(1); }
}

@keyframes cartCountIncrease {
    0% { 
        transform: scale(1);
        background-color: #4caf50;
        color: white;
    }
    50% { 
        transform: scale(1.3);
        background-color: #45a049;
        color: white;
    }
    100% { 
        transform: scale(1);
        background-color: inherit;
        color: inherit;
    }
}

@keyframes cartCountDecrease {
    0% { 
        transform: scale(1);
        background-color: #f44336;
        color: white;
    }
    50% { 
        transform: scale(1.3);
        background-color: #da190b;
        color: white;
    }
    100% { 
        transform: scale(1);
        background-color: inherit;
        color: inherit;
    }
}

.cart-icon.has-items {
    position: relative;
}

.cart-icon.has-items::after {
    content: '';
    position: absolute;
    top: -2px;
    right: -2px;
    width: 8px;
    height: 8px;
    background-color: #4caf50;
    border-radius: 50%;
    animation: cartIndicatorPulse 2s infinite;
}

@keyframes cartIndicatorPulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.7; transform: scale(1.2); }
}

/* Loading state for cart count */
.cart-count.loading {
    opacity: 0.6;
    pointer-events: none;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .cart-count {
        font-size: 0.8rem;
        min-width: 18px;
        height: 18px;
    }
    
    .cart-icon.has-items::after {
        width: 6px;
        height: 6px;
        top: -1px;
        right: -1px;
    }
}

/* WhatsApp Integration Styles */
.whatsapp-integration {
    position: relative;
    z-index: 1000;
}

/* Floating WhatsApp Button */
.whatsapp-float {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 1001;
    transition: all var(--transition-base);
}

.whatsapp-button {
    position: relative;
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #25d366, #128c7e);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: var(--shadow-lg);
    transition: all var(--transition-base);
    animation: whatsapp-float 3s ease-in-out infinite;
}

.whatsapp-button:hover {
    transform: scale(1.1);
    box-shadow: 0 20px 40px rgba(37, 211, 102, 0.3);
}

.whatsapp-button.chat-open {
    background: linear-gradient(135deg, #128c7e, #075e54);
    transform: scale(0.9);
}

.whatsapp-icon {
    color: white;
    font-size: 28px;
    z-index: 2;
}

.whatsapp-pulse {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background: rgba(37, 211, 102, 0.3);
    animation: whatsapp-pulse 2s infinite;
}

.whatsapp-tooltip {
    position: absolute;
    right: 70px;
    top: 50%;
    transform: translateY(-50%);
    background: var(--neutral-900);
    color: white;
    padding: 8px 12px;
    border-radius: var(--radius-lg);
    font-size: var(--text-sm);
    white-space: nowrap;
    opacity: 0;
    visibility: hidden;
    transition: all var(--transition-base);
    box-shadow: var(--shadow-md);
}

.whatsapp-tooltip::after {
    content: '';
    position: absolute;
    right: -5px;
    top: 50%;
    transform: translateY(-50%);
    width: 0;
    height: 0;
    border-left: 5px solid var(--neutral-900);
    border-top: 5px solid transparent;
    border-bottom: 5px solid transparent;
}

.whatsapp-button:hover .whatsapp-tooltip {
    opacity: 1;
    visibility: visible;
    right: 80px;
}

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

@keyframes whatsapp-pulse {
    0% {
        transform: scale(1);
        opacity: 1;
    }
    100% {
        transform: scale(1.5);
        opacity: 0;
    }
}

/* WhatsApp Chat Widget */
.whatsapp-chat-widget {
    position: fixed;
    bottom: 100px;
    right: 30px;
    width: 350px;
    height: 500px;
    background: white;
    border-radius: var(--radius-2xl);
    box-shadow: var(--shadow-2xl);
    display: flex;
    flex-direction: column;
    transform: translateX(400px);
    opacity: 0;
    transition: all var(--transition-slow);
    z-index: 1000;
    overflow: hidden;
}

.whatsapp-chat-widget.active {
    transform: translateX(0);
    opacity: 1;
}

.chat-header {
    background: linear-gradient(135deg, #25d366, #128c7e);
    color: white;
    padding: 20px;
    display: flex;
    align-items: center;
    gap: 12px;
    position: relative;
}

.chat-avatar {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
}

.chat-info h4 {
    margin: 0;
    font-size: var(--text-lg);
    font-weight: 600;
}

.chat-status {
    margin: 4px 0 0 0;
    font-size: var(--text-sm);
    opacity: 0.9;
    display: flex;
    align-items: center;
    gap: 6px;
}

.status-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #4ade80;
    animation: status-pulse 2s infinite;
}

@keyframes status-pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.5; }
}

.chat-close {
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    color: white;
    font-size: 18px;
    cursor: pointer;
    padding: 5px;
    border-radius: 50%;
    transition: all var(--transition-base);
}

.chat-close:hover {
    background: rgba(255, 255, 255, 0.2);
}

.chat-messages {
    flex: 1;
    padding: 20px;
    overflow-y: auto;
    background: #f0f2f5;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.message {
    display: flex;
    flex-direction: column;
    max-width: 80%;
}

.message.received {
    align-self: flex-start;
}

.message.sent {
    align-self: flex-end;
}

.message-content {
    background: white;
    padding: 12px 16px;
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-sm);
    position: relative;
}

.message.sent .message-content {
    background: #dcf8c6;
}

.message-content p {
    margin: 0 0 8px 0;
    line-height: 1.4;
}

.message-content p:last-child {
    margin-bottom: 0;
}

.message-content ul {
    margin: 8px 0;
    padding-left: 20px;
}

.message-content li {
    margin-bottom: 4px;
}

.message-time {
    font-size: var(--text-xs);
    color: var(--neutral-500);
    margin-top: 4px;
    text-align: right;
}

.message.received .message-time {
    text-align: left;
}

.chat-actions {
    padding: 20px;
    background: white;
    border-top: 1px solid var(--border);
}

.quick-actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
    margin-bottom: 16px;
}

.quick-action-btn {
    background: var(--neutral-100);
    border: 1px solid var(--border);
    padding: 8px 12px;
    border-radius: var(--radius-lg);
    font-size: var(--text-sm);
    cursor: pointer;
    transition: all var(--transition-base);
    display: flex;
    align-items: center;
    gap: 6px;
    color: var(--foreground);
}

.quick-action-btn:hover {
    background: var(--primary-50);
    border-color: var(--primary-200);
    color: var(--primary-700);
}

.quick-action-btn i {
    font-size: 12px;
}

.chat-input-container {
    display: flex;
    gap: 8px;
    align-items: center;
}

#chat-input {
    flex: 1;
    padding: 12px 16px;
    border: 1px solid var(--border);
    border-radius: var(--radius-xl);
    font-size: var(--text-sm);
    outline: none;
    transition: all var(--transition-base);
}

#chat-input:focus {
    border-color: var(--primary-300);
    box-shadow: 0 0 0 3px rgba(243, 115, 22, 0.1);
}

.send-btn {
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, #25d366, #128c7e);
    border: none;
    border-radius: 50%;
    color: white;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all var(--transition-base);
}

.send-btn:hover {
    transform: scale(1.1);
    box-shadow: var(--shadow-md);
}

/* WhatsApp CTA Banner */
.whatsapp-cta-banner {
    position: fixed;
    bottom: 30px;
    left: 30px;
    right: 30px;
    max-width: 500px;
    background: white;
    border-radius: var(--radius-2xl);
    box-shadow: var(--shadow-2xl);
    transform: translateY(200px);
    opacity: 0;
    transition: all var(--transition-slow);
    z-index: 999;
    overflow: hidden;
    display: block;
}

.whatsapp-cta-banner.show {
    transform: translateY(0);
    opacity: 1;
}

.whatsapp-cta-banner.hide {
    transform: translateY(200px);
    opacity: 0;
}

.cta-content {
    padding: 24px;
    display: flex;
    align-items: center;
    gap: 16px;
    position: relative;
}

.cta-icon {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #25d366, #128c7e);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 24px;
    flex-shrink: 0;
}

.cta-text {
    flex: 1;
}

.cta-text h4 {
    margin: 0 0 4px 0;
    font-size: var(--text-lg);
    font-weight: 600;
    color: var(--foreground);
}

.cta-text p {
    margin: 0;
    font-size: var(--text-sm);
    color: var(--neutral-600);
    line-height: 1.4;
}

.cta-actions {
    display: flex;
    gap: 8px;
    flex-shrink: 0;
}

.cta-btn {
    padding: 8px 16px;
    border: none;
    border-radius: var(--radius-lg);
    font-size: var(--text-sm);
    font-weight: 500;
    cursor: pointer;
    transition: all var(--transition-base);
    display: flex;
    align-items: center;
    gap: 6px;
}

.cta-btn.primary {
    background: linear-gradient(135deg, #25d366, #128c7e);
    color: white;
}

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

.cta-btn.secondary {
    background: var(--neutral-100);
    color: var(--foreground);
    border: 1px solid var(--border);
}

.cta-btn.secondary:hover {
    background: var(--neutral-200);
}

.cta-close {
    position: absolute;
    top: 12px;
    right: 12px;
    background: none;
    border: none;
    color: var(--neutral-500);
    font-size: 16px;
    cursor: pointer;
    padding: 4px;
    border-radius: 50%;
    transition: all var(--transition-base);
}

.cta-close:hover {
    background: var(--neutral-100);
    color: var(--neutral-700);
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .whatsapp-float {
        bottom: 20px;
        right: 20px;
    }
    
    .whatsapp-button {
        width: 55px;
        height: 55px;
    }
    
    .whatsapp-icon {
        font-size: 24px;
    }
    
    .whatsapp-chat-widget {
        bottom: 80px;
        right: 20px;
        left: 20px;
        width: auto;
        height: 450px;
    }
    
    .whatsapp-cta-banner {
        bottom: 20px;
        left: 20px;
        right: 20px;
    }
    
    .cta-content {
        padding: 20px;
        flex-direction: column;
        text-align: center;
    }
    
    .cta-actions {
        width: 100%;
        justify-content: center;
    }
    
    .cta-btn {
        flex: 1;
        justify-content: center;
    }
    
    .quick-actions {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .whatsapp-chat-widget {
        height: 400px;
    }
    
    .chat-header {
        padding: 16px;
    }
    
    .chat-messages {
        padding: 16px;
    }
    
    .chat-actions {
        padding: 16px;
    }
    
    .message {
        max-width: 90%;
    }
}

/* Dark mode support */
@media (prefers-color-scheme: dark) {
    .whatsapp-chat-widget {
        background: var(--neutral-900);
        color: var(--neutral-100);
    }
    
    .chat-messages {
        background: var(--neutral-800);
    }
    
    .message-content {
        background: var(--neutral-700);
        color: var(--neutral-100);
    }
    
    .message.sent .message-content {
        background: #1a5f3a;
        color: white;
    }
    
    .chat-actions {
        background: var(--neutral-900);
        border-top-color: var(--neutral-700);
    }
    
    .quick-action-btn {
        background: var(--neutral-800);
        border-color: var(--neutral-600);
        color: var(--neutral-100);
    }
    
    .quick-action-btn:hover {
        background: var(--primary-900);
        border-color: var(--primary-700);
        color: var(--primary-100);
    }
    
    #chat-input {
        background: var(--neutral-800);
        border-color: var(--neutral-600);
        color: var(--neutral-100);
    }
    
    #chat-input:focus {
        border-color: var(--primary-500);
    }
    
    .whatsapp-cta-banner {
        background: var(--neutral-900);
        color: var(--neutral-100);
    }
    
    .cta-text h4 {
        color: var(--neutral-100);
    }
    
    .cta-text p {
        color: var(--neutral-400);
    }
    
    .cta-btn.secondary {
        background: var(--neutral-800);
        color: var(--neutral-100);
        border-color: var(--neutral-600);
    }
    
    .cta-btn.secondary:hover {
        background: var(--neutral-700);
    }
    
    .cta-close {
        color: var(--neutral-400);
    }
    
    .cta-close:hover {
        background: var(--neutral-800);
        color: var(--neutral-200);
    }
}

/* Owner Chat Modal Styles */
.owner-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10000;
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
}

.owner-modal-content {
    background: white;
    border-radius: var(--radius-2xl);
    padding: 0;
    max-width: 500px;
    width: 90%;
    max-height: 80vh;
    overflow-y: auto;
    position: relative;
    box-shadow: var(--shadow-2xl);
}

.owner-modal-header {
    background: linear-gradient(135deg, #25d366, #128c7e);
    color: white;
    padding: 24px;
    border-radius: var(--radius-2xl) var(--radius-2xl) 0 0;
    display: flex;
    align-items: center;
    gap: 12px;
}

.owner-modal-header i {
    font-size: 24px;
}

.owner-modal-header h3 {
    margin: 0;
    font-size: var(--text-xl);
    font-weight: 600;
}

.owner-modal-body {
    padding: 24px;
}

.owner-modal-body p {
    margin: 0 0 20px 0;
    line-height: 1.6;
    color: var(--neutral-700);
}

.owner-modal-close {
    position: absolute;
    top: 16px;
    right: 16px;
    background: rgba(255, 255, 255, 0.2);
    border: none;
    color: white;
    font-size: 18px;
    cursor: pointer;
    padding: 8px;
    border-radius: 50%;
    transition: all var(--transition-base);
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.owner-modal-close:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: scale(1.1);
}

#owner-message {
    width: 100%;
    padding: 12px 16px;
    border: 2px solid var(--border);
    border-radius: var(--radius-lg);
    font-size: var(--text-base);
    font-family: inherit;
    resize: vertical;
    min-height: 100px;
    transition: all var(--transition-base);
}

#owner-message:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(255, 107, 53, 0.1);
}

@keyframes fadeInModal {
    from {
        opacity: 0;
        transform: scale(0.9);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

.owner-modal-content {
    animation: fadeInModal 0.3s ease-out;
}

/* Cracker Burning Animation Styles */
.cracker-animation-container {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 1;
  overflow: hidden;
}

.cracker-burning-animation {
  position: relative;
  width: 100%;
  height: 100%;
}

/* Main Cracker */
.main-cracker {
  position: absolute;
  top: 20%;
  right: 15%;
  width: 80px;
  height: 120px;
  z-index: 10;
}

.cracker-body {
  position: relative;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, #ff6b35, #ff8e53);
  border-radius: 50% 50% 20% 20%;
  box-shadow: 0 8px 32px rgba(255, 107, 53, 0.3);
  animation: cracker-bounce 3s ease-in-out infinite;
}

.cracker-fuse {
  position: absolute;
  top: -20px;
  left: 50%;
  transform: translateX(-50%);
  width: 4px;
  height: 30px;
  background: linear-gradient(to bottom, #ffd700, #ff6b35);
  border-radius: 2px;
  animation: fuse-burn 2s ease-in-out infinite;
}

.cracker-fuse::before {
  content: '';
  position: absolute;
  top: -5px;
  left: 50%;
  transform: translateX(-50%);
  width: 8px;
  height: 8px;
  background: radial-gradient(circle, #fff, #ffd700, #ff6b35);
  border-radius: 50%;
  animation: flame-flicker 0.5s ease-in-out infinite alternate;
}

/* Cracker Sparkles */
.cracker-sparkles {
  position: absolute;
  top: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 100px;
  height: 100px;
}

.sparkle {
  position: absolute;
  width: 3px;
  height: 3px;
  background: #ffd700;
  border-radius: 50%;
  animation: sparkle-fly 1.5s ease-out infinite;
}

.sparkle-1 { top: 0; left: 50%; animation-delay: 0s; }
.sparkle-2 { top: 20px; left: 30%; animation-delay: 0.2s; }
.sparkle-3 { top: 40px; left: 70%; animation-delay: 0.4s; }
.sparkle-4 { top: 60px; left: 20%; animation-delay: 0.6s; }
.sparkle-5 { top: 80px; left: 80%; animation-delay: 0.8s; }

/* Cracker Explosion */
.cracker-explosion {
  position: absolute;
  top: -50px;
  left: 50%;
  transform: translateX(-50%);
  width: 200px;
  height: 200px;
  opacity: 1 !important;
  animation: cracker-blast 1.2s cubic-bezier(0.4,2,0.2,1) forwards;
}

.explosion-particle {
  position: absolute;
  width: 4px;
  height: 4px;
  background: radial-gradient(circle, #fffbe7, #ffd700, #ff6b35, #ffb347);
  box-shadow: 0 0 16px 4px #ffd70099, 0 0 32px 8px #ff6b3599;
  opacity: 0.9;
  animation: explosion-particle-blast 1.2s cubic-bezier(0.4,2,0.2,1) forwards;
}

.particle-1 { top: 50%; left: 50%; animation-delay: 0s; }
.particle-2 { top: 50%; left: 50%; animation-delay: 0.1s; }
.particle-3 { top: 50%; left: 50%; animation-delay: 0.2s; }
.particle-4 { top: 50%; left: 50%; animation-delay: 0.3s; }
.particle-5 { top: 50%; left: 50%; animation-delay: 0.4s; }
.particle-6 { top: 50%; left: 50%; animation-delay: 0.5s; }
.particle-7 { top: 50%; left: 50%; animation-delay: 0.6s; }
.particle-8 { top: 50%; left: 50%; animation-delay: 0.7s; }

/* Side Crackers */
.side-cracker {
  position: absolute;
  width: 40px;
  height: 60px;
}

.side-cracker-1 {
  top: 30%;
  right: 25%;
  animation: side-cracker-float 4s ease-in-out infinite;
}

.side-cracker-2 {
  top: 60%;
  right: 20%;
  animation: side-cracker-float 4s ease-in-out infinite reverse;
}

.mini-cracker {
  position: relative;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, #ff8e53, #ff6b35);
  border-radius: 50% 50% 15% 15%;
  box-shadow: 0 4px 16px rgba(255, 142, 83, 0.3);
}

.mini-fuse {
  position: absolute;
  top: -15px;
  left: 50%;
  transform: translateX(-50%);
  width: 2px;
  height: 20px;
  background: linear-gradient(to bottom, #ffd700, #ff8e53);
  border-radius: 1px;
  animation: mini-fuse-burn 1.5s ease-in-out infinite;
}

.mini-sparkles {
  position: absolute;
  top: -5px;
  left: 50%;
  transform: translateX(-50%);
  width: 50px;
  height: 50px;
}

.mini-sparkle {
  position: absolute;
  width: 2px;
  height: 2px;
  background: #ffd700;
  border-radius: 50%;
  animation: mini-sparkle-fly 1s ease-out infinite;
}

.mini-sparkle:nth-child(1) { top: 0; left: 50%; animation-delay: 0s; }
.mini-sparkle:nth-child(2) { top: 25px; left: 25%; animation-delay: 0.3s; }

/* Floating Embers */
.floating-embers {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.ember {
  position: absolute;
  width: 3px;
  height: 3px;
  background: radial-gradient(circle, #ffd700, #ffb347, #ff6b35);
  box-shadow: 0 0 8px 2px #ffd70099;
  opacity: 0.8;
  animation: ember-float 6s linear infinite;
}

.ember-1 { top: 20%; left: 10%; animation-delay: 0s; }
.ember-2 { top: 40%; left: 15%; animation-delay: 1s; }
.ember-3 { top: 60%; left: 20%; animation-delay: 2s; }
.ember-4 { top: 30%; left: 25%; animation-delay: 3s; }
.ember-5 { top: 70%; left: 30%; animation-delay: 4s; }
.ember-6 { top: 50%; left: 35%; animation-delay: 5s; }

/* Glow Effects */
.badge-glow {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 100%;
  height: 100%;
  background: radial-gradient(circle, rgba(255, 107, 53, 0.3), transparent);
  border-radius: 50%;
  animation: glow-pulse 2s ease-in-out infinite;
  z-index: -1;
}

.title-glow {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 120%;
  height: 120%;
  background: radial-gradient(circle, rgba(255, 107, 53, 0.2), transparent);
  border-radius: 50%;
  animation: glow-pulse 3s ease-in-out infinite;
  z-index: -1;
}

.feature-glow {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 100%;
  height: 100%;
  background: radial-gradient(circle, rgba(255, 107, 53, 0.2), transparent);
  border-radius: 50%;
  animation: glow-pulse 2.5s ease-in-out infinite;
  z-index: -1;
}

.btn-glow {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 100%;
  height: 100%;
  background: radial-gradient(circle, rgba(255, 107, 53, 0.3), transparent);
  border-radius: inherit;
  animation: glow-pulse 2s ease-in-out infinite;
  z-index: -1;
}

.cracker-glow {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 100%;
  height: 100%;
  background: radial-gradient(circle, rgba(255, 107, 53, 0.4), transparent);
  border-radius: 50%;
  animation: glow-pulse 1.5s ease-in-out infinite;
  z-index: -1;
}

/* Product Showcase */
.product-showcase {
  position: absolute;
  top: 20%;
  right: 10%;
  display: flex;
  flex-direction: column;
  gap: 20px;
  z-index: 5;
}

.showcase-item {
  position: relative;
  width: 50px;
  height: 50px;
  background: linear-gradient(135deg, rgba(255, 107, 53, 0.1), rgba(255, 142, 83, 0.1));
  border: 2px solid rgba(255, 107, 53, 0.3);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  animation: showcase-float 3s ease-in-out infinite;
}

.showcase-item i {
  font-size: 20px;
  color: var(--brand-primary);
  animation: showcase-icon-pulse 2s ease-in-out infinite;
}

.showcase-glow {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 100%;
  height: 100%;
  background: radial-gradient(circle, rgba(255, 107, 53, 0.2), transparent);
  border-radius: 50%;
  animation: glow-pulse 2s ease-in-out infinite;
  z-index: -1;
}

.showcase-1 { animation-delay: 0s; }
.showcase-2 { animation-delay: 1s; }
.showcase-3 { animation-delay: 2s; }

.stat-glow {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 100%;
  height: 100%;
  background: radial-gradient(circle, rgba(255, 107, 53, 0.2), transparent);
  border-radius: 50%;
  animation: glow-pulse 2.5s ease-in-out infinite;
  z-index: -1;
}

.offer-icon-glow {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 100%;
  height: 100%;
  background: radial-gradient(circle, rgba(255, 107, 53, 0.3), transparent);
  border-radius: 50%;
  animation: glow-pulse 2s ease-in-out infinite;
  z-index: -1;
}

/* Animation Keyframes */
@keyframes cracker-bounce {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

@keyframes fuse-burn {
  0%, 100% { height: 30px; opacity: 1; }
  50% { height: 25px; opacity: 0.8; }
}

@keyframes flame-flicker {
  0% { transform: translateX(-50%) scale(1); opacity: 1; }
  100% { transform: translateX(-50%) scale(1.2); opacity: 0.8; }
}

@keyframes sparkle-fly {
  0% {
    transform: translate(0, 0) scale(1);
    opacity: 1;
  }
  100% {
    transform: translate(var(--sparkle-x, 20px), var(--sparkle-y, -30px)) scale(0);
    opacity: 0;
  }
}

@keyframes explosion-particle-blast {
  0% { opacity: 0; transform: scale(0.5); }
  20% { opacity: 1; transform: scale(1.2); }
  80% { opacity: 1; }
  100% { opacity: 0; transform: scale(1.8); }
}

@keyframes side-cracker-float {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  50% { transform: translateY(-15px) rotate(5deg); }
}

@keyframes mini-fuse-burn {
  0%, 100% { height: 20px; opacity: 1; }
  50% { height: 15px; opacity: 0.8; }
}

@keyframes mini-sparkle-fly {
  0% {
    transform: translate(0, 0) scale(1);
    opacity: 1;
  }
  100% {
    transform: translate(var(--mini-sparkle-x, 15px), var(--mini-sparkle-y, -20px)) scale(0);
    opacity: 0;
  }
}

@keyframes ember-float {
  0% {
    transform: translate(0, 0) scale(1);
    opacity: 1;
  }
  100% {
    transform: translate(var(--ember-x, 100px), var(--ember-y, -200px)) scale(0);
    opacity: 0;
  }
}

@keyframes glow-pulse {
  0%, 100% { opacity: 0.3; transform: translate(-50%, -50%) scale(1); }
  50% { opacity: 0.6; transform: translate(-50%, -50%) scale(1.1); }
}

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

@keyframes showcase-icon-pulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.1); }
}

/* CSS Custom Properties for Dynamic Sparkle Positions */
.sparkle-1 { --sparkle-x: 20px; --sparkle-y: -30px; }
.sparkle-2 { --sparkle-x: -15px; --sparkle-y: -25px; }
.sparkle-3 { --sparkle-x: 25px; --sparkle-y: -20px; }
.sparkle-4 { --sparkle-x: -20px; --sparkle-y: -35px; }
.sparkle-5 { --sparkle-x: 30px; --sparkle-y: -15px; }

.particle-1 { --explosion-x: 50px; --explosion-y: -50px; }
.particle-2 { --explosion-x: -50px; --explosion-y: -50px; }
.particle-3 { --explosion-x: 50px; --explosion-y: 50px; }
.particle-4 { --explosion-x: -50px; --explosion-y: 50px; }
.particle-5 { --explosion-x: 0px; --explosion-y: -70px; }
.particle-6 { --explosion-x: 0px; --explosion-y: 70px; }
.particle-7 { --explosion-x: 70px; --explosion-y: 0px; }
.particle-8 { --explosion-x: -70px; --explosion-y: 0px; }

.ember-1 { --ember-x: 100px; --ember-y: -200px; }
.ember-2 { --ember-x: -80px; --ember-y: -180px; }
.ember-3 { --ember-x: 120px; --ember-y: -150px; }
.ember-4 { --ember-x: -60px; --ember-y: -220px; }
.ember-5 { --ember-x: 90px; --ember-y: -170px; }
.ember-6 { --ember-x: -100px; --ember-y: -190px; }

.mini-sparkle:nth-child(1) { --mini-sparkle-x: 15px; --mini-sparkle-y: -20px; }
.mini-sparkle:nth-child(2) { --mini-sparkle-x: -10px; --mini-sparkle-y: -15px; }

/* Responsive Adjustments */
@media (max-width: 768px) {
  .cracker-animation-container {
    opacity: 0.7;
  }
  
  .main-cracker {
    width: 60px;
    height: 90px;
    top: 15%;
    right: 10%;
  }
  
  .side-cracker {
    width: 30px;
    height: 45px;
  }
  
  .product-showcase {
    top: 15%;
    right: 5%;
    gap: 15px;
  }
  
  .showcase-item {
    width: 40px;
    height: 40px;
  }
  
  .showcase-item i {
    font-size: 16px;
  }
}

@media (max-width: 480px) {
  .cracker-animation-container {
    opacity: 0.5;
  }
  
  .main-cracker {
    width: 50px;
    height: 75px;
    top: 10%;
    right: 5%;
  }
  
  .side-cracker {
    width: 25px;
    height: 35px;
  }
  
  .product-showcase {
    display: none;
  }
}

/* --- Marquee Animation for Top Header --- */
.header-top .marquee {
  display: inline-block;
  white-space: nowrap;
  animation: marquee-left 18s linear infinite;
  font-weight: 600;
  font-size: 1.05em;
  letter-spacing: 0.02em;
  color: #fff;
  padding-left: 100vw;
}

@keyframes marquee-left {
  0% { transform: translateX(0); }
  100% { transform: translateX(-100%); }
}

.header-top .container {
  overflow: hidden;
  width: 100vw;
}

/* Contact Bar Marquee: Only phone and email scroll, rest is static */
.contact-bar .contact-marquee {
  flex: 1 1 0%;
  min-width: 0;
  overflow: hidden;
}
.contact-bar .marquee {
  display: inline-block;
  white-space: nowrap;
  animation: marquee-left 16s linear infinite;
  font-weight: 600;
  font-size: 1.05em;
  letter-spacing: 0.01em;
  color: #fff;
  padding-left: 100vw;
}
.contact-bar .contact-static {
  flex: none;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

body.has-fixed-header {
  padding-top: 128px !important; /* 40 + 44 + 44 (header height) */
  margin-top: 0 !important;
}

@media (max-width: 768px) {
  body.has-fixed-header {
    padding-top: 120px !important; /* 36 + 40 + 44 for mobile header bars */
    margin-top: 0 !important;
  }
  .header-top { height: 36px; }
  .contact-bar { top: 36px; height: 40px; }
  .header { top: 76px; }
}

/* Remove extra margin from first section after header */
.main-content > section:first-child,
.page-header {
  margin-top: 0 !important;
  padding-top: 0 !important;
}

.page-header .container {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.page-header-content {
  width: 100%;
  max-width: 800px;
  text-align: center;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

/* Remove Old Hero Section */
.modern-hero {
    display: none !important;
}

/* New Hero Section Styles */
.hero-section {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 120px 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.1'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    animation: slide 20s linear infinite;
}

@keyframes slide {
    from { background-position: 0 0; }
    to { background-position: -120px 60px; }
}

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

.hero-title-new {
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 20px;
    line-height: 1.2;
    text-shadow: 0 4px 15px rgba(0,0,0,0.2);
}

.hero-title-new .highlight {
    color: var(--secondary-color, #ff8e53);
}

.hero-description-new {
    font-size: 1.2rem;
    margin-bottom: 30px;
    opacity: 0.9;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.hero-actions-new {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 40px;
}

.btn-primary-new, .btn-secondary-new {
    padding: 15px 30px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    border: 2px solid transparent;
}

.btn-primary-new {
    background-color: var(--primary-color, #ff6b35);
    color: white;
}

.btn-primary-new:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.2);
    background-color: var(--secondary-color, #ff8e53);
}

.btn-secondary-new {
    background-color: rgba(255, 255, 255, 0.1);
    color: white;
    border-color: rgba(255, 255, 255, 0.3);
}

.btn-secondary-new:hover {
    background-color: rgba(255, 255, 255, 0.2);
    border-color: white;
    transform: translateY(-3px);
}

.hero-features-new {
    display: flex;
    justify-content: center;
    gap: 30px;
    color: rgba(255, 255, 255, 0.8);
}

.hero-features-new span {
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 500;
}

@media (max-width: 768px) {
    .hero-title-new {
        font-size: 2.5rem;
    }
    .hero-actions-new {
        flex-direction: column;
        align-items: center;
    }
    .hero-features-new {
        flex-direction: column;
        gap: 15px;
    }
}
