/* ── PERFORMANCE DIRECTIVES ──────────────────────────────────────── */
#hero-img,
#exploded-img,
.ind-img,
.mobile-ui-img,
.buy-product-img {
  will-change: transform, opacity;
  transform: translateZ(0);
}

.section-showcase,
.section-dashboard,
.section-specs {
  contain: layout;
}

/* ── RESET & VARIABLES ───────────────────────────────────────────── */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root,
[data-theme="dark"],
[data-theme="light"] {
  --white: #1e293b;
  --text-rgb: 30, 41, 59;
  --black: #ffffff;
  --void: #f7f9fd;
  --dark-gray: #f1f5f9;
  --panel-bg: rgba(255, 255, 255, 0.85);
  --panel-border: rgba(0, 0, 0, 0.08);
  --blue: #2563eb;
  --cyan: #c9922a;
  --silver: #1e293b;
  --silver-dim: #64748b;
  --green: #16a34a;
  --red: #dc2626;
  --font-display: 'Space Grotesk', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-mono: 'JetBrains Mono', monospace;
  --max-w: 1200px;
  --ease: cubic-bezier(0.16, 1, 0.3, 1);

  /* GPS Theme Accents (Gold / Royal Blue) */
  --accent: #c9922a;
  --accent-2: #2563eb;
  --accent-rgb: 201, 146, 42;
  --accent-dim: rgba(201, 146, 42, 0.12);
  --border-acc: rgba(201, 146, 42, 0.3);
  --accent-gradient: linear-gradient(135deg, #c9922a 0%, #2563eb 100%);
}

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
  background: var(--void);
  transition: background-color 0.4s ease;
}

body {
  font-family: var(--font-body);
  background: var(--void);
  color: var(--white);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  transition: background-color 0.4s ease, color 0.35s ease;
}

/* ── SCROLLBAR ──────────────────────────────────────────────────── */
::-webkit-scrollbar {
  width: 5px;
}

::-webkit-scrollbar-track {
  background: var(--void);
}

::-webkit-scrollbar-thumb {
  background: var(--panel-bg);
  border-radius: 4px;
}

/* ── CONTAINER ──────────────────────────────────────────────────── */
.container {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 40px;
}

@media (max-width: 768px) {
  .container {
    padding: 0 20px;
  }
}

/* ── BUTTONS ────────────────────────────────────────────────────── */
.btn-primary {
  display: inline-flex;
  align-items: center;
  background: var(--void);
  color: var(--white);
  font-size: 15px;
  font-weight: 600;
  padding: 16px 36px;
  border-radius: 100px;
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 30px rgba(var(--text-rgb), 0.25);
}

.btn-primary.large {
  padding: 18px 42px;
  font-size: 16px;
}

.btn-ghost {
  display: inline-flex;
  align-items: center;
  background: rgba(var(--text-rgb), 0.04);
  color: var(--white);
  font-size: 15px;
  font-weight: 500;
  padding: 15px 36px;
  border-radius: 100px;
  border: 1px solid var(--panel-border);
  backdrop-filter: blur(12px);
  transition: background 0.25s, transform 0.25s;
}

.btn-ghost:hover {
  background: rgba(var(--text-rgb), 0.09);
  transform: translateY(-2px);
}

.btn-ghost.large {
  padding: 17px 42px;
  font-size: 16px;
}

/* ── NAVIGATION BAR ─────────────────────────────────────────────── */
.navbar-local-unused {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(5, 7, 10, 0);
  backdrop-filter: blur(0px);
  transition: background 0.4s var(--ease), backdrop-filter 0.4s var(--ease), border-color 0.4s;
  border-bottom: 1px solid transparent;
}

.navbar-local-unused.scrolled {
  background: rgba(5, 7, 10, 0.85);
  backdrop-filter: blur(20px) saturate(140%);
  border-bottom: 1px solid var(--panel-border);
}

.nav-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 40px;
  height: 68px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

@media (max-width: 768px) {
  .nav-inner {
    padding: 0 20px;
  }
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
  font-size: 17px;
  font-weight: 600;
  color: var(--white);
}

.nav-logo-svg {
  width: 20px;
  height: 20px;
  color: var(--cyan);
}

.logo-sep {
  opacity: 0.3;
  font-weight: 300;
}

.logo-product {
  background: linear-gradient(90deg, var(--white), var(--silver));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
}

.nav-links a {
  font-size: 14px;
  color: var(--silver-dim);
  transition: color 0.25s;
}

.nav-links a:hover {
  color: var(--white);
}

.nav-links a.nav-active {
  color: var(--cyan);
}

.btn-buy-nav {
  background: rgba(var(--text-rgb), 0.06);
  border: 1px solid var(--panel-border);
  color: var(--white);
  font-size: 13px;
  font-weight: 600;
  padding: 8px 18px;
  border-radius: 100px;
  transition: background 0.25s, transform 0.2s;
}

.btn-buy-nav:hover {
  background: var(--void);
  color: var(--white);
  transform: scale(1.02);
}

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 4px;
}

.hamburger span {
  width: 20px;
  height: 1.5px;
  background: var(--void);
  display: block;
  transition: transform 0.3s;
}

.nav-mobile {
  display: none;
  background: rgba(5, 7, 10, 0.98);
  padding: 20px 40px;
  border-top: 1px solid var(--panel-border);
}

.nav-mobile ul {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.nav-mobile a {
  display: block;
  font-size: 15px;
  padding: 12px 0;
  color: var(--silver);
  border-bottom: 1px solid rgba(var(--text-rgb), 0.05);
}

.nav-mobile .mobile-cta {
  color: var(--cyan);
  border-bottom: none;
}

@media (max-width: 900px) {
  .nav-links {
    display: none;
  }

  .nav-actions {
    display: none;
  }

  .hamburger {
    display: flex;
  }

  .navbar.mobile-open .nav-mobile {
    display: block;
  }
}

/* ── TYPOGRAPHY & HEADERS ────────────────────────────────────────── */
.section-eyebrow {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--blue);
  margin-bottom: 18px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.section-eyebrow::before {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--blue);
}

.section-eyebrow.light {
  color: var(--cyan);
}

.section-eyebrow.light::before {
  background: var(--cyan);
}

.section-headline {
  font-family: var(--font-display);
  font-size: clamp(38px, 6vw, 68px);
  font-weight: 600;
  line-height: 1.05;
  letter-spacing: -0.02em;
  color: var(--white);
}

.section-headline.light {
  color: var(--white);
}

.section-headline em {
  font-style: italic;
  font-weight: 500;
  color: var(--blue);
}

.section-headline.light em {
  color: var(--cyan);
}

.section-subtitle {
  font-size: 17px;
  line-height: 1.6;
  color: var(--silver-dim);
  max-width: 580px;
  margin-top: 20px;
}

.section-subtitle.light {
  color: var(--silver);
}

/* ── HERO ───────────────────────────────────────────────────────── */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  padding-top: 100px;
  background: var(--void);
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 1;
}

.hero-grid-lines {
  position: absolute;
  inset: 0;
  opacity: 0.2;
  background-image:
    linear-gradient(rgba(var(--text-rgb), 0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(var(--text-rgb), 0.06) 1px, transparent 1px);
  background-size: 50px 50px;
  mask-image: radial-gradient(circle at 50% 50%, black 30%, transparent 80%);
}

.hero-glow {
  position: absolute;
  top: -10%;
  left: 40%;
  width: 50%;
  height: 60%;
  background: radial-gradient(ellipse, rgba(46, 123, 255, 0.18) 0%, transparent 70%);
  filter: blur(50px);
}

.hero-content {
  position: relative;
  z-index: 3;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 40px;
  width: 100%;
}

.hero-eyebrow {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--cyan);
  margin-bottom: 24px;
}

.hero-headline {
  font-family: var(--font-display);
  font-size: clamp(52px, 8vw, 108px);
  font-weight: 600;
  line-height: 0.95;
  letter-spacing: -0.03em;
  color: var(--white);
  margin-bottom: 28px;
  display: flex;
  flex-direction: column;
}

.gradient-text {
  background: linear-gradient(90deg, var(--blue), var(--cyan));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-tagline {
  font-size: clamp(20px, 2.5vw, 32px);
  font-weight: 400;
  color: var(--silver);
  margin-bottom: 14px;
}

.hero-sub {
  font-size: 16px;
  line-height: 1.6;
  color: var(--silver-dim);
  max-width: 460px;
  margin-bottom: 40px;
}

.hero-ctas {
  display: flex;
  gap: 16px;
}

.hero-image-wrap {
  position: relative !important;
  right: auto !important;
  top: auto !important;
  transform: none !important;
  width: 100%;
  max-width: 500px;
  z-index: 2;
}

.hero-img {
  width: 100%;
  height: auto;
  filter: drop-shadow(0 35px 70px rgba(46, 123, 255, 0.3));
  border-radius: 20px;
  background: #fff;
  padding: 16px;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.scroll-indicator {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  z-index: 4;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--silver-dim);
}

.scroll-line {
  width: 1px;
  height: 40px;
  background: linear-gradient(to bottom, rgba(var(--text-rgb), 0.3), transparent);
}

@media (max-width: 960px) {
  .hero {
    flex-direction: column;
    padding-top: 140px;
    padding-bottom: 80px;
    text-align: center;
  }

  .hero-content {
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .hero-sub {
    margin-inline: auto;
  }

  .hero-ctas {
    justify-content: center;
  }

  .hero-image-wrap {
    position: relative;
    right: auto;
    top: auto;
    transform: none;
    width: 80%;
    margin-top: 40px;
  }
}

/* ── WHY GPS TRACKING ────────────────────────────────────────────── */
.section-philosophy {
  background: var(--void);
  color: var(--white);
  padding: 48px 0;
}

.philosophy-header {
  text-align: center;
  margin-bottom: 90px;
}

.philosophy-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  margin-bottom: 90px;
}

.philosophy-block {
  background: var(--panel-bg);
  border: 1px solid var(--panel-border);
  border-radius: 20px;
  padding: 44px 32px;
  transition: transform 0.3s var(--ease), box-shadow 0.3s;
}

.philosophy-block:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 45px rgba(0, 0, 0, 0.06);
}

.philosophy-icon {
  font-size: 28px;
  color: var(--blue);
  margin-bottom: 24px;
}

.philosophy-block h3 {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 600;
  margin-bottom: 14px;
}

.philosophy-block p {
  font-size: 14.5px;
  line-height: 1.65;
  color: var(--silver-dim);
}

.philosophy-statement {
  text-align: center;
  max-width: 820px;
  margin: 0 auto;
  padding: 50px;
  background: var(--panel-bg);
  border: 1px solid var(--panel-border);
  border-radius: 24px;
}

.philosophy-statement blockquote {
  font-family: var(--font-display);
  font-size: 24px;
  font-weight: 500;
  font-style: italic;
  line-height: 1.5;
  margin-bottom: 18px;
  color: var(--white);
}

.philosophy-statement cite {
  font-size: 13px;
  color: var(--silver-dim);
  letter-spacing: 0.05em;
  font-style: normal;
  text-transform: uppercase;
}

@media (max-width: 900px) {
  .philosophy-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .philosophy-statement {
    padding: 30px 20px;
  }
}

/* ── PRODUCT SHOWCASE ───────────────────────────────────────────── */
.section-showcase {
  background: var(--void);
  padding: 48px 0;
}

.showcase-header {
  text-align: center;
  margin-bottom: 32px;
}

.showcase-visual-row {
  display: flex;
  justify-content: center;
}

.showcase-main {
  position: relative;
  max-width: 900px;
  width: 100%;
  border-radius: 28px;
  overflow: hidden;
  border: 1px solid var(--panel-border);
}

.showcase-img {
  width: 100%;
  height: auto;
  display: block;
  background: #fff;
  padding: 32px;
  object-fit: contain;
}

.showcase-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 44px;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.85) 0%, transparent 100%);
  backdrop-filter: blur(4px);
}

.showcase-overlay h3 {
  font-family: var(--font-display);
  font-size: 24px;
  font-weight: 600;
  margin-bottom: 10px;
}

.showcase-overlay p {
  font-size: 14.5px;
  line-height: 1.6;
  color: var(--silver);
  max-width: 520px;
}

@media (max-width: 768px) {
  .showcase-overlay {
    padding: 20px;
  }

  .showcase-overlay h3 {
    font-size: 18px;
  }

  .showcase-overlay p {
    font-size: 13px;
  }
}

/* ── HOW IT WORKS ───────────────────────────────────────────────── */
.section-how {
  background: var(--void);
  color: var(--white);
  padding: 48px 0;
}

.how-header {
  text-align: center;
  margin-bottom: 90px;
}

.how-steps {
  display: flex;
  flex-direction: column;
  gap: 1px;
  background: var(--panel-border);
  border-top: 1px solid var(--panel-border);
  border-bottom: 1px solid var(--panel-border);
}

.how-step {
  display: grid;
  grid-template-columns: 120px 1fr;
  align-items: center;
  padding: 48px 0;
  background: var(--void);
  transition: transform 0.3s var(--ease);
}

.step-num {
  font-family: var(--font-display);
  font-size: 48px;
  font-weight: 600;
  color: rgba(var(--text-rgb), 0.1);
  line-height: 1;
}

.step-content h4 {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 600;
  margin-bottom: 8px;
}

.step-content p {
  font-size: 15px;
  color: var(--silver-dim);
  max-width: 620px;
}

@media (max-width: 768px) {
  .how-step {
    grid-template-columns: 1fr;
    gap: 14px;
    padding: 30px 0;
  }

  .step-num {
    font-size: 36px;
  }
}

/* ── GPS TECH ───────────────────────────────────────────────────── */
.section-gps-tech {
  background: var(--void);
  padding: 48px 0;
  border-bottom: 1px solid var(--panel-border);
}

.gps-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.gps-info .body-text {
  font-size: 16px;
  line-height: 1.65;
  color: var(--silver-dim);
  margin-top: 24px;
}

.gps-stats-list {
  display: flex;
  flex-direction: column;
  gap: 24px;
  margin-top: 40px;
}

.gps-stat-box {
  border-left: 2px solid var(--cyan);
  padding-left: 20px;
}

.gps-val {
  display: block;
  font-family: var(--font-mono);
  font-size: 26px;
  font-weight: 600;
  color: var(--white);
}

.gps-lbl {
  font-size: 13px;
  color: var(--silver-dim);
}

.gps-graphics {
  display: flex;
  justify-content: center;
}

.graphics-card {
  position: relative;
  width: 100%;
  max-width: 440px;
  aspect-ratio: 16/10;
  background: linear-gradient(135deg, rgba(var(--text-rgb), 0.02) 0%, rgba(var(--text-rgb), 0.06) 100%);
  border: 1px solid var(--panel-border);
  border-radius: 24px;
  overflow: hidden;
  padding: 30px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}

.radar-line {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--cyan), transparent);
  animation: radarScan 3.5s infinite linear;
}

@keyframes radarScan {
  0% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(220px);
  }

  100% {
    transform: translateY(0);
  }
}

.graphics-inner {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.g-signal {
  font-family: var(--font-mono);
  font-size: 14px;
  color: var(--cyan);
  font-weight: 600;
}

.g-meta {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--silver-dim);
}

.g-status {
  font-family: var(--font-mono);
  font-size: 11px;
  margin-top: 8px;
}

.g-status.green {
  color: var(--green);
}

@media (max-width: 900px) {
  .gps-grid {
    grid-template-columns: 1fr;
    gap: 48px;
  }
}

/* ── WEB DASHBOARD ──────────────────────────────────────────────── */
.section-dashboard {
  background: var(--void);
  padding: 48px 0;
}

.dash-header {
  text-align: center;
  margin-bottom: 32px;
}

.dashboard-mockup {
  display: grid;
  grid-template-columns: 240px 1fr;
  background: var(--panel-bg);
  border: 1px solid var(--panel-border);
  border-radius: 28px;
  overflow: hidden;
  aspect-ratio: 16/9;
  min-height: 520px;
}

.dash-sidebar {
  background: var(--void);
  border-right: 1px solid var(--panel-border);
  padding: 32px 24px;
}

.ds-logo {
  font-family: var(--font-display);
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 40px;
}

.ds-menu {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.ds-menu li {
  font-size: 13.5px;
  color: var(--silver-dim);
  padding: 10px 14px;
  border-radius: 8px;
  cursor: pointer;
  transition: background 0.2s, color 0.2s;
}

.ds-menu li.active,
.ds-menu li:hover {
  background: rgba(var(--text-rgb), 0.06);
  color: var(--white);
}

.dash-body {
  padding: 40px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.dash-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 30px;
}

.dash-sync-badge {
  font-family: var(--font-mono);
  font-size: 10px;
  color: var(--green);
  background: rgba(39, 174, 96, 0.1);
  padding: 4px 10px;
  border-radius: 4px;
}

.dash-metrics {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-bottom: 40px;
}

.dmetric-card {
  background: rgba(var(--text-rgb), 0.02);
  border: 1px solid var(--panel-border);
  padding: 24px 20px;
  border-radius: 16px;
}

.dm-val {
  display: block;
  font-family: var(--font-mono);
  font-size: 26px;
  font-weight: 600;
}

.dm-lbl {
  font-size: 12px;
  color: var(--silver-dim);
  margin-top: 6px;
}

.dash-timeline-box {
  background: rgba(var(--text-rgb), 0.01);
  border: 1px solid var(--panel-border);
  border-radius: 20px;
  padding: 24px;
}

.dash-timeline-box h5 {
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 16px;
}

.dash-log-row {
  display: grid;
  grid-template-columns: 120px 1fr 1fr 120px;
  padding: 12px 0;
  border-bottom: 1px solid rgba(var(--text-rgb), 0.04);
  font-size: 13.5px;
}

.dash-log-row:last-child {
  border-bottom: none;
}

.dl-time {
  font-family: var(--font-mono);
  color: var(--silver-dim);
}

.dl-name {
  font-weight: 500;
}

.dl-dept {
  color: var(--silver-dim);
}

.dl-status {
  font-weight: 600;
  text-align: right;
}

.dl-status.green {
  color: var(--green);
}

.dl-status.yellow {
  color: #f39c12;
}

.dl-status.red {
  color: var(--red);
}

@media (max-width: 960px) {
  .dashboard-mockup {
    grid-template-columns: 1fr;
    aspect-ratio: auto;
  }

  .dash-sidebar {
    display: none;
  }

  .dash-metrics {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 480px) {
  .dash-metrics {
    grid-template-columns: 1fr;
  }

  .dash-log-row {
    grid-template-columns: 1fr 1fr;
    gap: 8px;
  }

  .dl-dept,
  .dl-time {
    display: none;
  }
}

/* ── MOBILE APP ─────────────────────────────────────────────────── */
.section-mobile {
  background: var(--void);
  padding: 48px 0;
  border-bottom: 1px solid var(--panel-border);
}

.mobile-grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 80px;
  align-items: center;
}

.mobile-visual {
  display: flex;
  justify-content: center;
}

.mobile-ui-img {
  width: 100%;
  max-width: 480px;
  height: auto;
  border-radius: 40px;
  filter: drop-shadow(0 30px 60px rgba(0, 0, 0, 0.6));
}

.mobile-info .body-text {
  font-size: 16px;
  line-height: 1.65;
  color: var(--silver-dim);
  margin-top: 24px;
}

.mobile-bullets {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-top: 36px;
}

.mobile-bullets li {
  font-size: 14.5px;
  line-height: 1.6;
  color: var(--silver);
  position: relative;
  padding-left: 20px;
}

.mobile-bullets li::before {
  content: '●';
  position: absolute;
  left: 0;
  top: 0;
  color: var(--cyan);
}

@media (max-width: 900px) {
  .mobile-grid {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .mobile-visual {
    order: -1;
  }
}

/* ── INDUSTRIES ─────────────────────────────────────────────────── */
.section-industries {
  background: var(--void);
  padding: 48px 0;
}

.industries-header {
  text-align: center;
  margin-bottom: 32px;
}

.ind-showcase-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.ind-card {
  background: var(--panel-bg);
  border: 1px solid var(--panel-border);
  border-radius: 24px;
  overflow: hidden;
  transition: transform 0.3s var(--ease), border-color 0.3s;
}

.ind-card:hover {
  transform: translateY(-6px);
  border-color: rgba(79, 227, 255, 0.3);
}

.ind-img {
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
}

.ind-content {
  padding: 30px;
}

.ind-badge {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 10.5px;
  color: var(--cyan);
  background: rgba(79, 227, 255, 0.08);
  padding: 4px 10px;
  border-radius: 4px;
  margin-bottom: 16px;
}

.ind-content h4 {
  font-family: var(--font-display);
  font-size: 20px;
  margin-bottom: 10px;
}

.ind-content p {
  font-size: 13.5px;
  line-height: 1.6;
  color: var(--silver-dim);
}

@media (max-width: 900px) {
  .ind-showcase-row {
    grid-template-columns: 1fr;
    gap: 24px;
  }
}

/* ── AI FEATURES ────────────────────────────────────────────────── */
.section-ai-features {
  background: var(--void);
  color: var(--white);
  padding: 48px 0;
}

.ai-header {
  text-align: center;
  margin-bottom: 32px;
}

.ai-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.ai-card {
  background: var(--panel-bg);
  border: 1px solid var(--panel-border);
  border-radius: 20px;
  padding: 36px 30px;
  transition: transform 0.3s var(--ease);
}

.ai-card:hover {
  transform: translateY(-4px);
}

.ai-card-icon {
  font-size: 26px;
  color: var(--blue);
  margin-bottom: 20px;
}

.ai-card h4 {
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 10px;
}

.ai-card p {
  font-size: 14px;
  line-height: 1.6;
  color: var(--silver-dim);
}

@media (max-width: 900px) {
  .ai-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 600px) {
  .ai-grid {
    grid-template-columns: 1fr;
  }
}

/* ── CLOUD PLATFORM ─────────────────────────────────────────────── */
.section-cloud {
  background: var(--void);
  padding: 48px 0;
  border-bottom: 1px solid var(--panel-border);
}

.cloud-grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 80px;
  align-items: center;
}

.cloud-info .body-text {
  font-size: 16px;
  line-height: 1.65;
  color: var(--silver-dim);
  margin-top: 24px;
}

.cloud-checks {
  display: flex;
  flex-direction: column;
  gap: 18px;
  margin-top: 36px;
}

.cloud-checks li {
  font-size: 14.5px;
  color: var(--silver);
  position: relative;
  padding-left: 24px;
}

.cloud-checks li::before {
  content: '✓';
  position: absolute;
  left: 0;
  top: 0;
  color: var(--cyan);
  font-weight: 700;
}

.cloud-visual {
  display: flex;
  justify-content: center;
}

.cloud-database-card {
  width: 100%;
  max-width: 440px;
  background: var(--panel-bg);
  border: 1px solid var(--panel-border);
  border-radius: 20px;
  padding: 24px;
}

.db-line {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--cyan);
  border-bottom: 1px solid var(--panel-border);
  padding-bottom: 14px;
  margin-bottom: 16px;
}

.db-logs {
  font-family: var(--font-mono);
  font-size: 11.5px;
  color: var(--silver-dim);
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.db-logs span {
  display: block;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

@media (max-width: 900px) {
  .cloud-grid {
    grid-template-columns: 1fr;
    gap: 48px;
  }
}

/* ── TECHNICAL SPECIFICATIONS ────────────────────────────────────── */
.section-specs {
  background: var(--void);
  padding: 48px 0;
}

.specs-header {
  text-align: center;
  margin-bottom: 32px;
}

.specs-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.spec-card {
  background: var(--panel-bg);
  border: 1px solid var(--panel-border);
  border-radius: 20px;
  padding: 32px 24px;
  transition: transform 0.3s var(--ease), border-color 0.3s;
}

.spec-card:hover {
  transform: translateY(-4px);
  border-color: rgba(79, 227, 255, 0.3);
}

.spec-icon {
  font-size: 24px;
  margin-bottom: 18px;
}

.spec-label {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--silver-dim);
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin-bottom: 8px;
}

.spec-value {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 600;
  color: var(--white);
  margin-bottom: 4px;
}

.spec-detail {
  font-size: 12.5px;
  color: var(--silver-dim);
}

@media (max-width: 960px) {
  .specs-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 480px) {
  .specs-grid {
    grid-template-columns: 1fr;
  }
}

/* ── SECURITY ───────────────────────────────────────────────────── */
.section-security {
  background: var(--void);
  color: var(--white);
  padding: 48px 0;
}

.sec-header {
  text-align: center;
  margin-bottom: 32px;
}

.sec-header .section-subtitle {
  margin-inline: auto;
}

.sec-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

.sec-card {
  background: var(--panel-bg);
  border: 1px solid var(--panel-border);
  border-radius: 20px;
  padding: 36px 30px;
}

.sec-card h4 {
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 12px;
}

.sec-card p {
  font-size: 14px;
  line-height: 1.6;
  color: var(--silver-dim);
}

@media (max-width: 900px) {
  .sec-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
}

/* ── COMPARISON TABLE ───────────────────────────────────────────── */
.section-compare {
  background: var(--void);
  padding: 48px 0;
}

.compare-header {
  text-align: center;
  margin-bottom: 32px;
}

.compare-table-wrap {
  overflow-x: auto;
  border-radius: 24px;
  border: 1px solid var(--panel-border);
}

.compare-table {
  width: 100%;
  border-collapse: collapse;
  background: var(--panel-bg);
}

.compare-table th,
.compare-table td {
  padding: 22px 26px;
  text-align: left;
  font-size: 14.5px;
  border-bottom: 1px solid var(--panel-border);
}

.compare-table thead th {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--silver-dim);
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.compare-table thead th.col-ds {
  color: var(--cyan);
  font-weight: 600;
}

.compare-table tbody td:first-child {
  font-weight: 500;
}

.ds-val {
  color: var(--cyan);
  font-weight: 600;
}

.bad-val {
  color: var(--silver-dim);
}

.compare-table tbody tr:hover {
  background: rgba(var(--text-rgb), 0.01);
}

/* ── WHAT'S INCLUDED ───────────────────────────────────────────── */
.section-included {
  background: var(--void);
  padding: 48px 0;
  border-bottom: 1px solid var(--panel-border);
}

.included-header {
  text-align: center;
  margin-bottom: 32px;
}

.included-header .section-subtitle {
  color: var(--silver-dim);
  max-width: 520px;
  margin: 20px auto 0;
}

.included-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 20px;
}

.included-card {
  background: var(--panel-bg);
  border: 1px solid var(--panel-border);
  border-radius: 16px;
  padding: 28px 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 10px;
  transition: transform 0.3s var(--ease), border-color 0.3s, box-shadow 0.3s;
}

.included-card:hover {
  transform: translateY(-6px);
  border-color: var(--cyan);
  box-shadow: 0 12px 40px rgba(var(--text-rgb), 0.08);
}

.included-icon {
  font-size: 32px;
  margin-bottom: 6px;
  line-height: 1;
}

.included-label {
  font-family: var(--font-display);
  font-size: 14.5px;
  font-weight: 600;
  color: var(--white);
  line-height: 1.3;
}

.included-desc {
  font-size: 12.5px;
  line-height: 1.5;
  color: var(--silver-dim);
}

@media (max-width: 960px) {
  .included-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 600px) {
  .included-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
  }

  .included-card {
    padding: 20px 14px;
  }
}

/* ── TESTIMONIALS ───────────────────────────────────────────────── */
.section-testimonials {
  background: var(--void);
  padding: 48px 0;
  border-bottom: 1px solid var(--panel-border);
}

.testimonials-header {
  text-align: center;
  margin-bottom: 32px;
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.tcard {
  background: var(--panel-bg);
  border: 1px solid var(--panel-border);
  border-radius: 24px;
  padding: 40px 32px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 320px;
}

.tcard-stars {
  color: #f39c12;
  font-size: 13px;
  letter-spacing: 2px;
  margin-bottom: 20px;
}

.tcard blockquote {
  font-size: 15px;
  line-height: 1.65;
  color: var(--silver);
  font-style: italic;
  margin-bottom: 30px;
}

.tcard-author {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: auto;
}

.tcard-avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  color: #ffffff;
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: center;
}

.tcard-info {
  display: flex;
  flex-direction: column;
}

.tcard-name {
  font-size: 14px;
  font-weight: 600;
  color: var(--white);
}

.tcard-company {
  font-size: 12px;
  color: var(--silver-dim);
}

@media (max-width: 900px) {
  .testimonials-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }
}

/* ── FAQ ACCORDION ──────────────────────────────────────────────── */
.section-faq {
  background: var(--void);
  padding: 48px 0;
}

.faq-header {
  text-align: center;
  margin-bottom: 32px;
}

.faq-list {
  max-width: 800px;
  margin: 0 auto;
}

.faq-item {
  border-bottom: 1px solid var(--panel-border);
}

.faq-q {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 24px 0;
  background: transparent;
  color: var(--white);
  text-align: left;
  font-size: 16px;
  font-weight: 500;
  border: none;
  cursor: pointer;
  transition: color 0.25s;
}

.faq-q:hover {
  color: var(--cyan);
}

.faq-q[aria-expanded="true"] {
  color: var(--cyan);
}

.faq-chevron {
  font-size: 22px;
  color: var(--silver-dim);
  transition: transform 0.3s;
}

.faq-q[aria-expanded="true"] .faq-chevron {
  transform: rotate(45deg);
  color: var(--cyan);
}

.faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s var(--ease);
}

.faq-a p {
  padding: 0 0 24px 0;
  font-size: 14.5px;
  line-height: 1.65;
  color: var(--silver-dim);
}

/* ── EXPLODED VIEW SECTION ───────────────────────────────────────── */
.section-exploded {
  background: var(--void);
  padding: 48px 0;
}

.exploded-header {
  text-align: center;
  margin-bottom: 32px;
}

.exploded-wrap {
  display: flex;
  justify-content: center;
  background: radial-gradient(circle at 50% 50%, rgba(46, 123, 255, 0.06), transparent 70%);
}

.exploded-img {
  width: 100%;
  max-width: 800px;
  height: auto;
  border-radius: 20px;
  filter: drop-shadow(0 20px 50px rgba(0, 0, 0, 0.5));
}

/* ── FINAL BUY / CTA ────────────────────────────────────────────── */
.section-buy {
  background: var(--void);
  padding: 48px 0;
  position: relative;
  overflow: hidden;
}

.buy-grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 80px;
  align-items: center;
}

.buy-image {
  position: relative;
  display: flex;
  justify-content: center;
}

.buy-product-img {
  width: 100%;
  max-width: 480px;
  height: auto;
  filter: drop-shadow(0 35px 70px rgba(46, 123, 255, 0.25));
  border-radius: 20px;
  background: #fff;
  padding: 20px;
  object-fit: contain;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.buy-img-glow {
  position: absolute;
  bottom: 0;
  width: 60%;
  height: 30%;
  background: radial-gradient(ellipse, rgba(46, 123, 255, 0.2), transparent);
  filter: blur(40px);
}

.buy-content .buy-sub {
  font-size: 16.5px;
  line-height: 1.65;
  color: var(--silver-dim);
  margin-top: 24px;
}

.buy-actions {
  display: flex;
  gap: 16px;
  margin-top: 40px;
  flex-wrap: wrap;
}

@media (max-width: 900px) {
  .buy-grid {
    grid-template-columns: 1fr;
    gap: 48px;
    text-align: center;
  }

  .buy-actions {
    justify-content: center;
  }
}

/* ── FOOTER ─────────────────────────────────────────────────────── */
.footer {
  background: var(--void);
  border-top: 1px solid var(--panel-border);
  padding: 80px 0 40px;
}

.footer-top {
  display: grid;
  grid-template-columns: 1.5fr 3fr;
  gap: 80px;
  margin-bottom: 60px;
}

.footer-brand p {
  font-size: 13.5px;
  line-height: 1.6;
  color: var(--silver-dim);
  margin-top: 18px;
  max-width: 280px;
}

.footer-logo {
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 600;
}

.footer-links-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
}

.footer-col h5 {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--silver-dim);
  text-transform: uppercase;
  margin-bottom: 20px;
}

.footer-col ul {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-col a {
  font-size: 14px;
  color: var(--silver);
  transition: color 0.25s;
}

.footer-col a:hover {
  color: var(--white);
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-top: 1px solid rgba(var(--text-rgb), 0.05);
  padding-top: 30px;
  font-size: 12px;
  color: var(--silver-dim);
  flex-wrap: wrap;
  gap: 16px;
}

@media (max-width: 900px) {
  .footer-top {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .footer-links-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 600px) {
  .footer-links-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }
}

/* ── REVEALS & STATES ────────────────────────────────────────────── */
.reveal-text,
.reveal-up,
.reveal-left,
.reveal-right,
.reveal-fade,
.reveal-scale {
  opacity: 0;
}

.reveal-text {
  transform: translateY(24px);
}

.reveal-up {
  transform: translateY(32px);
}

.reveal-left {
  transform: translateX(-32px);
}

.reveal-right {
  transform: translateX(32px);
}

.reveal-scale {
  transform: scale(0.95);
}

/* Animation active class names added by IntersectionObserver */
.reveal-text.is-visible,
.reveal-up.is-visible {
  opacity: 1;
  transform: translateY(0);
  transition: opacity 0.8s var(--ease), transform 0.8s var(--ease);
  transition-delay: var(--delay, 0s);
}

.reveal-left.is-visible,
.reveal-right.is-visible {
  opacity: 1;
  transform: translate(0);
  transition: opacity 0.8s var(--ease), transform 0.8s var(--ease);
  transition-delay: var(--delay, 0s);
}

.reveal-fade.is-visible {
  opacity: 1;
  transition: opacity 1s var(--ease);
  transition-delay: var(--delay, 0s);
}

.reveal-scale.is-visible {
  opacity: 1;
  transform: scale(1);
  transition: opacity 0.8s var(--ease), transform 0.8s var(--ease);
  transition-delay: var(--delay, 0s);
}

/* ── READABILITY & CONTRAST ADJUSTMENTS ─────────────────────────── */

/* 1. Ensure high contrast in Light-themed sections */
.section-philosophy,
.section-how,
.section-ai-features,
.section-security {
  color: var(--white);
}

.section-philosophy .section-subtitle,
.section-how .section-subtitle,
.section-ai-features .section-subtitle,
.section-security .section-subtitle {
  color: var(--silver-dim) !important;
}

.philosophy-block p,
.step-content p,
.ai-card p,
.sec-card p {
  color: var(--silver) !important;
}

.philosophy-statement cite {
  color: var(--silver-dim) !important;
}

/* 2. Improve dim text readability in Dark-themed sections */
.section-showcase .section-subtitle,
.section-rfid-tech .body-text,
.section-dashboard .section-subtitle,
.section-mobile .body-text,
.section-cloud .body-text {
  color: var(--silver-dim);
}

.spec-detail,
.dmetric-card .dm-lbl,
.dash-log-row .dl-dept,
.dash-log-row .dl-time,
.db-logs,
.faq-a p {
  color: var(--silver-dim) !important;
}

.tcard blockquote {
  color: var(--silver);
}

.tcard-company {
  color: var(--silver-dim);
}

.compare-table tbody td:first-child {
  color: var(--white);
}

.bad-val {
  color: var(--silver-dim);
}

/* 3. Automatic Header & Eyebrow colors for Dark Sections */
.section-showcase .section-headline,
.section-gps-tech .section-headline,
.section-dashboard .section-headline,
.section-mobile .section-headline,
.section-industries .section-headline,
.section-cloud .section-headline,
.section-specs .section-headline,
.section-compare .section-headline,
.section-testimonials .section-headline,
.section-included .section-headline,
.section-faq .section-headline,
.section-exploded .section-headline,
.section-buy .section-headline {
  color: var(--white) !important;
}

.section-showcase .section-eyebrow,
.section-gps-tech .section-eyebrow,
.section-dashboard .section-eyebrow,
.section-mobile .section-eyebrow,
.section-industries .section-eyebrow,
.section-cloud .section-eyebrow,
.section-specs .section-eyebrow,
.section-compare .section-eyebrow,
.section-testimonials .section-eyebrow,
.section-included .section-eyebrow,
.section-faq .section-eyebrow,
.section-exploded .section-eyebrow,
.section-buy .section-eyebrow {
  color: var(--cyan) !important;
}

.section-showcase .section-eyebrow::before,
.section-gps-tech .section-eyebrow::before,
.section-dashboard .section-eyebrow::before,
.section-mobile .section-eyebrow::before,
.section-industries .section-eyebrow::before,
.section-cloud .section-eyebrow::before,
.section-specs .section-eyebrow::before,
.section-compare .section-eyebrow::before,
.section-testimonials .section-eyebrow::before,
.section-included .section-eyebrow::before,
.section-faq .section-eyebrow::before,
.section-exploded .section-eyebrow::before,
.section-buy .section-eyebrow::before {
  background: var(--cyan) !important;
}

/* ── GLOBAL RESPONSIVE FIXES ── */
@media (max-width: 960px) {

  .section-philosophy,
  .section-showcase,
  .section-how,
  .section-gps-tech,
  .section-dashboard,
  .section-mobile,
  .section-industries,
  .section-ai-features,
  .section-cloud,
  .section-specs,
  .section-security,
  .section-compare,
  .section-testimonials,
  .section-included,
  .section-faq,
  .section-exploded,
  .section-buy {
    padding: 36px 0 !important;
  }
}

@media (max-width: 768px) {

  .section-philosophy,
  .section-showcase,
  .section-how,
  .section-gps-tech,
  .section-dashboard,
  .section-mobile,
  .section-industries,
  .section-ai-features,
  .section-cloud,
  .section-specs,
  .section-security,
  .section-compare,
  .section-testimonials,
  .section-faq,
  .section-exploded,
  .section-buy {
    padding: 28px 0 !important;
  }

  .section-headline {
    font-size: clamp(32px, 8vw, 42px) !important;
    line-height: 1.15;
  }

  .section-subtitle {
    font-size: 15px;
  }

  .philosophy-icon {
    margin-bottom: 16px;
  }

  .philosophy-block {
    padding: 30px 20px;
  }
}

@media (max-width: 600px) {
  .hero-eyebrow {
    font-size: 10px;
  }

  .hero-headline {
    font-size: 42px !important;
  }

  .hero-tagline {
    font-size: 18px;
  }

  .hero-sub {
    font-size: 14px;
    margin-bottom: 24px;
  }

  .hero-ctas {
    flex-direction: column;
    width: 100%;
    gap: 10px;
  }

  .hero-ctas .btn-primary,
  .hero-ctas .btn-ghost {
    width: 100%;
    text-align: center;
    justify-content: center;
  }

  .hero {
    padding-top: 100px;
    padding-bottom: 60px;
  }

  .scroll-indicator {
    display: none;
  }

  .nav-logo-svg {
    width: 16px;
    height: 16px;
  }

  .nav-logo {
    font-size: 15px;
  }

  .buy-actions {
    flex-direction: column;
    width: 100%;
  }

  .buy-actions .btn-primary,
  .buy-actions .btn-ghost {
    width: 100%;
    text-align: center;
    justify-content: center;
  }

  .gps-stats-list {
    gap: 16px;
  }
}


/* ================================================================
   TRACKIFY — FINAL GLOBAL LIGHT / DARK THEME CONSISTENCY LAYER
   ================================================================ */

:root,
[data-theme="dark"],
[data-theme="light"] {
  --page-bg: #f7f9fd;
  --section-bg: transparent;
  --surface-bg: #ffffff;
  --card-bg: #ffffff;
  --card-hover: #f8fafc;
  --heading-color: #1e293b;
  --body-color: #475569;
  --muted-color: #64748b;
  --theme-border: rgba(0, 0, 0, 0.08);
}

/* Page */
html {
  background-color: #f7f9fd !important;
}

body {
  background: transparent !important;
  color: var(--heading-color) !important;
}

/* All page sections */
.hero,
.section-philosophy,
.section-showcase,
.section-how,
.section-gps-tech,
.section-dashboard,
.section-mobile,
.section-industries,
.section-ai-features,
.section-cloud,
.section-specs,
.section-security,
.section-compare,
.section-testimonials,
.section-included,
.section-faq,
.section-exploded,
.section-buy,
.section-wiring,
.contact-cta-section {
  background: var(--section-bg) !important;
  color: var(--heading-color) !important;
  border-color: var(--theme-border) !important;
}

/* Text */
.section-headline,
.section-headline.light,
.hero-headline,
.hero-tagline,
.philosophy-block h3,
.step-content h4,
.gps-val,
.ds-logo,
.dash-top h4,
.dash-timeline-box h5,
.mobile-bullets strong,
.cloud-checks strong,
.ai-card h4,
.sec-card h4,
.spec-value,
.included-label,
.tcard-name,
.faq-q,
.buy-content .section-headline,
.contact-cta-section .section-headline {
  color: var(--heading-color) !important;
}

.section-subtitle,
.section-subtitle.light,
.hero-sub,
.philosophy-block p,
.step-content p,
.gps-info .body-text,
.mobile-info .body-text,
.mobile-bullets li,
.cloud-info .body-text,
.cloud-checks li,
.ai-card p,
.sec-card p,
.spec-detail,
.ind-content p,
.included-desc,
.tcard blockquote,
.buy-content .buy-sub,
.contact-cta-section p {
  color: var(--body-color) !important;
}

.spec-label,
.dmetric-card .dm-lbl,
.dash-log-row .dl-dept,
.dash-log-row .dl-time,
.db-logs,
.tcard-company,
.footer-bottom,
.faq-a p {
  color: var(--muted-color) !important;
}

/* Accent */
.section-eyebrow,
.section-eyebrow.light,
.section-eyebrow::before,
.section-eyebrow.light::before {
  color: var(--accent) !important;
  background-color: var(--accent) !important;
}

.section-eyebrow::before,
.section-eyebrow.light::before {
  background: var(--accent) !important;
}

.section-headline em,
.section-headline.light em {
  color: var(--accent) !important;
}

.gradient-text {
  background: linear-gradient(90deg, var(--accent-2), var(--accent));
  -webkit-background-clip: text;
  background-clip: text;
}

/* Cards / surfaces */
.philosophy-block,
.philosophy-statement,
.graphics-card,
.dashboard-mockup,
.dmetric-card,
.dash-timeline-box,
.ai-card,
.sec-card,
.spec-card,
.included-card,
.ind-card,
.tcard,
.compare-table-wrap,
.compare-table,
.cloud-database-card,
.wiring-card {
  background: var(--card-bg) !important;
  border-color: var(--theme-border) !important;
}

.philosophy-block:hover,
.ai-card:hover,
.spec-card:hover,
.included-card:hover,
.ind-card:hover {
  background: var(--card-hover) !important;
}

/* Dashboard */
.dash-sidebar,
.dash-body,
.how-step {
  background: var(--section-bg) !important;
  color: var(--heading-color) !important;
}

.ds-menu li {
  color: var(--muted-color) !important;
}

.ds-menu li.active,
.ds-menu li:hover {
  background: rgba(var(--text-rgb), .06) !important;
  color: var(--heading-color) !important;
}

/* Tables */
.compare-table th,
.compare-table td {
  color: var(--body-color) !important;
  border-color: var(--theme-border) !important;
}

.compare-table thead th,
.compare-table tbody td:first-child {
  color: var(--heading-color) !important;
}

.compare-table thead th.col-ds,
.ds-val {
  color: var(--accent) !important;
}

.bad-val {
  color: var(--muted-color) !important;
}

/* Buttons */
.btn-primary {
  background: var(--heading-color) !important;
  color: var(--page-bg) !important;
}

.btn-ghost {
  background: transparent !important;
  color: var(--heading-color) !important;
  border-color: var(--theme-border) !important;
}

.btn-ghost:hover {
  background: rgba(var(--text-rgb), .08) !important;
}

/* Hero */
.hero-grid-lines {
  opacity: .15;
}

[data-theme="light"] .hero-grid-lines {
  opacity: .08;
}

[data-theme="light"] .hero-glow {
  opacity: .45;
}

/* Navbar used by this HTML */
[data-theme="light"] .site-header {
  background: rgba(255, 255, 255, .90) !important;
  border-bottom-color: rgba(0, 0, 0, .08) !important;
}

[data-theme="dark"] .site-header {
  background: rgba(8, 9, 12, .90) !important;
  border-bottom-color: rgba(255, 255, 255, .08) !important;
}

[data-theme="light"] .ss-nav-links a {
  color: #374151 !important;
}

[data-theme="light"] .ss-nav-links a:hover {
  color: #0056b3 !important;
}

[data-theme="dark"] .ss-nav-links a {
  color: #c7ccd1 !important;
}

[data-theme="dark"] .ss-nav-links a:hover {
  color: #ffffff !important;
}

/* Theme toggle */
.theme-toggle {
  color: var(--heading-color) !important;
  border-color: var(--theme-border) !important;
  background: var(--card-bg) !important;
}

/* Inline-style protection: remove accidental dark full-section backgrounds in light mode */
[data-theme="light"] #wiring-guide,
[data-theme="light"] .contact-cta-section,
[data-theme="light"] footer {
  background: #ffffff !important;
  color: #111827 !important;
}

[data-theme="light"] #wiring-guide *,
[data-theme="light"] .contact-cta-section *,
[data-theme="light"] footer * {
  color: inherit;
}

[data-theme="light"] #wiring-guide .section-eyebrow,
[data-theme="light"] #wiring-guide .section-eyebrow::before {
  color: var(--accent) !important;
  background-color: var(--accent) !important;
}

[data-theme="light"] #wiring-guide .wiring-card {
  background: #ffffff !important;
  border-color: rgba(0, 0, 0, .10) !important;
}

[data-theme="light"] #wiring-guide .wiring-img-wrap {
  border-color: rgba(0, 0, 0, .10) !important;
}

[data-theme="light"] footer a {
  color: #374151 !important;
}

[data-theme="light"] footer a:hover {
  color: #0056b3 !important;
}

/* Keep product photographs/images themselves unchanged. */
.hero-img,
.showcase-img,
.mobile-ui-img,
.ind-img,
.exploded-img,
.buy-product-img,
.wiring-img-wrap img {
  background: transparent;
}

/* Responsive */
@media (max-width: 768px) {

  .container,
  .hero-content {
    padding-left: 20px;
    padding-right: 20px;
  }
}


/* Wiring section */
.section-wiring {
  padding: 48px 0 28px;
  border-top: 1px solid var(--theme-border);
}

.wiring-header {
  text-align: center;
  margin-bottom: 60px;
}

.wiring-subtitle {
  max-width: 600px;
  margin: 20px auto 0;
}

.wiring-grid {
  display: grid;
  grid-template-columns: 1fr;
  max-width: 800px;
  margin: 40px auto 0;
}

.wiring-card {
  padding: 30px;
  border-radius: 12px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.wiring-card h3 {
  color: var(--heading-color);
  font-size: 20px;
  font-weight: 600;
  margin-bottom: 5px;
}

.wiring-img-wrap {
  aspect-ratio: 16 / 9;
  overflow: hidden;
  border-radius: 8px;
  border: 1px solid var(--theme-border);
}

.wiring-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.wiring-description {
  color: var(--body-color);
  font-size: 14px;
  line-height: 1.6;
}

.wiring-link {
  color: var(--accent) !important;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  width: fit-content;
  margin-top: auto;
}

/* Contact CTA */
.contact-cta-section {
  padding: 60px 0;
  text-align: center;
}

.contact-cta-title {
  font-size: clamp(28px, 4vw, 42px);
  margin-bottom: 16px;
  font-weight: 800;
}

.contact-cta-text {
  color: var(--body-color);
  margin-bottom: 32px;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
  font-size: 17px;
  line-height: 1.6;
}

/* Footer */
.site-footer {
  background: var(--section-bg) !important;
  border-top: 1px solid var(--theme-border);
  margin-top: 0;
  padding: 64px 0 40px;
}

[data-theme="light"] .site-footer {
  color: #111827 !important;
}

[data-theme="dark"] .site-footer {
  color: #ffffff !important;
}

/* ── PRODUCT GALLERY SECTION ─────────────────────────────────────── */
.section-gallery {
  padding: 120px 0;
  background: var(--void);
  position: relative;
  overflow: hidden;
}

.section-gallery::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--accent), transparent);
  opacity: 0.3;
}

.gallery-header {
  text-align: center;
  margin-bottom: 64px;
}

.gallery-header .section-subtitle {
  max-width: 600px;
  margin: 16px auto 0;
  color: var(--silver-dim);
  font-size: 1rem;
  line-height: 1.6;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  max-width: 1100px;
  margin: 0 auto;
}

.gallery-item {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  transition: all 0.4s var(--ease);
  cursor: pointer;
}

.gallery-item:hover {
  border-color: rgba(var(--accent-rgb, 0, 229, 255), 0.3);
  transform: translateY(-4px);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4), 0 0 30px rgba(0, 229, 255, 0.08);
}

.gallery-item-large {
  grid-row: span 2;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
  padding: 20px;
  background: #fff;
  transition: transform 0.6s var(--ease);
}

.gallery-item:hover img {
  transform: scale(1.03);
}

.gallery-label {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 16px 20px;
  background: linear-gradient(transparent, rgba(0, 0, 0, 0.85));
  color: #fff;
  font-family: var(--font-body);
  font-size: 0.85rem;
  font-weight: 500;
  letter-spacing: 0.01em;
  opacity: 0;
  transform: translateY(8px);
  transition: all 0.35s var(--ease);
}

.gallery-item:hover .gallery-label {
  opacity: 1;
  transform: translateY(0);
}

/* Light mode overrides */
[data-theme="light"] .section-gallery {
  background: #f4f5f7;
}

[data-theme="light"] .gallery-item {
  background: #fff;
  border-color: #e5e7eb;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
}

[data-theme="light"] .gallery-item:hover {
  border-color: var(--accent-2);
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.12);
}

[data-theme="light"] .gallery-header .section-headline {
  color: #111827;
}

[data-theme="light"] .gallery-header .section-subtitle {
  color: #6b7280;
}

/* Responsive */
@media (max-width: 768px) {
  .section-gallery {
    padding: 80px 0;
  }

  .gallery-grid {
    grid-template-columns: 1fr 1fr;
    gap: 12px;
  }

  .gallery-item-large {
    grid-column: span 2;
    grid-row: span 1;
  }

  .gallery-label {
    opacity: 1;
    transform: translateY(0);
    font-size: 0.75rem;
    padding: 10px 14px;
  }
}

@media (max-width: 480px) {
  .gallery-grid {
    grid-template-columns: 1fr;
  }

  .gallery-item-large {
    grid-column: span 1;
  }
}

/* ================================================================
   TRACKIFY REAL IMAGE LAYOUT FIX
   Real supplied photos/screenshots stay inside bounded cards.
   Prevents oversized images, grid stretching and overlap.
   ================================================================ */

/* Product showcase */
.showcase-main {
  width: min(100%, 820px);
  margin: 0 auto;
  border-radius: 22px;
}

.showcase-img {
  width: 100%;
  max-height: 460px;
  height: auto;
  padding: 24px;
  object-fit: contain;
  object-position: center;
}

/* Main real-product gallery */
.section-gallery .gallery-grid {
  width: min(100%, 1100px);
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
  align-items: stretch;
}

.section-gallery .gallery-item,
.section-real-screens .gallery-item {
  min-width: 0;
  min-height: 0;
  height: auto;
  overflow: hidden;
  box-sizing: border-box;
}

/* Do NOT let the first/large image consume two grid rows. */
.section-gallery .gallery-item-large {
  grid-row: auto !important;
  grid-column: span 2;
}

/* Product photos: fixed visual area, original image proportions preserved. */
.section-gallery .gallery-item img {
  display: block;
  width: 100%;
  height: 360px;
  min-height: 0;
  max-height: 360px;
  object-fit: contain;
  object-position: center;
  box-sizing: border-box;
  padding: 18px;
  background: #fff;
}

/* Give the large device photo a little more breathing room. */
.section-gallery .gallery-item-large img {
  height: 420px;
  max-height: 420px;
}

/* Real dashboard / platform screenshots */
.section-real-screens {
  overflow: hidden;
}

.section-real-screens .gallery-grid {
  display: grid !important;
  grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  gap: 24px !important;
  align-items: start;
}

.section-real-screens .gallery-item {
  background: #fff;
  border-radius: 16px;
  padding: 0;
}

.section-real-screens .gallery-item img {
  display: block;
  width: 100%;
  height: auto;
  max-height: 560px;
  object-fit: contain;
  object-position: center;
  padding: 0;
  background: #fff;
  box-sizing: border-box;
}

/* Screenshots should never be stretched by generic gallery rules. */
.section-real-screens .gallery-item:hover img {
  transform: none;
}

/* Buy/CTA product image */
.buy-image {
  min-width: 0;
  overflow: hidden;
}

.buy-product-img {
  display: block;
  width: min(100%, 390px);
  max-width: 390px;
  max-height: 440px;
  height: auto;
  margin: 0 auto;
  object-fit: contain;
  object-position: center;
  box-sizing: border-box;
  padding: 14px;
}

/* Wiring image */
.wiring-img-wrap {
  width: 100%;
  overflow: hidden;
}

.wiring-img-wrap img {
  display: block;
  width: min(100%, 760px);
  max-width: 100%;
  max-height: 520px;
  height: auto;
  margin: 0 auto;
  object-fit: contain;
  object-position: center;
}

/* Remove accidental global image stretching inside these sections. */
.section-gallery img,
.section-real-screens img,
.section-wiring img,
.section-buy img {
  max-width: 100%;
}

/* Tablet */
@media (max-width: 900px) {
  .section-gallery .gallery-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .section-gallery .gallery-item-large {
    grid-column: span 2;
  }

  .section-gallery .gallery-item img,
  .section-gallery .gallery-item-large img {
    height: 340px;
    max-height: 340px;
  }

  .section-real-screens .gallery-grid {
    grid-template-columns: 1fr !important;
  }

  .section-real-screens .gallery-item img {
    max-height: 520px;
  }
}

/* Mobile */
@media (max-width: 600px) {
  .section-gallery {
    padding: 70px 0;
  }

  .section-gallery .gallery-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .section-gallery .gallery-item-large {
    grid-column: span 1;
  }

  .section-gallery .gallery-item img,
  .section-gallery .gallery-item-large img {
    height: 300px;
    max-height: 300px;
    padding: 14px;
  }

  .section-real-screens .gallery-grid {
    grid-template-columns: 1fr !important;
    gap: 16px !important;
  }

  .section-real-screens .gallery-item img {
    max-height: none;
  }

  .showcase-img {
    max-height: 340px;
    padding: 14px;
  }

  .buy-product-img {
    width: min(100%, 320px);
    max-width: 320px;
    max-height: 360px;
  }
}