:root {
  --bg0: #070c18;
  --bg1: #0b162c;
  --ink: #f4f7ff;
  --muted: rgba(244, 247, 255, 0.68);
  --accent: #7eb6ff;
  --accent-strong: #c9dcff;
  --line: rgba(255, 255, 255, 0.12);
  --font-display: "Syne", system-ui, sans-serif;
  --font-body: "Manrope", system-ui, sans-serif;
}

* {
  box-sizing: border-box;
}

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

body {
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--bg0);
  overflow-x: hidden;
}

.atmosphere {
  position: fixed;
  inset: 0;
  z-index: 0;
  background:
    radial-gradient(ellipse 90% 60% at 50% -10%, rgba(80, 130, 220, 0.28), transparent 55%),
    radial-gradient(ellipse 50% 40% at 85% 70%, rgba(40, 90, 180, 0.18), transparent 50%),
    radial-gradient(ellipse 40% 35% at 10% 80%, rgba(20, 60, 120, 0.22), transparent 45%),
    linear-gradient(165deg, var(--bg1) 0%, var(--bg0) 55%, #050912 100%);
  animation: drift 18s ease-in-out infinite alternate;
}

.atmosphere::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.05'/%3E%3C/svg%3E");
  opacity: 0.35;
  pointer-events: none;
}

@keyframes drift {
  from {
    transform: scale(1) translateY(0);
  }
  to {
    transform: scale(1.04) translateY(-1.5%);
  }
}

.hero {
  position: relative;
  z-index: 1;
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 2.5rem 1.25rem 3rem;
  gap: 0.75rem;
}

.mark {
  width: 72px;
  height: 72px;
  border-radius: 18px;
  margin-bottom: 0.5rem;
  animation: rise 0.9s cubic-bezier(0.22, 1, 0.36, 1) both;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.35);
}

.brand {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(2.75rem, 9vw, 5.25rem);
  letter-spacing: -0.04em;
  line-height: 0.95;
  animation: rise 0.9s cubic-bezier(0.22, 1, 0.36, 1) 0.08s both;
}

.tagline {
  margin: 0.35rem 0 0;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(1.05rem, 2.6vw, 1.35rem);
  color: var(--accent-strong);
  animation: rise 0.9s cubic-bezier(0.22, 1, 0.36, 1) 0.16s both;
}

.sub {
  margin: 0.35rem 0 0;
  max-width: 28rem;
  font-size: 0.98rem;
  line-height: 1.55;
  color: var(--muted);
  animation: rise 0.9s cubic-bezier(0.22, 1, 0.36, 1) 0.24s both;
}

.sub span[lang="en"] {
  display: block;
  margin-top: 0.35rem;
  font-size: 0.88rem;
  opacity: 0.85;
}

.cta {
  margin-top: 1.75rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.65rem;
  animation: rise 0.9s cubic-bezier(0.22, 1, 0.36, 1) 0.32s both;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 3rem;
  padding: 0.85rem 1.6rem;
  border-radius: 0.55rem;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 1rem;
  text-decoration: none;
  border: 1px solid transparent;
  transition:
    transform 0.2s ease,
    background 0.2s ease,
    border-color 0.2s ease,
    opacity 0.2s ease;
}

.btn-primary {
  background: var(--ink);
  color: var(--bg1);
}

.btn-primary:hover:not(.is-soon) {
  transform: translateY(-2px);
  background: #fff;
}

.btn-primary.is-soon {
  opacity: 0.45;
  cursor: not-allowed;
  pointer-events: none;
  border-color: var(--line);
}

.btn-primary.is-ready {
  opacity: 1;
  pointer-events: auto;
  cursor: pointer;
}

.hint {
  margin: 0;
  font-size: 0.85rem;
  color: var(--muted);
}

@keyframes rise {
  from {
    opacity: 0;
    transform: translateY(18px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (prefers-reduced-motion: reduce) {
  .atmosphere,
  .mark,
  .brand,
  .tagline,
  .sub,
  .cta {
    animation: none;
  }
}
