*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  --blue: #2b7ae2;
  --dark: #23292b;
  --mid: #3d4751;
  --text: #23292b;
  --bg: #f7f7f7;
  --white: #ffffff;
  --card-bg: #f0f4fb;
  --pad: 160px;
  --pad-m: 20px;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Quicksand", sans-serif;
  font-weight: 400;
  color: var(--text);
  background: var(--bg);
  overflow-x: hidden;
}

/* ─── HEADER ─────────────────────────────────────── */
header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--white);
  box-shadow: 0 1px 8px rgba(0, 0, 0, 0.06);
}

.header-inner {
  max-width: 1440px;
  margin: 0 auto;
  padding: 18px var(--pad);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

/* ── Logo ── */
.logo {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3px;
  width: 44px;
  height: 44px;
  flex-shrink: 0;
  text-decoration: none;
}
.logo span {
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 4px;
  font-family: "Quicksand", sans-serif;
  font-weight: 700;
  font-size: 14px;
  color: #fff;
}

/* ── Desktop nav ── */
nav {
  display: flex;
  gap: 40px;
}
nav a {
  font-family: "Quicksand", sans-serif;
  font-weight: 400;
  font-size: 18px;
  line-height: 150%;
  color: var(--dark);
  text-decoration: none;
  transition: color 0.2s;
}
nav a:hover {
  color: var(--blue);
}

/* ── Burger ── */
.burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  background: none;
  border: none;
  padding: 4px;
}
.burger span {
  display: block;
  width: 26px;
  height: 2px;
  background: var(--dark);
  border-radius: 2px;
  transition: 0.3s;
}

/* ── Mobile nav drawer ── */
.mobile-nav {
  display: none;
  flex-direction: column;
  align-items: center;
  position: fixed;
  background: var(--white);
  padding: 12px 0 20px;

  gap: 10px;
  top: 76px;
  left: 20px;
  right: 20px;
  border-radius: 16px;
}
.mobile-nav.open {
  display: flex;
}
.mobile-nav a {
  font-family: "Quicksand", sans-serif;
  font-size: 18px;
  font-weight: 400;
  line-height: 150%;
  color: var(--dark);
  text-decoration: none;
  padding: 5px var(--pad-m);
}

/* ─── SECTIONS WRAPPER ───────────────────────────── */
.section-wrap {
  max-width: 1440px;
  margin: 0 auto;
  padding-left: var(--pad);
  padding-right: var(--pad);
}

/* ─── HOME ───────────────────────────────────────── */
#home {
  background: var(--bg);
  padding: 80px 0 0px;
}
.home-inner {
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 var(--pad);
  display: flex;
  align-items: center;
  gap: 60px;
}
.home-text {
  flex: 1;
}

.home-title {
  font-family: "Quicksand", sans-serif;
  font-weight: 700;
  font-size: 72px;
  line-height: 120%;
  color: var(--blue);
  margin-bottom: 16px;
}
.home-subtitle {
  font-family: "Quicksand", sans-serif;
  font-weight: 600;
  font-size: 28px;
  line-height: 130%;
  color: var(--mid);
  margin-bottom: 24px;
}
.home-desc {
  font-family: "Quicksand", sans-serif;
  font-weight: 400;
  font-size: 18px;
  line-height: 150%;
  color: var(--text);
  max-width: 544px;
  margin-bottom: 36px;
}

.gplay-btn {
  display: inline-block;
  text-decoration: none;
}
.gplay-btn img {
  height: 52px;
  display: block;
}

.home-phone {
  flex-shrink: 0;
}
.home-phone img {
  display: block;
  border-radius: 32px;
}

/* ─── FEATURES ───────────────────────────────────── */
#features {
  padding: 80px 0;
  background: var(--white);
}

.section-heading {
  font-family: "Quicksand", sans-serif;
  font-weight: 700;
  font-size: 48px;
  line-height: 120%;
  color: var(--blue);
  margin-bottom: 48px;
}

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

.feature-card {
  background: var(--bg);
  border-radius: 16px;
  padding: 32px 28px;
  box-shadow: 0 2px 12px rgba(43, 122, 226, 0.07);
}
.feature-card h3 {
  font-family: "Quicksand", sans-serif;
  font-weight: 600;
  font-size: 20px;
  line-height: 150%;
  color: var(--blue);
  margin-bottom: 12px;
}
.feature-card p {
  font-family: "Quicksand", sans-serif;
  font-weight: 400;
  font-size: 18px;
  line-height: 150%;
  color: var(--text);
}

/* ─── HOW IT WORKS ───────────────────────────────── */
#how-it-works {
  padding: 0px 0;
  background: var(--bg);
}

.hiw-inner {
  display: flex;
  gap: 60px;
  align-items: flex-start;
  padding-top: 80px;
}
.hiw-steps {
  flex: 1;
}
.hiw-steps ol {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.step {
  background: var(--white);
  border-radius: 16px;
  padding: 28px 24px;
  display: flex;
  flex-direction: column;
}
.step-header {
  display: flex;
  align-items: baseline;
  gap: 8px;
  margin-bottom: 8px;
}
.step-num {
  font-family: "Quicksand", sans-serif;
  font-weight: 700;
  font-size: 20px;
  color: var(--blue);
}
.step h3 {
  font-family: "Quicksand", sans-serif;
  font-weight: 600;
  font-size: 20px;
  line-height: 150%;
  color: var(--mid);
  margin-bottom: 8px;
}
.step p {
  font-family: "Quicksand", sans-serif;
  font-weight: 400;
  font-size: 18px;
  line-height: 150%;
  color: var(--text);
}

.hiw-phone {
  flex-shrink: 0;
}
.hiw-phone img {
  display: block;
  border-radius: 32px;
}

/* ─── REVIEWS ────────────────────────────────────── */
#reviews {
  padding: 80px 0;
  background: var(--white);
}

.reviews-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.review-card {
  background: var(--bg);
  border-radius: 16px;
  padding: 28px 24px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 20px;
  box-shadow: 0 2px 12px rgba(43, 122, 226, 0.07);
}
.review-card p {
  font-family: "Quicksand", sans-serif;
  font-weight: 400;
  font-size: 18px;
  line-height: 150%;
  color: var(--text);
}
.review-author {
  font-family: "Quicksand", sans-serif;
  font-weight: 600;
  font-size: 16px;
  color: #859ba6;
  text-align: right;
}

.reviews-slider-wrap {
  display: none;
  overflow: hidden;
  position: relative;
}
.reviews-slider {
  display: flex;
  transition: transform 0.4s ease;
}
.reviews-slider .review-card {
  min-width: 100%;
}

/* ─── FAQ ────────────────────────────────────────── */
#faq {
  padding: 80px 0;
  background: var(--bg);
}

.faq-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.faq-item {
  border-radius: 16px;
  background: var(--white);
  padding-left: 16px;
  padding-right: 16px;
  box-shadow: 0 4px 6px #28282826;
}
.faq-q {
  width: 100%;
  background: none;
  border: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 22px 0;
  cursor: pointer;
  font-family: "Quicksand", sans-serif;
  font-weight: 600;
  font-size: 20px;
  line-height: 150%;
  color: var(--blue);
  text-align: left;
  gap: 16px;
}
.faq-icon {
  flex-shrink: 0;
  width: 22px;
  height: 22px;
  position: relative;
}
.faq-icon::before,
.faq-icon::after {
  content: "";
  position: absolute;
  background: var(--blue);
  border-radius: 2px;
  transition:
    transform 0.3s,
    opacity 0.3s;
}
.faq-icon::before {
  width: 2px;
  height: 100%;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
}
.faq-icon::after {
  width: 100%;
  height: 2px;
  top: 50%;
  left: 0;
  transform: translateY(-50%);
}
.faq-item.open .faq-icon::before {
  opacity: 0;
}

.faq-a {
  display: none;
  padding: 0 0 20px;
  font-family: "Quicksand", sans-serif;
  font-weight: 400;
  font-size: 18px;
  line-height: 150%;
  color: var(--text);
}
.faq-item.open .faq-a {
  display: block;
}

/* ─── FOOTER ─────────────────────────────────────── */
footer {
  background: var(--dark);
  padding: 40px var(--pad);
}
.footer-inner {
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 var(--pad);
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 8px;
}
.footer-inner a,
.footer-copy {
  font-family: "Quicksand", sans-serif;
  font-weight: 400;
  font-size: 18px;
  line-height: 150%;
  color: var(--bg);
  text-align: right;
  text-decoration: none;
}
.footer-inner a:hover {
  text-decoration: underline;
}
.footer-copy {
  font-size: 14px;
  opacity: 0.7;
  margin-top: 8px;
}

@media (max-width: 768px) {
  :root {
    --pad: var(--pad-m);
  }

  nav {
    display: none;
  }
  .burger {
    display: flex;
  }
  .header-inner {
    padding: 14px var(--pad-m);
  }

  #home {
    padding: 48px 0 0px;
  }

  .home-inner {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    text-align: left;
    padding: 0 var(--pad-m);
    gap: 10px;
    position: relative;
  }
  .home-text {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
  }

  .home-title {
    font-size: 48px;
  }
  .home-subtitle {
    font-size: 24px;
  }
  .home-desc {
    font-size: 16px;
    max-width: 100%;
  }
  .home-phone {
    width: 100%;
    display: flex;
    justify-content: center;
    position: relative;
  }
  .home-phone img {
    max-width: 100%;
    height: auto;
  }
  .gplay-fallback {
    position: absolute;
    bottom: 113px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
    margin: 0;
  }

  .section-wrap {
    padding-left: var(--pad-m);
    padding-right: var(--pad-m);
  }
  #features,
  #reviews,
  #faq {
    padding: 56px 0;
  }
  .section-heading {
    font-size: 36px;
    margin-bottom: 32px;
  }

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

  .hiw-inner {
    flex-direction: column;
  }
  .hiw-phone {
    width: 100%;
    display: flex;
    justify-content: center;
    position: relative;
  }
  .hiw-phone img {
    max-width: 100%;
    height: auto;
  }

  .reviews-grid {
    display: none;
  }
  .reviews-slider-wrap {
    display: block;
  }

  /* Footer */
  footer {
    padding: 32px var(--pad-m);
  }
  .footer-inner {
    padding: 0;
  }
  .footer-inner a {
    font-size: 16px;
  }
  .footer-copy {
    font-size: 11px;
  }
}
