/* =========================================
   SITE CHINI — MAIN STYLESHEET
   تم اصلی: چینی | قرمز + طلایی
   ========================================= */

@import url('https://fonts.googleapis.com/css2?family=Vazirmatn:wght@300;400;500;600;700;800;900&display=swap');
@import url('https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.5.1/css/all.min.css');

/* --- CSS Variables --- */
:root {
  /* Chinese Red Theme */
  --red-primary:    #C8102E;
  --red-dark:       #8B0D1F;
  --red-light:      #E8304A;
  --red-glow:       rgba(200, 16, 46, 0.4);

  /* Gold */
  --gold:           #FFD700;
  --gold-dark:      #C9A800;
  --gold-light:     #FFF0A0;

  /* Neutrals */
  --dark:           #0D0D0D;
  --dark-2:         #1A1A1A;
  --dark-3:         #2A2A2A;
  --dark-4:         #3A3A3A;
  --gray:           #888888;
  --gray-light:     #CCCCCC;
  --white:          #FFFFFF;
  --white-soft:     #F8F4F0;

  /* Section Themes */
  --solar-primary:  #00C896;
  --solar-dark:     #007A5C;
  --solar-glow:     rgba(0, 200, 150, 0.3);

  --auto-primary:   #1A6EBF;
  --auto-dark:      #0F4A80;
  --auto-glow:      rgba(26, 110, 191, 0.3);

  --tech-primary:   #7B2FBE;
  --tech-dark:      #4E1A7A;
  --tech-glow:      rgba(123, 47, 190, 0.3);

  /* Layout */
  --border-radius:  12px;
  --border-radius-lg: 20px;
  --transition:     0.35s cubic-bezier(0.4, 0, 0.2, 1);
  --shadow:         0 8px 32px rgba(0,0,0,0.4);
  --shadow-lg:      0 20px 60px rgba(0,0,0,0.5);
}

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

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

body {
  font-family: 'Vazirmatn', sans-serif;
  direction: rtl;
  background-color: var(--dark);
  color: var(--white);
  overflow-x: hidden;
  line-height: 1.7;
}

a {
  text-decoration: none;
  color: inherit;
  transition: var(--transition);
}

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

ul, ol {
  list-style: none;
}

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

/* =========================================
   LOADER / SPLASH SCREEN
   ========================================= */
#loader {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: var(--dark);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  transition: opacity 0.6s ease, visibility 0.6s ease;
}

#loader.hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.loader-emblem {
  width: 80px;
  height: 80px;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
}

.loader-emblem-ring {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 2px solid transparent;
  border-top-color: var(--gold);
  border-bottom-color: var(--red-primary);
  animation: emblemSpin 1.8s linear infinite;
}

.loader-emblem-inner {
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: radial-gradient(circle, #2a080d 0%, #110305 100%);
  border: 1px solid rgba(255,215,0,0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold);
  font-size: 24px;
  box-shadow: 0 0 25px var(--red-glow);
}

@keyframes emblemSpin {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

/* Backward compatibility for loader icon */
.loader-dragon {
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 40px;
  color: var(--gold);
  margin-bottom: 24px;
}

.loader-text {
  font-size: 28px;
  font-weight: 800;
  color: var(--gold);
  letter-spacing: 4px;
  text-transform: uppercase;
  margin-bottom: 32px;
}

.loader-bar-wrap {
  width: 200px;
  height: 4px;
  background: var(--dark-3);
  border-radius: 2px;
  overflow: hidden;
}

.loader-bar {
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, var(--red-primary), var(--gold));
  border-radius: 2px;
  animation: loaderProgress 1.8s ease-out forwards;
}

@keyframes loaderProgress {
  0%   { width: 0%; }
  100% { width: 100%; }
}

@keyframes dragonFloat {
  0%   { transform: translateY(0) rotate(-5deg); }
  100% { transform: translateY(-15px) rotate(5deg); }
}

/* =========================================
   NAVBAR
   ========================================= */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 0 40px;
  height: 70px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: rgba(13,13,13,0.92);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(200,16,46,0.2);
  transition: var(--transition);
}

.navbar.scrolled {
  height: 60px;
  border-bottom-color: rgba(200,16,46,0.4);
  box-shadow: 0 4px 20px rgba(200,16,46,0.15);
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 12px;
}

.nav-logo-icon {
  width: 44px;
  height: 44px;
  background: linear-gradient(135deg, var(--red-primary), var(--red-dark));
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  color: var(--gold);
  box-shadow: 0 4px 16px var(--red-glow);
  border: 1px solid rgba(255,215,0,0.35);
  transition: var(--transition);
}

.nav-logo:hover .nav-logo-icon {
  transform: scale(1.05);
  border-color: var(--gold);
}

/* Vector icon container for cards, badges, and features */
.graphical-icon-box {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  border-radius: 14px;
  font-size: 22px;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 6px 20px rgba(0,0,0,0.4);
}
.graphical-icon-box.gold {
  background: radial-gradient(circle at 30% 30%, #302611, #1a1608);
  color: var(--gold);
  border: 1px solid rgba(255,215,0,0.35);
  box-shadow: 0 6px 20px rgba(255,215,0,0.15);
}
.graphical-icon-box.red {
  background: radial-gradient(circle at 30% 30%, #3b0f16, #1f070b);
  color: #ff4d6d;
  border: 1px solid rgba(200,16,46,0.35);
  box-shadow: 0 6px 20px rgba(200,16,46,0.25);
}
.graphical-icon-box.blue {
  background: radial-gradient(circle at 30% 30%, #0d2847, #081729);
  color: #5BAEFF;
  border: 1px solid rgba(91,174,255,0.35);
  box-shadow: 0 6px 20px rgba(26,110,191,0.25);
}
.graphical-icon-box.green {
  background: radial-gradient(circle at 30% 30%, #083323, #051a12);
  color: #00FFBE;
  border: 1px solid rgba(0,255,190,0.35);
  box-shadow: 0 6px 20px rgba(0,200,150,0.25);
}
.graphical-icon-box.purple {
  background: radial-gradient(circle at 30% 30%, #290d42, #160724);
  color: #E040FB;
  border: 1px solid rgba(224,64,251,0.35);
  box-shadow: 0 6px 20px rgba(123,47,190,0.25);
}

.graphical-pill-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  border-radius: 6px;
  font-size: 12px;
  margin-left: 8px;
}
.graphical-pill-icon.gold { background: rgba(255,215,0,0.18); color: var(--gold); }
.graphical-pill-icon.red { background: rgba(200,16,46,0.2); color: #ff4d6d; }
.graphical-pill-icon.blue { background: rgba(91,174,255,0.2); color: #5BAEFF; }
.graphical-pill-icon.green { background: rgba(0,255,190,0.2); color: #00FFBE; }
.graphical-pill-icon.purple { background: rgba(224,64,251,0.2); color: #E040FB; }

.nav-logo-text {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
}

.nav-logo-text span:first-child {
  font-size: 18px;
  font-weight: 900;
  color: var(--gold);
  letter-spacing: 2px;
}

.nav-logo-text span:last-child {
  font-size: 11px;
  color: var(--gray);
  letter-spacing: 1px;
}

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

.nav-links a {
  padding: 8px 16px;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 500;
  color: var(--gray-light);
  position: relative;
  transition: var(--transition);
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: 4px;
  right: 16px;
  left: 16px;
  height: 2px;
  background: var(--red-primary);
  transform: scaleX(0);
  transition: transform 0.3s ease;
  border-radius: 1px;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--white);
  background: rgba(200,16,46,0.12);
}

.nav-links a:hover::after,
.nav-links a.active::after {
  transform: scaleX(1);
}

.nav-links a.active {
  color: var(--gold);
}

.nav-cta {
  padding: 10px 22px !important;
  background: linear-gradient(135deg, var(--red-primary), var(--red-dark)) !important;
  color: var(--white) !important;
  border-radius: 10px !important;
  font-weight: 700 !important;
  box-shadow: 0 4px 16px var(--red-glow);
}

.nav-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px var(--red-glow) !important;
  background: linear-gradient(135deg, var(--red-light), var(--red-primary)) !important;
}

.nav-cta::after {
  display: none !important;
}

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 8px;
  border-radius: 8px;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1);
}

.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--white);
  border-radius: 1px;
  transition: var(--transition);
}

.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* =========================================
   HERO SECTION (shared base)
   ========================================= */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
  padding-top: 70px;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 30% 50%, rgba(200,16,46,0.15) 0%, transparent 60%),
              radial-gradient(ellipse at 70% 80%, rgba(255,215,0,0.05) 0%, transparent 50%);
}

/* Chinese Pattern Overlay */
.hero-pattern {
  position: absolute;
  inset: 0;
  opacity: 0.03;
  background-image: 
    repeating-linear-gradient(45deg, var(--red-primary) 0px, var(--red-primary) 1px, transparent 1px, transparent 40px),
    repeating-linear-gradient(-45deg, var(--red-primary) 0px, var(--red-primary) 1px, transparent 1px, transparent 40px);
}

/* =========================================
   SECTION HEADERS (shared)
   ========================================= */
.section-header {
  text-align: center;
  margin-bottom: 60px;
}

.section-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 16px;
  border-radius: 100px;
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 16px;
  letter-spacing: 1px;
}

.section-tag.red {
  background: rgba(200,16,46,0.15);
  color: var(--red-light);
  border: 1px solid rgba(200,16,46,0.3);
}

.section-tag.gold {
  background: rgba(255,215,0,0.12);
  color: var(--gold);
  border: 1px solid rgba(255,215,0,0.25);
}

.section-tag.green {
  background: rgba(0,200,150,0.12);
  color: var(--solar-primary);
  border: 1px solid rgba(0,200,150,0.25);
}

.section-tag.blue {
  background: rgba(26,110,191,0.15);
  color: #5BAEFF;
  border: 1px solid rgba(26,110,191,0.3);
}

.section-tag.purple {
  background: rgba(123,47,190,0.15);
  color: #B87FFF;
  border: 1px solid rgba(123,47,190,0.3);
}

.section-title {
  font-size: clamp(28px, 5vw, 48px);
  font-weight: 900;
  line-height: 1.2;
  margin-bottom: 16px;
}

.section-title .accent {
  background: linear-gradient(135deg, var(--red-primary), var(--gold));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.section-subtitle {
  font-size: 16px;
  color: var(--gray);
  max-width: 560px;
  margin: 0 auto;
  line-height: 1.8;
}

/* =========================================
   PRODUCT CARDS (shared)
   ========================================= */
.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 24px;
}

.product-card {
  background: var(--dark-2);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: var(--border-radius-lg);
  overflow: hidden;
  transition: var(--transition);
  cursor: pointer;
  position: relative;
  group: true;
}

.product-card:hover {
  transform: translateY(-6px);
  border-color: rgba(200,16,46,0.4);
  box-shadow: 0 20px 50px rgba(200,16,46,0.2);
}

.product-card-img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  background: linear-gradient(135deg, var(--dark-3), var(--dark-4));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 60px;
  position: relative;
  overflow: hidden;
}

.product-card-img::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, transparent 60%, rgba(0,0,0,0.6));
}

.product-card-body {
  padding: 20px;
}

.product-card-brand {
  font-size: 11px;
  font-weight: 700;
  color: var(--gold);
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 6px;
}

.product-card-name {
  font-size: 16px;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 8px;
  line-height: 1.4;
}

.product-card-desc {
  font-size: 13px;
  color: var(--gray);
  line-height: 1.7;
  margin-bottom: 16px;
}

.product-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 16px;
  border-top: 1px solid rgba(255,255,255,0.06);
}

.product-badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 4px 10px;
  border-radius: 100px;
  font-size: 12px;
  font-weight: 600;
  background: rgba(200,16,46,0.15);
  color: var(--red-light);
  border: 1px solid rgba(200,16,46,0.25);
}

.product-badge.green {
  background: rgba(0,200,150,0.12);
  color: var(--solar-primary);
  border-color: rgba(0,200,150,0.25);
}

.product-badge.blue {
  background: rgba(26,110,191,0.12);
  color: #5BAEFF;
  border-color: rgba(26,110,191,0.25);
}

.product-badge.purple {
  background: rgba(123,47,190,0.12);
  color: #B87FFF;
  border-color: rgba(123,47,190,0.25);
}

.product-card-btn {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: rgba(200,16,46,0.15);
  border: 1px solid rgba(200,16,46,0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  transition: var(--transition);
  color: var(--red-light);
}

.product-card:hover .product-card-btn {
  background: var(--red-primary);
  color: var(--white);
  transform: rotate(-5deg) scale(1.1);
}

/* =========================================
   BRAND LOGOS STRIP
   ========================================= */
.brands-strip {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 32px;
  flex-wrap: wrap;
}

.brand-chip {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 20px;
  border-radius: 12px;
  background: var(--dark-2);
  border: 1px solid rgba(255,255,255,0.06);
  font-size: 14px;
  font-weight: 700;
  color: var(--gray-light);
  transition: var(--transition);
  cursor: default;
}

.brand-chip:hover {
  border-color: rgba(255,215,0,0.3);
  color: var(--gold);
  transform: translateY(-3px);
  box-shadow: 0 8px 24px rgba(0,0,0,0.3);
}

.brand-chip-icon {
  font-size: 24px;
}

/* =========================================
   STATS BAR
   ========================================= */
.stats-bar {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 2px;
  border-radius: var(--border-radius-lg);
  overflow: hidden;
  background: var(--dark-3);
}

.stat-item {
  padding: 32px 24px;
  background: var(--dark-2);
  text-align: center;
  transition: var(--transition);
}

.stat-item:hover {
  background: var(--dark-3);
}

.stat-number {
  font-size: 40px;
  font-weight: 900;
  background: linear-gradient(135deg, var(--red-primary), var(--gold));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1;
  margin-bottom: 8px;
}

.stat-label {
  font-size: 13px;
  color: var(--gray);
  font-weight: 500;
}

/* =========================================
   SECTION WRAPPER
   ========================================= */
.section {
  padding: 100px 40px;
  max-width: 1280px;
  margin: 0 auto;
}

.section-full {
  padding: 100px 40px;
}

/* =========================================
   DIVIDER (Chinese Style)
   ========================================= */
.chinese-divider {
  display: flex;
  align-items: center;
  gap: 20px;
  margin: 60px 0;
}

.chinese-divider::before,
.chinese-divider::after {
  content: '';
  flex: 1;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(200,16,46,0.4), transparent);
}

.chinese-divider-icon {
  font-size: 24px;
  color: var(--gold);
}

/* =========================================
   FLOATING PARTICLES
   ========================================= */
.particles {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
}

.particle {
  position: absolute;
  border-radius: 50%;
  animation: particleFloat linear infinite;
  opacity: 0;
}

@keyframes particleFloat {
  0%   { transform: translateY(100vh) rotate(0deg); opacity: 0; }
  10%  { opacity: 0.6; }
  90%  { opacity: 0.6; }
  100% { transform: translateY(-100px) rotate(720deg); opacity: 0; }
}

/* =========================================
   FOOTER
   ========================================= */
.footer {
  background: var(--dark-2);
  border-top: 1px solid rgba(200,16,46,0.2);
  padding: 60px 40px 30px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  max-width: 1280px;
  margin: 0 auto 48px;
}

.footer-brand p {
  font-size: 14px;
  color: var(--gray);
  line-height: 1.8;
  margin-top: 16px;
  margin-bottom: 24px;
}

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

.social-btn {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: var(--dark-3);
  border: 1px solid rgba(255,255,255,0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  transition: var(--transition);
}

.social-btn:hover {
  background: var(--red-primary);
  border-color: var(--red-primary);
  transform: translateY(-3px);
  box-shadow: 0 6px 20px var(--red-glow);
}

.footer-col h4 {
  font-size: 15px;
  font-weight: 700;
  color: var(--gold);
  margin-bottom: 20px;
  padding-bottom: 10px;
  border-bottom: 1px solid rgba(255,215,0,0.2);
}

.footer-col ul li {
  margin-bottom: 10px;
}

.footer-col ul li a {
  font-size: 14px;
  color: var(--gray);
  transition: var(--transition);
  display: flex;
  align-items: center;
  gap: 8px;
}

.footer-col ul li a:hover {
  color: var(--white);
  gap: 12px;
}

.footer-col ul li a::before {
  content: '←';
  font-size: 12px;
  color: var(--red-primary);
}

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.06);
  padding-top: 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1280px;
  margin: 0 auto;
}

.footer-bottom p {
  font-size: 13px;
  color: var(--gray);
}

.footer-bottom-flag {
  font-size: 20px;
  display: flex;
  gap: 8px;
}

/* =========================================
   SCROLL ANIMATIONS
   ========================================= */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

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

.reveal-left {
  opacity: 0;
  transform: translateX(-40px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal-left.visible {
  opacity: 1;
  transform: translateX(0);
}

.reveal-right {
  opacity: 0;
  transform: translateX(40px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal-right.visible {
  opacity: 1;
  transform: translateX(0);
}

/* Staggered delay classes */
.delay-1 { transition-delay: 0.1s; }
.delay-2 { transition-delay: 0.2s; }
.delay-3 { transition-delay: 0.3s; }
.delay-4 { transition-delay: 0.4s; }
.delay-5 { transition-delay: 0.5s; }
.delay-6 { transition-delay: 0.6s; }

/* =========================================
   BUTTONS (shared)
   ========================================= */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 28px;
  border-radius: 12px;
  font-family: 'Vazirmatn', sans-serif;
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
  transition: var(--transition);
  border: none;
  outline: none;
  text-decoration: none;
}

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

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 36px var(--red-glow);
  background: linear-gradient(135deg, var(--red-light), var(--red-primary));
}

.btn-gold {
  background: linear-gradient(135deg, var(--gold), var(--gold-dark));
  color: var(--dark);
  box-shadow: 0 6px 24px rgba(255,215,0,0.3);
}

.btn-gold:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 36px rgba(255,215,0,0.4);
}

.btn-outline {
  background: transparent;
  color: var(--white);
  border: 1.5px solid rgba(255,255,255,0.2);
}

.btn-outline:hover {
  border-color: var(--red-primary);
  color: var(--red-light);
  background: rgba(200,16,46,0.1);
  transform: translateY(-2px);
}

/* =========================================
   PAGE HERO BANNER (Inner pages)
   ========================================= */
.page-hero {
  padding: 140px 40px 80px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.page-hero-title {
  font-size: clamp(36px, 6vw, 72px);
  font-weight: 900;
  line-height: 1.1;
  margin-bottom: 16px;
}

.page-hero-subtitle {
  font-size: 18px;
  color: var(--gray);
  max-width: 600px;
  margin: 0 auto 32px;
}

/* =========================================
   FILTER TABS
   ========================================= */
.filter-tabs {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 40px;
}

.filter-tab {
  padding: 10px 20px;
  border-radius: 100px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
  background: var(--dark-3);
  color: var(--gray);
  border: 1px solid rgba(255,255,255,0.06);
  font-family: 'Vazirmatn', sans-serif;
}

.filter-tab:hover,
.filter-tab.active {
  background: var(--red-primary);
  color: var(--white);
  border-color: var(--red-primary);
  box-shadow: 0 4px 16px var(--red-glow);
}

/* =========================================
   RESPONSIVE
   ========================================= */
@media (max-width: 1024px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 768px) {
  .navbar {
    padding: 0 20px;
  }
  
  .nav-links {
    display: none;
    position: fixed;
    top: 70px;
    left: 0;
    right: 0;
    background: rgba(13,13,13,0.98);
    padding: 20px;
    flex-direction: column;
    gap: 4px;
    border-bottom: 1px solid rgba(200,16,46,0.2);
    backdrop-filter: blur(20px);
  }
  
  .nav-links.open {
    display: flex;
  }
  
  .nav-links a {
    padding: 12px 16px;
    width: 100%;
    text-align: center;
  }
  
  .hamburger {
    display: flex;
  }
  
  .section {
    padding: 70px 20px;
  }
  
  .section-full {
    padding: 70px 20px;
  }
  
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  
  .footer {
    padding: 40px 20px 24px;
  }
  
  .footer-bottom {
    flex-direction: column;
    gap: 12px;
    text-align: center;
  }
  
  .products-grid {
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  }
  
  .stats-bar {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .page-hero {
    padding: 120px 20px 60px;
  }
}

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

/* =========================================
   ENHANCED REAL PRODUCT IMAGES & MODAL
   ========================================= */
.product-card-thumb {
  width: 100%;
  height: 220px;
  position: relative;
  overflow: hidden;
  background: #151515;
}

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

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

.product-card-thumb .badge-top-right {
  position: absolute;
  top: 12px;
  right: 12px;
  z-index: 2;
  font-size: 11px;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 8px;
  backdrop-filter: blur(8px);
}

.product-card-thumb .badge-oem {
  position: absolute;
  bottom: 12px;
  left: 12px;
  z-index: 2;
  font-size: 11px;
  font-family: monospace;
  padding: 3px 8px;
  border-radius: 6px;
  background: rgba(0,0,0,0.75);
  color: var(--gold);
  border: 1px solid rgba(255,215,0,0.3);
  direction: ltr;
}

/* Quick View Modal */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.85);
  backdrop-filter: blur(10px);
  z-index: 99999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
}

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

.modal-content {
  background: #16181f;
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 24px;
  max-width: 800px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  position: relative;
  transform: scale(0.95);
  transition: transform 0.3s ease;
  box-shadow: 0 25px 60px rgba(0,0,0,0.7);
}

.modal-overlay.active .modal-content {
  transform: scale(1);
}

.modal-close {
  position: absolute;
  top: 18px;
  left: 18px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255,255,255,0.1);
  color: #fff;
  border: none;
  font-size: 20px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10;
  transition: 0.2s;
}

.modal-close:hover {
  background: var(--red-primary);
  transform: rotate(90deg);
}

.modal-body {
  padding: 32px;
}

.modal-tabs {
  display: flex;
  gap: 10px;
  border-bottom: 1px solid rgba(255,255,255,0.1);
  margin-top: 24px;
  margin-bottom: 20px;
}

.modal-tab-btn {
  padding: 10px 18px;
  background: transparent;
  border: none;
  border-bottom: 2px solid transparent;
  color: var(--gray);
  font-family: inherit;
  font-weight: 700;
  cursor: pointer;
  transition: 0.2s;
}

.modal-tab-btn.active {
  color: var(--gold);
  border-bottom-color: var(--gold);
}

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

.spec-table td {
  padding: 10px 14px;
  border-bottom: 1px solid rgba(255,255,255,0.06);
  font-size: 13px;
}

.spec-table td:first-child {
  color: var(--gray);
  width: 35%;
  font-weight: 600;
}

.spec-table td:last-child {
  color: #fff;
  font-weight: 500;
}
