:root {
  --navy-950: #061526;
  --navy-900: #0a1d33;
  --navy-800: #102b49;
  --navy-700: #163a5f;
  --gold-500: #d8b35a;
  --gold-400: #f0cf73;
  --cyan-500: #11aee2;
  --cyan-400: #35c5ef;
  --ink: #122033;
  --muted: #6b7788;
  --line: rgba(216, 179, 90, 0.28);
  --glass: rgba(255, 255, 255, 0.12);
  --glass-strong: rgba(255, 255, 255, 0.18);
  --white: #ffffff;
  --soft: #f5f7fb;
  --shadow: 0 28px 80px rgba(2, 14, 29, 0.28);
  --radius: 8px;
  --max: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Aptos", "Segoe UI", Arial, sans-serif;
  color: var(--ink);
  background: var(--soft);
  line-height: 1.6;
}

body.menu-open {
  overflow: hidden;
}

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

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

.site-shell {
  overflow: hidden;
  min-height: 100vh;
}

.container {
  width: min(var(--max), calc(100% - 40px));
  margin: 0 auto;
}

.topbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(6, 21, 38, 0.78);
  backdrop-filter: blur(20px);
}

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

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--white);
  font-weight: 800;
  font-size: 19px;
}

.brand img {
  width: 46px;
  height: 46px;
}

.brand span {
  color: var(--gold-400);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 6px;
}

.nav-links a {
  color: rgba(255, 255, 255, 0.78);
  padding: 10px 12px;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 650;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--white);
  background: rgba(255, 255, 255, 0.1);
}

.nav-cta,
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 18px;
  border-radius: 8px;
  border: 1px solid transparent;
  font-weight: 750;
  cursor: pointer;
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

.nav-cta,
.button.primary {
  color: #09172a;
  background: linear-gradient(135deg, var(--gold-400), var(--gold-500));
  box-shadow: 0 12px 28px rgba(216, 179, 90, 0.32);
}

.button.secondary {
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.28);
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(18px);
}

.button.dark {
  color: var(--white);
  background: var(--navy-900);
}

.button:hover,
.nav-cta:hover {
  transform: translateY(-2px);
}

.menu-toggle {
  display: none;
  width: 46px;
  height: 46px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.08);
  color: var(--white);
  cursor: pointer;
}

.menu-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  margin: 5px auto;
  background: currentColor;
}

.hero {
  position: relative;
  min-height: 720px;
  padding: 140px 0 68px;
  color: var(--white);
  background:
    linear-gradient(115deg, rgba(6, 21, 38, 0.96), rgba(10, 29, 51, 0.82) 54%, rgba(17, 174, 226, 0.28)),
    var(--navy-950);
}

.hero.compact {
  min-height: 440px;
  padding-bottom: 58px;
}

.hero.full-screen {
  min-height: 100vh;
}

.hero-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0.62;
}

.hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(360px, 0.95fr);
  gap: 52px;
  align-items: center;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 18px;
  color: var(--gold-400);
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
}

.eyebrow::before {
  content: "";
  width: 34px;
  height: 1px;
  background: var(--gold-400);
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  margin-bottom: 22px;
  font-size: 64px;
  line-height: 1.02;
  font-weight: 850;
}

.hero h1 span {
  color: var(--gold-400);
}

.lead {
  max-width: 720px;
  color: rgba(255, 255, 255, 0.78);
  font-size: 20px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 32px;
}

.hero-proof {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  margin-top: 46px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(18px);
}

.proof-item {
  padding: 20px;
  background: rgba(255, 255, 255, 0.08);
}

.proof-item strong {
  display: block;
  color: var(--gold-400);
  font-size: 24px;
}

.proof-item span {
  color: rgba(255, 255, 255, 0.7);
  font-size: 13px;
}

.hero-visual {
  position: relative;
  min-height: 510px;
}

.device-card {
  position: absolute;
  inset: 24px 0 0 0;
  padding: 20px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(22px);
  box-shadow: var(--shadow);
}

.device-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: rgba(255, 255, 255, 0.72);
  font-size: 13px;
}

.window-dots {
  display: flex;
  gap: 6px;
}

.window-dots span {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--gold-400);
}

.device-art {
  margin-top: 18px;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(4, 15, 28, 0.6);
}

.floating-panel {
  position: absolute;
  right: -8px;
  bottom: 34px;
  width: min(320px, 72%);
  padding: 20px;
  border: 1px solid rgba(216, 179, 90, 0.35);
  border-radius: var(--radius);
  background: rgba(6, 21, 38, 0.62);
  backdrop-filter: blur(20px);
  box-shadow: var(--shadow);
}

.signal {
  height: 8px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--cyan-400), var(--gold-400));
}

.floating-panel strong {
  display: block;
  margin: 14px 0 4px;
  font-size: 16px;
}

.floating-panel p {
  color: rgba(255, 255, 255, 0.68);
  margin-bottom: 0;
  font-size: 14px;
}

.section {
  padding: 92px 0;
}

.section.navy {
  color: var(--white);
  background:
    linear-gradient(180deg, var(--navy-950), var(--navy-900));
}

.section.gold-line {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.section-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 32px;
  margin-bottom: 34px;
}

.section-title {
  max-width: 780px;
}

.section-title h2 {
  margin-bottom: 12px;
  font-size: 42px;
  line-height: 1.12;
}

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

.navy .section-title p,
.navy .muted {
  color: rgba(255, 255, 255, 0.68);
}

.grid-3,
.grid-2,
.grid-4 {
  display: grid;
  gap: 20px;
}

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

.grid-3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.grid-4 {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.card,
.glass-card {
  border-radius: var(--radius);
  border: 1px solid rgba(18, 32, 51, 0.1);
  background: var(--white);
  box-shadow: 0 18px 45px rgba(16, 43, 73, 0.08);
}

.card {
  padding: 28px;
}

.glass-card {
  padding: 28px;
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.16);
  background: var(--glass);
  backdrop-filter: blur(18px);
}

.card h3,
.glass-card h3 {
  margin-bottom: 10px;
  font-size: 22px;
}

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

.glass-card p {
  color: rgba(255, 255, 255, 0.68);
}

.icon-box {
  width: 46px;
  height: 46px;
  margin-bottom: 18px;
  display: grid;
  place-items: center;
  border-radius: 8px;
  color: var(--navy-950);
  background: var(--gold-400);
  font-weight: 900;
}

.program-preview {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 28px;
  align-items: stretch;
}

.program-tabs {
  display: grid;
  gap: 10px;
}

.program-tab {
  width: 100%;
  min-height: 76px;
  border: 1px solid rgba(18, 32, 51, 0.12);
  border-radius: 8px;
  background: var(--white);
  color: var(--ink);
  text-align: left;
  padding: 14px 16px;
  cursor: pointer;
}

.program-tab strong {
  display: block;
  font-size: 16px;
}

.program-tab span {
  display: block;
  color: var(--muted);
  font-size: 13px;
}

.program-tab.active {
  border-color: rgba(216, 179, 90, 0.62);
  background: linear-gradient(135deg, #fffaf0, #ffffff);
  box-shadow: 0 14px 34px rgba(216, 179, 90, 0.18);
}

.program-detail {
  padding: 32px;
  border-radius: var(--radius);
  background:
    linear-gradient(135deg, rgba(6, 21, 38, 0.94), rgba(16, 43, 73, 0.9)),
    var(--navy-900);
  color: var(--white);
  min-height: 342px;
  position: relative;
  overflow: hidden;
}

.program-detail::after {
  content: "";
  position: absolute;
  inset: auto -24px -58px auto;
  width: 210px;
  height: 210px;
  border: 1px solid rgba(216, 179, 90, 0.3);
  transform: rotate(18deg);
}

.program-detail h3 {
  font-size: 30px;
}

.program-detail p {
  color: rgba(255, 255, 255, 0.72);
}

.check-list {
  padding: 0;
  margin: 20px 0 0;
  list-style: none;
}

.check-list li {
  position: relative;
  padding-left: 26px;
  margin-bottom: 10px;
}

.check-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 9px;
  width: 10px;
  height: 10px;
  border-radius: 2px;
  background: var(--gold-400);
}

.feature-gallery {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  grid-auto-rows: minmax(220px, auto);
  gap: 20px;
}

.gallery-card {
  position: relative;
  overflow: hidden;
  min-height: 260px;
  border-radius: var(--radius);
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: var(--navy-900);
  cursor: pointer;
}

.gallery-card.large {
  grid-row: span 2;
}

.gallery-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.82;
  transition: transform 240ms ease, opacity 240ms ease;
}

.gallery-card:hover img {
  transform: scale(1.035);
  opacity: 0.95;
}

.gallery-caption {
  position: absolute;
  left: 18px;
  right: 18px;
  bottom: 18px;
  padding: 18px;
  border-radius: var(--radius);
  color: var(--white);
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(6, 21, 38, 0.62);
  backdrop-filter: blur(18px);
}

.gallery-caption strong {
  display: block;
  margin-bottom: 4px;
}

.gallery-caption span {
  color: rgba(255, 255, 255, 0.68);
  font-size: 14px;
}

.timeline {
  display: grid;
  gap: 16px;
  counter-reset: step;
}

.timeline-item {
  display: grid;
  grid-template-columns: 72px 1fr;
  gap: 18px;
  align-items: start;
  padding: 22px;
  border: 1px solid rgba(18, 32, 51, 0.1);
  border-radius: var(--radius);
  background: var(--white);
}

.timeline-item::before {
  counter-increment: step;
  content: "0" counter(step);
  width: 56px;
  height: 56px;
  display: grid;
  place-items: center;
  border-radius: 8px;
  background: var(--navy-900);
  color: var(--gold-400);
  font-weight: 850;
}

.spec-list {
  display: grid;
  gap: 12px;
}

.spec-row {
  display: grid;
  grid-template-columns: 180px 1fr;
  gap: 20px;
  padding: 16px 0;
  border-bottom: 1px solid rgba(18, 32, 51, 0.1);
}

.spec-row strong {
  color: var(--navy-900);
}

.quote-band {
  padding: 42px;
  border-radius: var(--radius);
  color: var(--white);
  background:
    linear-gradient(135deg, rgba(6, 21, 38, 0.94), rgba(16, 58, 95, 0.92)),
    var(--navy-900);
  box-shadow: var(--shadow);
}

.quote-band p {
  margin-bottom: 18px;
  font-size: 24px;
  line-height: 1.42;
}

.quote-band span {
  color: var(--gold-400);
  font-weight: 750;
}

.contact-layout {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 28px;
}

.form {
  display: grid;
  gap: 14px;
}

.field {
  display: grid;
  gap: 7px;
}

.field label {
  font-weight: 750;
  color: var(--navy-900);
}

.field input,
.field select,
.field textarea {
  width: 100%;
  min-height: 48px;
  border: 1px solid rgba(18, 32, 51, 0.16);
  border-radius: 8px;
  padding: 12px 14px;
  font: inherit;
  color: var(--ink);
  background: var(--white);
}

.field textarea {
  min-height: 132px;
  resize: vertical;
}

.form-note {
  color: var(--muted);
  font-size: 13px;
}

.references {
  padding-left: 18px;
  color: var(--muted);
}

.references li {
  margin-bottom: 10px;
}

.cta-band {
  padding: 72px 0;
  color: var(--white);
  background:
    linear-gradient(110deg, rgba(6, 21, 38, 0.98), rgba(16, 43, 73, 0.92)),
    var(--navy-950);
}

.cta-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}

.cta-inner h2 {
  margin-bottom: 8px;
  font-size: 36px;
}

.cta-inner p {
  margin-bottom: 0;
  color: rgba(255, 255, 255, 0.68);
}

.footer {
  padding: 54px 0 28px;
  color: rgba(255, 255, 255, 0.68);
  background: #03101f;
}

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

.footer h3,
.footer h4 {
  color: var(--white);
  margin-bottom: 12px;
}

.footer a {
  display: block;
  margin-bottom: 8px;
}

.footer-bottom {
  margin-top: 34px;
  padding-top: 18px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  justify-content: space-between;
  gap: 16px;
  font-size: 13px;
}

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: none;
  place-items: center;
  padding: 26px;
  background: rgba(2, 10, 20, 0.86);
}

.lightbox.open {
  display: grid;
}

.lightbox-content {
  width: min(980px, 100%);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: var(--radius);
  background: var(--navy-900);
  overflow: hidden;
}

.lightbox-content img {
  width: 100%;
  max-height: 72vh;
  object-fit: contain;
  background: #061526;
}

.lightbox-caption {
  padding: 18px 22px;
  color: var(--white);
}

.lightbox-close {
  position: fixed;
  top: 20px;
  right: 20px;
  width: 46px;
  height: 46px;
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: rgba(255, 255, 255, 0.1);
  color: var(--white);
  cursor: pointer;
}

@media (max-width: 980px) {
  .menu-toggle {
    display: block;
  }

  .nav-links {
    position: fixed;
    top: 76px;
    left: 0;
    right: 0;
    display: none;
    padding: 18px 20px 26px;
    background: rgba(6, 21, 38, 0.98);
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  }

  body.menu-open .nav-links {
    display: grid;
  }

  .nav-cta {
    display: none;
  }

  .hero-grid,
  .program-preview,
  .contact-layout,
  .grid-2,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
  }

  .hero-visual {
    min-height: 470px;
  }

  h1 {
    font-size: 48px;
  }

  .grid-3,
  .grid-4 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .feature-gallery {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .container {
    width: min(100% - 28px, var(--max));
  }

  .section {
    padding: 68px 0;
  }

  h1 {
    font-size: 38px;
  }

  .section-title h2,
  .cta-inner h2 {
    font-size: 31px;
  }

  .lead {
    font-size: 18px;
  }

  .hero-proof,
  .grid-3,
  .grid-4 {
    grid-template-columns: 1fr;
  }

  .section-head,
  .cta-inner,
  .footer-bottom {
    display: grid;
    align-items: start;
  }

  .spec-row,
  .timeline-item {
    grid-template-columns: 1fr;
  }

  .hero-visual {
    min-height: 390px;
  }

  .floating-panel {
    right: 14px;
    width: calc(100% - 28px);
  }
}
