/* ===== CSS VARIABLES & RESET ===== */
:root {
  --primary: #1a6fc4;
  --primary-dark: #0d4f9e;
  --primary-light: #4a9de0;
  --accent: #f5a623;
  --accent-dark: #d4891a;
  --dark: #0a1628;
  --dark-2: #111e35;
  --dark-3: #1a2a45;
  --text: #1a2a3a;
  --text-muted: #5a6a7a;
  --bg: #f8fafc;
  --bg-2: #eef2f8;
  --white: #ffffff;
  --border: rgba(26, 111, 196, 0.15);
  --shadow: 0 10px 40px rgba(10, 22, 40, 0.12);
  --shadow-lg: 0 20px 60px rgba(10, 22, 40, 0.2);
  --radius: 16px;
  --radius-sm: 8px;
  --radius-lg: 24px;
  --font: 'Cairo', 'Tajawal', sans-serif;
  --transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: var(--font);
  color: var(--text);
  background: var(--bg);
  direction: rtl;
  overflow-x: hidden;
  line-height: 1.7;
}
a { text-decoration: none; color: inherit; }
img { max-width: 100%; display: block; }
ul { list-style: none; }
input, textarea, button { font-family: var(--font); }

.container { max-width: 1240px; margin: 0 auto; padding: 0 24px; }
.mt-20 { margin-top: 20px; }

/* ===== NAVBAR ===== */
.navbar {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  padding: 16px 0;
  transition: var(--transition);
  background: transparent;
}
.navbar.scrolled {
  background: rgba(10, 22, 40, 0.96);
  backdrop-filter: blur(20px);
  padding: 10px 0;
  box-shadow: 0 4px 30px rgba(0,0,0,0.3);
}
.nav-container {
  max-width: 1240px; margin: 0 auto; padding: 0 24px;
  display: flex; align-items: center; justify-content: space-between; gap: 30px;
}
.nav-logo {
  display: flex; align-items: center; gap: 12px;
  color: var(--white); text-decoration: none;
}
.logo-icon { font-size: 32px; }
.logo-text { display: flex; flex-direction: column; }
.logo-main { font-size: 20px; font-weight: 900; letter-spacing: -0.5px; color: var(--white); }
.logo-sub { font-size: 12px; color: rgba(255,255,255,0.6); font-weight: 300; }
.nav-links {
  display: flex; align-items: center; gap: 4px;
  flex: 1; justify-content: center;
}
.nav-links li a {
  color: rgba(255,255,255,0.85); font-size: 14px; font-weight: 600;
  padding: 8px 14px; border-radius: 8px;
  transition: var(--transition); white-space: nowrap;
}
.nav-links li a:hover, .nav-links li a.active {
  color: var(--white); background: rgba(255,255,255,0.1);
}
.nav-cta {
  background: var(--accent) !important;
  color: var(--dark) !important;
  border-radius: 30px !important;
  padding: 8px 20px !important;
}
.nav-cta:hover { background: var(--accent-dark) !important; transform: translateY(-1px); }
.hamburger {
  display: none; flex-direction: column; gap: 5px;
  background: none; border: none; cursor: pointer; padding: 4px;
}
.hamburger span {
  display: block; width: 24px; height: 2px;
  background: var(--white); transition: var(--transition); border-radius: 2px;
}

/* ===== HERO SLIDER ===== */
.hero {
  min-height: 100vh; position: relative; overflow: hidden;
  display: flex; align-items: center;
}
.hero-slides { position: relative; width: 100%; height: 100vh; }
.hero-slide {
  position: absolute; inset: 0;
  background: var(--bg);
  display: flex; align-items: center;
  opacity: 0; transition: opacity 0.8s cubic-bezier(0.4, 0, 0.2, 1);
  pointer-events: none;
}
.hero-slide::before {
  content: ''; position: absolute; inset: 0;
  background: var(--bg);
}
.hero-slide.active { opacity: 1; pointer-events: all; }
.slide-bg-art {
  position: absolute; inset: 0; overflow: hidden;
}
.floating-shape {
  position: absolute; border-radius: 50%;
  filter: blur(60px); opacity: 0.15;
}
.s1 {
  width: 600px; height: 600px;
  background: var(--primary-light);
  top: -200px; right: -150px;
  animation: floatShape 8s ease-in-out infinite;
}
.s2 {
  width: 400px; height: 400px;
  background: var(--accent);
  bottom: -100px; left: 10%;
  animation: floatShape 10s ease-in-out infinite reverse;
}
.s3 {
  width: 300px; height: 300px;
  background: var(--primary);
  top: 50%; right: 30%;
  animation: floatShape 12s ease-in-out infinite;
}
@keyframes floatShape {
  0%, 100% { transform: translate(0, 0) scale(1); }
  33% { transform: translate(30px, -30px) scale(1.05); }
  66% { transform: translate(-20px, 20px) scale(0.95); }
}

.hero-slide .slide-content, .hero-slide .slide-visual {
  position: relative; z-index: 2;
}
.hero-slide {
  padding: 0; overflow: hidden;
}
.hero-slide > * { position: relative; z-index: 2; }
.hero-slide::before {
  background: var(--bg, linear-gradient(135deg, #0a1628 0%, #1a3a5c 100%));
}

/* Build hero layout */
.hero-slides {
  display: grid; grid-template-columns: 1fr;
  position: relative;
}
.hero-slide {
  grid-row: 1; grid-column: 1;
}
.hero-slide > div:not(.slide-bg-art) { z-index: 2; }

/* Re-layout slides as flex */
.hero-slide {
  display: flex;
  align-items: center;
  padding: 100px 6% 80px;
  gap: 60px;
}
.slide-content {
  flex: 1;
  z-index: 2;
  position: relative;
}
.slide-visual {
  flex: 0 0 420px;
  z-index: 2;
  position: relative;
}
.slide-badge {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(245, 166, 35, 0.15);
  border: 1px solid rgba(245, 166, 35, 0.4);
  color: var(--accent);
  padding: 8px 18px; border-radius: 30px;
  font-size: 13px; font-weight: 700;
  margin-bottom: 24px; letter-spacing: 0.5px;
  animation: fadeInDown 0.6s ease both;
}
.hero-slide.active .slide-badge { animation: fadeInDown 0.6s 0.1s ease both; }
.slide-title {
  font-size: clamp(36px, 5vw, 62px);
  font-weight: 900; line-height: 1.15;
  color: var(--white);
  margin-bottom: 20px;
  animation: fadeInLeft 0.7s ease both;
}
.hero-slide.active .slide-title { animation: fadeInLeft 0.7s 0.2s ease both; }
.gradient-text {
  background: linear-gradient(135deg, var(--accent), #ff9f43);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  background-clip: text;
}
.slide-desc {
  font-size: 17px; color: rgba(255,255,255,0.75);
  max-width: 480px; margin-bottom: 36px; line-height: 1.8;
  animation: fadeInLeft 0.7s ease both;
}
.hero-slide.active .slide-desc { animation: fadeInLeft 0.7s 0.35s ease both; }
.slide-actions {
  display: flex; gap: 16px; flex-wrap: wrap;
  animation: fadeInUp 0.7s ease both;
}
.hero-slide.active .slide-actions { animation: fadeInUp 0.7s 0.5s ease both; }

.hero-img-wrap {
  position: relative; border-radius: var(--radius-lg); overflow: hidden;
  box-shadow: var(--shadow-lg);
  animation: scaleIn 0.8s ease both;
}
.hero-slide.active .hero-img-wrap { animation: scaleIn 0.8s 0.3s ease both; }
.hero-img-wrap img {
  width: 100%; height: 420px; object-fit: cover;
  transition: transform 0.6s ease;
}
.hero-img-wrap:hover img { transform: scale(1.03); }
.img-glow {
  position: absolute; inset: 0;
  background: linear-gradient(to right, rgba(10,22,40,0.3), transparent);
  pointer-events: none;
}

/* Hero controls */
.hero-controls {
  position: absolute; bottom: 40px; left: 50%; transform: translateX(-50%);
  display: flex; align-items: center; gap: 20px; z-index: 10;
}
.hero-btn {
  width: 44px; height: 44px; border-radius: 50%;
  background: rgba(255,255,255,0.1); backdrop-filter: blur(10px);
  border: 1px solid rgba(255,255,255,0.2); color: var(--white);
  font-size: 22px; cursor: pointer; transition: var(--transition);
  display: flex; align-items: center; justify-content: center;
}
.hero-btn:hover { background: var(--primary); border-color: var(--primary); transform: scale(1.1); }
.hero-dots { display: flex; gap: 8px; }
.dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: rgba(255,255,255,0.3); cursor: pointer;
  transition: var(--transition);
}
.dot.active { background: var(--accent); width: 28px; border-radius: 4px; }

.scroll-indicator {
  position: absolute; bottom: 30px; right: 6%;
  display: flex; flex-direction: column; align-items: center; gap: 8px;
  color: rgba(255,255,255,0.5); font-size: 12px; z-index: 10;
}
.scroll-arrow {
  width: 2px; height: 40px;
  background: linear-gradient(to bottom, var(--accent), transparent);
  animation: scrollPulse 2s ease-in-out infinite;
}
@keyframes scrollPulse { 0%, 100% { opacity: 1; transform: scaleY(1); } 50% { opacity: 0.4; transform: scaleY(0.7); } }

/* ===== STATS BAR ===== */
.stats-bar {
  background: var(--dark);
  padding: 28px 0;
  position: relative; z-index: 5;
}
.stats-container {
  max-width: 900px; margin: 0 auto; padding: 0 24px;
  display: flex; align-items: center; justify-content: center;
  gap: 40px; flex-wrap: wrap;
}
.stat-item {
  display: flex; flex-direction: column; align-items: center; gap: 4px;
  color: var(--white); text-align: center;
}
.stat-num {
  font-size: 32px; font-weight: 900; color: var(--accent);
  display: flex; align-items: baseline; gap: 2px;
}
.stat-plus { font-size: 20px; color: var(--accent); font-weight: 700; }
.stat-label { font-size: 13px; color: rgba(255,255,255,0.6); font-weight: 500; }
.stat-divider {
  width: 1px; height: 50px; background: rgba(255,255,255,0.1);
}

/* ===== BUTTONS ===== */
.btn-primary {
  display: inline-flex; align-items: center; gap: 8px;
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  color: var(--white); padding: 14px 32px; border-radius: 50px;
  font-weight: 700; font-size: 15px; border: none; cursor: pointer;
  transition: var(--transition); box-shadow: 0 6px 24px rgba(26, 111, 196, 0.35);
  white-space: nowrap;
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 32px rgba(26, 111, 196, 0.5);
  background: linear-gradient(135deg, var(--primary-light), var(--primary));
}
.btn-outline {
  display: inline-flex; align-items: center; gap: 8px;
  background: transparent; color: var(--white); padding: 13px 30px;
  border-radius: 50px; font-weight: 700; font-size: 15px;
  border: 2px solid rgba(255,255,255,0.4); cursor: pointer;
  transition: var(--transition);
}
.btn-outline:hover { background: rgba(255,255,255,0.1); border-color: rgba(255,255,255,0.7); transform: translateY(-2px); }
.full-width { width: 100%; justify-content: center; }

/* ===== SECTION HEADERS ===== */
.section-header { text-align: center; margin-bottom: 60px; }
.section-label {
  display: inline-block;
  background: rgba(26, 111, 196, 0.1); color: var(--primary);
  padding: 6px 18px; border-radius: 30px;
  font-size: 13px; font-weight: 700; letter-spacing: 1px;
  margin-bottom: 14px; border: 1px solid rgba(26, 111, 196, 0.2);
}
.section-title {
  font-size: clamp(28px, 4vw, 44px); font-weight: 900;
  color: var(--dark); line-height: 1.2; margin-bottom: 16px;
}
.section-desc { font-size: 16px; color: var(--text-muted); max-width: 500px; margin: 0 auto; }
.highlight {
  color: var(--primary);
  position: relative;
}
.highlight::after {
  content: ''; position: absolute;
  bottom: -4px; right: 0; left: 0;
  height: 3px; background: var(--accent); border-radius: 2px;
}

/* ===== ABOUT ===== */
.about { padding: 100px 0; background: var(--white); }
.about-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center;
}
.about-images {
  position: relative; height: 500px;
}
.about-img-main {
  position: absolute; right: 0; top: 0; width: 80%; border-radius: var(--radius-lg);
  overflow: hidden; box-shadow: var(--shadow-lg);
}
.about-img-main img { width: 100%; height: 380px; object-fit: cover; }
.about-img-secondary {
  position: absolute; left: 0; bottom: 0; width: 55%; border-radius: var(--radius-lg);
  overflow: hidden; box-shadow: var(--shadow-lg);
  border: 4px solid var(--white);
}
.about-img-secondary img { width: 100%; height: 220px; object-fit: cover; }
.about-badge-float {
  position: absolute; top: 50%; left: 52%; transform: translate(-50%, -50%);
  background: var(--accent); color: var(--dark);
  padding: 16px 20px; border-radius: var(--radius);
  text-align: center; box-shadow: 0 8px 30px rgba(245, 166, 35, 0.4);
  z-index: 5;
}
.badge-icon { font-size: 24px; margin-bottom: 4px; }
.badge-text { font-size: 13px; font-weight: 800; line-height: 1.3; }
.about-content { padding-right: 20px; }
.about-lead { font-size: 18px; font-weight: 700; color: var(--primary); margin-bottom: 16px; }
.about-text { color: var(--text-muted); font-size: 15px; line-height: 1.9; margin-bottom: 28px; }
.about-features { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 32px; }
.feature-tag {
  background: var(--bg-2); color: var(--text);
  padding: 8px 16px; border-radius: 30px; font-size: 13px; font-weight: 600;
  border: 1px solid var(--border);
}

/* ===== CATEGORIES ===== */
.categories { padding: 100px 0; background: var(--bg); }
.cat-grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px;
}
.cat-card {
  position: relative; border-radius: var(--radius-lg); overflow: hidden;
  padding: 40px 28px; cursor: pointer; transition: var(--transition);
  border: 1px solid var(--border); background: var(--white);
  display: block;
  text-decoration: none;
}
.cat-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-lg); }
.cat-bg {
  position: absolute; inset: 0;
  opacity: 0; transition: var(--transition);
}
.cat-card[data-cat="appliances"] .cat-bg { background: linear-gradient(135deg, rgba(26,111,196,0.05), rgba(26,111,196,0.15)); }
.cat-card[data-cat="school"] .cat-bg { background: linear-gradient(135deg, rgba(108,92,231,0.05), rgba(108,92,231,0.15)); }
.cat-card[data-cat="car"] .cat-bg { background: linear-gradient(135deg, rgba(245,166,35,0.05), rgba(245,166,35,0.15)); }
.cat-card[data-cat="kids"] .cat-bg { background: linear-gradient(135deg, rgba(0,184,148,0.05), rgba(0,184,148,0.15)); }
.cat-card:hover .cat-bg { opacity: 1; }
.cat-icon {
  font-size: 48px; margin-bottom: 20px; display: block;
  transition: transform 0.4s ease;
}
.cat-card:hover .cat-icon { transform: scale(1.15) rotate(-5deg); }
.cat-content h3 { font-size: 17px; font-weight: 800; color: var(--dark); margin-bottom: 10px; }
.cat-content p { font-size: 13px; color: var(--text-muted); line-height: 1.7; margin-bottom: 18px; }
.cat-link {
  font-size: 13px; font-weight: 700; color: var(--primary);
  display: flex; align-items: center; gap: 6px;
}
.cat-link .arrow { transition: transform 0.3s ease; }
.cat-card:hover .cat-link .arrow { transform: translateX(-6px); }
.cat-count {
  position: absolute; top: 20px; left: 20px;
  background: var(--bg-2); color: var(--text-muted);
  padding: 4px 10px; border-radius: 20px; font-size: 11px; font-weight: 600;
}

/* ===== FEATURED PRODUCTS ===== */
.featured { padding: 100px 0; background: var(--white); }
.featured-tabs {
  display: flex; gap: 10px; justify-content: center; flex-wrap: wrap;
  margin-bottom: 50px;
}
.tab-btn {
  padding: 10px 22px; border-radius: 30px; font-size: 14px; font-weight: 700;
  border: 2px solid var(--border); background: transparent;
  color: var(--text-muted); cursor: pointer; transition: var(--transition);
  font-family: var(--font);
}
.tab-btn.active, .tab-btn:hover {
  background: var(--primary); color: var(--white); border-color: var(--primary);
  box-shadow: 0 4px 15px rgba(26, 111, 196, 0.3);
}
.products-grid {
  display: grid; grid-template-columns: repeat(5, 1fr); gap: 20px;
  animation: fadeInUp 0.5s ease;
}
.product-card {
  background: var(--white); border-radius: var(--radius);
  overflow: hidden; transition: var(--transition);
  border: 1px solid var(--border); cursor: pointer;
}
.product-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.product-img {
  width: 100%; height: 180px; overflow: hidden; background: var(--bg-2);
  position: relative;
}
.product-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s ease; }
.product-card:hover .product-img img { transform: scale(1.08); }
.product-overlay {
  position: absolute; inset: 0; background: rgba(26, 111, 196, 0.85);
  display: flex; align-items: center; justify-content: center;
  opacity: 0; transition: var(--transition);
}
.product-card:hover .product-overlay { opacity: 1; }
.overlay-btn {
  background: var(--white); color: var(--primary);
  padding: 10px 20px; border-radius: 30px; font-weight: 700; font-size: 13px;
}
.product-info { padding: 16px; }
.product-info h4 { font-size: 14px; font-weight: 700; color: var(--dark); margin-bottom: 6px; line-height: 1.4; }
.product-info p { font-size: 12px; color: var(--text-muted); line-height: 1.5; }
.featured-cta { text-align: center; margin-top: 50px; }

/* ===== WHY US ===== */
.why-us {
  padding: 100px 0;
  background: linear-gradient(135deg, var(--dark) 0%, var(--dark-3) 100%);
  position: relative; overflow: hidden;
}
.why-us::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; bottom: 0;
  background: radial-gradient(ellipse at 20% 50%, rgba(26,111,196,0.1) 0%, transparent 60%),
              radial-gradient(ellipse at 80% 50%, rgba(245,166,35,0.05) 0%, transparent 60%);
}
.why-us .section-header.light .section-label { background: rgba(255,255,255,0.1); color: rgba(255,255,255,0.7); border-color: rgba(255,255,255,0.2); }
.why-grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px;
  position: relative; z-index: 2;
}
.why-card {
  background: rgba(255,255,255,0.05); backdrop-filter: blur(10px);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--radius-lg); padding: 40px 28px;
  text-align: center; transition: var(--transition);
}
.why-card:hover { background: rgba(255,255,255,0.08); transform: translateY(-6px); }
.why-icon { font-size: 44px; margin-bottom: 20px; }
.why-card h3 { font-size: 18px; font-weight: 800; color: var(--white); margin-bottom: 12px; }
.why-card p { font-size: 14px; color: rgba(255,255,255,0.6); line-height: 1.8; }

/* ===== CONTACT ===== */
.contact { padding: 100px 0; background: var(--bg); }
.contact-grid { display: grid; grid-template-columns: 1fr 1.4fr; gap: 60px; align-items: start; }
.contact-card {
  display: flex; align-items: center; gap: 18px;
  background: var(--white); border-radius: var(--radius);
  padding: 24px; margin-bottom: 16px;
  border: 1px solid var(--border); transition: var(--transition);
  box-shadow: 0 2px 16px rgba(0,0,0,0.04);
}
.contact-card:hover { transform: translateX(-6px); box-shadow: var(--shadow); }
.contact-icon { font-size: 32px; }
.contact-detail { display: flex; flex-direction: column; gap: 4px; }
.contact-label { font-size: 12px; color: var(--text-muted); font-weight: 600; text-transform: uppercase; letter-spacing: 0.5px; }
.contact-detail a, .contact-detail span { font-size: 16px; font-weight: 700; color: var(--dark); }
.contact-detail a:hover { color: var(--primary); }
.contact-social { display: flex; gap: 12px; margin-top: 24px; }
.social-btn {
  flex: 1; text-align: center; padding: 14px 20px; border-radius: 12px;
  font-weight: 700; font-size: 14px; transition: var(--transition); cursor: pointer;
}
.social-btn.email { background: rgba(26, 111, 196, 0.1); color: var(--primary); border: 2px solid rgba(26, 111, 196, 0.2); }
.social-btn.email:hover { background: var(--primary); color: var(--white); }
.social-btn.whatsapp { background: rgba(37, 211, 102, 0.1); color: #25D366; border: 2px solid rgba(37, 211, 102, 0.2); }
.social-btn.whatsapp:hover { background: #25D366; color: var(--white); }

.contact-form { background: var(--white); border-radius: var(--radius-lg); padding: 40px; box-shadow: var(--shadow); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-group { margin-bottom: 20px; }
.form-group label { display: block; font-size: 13px; font-weight: 700; color: var(--text); margin-bottom: 8px; }
.form-group input, .form-group textarea {
  width: 100%; padding: 14px 18px; border: 2px solid var(--border);
  border-radius: 12px; font-size: 14px; font-family: var(--font);
  transition: var(--transition); background: var(--bg); color: var(--text); outline: none;
  direction: rtl;
}
.form-group input:focus, .form-group textarea:focus {
  border-color: var(--primary); background: var(--white);
  box-shadow: 0 0 0 4px rgba(26, 111, 196, 0.08);
}
.form-group textarea { resize: vertical; }

/* ===== FOOTER ===== */
.footer { background: var(--dark); }
.footer-top { padding: 70px 0 50px; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 50px; }
.footer-brand p { color: rgba(255,255,255,0.55); font-size: 14px; line-height: 1.9; margin: 20px 0; }
.footer-logo {
  display: flex; align-items: center; gap: 12px; color: var(--white);
}
.logo-icon-f { font-size: 36px; }
.footer-logo-main { display: block; font-size: 22px; font-weight: 900; }
.footer-logo-sub { display: block; font-size: 12px; color: rgba(255,255,255,0.5); }
.footer-contact-quick { display: flex; flex-direction: column; gap: 10px; }
.footer-contact-quick a { color: rgba(255,255,255,0.6); font-size: 14px; transition: var(--transition); }
.footer-contact-quick a:hover { color: var(--accent); }
.footer-links h4 { color: var(--white); font-size: 16px; font-weight: 800; margin-bottom: 20px; }
.footer-links ul { display: flex; flex-direction: column; gap: 12px; }
.footer-links ul li a { color: rgba(255,255,255,0.55); font-size: 14px; transition: var(--transition); }
.footer-links ul li a:hover { color: var(--accent); padding-right: 4px; }
.footer-location h4 { color: var(--white); font-size: 16px; font-weight: 800; margin-bottom: 20px; }
.map-placeholder {
  background: rgba(255,255,255,0.05); border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--radius); padding: 30px 20px; text-align: center;
}
.map-pin { font-size: 36px; margin-bottom: 10px; }
.map-placeholder p { color: rgba(255,255,255,0.6); font-size: 14px; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.08);
  padding: 20px 0; text-align: center;
}
.footer-bottom p { color: rgba(255,255,255,0.4); font-size: 13px; }

/* ===== SCROLL TO TOP ===== */
.scroll-top {
  position: fixed; bottom: 30px; left: 30px; z-index: 999;
  width: 48px; height: 48px; border-radius: 50%;
  background: var(--primary); color: var(--white);
  border: none; font-size: 20px; cursor: pointer;
  box-shadow: 0 4px 16px rgba(26, 111, 196, 0.4);
  transition: var(--transition); opacity: 0; pointer-events: none;
}
.scroll-top.visible { opacity: 1; pointer-events: all; }
.scroll-top:hover { transform: translateY(-4px); box-shadow: 0 8px 24px rgba(26, 111, 196, 0.5); }

/* ===== PAGE STYLES ===== */
.page-hero {
  padding: 150px 0 80px;
  background: linear-gradient(135deg, var(--dark) 0%, var(--dark-3) 100%);
  text-align: center; position: relative; overflow: hidden;
}
.page-hero::before {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(ellipse at 50% 50%, rgba(26,111,196,0.15) 0%, transparent 70%);
}
.page-hero-content { position: relative; z-index: 2; }
.page-hero-icon { font-size: 60px; margin-bottom: 20px; display: block; }
.page-hero h1 { font-size: 48px; font-weight: 900; color: var(--white); margin-bottom: 16px; }
.page-hero p { font-size: 17px; color: rgba(255,255,255,0.65); max-width: 500px; margin: 0 auto; }

.products-page { padding: 80px 0; background: var(--bg); }
.products-page-grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px;
}
.product-card-lg {
  background: var(--white); border-radius: var(--radius-lg);
  overflow: hidden; transition: var(--transition);
  border: 1px solid var(--border); cursor: pointer;
}
.product-card-lg:hover { transform: translateY(-8px); box-shadow: var(--shadow-lg); }
.product-card-lg .product-img { height: 240px; }
.product-card-lg .product-info { padding: 20px; }
.product-card-lg .product-info h4 { font-size: 16px; margin-bottom: 8px; }
.product-card-lg .product-info p { font-size: 13px; }

/* ===== ANIMATIONS ===== */
@keyframes fadeInDown { from { opacity: 0; transform: translateY(-20px); } to { opacity: 1; transform: translateY(0); } }
@keyframes fadeInLeft { from { opacity: 0; transform: translateX(40px); } to { opacity: 1; transform: translateX(0); } }
@keyframes fadeInUp { from { opacity: 0; transform: translateY(30px); } to { opacity: 1; transform: translateY(0); } }
@keyframes scaleIn { from { opacity: 0; transform: scale(0.85); } to { opacity: 1; transform: scale(1); } }

.reveal {
  opacity: 0; transform: translateY(40px); transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal.visible { opacity: 1; transform: translateY(0); }
.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }

/* ===== RESPONSIVE ===== */
@media (max-width: 1100px) {
  .products-grid { grid-template-columns: repeat(4, 1fr); }
  .cat-grid { grid-template-columns: repeat(2, 1fr); }
  .why-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 40px; }
  .products-page-grid { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 900px) {
  .about-grid { grid-template-columns: 1fr; }
  .about-images { height: 350px; margin-bottom: 30px; }
  .contact-grid { grid-template-columns: 1fr; }
  .hero-slide { flex-direction: column; padding: 120px 6% 120px; }
  .slide-visual { flex: none; width: 100%; max-width: 500px; }
  .hero-img-wrap img { height: 300px; }
  .products-grid { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 768px) {
  .nav-links {
    display: none; flex-direction: column;
    position: fixed; inset: 0; top: 0;
    background: var(--dark); padding: 100px 30px 30px;
    gap: 8px; z-index: 999;
  }
  .nav-links.open { display: flex; }
  .nav-links li a { font-size: 18px; padding: 12px 20px; }
  .hamburger { display: flex; }
  .cat-grid { grid-template-columns: 1fr 1fr; }
  .why-grid { grid-template-columns: 1fr 1fr; }
  .products-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr; gap: 30px; }
  .form-row { grid-template-columns: 1fr; }
  .slide-title { font-size: 32px; }
  .products-page-grid { grid-template-columns: repeat(2, 1fr); }
  .page-hero h1 { font-size: 32px; }
}

@media (max-width: 480px) {
  .cat-grid { grid-template-columns: 1fr; }
  .why-grid { grid-template-columns: 1fr; }
  .products-grid { grid-template-columns: 1fr 1fr; gap: 12px; }
  .stats-container { gap: 20px; }
  .stat-divider { display: none; }
}
