:root {
  --primary-color: #3B82F6;
}

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

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.container {
  background: white;
  border-radius: 16px;
  padding: 48px;
  max-width: 480px;
  width: 100%;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

#logo {
  max-width: 120px;
  height: auto;
  margin: 0 auto 24px;
  display: block;
}

h1 {
  font-size: 32px;
  font-weight: 700;
  color: #1a202c;
  margin-bottom: 12px;
  text-align: center;
}

p {
  font-size: 16px;
  color: #4a5568;
  margin-bottom: 32px;
  text-align: center;
  line-height: 1.5;
}

form {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

input[type="text"],
input[type="email"] {
  width: 100%;
  padding: 14px 16px;
  border: 2px solid #e2e8f0;
  border-radius: 8px;
  font-size: 16px;
  transition: border-color 0.2s;
}

input[type="text"]:focus,
input[type="email"]:focus {
  outline: none;
  border-color: var(--primary-color);
}

button[type="submit"] {
  width: 100%;
  padding: 14px;
  background: var(--primary-color);
  color: white;
  border: none;
  border-radius: 8px;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  transition: opacity 0.2s;
}

button[type="submit"]:hover {
  opacity: 0.9;
}

#success-message {
  text-align: center;
}

#success-message h2 {
  font-size: 28px;
  color: #48bb78;
  margin-bottom: 12px;
}

#success-message p {
  font-size: 16px;
  color: #4a5568;
}

#error-message {
  background: #fed7d7;
  border: 1px solid #fc8181;
  border-radius: 8px;
  padding: 12px;
  text-align: center;
}

#error-message p {
  color: #c53030;
  margin: 0;
}

#turnstile-widget {
  display: flex;
  justify-content: center;
}