/* ========================================
   EZHA Hosting - Premium Frontpage
   Inspired by Apple, GentleMates, Antigravity
   ======================================== */

/* ========================================
   CSS Custom Properties
   ======================================== */

:root,
.theme-light {
  /* Core palette */
  --bg-primary: #fafafa;
  --bg-secondary: #ffffff;
  --bg-tertiary: #f5f5f7;
  --text-primary: #1d1d1f;
  --text-secondary: #6e6e73;
  --text-tertiary: #86868b;
  
  /* Accent - Purple spectrum */
  --accent: #8b5cf6;
  --accent-light: #a78bfa;
  --accent-dark: #7c3aed;
  --accent-glow: rgba(139, 92, 246, 0.4);
  --accent-subtle: rgba(139, 92, 246, 0.08);
  
  /* Glassmorphism */
  --glass-bg: rgba(255, 255, 255, 0.7);
  --glass-border: rgba(255, 255, 255, 0.5);
  --glass-shadow: 0 8px 32px rgba(0, 0, 0, 0.08);
  
  /* Cards */
  --card-bg: #ffffff;
  --card-border: rgba(0, 0, 0, 0.06);
  --card-shadow: 0 4px 24px rgba(0, 0, 0, 0.06);
  --card-shadow-hover: 0 20px 60px rgba(0, 0, 0, 0.12);
  
  /* Header */
  --header-bg: rgba(250, 250, 250, 0.8);
  --header-border: rgba(0, 0, 0, 0.08);
  
  /* Misc */
  --success: #22c55e;
  --divider: rgba(0, 0, 0, 0.06);
  --glow-intensity: 0.15;
}

.theme-dark {
  --bg-primary: #000000;
  --bg-secondary: #0a0a0a;
  --bg-tertiary: #111111;
  --text-primary: #f5f5f7;
  --text-secondary: #a1a1a6;
  --text-tertiary: #6e6e73;
  
  --accent: #a78bfa;
  --accent-light: #c4b5fd;
  --accent-dark: #8b5cf6;
  --accent-glow: rgba(167, 139, 250, 0.5);
  --accent-subtle: rgba(167, 139, 250, 0.1);
  
  --glass-bg: rgba(20, 20, 20, 0.8);
  --glass-border: rgba(255, 255, 255, 0.08);
  --glass-shadow: 0 8px 32px rgba(0, 0, 0, 0.4);
  
  --card-bg: #141414;
  --card-border: rgba(255, 255, 255, 0.06);
  --card-shadow: 0 4px 24px rgba(0, 0, 0, 0.3);
  --card-shadow-hover: 0 20px 60px rgba(0, 0, 0, 0.5);
  
  --header-bg: rgba(0, 0, 0, 0.8);
  --header-border: rgba(255, 255, 255, 0.06);
  
  --success: #34d399;
  --divider: rgba(255, 255, 255, 0.06);
  --glow-intensity: 0.25;
}

/* ========================================
   Reset & Base
   ======================================== */

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'SF Pro Display', 'Segoe UI', Roboto, sans-serif;
  background: var(--bg-primary);
  color: var(--text-primary);
  line-height: 1.5;
  min-height: 100vh;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  transition: background-color 0.5s ease, color 0.5s ease;
}

::selection {
  background: var(--accent);
  color: white;
}

/* ========================================
   Typography
   ======================================== */

h1, h2, h3, h4, h5, h6 {
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.1;
}

/* ========================================
   Layout
   ======================================== */

.container {
  width: 100%;
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 clamp(1.5rem, 5vw, 4rem);
}

.main {
  position: relative;
}

/* ========================================
   Animated Background
   ======================================== */

.bg-gradient {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  pointer-events: none;
  z-index: -1;
  overflow: hidden;
}

.bg-gradient::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: 
    radial-gradient(ellipse at 20% 20%, var(--accent-subtle) 0%, transparent 50%),
    radial-gradient(ellipse at 80% 80%, var(--accent-subtle) 0%, transparent 50%),
    radial-gradient(ellipse at 50% 50%, transparent 0%, var(--bg-primary) 70%);
  animation: gradientMove 20s ease-in-out infinite;
}

@keyframes gradientMove {
  0%, 100% { transform: translate(0, 0) rotate(0deg); }
  25% { transform: translate(2%, 2%) rotate(1deg); }
  50% { transform: translate(0, 4%) rotate(0deg); }
  75% { transform: translate(-2%, 2%) rotate(-1deg); }
}

/* Floating orbs */
.orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: var(--glow-intensity);
  animation: float 15s ease-in-out infinite;
}

.orb-1 {
  width: 600px;
  height: 600px;
  background: var(--accent);
  top: -200px;
  right: -200px;
  animation-delay: 0s;
}

.orb-2 {
  width: 400px;
  height: 400px;
  background: var(--accent-light);
  bottom: 20%;
  left: -100px;
  animation-delay: -5s;
}

.orb-3 {
  width: 300px;
  height: 300px;
  background: var(--accent-dark);
  top: 50%;
  right: 10%;
  animation-delay: -10s;
}

@keyframes float {
  0%, 100% { transform: translate(0, 0) scale(1); }
  25% { transform: translate(30px, -30px) scale(1.05); }
  50% { transform: translate(-20px, 20px) scale(0.95); }
  75% { transform: translate(20px, 30px) scale(1.02); }
}

/* ========================================
   Header
   ======================================== */

.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 0.5rem 0;
  background: var(--header-bg);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  border-bottom: 1px solid var(--header-border);
  transition: all 0.3s ease;
}

.header.scrolled {
  padding: 0.35rem 0;
}

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

.logo {
  display: flex;
  align-items: center;
  text-decoration: none;
  transition: transform 0.3s ease;
}

.logo:hover {
  transform: scale(1.02);
}

.logo-img {
  height: 52px;
  width: auto;
  object-fit: contain;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 1rem;
}

/* ========================================
   Theme Toggle - Premium
   ======================================== */

.theme-toggle {
  position: relative;
  width: 44px;
  height: 44px;
  border: none;
  border-radius: 12px;
  background: var(--bg-tertiary);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  overflow: hidden;
}

.theme-toggle:hover {
  background: var(--accent-subtle);
  transform: scale(1.05);
}

.theme-toggle i {
  font-size: 1.125rem;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  position: absolute;
}

.theme-light .theme-toggle #theme-icon-light {
  opacity: 0;
  transform: rotate(90deg) scale(0);
}

.theme-light .theme-toggle #theme-icon-dark {
  opacity: 1;
  transform: rotate(0) scale(1);
  color: var(--text-secondary);
}

.theme-dark .theme-toggle #theme-icon-light {
  opacity: 1;
  transform: rotate(0) scale(1);
  color: var(--accent-light);
}

.theme-dark .theme-toggle #theme-icon-dark {
  opacity: 0;
  transform: rotate(-90deg) scale(0);
}

/* ========================================
   Language Selector
   ======================================== */

.lang-select-container {
  position: relative;
}

.lang-select {
  appearance: none;
  padding: 0.625rem 2.25rem 0.625rem 1rem;
  font-size: 0.875rem;
  font-weight: 500;
  font-family: inherit;
  color: var(--text-primary);
  background: var(--bg-tertiary);
  border: none;
  border-radius: 12px;
  cursor: pointer;
  transition: all 0.3s ease;
  height: 44px;
}

.lang-select:hover {
  background: var(--accent-subtle);
}

.lang-select:focus {
  outline: none;
  box-shadow: 0 0 0 2px var(--accent);
}

.lang-select-icon {
  position: absolute;
  right: 0.875rem;
  top: 50%;
  transform: translateY(-50%);
  font-size: 0.625rem;
  color: var(--text-tertiary);
  pointer-events: none;
}

/* ========================================
   CTA Button - Premium
   ======================================== */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.625rem 1.25rem;
  font-size: 0.875rem;
  font-weight: 600;
  font-family: inherit;
  text-decoration: none;
  border-radius: 12px;
  border: none;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
  height: 44px;
}

.btn-primary {
  background: linear-gradient(135deg, var(--accent), var(--accent-dark));
  color: white;
  box-shadow: 0 4px 20px var(--accent-glow);
}

.btn-primary::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, var(--accent-light), var(--accent));
  opacity: 0;
  transition: opacity 0.3s ease;
}

.btn-primary:hover {
  transform: translateY(-2px) scale(1.02);
  box-shadow: 0 8px 30px var(--accent-glow);
}

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

.btn-primary span,
.btn-primary i {
  position: relative;
  z-index: 1;
}

.btn-secondary {
  background: var(--glass-bg);
  backdrop-filter: blur(10px);
  color: var(--text-primary);
  border: 1px solid var(--card-border);
}

.btn-secondary:hover {
  background: var(--accent-subtle);
  border-color: var(--accent);
  color: var(--accent);
  transform: translateY(-2px);
}

/* ========================================
   Hero Section - Cinematic
   ======================================== */

.hero {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 8rem 2rem 6rem;
  position: relative;
  overflow: hidden;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1rem;
  background: var(--accent-subtle);
  border: 1px solid var(--accent);
  border-radius: 100px;
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--accent);
  margin-bottom: 2rem;
  opacity: 0;
  transform: translateY(20px);
  animation: fadeInUp 0.8s ease forwards;
  animation-delay: 0.2s;
}

.hero-badge i {
  font-size: 0.75rem;
}

.hero-title {
  font-size: clamp(3rem, 10vw, 7rem);
  font-weight: 700;
  letter-spacing: -0.04em;
  line-height: 1;
  margin-bottom: 1.5rem;
  opacity: 0;
  transform: translateY(30px);
  animation: fadeInUp 0.8s ease forwards;
  animation-delay: 0.4s;
}

.hero-title .gradient-text {
  background: linear-gradient(135deg, var(--accent), var(--accent-light), var(--accent));
  background-size: 200% auto;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: shimmer 3s linear infinite;
}

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

.hero-subtitle {
  font-size: clamp(1.125rem, 2.5vw, 1.5rem);
  color: var(--text-secondary);
  max-width: 600px;
  margin: 0 auto 3rem;
  line-height: 1.6;
  opacity: 0;
  transform: translateY(30px);
  animation: fadeInUp 0.8s ease forwards;
  animation-delay: 0.6s;
}

.hero-actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  justify-content: center;
  opacity: 0;
  transform: translateY(30px);
  animation: fadeInUp 0.8s ease forwards;
  animation-delay: 0.8s;
}

.hero-scroll {
  position: absolute;
  bottom: 3rem;
  left: 50%;
  transform: translateX(-50%) translateY(30px);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
  opacity: 0;
  animation: heroScrollFadeIn 0.8s ease forwards;
  animation-delay: 1.2s;
}

@keyframes heroScrollFadeIn {
  to {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
  }
}

.hero-scroll span {
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--text-tertiary);
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.scroll-indicator {
  width: 24px;
  height: 40px;
  border: 2px solid var(--text-tertiary);
  border-radius: 12px;
  position: relative;
}

.scroll-indicator::before {
  content: '';
  position: absolute;
  top: 6px;
  left: 50%;
  transform: translateX(-50%);
  width: 4px;
  height: 8px;
  background: var(--accent);
  border-radius: 2px;
  animation: scrollBounce 1.5s ease-in-out infinite;
}

@keyframes scrollBounce {
  0%, 100% { transform: translateX(-50%) translateY(0); opacity: 1; }
  50% { transform: translateX(-50%) translateY(12px); opacity: 0.3; }
}

@keyframes fadeInUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ========================================
   Section Headers
   ======================================== */

.section {
  padding: clamp(4rem, 10vw, 8rem) 0;
  position: relative;
}

.section-header {
  text-align: center;
  margin-bottom: clamp(3rem, 6vw, 5rem);
}

.section-label {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 0.15em;
  margin-bottom: 1rem;
}

.section-title {
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  margin-bottom: 1rem;
}

.section-subtitle {
  font-size: clamp(1rem, 2vw, 1.25rem);
  color: var(--text-secondary);
  max-width: 600px;
  margin: 0 auto;
}

/* ========================================
   Category Cards - Premium Grid
   ======================================== */

.categories-view {
  padding-bottom: clamp(4rem, 10vw, 8rem);
}

.categories-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 1.5rem;
}

.category-card {
  position: relative;
  background: var(--card-bg);
  border-radius: 24px;
  overflow: hidden;
  cursor: pointer;
  border: 1px solid var(--card-border);
  box-shadow: var(--card-shadow);
  transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  display: flex;
  flex-direction: column;
  font-family: inherit;
  text-align: left;
  width: 100%;
  
  /* Reveal animation */
  opacity: 0;
  transform: translateY(40px);
}

.category-card.revealed {
  opacity: 1;
  transform: translateY(0);
}

.category-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, var(--accent-glow), transparent);
  opacity: 0;
  transition: opacity 0.5s ease;
  z-index: 0;
}

.category-card:hover {
  transform: translateY(-8px) scale(1.02);
  box-shadow: var(--card-shadow-hover);
  border-color: var(--accent);
}

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

.category-card-image {
  position: relative;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: var(--bg-tertiary);
}

.category-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s cubic-bezier(0.4, 0, 0.2, 1);
}

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

.category-card-placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--accent-subtle), var(--bg-tertiary));
}

.category-card-placeholder i {
  font-size: 3.5rem;
  background: linear-gradient(135deg, var(--accent), var(--accent-light));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  opacity: 0.6;
  transition: all 0.5s ease;
}

.category-card:hover .category-card-placeholder i {
  opacity: 1;
  transform: scale(1.1);
}

.category-card-body {
  position: relative;
  z-index: 1;
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.category-card-body h3 {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  color: var(--text-primary);
  transition: color 0.3s ease;
}

.category-card:hover .category-card-body h3 {
  color: var(--accent);
}

.category-card-body p {
  font-size: 0.9375rem;
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: 1rem;
  flex: 1;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.category-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.category-card-count {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1rem;
  background: var(--accent-subtle);
  color: var(--accent);
  font-size: 0.8125rem;
  font-weight: 600;
  border-radius: 100px;
  transition: all 0.3s ease;
}

.category-card:hover .category-card-count {
  background: var(--accent);
  color: white;
}

.category-card-arrow {
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--bg-tertiary);
  border-radius: 50%;
  color: var(--text-secondary);
  font-size: 0.875rem;
  transition: all 0.3s ease;
}

.category-card:hover .category-card-arrow {
  background: var(--accent);
  color: white;
  transform: translateX(4px);
}

/* ========================================
   Products View - Premium
   ======================================== */

.products-view {
  padding-top: 2rem;
  padding-bottom: clamp(4rem, 10vw, 8rem);
  opacity: 0;
  transform: translateY(40px);
  transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.products-view.active {
  opacity: 1;
  transform: translateY(0);
}

.products-view.hidden {
  display: none;
}

.categories-view.hidden {
  display: none;
}

.back-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.875rem 1.5rem;
  background: var(--glass-bg);
  backdrop-filter: blur(10px);
  border: 1px solid var(--card-border);
  border-radius: 14px;
  color: var(--text-primary);
  font-size: 0.9375rem;
  font-weight: 600;
  font-family: inherit;
  cursor: pointer;
  margin-bottom: 2.5rem;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.back-btn i {
  transition: transform 0.3s ease;
}

.back-btn:hover {
  background: var(--accent-subtle);
  border-color: var(--accent);
  color: var(--accent);
}

.back-btn:hover i {
  transform: translateX(-4px);
}

.category-products {
  display: none;
}

.category-header {
  display: flex;
  align-items: center;
  gap: 2rem;
  margin-bottom: 3rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid var(--divider);
}

.category-header .category-image {
  width: 180px;
  height: auto;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  border-radius: 16px;
  box-shadow: var(--card-shadow);
  flex-shrink: 0;
}

.category-header .category-icon {
  width: 180px;
  height: 112px;
  background: var(--accent-subtle);
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.category-header .category-icon i {
  font-size: 3rem;
  background: linear-gradient(135deg, var(--accent), var(--accent-light));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.category-info h2 {
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.category-info p {
  font-size: 1rem;
  color: var(--text-secondary);
  max-width: 500px;
}

/* ========================================
   Product Cards - Glass Design
   ======================================== */

.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
  gap: 1.5rem;
}

.product-card {
  background: var(--card-bg);
  border-radius: 24px;
  overflow: hidden;
  border: 1px solid var(--card-border);
  box-shadow: var(--card-shadow);
  display: flex;
  flex-direction: column;
  transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  
  /* Reveal animation */
  opacity: 0;
  transform: translateY(40px);
}

.product-card.revealed {
  opacity: 1;
  transform: translateY(0);
}

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

.product-image {
  position: relative;
  height: 200px;
  overflow: hidden;
  background: var(--bg-tertiary);
}

.product-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s cubic-bezier(0.4, 0, 0.2, 1);
}

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

.product-image-placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--accent-subtle), var(--bg-tertiary));
}

.product-image-placeholder i {
  font-size: 4rem;
  background: linear-gradient(135deg, var(--accent), var(--accent-light));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  opacity: 0.4;
  transition: all 0.5s ease;
}

.product-card:hover .product-image-placeholder i {
  opacity: 0.7;
  transform: scale(1.1);
}

.product-content {
  padding: 1.75rem;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.product-title {
  font-size: 1.375rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
  transition: color 0.3s ease;
}

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

.product-description {
  font-size: 0.9375rem;
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: 1.5rem;
  flex: 1;
}

.product-footer {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.product-price {
  display: flex;
  align-items: baseline;
  gap: 0.5rem;
}

.product-price .price {
  font-size: 2rem;
  font-weight: 700;
  background: linear-gradient(135deg, var(--success), #10b981);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.product-price .period {
  font-size: 0.9375rem;
  color: var(--text-tertiary);
  font-weight: 500;
}

.product-price .price-unavailable {
  font-size: 1rem;
  color: var(--text-tertiary);
  font-style: italic;
}

.product-actions {
  display: flex;
  gap: 0.75rem;
}

.product-actions .btn {
  flex: 1;
  padding: 1rem;
  border-radius: 14px;
  font-size: 0.9375rem;
}

.btn-details {
  background: var(--bg-tertiary);
  color: var(--text-primary);
  border: 1px solid var(--card-border);
}

.btn-details:hover {
  background: var(--accent-subtle);
  border-color: var(--accent);
  color: var(--accent);
}

.btn-details[aria-expanded="true"] {
  background: var(--accent);
  border-color: var(--accent);
  color: white;
}

.btn-order {
  background: linear-gradient(135deg, var(--success), #059669);
  color: white;
  border: none;
  box-shadow: 0 4px 15px rgba(34, 197, 94, 0.3);
}

.btn-order:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(34, 197, 94, 0.4);
}

/* ========================================
   Product Specs - Expandable
   ======================================== */

.product-specs {
  max-height: 0;
  overflow: hidden;
  transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  background: var(--bg-tertiary);
  border-top: 0 solid var(--divider);
}

.product-specs.expanded {
  max-height: 500px;
  padding: 1.5rem;
  border-top-width: 1px;
}

.specs-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.75rem;
}

.spec-item {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  padding: 1rem;
  background: var(--card-bg);
  border-radius: 12px;
  border: 1px solid var(--card-border);
  transition: all 0.3s ease;
}

.spec-item:hover {
  border-color: var(--accent);
  transform: translateY(-2px);
}

.spec-label {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.6875rem;
  font-weight: 600;
  color: var(--text-tertiary);
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.spec-label i {
  font-size: 0.875rem;
  color: var(--accent);
}

.spec-value {
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--text-primary);
}

/* ========================================
   Empty State
   ======================================== */

.empty-state {
  text-align: center;
  padding: clamp(4rem, 10vw, 8rem) 2rem;
}

.empty-state-icon {
  width: 120px;
  height: 120px;
  margin: 0 auto 2rem;
  background: var(--accent-subtle);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.empty-state-icon i {
  font-size: 3rem;
  background: linear-gradient(135deg, var(--accent), var(--accent-light));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.empty-state h2 {
  font-size: 1.75rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
}

.empty-state p {
  font-size: 1.125rem;
  color: var(--text-secondary);
}

/* ========================================
   Footer - Minimal
   ======================================== */

.footer {
  padding: 0.75rem 0;
  background: var(--bg-secondary);
  border-top: 1px solid var(--divider);
}

.footer-content {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.footer-brand {
  position: absolute;
  left: 0;
  display: flex;
  align-items: center;
}

.footer-logo-img {
  height: 52px;
  width: auto;
  object-fit: contain;
}

.footer p {
  font-size: 0.8rem;
  color: var(--text-tertiary);
  margin: 0;
}

.footer-link {
  color: var(--accent);
  text-decoration: none;
  transition: color 0.2s ease;
}

.footer-link:hover {
  color: var(--accent-light);
  text-decoration: underline;
}

/* ========================================
   Search - Command Palette Style
   ======================================== */

.search-container {
  flex: 1;
  max-width: 400px;
  margin: 0 1.5rem;
}

.search-box {
  position: relative;
  display: flex;
  align-items: center;
}

.search-icon {
  position: absolute;
  left: 1rem;
  top: 50%;
  transform: translateY(-50%);
  color: var(--text-tertiary);
  font-size: 0.875rem;
  pointer-events: none;
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
}

#search-input {
  width: 100%;
  padding: 0.75rem 4rem 0.75rem 2.75rem;
  background: var(--bg-tertiary);
  border: 1px solid transparent;
  border-radius: 12px;
  font-size: 0.9375rem;
  font-family: inherit;
  color: var(--text-primary);
  transition: all 0.3s ease;
}

#search-input::placeholder {
  color: var(--text-tertiary);
}

#search-input:focus {
  outline: none;
  background: var(--card-bg);
  border-color: var(--accent);
  box-shadow: 0 0 0 4px var(--accent-subtle);
}

.search-shortcut {
  position: absolute;
  right: 0.75rem;
  padding: 0.25rem 0.625rem;
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: 6px;
  font-size: 0.6875rem;
  font-weight: 600;
  font-family: inherit;
  color: var(--text-tertiary);
  pointer-events: none;
}

@media (max-width: 900px) {
  .search-container {
    display: none;
  }
}

/* ========================================
   Responsive Refinements
   ======================================== */

@media (max-width: 768px) {
  .header-content {
    gap: 1rem;
  }
  
  .logo span {
    display: none;
  }
  
  .hero {
    padding: 7rem 1.5rem 4rem;
    min-height: auto;
  }
  
  .hero-scroll {
    display: none;
  }
  
  .category-header {
    flex-direction: column;
    text-align: center;
    gap: 1.5rem;
  }
  
  .category-info p {
    max-width: 100%;
  }
  
  .categories-grid {
    grid-template-columns: 1fr;
  }
  
  .products-grid {
    grid-template-columns: 1fr;
  }
  
  .product-actions {
    flex-direction: column;
  }
  
  .footer-content {
    flex-direction: column;
    text-align: center;
  }
}

@media (max-width: 480px) {
  .hero-title {
    font-size: 2.5rem;
  }
  
  .hero-actions {
    flex-direction: column;
    width: 100%;
  }
  
  .hero-actions .btn {
    width: 100%;
  }
  
  .specs-grid {
    grid-template-columns: 1fr;
  }
}

/* ========================================
   Animations & Utilities
   ======================================== */

.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.reveal.revealed {
  opacity: 1;
  transform: translateY(0);
}

/* Stagger delays for grid items */
.stagger-1 { transition-delay: 0.1s; }
.stagger-2 { transition-delay: 0.2s; }
.stagger-3 { transition-delay: 0.3s; }
.stagger-4 { transition-delay: 0.4s; }
.stagger-5 { transition-delay: 0.5s; }
.stagger-6 { transition-delay: 0.6s; }

/* Smooth page loading */
.page-loaded .hero-badge,
.page-loaded .hero-title,
.page-loaded .hero-subtitle,
.page-loaded .hero-actions,
.page-loaded .hero-scroll {
  animation-play-state: running;
}

/* Focus visible for accessibility */
:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

/* Hide focus for mouse users */
:focus:not(:focus-visible) {
  outline: none;
}

/* Loading skeleton placeholder */
@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.5; }
}

.skeleton {
  background: var(--bg-tertiary);
  animation: pulse 2s ease-in-out infinite;
}
