/* ========================================
   Poolhouse Coming Soon Landing Page
   ======================================== */

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

:root {
  --bg-dark: #0a0e1a;
  --bg-gradient-start: #0a0e1a;
  --bg-gradient-end: #121830;
  --neon-cyan: #00d4ff;
  --neon-purple: #a855f7;
  --neon-blue: #3b82f6;
  --text-primary: #ffffff;
  --text-secondary: rgba(255, 255, 255, 0.7);
  --text-muted: rgba(255, 255, 255, 0.5);
  --glass-bg: rgba(255, 255, 255, 0.05);
  --glass-border: rgba(255, 255, 255, 0.1);
  --success: #10b981;
  --error: #ef4444;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  background: linear-gradient(135deg, var(--bg-gradient-start) 0%, var(--bg-gradient-end) 100%);
  min-height: 100vh;
  color: var(--text-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow-x: hidden;
}

/* Animated background waves */
body::before {
  content: '';
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: 
    radial-gradient(ellipse at 20% 80%, rgba(0, 212, 255, 0.08) 0%, transparent 50%),
    radial-gradient(ellipse at 80% 20%, rgba(168, 85, 247, 0.08) 0%, transparent 50%),
    radial-gradient(ellipse at 50% 50%, rgba(59, 130, 246, 0.05) 0%, transparent 70%);
  pointer-events: none;
  z-index: 0;
}

.container {
  position: relative;
  z-index: 1;
  text-align: center;
  padding: 2rem;
  max-width: 500px;
  width: 100%;
}

/* Logo */
.logo-container {
  margin-bottom: 2rem;
}

.logo {
  width: 140px;
  height: 140px;
  border-radius: 28px;
  filter: drop-shadow(0 0 30px rgba(0, 212, 255, 0.3));
  animation: glow 3s ease-in-out infinite alternate;
}

@keyframes glow {
  from {
    filter: drop-shadow(0 0 20px rgba(0, 212, 255, 0.3));
  }
  to {
    filter: drop-shadow(0 0 40px rgba(168, 85, 247, 0.4));
  }
}

/* Typography */
.headline {
  font-size: 3rem;
  font-weight: 700;
  background: linear-gradient(135deg, var(--neon-cyan) 0%, var(--neon-purple) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 0.5rem;
  letter-spacing: -0.02em;
}

.tagline {
  font-size: 1.25rem;
  color: var(--text-secondary);
  margin-bottom: 1.5rem;
  font-weight: 500;
}

/* Features */
.features {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 2.5rem;
  flex-wrap: wrap;
}

.feature {
  font-size: 0.95rem;
  color: var(--text-secondary);
}

.feature-divider {
  color: var(--text-muted);
}

/* Signup Form */
.signup-container {
  margin-bottom: 2.5rem;
}

.signup-form {
  display: flex;
  gap: 0.75rem;
  max-width: 400px;
  margin: 0 auto;
}

.signup-form input {
  flex: 1;
  padding: 0.875rem 1rem;
  font-size: 1rem;
  font-family: inherit;
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: 12px;
  color: var(--text-primary);
  outline: none;
  transition: all 0.2s ease;
}

.signup-form input::placeholder {
  color: var(--text-muted);
}

.signup-form input:focus {
  border-color: var(--neon-cyan);
  box-shadow: 0 0 0 3px rgba(0, 212, 255, 0.15);
}

.signup-form button {
  padding: 0.875rem 1.5rem;
  font-size: 1rem;
  font-weight: 600;
  font-family: inherit;
  background: linear-gradient(135deg, var(--neon-cyan) 0%, var(--neon-blue) 100%);
  border: none;
  border-radius: 12px;
  color: var(--bg-dark);
  cursor: pointer;
  transition: all 0.2s ease;
  white-space: nowrap;
}

.signup-form button:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(0, 212, 255, 0.3);
}

.signup-form button:active {
  transform: translateY(0);
}

.signup-form button:disabled {
  opacity: 0.7;
  cursor: not-allowed;
  transform: none;
}

.message {
  margin-top: 1rem;
  font-size: 0.9rem;
  min-height: 1.5rem;
}

.message.success {
  color: var(--success);
}

.message.error {
  color: var(--error);
}

/* Social Links */
.social-links {
  display: flex;
  justify-content: center;
  gap: 1.25rem;
  margin-bottom: 2rem;
}

.social-links a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: 12px;
  color: var(--text-secondary);
  transition: all 0.2s ease;
}

.social-links a:hover {
  color: var(--neon-cyan);
  border-color: var(--neon-cyan);
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(0, 212, 255, 0.2);
}

.social-links svg {
  width: 20px;
  height: 20px;
}

/* Footer */
.footer {
  font-size: 0.85rem;
  color: var(--text-muted);
}

/* Responsive */
@media (max-width: 480px) {
  .container {
    padding: 1.5rem;
  }
  
  .logo {
    width: 120px;
    height: 120px;
  }
  
  .headline {
    font-size: 2.25rem;
  }
  
  .tagline {
    font-size: 1.1rem;
  }
  
  .signup-form {
    flex-direction: column;
  }
  
  .signup-form button {
    width: 100%;
  }
  
  .features {
    gap: 0.5rem;
  }
  
  .feature {
    font-size: 0.85rem;
  }
}
