/* ==========================================================================
   MAEU Canada - High-Tech Modern Design System & 3D Styling
   ========================================================================== */

:root {
  /* Color Palette */
  --bg-dark: #060913;
  --bg-card: rgba(14, 21, 41, 0.75);
  --bg-card-hover: rgba(20, 31, 60, 0.85);
  --bg-surface: #0a0f20;
  
  --border-subtle: rgba(255, 255, 255, 0.08);
  --border-glow: rgba(0, 245, 212, 0.35);
  --border-active: #00f5d4;

  --text-main: #f1f5f9;
  --text-muted: #94a3b8;
  --text-dim: #64748b;

  --accent-cyan: #00f5d4;
  --accent-blue: #3b82f6;
  --accent-purple: #8b5cf6;
  --accent-emerald: #10b981;
  --accent-amber: #f59e0b;
  --accent-red: #ef4444;

  /* Typography */
  --font-heading: 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif;
  --font-body: 'Inter', system-ui, -apple-system, sans-serif;

  /* Glassmorphism & Shadows */
  --glass-blur: blur(16px);
  --shadow-sm: 0 4px 12px rgba(0, 0, 0, 0.4);
  --shadow-lg: 0 16px 40px -8px rgba(0, 0, 0, 0.6);
  --shadow-cyan-glow: 0 0 25px rgba(0, 245, 212, 0.25);
  --shadow-purple-glow: 0 0 25px rgba(139, 92, 246, 0.25);

  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-full: 9999px;
  
  --transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Base & Reset */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
  color-scheme: dark;
}

body {
  font-family: var(--font-body);
  background-color: var(--bg-dark);
  color: var(--text-main);
  line-height: 1.6;
  overflow-x: hidden;
  position: relative;
  min-height: 100vh;
}

/* Ambient Backlight Glows */
.ambient-glow {
  position: fixed;
  border-radius: 50%;
  filter: blur(120px);
  pointer-events: none;
  z-index: 0;
  opacity: 0.45;
  will-change: transform;
}

.glow-1 {
  width: 500px;
  height: 500px;
  top: -100px;
  left: -100px;
  background: radial-gradient(circle, rgba(0, 245, 212, 0.25) 0%, transparent 70%);
}

.glow-2 {
  width: 600px;
  height: 600px;
  top: 30%;
  right: -150px;
  background: radial-gradient(circle, rgba(139, 92, 246, 0.22) 0%, transparent 70%);
}

.glow-3 {
  width: 700px;
  height: 700px;
  bottom: 5%;
  left: 20%;
  background: radial-gradient(circle, rgba(59, 130, 246, 0.2) 0%, transparent 70%);
}

/* Container */
.container {
  width: 100%;
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 1.5rem;
  position: relative;
  z-index: 2;
}

/* Typography Helpers */
h1, h2, h3, h4, h5 {
  font-family: var(--font-heading);
  font-weight: 700;
  line-height: 1.2;
  color: var(--text-main);
}

.text-gradient {
  background: linear-gradient(135deg, #00f5d4 0%, #3b82f6 50%, #8b5cf6 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.text-cyan { color: var(--accent-cyan); }
.text-emerald { color: var(--accent-emerald); }
.text-purple { color: var(--accent-purple); }
.text-amber { color: var(--accent-amber); }
.text-center { text-align: center; }

/* Buttons & Interactive Elements */
.btn-primary, .btn-secondary, .btn-ghost {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.95rem;
  padding: 0.75rem 1.4rem;
  border-radius: var(--radius-sm);
  text-decoration: none;
  cursor: pointer;
  transition: var(--transition);
  border: 1px solid transparent;
  outline: none;
  white-space: nowrap;
}

.btn-primary {
  background: linear-gradient(135deg, #00f5d4 0%, #00b4d8 100%);
  color: #04121e;
  box-shadow: 0 4px 18px rgba(0, 245, 212, 0.35);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 25px rgba(0, 245, 212, 0.55);
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.05);
  border-color: var(--border-subtle);
  color: var(--text-main);
  backdrop-filter: var(--glass-blur);
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.2);
  transform: translateY(-2px);
}

.btn-ghost {
  background: transparent;
  color: var(--text-muted);
  border-color: transparent;
}

.btn-ghost:hover {
  color: var(--accent-cyan);
}

.btn-large {
  padding: 0.9rem 1.8rem;
  font-size: 1.05rem;
  border-radius: var(--radius-md);
}

.btn-block {
  width: 100%;
}

/* Badges & Tags */
.badge-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.4rem 0.9rem;
  border-radius: var(--radius-full);
  background: rgba(0, 245, 212, 0.08);
  border: 1px solid rgba(0, 245, 212, 0.25);
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--accent-cyan);
  backdrop-filter: var(--glass-blur);
}

.badge-accent {
  background: rgba(0, 245, 212, 0.2);
  color: #fff;
  padding: 0.15rem 0.5rem;
  border-radius: var(--radius-full);
  font-size: 0.75rem;
}

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

.section-title {
  font-size: clamp(2rem, 3.5vw, 2.8rem);
  letter-spacing: -0.02em;
  margin-bottom: 1rem;
}

.section-subtitle {
  font-size: 1.1rem;
  color: var(--text-muted);
  max-width: 680px;
  margin: 0 auto 3rem auto;
}

/* ==========================================================================
   Header & Top Announcement
   ========================================================================== */
.top-announcement {
  background: rgba(10, 15, 32, 0.9);
  border-bottom: 1px solid var(--border-subtle);
  font-size: 0.82rem;
  padding: 0.4rem 0;
  position: relative;
  z-index: 101;
}

.announcement-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.announcement-badge {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--text-muted);
}

.live-dot {
  width: 8px;
  height: 8px;
  background-color: var(--accent-emerald);
  border-radius: 50%;
  box-shadow: 0 0 8px var(--accent-emerald);
  animation: pulse-dot 2s infinite;
}

@keyframes pulse-dot {
  0% { transform: scale(0.95); opacity: 0.8; }
  50% { transform: scale(1.2); opacity: 1; }
  100% { transform: scale(0.95); opacity: 0.8; }
}

.announcement-actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  color: var(--text-dim);
}

.announcement-link {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  color: var(--accent-cyan);
  text-decoration: none;
  font-weight: 600;
}

.announcement-link:hover {
  text-decoration: underline;
}

/* Main Site Header */
.site-header {
  position: sticky;
  top: 0;
  width: 100%;
  background: rgba(6, 9, 19, 0.8);
  backdrop-filter: var(--glass-blur);
  border-bottom: 1px solid var(--border-subtle);
  z-index: 100;
  transition: var(--transition);
}

.header-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 0.85rem;
  padding-bottom: 0.85rem;
  gap: 1.5rem;
  max-width: 1320px;
}

.brand-logo {
  display: flex;
  align-items: center;
  text-decoration: none;
  flex-shrink: 0;
}

.logo-image {
  height: 44px;
  width: auto;
  object-fit: contain;
  filter: drop-shadow(0 2px 8px rgba(0, 245, 212, 0.15));
}

.main-nav {
  display: flex;
  align-items: center;
  flex: 1;
  justify-content: center;
}

.main-nav .nav-list {
  display: flex;
  list-style: none;
  gap: 1.5rem;
  align-items: center;
}

.nav-link {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.92rem;
  font-weight: 500;
  transition: var(--transition);
  position: relative;
  padding: 0.35rem 0;
  white-space: nowrap;
}

.nav-link:hover {
  color: var(--accent-cyan);
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--accent-cyan);
  transition: width 0.2s ease;
}

.nav-link:hover::after {
  width: 100%;
}

.header-cta-group {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-shrink: 0;
  white-space: nowrap;
}

.header-phone-cta {
  font-size: 0.9rem;
  color: var(--text-muted);
}

.header-phone-cta:hover {
  color: var(--accent-cyan);
}

.mobile-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
  flex-direction: column;
  gap: 5px;
}

.mobile-toggle .bar {
  width: 24px;
  height: 2px;
  background-color: var(--text-main);
  transition: var(--transition);
}

/* ==========================================================================
   Hero Section with 3D Canvas
   ========================================================================== */
.hero-section {
  position: relative;
  min-height: 92vh;
  display: flex;
  align-items: center;
  padding: 4rem 0 3rem 0;
  overflow: hidden;
}

.hero-canvas {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  pointer-events: auto;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle at 60% 40%, transparent 20%, rgba(6, 9, 19, 0.85) 80%);
  z-index: 1;
  pointer-events: none;
}

.hero-container {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  align-items: center;
  gap: 3.5rem;
}

.hero-content {
  position: relative;
  z-index: 2;
}

.hero-badge {
  margin-bottom: 1.5rem;
}

.hero-title {
  font-size: clamp(2.5rem, 4.5vw, 4rem);
  letter-spacing: -0.03em;
  margin-bottom: 1.25rem;
}

.hero-subtitle {
  font-size: 1.2rem;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 2.25rem;
  max-width: 580px;
}

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

.hero-metrics-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  padding-top: 1.75rem;
  border-top: 1px solid var(--border-subtle);
}

.metric-card {
  display: flex;
  flex-direction: column;
}

.metric-value {
  font-family: var(--font-heading);
  font-size: 1.75rem;
  font-weight: 800;
  color: #fff;
  letter-spacing: -0.02em;
}

.metric-label {
  font-size: 0.78rem;
  color: var(--text-dim);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-weight: 600;
}

/* 3D Holographic Visual Card */
.hero-visual {
  perspective: 1200px;
  position: relative;
  z-index: 2;
}

.holo-card-wrapper {
  transform-style: preserve-3d;
  transition: transform 0.15s ease-out;
  cursor: pointer;
}

.holo-card-inner {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 1.25rem;
  backdrop-filter: var(--glass-blur);
  box-shadow: var(--shadow-lg), 0 0 35px rgba(0, 245, 212, 0.12);
  position: relative;
  overflow: hidden;
}

.holo-card-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0.9rem;
}

.holo-chip {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.75rem;
  font-family: var(--font-heading);
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--accent-cyan);
}

.holo-pulse {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent-cyan);
  box-shadow: 0 0 8px var(--accent-cyan);
}

.holo-status {
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--accent-emerald);
  background: rgba(16, 185, 129, 0.12);
  padding: 0.2rem 0.5rem;
  border-radius: var(--radius-sm);
}

.holo-image-container {
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
  height: 320px;
  background: #000;
}

.holo-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.holo-card-wrapper:hover .holo-image {
  transform: scale(1.04);
}

.holo-grid-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: 
    linear-gradient(rgba(0, 245, 212, 0.1) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0, 245, 212, 0.1) 1px, transparent 1px);
  background-size: 24px 24px;
  pointer-events: none;
}

/* Floating 3D Data Pins */
.data-pin {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 0.4rem;
  background: rgba(6, 9, 19, 0.85);
  border: 1px solid var(--accent-cyan);
  padding: 0.25rem 0.6rem;
  border-radius: var(--radius-full);
  font-size: 0.72rem;
  font-weight: 600;
  color: #fff;
  backdrop-filter: var(--glass-blur);
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.5);
  transform: translateZ(30px);
  animation: float-pin 3s ease-in-out infinite alternate;
}

.pin-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent-cyan);
  box-shadow: 0 0 6px var(--accent-cyan);
}

@keyframes float-pin {
  0% { transform: translateY(0); }
  100% { transform: translateY(-6px); }
}

.holo-card-footer {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.75rem;
  margin-top: 1rem;
  padding-top: 0.9rem;
  border-top: 1px solid var(--border-subtle);
}

.holo-stat-item {
  display: flex;
  flex-direction: column;
}

.holo-stat-name {
  font-size: 0.7rem;
  color: var(--text-dim);
}

.holo-stat-val {
  font-size: 0.88rem;
  font-weight: 700;
  font-family: var(--font-heading);
}

/* ==========================================================================
   Section Styling & Capabilities Grid
   ========================================================================== */
.section-container {
  padding: 6rem 0;
  position: relative;
  z-index: 2;
}

.bg-surface {
  background: var(--bg-surface);
  border-top: 1px solid var(--border-subtle);
  border-bottom: 1px solid var(--border-subtle);
}

.capabilities-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

/* 3D Tilt Feature Card */
.feature-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 2.25rem;
  backdrop-filter: var(--glass-blur);
  transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
  position: relative;
  display: flex;
  flex-direction: column;
}

.feature-card:hover {
  border-color: var(--border-glow);
  box-shadow: var(--shadow-cyan-glow);
}

.card-icon-wrapper {
  width: 60px;
  height: 60px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
}

.card-icon-wrapper.cyan {
  background: rgba(0, 245, 212, 0.12);
  color: var(--accent-cyan);
  border: 1px solid rgba(0, 245, 212, 0.3);
}

.card-icon-wrapper.purple {
  background: rgba(139, 92, 246, 0.12);
  color: var(--accent-purple);
  border: 1px solid rgba(139, 92, 246, 0.3);
}

.card-icon-wrapper.orange {
  background: rgba(245, 158, 11, 0.12);
  color: var(--accent-amber);
  border: 1px solid rgba(245, 158, 11, 0.3);
}

.card-title {
  font-size: 1.35rem;
  margin-bottom: 0.9rem;
}

.card-description {
  font-size: 0.96rem;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 1.5rem;
}

.card-checklist {
  list-style: none;
  margin-bottom: 2rem;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  flex-grow: 1;
}

.card-checklist li {
  font-size: 0.88rem;
  color: var(--text-main);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.card-checklist li span {
  color: var(--accent-cyan);
  font-weight: 700;
}

.link-accent {
  color: var(--accent-cyan);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.92rem;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  transition: var(--transition);
}

.link-accent:hover {
  transform: translateX(4px);
  color: #fff;
}

/* ==========================================================================
   Thermal Simulator Interactive Section
   ========================================================================== */
.thermal-section {
  background: linear-gradient(180deg, var(--bg-dark) 0%, #080e22 50%, var(--bg-dark) 100%);
}

.thermal-box-wrapper {
  background: rgba(10, 16, 34, 0.85);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  backdrop-filter: var(--glass-blur);
  box-shadow: var(--shadow-lg);
}

.thermal-header-grid {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 2rem;
  gap: 2rem;
}

.spectrum-toggle-group {
  display: flex;
  background: rgba(6, 9, 19, 0.85);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  padding: 0.25rem;
}

.spectrum-btn {
  background: transparent;
  border: none;
  color: var(--text-muted);
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.88rem;
  padding: 0.6rem 1.1rem;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: var(--transition);
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.spectrum-btn.active {
  background: var(--accent-cyan);
  color: #04121e;
  box-shadow: 0 2px 10px rgba(0, 245, 212, 0.3);
}

.simulator-display-container {
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: 2rem;
  align-items: stretch;
}

.simulator-viewport-inner {
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
  height: 480px;
  background: #000;
  border: 1px solid var(--border-subtle);
  box-shadow: inset 0 0 40px rgba(0, 0, 0, 0.8);
}

.sim-bg-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: filter 0.4s ease;
}

/* Thermal IR Filter Simulated Layer */
.thermal-filter-layer {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  background: radial-gradient(circle at 55% 50%, rgba(255, 60, 0, 0.25) 0%, rgba(139, 92, 246, 0.3) 50%, transparent 80%);
  mix-blend-mode: color-dodge;
  opacity: 1;
  transition: opacity 0.35s ease;
}

.mode-optical .thermal-filter-layer {
  opacity: 0;
}

.mode-optical .sim-bg-img {
  filter: contrast(1.1) brightness(1.05);
}

/* HUD Overlay */
.hud-layer {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  padding: 1.25rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.hud-top-bar {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.hud-chip {
  background: rgba(6, 9, 19, 0.75);
  border: 1px solid rgba(255, 255, 255, 0.15);
  padding: 0.3rem 0.75rem;
  border-radius: var(--radius-sm);
  font-family: var(--font-heading);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  color: var(--text-main);
  backdrop-filter: var(--glass-blur);
}

/* Interactive Scanning Reticle */
.interactive-reticle {
  position: absolute;
  top: 45%;
  left: 55%;
  transform: translate(-50%, -50%);
  display: flex;
  align-items: center;
  gap: 1rem;
  pointer-events: none;
  transition: top 0.08s linear, left 0.08s linear;
}

.reticle-box {
  width: 90px;
  height: 90px;
  position: relative;
  border: 1px dashed rgba(0, 245, 212, 0.5);
  animation: reticle-pulse 2s infinite ease-in-out;
}

@keyframes reticle-pulse {
  0% { transform: scale(1); border-color: rgba(0, 245, 212, 0.5); }
  50% { transform: scale(1.06); border-color: rgba(0, 245, 212, 0.9); }
  100% { transform: scale(1); border-color: rgba(0, 245, 212, 0.5); }
}

.reticle-box .corner {
  position: absolute;
  width: 14px;
  height: 14px;
  border: 2px solid var(--accent-cyan);
}

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

.reticle-center {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent-cyan);
  transform: translate(-50%, -50%);
  box-shadow: 0 0 8px var(--accent-cyan);
}

.reticle-data {
  background: rgba(6, 9, 19, 0.88);
  border: 1px solid var(--accent-cyan);
  border-radius: var(--radius-sm);
  padding: 0.5rem 0.8rem;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.6);
  backdrop-filter: var(--glass-blur);
}

.temp-readout {
  font-family: var(--font-heading);
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--accent-cyan);
  line-height: 1;
  margin-bottom: 0.2rem;
}

.temp-state {
  font-size: 0.7rem;
  font-weight: 700;
  color: var(--accent-emerald);
  letter-spacing: 0.05em;
}

.target-label {
  font-size: 0.65rem;
  color: var(--text-dim);
  text-transform: uppercase;
}

/* Thermal Color Legend Bar */
.spectrum-legend {
  background: rgba(6, 9, 19, 0.8);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  padding: 0.5rem 0.9rem;
  width: fit-content;
}

.legend-scale {
  width: 240px;
  height: 10px;
  border-radius: var(--radius-full);
  background: linear-gradient(90deg, #1e1b4b 0%, #3b82f6 25%, #00f5d4 50%, #f59e0b 75%, #ef4444 100%);
  margin-bottom: 0.35rem;
}

.legend-labels {
  display: flex;
  justify-content: space-between;
  font-size: 0.68rem;
  color: var(--text-dim);
  font-weight: 600;
}

/* Sidebar Tech Specs */
.tech-spec-card {
  background: rgba(14, 21, 41, 0.6);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 1.75rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  height: 100%;
}

.spec-heading {
  font-size: 1.15rem;
  margin-bottom: 1.25rem;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid var(--border-subtle);
}

.spec-row {
  display: flex;
  flex-direction: column;
  margin-bottom: 0.85rem;
}

.spec-label {
  font-size: 0.75rem;
  color: var(--text-dim);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-weight: 600;
}

.spec-val {
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--text-main);
}

.simulator-callout {
  margin-top: 1.25rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--border-subtle);
}

.simulator-callout p {
  font-size: 0.82rem;
  color: var(--text-muted);
  margin-bottom: 0.9rem;
}

/* ==========================================================================
   Engineering Lifecycle (4-Phase)
   ========================================================================== */
.lifecycle-track {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  position: relative;
}

.lifecycle-step {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 2.25rem 1.75rem;
  position: relative;
  overflow: hidden;
  backdrop-filter: var(--glass-blur);
  transition: transform 0.2s ease, border-color 0.2s ease;
}

.lifecycle-step:hover {
  transform: translateY(-4px);
  border-color: var(--border-glow);
}

.step-num {
  font-family: var(--font-heading);
  font-size: 3rem;
  font-weight: 900;
  color: rgba(255, 255, 255, 0.06);
  line-height: 1;
  position: absolute;
  top: 1.25rem;
  right: 1.25rem;
}

.step-glow {
  width: 40px;
  height: 4px;
  background: var(--accent-cyan);
  border-radius: var(--radius-full);
  margin-bottom: 1.5rem;
  box-shadow: 0 0 12px var(--accent-cyan);
}

.step-title {
  font-size: 1.35rem;
  margin-bottom: 0.8rem;
}

.step-text {
  font-size: 0.92rem;
  color: var(--text-muted);
  line-height: 1.55;
  margin-bottom: 1.5rem;
}

.step-badge {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--accent-cyan);
  background: rgba(0, 245, 212, 0.1);
  padding: 0.25rem 0.65rem;
  border-radius: var(--radius-full);
}

/* ==========================================================================
   Interactive Scope Calculator
   ========================================================================== */
.calculator-card-wrapper {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 3rem;
  backdrop-filter: var(--glass-blur);
  box-shadow: var(--shadow-lg);
}

.calc-grid {
  display: grid;
  grid-template-columns: 1.25fr 0.75fr;
  gap: 3rem;
  margin-top: 2.5rem;
}

.calc-group {
  margin-bottom: 2rem;
}

.calc-label {
  display: block;
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--text-main);
  margin-bottom: 0.9rem;
}

.option-pill-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.75rem;
}

.option-pill {
  background: rgba(6, 9, 19, 0.6);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 0.85rem 1rem;
  display: flex;
  align-items: center;
  gap: 0.65rem;
  color: var(--text-muted);
  cursor: pointer;
  transition: var(--transition);
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.88rem;
  text-align: left;
}

.option-pill:hover {
  background: rgba(255, 255, 255, 0.05);
  border-color: rgba(255, 255, 255, 0.2);
  color: #fff;
}

.option-pill.active {
  background: rgba(0, 245, 212, 0.12);
  border-color: var(--accent-cyan);
  color: #fff;
  box-shadow: 0 0 16px rgba(0, 245, 212, 0.15);
}

.slider-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.slider-val {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--accent-cyan);
}

.custom-range-slider {
  width: 100%;
  height: 8px;
  border-radius: var(--radius-full);
  background: #1e293b;
  outline: none;
  -webkit-appearance: none;
  appearance: none;
  cursor: pointer;
  margin: 1rem 0 0.5rem 0;
}

.custom-range-slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--accent-cyan);
  cursor: pointer;
  box-shadow: 0 0 10px var(--accent-cyan);
  border: 2px solid #04121e;
}

.slider-scale {
  display: flex;
  justify-content: space-between;
  font-size: 0.75rem;
  color: var(--text-dim);
}

.checkbox-module-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.75rem;
}

.module-check {
  background: rgba(6, 9, 19, 0.6);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 0.9rem 1rem;
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  cursor: pointer;
  transition: var(--transition);
}

.module-check input {
  margin-top: 0.25rem;
  accent-color: var(--accent-cyan);
  width: 16px;
  height: 16px;
}

.module-content {
  display: flex;
  flex-direction: column;
}

.module-title {
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--text-main);
  margin-bottom: 0.2rem;
}

.module-desc {
  font-size: 0.75rem;
  color: var(--text-dim);
}

.module-check.active {
  border-color: rgba(0, 245, 212, 0.4);
  background: rgba(0, 245, 212, 0.05);
}

/* Summary Box */
.summary-box {
  background: rgba(6, 9, 19, 0.8);
  border: 1px solid var(--border-glow);
  border-radius: var(--radius-lg);
  padding: 2.25rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.5);
  height: 100%;
}

.summary-badge {
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--accent-cyan);
  letter-spacing: 0.08em;
}

.summary-title {
  font-size: 1.45rem;
  margin: 0.4rem 0 1.5rem 0;
}

.summary-specs-list {
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
  margin-bottom: 2rem;
}

.summary-spec-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-bottom: 0.6rem;
  border-bottom: 1px solid var(--border-subtle);
  font-size: 0.9rem;
}

.spec-key {
  color: var(--text-muted);
}

.summary-spec-item .spec-val {
  color: #fff;
  font-weight: 600;
}

.summary-note {
  font-size: 0.78rem;
  color: var(--text-dim);
  margin-bottom: 1rem;
}

/* ==========================================================================
   Why MAEU Trust Grid
   ========================================================================== */
.trust-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.75rem;
}

.trust-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 2rem 1.75rem;
  backdrop-filter: var(--glass-blur);
  transition: transform 0.2s ease;
}

.trust-card:hover {
  transform: translateY(-4px);
  border-color: rgba(255, 255, 255, 0.2);
}

.trust-icon {
  color: var(--accent-cyan);
  margin-bottom: 1.25rem;
}

.trust-title {
  font-size: 1.2rem;
  margin-bottom: 0.65rem;
}

.trust-text {
  font-size: 0.92rem;
  color: var(--text-muted);
  line-height: 1.55;
}

/* ==========================================================================
   Contact & Consultation Form
   ========================================================================== */
.contact-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 3.5rem;
  align-items: flex-start;
}

.contact-details-list {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  margin-top: 2rem;
}

.contact-item {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
}

.contact-icon {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-md);
  background: rgba(0, 245, 212, 0.1);
  border: 1px solid rgba(0, 245, 212, 0.25);
  color: var(--accent-cyan);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.contact-text .label {
  display: block;
  font-size: 0.75rem;
  color: var(--text-dim);
  text-transform: uppercase;
  font-weight: 700;
  letter-spacing: 0.06em;
  margin-bottom: 0.2rem;
}

.contact-text .value {
  font-size: 0.96rem;
  color: var(--text-main);
  line-height: 1.5;
}

.contact-text .value a {
  color: var(--accent-cyan);
  text-decoration: none;
  font-weight: 600;
}

.contact-text .value a:hover {
  text-decoration: underline;
}

.contact-form-panel {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 2.75rem;
  backdrop-filter: var(--glass-blur);
  box-shadow: var(--shadow-lg);
}

.form-title {
  font-size: 1.65rem;
  margin-bottom: 0.4rem;
}

.form-subtext {
  font-size: 0.92rem;
  color: var(--text-muted);
  margin-bottom: 1.75rem;
}

.form-group {
  margin-bottom: 1.25rem;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.form-label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-main);
  margin-bottom: 0.45rem;
}

.form-input {
  width: 100%;
  background: rgba(6, 9, 19, 0.7);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  padding: 0.8rem 1rem;
  font-family: var(--font-body);
  font-size: 0.95rem;
  color: #fff;
  transition: var(--transition);
  outline: none;
}

.form-input:focus {
  border-color: var(--accent-cyan);
  box-shadow: 0 0 12px rgba(0, 245, 212, 0.25);
}

.form-select {
  cursor: pointer;
}

.form-select option {
  background: var(--bg-dark);
  color: #fff;
}

.form-textarea {
  resize: vertical;
}

.btn-submit {
  margin-top: 0.5rem;
}

.form-status-box {
  margin-top: 1.25rem;
  padding: 1rem;
  border-radius: var(--radius-sm);
  font-size: 0.9rem;
  font-weight: 500;
}

.form-status-box.success {
  background: rgba(16, 185, 129, 0.15);
  border: 1px solid var(--accent-emerald);
  color: #a7f3d0;
}

.form-status-box.error {
  background: rgba(239, 68, 68, 0.15);
  border: 1px solid var(--accent-red);
  color: #fca5a5;
}

/* ==========================================================================
   Footer
   ========================================================================== */
.site-footer {
  background: #04060d;
  border-top: 1px solid var(--border-subtle);
  padding: 5rem 0 2rem 0;
  position: relative;
  z-index: 2;
}

.footer-top-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
  gap: 3rem;
  padding-bottom: 4rem;
  border-bottom: 1px solid var(--border-subtle);
}

.footer-logo {
  height: 42px;
  width: auto;
  object-fit: contain;
  margin-bottom: 1.25rem;
}

.footer-bio {
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 1.25rem;
  max-width: 320px;
}

.footer-badges {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.mini-tag {
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--text-dim);
  background: rgba(255, 255, 255, 0.05);
  padding: 0.2rem 0.5rem;
  border-radius: var(--radius-sm);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-heading {
  font-size: 0.95rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 1.25rem;
  color: #fff;
}

.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.footer-links a {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.88rem;
  transition: var(--transition);
}

.footer-links a:hover {
  color: var(--accent-cyan);
}

.footer-contact-line {
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 0.9rem;
}

.footer-contact-line a {
  color: var(--accent-cyan);
  text-decoration: none;
}

.footer-contact-line a:hover {
  text-decoration: underline;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 2rem;
  font-size: 0.82rem;
  color: var(--text-dim);
}

.footer-sublinks {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.footer-sublinks a {
  color: var(--text-dim);
  text-decoration: none;
  transition: var(--transition);
}

.footer-sublinks a:hover {
  color: var(--accent-cyan);
}

/* ==========================================================================
   Responsive Breakpoints
   ========================================================================== */
@media (max-width: 1024px) {
  .hero-container {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

  .hero-visual {
    max-width: 600px;
    margin: 0 auto;
  }

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

  .simulator-display-container {
    grid-template-columns: 1fr;
  }

  .simulator-viewport-inner {
    height: 400px;
  }

  .lifecycle-track {
    grid-template-columns: repeat(2, 1fr);
  }

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

  .trust-grid {
    grid-template-columns: repeat(2, 1fr);
  }

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

  .footer-top-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 1250px) {
  .main-nav .nav-list {
    gap: 1rem;
  }
  .nav-link {
    font-size: 0.86rem;
  }
  .header-phone-cta .phone-label {
    display: none;
  }
  .header-phone-cta {
    padding: 0.6rem;
    border-radius: var(--radius-sm);
    background: rgba(255, 255, 255, 0.05);
  }
}

@media (max-width: 1060px) {
  .mobile-toggle {
    display: flex;
  }

  .main-nav {
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background: rgba(6, 9, 19, 0.98);
    backdrop-filter: var(--glass-blur);
    border-bottom: 1px solid var(--border-subtle);
    padding: 1.5rem;
    display: none;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.8);
  }

  .main-nav.open {
    display: block;
  }

  .main-nav .nav-list {
    flex-direction: column;
    gap: 1.1rem;
    align-items: flex-start;
  }

  .nav-link {
    font-size: 1.05rem;
    display: block;
    width: 100%;
    padding: 0.4rem 0;
  }
}

@media (max-width: 768px) {
  .announcement-inner {
    flex-direction: column;
    gap: 0.25rem;
    text-align: center;
  }

  .hero-title {
    font-size: 2.3rem;
  }

  .hero-metrics-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .thermal-header-grid {
    flex-direction: column;
    align-items: flex-start;
  }

  .option-pill-grid,
  .checkbox-module-grid {
    grid-template-columns: 1fr;
  }

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

  .footer-top-grid {
    grid-template-columns: 1fr;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 1rem;
    text-align: center;
  }
}
