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

:root {
  --bg-primary: #000000;
  --bg-secondary: #0a0a1a;
  --text-primary: #ffffff;
  --text-secondary: #a0a0b0;
  --accent: #6366f1;
  --accent-glow: rgba(99, 102, 241, 0.5);
  --card-bg: rgba(15, 15, 35, 0.8);
  --card-border: rgba(255, 255, 255, 0.1);
}

html, body {
  height: 100%;
  overflow: hidden;
}

body {
  font-family: 'Space Grotesk', sans-serif;
  background: linear-gradient(135deg, var(--bg-primary) 0%, var(--bg-secondary) 50%, var(--bg-primary) 100%);
  color: var(--text-primary);
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

/* Space Background Canvas */
#space-bg {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  pointer-events: none;
}

/* Animated Glow Lines */
.glow-line {
  position: fixed;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg,
    transparent 0%,
    rgba(99, 102, 241, 0.3) 20%,
    rgba(99, 102, 241, 0.8) 50%,
    rgba(99, 102, 241, 0.3) 80%,
    transparent 100%
  );
  z-index: 1;
  opacity: 0;
  animation: glow-fade 4s ease-in-out infinite;
}

.glow-line-top {
  top: 20%;
  animation-delay: 0s;
}

.glow-line-bottom {
  bottom: 20%;
  animation-delay: 2s;
}

@keyframes glow-fade {
  0%, 100% { opacity: 0; transform: scaleX(0.5); }
  50% { opacity: 1; transform: scaleX(1); }
}

/* Header */
.header {
  position: relative;
  z-index: 10;
  padding: 1.5rem 2rem;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  opacity: 0;
  animation: fade-in 1s ease-out 0.5s forwards;
}

.logo-icon {
  font-size: 1.5rem;
  color: var(--accent);
  text-shadow: 0 0 20px var(--accent-glow);
  animation: pulse-glow 3s ease-in-out infinite;
}

.logo-text {
  font-size: 1.5rem;
  font-weight: 600;
  letter-spacing: -0.02em;
  background: linear-gradient(135deg, var(--text-primary) 0%, var(--text-secondary) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

@keyframes pulse-glow {
  0%, 100% { text-shadow: 0 0 20px var(--accent-glow); }
  50% { text-shadow: 0 0 40px var(--accent-glow), 0 0 60px var(--accent-glow); }
}

/* Main Content */
.main-content {
  position: relative;
  z-index: 10;
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem;
}

.content-box {
  max-width: 600px;
  padding: 3rem;
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: 16px;
  backdrop-filter: blur(20px);
  box-shadow:
    0 0 60px rgba(99, 102, 241, 0.1),
    inset 0 1px 0 rgba(255, 255, 255, 0.05);
  opacity: 0;
  transform: translateY(20px);
  animation: slide-up 1s ease-out 0.8s forwards;
}

@keyframes slide-up {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.title {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
  letter-spacing: -0.03em;
  line-height: 1.1;
  background: linear-gradient(135deg, var(--text-primary) 0%, var(--accent) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.subtitle {
  font-size: 1.25rem;
  font-weight: 400;
  color: var(--text-secondary);
  margin-bottom: 1.5rem;
  letter-spacing: 0.01em;
}

.description {
  font-size: 1.1rem;
  line-height: 1.7;
  color: var(--text-secondary);
  margin-bottom: 1.25rem;
}

.description em {
  color: var(--text-primary);
  font-style: italic;
}

.cta-section {
  margin-top: 2rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--card-border);
}

.cta-text {
  font-size: 1rem;
  color: var(--accent);
  font-weight: 500;
  letter-spacing: 0.02em;
}

/* Footer */
.footer {
  position: relative;
  z-index: 10;
  text-align: center;
  padding: 1.5rem;
  color: var(--text-secondary);
  font-size: 0.875rem;
  opacity: 0;
  animation: fade-in 1s ease-out 1.2s forwards;
}

@keyframes fade-in {
  to { opacity: 1; }
}

/* Responsive */
@media (max-width: 640px) {
  .content-box {
    padding: 2rem;
    margin: 1rem;
  }

  .title {
    font-size: 1.75rem;
  }

  .description {
    font-size: 1rem;
  }

  .glow-line {
    display: none;
  }
}
