/* ============================================================
   Aurora LED Lighting — Design System v3  BLACK THEME
   Dark background, electric blue accent, orange CTA
   ============================================================ */

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

/* ---------- CSS Variables ---------- */
:root {
  /* Brand */
  --blue:        #0066FF;
  --blue-dark:   #0047CC;
  --blue-light:  #3385FF;
  --blue-glow:   rgba(0, 102, 255, 0.3);
  --orange:      #FF6B00;
  --orange-end:  #FF8C42;

  /* Dark theme surfaces */
  --bg:          #0A0A0A;   /* page background — near black */
  --bg-2:        #111111;   /* slightly elevated surface */
  --bg-3:        #181818;   /* cards / panels */
  --bg-4:        #222222;   /* hover states */

  /* Text */
  --text-primary:   #F0F0F0;
  --text-secondary: #A0A0A0;
  --text-muted:     #666666;

  /* Borders */
  --border:      rgba(255,255,255,.08);
  --border-blue: rgba(0,102,255,.35);

  /* Shadows (deeper on dark) */
  --shadow-sm:   0 2px 10px rgba(0,0,0,.4);
  --shadow-md:   0 6px 24px rgba(0,0,0,.55);
  --shadow-lg:   0 12px 48px rgba(0,0,0,.7);
  --shadow-blue: 0 4px 24px rgba(0,102,255,.45);

  --radius:      8px;
  --radius-lg:   16px;
  --ease:        cubic-bezier(.4,0,.2,1);
  --font-head:   'Rajdhani', 'Inter', sans-serif;
  --font-body:   'Inter', -apple-system, sans-serif;
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; }
[id] { scroll-margin-top: 80px; }
body {
  font-family: var(--font-body);
  color: var(--text-primary);
  background: var(--bg);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; height: auto; }
a   { color: inherit; text-decoration: none; }
ul  { list-style: none; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }

/* ---------- Typography ---------- */
h1 { font-family: var(--font-head); font-size: clamp(2.2rem,5vw,4rem);    font-weight: 700; line-height: 1.1; letter-spacing: -.01em; }
h2 { font-family: var(--font-head); font-size: clamp(1.7rem,3.5vw,2.8rem); font-weight: 700; line-height: 1.15; }
h3 { font-family: var(--font-head); font-size: clamp(1.2rem,2.5vw,1.75rem);font-weight: 600; line-height: 1.25; }
h4 { font-size: 1.05rem; font-weight: 600; }
p  { font-size: 1rem; color: var(--text-secondary); line-height: 1.75; }

.section-tag {
  display: inline-block;
  font-size: .72rem; font-weight: 700; letter-spacing: .14em;
  text-transform: uppercase; color: var(--blue);
  background: rgba(0,102,255,.08);
  padding: 5px 14px; border-radius: 20px;
  border: 1px solid rgba(0,102,255,.2);
  margin-bottom: 14px;
}
.section-title { color: var(--text-primary); margin-bottom: 12px; }
.section-sub   { color: var(--text-secondary); font-size: 1.05rem; max-width: 580px; }

/* ---------- Layout ---------- */
.container { max-width: 1240px; margin: 0 auto; padding: 0 28px; }
.section   { padding: 88px 0; }
.section-header { text-align: center; margin-bottom: 60px; }
.section-header .section-sub { margin: 0 auto; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 13px 30px; border-radius: var(--radius);
  font-size: .92rem; font-weight: 600; letter-spacing: .02em;
  transition: all 220ms var(--ease); white-space: nowrap;
}
.btn-primary {
  background: linear-gradient(135deg, var(--blue) 0%, var(--blue-dark) 100%);
  color: var(--white);
  box-shadow: var(--shadow-blue);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 6px 28px rgba(0,102,255,.45); }
.btn-orange {
  background: linear-gradient(135deg, var(--orange), var(--orange-end));
  color: var(--white);
  box-shadow: 0 4px 16px rgba(255,107,0,.35);
}
.btn-orange:hover { transform: translateY(-2px); box-shadow: 0 6px 24px rgba(255,107,0,.5); }
.btn-outline {
  background: transparent; color: var(--white);
  border: 2px solid rgba(255,255,255,.55);
}
.btn-outline:hover { background: rgba(255,255,255,.12); border-color: var(--white); }
.btn-navy {
  background: var(--bg-3); color: var(--white); border: 1px solid var(--border);
}
.btn-navy:hover { background: var(--bg-4); transform: translateY(-2px); }

/* ---------- NAVBAR ---------- */
.navbar {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  background: rgba(10,10,10,.96);
  backdrop-filter: blur(16px) saturate(180%);
  -webkit-backdrop-filter: blur(16px) saturate(180%);
  border-bottom: 1px solid rgba(0,102,255,.15);
  transition: all 300ms var(--ease);
}
.navbar.scrolled {
  background: rgba(10,10,10,1);
  box-shadow: 0 4px 24px rgba(0,0,0,.3);
}
.navbar .container {
  display: flex; align-items: center; justify-content: space-between;
  height: 74px;
}
/* Logo */
.nav-logo { display: flex; align-items: center; flex-shrink: 0; }
.nav-logo img { height: 30px; width: auto; object-fit: contain; filter: brightness(1.05); }

/* Nav links */
.nav-menu { display: flex; align-items: center; gap: 4px; }
.nav-link {
  padding: 8px 15px; border-radius: 6px;
  color: rgba(255,255,255,.82); font-size: .88rem; font-weight: 500;
  transition: all 180ms var(--ease); position: relative;
}
.nav-link::after {
  content: ''; position: absolute; bottom: 4px; left: 50%; right: 50%;
  height: 2px; background: var(--blue); border-radius: 2px;
  transition: all 200ms var(--ease);
}
.nav-link:hover, .nav-link.active { color: var(--white); }
.nav-link:hover::after, .nav-link.active::after { left: 15%; right: 15%; }

.nav-cta {
  margin-left: 14px; padding: 10px 22px;
  background: linear-gradient(135deg, var(--orange), var(--orange-end));
  color: var(--white); border-radius: var(--radius);
  font-weight: 600; font-size: .88rem;
  box-shadow: 0 3px 12px rgba(255,107,0,.4);
  transition: all 220ms var(--ease);
}
.nav-cta:hover { transform: translateY(-1px); box-shadow: 0 5px 18px rgba(255,107,0,.55); }

/* Hamburger */
.nav-hamburger { display: none; flex-direction: column; gap: 5px; padding: 8px; }
.nav-hamburger span {
  display: block; width: 24px; height: 2px;
  background: var(--white); border-radius: 2px;
  transition: all 280ms var(--ease);
}

/* ---------- HERO ---------- */
.hero {
  position: relative; height: 100vh; min-height: 620px;
  overflow: hidden; margin-top: 0;
}
.hero-slides { position: relative; height: 100%; }
.hero-slide {
  position: absolute; inset: 0;
  opacity: 0; transition: opacity 700ms var(--ease);
  display: flex; align-items: center;
}
.hero-slide.active { opacity: 1; }
.hero-bg {
  position: absolute; inset: 0;
  overflow: hidden;
  transform: scale(1.04);
  transition: transform 6000ms linear;
}
.hero-slide.active .hero-bg { transform: scale(1); }
/* img fills entire hero-bg */
.hero-bg img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover; object-position: center;
  z-index: 0;
  display: block;
}
/* Dark overlay sits above the img */
.hero-bg::after {
  content: ''; position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(
    105deg,
    rgba(0,0,0,.80) 0%,
    rgba(0,0,0,.48) 55%,
    rgba(0,102,255,.06) 100%
  );
}
/* Blue accent line bottom */
.hero::after {
  content: ''; position: absolute; bottom: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--blue) 0%, var(--orange) 100%);
  z-index: 2;
}
.hero-content {
  position: relative; z-index: 2;
  width: 100%; max-width: 780px; padding: 0 28px;
  margin-left: max(28px, calc((100vw - 1240px) / 2));
}
.hero-eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  margin-bottom: 20px;
  background: rgba(0,102,255,.18);
  border: 1px solid rgba(0,102,255,.4);
  color: #7FB8FF; padding: 6px 16px; border-radius: 20px;
  font-size: .78rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase;
}
.hero-eyebrow::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: var(--blue); box-shadow: 0 0 8px var(--blue); }
.hero-title { color: var(--white); margin-bottom: 18px; text-shadow: 0 2px 20px rgba(0,0,0,.4); }
.hero-title span { color: var(--blue); }
.hero-sub {
  color: rgba(255,255,255,.78); font-size: 1.1rem; margin-bottom: 38px;
  max-width: 560px;
}
.hero-badges {
  display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 36px;
}
.hero-badge {
  display: flex; align-items: center; gap: 6px;
  background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.2);
  color: rgba(255,255,255,.9); padding: 5px 14px; border-radius: 20px;
  font-size: .78rem; font-weight: 600;
  backdrop-filter: blur(8px);
}
.hero-badge-dot { width: 5px; height: 5px; border-radius: 50%; background: var(--blue); }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }

/* Hero nav */
.hero-arrows {
  position: absolute; bottom: 36px; right: 40px; z-index: 2;
  display: flex; gap: 10px;
}
.hero-arrow {
  width: 42px; height: 42px; border-radius: 50%;
  background: rgba(255,255,255,.12); backdrop-filter: blur(8px);
  color: var(--white); font-size: 1rem;
  display: flex; align-items: center; justify-content: center;
  border: 1px solid rgba(255,255,255,.2);
  transition: all 220ms var(--ease); cursor: pointer;
}
.hero-arrow:hover { background: var(--blue); border-color: var(--blue); box-shadow: var(--shadow-blue); }
.hero-indicators {
  position: absolute; bottom: 46px; left: 50%; transform: translateX(-50%);
  display: flex; gap: 8px; z-index: 2;
}
.hero-dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: rgba(255,255,255,.35); cursor: pointer;
  transition: all 300ms var(--ease);
}
.hero-dot.active { background: var(--blue); width: 22px; border-radius: 3px; box-shadow: 0 0 8px var(--blue); }

/* ---------- STATS TICKER ---------- */
.stats-ticker {
  background: var(--bg-2);
  border-bottom: 1px solid rgba(0,102,255,.2);
  padding: 0;
  overflow: hidden;
}
.stats-ticker .container {
  display: flex; align-items: stretch; justify-content: space-between;
}
.ticker-item {
  flex: 1; display: flex; flex-direction: column; align-items: center;
  justify-content: center; padding: 22px 16px; text-align: center;
  border-right: 1px solid rgba(255,255,255,.06);
  position: relative;
  transition: background 250ms var(--ease);
}
.ticker-item:last-child { border-right: none; }
.ticker-item:hover { background: rgba(0,102,255,.08); }
.ticker-num {
  font-family: var(--font-head);
  font-size: 1.9rem; font-weight: 700;
  color: var(--blue); line-height: 1;
  text-shadow: 0 0 20px rgba(0,102,255,.4);
}
.ticker-label {
  font-size: .72rem; color: rgba(255,255,255,.55);
  letter-spacing: .09em; text-transform: uppercase; margin-top: 4px;
}

/* ---------- CERT STRIP ---------- */
.cert-strip {
  background: var(--bg-2);
  border-bottom: 1px solid var(--border);
  padding: 18px 0;
}
.cert-strip .container {
  display: flex; align-items: center; justify-content: center;
  gap: 10px 24px; flex-wrap: wrap;
}
.cert-badge {
  display: flex; align-items: center; gap: 8px;
  background: var(--bg-3); border: 1px solid var(--border);
  border-radius: 6px; padding: 7px 16px;
  box-shadow: var(--shadow-sm);
  transition: box-shadow 200ms var(--ease), border-color 200ms var(--ease);
}
.cert-badge:hover { border-color: var(--blue); box-shadow: 0 2px 12px rgba(0,102,255,.15); }
.cert-check { color: var(--blue); font-weight: 700; font-size: .9rem; }
.cert-text { font-size: .78rem; font-weight: 700; color: var(--text-primary); letter-spacing: .05em; }

/* ---------- CATEGORY CARDS ---------- */
.cat-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.cat-card {
  position: relative; border-radius: var(--radius-lg); overflow: hidden;
  aspect-ratio: 4/3; cursor: pointer;
  box-shadow: var(--shadow-md);
  transition: transform 300ms var(--ease), box-shadow 300ms var(--ease);
}
.cat-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); }
.cat-card img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 450ms var(--ease);
}
.cat-card:hover img { transform: scale(1.06); }
.cat-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,.9) 0%, rgba(0,0,0,.4) 55%, transparent 100%);
  display: flex; flex-direction: column; justify-content: flex-end; padding: 22px;
}
.cat-badge {
  position: absolute; top: 14px; right: 14px;
  background: var(--blue); color: var(--white);
  font-size: .68rem; font-weight: 700; letter-spacing: .08em;
  text-transform: uppercase; padding: 4px 10px; border-radius: 4px;
  opacity: 0; transform: translateY(-4px);
  transition: all 250ms var(--ease);
}
.cat-card:hover .cat-badge { opacity: 1; transform: translateY(0); }
.cat-name { font-family: var(--font-head); font-size: 1.1rem; font-weight: 600; color: var(--white); margin-bottom: 4px; }
.cat-desc { font-size: .8rem; color: rgba(255,255,255,.72); }
.cat-arrow {
  display: inline-flex; align-items: center; gap: 5px;
  color: var(--blue); font-size: .8rem; font-weight: 600; margin-top: 10px;
  opacity: 0; transform: translateY(4px);
  transition: all 250ms var(--ease);
}
.cat-card:hover .cat-arrow { opacity: 1; transform: translateY(0); }

/* ---------- APPLICATION CARDS ---------- */
.app-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.app-card {
  position: relative; border-radius: var(--radius-lg); overflow: hidden;
  aspect-ratio: 5/3; box-shadow: var(--shadow-md);
  transition: transform 300ms var(--ease);
}
.app-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.app-card img { width: 100%; height: 100%; object-fit: cover; transition: transform 400ms var(--ease); }
.app-card:hover img { transform: scale(1.05); }
.app-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,.88) 0%, rgba(0,0,0,.1) 55%);
  padding: 22px; display: flex; flex-direction: column; justify-content: flex-end;
}
.app-title  { font-family: var(--font-head); font-size: 1.15rem; font-weight: 700; color: var(--white); margin-bottom: 8px; }
.app-brands { display: flex; gap: 7px; flex-wrap: wrap; margin-bottom: 12px; }
.brand-tag {
  background: rgba(0,102,255,.25); color: rgba(255,255,255,.9);
  border: 1px solid rgba(0,102,255,.4);
  font-size: .7rem; font-weight: 600; padding: 3px 9px; border-radius: 10px;
}
.app-link {
  display: inline-flex; align-items: center; gap: 5px;
  color: #7FB8FF; font-size: .8rem; font-weight: 600;
  transition: gap 200ms var(--ease);
}
.app-card:hover .app-link { gap: 10px; }

/* ---------- PRODUCT CARDS ---------- */
.product-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.product-card {
  background: var(--bg-3); border-radius: var(--radius-lg);
  border: 1px solid var(--border); overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: transform 280ms var(--ease), box-shadow 280ms var(--ease), border-color 280ms var(--ease);
  display: flex; flex-direction: column;
}
.product-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); border-color: rgba(0,102,255,.3); }
.product-card-img { position: relative; aspect-ratio: 4/3; overflow: hidden; }
.product-card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 400ms var(--ease); }
.product-card:hover .product-card-img img { transform: scale(1.05); }
.product-cat-tag {
  position: absolute; top: 12px; left: 12px;
  background: var(--bg); color: var(--white);
  font-size: .66rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase;
  padding: 4px 10px; border-radius: 4px;
}
.product-body { padding: 20px 22px 22px; flex: 1; display: flex; flex-direction: column; }
.product-name  { font-size: 1rem; font-weight: 600; color: var(--text-primary); margin-bottom: 5px; }
.product-model { font-size: .78rem; color: var(--text-secondary); margin-bottom: 12px; }
.product-specs { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 16px; }
.spec-tag {
  background: var(--off-white); border: 1px solid var(--border);
  border-radius: 4px; padding: 3px 9px;
  font-size: .72rem; color: var(--text-secondary); font-weight: 500;
}
.product-actions { display: flex; gap: 9px; margin-top: auto; }
.product-actions .btn { flex: 1; padding: 10px 12px; font-size: .82rem; justify-content: center; }

/* ---------- RESPONSIVE SYSTEM ---------- */
.aur-hide-mobile { display: flex; }

/* Laptops & Tablets (under 1200px) */
@media (max-width: 1200px) {
  .container { padding: 0 20px; }
  .about-split { gap: 40px; }
}

/* Small Laptops & Tablets (under 1024px) */
@media (max-width: 1024px) {
  .aur-hide-mobile { display: none !important; }
  .hero-content { margin-left: 20px; max-width: 600px; }
  .cat-grid, .app-grid, .product-grid { grid-template-columns: repeat(2, 1fr); gap: 16px; }
  .stats-ticker .container { flex-wrap: wrap; justify-content: center; }
  .ticker-item { flex: 0 0 33.33%; border-bottom: 1px solid rgba(255,255,255,.05); }
  
  /* Force visibility on mobile if animations lag */
  .fade-up { opacity: 1 !important; transform: none !important; }
}

/* Large Phones & Vertical Tablets (under 768px) */
@media (max-width: 768px) {
  h1 { font-size: 2.2rem; }
  h2 { font-size: 1.6rem; }
  .section { padding: 56px 0; }
  
  /* Navigation Fixes */
  .nav-menu { display: none; } /* Hidden by default on mobile, handled by JS */
  .nav-hamburger { display: flex; }
  
  .hero { height: auto; min-height: 500px; padding: 100px 0 60px; }
  .hero-content { text-align: center; margin: 0 auto; }
  .hero-actions { justify-content: center; }
  .hero-indicators, .hero-arrows { display: none; }
  
  .about-split { grid-template-columns: 1fr; gap: 32px; }
  .about-img-wrap img { height: 300px; }
  
  .ticker-item { flex: 0 0 50%; }
}

/* Small Phones (under 480px) */
@media (max-width: 480px) {
  .cat-grid, .app-grid, .product-grid { grid-template-columns: 1fr; }
  .stats-band .stats-row { flex-direction: column; gap: 32px; }
  .stat-num { font-size: 2rem; }
  .ticker-item { flex: 0 0 100%; border-right: none; }
  .footer-grid { grid-template-columns: 1fr !important; gap: 32px !important; }
  .nav-cta { display: none; } /* Hide heavy CTA on very small screens */
}
.about-kpis { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 36px; }
.kpi-card {
  background: var(--bg-3); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 18px 20px;
  transition: border-color 200ms var(--ease), box-shadow 200ms var(--ease);
}
.kpi-card:hover { border-color: var(--blue); box-shadow: 0 2px 12px rgba(0,102,255,.12); }
.kpi-num   { font-family: var(--font-head); font-size: 1.8rem; font-weight: 700; color: var(--blue); line-height: 1; }
.kpi-label { font-size: .78rem; color: var(--text-secondary); margin-top: 4px; }

/* ---------- CERTIFICATION GRID ---------- */
.cert-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px,1fr)); gap: 18px; }
.cert-card {
  background: var(--bg-3); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 24px;
  box-shadow: var(--shadow-sm);
  transition: border-color 250ms var(--ease), box-shadow 250ms var(--ease), transform 250ms var(--ease);
}
.cert-card:hover { border-color: var(--blue); box-shadow: 0 4px 20px rgba(0,102,255,.14); transform: translateY(-2px); }
.cert-name { font-size: .95rem; font-weight: 700; color: var(--text-primary); margin-bottom: 6px; }
.cert-desc { font-size: .83rem; color: var(--text-secondary); line-height: 1.6; }
.cert-pill {
  display: inline-block; margin-top: 12px;
  background: rgba(0,102,255,.08); color: var(--blue);
  font-size: .7rem; font-weight: 700; letter-spacing: .07em;
  padding: 4px 10px; border-radius: 4px; border: 1px solid rgba(0,102,255,.2);
}

/* ---------- HONOR CARDS ---------- */
.honor-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(190px,1fr)); gap: 15px; }
.honor-card {
  background: linear-gradient(145deg, #181818 0%, #222222 100%);
  border: 1px solid rgba(0,102,255,.2);
  border-radius: var(--radius); padding: 24px 18px; text-align: center;
  color: var(--white); transition: transform 250ms var(--ease), border-color 250ms var(--ease);
}
.honor-card:hover { transform: translateY(-3px); border-color: var(--blue); }
.honor-icon  { font-size: 1.8rem; margin-bottom: 10px; }
.honor-title { font-size: .88rem; font-weight: 600; line-height: 1.4; }
.honor-sub   { font-size: .72rem; color: rgba(255,255,255,.5); margin-top: 5px; }

/* ---------- IP STATS ---------- */
.ip-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 18px; }
.ip-card {
  background: rgba(0,102,255,.06); border: 1px solid rgba(0,102,255,.15);
  border-radius: var(--radius-lg); padding: 32px 24px; text-align: center;
  transition: background 250ms var(--ease), border-color 250ms var(--ease);
}
.ip-card:hover { background: rgba(0,102,255,.12); border-color: var(--blue); }
.ip-num   { font-family: var(--font-head); font-size: 2.6rem; font-weight: 700; color: var(--blue); line-height: 1; }
.ip-label { font-size: .82rem; color: var(--text-secondary); margin-top: 8px; }

/* ---------- TIMELINE ---------- */
.timeline { position: relative; padding-left: 28px; max-width: 600px; margin: 0 auto; }
.timeline::before { content: ''; position: absolute; left: 0; top: 0; bottom: 0; width: 2px; background: linear-gradient(to bottom, var(--blue), rgba(0,102,255,.1)); }
.tl-item { position: relative; padding-bottom: 32px; }
.tl-item::before {
  content: ''; position: absolute; left: -34px; top: 4px;
  width: 12px; height: 12px; border-radius: 50%;
  background: var(--blue); border: 2px solid var(--bg);
  box-shadow: 0 0 0 3px var(--blue), 0 0 10px rgba(0,102,255,.5);
}
.tl-year  { font-size: .75rem; font-weight: 700; color: var(--blue); letter-spacing: .08em; margin-bottom: 3px; }
.tl-title { font-size: .98rem; font-weight: 600; color: var(--text-primary); }
.tl-desc  { font-size: .85rem; color: var(--text-secondary); margin-top: 3px; }

/* ---------- STATS BAND ---------- */
.stats-band { background: var(--bg-2); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); padding: 60px 0; }
.stats-row  { display: grid; grid-template-columns: repeat(4,1fr); gap: 32px; text-align: center; }
.stat-num   { font-family: var(--font-head); font-size: 3.2rem; font-weight: 700; color: var(--blue); display: block; line-height: 1; text-shadow: 0 0 20px rgba(0,102,255,.4); }
.stat-label { color: rgba(255,255,255,.6); font-size: .82rem; margin-top: 8px; text-transform: uppercase; letter-spacing: .07em; }

/* ---------- FILTER BAR ---------- */
.filter-bar { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 40px; }
.filter-btn {
  padding: 8px 18px; border-radius: 20px;
  font-size: .83rem; font-weight: 500;
  border: 1.5px solid var(--border);
  color: var(--text-secondary); background: var(--white);
  transition: all 180ms var(--ease); cursor: pointer;
}
.filter-btn:hover { border-color: var(--blue); color: var(--blue); }
.filter-btn.active { border-color: var(--blue); background: var(--blue); color: var(--white); }

/* ---------- PAGE HERO ---------- */
.page-hero {
  background: linear-gradient(135deg, #000000 0%, #0a0a0a 60%, rgba(0,102,255,.08) 100%);
  padding: 80px 0 60px; margin-top: 0; text-align: center;
  border-bottom: 2px solid rgba(0,102,255,.25);
  position: relative; overflow: hidden;
}
.page-hero::before {
  content: ''; position: absolute; top: -60px; right: -60px;
  width: 300px; height: 300px; border-radius: 50%;
  background: radial-gradient(circle, rgba(0,102,255,.12) 0%, transparent 70%);
}
.page-hero h1 { color: var(--white); margin-bottom: 10px; }
.page-hero p  { color: rgba(255,255,255,.72); font-size: 1.05rem; }
.breadcrumb   { display: flex; justify-content: center; gap: 8px; font-size: .8rem; color: rgba(255,255,255,.45); margin-bottom: 18px; }
.breadcrumb a { color: rgba(255,255,255,.65); }
.breadcrumb a:hover { color: var(--blue); }
.breadcrumb span { color: var(--blue); }

/* ---------- CONTACT ---------- */
.contact-layout { display: grid; grid-template-columns: 1fr 400px; gap: 48px; align-items: start; }
.contact-form-wrap { background: var(--bg-3); border-radius: var(--radius-lg); padding: 40px; box-shadow: var(--shadow-md); border: 1px solid var(--border); }
.form-group { margin-bottom: 20px; }
.form-row   { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.form-group label { display: block; font-size: .83rem; font-weight: 600; color: var(--text-primary); margin-bottom: 6px; }
.form-group label span { color: var(--orange); }
.form-control {
  width: 100%; padding: 12px 14px;
  border: 1.5px solid var(--border); border-radius: var(--radius);
  font-size: .92rem; font-family: inherit; color: var(--text-primary);
  transition: border-color 180ms var(--ease), box-shadow 180ms var(--ease);
  outline: none; background: var(--bg-4);
}
.form-control:focus { border-color: var(--blue); box-shadow: 0 0 0 3px rgba(0,102,255,.15); background: var(--bg-3); }
textarea.form-control { resize: vertical; min-height: 130px; }
select.form-control { cursor: pointer; }
.form-submit { width: 100%; padding: 14px; font-size: .95rem; font-weight: 700; border-radius: var(--radius); margin-top: 4px; }
.form-message { display: none; padding: 14px 18px; border-radius: var(--radius); margin-top: 14px; font-size: .88rem; }
.form-message.success { background: rgba(22,163,74,.1); border: 1px solid rgba(22,163,74,.4); color: #4ade80; }
.form-message.error   { background: rgba(220,38,38,.1); border: 1px solid rgba(220,38,38,.4); color: #f87171; }

/* Contact info cards */
.contact-info { display: flex; flex-direction: column; gap: 16px; }
.info-card { display: flex; gap: 14px; align-items: flex-start; background: var(--bg-3); border: 1px solid var(--border); border-radius: var(--radius); padding: 18px; transition: border-color 200ms var(--ease); }
.info-card:hover { border-color: rgba(0,102,255,.3); }
.info-icon { width: 42px; height: 42px; border-radius: var(--radius); background: var(--bg-4); color: var(--blue); display: flex; align-items: center; justify-content: center; font-size: 1rem; flex-shrink: 0; }
.info-label { font-size: .72rem; font-weight: 700; color: var(--text-secondary); text-transform: uppercase; letter-spacing: .07em; }
.info-value { font-size: .9rem; color: var(--text-primary); margin-top: 2px; line-height: 1.5; }
.info-value a { color: var(--blue); }
.info-value a:hover { color: var(--blue-light); }

/* ---------- MODAL ---------- */
.modal-overlay {
  display: none; position: fixed; inset: 0; z-index: 9000;
  background: rgba(0,0,0,.65); backdrop-filter: blur(6px);
  align-items: center; justify-content: center; padding: 20px;
}
.modal-overlay.open { display: flex; animation: fadeIn 200ms var(--ease); }
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
.modal {
  background: var(--bg-3); border-radius: var(--radius-lg);
  padding: 40px; width: 100%; max-width: 520px; border: 1px solid var(--border);
  box-shadow: var(--shadow-lg); position: relative;
  max-height: 90vh; overflow-y: auto;
  animation: slideUp 250ms var(--ease);
}
@keyframes slideUp { from { transform: translateY(20px); opacity: 0; } to { transform: translateY(0); opacity: 1; } }
.modal-close {
  position: absolute; top: 16px; right: 16px;
  width: 30px; height: 30px; border-radius: 50%;
  background: var(--gray-light); color: var(--text-secondary);
  display: flex; align-items: center; justify-content: center;
  font-size: 1rem; cursor: pointer; transition: all 180ms var(--ease);
}
.modal-close:hover { background: var(--navy); color: var(--white); }
.modal h3 { color: var(--text-primary); margin-bottom: 4px; }
.modal-product-name { font-size: .83rem; color: var(--blue); margin-bottom: 24px; font-weight: 500; }

/* ---------- NEWS ---------- */
.news-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 24px; }
.news-card {
  background: var(--bg-3); border-radius: var(--radius-lg);
  border: 1px solid var(--border); overflow: hidden; box-shadow: var(--shadow-sm);
  transition: transform 280ms var(--ease), box-shadow 280ms var(--ease), border-color 280ms var(--ease);
  display: flex; flex-direction: column;
}
.news-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); border-color: rgba(0,102,255,.25); }
.news-card-img { aspect-ratio: 16/9; overflow: hidden; }
.news-card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 400ms var(--ease); }
.news-card:hover .news-card-img img { transform: scale(1.05); }
.news-body  { padding: 22px; flex: 1; display: flex; flex-direction: column; }
.news-cat   { font-size: .7rem; font-weight: 700; text-transform: uppercase; letter-spacing: .1em; color: var(--blue); margin-bottom: 8px; }
.news-title { font-size: .97rem; font-weight: 600; color: var(--text-primary); margin-bottom: 10px; line-height: 1.45; }
.news-excerpt { font-size: .86rem; color: var(--text-secondary); line-height: 1.7; flex: 1; }
.news-meta  { display: flex; justify-content: space-between; align-items: center; margin-top: 14px; padding-top: 14px; border-top: 1px solid var(--border); }
.news-date  { font-size: .76rem; color: var(--text-secondary); }
.news-read  { font-size: .8rem; font-weight: 600; color: var(--blue); display: inline-flex; align-items: center; gap: 4px; transition: gap 180ms var(--ease); }
.news-card:hover .news-read { gap: 8px; }
.news-featured {
  grid-column: 1 / -1;
  display: grid; grid-template-columns: 1.2fr 1fr; gap: 0;
  border-radius: var(--radius-lg); overflow: hidden;
  border: 1px solid var(--border); box-shadow: var(--shadow-md);
  transition: border-color 280ms var(--ease);
}
.news-featured:hover { border-color: rgba(0,102,255,.3); }
.news-featured-img { min-height: 280px; overflow: hidden; }
.news-featured-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 400ms var(--ease); }
.news-featured:hover .news-featured-img img { transform: scale(1.04); }
.news-featured-body { padding: 40px; background: var(--bg-3); display: flex; flex-direction: column; justify-content: center; }
.news-featured-body .news-title { font-size: 1.35rem; color: var(--text-primary); }

/* ---------- FAQ ---------- */
.faq-item { border-bottom: 1px solid var(--border); }
.faq-q {
  padding: 18px 0; font-weight: 600; color: var(--text-primary);
  display: flex; justify-content: space-between; align-items: center; gap: 16px;
  cursor: pointer; transition: color 180ms var(--ease);
}
.faq-q:hover { color: var(--blue); }
.faq-arrow { font-size: .8rem; color: var(--blue); transition: transform 250ms var(--ease); flex-shrink: 0; }
.faq-item.open .faq-arrow { transform: rotate(180deg); }
.faq-a { font-size: .88rem; color: var(--text-secondary); padding-bottom: 18px; display: none; line-height: 1.75; }
.faq-item.open .faq-a { display: block; }

/* ---------- FOOTER ---------- */
.footer { background: var(--bg-2); color: rgba(255,255,255,.75); }
.footer-main { padding: 64px 0 48px; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1.5fr; gap: 48px; }
.footer-logo { display: flex; align-items: center; margin-bottom: 16px; }
.footer-logo img { height: 24px; width: auto; object-fit: contain; }
.footer-desc { font-size: .86rem; line-height: 1.75; margin-bottom: 22px; color: rgba(255,255,255,.6); }
.footer-socials { display: flex; gap: 9px; }
.social-btn {
  width: 34px; height: 34px; border-radius: 7px;
  background: rgba(255,255,255,.08); color: rgba(255,255,255,.75);
  display: flex; align-items: center; justify-content: center;
  font-size: .9rem; font-weight: 700;
  border: 1px solid rgba(255,255,255,.1);
  transition: all 180ms var(--ease);
}
.social-btn:hover { background: var(--blue); color: var(--white); border-color: var(--blue); box-shadow: var(--shadow-blue); }
.footer-col-title { font-size: .75rem; font-weight: 700; color: var(--white); letter-spacing: .1em; text-transform: uppercase; margin-bottom: 16px; }
.footer-links { display: flex; flex-direction: column; gap: 10px; }
.footer-links a { font-size: .86rem; color: rgba(255,255,255,.6); transition: color 180ms var(--ease); }
.footer-links a:hover { color: var(--blue); }
.footer-contact-row { display: flex; gap: 10px; margin-bottom: 11px; align-items: flex-start; }
.footer-icon { color: var(--blue); font-size: .88rem; margin-top: 2px; flex-shrink: 0; }
.footer-contact-text { font-size: .84rem; color: rgba(255,255,255,.65); line-height: 1.5; }
.footer-contact-text a { color: rgba(255,255,255,.8); }
.footer-contact-text a:hover { color: var(--blue); }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.07);
  padding: 20px 0;
  display: flex; justify-content: space-between; align-items: center;
  font-size: .78rem; color: rgba(255,255,255,.35);
}
.footer-bottom a { color: rgba(255,255,255,.35); }
.footer-bottom a:hover { color: rgba(255,255,255,.65); }

/* ---------- SCROLL ANIMATIONS ---------- */
.fade-up {
  opacity: 0; transform: translateY(28px);
  transition: opacity 500ms var(--ease), transform 500ms var(--ease);
}
.fade-up.visible { opacity: 1; transform: translateY(0); }
.stagger-1 { transition-delay: 80ms; }
.stagger-2 { transition-delay: 160ms; }
.stagger-3 { transition-delay: 240ms; }
.stagger-4 { transition-delay: 320ms; }

/* ---------- RESPONSIVE ---------- */
@media (max-width: 1100px) {
  .cat-grid, .app-grid { grid-template-columns: repeat(2,1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .stats-row { grid-template-columns: repeat(2,1fr); }
  .about-split { grid-template-columns: 1fr; gap: 40px; }
  .about-img-wrap img { height: 300px; }
}
@media (max-width: 767px) {
  .section { padding: 60px 0; }
  .cat-grid, .app-grid, .product-grid, .news-grid { grid-template-columns: 1fr; }
  .nav-menu {
    display: none; position: fixed; inset: 74px 0 0;
    background: var(--bg); flex-direction: column;
    padding: 24px 20px; align-items: flex-start; gap: 4px; overflow-y: auto;
  }
  .nav-menu.open { display: flex; }
  .nav-hamburger { display: flex; }
  .nav-link { width: 100%; padding: 14px 16px; border-radius: 8px; font-size: .95rem; }
  .nav-link::after { display: none; }
  .hero { height: calc(100svh - 74px); min-height: 520px; }
  .hero-content { max-width: 100%; margin-left: 0; padding: 0 20px; }
  .hero-actions { flex-direction: column; }
  .hero-actions .btn { width: 100%; justify-content: center; }
  .stats-ticker .container { flex-wrap: wrap; }
  .ticker-item { flex: 1 1 50%; border-right: none; border-bottom: 1px solid rgba(255,255,255,.06); }
  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
  .footer-bottom { flex-direction: column; gap: 8px; text-align: center; }
  .form-row { grid-template-columns: 1fr; }
  .contact-layout { grid-template-columns: 1fr; }
  .contact-form-wrap { padding: 24px 18px; }
  .news-featured { grid-template-columns: 1fr; }
  .ip-grid { grid-template-columns: repeat(2,1fr); }
  .modal { padding: 28px 18px; }
}

/* ---------- SOLUTIONS PAGE ---------- */
.sol-section { padding: 64px 0; border-bottom: 1px solid var(--border); }
.sol-layout { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.sol-layout.rev { direction: rtl; }
.sol-layout.rev > * { direction: ltr; }
.sol-img { border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-lg); }
.sol-img img { width: 100%; height: 340px; object-fit: cover; }
.brand-wall { display: flex; flex-wrap: wrap; gap: 8px; margin: 18px 0; }
.brand-pill {
  background: var(--bg-3); border: 1px solid var(--border);
  border-radius: 20px; padding: 5px 14px;
  font-size: .8rem; font-weight: 600; color: var(--text-primary);
}
.rec-products { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 10px; }
.rec-link {
  background: rgba(0,102,255,.07); color: var(--blue);
  border: 1px solid rgba(0,102,255,.18);
  border-radius: 4px; padding: 5px 12px;
  font-size: .78rem; font-weight: 600;
  transition: all 180ms var(--ease);
}
.rec-link:hover { background: var(--blue); color: var(--white); border-color: var(--blue); }
.tech-grid   { display: grid; grid-template-columns: repeat(3,1fr); gap: 22px; }
.tech-card {
  background: var(--bg-3); border: 1px solid var(--border);
  border-radius: var(--radius-lg); padding: 28px;
  box-shadow: var(--shadow-sm); transition: all 250ms var(--ease);
}
.tech-card:hover { border-color: rgba(0,102,255,.3); box-shadow: var(--shadow-md); transform: translateY(-3px); }
.tech-icon  { font-size: 2rem; margin-bottom: 14px; }
.tech-title { font-size: .98rem; font-weight: 700; color: var(--text-primary); margin-bottom: 6px; }
.tech-sub   { font-size: .8rem; font-weight: 600; color: var(--blue); margin-bottom: 12px; }
.tech-list  { font-size: .83rem; color: var(--text-secondary); line-height: 1.8; padding-left: 14px; }
.tech-list li { list-style: disc; }
.oemodm-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 22px; }
.oemodm-card {
  border-radius: var(--radius-lg); padding: 32px; text-align: center; background: var(--bg-3);
  border: 1px solid var(--border); box-shadow: var(--shadow-sm);
  transition: all 250ms var(--ease);
}
.oemodm-card:hover { border-color: rgba(0,102,255,.3); box-shadow: var(--shadow-md); }
.oemodm-icon  { font-size: 2.2rem; margin-bottom: 14px; }
.oemodm-title { font-size: 1.05rem; font-weight: 700; color: var(--text-primary); margin-bottom: 10px; }

/* ---------- FOUNDER ---------- */
.founder-card { display: grid; grid-template-columns: 260px 1fr; gap: 44px; align-items: start; background: var(--bg-3); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 38px; }
.founder-photo img { width: 100%; height: 300px; object-fit: cover; border-radius: var(--radius-lg); }
.founder-name { font-family: var(--font-head); font-size: 1.6rem; font-weight: 700; color: var(--text-primary); margin-bottom: 2px; }
.founder-role { font-size: .83rem; color: var(--blue); font-weight: 600; margin-bottom: 14px; }
.founder-cred { display: flex; flex-direction: column; gap: 9px; margin-top: 18px; }
.cred-row { display: flex; gap: 10px; align-items: flex-start; font-size: .88rem; color: var(--text-secondary); }
.cred-icon { color: var(--blue); flex-shrink: 0; margin-top: 2px; }
@media (max-width: 767px) {
  .founder-card { grid-template-columns: 1fr; }
  .sol-layout, .sol-layout.rev { grid-template-columns: 1fr; direction: ltr; }
  .tech-grid, .oemodm-grid { grid-template-columns: 1fr; }
}

/* ============================================================
   BLACK THEME — Global Overrides
   Catches any remaining light-mode colors
   ============================================================ */

/* Body & page */
body { background: var(--bg) !important; color: var(--text-primary) !important; }

/* All section alternating bg */
section[style*="background:var(--off-white)"],
section[style*="background: var(--off-white)"],
div[style*="background:var(--off-white)"],
div[style*="background: var(--off-white)"] {
  background: var(--bg-2) !important;
}

/* Hero overlay — darker for black theme */
.hero-bg::after {
  background: linear-gradient(
    105deg,
    rgba(0,0,0,.85) 0%,
    rgba(0,0,0,.55) 50%,
    rgba(0,102,255,.08) 100%
  ) !important;
}

/* Navbar mobile menu */
.nav-menu { background: var(--bg) !important; }

/* CTA / band sections with inline styles */
[style*="background:linear-gradient(135deg,var(--navy)"],
[style*="background: linear-gradient(135deg, var(--navy)"] {
  background: var(--bg-2) !important;
}
[style*="background:var(--navy)"],
[style*="background: var(--navy)"] {
  background: var(--bg-2) !important;
}

/* All white cards → dark */
[style*="background:var(--white)"],
[style*="background: var(--white)"] {
  background: var(--bg-3) !important;
  color: var(--text-primary) !important;
}

/* Inline text colors */
[style*="color:var(--navy)"],
[style*="color: var(--navy)"] { color: var(--text-primary) !important; }
[style*="color:var(--gray-mid)"],
[style*="color: var(--gray-mid)"] { color: var(--text-secondary) !important; }
[style*="color:rgba(255,255,255,.75)"],
[style*="color: rgba(255,255,255,.75)"] { color: var(--text-secondary) !important; }

/* Section bg-2 alternation */
.section:nth-child(even),
section:nth-child(even) { background: var(--bg-2); }

/* Footer */
.footer        { background: #080808 !important; border-top: 1px solid var(--border); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.05) !important; }

/* Stats band override */
.stats-band { background: var(--bg-2) !important; }

/* Page hero */
.page-hero { background: linear-gradient(135deg, #000 0%, #0a0a14 100%) !important; }

/* Cert strip */
.cert-strip { background: var(--bg-2) !important; }

/* Form inputs */
.form-control {
  background: var(--bg-4) !important;
  color: var(--text-primary) !important;
  border-color: var(--border) !important;
}
.form-control::placeholder { color: var(--text-muted) !important; }
select.form-control option { background: var(--bg-3); color: var(--text-primary); }

/* Solutions CTA band */
[style*="background:var(--bg-2)"][style*="padding:80px 0"] {
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

/* Newsletter input in news.html */
input[type="email"][style] {
  background: var(--bg-3) !important;
  color: var(--text-primary) !important;
  border: 1px solid var(--border) !important;
}

/* ============================================================
   BLACK THEME — Global Safety Net Overrides
   ============================================================ */
body { background: var(--bg) !important; color: var(--text-primary) !important; }
.hero-bg::after {
  background: linear-gradient(105deg,rgba(0,0,0,.82) 0%,rgba(0,0,0,.5) 50%,rgba(0,102,255,.06) 100%) !important;
}
.nav-menu { background: var(--bg) !important; }
.navbar        { background: rgba(10,10,10,.96) !important; }
.navbar.scrolled { background: rgba(5,5,5,1) !important; }
.footer        { background: #080808 !important; border-top: 1px solid var(--border); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.05) !important; }
.stats-band    { background: var(--bg-2) !important; }
.stats-band .stats-row .stat-num { color: var(--blue) !important; }
.cert-strip    { background: var(--bg-2) !important; }
.page-hero     { background: linear-gradient(135deg,#000 0%,#0a0a14 100%) !important; }
.contact-form-wrap { background: var(--bg-3) !important; }
.modal         { background: var(--bg-3) !important; border: 1px solid var(--border); }
.news-featured-body { background: var(--bg-3) !important; }
.tech-card, .oemodm-card, .cert-card, .product-card,
.news-card, .kpi-card, .founder-card,
.info-card, .faq-item { background: var(--bg-3) !important; }
.form-control {
  background: var(--bg-4) !important;
  color: var(--text-primary) !important;
  border-color: rgba(255,255,255,.12) !important;
}
.form-control::placeholder { color: var(--text-muted) !important; }
.form-control:focus { background: var(--bg-3) !important; border-color: var(--blue) !important; }
select.form-control option { background: var(--bg-3); color: var(--text-primary); }
.filter-btn { background: var(--bg-3) !important; color: var(--text-secondary) !important; border-color: var(--border) !important; }
.filter-btn.active { background: var(--blue) !important; color: #fff !important; border-color: var(--blue) !important; }
.btn-navy { background: var(--bg-3) !important; border: 1px solid var(--border) !important; }
.btn-navy:hover { background: var(--bg-4) !important; }

/* ===== Kill all legacy language switcher remnants ===== */
.lang-bar, .lang-trigger, .lang-panel, .lang-grid,
.lang-item, .lang-divider, a.lang-item,
[class^="lang-"] { display: none !important; }

/* ===== HERO SLIDER FINAL FIX ===== */
.hero { position: relative; overflow: hidden; }
.hero-slide {
  position: absolute; inset: 0;
  opacity: 0;
  transition: opacity 700ms ease;
  display: flex; align-items: center;
}
.hero-slide.active { opacity: 1; }
.hero-bg {
  position: absolute; inset: 0;
  overflow: hidden; z-index: 0;
}
/* The actual photo */
.hero-bg img {
  position: absolute !important;
  inset: 0 !important;
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
  object-position: center !important;
  z-index: 0 !important;
  display: block !important;
}
/* Dark overlay above photo */
.hero-bg::after {
  content: '' !important;
  position: absolute !important;
  inset: 0 !important;
  z-index: 1 !important;
  background: linear-gradient(
    105deg,
    rgba(0,0,0,.78) 0%,
    rgba(0,0,0,.45) 55%,
    rgba(0,102,255,.05) 100%
  ) !important;
}
/* Hero text must sit above overlay */
.hero-content,
.hero-slide > .container { position: relative; z-index: 2 !important; }
.hero-indicators, .hero-arrows, .hero::after { z-index: 3; }

/* ===== Solutions Dropdown Nav ===== */
.nav-dropdown-wrap {
  position: relative;
  list-style: none;
}
.nav-chevron {
  margin-left: 3px;
  vertical-align: middle;
  opacity: .7;
  transition: transform 220ms var(--ease);
}
.nav-dropdown-wrap:hover .nav-chevron { transform: rotate(180deg); }
.nav-dropdown-trigger {
  display: flex;
  align-items: center;
  gap: 2px;
}
/* Active parent — when on solutions page */
.nav-dropdown-trigger.active-parent { color: var(--orange) !important; }
.nav-dropdown-trigger.active-parent::after { background: var(--orange) !important; }

.nav-dropdown {
  display: none;
  position: absolute;
  top: calc(100% + 8px);
  left: 50%;
  transform: translateX(-50%);
  min-width: 210px;
  background: #0e0e0e;
  border: 1px solid rgba(0,102,255,.35);
  border-radius: 8px;
  box-shadow: 0 12px 40px rgba(0,0,0,.7);
  padding: 6px 0;
  z-index: 9000;
  animation: ddFadeIn 180ms var(--ease);
}
@keyframes ddFadeIn {
  from { opacity:0; transform: translateX(-50%) translateY(-6px); }
  to   { opacity:1; transform: translateX(-50%) translateY(0); }
}
.nav-dropdown-wrap:hover .nav-dropdown { display: block; }
.nav-dropdown-item {
  display: block;
  padding: 11px 20px;
  font-size: .875rem;
  color: rgba(255,255,255,.8);
  text-decoration: none;
  transition: background 140ms, color 140ms;
  white-space: nowrap;
}
.nav-dropdown-item:hover {
  background: rgba(0,102,255,.18);
  color: #fff;
}
/* Mobile: show dropdown inline */
@media (max-width: 767px) {
  .nav-dropdown {
    position: static;
    transform: none;
    background: rgba(0,102,255,.08);
    border: none;
    border-left: 2px solid var(--blue);
    border-radius: 0;
    box-shadow: none;
    padding: 4px 0;
    min-width: auto;
    margin: 4px 0 4px 16px;
    animation: none;
    display: block;
  }
  .nav-dropdown-item { padding: 9px 16px; font-size: .85rem; }
  .nav-chevron { display: none; }
}

/* ===================================================
   nav.js — Unified Dropdown + Search Styles
   =================================================== */

/* Solutions dropdown */
.nav-dd-wrap { position: relative; list-style: none; }
.nav-dd-trigger {
  display: flex !important;
  align-items: center;
  gap: 4px;
}
.dd-caret {
  opacity: .6;
  transition: transform 220ms ease;
  flex-shrink: 0;
}
.nav-dd-wrap:hover .dd-caret { transform: rotate(180deg); }

.nav-dd {
  display: none;
  position: absolute;
  top: calc(100% + 10px);
  left: 50%;
  transform: translateX(-50%);
  min-width: 210px;
  background: #0e0e0e;
  border: 1px solid rgba(0,102,255,.4);
  border-radius: 8px;
  box-shadow: 0 16px 48px rgba(0,0,0,.75);
  padding: 6px 0;
  z-index: 9900;
  animation: ddIn 180ms ease;
}
@keyframes ddIn {
  from { opacity:0; transform:translateX(-50%) translateY(-6px); }
  to   { opacity:1; transform:translateX(-50%) translateY(0); }
}
.nav-dd-wrap:hover .nav-dd { display: block; }

.nav-dd-item {
  display: block;
  padding: 11px 20px;
  font-size: .875rem;
  color: rgba(255,255,255,.8);
  text-decoration: none;
  transition: background 140ms, color 140ms;
  white-space: nowrap;
}
.nav-dd-item:hover { background: rgba(0,102,255,.2); color: #fff; }

/* Search */
.nav-search-wrap { list-style: none; display: flex; align-items: center; }

/* Language switcher inside nav */
.nav-ls-wrap {
  list-style: none;
  position: relative;   /* ← anchor for the dropdown */
}
/* Override any global ls-fixed-wrap fixed positioning */
.nav-ls-wrap .ls-fixed-wrap {
  position: relative !important;
  top: auto !important;
  right: auto !important;
  display: inline-block;
}
/* Panel drops directly below the button, stays inside navbar */
.nav-ls-wrap .ls-panel,
.nav-ls-wrap #lsPanel {
  position: absolute !important;
  top: calc(100% + 8px) !important;
  right: 0 !important;
  left: auto !important;
  bottom: auto !important;
  max-height: calc(100vh - 90px);
  overflow-y: auto;
  /* Prevent z-index fighting */
  z-index: 9999 !important;
}

/* Mobile overrides */
@media (max-width: 767px) {
  .nav-dd { position:static; transform:none; background:rgba(0,102,255,.07);
    border:none; border-left:2px solid var(--blue); border-radius:0;
    box-shadow:none; padding:2px 0; min-width:auto;
    margin:2px 0 6px 14px; animation:none; display:block; }
  .nav-dd-item { padding:8px 14px; font-size:.84rem; }
  .dd-caret { display: none; }
  .nav-ls-wrap .ls-panel { position:fixed !important; right:10px !important; top:80px !important; }
}

/* ===== Language Switcher — Final Fix =====
   Ensure panel ALWAYS drops below the button,
   never floats to top-left corner of page.
   Overrides any conflicting position:fixed rules. */
#lsPanel {
  position: absolute !important;
  top: calc(100% + 8px) !important;
  right: 0 !important;
  left: auto !important;
  bottom: auto !important;
  z-index: 9999 !important;
}
/* The toggle wrapper must be the positioning anchor */
#lsWrap {
  position: relative !important;
  top: auto !important;
  right: auto !important;
  bottom: auto !important;
  display: inline-block !important;
}

/* ============================================================
   Aurora Nav — mirrors www.auropola.com exactly
   ============================================================ */

/* ---- Base nav links ---- */
.aur-nav-link {
  display: flex;
  align-items: center;
  padding: 8px 13px;
  border-radius: 6px;
  font-size: .9rem;
  font-weight: 500;
  color: rgba(255,255,255,.82);
  text-decoration: none;
  white-space: nowrap;
  transition: color 160ms ease, background 160ms ease;
  position: relative;
}
.aur-nav-link:hover { color: #fff; background: rgba(255,255,255,.07); }

/* Active page: orange underline (matches auropola.com) */
.aur-nav-link.aur-active {
  color: var(--orange) !important;
  font-weight: 600;
}
.aur-nav-link.aur-active::after {
  content: '';
  position: absolute;
  bottom: 0; left: 13px; right: 13px;
  height: 2px;
  background: var(--orange);
  border-radius: 2px;
}

/* ---- Dropdown wrapper ---- */
.aur-dd-wrap {
  position: relative;
  list-style: none;
}
.aur-dd-trigger { cursor: pointer; }
/* Rotate chevron on hover */
.aur-dd-wrap:hover svg:last-child { transform: rotate(180deg); }

/* ---- Dropdown panel ---- */
.aur-dd-panel {
  display: none;
  position: absolute;
  top: 100%; /* No gap */
  left: 50%;
  transform: translateX(-50%);
  min-width: 200px;
  background: #080808;
  border: 1px solid rgba(0,102,255,.35);
  border-radius: 8px;
  box-shadow: 0 20px 56px rgba(0,0,0,.8);
  padding: 6px 0;
  z-index: 9800;
  animation: aurDdIn 160ms ease;
}
/* Invisible bridge to catch the mouse */
.aur-dd-panel::before {
  content: "";
  position: absolute;
  top: -10px;
  left: 0;
  right: 0;
  height: 10px;
}
.aur-dd-wrap.is-hovered .aur-dd-panel { display: block; }

.aur-dd-item {
  display: block;
  padding: 10px 20px;
  font-size: .875rem;
  color: rgba(255,255,255,.78);
  text-decoration: none;
  white-space: nowrap;
  transition: background 130ms, color 130ms;
}
.aur-dd-item:hover  { background: rgba(0,102,255,.2); color: #fff; }
.aur-dd-active      { color: var(--blue) !important; font-weight: 600; }

/* ---- Right-side icon buttons ---- */
.aur-icon-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 34px; height: 34px;
  border-radius: 6px;
  background: none;
  border: none;
  color: rgba(255,255,255,.72);
  cursor: pointer;
  transition: color 160ms, background 160ms;
  text-decoration: none;
  flex-shrink: 0;
}
.aur-icon-btn:hover { color: #fff; background: rgba(255,255,255,.1); }

/* ---- Language button ---- */
.aur-lang-wrap { position: relative; }
.aur-lang-btn {
  display: flex;
  align-items: center;
  gap: 5px;
  padding: 7px 12px;
  border-radius: 8px;
  border: 1px solid rgba(255,255,255,.2);
  background: rgba(255,255,255,.06);
  color: rgba(255,255,255,.85);
  font-size: .82rem;
  font-weight: 500;
  cursor: pointer;
  font-family: inherit;
  white-space: nowrap;
  transition: border-color 160ms, background 160ms, color 160ms;
}
.aur-lang-btn:hover { border-color: rgba(255,255,255,.4); color: #fff; background: rgba(255,255,255,.1); }

.aur-lang-panel {
  display: none;
  position: absolute;
  top: calc(100% + 6px);
  right: 0;
  min-width: 160px;
  background: #080808;
  border: 1px solid rgba(0,102,255,.35);
  border-radius: 8px;
  box-shadow: 0 20px 56px rgba(0,0,0,.8);
  padding: 5px 0;
  z-index: 9900;
  max-height: calc(100vh - 90px);
  overflow-y: auto;
}

/* ---- Mobile responsive ---- */
@media (max-width: 1024px) {
  .aur-nav-link { padding: 7px 10px; font-size: .85rem; }
}
@media (max-width: 768px) {
  #aurMenu {
    display: none;
    position: fixed;
    inset: 68px 0 0;
    background: #05050a;
    flex-direction: column;
    align-items: flex-start;
    padding: 20px 16px;
    overflow-y: auto;
    gap: 2px;
    z-index: 9700;
  }
  #aurMenu[data-open="1"] { display: flex; }
  #aurHamburger { display: flex !important; }
  .aur-dd-wrap { width: 100%; }
  .aur-dd-trigger { width: 100%; }
  .aur-dd-panel {
    position: static !important;
    transform: none !important;
    background: rgba(0,102,255,.06);
    border: none !important;
    border-left: 2px solid var(--blue) !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    padding: 2px 0 !important;
    margin: 2px 0 6px 14px !important;
    animation: none !important;
    min-width: auto !important;
  }
  .aur-dd-item { padding: 8px 14px; font-size: .84rem; }
  #aurRight .aur-lang-btn span { display: none; }  /* hide lang name on mobile */
  #aurSearchBox { padding: 12px 16px !important; }
}

/* ===== Anchor scroll offset (fixed navbar = 68px) ===== */
[id] { scroll-margin-top: 80px; }
html { scroll-behavior: smooth; }
