:root {
  --bg: #070a11;
  --bg-elevated: #0d1320;
  --surface: rgba(12, 18, 31, 0.72);
  --surface-line: rgba(146, 171, 214, 0.24);
  --text: #eef4ff;
  --muted: #b2c0d8;
  --accent: #8bb8ff;
  --accent-strong: #c8dcff;
  --btn-glass: rgba(141, 172, 224, 0.16);
  --btn-glass-hover: rgba(157, 188, 237, 0.22);
  --btn-solid-start: #9bc2ff;
  --btn-solid-end: #85adf0;
  --halo-soft: rgba(114, 164, 245, 0.26);
  --halo-core: rgba(170, 208, 255, 0.34);
  --camera-x: 72%;
  --camera-y: 45%;
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  min-height: 100%;
}

body {
  position: relative;
  overflow-x: hidden;
  background: var(--bg);
  color: var(--text);
  font-family: "Manrope", "Avenir Next", "Segoe UI", sans-serif;
}

.page-bg {
  position: fixed;
  inset: 0;
  z-index: -2;
  background:
    radial-gradient(1200px 680px at 16% -8%, rgba(111, 159, 238, 0.2), transparent 56%),
    radial-gradient(900px 520px at 92% 6%, rgba(87, 128, 201, 0.17), transparent 55%),
    linear-gradient(180deg, #060911 0%, #080d16 42%, #070a11 100%);
}

.page-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(900px 400px at 50% 100%, rgba(126, 172, 246, 0.09), transparent 72%);
  pointer-events: none;
}

.site-header {
  width: min(1180px, calc(100% - 40px));
  margin: 24px auto 0;
  height: 62px;
  border: 1px solid var(--surface-line);
  background: var(--surface);
  backdrop-filter: blur(16px);
  border-radius: 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 18px;
}

.brand-chip {
  font-family: "Sora", "Manrope", sans-serif;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  font-size: 13px;
  color: var(--accent-strong);
}

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

.site-nav a {
  color: var(--muted);
  text-decoration: none;
  font-size: 14px;
  transition: color 180ms ease;
}

.site-nav a:hover {
  color: #f5f9ff;
}

.hero {
  width: min(1180px, calc(100% - 40px));
  margin: 28px auto 0;
  min-height: calc(100vh - 160px);
  display: grid;
  grid-template-columns: minmax(0, 1.06fr) minmax(0, 0.94fr);
  align-items: center;
  gap: clamp(20px, 4vw, 56px);
  padding-bottom: 56px;
}

.eyebrow {
  margin: 0 0 18px;
  font-family: "Sora", "Manrope", sans-serif;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-size: 12px;
  color: rgba(171, 197, 239, 0.92);
}

.hero h1 {
  margin: 0;
  font-family: "Sora", "Manrope", sans-serif;
  font-size: clamp(36px, 5.2vw, 66px);
  line-height: 1.04;
  letter-spacing: -0.02em;
  max-width: 15ch;
  text-wrap: balance;
}

.hero-subtitle {
  margin: 22px 0 0;
  max-width: 56ch;
  font-size: clamp(16px, 1.7vw, 21px);
  line-height: 1.5;
  color: var(--muted);
  text-wrap: pretty;
}

.hero-actions {
  margin-top: 34px;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 20px;
  border-radius: 14px;
  border: 1px solid transparent;
  text-decoration: none;
  font-weight: 600;
  font-size: 15px;
  transition: transform 220ms ease, border-color 220ms ease, background-color 220ms ease, box-shadow 220ms ease;
}

.btn:focus-visible {
  outline: 2px solid rgba(165, 199, 255, 0.9);
  outline-offset: 2px;
}

.btn-glass {
  color: #edf4ff;
  border-color: rgba(150, 182, 233, 0.44);
  background: var(--btn-glass);
  backdrop-filter: blur(8px);
}

.btn-glass:hover {
  transform: translateY(-1px);
  background: var(--btn-glass-hover);
  border-color: rgba(169, 198, 243, 0.66);
}

.btn-solid {
  color: #0a1322;
  border-color: rgba(208, 228, 255, 0.88);
  background: linear-gradient(140deg, var(--btn-solid-start), var(--btn-solid-end));
  box-shadow: 0 14px 38px rgba(119, 168, 242, 0.24);
}

.btn-solid:hover {
  transform: translateY(-1px);
  box-shadow: 0 18px 44px rgba(119, 168, 242, 0.3);
}

.hero-logo-shell {
  position: relative;
  max-width: 620px;
  margin-left: auto;
  isolation: isolate;
  filter: drop-shadow(0 18px 44px rgba(66, 104, 174, 0.18));
  transform: translateY(14px);
  opacity: 0;
}

body.is-ready .hero-logo-shell {
  animation: logoReveal 1150ms cubic-bezier(0.18, 0.78, 0.3, 1) 120ms forwards;
}

.hero-logo-glow {
  position: absolute;
  inset: -16% -10% -18% -10%;
  pointer-events: none;
}

.hero-logo-glow::before,
.hero-logo-glow::after {
  content: "";
  position: absolute;
  border-radius: 999px;
}

.hero-logo-glow::before {
  inset: 14% 11% 12% 11%;
  background: radial-gradient(circle at 50% 48%, var(--halo-soft), transparent 70%);
  filter: blur(14px);
  opacity: 0.88;
}

.hero-logo-glow::after {
  left: calc(var(--camera-x) - 17%);
  top: calc(var(--camera-y) - 19%);
  width: 35%;
  aspect-ratio: 1;
  background: radial-gradient(circle, var(--halo-core) 0%, rgba(129, 179, 255, 0.18) 42%, transparent 72%);
  filter: blur(9px);
  opacity: 0.7;
}

.hero-logo {
  position: relative;
  display: block;
  width: min(100%, 620px);
  height: auto;
  animation: logoFloat 13.5s ease-in-out 1400ms infinite;
  transition: filter 260ms ease;
  user-select: none;
  pointer-events: none;
}

.hero-logo-shell:hover .hero-logo {
  filter: drop-shadow(0 6px 16px rgba(197, 224, 255, 0.24));
}

.hero-logo-shell:hover .hero-logo-glow::before {
  opacity: 1;
}

.hero-logo-shell:hover .hero-logo-glow::after {
  opacity: 0.9;
}

.future-slot {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto 36px;
  border: 1px solid rgba(132, 156, 196, 0.24);
  background: rgba(13, 19, 32, 0.46);
  border-radius: 16px;
  padding: 14px 16px;
}

.future-slot p {
  margin: 0;
  color: #9eafca;
  font-size: 14px;
}

@keyframes logoReveal {
  0% {
    opacity: 0;
    transform: translateY(14px) scale(0.992);
    filter: blur(14px) drop-shadow(0 0 0 rgba(0, 0, 0, 0));
  }
  100% {
    opacity: 1;
    transform: translateY(0) scale(1);
    filter: blur(0) drop-shadow(0 18px 44px rgba(66, 104, 174, 0.18));
  }
}

@keyframes logoFloat {
  0% {
    transform: translate3d(0, 0, 0);
  }
  50% {
    transform: translate3d(0, -3px, 0);
  }
  100% {
    transform: translate3d(0, 0, 0);
  }
}

@media (max-width: 980px) {
  .site-header {
    width: calc(100% - 28px);
    margin-top: 16px;
    height: auto;
    min-height: 56px;
    padding: 12px;
    gap: 10px;
    flex-direction: column;
    align-items: flex-start;
  }

  .site-nav {
    width: 100%;
    gap: 8px;
    flex-wrap: wrap;
  }

  .hero {
    width: calc(100% - 28px);
    margin-top: 24px;
    grid-template-columns: 1fr;
    min-height: auto;
    gap: 26px;
    padding-bottom: 34px;
  }

  .hero h1 {
    max-width: 19ch;
  }

  .hero-subtitle {
    max-width: 60ch;
  }

  .hero-logo-shell {
    max-width: min(560px, 100%);
    margin: 0 auto;
  }
}

@media (max-width: 640px) {
  .hero h1 {
    font-size: clamp(33px, 10.4vw, 48px);
  }

  .hero-subtitle {
    font-size: 16px;
    line-height: 1.45;
  }

  .hero-actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
  }

  .btn {
    width: 100%;
    min-height: 46px;
    font-size: 14px;
  }

  .future-slot {
    width: calc(100% - 28px);
    margin-bottom: 24px;
  }
}

@media (prefers-reduced-motion: reduce) {
  * {
    animation: none !important;
    transition: none !important;
    scroll-behavior: auto !important;
  }

  .hero-logo-shell {
    opacity: 1;
    transform: none;
    filter: drop-shadow(0 18px 44px rgba(66, 104, 174, 0.18));
  }
}
