/* MMP System — landing page
   Implemented from the Claude Design source "MMP Landing.dc.html". */

:root {
  --bg: #07040d;
  --shell-top: #0d0718;
  --shell-mid: #0a0513;
  --card-a: rgba(31, 17, 52, .9);
  --card-b: rgba(13, 7, 24, .92);
  --line: rgba(168, 85, 247, .26);
  --line-strong: rgba(168, 85, 247, .35);
  --violet: #a855f7;
  --violet-light: #c39cff;
  --text: #fff;
  --text-soft: #cfc6e6;
  --text-muted: #a99fc4;
  --text-faint: #7b7292;
}

* { box-sizing: border-box; }

html, body {
  margin: 0;
  padding: 0;
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}

a { color: var(--violet-light); text-decoration: none; }
a:hover { color: #ddc6ff; }

:focus-visible {
  outline: 2px solid var(--violet);
  outline-offset: 3px;
  border-radius: 8px;
}

img { max-width: 100%; }

/* Layout ------------------------------------------------------------------ */

.page {
  font-family: Cairo, system-ui, sans-serif;
  background: var(--bg);
  min-height: 100vh;
  padding: 0;
}

.shell {
  position: relative;
  width: 100%;
  max-width: 430px;
  margin: 0 auto;
  overflow: hidden;
  color: var(--text);
  background: linear-gradient(180deg, var(--shell-top), var(--shell-mid) 40%, var(--bg));
  box-shadow: 0 0 80px rgba(124, 58, 237, .18);
}

.glow {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(80% 30% at 50% 22%, rgba(124, 58, 237, .14), transparent 70%),
    radial-gradient(70% 26% at 50% 70%, rgba(168, 85, 247, .08), transparent 70%);
}

.section {
  position: relative;
  padding: 26px 18px 30px;
  scroll-margin-top: 16px;
}

.section--tight { padding-top: 0; }

.h2 {
  margin: 0 0 18px;
  text-align: center;
  font-size: 22px;
  font-weight: 900;
  line-height: 1.4;
}

.h2--faq {
  margin-bottom: 16px;
  font-size: 24px;
  letter-spacing: .02em;
}

.stack { display: flex; flex-direction: column; gap: 12px; }
.stack--sm { gap: 10px; }

.rule {
  height: 1px;
  margin: 0 18px;
  background: linear-gradient(90deg, transparent, rgba(168, 85, 247, .7), transparent);
}

/* Hero -------------------------------------------------------------------- */

.hero { position: relative; }

.hero__img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 1080 / 1440;
  object-fit: cover;
}

.hero__fade {
  position: absolute;
  inset: auto 0 0 0;
  height: 22%;
  background: linear-gradient(180deg, rgba(13, 7, 24, 0), var(--shell-top) 88%);
}

/* Buttons ----------------------------------------------------------------- */

.cta-top {
  position: relative;
  margin-top: -30px;
  padding: 0 18px 4px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  max-width: 330px;
  padding: 17px 24px;
  border-radius: 999px;
  font-weight: 900;
  font-size: 18px;
  transition: transform .18s ease, box-shadow .25s ease;
}

.btn--primary {
  border: 1px solid rgba(255, 255, 255, .22);
  background: linear-gradient(180deg, #a56bff, #6d28d9);
  color: #fff;
}

.btn--primary:hover { color: #fff; transform: translateY(-2px) scale(1.02); }
.btn--primary:active { transform: scale(.99); }

.btn--glow { animation: ctaGlow 4.5s ease-in-out infinite; }

.btn--sm {
  max-width: 300px;
  padding: 16px 24px;
  font-size: 16px;
  border-color: rgba(255, 255, 255, .2);
  box-shadow: 0 10px 30px rgba(124, 58, 237, .45);
}

.btn--sm:hover { box-shadow: 0 14px 40px rgba(168, 85, 247, .6); }

.disclaimer {
  margin: 0;
  font-size: 11px;
  color: #8b82a3;
  text-align: center;
}

/* Stats ------------------------------------------------------------------- */

.stats {
  position: relative;
  padding: 22px 18px 26px;
}

.stats__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.stat {
  padding: 16px 12px;
  border-radius: 16px;
  text-align: center;
  border: 1px solid rgba(168, 85, 247, .28);
  background: linear-gradient(180deg, var(--card-a), rgba(13, 7, 24, .9));
}

.stat__icon {
  width: 28px;
  height: auto;
  margin-bottom: 8px;
}

.stat__value {
  font-size: 22px;
  font-weight: 900;
  line-height: 1.15;
  background: linear-gradient(100deg, #e9d5ff, var(--violet));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.stat__label {
  margin-top: 6px;
  font-size: 12px;
  font-weight: 700;
  color: var(--text-soft);
}

/* Carousel ---------------------------------------------------------------- */

.carousel {
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
}

.carousel__row {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
}

.nav {
  flex: none;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid var(--line-strong);
  background: rgba(124, 58, 237, .12);
  color: #fff;
  cursor: pointer;
  font-size: 17px;
  line-height: 1;
  transition: background .2s ease;
}

.nav:hover { background: rgba(124, 58, 237, .3); }
.nav--next { order: -1; }

.phone {
  position: relative;
  flex: none;
  width: 252px;
  padding: 9px;
  border-radius: 48px;
  background: linear-gradient(150deg, #6f6a63, #2b2926 38%, #514c46 62%, #1c1a18);
  box-shadow:
    0 20px 44px rgba(0, 0, 0, .65),
    0 0 26px rgba(168, 85, 247, .2),
    inset 0 0 0 1px rgba(255, 255, 255, .14);
}

.phone__screen {
  position: relative;
  border-radius: 40px;
  overflow: hidden;
  background: #000;
  aspect-ratio: 9 / 19.5;
  box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .9);
  touch-action: pan-y;
}

.phone__track {
  direction: ltr;
  display: flex;
  height: 100%;
  transition: transform .6s cubic-bezier(.22, .61, .36, 1);
}

.phone__track img {
  flex: 0 0 100%;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
}

.phone__notch {
  position: absolute;
  top: 9px;
  left: 50%;
  transform: translateX(-50%);
  width: 76px;
  height: 21px;
  border-radius: 12px;
  background: #000;
  box-shadow: 0 1px 2px rgba(0, 0, 0, .8);
}

.phone__bar {
  position: absolute;
  bottom: 7px;
  left: 50%;
  transform: translateX(-50%);
  width: 86px;
  height: 4px;
  border-radius: 3px;
  background: rgba(255, 255, 255, .6);
}

.phone__btn {
  position: absolute;
  width: 3px;
  border-radius: 2px;
  background: linear-gradient(180deg, #6f6a63, #33302c);
}

.phone__btn--power { top: 112px; right: -2px; height: 58px; }
.phone__btn--up { top: 96px; left: -2px; height: 30px; }
.phone__btn--down { top: 136px; left: -2px; height: 52px; }

.carousel__caption {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  flex-wrap: wrap;
  font-size: 12.5px;
  font-weight: 700;
  color: var(--text-soft);
  text-align: center;
}

.chip {
  padding: 3px 10px;
  border-radius: 999px;
  background: rgba(124, 58, 237, .22);
  border: 1px solid rgba(168, 85, 247, .4);
  color: #dcc7ff;
  font-weight: 900;
}

.carousel__dots-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  margin-top: 14px;
}

.dots { display: flex; gap: 7px; }

.dot {
  width: 7px;
  height: 7px;
  padding: 0;
  border: 0;
  border-radius: 999px;
  cursor: pointer;
  background: rgba(255, 255, 255, .22);
  transition: width .3s ease, background .3s ease;
}

.dot[aria-selected="true"] {
  width: 24px;
  background: var(--violet);
}

/* Features ---------------------------------------------------------------- */

.feature {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 16px;
  border-radius: 16px;
  border: 1px solid var(--line);
  background: linear-gradient(180deg, var(--card-a), var(--card-b));
}

.feature__icon {
  flex: none;
  width: 46px;
  height: 46px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(124, 58, 237, .18);
  border: 1px solid var(--line-strong);
}

.feature__icon svg { width: 26px; height: auto; }

.feature__title {
  margin: 0 0 6px;
  font-size: 16px;
  font-weight: 900;
  line-height: 1.4;
}

.feature__text {
  margin: 0;
  font-size: 13px;
  line-height: 1.8;
  color: var(--text-muted);
  text-wrap: pretty;
}

/* Reviews ----------------------------------------------------------------- */

.review {
  margin: 0;
  padding: 16px;
  border-radius: 16px;
  border: 1px solid var(--line);
  background: linear-gradient(180deg, var(--card-a), var(--card-b));
  display: flex;
  align-items: flex-start;
  gap: 12px;
}

.review__photo {
  width: 52px;
  height: 52px;
  flex: none;
  border-radius: 50%;
  object-fit: cover;
  border: 1px solid rgba(168, 85, 247, .45);
  box-shadow: 0 0 14px rgba(124, 58, 237, .28);
}

.review__body { flex: 1; min-width: 0; }

.review__head {
  display: flex;
  align-items: center;
  gap: 9px;
  flex-wrap: wrap;
  margin-bottom: 6px;
}

.review__stars {
  color: #e0b73a;
  font-size: 13px;
  letter-spacing: 2px;
}

.review__name { font-weight: 900; font-size: 14px; }

.review__text {
  margin: 0;
  font-size: 13px;
  line-height: 1.85;
  color: #bdb3d6;
  text-wrap: pretty;
}

/* FAQ --------------------------------------------------------------------- */

.faq {
  border-radius: 14px;
  border: 1px solid var(--line);
  border-inline-start: 3px solid var(--violet);
  background: linear-gradient(180deg, var(--card-a), var(--card-b));
  overflow: hidden;
}

.faq__h { margin: 0; }

.faq__btn {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 15px 14px;
  border: 0;
  background: transparent;
  color: #e2d3ff;
  font-family: inherit;
  font-size: 14.5px;
  font-weight: 900;
  text-align: right;
  cursor: pointer;
  min-height: 48px;
}

.faq__q { flex: 1; }

.faq__arrow {
  flex: none;
  color: var(--violet-light);
  font-size: 11px;
  transition: transform .3s ease;
}

.faq__btn[aria-expanded="true"] .faq__arrow { transform: rotate(180deg); }

.faq__panel {
  padding: 0 14px 15px;
  font-size: 13px;
  line-height: 1.9;
  color: var(--text-muted);
  animation: fadeUp .28s ease both;
}

.faq__panel[hidden] { display: none; }

/* Final CTA + footer ------------------------------------------------------ */

.cta-card {
  padding: 26px 18px;
  border-radius: 20px;
  text-align: center;
  border: 1px solid var(--line-strong);
  background: radial-gradient(90% 130% at 50% 0%, rgba(124, 58, 237, .3), rgba(10, 5, 19, .96));
}

.cta-card__title {
  margin: 0 0 10px;
  font-size: 20px;
  font-weight: 900;
}

.cta-card__text {
  margin: 0 auto 20px;
  max-width: 34ch;
  font-size: 13px;
  line-height: 1.85;
  color: #b6acce;
}

.footer {
  position: relative;
  border-top: 1px solid rgba(168, 85, 247, .2);
  padding: 20px 18px 30px;
  text-align: center;
}

.footer__logo {
  display: flex;
  justify-content: center;
  margin-bottom: 14px;
}

.footer__logo img {
  height: 34px;
  width: auto;
  filter: brightness(0) invert(1);
  opacity: .85;
}

.footer__legal {
  margin: 0 auto;
  max-width: 44ch;
  font-size: 10.5px;
  line-height: 1.9;
  color: var(--text-faint);
  text-wrap: pretty;
}

.footer__legal-label { color: var(--violet-light); font-weight: 900; }

/* Motion ------------------------------------------------------------------ */

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(12px); }
  to { opacity: 1; transform: none; }
}

@keyframes ctaGlow {
  0%, 100% { box-shadow: 0 10px 30px rgba(124, 58, 237, .45), 0 0 0 1px rgba(255, 255, 255, .14) inset; }
  50% { box-shadow: 0 12px 42px rgba(168, 85, 247, .7), 0 0 0 1px rgba(255, 255, 255, .22) inset; }
}

[data-reveal][data-hidden] { opacity: 0; }

[data-reveal][data-shown] {
  opacity: 1;
  animation: fadeUp .55s ease both;
}

@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition: none !important; }
}
