:root {
  --primary: #00A8A3;
  --secondary: #F47A20;
  --highlight: #FFD966;
  --background: #FFF8E1;
  --text-dark: #1F2D3D;
  --text-light: #4F5D75;
}

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

body {
  font-family: 'Nunito Sans', sans-serif;
  /* soft cream to white gradient background for a modern feel */
  background: linear-gradient(180deg, var(--background) 0%, #ffffff 100%);
  color: var(--text-dark);
  line-height: 1.6;
  min-height: 100vh;
}

.container {
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
}

header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 0;
}

header .logo {
  height: 60px;
}

nav a {
  margin-left: 1rem;
  text-decoration: none;
  color: var(--text-dark);
  font-weight: 600;
}

nav a:hover {
  color: var(--primary);
}

/* Hero section with subtle radial gradient and ample padding */
.hero {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  padding: 3rem 0;
  background: radial-gradient(circle at 30% 30%, rgba(255, 217, 102, 0.25), transparent 70%);
  border-radius: 16px;
}

.hero-text {
  flex: 1;
  min-width: 280px;
}

.hero-text h1 {
  font-family: 'Baloo 2', cursive;
  font-size: 2.5rem;
  color: var(--primary);
  margin-bottom: 1rem;
}

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

.waitlist-form {
  display: flex;
  flex-wrap: wrap;
  margin-bottom: 0.5rem;
}

.waitlist-form input[type="email"] {
  flex: 1;
  padding: 0.7rem;
  border: 2px solid var(--primary);
  border-radius: 5px 0 0 5px;
  font-size: 1rem;
}

/* Call‑to‑action button with smooth hover transition */
.waitlist-form button {
  padding: 0.7rem 1.2rem;
  background-color: var(--secondary);
  border: none;
  color: #fff;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  border-radius: 0 6px 6px 0;
  transition: background-color 0.3s ease, transform 0.2s ease;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.waitlist-form button:hover {
  background-color: var(--primary);
  transform: translateY(-2px);
}

.fine-print {
  font-size: 0.8rem;
  color: var(--text-light);
}

.fine-print a {
  color: var(--primary);
  text-decoration: underline;
}

.hero-image {
  flex: 1;
  text-align: center;
}

.hero-image img {
  width: 80%;
  max-width: 300px;
}

.features, .tracks {
  padding: 2rem 0;
  text-align: center;
}

.features h2, .tracks h2 {
  font-family: 'Baloo 2', cursive;
  font-size: 2rem;
  margin-bottom: 1rem;
  color: var(--primary);
}


/* Use a responsive grid layout for features so 4 items wrap gracefully */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1.5rem;
  justify-items: center;
}

/* Track grid remains a flexible row since there are only two tracks */
.track-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1.5rem;
}

/* Card styles for features and tracks */
.feature-item, .track {
  flex: 1;
  min-width: 250px;
  background-color: #fff;
  border-radius: 12px;
  padding: 1.5rem;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.feature-item:hover, .track:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
}

.feature-item h3, .track h3 {
  color: var(--secondary);
  margin-bottom: 0.5rem;
  font-size: 1.3rem;
}

footer {
  background-color: var(--primary);
  color: white;
  text-align: center;
  padding: 1rem 0;
  margin-top: 2rem;
}

footer a {
  color: var(--highlight);
  text-decoration: none;
  margin: 0 0.5rem;
}

@media (max-width: 768px) {
  .hero {
    flex-direction: column-reverse;
    text-align: center;
  }

  .hero-text h1 {
    font-size: 2rem;
  }

  .hero-image img {
    width: 60%;
  }
}
