@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800&display=swap');

:root {
  --primary: #0d1b2a;
  --secondary: #1b2d44;
  --accent: #2563eb;
  --accent-light: #3b82f6;
  --accent-glow: rgba(37,99,235,0.3);
  --dark: #060d16;
  --light: #f0f4f8;
  --white: #ffffff;
  --gray: #64748b;
  --gray-light: #e2e8f0;
  --success: #10b981;
  --warning: #f59e0b;
  --danger: #ef4444;
  --card-bg: #111827;
  --border: rgba(255,255,255,0.08);
  --text: #e2e8f0;
  --text-muted: #94a3b8;
  --shadow: 0 4px 24px rgba(0,0,0,0.4);
  --shadow-hover: 0 8px 40px rgba(37,99,235,0.25);
  --radius: 12px;
  --radius-lg: 20px;
  --transition: 0.3s ease;
}

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

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

body {
  font-family: 'Inter', sans-serif;
  background: var(--dark);
  color: var(--text);
  line-height: 1.6;
  overflow-x: hidden;
}

a { color: var(--accent-light); text-decoration: none; transition: var(--transition); }
a:hover { color: var(--white); }
img { max-width: 100%; display: block; }
ul { list-style: none; }
button { cursor: pointer; border: none; outline: none; font-family: inherit; }

/* ── SCROLLBAR ── */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--primary); }
::-webkit-scrollbar-thumb { background: var(--accent); border-radius: 3px; }

/* ── NAVBAR ── */
.navbar {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  display: flex; align-items: center; justify-content: space-between;
  padding: 1rem 2rem;
  background: transparent;
  transition: var(--transition);
}
.navbar.scrolled {
  background: rgba(6,13,22,0.95);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
  box-shadow: var(--shadow);
  padding: 0.7rem 2rem;
}
.navbar-brand img { height: 44px; filter: drop-shadow(0 4px 12px rgba(59, 130, 246, 0.9)); transition: var(--transition); }
.navbar-brand:hover img { filter: drop-shadow(0 4px 16px rgba(59, 130, 246, 1.0)); }
.nav-menu { display: flex; align-items: center; gap: 0.25rem; }
.nav-link {
  padding: 0.5rem 1rem; border-radius: 8px;
  font-weight: 500; font-size: 0.9rem; color: var(--text-muted);
  transition: var(--transition);
}
.nav-link:hover, .nav-link.active { color: var(--white); background: rgba(37,99,235,0.15); }
.nav-actions { display: flex; align-items: center; gap: 0.75rem; }
.nav-cart {
  position: relative; display: flex; align-items: center; justify-content: center;
  width: 42px; height: 42px; border-radius: 10px;
  background: rgba(37,99,235,0.15); color: var(--text); font-size: 1.1rem;
  transition: var(--transition);
}
.nav-cart:hover { background: var(--accent); color: var(--white); }
.cart-count {
  position: absolute; top: -6px; right: -6px;
  min-width: 18px; height: 18px; border-radius: 9px;
  background: var(--accent); color: var(--white);
  font-size: 0.65rem; font-weight: 700;
  display: flex; align-items: center; justify-content: center; padding: 0 4px;
}
.menu-toggle {
  display: none; flex-direction: column; gap: 5px;
  width: 32px; padding: 4px; background: transparent;
}
.menu-toggle span {
  display: block; height: 2px; background: var(--text);
  border-radius: 2px; transition: var(--transition);
}
.menu-toggle.active span:nth-child(1) { transform: rotate(45deg) translate(5px,5px); }
.menu-toggle.active span:nth-child(2) { opacity: 0; }
.menu-toggle.active span:nth-child(3) { transform: rotate(-45deg) translate(5px,-5px); }
.nav-overlay {
  display: none; position: fixed; inset: 0; z-index: 998;
  background: rgba(0,0,0,0.6); backdrop-filter: blur(4px);
}
.nav-overlay.active { display: block; }

/* ── BUTTONS ── */
.btn {
  display: inline-flex; align-items: center; gap: 0.5rem;
  padding: 0.75rem 1.75rem; border-radius: 10px;
  font-weight: 600; font-size: 0.9rem; transition: var(--transition);
}
.btn-primary {
  background: var(--accent); color: var(--white);
  box-shadow: 0 4px 15px var(--accent-glow);
}
.btn-primary:hover {
  background: var(--accent-light); color: var(--white);
  transform: translateY(-2px); box-shadow: 0 8px 25px var(--accent-glow);
}
.btn-outline {
  background: transparent; color: var(--white);
  border: 2px solid rgba(255,255,255,0.3);
}
.btn-outline:hover { border-color: var(--accent); color: var(--accent); }
.btn-ghost { background: rgba(255,255,255,0.08); color: var(--text); }
.btn-ghost:hover { background: var(--accent); color: var(--white); }

/* ── HERO ── */
.hero {
  position: relative; height: 100vh; min-height: 600px;
  display: flex; align-items: center; overflow: hidden;
}
.hero-slider { position: absolute; inset: 0; }
.hero-slide {
  position: absolute; inset: 0;
  display: flex; align-items: center;
  opacity: 0; transition: opacity 0.8s ease;
}
.hero-slide.active { opacity: 1; }
.hero-slide-bg {
  position: absolute; inset: 0;
  background-size: cover; background-position: center;
}
.hero-slide-bg::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(135deg, rgba(6,13,22,0.85) 0%, rgba(13,27,42,0.6) 60%, rgba(37,99,235,0.2) 100%);
}
.hero-content {
  position: relative; z-index: 1;
  max-width: 650px; padding: 0 2rem;
  margin-left: 8%;
}
.hero-badge {
  display: inline-flex; align-items: center; gap: 0.5rem;
  padding: 0.4rem 1rem; border-radius: 50px;
  background: rgba(37,99,235,0.2); border: 1px solid rgba(37,99,235,0.4);
  font-size: 0.8rem; font-weight: 600; color: var(--accent-light);
  margin-bottom: 1.25rem;
}
.hero-badge i { font-size: 0.75rem; }
.hero-title {
  font-size: clamp(2.2rem, 5vw, 3.8rem); font-weight: 800;
  line-height: 1.15; color: var(--white); margin-bottom: 1.25rem;
}
.hero-title span { color: var(--accent-light); }
.hero-desc { font-size: 1.1rem; color: var(--text-muted); margin-bottom: 2rem; max-width: 500px; }
.hero-cta { display: flex; gap: 1rem; flex-wrap: wrap; }
.hero-controls {
  position: absolute; bottom: 2rem; left: 50%; transform: translateX(-50%);
  display: flex; align-items: center; gap: 0.75rem; z-index: 5;
}
.hero-dot {
  width: 8px; height: 8px; border-radius: 4px;
  background: rgba(255,255,255,0.3); border: none;
  transition: var(--transition); cursor: pointer;
}
.hero-dot.active { background: var(--accent); width: 24px; }
.hero-arrow {
  width: 44px; height: 44px; border-radius: 50%;
  background: rgba(255,255,255,0.1); border: 1px solid var(--border);
  color: var(--white); font-size: 1rem; display: flex; align-items: center; justify-content: center;
  cursor: pointer; transition: var(--transition);
}
.hero-arrow:hover { background: var(--accent); }

/* ── SECTION ── */
.section { padding: 5rem 2rem; }
.section-sm { padding: 3rem 2rem; }
.container { max-width: 1280px; margin: 0 auto; }
.section-header { text-align: center; margin-bottom: 3rem; }
.section-tag {
  display: inline-block; padding: 0.3rem 1rem; border-radius: 50px;
  background: rgba(37,99,235,0.15); border: 1px solid rgba(37,99,235,0.3);
  font-size: 0.78rem; font-weight: 600; color: var(--accent-light);
  letter-spacing: 1px; text-transform: uppercase; margin-bottom: 0.75rem;
}
.section-title {
  font-size: clamp(1.75rem, 3vw, 2.5rem); font-weight: 800; color: var(--white);
  margin-bottom: 0.75rem;
}
.section-subtitle { color: var(--text-muted); max-width: 560px; margin: 0 auto; }

/* ── CATEGORIES ── */
.categories-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 1.25rem;
}
.category-card {
  background: var(--card-bg); border: 1px solid var(--border);
  border-radius: var(--radius-lg); padding: 2rem 1.25rem;
  text-align: center; cursor: pointer;
  transition: var(--transition);
}
.category-card:hover {
  border-color: var(--accent); transform: translateY(-4px);
  box-shadow: var(--shadow-hover);
}
.category-icon {
  width: 64px; height: 64px; border-radius: 16px; margin: 0 auto 1rem;
  background: rgba(37,99,235,0.15); display: flex; align-items: center; justify-content: center;
  font-size: 1.75rem; color: var(--accent-light); transition: var(--transition);
}
.category-card:hover .category-icon { background: var(--accent); }
.category-card h3 { font-size: 0.95rem; font-weight: 600; color: var(--white); }
.category-card p { font-size: 0.8rem; color: var(--text-muted); margin-top: 0.25rem; }

/* ── PRODUCT GRID ── */
.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 1.5rem;
}
.product-card {
  background: var(--card-bg); border: 1px solid var(--border);
  border-radius: var(--radius-lg); overflow: hidden;
  transition: var(--transition);
}
.product-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-hover); border-color: rgba(37,99,235,0.4); }
.product-card-img-wrap {
  position: relative; aspect-ratio: 420/600;
  overflow: hidden; display: block;
  background: var(--secondary);
}
.product-card-img-wrap img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 0.5s ease, opacity 0.4s ease;
}
.product-card-img-wrap .hover-img {
  position: absolute; top: 0; left: 0;
  opacity: 0;
}
.product-card:hover .product-card-img-wrap img { transform: scale(1.08); }
.product-card:hover .product-card-img-wrap .hover-img { opacity: 1; }
.product-badge, .product-discount {
  position: absolute; top: 12px; z-index: 1;
  padding: 0.25rem 0.65rem; border-radius: 6px;
  font-size: 0.72rem; font-weight: 700;
}
.product-badge { left: 12px; background: var(--accent); color: var(--white); }
.product-discount { right: 12px; background: var(--danger); color: var(--white); }
.product-card-body { padding: 1.25rem; }
.product-category {
  font-size: 0.72rem; font-weight: 600; color: var(--accent-light);
  text-transform: uppercase; letter-spacing: 0.5px;
}
.product-card-title {
  font-size: 0.95rem; font-weight: 600; color: var(--white);
  margin: 0.4rem 0 0.5rem; line-height: 1.4;
}
.product-card-title a { color: inherit; }
.product-card-title a:hover { color: var(--accent-light); }
.product-rating { display: flex; align-items: center; gap: 0.4rem; color: var(--warning); font-size: 0.8rem; }
.product-rating span { color: var(--text-muted); }
.product-card-footer { display: flex; align-items: center; justify-content: space-between; margin-top: 1rem; }
.product-pricing { display: flex; flex-direction: column; gap: 0.1rem; }
.product-price { font-size: 1.1rem; font-weight: 700; color: var(--accent-light); }
.product-old-price { font-size: 0.8rem; color: var(--text-muted); text-decoration: line-through; }
.btn-add-cart {
  width: 40px; height: 40px; border-radius: 10px;
  background: var(--accent); color: var(--white); font-size: 1rem;
  display: flex; align-items: center; justify-content: center;
  transition: var(--transition);
}
.btn-add-cart:hover { background: var(--accent-light); transform: scale(1.1); }

/* ── PROMO BANNER ── */
.promo-banner {
  border-radius: var(--radius-lg); overflow: hidden;
  position: relative; min-height: 300px;
  display: flex; align-items: center;
  background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
}
.promo-banner img {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0.35;
}
.promo-content { position: relative; z-index: 1; padding: 3rem; max-width: 600px; }
.promo-tag {
  display: inline-block; padding: 0.3rem 1rem; border-radius: 50px;
  background: rgba(37,99,235,0.3); color: var(--accent-light);
  font-size: 0.75rem; font-weight: 700; letter-spacing: 1px;
  text-transform: uppercase; margin-bottom: 1rem;
}
.promo-title { font-size: clamp(1.6rem, 3vw, 2.4rem); font-weight: 800; color: var(--white); margin-bottom: 1rem; }
.promo-desc { color: var(--text-muted); margin-bottom: 1.5rem; }

/* ── WHY CHOOSE US ── */
.features-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 1.5rem;
}
.feature-card {
  background: var(--card-bg); border: 1px solid var(--border);
  border-radius: var(--radius-lg); padding: 2rem 1.5rem;
  transition: var(--transition);
}
.feature-card:hover { border-color: var(--accent); box-shadow: var(--shadow-hover); }
.feature-icon {
  width: 56px; height: 56px; border-radius: 14px; margin-bottom: 1.25rem;
  background: rgba(37,99,235,0.15); display: flex; align-items: center; justify-content: center;
  font-size: 1.5rem; color: var(--accent-light);
}
.feature-card h3 { font-size: 1rem; font-weight: 700; color: var(--white); margin-bottom: 0.5rem; }
.feature-card p { font-size: 0.875rem; color: var(--text-muted); }

/* ── TESTIMONIALS ── */
.testimonials-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 1.5rem; }
.testimonial-card {
  background: var(--card-bg); border: 1px solid var(--border);
  border-radius: var(--radius-lg); padding: 1.75rem;
}
.testimonial-stars { color: var(--warning); margin-bottom: 0.75rem; }
.testimonial-text { color: var(--text-muted); font-style: italic; margin-bottom: 1.25rem; line-height: 1.7; }
.testimonial-author { display: flex; align-items: center; gap: 0.75rem; }
.testimonial-avatar {
  width: 42px; height: 42px; border-radius: 50%;
  background: var(--accent); display: flex; align-items: center; justify-content: center;
  font-weight: 700; color: var(--white); font-size: 1rem;
}
.testimonial-name { font-weight: 600; color: var(--white); font-size: 0.9rem; }
.testimonial-role { font-size: 0.78rem; color: var(--text-muted); }

/* ── NEWSLETTER ── */
.newsletter-section {
  background: linear-gradient(135deg, rgba(37,99,235,0.15) 0%, rgba(13,27,42,0.5) 100%);
  border: 1px solid rgba(37,99,235,0.2); border-radius: var(--radius-lg);
  padding: 4rem 2rem; text-align: center;
}
.newsletter-title { font-size: clamp(1.5rem, 3vw, 2rem); font-weight: 800; color: var(--white); margin-bottom: 0.75rem; }
.newsletter-desc { color: var(--text-muted); margin-bottom: 2rem; }
.newsletter-form { display: flex; gap: 0.75rem; max-width: 480px; margin: 0 auto; }
.newsletter-input {
  flex: 1; padding: 0.85rem 1.25rem; border-radius: 10px;
  background: rgba(255,255,255,0.08); border: 1px solid var(--border);
  color: var(--white); font-family: inherit; font-size: 0.9rem;
}
.newsletter-input::placeholder { color: var(--text-muted); }
.newsletter-input:focus { outline: none; border-color: var(--accent); }

/* ── FOOTER ── */
.footer {
  background: var(--primary); border-top: 1px solid var(--border);
  padding: 4rem 2rem 1.5rem;
}
.footer-grid {
  display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 3rem;
  margin-bottom: 3rem;
}
.footer-brand img { height: 40px; margin-bottom: 1rem; }
.footer-desc { color: var(--text-muted); font-size: 0.875rem; line-height: 1.7; margin-bottom: 1.25rem; }
.footer-socials { display: flex; gap: 0.75rem; }
.social-link {
  width: 38px; height: 38px; border-radius: 10px;
  background: rgba(255,255,255,0.08); color: var(--text-muted);
  display: flex; align-items: center; justify-content: center; font-size: 0.95rem;
  transition: var(--transition);
}
.social-link:hover { background: var(--accent); color: var(--white); }
.footer-heading { font-size: 0.9rem; font-weight: 700; color: var(--white); margin-bottom: 1.25rem; }
.footer-links { display: flex; flex-direction: column; gap: 0.6rem; }
.footer-links a { font-size: 0.875rem; color: var(--text-muted); }
.footer-links a:hover { color: var(--white); padding-left: 4px; }
.footer-contact { display: flex; flex-direction: column; gap: 0.75rem; }
.footer-contact-item { display: flex; align-items: flex-start; gap: 0.6rem; }
.footer-contact-item i { color: var(--accent-light); margin-top: 3px; min-width: 14px; }
.footer-contact-item span { font-size: 0.875rem; color: var(--text-muted); }
.footer-bottom {
  border-top: 1px solid var(--border); padding-top: 1.5rem;
  display: flex; align-items: center; justify-content: space-between;
  flex-wrap: wrap; gap: 1rem;
}
.footer-bottom p { font-size: 0.8rem; color: var(--text-muted); }

/* ── BREADCRUMB ── */
.breadcrumb-section {
  padding: 6.5rem 2rem 2rem;
  background: linear-gradient(180deg, var(--primary) 0%, var(--dark) 100%);
  border-bottom: 1px solid var(--border);
}
.breadcrumb { display: flex; align-items: center; gap: 0.5rem; flex-wrap: wrap; }
.breadcrumb a { font-size: 0.875rem; color: var(--text-muted); }
.breadcrumb a:hover { color: var(--white); }
.breadcrumb i { font-size: 0.7rem; color: var(--text-muted); }
.breadcrumb span { font-size: 0.875rem; color: var(--text); }
.page-title { font-size: clamp(1.75rem, 3vw, 2.5rem); font-weight: 800; color: var(--white); margin-top: 0.5rem; }

/* ── TOAST ── */
.cc-toast {
  position: fixed; top: 1.5rem; right: 1.5rem; z-index: 9999;
  background: var(--accent); color: var(--white);
  padding: 0.85rem 1.5rem; border-radius: 10px;
  font-size: 0.9rem; font-weight: 500;
  transform: translateX(120%); transition: transform 0.3s ease;
  box-shadow: var(--shadow);
}
.cc-toast.show { transform: translateX(0); }

/* ── NO RESULTS ── */
.no-results {
  grid-column: 1/-1; text-align: center;
  padding: 4rem 1rem; color: var(--text-muted);
}
.no-results i { font-size: 3rem; margin-bottom: 1rem; display: block; }

/* ── WHATSAPP FLOAT ── */
.wa-float {
  position: fixed; bottom: 2rem; right: 2rem; z-index: 999;
  width: 56px; height: 56px; border-radius: 50%;
  background: #25d366; color: var(--white); font-size: 1.5rem;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 4px 20px rgba(37,211,102,0.4);
  transition: var(--transition);
}
.wa-float:hover { transform: scale(1.1); color: var(--white); }

/* ── DARK BG SECTIONS ── */
.bg-secondary { background: var(--secondary); }
.bg-card { background: var(--card-bg); }
