/* ============================================================
   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');

/* ---------- Emoji flags ---------- */
.aur-lang-item, .aur-lang-panel a {
  font-family: "Apple Color Emoji","Segoe UI Emoji","Noto Color Emoji","Segoe UI Symbol",sans-serif;
}

/* ---------- 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;
  filter: brightness(1.35) contrast(1.12) saturate(1.15);
}
/* Dark overlay — minimal since text is removed */
.hero-bg::after {
  content: ''; position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(
    105deg,
    rgba(0,0,0,.18) 0%,
    rgba(0,0,0,.08) 55%,
    rgba(0,0,255,.04) 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: 148px; left: 50%; transform: translateX(-50%);
  display: flex; gap: 8px; z-index: 5;
}
.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: 10px 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: 10px 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);
  pointer-events: none;
}
.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;
  pointer-events: none;
}
.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: 1/1; overflow: hidden; }
.product-card-img img { width: 100%; height: 100%; object-fit: contain; transition: transform 400ms var(--ease); background:#fff; }
.product-card:hover .product-card-img img { transform: scale(1.05); }
.product-cat-tag {
  position: absolute; bottom: 12px; left: 50%; transform: translateX(-50%);
  background: var(--bg); color: var(--white);
  font-size: .66rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase;
  padding: 4px 12px; border-radius: 4px;
  z-index: 2;
}
.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; }
  .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; }

  /* Grid: single column on mobile for readability */
  .cat-grid, .app-grid, .product-grid, .home-news-grid { grid-template-columns: 1fr !important; gap: 16px; }

  /* 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 { display: flex !important; flex-direction: column !important; gap: 24px !important; }
  .about-split > div { width: 100% !important; min-width: 0 !important; }
  .about-img-wrap img { height: 300px; }

  .ticker-item { flex: 0 0 50%; }
}

/* Small Phones (under 480px) */
@media (max-width: 480px) {
  .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 ---------- */
.home-news-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.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; font-size: 1rem; 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 — minimal, text removed */
.hero-bg::after {
  background: linear-gradient(
    105deg,
    rgba(0,0,0,.15) 0%,
    rgba(0,0,0,.06) 50%,
    transparent 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-active: Home only — orange underline */
a[href="index.html"].aur-nav-link.aur-active,
a[href="./index.html"].aur-nav-link.aur-active {
  color: var(--orange) !important;
  font-weight: 600;
}
a[href="index.html"].aur-nav-link.aur-active::after,
a[href="./index.html"].aur-nav-link.aur-active::after {
  content: '';
  position: absolute;
  bottom: 0; left: 13px; right: 13px;
  height: 2px;
  background: var(--orange);
  border-radius: 2px;
}
/* 其他页面的 aur-active 不显示橙色 */
.aur-nav-link.aur-active {
  color: inherit;
}

/* ---- Dropdown wrapper ---- */
.aur-dd-wrap {
  position: relative;
  list-style: none;
}

/* ---- 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: 300px;
  background: #080808;
  border: 1px solid rgba(0,102,255,.35);
  border-radius: 10px;
  box-shadow: 0 20px 56px rgba(0,0,0,.8);
  padding: 8px;
  z-index: 9999;
  max-height: 70vh;
  overflow-y: auto;
  grid-template-columns: 1fr 1fr;
  gap: 3px;
}
.aur-lang-panel a {
  display:flex; align-items:center; gap:7px;
  padding: 8px 12px;
  border-radius: 6px;
  font-size: .83rem;
  color: rgba(255,255,255,.75);
  text-decoration: none;
  transition: background 150ms;
  white-space: nowrap;
}
.aur-lang-panel a:hover,
.aur-lang-panel a.aur-dd-active {
  background: rgba(0,102,255,.15);
  color: #fff;
}

/* ---- 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%; position: relative; }
  /* Mobile: toggle button is injected by JS, sits to the right of the link */
  .aur-dd-toggle { background: none !important; border: none !important; color: rgba(255,255,255,.7) !important; cursor: pointer !important; padding: 12px 28px !important; display: flex !important; align-items: center !important; position: absolute; right: 0; top: 0; height: 100%; }
  .aur-dd-wrap.is-open .aur-dd-toggle { color: #0066ff !important; }
  .aur-dd-wrap.is-open .aur-dd-toggle svg { transform: rotate(180deg) !important; }
  .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;
    display: none !important;
  }
  .aur-dd-wrap.is-open .aur-dd-panel { display: block !important; }
  .aur-dd-item { padding: 8px 14px; font-size: .84rem; }
  #aurRight .aur-lang-btn span { display: none; }
  #aurSearchBox { padding: 12px 16px !important; }
}

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

/* ============================================================
   Aurora-Max — Full Mobile Responsive Patch (Jun 2026)
   Covers: index / about / products / solutions / faq / news
   Breakpoints: 1024px (tablet) | 767px (mobile) | 480px (small)
   ============================================================ */

/* ── GLOBAL ──────────────────────────────────────────────── */
@media (max-width: 767px) {
  .container { padding: 0 16px; }
  .section { padding: 56px 0; }
  .section-title { font-size: 1.8rem; }
  .btn { padding: 12px 22px; font-size: .85rem; }
}

/* ── HERO (index.html) ───────────────────────────────────── */
@media (max-width: 767px) {
  .hero { height: 100svh; min-height: 600px; }
  .hero-title { font-size: 2.4rem !important; line-height: 1.15; }
  .hero-sub { font-size: 1rem !important; }
  .hero-btns { flex-direction: column; gap: 12px; }
  .hero-btns .btn { width: 100%; justify-content: center; }
  /* KPI overlay — hide on mobile, show in section below */
  .hero-stats-overlay { display: none !important; }
}

/* ── STATS TICKER ────────────────────────────────────────── */
@media (max-width: 767px) {
  .stats-ticker .container { flex-wrap: wrap; gap: 0; }
  .ticker-item { width: 50%; border-right: 1px solid var(--border); border-bottom: 1px solid var(--border); padding: 18px 12px; }
  .ticker-num { font-size: 1.8rem; }
}
@media (max-width: 400px) {
  .ticker-item { width: 50%; }
}

/* ── CERT STRIP ──────────────────────────────────────────── */
@media (max-width: 767px) {
  .cert-strip .container { gap: 8px 12px; padding: 14px 16px; }
  .cert-badge { font-size: .75rem; padding: 5px 10px; }
}

/* ── APPLICATION GRID (8 cards) ──────────────────────────── */
@media (max-width: 1023px) {
  .app-grid { grid-template-columns: repeat(2, 1fr) !important; }
}
@media (max-width: 600px) {
  .app-grid { grid-template-columns: 1fr !important; gap: 14px !important; }
  .app-card { aspect-ratio: 16/9; }
}

/* ── TRUSTED BY BRAND WALL ───────────────────────────────── */
@media (max-width: 767px) {
  #trustedByGrid,
  [style*="grid-template-columns:repeat(4,1fr)"] {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 10px !important;
  }
}

/* ── ABOUT US ────────────────────────────────────────────── */
@media (max-width: 1023px) {
  /* Corp strength split */
  .about-split,
  [style*="grid-template-columns:1.2fr"] {
    grid-template-columns: 1fr !important;
    gap: 30px !important;
  }
  .ip-grid { grid-template-columns: repeat(2, 1fr) !important; }
  .honor-grid-10 { grid-template-columns: repeat(3, 1fr) !important; }
  .esg-grid { grid-template-columns: repeat(2, 1fr) !important; }
}
@media (max-width: 600px) {
  .honor-grid-10 { grid-template-columns: repeat(2, 1fr) !important; }
  .esg-grid { grid-template-columns: 1fr !important; }
  .cert-grid { grid-template-columns: 1fr !important; }
  .ip-grid { grid-template-columns: repeat(2, 1fr) !important; }
  /* Timeline */
  .timeline { padding-left: 28px !important; }
  .tl-item::after { left: -36px !important; }
}

/* ── PRODUCTS PAGE ───────────────────────────────────────── */
@media (max-width: 1023px) {
  .products-layout { grid-template-columns: 1fr !important; }
  .filter-sidebar { position: static !important; width: 100% !important; }
  .filter-bar { flex-wrap: wrap; }
}
@media (max-width: 767px) {
  .products-grid { grid-template-columns: repeat(2, 1fr) !important; gap: 14px !important; }
  .product-actions { flex-direction: column !important; gap: 8px !important; }
  .product-actions .btn, .btn-enquire { width: 100% !important; }
}
@media (max-width: 440px) {
  .products-grid { grid-template-columns: 1fr !important; }
}

/* ── PRODUCT DETAIL OVERLAY ──────────────────────────────── */
@media (max-width: 767px) {
  .detail-layout { grid-template-columns: 1fr !important; }
  .detail-specs { grid-template-columns: 1fr !important; }
}

/* ── SOLUTIONS PAGE ──────────────────────────────────────── */
@media (max-width: 1023px) {
  .app-layout,
  .app-layout.reverse { grid-template-columns: 1fr !important; }
  .app-layout.reverse .app-img { order: -1; }
  .app-img img { height: 280px !important; }
}
@media (max-width: 767px) {
  .app-img img { height: 220px !important; }
  .app-brand-wall { flex-wrap: wrap; gap: 6px; }
  .brand-pill-sm { font-size: .72rem; padding: 4px 10px; }
}

/* ── FAQ PAGE ────────────────────────────────────────────── */
@media (max-width: 1023px) {
  .faq-grid { grid-template-columns: 1fr !important; }
  .faq-sidebar { position: static !important; }
  .faq-nav { flex-direction: row; flex-wrap: wrap; border: none; gap: 8px; }
  .faq-nav-item { border: 1px solid var(--border); border-radius: 20px; padding: 7px 16px; margin: 0; }
  .faq-cat-card { aspect-ratio: 16/9; }
}
@media (max-width: 767px) {
  .faq-grid-cats { grid-template-columns: repeat(2, 1fr) !important; }
  .faq-q { font-size: .95rem; padding: 16px 18px; }
  .faq-a { padding: 0 18px 18px; }
}

/* ── NEWS PAGE ───────────────────────────────────────────── */
@media (max-width: 1023px) {
  .news-featured-hero { grid-template-columns: 1fr !important; }
  .news-featured-hero .nfh-img { height: 280px; }
}
@media (max-width: 767px) {
  .news-grid { grid-template-columns: 1fr !important; gap: 20px; }
  .article-container, .article-content-body { padding: 24px 16px !important; }
  .news-featured-hero .nfh-body { padding: 24px 20px !important; }
}

/* ── CONTACT PAGE ────────────────────────────────────────── */
@media (max-width: 1023px) {
  .contact-layout { grid-template-columns: 1fr !important; }
}
@media (max-width: 767px) {
  .info-cards { grid-template-columns: 1fr !important; }
  .contact-form input,
  .contact-form select,
  .contact-form textarea { font-size: 16px; } /* prevent iOS zoom */
}

/* ── FOOTER ──────────────────────────────────────────────── */
@media (max-width: 1023px) {
  .footer-cols { grid-template-columns: repeat(2, 1fr) !important; }
}
@media (max-width: 600px) {
  .footer-cols { grid-template-columns: 1fr !important; }
  .footer-bottom { flex-direction: column; gap: 16px; text-align: center; }
  .footer-bottom-links { flex-wrap: wrap; justify-content: center; gap: 12px; }
}

/* ── ENQUIRY PANEL ───────────────────────────────────────── */
@media (max-width: 480px) {
  #enquiryPanel { width: 100vw !important; right: -100vw !important; }
  #enquiryPanel.open { right: 0 !important; }
}

/* ── UTILITY ─────────────────────────────────────────────── */
@media (max-width: 767px) {
  .hide-mobile { display: none !important; }
  .show-mobile { display: block !important; }
  .text-center-mobile { text-align: center !important; }
  h1 { font-size: clamp(1.8rem, 6vw, 3rem); }
  h2 { font-size: clamp(1.5rem, 5vw, 2.4rem); }
}

/* B2B CTA two-column */
@media (max-width: 767px) {
  [style*="grid-template-columns:1fr 1fr"] { grid-template-columns: 1fr !important; }
}

/* ============================================================
   AURORA-MAX — FULL MOBILE PATCH (2026-06-27)
   Target: iPhone 12/13/14/15 (390px) & Android (360-414px)
   ============================================================ */

/* ── BASE ── */
@media (max-width:768px) {
  html { font-size: 15px; }
  .container { padding: 0 16px; }
  .section { padding: 48px 0; }
  .section-title { font-size: 1.6rem !important; }
  .section-sub  { font-size: 0.9rem; }
  .btn { padding: 11px 20px; font-size: 0.88rem; }
}

/* ── NAV ── */
@media (max-width:768px) {
  .aur-nav-container { padding: 0 14px; height: 56px !important; }
  .aur-logo img { height: 28px !important; }
  .aur-hamburger { display: flex !important; }
  .aur-nav-links { display: none !important; }
  .aur-nav-links.open { display: flex !important; flex-direction: column; position: fixed; top: 56px; left: 0; width: 100%; background: #0a0a0a; padding: 20px 0 30px; z-index: 9000; border-top: 1px solid rgba(255,255,255,.08); }
  .aur-icon-btn { width: 36px !important; height: 36px !important; }
}

/* ── HERO ── */
@media (max-width: 768px) {
  .hero { height: 90svh !important; min-height: 560px !important; }
  .hero-title { font-size: 2.2rem !important; line-height: 1.15 !important; }
  .hero-eyebrow { font-size: 0.75rem !important; }
  .hero-sub { font-size: 0.95rem !important; margin-bottom: 28px !important; }
  .hero-btns, [class*="hero-btns"] { flex-direction: column !important; gap: 10px !important; width: 100%; }
  .hero-btns .btn, [class*="hero-btns"] a { width: 100% !important; justify-content: center !important; text-align: center; }
  .hero-stats-overlay { display: none !important; }
}

/* ── STATS TICKER ── */
@media (max-width: 768px) {
  .stats-ticker .container { flex-wrap: wrap !important; justify-content: center !important; gap: 0 !important; }
  .ticker-item { width: 50% !important; padding: 16px 10px !important; border-bottom: 1px solid var(--border); }
  .ticker-num { font-size: 1.6rem !important; }
  .ticker-label { font-size: 0.7rem !important; }
}

/* ── CERT STRIP ── */
@media (max-width: 768px) {
  .cert-strip .container { gap: 6px 10px !important; padding: 12px 16px !important; justify-content: center; }
  .cert-badge { font-size: 0.72rem !important; padding: 5px 9px !important; }
}

/* ── APP GRID (8 scenes) ── */
@media (max-width: 768px) {
  .app-grid { grid-template-columns: 1fr 1fr !important; gap: 12px !important; }
  .app-card { aspect-ratio: 4/3 !important; border-radius: 10px !important; }
  .app-title { font-size: 0.85rem !important; }
}
@media (max-width: 420px) {
  .app-grid { grid-template-columns: 1fr !important; }
}

/* ── BRAND WALL ── */
@media (max-width: 768px) {
  #trustedByGrid { grid-template-columns: repeat(2,1fr) !important; gap: 10px !important; max-width: 100% !important; }
  #trustedByGrid > div { height: 60px !important; padding: 10px !important; }
}

/* ── ABOUT: company intro split ── */
@media (max-width: 768px) {
  [style*="grid-template-columns:1.2fr"] { grid-template-columns: 1fr !important; gap: 24px !important; }
  [style*="grid-template-columns:1.2fr 0.8fr"] { grid-template-columns: 1fr !important; gap: 24px !important; }
}

/* ── IP GRID (R&D) ── */
@media (max-width: 768px) {
  .ip-grid { grid-template-columns: repeat(2,1fr) !important; gap: 10px !important; }
  .ip-num { font-size: 1.8rem !important; }
  .ip-label { font-size: 0.68rem !important; }
  .ip-card { padding: 18px 12px !important; }
}

/* ── HONOR GRID ── */
@media (max-width: 768px) {
  .honor-grid,
  .honor-grid-row2 { grid-template-columns: repeat(2,1fr) !important; gap: 10px !important; }
  .honor-card { padding: 16px 12px !important; }
  .honor-title { font-size: 0.78rem !important; }
  .honor-grid-row2 { margin-top: 10px !important; }
}

/* ── ESG GRID ── */
@media (max-width: 768px) {
  .esg-grid { grid-template-columns: 1fr !important; gap: 14px !important; }
  .esg-card img { height: 160px !important; }
}

/* ── TIMELINE ── */
@media (max-width: 768px) {
  .timeline { padding-left: 30px !important; }
  .tl-item::after { left: -38px !important; width: 12px !important; height: 12px !important; }
  .tl-year { font-size: 1.3rem !important; }
}

/* ── PRODUCTS GRID ── */
@media (max-width: 768px) {
  .products-grid { grid-template-columns: repeat(2,1fr) !important; gap: 12px !important; }
  .product-card { border-radius: 10px !important; }
  .product-card .product-body { padding: 14px !important; }
  .product-name { font-size: 0.85rem !important; -webkit-line-clamp: 3 !important; }
  .product-actions { flex-direction: column !important; gap: 8px !important; }
  .product-actions a, .product-actions button { width: 100% !important; justify-content: center !important; padding: 10px !important; }
}
@media (max-width: 400px) {
  .products-grid { grid-template-columns: 1fr !important; }
}

/* ── PRODUCT DETAIL ── */
@media (max-width: 768px) {
  .pd-main { grid-template-columns: 1fr !important; gap: 20px !important; }
  .pd-main-img { height: 280px !important; }
  .pd-thumbs-row { gap: 6px !important; }
  .pd-thumb { width: 56px !important; height: 56px !important; }
  .pd-spec-row { grid-template-columns: repeat(2,1fr) !important; gap: 10px !important; }
  .pd-title { font-size: 1.3rem !important; }
  .pd-features-title { font-size: 0.9rem !important; }
  .pd-cert-badge { font-size: 0.72rem !important; padding: 4px 8px !important; }
}

/* ── SOLUTIONS APP LAYOUT ── */
@media (max-width: 768px) {
  .app-layout, .app-layout.reverse { grid-template-columns: 1fr !important; gap: 20px !important; }
  .app-layout.reverse .app-img { order: -1 !important; }
  .app-img img { height: 220px !important; }
  .app-content .section-title { font-size: 1.3rem !important; }
  .brand-pill-sm { font-size: 0.72rem !important; padding: 4px 9px !important; }
}

/* ── FAQ ── */
@media (max-width: 768px) {
  .faq-grid { grid-template-columns: 1fr !important; }
  .faq-nav { flex-wrap: wrap !important; gap: 6px !important; }
  .faq-nav-item { padding: 6px 12px !important; font-size: 0.8rem !important; }
  .faq-q { font-size: 0.9rem !important; padding: 16px !important; }
  .faq-a { font-size: 0.88rem !important; padding: 0 16px 16px !important; }
  .faq-cat-card { aspect-ratio: 16/9 !important; }
  .faq-grid-cats { grid-template-columns: 1fr 1fr !important; gap: 12px !important; }
}

/* ── NEWS ── */
@media (max-width: 768px) {
  .news-grid { grid-template-columns: 1fr !important; gap: 16px !important; }
  .news-featured-hero { grid-template-columns: 1fr !important; }
  .news-featured-hero .nfh-img { height: 220px !important; }
  .news-featured-hero .nfh-body { padding: 20px !important; }
  .news-featured-hero .nfh-body h2 { font-size: 1.3rem !important; }
  .news-card-img { height: 180px !important; }
  .article-content-body { padding: 24px 16px !important; }
}

/* ── CONTACT ── */
@media (max-width: 768px) {
  .contact-info-bar { grid-template-columns: 1fr !important; gap: 12px !important; }
  .info-card { padding: 16px !important; }
  .contact-form .form-row { grid-template-columns: 1fr !important; gap: 0 !important; }
  .contact-form input, .contact-form select, .contact-form textarea { font-size: 16px !important; padding: 12px !important; }
}

/* ── FOOTER ── */
@media (max-width: 768px) {
  #aurFooter > div:first-child { grid-template-columns: 1fr !important; gap: 24px !important; }
  #aurFooter { padding: 28px 0 16px !important; }
  .footer-bottom { flex-direction: column !important; gap: 12px !important; text-align: center !important; }
  .footer-bottom-links { flex-wrap: wrap !important; justify-content: center !important; gap: 10px !important; }
}

/* ── ENQUIRY PANEL ── */
@media (max-width: 480px) {
  #enquiryPanel { width: 100vw !important; right: -100vw !important; }
  #enquiryPanel.open { right: 0 !important; }
}

/* ── ABOUT: cert labels ── */
@media (max-width: 768px) {
  [style*="cert-labels"] { flex-wrap: wrap !important; gap: 6px !important; }
}

/* ── PAGE HERO ── */
@media (max-width: 768px) {
  .page-hero { padding: 70px 0 30px !important; }
  .page-hero h1 { font-size: 1.8rem !important; }
  .page-hero p  { font-size: 0.9rem !important; }
}

/* ── GENERAL UTILITIES ── */
@media (max-width: 768px) {
  table { display: block; overflow-x: auto; -webkit-overflow-scrolling: touch; }
  img { max-width: 100%; height: auto; }
  .hide-mobile { display: none !important; }
}


/* ============================================================
   AURORA-MAX MOBILE DEEP FIX v2 (2026-06-27)
   Full sync with latest desktop content
   ============================================================ */

/* ── GLOBAL BASE ─────────────────────────────────────────── */
@media (max-width:768px){
  body { overflow-x: hidden; }
  .container { padding-left:16px!important; padding-right:16px!important; }
  h1 { font-size: clamp(1.6rem,6vw,2.4rem)!important; }
  h2 { font-size: clamp(1.3rem,5vw,2rem)!important; }
  .section { padding: 44px 0!important; }
  .section-tag { font-size:.65rem!important; }
  .section-title { font-size:1.5rem!important; line-height:1.25!important; }
  .section-sub { font-size:.88rem!important; }
}

/* ── HERO ────────────────────────────────────────────────── */
@media (max-width:768px){
  .hero { height:92svh!important; min-height:520px!important; }
  .hero-content { padding:0 4px!important; }
  .hero-eyebrow { font-size:.7rem!important; margin-bottom:8px!important; }
  .hero-title { font-size:clamp(1.8rem,7vw,2.6rem)!important; margin-bottom:14px!important; }
  .hero-sub { font-size:.92rem!important; line-height:1.5!important; margin-bottom:24px!important; max-width:100%!important; }
  .hero-btns { flex-direction:column!important; gap:10px!important; }
  .hero-btns .btn,.hero-btns a { width:100%!important; justify-content:center!important; padding:14px!important; font-size:.95rem!important; }
  .hero-stats-overlay { display:none!important; }
  .hero-arrows { display:none!important; }
}

/* ── STATS TICKER ────────────────────────────────────────── */
@media (max-width:768px){
  .stats-ticker > .container { flex-wrap:wrap!important; gap:0!important; }
  .ticker-item { width:50%!important; padding:14px 8px!important; text-align:center; border-right:1px solid var(--border); border-bottom:1px solid var(--border); }
  .ticker-num { font-size:1.5rem!important; }
  .ticker-label { font-size:.65rem!important; }
}

/* ── CERT STRIP ──────────────────────────────────────────── */
@media (max-width:768px){
  .cert-strip > .container { flex-wrap:wrap!important; gap:6px 8px!important; justify-content:center!important; }
  .cert-badge,.cert-text { font-size:.7rem!important; padding:4px 8px!important; }
}

/* ── COMPANY INTRO ───────────────────────────────────────── */
@media (max-width:768px){
  [style*="grid-template-columns:1.2fr 0.8fr"],[style*="grid-template-columns:1.2fr"]{
    grid-template-columns:1fr!important; gap:20px!important;
  }
}

/* ── APPLICATION SCENES ──────────────────────────────────── */
@media (max-width:768px){
  .app-grid { grid-template-columns:1fr 1fr!important; gap:10px!important; }
  .app-card { border-radius:10px!important; min-height:140px!important; }
  .app-title { font-size:.82rem!important; padding:14px!important; }
  .app-brands { display:none!important; }
  .app-link { font-size:.72rem!important; }
}
@media (max-width:400px){
  .app-grid { grid-template-columns:1fr!important; }
}

/* ── TRUSTED BY BRANDS ───────────────────────────────────── */
@media (max-width:768px){
  #trustedByGrid { grid-template-columns:1fr 1fr!important; gap:10px!important; max-width:100%!important; }
  #trustedByGrid > div { height:56px!important; padding:8px 10px!important; }
  #trustedByGrid img { max-height:30px!important; }
}

/* ── PRODUCTS LIST ───────────────────────────────────────── */
@media (max-width:768px){
  .products-layout { grid-template-columns:1fr!important; }
  .products-grid { grid-template-columns:1fr 1fr!important; gap:12px!important; }
  .product-card { border-radius:10px!important; }
  .product-name { font-size:.82rem!important; line-height:1.3!important; -webkit-line-clamp:3!important; }
  .product-model { font-size:.72rem!important; }
  .product-actions { flex-direction:column!important; gap:7px!important; }
  .product-actions a,.product-actions button,.btn-enquire { width:100%!important; justify-content:center!important; padding:11px 10px!important; font-size:.82rem!important; }
  .filter-bar,.filter-sidebar { flex-wrap:wrap!important; }
  .filter-btn { font-size:.75rem!important; padding:7px 12px!important; }
}
@media (max-width:400px){
  .products-grid { grid-template-columns:1fr!important; }
}

/* ── PRODUCT DETAIL ──────────────────────────────────────── */
@media (max-width:768px){
  .pd-main { grid-template-columns:1fr!important; gap:16px!important; }
  #mainImg,.pd-main-img-wrap img { height:260px!important; object-fit:contain!important; }
  .pd-thumbs-row { gap:6px!important; overflow-x:auto!important; }
  .pd-thumb { min-width:52px!important; width:52px!important; height:52px!important; }
  .pd-title,.product-title { font-size:1.2rem!important; }
  .pd-spec-row { grid-template-columns:1fr 1fr!important; gap:8px!important; }
  .pd-spec-card { padding:14px 10px!important; }
  .pd-features-list li { font-size:.87rem!important; }
  .pd-cert-badges { flex-wrap:wrap!important; gap:6px!important; }
  .pd-cert-badge { font-size:.7rem!important; padding:4px 8px!important; }
  .pd-actions { flex-direction:column!important; gap:10px!important; }
  .pd-actions .btn,.pd-actions button { width:100%!important; justify-content:center!important; }
  #detailImgsSection > div { grid-template-columns:1fr!important; }
}

/* ── SOLUTIONS ───────────────────────────────────────────── */
@media (max-width:768px){
  .app-layout,.app-layout.reverse { grid-template-columns:1fr!important; gap:18px!important; }
  .app-layout.reverse .app-img { order:-1!important; }
  .app-img img { height:200px!important; border-radius:10px!important; }
  .app-content .section-title { font-size:1.2rem!important; }
  .app-content p { font-size:.88rem!important; }
  .app-brand-wall { flex-wrap:wrap!important; gap:6px!important; }
  .brand-pill-sm { font-size:.7rem!important; padding:4px 8px!important; }
  .tech-adv-grid { grid-template-columns:1fr!important; }
}

/* ── FAQ ─────────────────────────────────────────────────── */
@media (max-width:768px){
  .faq-hero { padding:50px 0 30px!important; }
  .faq-hero h1 { font-size:1.6rem!important; }
  .faq-grid { grid-template-columns:1fr 1fr!important; gap:10px!important; }
  .faq-cat-card { aspect-ratio:4/3!important; border-radius:10px!important; }
  .faq-cat-name { font-size:.85rem!important; }
  .faq-main { padding:40px 0!important; }
  .faq-section { max-width:100%!important; }
  .faq-section-title { font-size:1.1rem!important; }
  .faq-q { font-size:.88rem!important; padding:15px!important; gap:10px!important; }
  .faq-a { font-size:.85rem!important; padding:0 15px 15px!important; line-height:1.7!important; }
  .faq-a ul { padding-left:16px!important; }
}

/* ── NEWS ────────────────────────────────────────────────── */
@media (max-width:768px){
  .news-grid { grid-template-columns:1fr!important; gap:14px!important; }
  .news-featured-hero { grid-template-columns:1fr!important; }
  .news-featured-hero .nfh-img { height:200px!important; min-height:unset!important; }
  .news-featured-hero .nfh-body { padding:20px!important; }
  .news-featured-hero .nfh-body h2 { font-size:1.2rem!important; }
  .news-card-img { height:170px!important; }
  .news-title { font-size:1rem!important; }
  .news-excerpt { font-size:.83rem!important; }
  .article-container { padding:20px 14px!important; }
  .article-content h2 { font-size:1.1rem!important; }
  .article-content p { font-size:.88rem!important; }
}

/* ── ABOUT US ────────────────────────────────────────────── */
@media (max-width:768px){
  .about-section { padding:44px 0!important; }
  /* Factory image */
  .about-section div[style*="max-height:480px"] { height:220px!important; max-height:220px!important; }
  /* R&D IP grid */
  .ip-grid { grid-template-columns:1fr 1fr!important; gap:10px!important; }
  .ip-card { padding:16px 10px!important; }
  .ip-num { font-size:1.8rem!important; }
  .ip-label { font-size:.65rem!important; }
  /* Honor grid 2 cols */
  .honor-grid,.honor-grid-row2 { grid-template-columns:1fr 1fr!important; gap:10px!important; }
  .honor-card { padding:16px 10px!important; }
  .honor-title { font-size:.75rem!important; line-height:1.3!important; }
  /* Timeline */
  .timeline { padding-left:28px!important; }
  .tl-item::after { left:-36px!important; width:12px!important; height:12px!important; }
  .tl-year { font-size:1.3rem!important; }
  .tl-title { font-size:.95rem!important; }
  /* Cert labels */
  [style*="cert-labels"],[style*="display:flex;flex-wrap:wrap;gap:12px;justify-content:center;margin:24px"] {
    gap:7px!important; justify-content:center!important;
  }
  /* ESG grid */
  .esg-grid { grid-template-columns:1fr!important; gap:14px!important; }
  .esg-card img { height:160px!important; max-height:160px!important; }
  .esg-card { padding:16px!important; padding-top:0!important; }
  /* Cert cards */
  .cert-grid { grid-template-columns:1fr!important; gap:12px!important; }
  /* Partner chips */
  .partner-chips { display:flex!important; flex-wrap:wrap!important; gap:8px!important; }
  .partner-chip { font-size:.75rem!important; padding:7px 12px!important; }
}

/* ── CONTACT ─────────────────────────────────────────────── */
@media (max-width:768px){
  .contact-info-bar { grid-template-columns:1fr!important; gap:12px!important; }
  .info-card { flex-direction:row!important; gap:14px!important; padding:16px!important; }
  .info-label { font-size:.7rem!important; }
  .info-value { font-size:.88rem!important; }
  .contact-form .form-row { grid-template-columns:1fr!important; }
  .contact-form input,
  .contact-form select,
  .contact-form textarea { font-size:16px!important; padding:12px 14px!important; }
  #selectedProdsList { grid-template-columns:1fr!important; gap:10px!important; }
  #selectedProdsArea { padding:16px!important; }
}

/* ── PAGE HERO (breadcrumb pages) ────────────────────────── */
@media (max-width:768px){
  .page-hero { padding:72px 0 32px!important; }
  .page-hero h1 { font-size:1.7rem!important; }
  .page-hero p  { font-size:.88rem!important; }
}

/* ── FOOTER ──────────────────────────────────────────────── */
@media (max-width:768px){
  #aurFooter { padding:24px 0 14px!important; }
  #aurFooter > div { grid-template-columns:1fr!important!important; gap:20px!important; }
  #aurFooter h4 { font-size:.65rem!important; margin-bottom:8px!important; }
  #aurFooter a[href*="mailto"] { font-size:.95rem!important; }
}

/* ── ENQUIRY PANEL ───────────────────────────────────────── */
@media (max-width:500px){
  #enquiryPanel { width:100vw!important; right:-100vw!important; padding:20px 16px!important; }
  #enquiryPanel.open { right:0!important; }
}

/* ── SITEMAP ─────────────────────────────────────────────── */
@media (max-width:768px){
  .sitemap-grid { grid-template-columns:1fr 1fr!important; gap:20px!important; }
}
@media (max-width:480px){
  .sitemap-grid { grid-template-columns:1fr!important; }
}

/* ── TOUCH IMPROVEMENTS ──────────────────────────────────── */
@media (max-width:768px){
  .btn, button, a { -webkit-tap-highlight-color: transparent; }
  input, select, textarea { -webkit-appearance: none; border-radius: 8px; }
  * { -webkit-overflow-scrolling: touch; }
}

/* ── HERO MOBILE: 精简文字，只保留大标题+按钮 ──────────── */
@media (max-width:767px){
  /* 隐藏 eyebrow / 副标题 / 徽章 */
  .hero-eyebrow    { display: none !important; }
  .hero-sub        { display: none !important; }
  .hero-badges     { display: none !important; }
  /* 标题缩小 */
  .hero-title      { font-size: 1.6rem !important; line-height: 1.25 !important; margin-bottom: 20px !important; }
  /* 按钮竖排、全宽 */
  .hero-actions    { flex-direction: column !important; gap: 10px !important; width: 100% !important; }
  .hero-actions .btn { width: 100% !important; justify-content: center !important; padding: 14px !important; font-size: .95rem !important; }
  /* Hero内容减少内边距 */
  .hero-content    { padding: 24px 16px 32px !important; }
}

/* ── Row3 app cards (Oil+Maritime): 手机1列全宽 ─────────── */
@media (max-width: 767px) {
  .app-grid-row3 {
    grid-template-columns: 1fr !important;
  }
  .app-grid-row3 > div:last-child { display: none; } /* 隐藏空占位格 */
}

/* ── 手机端响应式修复 ─────────────────────────────────────── */
@media (max-width: 639px) {
  /* 首页新闻：3列 → 1列 */
  .home-news-grid {
    grid-template-columns: 1fr !important;
  }
  /* About Us 左右分栏：手机端改竖排 */
  .about-split {
    flex-direction: column !important;
  }
  #factoryVideoWrap {
    width: 100% !important;
  }
}

@media (min-width: 640px) and (max-width: 1023px) {
  /* 平板：新闻 2列 */
  .home-news-grid {
    grid-template-columns: repeat(2,1fr) !important;
  }
}

@media (max-width: 639px) {
  /* 全局：所有内联 repeat(3,1fr) 在手机端变1列 */
  [style*="grid-template-columns:repeat(3"] {
    grid-template-columns: 1fr !important;
  }
  [style*="grid-template-columns: repeat(3"] {
    grid-template-columns: 1fr !important;
  }
}

