/* ============================================================
   DriveTech — Car Electronics Design System  BLACK THEME
   Dark background, electric blue accent, orange CTA
   1:1 reproduction of demo framework
   ============================================================ */

/* ---------- Google Fonts ---------- */
@import url('css2.css');

/* ---------- 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;
  --navy:        #0a1628;

  /* Dark theme surfaces */
  --bg:          #0A0A0A;
  --bg-2:        #111111;
  --bg-3:        #181818;
  --bg-4:        #222222;

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

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

  /* Shadows */
  --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;
}
.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-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); }

.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: calc(100vh - 68px); min-height: 480px;
  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); }
.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);
}
.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%
  );
}
.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(--bg-4); 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; }

@media (max-width: 1200px) {
  .container { padding: 0 20px; }
  .about-split { gap: 40px; }
}

@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); }
  .fade-up { opacity: 1 !important; transform: none !important; }
}

@media (max-width: 768px) {
  h1 { font-size: 2.2rem; }
  h2 { font-size: 1.6rem; }
  .section { padding: 56px 0; }
  .cat-grid, .app-grid, .product-grid, .home-news-grid { grid-template-columns: 1fr !important; gap: 16px; }
  .nav-menu { display: none; }
  .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; }
  .ticker-item { flex: 0 0 50%; }
}

@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; }
  .nav-cta { display: none; }
}

/* ---------- ANIMATIONS ---------- */
.fade-up {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 600ms var(--ease), transform 600ms var(--ease);
}
.fade-up.visible { opacity: 1; transform: translateY(0); }
.stagger-1 { transition-delay: 100ms; }
.stagger-2 { transition-delay: 200ms; }
.stagger-3 { transition-delay: 300ms; }

/* ---------- ABOUT / KPI ---------- */
.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; }

/* ---------- 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; }

/* ---------- NEWS ---------- */
.home-news-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.news-card-home {
  background: var(--bg-3); border: 1px solid var(--border);
  border-radius: 12px; overflow: hidden;
  display: flex; flex-direction: column;
  transition: transform 250ms var(--ease), border-color 250ms var(--ease);
}
.news-card-home:hover { transform: translateY(-5px); border-color: rgba(0,102,255,.3); }

/* ---------- NAV (aur) injected styles ---------- */
.aur-nav-link {
  color: rgba(255,255,255,.82); font-size: .88rem; font-weight: 500;
  padding: 8px 15px; border-radius: 6px; display: block;
  transition: color 180ms var(--ease);
}
.aur-nav-link:hover, .aur-nav-link.aur-active { color: var(--white); }
.aur-dd-wrap { position: relative; }
.aur-dd-panel {
  position: absolute; top: 100%; left: 0;
  min-width: 220px;
  background: #0d1117; border: 1px solid rgba(255,255,255,.12);
  border-radius: 10px; padding: 8px;
  box-shadow: 0 16px 48px rgba(0,0,0,.7);
  opacity: 0; visibility: hidden; transform: translateY(8px);
  transition: all 220ms var(--ease);
  z-index: 1000;
}
.aur-dd-wrap.is-hovered .aur-dd-panel { opacity: 1; visibility: visible; transform: translateY(0); }
.aur-dd-item {
  display: block; padding: 8px 14px; border-radius: 6px;
  color: rgba(255,255,255,.7); font-size: .85rem; font-weight: 500;
  transition: background 150ms var(--ease), color 150ms var(--ease);
}
.aur-dd-item:hover { background: rgba(0,102,255,.15); color: var(--white); }
.aur-icon-btn {
  background: none; border: none; cursor: pointer; padding: 6px;
  color: rgba(255,255,255,.8);
  display: flex; align-items: center; justify-content: center;
  border-radius: 6px; transition: all 180ms var(--ease);
}
.aur-icon-btn:hover { background: rgba(255,255,255,.08); color: var(--white); }
.aur-dd-toggle {
  position: absolute; right: 12px; top: 50%; transform: translateY(-50%);
  background: none; border: none; cursor: pointer; color: rgba(255,255,255,.5);
  display: none;
}
