/* Mamam landing page — same palette and type as the app (Baloo 2 + Nunito). */

:root {
  --cream: #fff8ef;
  --surface: #ffffff;
  --ink: #3b2a20;
  --ink-soft: #6b5446;
  --ink-muted: #7b6457;
  --line: #eadccb;
  --coral: #d4572f;
  --coral-edge: #a9411f;
  --link: #b8471f;
  --butter: #ffd66b;
  --butter-tint: #fff1c7;
  --butter-ink: #6b5314;
  --peach: #ffe3d6;
  --sage: #3e7a4f;
  --sage-tint: #e3f0e2;
  --sage-ink: #2f6b40;
  --phone: #1f1712;
  --shadow: 0 24px 60px rgba(90, 50, 20, 0.16);
  --radius-card: 28px;
  --display: 'Baloo 2', 'Trebuchet MS', sans-serif;
  --body: 'Nunito', 'Segoe UI', system-ui, sans-serif;
  --gutter: 20px;
  --max: 1160px;
}

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

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }
}

body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font-family: var(--body);
  font-size: 17px;
  line-height: 1.6;
  overflow-x: hidden;
}

img,
svg {
  display: block;
  max-width: 100%;
}

a {
  color: var(--link);
}

a:hover {
  color: #8f3516;
}

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

h1,
h2,
h3 {
  font-family: var(--display);
  font-weight: 800;
  line-height: 1.18;
  margin: 0;
}

p {
  margin: 0;
}

.container {
  width: 100%;
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

.skip {
  position: absolute;
  left: -9999px;
}

.skip:focus {
  left: 16px;
  top: 12px;
  z-index: 100;
  background: var(--surface);
  padding: 8px 14px;
  border-radius: 12px;
}

/* ---- header ---- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(255, 248, 239, 0.92);
  backdrop-filter: saturate(1.4) blur(10px);
  -webkit-backdrop-filter: saturate(1.4) blur(10px);
  border-bottom: 1px solid transparent;
}

.site-header.scrolled {
  border-bottom-color: var(--line);
}

.header-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  height: 68px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--ink);
}

.brand img {
  width: 40px;
  height: 40px;
  border-radius: 11px;
}

.brand span {
  font-family: var(--display);
  font-weight: 800;
  font-size: 26px;
  line-height: 1;
  color: var(--coral);
}

.header-nav {
  display: flex;
  align-items: center;
  gap: 22px;
}

.header-nav a:not(.btn) {
  color: var(--ink-soft);
  font-weight: 700;
  text-decoration: none;
  font-size: 15px;
}

.header-nav a:not(.btn):hover {
  color: var(--ink);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 46px;
  padding: 0 20px;
  border-radius: 23px;
  background: var(--coral);
  color: #fff;
  font-family: var(--display);
  font-weight: 700;
  font-size: 17px;
  text-decoration: none;
  box-shadow: 0 4px 0 var(--coral-edge);
  transition: transform 0.12s ease, box-shadow 0.12s ease;
}

.btn:hover {
  color: #fff;
  transform: translateY(-1px);
}

.btn:active {
  transform: translateY(3px);
  box-shadow: 0 1px 0 var(--coral-edge);
}

@media (max-width: 760px) {
  .header-nav a:not(.btn) {
    display: none;
  }
  .btn {
    height: 42px;
    padding: 0 16px;
    font-size: 16px;
  }
}

/* ---- store badges ---- */

.badges {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px;
}

.store-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 60px;
  border-radius: 12px;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.store-badge:hover {
  transform: translateY(-2px);
}

.store-badge img.apple {
  height: 60px;
  width: auto;
}

/* Google's badge PNG carries its own transparent margin. */
.store-badge img.google {
  height: 89px;
  width: auto;
  margin: 0 -14px;
}

/* The visitor's own platform comes first. */
.is-android .badges .store-badge.google-link {
  order: -1;
}

.badges-note {
  margin-top: 14px;
  font-size: 15px;
  font-weight: 700;
  color: var(--ink-muted);
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.badges-note .dot {
  width: 4px;
  height: 4px;
  border-radius: 2px;
  background: currentColor;
  opacity: 0.6;
}

/* ---- hero ---- */

.hero {
  position: relative;
  padding: 40px 0 72px;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  width: 820px;
  height: 820px;
  border-radius: 50%;
  background: var(--peach);
  right: -260px;
  top: -180px;
  z-index: -1;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(0, 0.92fr);
  align-items: center;
  gap: 48px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 14px;
  border-radius: 20px;
  background: var(--sage-tint);
  color: var(--sage-ink);
  font-weight: 800;
  font-size: 14px;
  margin-bottom: 18px;
}

.hero h1 {
  font-size: clamp(40px, 5.2vw, 60px);
  line-height: 1.12;
  letter-spacing: -0.5px;
}

.marker {
  background: var(--butter);
  border-radius: 14px;
  padding: 0 10px;
  -webkit-box-decoration-break: clone;
  box-decoration-break: clone;
}

.hero .badges {
  margin-top: 30px;
}

.hero .lead {
  margin-top: 26px;
  font-size: 19px;
  line-height: 1.6;
  color: var(--ink-soft);
  max-width: 540px;
}

.hero-visual {
  position: relative;
  display: flex;
  justify-content: center;
  padding: 20px 0;
}

.hero-visual .phone {
  width: min(340px, 78vw);
  transform: rotate(2deg);
}

.float-chip {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 16px;
  border-radius: 20px;
  background: var(--sage-tint);
  color: var(--sage-ink);
  border: 3px solid #fff;
  box-shadow: var(--shadow);
  font-weight: 800;
  font-size: 15px;
  line-height: 1.25;
  left: -6px;
  bottom: 120px;
  transform: rotate(-3deg);
  max-width: 240px;
  animation: bob 5s ease-in-out infinite;
}

.float-chip svg {
  flex-shrink: 0;
}

.float-chip strong {
  display: block;
  color: var(--ink);
  font-family: var(--display);
  font-size: 18px;
}

.hero-mascot {
  position: absolute;
  width: 132px;
  right: 4px;
  top: 6px;
  animation: bob 4s ease-in-out infinite reverse;
}

@keyframes bob {
  0%,
  100% {
    translate: 0 0;
  }
  50% {
    translate: 0 -8px;
  }
}

@media (max-width: 900px) {
  .hero {
    padding-top: 24px;
  }
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 36px;
  }
  .hero-copy {
    text-align: center;
  }
  .hero .badges,
  .hero .badges-note {
    justify-content: center;
  }
  .hero .lead {
    margin-left: auto;
    margin-right: auto;
  }
  .hero::before {
    width: 560px;
    height: 560px;
    right: -240px;
    top: auto;
    bottom: 120px;
  }
}

@media (max-width: 420px) {
  .store-badge,
  .store-badge img.apple {
    height: 52px;
  }
  .store-badge img.google {
    height: 77px;
    margin: 0 -12px;
  }
  .float-chip {
    left: -4px;
    bottom: 70px;
    font-size: 13px;
  }
  .float-chip strong {
    font-size: 16px;
  }
  .hero-mascot {
    width: 96px;
  }
}

/* ---- phone mockup ---- */

.phone {
  position: relative;
  padding: 10px;
  border-radius: 48px;
  background: var(--phone);
  box-shadow: 0 30px 70px rgba(60, 30, 10, 0.28);
}

.phone::after {
  content: '';
  position: absolute;
  top: 18px;
  left: 50%;
  translate: -50% 0;
  width: 30%;
  height: 22px;
  border-radius: 11px;
  background: var(--phone);
}

.phone img {
  width: 100%;
  height: auto;
  aspect-ratio: 390 / 844;
  object-fit: cover;
  object-position: top;
  border-radius: 38px;
  background: var(--cream);
}

/* ---- sections ---- */

.section {
  padding: 88px 0;
}

.section-head {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 56px;
}

.section-head h2 {
  font-size: clamp(32px, 4.6vw, 46px);
}

.section-head p {
  margin-top: 14px;
  font-size: 19px;
  color: var(--ink-soft);
}

.feature {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  align-items: center;
  gap: 64px;
  padding: 36px 0;
}

.feature + .feature {
  margin-top: 24px;
}

.feature.reverse .feature-visual {
  order: 2;
}

.feature-visual {
  position: relative;
  display: flex;
  justify-content: center;
  padding: 36px 0;
}

.feature-visual::before {
  content: '';
  position: absolute;
  inset: 0 8%;
  border-radius: 44px;
  background: var(--tint, var(--butter-tint));
  z-index: -1;
}

.feature-visual .phone {
  width: min(300px, 74vw);
}

.feature-copy h3 {
  font-size: clamp(28px, 3.6vw, 38px);
}

.feature-copy > p {
  margin-top: 14px;
  font-size: 18px;
  color: var(--ink-soft);
}

.plus-pill {
  display: inline-block;
  margin-bottom: 14px;
  padding: 5px 12px;
  border-radius: 10px;
  background: var(--ink);
  color: var(--butter);
  font-weight: 800;
  font-size: 12px;
  letter-spacing: 1.2px;
}

.ticks {
  list-style: none;
  padding: 0;
  margin: 22px 0 0;
  display: grid;
  gap: 12px;
}

.ticks li {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  font-weight: 700;
}

.ticks li::before {
  content: '';
  flex-shrink: 0;
  width: 26px;
  height: 26px;
  margin-top: 1px;
  border-radius: 13px;
  background: var(--sage)
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E")
    center / 15px no-repeat;
}

@media (max-width: 860px) {
  .section {
    padding: 64px 0;
  }
  .feature {
    grid-template-columns: 1fr;
    gap: 28px;
    text-align: center;
  }
  .feature.reverse .feature-visual {
    order: 0;
  }
  .ticks {
    text-align: left;
    max-width: 440px;
    margin-left: auto;
    margin-right: auto;
  }
}

/* ---- duo (belanja + perkembangan) ---- */

.duo {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 28px;
  margin-top: 40px;
}

.duo-card {
  border-radius: 36px;
  padding: 36px 32px 0;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.duo-card h3 {
  font-size: 30px;
}

.duo-card p {
  color: var(--ink-soft);
}

.duo-card .phone {
  width: min(260px, 70%);
  margin: 26px auto -120px;
}

.duo-card .shot-wrap {
  overflow: hidden;
  margin: 0 -32px;
  padding-top: 4px;
  height: 420px;
}

@media (max-width: 860px) {
  .duo {
    grid-template-columns: 1fr;
  }
  .duo-card {
    text-align: center;
  }
}

/* ---- pricing ---- */

.plans {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
  max-width: 920px;
  margin: 0 auto;
}

.plan {
  border-radius: var(--radius-card);
  padding: 34px 32px;
  background: var(--surface);
  box-shadow: 0 4px 22px rgba(120, 80, 50, 0.08);
}

.plan.plus {
  background: var(--butter-tint);
  box-shadow: none;
  border: 3px solid var(--butter);
}

.plan h3 {
  font-size: 30px;
  display: flex;
  align-items: center;
  gap: 12px;
}

.plan .price {
  margin-top: 6px;
  font-weight: 800;
  color: var(--ink-muted);
}

.plan .ticks li.off {
  color: var(--ink-muted);
  font-weight: 600;
}

.plan .ticks li.off::before {
  background: #f1e7dc
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%239C8778' stroke-width='3' stroke-linecap='round'%3E%3Cpath d='M7 12h10'/%3E%3C/svg%3E")
    center / 15px no-repeat;
}

.plans-note {
  text-align: center;
  margin-top: 22px;
  color: var(--ink-muted);
  font-size: 15px;
}

@media (max-width: 760px) {
  .plans {
    grid-template-columns: 1fr;
  }
}

/* ---- steps ---- */

.steps {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
  counter-reset: step;
}

.steps li {
  counter-increment: step;
  background: var(--surface);
  border-radius: var(--radius-card);
  padding: 30px 28px;
  box-shadow: 0 4px 22px rgba(120, 80, 50, 0.07);
}

.steps li::before {
  content: counter(step);
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: 24px;
  background: var(--peach);
  color: var(--link);
  font-family: var(--display);
  font-weight: 800;
  font-size: 24px;
  margin-bottom: 16px;
}

.steps h3 {
  font-size: 23px;
}

.steps p {
  margin-top: 8px;
  color: var(--ink-soft);
}

@media (max-width: 860px) {
  .steps {
    grid-template-columns: 1fr;
  }
}

/* ---- faq ---- */

.faq {
  max-width: 820px;
  margin: 0 auto;
  display: grid;
  gap: 14px;
}

.faq details {
  background: var(--surface);
  border-radius: 22px;
  padding: 0 24px;
  box-shadow: 0 2px 14px rgba(120, 80, 50, 0.06);
}

.faq summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  min-height: 68px;
  font-weight: 800;
  font-size: 18px;
}

.faq summary::-webkit-details-marker {
  display: none;
}

.faq summary::after {
  content: '';
  flex-shrink: 0;
  width: 30px;
  height: 30px;
  border-radius: 15px;
  background: var(--peach)
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23B8471F' stroke-width='3' stroke-linecap='round'%3E%3Cpath d='M12 6v12M6 12h12'/%3E%3C/svg%3E")
    center / 16px no-repeat;
  transition: rotate 0.2s ease;
}

.faq details[open] summary::after {
  rotate: 45deg;
}

.faq details p {
  padding: 0 0 22px;
  color: var(--ink-soft);
}

/* ---- disclaimer ---- */

.disclaimer {
  display: flex;
  gap: 18px;
  align-items: flex-start;
  max-width: 820px;
  margin: 40px auto 0;
  padding: 22px 24px;
  border-radius: 22px;
  background: var(--sage-tint);
  color: var(--sage-ink);
  font-weight: 700;
}

.disclaimer svg {
  flex-shrink: 0;
}

/* ---- final cta ---- */

.cta-band {
  position: relative;
  margin: 0 var(--gutter);
  border-radius: 44px;
  background: var(--butter);
  overflow: hidden;
}

.cta-inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 64px 40px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 32px;
}

.cta-band h2 {
  font-size: clamp(32px, 4.4vw, 48px);
}

.cta-band p {
  margin-top: 10px;
  font-size: 19px;
  color: var(--butter-ink);
  font-weight: 700;
}

.cta-band .badges {
  margin-top: 28px;
}

.cta-mascot {
  width: 220px;
}

@media (max-width: 760px) {
  .cta-inner {
    grid-template-columns: 1fr;
    text-align: center;
    padding: 48px 24px;
  }
  .cta-band .badges {
    justify-content: center;
  }
  .cta-mascot {
    width: 150px;
    margin: 0 auto;
    grid-row: 1;
  }
}

/* ---- footer ---- */

.site-footer {
  padding: 56px 0 40px;
  color: var(--ink-muted);
  font-size: 15px;
}

.footer-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 22px;
}

.footer-links a {
  color: var(--ink-soft);
  font-weight: 700;
  text-decoration: none;
}

.footer-links a:hover {
  color: var(--ink);
  text-decoration: underline;
}

.footer-legal {
  margin-top: 22px;
  font-size: 13px;
  line-height: 1.6;
}

/* ---- sticky mobile download bar ---- */

.sticky-cta {
  display: none;
}

@media (max-width: 760px) {
  .sticky-cta {
    display: flex;
    position: fixed;
    z-index: 50;
    left: 12px;
    right: 12px;
    bottom: calc(12px + env(safe-area-inset-bottom));
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 8px 10px;
    border-radius: 22px;
    background: rgba(255, 255, 255, 0.97);
    box-shadow: 0 12px 40px rgba(60, 30, 10, 0.22);
    translate: 0 140%;
    transition: translate 0.25s ease;
  }
  .sticky-cta.show {
    translate: 0 0;
  }
  .sticky-cta .store-badge,
  .sticky-cta .store-badge img.apple {
    height: 44px;
  }
  .sticky-cta .store-badge img.google {
    height: 66px;
    margin: 0 -10px;
  }
  body {
    padding-bottom: 0;
  }
}

/* ---- legal pages ---- */

.legal {
  max-width: 760px;
  margin: 0 auto;
  padding: 48px var(--gutter) 80px;
}

.legal h1 {
  font-size: clamp(34px, 5vw, 46px);
}

.legal .updated {
  margin-top: 8px;
  color: var(--ink-muted);
  font-weight: 700;
}

.legal h2 {
  font-size: 25px;
  margin-top: 40px;
}

.legal p,
.legal li {
  color: var(--ink-soft);
}

.legal p {
  margin-top: 12px;
}

.legal ul {
  padding-left: 22px;
  margin: 12px 0 0;
}

.legal li + li {
  margin-top: 6px;
}

.legal .callout {
  margin-top: 20px;
  padding: 18px 20px;
  border-radius: 18px;
  background: var(--sage-tint);
  color: var(--sage-ink);
  font-weight: 700;
}

/* ---- 404 ---- */

.notfound {
  min-height: 70vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: 16px;
  padding: 40px var(--gutter);
}

.notfound img {
  width: 160px;
}
