:root {
  --background: #05070a;
  --surface: #0b1118;
  --text: #f8fafc;
  --text-secondary: #a7b0be;
  --accent: #38d5e8;
  --border: rgba(255, 255, 255, 0.08);
  --header-height: 72px;
  --max-width: 1120px;
  --content-width: 720px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-height) + 32px);
}

body {
  margin: 0;
  min-width: 320px;
  background:
    radial-gradient(circle at 72% 12%, rgba(56, 213, 232, 0.08), transparent 30rem),
    var(--background);
  color: var(--text);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.6;
}

body.nav-open {
  overflow: hidden;
}

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

button,
input,
textarea {
  font: inherit;
}

button {
  cursor: pointer;
}

:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 4px;
}

.skip-link {
  position: fixed;
  left: 1rem;
  top: 1rem;
  z-index: 20;
  transform: translateY(-150%);
  background: var(--accent);
  color: #041014;
  padding: 0.75rem 1rem;
  font-weight: 700;
}

.skip-link:focus {
  transform: translateY(0);
}

.container {
  width: min(100% - 2rem, var(--max-width));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  height: var(--header-height);
  border-bottom: 1px solid var(--border);
  background: rgba(5, 7, 10, 0.82);
  backdrop-filter: blur(18px);
}

.nav {
  width: min(100% - 2rem, var(--max-width));
  height: 100%;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.brand {
  font-size: 1.05rem;
  font-weight: 750;
  letter-spacing: 0;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.nav-menu a {
  color: var(--text-secondary);
  font-size: 0.92rem;
  transition: color 180ms ease;
}

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

.nav-toggle {
  display: none;
  width: 2.75rem;
  height: 2.75rem;
  padding: 0;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: transparent;
}

.nav-toggle span {
  display: block;
  width: 1.1rem;
  height: 2px;
  margin: 5px auto;
  border-radius: 999px;
  background: var(--text);
  transition: transform 180ms ease, opacity 180ms ease;
}

.nav-toggle[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.nav-toggle[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}

.nav-toggle[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

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

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 420px);
  align-items: center;
  gap: 5rem;
}

.hero-copy {
  max-width: var(--content-width);
}

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

h1,
h2,
h3 {
  color: var(--text);
  line-height: 1.04;
  letter-spacing: 0;
}

h1 {
  max-width: 760px;
  margin-bottom: 1.5rem;
  font-size: clamp(4rem, 10vw, 8rem);
  font-weight: 760;
}

h2 {
  max-width: var(--content-width);
  margin-bottom: 1rem;
  font-size: clamp(2.25rem, 5vw, 4.4rem);
  font-weight: 720;
}

h3 {
  margin-bottom: 0.55rem;
  font-size: 1.05rem;
  font-weight: 700;
}

p {
  color: var(--text-secondary);
}

.hero-text {
  max-width: var(--content-width);
  margin-bottom: 2rem;
  font-size: clamp(1.08rem, 2vw, 1.35rem);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 3rem;
  padding: 0.85rem 1.1rem;
  border: 1px solid var(--border);
  border-radius: 999px;
  font-weight: 700;
  line-height: 1;
  transition: background-color 180ms ease, border-color 180ms ease, color 180ms ease, transform 180ms ease;
}

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

.button-primary {
  border-color: var(--accent);
  background: var(--accent);
  color: #031114;
}

.button-secondary {
  color: var(--text);
  background: rgba(255, 255, 255, 0.02);
}

.button-secondary:hover {
  border-color: rgba(56, 213, 232, 0.45);
}

.hero-visual {
  min-height: 280px;
  display: flex;
  align-items: center;
}

.product-surface {
  position: relative;
  width: 100%;
  height: 168px;
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: 8px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.035), transparent),
    linear-gradient(90deg, #070b10, var(--surface) 45%, #070b10);
  box-shadow: 0 28px 80px rgba(0, 0, 0, 0.32);
}

.product-surface::before {
  content: "";
  position: absolute;
  left: 9%;
  right: 9%;
  top: 50%;
  height: 1px;
  background: rgba(255, 255, 255, 0.14);
}

.surface-line {
  position: absolute;
  left: 14%;
  right: 14%;
  top: 50%;
  height: 42px;
  transform: translateY(-50%);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.light-beam {
  position: absolute;
  inset: -30% 40% -30% auto;
  width: 72px;
  background: linear-gradient(90deg, transparent, rgba(56, 213, 232, 0.12), rgba(56, 213, 232, 0.72), rgba(56, 213, 232, 0.12), transparent);
  filter: blur(1px);
  transform: rotate(12deg);
  animation: beamMove 5.5s ease-in-out infinite;
}

.hero-note {
  max-width: var(--content-width);
  margin-top: 4rem;
  color: var(--text);
  font-size: 0.95rem;
}

.section {
  padding: 7rem 0;
  border-top: 1px solid var(--border);
}

.section-copy {
  max-width: var(--content-width);
}

.section-copy p {
  font-size: 1.08rem;
}

.section-label {
  display: inline-block;
  margin-bottom: 1rem;
  color: var(--accent);
  font-size: 0.76rem;
  font-weight: 760;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.card-grid {
  display: grid;
  gap: 1rem;
  margin-top: 3rem;
}

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

.card,
.application-item {
  border: 1px solid var(--border);
  border-radius: 8px;
  background: rgba(11, 17, 24, 0.72);
  transition: border-color 180ms ease, background-color 180ms ease, transform 180ms ease;
}

.card:hover,
.application-item:hover {
  border-color: rgba(56, 213, 232, 0.28);
  background: rgba(11, 17, 24, 0.98);
  transform: translateY(-2px);
}

.card {
  min-height: 168px;
  padding: 1.35rem;
}

.card p,
.application-item p {
  margin-bottom: 0;
}

.application-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
  margin-top: 3rem;
}

.application-item {
  padding: 1.2rem 1.25rem;
}

.pilot-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 420px);
  gap: 5rem;
  align-items: start;
}

.pilot-note {
  margin-top: 1.5rem;
  color: var(--text);
}

.pilot-steps {
  list-style: none;
  margin: 0;
  padding: 0;
  counter-reset: step;
  border-top: 1px solid var(--border);
}

.pilot-steps li {
  counter-increment: step;
  display: grid;
  grid-template-columns: 2.5rem 1fr;
  gap: 1rem;
  padding: 1.25rem 0;
  border-bottom: 1px solid var(--border);
  color: var(--text);
}

.pilot-steps li::before {
  content: counter(step, decimal-leading-zero);
  color: var(--accent);
  font-size: 0.82rem;
  font-weight: 760;
}

.contact-section {
  background: linear-gradient(180deg, rgba(11, 17, 24, 0.52), transparent);
}

.contact-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 500px);
  gap: 5rem;
  align-items: start;
}

.contact-form {
  display: grid;
  gap: 1rem;
  padding: 1.25rem;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: rgba(11, 17, 24, 0.72);
}

label span {
  display: block;
  margin-bottom: 0.45rem;
  color: var(--text-secondary);
  font-size: 0.88rem;
}

input,
textarea {
  width: 100%;
  min-height: 3rem;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: rgba(5, 7, 10, 0.72);
  color: var(--text);
  padding: 0.82rem 0.9rem;
  transition: border-color 180ms ease, box-shadow 180ms ease;
}

textarea {
  resize: vertical;
}

input:focus,
textarea:focus {
  outline: 0;
  border-color: rgba(56, 213, 232, 0.62);
  box-shadow: 0 0 0 4px rgba(56, 213, 232, 0.1);
}

.contact-form .button {
  justify-self: start;
}

.footer {
  border-top: 1px solid var(--border);
  padding: 2.5rem 0;
}

.footer-inner {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 2rem;
}

.footer p {
  margin: 0.4rem 0 0;
  font-size: 0.95rem;
}

.footer-inner > p {
  margin-top: 0;
  text-align: right;
}

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

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

@keyframes beamMove {
  0%,
  100% {
    right: 58%;
    opacity: 0.55;
  }

  50% {
    right: 24%;
    opacity: 0.95;
  }
}

@media (max-width: 900px) {
  .hero {
    padding-top: 5.5rem;
  }

  .hero-grid,
  .pilot-layout,
  .contact-layout {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

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

  .three-columns,
  .application-list {
    grid-template-columns: 1fr;
  }

  .section {
    padding: 5.5rem 0;
  }
}

@media (max-width: 640px) {
  :root {
    --header-height: 66px;
  }

  .nav-toggle {
    display: block;
  }

  .nav-menu {
    position: fixed;
    left: 0;
    right: 0;
    top: var(--header-height);
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 0.75rem 1rem 1rem;
    border-bottom: 1px solid var(--border);
    background: rgba(5, 7, 10, 0.97);
  }

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

  .nav-menu a {
    padding: 0.9rem 0;
  }

  .hero {
    padding: 4.25rem 0 4.75rem;
  }

  h1 {
    font-size: clamp(3.25rem, 18vw, 4.75rem);
  }

  h2 {
    font-size: clamp(2rem, 12vw, 3rem);
  }

  .hero-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .button {
    width: 100%;
  }

  .product-surface {
    height: 140px;
  }

  .hero-note {
    margin-top: 2.75rem;
  }

  .section {
    padding: 4.5rem 0;
  }

  .footer-inner {
    flex-direction: column;
  }

  .footer-inner > p {
    text-align: left;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }
}
