@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800&display=swap');

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

:root {
  --bg: #0d1117;
  --bg-card: rgba(13, 17, 23, 0.4);
  --text-primary: #e6edf3;
  --text-secondary: #8b949e;
  --text-tertiary: #c9d1d9;
  --purple: #8b5cf6;
  --purple-light: #a78bfa;
  --purple-lightest: #a5b4fc;
  --indigo: #6366f1;
  --blue: #3b82f6;
  --cyan: #06b6d4;
  --pink: #ec4899;
  --border: rgba(139, 92, 246, 0.1);
  --border-hover: rgba(139, 92, 246, 0.3);
  --glow: rgba(139, 92, 246, 0.15);
  --glow-blue: rgba(59, 130, 246, 0.15);
  --glow-pink: rgba(236, 72, 153, 0.1);
}

html, body {
  height: 100%;
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Helvetica, Arial, sans-serif;
  background: var(--bg);
  color: var(--text-primary);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow: hidden;
}

/* Animated background gradients */
.bg-glow {
  position: fixed;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  pointer-events: none;
}

.bg-glow .orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(120px);
  opacity: 0;
  animation: orb-float 12s ease-in-out infinite;
}

.bg-glow .orb--purple {
  width: 600px;
  height: 600px;
  background: var(--glow);
  top: -10%;
  left: 20%;
  animation-delay: 0s;
}

.bg-glow .orb--blue {
  width: 500px;
  height: 500px;
  background: var(--glow-blue);
  bottom: -15%;
  right: 10%;
  animation-delay: -4s;
}

.bg-glow .orb--pink {
  width: 400px;
  height: 400px;
  background: var(--glow-pink);
  top: 40%;
  left: -5%;
  animation-delay: -8s;
}

@keyframes orb-float {
  0%, 100% {
    opacity: 0.4;
    transform: translate(0, 0) scale(1);
  }
  33% {
    opacity: 0.7;
    transform: translate(30px, -20px) scale(1.1);
  }
  66% {
    opacity: 0.5;
    transform: translate(-20px, 15px) scale(0.95);
  }
}

/* SVG overlay grid / music lines */
.bg-svg {
  position: fixed;
  inset: 0;
  z-index: 1;
  pointer-events: none;
}

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

/* Main content */
.page {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 100vh;
  min-height: 100dvh;
  padding: 2rem;
  text-align: center;
}

/* Logo */
.logo {
  width: 220px;
  height: auto;
  margin-bottom: 3rem;
  opacity: 0;
  animation: fade-up 0.8s ease-out 0.2s forwards;
}

/* Glassmorphism card */
.card {
  background: var(--bg-card);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border: 1px solid var(--border);
  border-radius: 24px;
  padding: 3.5rem 3rem;
  max-width: 560px;
  width: 100%;
  position: relative;
  overflow: hidden;
  opacity: 0;
  animation: fade-up 0.8s ease-out 0.4s forwards;
}

.card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--purple-light), transparent);
  opacity: 0.5;
}

/* Badge pill */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.4rem 1rem;
  border-radius: 999px;
  background: rgba(139, 92, 246, 0.1);
  border: 1px solid rgba(139, 92, 246, 0.2);
  backdrop-filter: blur(8px);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  background-clip: padding-box;
  color: var(--purple-light);
  margin-bottom: 1.75rem;
}

.badge .dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--purple);
  animation: pulse-dot 2s ease-in-out infinite;
}

@keyframes pulse-dot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.4; transform: scale(0.8); }
}

/* Heading */
.heading {
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.1;
  background: linear-gradient(180deg, #ffffff 0%, var(--purple-lightest) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 1rem;
}

/* Subtext */
.subtext {
  color: var(--text-secondary);
  font-size: clamp(0.95rem, 2vw, 1.125rem);
  font-weight: 400;
  line-height: 1.7;
  max-width: 420px;
  margin: 0 auto 2rem;
}

/* Divider */
.divider {
  width: 60px;
  height: 2px;
  background: linear-gradient(90deg, var(--purple), var(--blue));
  border: none;
  border-radius: 2px;
  margin: 0 auto 2rem;
  opacity: 0.6;
}

/* Feature pills */
.features {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.6rem;
}

.feature {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.35rem 0.9rem;
  border-radius: 999px;
  border: 1px solid rgba(139, 92, 246, 0.15);
  background: rgba(139, 92, 246, 0.05);
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--text-tertiary);
  transition: border-color 0.3s ease, background 0.3s ease;
}

.feature:hover {
  border-color: var(--border-hover);
  background: rgba(139, 92, 246, 0.1);
}

.feature svg {
  width: 14px;
  height: 14px;
  color: var(--purple-light);
  flex-shrink: 0;
}

/* Footer */
.footer {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 2;
  text-align: center;
  padding: 1.5rem;
  color: var(--text-secondary);
  font-size: 0.8rem;
  font-weight: 400;
  letter-spacing: 0.02em;
  opacity: 0;
  animation: fade-up 0.8s ease-out 0.8s forwards;
}

/* Animations */
@keyframes fade-up {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Mobile adjustments */
@media (max-width: 600px) {
  .logo {
    width: 160px;
    margin-bottom: 2rem;
  }

  .card {
    padding: 2.5rem 1.5rem;
    border-radius: 20px;
  }

  .features {
    gap: 0.5rem;
  }

  .feature {
    font-size: 0.75rem;
    padding: 0.3rem 0.75rem;
  }
}
