/* --- Base Styles --- */
body {
  font-family: "Inter", sans-serif;
  margin: 0;
  padding: 0;
  background-color: var(--color-surface-subtle); /* Light gray */
  color: var(--color-text-primary); /* Dark gray */
}

/* --- Utility Classes --- */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1rem;
}

/* --- Header --- */
.header {
  background-color: var(--color-bg-body);
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
  position: sticky;
  top: 0;
  z-index: 50;
}

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

.logo-link {
  display: flex;
  align-items: center;
  text-decoration: none;
  color: var(--color-text-primary);
}

.logo-icon {
  height: 4rem;
  width: 4rem;
  color: var(--color-warning-base); /* Orange */
  margin-right: 0.5rem;
}

.logo-text {
  font-size: 2rem;
  font-weight: bold;
  color: var(--color-primary-base);
}

.navigation a {
  text-decoration: none;
  color: var(--color-text-muted); /* Gray */
  margin-left: 1rem;
  transition: color 0.3s ease;
}

/* --- Hero Section --- */
.hero {
  background: linear-gradient(
    to bottom,
    var(--color-primary-base),
    var(--color-primary-dark)
  ); /* Dark blue-gradient */
  color: white;
  padding: 5rem 0;
  text-align: center;
}

.hero-title {
  font-size: 3rem;
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 1rem;
}

.hero-subtitle {
  font-size: 1.25rem;
  margin-bottom: 2rem;
  max-width: 48rem;
  margin-left: auto;
  margin-right: auto;
  opacity: 0.9;
}

.hero-buttons {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 1rem;
}

/* --- Buttons --- */
.button {
  text-decoration: none;
  font-weight: bold;
  padding: 0.75rem 2rem;
  border-radius: 9999px; /* Rounded pill shape */
  transition: transform 0.3s ease, background-color 0.3s ease;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.button-primary {
  background-color: var(--color-warning-base); /* Orange */
  color: white;
}

.button-secondary {
  background-color: transparent;
  border: 2px solid white;
  color: white;
}

.large-button {
  padding: 1rem 2.5rem;
}

/* --- Features Section --- */
.features-section {
  padding: 4rem 0;
  background-color: var(--color-bg-body);
}

.section-title {
  font-size: 2.25rem;
  font-weight: bold;
  text-align: center;
  margin-bottom: 3rem;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.feature-card {
  background-color: var(--color-surface-subtle); /* Lighter gray */
  padding: 2rem;
  border-radius: 0.5rem;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
  transition: box-shadow 0.3s ease;
  text-align: center;
}

.feature-icon-container {
  display: flex;
  justify-content: center;
  margin-bottom: 1rem;
}

.feature-icon {
  height: 4rem;
  width: 4rem;
  color: var(--color-warning-base); /* Orange */
}

.feature-title {
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.feature-description {
  color: var(--color-text-muted); /* Gray */
}

/* --- CTA Section --- */
.cta-section {
  background-color: var(--color-text-primary); /* Dark blue-gray */
  color: white;
  padding: 4rem 0;
  text-align: center;
}

.cta-title {
  font-size: 2.25rem;
  font-weight: bold;
  margin-bottom: 1rem;
}

.cta-subtitle {
  font-size: 1.25rem;
  margin-bottom: 2rem;
  opacity: 0.9;
}

/* --- Footer --- */
.footer {
  background-color: var(--color-text-muted-dark); /* Darkest blue-gray */
  color: var(--color-border-default);
  padding: 1.5rem 0;
  text-align: center;
}

/* --- Responsive Design (Mobile) --- */
@media (max-width: 768px) {
  .header-container {
    flex-direction: column;
    text-align: center;
  }

  .navigation {
    margin-top: 1rem;
  }

  .navigation a {
    margin: 0 0.5rem;
  }

  .hero {
    padding: 3rem 0;
  }

  .hero-title {
    font-size: 2.5rem;
  }

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

  .hero-buttons {
    flex-direction: column;
    gap: 0.75rem;
  }

  .button {
    width: 100%;
    max-width: 300px;
    padding: 0.75rem 1rem;
  }

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

/* --- Hover states for devices that support it --- */
@media (hover: hover) and (pointer: fine) {
  .navigation a:hover {
    color: var(--color-warning-base); /* Orange */
  }

  .button:hover {
    transform: scale(1.05);
  }

  .button-primary:hover {
    background-color: var(--color-warning-dark); /* Darker orange */
  }

  .feature-card:hover {
    box-shadow: 0 10px 15px rgba(0, 0, 0, 0.1);
  }
}
