:root {
  --bg: #071225;
  --bg-soft: #0c1e3d;
  --panel: #10284f;
  --text: #eaf2ff;
  --muted: #b9c9e8;
  --primary: #3fa3ff;
  --primary-dark: #2f85d1;
  --line: rgba(255, 255, 255, 0.14);
  --header-offset: 92px;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--text);
  background: radial-gradient(circle at top right, #12356a 0%, var(--bg) 45%);
  line-height: 1.5;
  scroll-behavior: smooth;
}

html {
  scroll-padding-top: var(--header-offset);
}

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

.container {
  width: min(1120px, 92%);
  margin: 0 auto;
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 1000;
  backdrop-filter: blur(8px);
  background: rgba(7, 18, 37, 0.72);
  border-bottom: 1px solid var(--line);
}

section[id],
footer[id] {
  scroll-margin-top: var(--header-offset);
}

.nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  min-height: 72px;
  gap: 1rem;
}

.nav nav {
  display: flex;
  gap: 1.4rem;
}

.nav nav a {
  color: var(--muted);
  transition: color 180ms ease;
}

.nav nav a:hover {
  color: var(--text);
}

.brand {
  font-weight: 800;
  letter-spacing: 0.03em;
  font-size: 1.2rem;
}

.lang-switch {
  display: inline-flex;
  border: 1px solid var(--line);
  border-radius: 999px;
  overflow: hidden;
}

.lang-btn {
  border: 0;
  background: transparent;
  color: var(--muted);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.25rem;
  font-weight: 700;
  font-size: 0.78rem;
  letter-spacing: 0.04em;
  padding: 0.45rem 0.65rem;
  cursor: pointer;
  transition: background-color 180ms ease, color 180ms ease;
}

.lang-btn.is-active {
  background: var(--primary);
  color: #041326;
}

.hero {
  min-height: 68vh;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
}

.hero-cockpit-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0.62;
}

.hero-cockpit-bg img,
.hero-cockpit-bg svg {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: center 42%;
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(7, 18, 37, 0.24) 0%,
    rgba(7, 18, 37, 0.62) 58%,
    rgba(7, 18, 37, 0.88) 100%
  );
  pointer-events: none;
}

.hero-grid {
  display: grid;
  gap: 2rem;
  grid-template-columns: 1.6fr 1fr;
  position: relative;
  z-index: 1;
}

.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--primary);
  font-weight: 700;
  font-size: 0.78rem;
  margin-bottom: 0.8rem;
}

h1 {
  font-size: clamp(2rem, 4vw, 3.15rem);
  line-height: 1.08;
  margin: 0;
}

.lead {
  color: var(--muted);
  margin-top: 1.2rem;
  max-width: 66ch;
}

.hero-actions {
  margin-top: 1.8rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  padding: 0.78rem 1.2rem;
  font-weight: 700;
  border: 1px solid transparent;
  transition: transform 180ms ease, background-color 180ms ease, border-color 180ms ease;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn-primary {
  background: var(--primary);
  color: #041326;
}

.btn-primary:hover {
  background: var(--primary-dark);
}

.btn-secondary {
  border-color: var(--line);
  color: var(--text);
}

.hero-card {
  background: rgba(16, 40, 79, 0.8);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 1.3rem;
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.18);
}

.hero-visual {
  margin-bottom: 1rem;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 14px;
  overflow: hidden;
}

.hero-visual svg {
  width: 100%;
  display: block;
}

.hero-card h2 {
  margin-top: 0;
  font-size: 1.1rem;
}

.hero-card ul {
  margin: 0;
  padding-left: 1.15rem;
  color: var(--muted);
}

.section {
  min-height: 68vh;
  padding: 5.5rem 0;
  transition: background-color 300ms ease, border-color 300ms ease;
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
}

.hero {
  padding: 6rem 0 5.5rem;
}

.section-solutions {
  background: linear-gradient(180deg, rgba(13, 31, 58, 0.48) 0%, rgba(6, 18, 35, 0.2) 100%);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.section-photo-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0.23;
}

.section-photo-bg img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: center;
}

.section > .container {
  position: relative;
  z-index: 1;
}

h2 {
  margin: 0;
  font-size: clamp(1.6rem, 2.8vw, 2.2rem);
}

.section-intro {
  color: var(--muted);
  margin-top: 0.9rem;
  max-width: 70ch;
}

.cards {
  margin-top: 1.8rem;
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.card {
  background: rgba(11, 30, 59, 0.75);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 1.1rem;
  transition: transform 220ms ease, border-color 220ms ease, box-shadow 220ms ease, background-color 220ms ease;
}

.card:hover {
  transform: translateY(-4px);
  border-color: rgba(63, 163, 255, 0.55);
  background: rgba(16, 41, 78, 0.92);
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.24);
}

.card p {
  color: var(--muted);
  margin-bottom: 0;
}

.vector-grid {
  margin-top: 1.4rem;
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.vector-card {
  background: rgba(11, 30, 59, 0.72);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 1rem;
  transition: transform 220ms ease, border-color 220ms ease, box-shadow 220ms ease;
}

.vector-card:hover {
  transform: translateY(-4px);
  border-color: rgba(63, 163, 255, 0.6);
  box-shadow: 0 14px 28px rgba(0, 0, 0, 0.22);
}

.vector-card svg {
  width: 68px;
  height: 68px;
}

.vector-card h3 {
  margin: 0.7rem 0 0.3rem;
}

.vector-card p {
  margin: 0;
  color: var(--muted);
}

.modules-grid {
  margin-top: 1.8rem;
  display: grid;
  gap: 1.5rem;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.module-card {
  background: rgba(11, 30, 59, 0.75);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 0;
  overflow: hidden;
  transition: transform 220ms ease, border-color 220ms ease, box-shadow 220ms ease;
}

.module-card:hover {
  transform: translateY(-4px);
  border-color: rgba(63, 163, 255, 0.55);
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.24);
}

.module-image {
  width: 100%;
  height: 240px;
  overflow: hidden;
  position: relative;
  background: #0a1829;
}

.module-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 65%;
}

.module-card h3 {
  margin: 1rem 1.1rem 0.5rem;
}

.module-card p {
  margin: 0 1.1rem 1.1rem;
  color: var(--muted);
}

.section-highlight {
  background: rgba(4, 15, 31, 0.5);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.section-modular {
  background: rgba(6, 16, 32, 0.92);
}

.section-modular .section-photo-bg {
  opacity: 0.18;
}

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

.checklist {
  margin: 1rem 0 0;
  padding-left: 1.15rem;
  color: var(--muted);
}

.panel {
  border: 1px solid var(--line);
  border-radius: 14px;
  background: rgba(16, 40, 79, 0.92);
  backdrop-filter: blur(8px);
  padding: 1rem 1.1rem;
  box-shadow: 0 12px 26px rgba(0, 0, 0, 0.35);
}

.panel h3 {
  margin-top: 0;
}

.panel ul {
  margin: 0;
  padding-left: 1.15rem;
  color: var(--muted);
}

.metrics {
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  text-align: center;
  position: relative;
  z-index: 1;
}

.section-metrics {
  background: linear-gradient(180deg, rgba(8, 22, 43, 0.55) 0%, rgba(4, 13, 26, 0.2) 100%);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.section-metrics .section-photo-bg {
  opacity: 0.15;
}

.number {
  margin: 0;
  font-size: clamp(1.5rem, 3vw, 2.1rem);
  font-weight: 800;
}

.label {
  margin-top: 0.35rem;
  color: var(--muted);
}

.metric-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
}

.metric-icon {
  width: 64px;
  height: 64px;
  color: var(--primary);
  opacity: 0.9;
}

.footer {
  padding: 4rem 0;
  background: #040d1a;
  border-top: 1px solid var(--line);
}

.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 560ms ease, transform 560ms ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.section-focus {
  animation: sectionFocusPulse 700ms ease;
}

@keyframes sectionFocusPulse {
  0% {
    box-shadow: 0 0 0 0 rgba(63, 163, 255, 0);
  }
  35% {
    box-shadow: 0 0 0 10px rgba(63, 163, 255, 0.12);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(63, 163, 255, 0);
  }
}

.footer-grid {
  display: grid;
  gap: 1.4rem;
  grid-template-columns: 1.5fr 1fr;
  align-items: start;
}

.footer p {
  color: var(--muted);
}

.contact-card {
  background: rgba(16, 40, 79, 0.72);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 1.1rem;
}

.full {
  width: 100%;
  margin-top: 0.6rem;
}

@media (max-width: 920px) {
  .hero-grid,
  .split,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .cards,
  .metrics,
  .vector-grid,
  .modules-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 620px) {
  :root {
    --header-offset: 84px;
  }

  .nav {
    min-height: 64px;
  }

  .nav nav {
    display: none;
  }

  .lang-switch {
    margin-left: auto;
  }

  .hero {
    min-height: 58vh;
    padding: 4.5rem 0 5.5rem;
  }
  
  .section {
    min-height: 58vh;
    padding: 4.5rem 0;
  }

  .metric-icon {
    width: 56px;
    height: 56px;
  }
}
