:root {
  color-scheme: dark;
  --bg: #050816;
  --text: #f7fbff;
  --muted: #a9b5cc;
  --cyan: #5de4ff;
  --violet: #9b7cff;
}

* { box-sizing: border-box; }

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

body {
  background: var(--bg);
  color: var(--text);
  font-family: "Manrope", system-ui, sans-serif;
}

.hero {
  min-height: 100svh;
  position: relative;
  isolation: isolate;
  overflow: hidden;
  display: grid;
  grid-template-rows: auto 1fr auto;
  padding: 34px clamp(28px, 6vw, 104px) 30px;
  background:
    radial-gradient(circle at 78% 48%, rgba(48, 165, 255, .22), transparent 29%),
    radial-gradient(circle at 92% 74%, rgba(149, 72, 255, .2), transparent 32%),
    linear-gradient(125deg, #030713 0%, #081831 52%, #171038 100%);
}

.hero__art {
  position: absolute;
  z-index: -3;
  top: 50%;
  right: clamp(24px, 5vw, 90px);
  width: min(48vw, 720px);
  aspect-ratio: 1;
  border: 1px solid rgba(143, 223, 255, .3);
  border-radius: 50%;
  background: url("assets/atherpass-original-clean.webp") center / cover no-repeat;
  box-shadow:
    0 0 0 10px rgba(92, 211, 255, .025),
    0 0 90px rgba(63, 181, 255, .22),
    40px 35px 100px rgba(145, 72, 255, .17);
  transform: translateY(-50%);
  animation: reveal 1.2s ease-out both;
}

.hero::before {
  content: "";
  position: absolute;
  z-index: -2;
  inset: 0;
  background: linear-gradient(90deg, rgba(3,6,17,.62) 0%, rgba(3,6,17,.28) 43%, transparent 67%), linear-gradient(0deg, rgba(3,6,17,.38), transparent 26%);
}

.hero__noise {
  position: absolute;
  z-index: -1;
  inset: 0;
  opacity: .04;
  pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.8' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.8'/%3E%3C/svg%3E");
}

.header, .footer { display: flex; align-items: center; justify-content: space-between; }

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: inherit;
  font-size: 20px;
  font-weight: 700;
  letter-spacing: -.04em;
  text-decoration: none;
}

.brand b { color: var(--cyan); font-weight: 700; }
.brand__mark {
  width: 38px;
  aspect-ratio: 1;
  border: 1px solid rgba(138,224,255,.55);
  border-radius: 50%;
  background: url("assets/atherpass-original-clean.webp") center 41% / 145% no-repeat;
  box-shadow: 0 0 15px rgba(93,228,255,.28);
}
.header__link { color: #c8d3e8; font-size: 14px; font-weight: 600; text-decoration: none; transition: color .2s; }
.header__link:hover { color: white; }

.content { align-self: center; width: min(620px, 48vw); padding: 50px 0; }

.status {
  display: inline-flex;
  gap: 9px;
  align-items: center;
  margin-bottom: 28px;
  color: #c5d1e5;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.status__dot { width: 7px; height: 7px; border-radius: 50%; background: #5df7a4; box-shadow: 0 0 0 5px rgba(93,247,164,.1), 0 0 16px #5df7a4; }

h1 {
  max-width: 650px;
  margin: 0;
  font-size: clamp(41px, 4.2vw, 70px);
  line-height: .98;
  letter-spacing: -.07em;
  font-weight: 800;
}

h1 span { color: transparent; background: linear-gradient(95deg, #fff 5%, var(--cyan) 55%, var(--violet)); background-clip: text; -webkit-background-clip: text; }
h1 .emoji {
  color: initial;
  background: none;
  font-family: "Apple Color Emoji", "Segoe UI Emoji", "Noto Color Emoji", sans-serif;
  font-style: normal;
  -webkit-text-fill-color: initial;
}

.lead { max-width: 550px; margin: 28px 0 0; color: var(--muted); font-size: clamp(16px, 1.3vw, 19px); line-height: 1.7; }
.actions { display: flex; align-items: center; gap: 22px; margin-top: 38px; }

.button {
  display: inline-flex;
  flex: none;
  align-items: center;
  gap: 14px;
  padding: 16px 20px 16px 24px;
  border: 1px solid rgba(255,255,255,.16);
  border-radius: 14px;
  color: #06101b;
  background: linear-gradient(120deg, #f8ffff, #70e5fa);
  box-shadow: 0 10px 38px rgba(37,193,236,.22);
  font-size: 14px;
  font-weight: 800;
  text-decoration: none;
  transition: transform .2s, box-shadow .2s;
}

.button:hover { transform: translateY(-2px); box-shadow: 0 14px 45px rgba(37,193,236,.34); }
.button svg { width: 18px; fill: none; stroke: currentColor; stroke-linecap: round; stroke-linejoin: round; stroke-width: 1.8; }
.microcopy { max-width: 205px; color: #748199; font-size: 12px; line-height: 1.55; }

.footer { color: #627087; font-size: 11px; letter-spacing: .04em; }
.footer__secure { display: flex; align-items: center; gap: 7px; }
.footer svg { width: 14px; fill: none; stroke: currentColor; stroke-width: 1.4; }

@keyframes reveal { from { opacity: 0; filter: blur(5px); } to { opacity: 1; filter: blur(0); } }

@media (max-width: 800px) {
  .hero { padding: 24px 22px 22px; }
  .hero__art {
    top: auto;
    right: 50%;
    bottom: -10vw;
    width: min(92vw, 560px);
    transform: translateX(50%);
    opacity: .72;
  }
  .hero::before { background: linear-gradient(180deg, rgba(3,6,17,.72) 0%, rgba(3,6,17,.58) 42%, rgba(3,6,17,.82) 100%); }
  .content { align-self: start; width: 100%; padding-top: 15vh; }
  .status { margin-bottom: 22px; }
  h1 { font-size: clamp(34px, 10.5vw, 50px); }
  .lead { max-width: 460px; font-size: 15px; line-height: 1.6; }
  .actions { align-items: flex-start; flex-direction: column; gap: 13px; margin-top: 28px; }
  .microcopy { max-width: none; }
  .footer__secure { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  .hero__art { animation: none; }
  .button { transition: none; }
}
