:root {
  --bg: #080610;
  --surface: #14101c;
  --surface-elevated: #1e162a;
  --accent: #00c2ff;
  --accent-purple: #9d00c6;
  --accent-hover: #3dd4ff;
  --on-accent: #061018;
  --text: #f5f7fb;
  --muted: #9aa3b8;
  --max: 42rem;
  --wide: 72rem;
  --font-display: "Sora", "Avenir Next", sans-serif;
  --font-body: "Space Grotesk", "Segoe UI", sans-serif;
  --brand-gradient: linear-gradient(135deg, var(--accent) 0%, var(--accent-purple) 100%);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: var(--font-body);
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
  position: relative;
  overflow-x: hidden;
}

.ambient {
  pointer-events: none;
  position: fixed;
  inset: 0;
  z-index: 0;
  background:
    radial-gradient(ellipse 70% 45% at 50% -5%, rgba(0, 194, 255, 0.28) 0%, transparent 55%),
    radial-gradient(ellipse 55% 40% at 90% 30%, rgba(157, 0, 198, 0.22) 0%, transparent 50%),
    radial-gradient(ellipse 45% 35% at 10% 70%, rgba(0, 194, 255, 0.1) 0%, transparent 50%),
    linear-gradient(180deg, #0c0818 0%, var(--bg) 45%, #05040a 100%);
}

a {
  color: var(--accent);
  text-decoration-thickness: 1px;
  text-underline-offset: 0.2em;
}

a:hover {
  color: var(--accent-hover);
}

.site-header,
.site-footer,
main {
  position: relative;
  z-index: 1;
}

.site-header,
.site-footer {
  max-width: var(--wide);
  margin: 0 auto;
  padding: 1.25rem 1.5rem;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--text);
  text-decoration: none;
}

.logo img {
  border-radius: 9px;
  box-shadow: 0 0 0 1px rgba(0, 194, 255, 0.35);
}

.logo:hover {
  color: var(--accent);
}

.nav {
  display: flex;
  flex-wrap: wrap;
  gap: 1.25rem;
}

.nav a {
  font-weight: 500;
  font-size: 0.95rem;
  color: var(--muted);
  text-decoration: none;
  transition: color 0.2s ease;
}

.nav a:hover,
.nav a[aria-current="page"] {
  color: var(--accent);
}

.hero {
  min-height: calc(100vh - 5.5rem);
  max-width: var(--wide);
  margin: 0 auto;
  padding: 1.5rem 1.5rem 4rem;
  display: grid;
  grid-template-columns: 1fr;
  align-content: center;
  justify-items: center;
  text-align: center;
  gap: 2rem;
}

.hero-stage {
  position: relative;
  width: min(72vw, 22rem);
  aspect-ratio: 1;
  display: grid;
  place-items: center;
  animation: float-logo 7s ease-in-out infinite;
}

.hero-logo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 28%;
  position: relative;
  z-index: 1;
  box-shadow:
    0 30px 80px rgba(157, 0, 198, 0.35),
    0 12px 40px rgba(0, 194, 255, 0.25);
  animation: rise 0.9s ease-out both;
}

.hero-glow {
  position: absolute;
  inset: -18%;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(0, 194, 255, 0.45) 0%, rgba(157, 0, 198, 0.25) 40%, transparent 70%);
  filter: blur(28px);
  z-index: 0;
  animation: glow-pulse 5s ease-in-out infinite;
}

.hero-copy {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.85rem;
  max-width: 36rem;
  animation: rise 0.95s ease-out 0.12s both;
}

.brand {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(2.6rem, 9vw, 4.75rem);
  font-weight: 800;
  line-height: 0.95;
  letter-spacing: -0.045em;
  background: var(--brand-gradient);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.headline {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(1.15rem, 2.8vw, 1.55rem);
  font-weight: 600;
  letter-spacing: -0.02em;
  color: var(--text);
}

.support {
  margin: 0;
  color: var(--muted);
  font-size: 1.05rem;
  max-width: 30rem;
}

.cta-group {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.75rem;
  margin-top: 0.5rem;
}

.btn {
  display: inline-block;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.95rem;
  padding: 0.85rem 1.35rem;
  border-radius: 12px;
  text-decoration: none;
  transition: transform 0.2s ease, filter 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn-primary {
  background: var(--brand-gradient);
  color: #fff;
  border: none;
}

.btn-primary:hover {
  filter: brightness(1.08);
  color: #fff;
}

.btn-ghost {
  border: 1px solid rgba(0, 194, 255, 0.35);
  color: var(--text);
  background: rgba(20, 16, 28, 0.55);
}

.btn-ghost:hover {
  border-color: var(--accent);
  color: var(--accent);
}

.features {
  max-width: var(--wide);
  margin: 0 auto;
  padding: 1rem 1.5rem 5rem;
  animation: rise 1s ease-out 0.2s both;
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 3vw, 2.25rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  margin: 0 0 0.5rem;
}

.section-support {
  margin: 0 0 2rem;
  color: var(--muted);
  max-width: 32rem;
}

.feature-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.feature-list li {
  padding: 0;
  border: none;
  background: transparent;
}

.feature-list h3 {
  font-family: var(--font-display);
  font-size: 1.15rem;
  margin: 0 0 0.5rem;
  letter-spacing: -0.02em;
  background: var(--brand-gradient);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  display: inline-block;
}

.feature-list p {
  margin: 0;
  color: var(--muted);
  font-size: 0.98rem;
}

.legal {
  max-width: var(--max);
  margin: 0 auto;
  padding: 2.5rem 1.5rem 4rem;
  animation: rise 0.6s ease-out both;
}

.legal h1 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4.5vw, 2.75rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  margin: 0 0 0.5rem;
  background: var(--brand-gradient);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.meta {
  color: var(--muted);
  font-size: 0.95rem;
  margin: 0 0 2rem;
}

.legal h2 {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  margin: 2rem 0 0.75rem;
  color: var(--text);
}

.legal p,
.legal li {
  color: var(--muted);
}

.legal ul {
  padding-left: 1.25rem;
}

.disclaimer {
  margin-top: 2.5rem;
  padding: 1rem 1.15rem;
  background: var(--surface);
  border-left: 3px solid var(--accent);
  color: var(--muted);
  font-size: 0.95rem;
}

.site-footer {
  border-top: 1px solid rgba(157, 0, 198, 0.25);
  color: var(--muted);
  font-size: 0.95rem;
}

.site-footer a {
  color: var(--muted);
  text-decoration: none;
}

.site-footer a:hover {
  color: var(--accent);
}

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

@keyframes float-logo {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-12px); }
}

@keyframes glow-pulse {
  0%, 100% { opacity: 0.75; transform: scale(1); }
  50% { opacity: 1; transform: scale(1.08); }
}

@media (max-width: 860px) {
  .feature-list {
    grid-template-columns: 1fr;
    gap: 1.75rem;
  }

  .hero {
    min-height: auto;
    padding-top: 2rem;
  }

  .hero-stage {
    width: min(68vw, 16rem);
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .hero-copy,
  .hero-logo,
  .hero-stage,
  .hero-glow,
  .features,
  .legal,
  .btn {
    animation: none;
    transition: none;
  }
}
