* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: Arial, sans-serif;
}

html {
  scroll-behavior: smooth;
}

body {
  background: #f5f5f5;
  color: #222;
}

.hero {
  min-height: 100vh;
  background:
    linear-gradient(rgba(0,0,0,0.55), rgba(0,0,0,0.55)),
    url("hero.png");
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  padding: 80px;
  color: white;
}

.hero-content {
  max-width: 650px;
  text-align: left;
}

.hero h1 {
  font-size: 4.5rem;
  line-height: 1.05;
  margin-bottom: 20px;
}

.hero p {
  font-size: 1.25rem;
  line-height: 1.6;
  margin-bottom: 30px;
  max-width: 560px;
}

.signup-btn {
  padding: 14px 34px;
  background: white;
  color: #111;
  border: none;
  border-radius: 30px;
  font-weight: bold;
  font-size: 1rem;
  cursor: pointer;
}

.signup-btn:hover {
  background: #e8e8e8;
}

.content-section {
  padding: 80px 12%;
  background: white;
}

.content-section.light {
  background: #f3f3f3;
}

.content-section h2 {
  font-size: 2.4rem;
  margin-bottom: 18px;
}

.content-section p {
  font-size: 1.1rem;
  line-height: 1.8;
  max-width: 900px;
}

.modal {
  display: none;
  position: fixed;
  z-index: 1000;
  inset: 0;
  background: rgba(0,0,0,0.65);
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.modal.active {
  display: flex;
}

.modal-box {
  position: relative;
  width: 100%;
  max-width: 440px;
  background: white;
  color: #222;
  padding: 35px;
  border-radius: 18px;
  box-shadow: 0 20px 60px rgba(0,0,0,0.3);
}

.modal-box h2 {
  font-size: 2rem;
  margin-bottom: 10px;
}

.modal-text {
  margin-bottom: 22px;
  color: #555;
  line-height: 1.5;
}

.close-btn {
  position: absolute;
  top: 14px;
  right: 18px;
  background: none;
  border: none;
  font-size: 2rem;
  cursor: pointer;
  color: #333;
}

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

input {
  padding: 14px;
  font-size: 1rem;
  border: 1px solid #ccc;
  border-radius: 8px;
}

form button {
  padding: 14px;
  font-size: 1rem;
  border: none;
  border-radius: 8px;
  background: #111;
  color: white;
  cursor: pointer;
  font-weight: bold;
}

form button:hover {
  background: #333;
}

@media (max-width: 700px) {
  .hero {
    padding: 40px 24px;
  }

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

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

  .content-section {
    padding: 60px 24px;
  }
}
