*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}
html {
  scroll-behavior: smooth;
}
body {
  font-family: "Fredoka", sans-serif;
  background: #eaf2ff;
  color: #360e48;
  overflow-x: hidden;
}

:root {
  --purple: #8214b5;
  --dark: #360e48;
  --bg: #eaf2ff;
  --card-bg: #f5f8fd;
  --border: #b4cfff;
  --desktop-px: 160px;
}

.container {
  max-width: calc(100% - var(--desktop-px) * 2);
  margin: 0 auto;
}
@media (max-width: 1024px) {
  .container {
    max-width: 100%;
    padding: 0 20px;
  }
}

header {
  background: #eaf2ff;
  position: sticky;
  top: 0;
  z-index: 100;
  border-bottom: 1px solid #dce8ff;
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
}
.logo img {
  height: 40px;
  width: auto;
  display: block;
  border-radius: 10px;
}
.nav-links {
  display: flex;
  gap: 32px;
  list-style: none;
}
.nav-links a {
  font-family: "Fredoka", sans-serif;
  font-weight: 400;
  font-size: 18px;
  line-height: 150%;
  color: #360e48;
  text-decoration: none;
  transition: color 0.2s;
}
.nav-links a:hover {
  color: #8214b5;
}

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  background: none;
  border: none;
  padding: 4px;
}
.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: #360e48;
  border-radius: 2px;
  transition:
    transform 0.3s,
    opacity 0.3s;
}

.mobile-menu {
  display: none;
  position: absolute;
  top: 100%;
  left: 12px;
  right: 12px;
  background: #eaf2ff;
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 16px 0 20px;
  margin-top: 8px;
  box-shadow: 0 8px 24px rgba(130, 20, 181, 0.12);
  z-index: 200;
}
.mobile-menu.open {
  display: block;
}
.mobile-menu ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0;
}
.mobile-menu ul li a {
  display: block;
  text-align: center;
  font-family: "Fredoka", sans-serif;
  font-weight: 400;
  font-size: 18px;
  line-height: 150%;
  color: #360e48;
  text-decoration: none;
  padding: 10px 24px;
  transition: color 0.2s;
}
.mobile-menu ul li a:hover {
  color: #8214b5;
}

@media (max-width: 768px) {
  .nav-links {
    display: none;
  }
  .hamburger {
    display: flex;
  }
  header {
    position: sticky;
  }
}

#home {
  background: linear-gradient(180deg, #c3cfee 0%, #cfdffc 100%);
  padding: 72px 0 64px;
}
.hero-inner {
  display: flex;
  align-items: center;
  gap: 48px;
}
.hero-text {
  flex: 1 1 0;
}
.hero-title {
  font-family: "Fredoka", sans-serif;
  font-weight: 600;
  font-size: 88px;
  line-height: 120%;
  color: #8214b5;
}
.hero-subtitle {
  font-family: "Fredoka", sans-serif;
  font-weight: 500;
  font-size: 28px;
  line-height: 130%;
  color: #360e48;
  margin-top: 12px;
}
.hero-desc {
  font-family: "Fredoka", sans-serif;
  font-weight: 400;
  font-size: 18px;
  line-height: 150%;
  color: #360e48;
  margin-top: 16px;
  max-width: 480px;
}
.hero-btn {
  display: inline-block;
  margin-top: 28px;
}
.hero-btn img {
  height: 52px;
  width: auto;
}

.hero-image {
  flex: 0 0 auto;
}
.hero-image img {
  width: 520px;
  max-width: 100%;
  border-radius: 24px;
  display: block;
}

@media (max-width: 768px) {
  #home {
    padding: 40px 0 48px;
  }
  .hero-inner {
    flex-direction: column;
    gap: 0;
    align-self: center;
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }
  .hero-title {
    font-size: 48px;
    text-align: center;
  }
  .hero-subtitle {
    font-size: 22px;
    text-align: center;
  }
  .hero-desc {
    text-align: center;
  }
  .hero-image {
    width: 100%;
    order: 3;
    margin-top: 24px;
  }
  .hero-image img {
    width: 100%;
    border-radius: 16px;
  }
  .hero-btn {
    order: 4;
    margin-top: 24px;
    margin-left: auto;
    margin-right: auto;
    display: block;
    width: max-content;
    text-align: center;
  }
}

.section {
  background: #eaf2ff;
  padding: 80px 0;
}
.section-title {
  font-family: "Fredoka", sans-serif;
  font-weight: 600;
  font-size: 48px;
  line-height: 120%;
  color: #8214b5;
  margin-bottom: 40px;
}

.content-card {
  background: #f5f8fd;
  border: 1px solid #b4cfff;
  border-radius: 16px;
  padding: 28px 32px;
}

.card-title {
  font-family: "Fredoka", sans-serif;
  font-weight: 500;
  font-size: 20px;
  line-height: 150%;
  color: #8214b5;
}
.card-body {
  font-family: "Fredoka", sans-serif;
  font-weight: 400;
  font-size: 18px;
  line-height: 150%;
  color: #360e48;
  margin-top: 4px;
}

.two-col {
  display: flex;
  align-items: flex-start;
  gap: 40px;
}
.two-col .col-text {
  flex: 1 1 0;
}
.two-col .col-image {
  flex: 0 0 auto;
}
.two-col .col-image img {
  border-radius: 16px;
  border: 1px solid #b4cfff;
  display: block;
}

@media (max-width: 900px) {
  .two-col {
    flex-direction: column;
  }
  .two-col .col-image img {
    width: 100%;
  }
}

#reviews {
  padding: 80px 0;
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.testimonial-card {
  background: #f5f8fd;
  border: 1px solid #b4cfff;
  border-radius: 16px;
  padding: 24px 28px;
}
.stars {
  font-family: "Fredoka", sans-serif;
  font-weight: 500;
  font-size: 20px;
  line-height: 150%;
  margin-bottom: 8px;
}
.testimonial-text {
  font-family: "Fredoka", sans-serif;
  font-weight: 400;
  font-size: 18px;
  line-height: 150%;
  color: #360e48;
}
.testimonial-author {
  font-family: "Fredoka", sans-serif;
  font-weight: 500;
  font-size: 18px;
  line-height: 150%;
  color: #8214b5;
  margin-top: 12px;
  text-align: right;
}

@media (max-width: 768px) {
  .testimonials-grid {
    display: flex;
    overflow-x: scroll;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    gap: 16px;
    scrollbar-width: none;
    padding-bottom: 4px;
  }
  .testimonials-grid::-webkit-scrollbar {
    display: none;
  }
  .testimonial-card {
    flex: 0 0 calc(100vw - 56px);
    scroll-snap-align: start;
  }
}
@media (min-width: 769px) and (max-width: 1100px) {
  .testimonials-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

#faq {
  padding: 80px 0;
}
.faq-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.two-col-faq {
  display: flex;
  align-items: flex-start;
  gap: 40px;
}
.two-col-faq {
  flex: 1 1 0;
}
.two-col-faq {
  flex: 0 0 auto;
}

.faq-section-title {
  font-family: "Fredoka", sans-serif;
  font-weight: 600;
  font-size: 48px;
  line-height: 120%;
  color: #8214b5;
  margin-bottom: 40px;
  width: 500px;
}
.faq-item {
  background: #f5f8fd;
  border: 1px solid #b4cfff;
  border-radius: 16px;
  overflow: hidden;
}
.faq-question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 24px;
  cursor: pointer;
  user-select: none;
  gap: 16px;
}
.faq-question-text {
  font-family: "Fredoka", sans-serif;
  font-weight: 500;
  font-size: 20px;
  line-height: 150%;
  color: #8214b5;
}
.faq-arrow {
  flex-shrink: 0;
  width: 28px;
  height: 28px;
  border: 1px solid #b4cfff;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s;
}
.faq-arrow svg {
  width: 16px;
  height: 16px;
  transition: transform 0.35s ease;
  fill: none;
  stroke: #8214b5;
  stroke-width: 2.2;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.faq-item.open .faq-arrow svg {
  transform: rotate(180deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition:
    max-height 0.4s ease,
    padding 0.3s ease;
}
.faq-answer-inner {
  padding: 0 24px 20px;
  font-family: "Fredoka", sans-serif;
  font-weight: 400;
  font-size: 18px;
  line-height: 150%;
  color: #360e48;
}
.faq-item.open .faq-answer {
  max-height: 300px;
}
@media (max-width: 768px) {
  .two-col-faq {
    flex-direction: column;
  }
  .two-col-faq {
    width: 100%;
  }
}

#cta {
  background: linear-gradient(180deg, #c3cfee 0%, #cfdffc 100%);
  padding: 80px 20px;
  text-align: center;
}
.cta-title {
  font-family: "Fredoka", sans-serif;
  font-weight: 600;
  font-size: 48px;
  line-height: 120%;
  color: #8214b5;
  text-align: center;
}
.cta-text {
  font-family: "Fredoka", sans-serif;
  font-weight: 400;
  font-size: 18px;
  line-height: 150%;
  color: #000000;
  text-align: center;
  margin-top: 12px;
}
.cta-btn {
  display: inline-block;
  margin-top: 28px;
}
.cta-btn img {
  height: 52px;
  width: auto;
}

@media (max-width: 768px) {
  .cta-title {
    font-size: 32px;
  }
}

footer {
  background: #360e48;
  padding: 40px 20px 28px;
  text-align: center;
}
.footer-links {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  margin-bottom: 16px;
}
.footer-links a {
  font-family: "Fredoka", sans-serif;
  font-weight: 400;
  font-size: 18px;
  line-height: 150%;
  color: #b4cfff;
  text-decoration: none;
  transition: opacity 0.2s;
}
.footer-links a:hover {
  opacity: 0.75;
}
.footer-copy {
  font-family: "Fredoka", sans-serif;
  font-weight: 400;
  font-size: 12px;
  line-height: 150%;
  color: #b4cfff;
  text-align: center;
}

.gplay-badge {
  height: 52px;
  width: auto;
  display: inline-block;
}
