/* ============================================================
   Arrow 3D — landing (cozy, cute "storybook" theme)
   One adorable cube mascot, soft pastels, lots of breathing room.
   ============================================================ */
:root {
  --pink:   #FF8FB0;
  --pink-d: #F26B93;
  --orange: #FFB067;
  --yellow: #FFD75E;
  --green:  #86D46A;
  --blue:   #7FC0F5;
  --purple: #B79BF0;

  --ink:     #5b5480;
  --ink-str: #453f6b;
  --ink-mut: #a49fc0;

  --r-lg: 34px;
  --r-md: 24px;
  --maxw: 1020px;
  --shadow: 0 18px 40px -20px rgba(120, 100, 170, 0.4);
  --shadow-soft: 0 12px 30px -16px rgba(120, 100, 170, 0.35);
  --ease-back: cubic-bezier(.34, 1.56, .64, 1);
  --ease-smooth: cubic-bezier(.22, 1, .36, 1);
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

body {
  font-family: "Nunito", system-ui, sans-serif;
  color: var(--ink);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  background:
    radial-gradient(70% 45% at 50% 0%, #FFF0F6 0%, transparent 60%),
    radial-gradient(60% 40% at 90% 30%, #EEF4FF 0%, transparent 55%),
    linear-gradient(180deg, #FFF7FB 0%, #F4F1FF 100%);
  background-attachment: fixed;
}

h1, h2, h3, .brand-name { font-family: "Baloo 2", "Nunito", sans-serif; line-height: 1.1; color: var(--ink-str); }

#sparkles { position: fixed; inset: 0; z-index: 0; width: 100%; height: 100%; pointer-events: none; }

.page { position: relative; z-index: 1; max-width: var(--maxw); margin: 0 auto; padding: 0 clamp(1.1rem, 4vw, 2rem) 2rem; }

.grad-text {
  background: linear-gradient(100deg, var(--pink-d), var(--orange) 45%, var(--purple));
  -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
}

/* ============================================================
   Buttons
   ============================================================ */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .45em;
  font-family: "Baloo 2", sans-serif; font-weight: 700; cursor: pointer;
  text-decoration: none; border: none; border-radius: 100px; color: #fff;
  transition: transform .24s var(--ease-back), box-shadow .24s;
  will-change: transform;
}
.btn:active { transform: scale(.94); }
.btn-play {
  padding: .6em 1.4em; font-size: 1rem;
  background: linear-gradient(135deg, var(--pink), var(--orange));
  box-shadow: 0 10px 22px -8px rgba(242,107,147,.6), inset 0 2px 0 rgba(255,255,255,.5);
}
.btn-play:hover { transform: translateY(-2px) rotate(-1deg); }
.btn-cta {
  padding: .95em 2.1em; font-size: 1.18rem;
  background: linear-gradient(135deg, var(--pink), var(--orange));
  box-shadow: 0 16px 30px -10px rgba(242,107,147,.65), inset 0 2px 0 rgba(255,255,255,.55);
}
.btn-cta:hover { transform: translateY(-4px) scale(1.03); box-shadow: 0 22px 40px -12px rgba(242,107,147,.7), inset 0 2px 0 rgba(255,255,255,.55); }

/* ============================================================
   Top bar
   ============================================================ */
.topbar { display: flex; align-items: center; justify-content: space-between; padding: 1.5rem .2rem; }
.brand { display: flex; align-items: center; gap: .55rem; text-decoration: none; }
.brand-name { font-size: 1.4rem; font-weight: 800; letter-spacing: -.02em; }
.brand-name b { color: var(--pink-d); }
.brand-icon { width: 34px; height: 34px; border-radius: 9px; box-shadow: 0 4px 10px -3px rgba(120,100,170,.5); }
.brand-cube { width: 26px; height: 26px; position: relative; transform: rotate(-8deg); }
.brand-cube span { position: absolute; border-radius: 6px; }
.brand-cube span:nth-child(1) { inset: 0 auto auto 0; width: 12px; height: 12px; background: var(--pink); }
.brand-cube span:nth-child(2) { inset: 0 0 auto auto; width: 12px; height: 12px; background: var(--yellow); }
.brand-cube span:nth-child(3) { inset: auto auto 0 3px; width: 20px; height: 12px; background: var(--blue); }

/* ============================================================
   Hero
   ============================================================ */
.hero { text-align: center; padding: clamp(1rem, 3vw, 2.5rem) 0 clamp(2rem, 6vw, 4rem); display: flex; flex-direction: column; align-items: center; }

/* ---- Kawaii cube mascot ---- */
.mascot { position: relative; width: 220px; height: 210px; margin-bottom: 1.6rem; }
/* App icon used as the hero visual */
.app-badge {
  position: absolute; left: 50%; top: 14px; width: 158px; height: 158px;
  border-radius: 30%; object-fit: cover;
  box-shadow: 0 24px 44px -14px rgba(120,100,170,.55), inset 0 2px 0 rgba(255,255,255,.35);
  animation: bob 3.6s ease-in-out infinite;
}
.app-badge.small {
  position: static; width: 88px; height: 88px; border-radius: 26%;
  animation: none; box-shadow: 0 12px 26px -10px rgba(120,100,170,.55);
}
.cube-char {
  position: absolute; left: 50%; top: 26px; transform: translateX(-50%);
  width: 140px; height: 140px;
  animation: bob 3.6s ease-in-out infinite;
}
.cube-top {
  position: absolute; top: -18px; left: 10px; width: 120px; height: 34px;
  background: linear-gradient(135deg, #FFE1AE, #FFC98A);
  border-radius: 50%; transform: skewX(-2deg);
  box-shadow: inset 0 2px 0 rgba(255,255,255,.6);
}
.cube-face {
  position: absolute; inset: 0;
  border-radius: 34px;
  background: linear-gradient(160deg, #FFC178 0%, #FF9F6b 55%, #FF89A6 100%);
  box-shadow:
    inset 0 6px 0 rgba(255,255,255,.35),
    inset 0 -14px 24px rgba(214,90,120,.35),
    var(--shadow);
}
.eyes { position: absolute; top: 46%; left: 0; right: 0; display: flex; justify-content: center; gap: 30px; }
.eyes span {
  width: 17px; height: 22px; background: #4a3b52; border-radius: 50%;
  position: relative; animation: blink 4.5s infinite;
}
.eyes span::after { content: ""; position: absolute; top: 3px; right: 3px; width: 6px; height: 6px; background: #fff; border-radius: 50%; }
.blush { position: absolute; top: 58%; left: 0; right: 0; display: flex; justify-content: center; gap: 62px; }
.blush span { width: 20px; height: 12px; background: rgba(255,120,150,.55); border-radius: 50%; filter: blur(.5px); }
.mouth {
  position: absolute; top: 62%; left: 50%; transform: translateX(-50%);
  width: 22px; height: 11px; border: 3px solid #4a3b52; border-top: none;
  border-radius: 0 0 22px 22px;
}
.ground-shadow {
  position: absolute; bottom: 6px; left: 50%; transform: translateX(-50%);
  width: 120px; height: 20px; border-radius: 50%;
  background: radial-gradient(closest-side, rgba(150,120,180,.35), transparent);
  animation: shadowPulse 3.6s ease-in-out infinite;
}

@keyframes bob { 0%,100% { transform: translateX(-50%) translateY(0) rotate(-1deg); } 50% { transform: translateX(-50%) translateY(-12px) rotate(1deg); } }
@keyframes shadowPulse { 0%,100% { transform: translateX(-50%) scale(1); opacity: .5; } 50% { transform: translateX(-50%) scale(.82); opacity: .35; } }
@keyframes blink { 0%,92%,100% { transform: scaleY(1); } 96% { transform: scaleY(.1); } }
@keyframes floaty { 0%,100% { translate: 0 0; } 50% { translate: 0 -10px; } }

.pill {
  display: inline-block; font-family: "Baloo 2"; font-weight: 700; font-size: .92rem;
  padding: .45em 1.1em; border-radius: 100px; margin-bottom: 1.3rem;
  background: #fff; color: var(--pink-d); box-shadow: var(--shadow-soft);
}
.pill-soft { background: rgba(255,255,255,.7); color: var(--purple); box-shadow: none; margin-bottom: 1rem; }

.hero h1 { font-size: clamp(2.4rem, 6.5vw, 4rem); font-weight: 800; letter-spacing: -.02em; margin-bottom: 1rem; }
.lead { font-size: clamp(1.05rem, 2vw, 1.25rem); color: var(--ink); max-width: 40ch; margin: 0 auto 2rem; }

.hero-facts { display: flex; align-items: center; gap: 1rem; margin-top: 1.8rem; color: var(--ink); font-weight: 700; }
.hero-facts b { font-family: "Baloo 2"; font-size: 1.3rem; color: var(--pink-d); margin-right: .15em; }
.hero-facts i { width: 6px; height: 6px; border-radius: 50%; background: var(--ink-mut); opacity: .5; }

/* ============================================================
   Section head (shared)
   ============================================================ */
.section-head { text-align: center; max-width: 48ch; margin: 0 auto clamp(1.5rem, 4vw, 2.6rem); }
.section-head h2 { font-size: clamp(1.7rem, 4vw, 2.6rem); margin-bottom: .5rem; }
.section-sub { color: var(--ink); font-size: 1.05rem; }

/* ============================================================
   Shared screenshot slot (cute placeholder until an image loads)
   ============================================================ */
.shot {
  position: relative; aspect-ratio: 3 / 4.4; border-radius: 22px; overflow: hidden;
  background:
    radial-gradient(120% 80% at 20% 0%, rgba(255,143,176,.4), transparent 55%),
    radial-gradient(120% 90% at 90% 100%, rgba(127,192,245,.45), transparent 55%),
    linear-gradient(160deg, #FFE7F0, #EAF1FF);
  display: grid; place-items: center;
}
.shot img { position: absolute; inset: 0; z-index: 2; width: 100%; height: 100%; object-fit: cover; }
.shot::before {
  content: ""; z-index: 1; width: 40%; aspect-ratio: 1;
  background: linear-gradient(135deg, var(--pink), var(--orange) 50%, var(--yellow));
  clip-path: polygon(0 34%, 55% 34%, 55% 12%, 100% 50%, 55% 88%, 55% 66%, 0 66%);
  filter: drop-shadow(0 10px 18px rgba(242,107,147,.4)); opacity: .85;
}
.shot::after {
  content: attr(data-label) " screenshot"; z-index: 1; position: absolute; bottom: 8%;
  left: 0; right: 0; text-align: center; font-family: "Baloo 2"; font-weight: 700;
  font-size: .82rem; color: var(--ink-mut);
}

/* ============================================================
   Showcase — each feature shown IN its own phone screenshot
   ============================================================ */
.showcase { padding: clamp(1.5rem, 4vw, 3rem) 0; }
.showcase-row {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: clamp(1.4rem, 4vw, 2.6rem); align-items: start;
}
.show { display: flex; flex-direction: column; align-items: center; text-align: center; }
.show:nth-child(2) { margin-top: -1.6rem; }   /* lift the middle one a touch */
.phone-frame {
  width: 100%; max-width: 250px; padding: 10px; background: #fff;
  border-radius: 30px; box-shadow: var(--shadow);
  transition: transform .3s var(--ease-back), box-shadow .3s;
}
.show:hover .phone-frame { transform: translateY(-8px); }
.phone-frame .shot { border-radius: 22px; aspect-ratio: 1320 / 2868; }
.show-text { margin-top: 1.3rem; max-width: 30ch; }
.fdot { display: inline-block; width: 12px; height: 12px; border-radius: 50%; margin-bottom: .55rem; }
.d-pink { background: var(--pink); box-shadow: 0 0 10px var(--pink); }
.d-blue { background: var(--blue); box-shadow: 0 0 10px var(--blue); }
.d-purple { background: var(--purple); box-shadow: 0 0 10px var(--purple); }
.show-text h3 { font-size: 1.3rem; margin-bottom: .35rem; }
.show-text p { color: var(--ink); font-size: .98rem; }

/* ============================================================
   Get / CTA
   ============================================================ */
.get { padding: clamp(1rem, 4vw, 2.5rem) 0 2rem; }
.get-card {
  position: relative; text-align: center;
  padding: clamp(2.6rem, 6vw, 4rem) 1.5rem clamp(2rem, 5vw, 3rem);
  border-radius: var(--r-lg);
  background: linear-gradient(170deg, #FFFFFF, #FFF3F8 70%, #F3EEFF);
  box-shadow: var(--shadow);
}
.mini-mascot { position: absolute; top: -46px; left: 50%; transform: translateX(-50%); }
.cube-char.small { position: static; width: 84px; height: 84px; transform: none; }
.cube-char.small .cube-top { top: -11px; left: 6px; width: 72px; height: 20px; }
.cube-char.small .cube-face { border-radius: 22px; }
.cube-char.small .eyes { gap: 18px; } .cube-char.small .eyes span { width: 11px; height: 14px; }
.cube-char.small .eyes span::after { width: 4px; height: 4px; }
.cube-char.small .blush { gap: 38px; } .cube-char.small .blush span { width: 12px; height: 7px; }
.cube-char.small .mouth { width: 14px; height: 7px; border-width: 2px; }
.get-card h2 { font-size: clamp(1.7rem, 4vw, 2.4rem); margin-bottom: .5rem; margin-top: 1.4rem; }
.get-card p { color: var(--ink); font-size: 1.08rem; margin-bottom: 1.8rem; }
.store-row { display: flex; gap: .9rem; justify-content: center; flex-wrap: wrap; }
.store-btn {
  display: inline-flex; align-items: center; gap: .6rem; padding: .65em 1.2em;
  border-radius: 16px; text-decoration: none; background: var(--ink-str); color: #fff;
  transition: transform .24s var(--ease-back), box-shadow .24s;
}
.store-btn:hover { transform: translateY(-3px); box-shadow: 0 14px 26px -12px rgba(69,63,107,.6); }
.store-btn span { display: flex; flex-direction: column; line-height: 1.1; text-align: left; }
.store-btn small { font-size: .68rem; opacity: .75; }
.store-btn strong { font-family: "Baloo 2"; font-size: 1.05rem; }

/* ============================================================
   Footer
   ============================================================ */
.footer { display: flex; align-items: center; justify-content: space-between; gap: 1rem; flex-wrap: wrap; padding: 2.5rem .2rem 1rem; }
.footer .brand-name { font-size: 1.15rem; }
.foot-note { color: var(--ink-mut); font-size: .92rem; font-weight: 700; }
.foot-links { display: flex; gap: 1.2rem; }
.foot-links a { color: var(--ink-dim); font-weight: 700; font-size: .92rem; text-decoration: none; transition: color .2s; }
.foot-links a:hover { color: var(--pink-d); }

/* ============================================================
   Reveal
   ============================================================ */
.reveal { opacity: 0; transform: translateY(22px) scale(.98); transition: opacity .6s var(--ease-smooth), transform .6s var(--ease-back); transition-delay: calc(var(--d, 0) * .08s); }
.reveal.in { opacity: 1; transform: none; }

/* ============================================================
   Responsive
   ============================================================ */
@media (max-width: 780px) {
  .showcase-row { grid-template-columns: 1fr; max-width: 320px; margin: 0 auto; gap: 2.6rem; }
  .show:nth-child(2) { margin-top: 0; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition-duration: .12ms !important; scroll-behavior: auto; }
}
