/* ============================================================
   SOULA · B2B landing — standalone components
   Layered on top of homepage-v3.css + v4.css. Only NEW b2b blocks
   live here (hero visual, calculator, system layers, h-timeline,
   roadmap path, founder-b2b). Brand tokens reused from ds/.
   ============================================================ */

/* ---------- bright primary CTA (Book a demo) ----------
   .btn.btn-pink outweighs the single-class .btn rules from other layers */
.btn.btn-pink{ background: var(--pink-1, #FF2E6E); color: #fff; border: none; }
.btn.btn-pink:hover{ filter: brightness(1.05); }
/* на мобиле шапка должна остаться одной строкой: «For individuals» дублирует
   логотип (ведёт на /), чип «for partners» дублирует активный пункт меню */
@media (max-width: 760px){
  .nav-cta .btn-ghost{ display: none; }
  .brand .brand-tag{ display: none; }
}
/* nav demo button always visible while scrolling */
.nav .nav-cta .btn-pink{ box-shadow: 0 6px 18px -6px rgba(255,46,110,.6); }

/* ---------- B2B hero: two columns, copy + visual ---------- */
.b2b-hero{ padding: 132px 0 72px; }
.b2b-hero-grid{
  display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 56px; align-items: center;
}
@media (max-width: 940px){
  .b2b-hero{ padding: 116px 0 56px; }
  .b2b-hero-grid{ grid-template-columns: 1fr; gap: 40px; }
}
.b2b-hero h1{
  font-size: clamp(34px, 3.9vw, 50px);
  line-height: 1.1; letter-spacing: -0.035em; font-weight: 400;
  margin: 20px 0 0; text-wrap: balance;
}
/* pink payoff line: a touch smaller than the main claim for clear hierarchy */
.b2b-hero h1 em{ color: var(--pink-1, #FF2E6E); font-style: normal; font-size: .9em; }
.b2b-hero .lead{ margin-top: 26px; max-width: 520px; line-height: 1.65; }
.b2b-hero .hero-cta-row{ margin-top: 38px; }
.b2b-cta-note{ margin-top: 22px; max-width: 470px; font-size: 14.5px; line-height: 1.5; color: rgba(28,23,28,.6); }
.b2b-cta-note strong{ color: var(--pink-1, #FF2E6E); font-weight: 680; }
.b2b-hero .trust-mini{ margin-top: 30px; }
/* hero eyebrow label — bigger / more present (Nataly) */
.b2b-hero .eyebrow{ font-size: 14px; letter-spacing: .14em; font-weight: 650; color: var(--ink-2, #2A2A2A); }
.b2b-sub-claim{
  font-size: 16px; font-weight: 600; color: var(--ink-1, #1C171C);
  margin-top: 22px;
}
.b2b-sub-claim em{ color: var(--pink-1, #FF2E6E); font-style: normal; }

/* hero visual: orb + floating metric chips */
.b2b-hero-visual{
  position: relative; aspect-ratio: 1 / 1; max-width: 460px; margin: 0 auto; width: 100%;
  display: flex; align-items: center; justify-content: center;
}
.b2b-hero-visual .orb-wrap{ width: 64%; }
.b2b-hero-visual .glow{
  position: absolute; inset: 8%; border-radius: 50%;
  background: radial-gradient(circle at 50% 45%, rgba(255,46,110,.16), transparent 62%);
  filter: blur(8px);
}
.float-chip{
  position: absolute; z-index: 3;
  background: #fff; border: 1px solid rgba(28,23,28,.08);
  border-radius: 16px; padding: 12px 16px;
  box-shadow: 0 18px 40px -22px rgba(28,23,28,.35);
  display: flex; flex-direction: column; gap: 2px;
  animation: chipFloat 6s ease-in-out infinite;
}
.float-chip .fc-num{ font-size: 20px; font-weight: 650; letter-spacing: -.03em; color: var(--ink-1,#1C171C); }
.float-chip .fc-num em{ color: var(--pink-1,#FF2E6E); font-style: normal; }
.float-chip .fc-lbl{ font-size: 11.5px; color: rgba(28,23,28,.55); letter-spacing: .02em; }
.float-chip.fc-1{ top: 6%; left: -3%; animation-delay: 0s; }
.float-chip.fc-2{ top: 40%; right: -5%; animation-delay: 1.3s; }
.float-chip.fc-3{ bottom: 8%; left: 4%; animation-delay: 2.5s; }

/* credential badge in the copy column (replaces the off-looking floating text chip) */
.b2b-cred{
  display: inline-flex; align-items: center; gap: 9px; margin-top: 18px;
  padding: 8px 15px; border-radius: 999px;
  background: rgba(255,46,110,.06); border: 1px solid rgba(255,46,110,.2);
  font-size: 13px; font-weight: 600; letter-spacing: -.005em; color: var(--ink-1, #1C171C);
}
.b2b-cred .dot{ width: 8px; height: 8px; border-radius: 50%; flex: 0 0 auto;
  background: radial-gradient(circle at 35% 35%, #FF6E46, var(--pink-1, #FF2E6E)); }
@keyframes chipFloat{ 0%,100%{ transform: translateY(0) } 50%{ transform: translateY(-9px) } }
@media (prefers-reduced-motion: reduce){ .float-chip{ animation: none; } }
@media (max-width: 540px){
  .b2b-hero-visual{ max-width: 320px; }
  .float-chip .fc-num{ font-size: 17px; }
}

/* ---------- client logos strip ---------- */
.logos-strip{ padding: 40px 0 64px; }
.logos-strip .logos-label{
  text-align: center; font-size: 12px; letter-spacing: .14em; font-weight: 600;
  text-transform: uppercase; color: rgba(28,23,28,.42); margin-bottom: 28px;
}
.logos-row{
  display: flex; flex-wrap: nowrap; align-items: center; justify-content: space-between;
  gap: 28px; max-width: 980px; margin: 0 auto;
}
@media (max-width: 760px){
  .logos-row{ flex-wrap: wrap; justify-content: center; gap: 18px 32px; }
}
.logo-item{
  font-size: 21px; font-weight: 700; letter-spacing: -.02em;
  color: rgba(28,23,28,.32);
}
.logo-item.real{ color: rgba(28,23,28,.6); }
.logo-ph{
  width: 116px; height: 34px; border-radius: 8px;
  background: rgba(28,23,28,.05);
}

/* ---------- ROI calculator ---------- */
.calc{
  display: grid; grid-template-columns: 1fr 1fr; gap: 48px;
  margin-top: 48px;
  background: var(--ink-1, #1C171C); border-radius: 32px; padding: 48px;
}
@media (max-width: 860px){ .calc{ grid-template-columns: 1fr; gap: 32px; padding: 28px; } }
.calc-controls{ display: flex; flex-direction: column; gap: 30px; justify-content: center; padding-right: 8px; }
.calc-field label{
  display: block; font-size: 13.5px; font-weight: 560; color: rgba(255,255,255,.7);
  margin-bottom: 12px;
}
.calc-field label b{ color: #fff; font-weight: 680; font-size: 16px; }
.calc-field input[type="range"]{
  -webkit-appearance: none; appearance: none; width: 100%; height: 6px;
  border-radius: 999px; background: rgba(255,255,255,.16); outline: none;
}
.calc-field input[type="range"]::-webkit-slider-thumb{
  -webkit-appearance: none; appearance: none; width: 22px; height: 22px;
  border-radius: 50%; background: var(--pink-1, #FF2E6E); cursor: pointer;
  border: 3px solid #fff; box-shadow: 0 2px 8px rgba(0,0,0,.3);
}
.calc-field input[type="range"]::-moz-range-thumb{
  width: 22px; height: 22px; border-radius: 50%; background: var(--pink-1, #FF2E6E);
  cursor: pointer; border: 3px solid #fff;
}
.calc-ticks{ display: flex; justify-content: space-between; font-size: 11px; color: rgba(255,255,255,.65); margin-top: 8px; }

.calc-result{
  background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.1);
  border-radius: 22px; padding: 30px 28px;
  display: flex; flex-direction: column; justify-content: center;
}
.calc-result .cr-eyebrow{ font-size: 12px; letter-spacing: .12em; font-weight: 650; color: rgba(255,255,255,.5); text-transform: uppercase; }
.calc-result .cr-num{
  font-size: clamp(40px, 6vw, 60px); font-weight: 660; letter-spacing: -.04em;
  color: var(--pink-1, #FF2E6E); line-height: 1; margin: 10px 0;
}
.calc-result .cr-sub{ font-size: 14px; color: rgba(255,255,255,.7); line-height: 1.5; }
.calc-breakdown{
  display: flex; gap: 24px; margin-top: 22px; padding-top: 20px;
  border-top: 1px solid rgba(255,255,255,.1);
}
.calc-breakdown .cb-item .cb-n{ font-size: 22px; font-weight: 640; color: #fff; letter-spacing: -.02em; }
.calc-breakdown .cb-item .cb-l{ font-size: 12px; color: rgba(255,255,255,.55); margin-top: 2px; }
.calc-note{ font-size: 11.5px; color: rgba(255,255,255,.65); margin-top: 18px; line-height: 1.5; }
.calc-recover{
  margin-top: 18px; border-radius: 14px; padding: 14px 16px;
  background: rgba(255,46,110,.12); border: 1px solid rgba(255,46,110,.25);
  font-size: 13.5px; color: #fff;
}
.calc-recover b{ color: var(--pink-1, #FF2E6E); }

/* ---------- two testimonial quote cards (dark band) ---------- */
.quotes-2{ display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 16px; }
@media (max-width: 760px){ .quotes-2{ grid-template-columns: 1fr; } }
.quote-card{
  background: var(--ink-1, #1C171C); color: #fff;
  border-radius: 24px; padding: 32px 34px; margin: 0;
}
.quote-card blockquote{ margin: 0; font-size: 16.5px; line-height: 1.55; font-weight: 500; letter-spacing: -.01em; }
.quote-card figcaption{ margin-top: 18px; font-size: 12.5px; color: rgba(255,255,255,.5); letter-spacing: .02em; }

/* ---------- system layers (richer than ripple-grid) ---------- */
.layers{ display: flex; flex-direction: column; gap: 16px; margin-top: 56px; }
.layer{
  display: grid; grid-template-columns: 64px 1fr auto; gap: 26px; align-items: center;
  border-radius: 24px; padding: 28px 32px;
  background: #fff; border: 1px solid rgba(28,23,28,.08);
  transition: transform .2s ease, box-shadow .2s ease;
}
.layer:hover{ transform: translateY(-2px); box-shadow: 0 20px 44px -26px rgba(28,23,28,.3); }
@media (max-width: 760px){
  .layer{ grid-template-columns: 52px 1fr; gap: 18px; }
  .layer .layer-tags{ grid-column: 1 / -1; }
}
.layer-ico{
  width: 64px; height: 64px; border-radius: 18px;
  background: var(--pink-0, #FFF0F4);
  display: flex; align-items: center; justify-content: center;
  color: var(--pink-1, #FF2E6E);
}
@media (max-width: 760px){ .layer-ico{ width: 52px; height: 52px; } }
.layer-body h3{ font-size: 22px; font-weight: 630; letter-spacing: -.02em; margin: 0 0 6px; }
.layer-body h3 em{ color: var(--pink-1, #FF2E6E); font-style: normal; }
.layer-body p{ font-size: 14.5px; line-height: 1.5; color: rgba(28,23,28,.62); margin: 0; max-width: 560px; }
.layer-tags{ display: flex; flex-direction: column; gap: 6px; align-items: flex-end; }
.layer-tags span{
  font-size: 11.5px; font-weight: 560; letter-spacing: .03em;
  padding: 5px 11px; border-radius: 999px;
  background: rgba(28,23,28,.05); color: rgba(28,23,28,.65); white-space: nowrap;
}

/* ---------- horizontal step timeline (how it works) ---------- */
.htimeline{
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 0;
  margin-top: 56px; position: relative;
}
@media (max-width: 820px){ .htimeline{ grid-template-columns: 1fr 1fr; gap: 32px 0; } }
@media (max-width: 480px){ .htimeline{ grid-template-columns: 1fr; gap: 24px; } }
.htl-step{ position: relative; padding: 0 22px; }
.htl-step:not(:last-child)::after{
  content: ""; position: absolute; top: 19px; left: 50%; right: -50%;
  height: 2px; background: rgba(255,46,110,.2);
}
@media (max-width: 820px){ .htl-step::after{ display: none; } }
.htl-dot{
  width: 40px; height: 40px; border-radius: 50%; position: relative; z-index: 2;
  background: var(--pink-1, #FF2E6E); color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-size: 16px; font-weight: 650; margin-bottom: 18px;
}
.htl-step h4{ font-size: 17px; font-weight: 620; letter-spacing: -.015em; margin: 0 0 6px; }
.htl-step p{ font-size: 14px; line-height: 1.5; color: rgba(28,23,28,.6); margin: 0; }

/* ---------- roadmap visual path ---------- */
.roadmap-path{
  display: grid; grid-template-columns: repeat(5, 1fr); gap: 14px;
  margin-top: 48px; position: relative;
}
@media (max-width: 880px){ .roadmap-path{ grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px){ .roadmap-path{ grid-template-columns: 1fr; } }
.rm-node{
  border-radius: 20px; padding: 24px 20px;
  background: #fff; border: 1px solid rgba(28,23,28,.08);
  text-align: center;
}
.rm-node .rm-step{ font-size: 11px; font-weight: 650; letter-spacing: .1em; color: var(--pink-1, #FF2E6E); }
.rm-node h4{ font-size: 17px; font-weight: 620; letter-spacing: -.015em; margin: 10px 0 6px; }
.rm-node p{ font-size: 13px; color: rgba(28,23,28,.55); margin: 0; line-height: 1.45; }

/* ---------- founder block (B2B credibility) ---------- */
.founder-b2b{
  display: grid; grid-template-columns: 0.8fr 1.2fr; gap: 48px; align-items: center;
  margin-top: 8px;
}
@media (max-width: 860px){ .founder-b2b{ grid-template-columns: 1fr; gap: 32px; } }
.founder-b2b-photo{
  aspect-ratio: 4/5; border-radius: 28px; overflow: hidden;
  background: linear-gradient(155deg, #FFE6EC 0%, #FFC2D4 55%, #FF9CC0 100%);
  display: flex; align-items: flex-end; justify-content: center; position: relative;
}
.founder-b2b-photo .fb-initial{
  font-size: 200px; font-weight: 600; color: rgba(255,255,255,.6); line-height: 1;
  letter-spacing: -.04em; margin-bottom: -10px;
}
.founder-b2b-photo.has-photo{ background: #efe7e7; }
.founder-b2b-photo img{
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
}
.founder-b2b-photo .fb-tag{
  position: absolute; bottom: 18px; left: 18px; right: 18px;
  background: rgba(255,255,255,.92); backdrop-filter: blur(6px);
  border-radius: 14px; padding: 12px 16px;
}
.founder-b2b-photo .fb-name{ font-size: 16px; font-weight: 650; letter-spacing: -.01em; }
.founder-b2b-photo .fb-role{ font-size: 12.5px; color: rgba(28,23,28,.55); margin-top: 2px; }
.founder-b2b-body .founder-quote{
  font-size: clamp(20px, 2.4vw, 26px); line-height: 1.35; font-weight: 500;
  letter-spacing: -.02em; border-left: 2px solid var(--pink-1,#FF2E6E); padding-left: 18px;
}
.founder-b2b-body .founder-quote em{ color: var(--pink-1,#FF2E6E); font-style: normal; }
.founder-b2b-body p{ font-size: 15px; line-height: 1.6; color: rgba(28,23,28,.7); margin: 18px 0 0; }
.founder-b2b-stats{ display: flex; gap: 28px; margin-top: 26px; flex-wrap: wrap; }
.fb-stat .fb-stat-n{ font-size: 26px; font-weight: 650; letter-spacing: -.03em; color: var(--ink-1,#1C171C); }
.fb-stat .fb-stat-n em{ color: var(--pink-1,#FF2E6E); font-style: normal; }
.fb-stat .fb-stat-l{ font-size: 12.5px; color: rgba(28,23,28,.55); margin-top: 2px; line-height: 1.3; }

/* ---------- thin press + backed combined strip (boxed so it doesn't get lost) ---------- */
.trust-wrap{
  border: 1px solid rgba(28,23,28,.1); border-radius: 24px;
  padding: 32px 40px; background: var(--bg-stage, #F1EFEA);
}
@media (max-width: 600px){ .trust-wrap{ padding: 24px 22px; } }
.trust-strip{ display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: center; }
@media (max-width: 760px){ .trust-strip{ grid-template-columns: 1fr; gap: 28px; } }
.trust-col .trust-label{
  font-size: 12px; letter-spacing: .14em; font-weight: 600; text-transform: uppercase;
  color: rgba(28,23,28,.42); margin-bottom: 14px;
}
.trust-col .trust-items{ display: flex; flex-wrap: wrap; gap: 10px 24px; align-items: center; }
.trust-col .trust-items a, .trust-col .trust-items span{
  font-size: 15px; font-weight: 600; color: rgba(28,23,28,.55); letter-spacing: -.01em;
  text-decoration: none;
}
.trust-col .trust-items a:hover{ color: var(--ink-1,#1C171C); }
.trust-col.divided{ border-left: 1px solid rgba(28,23,28,.1); padding-left: 40px; }
@media (max-width: 760px){ .trust-col.divided{ border-left: none; padding-left: 0; border-top: 1px solid rgba(28,23,28,.1); padding-top: 24px; } }

/* ---------- demo CTA panel ---------- */
.demo-panel{
  border-radius: 32px; padding: 56px 52px; margin-top: 8px;
  background: var(--ink-1, #1C171C); color: #fff; text-align: center;
}
@media (max-width: 620px){ .demo-panel{ padding: 40px 26px; } }
.demo-stat{ font-size: 15px; color: rgba(255,255,255,.7); margin: 0 0 14px; }
.demo-stat strong{ color: var(--pink-1, #FF2E6E); font-weight: 680; }
.demo-panel h2{ font-size: clamp(28px, 4vw, 42px); font-weight: 630; letter-spacing: -.03em; line-height: 1.1; margin: 0; }
.demo-panel h2 em{ color: var(--pink-1, #FF2E6E); font-style: normal; }
.demo-panel p{ font-size: 16px; color: rgba(255,255,255,.7); margin: 16px auto 0; max-width: 480px; }
.demo-panel .demo-actions{ display: flex; gap: 12px; justify-content: center; margin-top: 30px; flex-wrap: wrap; }
.demo-panel .btn-pink{
  background: var(--pink-1, #FF2E6E); color: #fff; border: none;
}
.demo-panel .demo-mini{ margin-top: 22px; font-size: 13px; color: rgba(255,255,255,.5); }

/* ============================================================
   Scroll reveal + parallax (b2b landing only)
   ============================================================ */
.b2b-page .reveal{
  opacity: 0; transform: translateY(26px);
  transition: opacity .7s cubic-bezier(.16,.7,.3,1), transform .7s cubic-bezier(.16,.7,.3,1);
  will-change: opacity, transform;
}
.b2b-page .reveal.shown{ opacity: 1; transform: none; }

/* staggered cascade for cards entering together */
.b2b-page .diff-grid > .reveal:nth-child(2),
.b2b-page .ripple-grid > .reveal:nth-child(2),
.b2b-page .layers > .reveal:nth-child(2),
.b2b-page .htimeline > .reveal:nth-child(2),
.b2b-page .roadmap-path > .reveal:nth-child(2),
.b2b-page .cost-grid > .reveal:nth-child(2){ transition-delay: .09s; }

.b2b-page .diff-grid > .reveal:nth-child(3),
.b2b-page .ripple-grid > .reveal:nth-child(3),
.b2b-page .layers > .reveal:nth-child(3),
.b2b-page .htimeline > .reveal:nth-child(3),
.b2b-page .roadmap-path > .reveal:nth-child(3),
.b2b-page .cost-grid > .reveal:nth-child(3){ transition-delay: .18s; }

.b2b-page .htimeline > .reveal:nth-child(4),
.b2b-page .roadmap-path > .reveal:nth-child(4),
.b2b-page .cost-grid > .reveal:nth-child(4){ transition-delay: .27s; }

.b2b-page .roadmap-path > .reveal:nth-child(5),
.b2b-page .cost-grid > .reveal:nth-child(5){ transition-delay: .36s; }
.b2b-page .cost-grid > .reveal:nth-child(6){ transition-delay: .45s; }

/* parallax targets get a gentle transform applied by JS */
.b2b-page .parallax{ will-change: transform; }

@media (prefers-reduced-motion: reduce){
  .b2b-page .reveal{ opacity: 1; transform: none; transition: none; }
  .b2b-page .parallax{ transform: none !important; }
}

/* roadmap: pronounced sequential reveal (1 -> 2 -> 3 -> 4 -> 5) */
.b2b-page .roadmap-path > .reveal{ transition-duration: .6s; }
.b2b-page .roadmap-path > .reveal:nth-child(1){ transition-delay: 0s; }
.b2b-page .roadmap-path > .reveal:nth-child(2){ transition-delay: .16s; }
.b2b-page .roadmap-path > .reveal:nth-child(3){ transition-delay: .32s; }
.b2b-page .roadmap-path > .reveal:nth-child(4){ transition-delay: .48s; }
.b2b-page .roadmap-path > .reveal:nth-child(5){ transition-delay: .64s; }
