/* ================================================
   CodeMarket Pro - Complete Stylesheet
   ================================================ */

/* -------------------- CSS VARIABLES -------------------- */
:root {
  --primary: #6C3CE1;
  --primary-dark: #5228C8;
  --primary-light: #8B5CF6;
  --secondary: #FF6B35;
  --secondary-dark: #E85A26;
  --accent: #00D4FF;
  --dark: #0D0D1A;
  --dark-2: #13132B;
  --dark-3: #1A1A3E;
  --dark-4: #22224A;
  --glass: rgba(255,255,255,0.05);
  --glass-border: rgba(255,255,255,0.1);
  --text-primary: #FFFFFF;
  --text-secondary: rgba(255,255,255,0.7);
  --text-muted: rgba(255,255,255,0.45);
  --success: #22C55E;
  --warning: #F59E0B;
  --error: #EF4444;
  --info: #3B82F6;
  --border-radius: 12px;
  --border-radius-lg: 20px;
  --border-radius-sm: 8px;
  --shadow: 0 4px 24px rgba(0,0,0,0.3);
  --shadow-lg: 0 8px 48px rgba(108,60,225,0.25);
  --transition: all 0.3s ease;
  --font-primary: 'Inter', sans-serif;
  --font-heading: 'Poppins', sans-serif;
  --navbar-height: 72px;
}

/* -------------------- RESET & BASE -------------------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

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

body {
  font-family: var(--font-primary);
  background-color: var(--dark);
  color: var(--text-primary);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

body.menu-open { overflow: hidden; }

img { max-width: 100%; height: auto; display: block; }
a { text-decoration: none; color: inherit; transition: var(--transition); }
ul, ol { list-style: none; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }
input, select, textarea { font-family: inherit; }
h1, h2, h3, h4, h5, h6 { font-family: var(--font-heading); font-weight: 700; line-height: 1.2; }

/* Custom Scrollbar */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--dark-2); }
::-webkit-scrollbar-thumb { background: var(--primary); border-radius: 3px; }
::-webkit-scrollbar-thumb:hover { background: var(--primary-light); }

/* Selection */
::selection { background: var(--primary); color: #fff; }

/* -------------------- LAYOUT -------------------- */
.container {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 24px;
}

.section-padding { padding: 96px 0; }

.section-header {
  text-align: center;
  margin-bottom: 64px;
}

.section-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(108,60,225,0.2);
  border: 1px solid rgba(108,60,225,0.4);
  color: var(--primary-light);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  padding: 6px 16px;
  border-radius: 50px;
  margin-bottom: 16px;
}

.section-title {
  font-size: clamp(28px, 4vw, 48px);
  font-weight: 800;
  margin-bottom: 16px;
  background: linear-gradient(135deg, #fff 0%, rgba(255,255,255,0.7) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.section-subtitle {
  font-size: 17px;
  color: var(--text-secondary);
  max-width: 560px;
  margin: 0 auto;
}

.highlight { color: var(--primary-light); -webkit-text-fill-color: var(--primary-light); }
.highlight-orange { color: var(--secondary); -webkit-text-fill-color: var(--secondary); }

/* -------------------- BUTTONS -------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 28px;
  border-radius: var(--border-radius-sm);
  font-weight: 600;
  font-size: 15px;
  transition: var(--transition);
  white-space: nowrap;
  cursor: pointer;
  border: none;
  font-family: inherit;
}

.btn-primary {
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  color: #fff;
  box-shadow: 0 4px 20px rgba(108,60,225,0.4);
}
.btn-primary:hover {
  background: linear-gradient(135deg, var(--primary-light), var(--primary));
  box-shadow: 0 6px 28px rgba(108,60,225,0.6);
  transform: translateY(-2px);
}

.btn-secondary {
  background: linear-gradient(135deg, var(--secondary), var(--secondary-dark));
  color: #fff;
  box-shadow: 0 4px 20px rgba(255,107,53,0.4);
}
.btn-secondary:hover {
  box-shadow: 0 6px 28px rgba(255,107,53,0.6);
  transform: translateY(-2px);
}

.btn-outline {
  background: transparent;
  border: 2px solid var(--glass-border);
  color: var(--text-primary);
  backdrop-filter: blur(8px);
}
.btn-outline:hover {
  border-color: var(--primary-light);
  background: rgba(108,60,225,0.15);
  transform: translateY(-2px);
}

.btn-outline-white {
  background: rgba(255,255,255,0.15);
  border: 1px solid rgba(255,255,255,0.4);
  color: #fff;
  backdrop-filter: blur(8px);
}
.btn-outline-white:hover { background: rgba(255,255,255,0.25); }

.btn-ghost { background: transparent; color: var(--text-secondary); padding: 8px 16px; }
.btn-ghost:hover { color: var(--text-primary); background: var(--glass); }

.btn-sm { padding: 8px 18px; font-size: 13px; }
.btn-lg { padding: 16px 36px; font-size: 16px; border-radius: var(--border-radius); }

.btn-icon {
  width: 44px; height: 44px;
  padding: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--border-radius-sm);
}

/* -------------------- NAVBAR -------------------- */
.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: var(--navbar-height);
  z-index: 1000;
  background: rgba(13,13,26,0.8);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--glass-border);
  transition: var(--transition);
}

.navbar.scrolled {
  background: rgba(13,13,26,0.97);
  box-shadow: 0 4px 32px rgba(0,0,0,0.4);
}

.navbar .container {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

.nav-logo-icon {
  width: 40px; height: 40px;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  color: #fff;
}

.nav-logo-text {
  font-family: var(--font-heading);
  font-size: 20px;
  font-weight: 800;
  background: linear-gradient(135deg, #fff, var(--primary-light));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 4px;
}

.nav-link {
  color: var(--text-secondary);
  font-size: 14px;
  font-weight: 500;
  padding: 8px 14px;
  border-radius: var(--border-radius-sm);
  transition: var(--transition);
  position: relative;
}

.nav-link:hover, .nav-link.active { color: var(--text-primary); background: var(--glass); }

.nav-link.active::after {
  content: '';
  position: absolute;
  bottom: 2px; left: 50%;
  transform: translateX(-50%);
  width: 20px; height: 2px;
  background: var(--primary-light);
  border-radius: 2px;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 8px;
}

.nav-icon-btn {
  width: 40px; height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--border-radius-sm);
  color: var(--text-secondary);
  transition: var(--transition);
  position: relative;
}

.nav-icon-btn:hover { background: var(--glass); color: var(--text-primary); }

.cart-count {
  position: absolute;
  top: -4px; right: -4px;
  background: var(--secondary);
  color: #fff;
  font-size: 10px;
  font-weight: 700;
  width: 18px; height: 18px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px solid var(--dark);
}

.btn-nav-cta {
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  color: #fff;
  padding: 9px 20px;
  border-radius: var(--border-radius-sm);
  font-size: 14px;
  font-weight: 600;
  box-shadow: 0 4px 16px rgba(108,60,225,0.4);
}

.btn-nav-cta:hover { box-shadow: 0 6px 24px rgba(108,60,225,0.6); transform: translateY(-1px); }

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
  cursor: pointer;
  border-radius: var(--border-radius-sm);
  transition: var(--transition);
}
.nav-toggle:hover { background: var(--glass); }
.nav-toggle span {
  display: block;
  width: 22px; height: 2px;
  background: var(--text-primary);
  border-radius: 2px;
  transition: var(--transition);
}
.nav-toggle.active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.active span:nth-child(2) { opacity: 0; }
.nav-toggle.active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* -------------------- HERO -------------------- */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  padding-top: var(--navbar-height);
  background: radial-gradient(ellipse at 20% 50%, rgba(108,60,225,0.25) 0%, transparent 60%),
              radial-gradient(ellipse at 80% 20%, rgba(255,107,53,0.15) 0%, transparent 50%),
              var(--dark);
}

.hero-bg {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
}

.hero-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(108,60,225,0.07) 1px, transparent 1px),
    linear-gradient(90deg, rgba(108,60,225,0.07) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse at center, black 30%, transparent 80%);
}

.hero-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  animation: float 8s ease-in-out infinite;
}
.hero-orb-1 { width: 500px; height: 500px; top: -100px; right: -100px; background: rgba(108,60,225,0.2); animation-delay: 0s; }
.hero-orb-2 { width: 300px; height: 300px; bottom: 100px; left: -50px; background: rgba(255,107,53,0.15); animation-delay: -3s; }
.hero-orb-3 { width: 200px; height: 200px; top: 50%; right: 20%; background: rgba(0,212,255,0.1); animation-delay: -5s; }

@keyframes float {
  0%, 100% { transform: translateY(0px) scale(1); }
  50% { transform: translateY(-30px) scale(1.05); }
}

.hero .container { position: relative; z-index: 1; }

.hero-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
  min-height: calc(100vh - var(--navbar-height));
  padding: 60px 0;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(108,60,225,0.15);
  border: 1px solid rgba(108,60,225,0.35);
  color: var(--primary-light);
  padding: 6px 14px;
  border-radius: 50px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.8px;
  text-transform: uppercase;
  margin-bottom: 24px;
}

.hero-badge .dot {
  width: 6px; height: 6px;
  background: var(--success);
  border-radius: 50%;
  animation: pulse-dot 2s infinite;
}

@keyframes pulse-dot {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.3; }
}

.hero-title {
  font-size: clamp(36px, 5vw, 68px);
  font-weight: 900;
  line-height: 1.05;
  margin-bottom: 24px;
  letter-spacing: -1px;
}

.hero-title .gradient-text {
  background: linear-gradient(135deg, var(--primary-light) 0%, var(--secondary) 50%, #FF3CAC 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-subtitle {
  font-size: 18px;
  color: var(--text-secondary);
  margin-bottom: 36px;
  max-width: 500px;
  line-height: 1.7;
}

.hero-cta { display: flex; gap: 16px; flex-wrap: wrap; margin-bottom: 56px; }

.hero-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.stat-item {
  background: var(--glass);
  border: 1px solid var(--glass-border);
  border-radius: var(--border-radius);
  padding: 20px 16px;
  text-align: center;
  backdrop-filter: blur(8px);
}

.stat-number {
  font-family: var(--font-heading);
  font-size: 26px;
  font-weight: 800;
  color: var(--primary-light);
  display: block;
  line-height: 1;
  margin-bottom: 4px;
}

.stat-label {
  font-size: 12px;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* Hero Visual */
.hero-visual { position: relative; }

.hero-mockup {
  background: var(--dark-3);
  border: 1px solid var(--glass-border);
  border-radius: var(--border-radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg), 0 0 0 1px rgba(108,60,225,0.2);
  animation: float 6s ease-in-out infinite;
}

.mockup-header {
  background: var(--dark-4);
  padding: 14px 20px;
  display: flex;
  align-items: center;
  gap: 12px;
  border-bottom: 1px solid var(--glass-border);
}

.mockup-dots { display: flex; gap: 6px; }
.mockup-dots span {
  width: 12px; height: 12px;
  border-radius: 50%;
}
.mockup-dots span:nth-child(1) { background: #FF5F57; }
.mockup-dots span:nth-child(2) { background: #FFBD2E; }
.mockup-dots span:nth-child(3) { background: #28C840; }

.mockup-url {
  flex: 1;
  background: rgba(255,255,255,0.06);
  border-radius: 6px;
  padding: 6px 12px;
  font-size: 12px;
  color: var(--text-muted);
}

.mockup-body { padding: 20px; }

.mockup-products {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.mockup-card {
  background: var(--dark-4);
  border: 1px solid var(--glass-border);
  border-radius: 10px;
  overflow: hidden;
  transition: var(--transition);
}
.mockup-card:hover { border-color: var(--primary); transform: translateY(-2px); }

.mockup-card-img {
  height: 90px;
  background: linear-gradient(135deg, var(--dark-3), var(--dark-4));
  overflow: hidden;
}
.mockup-card-img img { width: 100%; height: 100%; object-fit: cover; }

.mockup-card-info { padding: 10px; }

.mockup-card-title {
  font-size: 11px;
  font-weight: 600;
  margin-bottom: 6px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.mockup-card-price {
  font-size: 13px;
  font-weight: 700;
  color: var(--primary-light);
}

/* Floating badges */
.hero-float {
  position: absolute;
  background: var(--dark-3);
  border: 1px solid var(--glass-border);
  border-radius: var(--border-radius);
  padding: 12px 16px;
  display: flex;
  align-items: center;
  gap: 10px;
  box-shadow: var(--shadow);
  backdrop-filter: blur(12px);
  font-size: 13px;
  font-weight: 600;
  animation: float 4s ease-in-out infinite;
}

.hero-float-1 { top: 20px; left: -60px; animation-delay: -1s; color: var(--success); }
.hero-float-2 { bottom: 80px; right: -40px; animation-delay: -2.5s; color: var(--warning); }
.hero-float i { font-size: 18px; }

/* -------------------- FEATURES -------------------- */
.features { background: var(--dark-2); }

.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.feature-card {
  background: var(--glass);
  border: 1px solid var(--glass-border);
  border-radius: var(--border-radius-lg);
  padding: 36px 28px;
  position: relative;
  overflow: hidden;
  transition: var(--transition);
  group: true;
}

.feature-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--primary), var(--secondary));
  transform: scaleX(0);
  transition: var(--transition);
  transform-origin: left;
}

.feature-card:hover { border-color: rgba(108,60,225,0.4); transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.feature-card:hover::before { transform: scaleX(1); }

.feature-icon {
  width: 60px; height: 60px;
  background: rgba(108,60,225,0.15);
  border: 1px solid rgba(108,60,225,0.3);
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  color: var(--primary-light);
  margin-bottom: 24px;
  transition: var(--transition);
}

.feature-card:hover .feature-icon {
  background: rgba(108,60,225,0.3);
  transform: scale(1.1);
}

.feature-card h3 { font-size: 19px; font-weight: 700; margin-bottom: 12px; }
.feature-card p { color: var(--text-secondary); font-size: 14px; line-height: 1.7; }

/* -------------------- CATEGORIES -------------------- */
.categories-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.category-card {
  background: var(--glass);
  border: 1px solid var(--glass-border);
  border-radius: var(--border-radius-lg);
  padding: 32px 24px;
  text-align: center;
  cursor: pointer;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
  text-decoration: none;
  display: block;
  color: inherit;
}

.category-card::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at center, rgba(108,60,225,0.15), transparent 70%);
  opacity: 0;
  transition: var(--transition);
}

.category-card:hover {
  border-color: rgba(108,60,225,0.5);
  transform: translateY(-8px);
  box-shadow: 0 16px 48px rgba(108,60,225,0.2);
}
.category-card:hover::after { opacity: 1; }

.category-icon {
  width: 64px; height: 64px;
  border-radius: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 26px;
  margin: 0 auto 20px;
  position: relative;
  z-index: 1;
}

.category-name {
  font-family: var(--font-heading);
  font-size: 15px;
  font-weight: 700;
  margin-bottom: 6px;
  position: relative;
  z-index: 1;
}

.category-count {
  font-size: 12px;
  color: var(--text-muted);
  position: relative;
  z-index: 1;
}

/* -------------------- PRODUCT CARDS -------------------- */
.product-card {
  background: var(--dark-3);
  border: 1px solid var(--glass-border);
  border-radius: var(--border-radius-lg);
  overflow: hidden;
  transition: var(--transition);
  display: flex;
  flex-direction: column;
}

.product-card:hover {
  border-color: rgba(108,60,225,0.4);
  transform: translateY(-6px);
  box-shadow: 0 20px 60px rgba(0,0,0,0.4);
}

.product-image {
  position: relative;
  overflow: hidden;
  aspect-ratio: 16/10;
}

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

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

.product-overlay {
  position: absolute;
  inset: 0;
  background: rgba(13,13,26,0.7);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: var(--transition);
  backdrop-filter: blur(4px);
}

.product-card:hover .product-overlay { opacity: 1; }

.product-badge {
  position: absolute;
  top: 12px; left: 12px;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 1px;
  padding: 4px 10px;
  border-radius: 4px;
  text-transform: uppercase;
  z-index: 2;
}

.badge-hot { background: #FF3333; color: #fff; }
.badge-new { background: var(--success); color: #fff; }
.badge-sale { background: var(--warning); color: #000; }
.badge-best { background: linear-gradient(135deg, var(--primary), var(--secondary)); color: #fff; }

.discount-badge {
  position: absolute;
  top: 12px; right: 12px;
  background: rgba(0,0,0,0.7);
  color: var(--secondary);
  font-size: 11px;
  font-weight: 700;
  padding: 4px 8px;
  border-radius: 4px;
  backdrop-filter: blur(4px);
  z-index: 2;
}

.product-info { padding: 20px; flex: 1; display: flex; flex-direction: column; }

.product-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 10px;
}

.tech-tag {
  background: rgba(108,60,225,0.15);
  border: 1px solid rgba(108,60,225,0.3);
  color: var(--primary-light);
  font-size: 11px;
  font-weight: 600;
  padding: 3px 10px;
  border-radius: 4px;
}

.product-title {
  font-size: 15px;
  font-weight: 700;
  margin-bottom: 10px;
  line-height: 1.4;
  flex: 1;
}

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

.product-rating {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 16px;
  font-size: 13px;
  color: #FFB800;
}

.rating-num { font-weight: 700; color: var(--text-primary); }
.sales-count { color: var(--text-muted); }

.product-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: auto;
}

.product-price { display: flex; align-items: baseline; gap: 8px; }
.price-current { font-size: 20px; font-weight: 800; color: var(--text-primary); }
.price-original { font-size: 14px; color: var(--text-muted); text-decoration: line-through; }

/* -------------------- FEATURED PRODUCTS -------------------- */
.featured-products-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

/* -------------------- TESTIMONIALS -------------------- */
.testimonials { background: var(--dark-2); }

.testimonial-slider-wrapper { position: relative; }

.testimonial-slides { position: relative; min-height: 280px; }

.testimonial-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 0.5s ease;
  pointer-events: none;
}

.testimonial-slide.active { opacity: 1; pointer-events: all; position: relative; }

.testimonial-card {
  background: var(--glass);
  border: 1px solid var(--glass-border);
  border-radius: var(--border-radius-lg);
  padding: 48px;
  max-width: 720px;
  margin: 0 auto;
  text-align: center;
  backdrop-filter: blur(8px);
}

.testimonial-stars { color: #FFB800; font-size: 20px; margin-bottom: 24px; display: flex; justify-content: center; gap: 4px; }

.testimonial-text {
  font-size: 18px;
  color: var(--text-secondary);
  line-height: 1.8;
  font-style: italic;
  margin-bottom: 32px;
}

.testimonial-author { display: flex; align-items: center; justify-content: center; gap: 16px; }

.testimonial-avatar {
  width: 56px; height: 56px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--primary);
}

.testimonial-info { text-align: left; }
.testimonial-name { font-weight: 700; font-size: 16px; }
.testimonial-role { font-size: 13px; color: var(--text-muted); }

.testimonial-controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin-top: 40px;
}

.testimonial-prev, .testimonial-next {
  width: 44px; height: 44px;
  background: var(--glass);
  border: 1px solid var(--glass-border);
  border-radius: 50%;
  color: var(--text-secondary);
  transition: var(--transition);
  display: flex;
  align-items: center;
  justify-content: center;
}

.testimonial-prev:hover, .testimonial-next:hover {
  background: rgba(108,60,225,0.3);
  border-color: var(--primary);
  color: #fff;
}

.testimonial-dots { display: flex; gap: 8px; }

.testimonial-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--glass-border);
  border: 1px solid var(--glass-border);
  cursor: pointer;
  transition: var(--transition);
}

.testimonial-dot.active { background: var(--primary); width: 24px; border-radius: 4px; border-color: var(--primary); }

/* -------------------- NEWSLETTER -------------------- */
.newsletter {
  background: linear-gradient(135deg, rgba(108,60,225,0.3) 0%, rgba(255,107,53,0.15) 100%);
  border-top: 1px solid var(--glass-border);
  border-bottom: 1px solid var(--glass-border);
}

.newsletter-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 48px;
}

.newsletter-text { flex: 1; }
.newsletter-text h2 { font-size: 32px; font-weight: 800; margin-bottom: 8px; }
.newsletter-text p { color: var(--text-secondary); font-size: 16px; }

.newsletter-form {
  display: flex;
  gap: 12px;
  flex-shrink: 0;
}

.newsletter-form input {
  background: rgba(255,255,255,0.08);
  border: 1px solid var(--glass-border);
  color: var(--text-primary);
  padding: 14px 20px;
  border-radius: var(--border-radius-sm);
  font-size: 15px;
  width: 300px;
  outline: none;
  transition: var(--transition);
}

.newsletter-form input::placeholder { color: var(--text-muted); }
.newsletter-form input:focus { border-color: var(--primary); background: rgba(108,60,225,0.1); }

/* -------------------- FOOTER -------------------- */
.footer {
  background: var(--dark-2);
  border-top: 1px solid var(--glass-border);
  padding-top: 72px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 56px;
  border-bottom: 1px solid var(--glass-border);
}

.footer-brand {}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 20px;
}

.footer-desc {
  color: var(--text-secondary);
  font-size: 14px;
  line-height: 1.8;
  margin-bottom: 24px;
  max-width: 280px;
}

.footer-social { display: flex; gap: 10px; }

.social-link {
  width: 40px; height: 40px;
  background: var(--glass);
  border: 1px solid var(--glass-border);
  border-radius: var(--border-radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  transition: var(--transition);
  font-size: 15px;
}

.social-link:hover { background: rgba(108,60,225,0.3); border-color: var(--primary); color: #fff; transform: translateY(-2px); }

.footer-col h4 {
  font-size: 14px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--text-primary);
  margin-bottom: 20px;
}

.footer-links { display: flex; flex-direction: column; gap: 10px; }

.footer-links a {
  color: var(--text-secondary);
  font-size: 14px;
  transition: var(--transition);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.footer-links a:hover { color: var(--primary-light); padding-left: 4px; }

.footer-bottom {
  padding: 24px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}

.footer-copyright { color: var(--text-muted); font-size: 13px; }
.footer-copyright a { color: var(--primary-light); }

.footer-legal { display: flex; gap: 20px; }
.footer-legal a { color: var(--text-muted); font-size: 13px; }
.footer-legal a:hover { color: var(--text-secondary); }

/* -------------------- PAGE HEADER -------------------- */
.page-header {
  background: linear-gradient(180deg, var(--dark-3) 0%, var(--dark) 100%);
  border-bottom: 1px solid var(--glass-border);
  padding: calc(var(--navbar-height) + 48px) 0 48px;
  position: relative;
  overflow: hidden;
}

.page-header::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--primary), transparent);
}

.page-header h1 { font-size: clamp(28px, 4vw, 42px); font-weight: 800; margin-bottom: 8px; }
.page-header p { color: var(--text-secondary); font-size: 16px; }

/* -------------------- BREADCRUMB -------------------- */
.breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: var(--text-muted);
  margin-bottom: 16px;
  flex-wrap: wrap;
}

.breadcrumb a { color: var(--text-muted); }
.breadcrumb a:hover { color: var(--primary-light); }
.breadcrumb .sep { color: var(--text-muted); opacity: 0.5; }
.breadcrumb .current { color: var(--text-secondary); }

/* -------------------- PRODUCTS PAGE -------------------- */
.products-layout {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 32px;
  padding: 48px 0 96px;
}

/* Sidebar */
.sidebar {
  position: sticky;
  top: calc(var(--navbar-height) + 24px);
  max-height: calc(100vh - var(--navbar-height) - 48px);
  overflow-y: auto;
  scrollbar-width: thin;
}

.sidebar::-webkit-scrollbar { width: 3px; }
.sidebar::-webkit-scrollbar-thumb { background: var(--primary); }

.filter-panel {
  background: var(--dark-3);
  border: 1px solid var(--glass-border);
  border-radius: var(--border-radius-lg);
  padding: 24px;
  margin-bottom: 20px;
}

.filter-panel-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 20px;
}

.filter-panel-title {
  font-size: 14px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--text-secondary);
}

.filter-group { margin-bottom: 16px; }

.filter-checkbox, .filter-radio-label {
  display: flex;
  align-items: center;
  gap: 10px;
  cursor: pointer;
  font-size: 14px;
  color: var(--text-secondary);
  padding: 7px 0;
  transition: var(--transition);
}

.filter-checkbox:hover, .filter-radio-label:hover { color: var(--text-primary); }

.filter-checkbox input[type="checkbox"],
.filter-radio-label input[type="radio"] {
  width: 16px; height: 16px;
  accent-color: var(--primary);
  cursor: pointer;
}

.price-range-wrapper { padding: 8px 0; }

.price-labels {
  display: flex;
  justify-content: space-between;
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 12px;
  color: var(--text-primary);
}

.range-slider {
  width: 100%;
  -webkit-appearance: none;
  height: 4px;
  border-radius: 2px;
  background: linear-gradient(to right, var(--primary) 0%, var(--primary) 50%, var(--glass-border) 50%);
  outline: none;
  margin-bottom: 8px;
}

.range-slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 18px; height: 18px;
  border-radius: 50%;
  background: var(--primary);
  cursor: pointer;
  border: 2px solid #fff;
  box-shadow: 0 2px 8px rgba(108,60,225,0.5);
}

/* Products Main */
.products-main {}

.products-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 28px;
  flex-wrap: wrap;
}

.search-wrapper {
  position: relative;
  flex: 1;
  min-width: 200px;
  max-width: 400px;
}

.search-wrapper i {
  position: absolute;
  left: 14px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--text-muted);
  font-size: 15px;
}

.product-search {
  width: 100%;
  background: var(--dark-3);
  border: 1px solid var(--glass-border);
  color: var(--text-primary);
  padding: 11px 16px 11px 42px;
  border-radius: var(--border-radius-sm);
  font-size: 14px;
  outline: none;
  transition: var(--transition);
}

.product-search:focus { border-color: var(--primary); background: rgba(108,60,225,0.08); }
.product-search::placeholder { color: var(--text-muted); }

.toolbar-right {
  display: flex;
  align-items: center;
  gap: 12px;
}

.results-count { font-size: 13px; color: var(--text-muted); white-space: nowrap; }

.sort-select {
  background: var(--dark-3);
  border: 1px solid var(--glass-border);
  color: var(--text-primary);
  padding: 10px 36px 10px 14px;
  border-radius: var(--border-radius-sm);
  font-size: 14px;
  outline: none;
  cursor: pointer;
  -webkit-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath fill='%23ffffff50' d='M8 11L2 5h12z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 10px center;
  background-size: 12px;
  transition: var(--transition);
}

.sort-select:focus { border-color: var(--primary); }

.products-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  min-height: 400px;
}

/* Pagination */
.pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-top: 48px;
  flex-wrap: wrap;
}

.page-btn {
  min-width: 40px; height: 40px;
  background: var(--dark-3);
  border: 1px solid var(--glass-border);
  border-radius: var(--border-radius-sm);
  color: var(--text-secondary);
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 12px;
}

.page-btn:hover:not(.disabled):not(.active) { background: var(--glass); border-color: var(--primary); color: #fff; }
.page-btn.active { background: var(--primary); border-color: var(--primary); color: #fff; }
.page-btn.disabled { opacity: 0.3; cursor: not-allowed; }
.page-ellipsis { color: var(--text-muted); padding: 0 4px; line-height: 40px; }

/* No Results */
.no-results {
  grid-column: 1 / -1;
  text-align: center;
  padding: 80px 20px;
  color: var(--text-muted);
}

.no-results i { font-size: 48px; margin-bottom: 16px; opacity: 0.4; }
.no-results h3 { font-size: 20px; margin-bottom: 8px; color: var(--text-secondary); }

/* -------------------- PRODUCT DETAIL -------------------- */
.product-detail-page { padding: calc(var(--navbar-height) + 24px) 0 96px; }

.product-detail-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  margin-bottom: 64px;
}

/* Gallery */
.product-gallery {}

.main-image-wrapper {
  background: var(--dark-3);
  border: 1px solid var(--glass-border);
  border-radius: var(--border-radius-lg);
  overflow: hidden;
  aspect-ratio: 16/10;
  margin-bottom: 16px;
}

.detail-main-image { width: 100%; height: 100%; object-fit: cover; }

.image-thumbnails {
  display: flex;
  gap: 10px;
}

.thumb-btn {
  width: 80px; height: 55px;
  border-radius: var(--border-radius-sm);
  overflow: hidden;
  border: 2px solid transparent;
  cursor: pointer;
  transition: var(--transition);
}

.thumb-btn:hover, .thumb-btn.active { border-color: var(--primary); }

.thumb-img { width: 100%; height: 100%; object-fit: cover; }

/* Product Info */
.product-detail-info {}

.detail-category-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(108,60,225,0.15);
  border: 1px solid rgba(108,60,225,0.3);
  color: var(--primary-light);
  font-size: 12px;
  font-weight: 600;
  padding: 4px 12px;
  border-radius: 4px;
  margin-bottom: 16px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.detail-product-title {
  font-size: clamp(22px, 3vw, 34px);
  font-weight: 800;
  margin-bottom: 16px;
  line-height: 1.2;
}

.detail-meta {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-bottom: 24px;
  flex-wrap: wrap;
}

.detail-stars { color: #FFB800; display: flex; gap: 3px; font-size: 15px; }
.detail-rating-num { font-weight: 700; font-size: 15px; }
.detail-sales { color: var(--text-muted); font-size: 14px; }
.detail-sales i { color: var(--secondary); }

.detail-price-box {
  background: var(--glass);
  border: 1px solid var(--glass-border);
  border-radius: var(--border-radius);
  padding: 20px 24px;
  margin-bottom: 24px;
  display: flex;
  align-items: baseline;
  gap: 12px;
}

.detail-price-current { font-size: 40px; font-weight: 900; color: var(--text-primary); }
.detail-price-original { font-size: 18px; color: var(--text-muted); text-decoration: line-through; }
.detail-price-save { font-size: 13px; color: var(--success); font-weight: 600; }

/* License Options */
.license-options { margin-bottom: 24px; }

.license-options h4 {
  font-size: 14px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--text-muted);
  margin-bottom: 12px;
}

.license-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }

.license-option {
  background: var(--dark-3);
  border: 2px solid var(--glass-border);
  border-radius: var(--border-radius);
  padding: 14px 12px;
  cursor: pointer;
  transition: var(--transition);
  text-align: center;
}

.license-option:hover { border-color: rgba(108,60,225,0.5); }
.license-option.selected { border-color: var(--primary); background: rgba(108,60,225,0.1); }

.license-option input[type="radio"] { display: none; }
.license-option-name { font-size: 13px; font-weight: 700; display: block; margin-bottom: 4px; }
.license-option-price { font-size: 16px; font-weight: 800; color: var(--primary-light); }

/* Action Buttons */
.product-actions {
  display: flex;
  gap: 12px;
  margin-bottom: 24px;
}

.btn-buy-now { flex: 1; }
.btn-add-to-cart { flex: 1; }

.btn-wishlist {
  width: 48px; height: 48px;
  background: var(--dark-3);
  border: 1px solid var(--glass-border);
  border-radius: var(--border-radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  font-size: 18px;
  transition: var(--transition);
  flex-shrink: 0;
}

.btn-wishlist:hover, .btn-wishlist.active { color: #FF3333; border-color: #FF3333; background: rgba(255,51,51,0.1); }

.product-meta-info {
  background: var(--glass);
  border: 1px solid var(--glass-border);
  border-radius: var(--border-radius);
  padding: 16px 20px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  font-size: 13px;
}

.meta-item { display: flex; align-items: center; gap: 8px; color: var(--text-secondary); }
.meta-item i { color: var(--primary-light); font-size: 14px; width: 16px; }

/* Tabs */
.tabs-section { margin-bottom: 64px; }

.tab-nav {
  display: flex;
  gap: 4px;
  border-bottom: 1px solid var(--glass-border);
  margin-bottom: 32px;
  overflow-x: auto;
  scrollbar-width: none;
}

.tab-nav::-webkit-scrollbar { display: none; }

.tab-btn {
  padding: 12px 22px;
  font-size: 14px;
  font-weight: 600;
  color: var(--text-muted);
  border-bottom: 2px solid transparent;
  transition: var(--transition);
  white-space: nowrap;
  background: none;
  cursor: pointer;
  margin-bottom: -1px;
}

.tab-btn:hover { color: var(--text-primary); }
.tab-btn.active { color: var(--primary-light); border-bottom-color: var(--primary); }

.tab-panel { display: none; }
.tab-panel.active { display: block; }

.tab-content-box {
  background: var(--dark-3);
  border: 1px solid var(--glass-border);
  border-radius: var(--border-radius-lg);
  padding: 36px;
}

.tab-content-box p { color: var(--text-secondary); line-height: 1.8; font-size: 15px; margin-bottom: 16px; }
.tab-content-box h3 { font-size: 18px; margin-bottom: 16px; }

.features-checklist { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }

.features-checklist li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  color: var(--text-secondary);
  font-size: 14px;
  line-height: 1.5;
}

.features-checklist li i { color: var(--success); margin-top: 2px; flex-shrink: 0; }

.requirements-list { display: flex; flex-direction: column; gap: 10px; }

.requirements-list li {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--text-secondary);
  font-size: 14px;
  background: var(--glass);
  border: 1px solid var(--glass-border);
  padding: 10px 16px;
  border-radius: var(--border-radius-sm);
}

.requirements-list li i { color: var(--primary-light); }

.changelog-entry { margin-bottom: 24px; }

.changelog-version {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(108,60,225,0.2);
  border: 1px solid rgba(108,60,225,0.3);
  color: var(--primary-light);
  font-size: 13px;
  font-weight: 700;
  padding: 4px 12px;
  border-radius: 4px;
  margin-bottom: 8px;
}

.changelog-date { color: var(--text-muted); font-size: 12px; margin-left: 8px; }
.changelog-entry ul { list-style: disc; padding-left: 20px; color: var(--text-secondary); font-size: 14px; }
.changelog-entry ul li { padding: 3px 0; }

/* Review Section */
.review-item {
  display: flex;
  gap: 20px;
  padding: 24px 0;
  border-bottom: 1px solid var(--glass-border);
}

.review-item:last-child { border-bottom: none; }

.review-avatar {
  width: 48px; height: 48px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
}

.review-content {}
.review-header { display: flex; align-items: center; gap: 12px; margin-bottom: 8px; flex-wrap: wrap; }
.review-name { font-weight: 700; font-size: 15px; }
.review-stars { color: #FFB800; font-size: 13px; }
.review-date { color: var(--text-muted); font-size: 12px; }
.review-text { color: var(--text-secondary); font-size: 14px; line-height: 1.7; }

/* Related Products */
.related-products-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

/* -------------------- CART PAGE -------------------- */
.cart-page { padding: 48px 0 96px; }

.cart-content {
  display: grid;
  grid-template-columns: 1fr 360px;
  gap: 32px;
  align-items: start;
}

.cart-empty {
  text-align: center;
  padding: 96px 20px;
  flex-direction: column;
  align-items: center;
  display: none;
}

.cart-empty i { font-size: 64px; color: var(--text-muted); margin-bottom: 24px; opacity: 0.4; }
.cart-empty h3 { font-size: 24px; font-weight: 700; margin-bottom: 12px; }
.cart-empty p { color: var(--text-secondary); margin-bottom: 32px; }

/* Cart Table */
.cart-table {
  background: var(--dark-3);
  border: 1px solid var(--glass-border);
  border-radius: var(--border-radius-lg);
  overflow: hidden;
}

.cart-table-header {
  display: grid;
  grid-template-columns: 2fr 80px 130px 90px 50px;
  gap: 16px;
  padding: 16px 24px;
  background: var(--dark-4);
  border-bottom: 1px solid var(--glass-border);
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--text-muted);
}

.cart-items-body {}

.cart-item {
  display: contents;
}

table.cart-table-inner {
  width: 100%;
  border-collapse: collapse;
}

table.cart-table-inner td {
  padding: 20px 24px;
  border-bottom: 1px solid var(--glass-border);
  vertical-align: middle;
  font-size: 14px;
  color: var(--text-secondary);
}

table.cart-table-inner tr:last-child td { border-bottom: none; }

.cart-product-info { display: flex; align-items: center; gap: 16px; }

.cart-thumb {
  width: 70px; height: 50px;
  border-radius: var(--border-radius-sm);
  object-fit: cover;
  flex-shrink: 0;
}

.cart-product-info h4 { font-size: 14px; font-weight: 600; color: var(--text-primary); margin-bottom: 4px; }
.cart-license-label { font-size: 12px; color: var(--text-muted); }

.qty-control { display: flex; align-items: center; gap: 10px; }

.qty-btn {
  width: 28px; height: 28px;
  background: var(--glass);
  border: 1px solid var(--glass-border);
  border-radius: 6px;
  color: var(--text-primary);
  font-size: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: var(--transition);
}

.qty-btn:hover { background: rgba(108,60,225,0.2); border-color: var(--primary); }
.qty-value { font-weight: 600; min-width: 20px; text-align: center; }
.item-subtotal { font-weight: 700; color: var(--text-primary) !important; }

.cart-remove {
  color: var(--text-muted);
  font-size: 16px;
  transition: var(--transition);
  background: none;
  border: none;
  cursor: pointer;
  width: 32px; height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 6px;
}

.cart-remove:hover { color: var(--error); background: rgba(239,68,68,0.1); }

/* Order Summary */
.order-summary {
  background: var(--dark-3);
  border: 1px solid var(--glass-border);
  border-radius: var(--border-radius-lg);
  padding: 28px;
  position: sticky;
  top: calc(var(--navbar-height) + 24px);
}

.order-summary h3 { font-size: 18px; font-weight: 700; margin-bottom: 24px; }

.summary-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 0;
  font-size: 14px;
  border-bottom: 1px solid var(--glass-border);
  gap: 12px;
}

.summary-row:last-of-type { border-bottom: none; }
.summary-row .label { color: var(--text-secondary); }
.summary-row .value { font-weight: 600; }
.summary-row.total { padding-top: 16px; border-top: 1px solid var(--glass-border); }
.summary-row.total .label { font-size: 16px; font-weight: 700; color: var(--text-primary); }
.summary-row.total .value { font-size: 22px; font-weight: 900; color: var(--primary-light); }

.discount-wrapper { display: flex; gap: 10px; margin: 16px 0; }

.discount-input {
  flex: 1;
  background: var(--glass);
  border: 1px solid var(--glass-border);
  color: var(--text-primary);
  padding: 10px 14px;
  border-radius: var(--border-radius-sm);
  font-size: 14px;
  outline: none;
  transition: var(--transition);
}

.discount-input:focus { border-color: var(--primary); }
.discount-input::placeholder { color: var(--text-muted); }

.apply-discount { flex-shrink: 0; }

.btn-checkout {
  width: 100%;
  justify-content: center;
  margin-top: 20px;
  padding: 15px;
  font-size: 16px;
}

/* Trust Badges */
.trust-badges {
  display: flex;
  justify-content: center;
  gap: 20px;
  padding: 20px;
  flex-wrap: wrap;
}

.trust-badge {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 11px;
  font-weight: 600;
  color: var(--text-muted);
}

.trust-badge i { font-size: 16px; color: var(--success); }

/* -------------------- CONTACT PAGE -------------------- */
.contact-page { padding: 48px 0 96px; }

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  margin-bottom: 64px;
}

.contact-info { display: flex; flex-direction: column; gap: 20px; }

.contact-card {
  background: var(--dark-3);
  border: 1px solid var(--glass-border);
  border-radius: var(--border-radius-lg);
  padding: 28px;
  display: flex;
  gap: 20px;
  align-items: flex-start;
  transition: var(--transition);
}

.contact-card:hover { border-color: rgba(108,60,225,0.4); transform: translateX(4px); }

.contact-card-icon {
  width: 52px; height: 52px;
  background: rgba(108,60,225,0.15);
  border: 1px solid rgba(108,60,225,0.3);
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  color: var(--primary-light);
  flex-shrink: 0;
}

.contact-card-info h4 { font-size: 16px; font-weight: 700; margin-bottom: 6px; }
.contact-card-info p { color: var(--text-secondary); font-size: 14px; line-height: 1.6; }
.contact-card-info a { color: var(--primary-light); }
.contact-card-info a:hover { text-decoration: underline; }

/* Contact Form */
.contact-form-wrapper {
  background: var(--dark-3);
  border: 1px solid var(--glass-border);
  border-radius: var(--border-radius-lg);
  padding: 40px;
}

.contact-form-wrapper h2 { font-size: 24px; font-weight: 700; margin-bottom: 8px; }
.contact-form-wrapper > p { color: var(--text-secondary); font-size: 14px; margin-bottom: 32px; }

.form-group { margin-bottom: 20px; }

.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }

.form-group label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: var(--text-secondary);
  margin-bottom: 8px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  background: var(--glass);
  border: 1px solid var(--glass-border);
  color: var(--text-primary);
  padding: 12px 16px;
  border-radius: var(--border-radius-sm);
  font-size: 14px;
  outline: none;
  transition: var(--transition);
}

.form-group input::placeholder,
.form-group textarea::placeholder { color: var(--text-muted); }

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--primary);
  background: rgba(108,60,225,0.08);
  box-shadow: 0 0 0 3px rgba(108,60,225,0.15);
}

.form-group select option { background: var(--dark-3); color: var(--text-primary); }

.form-group textarea { resize: vertical; min-height: 140px; }

.btn-submit {
  width: 100%;
  justify-content: center;
  padding: 15px;
  font-size: 16px;
}

/* Map Placeholder */
.map-placeholder {
  background: var(--dark-3);
  border: 1px solid var(--glass-border);
  border-radius: var(--border-radius-lg);
  height: 380px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 16px;
  color: var(--text-muted);
  overflow: hidden;
  position: relative;
}

.map-placeholder::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    linear-gradient(rgba(108,60,225,0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(108,60,225,0.05) 1px, transparent 1px);
  background-size: 40px 40px;
}

.map-placeholder i { font-size: 48px; opacity: 0.3; position: relative; z-index: 1; }
.map-placeholder span { font-size: 16px; font-weight: 600; position: relative; z-index: 1; }

/* -------------------- TOAST -------------------- */
.toast-container {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 9999;
  display: flex;
  flex-direction: column;
  gap: 10px;
  max-width: 380px;
}

.toast {
  display: flex;
  align-items: center;
  gap: 12px;
  background: var(--dark-4);
  border: 1px solid var(--glass-border);
  border-radius: var(--border-radius);
  padding: 14px 18px;
  box-shadow: var(--shadow);
  backdrop-filter: blur(12px);
  transform: translateX(100%);
  opacity: 0;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  font-size: 14px;
}

.toast.show { transform: translateX(0); opacity: 1; }
.toast.hide { transform: translateX(120%); opacity: 0; }

.toast i { font-size: 18px; flex-shrink: 0; }
.toast span { flex: 1; font-weight: 500; }

.toast-success { border-color: rgba(34,197,94,0.4); }
.toast-success i { color: var(--success); }
.toast-error { border-color: rgba(239,68,68,0.4); }
.toast-error i { color: var(--error); }
.toast-warning { border-color: rgba(245,158,11,0.4); }
.toast-warning i { color: var(--warning); }
.toast-info { border-color: rgba(59,130,246,0.4); }
.toast-info i { color: var(--info); }

.toast-close {
  color: var(--text-muted);
  font-size: 12px;
  padding: 4px;
  border-radius: 4px;
  transition: var(--transition);
}

.toast-close:hover { color: var(--text-primary); background: var(--glass); }

/* -------------------- BACK TO TOP -------------------- */
.back-to-top {
  position: fixed;
  bottom: 24px;
  left: 24px;
  width: 44px; height: 44px;
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  color: #fff;
  border-radius: var(--border-radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 16px rgba(108,60,225,0.4);
  cursor: pointer;
  opacity: 0;
  transform: translateY(16px);
  transition: var(--transition);
  z-index: 990;
  border: none;
  font-size: 15px;
}

.back-to-top.visible { opacity: 1; transform: translateY(0); }
.back-to-top:hover { box-shadow: 0 6px 24px rgba(108,60,225,0.6); transform: translateY(-2px); }

/* -------------------- ANIMATIONS -------------------- */
.animate-on-scroll {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.animate-on-scroll.visible {
  opacity: 1;
  transform: translateY(0);
}

@keyframes fade-in { from { opacity: 0; } to { opacity: 1; } }
@keyframes slide-up { from { opacity: 0; transform: translateY(40px); } to { opacity: 1; transform: translateY(0); } }
@keyframes slide-right { from { opacity: 0; transform: translateX(-30px); } to { opacity: 1; transform: translateX(0); } }

.anim-fade-in { animation: fade-in 0.8s ease forwards; }
.anim-slide-up { animation: slide-up 0.8s ease forwards; }
.anim-slide-right { animation: slide-right 0.8s ease forwards; }

/* Stagger children */
.stagger > *:nth-child(1) { animation-delay: 0.1s; }
.stagger > *:nth-child(2) { animation-delay: 0.2s; }
.stagger > *:nth-child(3) { animation-delay: 0.3s; }
.stagger > *:nth-child(4) { animation-delay: 0.4s; }
.stagger > *:nth-child(5) { animation-delay: 0.5s; }
.stagger > *:nth-child(6) { animation-delay: 0.6s; }

/* Loading spinner */
.spinner {
  width: 40px; height: 40px;
  border: 3px solid var(--glass-border);
  border-top-color: var(--primary);
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
  margin: 0 auto;
}

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

/* -------------------- UTILITIES -------------------- */
.text-center { text-align: center; }
.text-muted { color: var(--text-muted); }
.text-secondary { color: var(--text-secondary); }
.text-primary-color { color: var(--primary-light); }
.text-orange { color: var(--secondary); }
.text-success { color: var(--success); }

.d-flex { display: flex; }
.align-center { align-items: center; }
.justify-between { justify-content: space-between; }
.gap-8 { gap: 8px; }
.gap-16 { gap: 16px; }

.mt-8 { margin-top: 8px; }
.mt-16 { margin-top: 16px; }
.mt-24 { margin-top: 24px; }
.mt-32 { margin-top: 32px; }
.mb-8 { margin-bottom: 8px; }
.mb-16 { margin-bottom: 16px; }
.mb-24 { margin-bottom: 24px; }
.mb-32 { margin-bottom: 32px; }

.divider {
  border: none;
  border-top: 1px solid var(--glass-border);
  margin: 32px 0;
}

/* -------------------- RESPONSIVE -------------------- */

/* Tablet - 1024px */
@media (max-width: 1024px) {
  .hero-inner { grid-template-columns: 1fr; gap: 48px; padding: 80px 0; }
  .hero-visual { display: none; }
  .hero-stats { grid-template-columns: repeat(4, 1fr); }
  .hero-title { font-size: 48px; }

  .features-grid { grid-template-columns: repeat(2, 1fr); }
  .categories-grid { grid-template-columns: repeat(4, 1fr); }
  .featured-products-grid { grid-template-columns: repeat(3, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }

  .products-layout { grid-template-columns: 240px 1fr; }
  .products-grid { grid-template-columns: repeat(2, 1fr); }

  .product-detail-grid { grid-template-columns: 1fr; }
  .related-products-grid { grid-template-columns: repeat(2, 1fr); }

  .cart-content { grid-template-columns: 1fr; }
  .order-summary { position: static; }

  .contact-grid { grid-template-columns: 1fr; }

  .newsletter-inner { flex-direction: column; gap: 24px; text-align: center; }
  .newsletter-form { width: 100%; max-width: 500px; }
  .newsletter-form input { flex: 1; width: auto; }
}

/* Mobile - 768px */
@media (max-width: 768px) {
  :root { --navbar-height: 64px; }

  .nav-menu {
    position: fixed;
    top: var(--navbar-height);
    left: 0; right: 0;
    background: rgba(13,13,26,0.98);
    backdrop-filter: blur(20px);
    padding: 24px;
    flex-direction: column;
    align-items: stretch;
    gap: 4px;
    border-bottom: 1px solid var(--glass-border);
    transform: translateY(-100%);
    opacity: 0;
    pointer-events: none;
    transition: transform 0.3s ease, opacity 0.3s ease;
    z-index: 999;
  }

  .nav-menu.open { transform: translateY(0); opacity: 1; pointer-events: all; }

  .nav-link { padding: 12px 16px; border-radius: var(--border-radius-sm); font-size: 16px; }
  .nav-link.active::after { display: none; }

  .nav-toggle { display: flex; }
  .btn-nav-cta { display: none; }

  .section-padding { padding: 64px 0; }
  .section-header { margin-bottom: 40px; }

  .hero-inner { padding: 40px 0 60px; }
  .hero-title { font-size: 36px; }
  .hero-subtitle { font-size: 16px; }
  .hero-cta { gap: 12px; }
  .hero-stats { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .stat-number { font-size: 22px; }

  .features-grid { grid-template-columns: 1fr; gap: 16px; }
  .categories-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .featured-products-grid { grid-template-columns: 1fr 1fr; gap: 16px; }

  .products-layout { grid-template-columns: 1fr; }
  .sidebar {
    position: static;
    max-height: none;
    display: none;
  }
  .sidebar.open { display: block; }
  .products-grid { grid-template-columns: 1fr 1fr; gap: 16px; }

  .license-grid { grid-template-columns: 1fr; }
  .product-actions { flex-wrap: wrap; }
  .btn-buy-now, .btn-add-to-cart { flex: 1 1 calc(50% - 6px); min-width: 120px; }
  .features-checklist { grid-template-columns: 1fr; }

  .testimonial-card { padding: 28px; }
  .testimonial-text { font-size: 15px; }

  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .footer-bottom { flex-direction: column; text-align: center; }

  .related-products-grid { grid-template-columns: 1fr 1fr; }

  .form-row { grid-template-columns: 1fr; gap: 0; }

  .products-toolbar { flex-direction: column; align-items: stretch; }
  .search-wrapper { max-width: 100%; }
  .toolbar-right { justify-content: space-between; }
}

/* =====================
   SEARCH OVERLAY
   ===================== */
.search-overlay {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: rgba(8, 8, 20, 0.85);
  backdrop-filter: blur(12px);
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding-top: 80px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease;
}
.search-overlay.open {
  opacity: 1;
  pointer-events: all;
}
.search-overlay-inner {
  width: 100%;
  max-width: 640px;
  padding: 0 20px;
}
.search-overlay-box {
  background: var(--dark-2);
  border: 1px solid var(--glass-border);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 32px 80px rgba(0,0,0,0.6);
  transform: translateY(-20px);
  transition: transform 0.25s ease;
}
.search-overlay.open .search-overlay-box {
  transform: translateY(0);
}
.search-overlay-input-wrap {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px 20px;
  border-bottom: 1px solid var(--glass-border);
}
.search-overlay-input-wrap i.fa-search {
  color: var(--text-muted);
  font-size: 18px;
  flex-shrink: 0;
}
.search-overlay-input-wrap input {
  flex: 1;
  background: none;
  border: none;
  outline: none;
  color: var(--text-primary);
  font-size: 18px;
  font-family: var(--font-body);
}
.search-overlay-input-wrap input::placeholder { color: var(--text-muted); }
.search-overlay-close {
  background: none;
  border: none;
  color: var(--text-muted);
  cursor: pointer;
  font-size: 16px;
  padding: 4px 8px;
  border-radius: 6px;
  transition: color 0.2s, background 0.2s;
}
.search-overlay-close:hover { color: var(--text-primary); background: var(--glass); }
.search-overlay-results { max-height: 380px; overflow-y: auto; }
.search-result-item {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 12px 20px;
  text-decoration: none;
  transition: background 0.15s;
  border-bottom: 1px solid var(--glass-border);
}
.search-result-item:last-child { border-bottom: none; }
.search-result-item:hover { background: var(--glass); }
.search-result-item img { width: 52px; height: 36px; object-fit: cover; border-radius: 6px; flex-shrink: 0; }
.search-result-info { flex: 1; min-width: 0; }
.search-result-name { color: var(--text-primary); font-size: 14px; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.search-result-meta { color: var(--text-muted); font-size: 12px; margin-top: 2px; }
.search-no-results { padding: 28px 20px; text-align: center; color: var(--text-muted); font-size: 14px; }
.search-view-all {
  display: block;
  padding: 14px 20px;
  text-align: center;
  color: var(--primary-light);
  font-size: 13px;
  font-weight: 600;
  text-decoration: none;
  background: var(--glass);
  transition: background 0.15s;
}
.search-view-all:hover { background: rgba(108, 60, 225, 0.15); }
.search-overlay-footer {
  display: flex;
  justify-content: flex-end;
  gap: 16px;
  padding: 10px 20px;
  border-top: 1px solid var(--glass-border);
  background: var(--dark-3);
}
.search-overlay-footer span { color: var(--text-muted); font-size: 11px; }
.search-overlay-footer kbd {
  background: var(--glass);
  border: 1px solid var(--glass-border);
  border-radius: 4px;
  padding: 1px 5px;
  font-family: monospace;
  font-size: 10px;
  color: var(--text-secondary);
}

/* Small Mobile - 480px */
@media (max-width: 480px) {
  .container { padding: 0 16px; }
  .hero-title { font-size: 28px; }
  .hero-cta .btn { padding: 12px 20px; font-size: 14px; }
  .featured-products-grid { grid-template-columns: 1fr; }
  .related-products-grid { grid-template-columns: 1fr; }
  .categories-grid { grid-template-columns: repeat(2, 1fr); }
  .products-grid { grid-template-columns: 1fr; }
  .tab-nav { gap: 0; }
  .tab-btn { padding: 10px 14px; font-size: 13px; }
  .section-title { font-size: 24px; }
  .newsletter-form { flex-direction: column; }
  .newsletter-form input { width: 100%; }
  .testimonial-author { flex-direction: column; text-align: center; }
  .testimonial-info { text-align: center; }
}
