/* ==========================================================================
   VortexGrid Studio — Precision Independent Web3D Engineering Design System
   Architecture: Pure BEM Methodology (Block__Element--Modifier)
   ========================================================================== */

/* --- 1. Fonts & Custom Properties --- */
@import url('https://fonts.googleapis.com/css2?family=JetBrains+Mono:wght@400;500;600;700&family=Plus+Jakarta+Sans:wght@300;400;500;600;700;800&family=Space+Grotesk:wght@500;600;700&display=swap');

:root {
  /* Brand Core Palette */
  --color-primary: #2199D5;
  --color-primary-light: #56b8eb;
  --color-primary-dark: #126b9a;
  --color-primary-glow: rgba(33, 153, 213, 0.38);
  --color-primary-dim: rgba(33, 153, 213, 0.12);
  --color-primary-border: rgba(33, 153, 213, 0.22);
  --color-primary-hover-border: rgba(33, 153, 213, 0.55);

  /* Deep Obsidian Backgrounds */
  --color-bg-base: #06080d;
  --color-bg-surface: #0b1018;
  --color-bg-surface-elevated: #0f1622;
  --color-bg-glass: rgba(14, 21, 33, 0.65);
  --color-bg-glass-card: rgba(11, 17, 27, 0.72);
  --color-header-bg: rgba(8, 12, 20, 0.65);

  /* Typography Colors */
  --color-text-main: #f8fafc;
  --color-text-body: #94a3b8;
  --color-text-muted: #64748b;
  --color-text-accent: #56b8eb;

  /* Structural Highlights & Borders */
  --border-subtle: rgba(255, 255, 255, 0.08);
  --border-specular: rgba(255, 255, 255, 0.12);
  --border-glass-card: 1px solid rgba(255, 255, 255, 0.08);
  --border-glass-hover: 1px solid rgba(33, 153, 213, 0.5);

  /* Typography Families */
  --font-heading: 'Space Grotesk', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-body: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-mono: 'JetBrains Mono', 'Fira Code', monospace;

  /* Layout & Sizing */
  --container-max-width: 1220px;
  --header-height: 88px;
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-xl: 28px;
  --radius-full: 9999px;

  /* Transitions & Easing */
  --transition-fast: 0.18s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-normal: 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-smooth: 0.45s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Nav Lock Utilities when Mobile Drawer is Open */
html.nav-locked,
body.nav-locked {
  overflow: hidden !important;
  touch-action: none !important;
  height: 100% !important;
}

.header.header--locked {
  position: fixed !important;
  top: 0 !important;
  left: 0 !important;
  right: 0 !important;
  width: 100% !important;
}

/* --- 2. CSS Reset & Global Layout --- */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-height) + 24px);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  background-color: var(--color-bg-base);
  color: var(--color-text-main);
  overflow-x: clip;
}

body {
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.6;
  color: var(--color-text-body);
  background-color: var(--color-bg-base);
  min-height: 100vh;
  position: relative;
  overflow-x: clip;
}

img,
picture,
video,
canvas,
svg {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
select,
textarea {
  font-family: inherit;
  font-size: inherit;
  color: inherit;
  background: transparent;
  border: none;
  outline: none;
}

button {
  cursor: pointer;
}

ul,
ol {
  list-style: none;
}

/* Selection Color */
::selection {
  background: rgba(33, 153, 213, 0.35);
  color: #ffffff;
}

/* --- 3. Background Interactive Canvas --- */
.canvas-bg {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  z-index: 0;
  pointer-events: none;
}

/* --- 4. Main Page Container --- */
.site-wrapper {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

.site-container {
  width: 100%;
  max-width: var(--container-max-width);
  margin-left: auto;
  margin-right: auto;
  padding-left: 28px;
  padding-right: 28px;
}

/* --- 5. Navigation Bar (Sticky Glass Header) --- */
.header {
  position: sticky;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1002;
  height: var(--header-height);
  background: var(--color-header-bg);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  border-bottom: 1px solid var(--color-primary-border);
  transition: background-color var(--transition-normal), border-color var(--transition-normal);
  animation: headerSlideDown 0.75s cubic-bezier(0.16, 1, 0.3, 1) 0.05s both;
  will-change: transform, opacity;
}

@keyframes headerSlideDown {
  0% {
    opacity: 0;
    transform: translate3d(0, -20px, 0);
  }
  100% {
    opacity: 1;
    transform: translate3d(0, 0, 0);
  }
}

.header__container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
  max-width: var(--container-max-width);
  margin-left: auto;
  margin-right: auto;
  padding-left: 28px;
  padding-right: 28px;
}

.header__logo {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  flex-shrink: 0;
}

.header__logo-img {
  height: 66px;
  width: auto;
  object-fit: contain;
  transition: transform var(--transition-fast), filter var(--transition-fast);
}

.header__logo:hover .header__logo-img {
  transform: translateY(-1px);
  filter: drop-shadow(0 0 12px var(--color-primary-glow));
}

.header__nav {
  display: flex;
  align-items: center;
  gap: 32px;
}

.header__nav-list {
  display: flex;
  align-items: center;
  gap: 28px;
}

.header__nav-link {
  font-family: var(--font-body);
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--color-text-body);
  transition: color var(--transition-fast);
  position: relative;
  padding: 6px 0;
}

.header__nav-link::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0;
  height: 2px;
  background-color: var(--color-primary);
  box-shadow: 0 0 8px var(--color-primary-glow);
  transition: width var(--transition-normal);
}

.header__nav-link:hover,
.header__nav-link--active {
  color: #ffffff;
}

.header__nav-link:hover::after,
.header__nav-link--active::after {
  width: 100%;
}

.header__actions {
  display: flex;
  align-items: center;
  gap: 16px;
}

.header__cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-body);
  font-size: 0.88rem;
  font-weight: 600;
  color: #ffffff;
  background: var(--color-primary);
  border: 1px solid var(--color-primary-light);
  border-radius: var(--radius-full);
  padding: 9px 20px;
  box-shadow: 0 0 18px var(--color-primary-glow);
  transition: all var(--transition-fast);
  white-space: nowrap;
}

.header__cta:hover {
  background: var(--color-primary-light);
  color: #06080d;
  box-shadow: 0 0 28px rgba(33, 153, 213, 0.6);
  transform: translateY(-1px);
}

/* Mobile Hamburger Button */
.header__burger {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: 44px;
  height: 44px;
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border-subtle);
  cursor: pointer;
  z-index: 102;
  gap: 6px;
  transition: all var(--transition-fast);
}

.header__burger:hover {
  border-color: var(--color-primary-border);
  background: var(--color-primary-dim);
}

.header__burger-line {
  width: 22px;
  height: 2px;
  background-color: #ffffff;
  border-radius: 2px;
  transition: transform var(--transition-normal), opacity var(--transition-fast);
}

.header__burger--active .header__burger-line:nth-child(1) {
  transform: translateY(8px) rotate(45deg);
}

.header__burger--active .header__burger-line:nth-child(2) {
  opacity: 0;
  transform: scaleX(0);
}

.header__burger--active .header__burger-line:nth-child(3) {
  transform: translateY(-8px) rotate(-45deg);
}

/* Mobile Drawer Overlay */
.header__drawer {
  display: none;
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  height: 100dvh;
  z-index: 1000;
  visibility: hidden;
  opacity: 0;
  transition: opacity 0.35s cubic-bezier(0.16, 1, 0.3, 1), visibility 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  pointer-events: none;
}

.header__drawer--open {
  visibility: visible;
  opacity: 1;
  pointer-events: auto;
}

.header__drawer-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(6, 8, 13, 0.96);
  backdrop-filter: blur(32px) saturate(160%);
  -webkit-backdrop-filter: blur(32px) saturate(160%);
  opacity: 0;
  transition: opacity 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.header__drawer--open .header__drawer-backdrop {
  opacity: 1;
}

.header__drawer-content {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  height: 100%;
  padding: calc(var(--header-height) + 24px) 28px 40px;
  overflow-y: auto;
  transform: translateY(-16px);
  opacity: 0;
  transition: transform 0.45s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.header__drawer--open .header__drawer-content {
  transform: translateY(0);
  opacity: 1;
}

.header__drawer-nav {
  display: flex;
  flex-direction: column;
  gap: 18px;
  margin-bottom: 36px;
}

.header__drawer-link {
  font-family: var(--font-heading);
  font-size: 1.55rem;
  font-weight: 600;
  color: var(--color-text-main);
  padding: 12px 0;
  border-bottom: 1px solid var(--border-subtle);
  opacity: 0;
  transform: translateX(-24px);
  filter: blur(3px);
  transition: opacity 0.38s cubic-bezier(0.16, 1, 0.3, 1),
              transform 0.42s cubic-bezier(0.16, 1, 0.3, 1),
              filter 0.38s cubic-bezier(0.16, 1, 0.3, 1),
              color var(--transition-fast),
              padding-left var(--transition-fast);
}

.header__drawer--open .header__drawer-link:nth-child(1) {
  opacity: 1;
  transform: translateX(0);
  filter: blur(0);
  transition-delay: 0.08s;
}

.header__drawer--open .header__drawer-link:nth-child(2) {
  opacity: 1;
  transform: translateX(0);
  filter: blur(0);
  transition-delay: 0.15s;
}

.header__drawer--open .header__drawer-link:nth-child(3) {
  opacity: 1;
  transform: translateX(0);
  filter: blur(0);
  transition-delay: 0.22s;
}

.header__drawer--open .header__drawer-link:nth-child(4) {
  opacity: 1;
  transform: translateX(0);
  filter: blur(0);
  transition-delay: 0.29s;
}

.header__drawer-link:hover {
  color: var(--color-primary-light);
  padding-left: 10px;
}

.header__drawer-cta {
  width: 100%;
  justify-content: center;
  padding: 15px 24px;
  font-size: 1.05rem;
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.4s cubic-bezier(0.16, 1, 0.3, 1),
              transform 0.45s cubic-bezier(0.16, 1, 0.3, 1),
              background var(--transition-fast),
              box-shadow var(--transition-fast);
}

.header__drawer--open .header__drawer-cta {
  opacity: 1;
  transform: translateY(0);
  transition-delay: 0.36s;
}

/* --- 6. Generic UI Buttons & Badges --- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 600;
  padding: 13px 26px;
  border-radius: var(--radius-full);
  transition: all var(--transition-fast);
  white-space: nowrap;
  position: relative;
  overflow: hidden;
  text-decoration: none;
}

.btn--primary {
  background: var(--color-primary);
  color: #ffffff;
  border: 1px solid var(--color-primary-light);
  box-shadow: 0 4px 20px var(--color-primary-glow);
  position: relative;
  overflow: hidden;
}

.btn--primary::after {
  content: '';
  position: absolute;
  top: 0;
  left: -120%;
  width: 60%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent 0%,
    rgba(255, 255, 255, 0.28) 50%,
    transparent 100%
  );
  transform: skewX(-22deg);
  pointer-events: none;
  transition: none;
}

.btn--primary:hover::after {
  left: 180%;
  transition: left 0.75s cubic-bezier(0.16, 1, 0.3, 1);
}

.btn--primary:hover {
  background: var(--color-primary-light);
  color: #06080d;
  box-shadow: 0 8px 30px rgba(33, 153, 213, 0.6);
  transform: translateY(-2px);
}

.btn--glass {
  background: rgba(255, 255, 255, 0.04);
  color: var(--color-text-main);
  border: 1px solid var(--border-subtle);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.btn--glass:hover {
  background: rgba(33, 153, 213, 0.1);
  border-color: var(--color-primary-border);
  color: #ffffff;
  box-shadow: 0 0 20px var(--color-primary-glow);
  transform: translateY(-2px);
}

.btn--sm {
  padding: 8px 18px;
  font-size: 0.84rem;
}

/* Monospace Section Tags */
.section-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 0.78rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--color-primary-light);
  margin-bottom: 14px;
}

.section-tag::before {
  content: '';
  display: inline-block;
  width: 7px;
  height: 7px;
  background-color: var(--color-primary);
  border-radius: 50%;
  box-shadow: 0 0 8px var(--color-primary);
}

/* Technical Monospace Badges */
.badge-mono {
  display: inline-flex;
  align-items: center;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  padding: 4px 10px;
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border-subtle);
  color: #cbd5e1;
}

.badge-mono--accent {
  background: var(--color-primary-dim);
  border-color: var(--color-primary-border);
  color: var(--color-primary-light);
}

/* Glassmorphic Panel Base & Spotlight Hover */
.glass-panel {
  background: var(--color-bg-glass);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: var(--border-glass-card);
  box-shadow: inset 0 1px 0 0 var(--border-specular);
  position: relative;
  overflow: hidden;
}

.glass-panel::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(
    600px circle at var(--mouse-x, -999px) var(--mouse-y, -999px),
    rgba(33, 153, 213, 0.16),
    transparent 50%
  );
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--transition-fast);
  z-index: 1;
}

.glass-panel:hover::before {
  opacity: 1;
}

/* --- 7. Hero Section (Asymmetric Editorial Split) --- */
.hero {
  padding-top: 60px;
  padding-bottom: 90px;
  position: relative;
  overflow-x: clip;
}

.hero__grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 12px;
  align-items: center;
}

.hero__content {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.hero__tag {
  margin-bottom: 20px;
  animation: heroFadeDown 0.75s cubic-bezier(0.16, 1, 0.3, 1) 0.12s both;
  will-change: transform, opacity;
}

.hero__title {
  font-family: var(--font-heading);
  font-size: clamp(2.6rem, 4.8vw, 4.2rem);
  font-weight: 700;
  letter-spacing: -0.035em;
  line-height: 1.08;
  color: #ffffff;
  margin-bottom: 22px;
  animation: heroTitleReveal 0.95s cubic-bezier(0.16, 1, 0.3, 1) 0.2s both;
  will-change: transform, opacity, filter;
}

.hero__title-accent {
  color: var(--color-primary-light);
  text-shadow: 0 0 24px var(--color-primary-glow);
}

.hero__description {
  font-size: clamp(1.05rem, 1.4vw, 1.2rem);
  line-height: 1.65;
  color: var(--color-text-body);
  max-width: 580px;
  margin-bottom: 34px;
  animation: heroFadeUp 0.85s cubic-bezier(0.16, 1, 0.3, 1) 0.3s both;
  will-change: transform, opacity;
}

.hero__actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 48px;
  animation: heroFadeUp 0.85s cubic-bezier(0.16, 1, 0.3, 1) 0.4s both;
  will-change: transform, opacity;
}

.hero__metrics {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  width: 100%;
  max-width: 560px;
  padding-top: 28px;
  border-top: 1px solid var(--border-subtle);
  animation: heroFadeUp 0.85s cubic-bezier(0.16, 1, 0.3, 1) 0.48s both;
  will-change: transform, opacity;
}

.hero__metric-item {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.hero__metric-item:nth-child(1) {
  animation: heroMetricEntrance 0.75s cubic-bezier(0.16, 1, 0.3, 1) 0.52s both;
}

.hero__metric-item:nth-child(2) {
  animation: heroMetricEntrance 0.75s cubic-bezier(0.16, 1, 0.3, 1) 0.60s both;
}

.hero__metric-item:nth-child(3) {
  animation: heroMetricEntrance 0.75s cubic-bezier(0.16, 1, 0.3, 1) 0.68s both;
}

.hero__metric-value {
  font-family: var(--font-mono);
  font-size: 1.45rem;
  font-weight: 700;
  color: #ffffff;
  letter-spacing: -0.02em;
  transition: text-shadow var(--transition-normal);
}

.hero__metric-value-accent {
  color: var(--color-primary-light);
  text-shadow: 0 0 16px var(--color-primary-glow);
}

.hero__metric-label {
  font-size: 0.78rem;
  color: var(--color-text-muted);
  font-family: var(--font-mono);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* Hero Right Column: Frosted HUD Card with slide-in from right */
.hero__visual {
  position: relative;
  width: 100%;
  animation: heroVisualEntrance 1.15s cubic-bezier(0.16, 1, 0.3, 1) 0.38s both;
  will-change: transform, opacity, filter;
}

.hero__hud-card {
  border-radius: var(--radius-xl);
  padding: 24px;
  transform-style: preserve-3d;
  perspective: 1000px;
  animation: hudAmbientFloat 7s ease-in-out 1.6s infinite alternate;
  transition: border-color var(--transition-normal), box-shadow var(--transition-normal), transform 0.22s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: transform, box-shadow;
}

.hero__hud-card.is-hovered {
  animation-play-state: paused;
}

.hero__hud-card:hover {
  border-color: var(--color-primary-hover-border);
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.65), 0 0 36px var(--color-primary-dim);
}

.hero__hud-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 16px;
  margin-bottom: 16px;
  border-bottom: 1px solid var(--border-subtle);
  position: relative;
  z-index: 2;
}

.hero__hud-status {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: #22c55e;
}

.hero__hud-status-dot {
  width: 7px;
  height: 7px;
  background-color: #22c55e;
  border-radius: 50%;
  box-shadow: 0 0 8px #22c55e;
  position: relative;
}

.hero__hud-status-dot::after {
  content: '';
  position: absolute;
  inset: -3px;
  border-radius: 50%;
  border: 1px solid #22c55e;
  animation: radar-ping 2.2s cubic-bezier(0, 0, 0.2, 1) infinite;
}

.hero__hud-spec {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: var(--color-text-muted);
}

.hero__hud-screen {
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
  aspect-ratio: 1 / 1;
  background: #080d16;
  border: 1px solid var(--border-subtle);
  z-index: 2;
}

/* Futuristic Scanline Beam on HUD Screen */
.hero__hud-scanner {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, 
    transparent 0%, 
    rgba(33, 153, 213, 0.3) 15%, 
    var(--color-primary-light) 50%, 
    #ffffff 52%, 
    var(--color-primary-light) 54%, 
    rgba(33, 153, 213, 0.3) 85%, 
    transparent 100%
  );
  box-shadow: 0 0 16px rgba(86, 184, 235, 0.9), 0 0 30px rgba(33, 153, 213, 0.6);
  z-index: 5;
  pointer-events: none;
  opacity: 0;
  animation: hudScanSweep 4s cubic-bezier(0.4, 0, 0.2, 1) 1.55s infinite;
}

/* Technical HUD Corner Crosshairs */
.hero__hud-corners {
  position: absolute;
  inset: 12px;
  z-index: 4;
  pointer-events: none;
}

.hero__hud-corner {
  position: absolute;
  width: 14px;
  height: 14px;
  border-color: rgba(86, 184, 235, 0.5);
  border-style: solid;
  transition: all var(--transition-normal);
}

.hero__hud-corner--tl { top: 0; left: 0; border-width: 2px 0 0 2px; }
.hero__hud-corner--tr { top: 0; right: 0; border-width: 2px 2px 0 0; }
.hero__hud-corner--bl { bottom: 0; left: 0; border-width: 0 0 2px 2px; }
.hero__hud-corner--br { bottom: 0; right: 0; border-width: 0 2px 2px 0; }

.hero__hud-card:hover .hero__hud-corner {
  border-color: rgba(86, 184, 235, 0.95);
  box-shadow: 0 0 8px rgba(86, 184, 235, 0.5);
}

.hero__hud-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-smooth);
}

.hero__hud-card:hover .hero__hud-img {
  transform: scale(1.03);
}

/* Sleek CSS Fallback Wireframe Graphic */
.hero__hud-fallback {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  position: relative;
  background: radial-gradient(circle at center, rgba(33, 153, 213, 0.12) 0%, rgba(6, 8, 13, 0.95) 75%);
  overflow: hidden;
}

.hero__hud-wireframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0.45;
}

.hero__hud-centerpiece {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}

.hero__hud-glyph {
  width: 64px;
  height: 64px;
  border-radius: 16px;
  background: rgba(33, 153, 213, 0.12);
  border: 1px solid var(--color-primary-border);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 25px var(--color-primary-glow);
}

.hero__hud-glyph-svg {
  width: 32px;
  height: 32px;
  color: var(--color-primary-light);
}

.hero__hud-title {
  font-family: var(--font-mono);
  font-size: 0.82rem;
  font-weight: 600;
  color: #ffffff;
  letter-spacing: 0.1em;
}

.hero__hud-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 16px;
  position: relative;
  z-index: 2;
}

.hero__hud-badges .badge-mono:nth-child(1) { animation: badgePop 0.5s cubic-bezier(0.16, 1, 0.3, 1) 0.85s both; }
.hero__hud-badges .badge-mono:nth-child(2) { animation: badgePop 0.5s cubic-bezier(0.16, 1, 0.3, 1) 0.95s both; }
.hero__hud-badges .badge-mono:nth-child(3) { animation: badgePop 0.5s cubic-bezier(0.16, 1, 0.3, 1) 1.05s both; }
.hero__hud-badges .badge-mono:nth-child(4) { animation: badgePop 0.5s cubic-bezier(0.16, 1, 0.3, 1) 1.15s both; }

/* ==========================================================================
   Hero Keyframe Animations
   ========================================================================== */

@keyframes heroVisualEntrance {
  0% {
    opacity: 0;
    transform: translate3d(75px, 0, 0) scale(0.96);
    filter: blur(12px);
  }
  60% {
    opacity: 0.95;
    filter: blur(1px);
  }
  100% {
    opacity: 1;
    transform: translate3d(0, 0, 0) scale(1);
    filter: blur(0);
  }
}

@keyframes hudAmbientFloat {
  0% {
    transform: translateY(0);
  }
  100% {
    transform: translateY(-8px);
  }
}

@keyframes hudScanSweep {
  0% {
    opacity: 0;
    transform: translateY(0);
  }
  12% {
    opacity: 0.95;
  }
  65% {
    opacity: 0.8;
    transform: translateY(370px);
  }
  70%, 100% {
    opacity: 0;
    transform: translateY(370px);
  }
}

@keyframes radar-ping {
  0% {
    transform: scale(1);
    opacity: 0.9;
  }
  75%, 100% {
    transform: scale(2.6);
    opacity: 0;
  }
}

@keyframes badgePop {
  0% {
    opacity: 0;
    transform: translate3d(0, 8px, 0) scale(0.92);
  }
  100% {
    opacity: 1;
    transform: translate3d(0, 0, 0) scale(1);
  }
}

@keyframes heroFadeDown {
  0% {
    opacity: 0;
    transform: translate3d(0, -18px, 0);
  }
  100% {
    opacity: 1;
    transform: translate3d(0, 0, 0);
  }
}

@keyframes heroTitleReveal {
  0% {
    opacity: 0;
    transform: translate3d(0, 24px, 0);
    filter: blur(8px);
  }
  100% {
    opacity: 1;
    transform: translate3d(0, 0, 0);
    filter: blur(0);
  }
}

@keyframes heroFadeUp {
  0% {
    opacity: 0;
    transform: translate3d(0, 20px, 0);
  }
  100% {
    opacity: 1;
    transform: translate3d(0, 0, 0);
  }
}

@keyframes heroMetricEntrance {
  0% {
    opacity: 0;
    transform: translate3d(0, 16px, 0);
  }
  100% {
    opacity: 1;
    transform: translate3d(0, 0, 0);
  }
}

/* --- 8. Solutions Bento Grid Section --- */
.solutions {
  padding-top: 60px;
  padding-bottom: 90px;
  position: relative;
}

.solutions__header {
  margin-bottom: 48px;
  max-width: 680px;
}

.solutions__title {
  font-family: var(--font-heading);
  font-size: clamp(2rem, 3.2vw, 2.8rem);
  font-weight: 700;
  letter-spacing: -0.025em;
  color: #ffffff;
  line-height: 1.15;
  margin-bottom: 12px;
}

.solutions__subtitle {
  font-size: 1.05rem;
  color: var(--color-text-body);
}

.solutions__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
}

/* Bento Card Component */
.bento-card {
  border-radius: var(--radius-xl);
  padding: 34px 32px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: transform var(--transition-normal), border-color var(--transition-normal), box-shadow var(--transition-normal);
  min-height: 440px;
}

.bento-card:hover {
  transform: translateY(-5px);
  border-color: var(--color-primary-hover-border);
  box-shadow: 0 20px 45px rgba(0, 0, 0, 0.5), 0 0 25px var(--color-primary-dim);
}

.bento-card__media {
  width: 100%;
  aspect-ratio: 16 / 9;
  border-radius: var(--radius-md);
  overflow: hidden;
  background: #090e18;
  border: 1px solid var(--border-subtle);
  margin-bottom: 24px;
  position: relative;
  z-index: 2;
}

.bento-card__media-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-smooth);
}

.bento-card:hover .bento-card__media-img {
  transform: scale(1.04);
}

/* Fallback Media Wireframe */
.bento-card__media-fallback {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  background: radial-gradient(circle at 50% 50%, rgba(33, 153, 213, 0.12), rgba(8, 12, 19, 0.9));
}

.bento-card__media-icon {
  width: 44px;
  height: 44px;
  color: var(--color-primary-light);
  opacity: 0.85;
}

.bento-card__body {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.bento-card__tag {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--color-primary-light);
  margin-bottom: 12px;
}

.bento-card__title {
  font-family: var(--font-heading);
  font-size: 1.55rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: #ffffff;
  margin-bottom: 12px;
  line-height: 1.25;
}

.bento-card__description {
  font-size: 0.95rem;
  line-height: 1.6;
  color: var(--color-text-body);
  margin-bottom: 24px;
  flex-grow: 1;
}

.bento-card__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 24px;
}

.bento-card__footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 18px;
  border-top: 1px solid var(--border-subtle);
  position: relative;
  z-index: 2;
}

.bento-card__link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-body);
  font-size: 0.92rem;
  font-weight: 600;
  color: #ffffff;
  transition: color var(--transition-fast), gap var(--transition-fast);
}

.bento-card__link:hover {
  color: var(--color-primary-light);
  gap: 12px;
}

.bento-card__link-icon {
  width: 16px;
  height: 16px;
  transition: transform var(--transition-fast);
}

.bento-card__link:hover .bento-card__link-icon {
  transform: translateX(4px);
}

/* --- 9. Portfolio / Selected Work Section --- */
.portfolio {
  padding-top: 60px;
  padding-bottom: 90px;
  position: relative;
}

.portfolio__header {
  margin-bottom: 48px;
  max-width: 680px;
}

.portfolio__title {
  font-family: var(--font-heading);
  font-size: clamp(2rem, 3.2vw, 2.8rem);
  font-weight: 700;
  letter-spacing: -0.025em;
  color: #ffffff;
  line-height: 1.15;
  margin-bottom: 12px;
}

.portfolio__subtitle {
  font-size: 1.05rem;
  color: var(--color-text-body);
}

.portfolio__list {
  display: flex;
  flex-direction: column;
  gap: 36px;
}

/* Case Study Item */
.case-study {
  border-radius: var(--radius-xl);
  overflow: hidden;
  transition: transform var(--transition-normal), border-color var(--transition-normal), box-shadow var(--transition-normal);
}

.case-study:hover {
  transform: translateY(-4px);
  border-color: var(--color-primary-hover-border);
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.55);
}

.case-study__grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  align-items: stretch;
}

.case-study__visual-container {
  position: relative;
  aspect-ratio: 16 / 10;
  width: 100%;
  height: 100%;
  min-height: 320px;
  background: #080d16;
  overflow: hidden;
  border-right: 1px solid var(--border-subtle);
}

.case-study__visual-container::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 76px;
  background: linear-gradient(180deg, rgba(6, 8, 13, 0.94) 0%, rgba(6, 8, 13, 0) 100%);
  z-index: 2;
  pointer-events: none;
}

.case-study__visual {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transition: transform var(--transition-smooth);
}

.case-study:hover .case-study__visual {
  transform: scale(1.03);
}

.case-study__visual-fallback {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  position: relative;
  background: radial-gradient(circle at center, rgba(33, 153, 213, 0.15) 0%, rgba(6, 9, 15, 0.95) 75%);
}

.case-study__overlay {
  position: absolute;
  top: 14px;
  left: 14px;
  right: 14px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  z-index: 4;
  pointer-events: none;
}

.case-study__overlay .badge-mono,
.product-hero__media-overlay .badge-mono {
  background: rgba(6, 10, 18, 0.94);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.22);
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.85), inset 0 1px 0 rgba(255, 255, 255, 0.15);
  color: #ffffff;
  font-weight: 700;
  font-size: 0.74rem;
  letter-spacing: 0.06em;
  padding: 5px 12px;
}

.case-study__overlay .badge-mono--accent,
.product-hero__media-overlay .badge-mono--accent {
  background: rgba(8, 22, 38, 0.96);
  border: 1px solid rgba(86, 184, 235, 0.75);
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.85), 0 0 14px rgba(33, 153, 213, 0.45);
  color: #56b8eb;
}

.case-study__content {
  padding: 40px 36px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  position: relative;
  z-index: 2;
}

.case-study__index {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--color-primary-light);
  margin-bottom: 12px;
}

.case-study__title {
  font-family: var(--font-heading);
  font-size: 1.65rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: #ffffff;
  margin-bottom: 16px;
  line-height: 1.25;
}

.case-study__description {
  font-size: 0.98rem;
  line-height: 1.65;
  color: var(--color-text-body);
  margin-bottom: 24px;
}

.case-study__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 28px;
}

.case-study__link {
  align-self: flex-start;
}

/* --- 10. Engineering Philosophy (Mission Section) --- */
.mission {
  padding-top: 60px;
  padding-bottom: 90px;
  position: relative;
}

.mission__header {
  margin-bottom: 48px;
  max-width: 680px;
}

.mission__title {
  font-family: var(--font-heading);
  font-size: clamp(2rem, 3.2vw, 2.8rem);
  font-weight: 700;
  letter-spacing: -0.025em;
  color: #ffffff;
  line-height: 1.15;
  margin-bottom: 12px;
}

.mission__subtitle {
  font-size: 1.05rem;
  color: var(--color-text-body);
}

.mission__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.mission-card {
  border-radius: var(--radius-xl);
  padding: 38px 30px;
  display: flex;
  flex-direction: column;
  transition: transform var(--transition-normal), border-color var(--transition-normal);
}

.mission-card:hover {
  transform: translateY(-4px);
  border-color: var(--color-primary-hover-border);
}

.mission-card__index {
  font-family: var(--font-mono);
  font-size: 1.1rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--color-primary-light);
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.mission-card__index::after {
  content: '';
  flex-grow: 1;
  height: 1px;
  background: var(--border-subtle);
}

.mission-card__title {
  font-family: var(--font-heading);
  font-size: 1.35rem;
  font-weight: 700;
  letter-spacing: -0.015em;
  color: #ffffff;
  margin-bottom: 14px;
  line-height: 1.3;
}

.mission-card__description {
  font-size: 0.94rem;
  line-height: 1.65;
  color: var(--color-text-body);
}

/* --- 11. Contact Section & Inquiry Form --- */
.contact {
  padding-top: 60px;
  padding-bottom: 100px;
  position: relative;
  width: 100%;
  max-width: 100%;
  overflow: hidden;
}

.contact__card {
  border-radius: var(--radius-xl);
  padding: 56px 48px;
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
}

.contact__grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 56px;
  align-items: start;
  width: 100%;
  max-width: 100%;
  min-width: 0;
}

.contact__info {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  width: 100%;
  max-width: 100%;
  min-width: 0;
}

.contact__title {
  font-family: var(--font-heading);
  font-size: clamp(1.8rem, 3.5vw, 3rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  color: #ffffff;
  line-height: 1.14;
  margin-bottom: 18px;
  width: 100%;
  max-width: 100%;
  overflow-wrap: break-word;
  word-break: break-word;
}

.contact__subtitle {
  font-size: 1.05rem;
  color: var(--color-text-body);
  line-height: 1.6;
  margin-bottom: 32px;
  width: 100%;
  max-width: 100%;
  overflow-wrap: break-word;
}

.contact__direct-box {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 20px 22px;
  width: 100%;
  max-width: 100%;
  min-width: 0;
  box-sizing: border-box;
  margin-bottom: 24px;
}

.contact__direct-label {
  font-family: var(--font-mono);
  font-size: 0.74rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--color-text-muted);
  margin-bottom: 6px;
}

.contact__email-link {
  font-family: var(--font-mono);
  font-size: clamp(0.85rem, 3.6vw, 1.05rem);
  font-weight: 700;
  color: var(--color-primary-light);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  max-width: 100%;
  overflow-wrap: break-word;
  word-break: break-all;
  transition: color var(--transition-fast);
}

.contact__email-link:hover {
  color: #ffffff;
  text-decoration: underline;
}

.contact__guarantee {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-mono);
  font-size: 0.78rem;
  color: var(--color-text-muted);
  max-width: 100%;
  flex-wrap: wrap;
}

.contact__guarantee-icon {
  width: 16px;
  height: 16px;
  color: var(--color-primary-light);
  flex-shrink: 0;
}

/* Contact Form Elements */
.contact__form {
  display: flex;
  flex-direction: column;
  gap: 20px;
  width: 100%;
  max-width: 100%;
  min-width: 0;
}

.contact__form-row {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
  width: 100%;
  max-width: 100%;
  min-width: 0;
}

.contact__form-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
  width: 100%;
  max-width: 100%;
  min-width: 0;
}

.contact__label {
  font-family: var(--font-mono);
  font-size: 0.76rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  color: #cbd5e1;
}

.contact__input,
.contact__select,
.contact__textarea {
  width: 100%;
  max-width: 100%;
  min-width: 0;
  box-sizing: border-box;
  background: rgba(6, 9, 15, 0.7);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  padding: 12px 16px;
  color: #ffffff;
  font-size: 0.95rem;
  transition: border-color var(--transition-fast), background-color var(--transition-fast), box-shadow var(--transition-fast);
}

.contact__select {
  text-overflow: ellipsis;
  white-space: nowrap;
  overflow: hidden;
  cursor: pointer;
}

.contact__input:focus,
.contact__select:focus,
.contact__textarea:focus {
  border-color: var(--color-primary);
  background: rgba(10, 15, 24, 0.9);
  box-shadow: 0 0 16px var(--color-primary-glow);
}

.contact__select option {
  background: #0b111a;
  color: #ffffff;
}

.contact__textarea {
  resize: vertical;
  min-height: 110px;
}

.contact__button {
  align-self: flex-start;
  padding: 14px 34px;
  margin-top: 8px;
  max-width: 100%;
}

.contact__button:disabled {
  opacity: 0.6;
  cursor: not-allowed;
  transform: none !important;
  box-shadow: none !important;
}

.contact__honeypot {
  display: none !important;
}

.contact__feedback {
  display: none;
  font-family: var(--font-mono);
  font-size: 0.85rem;
  line-height: 1.5;
  padding: 12px 16px;
  border-radius: var(--radius-sm);
  background: rgba(34, 197, 94, 0.12);
  border: 1px solid rgba(34, 197, 94, 0.3);
  color: #4ade80;
  max-width: 100%;
  overflow-wrap: break-word;
}

.contact__feedback--active {
  display: block;
}

.contact__feedback--error {
  background: rgba(239, 68, 68, 0.12);
  border-color: rgba(239, 68, 68, 0.3);
  color: #f87171;
}

.contact__feedback a {
  color: inherit;
  text-decoration: underline;
}

/* --- 12. Footer Component --- */
.footer {
  border-top: 1px solid var(--border-subtle);
  background: rgba(4, 6, 10, 0.8);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  padding-top: 54px;
  padding-bottom: 40px;
  position: relative;
  z-index: 10;
}

.footer__top {
  display: grid;
  grid-template-columns: 1.2fr 2fr;
  gap: 48px;
  padding-bottom: 44px;
  border-bottom: 1px solid var(--border-subtle);
}

.footer__brand {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 14px;
}

.footer__logo-img {
  height: 66px;
  width: auto;
  object-fit: contain;
}

.footer__tagline {
  font-size: 0.9rem;
  color: var(--color-text-muted);
  max-width: 320px;
  line-height: 1.6;
}

.footer__nav {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

.footer__nav-title {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #ffffff;
  margin-bottom: 16px;
}

.footer__nav-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer__nav-link {
  font-size: 0.88rem;
  color: var(--color-text-muted);
  transition: color var(--transition-fast);
}

.footer__nav-link:hover {
  color: var(--color-primary-light);
}

.footer__bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 28px;
  font-size: 0.84rem;
  color: var(--color-text-muted);
}

.footer__status {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 0.75rem;
}

.footer__status-dot {
  width: 6px;
  height: 6px;
  background-color: #22c55e;
  border-radius: 50%;
  box-shadow: 0 0 6px #22c55e;
}

/* --- 13. Subpage / Dedicated Product Pages Layout --- */
.product-hero {
  padding-top: 50px;
  padding-bottom: 70px;
  position: relative;
}

.product-hero__breadcrumb {
  margin-bottom: 24px;
}

.product-hero__breadcrumb-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--color-primary-light);
  transition: color var(--transition-fast), transform var(--transition-fast);
}

.product-hero__breadcrumb-link:hover {
  color: #ffffff;
  transform: translateX(-3px);
}

.product-hero__header {
  max-width: 840px;
  margin-bottom: 40px;
}

.product-hero__title {
  font-family: var(--font-heading);
  font-size: clamp(2.4rem, 4.2vw, 3.8rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  color: #ffffff;
  line-height: 1.1;
  margin-bottom: 20px;
}

.product-hero__description {
  font-size: clamp(1.05rem, 1.5vw, 1.22rem);
  line-height: 1.65;
  color: var(--color-text-body);
  margin-bottom: 30px;
}

.product-hero__media {
  width: 100%;
  aspect-ratio: 16 / 9;
  border-radius: var(--radius-xl);
  overflow: hidden;
  position: relative;
  border: var(--border-glass-card);
  background: #080d16;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.6);
  margin-bottom: 70px;
}

.product-hero__media::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(6, 8, 13, 0.88) 0%, rgba(6, 8, 13, 0) 40%);
  z-index: 2;
  pointer-events: none;
}

.product-hero__media-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.product-hero__media-fallback {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  position: relative;
  background: radial-gradient(circle at center, rgba(33, 153, 213, 0.18) 0%, rgba(6, 8, 13, 0.96) 75%);
}

.product-hero__media-overlay {
  position: absolute;
  bottom: 24px;
  left: 24px;
  right: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  pointer-events: none;
  z-index: 3;
}

/* Product Feature Breakdown */
.product-features {
  padding-bottom: 80px;
}

.product-features__header {
  margin-bottom: 40px;
  max-width: 680px;
}

.product-features__title {
  font-family: var(--font-heading);
  font-size: clamp(1.8rem, 2.8vw, 2.4rem);
  font-weight: 700;
  color: #ffffff;
  letter-spacing: -0.02em;
  margin-bottom: 10px;
}

.product-features__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.feature-card {
  border-radius: var(--radius-xl);
  padding: 34px 28px;
  display: flex;
  flex-direction: column;
}

.feature-card__icon {
  width: 50px;
  height: 50px;
  border-radius: var(--radius-md);
  background: var(--color-primary-dim);
  border: 1px solid var(--color-primary-border);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-primary-light);
  margin-bottom: 22px;
}

.feature-card__icon-svg {
  width: 24px;
  height: 24px;
}

.feature-card__title {
  font-family: var(--font-heading);
  font-size: 1.35rem;
  font-weight: 700;
  color: #ffffff;
  letter-spacing: -0.015em;
  margin-bottom: 12px;
}

.feature-card__description {
  font-size: 0.94rem;
  line-height: 1.6;
  color: var(--color-text-body);
}

/* Technical Specification Table */
.tech-specs {
  padding-bottom: 80px;
}

.tech-specs__header {
  margin-bottom: 32px;
}

.tech-specs__title {
  font-family: var(--font-heading);
  font-size: clamp(1.8rem, 2.8vw, 2.4rem);
  font-weight: 700;
  color: #ffffff;
  letter-spacing: -0.02em;
  margin-bottom: 10px;
}

.tech-specs__table-wrap {
  border-radius: var(--radius-xl);
  overflow-x: auto;
  border: var(--border-glass-card);
  background: var(--color-bg-glass);
}

.tech-specs__table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
  font-size: 0.92rem;
  table-layout: fixed;
}

.tech-specs__th {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-primary-light);
  padding: 18px 24px;
  border-bottom: 1px solid var(--border-subtle);
  background: rgba(255, 255, 255, 0.02);
}

.tech-specs__th:first-child,
.tech-specs__td--key {
  width: 24%;
}

.tech-specs__th:last-child,
.tech-specs__td--val {
  width: 76%;
}

.tech-specs__td {
  padding: 18px 24px;
  border-bottom: 1px solid var(--border-subtle);
  color: var(--color-text-body);
  vertical-align: top;
  overflow-wrap: break-word;
  word-break: break-word;
}

.tech-specs__tr:last-child .tech-specs__td {
  border-bottom: none;
}

.tech-specs__td--key {
  font-family: var(--font-mono);
  font-weight: 600;
  color: #ffffff;
  white-space: normal;
  line-height: 1.45;
}

.tech-specs__td--val {
  font-family: var(--font-mono);
  color: #cbd5e1;
  line-height: 1.6;
}

/* Product Bottom CTA */
.product-cta {
  padding-bottom: 100px;
}

.product-cta__card {
  border-radius: var(--radius-xl);
  padding: 56px 48px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 36px;
  position: relative;
  z-index: 2;
}

.product-cta__content {
  max-width: 620px;
}

.product-cta__title {
  font-family: var(--font-heading);
  font-size: clamp(2rem, 3.2vw, 2.6rem);
  font-weight: 700;
  letter-spacing: -0.025em;
  color: #ffffff;
  line-height: 1.15;
  margin-bottom: 14px;
}

.product-cta__description {
  font-size: 1.05rem;
  color: var(--color-text-body);
}

.product-cta__actions {
  display: flex;
  flex-direction: column;
  gap: 14px;
  flex-shrink: 0;
}

/* --- 14. Responsive Media Queries --- */

/* 1200px (Small Desktop) */
@media (max-width: 1200px) {
  :root {
    --container-max-width: 1040px;
  }

  .hero__grid {
    gap: 12px;
  }

  .solutions__grid {
    gap: 22px;
  }

  .bento-card {
    padding: 28px 24px;
  }
}

/* 992px (Tablet Landscape) */
@media (max-width: 992px) {
  .hero__grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .hero__content {
    max-width: 720px;
  }

  .hero__metrics {
    max-width: 100%;
  }

  .solutions__grid {
    grid-template-columns: 1fr;
  }

  .case-study__grid {
    grid-template-columns: 1fr;
  }

  .case-study__visual-container {
    border-right: none;
    border-bottom: 1px solid var(--border-subtle);
  }

  .mission__grid {
    grid-template-columns: 1fr;
  }

  .contact__grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .product-features__grid {
    grid-template-columns: 1fr;
  }

  .product-cta__card {
    flex-direction: column;
    align-items: flex-start;
  }

  .footer__top {
    grid-template-columns: 1fr;
  }
}

/* 910px (Tablet / Mobile Menu Trigger) */
@media (max-width: 910px) {
  :root {
    --header-height: 82px;
  }

  .header__logo-img {
    height: 56px;
  }

  .site-container {
    padding-left: 20px;
    padding-right: 20px;
  }

  .header__container {
    padding-left: 20px;
    padding-right: 20px;
  }

  .header__nav,
  .header__actions {
    display: none;
  }

  .header__burger {
    display: flex;
  }

  .header__drawer {
    display: block;
  }
}

/* 768px (Tablet Portrait) */
@media (max-width: 768px) {
  :root {
    --header-height: 76px;
  }

  .header__logo-img {
    height: 50px;
  }

  .hero {
    padding-top: 40px;
    padding-bottom: 60px;
  }

  .hero__metrics {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .contact__card {
    padding: 36px 24px;
  }

  .contact__form-row {
    grid-template-columns: 1fr;
  }

  .footer__nav {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .footer__bottom {
    flex-direction: column;
    gap: 16px;
    align-items: flex-start;
  }

  .product-cta__card {
    padding: 36px 24px;
  }

  .tech-specs__th {
    padding: 14px 12px;
    font-size: 0.74rem;
  }

  .tech-specs__td {
    padding: 14px 12px;
    font-size: 0.86rem;
  }

  .tech-specs__th:first-child,
  .tech-specs__td--key {
    width: 32%;
    font-size: 0.80rem;
    line-height: 1.35;
  }

  .tech-specs__th:last-child,
  .tech-specs__td--val {
    width: 68%;
    font-size: 0.84rem;
    line-height: 1.5;
  }
}

/* 480px (Small Mobile) */
@media (max-width: 480px) {
  .site-container {
    padding-left: 16px;
    padding-right: 16px;
  }

  .hero__title {
    font-size: 2.2rem;
  }

  .hero__actions {
    flex-direction: column;
    width: 100%;
  }

  .hero__actions .btn {
    width: 100%;
  }

  .bento-card {
    padding: 24px 18px;
  }

  .case-study__content {
    padding: 28px 18px;
  }

  .contact__card {
    padding: 28px 16px;
    border-radius: var(--radius-lg);
  }

  .contact__direct-box {
    padding: 16px 14px;
  }

  .contact__title {
    font-size: 1.65rem;
  }

  .contact__button {
    width: 100%;
    justify-content: center;
  }

  .product-cta__actions {
    width: 100%;
  }

  .product-cta__actions .btn {
    width: 100%;
  }

  .tech-specs__th {
    padding: 12px 8px;
    font-size: 0.70rem;
    letter-spacing: 0.05em;
  }

  .tech-specs__td {
    padding: 12px 8px;
    font-size: 0.80rem;
  }

  .tech-specs__th:first-child,
  .tech-specs__td--key {
    width: 36%;
    font-size: 0.72rem;
    line-height: 1.35;
    word-break: keep-all;
    overflow-wrap: normal;
  }

  .tech-specs__th:last-child,
  .tech-specs__td--val {
    width: 64%;
    font-size: 0.78rem;
    line-height: 1.45;
  }
}

/* ==========================================================================
   Scroll-Triggered Reveal Animations (IntersectionObserver System)
   ========================================================================== */

.reveal-on-scroll {
  opacity: 0;
  transform: translate3d(0, 32px, 0);
  filter: blur(6px);
  transition: opacity 0.85s cubic-bezier(0.16, 1, 0.3, 1),
              transform 0.85s cubic-bezier(0.16, 1, 0.3, 1),
              filter 0.85s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: opacity, transform, filter;
}

.reveal-on-scroll.is-revealed {
  opacity: 1;
  transform: translate3d(0, 0, 0);
  filter: blur(0);
}

/* Cascading Staggered Delays for Grid Elements */
.solutions__grid .bento-card:nth-child(1) { transition-delay: 0.05s; }
.solutions__grid .bento-card:nth-child(2) { transition-delay: 0.16s; }
.solutions__grid .bento-card:nth-child(3) { transition-delay: 0.27s; }
.solutions__grid .bento-card:nth-child(4) { transition-delay: 0.38s; }

.portfolio__list .case-study:nth-child(1) { transition-delay: 0.08s; }
.portfolio__list .case-study:nth-child(2) { transition-delay: 0.22s; }
.portfolio__list .case-study:nth-child(3) { transition-delay: 0.36s; }

.mission__grid .mission-card:nth-child(1) { transition-delay: 0.08s; }
.mission__grid .mission-card:nth-child(2) { transition-delay: 0.20s; }
.mission__grid .mission-card:nth-child(3) { transition-delay: 0.32s; }

.product-features__grid .feature-card:nth-child(1) { transition-delay: 0.06s; }
.product-features__grid .feature-card:nth-child(2) { transition-delay: 0.18s; }
.product-features__grid .feature-card:nth-child(3) { transition-delay: 0.30s; }

/* Responsive adjustments for hero entrance on tablet/mobile screens */
@media (max-width: 992px) {
  @keyframes heroVisualEntrance {
    0% {
      opacity: 0;
      transform: translate3d(36px, 24px, 0) scale(0.96);
      filter: blur(10px);
    }
    100% {
      opacity: 1;
      transform: translate3d(0, 0, 0) scale(1);
      filter: blur(0);
    }
  }

  .hero__hud-scanner {
    display: none; /* conserve battery/gpu on tablet/mobile */
  }
}

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

  .hero__visual,
  .hero__hud-card,
  .hero__tag,
  .hero__title,
  .hero__description,
  .hero__actions,
  .hero__metrics,
  .hero__metric-item,
  .hero__hud-scanner,
  .hero__hud-status-dot::after,
  .hero__hud-badges .badge-mono,
  .reveal-on-scroll,
  .header {
    animation: none !important;
    transition: none !important;
    transform: none !important;
    filter: none !important;
    opacity: 1 !important;
  }
}
