/* ============================================
   HEADLIGHT SOLUTIONS – Global Stylesheet
   ============================================ */

/* ============================================
   SCROLL ANIMATIONS
   All animation states are managed via inline
   styles in scroll-animate.js (IX2 pattern).
   Only reduced-motion fallback lives here.
   ============================================ */

@media (prefers-reduced-motion: reduce) {
  * {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
}

:root {
  --primary:    #0a0f1e;
  --secondary:  #0d1b3e;
  --accent:     #00aaff;
  --accent-alt: #00e5ff;
  --text:       #e8eaf0;
  --text-muted: #8892a4;
  --card-bg:    #111827;
  --border:     #1e2d4a;
  --white:      #ffffff;
  --radius:     10px;
  --transition: 0.3s ease;
  --max-width:  1200px;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: 'Segoe UI', system-ui, -apple-system, sans-serif;
  background: var(--primary);
  color: var(--text);
  line-height: 1.7;
  font-size: 16px;
}

a { color: var(--accent); text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--accent-alt); }

img { max-width: 100%; height: auto; display: block; }

/* ============================================
   TYPOGRAPHY
   ============================================ */
h1 { font-size: clamp(2rem, 5vw, 3.5rem); font-weight: 700; line-height: 1.15; }
h2 { font-size: clamp(1.6rem, 3.5vw, 2.4rem); font-weight: 700; line-height: 1.25; }
h3 { font-size: 1.25rem; font-weight: 600; }
h4 { font-size: 1rem; font-weight: 600; }
p  { color: var(--text-muted); max-width: 65ch; }

.section-label {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 0.75rem;
}

/* ============================================
   LAYOUT
   ============================================ */
.container {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 1.5rem;
}

section { padding: 5rem 0; }

.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; align-items: center; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem; }

/* ============================================
   BUTTONS
   ============================================ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.8rem 1.8rem;
  border-radius: var(--radius);
  font-weight: 600;
  font-size: 0.95rem;
  cursor: pointer;
  transition: all var(--transition);
  border: none;
}

.btn-primary {
  background: var(--accent);
  color: var(--primary);
}
.btn-primary:hover {
  background: var(--accent-alt);
  color: var(--primary);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0, 170, 255, 0.35);
}

.btn-outline {
  background: transparent;
  color: var(--accent);
  border: 2px solid var(--accent);
}
.btn-outline:hover {
  background: var(--accent);
  color: var(--primary);
  transform: translateY(-2px);
}

.btn-ghost {
  background: transparent;
  color: var(--text);
  border: 2px solid var(--border);
}
.btn-ghost:hover {
  border-color: var(--accent);
  color: var(--accent);
}

/* ============================================
   NAVIGATION — MEGA MENU (Synapsecom style)
   ============================================ */
nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  background: rgba(10, 15, 30, 0.96);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
  height: 70px;
  transition: background 0.3s ease, border-color 0.3s ease;
}

/* Solidified state after user scrolls past 50px */
nav.scrolled {
  background: rgba(8, 12, 24, 0.99);
  border-bottom-color: rgba(30, 45, 74, 0.9);
}

.nav-inner {
  display: flex;
  align-items: center;
  height: 70px;
  gap: 0;
}

.nav-logo {
  font-size: 1.3rem;
  font-weight: 800;
  color: var(--white);
  letter-spacing: -0.02em;
  margin-right: 2.5rem;
  flex-shrink: 0;
}
.nav-logo span { color: var(--accent); }
.nav-logo-img {
  height: 56px;
  width: auto;
  display: block;
  filter: brightness(0) invert(1);
  transition: opacity 0.2s ease;
}
.nav-logo:hover .nav-logo-img { opacity: 0.85; }

/* Main nav list */
.nav-links {
  display: flex;
  align-items: center;
  list-style: none;
  flex: 1;
  margin: 0; padding: 0;
}

/* Each nav item */
.nav-links .nav-item {
  position: static;
}

/* The clickable label in the nav bar */
.nav-item > .nav-label {
  display: flex;
  align-items: center;
  gap: 0.3rem;
  padding: 0 1.1rem;
  height: 70px;
  color: var(--text-muted);
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  cursor: pointer;
  transition: color 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  white-space: nowrap;
  user-select: none;
  position: relative;
}

/* Animated underline on active/hover nav item */
.nav-item > .nav-label::after {
  content: '';
  position: absolute;
  bottom: 0; left: 1.1rem; right: 1.1rem;
  height: 2px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}
.nav-item:hover > .nav-label::after,
.nav-item.active > .nav-label::after { transform: scaleX(1); }

.nav-item:hover > .nav-label,
.nav-item.active > .nav-label { color: var(--white); }

.nav-label .chevron {
  width: 12px; height: 12px;
  transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.25s ease;
  opacity: 0.45;
}
.nav-item:hover .chevron { transform: rotate(180deg); opacity: 1; }

/* Simple link items (no dropdown) */
.nav-item > a.nav-label {
  display: flex;
  align-items: center;
  padding: 0 1.1rem;
  height: 70px;
  color: var(--text-muted);
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  transition: color 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}
.nav-item > a.nav-label:hover,
.nav-item > a.nav-label.active { color: var(--white); }

/* ---- MEGA PANEL ---- */
.mega-panel {
  position: fixed;
  top: 70px;
  left: 0; right: 0;
  background: rgba(8, 12, 24, 0.97);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border-bottom: 1px solid var(--border);
  z-index: 999;
  /* hidden */
  opacity: 0;
  pointer-events: none;
  transform: translateY(-12px);
  transition:
    opacity 0.38s cubic-bezier(0.16, 1, 0.3, 1),
    transform 0.38s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: opacity, transform;
}
.nav-item:hover .mega-panel {
  opacity: 1;
  pointer-events: all;
  transform: translateY(0);
}

.mega-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 2.75rem 1.5rem 2.75rem;
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 5rem;
  align-items: start;
}

/* Left: category + bold description — fade up when panel opens */
.mega-cat {
  font-size: 0.7rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent);
  font-weight: 700;
  margin-bottom: 1rem;
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 0.38s cubic-bezier(0.16, 1, 0.3, 1) 0.05s,
              transform 0.38s cubic-bezier(0.16, 1, 0.3, 1) 0.05s;
}
.mega-desc {
  font-size: 1.55rem;
  font-weight: 700;
  color: var(--white);
  line-height: 1.3;
  max-width: 400px;
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 0.4s cubic-bezier(0.16, 1, 0.3, 1) 0.1s,
              transform 0.4s cubic-bezier(0.16, 1, 0.3, 1) 0.1s;
}
.nav-item:hover .mega-cat {
  opacity: 1;
  transform: translateY(0);
}
.nav-item:hover .mega-desc {
  opacity: 1;
  transform: translateY(0);
}

/* Right: links — staggered fade-up per link */
.mega-links { padding-top: 0.25rem; }

.mega-links a {
  display: flex;
  align-items: center;
  padding: 0.9rem 0;
  border-bottom: 1px solid var(--border);
  color: var(--text-muted);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  /* stagger entrance */
  opacity: 0;
  transform: translateY(8px);
  transition:
    opacity 0.35s cubic-bezier(0.16, 1, 0.3, 1),
    transform 0.35s cubic-bezier(0.16, 1, 0.3, 1),
    color 0.2s ease,
    padding-left 0.2s ease;
}
.mega-links a:last-child { border-bottom: none; }

/* Staggered delays — each link 60ms apart */
.mega-links a:nth-child(1) { transition-delay: 0.08s, 0.08s, 0s, 0s; }
.mega-links a:nth-child(2) { transition-delay: 0.14s, 0.14s, 0s, 0s; }
.mega-links a:nth-child(3) { transition-delay: 0.20s, 0.20s, 0s, 0s; }
.mega-links a:nth-child(4) { transition-delay: 0.26s, 0.26s, 0s, 0s; }

.nav-item:hover .mega-links a {
  opacity: 1;
  transform: translateY(0);
}

/* Hover effect on individual links */
.mega-links a:hover { color: var(--white); padding-left: 0.5rem; }

.mega-links a::after {
  content: '→';
  margin-left: auto;
  color: var(--accent);
  opacity: 0;
  transform: translateX(-6px);
  transition: opacity 0.2s ease, transform 0.2s ease;
}
.mega-links a:hover::after { opacity: 1; transform: translateX(0); }

/* Sub-links inside mega-links (indented, smaller) */
.mega-links a.mega-sub {
  padding-left: 0.75rem;
  padding-top: 0.55rem;
  padding-bottom: 0.55rem;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.07em;
  color: var(--text-muted);
  border-bottom: none;
  opacity: 0.85;
}
.mega-links a.mega-sub:hover { padding-left: 1.1rem; color: var(--white); opacity: 1; border-bottom: none; }
.nav-item:hover .mega-links a.mega-sub { opacity: 1; }

/* Staggered delays extended for sub-links */
.mega-links a:nth-child(5) { transition-delay: 0.20s, 0.20s, 0s, 0s; }
.mega-links a:nth-child(6) { transition-delay: 0.26s, 0.26s, 0s, 0s; }
.mega-links a:nth-child(7) { transition-delay: 0.32s, 0.32s, 0s, 0s; }

/* ── Products mega menu ─────────────────────────────────────────── */
.mega-inner.mega-products {
  grid-template-columns: 1fr 1fr 1fr;
  gap: 0;
  align-items: stretch;
  padding: 0;
}

.mega-prod-col {
  padding: 2.5rem 2rem;
  border-right: 1px solid var(--border);
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 0.38s cubic-bezier(0.16,1,0.3,1), transform 0.38s cubic-bezier(0.16,1,0.3,1);
}
.mega-prod-col:last-child { border-right: none; }
.mega-prod-col:nth-child(1) { transition-delay: 0.05s; }
.mega-prod-col:nth-child(2) { transition-delay: 0.10s; }
.mega-prod-col:nth-child(3) { transition-delay: 0.15s; }
.nav-item:hover .mega-prod-col { opacity: 1; transform: translateY(0); }

/* Category label above product name */
.mega-prod-cat {
  font-size: 0.62rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--accent);
  font-weight: 700;
  margin-bottom: 0.55rem;
}

/* Product name — main heading of the column */
.mega-prod-title {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 0.5rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.mega-prod-title a {
  color: inherit;
  text-decoration: none;
}
.mega-prod-title a:hover { color: var(--accent); }

/* Short description under the product name */
.mega-prod-sub {
  font-size: 0.82rem;
  color: var(--text-muted);
  line-height: 1.5;
  margin-bottom: 1.25rem;
}

/* Subtabs — same clean pattern as .mega-links a, slightly indented */
.mega-subtabs {
  margin-top: 0.25rem;
  padding-left: 0.75rem;
  border-left: 2px solid rgba(0,170,255,0.3);
}
.mega-subtabs a {
  display: flex;
  align-items: center;
  padding: 0.75rem 0;
  border-bottom: 1px solid var(--border);
  color: var(--text-muted);
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  text-decoration: none;
  opacity: 0;
  transform: translateY(6px);
  transition:
    opacity 0.32s cubic-bezier(0.16,1,0.3,1),
    transform 0.32s cubic-bezier(0.16,1,0.3,1),
    color 0.18s ease,
    padding-left 0.18s ease;
}
.mega-subtabs a:last-child { border-bottom: none; }
.mega-subtabs a:nth-child(1) { transition-delay: 0.18s, 0.18s, 0s, 0s; }
.mega-subtabs a:nth-child(2) { transition-delay: 0.24s, 0.24s, 0s, 0s; }
.mega-subtabs a:nth-child(3) { transition-delay: 0.30s, 0.30s, 0s, 0s; }
.nav-item:hover .mega-subtabs a { opacity: 1; transform: translateY(0); }
.mega-subtabs a:hover { color: var(--white); padding-left: 0.4rem; }
.mega-subtabs a::after {
  content: '→';
  margin-left: auto;
  color: var(--accent);
  opacity: 0;
  transform: translateX(-5px);
  transition: opacity 0.18s ease, transform 0.18s ease;
}
.mega-subtabs a:hover::after { opacity: 1; transform: translateX(0); }

/* Soon badge */
.mega-product-soon {
  display: inline-block;
  font-size: 0.58rem;
  background: rgba(0,229,255,0.12);
  border: 1px solid rgba(0,229,255,0.28);
  color: #00e5ff;
  padding: 0.1rem 0.4rem;
  border-radius: 50px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  vertical-align: middle;
  font-weight: 700;
}

/* Nav right actions */
.nav-actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-left: auto;
  flex-shrink: 0;
}

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  background: none;
  border: none;
  padding: 4px;
  margin-left: 1rem;
}
.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: all var(--transition);
}

/* Mobile nav drawer */
.mobile-nav {
  display: none;
  position: fixed;
  top: 70px; left: 0; right: 0; bottom: 0;
  background: var(--primary);
  border-top: 1px solid var(--border);
  z-index: 998;
  overflow-y: auto;
  padding: 1.5rem;
  flex-direction: column;
  gap: 0.25rem;
}
.mobile-nav.open { display: flex; }
.mobile-nav a {
  display: block;
  padding: 0.85rem 0;
  color: var(--text-muted);
  font-size: 0.9rem;
  font-weight: 600;
  border-bottom: 1px solid var(--border);
  letter-spacing: 0.04em;
}
.mobile-nav a:hover { color: var(--white); }
.mobile-nav .mobile-section {
  font-size: 0.7rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--accent);
  font-weight: 700;
  padding: 1.25rem 0 0.5rem;
}
.mobile-nav .nav-actions-mobile {
  display: flex;
  gap: 0.75rem;
  margin-top: 1.5rem;
  flex-wrap: wrap;
}

/* ============================================
   HERO — Video Background (Synapsecom style)
   ============================================ */
.hero {
  position: relative;
  overflow: hidden;
  background: #000;
}

/* ── Video hero full-viewport variant ── */
.hero-video-bg {
  height: 100vh;
  min-height: 620px;
  display: flex;
  flex-direction: column;
  padding-top: 0;
}

/* video fill */
.hvb-cover {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.hvb-video {
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center center;
}

/* overlays */
.hvb-overlay {
  position: absolute;
  inset: 0;
  background: rgba(5, 10, 25, 0.52);
  z-index: 1;
}
.hvb-grad-left {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(5,10,25,0.75) 0%, rgba(5,10,25,0.0) 55%);
  z-index: 2;
}
.hvb-grad-bottom {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 55%;
  background: linear-gradient(0deg, rgba(5,10,25,0.88) 0%, transparent 100%);
  z-index: 2;
}

/* content — sits above overlays */
.hvb-content {
  position: relative;
  z-index: 5;
  flex: 1;
  display: flex;
  align-items: center;
  padding-bottom: 6rem;
  padding-top: 80px;  /* clear nav */
}

.hero-content { position: relative; z-index: 1; max-width: 720px; }

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(0,170,255,0.12);
  border: 1px solid rgba(0,170,255,0.35);
  color: var(--accent);
  padding: 0.4rem 1.1rem;
  border-radius: 50px;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 1.5rem;
}

.hero h1 {
  font-size: clamp(2.8rem, 5.5vw, 4.5rem);
  font-weight: 800;
  line-height: 1.08;
  color: var(--white);
  margin-bottom: 1.25rem;
  letter-spacing: -0.02em;
}
.hero h1 .highlight {
  background: linear-gradient(135deg, var(--accent), var(--accent-alt));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero p {
  font-size: 1.1rem;
  line-height: 1.7;
  color: rgba(232, 234, 240, 0.85);
  margin-bottom: 2.2rem;
  max-width: 52ch;
}

.hero-actions { display: flex; gap: 1rem; flex-wrap: wrap; }

/* stats bar — frosted strip pinned at very bottom */
.hvb-stats-bar {
  position: relative;
  z-index: 5;
  padding: 1.25rem 0;
  background: rgba(5, 10, 25, 0.55);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-top: 1px solid rgba(30, 45, 74, 0.7);
}

.hero-stats {
  display: flex;
  gap: 2.5rem;
}
.stat-value { font-size: 1.65rem; font-weight: 800; color: var(--white); }
.stat-label { font-size: 0.75rem; color: var(--text-muted); margin-top: 0.15rem; }

/* scroll btn — circle bottom-right like Synapsecom */
.hvb-scroll-btn {
  position: absolute;
  bottom: 5.5rem;   /* just above stats bar */
  right: 3rem;
  z-index: 10;
  width: 58px;
  height: 58px;
  border: 1.5px solid rgba(255, 255, 255, 0.45);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  text-decoration: none;
  transition: border-color 0.3s ease, color 0.3s ease, transform 0.3s ease;
  animation: scrollPulse 2.4s ease-in-out infinite;
}
.hvb-scroll-btn:hover {
  border-color: var(--accent);
  color: var(--accent);
  transform: translateY(4px);
  animation: none;
}
.hvb-scroll-btn svg { width: 20px; height: 20px; }

@keyframes scrollPulse {
  0%, 100% { transform: translateY(0); opacity: 1; }
  50% { transform: translateY(6px); opacity: 0.7; }
}

/* ============================================
   CARDS
   ============================================ */
.card {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 2rem;
  transition: all var(--transition);
}
.card:hover {
  border-color: var(--accent);
  transform: translateY(-4px);
  box-shadow: 0 16px 40px rgba(0,170,255,0.1);
}

.card-icon {
  width: 52px;
  height: 52px;
  background: rgba(0,170,255,0.1);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
  font-size: 1.4rem;
}

.card h3 { color: var(--white); margin-bottom: 0.6rem; }
.card p { font-size: 0.9rem; }

/* ============================================
   SECTION HEADERS
   ============================================ */
.section-header { text-align: center; margin-bottom: 3.5rem; }
.section-header h2 { color: var(--white); margin-bottom: 1rem; }
.section-header p { margin: 0 auto; font-size: 1.05rem; }

/* ============================================
   DIVIDER / GRADIENT LINE
   ============================================ */
.divider {
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--border), transparent);
  margin: 0;
}

/* ============================================
   INTRO BAR
   ============================================ */
.s-intro {
  padding: 2.5rem 0;
  border-bottom: 1px solid var(--border);
}
.intro-eyebrow {
  text-align: center;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin: 0 0 1.25rem;
  max-width: none;
}
.intro-badges {
  display: flex;
  justify-content: center;
  gap: 0.75rem;
  flex-wrap: wrap;
}
.intro-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.5rem 1.1rem 0.5rem 0.85rem;
  border-radius: 50px;
  border: 1px solid;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  transition: filter 0.2s;
}
.intro-badge:hover { filter: brightness(1.15); }
.ib-icon { width: 15px; height: 15px; flex-shrink: 0; }

.ib-defense   { color: #00aaff; border-color: rgba(0,170,255,0.28);   background: rgba(0,170,255,0.07); }
.ib-gov       { color: #60a5fa; border-color: rgba(96,165,250,0.28);  background: rgba(96,165,250,0.07); }
.ib-infra     { color: #00e5ff; border-color: rgba(0,229,255,0.28);   background: rgba(0,229,255,0.07); }
.ib-scada     { color: #2dd4bf; border-color: rgba(45,212,191,0.28);  background: rgba(45,212,191,0.07); }
.ib-enterprise{ color: #818cf8; border-color: rgba(129,140,248,0.28); background: rgba(129,140,248,0.07); }

/* ============================================
   STICKY STACK — Synapsecom-style
   Each section: position:sticky; top:0
   They stack over each other as you scroll.
   Only .white-line and .sticky-btn animate.
   ============================================ */
.sticky-stack {
  position: relative;
}

.sticky-slide {
  position: sticky;
  top: 0;
  height: 100vh;
  min-height: 600px;
  overflow: hidden;
  display: flex;
  align-items: center;
}

/* Background layer — each section overrides colour */
.sticky-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.sticky-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  /* subtle radial light – overridden per section */
}

/* Content above bg */
.sticky-slide .container {
  position: relative;
  z-index: 1;
}

.sticky-inner {
  max-width: 620px;
}

/* Counter: [01] use case */
.sticky-counter {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 2rem;
  max-width: none;
}
.sticky-counter span { color: var(--accent); }

/* Heading row: white-line | h2 */
.sticky-heading-row {
  display: flex;
  align-items: stretch;
  gap: 1.4rem;
  margin-bottom: 1.75rem;
}

/* Clip wrapper — needed so translateX(-101%) actually hides the bar */
.white-line-wrap {
  overflow: hidden;
  display: flex;
  align-items: stretch;
  flex-shrink: 0;
  width: 4px;
}

/* The decorative vertical bar — mirrors Synapsecom's .white-line */
.white-line {
  width: 4px;
  min-height: 100%;
  background: var(--white);
  flex-shrink: 0;
  border-radius: 2px;
  /* starts fully off-screen left, clipped by .white-line-wrap */
  transform: translate3d(-101%, 0, 0);
  will-change: transform;
}

.sticky-slide h2 {
  font-size: clamp(2.8rem, 5vw, 4.5rem);
  color: var(--white);
  font-weight: 700;
  line-height: 1.1;
  margin: 0;
}

.sticky-desc {
  font-size: 1rem;
  color: var(--text-muted);
  max-width: 52ch;
  line-height: 1.8;
  margin-bottom: 2.5rem;
}

/* Button starts invisible — JS fades it in */
.sticky-btn {
  opacity: 0;
  will-change: opacity;
}

/* ── Per-section backgrounds ── */
.s-defense .sticky-bg {
  background: linear-gradient(155deg, #040c1a 0%, #071828 55%, #030d1e 100%);
}
.s-defense .sticky-bg::after {
  background: radial-gradient(ellipse at 80% 50%, rgba(0, 90, 220, 0.14) 0%, transparent 60%);
}

.s-government .sticky-bg {
  background: linear-gradient(155deg, #060b1c 0%, #0a1530 55%, #050a18 100%);
}
.s-government .sticky-bg::after {
  background: radial-gradient(ellipse at 25% 55%, rgba(0, 170, 255, 0.11) 0%, transparent 60%);
}

.s-infrastructure .sticky-bg {
  background: linear-gradient(155deg, #040d07 0%, #081408 55%, #030e06 100%);
}
.s-infrastructure .sticky-bg::after {
  background: radial-gradient(ellipse at 70% 45%, rgba(0, 200, 80, 0.11) 0%, transparent 60%);
}

.s-enterprise .sticky-bg {
  background: linear-gradient(155deg, #0b0718 0%, #160c28 55%, #090516 100%);
}
.s-enterprise .sticky-bg::after {
  background: radial-gradient(ellipse at 35% 50%, rgba(130, 60, 220, 0.13) 0%, transparent 60%);
}

/* ── Feature section override ── */
.s-features {
  background: var(--secondary);
  padding: 5rem 0;
}

/* ============================================
   FOOTER
   ============================================ */
footer {
  background: var(--secondary);
  border-top: 1px solid var(--border);
  padding: 4rem 0 2rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 3rem;
  margin-bottom: 3rem;
}

.footer-brand p { font-size: 0.9rem; margin-top: 0.75rem; max-width: 28ch; }

.footer-social { display: flex; gap: 1rem; margin-top: 1rem; }
.footer-social a { display: flex; color: var(--text-muted); transition: color 0.2s; }
.footer-social a svg { width: 15px; height: 15px; }
.footer-social a:hover { color: var(--accent); }

.footer-col h4 { color: var(--white); margin-bottom: 1.25rem; font-size: 0.9rem; letter-spacing: 0.05em; text-transform: uppercase; }
.footer-col ul { list-style: none; }
.footer-col ul li { margin-bottom: 0.6rem; }
.footer-col ul li a { color: var(--text-muted); font-size: 0.9rem; }
.footer-col ul li a:hover { color: var(--accent); }

.footer-bottom {
  padding-top: 2rem;
  border-top: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.85rem;
  color: var(--text-muted);
}

/* ============================================
   PAGE HERO (inner pages)
   ============================================ */
.page-hero {
  padding: 8rem 0 4rem;
  text-align: center;
  background: radial-gradient(ellipse 70% 50% at 50% 30%, rgba(0,170,255,0.07) 0%, transparent 70%);
}
.page-hero h1 { color: var(--white); margin-bottom: 1rem; }
.page-hero p { margin: 0 auto; font-size: 1.1rem; }

/* ============================================
   FORMS
   ============================================ */
.form-group { margin-bottom: 1.25rem; }
.form-group label { display: block; font-size: 0.85rem; color: var(--text-muted); margin-bottom: 0.4rem; font-weight: 500; }
.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  color: var(--text);
  padding: 0.75rem 1rem;
  font-size: 0.95rem;
  font-family: inherit;
  outline: none;
  transition: border-color var(--transition);
}
.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus { border-color: var(--accent); }
.form-group textarea { resize: vertical; min-height: 140px; }

/* ============================================
   TAG / BADGE
   ============================================ */
.tag {
  display: inline-block;
  background: rgba(0,170,255,0.1);
  color: var(--accent);
  border: 1px solid rgba(0,170,255,0.25);
  border-radius: 50px;
  padding: 0.2rem 0.75rem;
  font-size: 0.75rem;
  font-weight: 600;
}

/* ============================================
   PRODUCT CARD
   ============================================ */
.product-card {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: all var(--transition);
}
.product-card:hover {
  border-color: var(--accent);
  transform: translateY(-4px);
  box-shadow: 0 16px 40px rgba(0,170,255,0.1);
}
.product-card-img {
  height: 220px;
  background: linear-gradient(135deg, #0d1b3e, #1a2f5e);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 4rem;
}
.product-card-body { padding: 1.5rem; }
.product-card-body h3 { color: var(--white); margin-bottom: 0.5rem; }
.product-card-body p { font-size: 0.9rem; margin-bottom: 1rem; }

/* ============================================
   PRODUCT SHOWCASE — Homepage split section
   ============================================ */
.s-showcase {
  padding: 6rem 0 5.5rem;
  position: relative;
  overflow: hidden;
  background: linear-gradient(180deg, var(--primary) 0%, #090e1c 100%);
}

/* Subtle dot-grid backdrop */
.s-showcase::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(rgba(0,170,255,0.07) 1px, transparent 1px);
  background-size: 32px 32px;
  pointer-events: none;
}

/* Radial accent glow from the right */
.s-showcase::after {
  content: '';
  position: absolute;
  top: -10%;
  right: -5%;
  width: 55%;
  height: 120%;
  background: radial-gradient(ellipse, rgba(0,100,220,0.07) 0%, transparent 65%);
  pointer-events: none;
}

.showcase-wrap {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 5rem;
  align-items: center;
  position: relative;
  z-index: 1;
}

.showcase-copy h2 {
  color: var(--white);
  font-size: clamp(2rem, 3.5vw, 2.9rem);
  margin-bottom: 1.25rem;
  line-height: 1.12;
}

.showcase-copy > p {
  font-size: 1.05rem;
  margin-bottom: 2rem;
  max-width: 48ch;
}

.showcase-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  margin-bottom: 2.5rem;
}

.spec-pill {
  background: rgba(0,170,255,0.06);
  border: 1px solid rgba(0,170,255,0.22);
  color: var(--accent);
  padding: 0.35rem 0.9rem;
  border-radius: 50px;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  transition: background 0.2s ease, border-color 0.2s ease;
  cursor: default;
}
.spec-pill:hover {
  background: rgba(0,170,255,0.12);
  border-color: rgba(0,170,255,0.45);
}

.showcase-actions { display: flex; gap: 1rem; flex-wrap: wrap; }

.showcase-device {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem 0;
}

.device-glow {
  position: absolute;
  width: 90%;
  height: 80%;
  background: radial-gradient(ellipse at 50% 60%, rgba(180,200,220,0.13) 0%, rgba(180,200,220,0.06) 45%, transparent 72%);
  pointer-events: none;
  z-index: 0;
  filter: blur(28px);
  border-radius: 50%;
}

.device-img {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 600px;
  filter: drop-shadow(0 0 2px rgba(255,255,255,0.55)) drop-shadow(0 0 8px rgba(255,255,255,0.18)) drop-shadow(0 16px 48px rgba(0,0,0,0.6));
  transition: filter 0.5s ease, transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.device-img:hover {
  filter: drop-shadow(0 0 3px rgba(255,255,255,0.65)) drop-shadow(0 0 10px rgba(255,255,255,0.22)) drop-shadow(0 20px 56px rgba(0,0,0,0.7));
  transform: translateY(-10px) scale(1.02);
}

/* ============================================
   PRODUCT VISUAL — Products page hero images
   ============================================ */
.s-product-visual {
  padding: 4.5rem 0 3.5rem;
  background: var(--primary);
}

.product-visual-grid {
  display: grid;
  grid-template-columns: 1.35fr 1fr;
  gap: 2.5rem;
  align-items: start;
}

.pv-main {
  position: relative;
}

.pv-main .pv-img {
  width: 100%;
  filter: drop-shadow(0 0 2px rgba(255,255,255,0.55)) drop-shadow(0 0 8px rgba(255,255,255,0.18)) drop-shadow(0 16px 48px rgba(0,0,0,0.55));
  transition: filter 0.45s ease, transform 0.45s cubic-bezier(0.16, 1, 0.3, 1);
}
.pv-main:hover .pv-img {
  filter: drop-shadow(0 0 3px rgba(255,255,255,0.65)) drop-shadow(0 0 10px rgba(255,255,255,0.22)) drop-shadow(0 20px 56px rgba(0,0,0,0.65));
  transform: translateY(-5px);
}

.pv-secondary {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.pv-secondary-inner { position: relative; }

.pv-img-secondary {
  width: 100%;
  border-radius: var(--radius);
  filter: brightness(0.92) saturate(0.8);
  transition: filter 0.4s ease, transform 0.4s ease;
}
.pv-secondary-inner:hover .pv-img-secondary {
  filter: brightness(1) saturate(1) drop-shadow(0 0 2px rgba(255,255,255,0.5)) drop-shadow(0 0 8px rgba(255,255,255,0.15)) drop-shadow(0 8px 28px rgba(0,0,0,0.5));
  transform: translateY(-4px);
}

.pv-caption {
  margin-top: 0.75rem;
  font-size: 0.9rem;
  color: var(--text-muted);
  letter-spacing: 0.03em;
  text-align: center;
  max-width: none;
}

/* Quick spec list on the right */
.pv-specs-overlay {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.25rem 1.5rem;
}

.pv-spec-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.6rem 0;
  border-bottom: 1px solid var(--border);
}
.pv-spec-row:last-child { border-bottom: none; }

.pv-spec-label {
  font-size: 0.8rem;
  color: var(--text-muted);
  font-weight: 500;
}
.pv-spec-val {
  font-size: 0.82rem;
  color: var(--accent);
  font-weight: 700;
  letter-spacing: 0.03em;
}

/* ============================================
   ARCHITECTURE DIAGRAMS
   ============================================ */
.arch-diagram {
  margin-top: 1.75rem;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border);
  background: #fff;
  transition: box-shadow 0.3s ease;
}
.arch-diagram:hover {
  box-shadow: 0 8px 32px rgba(0,170,255,0.12);
}

.arch-diagram-img {
  width: 100%;
  display: block;
}

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 1024px) {
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

/* ============================================
   PRODUCT PORTFOLIO — Homepage two-card grid
   ============================================ */
.s-portfolio { padding: 5rem 0; }

.portfolio-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  margin-top: 0;
}

.portfolio-card {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: 16px;
  overflow: hidden;
  transition: border-color 0.3s ease, box-shadow 0.3s ease, transform 0.3s ease;
  display: flex;
  flex-direction: column;
}
.portfolio-card:hover {
  border-color: var(--accent);
  box-shadow: 0 16px 48px rgba(0,170,255,0.1);
  transform: translateY(-4px);
}
.portfolio-card--soon:hover {
  border-color: #00e5ff;
  box-shadow: 0 16px 48px rgba(0,229,255,0.1);
}

.portfolio-card-status {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 0.85rem 1.5rem;
  border-bottom: 1px solid var(--border);
}
.portfolio-card-status--live {
  color: #22c55e;
  background: rgba(34,197,94,0.06);
}
.portfolio-card-status--live::before {
  content: '';
  width: 7px; height: 7px;
  border-radius: 50%;
  background: #22c55e;
}
.portfolio-card-status--soon {
  color: #00e5ff;
  background: rgba(0,229,255,0.06);
}
.portfolio-card-status--soon::before {
  content: '';
  width: 7px; height: 7px;
  border-radius: 50%;
  background: #00e5ff;
  animation: pulseDot 1.8s ease-in-out infinite;
}
@keyframes pulseDot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50%       { opacity: 0.35; transform: scale(0.65); }
}

.portfolio-card-img {
  height: 240px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(145deg, #0d1628 0%, #0a1020 100%);
  border-bottom: 1px solid var(--border);
  overflow: hidden;
  position: relative;
}

.portfolio-device-img {
  max-width: 85%;
  max-height: 85%;
  object-fit: contain;
  filter: drop-shadow(0 0 2px rgba(255,255,255,0.55)) drop-shadow(0 0 8px rgba(255,255,255,0.18)) drop-shadow(0 12px 36px rgba(0,0,0,0.55));
  transition: transform 0.4s cubic-bezier(0.16,1,0.3,1), filter 0.4s ease;
}
.portfolio-card:hover .portfolio-device-img {
  transform: translateY(-6px) scale(1.04);
  filter: drop-shadow(0 0 3px rgba(255,255,255,0.65)) drop-shadow(0 0 10px rgba(255,255,255,0.22)) drop-shadow(0 16px 48px rgba(0,0,0,0.65));
}

.portfolio-card-img--ssd {
  flex-direction: column;
  gap: 0;
}
.ssd-preview-icon {
  font-size: 4.5rem;
  filter: drop-shadow(0 4px 20px rgba(0,229,255,0.45));
  transition: transform 0.4s cubic-bezier(0.16,1,0.3,1);
  position: relative;
  z-index: 1;
}
.portfolio-card--soon:hover .ssd-preview-icon {
  transform: translateY(-6px) scale(1.08);
}
.ssd-preview-glow {
  position: absolute;
  width: 160px; height: 120px;
  background: radial-gradient(ellipse, rgba(0,229,255,0.2) 0%, transparent 68%);
  filter: blur(24px);
  pointer-events: none;
}

.portfolio-card-body {
  padding: 1.75rem;
  flex: 1;
  display: flex;
  flex-direction: column;
}
.portfolio-card-body h3 { font-size: 1.2rem; margin-bottom: 0.3rem; }
.portfolio-card-type {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 0.85rem;
  max-width: none;
}
.portfolio-card-body p { font-size: 0.9rem; flex: 1; }
.portfolio-card-body .btn { align-self: flex-start; }

@media (max-width: 768px) {
  .portfolio-grid { grid-template-columns: 1fr; }
}

/* ============================================
   SSD TEASER STRIP
   ============================================ */
.ssd-teaser-strip {
  padding: 0;
  background: linear-gradient(90deg, rgba(0,229,255,0.04) 0%, transparent 60%);
  border-top: 1px solid rgba(0,229,255,0.12);
  border-bottom: 1px solid rgba(0,229,255,0.12);
}

.ssd-teaser-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  padding: 1.75rem 0;
  border-left: 3px solid rgba(0,229,255,0.5);
  padding-left: 1.75rem;
}

.ssd-teaser-left {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  flex: 1;
}

.ssd-teaser-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #00e5ff;
  flex-shrink: 0;
  margin-top: 0.55rem;
  animation: pulseDot 1.8s ease-in-out infinite;
}

.ssd-teaser-label {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #00e5ff;
  margin-bottom: 0.3rem;
  opacity: 0.8;
}

.ssd-teaser-title {
  font-size: 1rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 0.4rem;
  line-height: 1.4;
}
.ssd-teaser-title span { color: #00e5ff; }

.ssd-teaser-desc {
  font-size: 0.85rem;
  color: var(--text-muted);
  max-width: 560px;
  line-height: 1.55;
}

.ssd-teaser-btn {
  flex-shrink: 0;
  border-color: rgba(0,229,255,0.35) !important;
  color: #00e5ff !important;
  white-space: nowrap;
}
.ssd-teaser-btn:hover {
  background: rgba(0,229,255,0.08) !important;
  border-color: rgba(0,229,255,0.6) !important;
}

@media (max-width: 768px) {
  .ssd-teaser-inner {
    flex-direction: column;
    align-items: flex-start;
    gap: 1.25rem;
  }
  .ssd-teaser-btn { align-self: flex-start; }
}

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 768px) {
  .grid-2 { grid-template-columns: 1fr; }
  .grid-3 { grid-template-columns: 1fr; }
  .grid-4 { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 2rem; }
  .footer-bottom { flex-direction: column; gap: 0.5rem; text-align: center; }
  .hero-stats { flex-wrap: wrap; gap: 1.5rem; }

  /* Video hero mobile */
  .hvb-content { padding-bottom: 4rem; }
  .hvb-grad-left { display: none; }
  .hvb-scroll-btn { right: 1.5rem; bottom: 5rem; width: 48px; height: 56px; }
  .hero h1 { font-size: 2.4rem; }
  .hero-stats { gap: 1rem; }
  .stat-value { font-size: 1.35rem; }

  .nav-links { display: none; }
  .nav-actions { display: none; }
  .hamburger { display: flex; }

  /* Product showcase mobile */
  .showcase-wrap { grid-template-columns: 1fr; gap: 2.5rem; }
  .showcase-device { order: -1; padding: 1rem 0; }
  .device-img { max-width: 90%; margin: 0 auto; }

  /* Products page visual mobile */
  .product-visual-grid { grid-template-columns: 1fr; }
}


/* ============================================
   MOBILE OPTIMIZATIONS — comprehensive fix
   ============================================ */

/* Prevent horizontal overflow globally */
@media (max-width: 768px) {
  html, body { overflow-x: hidden; }

  /* Container padding */
  .container { padding-left: 1.25rem; padding-right: 1.25rem; }

  /* Section vertical padding */
  section { padding-top: 3rem !important; padding-bottom: 3rem !important; }
  .page-hero { padding: 3rem 0 2rem; }

  /* Page subnav breadcrumb — make scrollable */
  .page-subnav, nav + div[style*="display:flex"], .breadcrumb-nav {
    overflow-x: auto;
    white-space: nowrap;
    -webkit-overflow-scrolling: touch;
    padding-bottom: 0.5rem;
  }
  .page-subnav a { white-space: nowrap; }

  /* Hero */
  .hero h1 { font-size: 2rem; }
  .hero-cta { flex-direction: column; align-items: flex-start; gap: 0.75rem; }
  .hero-cta .btn { width: 100%; text-align: center; }

  /* Buttons — full width inside hero, not elsewhere */
  .hvb-content .hero-cta .btn { width: auto; }

  /* Spec table — scrollable on small screens */
  .spec-section { overflow-x: auto; -webkit-overflow-scrolling: touch; }
  .spec-table { min-width: 420px; }
  .spec-table td:first-child { width: 40%; min-width: 130px; font-size: 0.82rem; }
  .spec-table td:last-child { font-size: 0.82rem; }

  /* Architecture cards */
  .arch-card { padding: 1.25rem; }
  .arch-diagram { overflow-x: auto; }
  .arch-diagram-img { min-width: 320px; }

  /* Products page subnav tabs */
  .pv-tabs, div[style*="display:flex"][style*="gap"][style*="border-bottom"] {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    flex-wrap: nowrap !important;
    padding-bottom: 4px;
  }

  /* Product visual grid */
  .pv-secondary { gap: 1rem; }

  /* Comparison table in services */
  .comparison-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; }
  div[style*="grid-template-columns: 1fr 1fr 1fr"] {
    min-width: 520px;
  }

  /* Wrap comparison table parent in scroll container */
  section div[style*="max-width:800px"] {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }

  /* Footer */
  .footer-grid { grid-template-columns: 1fr; gap: 2rem; }
  .footer-bottom { flex-direction: column; gap: 0.5rem; text-align: center; }
  .footer-nav { flex-wrap: wrap; gap: 0.75rem; justify-content: center; }

  /* Press cards */
  .press-grid { grid-template-columns: 1fr !important; }
  .press-card { grid-template-columns: 1fr !important; }
  .press-card-img { height: 180px; }

  /* News grid */
  .news-grid { grid-template-columns: 1fr !important; }
  .news-featured { grid-template-columns: 1fr !important; }
  .news-featured-img { height: 200px; }

  /* Partners logos */
  .partners-grid { grid-template-columns: repeat(2, 1fr) !important; }

  /* Resources */
  .resources-grid { grid-template-columns: 1fr !important; }

  /* Stats */
  .hero-stats { flex-wrap: wrap; gap: 1.5rem; justify-content: center; }
  .stat-item { min-width: 120px; text-align: center; }

  /* Section headers */
  .section-header { text-align: center; }
  .section-header h2 { font-size: clamp(1.5rem, 5vw, 2rem); }

  /* Cards padding */
  .card { padding: 1.25rem; }

  /* Showcase */
  .showcase-wrap { grid-template-columns: 1fr; }
  .showcase-tabs { overflow-x: auto; -webkit-overflow-scrolling: touch; flex-wrap: nowrap !important; }
  .showcase-tab { white-space: nowrap; }

  /* Use case grid on services page */
  .grid-3 { grid-template-columns: 1fr; }
  .grid-2 { grid-template-columns: 1fr; }
}

/* Extra small screens (phones < 400px) */
@media (max-width: 400px) {
  .container { padding-left: 1rem; padding-right: 1rem; }
  .hero h1 { font-size: 1.75rem; }
  .btn { padding: 0.65rem 1.25rem; font-size: 0.85rem; }
  .nav-logo-img { height: 44px; }
  .card { padding: 1rem; }
  .spec-table { min-width: 340px; }
}
