@font-face {
  font-family: 'DMSans';
  src: url('assets/fonts/DMSans-VariableFont_opsz,wght.ttf') format('truetype');
  font-weight: 400 700;
  font-style: normal;
}

:root {
  --purple-100: hsl(254, 88%, 90%);
  --purple-500: hsl(256, 67%, 59%);
  --yellow-100: hsl(31, 66%, 93%);
  --yellow-500: hsl(39, 100%, 71%);
  --white: hsl(0, 0%, 100%);
  --black: hsl(0, 0%, 7%);
  --radius: 10px;
  --font-main: 'DMSans', Arial, sans-serif;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  background: #f7f7f7;
  font-family: var(--font-main);
  color: var(--black);
  min-height: 100vh;
}

.bento-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
  padding: 24px 12px 48px 12px;
  max-width: 420px;
  margin: 0 auto;
}

.card {
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: 0 2px 8px 0 rgba(80, 80, 120, 0.04);
  padding: 28px 22px;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: flex-start;
}

.card-main {
  background: var(--purple-500);
  color: var(--white);
  align-items: center;
  text-align: center;
  padding: 36px 18px 28px 18px;
}

.card-main h1 {
  font-size: 2.1rem;
  font-weight: 500;
  margin: 0 0 18px 0;
  line-height: 1.15;
  letter-spacing: -1px;
}

.card-main .highlight-10x {
  color: var(--yellow-500);
  font-style: normal;
}

.card-main em {
  font-style: italic;
}

.stars img {
  width: 120px;
  margin: 0 auto 10px auto;
  display: block;
}

.card-main .reviews {
  font-size: 1rem;
  margin: 0;
  color: var(--purple-100);
}

.card-create {
  background: var(--yellow-100);
  align-items: flex-start;
  justify-content: flex-start;
}

.card-create h2 {
  font-size: 1.25rem;
  font-weight: 500;
  margin: 0 0 18px 0;
  line-height: 1.2;
}

.card-create .highlight {
  color: var(--purple-500);
  font-style: italic;
}

.card-create img {
  width: 50%;
  object-fit: contain;
}

.create-btn:hover {
  background: var(--yellow-500);
  filter: brightness(0.95);
}

.create-btn .arrow {
  font-size: 1.3em;
  margin-left: 4px;
}

.card-schedule {
  background: var(--purple-100);
  text-align: center;
  padding-bottom: 18px;
}

.card-schedule h2 {
  font-size: 1.18rem;
  font-weight: 500;
  margin: 0 0 12px 0;
}

.card-schedule .schedule-img {
  width: 100%;
  max-width: 260px;
  margin: 0 0 12px 0;
  border-radius: 12px;
}

.card-schedule .desc {
  font-size: 1rem;
  color: var(--black);
  margin: 0;
}

.card-manage {
  background: var(--white);
  flex-direction: column;
  align-items: center;
  gap: 16px;
  padding: 18px 18px;
  font-weight: 800;
}

.card-manage .platforms img {
  width: 100%;
  object-fit: contain;
  margin-right: 10px;
}

.card-manage h2 {
  font-size: 1.1rem;
  font-weight: 500;
  margin: 0;
  line-height: 1.2;
}

.card-consistent {
  background: var(--yellow-500);
  color: var(--black);
  align-items: flex-start;
  padding-bottom: 0;
}

.card-consistent h2 {
  font-size: 1.1rem;
  font-weight: 500;
  margin: 0 0 10px 0;
}

.card-consistent img {
  width: 100%;
  max-width: 180px;
  margin-top: 8px;
  border-radius: 10px;
}

.card-growth {
  background: var(--white);
  align-items: flex-start;
  text-align: left;
  padding-bottom: 10px;
}

.card-growth .growth-stats h2 {
  font-size: 2rem;
  font-weight: 700;
  margin: 0 0 6px 0;
  color: var(--black);
}

.card-growth .growth-stats p {
  font-size: 1rem;
  margin: 0 0 10px 0;
}

.card-growth .growth-stats img {
  width: 100%;
  max-width: 120px;
  margin-top: 8px;
  border-radius: 10px;
}

.card-followers {
  background: var(--purple-500);
  color: var(--white);
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 18px;
  padding: 18px 18px;
}

.card-followers .followers-img {
  width: 80%;
  object-fit: contain;
  margin-right: 10px;
}

.card-followers h2 {
  font-size: 1.6rem;
  font-weight: 500;
  margin: 0;
  line-height: 1;
  text-align: center;
}

.card-ai {
  background: var(--yellow-500);
  color: var(--black);
  align-items: flex-start;
  padding-bottom: 10px;
}

.card-ai h2 {
  font-size: 1.7rem;
  font-weight: 500;
  margin: 0 0 10px 0;
}

.card-ai .ai-chat img {
  width: 100%;
  max-width: 180px;
  margin-top: 8px;
  border-radius: 10px;
}

.attribution {
  text-align: center;
  font-size: 11px;
  margin: 0 0 0 0;
  color: #888;
}
.attribution a { color: hsl(256, 67%, 59%); text-decoration: none; }

@media (min-width: 900px) {
  .bento-grid {
    max-width: 1200px;
    grid-template-columns: repeat(4, 1fr);
    grid-template-rows: 300px 70px 160px 250px;
    gap: 20px;
    padding: 48px 0 64px 0;
  }
  .card {
    padding: 32px 28px;
    min-height: 0;
  }
  .card-main {
    grid-column: 2 / 4;
    grid-row: 1 / 2;
    padding: 48px 28px 36px 28px;
  }

  .card-main h1 {
    font-size: 3.7rem;
    line-height: 1;
  }

  .card-create {
    grid-column: 1 / 2;
    grid-row: 1 / 3;
    align-items: flex-start;
    justify-content: flex-start;
  }

  .card-create h2 {
    font-size: 2rem;
    font-weight: 600;
    margin: 0 0 24px 0;
  }
  .card-create img {
    width: 90%;
    max-width: 300px;
    margin-top: 18px;
  }


  .card-schedule {
    grid-column: 4 / 5;
    grid-row: 1 / 4;
    align-items: flex-start;
  }

  .card-schedule h2 {
    font-size: 1.7rem;
    font-weight: 600;
    margin: 0 0 18px 0;
    text-align: left;
  }

  .card-schedule .schedule-img {
    width: 120%;
    height: 90%;
    overflow: hidden;
    margin: 0 0 18px 0;
    border-radius: 12px;
  }

  .card-schedule .desc {
    font-size: 17px;
    color: var(--black);
    text-align: left;
  }

  .card-manage {
    grid-column: 2 / 3;
    grid-row: 2 / 4;
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }

  .card-manage h2 {
    font-size: 1.85rem;
    font-weight: 600;
    margin: 0 0 12px 0;
    text-align: left;
    line-height: 1;
  }

  .card-consistent {
    grid-column: 3 / 4;
    grid-row: 2 / 4;
  }

  .card-consistent h2 {
    font-size: 1.8rem;
    font-weight: 600;
    text-align: left;
    line-height: 1;
  }
  .card-consistent img {
    width: 100%;
    max-width: 300px;
    border-radius: 12px;
  } 
  .card-growth {
    grid-column: 2 / 3;
    grid-row: 4 / 5;
  }
  .card-growth .growth-stats {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
  }
  .card-growth .growth-stats h2 {
    font-size: 3rem;
    font-weight: 700;
    margin: 0 0 6px 0;
    color: var(--black);
  }
  .card-growth .growth-stats p {
    font-size: 1.2rem;
    margin: 0 0 10px 0;
  }
  .card-growth .growth-stats img {
    width: 100%;
    max-width: 200px;
    margin-top: 8px;
    border-radius: 10px;
  }
  .card-followers {
    grid-column: 3 / 5;
    grid-row: 4 / 5;
    flex-direction: row;
    align-items: center;
  }
  .card-followers h2 {
    font-size: 1.8rem;
    font-weight: 600;
    margin: 0 0 18px 0;
    text-align: center;
    line-height: 1;
  }
  .card-followers .followers-img {
    width: 100%;
    max-width: 200px;
    margin-right: 10px;
    border-radius: 12px;
  }
  .card-ai {
    grid-column: 1 / 2;
    grid-row: 3 / 5;
  }
  .card-ai h2 {
    font-size: 2.4rem;
    font-weight: 600;
    margin: 0 0 18px 0;
    text-align: left;
    line-height: 1;
  }
  .card-ai .ai-chat img {
    width: 100%;
    max-width: 300px;
    border-radius: 12px;
  }
}

@media (max-width: 899px) {
  .bento-grid {
    max-width: 420px;
    grid-template-columns: 1fr;
    grid-template-rows: none;
    gap: 24px;
    padding: 24px 12px 48px 12px;
  }
}