:root {
  --ink: #191970;
  --ink-deep: #11113f;
  --gold: #f4b400;
  --cyan: #3fd0ea;
  --blue: #2b7fe0;
  --text: #eef1ff;
  --muted: #aab0d8;
  --display: "Space Grotesk", system-ui, sans-serif;
  --body: "Inter", system-ui, sans-serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--body);
  color: var(--text);
  min-height: 100vh;
  background:
    radial-gradient(120% 80% at 50% -10%, #232392 0%, rgba(35, 35, 146, 0) 60%),
    linear-gradient(180deg, #1a1a6e 0%, #14144a 45%, #0c0c33 100%);
  background-attachment: fixed;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

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

/* ---------- Animated wave background ---------- */
.waves {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  height: 56vh;
  min-height: 320px;
  z-index: 0;
  pointer-events: none;
}

.waves-svg {
  width: 100%;
  height: 100%;
}

.wave {
  animation: wave-shift 24s cubic-bezier(0.55, 0.5, 0.45, 0.5) infinite;
}

.wave-1 { fill: rgba(63, 208, 234, 0.10); animation-duration: 22s; }
.wave-2 { fill: rgba(43, 127, 224, 0.14); animation-duration: 16s; animation-direction: reverse; }
.wave-3 { fill: rgba(63, 208, 234, 0.18); animation-duration: 12s; }
.wave-4 { fill: rgba(20, 20, 74, 0.55); animation-duration: 9s; animation-direction: reverse; }

@keyframes wave-shift {
  0%   { transform: translateX(-90px); }
  50%  { transform: translateX(85px); }
  100% { transform: translateX(-90px); }
}

/* ---------- Layout ---------- */
.screen {
  position: relative;
  z-index: 1;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  padding: 48px 24px 28px;
}

.stage {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  max-width: 640px;
  width: 100%;
}

.logo {
  width: clamp(96px, 18vw, 132px);
  height: auto;
  filter: drop-shadow(0 10px 30px rgba(63, 208, 234, 0.35));
  animation: float 6s ease-in-out infinite;
}

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

.app-name {
  font-family: var(--display);
  font-weight: 700;
  font-size: clamp(2.6rem, 9vw, 4.4rem);
  letter-spacing: -0.02em;
  margin-top: 18px;
  background: linear-gradient(100deg, #ffffff 0%, var(--cyan) 70%, var(--blue) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.slogan {
  margin-top: 14px;
  font-size: clamp(1.05rem, 3.6vw, 1.5rem);
  font-weight: 500;
  color: var(--text);
  max-width: 22ch;
}

.tagline {
  margin-top: 10px;
  font-family: var(--display);
  font-weight: 500;
  letter-spacing: 0.02em;
  color: var(--cyan);
  text-transform: uppercase;
  font-size: 0.82rem;
}

/* ---------- Download badges ---------- */
.badges {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  justify-content: center;
  margin-top: 40px;
}

.badge-img {
  display: inline-flex;
  transition: transform 0.12s ease, filter 0.18s ease;
}

.badge-img:hover { filter: brightness(1.08); transform: translateY(-2px); }
.badge-img:active { transform: translateY(0); }

.badge-img img {
  height: 54px;
  width: auto;
  display: block;
}

/* ---------- Page links ---------- */
.links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 26px;
  justify-content: center;
  margin-top: 44px;
}

.links a {
  color: var(--muted);
  font-size: 0.95rem;
  font-weight: 500;
  position: relative;
  transition: color 0.18s ease;
}

.links a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -3px;
  width: 100%;
  height: 1.5px;
  background: var(--cyan);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.22s ease;
}

.links a:hover { color: #fff; }
.links a:hover::after { transform: scaleX(1); }

/* ---------- Footer ---------- */
.foot {
  position: relative;
  z-index: 1;
  text-align: center;
  max-width: 720px;
  margin-top: 56px;
}

.copyright {
  font-size: 0.85rem;
  color: var(--muted);
}

.disclaimer {
  margin-top: 10px;
  font-size: 0.72rem;
  line-height: 1.5;
  color: rgba(170, 176, 216, 0.7);
}

/* ---------- Responsive ---------- */
@media (max-width: 480px) {
  .badges { gap: 12px; }
  .badge-img img { height: 48px; }
  .links { gap: 8px 18px; }
  .foot { margin-top: 40px; }
}

@media (prefers-reduced-motion: reduce) {
  .wave, .logo { animation: none; }
}
