:root {
  color-scheme: dark;
  --bg: #04101f;
  --bg-2: #07192f;
  --panel: rgba(8, 20, 36, 0.8);
  --panel-border: rgba(255, 255, 255, 0.08);
  --text: #f4f7fb;
  --muted: rgba(233, 245, 255, 0.72);
  --accent: #63c8ff;
  --accent-2: #9be5ff;
  --accent-3: #2f7dff;
  --shadow: 0 30px 90px rgba(0, 10, 28, 0.55);
}

* {
  box-sizing: border-box;
}

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

body {
  font-family: "Segoe UI", "Trebuchet MS", sans-serif;
  background:
    radial-gradient(circle at top, rgba(99, 200, 255, 0.14), transparent 28%),
    radial-gradient(circle at 82% 18%, rgba(47, 125, 255, 0.18), transparent 22%),
    linear-gradient(180deg, var(--bg), var(--bg-2));
  color: var(--text);
}

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

.page {
  position: relative;
  min-height: 100svh;
  display: grid;
  place-items: center;
  padding: 24px;
  overflow: hidden;
}

.ambient {
  position: absolute;
  inset: auto;
  border-radius: 999px;
  filter: blur(80px);
  opacity: 0.8;
  pointer-events: none;
}

.ambient-a {
  width: 360px;
  height: 360px;
  background: rgba(99, 200, 255, 0.18);
  top: -80px;
  left: -100px;
}

.ambient-b {
  width: 420px;
  height: 420px;
  background: rgba(47, 125, 255, 0.16);
  right: -120px;
  bottom: -140px;
}

.grain {
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0.08;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.04) 1px, transparent 1px);
  background-size: 42px 42px;
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.85), transparent 92%);
}

.card {
  position: relative;
  z-index: 1;
  width: min(560px, 100%);
  padding: 30px 24px 26px;
  border: 1px solid var(--panel-border);
  border-radius: 28px;
  background: linear-gradient(180deg, rgba(9, 22, 39, 0.94), var(--panel));
  box-shadow: var(--shadow);
  backdrop-filter: blur(14px);
  text-align: center;
}

.card::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  padding: 1px;
  background: linear-gradient(135deg, rgba(99, 200, 255, 0.34), transparent 35%, rgba(47, 125, 255, 0.2));
  mask:
    linear-gradient(#000 0 0) content-box,
    linear-gradient(#000 0 0);
  mask-composite: exclude;
  pointer-events: none;
}

.topline {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.04);
  color: var(--muted);
  font-size: 0.84rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.status-dot {
  width: 9px;
  height: 9px;
  border-radius: 999px;
  background: var(--accent);
  box-shadow: 0 0 18px rgba(99, 200, 255, 0.9);
}

.separator {
  opacity: 0.35;
}

.logo-mark {
  width: 76px;
  height: 76px;
  margin: 26px auto 18px;
  display: grid;
  place-items: center;
  border-radius: 22px;
  background:
    linear-gradient(180deg, rgba(121, 242, 192, 0.22), rgba(255, 255, 255, 0.04)),
    rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06);
  overflow: hidden;
}

.logo-mark img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

h1 {
  margin: 0;
  font-size: clamp(2.2rem, 6vw, 3.6rem);
  line-height: 0.95;
  letter-spacing: -0.06em;
}

.subtitle {
  margin: 12px 0 0;
  font-size: 1.08rem;
  color: var(--accent);
  letter-spacing: 0.04em;
}

.lead {
  margin: 16px auto 0;
  max-width: 44ch;
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.65;
}

.cta-stack {
  margin-top: 24px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  width: 100%;
  min-height: 62px;
  padding: 15px 22px;
  border-radius: 20px;
  font-size: 1.06rem;
  font-weight: 800;
  letter-spacing: 0.01em;
  transition:
    transform 180ms ease,
    box-shadow 180ms ease,
    background 180ms ease,
    border-color 180ms ease;
  will-change: transform;
  position: relative;
  overflow: hidden;
}

.button:hover {
  transform: translateY(-2px) scale(1.01);
}

.button:focus-visible {
  outline: 2px solid rgba(121, 242, 192, 0.8);
  outline-offset: 3px;
}

.button-primary {
  background: linear-gradient(135deg, #4fb7ff 0%, #6ed1ff 45%, #2f7dff 100%);
  color: #06101d;
  font-size: 1.18rem;
  box-shadow:
    0 20px 42px rgba(63, 160, 255, 0.32),
    0 0 0 1px rgba(255, 255, 255, 0.12) inset;
}

.button-primary:hover {
  box-shadow:
    0 24px 52px rgba(63, 160, 255, 0.38),
    0 0 42px rgba(99, 200, 255, 0.28);
}

.button-secondary {
  background: rgba(255, 255, 255, 0.028);
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: rgba(235, 245, 255, 0.88);
  opacity: 0.86;
}

.button-secondary:hover {
  background: rgba(255, 255, 255, 0.045);
  border-color: rgba(99, 200, 255, 0.22);
  opacity: 1;
}

.button-with-icon {
  justify-content: center;
}

.button-icon {
  width: 20px;
  height: 20px;
  flex: 0 0 20px;
  display: block;
  opacity: 0.88;
}

.cta-note {
  margin: 10px 0 0;
  color: rgba(244, 247, 251, 0.58);
  font-size: 0.93rem;
}

.info-box,
.socials {
  margin-top: 18px;
  padding: 18px;
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.035);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.info-title {
  margin: 0 0 14px;
  font-size: 1rem;
  line-height: 1.5;
  color: var(--text);
}

.mini-meta {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin-top: 12px;
  color: rgba(244, 247, 251, 0.55);
  font-size: 0.86rem;
}

.mini-meta span {
  padding: 7px 10px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.04);
}

.socials h2 {
  margin: 0 0 14px;
  font-size: 1rem;
  color: var(--muted);
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.socials .button {
  margin-top: 0;
}

.button-primary::after {
  content: "";
  position: absolute;
  inset: -40% -30%;
  background: linear-gradient(120deg, transparent 35%, rgba(255, 255, 255, 0.22) 50%, transparent 65%);
  transform: translateX(-60%) rotate(8deg);
  animation: sheen 4.8s ease-in-out infinite;
  pointer-events: none;
}

.button-primary {
  animation: pulseGlow 5.5s ease-in-out infinite;
}

.button-primary:hover::after {
  animation-duration: 1.8s;
}

@media (min-width: 640px) {
  .card {
    padding: 38px 34px 32px;
  }

  .button {
    width: auto;
    min-width: 330px;
  }
}

@media (prefers-reduced-motion: no-preference) {
  .card {
    animation: rise 850ms cubic-bezier(0.2, 0.8, 0.2, 1) both;
  }

  .ambient-a,
  .ambient-b {
    animation: float 12s ease-in-out infinite;
  }

  .ambient-b {
    animation-delay: -3s;
  }

  .logo-mark {
    animation: breathe 6s ease-in-out infinite;
  }

  .topline,
  .info-box,
  .socials {
    animation: lift 900ms ease both;
  }

  .info-box {
    animation-delay: 120ms;
  }

  .socials {
    animation-delay: 220ms;
  }
}

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

@keyframes float {
  0%,
  100% {
    transform: translate3d(0, 0, 0);
  }
  50% {
    transform: translate3d(0, 14px, 0);
  }
}

@keyframes breathe {
  0%,
  100% {
    transform: scale(1);
    box-shadow:
      inset 0 1px 0 rgba(255, 255, 255, 0.06),
      0 0 0 rgba(99, 200, 255, 0);
  }
  50% {
    transform: scale(1.03);
    box-shadow:
      inset 0 1px 0 rgba(255, 255, 255, 0.06),
      0 0 32px rgba(99, 200, 255, 0.12);
  }
}

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

@keyframes sheen {
  0%,
  55% {
    transform: translateX(-60%) rotate(8deg);
    opacity: 0;
  }
  70% {
    opacity: 1;
  }
  100% {
    transform: translateX(60%) rotate(8deg);
    opacity: 0;
  }
}

@keyframes pulseGlow {
  0%,
  100% {
    box-shadow:
      0 20px 42px rgba(63, 160, 255, 0.32),
      0 0 0 1px rgba(255, 255, 255, 0.12) inset;
  }
  50% {
    box-shadow:
      0 24px 54px rgba(63, 160, 255, 0.42),
      0 0 48px rgba(99, 200, 255, 0.18);
  }
}
