/* Reset / base */
html, body {
  margin: 0;
}
body {
  background: #faf8fc;
  font-family: "Zen Maru Gothic", system-ui, sans-serif;
  overflow-x: hidden;
}
a {
  color: #8b4fe0;
  text-decoration: none;
}
a:hover {
  color: #6f3ad0;
}
* {
  box-sizing: border-box;
}

/* Page */
.page {
  width: 100%;
  background: #faf8fc;
}

/* Hero */
.hero {
  position: relative;
  min-height: 600px;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}
.hero-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}
.hero-gradient--diagonal {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(100deg, rgba(255,247,250,.92) 0%, rgba(255,247,250,.55) 34%, rgba(255,247,250,0) 60%);
}
.hero-gradient--vertical {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(0deg, rgba(255,247,250,.5) 0%, transparent 26%);
}

/* Nav */
.nav {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 26px 56px;
}
.nav-logo {
  height: 30px;
  width: auto;
}
.nav-links {
  display: flex;
  gap: 26px;
  align-items: center;
  font-size: 14px;
  font-weight: 600;
  color: #3a3442;
}
.nav-menu {
  display: flex;
  gap: 26px;
  align-items: center;
}
.nav-link {
  color: #3a3442;
}
.nav-cta {
  padding: 10px 22px;
  border-radius: 999px;
  background: #241f2b;
  color: #fff;
  font-weight: 700;
}

/* Hero content */
.hero-content {
  position: relative;
  z-index: 2;
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 8px 56px 64px;
  max-width: 620px;
}
.hero-badge {
  display: inline-flex;
  align-self: flex-start;
  align-items: center;
  gap: 8px;
  padding: 7px 16px;
  border-radius: 999px;
  background: rgba(255,255,255,.75);
  border: 1px solid rgba(139,79,224,.22);
  font-size: 13px;
  font-weight: 700;
  color: #8b4fe0;
  margin-bottom: 22px;
  backdrop-filter: blur(4px);
}
.hero-title {
  margin: 0;
  font-size: clamp(34px, 6.5vw, 58px);
  line-height: 1.16;
  font-weight: 900;
  color: #2a2430;
  letter-spacing: -.01em;
  text-shadow: 0 2px 20px rgba(255,247,250,.6);
}
.hero-title-accent {
  background: linear-gradient(120deg, #ff5a6e, #8b4fe0 55%, #3d5cff);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.hero-desc {
  margin: 22px 0 0;
  max-width: 440px;
  font-size: clamp(15px, 3.2vw, 18px);
  line-height: 1.85;
  font-weight: 500;
  color: #4b4553;
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 13px;
  margin-top: 34px;
}
.hero-phone {
  position: absolute;
  z-index: 2;
  right: 56px;
  bottom: 0;
  width: 216px;
  background: #1e1a24;
  border-radius: 38px;
  padding: 8px;
  box-shadow: 0 28px 56px rgba(60,40,90,.3);
  transform: rotate(4deg);
}
.hero-phone-screen {
  border-radius: 31px;
  overflow: hidden;
  aspect-ratio: 1125 / 2436;
  background: #f1e8f7;
}
.hero-phone-screen img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Store buttons (shared by hero + closing CTA) */
.store-btn {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  border-radius: 999px;
  font-weight: 700;
}
.store-btn--primary {
  padding: 15px 28px;
  font-size: 15px;
  background: linear-gradient(135deg, #ff5a6e, #8b4fe0 52%, #3d5cff);
  color: #fff;
  box-shadow: 0 10px 26px rgba(139,79,224,.34);
}
.store-btn--secondary {
  padding: 15px 28px;
  font-size: 15px;
  background: rgba(255,255,255,.85);
  border: 1.5px solid rgba(42,36,48,.14);
  color: #2a2430;
  backdrop-filter: blur(4px);
}
/* Features */
.features {
  padding: 64px 56px 12px;
  text-align: center;
}
.section-eyebrow {
  margin: 0 0 6px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .14em;
  color: #8b4fe0;
}
.section-title {
  margin: 0 0 44px;
  font-size: clamp(24px, 4.5vw, 33px);
  font-weight: 900;
  color: #2a2430;
}
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  max-width: 1040px;
  margin: 0 auto;
}
.feature-card {
  padding: 34px 26px;
  border-radius: 22px;
  text-align: left;
}
.feature-card--red {
  --accent: #ff5a6e;
  background: #fdf1f3;
}
.feature-card--purple {
  --accent: #8b4fe0;
  background: #f5f0fd;
}
.feature-card--blue {
  --accent: #3d5cff;
  background: #edf0ff;
}
.feature-card-icon {
  width: 56px;
  height: 56px;
  border-radius: 16px;
  background: var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}
.feature-card-title {
  margin: 0 0 10px;
  font-size: 19px;
  font-weight: 700;
  color: #2a2430;
}
.feature-card-desc {
  margin: 0;
  font-size: 14.5px;
  line-height: 1.8;
  font-weight: 500;
  color: #6b6474;
}

/* FAQ */
.faq {
  padding: 64px 56px;
  text-align: center;
}
.faq-list {
  max-width: 760px;
  margin: 32px auto 0;
  text-align: left;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.faq-item {
  padding: 22px 26px;
  border-radius: 16px;
  background: #f5f2f9;
}
.faq-question {
  cursor: pointer;
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  font-size: 15.5px;
  font-weight: 700;
  color: #2a2430;
}
.faq-question::-webkit-details-marker {
  display: none;
}
.faq-question::after {
  content: "+";
  flex-shrink: 0;
  font-size: 20px;
  font-weight: 700;
  color: #8b4fe0;
}
.faq-item[open] .faq-question::after {
  content: "−";
}
.faq-answer {
  margin: 14px 0 0;
  font-size: 14.5px;
  line-height: 1.85;
  font-weight: 500;
  color: #5f5869;
}

/* Closing CTA */
.cta {
  margin: 60px 56px 60px;
  padding: 50px;
  border-radius: 28px;
  background: linear-gradient(135deg, #ff5a6e, #8b4fe0 52%, #3d5cff);
  text-align: center;
  color: #fff;
  max-width: 1040px;
  margin-left: auto;
  margin-right: auto;
}
.cta-title {
  margin: 0 0 12px;
  font-size: clamp(22px, 4.5vw, 30px);
  font-weight: 900;
}
.cta-desc {
  margin: 0 0 26px;
  font-size: 15px;
  font-weight: 500;
  opacity: .92;
}
.cta-download-btn {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 16px 34px;
  border-radius: 999px;
  background: #fff;
  color: #8b4fe0;
  font-weight: 800;
  font-size: 16px;
}

/* Footer */
.footer {
  padding: 0 56px 34px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 12.5px;
  font-weight: 500;
  color: #9b94a5;
  max-width: 1040px;
  margin: 0 auto;
}
.footer-logo {
  height: 20px;
  width: auto;
  opacity: .85;
}
.footer-links {
  display: flex;
  gap: 18px;
}
.footer-links a {
  color: #9b94a5;
}
.footer-links a:hover {
  color: #6f3ad0;
}

/* Legal pages (privacy policy / terms) */
.legal-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 26px 56px;
}
.legal-nav-back {
  color: #3a3442;
  font-weight: 600;
  font-size: 14px;
}
.legal {
  max-width: 760px;
  margin: 0 auto;
  padding: 24px 24px 96px;
}
.legal-title {
  margin: 0 0 8px;
  font-size: clamp(24px, 5vw, 32px);
  font-weight: 900;
  color: #2a2430;
}
.legal-updated {
  margin: 0 0 40px;
  font-size: 13px;
  color: #9b94a5;
}
.legal h2 {
  margin: 40px 0 12px;
  font-size: 20px;
  font-weight: 800;
  color: #2a2430;
}
.legal p {
  margin: 0 0 16px;
  font-size: 15px;
  line-height: 1.9;
  color: #4b4553;
}
.legal ul {
  margin: 0 0 16px;
  padding-left: 1.3em;
}
.legal li {
  font-size: 15px;
  line-height: 1.9;
  color: #4b4553;
}
.legal a {
  text-decoration: underline;
}

/* ==========================================================================
   Responsive
   ========================================================================== */

/* Tablet: stack the hero (phone mockup moves below the copy so it never overlaps
   the text column), tighten spacing, drop features to 2 columns */
@media (max-width: 900px) {
  .nav,
  .legal-nav {
    padding: 20px 28px;
  }
  .nav-links {
    gap: 16px;
  }
  .nav-menu {
    gap: 14px;
    font-size: 13px;
  }
  .hero {
    min-height: 0;
  }
  .hero-content {
    padding: 8px 28px 32px;
    max-width: none;
  }
  .hero-phone {
    position: static;
    align-self: center;
    width: 200px;
    margin: 8px 0 40px;
    transform: rotate(0deg);
  }
  .features {
    padding: 56px 28px 12px;
  }
  .features-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .faq {
    padding: 48px 28px;
  }
  .cta {
    margin: 48px 28px;
    padding: 40px 32px;
  }
  .footer {
    padding: 0 28px 28px;
  }
}

/* Mobile: single column features, tighter type/spacing */
@media (max-width: 640px) {
  .nav,
  .legal-nav {
    padding: 16px 20px;
  }
  .nav-menu {
    display: none;
  }
  .hero-content {
    padding: 24px 20px 8px;
  }
  .hero-badge {
    font-size: 12px;
  }
  .hero-phone {
    width: 160px;
    margin: 8px 0 32px;
  }
  .features {
    padding: 40px 20px 8px;
  }
  .features-grid {
    grid-template-columns: 1fr;
    max-width: 420px;
  }
  .faq {
    padding: 32px 20px;
  }
  .faq-item {
    padding: 18px 20px;
  }
  .cta {
    margin: 32px 16px;
    padding: 32px 24px;
  }
  .cta-download-btn {
    width: 100%;
    justify-content: center;
  }
  .footer {
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px;
    text-align: center;
    padding: 0 20px 24px;
  }
  .legal {
    padding: 16px 20px 64px;
  }
}
