:root {
  --bg-color: #060608;
  --card-bg: rgba(10, 10, 16, 0.6);
  --border-color: rgba(99, 102, 241, 0.12);
  --text-main: #f9fafb;
  --text-muted: #9ca3af;
  --primary-glow: rgba(99, 102, 241, 0.15);
  --secondary-glow: rgba(168, 85, 247, 0.12);
  --gradient-btn: linear-gradient(135deg, #6366f1 0%, #a855f7 100%);
  --font-sans: 'Outfit', sans-serif;
}

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

body {
  background-color: var(--bg-color);
  color: var(--text-main);
  font-family: var(--font-sans);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  overflow-x: hidden;
  position: relative;
}

/* Background Grid */
.bg-grid {
  position: absolute;
  inset: 0;
  background-image: 
    linear-gradient(rgba(255, 255, 255, 0.015) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.015) 1px, transparent 1px);
  background-size: 40px 40px;
  background-position: center;
  z-index: -2;
  mask-image: radial-gradient(ellipse 60% 50% at 50% 50%, #000 70%, transparent 100%);
  -webkit-mask-image: radial-gradient(ellipse 60% 50% at 50% 50%, #000 70%, transparent 100%);
}

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

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

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

@keyframes floatGlow1 {
  0% { transform: translate(0, 0) scale(1); }
  100% { transform: translate(60px, 40px) scale(1.1); }
}

@keyframes floatGlow2 {
  0% { transform: translate(0, 0) scale(1); }
  100% { transform: translate(-80px, -50px) scale(1.05); }
}

/* Header */
.header {
  padding: 40px;
  display: flex;
  justify-content: center;
  z-index: 10;
}

.logo {
  font-weight: 700;
  font-size: 1.1rem;
  letter-spacing: 0.25em;
  color: var(--text-main);
  display: flex;
  align-items: center;
  gap: 8px;
}

.logo i {
  color: #6366f1;
  font-size: 1.2rem;
}

.logo span {
  background: linear-gradient(135deg, #818cf8, #c084fc);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* Main Container */
.container {
  max-width: 660px;
  width: 100%;
  margin: 0 auto;
  padding: 20px;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-grow: 1;
  z-index: 10;
}

/* Card */
.card {
  background: var(--card-bg);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border: 1px solid var(--border-color);
  border-radius: 24px;
  padding: 56px 48px;
  width: 100%;
  text-align: center;
  box-shadow: 
    0 20px 40px rgba(0, 0, 0, 0.5),
    inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

.kicker {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: #818cf8;
  margin-bottom: 20px;
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
}

.title {
  font-size: 2.6rem;
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 24px;
  letter-spacing: -0.03em;
  background: linear-gradient(to right, #f9fafb 50%, #d1d5db 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.description {
  font-size: 1rem;
  color: var(--text-muted);
  line-height: 1.6;
  font-weight: 300;
  margin-bottom: 36px;
}

/* Status Badge */
.status-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(99, 102, 241, 0.05);
  border: 1px solid rgba(99, 102, 241, 0.15);
  padding: 8px 16px;
  border-radius: 100px;
  font-size: 0.85rem;
  font-weight: 500;
  color: #a5b4fc;
  margin-bottom: 36px;
}

.pulse-dot {
  width: 6px;
  height: 6px;
  background-color: #a855f7;
  border-radius: 50%;
  display: inline-block;
  box-shadow: 0 0 10px #a855f7;
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(168, 85, 247, 0.7); }
  70% { transform: scale(1); box-shadow: 0 0 0 8px rgba(168, 85, 247, 0); }
  100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(168, 85, 247, 0); }
}

/* Form */
.signup-form {
  display: flex;
  gap: 10px;
  background: rgba(10, 10, 10, 0.4);
  border: 1px solid var(--border-color);
  padding: 6px;
  border-radius: 16px;
  transition: all 0.3s;
}

.signup-form:focus-within {
  border-color: rgba(99, 102, 241, 0.4);
  box-shadow: 0 0 15px rgba(99, 102, 241, 0.15);
}

.signup-form input {
  flex: 1;
  background: transparent;
  border: none;
  outline: none;
  padding: 12px 16px;
  color: var(--text-main);
  font-family: var(--font-sans);
  font-size: 1rem;
}

.signup-form input::placeholder {
  color: #4b5563;
}

.signup-form button {
  background: var(--gradient-btn);
  color: #ffffff;
  border: none;
  border-radius: 12px;
  padding: 12px 24px;
  font-weight: 600;
  font-family: var(--font-sans);
  font-size: 0.95rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 8px;
  box-shadow: 0 4px 12px rgba(99, 102, 241, 0.25);
  transition: all 0.2s;
}

.signup-form button:hover {
  filter: brightness(1.1);
  box-shadow: 0 4px 20px rgba(99, 102, 241, 0.4);
}

.signup-form button:active {
  transform: scale(0.98);
}

.form-message {
  margin-top: 14px;
  font-size: 0.9rem;
  min-height: 20px;
}

.form-message.success {
  color: #10b981;
}

/* Footer */
.footer {
  padding: 40px;
  text-align: center;
  font-size: 0.8rem;
  color: #374151;
}

.footer a {
  color: var(--text-muted);
  text-decoration: none;
  margin-left: 10px;
  transition: color 0.2s;
}

.footer a:hover {
  color: var(--text-main);
}

/* Responsiveness */
@media (max-width: 640px) {
  .card {
    padding: 40px 24px;
  }
  .title {
    font-size: 2.1rem;
  }
  .signup-form {
    flex-direction: column;
    background: transparent;
    border: none;
    padding: 0;
  }
  .signup-form input {
    border: 1px solid var(--border-color);
    border-radius: 12px;
    background: rgba(10, 10, 16, 0.6);
    margin-bottom: 8px;
  }
  .signup-form button {
    justify-content: center;
    border-radius: 12px;
    padding: 14px;
  }
}
