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

:root {
  --primary: #4f46e5;
  --primary-dark: #3730a3;
  --bg: #fafafa;
  --text: #1e1e2f;
  --text-light: #555;
  --white: #ffffff;
  --radius: 8px;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
}

/* Header */
.logo {
  text-align: center;
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--primary);
  padding: 1.25rem 1.5rem;
}

/* Hero */
.hero {
  text-align: center;
  padding: 6rem 1.5rem 4rem;
  max-width: 700px;
  margin: 0 auto;
}

.hero h1 {
  font-size: 2.8rem;
  line-height: 1.15;
  margin-bottom: 1rem;
}

.hero p {
  font-size: 1.2rem;
  color: var(--text-light);
}

/* Sections */
section {
  max-width: 1000px;
  margin: 0 auto;
  padding: 4rem 1.5rem;
}

section h2 {
  text-align: center;
  font-size: 2rem;
  margin-bottom: 2.5rem;
}

/* Features */
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
}

.feature {
  background: var(--white);
  padding: 2rem;
  border-radius: var(--radius);
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.06);
}

.feature h3 {
  margin-bottom: 0.5rem;
  color: var(--primary);
}

.feature p {
  color: var(--text-light);
}

/* Contact */
#contact {
  text-align: center;
}

#contact p {
  color: var(--text-light);
  margin-bottom: 1.5rem;
}

form {
  display: flex;
  justify-content: center;
  gap: 0.75rem;
  flex-wrap: wrap;
}

input[type="email"] {
  padding: 0.75rem 1rem;
  border: 1px solid #ccc;
  border-radius: var(--radius);
  font-size: 1rem;
  width: 280px;
}

button {
  padding: 0.75rem 1.5rem;
  background: var(--primary);
  color: var(--white);
  border: none;
  border-radius: var(--radius);
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.2s;
}

button:hover {
  background: var(--primary-dark);
}

/* Footer */
footer {
  text-align: center;
  padding: 2rem 1.5rem;
  color: var(--text-light);
  font-size: 0.9rem;
  border-top: 1px solid #e5e5e5;
  margin-top: 2rem;
}

/* Responsive */
@media (max-width: 600px) {
  .hero {
    padding: 3rem 1rem 2rem;
  }

  .hero h1 {
    font-size: 1.8rem;
  }

  .hero p {
    font-size: 1.05rem;
  }

  section {
    padding: 2.5rem 1rem;
  }

  section h2 {
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
  }

  .features-grid {
    grid-template-columns: 1fr;
    gap: 1.25rem;
  }

  .feature {
    padding: 1.5rem;
  }

  input[type="email"] {
    width: 100%;
  }

  form {
    flex-direction: column;
    align-items: center;
  }

  button {
    width: 100%;
    max-width: 280px;
  }
}
