/* ============================================================
   BOOMieY marketing site — custom styles
   Solid BOOMieY purple, no gradients. Light scheme locked in
   so the browser does not force-dark-mode it.
   ============================================================ */

:root {
  --purple: #8233FF;
  --purple-deep: #6E1FE0;
  --ink:    #17151F;
  --soft:   #605C70;
  --line:   #EAE8F0;
  color-scheme: light;
}
html { color-scheme: light; }

* { -webkit-tap-highlight-color: transparent; }

html { scroll-behavior: smooth; }
body { overflow-x: hidden; background: #FFFFFF; color: var(--ink); }

section[id] { scroll-margin-top: 84px; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}

/* ── Language toggle ─────────────────────────────────────────── */
html[data-lang="en"] [data-l="bm"] { display: none !important; }
html[data-lang="bm"] [data-l="en"] { display: none !important; }

/* ── Brand mark (the welcome-logo, used as a colourable mask) ─ */
.brand-mark {
  display: inline-block;
  width: 2.25rem;
  height: 2.25rem;
  vertical-align: middle;
  background-color: currentColor;
  -webkit-mask: url('./welcome-logo.png') center / contain no-repeat;
          mask: url('./welcome-logo.png') center / contain no-repeat;
}

/* ── "Gradient text" helper — now solid purple ───────────────── */
.gtext { color: var(--purple); }

/* ── Nav (always white text on purple) ───────────────────────── */
#nav { transition: background 0.25s ease; }
.brand-text { color: #fff; }
.nav-link {
  font-size: 0.875rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.85);
  transition: color 0.15s ease;
}
.nav-link:hover { color: #fff; }
.nav-scrolled {
  background: var(--purple);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 6px 18px -10px rgba(130, 51, 255, 0.5);
}
.lang-wrap {
  border-color: rgba(255, 255, 255, 0.28) !important;
  background: rgba(255, 255, 255, 0.12) !important;
}
.lang-pill {
  border-radius: 9999px;
  padding: 0.3rem 0.7rem;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.03em;
  color: rgba(255, 255, 255, 0.7);
  transition: color 0.15s ease, background 0.15s ease;
}
.lang-pill.lang-on { background: #fff; color: var(--purple); }
.menu-btn {
  border-color: rgba(255, 255, 255, 0.28) !important;
  background: rgba(255, 255, 255, 0.12) !important;
  color: #fff;
}

/* ── Buttons ────────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-weight: 700;
  border-radius: 9999px;
  transition: transform 0.15s ease, box-shadow 0.25s ease, background 0.2s ease;
  white-space: nowrap;
}
.btn:active { transform: translateY(1px); }
.btn-primary {
  background: var(--purple);
  color: #fff;
  box-shadow: 0 10px 26px -10px rgba(130, 51, 255, 0.55);
}
.btn-primary:hover { background: var(--purple-deep); box-shadow: 0 14px 34px -10px rgba(130, 51, 255, 0.6); }
.btn-ghost {
  background: #fff;
  color: var(--ink);
  border: 1px solid #E2DFEA;
}
.btn-ghost:hover { background: #F6F5FB; }

/* ── Scroll-reveal ──────────────────────────────────────────── */
.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1 !important; transform: none !important; }
}

/* ── Eyebrow label ──────────────────────────────────────────── */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--purple);
}
.eyebrow::before {
  content: "";
  width: 1.6rem;
  height: 2px;
  border-radius: 2px;
  background: var(--purple);
}

/* ── Cards ──────────────────────────────────────────────────── */
.card {
  background: #FFFFFF;
  color: var(--ink);
  border: 1px solid var(--line);
  border-radius: 18px;
  box-shadow: 0 1px 2px rgba(20, 16, 40, 0.04), 0 10px 30px -18px rgba(20, 16, 40, 0.18);
}
.card-pro {
  background: #F4EEFF;
  color: var(--ink);
  border: 1px solid rgba(130, 51, 255, 0.4);
  border-radius: 18px;
  box-shadow: 0 1px 2px rgba(20, 16, 40, 0.04), 0 18px 44px -22px rgba(130, 51, 255, 0.4);
}

/* ── What is BOOMieY — numbered pillars ─────────────────────── */
.pillar { border-top: 1px solid var(--line); padding-top: 1.4rem; }
.pillar-num {
  font-family: 'Fraunces', Georgia, serif;
  font-size: 2.6rem;
  font-weight: 500;
  line-height: 1;
  color: var(--purple);
}
.pillar-title { margin-top: 0.7rem; font-size: 1.2rem; font-weight: 800; letter-spacing: -0.01em; color: var(--ink); }
.pillar-body  { margin-top: 0.5rem; font-size: 0.95rem; line-height: 1.6; color: var(--soft); }

/* ── Founder's essay (the WHY) ──────────────────────────────── */
.essay { font-family: 'Fraunces', Georgia, serif; }
.essay p {
  font-size: 1.2rem;
  line-height: 1.74;
  color: #2E2A3A;
  margin-bottom: 1.35rem;
}
.essay p.lead::first-letter {
  float: left;
  font-size: 4.1rem;
  line-height: 0.78;
  font-weight: 600;
  margin: 0.32rem 0.6rem 0 0;
  color: var(--purple);
}
.essay-quote {
  margin: 2rem 0;
  padding-left: 1.4rem;
  border-left: 3px solid var(--purple);
  font-size: 1.6rem;
  line-height: 1.4;
  font-weight: 500;
  font-style: italic;
  color: var(--ink);
}
.sign-name {
  font-family: 'Caveat', cursive;
  font-size: 2rem;
  line-height: 1;
  color: var(--ink);
}

/* ── What it solves ─────────────────────────────────────────── */
.pain-lead {
  font-size: 1.6rem;
  line-height: 1.4;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--ink);
}
.pain-row { border-top: 1px solid var(--line); padding-top: 1rem; }
.pain-dot {
  display: inline-grid;
  place-items: center;
  width: 1.6rem; height: 1.6rem;
  flex-shrink: 0;
  border-radius: 8px;
  color: var(--purple);
  background: rgba(130, 51, 255, 0.1);
}
.pain-title { font-size: 1rem; font-weight: 800; color: var(--ink); }
.pain-body  { margin-top: 0.2rem; font-size: 0.9rem; line-height: 1.55; color: var(--soft); }

/* ── How it helps — benefit list ────────────────────────────── */
.benefit { display: flex; gap: 0.95rem; align-items: flex-start; }
.benefit-check {
  flex-shrink: 0;
  display: grid; place-items: center;
  width: 2rem; height: 2rem;
  border-radius: 9px;
  color: #fff;
  background: var(--purple);
}
.benefit-title { font-size: 1.04rem; font-weight: 800; letter-spacing: -0.01em; color: var(--ink); }
.benefit-body  { margin-top: 0.3rem; font-size: 0.92rem; line-height: 1.6; color: var(--soft); }

/* ── Circle spotlight — orbit visual ────────────────────────── */
.orbit { position: relative; width: 100%; max-width: 22rem; aspect-ratio: 1; margin: 0 auto; }
.orbit-ring {
  position: absolute; inset: 0;
  border-radius: 9999px;
  border: 1.5px dashed rgba(130, 51, 255, 0.28);
}
.orbit-ring.r2 { inset: 17%; border-color: rgba(130, 51, 255, 0.18); }
.orbit-spin { animation: orbit-rotate 40s linear infinite; }
@keyframes orbit-rotate { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) { .orbit-spin { animation: none; } }
.orbit-core {
  position: absolute; top: 50%; left: 50%;
  width: 31%; height: 31%;
  transform: translate(-50%, -50%);
  display: grid; place-items: center;
  border-radius: 9999px;
  color: #fff; font-weight: 800; font-size: 1.5rem;
  background: var(--purple);
  box-shadow: 0 14px 34px -10px rgba(130, 51, 255, 0.55);
}
.orbit-dot {
  position: absolute;
  width: 2.6rem; height: 2.6rem;
  margin: -1.3rem;
  display: grid; place-items: center;
  border-radius: 9999px;
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: 0 6px 16px -8px rgba(20, 16, 40, 0.3);
}

/* ── Compact "what's included" items ────────────────────────── */
.mini-feat {
  display: flex;
  gap: 0.85rem;
  align-items: flex-start;
  background: #FFFFFF;
  color: var(--ink);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 1.05rem 1.1rem;
}
.mini-ico {
  flex-shrink: 0;
  font-size: 1.5rem;
  line-height: 1;
  color: var(--purple);
}
.mini-title { font-size: 0.95rem; font-weight: 800; letter-spacing: -0.01em; color: var(--ink); }
.mini-body  { margin-top: 0.15rem; font-size: 0.82rem; line-height: 1.5; color: var(--soft); }

/* ── How-it-works steps ─────────────────────────────────────── */
.step-num {
  display: grid; place-items: center;
  width: 2.6rem; height: 2.6rem;
  border-radius: 12px;
  font-weight: 800; font-size: 1.05rem;
  color: #fff;
  background: var(--purple);
}
.step-title { margin-top: 1rem; font-size: 1.1rem; font-weight: 800; letter-spacing: -0.01em; color: var(--ink); }
.step-body  { margin-top: 0.5rem; font-size: 0.92rem; line-height: 1.6; color: var(--soft); }

/* ── Plan lists ─────────────────────────────────────────────── */
.plan-list { display: flex; flex-direction: column; gap: 0.65rem; }
.plan-list li {
  position: relative;
  padding-left: 1.6rem;
  font-size: 0.9rem;
  line-height: 1.5;
  color: var(--ink);
}
.plan-list li::before {
  content: "";
  position: absolute;
  left: 0; top: 0.12rem;
  width: 1.1rem; height: 1.1rem;
  border-radius: 9999px;
  background: var(--purple);
  -webkit-mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'><path fill='black' d='M9 16.2l-3.5-3.5L4 14.2 9 19.2 20 8.2l-1.4-1.4z'/></svg>") center / 0.82rem no-repeat;
          mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'><path fill='black' d='M9 16.2l-3.5-3.5L4 14.2 9 19.2 20 8.2l-1.4-1.4z'/></svg>") center / 0.82rem no-repeat;
}

/* ── FAQ accordion (native <details>) ───────────────────────── */
details.faq {
  background: #FFFFFF;
  color: var(--ink);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 0 1.25rem;
}
details.faq summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.15rem 0;
  font-weight: 700;
  font-size: 0.98rem;
  color: var(--ink);
}
details.faq summary::-webkit-details-marker { display: none; }
.faq-plus {
  flex-shrink: 0;
  font-size: 1.4rem;
  line-height: 1;
  color: var(--purple);
  transition: transform 0.2s ease;
}
details.faq[open] .faq-plus { transform: rotate(45deg); }
details.faq p {
  padding: 0 0 1.2rem;
  font-size: 0.92rem;
  line-height: 1.65;
  color: var(--soft);
}

/* ── CTA band ───────────────────────────────────────────────── */
.cta-band { background: var(--purple); color: #fff; }
.cta-band h2, .cta-band p, .cta-band a { color: #fff; }

/* ── Store buttons ──────────────────────────────────────────── */
.store-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  width: 100%;
  justify-content: center;
  padding: 0.7rem 1.4rem;
  border-radius: 14px;
  background: #17151F;
  color: #fff;
  font-weight: 800;
  font-size: 1rem;
  transition: transform 0.15s ease, opacity 0.2s ease;
}
@media (min-width: 640px) { .store-btn { width: auto; } }
.store-btn:hover { opacity: 0.9; }
.store-btn:active { transform: translateY(1px); }
.store-btn span { display: flex; flex-direction: column; line-height: 1.15; text-align: left; }
.store-btn small { font-size: 0.62rem; font-weight: 600; opacity: 0.65; }

/* ── Footer ─────────────────────────────────────────────────── */
footer { background: #FFFFFF; color: var(--ink); }
.foot-head {
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: #9D99A8;
  margin-bottom: 0.35rem;
}
.foot-link {
  font-size: 0.88rem;
  color: var(--soft);
  transition: color 0.15s ease;
}
.foot-link:hover { color: var(--ink); }

/* ── Video section ──────────────────────────────────────────── */
.video-frame {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  border-radius: 22px;
  overflow: hidden;
  border: 1px solid var(--line);
  background: #000;
  box-shadow: 0 30px 60px -30px rgba(20, 16, 40, 0.4);
}
.video-placeholder {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  border-radius: 22px;
  border: 1px solid rgba(130, 51, 255, 0.18);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1.1rem;
  background: #F4EEFF;
  box-shadow: 0 30px 60px -30px rgba(130, 51, 255, 0.35);
}
.video-play {
  position: relative;
  display: grid;
  place-items: center;
  width: 5rem;
  height: 5rem;
  padding-left: 0.25rem;
  border-radius: 9999px;
  color: #fff;
  background: var(--purple);
  box-shadow: 0 18px 40px -12px rgba(130, 51, 255, 0.55);
}
.video-play::before {
  content: "";
  position: absolute;
  inset: -0.6rem;
  border-radius: 9999px;
  border: 2px solid rgba(130, 51, 255, 0.3);
  animation: video-pulse 2.4s ease-out infinite;
}
@keyframes video-pulse {
  0%   { transform: scale(0.9);  opacity: 0.7; }
  100% { transform: scale(1.35); opacity: 0; }
}
@media (prefers-reduced-motion: reduce) {
  .video-play::before { animation: none; }
}
.video-label {
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--soft);
}

/* ── Long-form article (legal pages) ────────────────────────── */
.article p {
  font-size: 1rem;
  line-height: 1.75;
  color: #3F3B4D;
  margin-bottom: 1.1rem;
}
.article p em { font-style: normal; font-weight: 700; color: var(--ink); }
