/* ═══════════════════════════════════════════════════════════════
   Synapse Edge Ltd – Stylesheet
   Industrial-Tech: Deep Navy + Electric Blue / Teal accent
═══════════════════════════════════════════════════════════════ */

/* ── Variables ─────────────────────────────────────────────── */
:root {
  --navy:        #0a1628;
  --navy-mid:    #0f2040;
  --navy-light:  #1e3a5f;
  --charcoal:    #1a1f2e;
  --blue:        #00d4ff;
  --blue-dim:    #0099cc;
  --teal:        #00b8a9;
  --white:       #ffffff;
  --off-white:   #e8edf5;
  --muted:       #8fa3c0;
  --border:      rgba(0, 212, 255, 0.15);
  --card-bg:     rgba(15, 32, 64, 0.6);
  --card-border: rgba(0, 212, 255, 0.12);

  --font-display: 'Space Grotesk', system-ui, sans-serif;
  --font-body:    'Inter', system-ui, sans-serif;

  --radius:   8px;
  --radius-lg: 16px;
  --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --max-w:    1200px;
}

/* ── Reset ─────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: var(--font-body);
  background: var(--navy);
  color: var(--off-white);
  line-height: 1.6;
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }
input, textarea, select { font-family: inherit; }

/* ── Utilities ─────────────────────────────────────────────── */
.container {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 24px;
}

.gradient-text {
  background: linear-gradient(135deg, var(--blue), var(--teal));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.accent { color: var(--blue); }

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: var(--radius);
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.9rem;
  letter-spacing: 0.02em;
  transition: var(--transition);
  white-space: nowrap;
}
.btn-primary {
  background: linear-gradient(135deg, var(--blue), var(--teal));
  color: var(--navy);
  box-shadow: 0 0 24px rgba(0, 212, 255, 0.25);
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 32px rgba(0, 212, 255, 0.4);
}
.btn-ghost {
  border: 1px solid var(--border);
  color: var(--off-white);
  background: transparent;
}
.btn-ghost:hover {
  border-color: var(--blue);
  color: var(--blue);
  background: rgba(0, 212, 255, 0.06);
}
.btn-full { width: 100%; justify-content: center; }

.section-tag {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--blue);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 4px 14px;
  margin-bottom: 16px;
}

.section-header {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 64px;
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  font-weight: 700;
  line-height: 1.2;
  color: var(--white);
  margin-bottom: 16px;
}

.section-subtitle {
  color: var(--muted);
  font-size: 1.05rem;
  line-height: 1.7;
}

/* ── Nav ───────────────────────────────────────────────────── */
.nav-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: 16px 0;
  transition: var(--transition);
}
.nav-header.scrolled {
  background: rgba(10, 22, 40, 0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--card-border);
  padding: 12px 0;
}
.nav-container {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}
.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
}
/* ── Logo: nav (text mark) ─────────────────────────────────── */
.logo-mark {
  width: 34px;
  height: 34px;
  background: linear-gradient(135deg, var(--blue) 0%, var(--teal) 100%);
  border-radius: 9px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 0.8rem;
  letter-spacing: 0.04em;
  color: #fff;
  flex-shrink: 0;
  box-shadow: 0 0 14px rgba(0,184,169,0.45), inset 0 1px 0 rgba(255,255,255,0.2);
}
.logo-text {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.15rem;
  letter-spacing: 0.01em;
  background: linear-gradient(110deg, #ffffff 30%, var(--blue) 65%, var(--teal) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.logo-text .accent {
  -webkit-text-fill-color: transparent;
}

/* ── Logo: footer ──────────────────────────────────────────── */
.footer-logo-link {
  display: inline-flex;
  align-items: center;
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.10);
  border-radius: 14px;
  padding: 12px 20px;
  margin-bottom: 20px;
  transition: background var(--transition), border-color var(--transition),
              box-shadow var(--transition);
}
.footer-logo-link:hover {
  background: rgba(255, 255, 255, 0.11);
  border-color: rgba(0, 212, 255, 0.3);
  box-shadow: 0 0 20px rgba(0, 212, 255, 0.1);
}
.footer-logo-img {
  height: 100px;
  width: auto;
  max-width: 280px;
  object-fit: contain;
  display: block;
  margin-bottom: 0;
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 8px;
}
.nav-link {
  padding: 8px 16px;
  border-radius: var(--radius);
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--muted);
  transition: var(--transition);
}
.nav-link:hover { color: var(--white); }
.nav-link.active { color: var(--white); }
.nav-link.nav-cta {
  background: linear-gradient(135deg, var(--blue), var(--teal));
  color: var(--navy);
  font-weight: 600;
  padding: 9px 20px;
}
.nav-link.nav-cta:hover { opacity: 0.9; }
.nav-hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 6px;
}
.nav-hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--off-white);
  border-radius: 2px;
  transition: var(--transition);
}

/* ── Hero ──────────────────────────────────────────────────── */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 120px 0 80px;
  overflow: hidden;
}
.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}
#hero-canvas {
  width: 100%;
  height: 100%;
  opacity: 0.6;
}
.hero-grid-overlay {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(0, 212, 255, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0, 212, 255, 0.04) 1px, transparent 1px);
  background-size: 60px 60px;
}
.hero-content {
  position: relative;
  z-index: 1;
  text-align: center;
  max-width: 800px;
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 1px solid var(--border);
  border-radius: 24px;
  padding: 6px 16px 6px 10px;
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--blue);
  margin-bottom: 32px;
  background: rgba(0, 212, 255, 0.05);
}
.badge-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--blue);
  box-shadow: 0 0 6px var(--blue);
  animation: pulse 2s ease-in-out infinite;
}
@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.4; }
}
.hero-title {
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 6vw, 4.2rem);
  font-weight: 700;
  line-height: 1.1;
  color: var(--white);
  margin-bottom: 24px;
  letter-spacing: -0.02em;
}
.hero-subtitle {
  font-size: clamp(1rem, 2vw, 1.15rem);
  color: var(--muted);
  max-width: 600px;
  margin: 0 auto 40px;
  line-height: 1.7;
}
.hero-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin-bottom: 64px;
  flex-wrap: wrap;
}
.hero-stats {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 40px;
  flex-wrap: wrap;
}
.stat { text-align: center; }
.stat-value {
  display: block;
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--white);
}
.stat-label {
  font-size: 0.75rem;
  color: var(--muted);
  letter-spacing: 0.05em;
}
.stat-divider {
  width: 1px;
  height: 40px;
  background: var(--border);
}

/* Hero Diagram */
.hero-diagram {
  position: relative;
  z-index: 1;
  width: 100%;
  margin-top: 60px;
  padding: 0 24px;
  overflow-x: auto;
}
.diagram-flow {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  min-width: 640px;
  max-width: 860px;
  margin: 0 auto;
}
.diagram-node {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  padding: 20px 28px;
  border: 1px solid var(--card-border);
  border-radius: var(--radius-lg);
  background: var(--card-bg);
  backdrop-filter: blur(8px);
  min-width: 140px;
  transition: var(--transition);
  cursor: default;
}
.diagram-node:hover, .diagram-node.active {
  border-color: var(--blue);
  box-shadow: 0 0 24px rgba(0, 212, 255, 0.2);
}
.diagram-node.active { background: rgba(0, 212, 255, 0.08); }
.node-icon {
  width: 40px;
  height: 40px;
  color: var(--blue);
}
.diagram-node span {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--off-white);
  white-space: nowrap;
}
.diagram-arrow {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  padding: 0 8px;
}
.diagram-arrow svg { width: 80px; flex-shrink: 0; }
.arrow-label {
  font-size: 0.65rem;
  color: var(--blue);
  letter-spacing: 0.05em;
  white-space: nowrap;
}

/* ── Sectors ───────────────────────────────────────────────── */
.sectors {
  padding: 80px 0;
  background: var(--charcoal);
  border-top: 1px solid var(--card-border);
  border-bottom: 1px solid var(--card-border);
}
.sectors-label {
  text-align: center;
  font-size: 0.75rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 40px;
}
.sectors-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.sector-card {
  padding: 32px;
  border: 1px solid var(--card-border);
  border-radius: var(--radius-lg);
  background: rgba(10, 22, 40, 0.5);
  transition: var(--transition);
}
.sector-card:hover {
  border-color: rgba(0, 212, 255, 0.3);
  transform: translateY(-4px);
}
.sector-icon {
  width: 48px;
  height: 48px;
  color: var(--blue);
  margin-bottom: 20px;
}
.sector-card h3 {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--white);
  margin-bottom: 10px;
}
.sector-card p { font-size: 0.9rem; color: var(--muted); line-height: 1.6; }

/* Heritage card highlight */
.sector-card--heritage {
  border-color: rgba(0, 212, 255, 0.25);
  background: rgba(0, 212, 255, 0.04);
  position: relative;
}
.sector-card--heritage::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--blue), var(--teal));
  border-radius: var(--radius-lg) var(--radius-lg) 0 0;
}
.sector-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 14px;
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--teal);
  border: 1px solid rgba(0,184,169,0.3);
  border-radius: 20px;
  padding: 3px 10px;
}
.sector-badge::before {
  content: '';
  width: 5px; height: 5px;
  border-radius: 50%;
  background: var(--teal);
  box-shadow: 0 0 6px var(--teal);
}

/* ── Services ──────────────────────────────────────────────── */
.services {
  padding: 100px 0;
}
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-bottom: 64px;
}
.service-card {
  border: 1px solid var(--card-border);
  border-radius: var(--radius-lg);
  background: var(--card-bg);
  backdrop-filter: blur(8px);
  overflow: hidden;
  transition: var(--transition);
  position: relative;
}
.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--blue), var(--teal));
  opacity: 0;
  transition: var(--transition);
}
.service-card:hover {
  border-color: rgba(0, 212, 255, 0.3);
  transform: translateY(-6px);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4);
}
.service-card:hover::before { opacity: 1; }
.service-card-inner { padding: 36px; height: 100%; display: flex; flex-direction: column; }
.service-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  margin-bottom: 20px;
}
.service-number {
  font-family: var(--font-display);
  font-size: 2.5rem;
  font-weight: 700;
  color: rgba(0, 212, 255, 0.15);
  line-height: 1;
}
.service-icon {
  width: 40px;
  height: 40px;
  color: var(--blue);
}
.service-card h3 {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--white);
  margin-bottom: 12px;
}
.service-card p {
  font-size: 0.9rem;
  color: var(--muted);
  line-height: 1.7;
  margin-bottom: 24px;
}
.service-features {
  flex: 1;
  margin-bottom: 28px;
}
.service-features li {
  font-size: 0.85rem;
  color: var(--off-white);
  padding: 6px 0;
  border-bottom: 1px solid rgba(255,255,255,0.05);
  display: flex;
  align-items: center;
  gap: 10px;
}
.service-features li::before {
  content: '';
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--blue);
  flex-shrink: 0;
}
.service-link {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--blue);
  transition: var(--transition);
  margin-top: auto;
}
.service-link:hover { gap: 6px; letter-spacing: 0.02em; }
.services-cta {
  text-align: center;
  padding: 48px;
  border: 1px dashed var(--border);
  border-radius: var(--radius-lg);
  background: rgba(0, 212, 255, 0.02);
}
.services-cta p {
  color: var(--muted);
  margin-bottom: 24px;
  font-size: 1.05rem;
}

/* ── Process ───────────────────────────────────────────────── */
.process {
  padding: 100px 0;
  background: var(--charcoal);
  border-top: 1px solid var(--card-border);
  border-bottom: 1px solid var(--card-border);
}
.process-steps {
  display: flex;
  align-items: flex-start;
  gap: 0;
  margin-top: 0;
}
.process-step {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 0 24px;
}
.step-number {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  border: 2px solid var(--blue);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.2rem;
  color: var(--blue);
  margin-bottom: 20px;
  background: rgba(0, 212, 255, 0.06);
  flex-shrink: 0;
}
.step-content h3 {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--white);
  margin-bottom: 10px;
}
.step-content p { font-size: 0.875rem; color: var(--muted); line-height: 1.65; }
.process-connector {
  width: 80px;
  height: 2px;
  background: linear-gradient(90deg, var(--blue), var(--teal));
  margin-top: 27px;
  flex-shrink: 0;
  opacity: 0.4;
}

/* ── Training ──────────────────────────────────────────────── */
.training {
  padding: 100px 0;
}
.training-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}
.training-content h2 { margin-bottom: 20px; }
.training-content > p {
  color: var(--muted);
  margin-bottom: 40px;
  line-height: 1.7;
}
.training-modules {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-bottom: 40px;
}
.training-module {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 20px;
  border: 1px solid var(--card-border);
  border-radius: var(--radius);
  background: var(--card-bg);
  transition: var(--transition);
}
.training-module:hover {
  border-color: rgba(0, 212, 255, 0.3);
}
.module-icon {
  width: 36px;
  height: 36px;
  color: var(--blue);
  flex-shrink: 0;
}
.training-module h4 {
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--white);
  margin-bottom: 4px;
}
.training-module p { font-size: 0.82rem; color: var(--muted); }

/* Training Visual */
.training-visual {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 320px;
}
.training-card-stack {
  position: relative;
  width: 300px;
  height: 280px;
}
.t-card {
  position: absolute;
  width: 280px;
  padding: 24px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--card-border);
  background: var(--navy-mid);
}
.t-card--back {
  top: 0;
  left: 40px;
  transform: rotate(6deg);
  opacity: 0.5;
}
.t-card--mid {
  top: 20px;
  left: 20px;
  transform: rotate(2deg);
  opacity: 0.75;
}
.t-card--front {
  top: 40px;
  left: 0;
  border-color: rgba(0, 212, 255, 0.3);
  box-shadow: 0 20px 60px rgba(0,0,0,0.5);
  background: var(--navy-light);
}
.t-card-label {
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--blue);
  margin-bottom: 8px;
}
.t-card-title {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 600;
  color: var(--white);
  margin-bottom: 16px;
}
.t-card-bar {
  height: 4px;
  background: rgba(255,255,255,0.08);
  border-radius: 2px;
  overflow: hidden;
}
.t-card-progress {
  height: 100%;
  background: linear-gradient(90deg, var(--blue), var(--teal));
  border-radius: 2px;
}
.t-card-tag {
  display: inline-block;
  font-size: 0.72rem;
  color: var(--teal);
  border: 1px solid rgba(0, 184, 169, 0.3);
  border-radius: 20px;
  padding: 2px 10px;
  margin-bottom: 16px;
}
.t-card-participants {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}
.participant {
  font-size: 0.7rem;
  padding: 3px 10px;
  border-radius: 20px;
  background: rgba(0, 212, 255, 0.08);
  color: var(--off-white);
  border: 1px solid var(--card-border);
}

/* ── About ─────────────────────────────────────────────────── */
.about {
  padding: 100px 0;
  background: var(--charcoal);
  border-top: 1px solid var(--card-border);
  border-bottom: 1px solid var(--card-border);
}
.about-inner {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 80px;
  align-items: center;
}
.about-visual {
  position: relative;
}
.about-card {
  border: 1px solid var(--card-border);
  border-radius: var(--radius-lg);
  padding: 40px;
  background: var(--card-bg);
  backdrop-filter: blur(8px);
}
.about-avatar {
  width: 80px;
  height: 80px;
  margin: 0 auto 28px;
}
.about-credentials {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.credential {
  display: flex;
  flex-direction: column;
  gap: 3px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--card-border);
}
.credential:last-child { border-bottom: none; padding-bottom: 0; }
.cred-label {
  font-size: 0.7rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
}
.cred-value {
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--white);
}
.about-accent-line {
  position: absolute;
  left: -20px;
  top: 10%;
  width: 3px;
  height: 80%;
  background: linear-gradient(to bottom, transparent, var(--blue), transparent);
  border-radius: 2px;
}
.about-content .section-title { margin-bottom: 16px; }
.about-lead {
  font-size: 1.1rem;
  font-weight: 500;
  color: var(--off-white);
  margin-bottom: 20px;
  font-style: italic;
  border-left: 3px solid var(--blue);
  padding-left: 20px;
  line-height: 1.7;
}
.about-content p {
  color: var(--muted);
  margin-bottom: 16px;
  line-height: 1.7;
  font-size: 0.95rem;
}
.about-pillars {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-top: 32px;
}
.pillar {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--off-white);
}
.pillar-icon { color: var(--blue); font-size: 1rem; }

/* ── Contact ───────────────────────────────────────────────── */
.contact {
  padding: 100px 0;
}
.contact-inner {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 80px;
  align-items: start;
}
.contact-info .section-title { margin-bottom: 16px; }
.contact-info > p {
  color: var(--muted);
  line-height: 1.7;
  margin-bottom: 40px;
  font-size: 0.95rem;
}
.contact-methods {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.contact-method {
  display: flex;
  align-items: center;
  gap: 16px;
}
.method-icon {
  width: 44px;
  height: 44px;
  border: 1px solid var(--card-border);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--blue);
  flex-shrink: 0;
}
.method-icon svg { width: 20px; height: 20px; }
.method-label {
  display: block;
  font-size: 0.7rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 2px;
}
.method-value {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--white);
}

/* Form */
.contact-form {
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: var(--radius-lg);
  padding: 40px;
  backdrop-filter: blur(8px);
}
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 20px;
}
.form-group label {
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--off-white);
  letter-spacing: 0.02em;
}
.form-group input,
.form-group textarea,
.form-group select {
  background: rgba(10, 22, 40, 0.6);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--radius);
  padding: 12px 16px;
  color: var(--white);
  font-size: 0.9rem;
  transition: var(--transition);
  -webkit-appearance: none;
  appearance: none;
}
.form-group input::placeholder,
.form-group textarea::placeholder {
  color: var(--muted);
}
.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  outline: none;
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(0, 212, 255, 0.1);
}
.form-group select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%238fa3c0' stroke-width='2'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
  background-size: 16px;
  padding-right: 40px;
  cursor: pointer;
}
.form-group select option { background: var(--navy-mid); }
.form-group textarea { resize: vertical; min-height: 120px; }
.btn-arrow { transition: var(--transition); }
.btn-primary:hover .btn-arrow { transform: translateX(4px); }
.form-privacy {
  text-align: center;
  font-size: 0.75rem;
  color: var(--muted);
  margin-top: 12px;
}

/* Form success state */
.form-success {
  display: none;
  text-align: center;
  padding: 48px 24px;
}
.form-success.visible { display: block; }
.form-success-icon { font-size: 3rem; margin-bottom: 16px; }
.form-success h3 {
  font-family: var(--font-display);
  color: var(--white);
  margin-bottom: 8px;
}
.form-success p { color: var(--muted); }

/* ── Footer ────────────────────────────────────────────────── */
.footer {
  background: var(--charcoal);
  border-top: 1px solid var(--card-border);
  padding: 64px 0 32px;
}
.footer-top {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 64px;
  margin-bottom: 48px;
}
.footer-brand .nav-logo { margin-bottom: 16px; }
.footer-brand p {
  font-size: 0.875rem;
  color: var(--muted);
  line-height: 1.65;
}
.footer-links {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}
.footer-col h4 {
  font-family: var(--font-display);
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--white);
  margin-bottom: 16px;
}
.footer-col ul { display: flex; flex-direction: column; gap: 10px; }
.footer-col a {
  font-size: 0.875rem;
  color: var(--muted);
  transition: color var(--transition);
}
.footer-col a:hover { color: var(--blue); }
.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 28px;
  border-top: 1px solid var(--card-border);
  gap: 16px;
  flex-wrap: wrap;
}
.footer-bottom p { font-size: 0.8rem; color: var(--muted); }
.footer-legal {
  display: flex;
  gap: 24px;
}
.footer-legal a {
  font-size: 0.8rem;
  color: var(--muted);
  transition: color var(--transition);
}
.footer-legal a:hover { color: var(--blue); }

/* ── Scroll reveal animations ──────────────────────────────── */
.reveal {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal.visible {
  opacity: 1;
  transform: none;
}
.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }

/* ── Responsive ────────────────────────────────────────────── */
@media (max-width: 1024px) {
  .services-grid { grid-template-columns: 1fr; }
  .sectors-grid { grid-template-columns: repeat(2, 1fr); }
  .training-inner,
  .about-inner,
  .contact-inner { grid-template-columns: 1fr; gap: 48px; }
  .about-accent-line { display: none; }
  .process-steps { flex-direction: column; align-items: center; }
  .process-connector { width: 2px; height: 40px; background: linear-gradient(to bottom, var(--blue), var(--teal)); margin: 0; }
  .footer-top { grid-template-columns: 1fr; gap: 40px; }
}

@media (max-width: 768px) {
  .nav-links {
    display: none;
    position: fixed;
    top: 70px;
    left: 0;
    right: 0;
    background: rgba(10, 22, 40, 0.98);
    backdrop-filter: blur(16px);
    flex-direction: column;
    padding: 24px;
    gap: 8px;
    border-bottom: 1px solid var(--card-border);
  }
  .nav-links.open { display: flex; }
  .nav-hamburger { display: flex; }
  .nav-link { padding: 12px 16px; }

  .hero { padding: 100px 0 60px; }
  .hero-stats { gap: 24px; }
  .stat-divider { display: none; }

  .form-row { grid-template-columns: 1fr; }
  .footer-links { grid-template-columns: 1fr 1fr; }
  .about-pillars { grid-template-columns: 1fr; }

  .services-cta { padding: 32px 24px; }
}

@media (max-width: 600px) {
  .sectors-grid { grid-template-columns: 1fr; }
}
@media (max-width: 480px) {
  .hero-actions { flex-direction: column; width: 100%; }
  .hero-actions .btn { width: 100%; justify-content: center; }
  .footer-links { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; text-align: center; }
  .contact-form { padding: 24px; }
}

/* ═══════════════════════════════════════════════════════════════
   Glass Panel + Dashboard styles
═══════════════════════════════════════════════════════════════ */

/* ── Glassmorphism base ────────────────────────────────────── */
.glass-panel {
  background: rgba(15, 32, 64, 0.55);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(0, 212, 255, 0.14);
  border-radius: var(--radius-lg);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.35), inset 0 1px 0 rgba(255,255,255,0.04);
  transition: box-shadow var(--transition), border-color var(--transition);
}
.glass-panel:hover {
  border-color: rgba(0, 212, 255, 0.28);
  box-shadow: 0 12px 48px rgba(0, 0, 0, 0.5), 0 0 0 1px rgba(0, 212, 255, 0.06), inset 0 1px 0 rgba(255,255,255,0.06);
}

/* ── Dashboard Section ─────────────────────────────────────── */
.dashboard {
  padding: 100px 0;
  background: var(--charcoal);
  border-top: 1px solid var(--card-border);
  border-bottom: 1px solid var(--card-border);
  position: relative;
  overflow: hidden;
}
.dashboard::before {
  content: '';
  position: absolute;
  top: -200px;
  left: 50%;
  transform: translateX(-50%);
  width: 800px;
  height: 400px;
  background: radial-gradient(ellipse, rgba(0,212,255,0.06) 0%, transparent 70%);
  pointer-events: none;
}

/* KPI Row */
.dash-kpi-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-bottom: 24px;
}
.dash-kpi {
  padding: 20px 24px;
  display: flex;
  align-items: center;
  gap: 16px;
}
.kpi-icon {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.kpi-icon svg { width: 20px; height: 20px; }
.kpi-icon--green { background: rgba(34, 197, 94, 0.12); color: #22c55e; }
.kpi-icon--blue  { background: rgba(0, 212, 255, 0.12); color: var(--blue); }
.kpi-icon--amber { background: rgba(245, 158, 11, 0.12); color: #f59e0b; }
.kpi-icon--teal  { background: rgba(0, 184, 169, 0.12); color: var(--teal); }
.kpi-value {
  display: block;
  font-family: var(--font-display);
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--white);
  line-height: 1;
}
.kpi-unit { font-size: 1rem; color: var(--off-white); }
.kpi-label {
  display: block;
  font-size: 0.72rem;
  color: var(--muted);
  margin-top: 3px;
  letter-spacing: 0.03em;
}
.kpi-trend {
  margin-left: auto;
  font-size: 0.72rem;
  font-weight: 600;
  padding: 3px 8px;
  border-radius: 20px;
  white-space: nowrap;
}
.kpi-trend--up   { color: #22c55e; background: rgba(34,197,94,0.1); }
.kpi-trend--down { color: #f59e0b; background: rgba(245,158,11,0.1); }

/* Dashboard Main Grid */
.dash-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr;
  grid-template-rows: auto auto;
  gap: 16px;
}
.dash-panel { padding: 24px; }
.dash-panel--wide { grid-column: 1; grid-row: 1; }
.dash-panel--gauges { grid-column: 2; grid-row: 1; }
.dash-panel--feed { grid-column: 1; grid-row: 2; }
.dash-panel--topology { grid-column: 2; grid-row: 2; }

.dash-panel-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 20px;
  gap: 12px;
  flex-wrap: wrap;
}
.dash-panel-title {
  font-family: var(--font-display);
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--off-white);
  display: flex;
  align-items: center;
  gap: 8px;
}
.dash-live-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #22c55e;
  box-shadow: 0 0 6px #22c55e;
  animation: pulse 1.5s ease-in-out infinite;
  flex-shrink: 0;
}
.dash-live-dot--amber { background: #f59e0b; box-shadow: 0 0 6px #f59e0b; }

/* Chart tabs */
.dash-panel-controls { display: flex; gap: 6px; }
.dash-tab {
  padding: 5px 12px;
  border-radius: 20px;
  font-size: 0.72rem;
  font-weight: 500;
  color: var(--muted);
  border: 1px solid transparent;
  background: transparent;
  cursor: pointer;
  transition: var(--transition);
}
.dash-tab.active, .dash-tab:hover {
  color: var(--blue);
  border-color: rgba(0, 212, 255, 0.3);
  background: rgba(0, 212, 255, 0.06);
}

/* Chart area */
.dash-chart-area {
  position: relative;
  display: flex;
  gap: 8px;
  align-items: flex-end;
}
#telemetry-chart {
  flex: 1;
  border-radius: var(--radius);
  background: rgba(10, 22, 40, 0.4);
}
.chart-y-labels {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  font-size: 0.65rem;
  color: var(--muted);
  padding: 4px 0;
  min-width: 24px;
  text-align: right;
  height: 180px;
}
.chart-legend {
  display: flex;
  gap: 20px;
  margin-top: 12px;
}
.legend-item {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.72rem;
  color: var(--muted);
}
.legend-item i {
  width: 24px;
  height: 2px;
  border-radius: 2px;
  display: block;
}

/* Gauges */
.gauge-grid {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.gauge-item {
  display: flex;
  align-items: center;
  gap: 16px;
}
.gauge-wrap {
  position: relative;
  width: 70px;
  height: 70px;
  flex-shrink: 0;
}
.gauge-canvas { width: 70px !important; height: 70px !important; }
.gauge-center {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1px;
}
.gauge-val {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 700;
  color: var(--white);
}
.gauge-pct { font-size: 0.65rem; color: var(--muted); margin-top: 4px; }
.gauge-label { font-size: 0.8rem; color: var(--off-white); font-weight: 500; }

/* AI Feed */
.ai-feed { display: flex; flex-direction: column; gap: 10px; }
.feed-item {
  display: grid;
  grid-template-columns: 64px 70px 1fr;
  align-items: start;
  gap: 10px;
  padding: 10px 12px;
  border-radius: var(--radius);
  border-left: 2px solid transparent;
  background: rgba(10, 22, 40, 0.4);
  transition: background var(--transition);
}
.feed-item:hover { background: rgba(10, 22, 40, 0.7); }
.feed-item--info  { border-left-color: var(--blue); }
.feed-item--warn  { border-left-color: #f59e0b; }
.feed-item--ok    { border-left-color: #22c55e; }
.feed-time { font-size: 0.65rem; color: var(--muted); font-family: monospace; padding-top: 2px; }
.feed-tag {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.6rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  padding: 2px 6px;
  border-radius: 4px;
}
.feed-tag--blue   { background: rgba(0,212,255,0.15); color: var(--blue); }
.feed-tag--amber  { background: rgba(245,158,11,0.15); color: #f59e0b; }
.feed-tag--green  { background: rgba(34,197,94,0.15); color: #22c55e; }
.feed-msg { font-size: 0.78rem; color: var(--off-white); line-height: 1.4; }

/* Topology */
.topology-status { display: flex; align-items: center; gap: 6px; font-size: 0.72rem; color: #22c55e; }
.status-dot { width: 6px; height: 6px; border-radius: 50%; }
.status-dot.ok { background: #22c55e; box-shadow: 0 0 6px #22c55e; }
.topology-visual { padding: 8px 0; }
#topology-svg { width: 100%; height: auto; }
.topo-line { stroke-dashoffset: 0; }

/* ── Digital Twin Visual Section ───────────────────────────── */
.dt-visual-section {
  padding: 100px 0;
  background: var(--navy);
  position: relative;
  overflow: hidden;
}
.dt-visual-section::before {
  content: '';
  position: absolute;
  bottom: -100px;
  right: -100px;
  width: 600px;
  height: 600px;
  background: radial-gradient(ellipse, rgba(0,184,169,0.05) 0%, transparent 65%);
  pointer-events: none;
}
.dt-visual-inner {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 64px;
  align-items: start;
}
.dt-visual-content .section-title { margin-bottom: 16px; }
.dt-visual-content > p { color: var(--muted); line-height: 1.7; margin-bottom: 32px; font-size: 0.95rem; }
.dt-feature-list { display: flex; flex-direction: column; gap: 20px; margin-bottom: 40px; }
.dt-feature {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}
.dt-feature-icon {
  width: 36px;
  height: 36px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--blue);
  flex-shrink: 0;
  background: rgba(0,212,255,0.04);
}
.dt-feature-icon svg { width: 18px; height: 18px; }
.dt-feature strong { display: block; color: var(--white); font-size: 0.9rem; margin-bottom: 3px; }
.dt-feature span { font-size: 0.82rem; color: var(--muted); }

/* DT 3D Model wrapper */
.dt-model-wrap {
  display: flex;
  flex-direction: column;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid rgba(0, 212, 255, 0.2);
  background: rgba(10, 22, 40, 0.7);
  backdrop-filter: blur(12px);
  box-shadow: 0 24px 80px rgba(0,0,0,0.55), 0 0 0 1px rgba(0,212,255,0.06);
}
.dt-model-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 20px;
  background: rgba(0, 212, 255, 0.04);
  border-bottom: 1px solid rgba(0, 212, 255, 0.1);
  gap: 12px;
  flex-wrap: wrap;
}
.dt-model-label {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--off-white);
}
.dt-model-badges { display: flex; gap: 8px; flex-wrap: wrap; }
.dt-model-frame {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 10;
  background: #050e1c;
  overflow: hidden;
}
.dt-model-frame iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: none;
  display: block;
}
/* Corner overlay badges */
.dt-model-overlay-tl {
  position: absolute;
  top: 12px;
  left: 12px;
  pointer-events: none;
  z-index: 2;
}
.dt-model-overlay-br {
  position: absolute;
  bottom: 12px;
  right: 12px;
  pointer-events: none;
  z-index: 2;
}
/* Subtle glow rim on frame */
.dt-model-frame::after {
  content: '';
  position: absolute;
  inset: 0;
  border: 1px solid rgba(0, 212, 255, 0.1);
  pointer-events: none;
  z-index: 1;
}

.dt-layer-dot { width: 7px; height: 7px; border-radius: 50%; flex-shrink: 0; }
/* Keep these for the connector strip below the iframe */
@keyframes smoke {
  0%   { transform: translateY(0) scale(1); opacity: 0.15; }
  100% { transform: translateY(-14px) scale(1.4); opacity: 0; }
}
.dt-smoke { animation: smoke 2.5s ease-out infinite; transform-origin: center; }

/* DT Connector */
.dt-connector {
  background: rgba(0,212,255,0.04);
  border-top: 1px solid rgba(0,212,255,0.1);
  border-bottom: 1px solid rgba(0,212,255,0.1);
  padding: 10px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.dt-conn-label { font-size: 0.7rem; color: var(--blue); font-weight: 600; letter-spacing: 0.08em; white-space: nowrap; }
.dt-stream-lines { display: flex; gap: 4px; flex: 1; overflow: hidden; }
.dt-stream-line {
  height: 2px;
  flex: 1;
  border-radius: 1px;
  background: linear-gradient(90deg, transparent, var(--blue), transparent);
  background-size: 200% 100%;
  animation: stream-flow 1.8s linear infinite;
}
@keyframes stream-flow {
  0%   { background-position: -100% 0; opacity: 0.3; }
  50%  { opacity: 1; }
  100% { background-position: 200% 0; opacity: 0.3; }
}
.dt-conn-badge {
  font-size: 0.65rem;
  color: var(--teal);
  border: 1px solid rgba(0,184,169,0.25);
  border-radius: 20px;
  padding: 2px 10px;
  white-space: nowrap;
}

/* DT scan line animation */
@keyframes scan {
  0%   { transform: translateY(0); opacity: 0.6; }
  100% { transform: translateY(200px); opacity: 0; }
}
.dt-scan-line { animation: scan 3s linear infinite; }

/* ── Team Grid ─────────────────────────────────────────────── */
.team-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-top: 64px;
}
.team-card {
  padding: 28px 24px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 0;
  position: relative;
  overflow: hidden;
}
.team-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  opacity: 0;
  transition: opacity var(--transition);
}
.team-card:nth-child(1)::before { background: linear-gradient(90deg, var(--blue), var(--teal)); }
.team-card:nth-child(2)::before { background: linear-gradient(90deg, var(--teal), #22c55e); }
.team-card:nth-child(3)::before { background: linear-gradient(90deg, #7c6af7, var(--blue)); }
.team-card:nth-child(4)::before { background: linear-gradient(90deg, #f59e0b, var(--teal)); }
.team-card:hover::before { opacity: 1; }

.team-avatar {
  width: 56px;
  height: 56px;
  margin-bottom: 16px;
}
.team-info { margin-bottom: 16px; }
.team-info h4 {
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--white);
  margin-bottom: 4px;
}
.team-role {
  display: block;
  font-size: 0.72rem;
  color: var(--blue);
  font-weight: 500;
  letter-spacing: 0.04em;
  margin-bottom: 10px;
}
.team-info p { font-size: 0.8rem; color: var(--muted); line-height: 1.5; }
.team-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  justify-content: center;
  margin-top: auto;
}
.team-tags span {
  font-size: 0.65rem;
  padding: 3px 8px;
  border-radius: 20px;
  background: rgba(0, 212, 255, 0.06);
  border: 1px solid var(--card-border);
  color: var(--muted);
}

/* About team badge */
.about-team-badge {
  width: 64px;
  height: 64px;
  border: 1px solid var(--card-border);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 24px;
  background: rgba(0,212,255,0.06);
}

/* ── Responsive additions ──────────────────────────────────── */
@media (max-width: 1100px) {
  .dash-kpi-row { grid-template-columns: repeat(2, 1fr); }
  .team-grid { grid-template-columns: repeat(2, 1fr); }
  .dt-visual-inner { grid-template-columns: 1fr; }
}
@media (max-width: 900px) {
  .dash-grid {
    grid-template-columns: 1fr;
    grid-template-rows: auto;
  }
  .dash-panel--wide,
  .dash-panel--gauges,
  .dash-panel--feed,
  .dash-panel--topology {
    grid-column: 1;
    grid-row: auto;
  }
  .gauge-grid { flex-direction: row; justify-content: space-around; }
}
@media (max-width: 600px) {
  .dash-kpi-row { grid-template-columns: 1fr 1fr; }
  .team-grid { grid-template-columns: 1fr; }
  .feed-item { grid-template-columns: 56px 60px 1fr; gap: 6px; }
}
