:root {
  --bg-color: #0b0f19;
  --card-bg: rgba(17, 24, 39, 0.7);
  --text-primary: #f3f4f6;
  --text-secondary: #9ca3af;
  --primary-glow: rgba(139, 92, 246, 0.15);
  --secondary-glow: rgba(16, 185, 129, 0.15);
  --accent-purple: #8b5cf6;
  --accent-green: #10b981;
  --border-color: rgba(255, 255, 255, 0.08);
  --font-family-title: 'Space Grotesk', sans-serif;
  --font-family-body: 'Outfit', sans-serif;
}

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

body {
  background-color: var(--bg-color);
  color: var(--text-primary);
  font-family: var(--font-family-body);
  min-height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
  overflow-x: hidden;
  position: relative;
}

/* Ambient Glow Effects */
.bg-glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(100px);
  z-index: 0;
  pointer-events: none;
}

.bg-glow-1 {
  width: 500px;
  height: 500px;
  background: var(--primary-glow);
  top: -10%;
  left: -10%;
  animation: float 25s infinite alternate ease-in-out;
}

.bg-glow-2 {
  width: 600px;
  height: 600px;
  background: var(--secondary-glow);
  bottom: -15%;
  right: -10%;
  animation: float 30s infinite alternate-reverse ease-in-out;
}

@keyframes float {
  0% {
    transform: translate(0, 0) scale(1);
  }
  50% {
    transform: translate(50px, 80px) scale(1.1);
  }
  100% {
    transform: translate(-30px, -50px) scale(0.9);
  }
}

/* Dot grid overlay */
.dot-grid {
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(255, 255, 255, 0.04) 1.5px, transparent 1.5px);
  background-size: 24px 24px;
  z-index: 1;
  pointer-events: none;
}

/* Container */
.container {
  width: 90%;
  max-width: 640px;
  display: flex;
  flex-direction: column;
  align-items: center;
  z-index: 10;
  padding: 2rem 0;
}

/* Logo container & logo animations */
.logo-container {
  margin-bottom: 2.5rem;
  display: flex;
  justify-content: center;
  align-items: center;
  perspective: 1000px;
}

.brand-logo {
  max-width: 350px;
  height: auto;
  filter: drop-shadow(0 10px 20px rgba(139, 92, 246, 0.2));
  transform: translateZ(0);
  transition: transform 0.6s ease;
  animation: pulseLogo 4s infinite ease-in-out;
}

.brand-logo:hover {
  transform: scale(1.05) rotate(1deg);
}

@keyframes pulseLogo {
  0%, 100% {
    filter: drop-shadow(0 10px 20px rgba(139, 92, 246, 0.2));
  }
  50% {
    filter: drop-shadow(0 15px 30px rgba(16, 185, 129, 0.35));
  }
}

/* Main content card */
.content-card {
  background: var(--card-bg);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--border-color);
  border-radius: 24px;
  padding: 3rem 2.5rem;
  text-align: center;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
  transition: border-color 0.4s ease, box-shadow 0.4s ease;
  width: 100%;
}

.content-card:hover {
  border-color: rgba(139, 92, 246, 0.3);
  box-shadow: 0 20px 50px rgba(139, 92, 246, 0.1);
}

/* Badges */
.badge {
  display: inline-block;
  font-family: var(--font-family-title);
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  background: linear-gradient(135deg, rgba(139, 92, 246, 0.15), rgba(16, 185, 129, 0.15));
  color: var(--accent-green);
  border: 1px solid rgba(16, 185, 129, 0.2);
  padding: 0.5rem 1rem;
  border-radius: 100px;
  margin-bottom: 1.5rem;
}

/* Headings */
.title {
  font-family: var(--font-family-title);
  font-size: 2.25rem;
  line-height: 1.25;
  margin-bottom: 1.25rem;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.highlight {
  background: linear-gradient(135deg, var(--accent-purple), var(--accent-green));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: var(--accent-purple);
}

.subtitle {
  color: var(--text-secondary);
  font-size: 1.05rem;
  line-height: 1.6;
  margin-bottom: 2.5rem;
  font-weight: 300;
}

/* Email Signup Form */
.signup-form {
  margin-top: 1.5rem;
  width: 100%;
}

.input-group {
  display: flex;
  background: rgba(0, 0, 0, 0.2);
  border: 1px solid var(--border-color);
  border-radius: 12px;
  padding: 4px;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.input-group:focus-within {
  border-color: var(--accent-purple);
  box-shadow: 0 0 0 3px rgba(139, 92, 246, 0.15);
}

.input-group input {
  flex-grow: 1;
  background: transparent;
  border: none;
  padding: 0.8rem 1rem;
  color: var(--text-primary);
  font-family: var(--font-family-body);
  font-size: 0.95rem;
  outline: none;
}

.input-group input::placeholder {
  color: #6b7280;
}

.submit-btn {
  background: linear-gradient(135deg, var(--accent-purple), #7c3aed);
  border: none;
  color: white;
  padding: 0.8rem 1.5rem;
  border-radius: 8px;
  font-family: var(--font-family-title);
  font-weight: 700;
  cursor: pointer;
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.submit-btn:hover {
  opacity: 0.95;
  transform: translateY(-1px);
}

.submit-btn:active {
  transform: translateY(1px);
}

/* Toast Message */
.feedback-message {
  height: 20px;
  margin-top: 1rem;
  font-size: 0.9rem;
  font-weight: 400;
  transition: opacity 0.3s ease;
  opacity: 0;
  color: var(--accent-green);
}

.feedback-message.success {
  opacity: 1;
}

/* Footer styling */
.footer {
  margin-top: 3rem;
  font-size: 0.8rem;
  color: #4b5563;
  text-align: center;
}

/* Responsiveness */
@media (max-width: 480px) {
  .content-card {
    padding: 2rem 1.5rem;
  }
  
  .title {
    font-size: 1.75rem;
  }
  
  .input-group {
    flex-direction: column;
    background: transparent;
    border: none;
    padding: 0;
    gap: 0.75rem;
  }
  
  .input-group input {
    background: rgba(0, 0, 0, 0.2);
    border: 1px solid var(--border-color);
    border-radius: 12px;
  }
  
  .submit-btn {
    width: 100%;
    padding: 1rem;
    border-radius: 12px;
  }
}
