/* Dead rules removed: 4 selectors, ~20 lines */
 :root {
  /* Typography */
  --ma-body-font-family: 'Poppins', sans-serif;
  --ma-body-font-size: 16px;
  --ma-body-font-weight: 400;
  --ma-body-line-height: 1.6;
  --ma-body-text-align: left;

  /* Brand Colors */
  --ma-color-primary: #0a0a0a;
  --ma-color-accent: #e63946;
  --ma-color-white: #ffffff;
  --ma-color-black: #0a0a0a;
  --ma-tag-black: #1a1a1a;

  /* Backgrounds */
  --ma-body-bg: #ffffff;
  --ma-bg-light: #f8f9fa;
  --ma-bg-dark: #0a0a0a;

  /* Spacing scale */
  --ma-spacing-xs: 0.25rem;
  --ma-spacing-sm: 0.5rem;
  --ma-spacing-md: 1rem;
  --ma-spacing-lg: 1.5rem;
  --ma-spacing-xl: 2rem;
  --ma-spacing-xxl: 3rem;

  /* Border radius */
  --ma-radius-sm: 4px;
  --ma-radius-md: 8px;
  --ma-radius-lg: 16px;

  /* Transitions */
  --ma-transition: 0.3s ease;
}

/* ─── Poppins @font-face stack ─── */
@font-face {
  font-family: 'Poppins';
  font-weight: 900;
  font-style: normal;
  font-display: swap;
  src: url('/MactraOne/fonts/Poppins/Poppins-Black/Poppins-Black.eot');
  src: url('/MactraOne/fonts/Poppins/Poppins-Black/Poppins-Black.eot?#iefix') format('embedded-opentype'),
       url('/MactraOne/fonts/Poppins/Poppins-Black/Poppins-Black.woff2') format('woff2'),
       url('/MactraOne/fonts/Poppins/Poppins-Black/Poppins-Black.woff') format('woff'),
       url('/MactraOne/fonts/Poppins/Poppins-Black/Poppins-Black.ttf') format('truetype'),
       url('/MactraOne/fonts/Poppins/Poppins-Black/Poppins-Black.svg#Poppins-Black') format('svg');
}

@font-face {
  font-family: 'Poppins';
  font-weight: 800;
  font-style: normal;
  font-display: swap;
  src: url('/MactraOne/fonts/Poppins/Poppins-ExtraBold/Poppins-ExtraBold.eot');
  src: url('/MactraOne/fonts/Poppins/Poppins-ExtraBold/Poppins-ExtraBold.eot?#iefix') format('embedded-opentype'),
       url('/MactraOne/fonts/Poppins/Poppins-ExtraBold/Poppins-ExtraBold.woff2') format('woff2'),
       url('/MactraOne/fonts/Poppins/Poppins-ExtraBold/Poppins-ExtraBold.woff') format('woff'),
       url('/MactraOne/fonts/Poppins/Poppins-ExtraBold/Poppins-ExtraBold.ttf') format('truetype'),
       url('/MactraOne/fonts/Poppins/Poppins-ExtraBold/Poppins-ExtraBold.svg#Poppins-ExtraBold') format('svg');
}

@font-face {
  font-family: 'Poppins';
  font-weight: 700;
  font-style: normal;
  font-display: swap;
  src: url('/MactraOne/fonts/Poppins/Poppins-Bold/Poppins-Bold.eot');
  src: url('/MactraOne/fonts/Poppins/Poppins-Bold/Poppins-Bold.eot?#iefix') format('embedded-opentype'),
       url('/MactraOne/fonts/Poppins/Poppins-Bold/Poppins-Bold.woff2') format('woff2'),
       url('/MactraOne/fonts/Poppins/Poppins-Bold/Poppins-Bold.woff') format('woff'),
       url('/MactraOne/fonts/Poppins/Poppins-Bold/Poppins-Bold.ttf') format('truetype'),
       url('/MactraOne/fonts/Poppins/Poppins-Bold/Poppins-Bold.svg#Poppins-Bold') format('svg');
}

@font-face {
  font-family: 'Poppins';
  font-weight: 600;
  font-style: normal;
  font-display: swap;
  src: url('/MactraOne/fonts/Poppins/Poppins-SemiBold/Poppins-SemiBold.eot');
  src: url('/MactraOne/fonts/Poppins/Poppins-SemiBold/Poppins-SemiBold.eot?#iefix') format('embedded-opentype'),
       url('/MactraOne/fonts/Poppins/Poppins-SemiBold/Poppins-SemiBold.woff2') format('woff2'),
       url('/MactraOne/fonts/Poppins/Poppins-SemiBold/Poppins-SemiBold.woff') format('woff'),
       url('/MactraOne/fonts/Poppins/Poppins-SemiBold/Poppins-SemiBold.ttf') format('truetype'),
       url('/MactraOne/fonts/Poppins/Poppins-SemiBold/Poppins-SemiBold.svg#Poppins-SemiBold') format('svg');
}

@font-face {
  font-family: 'Poppins';
  font-weight: 500;
  font-style: normal;
  font-display: swap;
  src: url('/MactraOne/fonts/Poppins/Poppins-Medium/Poppins-Medium.eot');
  src: url('/MactraOne/fonts/Poppins/Poppins-Medium/Poppins-Medium.eot?#iefix') format('embedded-opentype'),
       url('/MactraOne/fonts/Poppins/Poppins-Medium/Poppins-Medium.woff2') format('woff2'),
       url('/MactraOne/fonts/Poppins/Poppins-Medium/Poppins-Medium.woff') format('woff'),
       url('/MactraOne/fonts/Poppins/Poppins-Medium/Poppins-Medium.ttf') format('truetype'),
       url('/MactraOne/fonts/Poppins/Poppins-Medium/Poppins-Medium.svg#Poppins-Medium') format('svg');
}

@font-face {
  font-family: 'Poppins';
  font-weight: 400;
  font-style: normal;
  font-display: swap;
  src: url('/MactraOne/fonts/Poppins/Poppins-Regular/Poppins-Regular.eot');
  src: url('/MactraOne/fonts/Poppins/Poppins-Regular/Poppins-Regular.eot?#iefix') format('embedded-opentype'),
       url('/MactraOne/fonts/Poppins/Poppins-Regular/Poppins-Regular.woff2') format('woff2'),
       url('/MactraOne/fonts/Poppins/Poppins-Regular/Poppins-Regular.woff') format('woff'),
       url('/MactraOne/fonts/Poppins/Poppins-Regular/Poppins-Regular.ttf') format('truetype'),
       url('/MactraOne/fonts/Poppins/Poppins-Regular/Poppins-Regular.svg#Poppins-Regular') format('svg');
}

@font-face {
  font-family: 'Poppins';
  font-weight: 300;
  font-style: normal;
  font-display: swap;
  src: url('/MactraOne/fonts/Poppins/Poppins-Light/Poppins-Light.eot');
  src: url('/MactraOne/fonts/Poppins/Poppins-Light/Poppins-Light.eot?#iefix') format('embedded-opentype'),
       url('/MactraOne/fonts/Poppins/Poppins-Light/Poppins-Light.woff2') format('woff2'),
       url('/MactraOne/fonts/Poppins/Poppins-Light/Poppins-Light.woff') format('woff'),
       url('/MactraOne/fonts/Poppins/Poppins-Light/Poppins-Light.ttf') format('truetype'),
       url('/MactraOne/fonts/Poppins/Poppins-Light/Poppins-Light.svg#Poppins-Light') format('svg');
}

@font-face {
  font-family: 'Poppins';
  font-weight: 100;
  font-style: normal;
  font-display: swap;
  src: url('/MactraOne/fonts/Poppins/Poppins-Thin/Poppins-Thin.eot');
  src: url('/MactraOne/fonts/Poppins/Poppins-Thin/Poppins-Thin.eot?#iefix') format('embedded-opentype'),
       url('/MactraOne/fonts/Poppins/Poppins-Thin/Poppins-Thin.woff2') format('woff2'),
       url('/MactraOne/fonts/Poppins/Poppins-Thin/Poppins-Thin.woff') format('woff'),
       url('/MactraOne/fonts/Poppins/Poppins-Thin/Poppins-Thin.ttf') format('truetype'),
       url('/MactraOne/fonts/Poppins/Poppins-Thin/Poppins-Thin.svg#Poppins-Thin') format('svg');
}

@font-face {
  font-family: 'Poppins_Rounded';
  font-weight: 400;
  font-style: normal;
  font-display: swap;
  src: url('/MactraOne/fonts/Poppins/Poppins-Rounded/Poppins-Rounded.eot');
  src: url('/MactraOne/fonts/Poppins/Poppins-Rounded/Poppins-Rounded.eot?#iefix') format('embedded-opentype'),
       url('/MactraOne/fonts/Poppins/Poppins-Rounded/Poppins-Rounded.woff2') format('woff2'),
       url('/MactraOne/fonts/Poppins/Poppins-Rounded/Poppins-Rounded.woff') format('woff'),
       url('/MactraOne/fonts/Poppins/Poppins-Rounded/Poppins-Rounded.ttf') format('truetype'),
       url('/MactraOne/fonts/Poppins/Poppins-Rounded/Poppins-Rounded.svg#Poppins-Rounded') format('svg');
}

:root {
  --red: #b30707;
  --red-hover: #a10606;
  --red-active: #8f0606;
  --red-dark: #8f0606;
  --red-light: #f7e6e6;
  --red-tint-100: rgba(179, 7, 7, 0.1);
  --red-light-2: #f0cdcd;
  --red-tint-300: #ca5151;
  --red-tint-500: #d98383;
  --accent-soft: #f7e6e6;
  --icon-bg: #fdf2f2;
  --icon-fg: #b30707;
  --label-bg: #ffffff;
  --label-fg: #b30707;
  --label-border: #e8d0d0;
  --text-primary: #1d1d1f;
  --text-secondary: #424245;
  --text-tertiary: #6e6e73;
  --text-quaternary: #86868b;
  --bg-white: #ffffff;
  --bg-light: #f5f5f7;
  --bg-warm: #fafaf8;
  --border-light: #e5e5e7;
  --border-subtle: #f0f0f2;
  --footer-bg: #2d2d30;
  --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.04), 0 1px 2px rgba(0, 0, 0, 0.06);
  --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.06), 0 2px 4px rgba(0, 0, 0, 0.04);
  --shadow-lg: 0 12px 40px rgba(0, 0, 0, 0.08), 0 4px 12px rgba(0, 0, 0, 0.04);
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  --radius-full: 9999px;
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --nav-height: 72px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

body {
  font-family: var(--ma-body-font-family);
  font-size: var(--ma-body-font-size);
  font-weight: var(--ma-body-font-weight);
  line-height: var(--ma-body-line-height);
  color: var(--ma-tag-black);
  text-align: var(--ma-body-text-align);
  background-color: var(--ma-body-bg);
  -webkit-text-size-adjust: 100%;
  -webkit-tap-highlight-color: transparent;
  overflow-x: hidden;
}

h1 {
  font-family: var(--ma-body-font-family);
  font-weight: 800;
  line-height: 1.1;
  color: var(--ma-color-black);
}

h2 {
  font-family: var(--ma-body-font-family);
  font-weight: 700;
  line-height: 1.15;
  color: var(--ma-color-black);
}

h3, h4, h5, h6 {
  font-family: var(--ma-body-font-family);
  font-weight: 600;
  line-height: 1.2;
  color: var(--ma-color-black);
}

button, a {
  -webkit-tap-highlight-color: transparent;
}

a {
  color: inherit;
  text-decoration: none;
}

/* Accessibility: respect reduced motion preferences */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

/* Accessibility: keyboard focus styles */
:focus-visible {
  outline: 2px solid var(--red);
  outline-offset: 2px;
  border-radius: 4px;
}

:focus:not(:focus-visible) {
  outline: none;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  background: none;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ─── NAVBAR ─── */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  height: var(--nav-height);
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  border-bottom: 1px solid var(--border-subtle);
  transition: box-shadow 0.3s var(--ease-out);
}

.navbar.scrolled {
  box-shadow: var(--shadow-sm);
}

.navbar .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}

.nav-brand {
  display: flex;
  align-items: center;
  gap: 10px;
}

.nav-brand img {
  height: 32px;
  width: auto;
}



.nav-links {
  display: flex;
  gap: 32px;
  list-style: none;
}

.nav-links a {
  font-size: 14px;
  font-weight: 500;
  color: var(--text-tertiary);
  transition: color 0.2s;
  position: relative;
}

.nav-links a:hover {
  color: var(--text-primary);
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--red);
  transition: width 0.3s var(--ease-out);
}

.nav-links a:hover::after {
  width: 100%;
}

.nav-cta {
  background: var(--red);
  color: #fff;
  padding: 10px 22px;
  border-radius: var(--radius-full);
  font-size: 14px;
  font-weight: 600;
  transition: background 0.2s, transform 0.2s;
}

.nav-cta:hover {
  background: var(--red-hover);
  transform: translateY(-1px);
}

.mobile-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
}

.mobile-toggle span {
  width: 22px;
  height: 2px;
  background: var(--text-primary);
  border-radius: 2px;
  transition: 0.3s;
}

/* â”€â”€â”€ HERO â”€â”€â”€ */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-top: var(--nav-height);
  position: relative;
  overflow: hidden;
  background: linear-gradient(180deg, #ffffff 0%, #fafafa 50%, #f3f1f0 100%);
}

/* Layer 1: Prominent grid */
.hero-grid {
  position: absolute;
  inset: 0;
  opacity: 0.35;
  background-image:
    linear-gradient(rgba(0, 0, 0, 0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0, 0, 0, 0.06) 1px, transparent 1px);
  background-size: 48px 48px;
}

/* Layer 2: Diagonal crosshairs + dot-matrix */
.hero-grid::before {
  content: '';
  position: absolute;
  inset: 0;
  opacity: 0.08;
  background-image:
    linear-gradient(45deg, transparent 49.5%, rgba(0, 0, 0, 0.08) 49.5%, rgba(0, 0, 0, 0.08) 50.5%, transparent 50.5%),
    linear-gradient(-45deg, transparent 49.5%, rgba(0, 0, 0, 0.08) 49.5%, rgba(0, 0, 0, 0.08) 50.5%, transparent 50.5%),
    radial-gradient(circle, rgba(179, 7, 7, 0.12) 1px, transparent 1px);
  background-size: 100px 100px, 100px 100px, 24px 24px;
}

/* Layer 3: Soft radial glow */
.hero-grid::after {
  content: '';
  position: absolute;
  top: 30%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 900px;
  height: 900px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(179, 7, 7, 0.06) 0%, transparent 60%);
  pointer-events: none;
}

/* Layer 4: Camera frame — thin border like a real camera feed */
.hero-cam-frame {
  position: absolute;
  top: calc(var(--nav-height) + 16px);
  left: 16px;
  right: 16px;
  bottom: 16px;
  pointer-events: none;
  z-index: 1;
  border: 1px solid rgba(0, 0, 0, 0.09);
  border-radius: 2px;
}

/* Small tick marks at corners — camera-style brackets */
.hero-cam-frame::before,
.hero-cam-frame::after {
  content: '';
  position: absolute;
  width: 24px;
  height: 24px;
  border-color: rgba(0, 0, 0, 0.15);
  border-style: solid;
}

.hero-cam-frame::before {
  top: -1px;
  left: -1px;
  border-width: 2px 0 0 2px;
}

.hero-cam-frame::after {
  top: -1px;
  right: -1px;
  border-width: 2px 2px 0 0;
}

/* Bottom corner brackets via the hero section pseudo-elements */
.hero::before,
.hero::after {
  content: '';
  position: absolute;
  width: 24px;
  height: 24px;
  border-color: rgba(0, 0, 0, 0.15);
  border-style: solid;
  z-index: 1;
  pointer-events: none;
}

.hero::before {
  bottom: 15px;
  left: 15px;
  border-width: 0 0 2px 2px;
}

.hero::after {
  bottom: 15px;
  right: 15px;
  border-width: 0 2px 2px 0;
}

/* REC indicator — small blinking dot + text, top right */
.hero-rec {
  position: absolute;
  top: calc(var(--nav-height) + 32px);
  right: 36px;
  z-index: 3;
  pointer-events: none;
  display: flex;
  align-items: center;
  gap: 8px;
}

.hero-rec::before {
  content: '';
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--red);
  animation: recBlink 2s ease-in-out infinite;
  box-shadow: 0 0 6px rgba(179, 7, 7, 0.4);
}

.hero-rec::after {
  content: 'REC  ●  CH-01  ●  1080p  ●  30fps';
  font-family: 'Courier New', monospace;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: rgba(179, 7, 7, 0.3);
}

@keyframes recBlink {

  0%,
  100% {
    opacity: 1;
  }

  50% {
    opacity: 0.15;
  }
}

/* Animated scan line — very subtle ambient sweep */
.hero-scanline {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 1;
  overflow: hidden;
}

.hero-scanline::before {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  height: 1.5px;
  background: linear-gradient(90deg, transparent 0%, rgba(179, 7, 7, 0.06) 20%, rgba(179, 7, 7, 0.12) 50%, rgba(179, 7, 7, 0.06) 80%, transparent 100%);
  animation: heroScan 10s ease-in-out infinite;
  box-shadow: 0 0 20px 6px rgba(179, 7, 7, 0.025);
}

@keyframes heroScan {
  0% {
    top: 12%;
    opacity: 0;
  }

  6% {
    opacity: 1;
  }

  94% {
    opacity: 1;
  }

  100% {
    top: 88%;
    opacity: 0;
  }
}

/* Layer 5: Binary / data texture */
.hero-data {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 1;
  overflow: hidden;
}

.hero-data::before {
  content: '01001101 01000001 01000011 01010100 01010010 01000001  ·  SECURE  ·  MONITOR  ·  PROTECT  ·  01001101 01000001 01000011 01010100 01010010 01000001  ·  SECURE  ·  MONITOR  ·  PROTECT';
  position: absolute;
  top: 22%;
  left: -100px;
  right: -100px;
  font-family: 'Courier New', monospace;
  font-size: 10px;
  letter-spacing: 3px;
  color: rgba(0, 0, 0, 0.04);
  white-space: nowrap;
  transform: rotate(-2deg);
}

.hero-data::after {
  content: 'SURVEILLANCE  ·  AI  ·  ANALYTICS  ·  NVR  ·  4K  ·  P2P  ·  ONVIF  ·  H.265  ·  POE  ·  SURVEILLANCE  ·  AI  ·  ANALYTICS  ·  NVR  ·  4K  ·  P2P  ·  ONVIF  ·  H.265  ·  POE';
  position: absolute;
  bottom: 28%;
  left: -100px;
  right: -100px;
  font-family: 'Courier New', monospace;
  font-size: 10px;
  letter-spacing: 4px;
  color: rgba(0, 0, 0, 0.035);
  white-space: nowrap;
  transform: rotate(1.5deg);
}

/* Topographic circuit lines */
.hero-topo {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 1;
  opacity: 0.045;
  background-image:
    radial-gradient(ellipse 600px 300px at 15% 60%, transparent 60%, rgba(179, 7, 7, 0.3) 60%, rgba(179, 7, 7, 0.3) 60.3%, transparent 60.3%),
    radial-gradient(ellipse 500px 250px at 15% 60%, transparent 60%, rgba(179, 7, 7, 0.3) 60%, rgba(179, 7, 7, 0.3) 60.4%, transparent 60.4%),
    radial-gradient(ellipse 400px 200px at 15% 60%, transparent 60%, rgba(179, 7, 7, 0.3) 60%, rgba(179, 7, 7, 0.3) 60.5%, transparent 60.5%),
    radial-gradient(ellipse 700px 350px at 85% 40%, transparent 55%, rgba(0, 0, 0, 0.2) 55%, rgba(0, 0, 0, 0.2) 55.3%, transparent 55.3%),
    radial-gradient(ellipse 550px 275px at 85% 40%, transparent 55%, rgba(0, 0, 0, 0.2) 55%, rgba(0, 0, 0, 0.2) 55.4%, transparent 55.4%);
}

/* Live timestamp HUD */
.hero-timestamp {
  position: absolute;
  bottom: 32px;
  left: 36px;
  z-index: 3;
  pointer-events: none;
  font-family: 'Courier New', monospace;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: rgba(0, 0, 0, 0.18);
}

.hero-coords {
  position: absolute;
  bottom: 32px;
  right: 36px;
  z-index: 3;
  pointer-events: none;
  font-family: 'Courier New', monospace;
  font-size: 10px;
  letter-spacing: 0.08em;
  color: rgba(0, 0, 0, 0.14);
}

.hero .container {
  position: relative;
  z-index: 2;
}

.hero-content {
  max-width: 680px;
  padding: 80px 0;
  margin: 0 auto;
  text-align: center;
  position: relative;
}

/* Faint white gradient behind text to keep grid from competing */
.hero-content::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 130%;
  height: 110%;
  background: radial-gradient(ellipse, rgba(255, 255, 255, 0.75) 0%, rgba(255, 255, 255, 0.45) 40%, transparent 70%);
  pointer-events: none;
  z-index: -1;
  border-radius: 50%;
}

.hero-status {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 16px;
  border-radius: var(--radius-full);
  background: rgba(34, 197, 94, 0.08);
  border: 1px solid rgba(34, 197, 94, 0.2);
  font-size: 13px;
  font-weight: 500;
  color: #16a34a;
  margin-bottom: 32px;
}

.hero-status .pulse {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #22c55e;
  animation: statusPulse 2s ease-in-out infinite;
}

@keyframes statusPulse {

  0%,
  100% {
    opacity: 1;
    transform: scale(1);
  }

  50% {
    opacity: 0.5;
    transform: scale(0.85);
  }
}

.hero h1 {
  font-size: clamp(42px, 5.5vw, 64px);
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: -0.03em;
  margin-bottom: 12px;
}

.hero h1 .accent {
  color: var(--red);
}

.hero-wordmark {
  /* Wordmark height tuned to sit at the cap-height of the "One" text
     next to it. H1 uses font-size clamp(42px, 5.5vw, 64px) weight 800 —
     cap-height ~ 0.7em, so the wordmark scales with 0.7em too. Small
     right margin gives breathing room between the mark and "One". */
  height: 0.72em;
  width: auto;
  display: inline-block;
  vertical-align: baseline;
  margin-right: 0.18em;
  position: relative;
  top: 0.02em; /* nudge onto the baseline visually */
}

.hero .subtitle {
  font-size: clamp(16px, 2vw, 20px);
  color: var(--text-tertiary);
  font-weight: 400;
  line-height: 1.6;
  margin-bottom: 40px;
  max-width: 560px;
  margin-left: auto;
  margin-right: auto;
}


.hero-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 36px;
  justify-content: center;
}

.hero-tags a {
  padding: 7px 16px;
  border-radius: var(--radius-full);
  background: rgba(0, 0, 0, 0.03);
  border: 1px solid rgba(0, 0, 0, 0.06);
  font-size: 13px;
  font-weight: 500;
  color: var(--text-secondary);
  transition: all 0.2s;
}

.hero-tags a:hover {
  background: rgba(0, 0, 0, 0.06);
  border-color: rgba(0, 0, 0, 0.1);
  color: var(--text-primary);
}

.hero-ctas {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  justify-content: center;
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: var(--radius-full);
  background: var(--red);
  color: #fff;
  font-size: 15px;
  font-weight: 600;
  transition: all 0.25s var(--ease-out);
}

.btn-primary:hover {
  background: var(--red-hover);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(179, 7, 7, 0.25);
}

.btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: var(--radius-full);
  background: transparent;
  color: var(--text-primary);
  font-size: 15px;
  font-weight: 600;
  border: 1.5px solid var(--border-light);
  transition: all 0.25s var(--ease-out);
}

.btn-secondary:hover {
  border-color: var(--red);
  color: var(--red);
  transform: translateY(-2px);
}

/* --- OUTLINE BUTTON --- */
.btn-outline {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: var(--radius-full);
  background: transparent;
  color: var(--text-primary);
  font-size: 15px;
  font-weight: 600;
  border: 1.5px solid var(--border-light);
  transition: all 0.25s var(--ease-out);
}

.btn-outline:hover {
  border-color: var(--red);
  color: var(--red);
  transform: translateY(-2px);
}

/* --- TRACK SUBMIT BUTTON --- */
.track-submit-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 24px;
  border-radius: var(--radius-full);
  background: var(--red);
  color: #fff;
  font-size: 15px;
  font-weight: 600;
  border: none;
  cursor: pointer;
  transition: all 0.25s var(--ease-out);
}

.track-submit-btn:hover {
  background: var(--red-hover);
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(179, 7, 7, 0.25);
}

/* --- CENTERED SECTION HEADER --- */
.svc-header-centered {
  text-align: center;
  margin-bottom: 56px;
}

.svc-header-centered h2 {
  font-size: clamp(30px, 3.5vw, 40px);
  font-weight: 700;
  letter-spacing: -0.025em;
  line-height: 1.15;
  margin-bottom: 12px;
}

.svc-header-centered p {
  font-size: 17px;
  color: var(--text-tertiary);
  max-width: 560px;
  margin: 0 auto;
  line-height: 1.6;
}

/* --- PORTAL ACCENT BAR --- */
.portal-accent {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--red), var(--red-tint-300));
  opacity: 0;
  transition: opacity 0.3s ease;
}

.portal-card:hover .portal-accent {
  opacity: 1;
}

/* --- BOOTSTRAP CONTAINER OVERRIDE --- */
body .container {
  max-width: 1200px !important;
  padding-left: 24px !important;
  padding-right: 24px !important;
  width: 100% !important;
}

/* ─── SHARED COMPONENTS: Card Lift ─── */
.card-lift {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.card-lift:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

/* ─── SECTION HEADERS ─── */
.section-header {
  text-align: center;
  margin-bottom: 56px;
}

.section-label {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 14px;
  border-radius: var(--radius-full);
  background: var(--label-bg);
  color: var(--label-fg);
  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 16px;
  border: 1px solid var(--label-border);
  box-shadow: 0 1px 3px rgba(179, 7, 7, 0.06);
}

.section-header h2 {
  font-size: clamp(30px, 3.5vw, 40px);
  font-weight: 700;
  letter-spacing: -0.025em;
  line-height: 1.15;
  margin-bottom: 12px;
}

.section-header p {
  font-size: 17px;
  color: var(--text-tertiary);
  max-width: 560px;
  margin: 0 auto;
}



/* ─── ANNOUNCEMENTS ─── */
.announcements {
  padding: 100px 0;
  background: var(--bg-white);
}

.announce-badge {
  padding: 4px 10px;
  border-radius: var(--radius-full);
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  white-space: nowrap;
  flex-shrink: 0;
}

.badge-firmware {
  background: rgba(59, 130, 246, 0.1);
  color: #2563eb;
}

.badge-security {
  background: rgba(239, 68, 68, 0.1);
  color: #dc2626;
}

.badge-update {
  background: rgba(34, 197, 94, 0.1);
  color: #16a34a;
}

.announce-acc-body {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s var(--ease-out), padding 0.4s var(--ease-out);
}

.announce-acc-item.active .announce-acc-body {
  max-height: 300px;
}

.announce-acc-item.active .announce-chevron {
  transform: rotate(180deg);
  color: var(--red);
}

.track-stage.completed .track-stage-dot {
  background: #16a34a;
  color: #fff;
}

.track-stage.active .track-stage-dot {
  background: #f59e0b;
  color: #fff;
  box-shadow: 0 0 0 4px rgba(245, 158, 11, 0.15);
}

.track-stage.pending .track-stage-dot {
  background: var(--bg-light);
  color: var(--text-quaternary);
  border: 1.5px solid var(--border-light);
}

/* ─── FAQ ─── */
.faq-item.active {
  border-color: var(--red-light-2);
  box-shadow: var(--shadow-md);
}

.faq-chevron {
  transition: transform 0.35s var(--ease-out), color 0.2s;
}

.faq-item.active .faq-chevron {
  transform: rotate(180deg);
  color: var(--red);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s var(--ease-out), padding 0.4s var(--ease-out);
}

.faq-item.active .faq-answer {
  max-height: 300px;
}

/* ═══ MIGRATION FIX: Bootstrap / Tailwind Conflict Resolution ═══ */

/* 1. Announce badge — prevent flex-col full-width stretch */
.announce-badge {
  width: fit-content;
  display: inline-block;
}

/* 2. Accordion item hover / active polish */
.announce-acc-item.active {
  border-color: var(--red-light-2);
  box-shadow: var(--shadow-md);
}

.announce-acc-trigger:hover {
  background: var(--bg-light);
}

/* 3. Pipeline connector line */
.track-pipeline {
  position: relative;
}

.track-pipeline::before {
  content: '';
  position: absolute;
  top: 20px;
  left: 70px;
  right: 70px;
  height: 2px;
  background: var(--border-light);
  z-index: 0;
}

.track-stage-dot {
  position: relative;
  z-index: 1;
}

/* 4. Track feature card hover */
.track-feat-item {
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.track-feat-item:hover {
  border-color: var(--red-light-2);
  box-shadow: var(--shadow-sm);
  transform: translateY(-2px);
}

.track-feat-icon {
  transition: background 0.3s ease, color 0.3s ease;
}

.track-feat-item:hover .track-feat-icon {
  background: var(--red);
  color: #fff;
}

/* 5. Warranty card hover */
.wr-icon {
  transition: background 0.3s ease, color 0.3s ease;
}

.warranty-result-card:hover .wr-icon {
  background: var(--red);
  color: #fff;
}

/* 6. Warranty coverage bar */
.warranty-coverage {
  background: linear-gradient(135deg, var(--bg-white) 0%, #fafaf8 100%);
}

/* 7. Newsletter visual refinement */
.newsletter-inner {
  background: linear-gradient(135deg, var(--bg-white) 0%, #fdfcfb 100%);
}

.newsletter-text i {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: var(--icon-bg);
  color: var(--icon-fg);
  flex-shrink: 0;
  font-size: 20px;
}

/* Newsletter form alignment fix */
.newsletter-form {
  margin: 0 !important;
}

@media (min-width: 1024px) {
  .newsletter-inner {
    text-align: left;
  }
  .newsletter-form {
    max-width: 360px;
    margin: 0 !important;
    flex-shrink: 0;
  }
}

/* Inline input button spacing fix — Track, Warranty, Service search */
.track-input-field,
.warranty-search-mock,
.locator-search {
  padding-right: 5px !important;
}

.track-input-field .btn-primary,
.warranty-search-mock .btn-primary,
.locator-search .btn-primary {
  border-radius: var(--radius-full) !important;
}

@media (max-width: 768px) {
  .track-input-field,
  .warranty-search-mock,
  .locator-search {
    padding-right: 16px !important;
  }
}

/* 8. Troubleshoot card hover */
.ts-card-icon {
  transition: background 0.3s ease, color 0.3s ease, transform 0.3s ease;
}

.ts-card:hover .ts-card-icon {
  background: var(--red);
  color: #fff;
  transform: scale(1.05);
}

.ts-card:hover .ts-card-action {
  gap: 10px;
}

/* 9. Bootstrap input reset */
.track-input-field input:focus,
.track-input-field input {
  box-shadow: none !important;
  outline: none !important;
}

/* 10. Contact card accent line on hover */
.contact-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--red), var(--red-tint-300));
  opacity: 0;
  transition: opacity 0.3s ease;
  border-radius: 16px 16px 0 0;
}

.contact-card:hover::before {
  opacity: 1;
}

/* 11. KB card hover accent */
.kb-card:hover {
  border-color: var(--red-light-2);
}

/* 12. Shop product card hover */
.shop-product-card .sp-icon {
  transition: background 0.3s ease, color 0.3s ease;
}

.shop-product-card:hover .sp-icon {
  background: var(--red);
  color: #fff;
}

/* 13. Download category link hover */
.dl-link {
  transition: gap 0.3s ease, color 0.3s ease;
}

.dl-link:hover {
  gap: 10px;
}

/* 14. Download category icon hover */
.dl-cat-icon {
  transition: background 0.3s ease, color 0.3s ease;
}

.dl-category:hover .dl-cat-icon {
  background: var(--red);
  color: #fff;
}

/* 15. Shop product card sidebar fix removed — now handled by Tailwind grid */

/* 16. Pipeline mobile fix */
@media (max-width: 640px) {
  .track-pipeline::before {
    left: 30px;
    right: 30px;
  }
}

/* ═══ ANIMATIONS ═══ */
.reveal {
  opacity: 1;
  transform: translateY(0);
  transition: opacity 0.7s var(--ease-out), transform 0.7s var(--ease-out);
}

.js .reveal {
  opacity: 0;
  transform: translateY(30px);
}

.js .reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal-delay-1 {
  transition-delay: 0.1s;
}

.reveal-delay-2 {
  transition-delay: 0.2s;
}

.reveal-delay-3 {
  transition-delay: 0.3s;
}

.reveal-delay-4 {
  transition-delay: 0.4s;
}

/* ─── MOBILE MENU ─── */
.mobile-menu {
  display: none;
  position: fixed;
  top: var(--nav-height);
  left: 0;
  right: 0;
  background: rgba(255, 255, 255, 0.97);
  backdrop-filter: blur(20px);
  padding: 24px;
  border-bottom: 1px solid var(--border-light);
  transform: translateY(-10px);
  opacity: 0;
  pointer-events: none;
  transition: all 0.3s var(--ease-out);
  z-index: 99;
}

.mobile-menu.open {
  transform: translateY(0);
  opacity: 1;
  pointer-events: all;
}

.mobile-menu a {
  display: block;
  padding: 14px 0;
  font-size: 16px;
  font-weight: 500;
  color: var(--text-primary);
  border-bottom: 1px solid var(--border-subtle);
}

/* ─── RESPONSIVE ─── */
@media (max-width: 768px) {
  .nav-links {
    display: none;
  }

  .nav-cta {
    display: none;
  }

  .mobile-toggle {
    display: flex;
  }

  .mobile-menu {
    display: block;
  }

  .hero {
    min-height: auto;
    padding-top: calc(var(--nav-height) + 40px);
    padding-bottom: 60px;
  }

  .hero-content {
    padding: 40px 0;
  }

  .hero h1 {
    font-size: 36px;
  }


  .kb-grid {
    grid-template-columns: 1fr;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 12px;
    text-align: center;
  }

  .section-header h2 {
    font-size: 28px;
  }

  /* Track input mobile stacking — see consolidated overrides at end of file */

  /* Prevent any section from causing horizontal overflow */
  .svc-section,
  .announcements {
    overflow-x: hidden;
  }
}

@media (max-width: 480px) {
  .hero h1 {
    font-size: 30px;
  }

  .hero-ctas {
    flex-direction: column;
  }

  .hero-ctas .btn-primary,
  .hero-ctas .btn-secondary {
    width: 100%;
    justify-content: center;
  }

  .status-indicator {
    font-size: 0;
    padding: 0;
    background: none;
  }

  .status-dot {
    width: 9px;
    height: 9px;
  }

  .track-pipeline-wrap {
    max-width: 100%;
    -webkit-overflow-scrolling: touch;
  }

  .container {
    padding: 0 16px;
  }

  .section-header h2,
  .svc-header-centered h2,
  .svc-warranty-hero h2,
  .shop-main h2,
  .locator-text h2,
  .track-hero-text h2 {
    font-size: 26px;
  }

  .svc-section {
    padding: 56px 0;
  }

  .announcements {
    padding: 56px 0;
  }

  /* Warranty search mobile — see consolidated overrides at end of file */

  .shop-stats {
    flex-wrap: wrap;
    gap: 16px;
  }

  .shop-stat-val {
    font-size: 22px;
  }

  .shop-actions {
    flex-direction: column;
    width: 100%;
  }

  .shop-actions .btn-primary,
  .shop-actions .btn-outline {
    width: 100%;
    justify-content: center;
  }

  .locator-card {
    padding: 20px;
  }

  .locator-card-services {
    gap: 6px;
  }

  .locator-card-services span {
    font-size: 11px;
    padding: 4px 10px;
  }

  .locator-text .btn-primary {
    width: 100%;
    justify-content: center;
  }

  .warranty-coverage {
    flex-direction: column;
    align-items: flex-start;
    padding: 20px;
  }

  .track-pipeline-wrap {
    padding: 20px 16px;
  }

  .track-proof {
    flex-direction: column;
    text-align: center;
  }

  .track-proof-sep {
    display: none;
  }

  .ts-card {
    padding: 24px 20px;
  }

  .btn-primary {
    padding: 12px 22px;
    font-size: 14px;
  }

  .btn-secondary {
    padding: 12px 22px;
    font-size: 14px;
  }
}

/* ═══ NEW SECTIONS RESPONSIVE ═══ */
@media (max-width: 1024px) {
  .troubleshoot-grid { grid-template-columns: repeat(2, 1fr); }
  .locator-layout { grid-template-columns: 1fr; gap: 40px; }
}

@media (max-width: 768px) {
  .troubleshoot-grid { grid-template-columns: 1fr; }
  .locator-cities { gap: 8px; }
}

/* ═══ MOBILE OVERRIDES: TRACK & WARRANTY ═══ */
/* Placed after base styles to win cascade order */

@media (max-width: 768px) {
  /* --- Track Request Input --- */
  .track-input-field {
    flex-direction: column !important;
    height: auto !important;
    min-height: unset !important;
    padding: 16px !important;
    gap: 10px !important;
    border-radius: var(--radius-lg) !important;
    border-width: 1.5px;
  }

  .track-input-field > i {
    display: none;
  }

  .track-input-field input {
    width: 100% !important;
    min-width: 0 !important;
    font-size: 16px !important;
    padding: 10px 0 !important;
    border-bottom: 1px solid var(--border-light);
  }

  /* Target the actual button class used in the track section */
  .track-input-field .track-btn,
  .track-input-field .btn-primary,
  .track-submit-btn {
    width: 100% !important;
    justify-content: center !important;
    padding: 14px 20px !important;
    border-radius: var(--radius-md) !important;
    white-space: nowrap;
    height: auto !important;
  }

  /* --- Warranty Search Input --- */
  .warranty-search-mock {
    flex-direction: column !important;
    height: auto !important;
    min-height: unset !important;
    border-radius: var(--radius-lg) !important;
    padding: 16px !important;
    gap: 12px !important;
  }

  .warranty-search-mock i {
    display: none;
  }

  .warranty-search-mock input {
    width: 100% !important;
    min-width: 0 !important;
    font-size: 16px !important;
    padding: 10px 0 !important;
    border-bottom: 1px solid var(--border-light);
  }

  .warranty-search-mock span {
    text-align: center;
    font-size: 15px;
  }

  .warranty-search-btn,
  .warranty-search-mock .btn-primary {
    width: 100% !important;
    border-radius: var(--radius-md) !important;
    padding: 14px 24px !important;
    justify-content: center !important;
    height: auto !important;
  }

  .warranty-results {
    grid-template-columns: 1fr;
    gap: 16px;
  }
}

