/* RESET */
* {
  box-sizing: border-box;
}
body {
  margin: 0;
  font-family: "Comfortaa", sans-serif;
  color: #222;
}

/* ================= HEADER ================= */

.header {
  background: #ffffff;
  border-bottom: 1px solid #eee;
}

.header-inner {
  max-width: 1300px;
  margin: 0 auto;
  height: 90px;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  height: 42px;
  width: auto;
}

/* MENU */
.menu {
  display: flex;
  gap: 24px;
  font-size: 15px;
  font-weight: 500;
}

.menu a {
  text-decoration: none;
  color: #222;
  cursor: pointer;
}

/* AUTH */
.auth {
  display: flex;
  align-items: center;
  gap: 20px;
  font-size: 15px;
}

.register {
  background: #8a8fe8;
  color: #fff;
  padding: 12px 22px;
  border-radius: 999px;
  font-weight: 600;
}

/* ================= HERO ================= */

.hero {
  background: #f6f3e9;
}

.hero-inner {
  max-width: 1300px;
  margin: 0 auto;
  padding: 80px 24px;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 40px;
}

/* TESTO */
.hero-text h1 {
  font-size: 56px;
  font-weight: 500;
  margin: 0 0 24px;
}

.hero-text p {
  font-size: 17px;
  line-height: 1.6;
  max-width: 520px;
  margin: 0 0 16px;
}

/* CTA */
.cta {
  display: inline-block;
  margin-top: 24px;
  background: #2fa26a;
  color: #ffffff;
  padding: 18px 28px;
  border-radius: 999px;
  font-size: 15px;
  font-weight: 600;
  text-decoration: none;
}

/* ================= CARDS ================= */

.hero-cards {
  display: flex;
  gap: 32px;
  align-items: flex-start;
}

.card {
  width: 280px;
  padding: 28px;
  border-radius: 40px;
  text-align: center;
}

.card img {
  width: 100%;
  height: auto;
  margin-bottom: 18px;
}

.card span {
  font-size: 18px;
  font-weight: 500;
  line-height: 1.4;
}

.purple {
  background: #7f8ce5;
  color: #ffffff;
}

.pink {
  background: #f7bdb4;
  color: #222;
}

/* ================= RESPONSIVE ================= */

@media (max-width: 1024px) {
  .hero-inner {
    grid-template-columns: 1fr;
  }
  .hero-cards {
    justify-content: center;
  }
}

@media (max-width: 768px) {
  .menu {
    display: none;
  }
  .hero-text h1 {
    font-size: 42px;
  }
}
