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

:root {
  /* Primary colors (matching Tailwind config) */
  --primary-50: #eff6ff;
  --primary-100: #dbeafe;
  --primary-500: #3b82f6;
  --primary-600: #2563eb;
  --primary-700: #1d4ed8;

  /* Other colors */
  --green-100: #dcfce7;
  --green-600: #16a34a;
  --purple-100: #f3e8ff;
  --purple-600: #9333ea;

  /* Neutrals */
  --gray-50: #f9fafb;
  --gray-100: #f3f4f6;
  --gray-200: #e5e7eb;
  --gray-300: #d1d5db;
  --gray-600: #4b5563;
  --gray-700: #374151;
  --gray-900: #111827;
}

body {
  font-family: 'Inter', system-ui, sans-serif;
  background: linear-gradient(135deg, var(--primary-50) 0%, #ffffff 100%);
  min-height: 100vh;
  color: var(--gray-900);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

.container {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 2rem;
}

.content {
  text-align: center;
  max-width: 600px;
  width: 100%;
}

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

.logo-icon {
  width: 48px;
  height: 48px;
}

.logo-text {
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--gray-900);
}

/* Typography */
h1 {
  font-size: 3rem;
  font-weight: 700;
  margin-bottom: 1rem;
  background: linear-gradient(135deg, var(--primary-600), var(--primary-500));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.subtitle {
  font-size: 1.125rem;
  color: var(--gray-600);
  margin-bottom: 2.5rem;
  line-height: 1.7;
}

/* Features */
.features {
  display: flex;
  justify-content: center;
  gap: 2rem;
  margin-bottom: 3rem;
  flex-wrap: wrap;
}

.feature {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
}

.feature-icon {
  width: 56px;
  height: 56px;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.feature-icon svg {
  width: 28px;
  height: 28px;
}

.feature-icon-primary {
  background: var(--primary-100);
  color: var(--primary-600);
}

.feature-icon-green {
  background: var(--green-100);
  color: var(--green-600);
}

.feature-icon-purple {
  background: var(--purple-100);
  color: var(--purple-600);
}

.feature span {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--gray-700);
}

/* Signup Section */
.signup-section {
  background: white;
  padding: 2rem;
  border-radius: 16px;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
  border: 1px solid var(--gray-200);
  margin-bottom: 2rem;
}

.signup-label {
  font-weight: 600;
  color: var(--gray-900);
  margin-bottom: 1rem;
}

.signup-form {
  display: flex;
  gap: 0.75rem;
}

.signup-form input {
  flex: 1;
  padding: 0.75rem 1rem;
  border: 1px solid var(--gray-300);
  border-radius: 8px;
  font-size: 1rem;
  font-family: inherit;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.signup-form input:focus {
  outline: none;
  border-color: var(--primary-500);
  box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}

.signup-form button {
  padding: 0.75rem 1.5rem;
  background: var(--primary-600);
  color: white;
  border: none;
  border-radius: 8px;
  font-size: 1rem;
  font-weight: 600;
  font-family: inherit;
  cursor: pointer;
  transition: background-color 0.2s, transform 0.2s;
}

.signup-form button:hover {
  background: var(--primary-700);
}

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

/* Hidden honeypot field for spam protection */
.input-hidden {
  position: absolute;
  left: -9999px;
}

/* Form messages */
.form-message {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1rem;
  border-radius: 8px;
  font-size: 0.875rem;
  margin-bottom: 1rem;
}

.form-message-success {
  background: var(--green-100);
  color: var(--green-600);
}

.form-message-error {
  background: #fee2e2;
  color: #dc2626;
}

/* Button loader */
.button-loader {
  animation: spin 1s linear infinite;
}

@keyframes spin {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

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

/* Contact Info */
.contact-info {
  color: var(--gray-600);
  font-size: 0.875rem;
}

.contact-info a {
  color: var(--primary-600);
  text-decoration: none;
  font-weight: 500;
}

.contact-info a:hover {
  text-decoration: underline;
}

/* Footer */
footer {
  margin-top: 4rem;
  color: var(--gray-600);
  font-size: 0.875rem;
}

/* Responsive */
@media (max-width: 640px) {
  .container {
    padding: 1.5rem;
  }

  h1 {
    font-size: 2rem;
  }

  .subtitle {
    font-size: 1rem;
  }

  .features {
    gap: 1.5rem;
  }

  .feature-icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
  }

  .feature-icon svg {
    width: 24px;
    height: 24px;
  }

  .signup-section {
    padding: 1.5rem;
  }

  .signup-form {
    flex-direction: column;
  }

  .signup-form button {
    width: 100%;
  }
}
