<template>
  <section class="problem-section">
    <div class="container">
      <div class="section-label">Why It Matters</div>
      <h2 class="section-heading">Why Most Chore Systems Fail</h2>
      <p class="section-subheading">
        Nagging doesn't work. Vague expectations don't work. But a clear, consistent system changes
        everything — for your kids and for you.
      </p>
      <div class="benefits-grid">
        <div v-for="benefit in benefits" :key="benefit.title" class="benefit-card">
          <h3 class="benefit-title">{{ benefit.title }}</h3>
          <p class="benefit-body">{{ benefit.body }}</p>
        </div>
      </div>
    </div>
  </section>
</template>

<script setup lang="ts">
const benefits = [
  {
    title: 'Develops Executive Function',
    body: 'Managing a to-do list teaches kids how to prioritize tasks, manage their time, and follow multi-step directions — skills that translate directly to schoolwork and future careers.',
  },
  {
    title: 'Fosters a "Can-Do" Attitude',
    body: "Completing a task provides a tangible sense of mastery. This builds genuine self-esteem because it's based on actual competence rather than empty praise.",
  },
  {
    title: 'Encourages Accountability',
    body: 'A system moves chores from "Mom/Dad is nagging me" to "This is my responsibility." It teaches that their actions have a direct impact on the people they live with.',
  },
  {
    title: 'Normalizes Life Skills',
    body: 'By the time they head out on their own, "adulting" won\'t feel like a mountain to climb. Cooking, cleaning, and organizing will be second nature rather than a stressful learning curve.',
  },
  {
    title: 'Promotes Family Belonging',
    body: 'Contributing to the home makes a child feel like a teammate rather than a guest. It reinforces the idea that a family is a unit where everyone supports one another.',
  },
]
</script>

<style scoped>
.problem-section {
  background: var(--landing-section-alt);
  padding: 5rem 1.5rem;
}

.container {
  max-width: 1100px;
  margin: 0 auto;
}

.section-label {
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 0.6rem;
  text-align: center;
}

.section-heading {
  font-size: clamp(1.6rem, 3.5vw, 2.4rem);
  font-weight: 800;
  color: var(--landing-problem-heading);
  text-align: center;
  margin: 0 0 1rem;
  line-height: 1.2;
}

.section-subheading {
  font-size: clamp(0.95rem, 2vw, 1.1rem);
  color: var(--landing-problem-body);
  text-align: center;
  max-width: 640px;
  margin: 0 auto 3.5rem;
  line-height: 1.65;
}

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

.benefit-card {
  background: var(--card-bg);
  border-radius: 14px;
  padding: 1.6rem 1.6rem 1.6rem 1.4rem;
  box-shadow: 0 4px 20px rgba(102, 126, 234, 0.09);
  border-left: 3px solid var(--primary);
  transition:
    transform 0.18s,
    box-shadow 0.18s;
}

.benefit-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 28px rgba(102, 126, 234, 0.16);
}

.benefit-title {
  font-size: 1rem;
  font-weight: 700;
  color: var(--landing-problem-heading);
  margin: 0 0 0.6rem;
  line-height: 1.3;
}

.benefit-body {
  font-size: 0.9rem;
  color: var(--landing-problem-body);
  line-height: 1.65;
  margin: 0;
}

/* Tablet */
@media (max-width: 900px) {
  .benefits-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* Mobile */
@media (max-width: 560px) {
  .problem-section {
    padding: 3.5rem 1rem;
  }

  .benefits-grid {
    grid-template-columns: 1fr;
  }
}
</style>
