:root {
  --white: #fff;
  --muted: rgba(255, 255, 255, 0.72);
  --blue: #0056d6;
  --blue-dark: #0047b3;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

/* Reset */
*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html,
body {
  height: 100%;
}

body {
  font-family: "Inter", "SF Pro Display", -apple-system, BlinkMacSystemFont,
    "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  color: var(--white);
  overflow: hidden;
  -webkit-font-smoothing: antialiased;
}

/* Layout */
.hero {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 100dvh;
  padding: 32px;
}

/* Background */
#background-video {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(100%);
  z-index: -2;
}

.overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.55);
  z-index: -1;
}

/* Glass panel */
.glass-panel {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
  max-width: 720px;
  padding: 64px 56px;
  text-align: center;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 24px;
  box-shadow: 0 30px 80px -20px rgba(0, 0, 0, 0.65);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  animation: rise 1s var(--ease) 0.15s both;
}

/* Typography */
.logo {
  width: clamp(86px, 12vw, 120px);
  height: auto;
  margin-bottom: 36px;
  filter: drop-shadow(0 8px 24px rgba(0, 0, 0, 0.45));
  animation: rise 0.9s var(--ease) 0.3s both;
}

.headline {
  font-size: clamp(2rem, 5.2vw, 3.4rem);
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: -0.025em;
  background: linear-gradient(180deg, #fff, rgba(255, 255, 255, 0.78));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  animation: rise 0.9s var(--ease) 0.45s both;
}

.subtitle {
  max-width: 30ch;
  margin-top: 20px;
  font-size: clamp(1rem, 2vw, 1.18rem);
  line-height: 1.6;
  color: var(--muted);
  animation: rise 0.9s var(--ease) 0.6s both;
}

/* Buttons */
.download-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-top: 44px;
  padding: 16px 32px;
  font-size: 1rem;
  font-weight: 600;
  color: var(--white);
  text-decoration: none;
  background: var(--blue);
  border-radius: 999px;
  box-shadow: 0 12px 30px -8px rgba(0, 86, 214, 0.6);
  transition: background 0.3s var(--ease), transform 0.3s var(--ease),
    box-shadow 0.3s var(--ease);
  animation: rise 0.9s var(--ease) 0.78s both;
}

.download-btn:hover {
  background: var(--blue-dark);
  transform: translateY(-2px);
  box-shadow: 0 18px 40px -10px rgba(0, 86, 214, 0.7);
}

.download-btn:active {
  transform: translateY(0);
}

.download-btn:focus-visible {
  outline: 2px solid var(--white);
  outline-offset: 4px;
}

.download-btn svg {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
  transition: transform 0.3s var(--ease);
}

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

/* Animations */
@keyframes rise {
  from {
    opacity: 0;
    transform: translateY(16px);
  }
}

/* Responsive */
@media (max-width: 768px) {
  .glass-panel {
    padding: 48px 32px;
    border-radius: 20px;
  }
}

@media (max-width: 480px) {
  .hero {
    padding: 20px;
  }

  .glass-panel {
    padding: 40px 22px;
  }

  .logo {
    margin-bottom: 28px;
  }

  .download-btn {
    width: 100%;
    justify-content: center;
    padding: 15px 24px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }
}
