:root {
  --bg: #f7faff;
  --ink: #07111f;
  --muted: #586577;
  --line: rgba(11, 44, 94, 0.12);
  --blue: #0d4df2;
  --blue-dark: #0831a5;
  --cyan: #6fdcff;
  --white: #ffffff;
  --shadow: 0 28px 80px rgba(7, 17, 31, 0.14);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  min-height: 100vh;
  margin: 0;
  overflow-x: hidden;
  color: var(--ink);
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    sans-serif;
  background:
    radial-gradient(circle at 15% 15%, rgba(13, 77, 242, 0.12), transparent 28rem),
    radial-gradient(circle at 82% 8%, rgba(111, 220, 255, 0.18), transparent 24rem),
    linear-gradient(135deg, #ffffff 0%, var(--bg) 48%, #edf4ff 100%);
}

a {
  color: inherit;
}

img,
video {
  display: block;
  max-width: 100%;
}

.page-shell {
  position: relative;
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  padding: 32px 0 56px;
  overflow: hidden;
}

.ambient {
  position: absolute;
  z-index: -1;
  border-radius: 999px;
  filter: blur(2px);
  opacity: 0.72;
}

.ambient-one {
  top: 90px;
  right: 7%;
  width: 210px;
  height: 210px;
  border: 1px solid rgba(13, 77, 242, 0.18);
  animation: drift 9s ease-in-out infinite;
}

.ambient-two {
  left: 5%;
  bottom: 180px;
  width: 120px;
  height: 120px;
  background: rgba(13, 77, 242, 0.07);
  animation: drift 11s ease-in-out infinite reverse;
}

.hero,
.contact-panel {
  border: 1px solid var(--line);
  border-radius: 34px;
  background: rgba(255, 255, 255, 0.78);
  box-shadow: var(--shadow);
  backdrop-filter: blur(22px);
}

.hero {
  min-height: calc(100vh - 64px);
  padding: 26px;
}

.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding-bottom: 28px;
}

.brand img {
  width: clamp(220px, 28vw, 460px);
  height: auto;
}

.header-link {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0 18px;
  border: 1px solid rgba(13, 77, 242, 0.18);
  border-radius: 999px;
  color: var(--blue-dark);
  font-size: 0.92rem;
  font-weight: 700;
  text-decoration: none;
  background: rgba(255, 255, 255, 0.7);
  transition:
    transform 180ms ease,
    border-color 180ms ease,
    background 180ms ease;
}

.header-link:hover {
  transform: translateY(-2px);
  border-color: rgba(13, 77, 242, 0.38);
  background: var(--white);
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr;
  align-items: center;
  gap: clamp(24px, 4vw, 46px);
  padding: clamp(20px, 4vw, 46px) clamp(4px, 3vw, 32px) 34px;
}

.hero-copy {
  max-width: 980px;
  margin: 0 auto;
  text-align: center;
}

.eyebrow {
  margin: 0 0 16px;
  color: var(--blue);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

h1,
h2 {
  margin: 0;
  color: var(--ink);
  line-height: 0.95;
  letter-spacing: -0.07em;
}

h1 {
  max-width: 980px;
  font-size: clamp(2.75rem, 6.3vw, 6.25rem);
  text-transform: uppercase;
}

h2 {
  max-width: 560px;
  font-size: clamp(2.2rem, 5vw, 5.4rem);
}

.hero-lead {
  max-width: 570px;
  margin: 26px auto 0;
  color: var(--muted);
  font-size: clamp(1.02rem, 1.35vw, 1.28rem);
  line-height: 1.65;
}

.coming-soon {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-top: 28px;
  padding: 15px 24px;
  border-radius: 999px;
  color: var(--white);
  font-size: clamp(1rem, 1.8vw, 1.35rem);
  font-weight: 900;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  background: linear-gradient(135deg, var(--blue), #062b94);
  box-shadow: 0 18px 40px rgba(13, 77, 242, 0.28);
}

.coming-soon span {
  display: inline-block;
}

.video-card {
  position: relative;
  isolation: isolate;
  width: min(100%, 900px);
  margin: 0 auto;
  padding: 14px;
  border: 1px solid rgba(13, 77, 242, 0.28);
  border-radius: 34px;
  background:
    linear-gradient(135deg, rgba(13, 77, 242, 0.2), rgba(111, 220, 255, 0.18)),
    var(--white);
  box-shadow: 0 36px 90px rgba(13, 77, 242, 0.2);
  animation: reveal 800ms ease both;
}

.video-card::before,
.video-card::after {
  position: absolute;
  z-index: -1;
  content: "";
}

.video-card::before {
  inset: -18px;
  border-radius: 42px;
  background:
    linear-gradient(90deg, transparent 47%, rgba(13, 77, 242, 0.18) 48% 52%, transparent 53%),
    linear-gradient(0deg, transparent 47%, rgba(13, 77, 242, 0.12) 48% 52%, transparent 53%);
  opacity: 0.7;
}

.video-card::after {
  top: 12%;
  right: -11%;
  width: 160px;
  height: 160px;
  border: 1px dashed rgba(13, 77, 242, 0.45);
  border-radius: 999px;
  animation: spin 16s linear infinite;
}

.video-card video {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: contain;
  border-radius: 24px;
  background: #ffffff;
}

.video-orbit {
  position: absolute;
  left: -44px;
  top: 18%;
  width: 92px;
  height: 92px;
  border: 1px solid rgba(13, 77, 242, 0.18);
  border-radius: 999px;
  background:
    radial-gradient(circle, var(--blue) 0 8px, transparent 9px),
    radial-gradient(circle, rgba(13, 77, 242, 0.16), transparent 62%);
  animation: pulse 2.8s ease-in-out infinite;
}

.capabilities {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  padding: 24px clamp(4px, 3vw, 32px) 6px;
  border-top: 1px solid var(--line);
}

.capabilities article {
  min-height: 128px;
  padding: 18px;
  border: 1px solid rgba(13, 77, 242, 0.12);
  border-radius: 22px;
  text-align: center;
  background: rgba(255, 255, 255, 0.64);
  transition:
    transform 180ms ease,
    box-shadow 180ms ease;
}

.capabilities article:hover {
  transform: translateY(-4px);
  box-shadow: 0 18px 36px rgba(7, 17, 31, 0.08);
}

.capabilities img {
  width: 44px;
  height: 44px;
  margin-right: auto;
  margin-bottom: 12px;
  margin-left: auto;
  border-radius: 13px;
}

.capabilities strong {
  display: block;
  margin-bottom: 5px;
  color: var(--ink);
  font-size: 0.86rem;
  text-transform: uppercase;
}

.capabilities span {
  color: var(--muted);
  font-size: 0.86rem;
  line-height: 1.4;
}

.contact-panel {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(320px, 0.9fr);
  gap: clamp(24px, 5vw, 64px);
  margin-top: 24px;
  padding: clamp(24px, 5vw, 58px);
}

.contact-panel p {
  max-width: 560px;
  color: var(--muted);
  font-size: 1.03rem;
  line-height: 1.7;
}

.contact-panel a {
  color: var(--blue);
  font-weight: 800;
  text-decoration: none;
}

.contact-form {
  display: grid;
  gap: 14px;
}

.contact-form label {
  display: grid;
  gap: 8px;
}

.contact-form span {
  color: var(--ink);
  font-size: 0.82rem;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  border: 1px solid rgba(13, 77, 242, 0.18);
  border-radius: 18px;
  padding: 15px 16px;
  color: var(--ink);
  font: inherit;
  background: rgba(255, 255, 255, 0.86);
  outline: none;
  transition:
    border-color 180ms ease,
    box-shadow 180ms ease,
    background 180ms ease;
}

.contact-form textarea {
  resize: vertical;
}

.contact-form input:focus,
.contact-form textarea:focus {
  border-color: rgba(13, 77, 242, 0.72);
  background: var(--white);
  box-shadow: 0 0 0 4px rgba(13, 77, 242, 0.1);
}

.contact-form button {
  min-height: 54px;
  border: 0;
  border-radius: 18px;
  color: var(--white);
  font: inherit;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  cursor: pointer;
  background: linear-gradient(135deg, var(--blue), var(--blue-dark));
  box-shadow: 0 18px 38px rgba(13, 77, 242, 0.28);
  transition:
    transform 180ms ease,
    box-shadow 180ms ease,
    opacity 180ms ease;
}

.contact-form button:hover {
  transform: translateY(-2px);
  box-shadow: 0 22px 46px rgba(13, 77, 242, 0.34);
}

.contact-form button:disabled {
  cursor: wait;
  opacity: 0.72;
}

.honeypot {
  position: absolute;
  left: -9999px;
}

.form-status {
  min-height: 24px;
  margin: 0;
  color: var(--blue-dark);
  font-size: 0.95rem;
  font-weight: 800;
}

.form-status.is-error {
  color: #b42318;
}

@keyframes drift {
  0%,
  100% {
    transform: translate3d(0, 0, 0);
  }
  50% {
    transform: translate3d(18px, -18px, 0);
  }
}

@keyframes reveal {
  from {
    opacity: 0;
    transform: translateY(24px) scale(0.98);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

@keyframes pulse {
  0%,
  100% {
    transform: scale(1);
    opacity: 0.72;
  }
  50% {
    transform: scale(1.08);
    opacity: 1;
  }
}

@media (max-width: 860px) {
  .contact-panel {
    grid-template-columns: 1fr;
  }

  .hero-grid {
    padding-top: 18px;
  }

  .capabilities {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 680px) {
  .page-shell {
    width: 100%;
    padding: 9px 9px 32px;
  }

  .hero,
  .contact-panel {
    border-radius: 24px;
  }

  .hero {
    min-height: auto;
    padding: 16px;
  }

  .site-header {
    align-items: center;
    flex-direction: column;
    gap: 14px;
  }

  .hero-grid {
    padding-right: 0;
    padding-left: 0;
  }

  .hero-copy {
    width: 100%;
    max-width: none;
    margin-right: auto;
    margin-left: auto;
  }

  .brand img {
    width: min(100%, 330px);
  }

  .header-link {
    width: 100%;
    justify-content: center;
    font-size: 0.86rem;
  }

  h1 {
    width: 100%;
    max-width: 100%;
    font-size: clamp(2.1rem, 11vw, 3.25rem);
    letter-spacing: -0.06em;
    text-align: center;
    text-wrap: balance;
  }

  .coming-soon {
    width: 100%;
    justify-content: center;
  }

  .coming-soon span {
    text-align: center;
  }

  .video-card {
    border-radius: 24px;
  }

  .video-card::after,
  .video-orbit {
    display: none;
  }

  .video-card video {
    aspect-ratio: 4 / 5;
    border-radius: 17px;
  }

  .capabilities {
    grid-template-columns: 1fr;
    padding-top: 18px;
  }

  .contact-panel {
    padding: 24px 18px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 1ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 1ms !important;
  }
}
