/* General */
body {
  margin: 0;
  font-family: Arial, sans-serif;
  color: #333;
  line-height: 1.6;
}

h1, h2, h3 {
  margin: 0 0 1rem;
}

.center {
  text-align: center;
}

.small {
  font-size: 0.85rem;
  color: #666;
  margin-top: 0.5rem;
}

/* Hero */
header {
  background: linear-gradient(135deg, #2563eb, #1e40af);
  color: white;
  text-align: center;
  padding: 4rem 2rem;
}

header h1 {
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

header p {
  font-size: 1.2rem;
  margin-bottom: 2rem;
}

/* Button */
.btn {
  display: inline-block;
  background: #facc15;
  color: #000;
  padding: 0.8rem 1.5rem;
  font-weight: bold;
  border-radius: 8px;
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: 0.3s;
}

.btn:hover {
  background: #eab308;
}

/* Sections */
section {
  padding: 3rem 2rem;
  max-width: 1000px;
  margin: auto;
}

/* Features */
.features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.5rem;
  margin-top: 2rem;
}

.feature {
  background: #f9fafb;
  border-radius: 12px;
  padding: 1.5rem;
  box-shadow: 0 2px 6px rgba(0,0,0,0.05);
}

.feature h3 {
  margin-top: 0;
  color: #2563eb;
}

/* How It Works */
.how-it-works {
  text-align: center;
}

.steps {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1rem;
  margin-top: 1.5rem;
}

.step {
  flex: 1 1 200px;
  background: #eef2ff;
  border-radius: 8px;
  padding: 1rem;
}

/* Signup Form */
.signup-form {
  margin-top: 1rem;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.5rem;
}

.signup-form input[type="email"] {
  padding: 0.8rem;
  border: 1px solid #ddd;
  border-radius: 8px;
  font-size: 1rem;
  flex: 1 1 250px;
  min-width: 200px;
}

.signup-form button {
  flex: 0 0 auto;
}

/* Mobile responsiveness */
@media (max-width: 600px) {
  .signup-form {
    flex-direction: column;
    align-items: center;
  }

  .signup-form input[type="email"] {
    width: 100%;
    max-width: 300px;
  }

  .signup-form button {
    width: 100%;
    max-width: 300px;
  }
}

/* Success Message */
#form-message {
  display: none;
  color: green;
  margin-top: 1rem;
  font-weight: bold;
  opacity: 0;
  transition: opacity 0.6s ease-in-out;
}

#form-message.show {
  display: block;
  opacity: 1;
}

/* Footer */
footer {
  background: #1e293b;
  color: #cbd5e1;
  text-align: center;
  padding: 2rem;
  font-size: 0.9rem;
}

footer a {
  color: #facc15;
  text-decoration: none;
}
