/* chums public website (D-095, motion D-098). Brand colours from lib/core/design. */
:root {
  --primary: #6C3BD9; --primary-2: #8B5CF6; --primary-soft: #EDE5FF; --lilac: #E9D5FF;
  --ink: #5822B2; --bg: #F7F4FF; --surface: #FFFFFF; --text: #241A3A; --text2: #5A4E73;
  --text3: #8A80A0; --line: #E6E0F5; --coral: #FF7D8D; --mint: #39C68A; --plum: #2D1B45;
  --radius: 24px; --shadow: 0 18px 50px rgba(108, 59, 217, .16);
  --head: "Poppins", "Noto Sans Devanagari", system-ui, sans-serif;
  --body: "Nunito Sans", "Noto Sans Devanagari", system-ui, sans-serif;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--text); font: 17px/1.6 var(--body); -webkit-font-smoothing: antialiased; overflow-x: hidden; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--primary); }
h1, h2, h3 { font-family: var(--head); line-height: 1.12; margin: 0; letter-spacing: -.02em; }
h1 { font-size: clamp(38px, 6.2vw, 66px); }
h2 { font-size: clamp(28px, 4vw, 42px); }
h3 { font-size: 19px; letter-spacing: -.01em; }
.wrap { width: min(1140px, 100% - 32px); margin-inline: auto; }
.narrow { width: min(760px, 100% - 32px); }
.center { text-align: center; }
.eyebrow { text-transform: uppercase; letter-spacing: .14em; font-weight: 800; font-size: 13px; color: var(--primary); margin: 0 0 12px; }
.eyebrow.light { color: var(--lilac); }
.lead { font-size: clamp(17px, 2vw, 20px); color: var(--text2); margin: 18px 0 0; max-width: 560px; }
.lead.light { color: #E4DAFB; }
[hidden] { display: none !important; }
:focus-visible { outline: 3px solid #B9A1F2; outline-offset: 3px; border-radius: 8px; }

/* Buttons */
.btn { position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 54px; padding: 0 28px; border-radius: 999px; font: 800 16px var(--body); text-decoration: none; transition: transform .2s, box-shadow .2s, background .2s; overflow: hidden; }
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: scale(.97); }
.btn-primary { background: linear-gradient(135deg, #8B5CF6, #6C3BD9); color: #fff; box-shadow: 0 12px 28px rgba(108, 59, 217, .35); }
.btn-primary.is-soon { background: linear-gradient(135deg, #3B2560, var(--plum)); box-shadow: 0 10px 24px rgba(45, 27, 69, .25); }
.btn-glow::after { content: ""; position: absolute; inset: 0; background: linear-gradient(110deg, transparent 30%, rgba(255,255,255,.35) 50%, transparent 70%); transform: translateX(-100%); animation: shine 3.6s ease-in-out infinite; }
@keyframes shine { 60%, 100% { transform: translateX(100%); } }
.btn-ghost { color: var(--primary); background: rgba(255,255,255,.6); box-shadow: inset 0 0 0 2px var(--line); }
.btn-ghost:hover { box-shadow: inset 0 0 0 2px var(--primary); }
.btn-white { background: #fff; color: var(--primary); box-shadow: 0 10px 24px rgba(0,0,0,.12); }
.btn-sm { min-height: 42px; padding: 0 18px; font-size: 14px; }

/* Nav */
.nav { position: sticky; top: 0; z-index: 20; background: rgba(247, 244, 255, .72); backdrop-filter: saturate(1.5) blur(14px); transition: box-shadow .3s, background .3s; }
.nav.scrolled { background: rgba(255, 255, 255, .86); box-shadow: 0 6px 24px rgba(45, 27, 69, .08); }
.nav-in { display: flex; align-items: center; gap: 24px; min-height: 70px; }
.logo img { width: 112px; }
.nav-links { display: flex; gap: 24px; margin-left: 12px; flex: 1; }
.nav-links a { position: relative; color: var(--text2); font-weight: 700; text-decoration: none; }
.nav-links a::after { content: ""; position: absolute; left: 0; right: 0; bottom: -6px; height: 2px; border-radius: 2px; background: var(--primary); transform: scaleX(0); transition: transform .25s; }
.nav-links a:hover { color: var(--primary); }
.nav-links a:hover::after { transform: scaleX(1); }
.nav-actions { display: flex; align-items: center; gap: 12px; margin-left: auto; }
.lang { display: inline-flex; background: var(--surface); border-radius: 999px; padding: 4px; box-shadow: inset 0 0 0 1px var(--line); }
.lang button { font: 800 13px var(--body); border: 0; background: none; color: var(--text2); min-width: 40px; min-height: 34px; border-radius: 999px; cursor: pointer; transition: background .2s, color .2s; }
.lang button[aria-pressed="true"] { background: var(--primary); color: #fff; }
.announce { background: linear-gradient(90deg, #4A22A8, #7B4BE3, #4A22A8); background-size: 200% 100%; animation: flow 8s linear infinite; color: #fff; text-align: center; font-weight: 700; font-size: 15px; padding: 10px 0; }
@keyframes flow { to { background-position: 200% 0; } }

/* Hero */
.hero { position: relative; padding: clamp(40px, 7vw, 90px) 0 clamp(70px, 9vw, 120px); overflow: hidden;
  background: radial-gradient(1200px 600px at 85% 10%, #EFE6FF 0, transparent 60%), radial-gradient(800px 500px at 0% 100%, #FFE9F0 0, transparent 55%); }
.sky { position: absolute; inset: 0; pointer-events: none; }
.sky span { position: absolute; color: #C9B1FB; font-size: 16px; opacity: .0; will-change: transform; }
.hero-in { position: relative; display: grid; grid-template-columns: 1.05fr .95fr; gap: 48px; align-items: center; }
.hero h1 .w { display: inline-block; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.note { color: var(--text3); font-weight: 700; font-size: 15px; margin: 14px 0 0; }
.badges { list-style: none; padding: 0; margin: 28px 0 0; display: flex; flex-wrap: wrap; gap: 10px 18px; color: var(--text2); font-weight: 700; font-size: 15px; }
.badges li { display: flex; align-items: center; gap: 8px; }
.dot { width: 8px; height: 8px; border-radius: 50%; background: var(--mint); box-shadow: 0 0 0 4px rgba(57,198,138,.18); }

.stage { position: relative; min-height: 580px; display: grid; place-items: center; }
.blob { position: absolute; inset: 6% 0 4% 8%; border-radius: 46% 54% 52% 48% / 52% 44% 56% 48%; background: radial-gradient(circle at 30% 30%, #FFFFFF 0, var(--lilac) 45%, #D6C3FF 100%); animation: morph 12s ease-in-out infinite; }
@keyframes morph { 50% { border-radius: 58% 42% 40% 60% / 44% 58% 42% 56%; transform: rotate(8deg) scale(1.03); } }
.ring { position: absolute; border-radius: 50%; border: 2px dashed rgba(139, 92, 246, .25); }
.ring-1 { width: 480px; height: 480px; animation: spin 40s linear infinite; }
.ring-2 { width: 380px; height: 380px; border-style: dotted; animation: spin 28s linear infinite reverse; }
@keyframes spin { to { transform: rotate(360deg); } }
.phone { position: relative; width: min(280px, 68vw); border-radius: 40px; padding: 10px; background: #1B1130; box-shadow: var(--shadow), 0 40px 80px rgba(36, 26, 58, .28); transform: rotate(-4deg); }
.phone::before { content: ""; position: absolute; top: 18px; left: 50%; width: 70px; height: 6px; margin-left: -35px; border-radius: 6px; background: #2E2147; z-index: 2; }
.screens { position: relative; border-radius: 30px; overflow: hidden; aspect-ratio: 1 / 2; background: #fff; }
.screens img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transform: scale(1.04); transition: opacity .8s ease, transform 1.2s ease; }
.screens img.on { opacity: 1; transform: none; }
.screen-dots { position: absolute; bottom: -26px; left: 0; right: 0; display: flex; justify-content: center; gap: 6px; }
.screen-dots i { width: 7px; height: 7px; border-radius: 4px; background: #CDBDF4; transition: width .4s, background .4s; }
.screen-dots i.on { width: 22px; background: var(--primary); }
.girl { position: absolute; left: -6px; bottom: 26px; width: 172px; height: 172px; }
.girl img { position: relative; width: 100%; height: 100%; border-radius: 50%; border: 6px solid #fff; box-shadow: var(--shadow); object-fit: cover; }
.pulse { position: absolute; inset: 0; border-radius: 50%; background: rgba(139, 92, 246, .35); animation: pulse 2.8s ease-out infinite; }
@keyframes pulse { from { transform: scale(1); opacity: .7; } to { transform: scale(1.45); opacity: 0; } }
.chip { position: absolute; display: flex; align-items: center; gap: 8px; background: rgba(255,255,255,.92); backdrop-filter: blur(8px); border-radius: 999px; padding: 10px 16px; font-weight: 800; font-size: 14px; box-shadow: var(--shadow); white-space: nowrap; }
.chip-a { top: 50px; right: -4px; }
.chip-b { top: 44%; right: -16px; }
.chip-c { bottom: 18px; right: 30px; }
.chip-dot { width: 10px; height: 10px; border-radius: 50%; }
.chip-dot.period { background: var(--coral); box-shadow: 0 0 0 4px rgba(255,125,141,.2); }
.chip-dot.fertile { background: var(--mint); box-shadow: 0 0 0 4px rgba(57,198,138,.2); }
.chip-emoji { font-size: 16px; line-height: 1; }
.scroll-hint { position: absolute; left: 50%; bottom: 22px; width: 24px; height: 38px; margin-left: -12px; border-radius: 14px; border: 2px solid #C9B1FB; }
.scroll-hint span { position: absolute; top: 7px; left: 50%; width: 4px; height: 8px; margin-left: -2px; border-radius: 2px; background: var(--primary); animation: wheel 1.8s ease-in-out infinite; }
@keyframes wheel { 60% { transform: translateY(12px); opacity: 0; } 100% { opacity: 0; } }

/* Marquee */
.marquee { background: var(--plum); color: #fff; overflow: hidden; padding: 16px 0; }
.marquee-track { display: flex; gap: 48px; width: max-content; animation: marquee 30s linear infinite; font: 700 18px var(--head); }
.marquee-track span { display: inline-flex; align-items: center; gap: 48px; white-space: nowrap; }
.marquee-track span::after { content: "✦"; color: #B9A1F2; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* Features */
.features { padding: clamp(64px, 9vw, 110px) 0; background: var(--surface); }
.features h2 { max-width: 640px; margin-inline: auto; }
.grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; margin-top: 52px; }
.feat { position: relative; background: linear-gradient(var(--bg), var(--bg)) padding-box, linear-gradient(135deg, transparent, transparent) border-box; border: 2px solid transparent; border-radius: var(--radius); padding: 28px; transition: transform .35s cubic-bezier(.2,.8,.2,1), box-shadow .35s, background .35s; overflow: hidden; }
.feat::before { content: ""; position: absolute; width: 160px; height: 160px; right: -60px; top: -60px; border-radius: 50%; background: radial-gradient(circle, rgba(139,92,246,.18), transparent 70%); transition: transform .5s; }
.feat:hover { transform: translateY(-8px); box-shadow: var(--shadow); background: linear-gradient(#fff, #fff) padding-box, linear-gradient(135deg, #C9B1FB, #8B5CF6, #FF9DB0) border-box; }
.feat:hover::before { transform: scale(1.6); }
.feat-ic { position: relative; width: 56px; height: 56px; border-radius: 18px; display: grid; place-items: center; background: linear-gradient(135deg, #F1E9FF, #E2D4FF); color: var(--primary); margin-bottom: 18px; transition: transform .35s; }
.feat:hover .feat-ic { transform: rotate(-8deg) scale(1.08); }
.feat p { position: relative; color: var(--text2); margin: 8px 0 0; font-size: 16px; }
.feat h3 { position: relative; }

/* Inside: mockups one by one */
.shots { padding: clamp(64px, 9vw, 110px) 0; background: linear-gradient(180deg, var(--bg), #FFF4F7); overflow: hidden; }
.shot-row { display: grid; grid-template-columns: repeat(4, 1fr); gap: 26px; margin-top: 52px; align-items: end; }
.shot { margin: 0; text-align: center; }
.shot img { border-radius: 30px; box-shadow: var(--shadow); background: #fff; border: 8px solid #1B1130; transition: transform .4s cubic-bezier(.2,.8,.2,1); }
.shot:nth-child(odd) img { transform: translateY(18px); }
.shot:hover img { transform: translateY(-10px) scale(1.03); }
.shot figcaption { margin-top: 30px; font: 700 16px var(--head); color: var(--text2); }

/* Feel good */
.love { padding: clamp(64px, 9vw, 110px) 0; background: radial-gradient(700px 400px at 20% 50%, #F1E8FF, transparent 70%), var(--surface); }
.love-in { display: grid; grid-template-columns: .9fr 1.1fr; gap: 56px; align-items: center; }
.orbit { position: relative; width: min(440px, 86vw); aspect-ratio: 1; margin-inline: auto; }
.orbit .core { position: absolute; inset: 22%; width: 56%; height: 56%; border-radius: 50%; border: 8px solid #fff; box-shadow: var(--shadow); object-fit: cover; }
.orbit .sat { position: absolute; width: 25%; height: 25%; border-radius: 50%; border: 5px solid #fff; box-shadow: 0 12px 30px rgba(108,59,217,.18); }
.sat-1 { left: 2%; top: 8%; } .sat-2 { right: 0; top: 14%; } .sat-3 { right: 6%; bottom: 2%; } .sat-4 { left: 0; bottom: 10%; }
.heart { position: absolute; color: #FF8FA8; font-size: 26px; }
.h1 { left: 46%; top: 0; } .h2 { right: 2%; top: 52%; color: #B99BFF; font-size: 20px; } .h3 { left: 6%; top: 50%; font-size: 18px; }
.affirm { margin-top: 28px; display: inline-flex; align-items: center; gap: 12px; background: linear-gradient(135deg, #F6F0FF, #FFF0F5); border: 1px solid var(--line); border-radius: 20px; padding: 16px 22px; font: 600 18px var(--head); color: var(--ink); min-height: 64px; }
.affirm-ic { font-size: 22px; }

/* Privacy */
.privacy { position: relative; background: linear-gradient(135deg, #7B4BE3, #4A22A8); color: #fff; padding: clamp(64px, 9vw, 110px) 0; overflow: hidden; }
.privacy::before { content: ""; position: absolute; width: 520px; height: 520px; right: -160px; top: -160px; border-radius: 50%; background: radial-gradient(circle, rgba(255,255,255,.14), transparent 70%); }
.privacy-in { position: relative; display: grid; grid-template-columns: 1.1fr .9fr; gap: 48px; align-items: center; }
.shield { width: 72px; height: 72px; border-radius: 22px; display: grid; place-items: center; background: rgba(255,255,255,.14); border: 1px solid rgba(255,255,255,.25); margin-bottom: 20px; }
.link-light { display: inline-block; margin-top: 22px; color: #fff; font-weight: 800; }
.priv-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.priv-list li { background: rgba(255, 255, 255, .1); border: 1px solid rgba(255, 255, 255, .2); border-radius: 20px; padding: 20px 22px; display: grid; gap: 2px; backdrop-filter: blur(6px); transition: transform .3s, background .3s; }
.priv-list li:hover { transform: translateX(-6px); background: rgba(255,255,255,.16); }
.priv-list b { font-family: var(--head); font-size: 17px; }
.priv-list span { color: #E4DAFB; }

/* FAQ */
.faq { padding: clamp(64px, 9vw, 110px) 0; }
#faq-list { margin-top: 32px; display: grid; gap: 12px; }
details { background: var(--surface); border-radius: 20px; padding: 0 24px; box-shadow: 0 1px 0 var(--line); transition: box-shadow .3s; }
details[open] { box-shadow: var(--shadow); }
summary { cursor: pointer; list-style: none; font-weight: 800; padding: 22px 32px 22px 0; position: relative; }
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; position: absolute; right: 0; top: 16px; width: 30px; height: 30px; display: grid; place-items: center; border-radius: 50%; background: var(--primary-soft); color: var(--primary); font-size: 20px; transition: transform .3s, background .3s, color .3s; }
details[open] summary::after { transform: rotate(45deg); background: var(--primary); color: #fff; }
details p { margin: 0 0 22px; color: var(--text2); }

/* CTA band */
.cta-band { padding: 0 0 clamp(64px, 9vw, 110px); }
.cta-in { position: relative; display: flex; align-items: center; gap: 24px; background: linear-gradient(120deg, #9B6BFA, #6C3BD9, #8B5CF6); background-size: 200% 200%; animation: flow 10s ease infinite alternate; color: #fff; border-radius: 32px; padding: 36px; flex-wrap: wrap; overflow: hidden; }
.cta-in img { position: relative; width: 96px; height: 96px; border-radius: 50%; border: 4px solid rgba(255, 255, 255, .6); }
.cta-in div { position: relative; flex: 1; min-width: 220px; }
.cta-in p { margin: 6px 0 0; color: #EDE5FF; }
.cta-in .btn { position: relative; }
.cta-heart { position: absolute; color: rgba(255,255,255,.25); font-size: 40px; animation: drift 9s ease-in-out infinite; }
.ch1 { left: 30%; top: -10px; } .ch2 { right: 18%; bottom: -14px; font-size: 56px; animation-delay: -3s; } .ch3 { left: 60%; top: 30%; font-size: 24px; animation-delay: -6s; }
@keyframes drift { 50% { transform: translateY(-18px) rotate(12deg); } }

/* Footer */
.foot { background: var(--plum); color: #CFC3E8; padding: 56px 0 28px; font-size: 15px; }
.foot-in { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 32px; }
.foot-col { display: grid; gap: 8px; align-content: start; }
.foot-col b { color: #fff; font-family: var(--head); }
.foot a { color: #CFC3E8; text-decoration: none; }
.foot a:hover { color: #fff; text-decoration: underline; }
.disclaimer { max-width: 380px; margin: 16px 0 0; font-size: 14px; }
.copy { border-top: 1px solid rgba(255, 255, 255, .12); margin-top: 36px; padding-top: 20px; font-size: 14px; }

/* Content is never hidden by CSS: GSAP sets the start state itself, so the
   page stays readable if the scripts fail to load (D-098). */

/* Responsive */
@media (max-width: 920px) {
  .hero-in, .privacy-in, .love-in { grid-template-columns: 1fr; }
  .stage { min-height: 520px; }
  .grid { grid-template-columns: 1fr 1fr; }
  .shot-row { grid-template-columns: repeat(4, 220px); overflow-x: auto; scroll-snap-type: x mandatory; padding: 10px 4px 24px; }
  .shot { scroll-snap-align: center; }
  .foot-in { grid-template-columns: 1fr 1fr; }
  .ring-1 { width: 400px; height: 400px; } .ring-2 { width: 320px; height: 320px; }
}
@media (max-width: 640px) {
  body { font-size: 16px; }
  .nav-links { display: none; }
  .nav-actions .btn-sm { display: none; }
  .grid { grid-template-columns: 1fr; }
  .stage { min-height: 470px; }
  .girl { width: 120px; height: 120px; bottom: 6px; }
  .chip { font-size: 12.5px; padding: 8px 12px; }
  .chip-b { right: 0; } .chip-c { right: 6px; bottom: -6px; }
  .hero-ctas .btn { flex: 1 1 100%; }
  .foot-in { grid-template-columns: 1fr; }
  .cta-in { padding: 26px; text-align: center; justify-content: center; }
  .scroll-hint { display: none; }
  .affirm { font-size: 16px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
