/* ===== Tokens ===== */
:root {
  --purple: #4B2E83;
  --purple-hover: #5A389C;
  --lilac: #D5BFF5;
  --lavender: #CEC3ED;
  --dark: #1D1A22;
  --bg: #FBF9FE;
  --white: #FFFFFF;
  --muted: #5B5566;
  --line: #E4DAF5;
  --error: #B3261E;

  /* inside deep-purple sections */
  --on-purple-muted: rgba(255, 255, 255, 0.8);
  --purple-card: rgba(255, 255, 255, 0.08);
  --purple-line: rgba(213, 191, 245, 0.32);

  --shadow-soft: 0 24px 50px -28px rgba(75, 46, 131, 0.35);
  --radius-lg: 28px;
  --radius: 20px;
  --pad-x: 20px;
  --ease: cubic-bezier(.2, .7, .2, 1);
}

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

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; scroll-padding-top: 80px; overflow-x: hidden; overflow-x: clip; }

body {
  margin: 0;
  font-family: "Rubik", system-ui, -apple-system, "Segoe UI", Arial, sans-serif;
  font-weight: 400;
  font-size: 18px;
  line-height: 1.65;
  color: var(--dark);
  background: var(--bg);
  overflow-x: hidden;
  overflow-x: clip;
}

h1, h2, h3 { font-weight: 800; line-height: 1.15; margin: 0; letter-spacing: -0.015em; }
p { margin: 0; }
img { max-width: 100%; display: block; }
a { color: inherit; }

:focus-visible { outline: 3px solid var(--purple); outline-offset: 3px; }
.purple :focus-visible { outline-color: var(--lilac); }

.container { width: 100%; max-width: 1080px; margin: 0 auto; padding: 0 var(--pad-x); }
.narrow { max-width: 680px; }

section { padding: 88px 0; text-align: center; position: relative; }
.section-title { font-size: clamp(2rem, 8.4vw, 3.1rem); margin-bottom: 32px; }
.section-sub { font-size: 1.15rem; margin: -18px auto 44px; max-width: 520px; color: var(--muted); }
.purple .section-sub { color: var(--on-purple-muted); }

.visually-hidden {
  position: absolute; width: 1px; height: 1px; overflow: hidden;
  clip-path: inset(50%); white-space: nowrap;
}

/* Section backgrounds */
.light    { background: var(--bg); color: var(--dark); }
.white    { background: var(--white); color: var(--dark); }
.purple   { background: var(--purple); color: var(--white); }
.lilac    { background: var(--lilac); color: var(--dark); }
.lavender { background: var(--lavender); color: var(--dark); }

/* Accent words */
.hl { color: var(--purple); }
.purple .hl { color: var(--lilac); }

/* Instagram-style text sticker */
.sticker {
  display: inline-block;
  background: var(--dark);
  color: var(--lilac);
  font-weight: 800;
  font-size: 1.3rem;
  line-height: 1.4;
  padding: 14px 24px;
  border-radius: 14px;
  transform: rotate(-2deg);
}
.purple .sticker { background: var(--lilac); color: var(--dark); }

/* ===== Scroll progress + sticky header ===== */
.progress {
  position: fixed; inset: 0 0 auto 0; height: 3px; z-index: 60;
  background: var(--purple);
  transform-origin: right center;
  transform: scaleX(var(--p, 0));
}

.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 50;
  background: rgba(251, 249, 254, 0.9);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
  transform: translateY(-110%);
  transition: transform .45s var(--ease);
}
.site-header.show { transform: none; }
.site-header .container {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  height: 64px;
}
.site-header .logo { margin: 0; font-size: 1.35rem; }
.site-header .brand { display: flex; flex-direction: column; line-height: 1.15; }
.brand-tag { font-size: 0.78rem; font-weight: 400; color: var(--muted); letter-spacing: 0; white-space: nowrap; }
.header-cta {
  display: inline-flex; align-items: center; flex: none;
  min-height: 42px; padding: 8px 18px;
  border-radius: 999px;
  background: var(--purple); color: var(--white);
  font-weight: 700; font-size: 0.95rem;
  text-decoration: none;
}

/* ===== 1. Hero ===== */
.hero { padding: 56px 0 80px; }
.logo {
  display: inline-block;
  font-weight: 800;
  font-size: 1.6rem;
  letter-spacing: -0.02em;
  color: var(--purple);
  text-decoration: none;
  margin-bottom: 40px;
}
.pre-head {
  display: inline-flex; align-items: center; gap: 10px;
  background: var(--lilac);
  border-radius: 999px;
  padding: 8px 18px;
  font-size: 1rem;
  font-weight: 500;
  color: var(--purple);
  margin-bottom: 24px;
}
.pre-head .pulse {
  width: 8px; height: 8px; border-radius: 50%; background: var(--purple);
  animation: pulse 2.2s infinite;
}
@keyframes pulse {
  0%   { box-shadow: 0 0 0 0 rgba(75, 46, 131, .45); }
  70%  { box-shadow: 0 0 0 10px rgba(75, 46, 131, 0); }
  100% { box-shadow: 0 0 0 0 rgba(75, 46, 131, 0); }
}
.hero-kicker {
  font-size: 1.1rem; font-weight: 400; line-height: 1.55;
  color: var(--purple);
  max-width: 520px; margin: 0 auto 14px;
}
.hero h1 { font-size: clamp(2.5rem, 11.5vw, 4.4rem); line-height: 1.08; color: var(--purple); margin-bottom: 20px; }

.video {
  position: relative;
  aspect-ratio: 16 / 9;
  width: 100%;
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--lavender);
  margin-bottom: 28px;
  box-shadow: var(--shadow-soft);
}
.video iframe, .video video { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.video-placeholder {
  position: absolute; inset: 0;
  display: flex; flex-direction: column; gap: 12px; align-items: center; justify-content: center;
  color: var(--purple); font-size: 0.95rem; font-weight: 500;
}
.play {
  width: 68px; height: 68px; border-radius: 50%;
  background: var(--purple);
  display: flex; align-items: center; justify-content: center;
}
.play svg { width: 26px; height: 26px; fill: var(--white); margin-left: -4px; }

.hero-lead { font-size: 1.15rem; margin: 0 auto 12px; max-width: 560px; color: var(--muted); }
.hero-strong { font-size: 1.1rem; font-weight: 700; color: var(--dark); margin: 0 auto 32px; max-width: 560px; }

/* ===== Marquee band ===== */
.marquee {
  background: var(--lilac);
  color: var(--dark);
  overflow: hidden;
  padding: 16px 0;
  direction: ltr;
}
.marquee-track {
  display: flex; width: max-content;
  direction: ltr;
  animation: marquee 28s linear infinite;
}
.marquee-group { display: flex; align-items: center; }
.marquee-item {
  direction: rtl;
  font-weight: 800; font-size: 1.15rem; white-space: nowrap;
  padding: 0 22px;
  display: flex; align-items: center; gap: 44px;
}
.marquee-item::after {
  content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--purple);
}
@keyframes marquee {
  from { transform: translateX(-50%); }
  to   { transform: translateX(0); }
}

/* ===== Form ===== */
.form-card {
  position: relative;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 32px 20px 28px;
  text-align: right;
  box-shadow: var(--shadow-soft);
}
.form-card h2 {
  font-size: clamp(1.55rem, 6.6vw, 2rem);
  text-align: center;
  margin-bottom: 24px;
}

.field { margin-bottom: 14px; }
.field input,
.field textarea {
  width: 100%;
  min-height: 58px;
  padding: 14px 22px;
  font: inherit;
  font-size: 17px; /* >=16px prevents iOS zoom */
  color: var(--dark);
  background: var(--bg);
  border: 1.5px solid var(--line);
  border-radius: 999px;
  transition: border-color .2s, box-shadow .2s, background .2s;
}
.field textarea { border-radius: 24px; min-height: 104px; resize: vertical; }
.field input::placeholder,
.field textarea::placeholder { color: #8A8394; }
.field input:focus,
.field textarea:focus {
  outline: none;
  background: var(--white);
  border-color: var(--purple);
  box-shadow: 0 0 0 4px var(--lilac);
}
.field input[type="tel"] { direction: rtl; text-align: right; }

.consent {
  display: flex; gap: 12px; align-items: flex-start;
  margin: 8px 4px 0; cursor: pointer;
  font-size: 0.95rem; color: var(--muted);
}
.consent a { color: var(--purple); }
.consent input {
  flex: none; width: 24px; height: 24px; margin: 1px 0 0;
  accent-color: var(--purple); cursor: pointer;
}
.field-consent { margin-bottom: 22px; }
.field-consent:has(+ .field-consent) { margin-bottom: 10px; }

.is-invalid input, .is-invalid textarea { border-color: var(--error); }
.error { display: none; color: var(--error); font-size: 0.92rem; margin: 6px 22px 0; }
.field-consent .error { margin-right: 40px; }
.is-invalid .error { display: block; }

.hp { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }

.btn {
  position: relative;
  display: flex; align-items: center; justify-content: center; gap: 12px;
  width: 100%;
  min-height: 62px;
  padding: 14px 26px;
  font: inherit;
  font-size: 1.15rem;
  font-weight: 800;
  line-height: 1.3;
  color: var(--white);
  background: var(--purple);
  border: 0;
  border-radius: 999px;
  cursor: pointer;
  overflow: hidden;
  isolation: isolate;
  box-shadow: 0 14px 30px -12px rgba(75, 46, 131, 0.55);
  transition: background .2s, transform .15s, box-shadow .2s;
  text-decoration: none;
}
.btn::before { /* shine sweep */
  content: "";
  position: absolute; top: 0; bottom: 0; width: 40%;
  right: -60%;
  background: rgba(255, 255, 255, 0.16);
  transform: skewX(-20deg);
  z-index: -1;
  animation: shine 4.5s ease-in-out infinite;
}
@keyframes shine {
  0%, 60% { right: -60%; }
  100%    { right: 130%; }
}
.btn svg { flex: none; width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; transition: transform .2s; }
.btn:hover { background: var(--purple-hover); box-shadow: 0 18px 34px -12px rgba(75, 46, 131, 0.6); }
.btn:hover svg { transform: translateX(-4px); }
.btn:active { transform: scale(0.98); }
.btn[disabled] { opacity: .75; cursor: wait; }
/* On deep-purple sections the button flips to lilac so it stays visible */
.purple .btn { background: var(--lilac); color: var(--purple); opacity: 1; box-shadow: 0 14px 30px -12px rgba(0, 0, 0, 0.35); }
.purple .btn:hover { background: var(--white); }
.purple .btn::before { background: rgba(255, 255, 255, 0.45); }

.form-status { margin-top: 12px; color: var(--error); font-size: 0.95rem; text-align: center; }
.form-success {
  font-size: 1.2rem; font-weight: 500;
  text-align: center;
  background: var(--lilac);
  color: var(--dark);
  border-radius: var(--radius);
  padding: 28px 20px;
}
.form-success p + p { margin-top: 12px; font-size: 1.05rem; font-weight: 400; }
.form-success a { color: var(--purple); font-weight: 700; }

/* ===== 2. Pain list ===== */
.pain-list {
  list-style: none; margin: 0 auto; padding: 0;
  max-width: 640px;
  display: grid; gap: 12px;
  text-align: right;
}
.pain-list li {
  display: flex; gap: 16px; align-items: flex-start;
  padding: 22px 22px;
  font-size: 1.12rem;
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}
.dot {
  flex: none; width: 10px; height: 10px; border-radius: 50%;
  background: var(--purple);
  margin-top: 11px;
}

/* ===== 3. Not knowing (scroll-lit words) ===== */
.truth .scrub { font-size: clamp(1.35rem, 5.6vw, 1.85rem); font-weight: 700; line-height: 1.5; margin-bottom: 40px; }
.scrub .w { opacity: .25; transition: opacity .25s; }
.scrub .w.on { opacity: 1; }

/* ===== 4. About ===== */
.about { display: grid; gap: 44px; align-items: center; }
.about-text p { margin-bottom: 18px; font-size: 1.1rem; }
.about-text p:last-child { margin-bottom: 0; }
.about-text strong { font-weight: 800; }

.photo {
  position: relative;
  width: min(360px, 86%);
  margin: 0 auto;
}
.photo::before {
  content: "";
  position: absolute; inset: 0;
  border-radius: var(--radius-lg);
  background: var(--lilac);
  transform: translate(-16px, 16px) rotate(-3deg);
}
.photo-frame {
  position: relative;
  aspect-ratio: 4 / 5;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--lavender);
}
.photo-frame img {
  width: 100%; height: 112%;
  object-fit: cover; object-position: center 25%;
  transform: translateY(var(--py, 0px));
  will-change: transform;
}

/* ===== 5. Money Flow timeline (purple section) ===== */
.timeline {
  position: relative;
  max-width: 720px; margin: 0 auto;
  display: grid; gap: 22px;
  text-align: right;
}
.tl-track {
  position: absolute;
  top: 32px; bottom: 32px;
  right: 31px; width: 2px;
  background: rgba(213, 191, 245, 0.25);
  border-radius: 2px;
}
.tl-fill {
  position: absolute; inset: 0 0 auto 0;
  height: calc(var(--tl, 0) * 100%);
  background: var(--lilac);
  border-radius: 2px;
}
.step { display: grid; grid-template-columns: 64px 1fr; gap: 18px; align-items: start; position: relative; }
.step-num {
  width: 64px; height: 64px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.35rem; font-weight: 800;
  background: var(--purple);
  color: var(--lilac);
  border: 2px solid rgba(213, 191, 245, 0.45);
  transition: background .4s, color .4s, border-color .4s, transform .4s var(--ease);
}
.step.active .step-num { background: var(--lilac); color: var(--purple); border-color: var(--lilac); transform: scale(1.06); }
.step-body {
  background: var(--purple-card);
  border: 1px solid var(--purple-line);
  border-radius: var(--radius);
  padding: 22px 22px;
}
.step-meeting { font-size: 0.9rem; font-weight: 500; color: var(--lilac); letter-spacing: .02em; }
.step h3 { font-size: 1.45rem; margin: 4px 0 8px; }
.step p { color: var(--on-purple-muted); }
.note {
  display: inline-block;
  margin-top: 44px;
  font-size: 1.12rem;
  font-weight: 500;
  border: 1px solid var(--purple-line);
  border-radius: 999px;
  padding: 12px 22px;
  color: var(--lilac);
}

/* ===== 6. Includes ===== */
.includes { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.includes li {
  display: flex; align-items: center; gap: 18px;
  text-align: right;
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 20px 20px;
  font-size: 1.15rem; font-weight: 700;
  transition: transform .3s var(--ease), box-shadow .3s;
}
.includes li:hover { transform: translateY(-3px); box-shadow: var(--shadow-soft); }
.icon {
  flex: none; width: 60px; height: 60px; border-radius: 18px;
  background: var(--lilac);
  display: flex; align-items: center; justify-content: center;
}
.icon svg { width: 30px; height: 30px; stroke: var(--purple); fill: none; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }

/* ===== 7. Testimonials (auto-moving strip) ===== */
.slides {
  display: flex; align-items: flex-start; gap: 16px;
  overflow-x: auto;
  overscroll-behavior-x: contain;
  margin: 0 calc(var(--pad-x) * -1);
  padding: 10px var(--pad-x) 26px;
  scrollbar-width: none;
  cursor: grab;
}
.slides::-webkit-scrollbar { display: none; }
.slide {
  flex: 0 0 min(300px, 76vw);
  margin: 0;
  display: flex; flex-direction: column; align-items: flex-start; gap: 10px;
}
.slide-quote {
  width: 100%;
  font-size: 1.12rem; font-weight: 700; line-height: 1.4;
  color: var(--purple);
  text-align: right;
  overflow-wrap: break-word;
  margin-bottom: 4px;
}
/* each client message is its own white bubble */
.slide img {
  width: 100%; height: auto;
  border-radius: 20px;
  border-start-start-radius: 6px;
  background: var(--white);
  box-shadow: 0 16px 30px -18px rgba(75, 46, 131, 0.45);
  -webkit-user-drag: none;
  user-select: none;
}

/* ===== 8. Fit ===== */
.fit { display: grid; gap: 16px; text-align: right; }
.fit-card { border-radius: var(--radius-lg); padding: 32px 24px; }
.fit-card h3 { font-size: 1.6rem; margin-bottom: 22px; }
.fit-yes { background: var(--lilac); }
.fit-no  { background: var(--white); border: 1.5px solid var(--line); }
.fit-card ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 16px; }
.fit-card li { display: flex; gap: 12px; align-items: flex-start; font-size: 1.1rem; }
.mark {
  flex: none; width: 30px; height: 30px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center; margin-top: 1px;
}
.mark svg { width: 16px; height: 16px; fill: none; stroke-width: 2.6; stroke-linecap: round; stroke-linejoin: round; }
.fit-yes .mark { background: var(--purple); }
.fit-yes .mark svg { stroke: var(--white); }
.fit-no .mark { background: var(--lavender); }
.fit-no .mark svg { stroke: var(--purple); }

/* ===== 9. Intro call (purple section) ===== */
.call-lead { color: var(--lilac); font-size: 1.3rem; font-weight: 700; margin: -18px 0 34px; }
.call-steps { list-style: none; margin: 0 0 40px; padding: 0; display: grid; gap: 12px; text-align: right; }
.call-steps li {
  display: flex; align-items: center; gap: 16px;
  background: var(--purple-card);
  border: 1px solid var(--purple-line);
  border-radius: var(--radius);
  padding: 18px 18px;
  font-size: 1.12rem;
}
.call-steps .num {
  flex: none; width: 46px; height: 46px; border-radius: 50%;
  background: var(--lilac); color: var(--purple);
  font-weight: 800; font-size: 1.2rem;
  display: flex; align-items: center; justify-content: center;
}
.call-cta { margin-top: 44px; }

/* ===== 10. FAQ ===== */
.faq { display: grid; gap: 12px; text-align: right; }
.faq details {
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  transition: box-shadow .3s, border-color .3s, background .3s;
}
.faq details[open] { background: var(--white); border-color: var(--purple); box-shadow: var(--shadow-soft); }
.faq summary {
  list-style: none;
  cursor: pointer;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  min-height: 64px;
  padding: 16px 22px;
  font-weight: 700;
  font-size: 1.1rem;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+";
  flex: none;
  width: 34px; height: 34px; border-radius: 50%;
  background: var(--lilac); color: var(--purple);
  font-weight: 800; font-size: 1.35rem; line-height: 34px; text-align: center;
  transition: transform .3s var(--ease), background .3s, color .3s;
}
.faq details[open] summary::after { transform: rotate(45deg); background: var(--purple); color: var(--white); }
.faq details p { padding: 0 22px 22px; color: var(--muted); animation: faqIn .35s var(--ease); }
@keyframes faqIn { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: none; } }

/* ===== 12. Footer ===== */
.footer {
  background: var(--purple); color: var(--on-purple-muted);
  padding: 32px 0; text-align: center; font-size: 0.95rem;
}
.footer a { color: var(--lilac); }
.footer .sep { margin: 0 8px; opacity: .6; }

/* ===== Privacy page ===== */
.page-header { padding: 24px 0; background: var(--bg); text-align: center; border-bottom: 1px solid var(--line); }
.page-header .logo { margin-bottom: 0; }
.legal { padding: 48px 0 72px; min-height: 60vh; background: var(--bg); }
.legal h1 { font-size: clamp(1.8rem, 6vw, 2.6rem); margin-bottom: 8px; }
.legal .updated { color: var(--muted); font-size: 0.95rem; margin-bottom: 28px; }
.legal h2 { font-size: 1.3rem; margin: 36px 0 12px; color: var(--purple); }
.legal p { margin-bottom: 12px; }
.legal ul { margin: 0 0 12px; padding-right: 22px; }
.legal li { margin-bottom: 6px; }
.legal li::marker { color: var(--purple); }
.legal li ul { margin: 6px 0 0; }
.legal a { color: var(--purple); }

/* ===== Cookie consent ===== */
.cookie-banner {
  position: fixed; z-index: 70;
  inset: auto 12px 12px 12px;
  max-width: 560px; margin: 0 auto;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: 0 20px 50px -20px rgba(29, 26, 34, 0.45);
  padding: 20px 20px 18px;
  font-size: 0.98rem;
  text-align: right;
}
.cookie-banner[hidden] { display: none; }
.cookie-banner p { margin-bottom: 14px; color: var(--dark); }
.cookie-banner a { color: var(--purple); }
.cookie-actions { display: flex; gap: 10px; }
.cookie-actions button {
  flex: 1;
  min-height: 48px;
  padding: 10px 14px;
  font: inherit; font-weight: 700; font-size: 0.98rem;
  border-radius: 999px;
  cursor: pointer;
  border: 1.5px solid var(--purple);
}
.cookie-accept { background: var(--purple); color: var(--white); }
.cookie-essential { background: var(--white); color: var(--purple); }
.footer .link-btn {
  background: none; border: 0; padding: 0;
  font: inherit; color: var(--lilac); text-decoration: underline; cursor: pointer;
}

/* ===== Scroll reveal ===== */
.js .reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity .8s var(--ease), transform .8s var(--ease);
  transition-delay: var(--d, 0s);
}
.js .reveal.from-right { transform: translateX(40px); }
.js .reveal.from-left  { transform: translateX(-40px); }
.js .reveal.pop { transform: translateY(24px) scale(.92); }
.js .reveal.sticker { transform: rotate(-12deg) scale(.6); transition-timing-function: cubic-bezier(.34, 1.56, .64, 1); }
.js .reveal.in { opacity: 1; transform: none; }
.js .reveal.sticker.in { transform: rotate(-2deg); }

/* ===== Larger screens ===== */
@media (min-width: 640px) {
  :root { --pad-x: 32px; }
  .includes { grid-template-columns: repeat(2, 1fr); }
  .fit { grid-template-columns: repeat(2, 1fr); }
  .form-card { padding: 40px 36px 34px; }
}

@media (min-width: 900px) {
  section { padding: 120px 0; }
  .hero { padding: 88px 0 110px; }
  .about { grid-template-columns: 5fr 7fr; gap: 72px; text-align: right; }
  .photo { width: 100%; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .js .reveal { opacity: 1; transform: none; }
  .scrub .w { opacity: 1; }
  .photo-frame img { transform: none; }
}
