/* ============================================
   SITCOM Web — Vanilla CSS
   ============================================ */

/* --- Custom Properties --- */
:root {
  /* Colors */
  --blue: #4f7eff;
  --blue-rgb: 79, 126, 255;
  --gray: #9898a3;
  --gray-rgb: 152, 152, 163;
  --bg: #0a0a0f;
  --bg-variant: #0a0f1a;
  --bg-card: #060810;
  --white: #ffffff;
  --green: #22c55e;

  /* Optical glass system */
  --glass-deep: rgba(5, 10, 24, 0.66);
  --glass-medium: rgba(8, 15, 32, 0.52);
  --glass-subtle: rgba(255, 255, 255, 0.035);
  --glass-border: rgba(137, 166, 255, 0.22);
  --glass-border-strong: rgba(137, 166, 255, 0.34);
  --glass-highlight: rgba(255, 255, 255, 0.1);
  --glass-shadow: 0 24px 70px rgba(0, 0, 0, 0.3), 0 8px 24px rgba(2, 8, 24, 0.2);

  /* Typography */
  --font-display: "Instrument Serif", serif;
  --font-body: "Geist", sans-serif;
  --font-mono: "JetBrains Mono", monospace;

  /* Radius */
  --radius: 0.5rem;

  /* Easing */
  --ease-out: cubic-bezier(0.23, 1, 0.32, 1);
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--white);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

/* GPU acceleration for animations */
.gpu-layer {
  transform: translateZ(0);
  backface-visibility: hidden;
  perspective: 1000px;
}

section, .glass-panel, .service-card, .tech-area, .inno-main, .inno-side,
.flow-node, .prog-btn, .detail-panel, .pro-card, .contact-info, .contact-form,
.hero-h1, .hero-status, .hero-subtitle, .hero-stats, .scroll-indicator,
.section-header, .eco-bottom, .eng-left, .eng-right, .prog-detail,
.professional-services {
  transform: translateZ(0);
  backface-visibility: hidden;
  will-change: transform, opacity;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
}

button {
  cursor: pointer;
  border: none;
  background: none;
  font-family: inherit;
  color: inherit;
}

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

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

input, textarea {
  font-family: var(--font-body);
}

/* --- Scrollbar --- */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb { background: rgba(79, 126, 255, 0.4); border-radius: 3px; }
::-webkit-scrollbar-thumb:hover { background: rgba(79, 126, 255, 0.7); }

/* --- Utility Classes --- */
.text-blue { color: var(--blue); }
.text-left { text-align: left; }

.container {
  width: 100%;
  margin-left: auto;
  margin-right: auto;
  padding-left: 1rem;
  padding-right: 1rem;
}

@media (min-width: 640px) {
  .container { padding-left: 1.5rem; padding-right: 1.5rem; }
}
@media (min-width: 1024px) {
  .container { padding-left: 2rem; padding-right: 2rem; max-width: 1400px; }
}

/* --- Glow Utilities --- */
.glow-cyan {
  box-shadow: 0 0 20px rgba(79, 126, 255, 0.3), 0 0 60px rgba(79, 126, 255, 0.1);
}

.glow-text {
  text-shadow: 0 0 20px rgba(79, 126, 255, 0.5), 0 0 40px rgba(79, 126, 255, 0.2);
}

.glass-panel {
  background: rgba(10, 15, 30, 0.7);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(79, 126, 255, 0.15);
}

/* --- Status Dot --- */
.status-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--blue);
  animation: pulse-glow 3s ease-in-out infinite;
}

.green-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--green);
  animation: pulse 2s ease-in-out infinite;
}

/* --- Section Header (reusable pattern) --- */
.section-header {
  text-align: center;
  margin-bottom: 4rem;
}

.section-label {
  display: block;
  font-family: var(--font-mono);
  font-size: 13px;
  letter-spacing: 0.4em;
  color: rgba(79, 126, 255, 0.7);
  text-transform: uppercase;
  margin-bottom: 1rem;
}

.section-title {
  font-family: var(--font-display);
  font-size: 1.875rem;
  font-weight: 700;
  color: var(--white);
  line-height: 1.2;
}

@media (min-width: 640px) {
  .section-title { font-size: 2.25rem; }
}
@media (min-width: 768px) {
  .section-title { font-size: 3rem; }
}

.section-desc {
  max-width: 42rem;
  margin: 1.5rem auto 0;
  font-size: 1rem;
  color: rgba(152, 152, 163, 0.8);
  line-height: 1.625;
}

/* --- Section Base --- */
.section {
  position: relative;
  padding: 8rem 0;
  overflow: hidden;
}

.section-bg {
  position: absolute;
  inset: 0;
}

.section-bg-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.opacity-20 { opacity: 0.2; }
.opacity-15 { opacity: 0.15; }

.section-bg-gradient {
  position: absolute;
  inset: 0;
}

/* --- Particle Canvas --- */
.particle-canvas {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  opacity: 0.6;
}

/* --- Navigation --- */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  transition: background 0.5s, border-color 0.5s;
}

.navbar.scrolled {
  background: rgba(10, 10, 15, 0.9);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border-bottom: 1px solid rgba(79, 126, 255, 0.1);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 4rem;
}

@media (min-width: 1024px) {
  .nav-inner { height: 5rem; }
}

/* Logo */
.nav-logo {
  position: relative;
  display: block;
  flex-shrink: 0;
}

.nav-logo-image {
  display: block;
  width: auto;
  height: 44px;
  aspect-ratio: 3 / 1;
  object-fit: contain;
}

.nav-logo-sub {
  position: absolute;
  top: 72%;
  right: 0;
  left: 34%;
  font-family: var(--font-mono);
  font-size: 8px;
  line-height: 1;
  letter-spacing: 0.2em;
  text-align: center;
  color: var(--blue);
  text-transform: uppercase;
}

@media (min-width: 640px) {
  .nav-logo-image { height: 56px; }
  .nav-logo-sub {
    font-size: 10px;
    letter-spacing: 0.24em;
  }
}

@media (min-width: 1280px) {
  .nav-logo-image { height: 64px; }
  .nav-logo-sub { font-size: 11px; }
}

/* Desktop Links */
.nav-links {
  display: none;
  align-items: center;
  gap: 0.25rem;
  position: relative;
}

@media (min-width: 1024px) {
  .nav-links { display: flex; }
}

.nav-link {
  position: relative;
  padding: 0.5rem 0.75rem;
  font-family: var(--font-mono);
  font-size: 13px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(152, 152, 163, 0.7);
  transition: color 0.3s;
}

.nav-link:hover {
  color: rgba(255, 255, 255, 0.8);
}

.nav-link.active {
  color: var(--blue);
}

.nav-indicator {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 6px;
  height: 6px;
  background: var(--blue);
  border-radius: 50%;
  transition: left 0.3s cubic-bezier(0.23, 1, 0.32, 1), width 0.3s cubic-bezier(0.23, 1, 0.32, 1);
}

/* Status */
.nav-status {
  display: none;
  align-items: center;
  gap: 0.5rem;
}

@media (min-width: 1024px) {
  .nav-status { display: flex; }
}

.status-text {
  font-family: var(--font-mono);
  font-size: 12px;
  color: rgba(79, 126, 255, 0.7);
  letter-spacing: 0.05em;
}

/* Mobile Toggle */
.mobile-toggle {
  display: flex;
  flex-direction: column;
  gap: 0.375rem;
  padding: 0.5rem;
}

@media (min-width: 1024px) {
  .mobile-toggle { display: none; }
}

.mobile-toggle span {
  display: block;
  width: 20px;
  height: 1px;
  background: var(--blue);
  transition: transform 0.3s, opacity 0.3s;
}

.mobile-toggle.open span:nth-child(1) {
  transform: rotate(45deg) translateY(4px);
}
.mobile-toggle.open span:nth-child(2) {
  opacity: 0;
}
.mobile-toggle.open span:nth-child(3) {
  transform: rotate(-45deg) translateY(-4px);
}

/* Mobile Overlay */
.mobile-overlay {
  position: fixed;
  inset: 0;
  z-index: 40;
  background: rgba(10, 10, 15, 0.95);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  padding-top: 5rem;
  display: none;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s, visibility 0.3s;
}

.mobile-overlay.open {
  display: block;
  opacity: 1;
  visibility: visible;
}

@media (min-width: 1024px) {
  .mobile-overlay { display: none !important; }
}

.mobile-overlay-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.5rem;
  padding-top: 2.5rem;
}

.mobile-link {
  font-family: var(--font-mono);
  font-size: 1rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(152, 152, 163, 0.7);
  transition: color 0.3s;
}

.mobile-link.active {
  color: var(--blue);
}

/* --- Main Content --- */
.main-content {
  position: relative;
  z-index: 10;
}

/* ============================================
   HERO SECTION
   ============================================ */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-bg-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.1);
}

.hero-bg-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(10, 10, 15, 0.6), rgba(10, 10, 15, 0.4), rgba(10, 10, 15, 1));
}

.scanline-overlay {
  position: absolute;
  inset: 0;
  z-index: 10;
  pointer-events: none;
  overflow: hidden;
  opacity: 0.03;
}

.scanline-bar {
  width: 100%;
  height: 1px;
  background: var(--blue);
  animation: scanline 8s linear infinite;
}

.grid-overlay {
  position: absolute;
  inset: 0;
  z-index: 5;
  opacity: 0.04;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(79,126,255,0.3) 1px, transparent 1px),
    linear-gradient(90deg, rgba(79,126,255,0.3) 1px, transparent 1px);
  background-size: 80px 80px;
}

.hero-content {
  position: relative;
  z-index: 20;
  text-align: center;
}

.hero-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.hero-status {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  margin-bottom: 2rem;
}

.hero-status-line {
  width: 2rem;
  height: 1px;
  background: rgba(79, 126, 255, 0.5);
}

.hero-status-text {
  font-family: var(--font-mono);
  font-size: 13px;
  letter-spacing: 0.3em;
  color: rgba(79, 126, 255, 0.8);
  text-transform: uppercase;
}

.hero-title-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

@media (min-width: 640px) { .hero-title-row { gap: 2rem; } }
@media (min-width: 768px) { .hero-title-row { gap: 3rem; } }

.hero-side-label {
  display: none;
  flex-direction: column;
  align-items: center;
}

@media (min-width: 640px) {
  .hero-side-label { display: flex; }
}

.side-label-glow {
  position: absolute;
  inset: 0;
  background: rgba(79, 126, 255, 0.2);
  filter: blur(12px);
  border-radius: 0.5rem;
}

.side-label-panel {
  position: relative;
  padding: 0.75rem 1rem;
  border: 1px solid rgba(79, 126, 255, 0.4);
  border-radius: 0.5rem;
  background: rgba(79, 126, 255, 0.05);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
}

.side-label-title {
  font-family: var(--font-display);
  font-size: 1.125rem;
  font-weight: 600;
  color: var(--blue);
  letter-spacing: 0.05em;
}

@media (min-width: 768px) { .side-label-title { font-size: 1.5rem; } }

.side-label-sub {
  font-family: var(--font-mono);
  font-size: 1rem;
  color: var(--gray);
  letter-spacing: 0.2em;
  text-transform: uppercase;
  margin-top: 0.25rem;
}

@media (min-width: 768px) { .side-label-sub { font-size: 1.125rem; } }

.hero-h1 {
  font-family: var(--font-display);
  font-size: 2.25rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 0.9;
}

@media (min-width: 640px) { .hero-h1 { font-size: 3rem; } }
@media (min-width: 768px) { .hero-h1 { font-size: 4.5rem; } }
@media (min-width: 1024px) { .hero-h1 { font-size: 6rem; } }

.hero-h1-white {
  display: block;
  color: var(--white);
}

.hero-h1-blue {
  display: block;
  color: var(--blue);
  text-shadow: 0 0 20px rgba(79, 126, 255, 0.5), 0 0 40px rgba(79, 126, 255, 0.2);
  margin-top: 0.5rem;
}

.hero-subtitle {
  max-width: 36rem;
  margin: 2rem auto 0;
  font-size: 1.125rem;
  color: var(--gray);
  line-height: 1.625;
}

@media (min-width: 640px) { .hero-subtitle { font-size: 1.25rem; } }

.hero-stats {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 2rem 3rem;
  margin-top: 3rem;
}

.hero-stat { text-align: center; }

.stat-value {
  font-family: var(--font-display);
  font-size: 1.875rem;
  font-weight: 700;
  color: var(--blue);
}

@media (min-width: 640px) { .stat-value { font-size: 2.25rem; } }

.stat-label {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.2em;
  color: rgba(152, 152, 163, 0.7);
  margin-top: 0.25rem;
}

.scroll-indicator {
  position: absolute;
  bottom: 2.5rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  opacity: 0;
}

.scroll-text {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.3em;
  color: rgba(255, 255, 255, 0.3);
  text-transform: uppercase;
}

.scroll-line {
  width: 1px;
  height: 2rem;
  background: linear-gradient(to bottom, rgba(79, 126, 255, 0.5), transparent);
  animation: pulse 2s ease-in-out infinite;
}

/* ============================================
   ECOSYSTEM SECTION
   ============================================ */
.ecosystem-bg {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, var(--bg), var(--bg-variant), var(--bg));
}

.ecosystem-content {
  position: relative;
  z-index: 10;
}

.flow-diagram {
  position: relative;
  max-width: 64rem;
  margin: 0 auto;
}

.flow-line {
  display: none;
  position: absolute;
  top: 50%;
  left: 10%;
  right: 10%;
  height: 1px;
  background: linear-gradient(to right, rgba(79, 126, 255, 0), rgba(79, 126, 255, 0.6), rgba(79, 126, 255, 0));
  transform-origin: left;
}

@media (min-width: 768px) {
  .flow-line { display: block; }
}

.flow-nodes {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

@media (min-width: 768px) {
  .flow-nodes { grid-template-columns: repeat(4, 1fr); gap: 1rem; }
}

.flow-node {
  position: relative;
}

.node-panel {
  border-radius: 0.5rem;
  padding: 1.5rem;
  height: 100%;
  transition: border-color 0.5s, box-shadow 0.5s;
}

.node-panel:hover {
  border-color: rgba(79, 126, 255, 0.4);
  box-shadow: 0 0 30px rgba(79, 126, 255, 0.1);
}

.node-header {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1rem;
}

.node-icon {
  font-size: 1.25rem;
  color: var(--blue);
}

.node-sep {
  flex: 1;
  height: 1px;
  background: linear-gradient(to right, rgba(79, 126, 255, 0.3), transparent);
}

.node-num {
  font-family: var(--font-mono);
  font-size: 13px;
  color: rgba(79, 126, 255, 0.5);
  letter-spacing: 0.05em;
}

.node-title {
  font-family: var(--font-display);
  font-size: 1.125rem;
  font-weight: 600;
  color: var(--white);
  letter-spacing: 0.05em;
  margin-bottom: 0.25rem;
}

@media (min-width: 768px) { .node-title { font-size: 1.25rem; } }

.node-sub {
  font-family: var(--font-mono);
  font-size: 12px;
  color: rgba(79, 126, 255, 0.7);
  letter-spacing: 0.15em;
  text-transform: uppercase;
  margin-bottom: 0.75rem;
}

.node-desc {
  font-size: 1rem;
  color: rgba(152, 152, 163, 0.8);
  line-height: 1.625;
}

.node-arrow {
  display: none;
  position: absolute;
  top: 50%;
  right: -1rem;
  transform: translateY(-50%);
  z-index: 20;
}

.node-arrow::before {
  content: "";
  display: block;
  width: 1rem;
  height: 1px;
  background: rgba(79, 126, 255, 0.4);
}

.node-arrow::after {
  content: "";
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 0;
  height: 0;
  border-top: 3px solid transparent;
  border-bottom: 3px solid transparent;
  border-left: 5px solid rgba(79, 126, 255, 0.4);
}

@media (min-width: 768px) {
  .flow-node:not(:last-child) .node-arrow { display: block; }
}

.eco-bottom {
  text-align: center;
  margin-top: 4rem;
  opacity: 0;
}

.eco-bottom-text {
  font-size: 1rem;
  color: rgba(152, 152, 163, 0.8);
  max-width: 36rem;
  margin: 0 auto;
  line-height: 1.625;
}

/* ============================================
   ENGINEERING SECTION
   ============================================ */
.engineering-content {
  position: relative;
  z-index: 10;
}

.eng-gradient {
  background: linear-gradient(to bottom, var(--bg), rgba(10, 10, 15, 0.9), var(--bg));
}

.engineering-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
}

@media (min-width: 1024px) {
  .engineering-grid {
    grid-template-columns: 5fr 7fr;
    gap: 4rem;
  }
}

.eng-left {
  opacity: 0;
}

.mini-dashboard {
  margin-top: 2.5rem;
  background: rgba(10, 15, 30, 0.7);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(79, 126, 255, 0.15);
  border-radius: 0.5rem;
  padding: 1.25rem;
}

.dash-header {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 1rem;
}

.dash-title {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.2em;
  color: rgba(79, 126, 255, 0.7);
  text-transform: uppercase;
}

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

.dash-item { text-align: center; }

.dash-value {
  font-family: var(--font-display);
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--white);
}

.dash-label {
  font-family: var(--font-mono);
  font-size: 13px;
  color: rgba(255, 255, 255, 0.3);
  letter-spacing: 0.05em;
  margin-top: 0.25rem;
}

.eng-right {
}

.services-list {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.service-card {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  background: rgba(10, 15, 30, 0.7);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(79, 126, 255, 0.15);
  border-radius: 0.5rem;
  padding: 1.25rem;
  transition: border-color 0.5s, box-shadow 0.5s;
  opacity: 0;
}

.service-card:hover {
  border-color: rgba(79, 126, 255, 0.3);
  box-shadow: 0 0 30px rgba(79, 126, 255, 0.05);
}

.service-badge {
  flex-shrink: 0;
  font-family: var(--font-mono);
  font-size: 12px;
  color: rgba(79, 126, 255, 0.6);
  letter-spacing: 0.05em;
  border: 1px solid rgba(79, 126, 255, 0.2);
  padding: 0.25rem 0.5rem;
  border-radius: 0.25rem;
}

.service-body { flex: 1; }

.service-title {
  font-family: var(--font-display);
  font-size: 1.125rem;
  font-weight: 600;
  color: var(--white);
  transition: color 0.3s;
}

@media (min-width: 768px) { .service-title { font-size: 1.25rem; } }

.service-card:hover .service-title {
  color: var(--blue);
}

.service-desc {
  font-size: 1rem;
  color: rgba(152, 152, 163, 0.8);
  line-height: 1.625;
  margin-top: 0.5rem;
}

.service-arrow {
  flex-shrink: 0;
  opacity: 0;
  transition: opacity 0.3s;
}

.service-card:hover .service-arrow {
  opacity: 1;
}

.arrow-box {
  width: 24px;
  height: 24px;
  border: 1px solid rgba(79, 126, 255, 0.3);
  border-radius: 0.25rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.arrow-box span {
  color: var(--blue);
  font-size: 1rem;
}

/* ============================================
   TECHNOLOGY SECTION
   ============================================ */
.technology-content {
  position: relative;
  z-index: 10;
}

.tech-gradient {
  background: linear-gradient(to bottom, var(--bg), rgba(8, 11, 20, 0.95), var(--bg));
}

.tech-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

@media (min-width: 768px) {
  .tech-grid { grid-template-columns: repeat(3, 1fr); }
}

.tech-area {
  background: rgba(10, 15, 30, 0.7);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(79, 126, 255, 0.15);
  border-radius: 0.5rem;
  overflow: hidden;
  opacity: 0;
}

.tech-area-header {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 1rem 1.25rem;
  border-bottom: 1px solid rgba(79, 126, 255, 0.1);
}

.tech-dot {
  width: 6px;
  height: 6px;
  background: var(--blue);
  border-radius: 50%;
  animation: pulse-glow 3s ease-in-out infinite;
}

.tech-category {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.3em;
  color: var(--blue);
  text-transform: uppercase;
  font-weight: 500;
}

.tech-items {
  padding: 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.tech-item {
  padding: 0.75rem;
  border-radius: 0.25rem;
  border: 1px solid transparent;
  transition: border-color 0.3s;
}

.tech-item:hover {
  border-color: rgba(79, 126, 255, 0.2);
}

.tech-item-name {
  font-family: var(--font-display);
  font-size: 1.125rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.8);
  transition: color 0.3s;
}

@media (min-width: 768px) { .tech-item-name { font-size: 1.25rem; } }

.tech-item:hover .tech-item-name {
  color: var(--white);
}

.tech-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.375rem;
  margin-top: 0.5rem;
}

.tech-tag {
  font-family: var(--font-mono);
  font-size: 13px;
  padding: 0.125rem 0.5rem;
  border-radius: 9999px;
  background: rgba(79, 126, 255, 0.05);
  color: rgba(79, 126, 255, 0.6);
  border: 1px solid rgba(79, 126, 255, 0.1);
}

/* Professional Services */
.professional-services {
  margin-top: 4rem;
  opacity: 0;
}

.pro-header {
  text-align: center;
  margin-bottom: 2.5rem;
}

.pro-desc {
  font-size: 1rem;
  color: rgba(152, 152, 163, 0.8);
  max-width: 36rem;
  margin: 0 auto;
  line-height: 1.625;
}

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

@media (min-width: 768px) { .pro-grid { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 1024px) { .pro-grid { grid-template-columns: repeat(6, 1fr); } }

.pro-card {
  background: rgba(10, 15, 30, 0.7);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(79, 126, 255, 0.15);
  border-radius: 0.5rem;
  padding: 1rem;
  text-align: center;
  font-family: var(--font-mono);
  font-size: 12px;
  color: rgba(255, 255, 255, 0.6);
  transition: border-color 0.3s, color 0.3s;
  opacity: 0;
}

.pro-card:hover {
  border-color: rgba(79, 126, 255, 0.3);
  color: var(--blue);
}

/* ============================================
   INNOVATION SECTION
   ============================================ */
.innovation-content {
  position: relative;
  z-index: 10;
}

.inno-gradient {
  background: linear-gradient(to bottom, var(--bg), rgba(10, 10, 15, 0.85), var(--bg));
}

.holographic-grid {
  position: absolute;
  inset: 0;
  opacity: 0.03;
  pointer-events: none;
  background-image: radial-gradient(circle at 50% 50%, rgba(79,126,255,0.3) 1px, transparent 1px);
  background-size: 40px 40px;
}

.inno-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

@media (min-width: 1024px) {
  .inno-grid { grid-template-columns: 2fr 1fr; }
}

.inno-main {
  background: rgba(10, 15, 30, 0.7);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(79, 126, 255, 0.15);
  border-radius: 0.5rem;
  overflow: hidden;
  opacity: 0;
}

.panel-header {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1.25rem;
  border-bottom: 1px solid rgba(79, 126, 255, 0.1);
}

.inno-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--blue);
  animation: pulse-glow 3s ease-in-out infinite;
}

.panel-title {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.2em;
  color: rgba(79, 126, 255, 0.7);
  text-transform: uppercase;
  flex: 1;
}

.panel-version {
  font-family: var(--font-mono);
  font-size: 13px;
  color: rgba(255, 255, 255, 0.3);
}

.inno-cards {
  padding: 1.5rem;
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

@media (min-width: 640px) {
  .inno-cards { grid-template-columns: 1fr 1fr; }
}

.inno-card {
  padding: 1rem;
  border-radius: 0.25rem;
  border: 1px solid rgba(79, 126, 255, 0.1);
  transition: border-color 0.3s;
}

.inno-card:hover {
  border-color: rgba(79, 126, 255, 0.25);
}

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

.inno-card-title {
  font-family: var(--font-display);
  font-size: 1.125rem;
  font-weight: 500;
  color: var(--white);
}

@media (min-width: 768px) { .inno-card-title { font-size: 1.25rem; } }

.inno-status {
  font-family: var(--font-mono);
  font-size: 8px;
  color: rgba(34, 197, 94, 0.8);
  letter-spacing: 0.05em;
}

.inno-card-desc {
  font-size: 1rem;
  color: rgba(152, 152, 163, 0.8);
  line-height: 1.625;
}

.inno-side {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  opacity: 0;
}

.activity-monitor {
  background: rgba(10, 15, 30, 0.7);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(79, 126, 255, 0.15);
  border-radius: 0.5rem;
  padding: 1.25rem;
}

.monitor-header {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 1rem;
}

.monitor-title {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.2em;
  color: var(--gray);
  text-transform: uppercase;
}

.monitor-items {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.monitor-item { }

.monitor-row {
  display: flex;
  justify-content: space-between;
  margin-bottom: 0.25rem;
}

.monitor-label {
  font-family: var(--font-mono);
  font-size: 13px;
  color: rgba(152, 152, 163, 0.8);
}

.monitor-value {
  font-family: var(--font-mono);
  font-size: 13px;
  color: rgba(79, 126, 255, 0.7);
}

.progress-track {
  height: 4px;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 9999px;
  overflow: hidden;
}

.progress-fill {
  height: 100%;
  width: 0%;
  border-radius: 9999px;
  background: linear-gradient(to right, rgba(79, 126, 255, 0.6), rgba(79, 126, 255, 0.3));
}

.sectors-panel {
  background: rgba(10, 15, 30, 0.7);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(79, 126, 255, 0.15);
  border-radius: 0.5rem;
  padding: 1.25rem;
}

.sectors-title {
  display: block;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.2em;
  color: var(--gray);
  text-transform: uppercase;
  margin-bottom: 1rem;
}

.sectors-list {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.sector-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.375rem 0.5rem;
  border-radius: 0.25rem;
  transition: background 0.3s;
}

.sector-item:hover {
  background: rgba(79, 126, 255, 0.05);
}

.sector-item span {
  font-size: 1rem;
  color: var(--gray);
}

.sector-dot {
  width: 4px;
  height: 4px;
  background: rgba(79, 126, 255, 0.5);
  border-radius: 50%;
}

/* ============================================
   PROGRAMS SECTION
   ============================================ */
.programs-content {
  position: relative;
  z-index: 10;
}

.prog-gradient {
  background: linear-gradient(to bottom, var(--bg), rgba(8, 11, 20, 0.9), var(--bg));
}

.prog-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

@media (min-width: 1024px) {
  .prog-layout { grid-template-columns: 4fr 8fr; }
}

.prog-selector {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.prog-btn {
  width: 100%;
  text-align: left;
  padding: 1rem;
  border-radius: 0.5rem;
  border: 1px solid transparent;
  transition: all 0.3s;
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.prog-btn:hover {
  border-color: rgba(79, 126, 255, 0.1);
  background: rgba(255, 255, 255, 0.02);
}

.prog-btn.active {
  background: rgba(10, 15, 30, 0.7);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-color: rgba(79, 126, 255, 0.4);
  box-shadow: 0 0 20px rgba(79, 126, 255, 0.1);
}

.prog-btn-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  transition: background 0.3s;
}

.prog-btn-dot.inactive {
  background: rgba(255, 255, 255, 0.2);
}

.prog-btn-dot.active {
  background: var(--blue);
  animation: pulse-glow 3s ease-in-out infinite;
}

.prog-btn-name {
  font-family: var(--font-display);
  font-size: 1.125rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  transition: color 0.3s;
  flex: 1;
}

@media (min-width: 768px) { .prog-btn-name { font-size: 1.25rem; } }

.prog-btn-name.inactive {
  color: var(--gray);
}

.prog-btn-name.active {
  color: var(--blue);
}

.prog-btn-sector {
  font-family: var(--font-mono);
  font-size: 13px;
  color: rgba(255, 255, 255, 0.3);
}

/* Program Detail */
.prog-detail {
  min-height: 300px;
}

.detail-panel {
  background: rgba(10, 15, 30, 0.7);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(79, 126, 255, 0.15);
  border-radius: 0.5rem;
  overflow: hidden;
}

.detail-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 1.5rem;
  border-bottom: 1px solid rgba(79, 126, 255, 0.1);
}

.detail-name {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--white);
}

@media (min-width: 768px) { .detail-name { font-size: 1.875rem; } }

.detail-fullname {
  font-family: var(--font-mono);
  font-size: 12px;
  color: rgba(79, 126, 255, 0.6);
  letter-spacing: 0.15em;
  text-transform: uppercase;
  margin-top: 0.25rem;
}

.detail-status {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.detail-status-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--green);
  animation: pulse 2s ease-in-out infinite;
}

.detail-status-text {
  font-family: var(--font-mono);
  font-size: 13px;
  color: rgba(34, 197, 94, 0.8);
  letter-spacing: 0.05em;
}

.detail-body {
  padding: 1.5rem;
}

.detail-desc {
  font-size: 1rem;
  color: rgba(255, 255, 255, 0.6);
  line-height: 1.625;
  margin-bottom: 1.5rem;
}

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

.detail-metric {
  padding: 0.75rem;
  border-radius: 0.25rem;
  background: rgba(79, 126, 255, 0.05);
  border: 1px solid rgba(79, 126, 255, 0.1);
  text-align: center;
}

.metric-value {
  font-family: var(--font-display);
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--blue);
}

.metric-label {
  font-family: var(--font-mono);
  font-size: 13px;
  color: rgba(255, 255, 255, 0.3);
  letter-spacing: 0.05em;
  margin-top: 0.25rem;
}

.detail-arch {
  margin-top: 1.5rem;
  padding: 1rem;
  border-radius: 0.25rem;
  border: 1px solid rgba(79, 126, 255, 0.1);
  background: rgba(79, 126, 255, 0.02);
}

.arch-title {
  font-family: var(--font-mono);
  font-size: 13px;
  color: rgba(79, 126, 255, 0.5);
  letter-spacing: 0.05em;
  display: block;
  margin-bottom: 0.75rem;
}

.arch-steps {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 0;
}

.arch-step {
  text-align: center;
}

.arch-box {
  width: 40px;
  height: 40px;
  border: 1px solid rgba(79, 126, 255, 0.3);
  border-radius: 0.25rem;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 0.25rem;
}

.arch-box-inner {
  width: 12px;
  height: 12px;
  background: rgba(79, 126, 255, 0.4);
  border-radius: 2px;
}

.arch-step-label {
  font-family: var(--font-mono);
  font-size: 8px;
  color: rgba(255, 255, 255, 0.3);
}

.arch-connector {
  width: 1.5rem;
  height: 1px;
  background: rgba(79, 126, 255, 0.2);
}

@media (min-width: 640px) { .arch-connector { width: 2.5rem; } }

/* ============================================
   CONTACT SECTION
   ============================================ */
.contact-bg {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, var(--bg), var(--bg-variant), var(--bg));
}

.contact-content {
  position: relative;
  z-index: 10;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
  max-width: 64rem;
  margin: 0 auto;
}

@media (min-width: 1024px) {
  .contact-grid { grid-template-columns: 1fr 1fr; }
}

.contact-info {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  opacity: 0;
}

.info-panel {
  border-radius: 0.5rem;
  padding: 1.5rem;
}

.info-title {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 600;
  color: var(--white);
  letter-spacing: 0.05em;
  margin-bottom: 1rem;
}

.info-offices {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.office {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
}

.office-badge {
  font-family: var(--font-mono);
  font-size: 13px;
  color: rgba(79, 126, 255, 0.6);
  border: 1px solid rgba(79, 126, 255, 0.2);
  padding: 0.125rem 0.375rem;
  border-radius: 0.25rem;
  margin-top: 0.125rem;
  flex-shrink: 0;
}

.office-city {
  font-size: 1rem;
  color: rgba(255, 255, 255, 0.7);
}

.office-addr {
  font-size: 1rem;
  color: rgba(152, 152, 163, 0.8);
}

.channels {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

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

.channel-key {
  font-family: var(--font-mono);
  font-size: 13px;
  color: rgba(79, 126, 255, 0.6);
  width: 3rem;
  flex-shrink: 0;
}

.channel-value {
  font-size: 1rem;
  color: rgba(255, 255, 255, 0.7);
}

.company-header {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0.75rem;
}

.company-badge {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.2em;
  color: rgba(79, 126, 255, 0.7);
  text-transform: uppercase;
}

.company-desc {
  font-size: 1rem;
  color: rgba(152, 152, 163, 0.8);
  line-height: 1.625;
}

/* Form */
.contact-form {
  opacity: 0;
}

.form-panel {
  border-radius: 0.5rem;
  padding: 1.5rem;
}

.form-header {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 1.5rem;
}

.form-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--blue);
}

.form-title {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.2em;
  color: rgba(79, 126, 255, 0.7);
  text-transform: uppercase;
}

.form-body {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.field { }

.field-label {
  display: block;
  font-family: var(--font-mono);
  font-size: 12px;
  color: rgba(152, 152, 163, 0.8);
  letter-spacing: 0.05em;
  margin-bottom: 0.375rem;
}

.field-input {
  width: 100%;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(79, 126, 255, 0.15);
  border-radius: 0.25rem;
  padding: 0.625rem 1rem;
  font-size: 1rem;
  color: rgba(255, 255, 255, 0.8);
  outline: none;
  transition: border-color 0.3s;
}

.field-input::placeholder {
  color: rgba(255, 255, 255, 0.2);
}

.field-input:focus {
  border-color: rgba(79, 126, 255, 0.4);
}

.field-textarea {
  resize: none;
}

.form-privacy {
  display: grid;
  gap: 0.875rem;
  padding: 1rem;
  border: 1px solid rgba(137, 166, 255, 0.15);
  border-radius: 0.375rem;
  background: rgba(79, 126, 255, 0.035);
}

.form-privacy-summary {
  color: rgba(220, 226, 241, 0.68);
  font-size: 0.8125rem;
  line-height: 1.6;
}

.form-privacy-summary strong {
  color: rgba(220, 226, 241, 0.9);
  font-weight: 500;
}

.form-privacy a,
.footer-legal a {
  color: #9bb5ff;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.2em;
  transition: color 0.2s ease;
}

.footer-legal a {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
}

.form-privacy a:hover,
.footer-legal a:hover {
  color: var(--white);
}

.privacy-check {
  position: relative;
  display: grid;
  grid-template-columns: 1.25rem 1fr;
  align-items: start;
  gap: 0.75rem;
  min-height: 44px;
}

.privacy-check input {
  width: 1.125rem;
  height: 1.125rem;
  margin-top: 0.2rem;
  accent-color: var(--blue);
  cursor: pointer;
}

.privacy-check label {
  color: rgba(235, 239, 250, 0.82);
  font-size: 0.875rem;
  line-height: 1.55;
  cursor: pointer;
}

.privacy-check input:focus-visible {
  outline: 2px solid rgba(150, 180, 255, 0.95);
  outline-offset: 3px;
}

.contact-trap {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}

.form-status {
  margin: 0;
  border-radius: 0.25rem;
  font-size: 0.875rem;
  line-height: 1.5;
  outline: none;
}

.form-status:not(:empty) {
  padding: 0.75rem 0.875rem;
  border: 1px solid rgba(137, 166, 255, 0.2);
  background: rgba(79, 126, 255, 0.055);
}

.form-status.loading {
  color: rgba(220, 226, 241, 0.82);
}

.form-status.success {
  color: #9cebb9;
  border-color: rgba(34, 197, 94, 0.3);
  background: rgba(34, 197, 94, 0.08);
}

.form-status.error {
  color: #ffb4b4;
  border-color: rgba(255, 112, 112, 0.32);
  background: rgba(160, 35, 35, 0.12);
}

.submit-btn:disabled {
  cursor: wait;
  opacity: 0.58;
}

.submit-btn {
  width: 100%;
  padding: 0.75rem;
  border-radius: 0.25rem;
  background: rgba(79, 126, 255, 0.1);
  border: 1px solid rgba(79, 126, 255, 0.3);
  color: var(--blue);
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 500;
  letter-spacing: 0.05em;
  transition: background 0.3s, border-color 0.3s;
}

.submit-btn:hover {
  background: rgba(79, 126, 255, 0.2);
  border-color: rgba(79, 126, 255, 0.5);
}

/* ============================================
   FOOTER
   ============================================ */
.footer {
  position: relative;
  padding: 3rem 0;
  border-top: 1px solid rgba(79, 126, 255, 0.1);
}

.footer-bg {
  position: absolute;
  inset: 0;
  background: var(--bg-card);
}

.footer-inner {
  position: relative;
  z-index: 10;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}

@media (min-width: 768px) {
  .footer-inner { flex-direction: row; }
}

.footer-logo {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.375rem;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 0.625rem;
}

.footer-logo-image {
  display: block;
  width: auto;
  height: 48px;
  aspect-ratio: 3 / 1;
  object-fit: contain;
}

.footer-brand-sub {
  font-family: var(--font-mono);
  font-size: 11px;
  line-height: 1;
  letter-spacing: 0.24em;
  color: var(--blue);
}

.footer-logo-sub {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.45);
  text-align: center;
}

@media (min-width: 768px) {
  .footer-logo { align-items: flex-start; }
  .footer-logo-image { height: 52px; }
  .footer-brand-sub { font-size: 12px; }
  .footer-logo-sub { text-align: left; }
}

.footer-status {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.footer-status-text {
  font-family: var(--font-mono);
  font-size: 13px;
  color: rgba(255, 255, 255, 0.3);
  letter-spacing: 0.05em;
}

.footer-meta {
  display: grid;
  justify-items: center;
  gap: 0.75rem;
}

.footer-legal {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.625rem 1.25rem;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  letter-spacing: 0.04em;
}

.footer-copy {
  font-family: var(--font-mono);
  font-size: 12px;
  color: rgba(255, 255, 255, 0.2);
  letter-spacing: 0.05em;
  text-align: center;
}

@media (min-width: 768px) {
  .footer-meta { justify-items: end; }
  .footer-legal { justify-content: flex-end; }
  .footer-copy { text-align: right; }
}

/* ============================================
   KEYFRAME ANIMATIONS
   ============================================ */
@keyframes scanline {
  0% { transform: translateY(-100%); }
  100% { transform: translateY(100vh); }
}

@keyframes pulse-glow {
  0%, 100% { opacity: 0.4; }
  50% { opacity: 1; }
}

@keyframes pulse {
  0%, 100% { opacity: 0.4; }
  50% { opacity: 1; }
}

@keyframes float {
  0%, 100% { transform: translateY(0px); }
  50% { transform: translateY(-10px); }
}

/* ============================================
   HERO PLAY BUTTON
   ============================================ */
.hero-play-btn {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-top: 2rem;
  padding: 0.625rem 1.25rem;
  border: 1px solid rgba(79, 126, 255, 0.3);
  border-radius: 9999px;
  background: rgba(79, 126, 255, 0.08);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  transition: all 0.3s;
  opacity: 0;
}

.hero-play-btn:hover {
  background: rgba(79, 126, 255, 0.18);
  border-color: rgba(79, 126, 255, 0.5);
}

.play-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--blue);
  color: var(--white);
}

.play-label {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.7);
}

/* ============================================
   VIDEO MODAL
   ============================================ */
.video-modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 1rem;
}

.video-modal-overlay.open {
  display: flex;
}

.video-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.8);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.video-modal-container {
  position: relative;
  z-index: 10;
  width: 100%;
  max-width: 56rem;
  animation: fadeInZoom 0.3s ease-out;
}

@keyframes fadeInZoom {
  from { opacity: 0; transform: scale(0.95); }
  to { opacity: 1; transform: scale(1); }
}

.video-modal-controls {
  position: absolute;
  top: -2.5rem;
  left: 0;
  right: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.video-ctrl-btn {
  display: flex;
  align-items: center;
  gap: 0.375rem;
  color: rgba(255, 255, 255, 0.7);
  font-family: var(--font-mono);
  font-size: 13px;
  transition: color 0.3s;
}

.video-ctrl-btn:hover {
  color: var(--white);
}

.video-modal-player {
  position: relative;
  border-radius: 0.75rem;
  overflow: hidden;
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.5);
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: black;
  aspect-ratio: 16 / 9;
}

.video-modal-player video {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

/* ============================================
   OPTICAL GLASS SYSTEM
   ============================================ */

/* Primary glass: high-emphasis operational surfaces. */
.navbar.scrolled,
.mobile-overlay,
.inno-main,
.detail-panel,
.form-panel {
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.085), transparent 32%, rgba(79, 126, 255, 0.055) 72%, transparent),
    var(--glass-deep);
  border-color: var(--glass-border-strong);
  box-shadow: var(--glass-shadow), inset 0 1px 0 var(--glass-highlight);
  backdrop-filter: saturate(145%) blur(16px);
  -webkit-backdrop-filter: saturate(145%) blur(16px);
}

.navbar.scrolled {
  border-bottom-color: rgba(137, 166, 255, 0.2);
  box-shadow: 0 12px 44px rgba(0, 0, 0, 0.28), inset 0 -1px 0 rgba(255, 255, 255, 0.035);
}

.mobile-overlay {
  border-bottom: 1px solid var(--glass-border);
}

/* Secondary glass: cards that sit directly over section atmospheres. */
.glass-panel,
.mini-dashboard,
.service-card,
.tech-area,
.pro-card,
.activity-monitor,
.sectors-panel {
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.065), transparent 38%, rgba(79, 126, 255, 0.04)),
    var(--glass-medium);
  border-color: var(--glass-border);
  box-shadow: 0 16px 46px rgba(0, 0, 0, 0.2), inset 0 1px 0 rgba(255, 255, 255, 0.065);
  backdrop-filter: saturate(135%) blur(12px);
  -webkit-backdrop-filter: saturate(135%) blur(12px);
}

.glass-panel.form-panel {
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.085), transparent 32%, rgba(79, 126, 255, 0.055) 72%, transparent),
    var(--glass-deep);
  border-color: var(--glass-border-strong);
  box-shadow: var(--glass-shadow), inset 0 1px 0 var(--glass-highlight);
  backdrop-filter: saturate(145%) blur(16px);
  -webkit-backdrop-filter: saturate(145%) blur(16px);
}

.node-panel,
.mini-dashboard,
.service-card,
.tech-area,
.pro-card,
.inno-main,
.activity-monitor,
.sectors-panel,
.detail-panel,
.info-panel,
.form-panel {
  position: relative;
  border-radius: 0.75rem;
}

/* A single optical edge gives the system its technical glass signature. */
.node-panel::before,
.mini-dashboard::before,
.service-card::before,
.tech-area::before,
.pro-card::before,
.inno-main::before,
.activity-monitor::before,
.sectors-panel::before,
.detail-panel::before,
.info-panel::before,
.form-panel::before {
  content: "";
  position: absolute;
  z-index: 1;
  top: 0;
  right: 12%;
  left: 12%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(210, 224, 255, 0.5), transparent);
  pointer-events: none;
}

/* Hero glass stays broad and quiet so the headline remains dominant. */
.hero-status,
.hero-stats,
.hero-play-btn,
.side-label-panel {
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.06), transparent 55%),
    rgba(5, 12, 28, 0.38);
  border: 1px solid rgba(137, 166, 255, 0.2);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.065), 0 12px 34px rgba(0, 0, 0, 0.18);
  backdrop-filter: saturate(130%) blur(10px);
  -webkit-backdrop-filter: saturate(130%) blur(10px);
}

.hero-status {
  width: fit-content;
  margin-right: auto;
  margin-left: auto;
  padding: 0.55rem 1rem;
  border-radius: 999px;
}

.hero-stats {
  padding: 1rem 1.25rem;
  border-radius: 1rem;
}

.hero-play-btn {
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.09), 0 12px 36px rgba(2, 8, 24, 0.3);
}

/* Nested surfaces use tint and edge only; no additional blur. */
.tech-item,
.tech-tag,
.inno-card,
.sector-item,
.prog-btn,
.detail-metric,
.detail-arch,
.arch-box,
.field-input,
.service-badge,
.office-badge,
.arrow-box,
.video-ctrl-btn {
  background: var(--glass-subtle);
  border-color: rgba(137, 166, 255, 0.14);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.025);
}

.sector-item {
  border: 1px solid rgba(137, 166, 255, 0.1);
}

.prog-btn.active {
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.07), transparent 46%),
    rgba(8, 16, 36, 0.64);
  border-color: rgba(137, 166, 255, 0.42);
  box-shadow: 0 12px 34px rgba(0, 0, 0, 0.2), inset 0 1px 0 rgba(255, 255, 255, 0.07);
  backdrop-filter: saturate(130%) blur(10px);
  -webkit-backdrop-filter: saturate(130%) blur(10px);
}

.detail-header,
.panel-header,
.tech-area-header {
  background: linear-gradient(90deg, rgba(79, 126, 255, 0.055), transparent 70%);
  border-bottom-color: rgba(137, 166, 255, 0.16);
}

.field-input {
  min-height: 44px;
  background: rgba(255, 255, 255, 0.045);
  border-color: rgba(137, 166, 255, 0.2);
  transition: background 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}

.field-input:focus {
  background: rgba(79, 126, 255, 0.065);
  border-color: rgba(137, 166, 255, 0.62);
  box-shadow: 0 0 0 3px rgba(79, 126, 255, 0.14), inset 0 1px 0 rgba(255, 255, 255, 0.045);
}

.submit-btn {
  min-height: 46px;
  background: linear-gradient(135deg, rgba(79, 126, 255, 0.22), rgba(79, 126, 255, 0.09));
  border-color: rgba(137, 166, 255, 0.42);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08), 0 10px 28px rgba(4, 10, 30, 0.22);
}

.submit-btn:hover {
  background: linear-gradient(135deg, rgba(79, 126, 255, 0.34), rgba(79, 126, 255, 0.14));
  border-color: rgba(160, 185, 255, 0.66);
}

.footer-bg {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.025), transparent 45%),
    rgba(5, 10, 24, 0.58);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.video-ctrl-btn {
  min-height: 40px;
  padding: 0.5rem 0.75rem;
  border: 1px solid rgba(137, 166, 255, 0.18);
  border-radius: 999px;
  background: rgba(5, 10, 24, 0.62);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.node-panel:hover,
.service-card:hover,
.pro-card:hover,
.inno-card:hover,
.prog-btn:hover {
  border-color: rgba(137, 166, 255, 0.5);
  box-shadow: 0 18px 52px rgba(0, 0, 0, 0.24), 0 0 30px rgba(79, 126, 255, 0.08), inset 0 1px 0 rgba(255, 255, 255, 0.09);
}

.nav-logo:focus-visible,
.nav-link:focus-visible,
.mobile-toggle:focus-visible,
.mobile-link:focus-visible,
.prog-btn:focus-visible,
.hero-play-btn:focus-visible,
.video-ctrl-btn:focus-visible,
.submit-btn:focus-visible {
  outline: 2px solid rgba(150, 180, 255, 0.95);
  outline-offset: 3px;
}

@media (min-width: 768px) {
  .navbar.scrolled,
  .mobile-overlay,
  .inno-main,
  .detail-panel,
  .form-panel {
    backdrop-filter: saturate(150%) blur(20px);
    -webkit-backdrop-filter: saturate(150%) blur(20px);
  }

  .glass-panel.form-panel {
    backdrop-filter: saturate(150%) blur(20px);
    -webkit-backdrop-filter: saturate(150%) blur(20px);
  }

  .glass-panel,
  .mini-dashboard,
  .service-card,
  .tech-area,
  .pro-card,
  .activity-monitor,
  .sectors-panel {
    backdrop-filter: saturate(140%) blur(14px);
    -webkit-backdrop-filter: saturate(140%) blur(14px);
  }

  .hero-stats {
    padding: 1.15rem 2rem;
  }
}

@supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
  .navbar.scrolled,
  .mobile-overlay,
  .inno-main,
  .detail-panel,
  .form-panel {
    background-color: rgba(6, 11, 26, 0.96);
  }

  .glass-panel,
  .mini-dashboard,
  .service-card,
  .tech-area,
  .pro-card,
  .activity-monitor,
  .sectors-panel {
    background-color: rgba(8, 15, 32, 0.94);
  }
}

@media (prefers-reduced-transparency: reduce) {
  .navbar.scrolled,
  .mobile-overlay,
  .inno-main,
  .detail-panel,
  .form-panel,
  .glass-panel,
  .mini-dashboard,
  .service-card,
  .tech-area,
  .pro-card,
  .activity-monitor,
  .sectors-panel {
    background: rgba(7, 13, 29, 0.96);
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

/* ============================================
   SUB-SURFACE AMBIENT LIGHT
   ============================================ */

.section:not(.hero)::before {
  content: "";
  position: absolute;
  z-index: 0;
  top: var(--ambient-y, 18%);
  left: var(--ambient-x, 50%);
  width: min(76vw, 64rem);
  height: min(44vw, 34rem);
  border-radius: 28%;
  background: radial-gradient(
    ellipse,
    rgba(41, 78, 170, 0.025) 0%,
    rgba(41, 78, 170, 0.035) 38%,
    rgba(83, 137, 255, 0.2) 58%,
    rgba(43, 92, 220, 0.1) 70%,
    transparent 84%
  );
  filter: blur(38px);
  transform: translateX(-50%);
  opacity: 0.78;
  animation: ambient-bias-drift var(--ambient-duration, 24s) ease-in-out var(--ambient-delay, 0s) infinite;
  will-change: transform, opacity;
  pointer-events: none;
}

.ecosystem { --ambient-x: 24%; --ambient-y: 12%; --ambient-duration: 26s; --ambient-delay: -7s; }
.engineering { --ambient-x: 78%; --ambient-y: 20%; --ambient-duration: 29s; --ambient-delay: -18s; }
.technology { --ambient-x: 18%; --ambient-y: 24%; --ambient-duration: 23s; --ambient-delay: -4s; }
.innovation { --ambient-x: 76%; --ambient-y: 10%; --ambient-duration: 28s; --ambient-delay: -13s; }
.programs { --ambient-x: 28%; --ambient-y: 16%; --ambient-duration: 25s; --ambient-delay: -21s; }
.contact { --ambient-x: 72%; --ambient-y: 12%; --ambient-duration: 30s; --ambient-delay: -9s; }

@keyframes ambient-bias-drift {
  0%, 100% {
    opacity: 0.72;
    transform: translate3d(-50%, 0, 0) scale(0.985);
  }
  38% {
    opacity: 0.86;
    transform: translate3d(calc(-50% + 12px), -7px, 0) scale(1.018);
  }
  72% {
    opacity: 0.76;
    transform: translate3d(calc(-50% - 9px), 6px, 0) scale(1.006);
  }
}

.ecosystem-bg {
  background: linear-gradient(
    to bottom,
    rgba(10, 10, 15, 0.94),
    rgba(9, 15, 29, 0.7),
    rgba(10, 10, 15, 0.94)
  );
}

.eng-gradient,
.tech-gradient,
.inno-gradient,
.prog-gradient {
  background: linear-gradient(
    to bottom,
    rgba(10, 10, 15, 0.95),
    rgba(7, 12, 25, 0.68),
    rgba(10, 10, 15, 0.95)
  );
}

.contact-bg {
  background: linear-gradient(
    to bottom,
    rgba(10, 10, 15, 0.94),
    rgba(8, 15, 29, 0.68),
    rgba(10, 10, 15, 0.96)
  );
}

.hero-bg {
  background:
    radial-gradient(
      ellipse 48% 38% at 52% 40%,
      rgba(35, 71, 160, 0.025) 0%,
      rgba(35, 71, 160, 0.04) 38%,
      rgba(80, 139, 255, 0.24) 58%,
      rgba(25, 66, 155, 0.09) 72%,
      transparent 86%
    ),
    var(--bg);
}

.hero-bg::before {
  content: "";
  position: absolute;
  z-index: 0;
  inset: 10% 8%;
  border-radius: 32%;
  background: radial-gradient(
    ellipse,
    rgba(35, 71, 160, 0.015) 0%,
    rgba(35, 71, 160, 0.025) 38%,
    rgba(86, 145, 255, 0.18) 59%,
    rgba(28, 71, 170, 0.07) 73%,
    transparent 86%
  );
  filter: blur(34px);
  opacity: 0.68;
  animation: hero-bias-drift 28s ease-in-out -11s infinite;
  will-change: transform, opacity;
  pointer-events: none;
}

@keyframes hero-bias-drift {
  0%, 100% {
    opacity: 0.6;
    transform: translate3d(-8px, 3px, 0) scale(0.985);
  }
  45% {
    opacity: 0.76;
    transform: translate3d(10px, -6px, 0) scale(1.025);
  }
  75% {
    opacity: 0.66;
    transform: translate3d(2px, 7px, 0) scale(1.005);
  }
}

.hero-bg-img {
  position: relative;
  z-index: 1;
  opacity: 0.9;
}

.hero-bg-overlay {
  z-index: 2;
  background: linear-gradient(
    to bottom,
    rgba(10, 10, 15, 0.58),
    rgba(7, 12, 25, 0.3),
    rgba(10, 10, 15, 0.94)
  );
}

@media (max-width: 767px) {
  .section:not(.hero)::before {
    width: 115vw;
    height: 68vw;
    filter: blur(24px);
    opacity: 0.78;
  }
}

/* Bias lighting: the bright source remains behind the monitor-like panels. */
.inno-main,
.detail-panel,
.form-panel {
  box-shadow:
    0 28px 72px rgba(0, 0, 0, 0.34),
    0 0 46px rgba(68, 121, 255, 0.15),
    0 0 110px rgba(45, 91, 210, 0.08),
    inset 0 1px 0 var(--glass-highlight);
}

.node-panel,
.mini-dashboard,
.service-card,
.tech-area,
.activity-monitor,
.sectors-panel,
.info-panel {
  box-shadow:
    0 18px 48px rgba(0, 0, 0, 0.22),
    0 0 34px rgba(68, 121, 255, 0.075),
    inset 0 1px 0 rgba(255, 255, 255, 0.065);
}

@media (max-width: 767px) {
  .inno-main,
  .detail-panel,
  .form-panel {
    box-shadow:
      0 20px 52px rgba(0, 0, 0, 0.3),
      0 0 34px rgba(68, 121, 255, 0.11),
      inset 0 1px 0 var(--glass-highlight);
  }
}

/* The optical edge catches the moving rear light without animating blur. */
.node-panel::before,
.mini-dashboard::before,
.service-card::before,
.tech-area::before,
.pro-card::before,
.inno-main::before,
.activity-monitor::before,
.sectors-panel::before,
.detail-panel::before,
.info-panel::before,
.form-panel::before {
  transform-origin: center;
  animation: glass-edge-breathe 11s ease-in-out infinite;
}

.service-card:nth-child(2n)::before,
.pro-card:nth-child(2n)::before,
.info-panel:nth-child(2n)::before {
  animation-delay: -4s;
}

.service-card:nth-child(3n)::before,
.pro-card:nth-child(3n)::before {
  animation-delay: -8s;
}

@keyframes glass-edge-breathe {
  0%, 100% {
    opacity: 0.38;
    transform: scaleX(0.82);
  }
  48% {
    opacity: 0.78;
    transform: scaleX(1.04);
  }
  72% {
    opacity: 0.52;
    transform: scaleX(0.92);
  }
}

@media (prefers-reduced-transparency: reduce) {
  .section:not(.hero)::before {
    opacity: 0.35;
  }

  .hero-bg-img {
    opacity: 1;
  }

  .inno-main,
  .detail-panel,
  .form-panel,
  .node-panel,
  .mini-dashboard,
  .service-card,
  .tech-area,
  .activity-monitor,
  .sectors-panel,
  .info-panel {
    box-shadow: 0 18px 44px rgba(0, 0, 0, 0.28), inset 0 1px 0 var(--glass-highlight);
  }
}
