:root {
  --bg: #060816;
  --bg-soft: #0b1023;
  --panel: rgba(12, 18, 39, 0.7);
  --panel-strong: rgba(17, 25, 55, 0.92);
  --line: rgba(152, 168, 255, 0.18);
  --line-strong: rgba(181, 193, 255, 0.32);
  --text: #edf3ff;
  --muted: #97a6c6;
  --accent: #73e3ff;
  --accent-2: #7a8cff;
  --accent-3: #b588ff;
  --gold: #f6d38c;
  --shadow: 0 20px 60px rgba(0, 0, 0, 0.45);
  --radius-lg: 28px;
  --radius-md: 20px;
  --radius-sm: 14px;
  --shell: min(1180px, calc(100vw - 40px));
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Inter", sans-serif;
  background:
    radial-gradient(circle at top, rgba(122, 140, 255, 0.12), transparent 35%),
    linear-gradient(180deg, #050712 0%, #060816 45%, #04060f 100%);
  color: var(--text);
  min-height: 100vh;
  overflow-x: hidden;
}

body.menu-open {
  overflow: hidden;
}

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

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

button {
  font: inherit;
}

.site-bg,
.site-bg__grid,
.site-bg__glow,
.site-bg__scan {
  position: fixed;
  inset: 0;
  pointer-events: none;
}

.site-bg {
  z-index: -1;
}

.site-bg__grid {
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.9), transparent 85%);
  animation: gridShift 26s linear infinite;
}

.site-bg__glow {
  filter: blur(50px);
  opacity: 0.4;
}

.site-bg__glow--one {
  width: 28rem;
  height: 28rem;
  background: rgba(115, 227, 255, 0.2);
  top: 10%;
  left: -8%;
  animation: floatBlob 15s ease-in-out infinite;
}

.site-bg__glow--two {
  width: 34rem;
  height: 34rem;
  background: rgba(181, 136, 255, 0.16);
  top: 42%;
  right: -12%;
  animation: floatBlob 18s ease-in-out infinite reverse;
}

.site-bg__scan {
  background: linear-gradient(180deg, transparent 0%, rgba(115, 227, 255, 0.09) 50%, transparent 100%);
  opacity: 0.28;
  transform: translateY(-100%);
  animation: scanline 9s linear infinite;
}

.shell {
  width: var(--shell);
  margin: 0 auto;
}

.shell--narrow {
  width: min(900px, calc(100vw - 40px));
}

.section {
  position: relative;
  padding: 110px 0;
}

section[id] {
  scroll-margin-top: 108px;
}

.section--accent {
  background: linear-gradient(180deg, rgba(12, 18, 39, 0.1), rgba(20, 28, 59, 0.48));
}

.header {
  position: sticky;
  top: 0;
  z-index: 20;
  backdrop-filter: blur(18px);
  background: rgba(5, 7, 18, 0.55);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.header.is-scrolled {
  background: rgba(4, 6, 15, 0.86);
}

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

.brand {
  display: inline-flex;
  align-items: center;
  gap: 14px;
}

.brand img,
.footer__brand img {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  box-shadow: 0 0 32px rgba(115, 227, 255, 0.22);
}

.brand span,
.footer__brand div {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.brand strong,
.footer__brand strong {
  font-family: "Orbitron", sans-serif;
  font-size: 1rem;
  letter-spacing: 0.08em;
}

.brand em {
  font-style: normal;
  color: var(--muted);
  font-size: 0.8rem;
}

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

.nav a {
  color: var(--muted);
  padding: 12px 16px;
  border-radius: 999px;
  border: 1px solid transparent;
  transition: 0.25s ease;
}

.nav a:hover,
.nav a.is-active {
  color: var(--text);
  border-color: rgba(115, 227, 255, 0.24);
  background: rgba(255, 255, 255, 0.03);
}

.nav__cta {
  color: var(--text) !important;
  background: linear-gradient(135deg, rgba(115, 227, 255, 0.2), rgba(122, 140, 255, 0.24));
  border-color: rgba(115, 227, 255, 0.22) !important;
}

.menu-toggle {
  display: none;
  width: 52px;
  height: 52px;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.03);
  border-radius: 16px;
}

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

.hero {
  padding-top: 72px;
  overflow: clip;
}

.hero__grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 42px;
  align-items: center;
}

.eyebrow,
.section-heading__tag,
.product-card__tag,
.story-card__label {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 14px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: #cfe0ff;
  font-size: 0.85rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  background: rgba(255, 255, 255, 0.04);
}

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

.hero h1,
.section-heading h2,
.contact h2 {
  margin: 20px 0;
  font-family: "Orbitron", sans-serif;
  font-size: clamp(2.8rem, 7vw, 5.5rem);
  line-height: 1.02;
  letter-spacing: -0.03em;
}

.section-heading h2,
.contact h2 {
  font-size: clamp(2rem, 4.2vw, 3.4rem);
}

.hero h1 span {
  color: transparent;
  background: linear-gradient(90deg, var(--gold), #fff, var(--accent));
  -webkit-background-clip: text;
  background-clip: text;
}

.hero__copy,
.section-heading p,
.story-card p,
.service-card p,
.product-card p,
.timeline__item p,
.advantage-card p,
.faq-list p,
.contact p,
.footer__brand p {
  color: var(--muted);
  font-size: 1.02rem;
  line-height: 1.8;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin: 30px 0;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 54px;
  padding: 0 22px;
  border-radius: 999px;
  border: 1px solid transparent;
  font-weight: 600;
  transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
}

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

.button--primary {
  color: #05101f;
  background: linear-gradient(135deg, #f3d396, #73e3ff);
  box-shadow: 0 12px 34px rgba(115, 227, 255, 0.25);
}

.button--ghost {
  border-color: rgba(255, 255, 255, 0.16);
  background: rgba(255, 255, 255, 0.03);
}

.hero__highlights {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 12px;
}

.hero__highlights li,
.service-card li {
  color: #dce7ff;
  position: relative;
  padding-left: 22px;
}

.hero__highlights li::before,
.service-card li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.72em;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--gold), var(--accent));
  box-shadow: 0 0 16px rgba(115, 227, 255, 0.4);
}

.hero__visual {
  display: flex;
  justify-content: center;
}

.command-deck {
  position: relative;
  width: min(540px, 100%);
  aspect-ratio: 1 / 1;
  border-radius: 42px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background:
    linear-gradient(155deg, rgba(255, 255, 255, 0.14), rgba(255, 255, 255, 0.03) 35%, rgba(8, 12, 28, 0.96)),
    linear-gradient(135deg, rgba(115, 227, 255, 0.16), rgba(122, 140, 255, 0.06));
  box-shadow: var(--shadow);
  overflow: hidden;
}

.command-deck::before,
.command-deck::after {
  content: "";
  position: absolute;
  inset: 18px;
  border-radius: 28px;
  border: 1px solid rgba(255, 255, 255, 0.05);
}

.command-deck::after {
  inset: auto -10% 20%;
  height: 18%;
  background: linear-gradient(90deg, transparent, rgba(115, 227, 255, 0.08), transparent);
  filter: blur(8px);
  transform: rotate(-8deg);
  animation: beamSlide 8s linear infinite;
}

.command-deck__ring,
.command-deck__core,
.intel-card,
.signal-bar {
  position: absolute;
}

.command-deck__ring {
  border: 1px solid rgba(115, 227, 255, 0.16);
  border-radius: 50%;
}

.command-deck__ring--outer {
  inset: 13%;
  animation: spinSlow 18s linear infinite;
}

.command-deck__ring--inner {
  inset: 27%;
  border-style: dashed;
  animation: spinSlow 12s linear infinite reverse;
}

.command-deck__core {
  inset: 35%;
  border-radius: 50%;
  display: grid;
  place-items: center;
  text-align: center;
  background: radial-gradient(circle, rgba(115, 227, 255, 0.24), rgba(11, 16, 35, 0.92) 70%);
  box-shadow: inset 0 0 45px rgba(115, 227, 255, 0.15), 0 0 45px rgba(115, 227, 255, 0.14);
}

.command-deck__core span {
  display: block;
  color: var(--muted);
  font-size: 0.82rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.command-deck__core strong {
  display: block;
  margin-top: 8px;
  font-family: "Orbitron", sans-serif;
  font-size: clamp(1.1rem, 2vw, 1.55rem);
}

.intel-card {
  width: 42%;
  padding: 18px;
  border-radius: 18px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.09), rgba(12, 18, 39, 0.84));
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.28);
}

.intel-card p {
  margin: 0 0 10px;
  color: var(--muted);
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
}

.intel-card h2 {
  margin: 0;
  font-size: 1rem;
  line-height: 1.45;
}

.intel-card--top {
  top: 10%;
  right: 8%;
}

.intel-card--left {
  left: 6%;
  bottom: 15%;
}

.intel-card--right {
  right: 4%;
  bottom: 7%;
}

.signal-bar {
  left: 10%;
  top: 16%;
  display: flex;
  gap: 10px;
}

.signal-bar span {
  display: block;
  width: 10px;
  height: 42px;
  border-radius: 999px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.08), rgba(115, 227, 255, 0.9));
  animation: signalPulse 1.2s ease-in-out infinite;
}

.signal-bar span:nth-child(2) { animation-delay: 0.15s; }
.signal-bar span:nth-child(3) { animation-delay: 0.3s; }
.signal-bar span:nth-child(4) { animation-delay: 0.45s; }
.signal-bar span:nth-child(5) { animation-delay: 0.6s; }

.ticker {
  overflow: hidden;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  background: rgba(255, 255, 255, 0.02);
}

.ticker__track {
  display: flex;
  width: max-content;
  gap: 20px;
  padding: 18px 0;
  animation: marquee 22s linear infinite;
}

.ticker__track span {
  font-family: "Orbitron", sans-serif;
  color: #d7e4ff;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  white-space: nowrap;
}

.ticker__track span::after {
  content: "✦";
  margin-left: 20px;
  color: var(--gold);
}

.section-heading {
  max-width: 860px;
  margin-bottom: 40px;
}

.split-panel,
.contact__panel {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 24px;
}

.story-card,
.service-card,
.product-card,
.timeline__item,
.advantage-card,
.contact__panel,
.faq-list details,
.mini-card {
  position: relative;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.08), rgba(8, 12, 28, 0.9));
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
}

.story-card,
.contact__panel {
  padding: 34px;
}

.mini-grid,
.card-grid,
.product-lane,
.advantage-grid {
  display: grid;
  gap: 22px;
}

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

.mini-card {
  padding: 24px;
  min-height: 200px;
}

.mini-card span,
.timeline__item span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: rgba(115, 227, 255, 0.12);
  color: var(--accent);
  font-family: "Orbitron", sans-serif;
  margin-bottom: 18px;
}

.mini-card h3,
.story-card h3,
.service-card h3,
.product-card h3,
.timeline__item h3,
.advantage-card h3,
.contact__details h3 {
  margin: 0 0 12px;
  font-size: 1.3rem;
}

.card-grid--triple,
.card-grid--quad,
.product-lane,
.advantage-grid {
  grid-template-columns: repeat(3, 1fr);
}

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

.service-card,
.product-card,
.advantage-card,
.timeline__item {
  padding: 28px;
}

.service-card__icon {
  display: inline-grid;
  place-items: center;
  width: 52px;
  height: 52px;
  border-radius: 16px;
  margin-bottom: 18px;
  font-family: "Orbitron", sans-serif;
  color: #06111e;
  background: linear-gradient(135deg, var(--gold), var(--accent));
}

.service-card ul {
  list-style: none;
  padding: 0;
  margin: 22px 0 0;
  display: grid;
  gap: 12px;
}

.timeline {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-bottom: 30px;
}

.advantage-grid {
  margin-top: 24px;
  grid-template-columns: repeat(4, 1fr);
}

.faq-list {
  display: grid;
  gap: 16px;
}

.faq-list details {
  padding: 24px 26px;
}

.faq-list summary {
  cursor: pointer;
  list-style: none;
  font-weight: 700;
  font-size: 1.05rem;
}

.faq-list summary::-webkit-details-marker {
  display: none;
}

.faq-list details p {
  margin: 14px 0 0;
}

.contact {
  padding-top: 40px;
}

.contact__panel {
  overflow: hidden;
}

.contact__panel::before {
  content: "";
  position: absolute;
  inset: auto -20% -40% auto;
  width: 320px;
  height: 320px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(115, 227, 255, 0.18), transparent 65%);
}

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

.contact__details article {
  padding: 20px 22px;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.contact__details p,
.footer__meta span {
  margin: 0 0 8px;
  color: var(--muted);
  font-size: 0.84rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.footer {
  padding: 0 0 36px;
}

.footer__inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  padding-top: 22px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.footer__brand {
  display: flex;
  align-items: center;
  gap: 14px;
}

.footer__meta {
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.footer__meta a {
  color: var(--muted);
  font-size: 0.84rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  transition: color 0.25s ease;
}

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

.legal-hero {
  padding: 70px 0 34px;
}

.legal-page {
  padding-top: 0;
}

.legal-heading {
  max-width: 860px;
}

.legal-heading h1 {
  margin: 20px 0;
  font-family: "Orbitron", sans-serif;
  font-size: clamp(2.2rem, 5vw, 4rem);
  line-height: 1.05;
  letter-spacing: -0.03em;
}

.legal-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 26px;
}

.legal-meta span {
  display: inline-flex;
  align-items: center;
  padding: 10px 14px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.03);
  color: #dce7ff;
  font-size: 0.9rem;
}

.legal-stack {
  display: grid;
  gap: 22px;
}

.legal-card {
  padding: 34px;
}

.legal-card h2 {
  margin: 0 0 16px;
  font-family: "Orbitron", sans-serif;
  font-size: 1.5rem;
  letter-spacing: 0.02em;
}

.legal-card h3 {
  margin: 24px 0 10px;
  font-size: 1.04rem;
}

.legal-card p,
.legal-card li {
  color: var(--muted);
  line-height: 1.8;
}

.legal-card a {
  color: var(--accent);
}

.legal-card ul {
  margin: 14px 0 0;
  padding-left: 22px;
}

.legal-card li + li {
  margin-top: 10px;
}

.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

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

@keyframes gridShift {
  from { transform: translateY(0); }
  to { transform: translateY(72px); }
}

@keyframes floatBlob {
  0%, 100% { transform: translate3d(0, 0, 0); }
  50% { transform: translate3d(30px, -24px, 0); }
}

@keyframes scanline {
  0% { transform: translateY(-100%); }
  100% { transform: translateY(100%); }
}

@keyframes beamSlide {
  0% { transform: translateX(-10%) rotate(-8deg); }
  100% { transform: translateX(40%) rotate(-8deg); }
}

@keyframes spinSlow {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

@keyframes signalPulse {
  0%, 100% { transform: scaleY(0.55); opacity: 0.45; }
  50% { transform: scaleY(1); opacity: 1; }
}

@keyframes marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

@media (max-width: 1100px) {
  .hero__grid,
  .split-panel,
  .contact__panel,
  .timeline,
  .advantage-grid,
  .card-grid--triple,
  .card-grid--quad,
  .product-lane {
    grid-template-columns: repeat(2, 1fr);
  }

  .split-panel,
  .contact__panel,
  .hero__grid {
    align-items: stretch;
  }
}

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

  .nav {
    position: absolute;
    top: calc(100% + 10px);
    left: 20px;
    right: 20px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    padding: 18px;
    border-radius: 22px;
    background: rgba(8, 12, 28, 0.96);
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: var(--shadow);
  }

  .nav.is-open {
    display: flex;
  }

  .hero__grid,
  .split-panel,
  .contact__panel,
  .timeline,
  .advantage-grid,
  .card-grid--triple,
  .card-grid--quad,
  .product-lane,
  .mini-grid {
    grid-template-columns: 1fr;
  }

  .section {
    padding: 88px 0;
  }

  .hero {
    padding-top: 46px;
  }

  .hero__content {
    order: 1;
  }

  .hero__visual {
    order: 2;
  }

  .command-deck {
    aspect-ratio: auto;
    min-height: 480px;
  }

  .intel-card {
    width: calc(100% - 36px);
  }

  .intel-card--top {
    top: 6%;
    left: 18px;
    right: 18px;
  }

  .intel-card--left {
    left: 18px;
    bottom: 22%;
  }

  .intel-card--right {
    right: 18px;
    bottom: 6%;
  }

  .footer__inner {
    flex-direction: column;
    align-items: flex-start;
  }

  .footer__meta {
    justify-content: flex-start;
  }

  .legal-hero {
    padding-top: 42px;
  }
}

@media (max-width: 560px) {
  .shell,
  .shell--narrow {
    width: min(100vw - 24px, 100%);
  }

  .nav-shell {
    min-height: 74px;
  }

  .brand img,
  .footer__brand img {
    width: 44px;
    height: 44px;
  }

  .story-card,
  .service-card,
  .product-card,
  .timeline__item,
  .advantage-card,
  .contact__panel,
  .faq-list details,
  .mini-card {
    padding: 22px;
  }

  .hero__actions {
    flex-direction: column;
  }

  .button {
    width: 100%;
  }

  .legal-card {
    padding: 22px;
  }

  .legal-meta {
    flex-direction: column;
  }

  .command-deck {
    min-height: 430px;
  }

  .signal-bar {
    left: 18px;
    top: 18px;
  }
}