:root {
  --bg: #07111d;
  --bg-deep: #03070d;
  --panel: rgba(7, 17, 29, 0.72);
  --panel-strong: rgba(7, 17, 29, 0.9);
  --line: rgba(145, 201, 255, 0.22);
  --line-bright: rgba(145, 201, 255, 0.58);
  --text: #f2f7fb;
  --muted: #a9bdd0;
  --accent: #8bd0ff;
  --accent-strong: #dff5ff;
  --shadow: 0 24px 80px rgba(0, 0, 0, 0.45);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  background:
    radial-gradient(circle at top, rgba(139, 208, 255, 0.14), transparent 30%),
    linear-gradient(180deg, #091321 0%, #040810 100%);
  color: var(--text);
  font-family: "Barlow", sans-serif;
}

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

.hero {
  position: relative;
  min-height: 100vh;
  overflow: clip;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 2rem;
  gap: 2rem;
}

.video-shell,
.hero-video,
.video-tint,
.video-grid,
.video-glow {
  position: absolute;
  inset: 0;
}

.video-shell {
  overflow: hidden;
}

.hero-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.8) brightness(0.58) contrast(1.08);
}

.video-tint {
  background:
    linear-gradient(115deg, rgba(3, 7, 13, 0.86) 20%, rgba(3, 7, 13, 0.3) 58%, rgba(3, 7, 13, 0.82) 100%),
    radial-gradient(circle at 62% 22%, rgba(139, 208, 255, 0.18), transparent 18%);
}

.video-grid {
  background-image:
    linear-gradient(rgba(145, 201, 255, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(145, 201, 255, 0.05) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.85), rgba(0, 0, 0, 0.25));
}

.video-glow {
  background:
    linear-gradient(180deg, transparent, rgba(0, 0, 0, 0.28)),
    radial-gradient(circle at 54% 15%, rgba(139, 208, 255, 0.28), transparent 14%);
  animation: pulse 8s ease-in-out infinite;
}

.content {
  position: relative;
  z-index: 1;
  width: min(720px, 100%);
  padding: 2rem;
  border: 1px solid var(--line);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.04), transparent 20%),
    var(--panel);
  backdrop-filter: blur(10px);
  box-shadow: var(--shadow);
}

.content-top {
  margin-top: 1rem;
  align-self: flex-start;
}

.content-bottom {
  margin-top: auto;
  align-self: flex-end;
}

.eyebrow {
  margin: 0 0 1rem;
  color: var(--accent);
  font-family: "Orbitron", sans-serif;
  font-size: 0.85rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
}

h1 {
  margin: 0;
  font-family: "Orbitron", sans-serif;
  font-size: clamp(3rem, 8vw, 6rem);
  line-height: 0.96;
  text-transform: uppercase;
  text-wrap: balance;
}

.lead {
  max-width: 38rem;
  margin: 1.25rem 0 0;
  color: var(--muted);
  font-size: clamp(1.05rem, 2vw, 1.3rem);
  line-height: 1.5;
}

.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: 2rem;
}

.button {
  min-width: 14rem;
  padding: 0.95rem 1.4rem;
  border: 1px solid var(--line-bright);
  font-weight: 700;
  font-size: 1rem;
  letter-spacing: 0.04em;
  text-align: center;
  transition:
    transform 180ms ease,
    background-color 180ms ease,
    border-color 180ms ease,
    box-shadow 180ms ease;
}

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

.button-primary {
  background: linear-gradient(135deg, rgba(139, 208, 255, 0.2), rgba(223, 245, 255, 0.08));
  box-shadow: inset 0 0 0 1px rgba(223, 245, 255, 0.12);
}

.button-secondary {
  background: rgba(7, 17, 29, 0.5);
}

.service-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  margin: 2rem 0 0;
  padding: 0;
  list-style: none;
}

.service-list li {
  padding: 0.65rem 0.9rem;
  border: 1px solid rgba(145, 201, 255, 0.16);
  background: rgba(255, 255, 255, 0.03);
  color: var(--accent-strong);
  font-size: 0.98rem;
}

.story-panel {
  margin-top: 2rem;
  max-width: 38rem;
}

.panel-line {
  width: min(12rem, 38vw);
  height: 3px;
  margin-bottom: 1rem;
  background: linear-gradient(90deg, var(--accent), transparent);
  box-shadow: 0 0 18px rgba(139, 208, 255, 0.6);
}

.story-panel p {
  margin: 0;
  color: #d7e3ef;
  font-size: 1rem;
  line-height: 1.6;
}

.site-footer {
  position: relative;
  z-index: 1;
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.5rem;
  justify-content: space-between;
  padding: 1rem 2rem 1.5rem;
  margin-top: -1.5rem;
  color: rgba(242, 247, 251, 0.8);
  font-size: 0.95rem;
}

.site-footer p {
  margin: 0;
}

@keyframes pulse {
  0%,
  100% {
    opacity: 0.6;
  }

  50% {
    opacity: 1;
  }
}

@media (max-width: 720px) {
  .hero {
    padding: 1rem;
    justify-content: flex-start;
  }

  .content {
    padding: 1.35rem;
    width: 100%;
  }

  .content-top,
  .content-bottom {
    margin-top: 0;
    align-self: stretch;
  }

  .site-footer {
    margin-top: 0;
    padding: 1rem;
    justify-content: flex-start;
  }

  .button {
    width: 100%;
  }
}

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

  .video-glow,
  .button {
    animation: none;
    transition: none;
  }
}
