:root {
  --bg: #0f1117;
  --bg-mid: #14171f;
  --text: #e8eaed;
  --muted: #94a3b8;
  --border: #2d3348;
  --cyan: #53e8ff;
  --cyan-deep: #1a9bb0;
  --accent: #ef4444;
  --surface: #1a1d27;
  --font: "Sora", ui-sans-serif, sans-serif;
}

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

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

body {
  font-family: var(--font);
  color: var(--text);
  background:
    radial-gradient(ellipse 80% 60% at 50% -10%, rgba(83, 232, 255, 0.12), transparent 55%),
    radial-gradient(ellipse 50% 40% at 80% 100%, rgba(239, 68, 68, 0.06), transparent 50%),
    linear-gradient(180deg, var(--bg-mid) 0%, var(--bg) 55%, #0c0e13 100%);
  background-attachment: fixed;
}

.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 3rem 1.5rem 4rem;
  gap: 0.35rem;
}

.glow {
  position: absolute;
  width: 280px;
  height: 280px;
  top: 18%;
  left: 50%;
  translate: -50% -20%;
  background: radial-gradient(circle, rgba(83, 232, 255, 0.18), transparent 70%);
  pointer-events: none;
  animation: pulse 5s ease-in-out infinite;
}

.logo {
  position: relative;
  width: 112px;
  height: 112px;
  border-radius: 28px;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.45);
  animation: rise 0.9s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.brand {
  position: relative;
  margin: 1.1rem 0 0;
  font-size: clamp(2.4rem, 6vw, 3.4rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1;
  animation: rise 0.9s cubic-bezier(0.22, 1, 0.36, 1) 0.08s both;
}

.welcome {
  position: relative;
  margin: 0.85rem 0 0;
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--text);
  animation: rise 0.9s cubic-bezier(0.22, 1, 0.36, 1) 0.14s both;
}

.tagline {
  position: relative;
  margin: 0.35rem 0 0;
  max-width: 28rem;
  font-size: 0.98rem;
  font-weight: 500;
  color: var(--muted);
  line-height: 1.45;
  animation: rise 0.9s cubic-bezier(0.22, 1, 0.36, 1) 0.2s both;
}

.downloads {
  position: relative;
  margin-top: 2.4rem;
  width: min(100%, 26rem);
  animation: rise 0.9s cubic-bezier(0.22, 1, 0.36, 1) 0.28s both;
}

.downloads-title {
  margin: 0 0 1rem;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
}

.buttons {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 3.1rem;
  padding: 0.75rem 1.1rem;
  border-radius: 12px;
  border: 1px solid var(--border);
  background: var(--surface);
  color: var(--text);
  font-family: inherit;
  font-size: 0.98rem;
  font-weight: 700;
  text-decoration: none;
  transition:
    transform 0.18s ease,
    border-color 0.18s ease,
    background 0.18s ease,
    box-shadow 0.18s ease;
}

.btn:hover {
  transform: translateY(-2px);
  border-color: rgba(83, 232, 255, 0.45);
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.35);
}

.btn.is-primary {
  background: linear-gradient(180deg, #2ad4ea 0%, var(--cyan-deep) 100%);
  border-color: transparent;
  color: #061318;
  box-shadow: 0 8px 24px rgba(83, 232, 255, 0.22);
}

.btn.is-primary:hover {
  border-color: transparent;
  box-shadow: 0 12px 32px rgba(83, 232, 255, 0.32);
}

.intel {
  display: inline-block;
  margin-top: 1rem;
  color: var(--muted);
  font-size: 0.85rem;
  font-weight: 600;
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: color 0.15s ease, border-color 0.15s ease;
}

.intel:hover {
  color: var(--cyan);
  border-bottom-color: rgba(83, 232, 255, 0.4);
}

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

@keyframes pulse {
  0%,
  100% {
    opacity: 0.55;
    transform: scale(1);
  }
  50% {
    opacity: 1;
    transform: scale(1.06);
  }
}

@media (max-width: 480px) {
  .buttons {
    grid-template-columns: 1fr;
  }

  .logo {
    width: 96px;
    height: 96px;
    border-radius: 24px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .logo,
  .brand,
  .welcome,
  .tagline,
  .downloads,
  .glow {
    animation: none;
  }

  .btn:hover {
    transform: none;
  }
}
