/* Reset & Base */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Segoe UI', sans-serif;
  background-color: #fff;
  color: #333333;
  line-height: 1.6;
}

a {
  color: #008080;
  text-decoration: none;
}

/* Section Wrapper */
section {
  max-width: 1200px;
  margin: 0 auto;
  padding: 4rem 1rem;
}

/* Headings */
h1, h2, h3 {
  color: #0d3630;
  margin-bottom: 0.5em;
}

/* Hero */
.hero {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: #e9f8f7;
  overflow: hidden;
  padding-top: 4rem;
}

.hero-container {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  width: 100%;
  max-width: 1200px;
  padding: 0 1rem;
  z-index: 1;
}

.hero-text {
  flex: 1 1 400px;
  color: #0d3630;
}
.hero-text h1 {
  font-size: 2.5rem;
  line-height: 1.2;
  margin-bottom: 1rem;
}
.hero-text p {
  font-size: 1.125rem;
  margin-bottom: 1.5rem;
}
.hero-text .cta {
  display: inline-block;
  background-color: #0d3630;
  color: #fff;
  padding: 0.75rem 1.5rem;
  border-radius: 0.375rem;
}

.hero-illustration {
  flex: 1 1 300px;
  text-align: center;
}
.hero-illustration img {
  max-width: 100%;
  height: auto;
}

/* Decorative wave at bottom of hero */
.wave-image {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  max-height: 150px;
  object-fit: cover;
}

/* Cards (How It Works + Benefits) */
.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 2rem;
}

.card {
  background-color: #f9fafa;
  padding: 1.5rem;
  border-radius: 0.5rem;
  box-shadow: 0 2px 4px rgba(0,0,0,0.05);
  text-align: center;
  transition: transform 0.2s ease;
}
.card:hover {
  transform: translateY(-4px);
}
.card-icon {
  display: block;
  width: 48px;
  height: auto;
  margin: 0 auto 1rem;
}
.card h3 {
  margin-bottom: 0.5rem;
  color: #1f3e43;
}
.card p {
  font-size: 0.95rem;
  color: #444;
  line-height: 1.4;
}

/* Signup Form */
.signup {
  background-color: #ffffff;
  text-align: center;
}
.signup h2 {
  font-size: 2rem;
  margin-bottom: 2rem;
}
.signup form {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1rem;
}
.signup input[type="email"] {
  flex: 1 1 250px;
  padding: 0.75rem 1rem;
  border: 1px solid #8fdde7;
  border-radius: 0.375rem;
}
.signup button {
  padding: 0.75rem 1.5rem;
  background-color: #ffffff;
  color: #fff;
  border: none;
  border-radius: 0.375rem;
  cursor: pointer;
}

/* Footer */
footer {
  background-color: #f0fafa;
  text-align: center;
  padding: 2rem 1rem;
  font-size: 1rem;
  color: #555;
}
footer a {
  color: #008080;
}

/* Hero image responsive overrides */
.hero {
  padding: 0;
  height: 60vh;
}
.hero-illustration {
  max-height: 100%;
  overflow: hidden;
}
.hero-illustration img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
/* --------------------------------------------------------------------------
   Full‑width hero wave
   -------------------------------------------------------------------------- */
.hero-wave {
  display: block;       /* remove inline gap */
  width: 100vw;         /* span the viewport width */
  height: auto;         /* maintain aspect ratio */
  object-fit: cover;    /* crop any slight overhang */
  margin: 0;            /* kill default img margin */
}

/* If you had any <section> padding that was pushing content under the wave, you can nudge it up: */
section#signup {
  margin-top: -2px;     /* pull it flush under the wave */
  padding-top: 4rem;    /* restore your vertical gutter */
}
/* Waitlist‑style form */
.signup-form .input-group {
  display: flex;
  max-width: 600px;      /* or whatever width you like */
  margin: 0 auto;
  box-shadow: 0 2px 8px rgba(0,0,0,0.05);
  border-radius: 0.375rem;
  overflow: hidden;
}

.signup-form input[type="email"] {
  flex: 1;
  padding: 0.75rem 1rem;
  border: none;
  font-size: 1rem;
}

.signup-form button {
  padding: 0.75rem 1.5rem;
  background-color: #008080;
  color: #fff;
  border: none;
  font-weight: bold;
  cursor: pointer;
  transition: background 0.2s ease;
}

.signup-form button:hover {
  background-color: #006666;
}

/* Ensure the placeholder text is a little lighter */
.signup-form input::placeholder {
  color: #888;
}