/* ============================================
   CORECOOL - Premium B2B Website Design System
   ============================================ */

/* ---------- CSS Variables ---------- */
:root {
  /* Brand Colors */
  --navy-900: #050E1A;
  --navy-800: #0A1929;
  --navy-700: #102842;
  --navy-600: #1A3A5C;
  --ice-600: #0097B2;
  --ice-500: #00B8D4;
  --ice-400: #29D3E8;
  --ice-300: #7AE5F0;
  --ice-100: #E0F7FA;
  --cyan-glow: #00E5FF;

  /* Neutral Colors */
  --white: #FFFFFF;
  --gray-50: #F8FAFC;
  --gray-100: #F1F5F9;
  --gray-200: #E2E8F0;
  --gray-300: #CBD5E1;
  --gray-400: #94A3B8;
  --gray-500: #64748B;
  --gray-600: #475569;
  --gray-700: #334155;
  --gray-800: #1E293B;
  --gray-900: #0F172A;

  /* Semantic */
  --bg-primary: var(--white);
  --bg-dark: var(--navy-900);
  --bg-light: var(--gray-50);
  --text-primary: var(--navy-900);
  --text-secondary: var(--gray-500);
  --text-light: var(--gray-400);
  --text-on-dark: rgba(255,255,255,0.92);
  --text-on-dark-muted: rgba(255,255,255,0.6);

  /* Typography */
  --font-heading: 'Poppins', 'Noto Kufi Arabic', sans-serif;
  --font-body: 'Inter', 'Noto Kufi Arabic', sans-serif;
  --font-mono: 'JetBrains Mono', monospace;

  /* Spacing */
  --section-padding: 100px;
  --container-max: 1280px;
  --container-padding: 24px;

  /* Effects */
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 24px;
  --radius-xl: 32px;
  --shadow-sm: 0 1px 3px rgba(5,14,26,0.08);
  --shadow-md: 0 4px 20px rgba(5,14,26,0.10);
  --shadow-lg: 0 12px 40px rgba(5,14,26,0.12);
  --shadow-xl: 0 24px 60px rgba(5,14,26,0.18);
  --shadow-glow: 0 0 40px rgba(0,184,212,0.25);
  --transition: 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ---------- Reset & Base ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; font-size: 16px; }
body {
  font-family: var(--font-body);
  color: var(--text-primary);
  background: var(--bg-primary);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; transition: color var(--transition); }
button { font-family: inherit; cursor: pointer; border: none; background: none; }
ul { list-style: none; }
input, textarea, select { font-family: inherit; font-size: inherit; }

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

/* ---------- Typography ---------- */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.02em;
}
h1 { font-size: clamp(2.5rem, 5vw, 4.5rem); }
h2 { font-size: clamp(2rem, 3.5vw, 3rem); }
h3 { font-size: clamp(1.4rem, 2.5vw, 1.75rem); }
h4 { font-size: 1.25rem; }
p { color: var(--text-secondary); }

/* ---------- Layout ---------- */
.container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 var(--container-padding);
}
.section { padding: var(--section-padding) 0; }
.section-sm { padding: 64px 0; }
.section-dark { background: var(--navy-900); color: var(--text-on-dark); }
.section-dark p { color: var(--text-on-dark-muted); }
.section-tint { background: var(--gray-50); }
.grid { display: grid; gap: 32px; }
.flex { display: flex; gap: 16px; }
.text-center { text-align: center; }
.mx-auto { margin: 0 auto; }

/* ---------- Section Header ---------- */
.section-header {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 56px;
}
.section-header .eyebrow {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--ice-500);
  margin-bottom: 16px;
  padding: 6px 16px;
  background: var(--ice-100);
  border-radius: 100px;
}
.section-dark .section-header .eyebrow {
  background: rgba(0,184,212,0.15);
  color: var(--ice-400);
}
.section-header h2 { margin-bottom: 16px; }
.section-header p { font-size: 1.1rem; line-height: 1.7; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 32px;
  font-family: var(--font-heading);
  font-size: 0.95rem;
  font-weight: 600;
  border-radius: 100px;
  transition: all var(--transition);
  white-space: nowrap;
  cursor: pointer;
}
.btn-primary {
  background: linear-gradient(135deg, var(--ice-500), var(--ice-600));
  color: var(--white);
  box-shadow: 0 4px 20px rgba(0,184,212,0.35);
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(0,184,212,0.5);
}
.btn-outline {
  border: 2px solid var(--gray-300);
  color: var(--text-primary);
  background: transparent;
}
.btn-outline:hover {
  border-color: var(--ice-500);
  color: var(--ice-500);
  background: var(--ice-100);
}
.btn-dark {
  background: var(--navy-900);
  color: var(--white);
}
.btn-dark:hover { background: var(--navy-700); transform: translateY(-2px); }
.btn-light {
  background: var(--white);
  color: var(--navy-900);
}
.btn-light:hover { transform: translateY(-2px); box-shadow: var(--shadow-lg); }
.btn-ghost-light {
  border: 2px solid rgba(255,255,255,0.3);
  color: var(--white);
  background: transparent;
}
.btn-ghost-light:hover { background: rgba(255,255,255,0.1); border-color: rgba(255,255,255,0.6); }
.btn-lg { padding: 16px 40px; font-size: 1rem; }

/* ---------- Navigation ---------- */
.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  transition: all var(--transition);
  padding: 20px 0;
}
.navbar.scrolled {
  background: rgba(255,255,255,0.92);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  box-shadow: var(--shadow-sm);
  padding: 12px 0;
}
.navbar .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.nav-logo {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  display: flex;
  align-items: center;
  gap: 8px;
}
.nav-logo .logo-mark {
  width: 36px; height: 36px;
  border-radius: 10px;
  background: linear-gradient(135deg, var(--ice-500), var(--navy-700));
  display: flex; align-items: center; justify-content: center;
  color: white; font-size: 1.1rem;
  box-shadow: 0 2px 12px rgba(0,184,212,0.3);
}
.nav-logo .logo-text { color: var(--navy-900); }
.nav-logo .logo-text span { color: var(--ice-500); }
.navbar.scrolled .nav-logo .logo-text { color: var(--navy-900); }

/* On hero (not scrolled) - white text */
.navbar:not(.scrolled) .nav-logo .logo-text { color: var(--white); }
.navbar:not(.scrolled) .nav-logo .logo-text span { color: var(--ice-400); }
.navbar:not(.scrolled) .nav-menu a { color: rgba(255,255,255,0.85); }
.navbar:not(.scrolled) .nav-menu a:hover { color: var(--white); }
.navbar:not(.scrolled) .lang-switcher button { color: rgba(255,255,255,0.7); }
.navbar:not(.scrolled) .lang-switcher button.active { color: var(--white); }
.navbar:not(.scrolled) .nav-toggle span { background: var(--white); }

.nav-menu {
  display: flex;
  align-items: center;
  gap: 36px;
}
.nav-menu a {
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--gray-700);
  position: relative;
}
.nav-menu a::after {
  content: '';
  position: absolute;
  bottom: -4px; left: 0;
  width: 0; height: 2px;
  background: var(--ice-500);
  transition: width var(--transition);
}
.nav-menu a:hover::after { width: 100%; }
.nav-menu a:hover { color: var(--ice-500); }

/* Language Switcher */
.lang-switcher {
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 4px;
  border-radius: 100px;
  background: rgba(0,0,0,0.04);
}
.navbar:not(.scrolled) .lang-switcher { background: rgba(255,255,255,0.1); }
.lang-switcher button {
  padding: 6px 14px;
  font-size: 0.82rem;
  font-weight: 600;
  border-radius: 100px;
  color: var(--gray-600);
  transition: all var(--transition);
}
.lang-switcher button.active {
  background: var(--ice-500);
  color: var(--white);
}
.navbar:not(.scrolled) .lang-switcher button { color: rgba(255,255,255,0.6); }
.navbar:not(.scrolled) .lang-switcher button.active { background: var(--ice-500); color: var(--white); }

/* Mobile Menu Toggle */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
}
.nav-toggle span {
  width: 24px; height: 2px;
  background: var(--navy-900);
  border-radius: 2px;
  transition: all var(--transition);
}
.nav-toggle.active span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.nav-toggle.active span:nth-child(2) { opacity: 0; }
.nav-toggle.active span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  background: var(--navy-900);
  overflow: hidden;
  padding-top: 80px;
}
.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.hero-bg::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 60% at 70% 20%, rgba(0,184,212,0.15), transparent),
    radial-gradient(ellipse 60% 40% at 20% 80%, rgba(0,229,255,0.08), transparent),
    linear-gradient(180deg, var(--navy-900) 0%, var(--navy-800) 100%);
}
.hero-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(0,184,212,0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0,184,212,0.03) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse 80% 60% at center, black, transparent);
  -webkit-mask-image: radial-gradient(ellipse 80% 60% at center, black, transparent);
}
.hero .container {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}
.hero-content { max-width: 600px; }
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 18px;
  background: rgba(0,184,212,0.12);
  border: 1px solid rgba(0,184,212,0.25);
  border-radius: 100px;
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--ice-400);
  margin-bottom: 28px;
}
.hero-badge .dot {
  width: 8px; height: 8px;
  background: var(--ice-400);
  border-radius: 50%;
  animation: pulse 2s infinite;
}
.hero h1 {
  color: var(--white);
  margin-bottom: 24px;
  font-size: clamp(2.5rem, 5vw, 4.2rem);
}
.hero h1 .gradient-text {
  background: linear-gradient(135deg, var(--ice-400), var(--cyan-glow));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.hero p {
  color: var(--text-on-dark-muted);
  font-size: 1.15rem;
  line-height: 1.7;
  margin-bottom: 36px;
  max-width: 520px;
}
.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; }

.hero-visual {
  position: relative;
  height: 520px;
}
.hero-visual .float-card {
  position: absolute;
  background: rgba(255,255,255,0.06);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: var(--radius-lg);
  padding: 24px;
  animation: floatCard 6s ease-in-out infinite;
}
.hero-visual .float-card .icon {
  width: 48px; height: 48px;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--ice-500), var(--ice-600));
  display: flex; align-items: center; justify-content: center;
  font-size: 1.5rem;
  margin-bottom: 12px;
}
.hero-visual .float-card h4 { color: var(--white); margin-bottom: 4px; }
.hero-visual .float-card p { color: var(--text-on-dark-muted); font-size: 0.85rem; margin: 0; }
.hero-visual .float-card:nth-child(1) { top: 0; left: 0; width: 260px; }
.hero-visual .float-card:nth-child(2) { top: 180px; right: 0; width: 240px; animation-delay: -2s; }
.hero-visual .float-card:nth-child(3) { bottom: 0; left: 60px; width: 280px; animation-delay: -4s; }
.hero-visual .glow-orb {
  position: absolute;
  width: 400px; height: 400px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(0,184,212,0.15), transparent 70%);
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  z-index: -1;
}

@keyframes floatCard {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-15px); }
}
@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(1.3); }
}

/* ---------- Stats Bar ---------- */
.stats-bar {
  background: var(--navy-900);
  border-top: 1px solid rgba(255,255,255,0.06);
  padding: 56px 0;
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
  text-align: center;
}
.stat-item .num {
  font-family: var(--font-heading);
  font-size: 2.8rem;
  font-weight: 800;
  background: linear-gradient(135deg, var(--ice-400), var(--cyan-glow));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  line-height: 1;
}
.stat-item .label {
  color: var(--text-on-dark-muted);
  font-size: 0.95rem;
  margin-top: 8px;
}

/* ---------- Product Categories ---------- */
.category-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.category-card {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 4/5;
  background: var(--navy-900);
  cursor: pointer;
  transition: all var(--transition);
}
.category-card:nth-child(1) { grid-column: span 2; grid-row: span 2; }
.category-card img {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  opacity: 0.7;
  transition: all var(--transition-slow);
}
.category-card::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 30%, rgba(5,14,26,0.9) 100%);
}
.category-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-xl); }
.category-card:hover img { opacity: 0.85; transform: scale(1.05); }
.category-card .cat-content {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  padding: 28px;
  z-index: 2;
}
.category-card .cat-content h3 {
  color: var(--white);
  font-size: 1.3rem;
  margin-bottom: 6px;
}
.category-card .cat-content p {
  color: rgba(255,255,255,0.6);
  font-size: 0.85rem;
  margin: 0;
}
.category-card .cat-arrow {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--ice-400);
  font-size: 0.85rem;
  font-weight: 600;
  margin-top: 12px;
  opacity: 0;
  transform: translateY(8px);
  transition: all var(--transition);
}
.category-card:hover .cat-arrow { opacity: 1; transform: translateY(0); }
.category-card.view-all { grid-column: span 2; background: linear-gradient(135deg, var(--ice-600), var(--navy-700)); display: flex; align-items: center; justify-content: center; text-align: center; }
.category-card.view-all::after { display: none; }
.category-card.view-all .view-all-content { position: relative; z-index: 2; }
.category-card.view-all .view-all-content h3 { color: var(--white); margin-bottom: 8px; }
.category-card.view-all .view-all-content p { color: rgba(255,255,255,0.7); font-size: 0.9rem; margin: 0; }
.category-card.view-all:hover .view-all-content { transform: scale(1.05); transition: transform var(--transition); }

/* ---------- Product Cards ---------- */
.products-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.product-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: all var(--transition);
  border: 1px solid var(--gray-100);
}
.product-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: var(--ice-300);
}
.product-card .card-img {
  position: relative;
  aspect-ratio: 4/3;
  overflow: hidden;
  background: var(--gray-50);
}
.product-card .card-img img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform var(--transition-slow);
}
.product-card:hover .card-img img { transform: scale(1.06); }
.product-card .card-tag {
  position: absolute;
  top: 14px; left: 14px;
  padding: 5px 14px;
  background: rgba(255,255,255,0.92);
  backdrop-filter: blur(10px);
  border-radius: 100px;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--ice-600);
}
.product-card .card-body { padding: 24px; }
.product-card .card-body h3 {
  font-size: 1.1rem;
  margin-bottom: 8px;
  color: var(--navy-900);
  line-height: 1.4;
}
.product-card .card-spec {
  display: inline-block;
  padding: 4px 12px;
  background: var(--ice-100);
  border-radius: 100px;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--ice-600);
  margin-bottom: 12px;
}
.product-card .card-desc {
  font-size: 0.88rem;
  color: var(--gray-500);
  line-height: 1.6;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  margin-bottom: 16px;
}
.product-card .card-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--ice-500);
}
.product-card .card-link:hover { gap: 10px; }

/* ---------- Featured Products ---------- */
.featured-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.featured-grid .product-card .card-body { padding: 20px; }
.featured-grid .product-card .card-body h3 { font-size: 1rem; }

/* ---------- About Section ---------- */
.about-section .container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}
.about-visual {
  position: relative;
  border-radius: var(--radius-xl);
  overflow: hidden;
  aspect-ratio: 4/3;
}
.about-visual img { width: 100%; height: 100%; object-fit: cover; }
.about-visual .overlay-stat {
  position: absolute;
  bottom: 24px; left: 24px;
  background: rgba(255,255,255,0.95);
  backdrop-filter: blur(20px);
  border-radius: var(--radius-md);
  padding: 20px 28px;
  box-shadow: var(--shadow-lg);
}
.about-visual .overlay-stat .num {
  font-family: var(--font-heading);
  font-size: 2.2rem;
  font-weight: 800;
  color: var(--ice-600);
  line-height: 1;
}
.about-visual .overlay-stat .label { font-size: 0.85rem; color: var(--gray-500); }
.about-content .eyebrow {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--ice-500);
  margin-bottom: 16px;
}
.about-content h2 { margin-bottom: 24px; }
.about-content p { font-size: 1.05rem; line-height: 1.8; margin-bottom: 20px; }
.about-features { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-top: 32px; }
.about-feature {
  display: flex;
  gap: 14px;
  align-items: flex-start;
}
.about-feature .icon {
  width: 44px; height: 44px;
  border-radius: 12px;
  background: var(--ice-100);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.3rem;
  flex-shrink: 0;
}
.about-feature h4 { font-size: 0.95rem; margin-bottom: 4px; }
.about-feature p { font-size: 0.85rem; margin: 0; }

/* ---------- Why Choose Us ---------- */
.features-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.feature-card {
  padding: 36px 28px;
  border-radius: var(--radius-lg);
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  transition: all var(--transition);
}
.feature-card:hover {
  background: rgba(0,184,212,0.06);
  border-color: rgba(0,184,212,0.2);
  transform: translateY(-4px);
}
.feature-card .icon {
  width: 56px; height: 56px;
  border-radius: 16px;
  background: linear-gradient(135deg, var(--ice-500), var(--ice-600));
  display: flex; align-items: center; justify-content: center;
  font-size: 1.6rem;
  margin-bottom: 24px;
  box-shadow: 0 4px 20px rgba(0,184,212,0.3);
}
.feature-card h3 { color: var(--white); font-size: 1.15rem; margin-bottom: 12px; }
.feature-card p { color: var(--text-on-dark-muted); font-size: 0.92rem; line-height: 1.7; margin: 0; }
.feature-card ul { margin-top: 14px; }
.feature-card ul li {
  color: var(--text-on-dark-muted);
  font-size: 0.85rem;
  padding: 4px 0;
  padding-left: 18px;
  position: relative;
}
.feature-card ul li::before {
  content: '▸';
  position: absolute;
  left: 0;
  color: var(--ice-400);
}

/* ---------- Industry Solutions ---------- */
.solutions-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 16px;
}
.solution-chip {
  text-align: center;
  padding: 28px 16px;
  border-radius: var(--radius-md);
  background: var(--white);
  border: 1px solid var(--gray-100);
  transition: all var(--transition);
}
.solution-chip:hover {
  border-color: var(--ice-300);
  background: var(--ice-100);
  transform: translateY(-4px);
}
.solution-chip .icon { font-size: 2rem; margin-bottom: 10px; }
.solution-chip .name { font-size: 0.88rem; font-weight: 600; color: var(--navy-800); }

/* ---------- CTA Section ---------- */
.cta-section {
  position: relative;
  background: var(--navy-900);
  padding: 80px 0;
  overflow: hidden;
}
.cta-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 50% 80% at 50% 50%, rgba(0,184,212,0.12), transparent);
}
.cta-section .container {
  position: relative;
  z-index: 2;
  text-align: center;
}
.cta-section h2 { color: var(--white); margin-bottom: 16px; }
.cta-section p { color: var(--text-on-dark-muted); font-size: 1.1rem; margin-bottom: 32px; max-width: 600px; margin-left: auto; margin-right: auto; }

/* ---------- Product Detail Page ---------- */
.breadcrumb {
  padding: 100px 0 24px;
  background: var(--gray-50);
}
.breadcrumb .container {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.85rem;
  color: var(--gray-400);
}
.breadcrumb a:hover { color: var(--ice-500); }
.breadcrumb .separator { color: var(--gray-300); }

.product-detail { padding: 48px 0 80px; }
.product-detail .container {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 56px;
}
.product-gallery { position: sticky; top: 100px; align-self: start; }
.gallery-main {
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 1;
  background: var(--gray-50);
  margin-bottom: 16px;
  border: 1px solid var(--gray-100);
}
.gallery-main img { width: 100%; height: 100%; object-fit: contain; }
.gallery-thumbs {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}
.gallery-thumb {
  width: 80px; height: 80px;
  border-radius: var(--radius-sm);
  overflow: hidden;
  border: 2px solid transparent;
  cursor: pointer;
  transition: border-color var(--transition);
  background: var(--gray-50);
}
.gallery-thumb img { width: 100%; height: 100%; object-fit: contain; }
.gallery-thumb.active { border-color: var(--ice-500); }
.gallery-thumb:hover { border-color: var(--ice-300); }

.product-info .product-tag {
  display: inline-block;
  padding: 6px 16px;
  background: var(--ice-100);
  border-radius: 100px;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--ice-600);
  margin-bottom: 16px;
}
.product-info h1 {
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  margin-bottom: 16px;
  color: var(--navy-900);
}
.product-info .product-spec-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 20px;
  background: var(--navy-900);
  border-radius: var(--radius-md);
  color: var(--white);
  font-weight: 600;
  font-size: 0.95rem;
  margin-bottom: 24px;
}
.product-info .product-desc {
  font-size: 1rem;
  line-height: 1.8;
  color: var(--gray-600);
  margin-bottom: 32px;
}
.product-info .product-cta {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 32px;
}
.product-info-box {
  background: var(--gray-50);
  border-radius: var(--radius-lg);
  padding: 28px;
}
.product-info-box h4 {
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--gray-400);
  margin-bottom: 16px;
}
.product-info-box ul li {
  padding: 8px 0;
  display: flex;
  gap: 10px;
  font-size: 0.92rem;
  color: var(--gray-600);
  border-bottom: 1px solid var(--gray-100);
}
.product-info-box ul li:last-child { border-bottom: none; }
.product-info-box ul li .check { color: var(--ice-500); flex-shrink: 0; }

/* ---------- About Page ---------- */
.page-hero {
  padding: 160px 0 80px;
  background: var(--navy-900);
  position: relative;
  overflow: hidden;
}
.page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 60% 50% at 30% 40%, rgba(0,184,212,0.12), transparent),
    linear-gradient(180deg, var(--navy-900), var(--navy-800));
}
.page-hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(0,184,212,0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0,184,212,0.03) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse 80% 60% at center, black, transparent);
  -webkit-mask-image: radial-gradient(ellipse 80% 60% at center, black, transparent);
}
.page-hero .container { position: relative; z-index: 2; text-align: center; }
.page-hero h1 { color: var(--white); margin-bottom: 16px; }
.page-hero p { color: var(--text-on-dark-muted); font-size: 1.15rem; max-width: 640px; margin: 0 auto; }

/* ---------- Contact Page ---------- */
.contact-section { padding: 80px 0; }
.contact-section .container {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 56px;
}
.contact-info h2 { margin-bottom: 24px; }
.contact-info p { margin-bottom: 32px; line-height: 1.7; }
.contact-detail {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  margin-bottom: 24px;
}
.contact-detail .icon {
  width: 48px; height: 48px;
  border-radius: 12px;
  background: var(--ice-100);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.3rem;
  flex-shrink: 0;
}
.contact-detail h4 { font-size: 0.9rem; color: var(--gray-400); text-transform: uppercase; letter-spacing: 0.05em; margin-bottom: 4px; }
.contact-detail p { margin: 0; color: var(--navy-800); font-weight: 500; font-size: 1rem; }

.contact-form-wrap {
  background: var(--gray-50);
  border-radius: var(--radius-xl);
  padding: 40px;
}
.contact-form-wrap h3 { margin-bottom: 8px; }
.contact-form-wrap > p { margin-bottom: 28px; font-size: 0.95rem; }
.form-group { margin-bottom: 20px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-group label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--gray-600);
  margin-bottom: 8px;
}
.form-group input, .form-group textarea, .form-group select {
  width: 100%;
  padding: 14px 18px;
  border: 2px solid var(--gray-200);
  border-radius: var(--radius-sm);
  background: var(--white);
  font-size: 0.95rem;
  transition: border-color var(--transition);
}
.form-group input:focus, .form-group textarea:focus, .form-group select:focus {
  outline: none;
  border-color: var(--ice-500);
}
.form-group textarea { resize: vertical; min-height: 120px; }

/* ---------- Footer ---------- */
.footer {
  background: var(--navy-900);
  color: var(--text-on-dark-muted);
  padding: 72px 0 32px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 56px;
}
.footer-brand .nav-logo { margin-bottom: 20px; }
.footer-brand p { font-size: 0.92rem; line-height: 1.7; max-width: 320px; }
.footer-col h4 {
  color: var(--white);
  font-size: 0.95rem;
  font-weight: 600;
  margin-bottom: 20px;
}
.footer-col ul li { margin-bottom: 12px; }
.footer-col ul li a { font-size: 0.9rem; transition: color var(--transition); }
.footer-col ul li a:hover { color: var(--ice-400); }
.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 28px;
  border-top: 1px solid rgba(255,255,255,0.08);
  font-size: 0.85rem;
}
.footer-social { display: flex; gap: 12px; }
.footer-social a {
  width: 40px; height: 40px;
  border-radius: 10px;
  background: rgba(255,255,255,0.06);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.1rem;
  transition: all var(--transition);
}
.footer-social a:hover { background: var(--ice-500); color: var(--white); }

/* ---------- Filter Bar ---------- */
.filter-bar {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  justify-content: center;
  margin-bottom: 48px;
}
.filter-btn {
  padding: 10px 22px;
  border-radius: 100px;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--gray-600);
  background: var(--gray-100);
  transition: all var(--transition);
}
.filter-btn:hover { background: var(--gray-200); }
.filter-btn.active {
  background: var(--navy-900);
  color: var(--white);
}

/* ---------- Animations ---------- */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal.active { 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; }

/* ---------- RTL Support ---------- */
[dir="rtl"] { font-family: 'Noto Kufi Arabic', var(--font-body); text-align: right; }
[dir="rtl"] .hero .container { direction: rtl; }
[dir="rtl"] .nav-menu { direction: rtl; }
[dir="rtl"] .about-section .container { direction: rtl; }
[dir="rtl"] .contact-section .container { direction: rtl; }
[dir="rtl"] .product-detail .container { direction: rtl; }
[dir="rtl"] .breadcrumb { direction: rtl; }
[dir="rtl"] .form-row { direction: rtl; }
[dir="rtl"] .footer-bottom { direction: rtl; }

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
  .hero .container { grid-template-columns: 1fr; }
  .hero-visual { display: none; }
  .about-section .container { grid-template-columns: 1fr; }
  .contact-section .container { grid-template-columns: 1fr; }
  .product-detail .container { grid-template-columns: 1fr; }
  .product-gallery { position: static; }
  .category-grid { grid-template-columns: repeat(2, 1fr); }
  .category-card:nth-child(1) { grid-column: span 2; grid-row: span 1; }
  .featured-grid { grid-template-columns: repeat(2, 1fr); }
  .features-grid { grid-template-columns: repeat(2, 1fr); }
  .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 24px; }
  .solutions-grid { grid-template-columns: repeat(3, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
}

@media (max-width: 768px) {
  :root { --section-padding: 60px; --container-padding: 16px; }
  .nav-menu {
    position: fixed;
    top: 0; right: -100%;
    width: 80%; max-width: 360px;
    height: 100vh;
    background: var(--white);
    flex-direction: column;
    align-items: flex-start;
    padding: 80px 32px;
    gap: 24px;
    box-shadow: var(--shadow-xl);
    transition: right var(--transition);
  }
  .nav-menu.active { right: 0; }
  .nav-menu a { color: var(--navy-900); font-size: 1.1rem; }
  .nav-toggle { display: flex; z-index: 1001; }
  .navbar:not(.scrolled) .nav-toggle span { background: var(--white); }
  .products-grid { grid-template-columns: 1fr; }
  .category-grid { grid-template-columns: 1fr; }
  .category-card:nth-child(1) { grid-column: span 1; }
  .about-features { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; gap: 16px; text-align: center; }
  .form-row { grid-template-columns: 1fr; }
  .solutions-grid { grid-template-columns: repeat(2, 1fr); }
  .features-grid { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: 1fr 1fr; }
  .hero { min-height: auto; padding: 120px 0 60px; }
  .contact-form-wrap { padding: 24px; }
}

/* ---------- Scroll Progress ---------- */
.scroll-progress {
  position: fixed;
  top: 0; left: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--ice-500), var(--cyan-glow));
  z-index: 1001;
  width: 0%;
  transition: width 0.1s;
}

/* ---------- Loading Shimmer ---------- */
.shimmer {
  background: linear-gradient(90deg, var(--gray-100) 25%, var(--gray-200) 50%, var(--gray-100) 75%);
  background-size: 200% 100%;
  animation: shimmer 1.5s infinite;
}
@keyframes shimmer {
  0% { background-position: 200% 0; }
  100% { background-position: -200% 0; }
}

/* ---------- Scrollbar ---------- */
::-webkit-scrollbar { width: 10px; }
::-webkit-scrollbar-track { background: var(--gray-100); }
::-webkit-scrollbar-thumb { background: var(--gray-300); border-radius: 5px; }
::-webkit-scrollbar-thumb:hover { background: var(--ice-500); }
