/* ====== Thread Pop: Yarn Pixel Art — Landing Styles ====== */
:root {
  --pink: #ff7ab8;
  --pink-deep: #ff4fa3;
  --purple: #b96cd6;
  --purple-deep: #8a45c9;
  --blue: #4dc4ff;
  --yellow: #ffce3d;
  --green: #6fd66f;
  --cream: #fff6ef;
  --ink: #4a2b5e;
  --ink-soft: #6b5277;
  --white: #ffffff;
  --radius: 22px;
  --radius-lg: 34px;
  --shadow-sm: 0 6px 18px rgba(138, 69, 201, .12);
  --shadow: 0 14px 38px rgba(138, 69, 201, .18);
  --shadow-lg: 0 26px 60px rgba(138, 69, 201, .26);
  --maxw: 1140px;
  --font-head: 'Baloo 2', system-ui, sans-serif;
  --font-body: 'Nunito', system-ui, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--cream);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3 { font-family: var(--font-head); line-height: 1.1; margin: 0; }

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

.eyebrow {
  display: inline-block;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: .9rem;
  letter-spacing: .3px;
  color: var(--purple-deep);
  background: rgba(185, 108, 214, .12);
  padding: 6px 14px;
  border-radius: 100px;
  margin-bottom: 14px;
}
.grad-text {
  background: linear-gradient(100deg, var(--pink-deep), var(--purple), var(--blue));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* ====== Buttons ====== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-head);
  font-weight: 700;
  border: none;
  cursor: pointer;
  transition: transform .15s ease, box-shadow .2s ease, filter .2s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }

.btn-pill {
  background: linear-gradient(180deg, var(--pink), var(--pink-deep));
  color: #fff;
  padding: 12px 24px;
  border-radius: 100px;
  box-shadow: var(--shadow-sm);
  font-size: 1rem;
}
.btn-pill:hover { box-shadow: var(--shadow); }
.btn-lg { padding: 16px 34px; font-size: 1.12rem; }

.btn-store {
  background: var(--ink);
  color: #fff;
  padding: 12px 22px;
  border-radius: 16px;
  box-shadow: var(--shadow-sm);
}
.btn-store span { display: flex; flex-direction: column; line-height: 1.15; font-size: 1.18rem; text-align: left; }
.btn-store small { font-size: .62rem; font-weight: 600; letter-spacing: .6px; opacity: .8; text-transform: uppercase; font-family: var(--font-body); }
.btn-store--alt { background: #3a2350; }

/* ====== Header ====== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 246, 239, .82);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(185, 108, 214, .12);
}
.header-inner { display: flex; align-items: center; gap: 18px; height: 70px; }
.brand { display: flex; align-items: center; gap: 10px; }
.brand-icon { width: 42px; height: 42px; border-radius: 12px; box-shadow: var(--shadow-sm); }
.brand-name { font-family: var(--font-head); font-weight: 800; font-size: 1.3rem; color: var(--ink); }
.nav { display: flex; gap: 26px; margin-left: auto; }
.nav a { font-weight: 700; color: var(--ink-soft); transition: color .2s; }
.nav a:hover { color: var(--pink-deep); }
.nav-cta { margin-left: 6px; }

.nav-toggle { display: none; flex-direction: column; gap: 5px; background: none; border: none; cursor: pointer; padding: 8px; margin-left: auto; }
.nav-toggle span { width: 26px; height: 3px; border-radius: 3px; background: var(--ink); transition: .25s; }
.mobile-nav { display: none; flex-direction: column; gap: 4px; padding: 0 22px; }
.mobile-nav a { padding: 12px 0; font-weight: 700; color: var(--ink); border-bottom: 1px solid rgba(185, 108, 214, .1); }
.mobile-nav .btn-pill { margin: 12px 0 18px; text-align: center; justify-content: center; }

/* ====== Hero ====== */
.hero { position: relative; padding: 70px 0 0; overflow: hidden; }
.hero-bg {
  position: absolute; inset: 0; z-index: -1;
  background:
    radial-gradient(circle at 15% 10%, rgba(77,196,255,.30), transparent 45%),
    radial-gradient(circle at 85% 20%, rgba(255,122,184,.32), transparent 45%),
    linear-gradient(180deg, #ffe7f4 0%, #f3e6ff 55%, var(--cream) 100%);
}
.hero-inner { display: grid; grid-template-columns: 1.05fr .95fr; gap: 40px; align-items: center; padding-bottom: 90px; }
.hero h1 { font-size: clamp(2.6rem, 6vw, 4.2rem); font-weight: 800; margin: 6px 0 18px; letter-spacing: -.5px; }
.hero-sub { font-size: 1.16rem; color: var(--ink-soft); max-width: 30ch; margin: 0 0 28px; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 14px; }
.hero-cta.center { justify-content: center; }
.hero-badges { display: flex; flex-wrap: wrap; gap: 18px; list-style: none; padding: 0; margin: 28px 0 0; font-weight: 700; color: var(--ink-soft); }

.hero-art { position: relative; display: flex; justify-content: center; }
.hero-phone {
  width: min(330px, 80%);
  border-radius: 30px;
  box-shadow: var(--shadow-lg);
  border: 6px solid #fff;
  animation: floaty 5s ease-in-out infinite;
}
.hero-float--icon {
  position: absolute; width: 96px; height: 96px; border-radius: 22px;
  top: -10px; right: 8%; box-shadow: var(--shadow);
  animation: floaty 4s ease-in-out infinite 0.6s;
}
@keyframes floaty { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-14px); } }

.wave-divider { line-height: 0; }
.wave-divider svg { width: 100%; height: 70px; display: block; }
.wave-divider path { fill: var(--cream); }

/* ====== Marquee ====== */
.marquee { background: linear-gradient(90deg, var(--purple), var(--pink)); overflow: hidden; padding: 14px 0; }
.marquee-track { display: flex; gap: 46px; white-space: nowrap; width: max-content; animation: scroll 26s linear infinite; }
.marquee-track span { font-family: var(--font-head); font-weight: 700; color: #fff; font-size: 1.15rem; }
@keyframes scroll { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* ====== Sections ====== */
.section { padding: 84px 0; }
.section-head { text-align: center; max-width: 640px; margin: 0 auto 52px; }
.section-head h2 { font-size: clamp(2rem, 4vw, 2.8rem); font-weight: 800; margin-bottom: 14px; }
.section-head p { color: var(--ink-soft); font-size: 1.1rem; }

/* Features */
.features { background: var(--cream); }
.feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.feature-card {
  background: #fff; border-radius: var(--radius-lg); padding: 32px 28px;
  box-shadow: var(--shadow-sm); border: 2px solid transparent;
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s;
}
.feature-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); border-color: rgba(255,122,184,.4); }
.feature-ico {
  width: 64px; height: 64px; border-radius: 18px; display: grid; place-items: center;
  font-size: 2rem; margin-bottom: 18px;
  background: linear-gradient(150deg, #ffe7f4, #ece2ff);
}
.feature-card h3 { font-size: 1.35rem; font-weight: 700; margin-bottom: 8px; }
.feature-card p { color: var(--ink-soft); margin: 0; }

/* How */
.how { background: linear-gradient(180deg, #f7edff, var(--cream)); }
.how-inner { display: grid; grid-template-columns: .9fr 1.1fr; gap: 56px; align-items: center; }
.how-art img { width: min(330px, 90%); margin: 0 auto; border-radius: 28px; box-shadow: var(--shadow-lg); border: 6px solid #fff; }
.steps { list-style: none; padding: 0; margin: 26px 0 32px; display: grid; gap: 22px; }
.steps li { display: flex; gap: 18px; align-items: flex-start; }
.step-num {
  flex: 0 0 auto; width: 44px; height: 44px; border-radius: 50%;
  display: grid; place-items: center; font-family: var(--font-head); font-weight: 800; color: #fff;
  background: linear-gradient(180deg, var(--pink), var(--pink-deep)); box-shadow: var(--shadow-sm);
}
.steps h3 { font-size: 1.25rem; margin-bottom: 2px; }
.steps p { margin: 0; color: var(--ink-soft); }

/* Gallery */
.shots { display: flex; gap: 20px; overflow-x: auto; padding: 10px 4px 24px; scroll-snap-type: x mandatory; }
.shot {
  flex: 0 0 auto; border: 5px solid #fff; background: none; padding: 0; cursor: pointer;
  border-radius: 24px; overflow: hidden; box-shadow: var(--shadow); scroll-snap-align: center;
  transition: transform .2s ease;
}
.shot:hover { transform: translateY(-6px) scale(1.02); }
.shot img { width: 230px; height: auto; }

/* Download */
.download { background: linear-gradient(150deg, var(--purple), var(--pink-deep)); color: #fff; text-align: center; }
.download-inner { max-width: 640px; margin: 0 auto; }
.download-icon { width: 110px; height: 110px; border-radius: 28px; margin: 0 auto 22px; box-shadow: var(--shadow-lg); border: 5px solid rgba(255,255,255,.6); }
.download h2 { font-size: clamp(2rem, 4vw, 2.7rem); font-weight: 800; margin-bottom: 12px; }
.download p { font-size: 1.15rem; opacity: .95; margin-bottom: 30px; }
.coming-soon-pill {
  display: inline-block; font-family: var(--font-head); font-weight: 800; font-size: 1.15rem;
  color: var(--purple-deep); background: #fff; padding: 14px 32px; border-radius: 100px;
  box-shadow: var(--shadow); letter-spacing: .3px;
}

/* FAQ */
.faq-list { max-width: 760px; margin: 0 auto; display: grid; gap: 14px; }
.faq-list details {
  background: #fff; border-radius: var(--radius); padding: 4px 24px;
  box-shadow: var(--shadow-sm); border: 2px solid transparent; transition: border-color .2s;
}
.faq-list details[open] { border-color: rgba(185,108,214,.35); }
.faq-list summary {
  cursor: pointer; font-family: var(--font-head); font-weight: 700; font-size: 1.12rem;
  padding: 16px 0; list-style: none; display: flex; justify-content: space-between; align-items: center;
}
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after { content: "+"; font-size: 1.6rem; color: var(--pink-deep); transition: transform .2s; }
.faq-list details[open] summary::after { transform: rotate(45deg); }
.faq-list p { margin: 0 0 18px; color: var(--ink-soft); }

/* ====== Footer ====== */
.site-footer { background: #2c1840; color: #d9c8ec; padding: 56px 0 26px; }
.footer-inner { display: flex; flex-wrap: wrap; gap: 30px; justify-content: space-between; align-items: flex-start; }
.footer-brand { max-width: 320px; }
.footer-brand .brand-name { color: #fff; }
.footer-brand p { margin: 14px 0 0; color: #b39ccb; }
.footer-nav { display: flex; flex-wrap: wrap; gap: 12px 26px; }
.footer-nav a { color: #d9c8ec; font-weight: 700; transition: color .2s; }
.footer-nav a:hover { color: var(--pink); }
.footer-bottom { margin-top: 36px; padding-top: 22px; border-top: 1px solid rgba(255,255,255,.1); font-size: .92rem; color: #a98fc4; }
.footer-bottom a { color: var(--pink); }

/* ====== Lightbox ====== */
.lightbox {
  position: fixed; inset: 0; z-index: 100; background: rgba(34, 18, 50, .9);
  display: none; align-items: center; justify-content: center; padding: 30px;
}
.lightbox.open { display: flex; }
.lightbox img { max-height: 86vh; max-width: 90vw; border-radius: 18px; border: 5px solid #fff; box-shadow: var(--shadow-lg); }
.lightbox-close { position: absolute; top: 20px; right: 26px; font-size: 2.4rem; color: #fff; background: none; border: none; cursor: pointer; line-height: 1; }
.lightbox-nav { position: absolute; top: 50%; transform: translateY(-50%); font-size: 3rem; color: #fff; background: rgba(255,255,255,.15); border: none; cursor: pointer; width: 58px; height: 58px; border-radius: 50%; }
.lightbox-prev { left: 18px; }
.lightbox-next { right: 18px; }
.lightbox-nav:hover { background: rgba(255,255,255,.3); }

/* ====== Legal pages ====== */
.legal { padding: 60px 0 80px; }
.legal .container { max-width: 820px; }
.legal h1 { font-size: clamp(2rem, 5vw, 3rem); font-weight: 800; margin-bottom: 8px; }
.legal .updated { color: var(--ink-soft); margin-bottom: 36px; }
.legal h2 { font-size: 1.5rem; margin: 34px 0 10px; }
.legal p, .legal li { color: var(--ink-soft); }
.legal ul { padding-left: 22px; }
.legal a { color: var(--pink-deep); font-weight: 700; }
.back-link { display: inline-block; margin-bottom: 20px; font-weight: 700; color: var(--purple-deep); }

/* ====== Reveal on scroll ====== */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .6s ease, transform .6s ease; }
.reveal.in { opacity: 1; transform: none; }

/* ====== Responsive ====== */
@media (max-width: 900px) {
  .nav, .nav-cta { display: none; }
  .nav-toggle { display: flex; }
  .site-header.open .mobile-nav { display: flex; }
  .hero-inner { grid-template-columns: 1fr; text-align: center; padding-bottom: 70px; }
  .hero-sub { margin-left: auto; margin-right: auto; }
  .hero-cta, .hero-badges { justify-content: center; }
  .hero-art { order: -1; margin-bottom: 10px; }
  .feature-grid { grid-template-columns: repeat(2, 1fr); }
  .how-inner { grid-template-columns: 1fr; gap: 34px; }
  .how-art { order: -1; }
}
@media (max-width: 560px) {
  .section { padding: 60px 0; }
  .feature-grid { grid-template-columns: 1fr; }
  .btn-store { flex: 1 1 auto; justify-content: center; }
  .hero-float--icon { width: 70px; height: 70px; right: 4%; }
}
@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; }
}
