/* ═════════ DESPRE NOI · două jumătăți ═════════ */

/* ── antet: jumătățile se unesc ── */
.halves-hero {
  position: relative; overflow: hidden;
  min-height: min(860px, 96svh);
  display: grid; align-content: center; justify-items: center; gap: 28px; text-align: center;
  padding: calc(var(--topbar) + 40px) 6vw 64px;
  background: radial-gradient(ellipse at 50% 40%, #ffffff 0%, #f5f4ef 60%, #ebe8df 100%);
}
.halves { position: relative; width: min(380px, 62vw); aspect-ratio: 424 / 376; }
.half { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.half .lobe { fill: #171717; }
.half .chip { fill: #0043d2; }
.click-ring {
  position: absolute; left: 50%; top: 50%; width: 30%; aspect-ratio: 1; translate: -50% -50%; border-radius: 50%;
  border: 3px solid #3d7bff; opacity: 0; pointer-events: none;
}
.halves-copy { max-width: 860px; }
.halves-copy .kicker { color: var(--blue); }
.halves-copy h1 { font-size: clamp(36px, 5.4vw, 76px); line-height: 1.05; margin-bottom: 18px; }
.halves-copy h1 span { display: inline-block; }
.halves-copy .h-r { color: var(--blue); }
.halves-copy p { color: var(--muted); font-size: clamp(17px, 1.4vw, 20px); max-width: 52ch; margin: 0 auto; }

/* ── manifestul ── */
.manifest { background: #171717; color: var(--cream); }
.mf-pin { min-height: 100svh; display: grid; place-items: center; padding: calc(var(--topbar) + 24px) 8vw 48px; }
.mf-text { font: 600 clamp(26px, 3.4vw, 50px)/1.28 var(--font-head); letter-spacing: -0.02em; max-width: 26ch; margin: 0; }
.mf-text span { color: rgba(245, 244, 239, .24); transition: color .25s ease; }
.mf-text span.on { color: var(--cream); }
.mf-text span.hl.on { color: #6f9bff; }

/* ── principiile: cărți care se așază ── */
.values-stack { padding: clamp(64px, 9vw, 120px) 6vw clamp(64px, 9vw, 120px); background: #f2f1ec; }
.vstack { display: grid; gap: 28px; }
.vcard {
  position: sticky; top: calc(var(--topbar) + 28px + var(--i) * 18px);
  display: grid; grid-template-columns: .9fr 1.1fr; align-items: center; gap: clamp(20px, 4vw, 56px);
  min-height: min(380px, 60svh); padding: clamp(22px, 3.5vw, 44px); border-radius: 32px;
  background: var(--bg-card); color: var(--fg-card, var(--ink));
  box-shadow: 0 -20px 50px -30px rgba(1, 4, 15, .35);
  transform-origin: 50% 0;
}
.vcard::after { content: ""; position: absolute; inset: 0; border-radius: inherit; background: #000; opacity: var(--dim, 0); pointer-events: none; }
.vcard[data-v="problema"] { --i: 0; --bg-card: #ffffff; }
.vcard[data-v="simplu"] { --i: 1; --bg-card: #e4ebfb; }
.vcard[data-v="rezultate"] { --i: 2; --bg-card: #0b1a52; --fg-card: #f5f4ef; }
.vcard[data-v="alaturi"] { --i: 3; --bg-card: #171717; --fg-card: #f5f4ef; }
.vc-art { aspect-ratio: 4 / 3; border-radius: 22px; background: rgba(127, 127, 127, .08); display: grid; place-items: center; overflow: hidden; }
.vc-art svg { width: 86%; height: 86%; overflow: visible; }
.vc-num { font: 700 15px var(--font-head); color: var(--num, #0043d2); }
.vcard[data-v="rezultate"], .vcard[data-v="alaturi"] { --num: #8fb4ff; }
.vc-text h3 { font: 700 clamp(26px, 3vw, 40px)/1.08 var(--font-head); letter-spacing: -0.02em; margin: 10px 0 12px; }
.vc-text p { font-size: 18px; opacity: .75; max-width: 42ch; }
.vc-art * { transform-box: fill-box; }
.vcard:not(.run) .vc-art * { animation-play-state: paused !important; }
/* 1 problema: lupa trece peste ghem, iar firul se îndreaptă */
.va-tangle { fill: none; stroke: #b9c3da; stroke-width: 3; stroke-linecap: round; animation: untangle 6s ease-in-out infinite; }
.va-straight { fill: none; stroke: #0043d2; stroke-width: 4; stroke-linecap: round; stroke-dasharray: 260; animation: straight 6s ease-in-out infinite; }
@keyframes untangle { 0%, 40% { opacity: 1; } 55%, 85% { opacity: 0; } 100% { opacity: 1; } }
@keyframes straight { 0%, 45% { stroke-dashoffset: 260; } 65%, 85% { stroke-dashoffset: 0; } 100% { stroke-dashoffset: 260; } }
.va-lens { animation: scan 6s ease-in-out infinite; }
@keyframes scan { 0% { transform: translate(-60px, 10px); } 40% { transform: translate(60px, -10px); } 60%, 100% { transform: translate(120px, -30px); opacity: 0; } }
/* 2 simplu: multe butoane se strâng într-unul singur */
.va-btn { animation: gather 5s cubic-bezier(.65,0,.35,1) infinite; }
@keyframes gather { 0%, 25% { transform: translate(var(--dx), var(--dy)); opacity: 1; } 55%, 85% { transform: translate(0, 0); opacity: 0; } 100% { transform: translate(var(--dx), var(--dy)); opacity: 1; } }
.va-one { transform-origin: center; animation: one 5s cubic-bezier(.34,1.56,.64,1) infinite; }
@keyframes one { 0%, 45% { transform: scale(0); } 60%, 85% { transform: scale(1); } 100% { transform: scale(0); } }
/* 3 rezultate: clepsidra se întoarce, barele cresc */
.va-glass { transform-origin: center; animation: flip 5s ease-in-out infinite; }
@keyframes flip { 0%, 30% { rotate: 0deg; } 45%, 100% { rotate: 180deg; } }
.va-bar { transform-origin: 50% 100%; animation: rise 5s ease-out infinite; animation-delay: calc(var(--i) * .15s); }
@keyframes rise { 0%, 40% { transform: scaleY(.1); } 70%, 90% { transform: scaleY(1); } 100% { transform: scaleY(.1); } }
/* 4 alături: două cercuri care se rotesc unul în jurul celuilalt, legate */
.va-orbit { transform-origin: 160px 120px; transform-box: view-box; animation: spin 8s linear infinite; }
@keyframes spin { to { rotate: 360deg; } }
.va-pulse { transform-origin: center; animation: pulse 2s ease-out infinite; }
@keyframes pulse { 0% { transform: scale(1); opacity: .7; } 100% { transform: scale(2.2); opacity: 0; } }

/* ── bucla parcursă cu scroll-ul ── */
.loop-scroll { background: var(--space); color: var(--cream); }
.lp-pin { height: 100svh; display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: clamp(32px, 6vw, 80px); padding: calc(var(--topbar) + 24px) 6vw 40px; max-width: 1300px; margin: 0 auto; }
.lp-figure { position: relative; width: min(440px, 100%); aspect-ratio: 1; justify-self: center; }
.lp-figure svg { width: 100%; height: 100%; overflow: visible; }
.lp-ring { fill: none; stroke: rgba(245,244,239,.18); stroke-width: 2; }
.lp-done { fill: none; stroke: #3d7bff; stroke-width: 4; stroke-linecap: round; stroke-dasharray: 628.3; stroke-dashoffset: 628.3; filter: drop-shadow(0 0 6px #3d7bff); }
.lp-dot { fill: #fff; filter: drop-shadow(0 0 8px #9fd4ff); }
.lp-figure rootit-logo { position: absolute; left: 50%; top: 50%; width: 40%; translate: -50% -50%; --rootit-ink: #f5f4ef; --rootit-blue: #3d7bff; }
.lp-st {
  position: absolute; left: calc(50% + var(--sx) * 50%); top: calc(50% + var(--sy) * 50%); translate: -50% -50%;
  padding: 9px 15px; border-radius: 999px; white-space: nowrap; font: 600 14px var(--font-head);
  background: rgba(245,244,239,.08); border: 1px solid rgba(245,244,239,.2); color: rgba(245,244,239,.6);
  transition: all .35s ease;
}
.lp-st.on { background: var(--cream); color: var(--space); border-color: var(--cream); box-shadow: 0 0 30px rgba(159,212,255,.5); }
.lp-copy .kicker { color: #6f9bff; }
.lp-copy h2 { font-size: clamp(32px, 4vw, 52px); line-height: 1.06; margin-bottom: 24px; }
.lp-lead { color: rgba(245,244,239,.78); font-size: 16px; line-height: 1.5; margin: -8px 0 20px; max-width: 46ch; }
.lp-lead strong { color: #f5f4ef; }
.lp-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.lp-list li { padding: 14px 18px; border-radius: 16px; border: 1px solid rgba(245,244,239,.1); opacity: .45; transition: all .35s ease; }
.lp-list li.on { opacity: 1; background: rgba(61,123,255,.14); border-color: rgba(111,155,255,.5); }
.lp-list h3 { font: 700 19px/1.2 var(--font-head); margin: 0 0 4px; }
.lp-list p { color: rgba(245,244,239,.72); font-size: 15px; }

@media (max-width: 860px) {
  .vcard { grid-template-columns: 1fr; min-height: 0; top: calc(var(--topbar) + 16px + var(--i) * 12px); }
  .vc-art { aspect-ratio: 16 / 9; }
  .vc-text p { font-size: 16px; }
  .lp-pin { grid-template-columns: 1fr; grid-template-rows: auto auto; align-content: center; gap: 18px; padding: calc(var(--topbar) + 12px) 18px 20px; }
  .lp-figure { width: min(250px, 58vw); }
  .lp-st { font-size: 11px; padding: 6px 9px; }
  .lp-copy h2 { font-size: 26px; margin-bottom: 12px; }
  .lp-lead { font-size: 13px; line-height: 1.4; margin: -4px 0 10px; }
  .lp-list { gap: 6px; }
  .lp-list li { padding: 9px 12px; }
  .lp-list li:not(.on) p { display: none; }
  .lp-list h3 { font-size: 16px; }
  .lp-list p { font-size: 13.5px; }
  .mf-pin { padding: calc(var(--topbar) + 16px) 22px 32px; }
}
@media (prefers-reduced-motion: reduce) {
  .vc-art *, .click-ring { animation: none !important; }
  .mf-text span { color: var(--cream); }
  .vcard { position: relative; top: auto; }
  .lp-pin { height: auto; }
}
