/* ==========================================================================
   PERFORM — rounded landing theme
   Loads after perform.css + home.css and keeps the soft geometry and
   motion layer while using Perform's navy and electric-blue palette.
   ========================================================================== */

:root {
  /* -------- token overrides (perform.css reads these everywhere) -------- */
  --ink:       #08182f;
  --navy:      #0e2f5c;
  --navy-700:  #15396e;
  --navy-900:  #0a2347;
  --blue:      #1f7ce8;
  --blue-300:  #5ea3f2;
  --paper:     #eceff5;
  --surface:   #ffffff;
  --steel:     #5a6b86;
  --mist:      #aab6cb;
  --line:      #d9dfea;
  --line-d:    rgba(255, 255, 255, 0.14);

  /* -------- rounded-theme tokens --------------------------------------- */
  --rose:        #1f7ce8;
  --rose-soft:   #e7eefb;
  --brand-blue:  #1f7ce8;
  --brand-blue-soft: #e7eefb;
  --attention:   #ffd447;
  --attention-hover: #fff0a6;
  --grad:        linear-gradient(116deg, #15396e 0%, #1f7ce8 52%, #5ea3f2 100%);
  --r-md:  18px;
  --r-lg:  30px;
  --r-xl:  56px;
  --hero-round: clamp(72px, 13vw, 250px);
  /* Alive's motion identity, mapped to CSS */
  --ease-canvas: cubic-bezier(0.1, 0.9, 0.15, 1);
  --ease-out1:   cubic-bezier(0.09, 0.76, 0.21, 1);
  --ease-pop:    cubic-bezier(0.24, 1.24, 0.43, 1.01);
}

/* ------------------------------------------------------------------------
   Soft geometry: replace chamfer clip-paths with organic radii.
   ------------------------------------------------------------------------ */
.btn,
.btn::before { border-radius: 999px; }
.btn--primary { background: var(--grad); }
.btn--primary::before { background: var(--ink); }
.btn--attention {
  background: var(--attention);
  color: var(--ink);
  box-shadow: 0 12px 26px rgba(255, 212, 71, 0.28);
}
.btn--attention::before { background: var(--attention-hover); }
.btn--attention:hover { color: var(--ink); }
.btn--ghost { box-shadow: inset 0 0 0 1.6px rgba(255, 255, 255, 0.42); }

.language-toggle,
.store-btn,
.hero-tag,
.transformations-nav,
.appshow__toggle {
  clip-path: none;
  border-radius: 999px;
}
.program,
.feature,
.transformation-card,
.stat-card,
.cta-card {
  clip-path: none;
  border-radius: var(--r-lg);
}

/* header: floating white pill that starts past the logo zone (the logo
   floats over the page, so perform.js's white/dark logo swap keeps working) */
.site-header::before {
  display: none;
}
html[dir="rtl"] .site-header::before {
  display: none;
}
.nav-cluster {
  display: flex;
  align-items: center;
  gap: clamp(1.35rem, 3vw, 2.6rem);
  width: fit-content;
  min-height: 60px;
  margin-inline-start: auto;
  padding: 0.5rem clamp(0.75rem, 1.7vw, 1.2rem);
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 999px;
  transition: filter 0.3s var(--ease);
}
.site-header.is-stuck .nav-cluster {
  filter: drop-shadow(0 12px 22px rgba(8, 24, 47, 0.16));
}

/* eyebrow keeps the slash tick, recoloured by the token change; give the
   tick a soft end so it reads rose-petal rather than razor */
.eyebrow::before { border-radius: 2px; }
.slashes i { border-radius: 2px; }

/* ------------------------------------------------------------------------
   Hero — navy scrim over the battle-ropes video, one giant rounded
   corner revealing the paper surface below. Diagonal wedge retired.
   ------------------------------------------------------------------------ */
.hero {
  background:
    radial-gradient(110% 80% at 88% -10%, var(--navy-700), transparent 62%),
    linear-gradient(180deg, var(--navy) 0%, var(--navy-900) 100%);
  border-radius: 0 0 34px var(--hero-round);
  overflow: hidden;
}
html[dir="rtl"] .hero { border-radius: 0 0 var(--hero-round) 34px; }
.hero::after { display: none; }

.hero-scrim,
html[dir="rtl"] .hero-scrim {
  background:
    linear-gradient(
      105deg,
      rgba(8, 24, 47, 0.9) 0%,
      rgba(14, 47, 92, 0.74) 34%,
      rgba(21, 57, 110, 0.42) 66%,
      rgba(31, 124, 232, 0.16) 100%
    ),
    linear-gradient(0deg, rgba(8, 24, 47, 0.52) 0%, rgba(8, 24, 47, 0) 30%);
}
html[dir="rtl"] .hero-scrim {
  background:
    linear-gradient(
      255deg,
      rgba(8, 24, 47, 0.9) 0%,
      rgba(14, 47, 92, 0.74) 34%,
      rgba(21, 57, 110, 0.42) 66%,
      rgba(31, 124, 232, 0.16) 100%
    ),
    linear-gradient(0deg, rgba(8, 24, 47, 0.52) 0%, rgba(8, 24, 47, 0) 30%);
}

.hero .lead { color: #c6d2e6; }
.hero-cred { color: var(--mist); }

/* trust chips under the hero CTAs — Anatoly's instant-answers row */
.hero-chips {
  display: flex; flex-wrap: wrap; gap: 0.55rem;
  margin-top: 1.5rem; padding: 0;
}
.hero-chips li {
  display: inline-flex; align-items: center; gap: 0.45rem;
  padding: 0.5rem 0.95rem;
  font-size: 0.78rem; font-weight: 600; color: #e8f1fc;
  background: rgba(255, 255, 255, 0.09);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 999px;
  backdrop-filter: blur(6px);
}
.hero-chips li::before {
  content: ""; width: 0.7rem; height: 0.38rem; flex: none;
  background: var(--grad); border-radius: 2px;
  transform: skewX(var(--skew));
}

/* ------------------------------------------------------------------------
   Ticker — Perform blue gradient ribbon
   ------------------------------------------------------------------------ */
.ticker {
  background: var(--grad);
  border-block: 0;
}
.ticker__row span { color: #fff; }
.ticker__row span::after {
  background: rgba(255, 255, 255, 0.85);
  border-radius: 2px;
}

/* ------------------------------------------------------------------------
   Duo — "Made for her. Built for all." Asymmetric 7/5 pair.
   ------------------------------------------------------------------------ */
.duo-grid {
  display: grid; grid-template-columns: repeat(12, 1fr);
  gap: 1.5rem; margin-top: clamp(2.4rem, 5vw, 4rem);
}
.duo-card {
  position: relative; overflow: hidden; display: flex; flex-direction: column;
  border-radius: var(--r-xl);
  min-height: clamp(430px, 46vw, 560px);
  color: #fff;
  transition: transform 0.5s var(--ease-pop), filter 0.5s var(--ease-canvas);
  filter: drop-shadow(0 24px 28px rgba(8, 24, 47, 0.16));
}
.duo-card:hover { transform: translateY(-8px); }
.duo-card--her { grid-column: span 7; }
.duo-card--him { grid-column: span 5; }
@media (min-width: 921px) { .duo-card--him { margin-top: 3.4rem; } }
.duo-card__media,
.duo-card__media img {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; object-position: center 30%;
}
.duo-card--him .duo-card__media img { object-position: center 88%; }
.duo-card__media::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(8deg, rgba(8, 24, 47, 0.9) 8%, rgba(8, 24, 47, 0.42) 46%, rgba(8, 24, 47, 0.05) 78%);
}
.duo-card__media img { transition: transform 1s var(--ease-pop); }
.duo-card:hover .duo-card__media img { transform: scale(1.07); }
.duo-card__body {
  position: relative; z-index: 1; margin-top: auto;
  display: flex; flex-direction: column; gap: 0.65rem;
  padding: clamp(1.5rem, 2.6vw, 2.4rem);
}
.duo-card__tag {
  display: inline-flex; width: fit-content;
  padding: 0.4rem 0.95rem; border-radius: 999px;
  font-size: 0.72rem; font-weight: 800; letter-spacing: 0.14em; text-transform: uppercase;
  background: rgba(255, 255, 255, 0.14); border: 1px solid rgba(255, 255, 255, 0.28);
  backdrop-filter: blur(6px);
}
.duo-card--her .duo-card__tag { background: var(--grad); border-color: transparent; }
.duo-card h3 {
  font-size: clamp(1.5rem, 2.6vw, 2.15rem);
  font-weight: 800; letter-spacing: -0.02em; line-height: 1.12;
}
.duo-card p { color: #d6e0ef; font-size: 0.97rem; max-width: 34rem; }
.duo-card__chips { display: flex; flex-wrap: wrap; gap: 0.45rem; margin-top: 0.4rem; }
.duo-card__chips span {
  padding: 0.34rem 0.8rem; border-radius: 999px;
  font-size: 0.74rem; font-weight: 700;
  border: 1px solid rgba(255, 255, 255, 0.34);
}

/* ------------------------------------------------------------------------
   Pain → fix — "Sound familiar?" (Anatoly's objection cards, Bloom skin)
   ------------------------------------------------------------------------ */
.fixes { position: relative; }
.fixes-grid {
  display: grid; grid-template-columns: repeat(12, 1fr);
  gap: 1.4rem; margin-top: clamp(2.4rem, 5vw, 4rem);
}
.fix-card {
  grid-column: span 6;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: clamp(1.5rem, 2.4vw, 2.2rem);
  display: flex; flex-direction: column; gap: 0.85rem;
  transition: transform 0.45s var(--ease-pop), filter 0.45s var(--ease-canvas);
}
.fix-card:hover { transform: translateY(-6px); filter: drop-shadow(0 22px 26px rgba(8, 24, 47, 0.12)); }
@media (min-width: 921px) { .fix-card:nth-child(even) { margin-top: 2.6rem; } }
.fix-card h3 {
  font-size: clamp(1.2rem, 1.8vw, 1.5rem); font-weight: 800;
  letter-spacing: -0.02em; color: var(--ink); line-height: 1.25;
}
.fix-card__label {
  display: inline-flex; align-items: center; gap: 0.5rem;
  width: fit-content; padding: 0.32rem 0.85rem; border-radius: 999px;
  background: var(--rose-soft); color: var(--rose);
  font-size: 0.68rem; font-weight: 800; letter-spacing: 0.13em; text-transform: uppercase;
}
.fix-card__label::before {
  content: ""; width: 0.62rem; height: 0.34rem;
  background: var(--rose); border-radius: 2px; transform: skewX(var(--skew));
}
.fix-card p { color: var(--steel); font-size: 0.97rem; }

/* ------------------------------------------------------------------------
   Plans + what's included (#plans) — the section the page funnels to.
   Checklist card (5) + plan cards (7); Alive's ledger honesty built in.
   ------------------------------------------------------------------------ */
.plans { position: relative; }
.plans-sheet {
  position: relative;
  background: var(--surface);
  border-radius: 40px;
  margin-top: -34px;               /* Alive stacked-sheet pull-up          */
}
.plans-grid {
  display: grid; grid-template-columns: repeat(12, 1fr);
  gap: 1.5rem; margin-top: clamp(2.4rem, 5vw, 4rem);
  align-items: start;
}
.included-card {
  grid-column: span 5;
  position: sticky; top: 100px;
  background: linear-gradient(165deg, var(--navy) 0%, var(--navy-900) 100%);
  color: #fff;
  border-radius: var(--r-xl);
  padding: clamp(1.7rem, 2.8vw, 2.6rem);
  overflow: hidden;
}
.included-card::before {
  content: ""; position: absolute; width: 60%; height: 12px; right: -6%; top: 14%;
  background: var(--grad); opacity: 0.5; border-radius: 3px;
  transform: skewX(var(--skew));
}
.included-card h3 {
  font-size: clamp(1.45rem, 2.2vw, 1.9rem); font-weight: 800; letter-spacing: -0.02em;
}
.included-card > p { margin-top: 0.5rem; color: var(--mist); font-size: 0.92rem; }
.included-list { margin-top: 1.4rem; display: flex; flex-direction: column; }
.included-list li {
  display: flex; align-items: flex-start; gap: 0.8rem;
  padding: 0.68rem 0; font-weight: 600; font-size: 0.97rem;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}
.included-list li:first-child { border-top: 0; }
.included-list li::before {
  content: ""; flex: none; margin-top: 0.44rem;
  width: 1rem; height: 0.5rem;
  background: var(--grad); border-radius: 2px;
  transform: skewX(var(--skew));
}

.plan-cards {
  grid-column: span 7;
  display: flex; flex-direction: column; gap: 1.2rem;
}
.plan-card {
  position: relative;
  background: var(--brand-blue-soft);
  border-radius: var(--r-lg);
  padding: clamp(1.4rem, 2.4vw, 2rem) clamp(1.4rem, 2.6vw, 2.3rem);
  display: grid; grid-template-columns: 1.25fr auto; gap: 0.9rem 1.4rem;
  align-items: center;
  transition: transform 0.45s var(--ease-pop), filter 0.45s var(--ease-canvas);
}
.plan-card:hover { transform: translateY(-5px); filter: drop-shadow(0 20px 26px rgba(8, 24, 47, 0.14)); }
.plan-card--popular {
  background: var(--surface);
  border: 1.6px solid transparent;
  background-image: linear-gradient(var(--surface), var(--surface)), var(--grad);
  background-origin: border-box; background-clip: padding-box, border-box;
}
.plan-card__badge {
  position: absolute; top: -0.85rem; inset-inline-end: 1.6rem;
  padding: 0.38rem 1rem; border-radius: 999px;
  background: var(--grad); color: #fff;
  font-size: 0.7rem; font-weight: 800; letter-spacing: 0.12em; text-transform: uppercase;
  filter: drop-shadow(0 8px 14px rgba(31, 124, 232, 0.35));
}
.plan-card__head h3 {
  font-size: 1.06rem; font-weight: 800; letter-spacing: 0.02em; text-transform: uppercase;
  color: var(--steel);
}
.plan-price {
  display: flex; align-items: baseline; gap: 0.14rem;
  margin-top: 0.3rem; color: var(--ink);
}
.plan-price__amount {
  font-weight: 800; font-size: clamp(2.1rem, 3.6vw, 3rem);
  letter-spacing: -0.03em; line-height: 1;
}
.plan-price__per { font-weight: 600; font-size: 0.9rem; color: var(--steel); margin-inline-start: 0.3rem; }
.plan-card__period-total {
  margin-top: 0.4rem;
  display: inline-flex; width: fit-content;
  padding: 0.32rem 0.8rem; border-radius: 999px;
  background: rgba(31, 124, 232, 0.1); color: var(--rose);
  font-size: 0.78rem; font-weight: 800;
}
.plan-card__side { display: flex; flex-direction: column; align-items: flex-end; gap: 0.7rem; }
.plan-card__side .btn { min-width: 10.6rem; justify-content: center; }
.plan-cta-copy {
  display: flex; flex-direction: column; align-items: center; gap: 0.16rem;
  line-height: 1.1; white-space: nowrap;
}
.plan-cta-copy small { font-size: 0.68rem; font-weight: 800; opacity: 0.82; }
.plan-ledger {
  grid-column: 1 / -1;
  display: flex; flex-direction: column; gap: 0.2rem;
  border-top: 1px solid rgba(8, 24, 47, 0.1);
  padding-top: 0.8rem;
}
.plan-ledger b { font-size: 0.87rem; font-weight: 700; color: var(--ink); }
.plan-ledger span { font-size: 0.78rem; color: var(--steel); }
.plans-survey {
  margin-top: 2.2rem; text-align: center; font-size: 0.95rem; color: var(--steel);
}
.plans-survey a {
  color: var(--rose); font-weight: 700;
  text-decoration: underline; text-underline-offset: 4px;
}

/* ------------------------------------------------------------------------
   Transformations — navy sheet + giant scrub word behind the track
   ------------------------------------------------------------------------ */
.transformations {
  background: linear-gradient(165deg, var(--navy) 0%, var(--ink) 100%);
  border-radius: 40px 40px 0 0;
  overflow: hidden;
  position: relative;
  margin-top: -34px;
}
.transformation-card { border-radius: var(--r-md); }
.transformations-copy { color: #d6e0ef; }
.transformations-nav { background: var(--grad); }
.transformations-nav:hover { background: var(--rose); }
.scrub-word {
  pointer-events: none; user-select: none;
  white-space: nowrap; line-height: 1;
  font-weight: 800; letter-spacing: -0.03em;
  font-size: clamp(4.4rem, 13vw, 11rem);
  margin-bottom: -0.35em;
  -webkit-text-stroke: 1px rgba(255, 255, 255, 0.5);
  -webkit-text-fill-color: transparent;
  opacity: 0.55;
  will-change: transform;
}

/* ------------------------------------------------------------------------
   About — Alive trainer-card treatment for Nour + circle video reveal
   ------------------------------------------------------------------------ */
.about-portrait { position: relative; }
.about-portrait img {
  clip-path: none;
  border-radius: var(--r-xl);
  height: clamp(420px, 52vw, 600px);
}
.about-handle {
  position: absolute; top: 1.1rem; inset-inline-start: 1.1rem; z-index: 3;
  padding: 0.42rem 0.95rem; border-radius: 999px;
  background: rgba(8, 24, 47, 0.55); color: #fff;
  font-size: 0.76rem; font-weight: 700; letter-spacing: 0.06em;
  backdrop-filter: blur(8px);
  pointer-events: none;
}
.video-reveal { cursor: pointer; }
.video-reveal__circle {
  position: absolute; inset: 0; z-index: 2;
  border-radius: var(--r-xl); overflow: hidden;
  clip-path: circle(0% at 50% 50%);
  transition: clip-path 0.9s var(--ease-canvas);
}
.video-reveal__circle video {
  width: 100%; height: 100%; object-fit: cover;
}
.video-reveal.is-open .video-reveal__circle { clip-path: circle(135% at var(--vx, 50%) var(--vy, 50%)); }
.video-reveal__hint {
  position: absolute; bottom: 1.1rem; inset-inline-end: 1.1rem; z-index: 3;
  display: inline-flex; align-items: center; gap: 0.5rem;
  padding: 0.5rem 1rem; border-radius: 999px;
  background: rgba(255, 255, 255, 0.92); color: var(--ink);
  font-size: 0.76rem; font-weight: 800;
  pointer-events: none;
  transition: opacity 0.4s var(--ease-canvas);
}
.video-reveal__hint::before {
  content: ""; width: 0; height: 0;
  border-block: 5px solid transparent;
  border-inline-start: 8px solid var(--rose);
}
.video-reveal.is-open .video-reveal__hint { opacity: 0; }
.about-chips { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-top: 1.2rem; }
.about-chips span {
  padding: 0.42rem 0.95rem; border-radius: 999px;
  background: var(--rose-soft); color: var(--rose);
  font-size: 0.78rem; font-weight: 700;
}

/* ------------------------------------------------------------------------
   FAQ — native accordions, Bloom skin
   ------------------------------------------------------------------------ */
.faq-list {
  max-width: 46rem; margin-top: clamp(2.2rem, 4.5vw, 3.6rem);
  display: flex; flex-direction: column; gap: 0.85rem;
}
.faq-item {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  overflow: hidden;
  transition: filter 0.4s var(--ease-canvas);
}
.faq-item[open] { filter: drop-shadow(0 16px 22px rgba(8, 24, 47, 0.1)); }
.faq-item summary {
  list-style: none; cursor: pointer;
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  padding: 1.1rem 1.3rem;
  font-weight: 700; font-size: 1rem; color: var(--ink);
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: ""; flex: none; width: 0.85rem; height: 0.85rem;
  background:
    linear-gradient(var(--rose), var(--rose)) center / 100% 2.4px no-repeat,
    linear-gradient(var(--rose), var(--rose)) center / 2.4px 100% no-repeat;
  border-radius: 1px;
  transition: transform 0.4s var(--ease-out1);
}
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-item p {
  padding: 0 1.3rem 1.2rem; color: var(--steel); font-size: 0.95rem;
}

/* ------------------------------------------------------------------------
   Final CTA — gradient bloom card
   ------------------------------------------------------------------------ */
.cta-card {
  background: linear-gradient(150deg, var(--navy), var(--navy-900));
  border-radius: var(--r-xl);
}
.cta-card::before { background: var(--grad); opacity: 0.35; border-radius: 3px; }
.cta-card::after { border-radius: 3px; }
.cta-card .lead { color: #d6e0ef; }

/* ------------------------------------------------------------------------
   Footer — Perform navy
   ------------------------------------------------------------------------ */
.site-footer { background: var(--ink); border-radius: 40px 40px 0 0; margin-top: -34px; position: relative; }
.transformations + * { position: relative; }

/* ------------------------------------------------------------------------
   Decorative bloom blobs (aria-hidden, gentle drift)
   ------------------------------------------------------------------------ */
.bloom-blob {
  position: absolute; z-index: 0; pointer-events: none;
  width: clamp(280px, 34vw, 520px); aspect-ratio: 1;
  border-radius: 50%;
  filter: blur(60px);
  opacity: 0.5;
  animation: bloom-drift 22s var(--ease-canvas) infinite alternate;
}
.bloom-blob--rose { background: radial-gradient(circle at 40% 40%, rgba(94, 163, 242, 0.3), transparent 70%); }
.bloom-blob--blue { background: radial-gradient(circle at 60% 45%, rgba(31, 124, 232, 0.34), transparent 70%); }
@keyframes bloom-drift {
  from { transform: translate3d(0, 0, 0) scale(1); }
  to   { transform: translate3d(4vw, -3vh, 0) scale(1.12); }
}

/* ------------------------------------------------------------------------
   Word-mask reveal (Arabic-safe: words, not chars)
   ------------------------------------------------------------------------ */
.split-reveal .sr-line { display: block; overflow: hidden; padding-block: 0.06em; }
.split-reveal .sr-word {
  display: inline-block;
  transform: translateY(118%);
  transition: transform 0.66s var(--ease-out1);
  transition-delay: calc(var(--w, 0) * 42ms);
  will-change: transform;
}
.split-reveal.in .sr-word { transform: none; }

/* ------------------------------------------------------------------------
   RTL + responsive
   ------------------------------------------------------------------------ */
html[dir="rtl"] .scrub-word { direction: rtl; }
html[dir="rtl"] .plan-card__side { align-items: flex-start; }

@media (max-width: 960px) {
  .duo-card--her,
  .duo-card--him {
    grid-column: 1 / -1;
    margin-top: 0;
    max-width: 100%;
  }
  .duo-card--her {
    width: clamp(22rem, 92%, 42rem);
    justify-self: start;
  }
  .duo-card--him {
    width: clamp(20rem, 78%, 31rem);
    justify-self: end;
  }
  .fix-card { grid-column: 1 / -1; margin-top: 0 !important; }
  .included-card { grid-column: 1 / -1; position: static; }
  .plan-cards { grid-column: 1 / -1; }
}
@media (max-width: 620px) {
  .plan-card { grid-template-columns: 1fr; }
  .plan-card__side { flex-direction: row; align-items: center; justify-content: space-between; width: 100%; }
  .plan-card__side .btn { flex: 1; justify-content: center; }
  .hero-chips li { font-size: 0.72rem; padding: 0.42rem 0.75rem; }
  .included-card { position: static; }
}

@media (prefers-reduced-motion: reduce) {
  .split-reveal .sr-word { transform: none !important; }
  .video-reveal__circle { transition: none; }
  .bloom-blob { animation: none; }
  .scrub-word { transform: none !important; }
}
