/* =============================================
   PORTOFOLIU — Teme deja realizate
   • Desktop (≥1024px): scroll orizontal fixat (GSAP ScrollTrigger), skew după viteză, tilt 3D, cursor.
   • Sub 1024px: carusel 3D DepthCarousel peste cardurile .pf-card (clasa .is-carousel pe secțiune,
     adăugată de js/portfolio.js), carduri mari, în format portret.
   • Mockup-urile sunt dimensionate în cqw. Când ecranul mockup-ului e în format portret
     (card de telefon sau studiul de caz pe telefon), fiecare mini-site trece pe un layout de mobil
     prin container queries pe orientare — același markup, doar CSS.
   ============================================= */

.pf {
  --pf-gutter: max(clamp(1rem, 4vw, 2rem), calc((100vw - var(--container-max)) / 2 + clamp(1rem, 4vw, 2rem)));
  --pf-card-w: min(84vw, 560px);
  --pf-radius: clamp(10px, 1.1vw, 16px);
  --pf-ease: cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
  padding: var(--section-padding) 0;
  overflow: hidden;
  isolation: isolate;
}

@media (min-width: 1024px) {
  .pf { --pf-card-w: min(46vw, 640px); }
  .pf.is-pinned { --pf-card-w: min(58vw, calc((100vh - 25rem) * 1.6)); padding: 0; }
  @supports (height: 100svh) {
    .pf.is-pinned { --pf-card-w: min(58vw, calc((100svh - 25rem) * 1.6)); }
  }
  .pf.is-pinned .pf-sub { display: none; }
  .pf.is-pinned .pf-kicker { margin-bottom: 0.6rem; }
  .pf.is-pinned .pf-title { font-size: clamp(2.2rem, 3.9vw, 3.6rem); }
}

/* Sub 1024px: carduri mari. Portret = mini-site-urile trec pe layout de mobil. */
@media (max-width: 1023.98px) and (orientation: portrait) {
  .pf { --pf-card-w: min(86vw, 420px); --pf-radius: 16px; }
  .pf .pf-shot { aspect-ratio: 4 / 5; }
}
@media (min-width: 600px) and (max-width: 1023.98px) and (orientation: portrait) {
  .pf { --pf-card-w: min(60vw, 480px); }
}
@media (max-width: 1023.98px) and (orientation: landscape) {
  .pf { --pf-card-w: min(62vw, 620px); }
  @supports (height: 100svh) {
    .pf { --pf-card-w: min(62vw, 620px, calc((100svh - 12rem) * 1.6)); }
  }
}

.pf-pin {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: clamp(1.5rem, 3.5vh, 2.75rem);
}

/* fixarea pe PC: .pf-pin lipit (sticky) într-o secțiune înaltă cât „ecran + pista” (js/portfolio.js);
   overflow: clip (nu hidden) — un părinte cu overflow: hidden ar opri lipirea */
.pf.is-pinned { overflow: visible; overflow: clip; }
.pf.is-pinned .pf-pin {
  position: sticky;
  top: 0;
  height: 100vh;
  padding: 6rem 0 clamp(1.25rem, 3vh, 2rem);
  gap: clamp(1.25rem, 3vh, 2.25rem);
}
@supports (height: 100svh) {
  .pf.is-pinned .pf-pin { height: 100svh; }
}

.pf-bgword {
  position: absolute;
  z-index: 0;
  left: 4vw;
  top: 50%;
  margin-top: -0.5em;
  font: 700 clamp(8rem, 21vw, 22rem)/1 var(--font-display);
  letter-spacing: -0.05em;
  white-space: nowrap;
  color: transparent;
  -webkit-text-stroke: 1px rgba(255, 255, 255, 0.055);
  pointer-events: none;
  user-select: none;
  display: none;
}
.pf.is-pinned .pf-bgword { display: block; }

/* ---------- Header ---------- */
.pf-head {
  width: 100%;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1.5rem 2rem;
  flex-wrap: wrap;
}
.pf-head-text { min-width: 0; }

.pf-kicker {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1rem;
  font: 500 0.78rem/1 var(--font-body);
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--accent-secondary);
}
.pf-kicker::before {
  content: '';
  width: 2rem;
  height: 1px;
  background: currentColor;
}

.pf-title {
  font: 700 clamp(2.3rem, 5.2vw, 4.4rem)/0.98 var(--font-display);
  letter-spacing: -0.035em;
  color: var(--text-primary);
}
/* Accentul din titlu: Space Grotesk cu gradientul de accent (fără al treilea font). */
.pf-title em,
.pf-end h3 em {
  font-family: var(--font-display);
  font-weight: 700;
  font-style: normal;
  letter-spacing: -0.045em;
  padding-right: 0.06em;
  background: linear-gradient(100deg, var(--nv-acc-hi) 0%, var(--accent-primary) 38%, var(--accent-secondary) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  -webkit-box-decoration-break: clone;
  box-decoration-break: clone;
}

.pf-sub {
  max-width: 34rem;
  margin-top: 1rem;
  color: var(--text-secondary);
  font-size: clamp(0.95rem, 1.15vw, 1.05rem);
  line-height: 1.6;
}
/* conceptele sunt create de echipa Nova: nota rămâne vizibilă și când secțiunea e fixată pe desktop */
.pf-note {
  max-width: 40rem;
  margin-top: 0.6rem;
  color: var(--text-muted);
  font-size: 0.75rem;
  line-height: 1.55;
}
@media (min-width: 1024px) {
  .pf.is-pinned .pf-note { max-width: 56rem; margin-top: 0.3rem; }
}

.pf-filters {
  position: relative;
  display: flex;
  gap: 0.2rem;
  padding: 0.3rem;
  max-width: 100%;
  overflow-x: auto;
  overscroll-behavior-x: contain;
  scrollbar-width: none;
  border: 1px solid var(--border-subtle);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.03);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
}
.pf-filters::-webkit-scrollbar { display: none; }

.pf-filter {
  position: relative;
  z-index: 1;
  flex: 0 0 auto;
  min-height: 44px;
  padding: 0.55rem 1.1rem;
  border-radius: 999px;
  font: 500 0.85rem/1 var(--font-body);
  color: var(--text-secondary);
  white-space: nowrap;
  transition: color 0.3s var(--pf-ease);
}
.pf-filter:hover { color: var(--text-primary); }
.pf-filter.is-active { color: var(--nv-tx); }
.pf-filter:focus-visible { outline: 2px solid var(--accent-secondary); outline-offset: -2px; }
.pf:not(.js) .pf-filter.is-active { background: var(--accent-gradient); }

.pf-filter-ind {
  position: absolute;
  z-index: 0;
  top: 0.3rem;
  bottom: 0.3rem;
  left: 0;
  width: 0;
  border-radius: 999px;
  background: var(--accent-gradient);
  box-shadow: 0 6px 24px rgba(var(--nv-acc-rgb), 0.35);
}

/* ---------- Track (desktop / fallback nativ) ---------- */
.pf-track {
  display: flex;
  align-items: flex-start;
  gap: clamp(1.25rem, 3vw, 3.25rem);
  padding: 0.75rem var(--pf-gutter) 1rem;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-padding-inline: var(--pf-gutter);
  scrollbar-width: none;
  overscroll-behavior-x: contain;
  -webkit-overflow-scrolling: touch;
}
.pf-track::-webkit-scrollbar { display: none; }
.pf-track.is-dragging { scroll-snap-type: none; cursor: grabbing; user-select: none; }
.pf-track.is-dragging .pf-card { pointer-events: none; }

.pf.is-pinned .pf-track {
  width: max-content;
  overflow: visible;
  scroll-snap-type: none;
  will-change: transform;
}

/* ---------- Card ---------- */
.pf-card {
  position: relative;
  flex: 0 0 auto;
  width: var(--pf-card-w);
  scroll-snap-align: start;
  cursor: pointer;
  outline: none;
  -webkit-tap-highlight-color: transparent;
}
.pf-card.is-hidden { display: none; }
.pf.has-cursor .pf-card { cursor: none; }

.pf-shot {
  position: relative;
  aspect-ratio: 16 / 10;
  border-radius: var(--pf-radius);
  transition: transform 0.7s var(--pf-ease);
}
.pf-shot::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  border: 1px dashed rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.015);
}
.pf-card:focus-visible .pf-shot { outline: 2px solid var(--accent-secondary); outline-offset: 6px; }
@media (hover: hover) and (pointer: fine) {
  .pf-card:hover .pf-shot { transform: translateY(-8px); }
}

.pf-frame {
  position: relative;
  z-index: 1;
  width: 100%;
  height: 100%;
}

.pf-tilt {
  position: relative;
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border-radius: var(--pf-radius);
  background: #0d0d14;
  border: 1px solid rgba(255, 255, 255, 0.09);
  box-shadow:
    0 40px 80px -30px rgba(0, 0, 0, 0.85),
    0 18px 36px -18px rgba(0, 0, 0, 0.6);
  container: pf-tilt / size;
  -webkit-mask-image: -webkit-radial-gradient(white, black);
}
@media (hover: hover) and (pointer: fine) {
  .pf-tilt { transition: box-shadow 0.6s var(--pf-ease); }
  .pf-card:hover .pf-tilt {
    box-shadow:
      0 60px 100px -30px rgba(0, 0, 0, 0.9),
      0 0 0 1px rgba(var(--nv-acc-rgb), 0.25),
      0 30px 80px -40px rgba(var(--nv-acc-rgb), 0.55);
  }
}
.pf-case-stage .pf-tilt {
  box-shadow: 0 80px 160px -40px rgba(0, 0, 0, 0.95), 0 0 0 1px rgba(255, 255, 255, 0.08);
}

.pf-chrome {
  flex: 0 0 auto;
  height: 2.8cqw;
  display: flex;
  align-items: center;
  gap: 0.55cqw;
  padding: 0 1.2cqw;
  background: #17171f;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}
.pf-chrome i { flex: 0 0 auto; width: 0.8cqw; height: 0.8cqw; border-radius: 50%; background: #ff5f57; }
.pf-chrome i:nth-child(2) { background: #febc2e; }
.pf-chrome i:nth-child(3) { background: #28c840; }
.pf-chrome span {
  --lock-x: 1.5cqw;
  position: relative;
  min-width: 0;
  margin: 0 auto;
  transform: translateX(-2.4cqw);
  padding: 0.45cqw 2.4cqw 0.45cqw 3.4cqw;
  border-radius: 0.6cqw;
  background: rgba(255, 255, 255, 0.05);
  font: 500 1.05cqw/1 var(--font-body);
  color: rgba(255, 255, 255, 0.55);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
/* lacăt desenat din CSS (fără emoji) */
.pf-chrome span::before,
.pf-chrome span::after {
  content: '';
  position: absolute;
  top: 50%;
  box-sizing: border-box;
  opacity: 0.75;
}
.pf-chrome span::before {
  left: var(--lock-x);
  width: 0.7em;
  height: 0.54em;
  margin-top: -0.14em;
  border-radius: 0.12em;
  background: currentColor;
}
.pf-chrome span::after {
  left: calc(var(--lock-x) + 0.14em);
  width: 0.42em;
  height: 0.46em;
  margin-top: -0.5em;
  border: 0.1em solid currentColor;
  border-bottom: 0;
  border-radius: 0.3em 0.3em 0 0;
}

.pf-glare {
  position: absolute;
  inset: 0;
  z-index: 5;
  pointer-events: none;
  /* o rază fină și moale (alfa ≤ .05): înainte, un disc alb de .16 care urma cursorul lumina o jumătate a ecranului */
  background: radial-gradient(circle at var(--gx, 50%) var(--gy, 0%), rgba(255, 255, 255, 0.05), transparent 62%);
  opacity: 0;
  transition: opacity 0.5s ease;
}
@media (hover: hover) and (pointer: fine) {
  .pf-card:hover .pf-glare { opacity: 1; }
}

/* Meta */
.pf-meta {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 0.3rem 1rem;
  padding-top: 1.15rem;
}
.pf-num {
  font: 500 0.8rem/1 var(--font-display);
  color: var(--text-muted);
  font-variant-numeric: tabular-nums;
}
.pf-meta h3 {
  font: 700 clamp(1.15rem, 1.5vw, 1.45rem)/1.15 var(--font-display);
  letter-spacing: -0.02em;
  color: var(--text-primary);
}
.pf-meta h3::after {
  content: ' ↗';
  display: inline-block;
  color: var(--accent-secondary);
  opacity: 0;
  transform: translate(-6px, 4px);
  transition: opacity 0.4s var(--pf-ease), transform 0.4s var(--pf-ease);
}
.pf-card:focus-visible .pf-meta h3::after { opacity: 1; transform: none; }
@media (hover: hover) and (pointer: fine) {
  .pf-card:hover .pf-meta h3::after { opacity: 1; transform: none; }
}
.pf-meta p {
  grid-column: 2 / 4;
  color: var(--text-secondary);
  font-size: 0.9rem;
  line-height: 1.5;
}
.pf-tag {
  padding: 0.42rem 0.75rem;
  border: 1px solid var(--border-subtle);
  border-radius: 999px;
  font: 500 0.68rem/1 var(--font-body);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-secondary);
  white-space: nowrap;
}

@media (min-width: 1024px) and (max-height: 820px) {
  .pf.is-pinned .pf-meta p { display: none; }
}

/* End card */
.pf-end {
  flex: 0 0 auto;
  width: min(84vw, 440px);
  height: calc(var(--pf-card-w) * 0.625);
  min-height: 300px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  gap: 1rem;
  padding: clamp(1.75rem, 3vw, 2.75rem);
  border-radius: var(--pf-radius);
  border: 1px solid var(--border-subtle);
  background:
    radial-gradient(120% 90% at 0% 0%, rgba(var(--nv-acc-rgb), 0.2), transparent 60%),
    radial-gradient(90% 70% at 100% 100%, rgba(var(--nv-acc2-rgb), 0.12), transparent 60%),
    rgba(255, 255, 255, 0.02);
  scroll-snap-align: start;
}
.pf-end .pf-kicker { margin-bottom: 0; }
.pf-end h3 {
  font: 700 clamp(1.8rem, 2.8vw, 2.6rem)/1.02 var(--font-display);
  letter-spacing: -0.03em;
}
.pf-end-sub { color: var(--text-secondary); font-size: 0.95rem; line-height: 1.55; max-width: 22rem; }
.pf-end .btn-primary { margin-top: 0.5rem; min-height: 44px; }

/* Footer */
.pf-foot {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 1.5rem;
}
.pf-count {
  font: 500 0.85rem/1 var(--font-display);
  color: var(--text-muted);
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}
.pf-count b { color: var(--text-primary); font-weight: 700; }
.pf-progress {
  flex: 1;
  height: 2px;
  border-radius: 2px;
  background: rgba(255, 255, 255, 0.08);
  overflow: hidden;
}
.pf-progress span {
  display: block;
  height: 100%;
  background: var(--accent-gradient);
  transform-origin: left center;
  transform: scaleX(0);
}
.pf-hint { font-size: 0.8rem; color: var(--text-muted); white-space: nowrap; }
.pf-hint-desk { display: none; }
.pf.is-pinned .pf-hint-desk { display: inline; }
.pf.is-pinned .pf-hint-touch { display: none; }
.pf-nav { display: none; }

/* Cursor follower */
.pf-cursor {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 9000;
  width: 104px;
  height: 104px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: #fff;
  color: var(--nv-bg);
  font: 700 0.78rem/1.15 var(--font-display);
  text-align: center;
  letter-spacing: 0.01em;
  pointer-events: none;
  transform: scale(0);
  box-shadow: 0 10px 40px rgba(var(--nv-acc-rgb), 0.35);
}
@media (hover: none), (pointer: coarse) {
  .pf-cursor { display: none; }
}

@media (max-width: 640px) {
  .pf-head { align-items: flex-start; }
  .pf-filters {
    margin-inline: calc(-1 * clamp(1rem, 4vw, 2rem));
    max-width: none;
    width: calc(100% + 2 * clamp(1rem, 4vw, 2rem));
    border-radius: 0;
    border-inline: 0;
    padding-inline: clamp(1rem, 4vw, 2rem) 4rem;
    /* estompare lată la dreapta: se vede că lista de filtre continuă */
    -webkit-mask-image: linear-gradient(90deg, transparent, #000 1rem, #000 calc(100% - 4.5rem), rgba(0, 0, 0, .35) calc(100% - 2rem), transparent);
    mask-image: linear-gradient(90deg, transparent, #000 1rem, #000 calc(100% - 4.5rem), rgba(0, 0, 0, .35) calc(100% - 2rem), transparent);
  }
  .pf-meta { grid-template-columns: auto 1fr; }
  .pf-tag { grid-column: 2; justify-self: start; order: 3; }
  .pf-meta p { grid-column: 2; order: 4; }
  .pf-hint { display: none; }
}

/* =============================================
   CARUSEL 3D (sub 1024px) — DepthCarousel pe #pfTrack
   ============================================= */
.pf.is-carousel .pf-track {
  display: block;
  overflow: visible;
  padding: 0;
  margin-top: 0.25rem;
  scroll-snap-type: none;
  perspective: 1100px;
  perspective-origin: 50% 42%;
}
/* fundal propriu (ca la Modele): grila/poliedrul fix din hero nu mai trece prin mockup-uri, contor și CTA;
   marginea de jos se topește în secțiunea următoare, fără cusătură */
.pf.is-carousel {
  background:
    radial-gradient(80% 42% at 50% 40%, rgba(var(--nv-acc-rgb), 0.11), transparent 72%),
    radial-gradient(60% 30% at 50% 78%, rgba(var(--nv-acc2-rgb), 0.05), transparent 70%),
    linear-gradient(180deg, var(--bg-primary) 0%, var(--bg-primary) calc(100% - 140px), rgba(var(--nv-bg-rgb), 0) 100%);
}

/* focus: inelul stă pe cardul activ, nu pe toată banda (care e cât ecranul) */
.pf.is-carousel .pf-track:focus-visible { outline: none; }
.pf.is-carousel .pf-track:focus-visible .pf-card.is-active .pf-shot {
  outline: 2px solid var(--accent-secondary);
  outline-offset: 6px;
}
.pf.is-carousel .pf-card {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  margin-inline: auto;
  scroll-snap-align: none;
}

/* strat de estompare (opacitatea vine din motor, după distanța față de centru) */
.pf-dim {
  position: absolute;
  inset: 0;
  z-index: 2;
  border-radius: var(--pf-radius);
  pointer-events: none;
  opacity: 0;
  background: linear-gradient(180deg, rgba(var(--nv-bg-rgb), 0.3), rgba(var(--nv-bg-rgb), 0.72));
}

/* "vedeta" ecranului: halo violet-cyan care apare doar pe cardul activ (opacitate, nu box-shadow animat) */
.pf.is-carousel .pf-frame::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  border-radius: var(--pf-radius);
  box-shadow:
    0 0 0 1px rgba(var(--nv-acc-rgb), 0.35),
    0 18px 50px -18px rgba(var(--nv-acc-rgb), 0.55),
    0 30px 90px -40px rgba(var(--nv-acc2-rgb), 0.45);
  opacity: 0;
  transition: opacity 0.6s var(--pf-ease);
}
.pf.is-carousel .pf-card.is-active .pf-frame::before { opacity: 1; }

/* apăsare tactilă: cardul "se lasă" ușor cât timp e tras */
.pf.is-carousel .pf-shot { transition: transform 0.45s var(--pf-ease); }
.pf.is-carousel .pf-track.is-dragging .pf-shot { transform: scale(0.975); }

/* invitație de deschidere pe cardul activ */
.pf.is-carousel .pf-shot::after {
  content: 'Deschide proiectul  ↗';
  position: absolute;
  left: 50%;
  bottom: 0;
  z-index: 3;
  display: inline-flex;
  align-items: center;
  height: 36px;
  padding: 0 16px 0 18px;
  border-radius: 999px;
  border: 1px solid transparent;
  background:
    linear-gradient(var(--nv-card), var(--nv-card)) padding-box,
    var(--accent-gradient) border-box;
  box-shadow: 0 10px 30px -10px rgba(0, 0, 0, 0.8), 0 8px 24px -12px rgba(var(--nv-acc-rgb), 0.6);
  font: 600 0.78rem/1 var(--font-body);
  letter-spacing: 0.01em;
  color: var(--nv-tx);
  white-space: pre;
  pointer-events: none;
  opacity: 0;
  transform: translate(-50%, 50%) scale(0.88);
  transition: opacity 0.3s ease, transform 0.5s var(--pf-ease);
}
.pf.is-carousel .pf-card.is-active .pf-shot::after { opacity: 1; transform: translate(-50%, 50%) scale(1); }
.pf.is-carousel .pf-track.is-moving .pf-card .pf-shot::after { opacity: 0; transform: translate(-50%, 50%) scale(0.88); transition-duration: 0.15s; }

/* meta centrat sub card */
.pf.is-carousel .pf-meta {
  grid-template-columns: auto auto;
  justify-content: center;
  align-items: center;
  gap: 0.55rem 0.6rem;
  padding-top: 2rem;
  text-align: center;
  transition: opacity 0.35s var(--pf-ease);
}
/* doar legenda cardului activ e vizibilă: vecinii nu mai arată fragmente rotite tăiate de marginea ecranului
   și nu se suprapun cu legenda activă în timpul tranziției */
/* !important: animația de intrare (GSAP) scrie opacity inline pe toate legendele */
.pf.is-carousel .pf-card:not(.is-active) .pf-meta { opacity: 0 !important; transition-duration: 0.2s; }
.pf.is-carousel .pf-num { grid-row: 1; color: var(--accent-secondary); }
.pf.is-carousel .pf-tag { grid-row: 1; grid-column: auto; order: 0; justify-self: start; padding: 0.38rem 0.7rem; font-size: 0.72rem; letter-spacing: 0.1em; }
.pf.is-carousel .pf-meta h3 { grid-row: 2; grid-column: 1 / -1; font-size: clamp(1.3rem, 5.4vw, 1.6rem); }
.pf.is-carousel .pf-meta p {
  grid-row: 3;
  grid-column: 1 / -1;
  order: 0;
  max-width: 34ch;
  margin-inline: auto;
  font-size: 0.9rem;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* bara de jos: contor · progres · săgeți, indiciul tactil dedesubt */
.pf.is-carousel .pf-foot {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: 0.9rem 1rem;
}
.pf.is-carousel .pf-count { grid-row: 1; grid-column: 1; font-size: 0.95rem; }
.pf.is-carousel .pf-progress { grid-row: 1; grid-column: 2; }
.pf.is-carousel .pf-progress span { transition: transform 0.6s var(--pf-ease); }
.pf.is-carousel .pf-nav { grid-row: 1; grid-column: 3; display: flex; gap: 0.5rem; }
.pf-nav-btn {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.04);
  color: var(--text-primary);
  cursor: pointer;
  transition: background-color 0.25s ease, border-color 0.25s ease, transform 0.25s var(--pf-ease);
}
.pf-nav-btn svg { width: 20px; height: 20px; }
.pf-nav-btn:active { transform: scale(0.92); }
.pf-nav-btn:disabled { opacity: 0.35; cursor: default; transform: none; }
.pf.is-carousel.pf-single .pf-hint { visibility: hidden; }
.pf-nav-btn:focus-visible { outline: 2px solid var(--accent-secondary); outline-offset: 3px; }
@media (hover: hover) and (pointer: fine) {
  .pf-nav-btn:hover { background: rgba(var(--nv-acc-rgb), 0.18); border-color: rgba(var(--nv-acc-rgb), 0.5); }
}

.pf.is-carousel .pf-hint {
  position: relative;
  grid-row: 2;
  grid-column: 1 / -1;
  justify-self: center;
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.8rem;
  color: var(--text-secondary);
  transition: opacity 0.5s ease, transform 0.5s var(--pf-ease);
}
.pf.is-carousel .pf-hint-desk { display: none; }
.pf.is-carousel .pf-hint-touch { display: inline; }
/* pastila (::before) + punctul care alunecă (::after, animat doar prin transform) */
.pf.is-carousel .pf-hint::before {
  content: '';
  flex: 0 0 auto;
  width: 30px;
  height: 16px;
  box-sizing: border-box;
  border-radius: 99px;
  border: 1.5px solid rgba(255, 255, 255, 0.28);
}
.pf.is-carousel .pf-hint::after {
  content: '';
  position: absolute;
  left: 6px;
  top: 50%;
  width: 6px;
  height: 6px;
  margin-top: -3px;
  border-radius: 50%;
  background: var(--accent-secondary);
  box-shadow: 0 0 8px rgba(var(--nv-acc2-rgb), 0.6);
  animation: pfSwipe 2.2s cubic-bezier(0.45, 0, 0.55, 1) infinite;
}
.pf.is-carousel .pf-hint.is-hidden { opacity: 0; transform: translateY(4px); pointer-events: none; }
.pf.is-carousel .pf-hint.is-hidden::after { animation: none; }
@keyframes pfSwipe {
  0%, 100% { transform: translateX(0); }
  50% { transform: translateX(12px); }
}

/* text doar pentru cititoarele de ecran (anunțul temei curente) */
.pf-sr {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}

/* CTA-ul de final stă sub carusel pe telefon/tabletă */
.pf.is-carousel .pf-end {
  width: min(100% - 2 * clamp(1rem, 4vw, 2rem), 560px);
  height: auto;
  min-height: 0;
  margin: 0.5rem auto 0;
  padding: 1.75rem 1.5rem;
  align-items: center;
  text-align: center;
  gap: 0.85rem;
}
.pf.is-carousel .pf-end h3 { font-size: clamp(1.6rem, 6.4vw, 2.2rem); }
.pf.is-carousel .pf-end-sub { max-width: 30ch; }

@media (prefers-reduced-motion: reduce) {
  .pf.is-carousel .pf-hint::after { animation: none; transform: translateX(6px); }
  .pf.is-carousel .pf-shot,
  .pf.is-carousel .pf-shot::after,
  .pf.is-carousel .pf-frame::before,
  .pf.is-carousel .pf-meta { transition: none; }
}

/* telefon în landscape (înălțime mică): cardul se dimensionează după înălțimea ecranului, legenda e compactă,
   astfel încât card + titlu încap sub antetul fix */
@media (max-width: 1023.98px) and (orientation: landscape) and (max-height: 500px) {
  .pf { --pf-card-w: min(62vw, 560px, calc((100vh - 190px) * 1.6)); }
  @supports (height: 100svh) {
    .pf { --pf-card-w: min(62vw, 560px, calc((100svh - 190px) * 1.6)); }
  }
  .pf.is-carousel .pf-meta { padding-top: 1.35rem; gap: 0.4rem 0.6rem; }
  .pf.is-carousel .pf-meta p { display: none; }
  .pf.is-carousel .pf-meta h3 { font-size: 1.2rem; }
  .pf.is-carousel .pf-shot::after { height: 32px; font-size: 0.74rem; }
}

/* ---------- Case study overlay ---------- */
.pf-case {
  position: fixed;
  inset: 0;
  z-index: 20000;
  visibility: hidden;
  pointer-events: none;
}
.pf-case.is-open { visibility: visible; pointer-events: auto; }

.pf-case-bg {
  position: absolute;
  inset: 0;
  opacity: 0;
  background:
    radial-gradient(60% 50% at 30% 40%, rgba(var(--nv-acc-rgb), 0.14), transparent 70%),
    rgba(6, 6, 10, 0.95);
  /* fără backdrop-filter: stratul acoperă tot ecranul și se estompează animat (blur recalculat la fiecare cadru) */
}
.pf-case.is-open .pf-case-bg { opacity: 1; }

.pf-case-close {
  position: absolute;
  top: 1.25rem;
  right: 1.25rem;
  z-index: 3;
  width: 52px;
  height: 52px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: rgba(255, 255, 255, 0.05);
  color: var(--nv-tx);
  transition: background-color 0.3s ease, transform 0.6s var(--pf-ease);
}
.pf-case-close:hover { background: rgba(255, 255, 255, 0.14); transform: rotate(90deg); }
.pf-case-close:focus-visible { outline: 2px solid var(--accent-secondary); outline-offset: 3px; }

.pf-case-inner {
  position: relative;
  z-index: 1;
  height: 100%;
  max-width: 1680px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(300px, 380px);
  align-items: center;
  gap: clamp(2rem, 4vw, 4.5rem);
  padding: clamp(4.5rem, 9vh, 6rem) clamp(1.5rem, 4vw, 4.5rem);
}

.pf-case-stage {
  position: relative;
  justify-self: center;
  width: min(100%, 1000px);
  aspect-ratio: 16 / 10;
}
@supports (height: 100svh) {
  .pf-case-stage { width: min(100%, calc((100svh - 10rem) * 1.6)); }
}
.pf-case-stage .pf-frame { --pf-radius: 18px; }

.pf-case-info { display: flex; flex-direction: column; align-items: flex-start; gap: 1.1rem; }
.pf-case-tag {
  padding: 0.45rem 0.8rem;
  border-radius: 999px;
  border: 1px solid rgba(var(--nv-acc2-rgb), 0.35);
  background: rgba(var(--nv-acc2-rgb), 0.08);
  color: var(--accent-secondary);
  font: 500 0.7rem/1 var(--font-body);
  letter-spacing: 0.16em;
  text-transform: uppercase;
}
.pf-case-info h2 {
  font: 700 clamp(2rem, 3.4vw, 3.2rem)/1 var(--font-display);
  letter-spacing: -0.035em;
}
.pf-case-url {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  margin-top: -0.4rem;
  font-size: 0.85rem;
  color: var(--text-secondary);
}
.pf-case-url:empty { display: none; }
.pf-case-url::before {
  content: '';
  flex: 0 0 auto;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--accent-gradient);
  box-shadow: 0 0 10px rgba(var(--nv-acc2-rgb), 0.6);
}
.pf-case-desc { color: var(--text-secondary); line-height: 1.65; font-size: 0.98rem; }
.pf-case-stat {
  width: 100%;
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 0.35rem 0.85rem;
  padding: 1rem 0;
  border-top: 1px solid var(--border-subtle);
  border-bottom: 1px solid var(--border-subtle);
}
.pf-case-stat b {
  font: 700 2.4rem/1 var(--font-display);
  letter-spacing: -0.03em;
  background: var(--accent-gradient);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.pf-case-stat span { color: var(--text-secondary); font-size: 0.9rem; }
.pf-case-tech { display: flex; flex-wrap: wrap; gap: 0.45rem; }
.pf-case-tech span {
  padding: 0.4rem 0.75rem;
  border-radius: 999px;
  border: 1px solid var(--border-subtle);
  background: rgba(255, 255, 255, 0.03);
  font-size: 0.78rem;
  color: var(--text-primary);
}
.pf-case-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem; margin-top: 0.5rem; }
.pf-case-actions .btn-primary { min-height: 44px; }
.pf-case-pkg { font-size: 0.8rem; color: var(--text-muted); }

@media (max-width: 1023.98px) {
  .pf-case-inner {
    grid-template-columns: minmax(0, 1fr);
    justify-items: center;
    align-items: start;
    align-content: start;
    overflow-y: auto;
    overscroll-behavior: contain;
    -webkit-overflow-scrolling: touch;
    padding: 5rem 1rem calc(3rem + env(safe-area-inset-bottom, 0px));
    gap: 1.75rem;
  }
  .pf-case-stage { width: 100%; }
  .pf-case-info { width: 100%; max-width: 560px; }
  /* sticlă închisă: butonul rămâne vizibil și când mockup-ul deschis la culoare (FlowStack, LuminaForm…) trece pe sub el */
  .pf-case-close {
    top: max(0.9rem, env(safe-area-inset-top, 0px));
    right: max(0.9rem, env(safe-area-inset-right, 0px));
    width: 48px;
    height: 48px;
    background: rgba(var(--nv-bg-rgb), 0.74);
    border-color: rgba(255, 255, 255, 0.24);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.45), 0 0 0 1px rgba(var(--nv-acc-rgb), 0.18);
    -webkit-backdrop-filter: blur(12px);
    backdrop-filter: blur(12px);
  }
  .pf-case-close:hover { background: rgba(22, 22, 32, 0.86); }
  .pf-case-info h2 { font-size: 2rem; }
  .pf-case-stat b { font-size: 2rem; }
}
/* pe telefon/tabletă portret, scena studiului de caz are același format ca și cardul */
@media (max-width: 1023.98px) and (orientation: portrait) {
  .pf-case-stage { width: min(100%, 440px); aspect-ratio: 4 / 5; }
}
@media (min-width: 600px) and (max-width: 1023.98px) and (orientation: portrait) {
  .pf-case-stage { width: min(100%, 520px); }
}
@media (max-width: 1023.98px) and (orientation: landscape) {
  .pf-case-stage { width: min(100%, 720px); }
}

/* =============================================
   MINI-SITE-URI — conținut comun
   ============================================= */
.pf-screen {
  position: relative;
  flex: 1;
  min-height: 0;
  overflow: hidden;
  container: pf-screen / size;
  font-family: var(--font-body);
  line-height: 1.2;
  text-align: left;
  color: var(--nv-tx);
  text-shadow: none;
  user-select: none;
  -webkit-user-select: none;
}
.pf-screen .pf-h, .pf-screen h5, .pf-screen p { margin: 0; }
.pf-screen em, .pf-screen i { font-style: normal; }

/* animațiile rulează doar pentru cardurile vizibile */
.pf-card:not(.is-live) .pf-screen *,
.pf-card:not(.is-live) .pf-screen *::before,
.pf-card:not(.is-live) .pf-screen *::after { animation-play-state: paused !important; }

@media (prefers-reduced-motion: reduce) {
  .pf-screen *, .pf-screen *::before, .pf-screen *::after { animation: none !important; }
}

/* ---------- 01 AutoVault ---------- */
.s-auto {
  background: radial-gradient(62cqw 40cqw at 70% 72%, #262b36 0%, #0c0e13 60%, #07080b 100%);
  color: #f3f4f6;
}
.a-nav {
  position: absolute; top: 0; left: 0; right: 0; height: 6cqw;
  display: flex; align-items: center; gap: 2.6cqw; padding: 0 4cqw;
  font: 500 1.1cqw/1 var(--font-body); color: rgba(255, 255, 255, 0.6);
}
.a-nav b { margin-right: auto; font: 700 1.55cqw/1 var(--font-display); letter-spacing: 0.3em; color: var(--nv-tx); }
.a-nav b i { color: #e11d48; }
.a-nav em { color: var(--nv-tx); border: 1px solid rgba(255, 255, 255, 0.3); padding: 0.9cqw 1.6cqw; border-radius: 3cqw; }
.a-copy { position: absolute; left: 4cqw; top: 10.5cqw; width: 36cqw; z-index: 2; }
.a-copy small { display: block; margin-bottom: 1.6cqw; font: 500 1cqw/1 var(--font-body); letter-spacing: 0.3em; text-transform: uppercase; color: #e11d48; }
.a-copy .pf-h { font: 700 4.3cqw/1.02 var(--font-display); letter-spacing: -0.035em; }
.a-copy .pf-h span { color: rgba(255, 255, 255, 0.38); }
.a-specs { display: flex; gap: 2.6cqw; margin-top: 2.8cqw; padding-top: 2cqw; border-top: 1px solid rgba(255, 255, 255, 0.12); }
.a-specs b { display: block; margin-bottom: 0.4cqw; font: 700 2.2cqw/1 var(--font-display); }
.a-specs span { font: 400 0.95cqw/1.2 var(--font-body); color: rgba(255, 255, 255, 0.5); }
.a-price { margin-top: 2.6cqw; font: 400 1.1cqw/1 var(--font-body); color: rgba(255, 255, 255, 0.55); }
.a-price b { margin-left: 0.5cqw; font: 700 2cqw/1 var(--font-display); color: var(--nv-tx); }
.a-stage { position: absolute; right: -1cqw; bottom: 8cqw; width: 60cqw; height: 30cqw; }
.a-floor {
  position: absolute; left: 6%; right: 2%; bottom: -2.5cqw; height: 9cqw; border-radius: 50%;
  background: radial-gradient(closest-side, rgba(255, 255, 255, 0.16), transparent);
  box-shadow: 0 0 0 0.15cqw rgba(255, 255, 255, 0.06);
}
.a-car { position: absolute; left: 0; bottom: 0; width: 100%; height: auto; overflow: visible; }
.a-paint { fill: #c1121f; animation: aPaint 12s infinite; }
.a-sheen { animation: aSheen 4s cubic-bezier(0.6, 0, 0.2, 1) infinite; }
@keyframes aPaint {
  0%, 22% { fill: #c1121f; }
  25%, 47% { fill: #cbd5e1; }
  50%, 72% { fill: #1d4ed8; }
  75%, 97% { fill: #1c1c22; }
  100% { fill: #c1121f; }
}
@keyframes aSheen { 0% { transform: translateX(0); } 70%, 100% { transform: translateX(600px); } }
.a-hud {
  position: absolute; left: 4cqw; bottom: 3.6cqw; display: flex; align-items: center; gap: 1cqw;
  font: 500 0.9cqw/1 var(--font-body); letter-spacing: 0.12em; text-transform: uppercase; color: rgba(255, 255, 255, 0.5);
}
.a-hud span {
  width: 3.6cqw; height: 3.6cqw; display: grid; place-items: center; border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.25); color: var(--nv-tx); font-size: 0.85cqw; letter-spacing: 0;
}
.a-swatches { position: absolute; right: 4cqw; bottom: 4cqw; display: flex; align-items: center; gap: 1.1cqw; }
.a-swatches em { margin-right: 0.6cqw; font: 500 0.95cqw/1 var(--font-body); color: rgba(255, 255, 255, 0.55); }
.a-swatches i { --ring: 0.25cqw; --ring-w: 0.15cqw; position: relative; width: 2cqw; height: 2cqw; border-radius: 50%; }
.a-swatches i::after {
  content: ''; position: absolute; inset: calc(-1 * (var(--ring) + var(--ring-w))); border-radius: 50%;
  border: var(--ring-w) solid #fff; opacity: 0; animation: aSw 12s infinite;
}
.a-swatches i:nth-of-type(1) { background: #c1121f; }
.a-swatches i:nth-of-type(2) { background: #cbd5e1; }
.a-swatches i:nth-of-type(3) { background: #1d4ed8; }
.a-swatches i:nth-of-type(4) { background: #1c1c22; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.25); }
.a-swatches i:nth-of-type(2)::after { animation-delay: 3s; }
.a-swatches i:nth-of-type(3)::after { animation-delay: 6s; }
.a-swatches i:nth-of-type(4)::after { animation-delay: 9s; }
@keyframes aSw {
  0%, 22% { opacity: 1; }
  25%, 100% { opacity: 0; }
}

/* ---------- 02 FlowStack (light) ---------- */
.s-flow {
  background:
    radial-gradient(55cqw 30cqw at 50% -4%, #e0e7ff 0%, transparent 70%),
    linear-gradient(#fbfbfe, #f1f2fa);
  color: #0f172a;
}
.f-nav {
  height: 6cqw; display: flex; align-items: center; gap: 2.4cqw; padding: 0 4cqw;
  font: 500 1.1cqw/1 var(--font-body); color: #475569;
}
.f-nav b { display: flex; align-items: center; gap: 0.7cqw; margin-right: auto; font: 700 1.5cqw/1 var(--font-display); letter-spacing: -0.02em; color: #0f172a; }
.f-nav b i { width: 1.8cqw; height: 1.8cqw; border-radius: 0.5cqw; background: conic-gradient(from 200deg, #6366f1, var(--nv-acc-hi), #ec4899, #6366f1); }
.f-nav em { padding: 0.9cqw 1.6cqw; border-radius: 0.8cqw; background: #0f172a; color: var(--nv-tx); }
.f-hero { display: flex; flex-direction: column; align-items: center; padding-top: 3cqw; text-align: center; }
.f-pill {
  display: inline-flex; align-items: center; gap: 0.8cqw;
  padding: 0.5cqw 1.3cqw 0.5cqw 0.5cqw; border-radius: 3cqw;
  background: #fff; border: 1px solid #e0e7ff; box-shadow: 0 0.4cqw 1.2cqw rgba(79, 70, 229, 0.08);
  font: 500 1cqw/1 var(--font-body); color: #4338ca; white-space: nowrap;
}
.f-pill i { padding: 0.45cqw 0.8cqw; border-radius: 2cqw; background: #4f46e5; color: var(--nv-tx); }
.f-pill b { font-variant-numeric: tabular-nums; }
.f-hero .pf-h { margin-top: 2cqw; font: 700 5cqw/1 var(--font-display); letter-spacing: -0.05em; }
.f-hero .pf-h span {
  background: linear-gradient(90deg, #4f46e5, var(--nv-acc-hi) 45%, #ec4899 70%, #4f46e5);
  background-size: 200% 100%;
  -webkit-background-clip: text; background-clip: text; color: transparent;
  animation: fGrad 6s ease-in-out infinite alternate;
}
@keyframes fGrad { to { background-position: 100% 0; } }
.f-hero p:not(.pf-h) { margin-top: 1.4cqw; font-size: 1.25cqw; color: #64748b; }
.f-cta { display: flex; gap: 1cqw; margin-top: 2cqw; font: 600 1.1cqw/1 var(--font-body); }
.f-cta em {
  padding: 1.1cqw 2cqw; border-radius: 0.9cqw; color: var(--nv-tx);
  background: linear-gradient(180deg, #6366f1, #4f46e5);
  box-shadow: 0 0.6cqw 1.8cqw rgba(79, 70, 229, 0.35), inset 0 1px 0 rgba(255, 255, 255, 0.25);
}
.f-cta u { padding: 1.1cqw 2cqw; border-radius: 0.9cqw; background: #fff; border: 1px solid #e2e8f0; color: #0f172a; text-decoration: none; }
.f-app {
  position: absolute; left: 12cqw; right: 12cqw; top: 36cqw; height: 34cqw;
  display: flex; overflow: hidden; border-radius: 1.2cqw;
  background: #fff; border: 1px solid #e2e8f0; box-shadow: 0 2cqw 5cqw rgba(15, 23, 42, 0.14);
  animation: fRise 5s ease-in-out infinite alternate;
}
@keyframes fRise { to { transform: translateY(-1.4cqw); } }
.f-side { width: 5cqw; display: flex; flex-direction: column; align-items: center; gap: 1.2cqw; padding-top: 1.6cqw; background: #f8fafc; border-right: 1px solid #eef2f7; }
.f-side i { width: 1.8cqw; height: 1.8cqw; border-radius: 0.5cqw; background: #e2e8f0; }
.f-side i:first-child { background: #4f46e5; }
.f-main { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 1.4cqw; padding: 1.8cqw; }
.f-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.2cqw; }
.f-card { display: flex; flex-direction: column; gap: 1cqw; padding: 1.2cqw; border: 1px solid #eef2f7; border-radius: 0.9cqw; font: 600 1.05cqw/1 var(--font-body); }
.f-card em { position: relative; height: 0.6cqw; overflow: hidden; border-radius: 1cqw; background: #eef2ff; }
.f-card em::after {
  content: ''; position: absolute; inset: 0 auto 0 0; width: var(--w); border-radius: inherit;
  background: linear-gradient(90deg, #6366f1, var(--nv-acc-hi));
  transform-origin: left; animation: fBar 3s cubic-bezier(0.2, 0.8, 0.2, 1) infinite alternate;
}
.f-card:nth-child(2) em::after { animation-delay: -1s; }
.f-card:nth-child(3) em::after { animation-delay: -2s; }
@keyframes fBar { from { transform: scaleX(0.35); } to { transform: scaleX(1); } }
.f-graph { flex: 1; min-height: 0; padding: 1cqw; border: 1px solid #eef2f7; border-radius: 0.9cqw; }
.f-graph svg { width: 100%; height: 100%; }
.f-graph path { fill: none; stroke: #6366f1; stroke-width: 2.5; vector-effect: non-scaling-stroke; }

/* ---------- 03 AnalyticsPro ---------- */
.s-dash { display: flex; background: #0b0d14; color: #e5e7eb; }
.d-side { width: 6cqw; display: flex; flex-direction: column; align-items: center; gap: 1.6cqw; padding-top: 2cqw; background: #0f121b; border-right: 1px solid rgba(255, 255, 255, 0.05); }
.d-side b { width: 2.8cqw; height: 2.8cqw; margin-bottom: 1cqw; display: grid; place-items: center; border-radius: 0.8cqw; background: linear-gradient(135deg, var(--nv-acc2), #6366f1); font: 700 1.3cqw/1 var(--font-display); color: var(--nv-tx); }
.d-side i { width: 2cqw; height: 2cqw; border-radius: 0.6cqw; background: rgba(255, 255, 255, 0.06); }
.d-side i.on { background: rgba(var(--nv-acc2-rgb), 0.18); box-shadow: inset 0 0 0 1px rgba(var(--nv-acc2-rgb), 0.5); }
.d-main { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 1.8cqw; padding: 2.2cqw 2.6cqw; }
.d-top { display: flex; align-items: center; gap: 1.2cqw; }
.d-top > div { margin-right: auto; }
.d-top small { display: block; font-size: 1cqw; color: #6b7280; }
.d-top .pf-h { margin-top: 0.3cqw; font: 700 2.1cqw/1.1 var(--font-display); letter-spacing: -0.02em; }
.d-live { display: flex; align-items: center; gap: 0.6cqw; padding: 0.6cqw 1cqw; border-radius: 2cqw; background: rgba(52, 211, 153, 0.1); font: 600 0.9cqw/1 var(--font-body); letter-spacing: 0.15em; color: #34d399; }
.d-live i { position: relative; width: 0.7cqw; height: 0.7cqw; border-radius: 50%; background: #34d399; }
.d-live i::after { content: ''; position: absolute; inset: 0; border-radius: 50%; background: #34d399; animation: dPulse 1.6s infinite; }
@keyframes dPulse { 0% { transform: scale(1); opacity: 0.6; } 100% { transform: scale(3.6); opacity: 0; } }
.d-range { padding: 0.7cqw 1.2cqw; border-radius: 0.7cqw; border: 1px solid rgba(255, 255, 255, 0.08); font-size: 1cqw; color: var(--nv-tx2); }
.d-kpis { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.2cqw; }
.d-kpis > div { padding: 1.4cqw; border-radius: 1cqw; background: #11141f; border: 1px solid rgba(255, 255, 255, 0.05); }
.d-kpis small { display: block; font-size: 0.95cqw; color: #6b7280; }
.d-kpis b { display: block; margin: 0.6cqw 0 0.5cqw; font: 700 2cqw/1.1 var(--font-display); font-variant-numeric: tabular-nums; white-space: nowrap; }
.d-kpis em { font-size: 0.9cqw; font-weight: 600; }
.d-kpis .up { color: #34d399; }
.d-kpis .down { color: #f87171; }
.d-grid { flex: 1; min-height: 0; display: grid; grid-template-columns: 2fr 1fr; gap: 1.2cqw; }
.d-chart, .d-bars { min-height: 0; display: flex; flex-direction: column; gap: 1cqw; padding: 1.4cqw; border-radius: 1cqw; background: #11141f; border: 1px solid rgba(255, 255, 255, 0.05); }
.d-bars { gap: 1.5cqw; }
.d-head { display: flex; align-items: center; justify-content: space-between; font-size: 1.05cqw; }
.d-head b { font-weight: 600; }
.d-head span { display: flex; align-items: center; gap: 0.6cqw; font-size: 0.9cqw; color: #6b7280; }
.d-head span i { width: 0.8cqw; height: 0.8cqw; border-radius: 0.2cqw; background: var(--nv-acc2); }
.d-head span i.b { margin-left: 0.6cqw; background: #4b5563; }
.d-chart svg { flex: 1; width: 100%; min-height: 0; overflow: visible; }
.d-gridlines { stroke: rgba(255, 255, 255, 0.05); stroke-width: 1; }
.d-prev { fill: none; stroke: #4b5563; stroke-width: 1.5; stroke-dasharray: 4 4; }
.d-area { fill: url(#pfDashFill); animation: dArea 6s infinite; }
.d-line { fill: none; stroke: var(--nv-acc2); stroke-width: 2.5; stroke-linecap: round; stroke-dasharray: 1; stroke-dashoffset: 1; animation: dDraw 6s cubic-bezier(0.6, 0, 0.2, 1) infinite; }
.d-dot { fill: var(--nv-acc2); stroke: #0b0d14; stroke-width: 2.5; animation: dDot 6s infinite; }
@keyframes dDraw { 0% { stroke-dashoffset: 1; } 45%, 100% { stroke-dashoffset: 0; } }
@keyframes dArea { 0%, 20% { opacity: 0; } 50%, 92% { opacity: 1; } 100% { opacity: 0; } }
@keyframes dDot { 0%, 38% { opacity: 0; } 45%, 94% { opacity: 1; } 100% { opacity: 0; } }
.d-bar { display: grid; grid-template-columns: 5.5cqw 1fr; align-items: center; gap: 0.8cqw; font-size: 0.95cqw; color: var(--nv-tx2); }
.d-bar i { position: relative; height: 0.9cqw; overflow: hidden; border-radius: 1cqw; background: rgba(255, 255, 255, 0.05); }
.d-bar i::after {
  content: ''; position: absolute; inset: 0 auto 0 0; width: var(--v); border-radius: inherit;
  background: linear-gradient(90deg, #6366f1, var(--nv-acc2));
  transform-origin: left; animation: dGrow 6s cubic-bezier(0.2, 0.8, 0.2, 1) infinite;
}
.d-bar:nth-child(3) i::after { animation-delay: 0.1s; }
.d-bar:nth-child(4) i::after { animation-delay: 0.2s; }
.d-bar:nth-child(5) i::after { animation-delay: 0.3s; }
@keyframes dGrow { 0% { transform: scaleX(0); } 35%, 100% { transform: scaleX(1); } }

/* ---------- 04 LuminaForm (editorial) ----------
   --u = unitatea scenei (1cqw pe desktop; mai mare pe layoutul de mobil) */
.s-lumina { background: #efe8de; color: #2b2622; }
.l-nav {
  height: 6.5cqw; display: flex; align-items: center; gap: 2.4cqw; padding: 0 4cqw;
  border-bottom: 1px solid rgba(43, 38, 34, 0.1);
  font: 500 1.05cqw/1 var(--font-body); color: #6b5f55;
}
.l-nav b { margin: 0 auto; padding-left: 0.3em; font: 500 1.9cqw/1 var(--font-display); letter-spacing: 0.3em; color: #2b2622; }
.l-nav em { color: #2b2622; }
.l-hero { display: grid; grid-template-columns: 1fr 1.1fr; height: 33cqw; }
.l-copy { padding: 4cqw 0 0 4cqw; }
.l-copy small { font: 500 0.95cqw/1 var(--font-body); letter-spacing: 0.25em; text-transform: uppercase; color: #9a7b5f; }
.l-copy .pf-h { margin-top: 1.6cqw; font: 500 5.4cqw/0.95 var(--font-display); letter-spacing: -0.055em; }
.l-copy .pf-h i { color: #9a7b5f; }
.l-copy p:not(.pf-h) { max-width: 30cqw; margin-top: 1.8cqw; font-size: 1.15cqw; line-height: 1.55; color: #6b5f55; }
.l-copy em { display: inline-block; margin-top: 2cqw; padding-bottom: 0.4cqw; border-bottom: 1px solid #2b2622; font: 500 1.1cqw/1 var(--font-body); color: #2b2622; }
.l-feature { --u: 1cqw; position: relative; margin: 2cqw 4cqw 0 0; overflow: hidden; border-radius: 1cqw; background: linear-gradient(180deg, #e3d7c7, #d6c5ae); }
.l-arch {
  position: absolute; left: calc(50% - 12 * var(--u)); bottom: 0; width: calc(24 * var(--u)); height: calc(27 * var(--u));
  border-radius: calc(12 * var(--u)) calc(12 * var(--u)) 0 0; background: linear-gradient(180deg, #f4ede4, #e8ddd0);
}
.l-chair {
  position: absolute; left: calc(50% - 7 * var(--u)); bottom: calc(3.2 * var(--u)); width: calc(15 * var(--u)); height: calc(14 * var(--u));
  animation: lFloat 6s ease-in-out infinite;
}
.l-chair i {
  position: absolute; left: var(--u); right: var(--u); top: 0; height: calc(9 * var(--u));
  border-radius: calc(7 * var(--u)) calc(7 * var(--u)) calc(2 * var(--u)) calc(2 * var(--u));
  background: linear-gradient(160deg, #c0916a, #8b5e3c);
}
.l-chair b {
  position: absolute; left: 0; right: 0; top: calc(7.4 * var(--u)); height: calc(4 * var(--u)); border-radius: calc(2 * var(--u));
  background: linear-gradient(180deg, #c89e78, #94654a); box-shadow: 0 var(--u) calc(2 * var(--u)) rgba(60, 40, 20, 0.25);
}
.l-chair u {
  position: absolute; left: calc(2.4 * var(--u)); right: calc(2.4 * var(--u)); top: calc(11.4 * var(--u)); height: calc(2.6 * var(--u));
  border-left: calc(0.5 * var(--u)) solid #4a3426; border-right: calc(0.5 * var(--u)) solid #4a3426;
}
.l-chair::after {
  content: ''; position: absolute; left: var(--u); right: var(--u); bottom: calc(-1.4 * var(--u)); height: calc(1.2 * var(--u));
  border-radius: 50%; background: rgba(60, 40, 20, 0.22); filter: blur(calc(0.3 * var(--u)));
}
@keyframes lFloat { 50% { transform: translateY(calc(-0.8 * var(--u))); } }
.l-lamp { position: absolute; right: calc(3.5 * var(--u)); bottom: calc(3.2 * var(--u)); width: calc(6 * var(--u)); height: calc(22 * var(--u)); }
.l-lamp i { position: absolute; left: calc(50% - 0.18 * var(--u)); width: calc(0.36 * var(--u)); top: calc(4 * var(--u)); bottom: 0; background: #3b2f27; }
.l-lamp b {
  position: absolute; left: 0; right: 0; top: 0; height: calc(5 * var(--u));
  border-radius: calc(5 * var(--u)) calc(5 * var(--u)) calc(0.6 * var(--u)) calc(0.6 * var(--u));
  background: linear-gradient(#f7f0e6, #e9dccb);
  box-shadow: 0 calc(3 * var(--u)) calc(6 * var(--u)) rgba(255, 226, 170, 0.6);
}
/* lumina lămpii: strat separat care pulsează doar în opacitate */
.l-lamp b::after {
  content: ''; position: absolute; left: -70%; right: -70%; top: 55%; height: calc(12 * var(--u));
  border-radius: 50%; background: radial-gradient(closest-side, rgba(255, 226, 170, 0.85), rgba(255, 226, 170, 0));
  opacity: 0.55; animation: lGlow 4s ease-in-out infinite alternate;
}
.l-lamp::after { content: ''; position: absolute; left: calc(1.5 * var(--u)); right: calc(1.5 * var(--u)); bottom: 0; height: calc(0.6 * var(--u)); border-radius: var(--u); background: #3b2f27; }
@keyframes lGlow { to { opacity: 1; } }
.l-tagp {
  position: absolute; left: 2cqw; top: 2cqw; display: flex; flex-direction: column; gap: 0.3cqw;
  padding: 0.9cqw 1.3cqw; border-radius: 0.7cqw; background: rgba(255, 255, 255, 0.72);
  font: 500 1cqw/1.2 var(--font-body); color: #6b5f55;
}
.l-tagp b { font: 700 1.5cqw/1 var(--font-display); letter-spacing: -0.02em; color: #2b2622; }
.l-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.6cqw; padding: 2.4cqw 4cqw 0; }
.l-grid > div { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 0.7cqw; font-size: 1cqw; }
.l-grid span { font-weight: 500; color: #2b2622; }
.l-grid b { font-weight: 500; color: #6b5f55; }
.l-p { --u: 1cqw; position: relative; width: 100%; height: 11cqw; overflow: hidden; border-radius: 0.8cqw; }
.l-p i, .l-p i::before, .l-p i::after { position: absolute; display: block; }
.l-p i::before, .l-p i::after { content: ''; }
.l-p1 { background: #ddd0bf; }
.l-p1 i { left: 22%; right: 22%; top: 40%; height: calc(1.1 * var(--u)); border-radius: var(--u); background: #8b5e3c; }
.l-p1 i::before { left: calc(50% - 0.8 * var(--u)); width: calc(1.6 * var(--u)); top: var(--u); height: calc(3.6 * var(--u)); background: #6f4a30; }
.l-p1 i::after { left: calc(50% - 3 * var(--u)); width: calc(6 * var(--u)); top: calc(4.4 * var(--u)); height: calc(0.8 * var(--u)); border-radius: var(--u); background: #6f4a30; }
.l-p2 { background: #e8e0d5; }
.l-p2 i {
  left: calc(50% - 3.5 * var(--u)); width: calc(7 * var(--u)); top: 20%; height: calc(3.6 * var(--u));
  border-radius: calc(4 * var(--u)) calc(4 * var(--u)) calc(0.4 * var(--u)) calc(0.4 * var(--u)); background: #2b2622;
  box-shadow: 0 calc(2.2 * var(--u)) calc(3 * var(--u)) calc(-0.6 * var(--u)) rgba(255, 206, 140, 0.9);
}
.l-p2 i::before { left: calc(50% - 0.15 * var(--u)); width: calc(0.3 * var(--u)); top: calc(3.6 * var(--u)); height: calc(3.8 * var(--u)); background: #2b2622; }
.l-p2 i::after { left: calc(50% - 1.8 * var(--u)); width: calc(3.6 * var(--u)); top: calc(7.4 * var(--u)); height: calc(0.6 * var(--u)); border-radius: var(--u); background: #2b2622; }
.l-p3 { background: #d9cbb8; }
.l-p3 i {
  left: calc(50% - 2.4 * var(--u)); width: calc(4.8 * var(--u)); top: 26%; height: calc(6.6 * var(--u));
  border-radius: calc(1.4 * var(--u)) calc(1.4 * var(--u)) calc(2.4 * var(--u)) calc(2.4 * var(--u));
  background: linear-gradient(90deg, #c9b39a, #f1e7da 45%, #bfa588);
}
.l-p3 i::before { left: calc(1.2 * var(--u)); right: calc(1.2 * var(--u)); top: calc(-1.2 * var(--u)); height: calc(1.4 * var(--u)); border-radius: calc(0.3 * var(--u)); background: #d6c3ad; }
.l-p4 { background: #e1d5c5; }
.l-p4 i { left: 14%; right: 14%; top: 44%; height: calc(1.4 * var(--u)); border-radius: calc(0.4 * var(--u)); background: #b98b64; }
.l-p4 i::before { left: calc(1.2 * var(--u)); top: calc(1.4 * var(--u)); width: calc(0.6 * var(--u)); height: calc(3 * var(--u)); background: #4a3426; }
.l-p4 i::after { right: calc(1.2 * var(--u)); top: calc(1.4 * var(--u)); width: calc(0.6 * var(--u)); height: calc(3 * var(--u)); background: #4a3426; }

/* ---------- 05 CosmosVR ---------- */
.s-cosmos { background: radial-gradient(70cqw 45cqw at 75% 55%, #1c1442 0%, #07061a 55%, #03030a 100%); }
.c-stars {
  position: absolute; inset: 0;
  background-image:
    radial-gradient(1.5px 1.5px at 8% 18%, #fff, transparent), radial-gradient(1px 1px at 22% 62%, #fff, transparent),
    radial-gradient(1.5px 1.5px at 35% 12%, #c7d2fe, transparent), radial-gradient(1px 1px at 47% 44%, #fff, transparent),
    radial-gradient(1.5px 1.5px at 58% 80%, #fff, transparent), radial-gradient(1px 1px at 66% 8%, #fff, transparent),
    radial-gradient(1.5px 1.5px at 78% 30%, var(--nv-acc2-hi), transparent), radial-gradient(1px 1px at 88% 72%, #fff, transparent),
    radial-gradient(1px 1px at 94% 14%, #fff, transparent), radial-gradient(1.5px 1.5px at 14% 88%, #fff, transparent),
    radial-gradient(1px 1px at 30% 36%, #fff, transparent), radial-gradient(1px 1px at 72% 52%, #fff, transparent);
  animation: cTwinkle 3.5s ease-in-out infinite alternate;
}
.c-stars2 {
  background-image:
    radial-gradient(1px 1px at 5% 42%, #fff, transparent), radial-gradient(1.5px 1.5px at 18% 6%, #fff, transparent),
    radial-gradient(1px 1px at 40% 74%, #c7d2fe, transparent), radial-gradient(1.5px 1.5px at 52% 22%, #fff, transparent),
    radial-gradient(1px 1px at 63% 64%, #fff, transparent), radial-gradient(1.5px 1.5px at 84% 46%, #fff, transparent),
    radial-gradient(1px 1px at 91% 90%, var(--nv-acc2-hi), transparent), radial-gradient(1px 1px at 27% 92%, #fff, transparent);
  animation-delay: -1.75s;
  animation-duration: 2.8s;
}
@keyframes cTwinkle { from { opacity: 0.35; } to { opacity: 1; } }
.c-nebula {
  position: absolute; right: -6cqw; top: 2cqw; width: 58cqw; height: 40cqw;
  background:
    radial-gradient(closest-side, rgba(var(--nv-acc-hi-rgb), 0.4), transparent),
    radial-gradient(closest-side at 30% 65%, rgba(var(--nv-acc2-rgb), 0.22), transparent);
  filter: blur(2.5cqw);
  animation: cNeb 9s ease-in-out infinite alternate;
}
@keyframes cNeb { to { transform: translate(-3cqw, 2cqw) scale(1.1); } }
.c-planet { position: absolute; right: 10cqw; top: 11cqw; width: 30cqw; height: 30cqw; animation: cFloat 8s ease-in-out infinite; }
@keyframes cFloat { 50% { transform: translateY(-1.6cqw); } }
/* benzile planetei alunecă prin transform (nu prin background-position) */
.c-body {
  --shade-a: -7cqw -3cqw 7cqw;
  --shade-b: 1.5cqw 1cqw 3cqw;
  position: absolute; inset: 0; z-index: 1; overflow: hidden; border-radius: 50%;
  background: #b45309;
  box-shadow: 0 0 7cqw rgba(245, 158, 11, 0.28);
}
.c-body::before {
  content: ''; position: absolute; top: 0; bottom: 0; left: 0; width: calc(100% + 39.2cqw);
  background: repeating-linear-gradient(8deg, #f59e0b 0 2cqw, #b45309 2cqw 3.2cqw, #fbbf24 3.2cqw 4.6cqw, #92400e 4.6cqw 5.45cqw);
  animation: cSpin 17s linear infinite;
}
.c-body::after {
  content: ''; position: absolute; inset: 0; border-radius: 50%;
  box-shadow: inset var(--shade-a) rgba(0, 0, 0, 0.88), inset var(--shade-b) rgba(255, 255, 255, 0.28);
}
@keyframes cSpin { to { transform: translateX(-39.2cqw); } }
.c-ring {
  position: absolute; left: -12cqw; right: -12cqw; top: calc(50% - 4cqw); height: 8cqw; border-radius: 50%;
  border: 1.1cqw solid rgba(253, 230, 138, 0.55);
  box-shadow: 0 0 0 0.6cqw rgba(253, 230, 138, 0.14), inset 0 0 0 0.5cqw rgba(253, 230, 138, 0.12);
  transform: rotate(-16deg);
}
.c-ring-back { z-index: 0; }
.c-ring-front { z-index: 2; clip-path: inset(50% 0 0 0); }
.c-moon {
  position: absolute; right: 43cqw; top: 13cqw; width: 3.6cqw; height: 3.6cqw; border-radius: 50%;
  background: radial-gradient(circle at 35% 35%, #e5e7eb, #6b7280 70%);
  box-shadow: inset -0.8cqw -0.5cqw 1cqw rgba(0, 0, 0, 0.7);
  animation: cFloat 6s ease-in-out -2s infinite;
}
.c-reticle {
  position: absolute; right: 20cqw; top: 21cqw; width: 10cqw; height: 10cqw; z-index: 3;
  border: 1px solid rgba(165, 180, 252, 0.4); border-radius: 50%;
  animation: cScan 5s ease-in-out infinite;
}
.c-reticle::before, .c-reticle::after { content: ''; position: absolute; background: rgba(165, 180, 252, 0.5); }
.c-reticle::before { left: 50%; top: -1.2cqw; bottom: -1.2cqw; width: 1px; }
.c-reticle::after { top: 50%; left: -1.2cqw; right: -1.2cqw; height: 1px; }
@keyframes cScan { 0%, 100% { transform: scale(1) rotate(0); opacity: 0.8; } 50% { transform: scale(1.25) rotate(45deg); opacity: 0.35; } }
.c-nav {
  position: absolute; top: 0; left: 0; right: 0; z-index: 4; height: 6cqw;
  display: flex; align-items: center; gap: 2.6cqw; padding: 0 4cqw;
  font: 500 1.1cqw/1 var(--font-body); color: rgba(255, 255, 255, 0.65);
}
.c-nav b { margin-right: auto; font: 700 1.5cqw/1 var(--font-display); letter-spacing: 0.28em; color: var(--nv-tx); }
.c-nav b i { color: #a5b4fc; }
.c-nav em { padding: 0.9cqw 1.6cqw; border-radius: 3cqw; border: 1px solid rgba(165, 180, 252, 0.5); color: var(--nv-tx); background: rgba(99, 102, 241, 0.2); }
.c-copy { position: absolute; left: 4cqw; bottom: 10cqw; width: 44cqw; z-index: 4; }
.c-copy small { font: 500 1cqw/1 var(--font-body); letter-spacing: 0.18em; text-transform: uppercase; color: #a5b4fc; }
.c-copy .pf-h {
  margin-top: 1.6cqw; font: 700 5cqw/1 var(--font-display); letter-spacing: -0.045em;
  background: linear-gradient(180deg, #fff 35%, #a5b4fc);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.c-copy em {
  display: inline-flex; margin-top: 2.4cqw; padding: 1.2cqw 2.2cqw; border-radius: 3cqw;
  background: rgba(255, 255, 255, 0.08); border: 1px solid rgba(255, 255, 255, 0.22);
  font: 600 1.15cqw/1 var(--font-body); color: var(--nv-tx);
}
.c-hud {
  position: absolute; left: 4cqw; right: 4cqw; bottom: 3cqw; z-index: 4; display: flex; gap: 3cqw;
  padding-top: 1.2cqw; border-top: 1px solid rgba(165, 180, 252, 0.15);
  font: 500 0.9cqw/1 var(--font-body); font-variant-numeric: tabular-nums; letter-spacing: 0.1em; color: rgba(165, 180, 252, 0.75);
}
.c-hud span:last-child { margin-left: auto; color: #34d399; }

/* ---------- 06 TaskFlow ---------- */
.s-task { background: #f5f6f8; color: #172b4d; }
.t-top {
  height: 6cqw; display: flex; align-items: center; gap: 2cqw; padding: 0 2.4cqw;
  background: #fff; border-bottom: 1px solid #e6e8ec; font-size: 1.05cqw;
}
.t-top b { display: flex; align-items: center; gap: 0.7cqw; font: 700 1.45cqw/1 var(--font-display); color: #0f172a; }
.t-top b i { width: 1.8cqw; height: 1.8cqw; border-radius: 0.5cqw; background: linear-gradient(135deg, #f97316, #ef4444); }
.t-crumb { margin-right: auto; color: #6b778c; }
.t-crumb strong { font-weight: 600; color: #172b4d; }
.t-avs { display: flex; align-items: center; }
.t-avs i { width: 2.2cqw; height: 2.2cqw; margin-left: -0.6cqw; border-radius: 50%; border: 0.25cqw solid #fff; }
.t-avs i:nth-child(1) { background: #fbbf24; margin-left: 0; }
.t-avs i:nth-child(2) { background: #60a5fa; }
.t-avs i:nth-child(3) { background: #f472b6; }
.t-avs em { margin-left: 0.5cqw; font-size: 0.95cqw; color: #6b778c; }
.t-new { padding: 0.9cqw 1.4cqw; border-radius: 0.7cqw; background: #f97316; color: var(--nv-tx); font-weight: 600; }
.t-board { position: absolute; top: 6cqw; left: 0; right: 0; bottom: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.6cqw; padding: 2cqw; }
.t-col { display: flex; flex-direction: column; gap: 1cqw; padding: 1.2cqw; border-radius: 1cqw; background: #ebecf0; }
.t-col h5 { display: flex; align-items: center; gap: 0.6cqw; height: 1.6cqw; margin-left: 0.2cqw; font: 600 1.05cqw/1 var(--font-body); color: #44546f; }
.t-col h5 i { padding: 0.25cqw 0.6cqw; border-radius: 1cqw; background: rgba(9, 30, 66, 0.08); font-size: 0.9cqw; }
.t-card, .t-ghost { flex: 0 0 9cqw; height: 9cqw; border-radius: 0.8cqw; }
.t-card { display: flex; flex-direction: column; gap: 0.6cqw; padding: 1.1cqw 1.2cqw; background: #fff; box-shadow: 0 0.1cqw 0.25cqw rgba(9, 30, 66, 0.22); }
.t-card em { align-self: flex-start; padding: 0.3cqw 0.7cqw; border-radius: 0.4cqw; font: 600 0.8cqw/1 var(--font-body); }
.lb-p { background: #f3e8ff; color: #7e22ce; }
.lb-b { background: #dbeafe; color: #1d4ed8; }
.lb-g { background: #dcfce7; color: #15803d; }
.lb-o { background: #ffedd5; color: #c2410c; }
.t-card b { font: 600 1.1cqw/1.25 var(--font-body); color: #172b4d; }
.t-f { margin-top: auto; display: flex; align-items: center; justify-content: space-between; font-size: 0.85cqw; color: #6b778c; }
.t-f i { width: 1.8cqw; height: 1.8cqw; border-radius: 50%; }
.av1 { background: #fbbf24; } .av2 { background: #60a5fa; } .av3 { background: #f472b6; }
.t-prog { margin-top: auto; height: 0.5cqw; overflow: hidden; border-radius: 1cqw; background: #ebecf0; }
.t-prog i { display: block; width: var(--p); height: 100%; background: #f97316; }
.t-done b { color: #8993a4; text-decoration: line-through; }
.t-done .t-f span { color: #15803d; font-weight: 700; }
.t-ghost { border: 0.2cqw dashed rgba(9, 30, 66, 0.2); background: rgba(9, 30, 66, 0.03); opacity: 0; animation: tGhost 7s infinite; }
.t-mover { position: relative; z-index: 3; animation: tMove 7s cubic-bezier(0.65, 0, 0.35, 1) infinite; }
/* umbra "ridicată" a cardului mutat: strat separat, animat doar în opacitate */
.t-mover::before {
  content: ''; position: absolute; inset: 0; z-index: -1; border-radius: inherit;
  box-shadow: 0 1.8cqw 3cqw rgba(9, 30, 66, 0.25);
  opacity: 0; animation: tLift 7s cubic-bezier(0.65, 0, 0.35, 1) infinite;
}
@keyframes tMove {
  0%, 12% { transform: translate(0, 0) rotate(0) scale(1); opacity: 1; }
  20% { transform: translate(0, -0.8cqw) rotate(-2deg) scale(1.04); }
  50% { transform: translate(32.53cqw, -10.8cqw) rotate(2deg) scale(1.04); }
  58%, 88% { transform: translate(32.53cqw, -10cqw) rotate(0) scale(1); opacity: 1; }
  94% { transform: translate(32.53cqw, -10cqw); opacity: 0; }
  95% { transform: translate(0, 0); opacity: 0; }
  100% { transform: translate(0, 0); opacity: 1; }
}
@keyframes tLift { 0%, 12% { opacity: 0; } 20%, 50% { opacity: 1; } 58%, 100% { opacity: 0; } }
@keyframes tGhost { 0%, 14% { opacity: 0; } 20%, 55% { opacity: 1; } 58%, 100% { opacity: 0; } }
.t-cursor { position: absolute; left: 22cqw; top: 25cqw; z-index: 4; width: 2.4cqw; height: 2.4cqw; opacity: 0; animation: tCursor 7s cubic-bezier(0.65, 0, 0.35, 1) infinite; }
@keyframes tCursor {
  0% { transform: translate(12cqw, 14cqw); opacity: 0; }
  8%, 12% { transform: translate(0, 0); opacity: 1; }
  20% { transform: translate(0, -0.8cqw); }
  50% { transform: translate(32.53cqw, -10.8cqw); }
  58% { transform: translate(32.53cqw, -10cqw); opacity: 1; }
  72% { transform: translate(44cqw, 4cqw); opacity: 0; }
  100% { transform: translate(44cqw, 4cqw); opacity: 0; }
}

/* ---------- 07 NeuralCraft ---------- */
.s-neural {
  background: radial-gradient(50cqw 40cqw at 78% 45%, rgba(198, 255, 61, 0.1), transparent 70%), #050605;
  color: #f4f4f5;
}
.n-net { position: absolute; right: -2cqw; top: 6cqw; width: 56cqw; height: auto; overflow: visible; }
.n-l path { fill: none; stroke: rgba(198, 255, 61, 0.13); stroke-width: 1; }
.n-p { fill: none; stroke: #c6ff3d; stroke-width: 2; stroke-linecap: round; stroke-dasharray: 0.12 0.88; stroke-dashoffset: 1; animation: nFlow 2.6s linear infinite; }
.n-d1 { animation-delay: -0.7s; }
.n-d2 { animation-delay: -1.4s; }
.n-d3 { animation-delay: -2s; }
@keyframes nFlow { to { stroke-dashoffset: 0; } }
.n-n circle { fill: #0b0d0a; stroke: #c6ff3d; stroke-width: 1.5; }
.n-core { fill: #c6ff3d; }
.n-halo { fill: rgba(198, 255, 61, 0.18); transform-box: fill-box; transform-origin: center; animation: nHalo 2s ease-out infinite; }
@keyframes nHalo { from { transform: scale(0.6); opacity: 1; } to { transform: scale(1.8); opacity: 0; } }
.n-nav {
  position: absolute; top: 0; left: 0; right: 0; height: 6cqw;
  display: flex; align-items: center; gap: 2.6cqw; padding: 0 4cqw;
  font: 500 1.1cqw/1 var(--font-body); color: #a1a1aa;
}
.n-nav b { margin-right: auto; font: 700 1.6cqw/1 var(--font-display); letter-spacing: -0.02em; color: #fafafa; }
.n-nav b i { color: #c6ff3d; }
.n-nav em { padding: 0.9cqw 1.6cqw; border-radius: 3cqw; background: #c6ff3d; color: #050605; font-weight: 600; }
.n-copy { position: absolute; left: 4cqw; top: 12.5cqw; width: 54cqw; }
.n-copy small { font: 500 1cqw/1 var(--font-body); letter-spacing: 0.06em; color: #c6ff3d; }
.n-copy .pf-h { margin-top: 2cqw; font: 700 5.2cqw/1 var(--font-display); letter-spacing: -0.05em; }
.n-copy .pf-h span {
  background: linear-gradient(90deg, #c6ff3d, #f0ffb8);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.n-prompt {
  display: flex; align-items: center; gap: 1.2cqw; width: 46cqw; margin-top: 3.2cqw;
  padding: 1.2cqw 1.2cqw 1.2cqw 1.6cqw; border-radius: 1.2cqw;
  background: #0f100f; border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 0 0 0.4cqw rgba(198, 255, 61, 0.05);
  font: 400 1.1cqw/1.2 var(--font-body); color: #d4d4d8;
}
.n-prompt i { flex: 0 0 auto; color: #c6ff3d; }
/* efect de tastare: un strat de culoarea câmpului se retrage pas cu pas (transform),
   iar cursorul (stratul ::after) îl urmează și clipește din opacitate */
.n-type {
  position: relative; flex: 0 1 auto; min-width: 0;
  overflow: hidden; white-space: nowrap; text-overflow: ellipsis;
}
.n-type::before,
.n-type::after {
  content: ''; position: absolute; top: 0; bottom: 0; left: 0; width: 100%;
  animation: nType 7s steps(40) infinite;
}
.n-type::before { background: #0f100f; }
.n-type::after {
  border-left: 0.15cqw solid #c6ff3d;
  animation: nType 7s steps(40) infinite, nCaret 0.8s step-end infinite;
}
@keyframes nType {
  0% { transform: translateX(0); }
  55%, 88% { transform: translateX(calc(100% - 0.15cqw)); }
  100% { transform: translateX(0); }
}
@keyframes nCaret { 50% { opacity: 0; } }
.n-prompt em { margin-left: auto; width: 2.6cqw; height: 2.6cqw; display: grid; place-items: center; flex-shrink: 0; border-radius: 0.7cqw; background: #c6ff3d; color: #050605; font-weight: 700; }
.n-stats { position: absolute; left: 4cqw; bottom: 4cqw; display: flex; gap: 4cqw; }
.n-stats div { font: 400 1cqw/1 var(--font-body); color: #a1a1aa; }
.n-stats b { display: block; margin-bottom: 0.6cqw; font: 700 2.6cqw/1 var(--font-display); color: #fafafa; }

/* ---------- 08 ShoesVault ---------- */
.s-shoe { background: radial-gradient(42cqw 42cqw at 68% 56%, #ff8a3d 0%, #ff5a1f 48%, #e3400d 100%); color: #1a0a02; }
.sh-bgword {
  position: absolute; left: 26cqw; top: 50%; margin-top: -8cqw;
  font: 700 17cqw/1 var(--font-display); letter-spacing: -0.06em; white-space: nowrap;
  color: transparent; -webkit-text-stroke: 0.15cqw rgba(255, 255, 255, 0.45);
  animation: shSlide 10s ease-in-out infinite alternate;
}
@keyframes shSlide { to { transform: translateX(-6cqw); } }
.sh-nav {
  position: absolute; top: 0; left: 0; right: 0; z-index: 3; height: 6cqw;
  display: flex; align-items: center; gap: 2.4cqw; padding: 0 4cqw;
  font: 600 1.1cqw/1 var(--font-body);
}
.sh-nav b { margin-right: auto; font: 700 1.55cqw/1 var(--font-display); letter-spacing: 0.12em; }
.sh-nav b i { color: var(--nv-tx); }
.sh-nav em { padding: 0.9cqw 1.6cqw; border-radius: 3cqw; background: #1a0a02; color: var(--nv-tx); }
.sh-copy { position: absolute; left: 4cqw; top: 11cqw; z-index: 3; width: 30cqw; }
.sh-copy small { display: inline-block; padding: 0.6cqw 1cqw; border-radius: 0.4cqw; background: #1a0a02; color: #ff8a3d; font: 600 0.95cqw/1 var(--font-body); letter-spacing: 0.18em; text-transform: uppercase; }
.sh-copy .pf-h { margin-top: 1.8cqw; font: 700 5.2cqw/0.92 var(--font-display); letter-spacing: -0.05em; text-transform: uppercase; }
.sh-copy p:not(.pf-h) { margin-top: 1.6cqw; font: 400 1.15cqw/1.5 var(--font-body); color: rgba(26, 10, 2, 0.78); }
.sh-sizes { display: flex; gap: 0.7cqw; margin-top: 2cqw; }
.sh-sizes span { width: 3.4cqw; height: 3.4cqw; display: grid; place-items: center; border-radius: 0.7cqw; border: 1px solid rgba(26, 10, 2, 0.28); font: 600 1cqw/1 var(--font-body); }
.sh-sizes span.on { background: #1a0a02; border-color: #1a0a02; color: var(--nv-tx); }
.sh-buy { display: flex; align-items: center; gap: 1.6cqw; margin-top: 2.2cqw; }
.sh-buy b { font: 700 2.4cqw/1 var(--font-display); }
.sh-buy em { padding: 1.2cqw 2.2cqw; border-radius: 3cqw; background: #fff; box-shadow: 0 0.8cqw 2cqw rgba(0, 0, 0, 0.18); font: 600 1.1cqw/1 var(--font-body); }
.sh-stage { position: absolute; right: 2cqw; top: 8cqw; width: 60cqw; height: 46cqw; }
.sh-disc { position: absolute; left: 12%; right: 12%; top: 6%; bottom: 6%; border-radius: 50%; background: radial-gradient(circle, rgba(255, 255, 255, 0.38), rgba(255, 255, 255, 0) 70%); }
.sh-shoe { position: absolute; left: 6%; top: 16%; width: 88%; height: auto; overflow: visible; transform-origin: 50% 60%; filter: drop-shadow(0 2.5cqw 2cqw rgba(80, 20, 0, 0.35)); animation: shFloat 5s ease-in-out infinite; }
@keyframes shFloat { 0%, 100% { transform: rotate(-12deg) translateY(0); } 50% { transform: rotate(-8deg) translateY(-2.2cqw); } }
.sh-shadow { position: absolute; left: 24%; right: 24%; bottom: 8%; height: 3cqw; border-radius: 50%; background: rgba(90, 20, 0, 0.35); filter: blur(1cqw); animation: shShadow 5s ease-in-out infinite; }
@keyframes shShadow { 50% { transform: scaleX(0.8); opacity: 0.7; } }
.sh-upper { fill: #18181b; animation: shPaint 9s infinite; }
@keyframes shPaint {
  0%, 30% { fill: #18181b; }
  33%, 63% { fill: #f4f4f5; }
  66%, 96% { fill: #1e3a8a; }
  100% { fill: #18181b; }
}
.sh-360 { position: absolute; left: 40cqw; bottom: 4.2cqw; z-index: 3; display: flex; align-items: center; gap: 0.7cqw; font: 600 1cqw/1 var(--font-body); }
.sh-360 svg { width: 1.8cqw; height: 1.8cqw; animation: shSpin 3s linear infinite; }
@keyframes shSpin { to { transform: rotate(360deg); } }
.sh-swatch { position: absolute; right: 4cqw; bottom: 4cqw; z-index: 3; display: flex; gap: 1.1cqw; }
.sh-swatch i { --ring: 0.3cqw; --ring-w: 0.15cqw; position: relative; width: 2.2cqw; height: 2.2cqw; border-radius: 50%; }
.sh-swatch i::after {
  content: ''; position: absolute; inset: calc(-1 * (var(--ring) + var(--ring-w))); border-radius: 50%;
  border: var(--ring-w) solid #1a0a02; opacity: 0; animation: shSw 9s infinite;
}
.sh-swatch i:nth-child(1) { background: #18181b; }
.sh-swatch i:nth-child(2) { background: #f4f4f5; }
.sh-swatch i:nth-child(3) { background: #1e3a8a; }
.sh-swatch i:nth-child(2)::after { animation-delay: 3s; }
.sh-swatch i:nth-child(3)::after { animation-delay: 6s; }
@keyframes shSw {
  0%, 30% { opacity: 1; }
  33%, 100% { opacity: 0; }
}

/* =============================================
   LAYOUT DE MOBIL AL MINI-SITE-URILOR
   Se aplică atunci când cadrul/ecranul mockup-ului e în format portret
   (cardurile de pe telefon și tabletă, studiul de caz pe telefon).
   ============================================= */

/* bara browserului */
@container pf-tilt (orientation: portrait) {
  .pf-chrome { height: 9cqw; gap: 1.6cqw; padding: 0 4cqw; }
  .pf-chrome i { width: 2.1cqw; height: 2.1cqw; }
  .pf-chrome span {
    --lock-x: 3cqw;
    max-width: 64cqw;
    transform: translateX(-4.2cqw);
    padding: 1.2cqw 3.4cqw 1.2cqw 6.4cqw;
    border-radius: 3cqw;
    font-size: 3.1cqw;
  }
}

@container pf-screen (orientation: portrait) {

  /* ---- navigație comună: linkurile dispar în spatele unui meniu hamburger desenat din CSS ---- */
  .a-nav, .f-nav, .c-nav, .n-nav, .sh-nav { height: 14cqw; gap: 0; padding: 0 6cqw; font-size: 2.8cqw; }
  .a-nav > span, .a-nav > em,
  .f-nav > span, .f-nav > em,
  .c-nav > span, .c-nav > em,
  .n-nav > span, .n-nav > em,
  .sh-nav > span,
  .l-nav > span,
  .t-crumb, .t-new, .d-range { display: none; }
  .a-nav::after, .f-nav::after, .c-nav::after, .n-nav::after, .sh-nav::after, .t-top::after, .l-nav::before {
    content: '';
    flex: 0 0 auto;
    width: 5.4cqw;
    height: 0.6cqw;
    border-radius: 1cqw;
    background: currentColor;
    box-shadow: 0 -1.7cqw 0 currentColor, 0 1.7cqw 0 currentColor;
  }

  /* ---- 01 AutoVault ---- */
  .a-nav b { font-size: 4cqw; letter-spacing: 0.26em; }
  .a-nav::after { color: var(--nv-tx); }
  .a-copy { left: 6cqw; right: 6cqw; top: 19cqw; bottom: 17cqw; width: auto; display: flex; flex-direction: column; }
  .a-copy small { margin-bottom: 3cqw; font-size: 2.9cqw; letter-spacing: 0.2em; }
  .a-copy .pf-h { font-size: 8.4cqw; line-height: 1.04; }
  .a-specs { margin-top: auto; gap: 6cqw; padding-top: 3.4cqw; }
  .a-specs b { margin-bottom: 1cqw; font-size: 5.6cqw; }
  .a-specs span { font-size: 3cqw; }
  .a-price { margin-top: 3.2cqw; font-size: 3.1cqw; }
  .a-price b { margin-left: 1cqw; font-size: 5cqw; }
  .a-stage { left: 2cqw; right: 2cqw; top: 41cqw; bottom: auto; width: auto; height: 36cqw; }
  .a-floor { left: 6%; right: 6%; bottom: -3.5cqw; height: 13cqw; }
  .a-hud { left: 6cqw; bottom: 6cqw; gap: 2cqw; font-size: 2.9cqw; letter-spacing: 0.08em; }
  .a-hud span { width: 8.6cqw; height: 8.6cqw; font-size: 2.7cqw; }
  .a-swatches { right: 6cqw; bottom: 7.2cqw; gap: 2.6cqw; }
  .a-swatches em { display: none; }
  .a-swatches i { --ring: 0.7cqw; --ring-w: 0.35cqw; width: 4.4cqw; height: 4.4cqw; }

  /* ---- 02 FlowStack ---- */
  .f-nav b { gap: 1.6cqw; font-size: 4.4cqw; }
  .f-nav b i { width: 4.4cqw; height: 4.4cqw; border-radius: 1.3cqw; }
  .f-nav::after { color: #0f172a; }
  .f-hero { padding: 7cqw 6cqw 0; }
  .f-pill { gap: 1.6cqw; padding: 1cqw 2.6cqw 1cqw 1cqw; border-radius: 6cqw; font-size: 2.8cqw; box-shadow: 0 1cqw 3cqw rgba(79, 70, 229, 0.1); }
  .f-pill i { padding: 1cqw 1.8cqw; border-radius: 4cqw; }
  .f-hero .pf-h { margin-top: 4.6cqw; font-size: 10.6cqw; line-height: 1.02; }
  .f-hero p:not(.pf-h) { max-width: 74cqw; margin-top: 3.4cqw; font-size: 3.3cqw; line-height: 1.45; }
  .f-cta { gap: 2.4cqw; margin-top: 5cqw; font-size: 3.1cqw; }
  .f-cta em, .f-cta u { padding: 2.7cqw 4.4cqw; border-radius: 2.2cqw; }
  .f-cta em { box-shadow: 0 1.4cqw 3.6cqw rgba(79, 70, 229, 0.35), inset 0 1px 0 rgba(255, 255, 255, 0.25); }
  .f-app { left: 6cqw; right: 6cqw; top: auto; bottom: -8cqw; height: 40cqw; border-radius: 2.8cqw; box-shadow: 0 4cqw 10cqw rgba(15, 23, 42, 0.16); }
  .f-side { width: 10cqw; gap: 2.6cqw; padding-top: 3.6cqw; }
  .f-side i { width: 4cqw; height: 4cqw; border-radius: 1.1cqw; }
  .f-main { gap: 3cqw; padding: 3.6cqw; }
  .f-row { grid-template-columns: 1fr 1fr; gap: 2.6cqw; }
  .f-row .f-card:nth-child(3) { display: none; }
  .f-card { gap: 2.2cqw; padding: 2.6cqw; border-radius: 2cqw; font-size: 3.1cqw; }
  .f-card em { height: 1.3cqw; }
  .f-graph { padding: 2cqw; border-radius: 2cqw; }

  /* ---- 03 AnalyticsPro: sidebar → bară de taburi jos ---- */
  .d-side {
    position: absolute; left: 0; right: 0; bottom: 0; z-index: 2;
    width: auto; height: 13cqw; padding: 0 9cqw;
    flex-direction: row; justify-content: space-between; align-items: center; gap: 0;
    border-right: 0; border-top: 1px solid rgba(255, 255, 255, 0.06);
    background: #0f121b;
  }
  .d-side b { display: none; }
  .d-side i { width: 5.4cqw; height: 5.4cqw; border-radius: 1.6cqw; }
  .d-main { gap: 4cqw; padding: 6cqw 6cqw 18cqw; justify-content: space-between; }
  .d-top { gap: 2cqw; }
  .d-top small { font-size: 3.1cqw; }
  .d-top .pf-h { margin-top: 1.2cqw; font-size: 5.8cqw; }
  .d-live { gap: 1.4cqw; padding: 1.6cqw 2.5cqw; border-radius: 4cqw; font-size: 2.9cqw; letter-spacing: 0.12em; }
  .d-live i { width: 1.8cqw; height: 1.8cqw; }
  /* doi indicatori, mari; graficul primește restul ecranului */
  .d-kpis { grid-template-columns: 1fr 1fr; gap: 3cqw; }
  .d-kpis > div:nth-child(n+3) { display: none; }
  .d-kpis > div { padding: 3.2cqw 3.4cqw; border-radius: 2.6cqw; }
  .d-kpis small { font-size: 3.1cqw; }
  .d-kpis b { margin: 1.6cqw 0 1.2cqw; font-size: 5.2cqw; }
  .d-kpis em { font-size: 3cqw; }
  .d-grid { flex: 0 0 auto; grid-template-columns: 1fr; gap: 3cqw; }
  .d-bars { display: none; }
  .d-chart { gap: 2.6cqw; padding: 3.6cqw; border-radius: 2.6cqw; }
  /* SVG-ul (viewBox 400×130, fără preserveAspectRatio="none") se dimensionează după lățime, nu după
     înălțimea rămasă — altfel se desena mic, în mijlocul panoului */
  .d-chart svg { flex: 0 0 auto; height: auto; aspect-ratio: 400 / 130; }
  .d-head { font-size: 3.2cqw; }
  .d-head span { gap: 1.2cqw; font-size: 2.9cqw; }
  .d-head span i { width: 2cqw; height: 2cqw; border-radius: 0.5cqw; }
  .d-head span i.b { margin-left: 1.4cqw; }

  /* ---- 04 LuminaForm: titlul peste imaginea principală, produse într-un rând care continuă în afara ecranului ---- */
  .l-nav { height: 14cqw; gap: 0; padding: 0 6cqw; justify-content: space-between; font-size: 2.9cqw; }
  .l-nav::before { order: -1; color: #2b2622; }
  .l-nav b { margin: 0 auto; font-size: 3.7cqw; letter-spacing: 0.3em; }
  .l-nav em { font-size: 2.9cqw; }
  .l-hero { grid-template-columns: 1fr; grid-template-rows: 1fr; height: 70cqw; }
  .l-copy, .l-feature { grid-area: 1 / 1; }
  .l-copy { position: relative; z-index: 1; padding: 7cqw 6cqw 0; }
  .l-copy small { font-size: 2.8cqw; letter-spacing: 0.2em; }
  .l-copy .pf-h { margin-top: 3.2cqw; font-size: 10.6cqw; }
  .l-copy p:not(.pf-h) { display: none; }
  .l-copy em { margin-top: 4.4cqw; padding-bottom: 0.8cqw; font-size: 3cqw; }
  .l-feature { --u: 1.5cqw; margin: 0; border-radius: 0; }
  .l-arch { left: auto; right: 6cqw; }
  .l-chair { left: auto; right: calc(6cqw + 4.5 * var(--u)); }
  .l-lamp { right: calc(8cqw + 24 * var(--u)); }
  .l-tagp { left: 6cqw; top: auto; bottom: 5cqw; gap: 0.8cqw; padding: 1.9cqw 2.7cqw; border-radius: 1.8cqw; font-size: 2.9cqw; }
  .l-tagp b { font-size: 3.9cqw; }
  .l-grid { display: flex; gap: 3cqw; padding: 5cqw 6cqw 0; overflow: hidden; }
  .l-grid > div { flex: 0 0 37cqw; gap: 1.2cqw; font-size: 3cqw; }
  .l-p { --u: 2cqw; height: 22cqw; border-radius: 1.8cqw; }

  /* ---- 05 CosmosVR ---- */
  .c-nav b { font-size: 4.2cqw; letter-spacing: 0.24em; }
  .c-nav::after { color: var(--nv-tx); }
  .c-planet { right: auto; left: calc(50% - 23cqw); top: 18cqw; width: 46cqw; height: 46cqw; }
  .c-body { --shade-a: -11cqw -4.6cqw 11cqw; --shade-b: 2.3cqw 1.5cqw 4.6cqw; box-shadow: 0 0 11cqw rgba(245, 158, 11, 0.3); }
  .c-ring { left: -17cqw; right: -17cqw; top: calc(50% - 6.2cqw); height: 12.4cqw; border-width: 1.7cqw; box-shadow: 0 0 0 0.9cqw rgba(253, 230, 138, 0.14), inset 0 0 0 0.8cqw rgba(253, 230, 138, 0.12); }
  .c-moon { right: 9cqw; top: 19cqw; width: 6cqw; height: 6cqw; box-shadow: inset -1.4cqw -0.9cqw 1.8cqw rgba(0, 0, 0, 0.7); }
  .c-reticle { right: auto; left: 16cqw; top: 36cqw; width: 14cqw; height: 14cqw; }
  .c-nebula { right: -30cqw; top: 6cqw; width: 120cqw; height: 80cqw; filter: blur(5cqw); }
  .c-copy { left: 6cqw; right: 6cqw; bottom: 19cqw; width: auto; }
  .c-copy small { font-size: 2.8cqw; letter-spacing: 0.14em; }
  .c-copy .pf-h { margin-top: 3cqw; font-size: 8.2cqw; }
  .c-copy em { margin-top: 4.4cqw; padding: 2.6cqw 4.4cqw; border-radius: 6cqw; font-size: 3.1cqw; }
  .c-hud { left: 6cqw; right: 6cqw; bottom: 6cqw; gap: 4cqw; padding-top: 2.8cqw; font-size: 2.8cqw; letter-spacing: 0.05em; }
  .c-hud span:first-child { display: none; }

  /* ---- 06 TaskFlow: două coloane, cardul se mută dintr-una în alta ---- */
  .t-top { height: 14cqw; gap: 3cqw; padding: 0 5cqw; font-size: 3cqw; }
  .t-top b { gap: 1.6cqw; font-size: 4.3cqw; }
  .t-top b i { width: 4.4cqw; height: 4.4cqw; border-radius: 1.3cqw; }
  .t-top::after { color: #172b4d; margin-left: 1cqw; }
  .t-avs { margin-left: auto; }
  .t-avs i { width: 5.4cqw; height: 5.4cqw; margin-left: -1.6cqw; border-width: 0.6cqw; }
  .t-avs em { margin-left: 1.2cqw; font-size: 3cqw; }
  .t-board { top: 14cqw; grid-template-columns: 1fr 1fr; gap: 3cqw; padding: 4cqw; }
  .t-col:nth-child(3) { display: none; }
  .t-col { gap: 2.4cqw; padding: 2.4cqw; border-radius: 2.4cqw; }
  .t-col h5 { height: 4cqw; gap: 1.4cqw; margin-left: 0.4cqw; font-size: 3.1cqw; }
  .t-col h5 i { padding: 0.6cqw 1.4cqw; border-radius: 2cqw; font-size: 2.8cqw; }
  .t-card, .t-ghost { flex: 0 0 24.5cqw; height: 24.5cqw; border-radius: 1.8cqw; }
  .t-card { gap: 1.3cqw; padding: 2.4cqw 2.6cqw; box-shadow: 0 0.2cqw 0.5cqw rgba(9, 30, 66, 0.22); }
  .t-card em { padding: 0.6cqw 1.4cqw; border-radius: 0.9cqw; font-size: 2.7cqw; }
  .t-card b { font-size: 3cqw; }
  .t-f { font-size: 2.8cqw; }
  .t-f i { width: 4cqw; height: 4cqw; }
  .t-prog { height: 1.1cqw; }
  .t-ghost { border-width: 0.4cqw; }
  .t-mover { animation-name: tMoveM; }
  .t-mover::before { box-shadow: 0 3.6cqw 6cqw rgba(9, 30, 66, 0.25); }
  .t-cursor { left: 29cqw; top: 62cqw; width: 5.4cqw; height: 5.4cqw; animation-name: tCursorM; }

  /* ---- 07 NeuralCraft ---- */
  .n-nav b { font-size: 4.4cqw; }
  .n-nav::after { color: #fafafa; }
  .n-net { right: auto; left: -6cqw; top: auto; bottom: 8cqw; width: 112cqw; opacity: 0.5; }
  .n-copy { left: 6cqw; right: 6cqw; top: 20cqw; width: auto; }
  .n-copy small { font-size: 2.9cqw; letter-spacing: 0.04em; }
  .n-copy .pf-h { margin-top: 3.6cqw; font-size: 8.8cqw; line-height: 1.02; }
  .n-prompt { width: auto; gap: 2.4cqw; margin-top: 5.4cqw; padding: 2.4cqw 2.4cqw 2.4cqw 3.2cqw; border-radius: 2.6cqw; font-size: 3cqw; box-shadow: 0 0 0 0.8cqw rgba(198, 255, 61, 0.05); }
  .n-type::after { border-left-width: 0.35cqw; }
  .n-prompt em { width: 6cqw; height: 6cqw; border-radius: 1.6cqw; }
  .n-stats { left: 6cqw; right: 6cqw; bottom: 6cqw; gap: 3cqw; justify-content: space-between; }
  .n-stats div { font-size: 3cqw; }
  .n-stats b { margin-bottom: 1.2cqw; font-size: 5.8cqw; }

  /* ---- 08 ShoesVault ---- */
  .sh-nav b { font-size: 4.2cqw; letter-spacing: 0.1em; }
  .sh-nav em { margin-right: 4cqw; padding: 1.6cqw 3cqw; border-radius: 6cqw; font-size: 3cqw; }
  .sh-nav::after { color: #1a0a02; }
  .sh-bgword { left: -2cqw; top: 17cqw; margin-top: 0; font-size: 31cqw; -webkit-text-stroke-width: 0.3cqw; }
  .sh-stage { left: 0; right: 0; top: 11cqw; width: auto; height: 50cqw; }
  .sh-shoe { left: 9%; top: 14%; width: 82%; filter: drop-shadow(0 4cqw 3cqw rgba(80, 20, 0, 0.35)); }
  .sh-shadow { height: 5cqw; filter: blur(1.6cqw); }
  .sh-copy { left: 6cqw; right: 6cqw; top: auto; bottom: 6cqw; width: auto; }
  .sh-copy small { padding: 1.2cqw 2cqw; border-radius: 0.8cqw; font-size: 2.8cqw; letter-spacing: 0.14em; }
  .sh-copy .pf-h { margin-top: 3cqw; font-size: 9cqw; }
  .sh-copy p:not(.pf-h) { display: none; }
  .sh-sizes { gap: 1.8cqw; margin-top: 4cqw; }
  .sh-sizes span { width: 7.8cqw; height: 7.8cqw; border-radius: 1.8cqw; font-size: 3cqw; }
  .sh-buy { gap: 4cqw; margin-top: 4.4cqw; }
  .sh-buy b { font-size: 6.4cqw; }
  .sh-buy em { padding: 2.8cqw 5cqw; border-radius: 6cqw; font-size: 3cqw; box-shadow: 0 1.6cqw 4cqw rgba(0, 0, 0, 0.18); }
  .sh-360 { left: 6cqw; top: 17cqw; bottom: auto; gap: 1.4cqw; font-size: 3cqw; }
  .sh-360 svg { width: 3.8cqw; height: 3.8cqw; }
  .sh-swatch { right: 6cqw; top: 17cqw; bottom: auto; flex-direction: column; gap: 2.6cqw; }
  .sh-swatch i { --ring: 0.7cqw; --ring-w: 0.35cqw; width: 4.6cqw; height: 4.6cqw; }
}

/* TaskFlow pe mobil: coloană = 44,5cqw, spațiu 3cqw → mutare de 47,5cqw; un card + spațiu = 24,5 + 2,4 = 26,9cqw */
@keyframes tMoveM {
  0%, 12% { transform: translate(0, 0) rotate(0) scale(1); opacity: 1; }
  20% { transform: translate(0, -1.6cqw) rotate(-2deg) scale(1.04); }
  50% { transform: translate(47.5cqw, -28.5cqw) rotate(2deg) scale(1.04); }
  58%, 88% { transform: translate(47.5cqw, -26.9cqw) rotate(0) scale(1); opacity: 1; }
  94% { transform: translate(47.5cqw, -26.9cqw); opacity: 0; }
  95% { transform: translate(0, 0); opacity: 0; }
  100% { transform: translate(0, 0); opacity: 1; }
}
@keyframes tCursorM {
  0% { transform: translate(18cqw, 22cqw); opacity: 0; }
  8%, 12% { transform: translate(0, 0); opacity: 1; }
  20% { transform: translate(0, -1.6cqw); }
  50% { transform: translate(47.5cqw, -28.5cqw); }
  58% { transform: translate(47.5cqw, -26.9cqw); opacity: 1; }
  72% { transform: translate(58cqw, 6cqw); opacity: 0; }
  100% { transform: translate(58cqw, 6cqw); opacity: 0; }
}

/* ---------- Carusel fluid pe telefon ----------
   La fiecare cadru motorul schimbă opacitatea stratului de estompare și poziția elementelor cu paralaxă:
   ca straturi compuse, nu mai redesenează cardul. Cardul nu se mai „lasă” la apăsare (efectul redesena
   tot ecranul cardului). Fără reguli cu * comutate în timpul mișcării: ar recalcula stilul tuturor
   elementelor din machete la fiecare glisare. */
.pf.is-carousel .pf-dim,
.pf.is-carousel [data-dc-dim] { will-change: opacity; }
.pf.is-carousel [data-dc-parallax] { will-change: transform; }
.pf.is-carousel .pf-frame::before { will-change: opacity; }
/* conținutul cardurilor nu are elemente interactive: atingerea se oprește la card (testare mai ieftină) */
.pf.is-carousel .pf-card > * { pointer-events: none; }
.pf.is-carousel .pf-track.is-dragging .pf-shot { transform: none; }

/* Ecran tactil (telefon / tabletă): în machete rămân doar animațiile care rulează pe placa video
   (transform / opacitate pe elemente HTML). Cele care redesenau cardul la fiecare cadru (culoarea
   SVG a mașinii și a pantofului, lumina SVG, linia graficului, fluxul rețelei, gradientul din titlu)
   stau pe loc, în starea lor finală: aceeași imagine, fără sacadare și cu baterie cruțată. */
@media (hover: none), (pointer: coarse) {
  .pf.is-carousel .a-paint,
  .pf.is-carousel .sh-upper,
  .pf.is-carousel .f-hero .pf-h span,
  .pf.is-carousel .d-area,
  .pf.is-carousel .d-dot,
  .pf.is-carousel .n-p { animation: none !important; }
  .pf.is-carousel .a-sheen { animation: none !important; opacity: 0; }
  .pf.is-carousel .d-line { animation: none !important; stroke-dashoffset: 0; }
}

/* Desktop: cardul ieșit din vizor își „descarcă” macheta (fără desen, fără animații, fără straturi grafice).
   Mărimea ecranului vine din ramă (aspect-ratio), deci cardul nu își schimbă dimensiunea. */
.pf-card.pf-off .pf-screen > * { display: none !important; }

/* Start12 · telefon / tabletă (html.nw-touch): studiul de caz se deschide cu imaginea WebP a conceptului, fără macheta
   animată la dimensiune mare — memorie mică pe iPhone (estompările de fundal sunt deja scoase în extras.css, secțiunea 7). */
.nw-touch .pf-case-stage .dc-live-el .dc-still {
  position: absolute; inset: 0; z-index: 1; display: block;
  width: 100%; height: 100%; object-fit: cover; object-position: 50% 0; pointer-events: none;
}
.nw-touch .pf-case-stage .dc-live-el .dc-still ~ * { display: none !important; }
.nw-touch .pf-case-stage .dc-live-el::before,
.nw-touch .pf-case-stage .dc-live-el::after { display: none !important; animation: none !important; }

/* ---------- Runda 6: conceptele pe dispozitive premium (ca laptopurile din /showcase): ramă subțire, cameră, bază ---------- */
.pf-shot { margin-bottom: 20px; }
.pf-tilt {
  border: 0;
  box-shadow:
    0 0 0 5px #070808,
    0 0 0 6px #2c312f,
    0 0 0 7px rgba(255, 255, 255, 0.1),
    0 40px 80px -30px rgba(0, 0, 0, 0.85),
    0 18px 36px -18px rgba(0, 0, 0, 0.6);
}
.pf-tilt::after {                 /* sticla: o rază foarte fină și uniformă (fără bandă care luminează o jumătate) */
  content: '';
  position: absolute;
  inset: 0;
  z-index: 6;
  pointer-events: none;
  background: radial-gradient(ellipse 60% 70% at 50% 0%, rgba(255, 255, 255, 0.035), transparent 70%);
}
.pf-shot::after {                 /* baza laptopului */
  content: '';
  position: absolute;
  left: -2%;
  right: -2%;
  bottom: -19px;
  height: 11px;
  z-index: 0;
  border-radius: 2px 2px 14px 14px;
  background: linear-gradient(180deg, #6a6f6d 0%, #3a3f3d 18%, #171a19 70%, #0b0d0c 100%);
  box-shadow: 0 14px 24px -10px rgba(0, 0, 0, 0.8), inset 0 1px 0 rgba(255, 255, 255, 0.16);
  clip-path: inset(0 0 0 0 round 2px 2px 14px 14px);
  pointer-events: none;
}
.pf-case-stage .pf-shot::after { display: none; }
.pf-card.is-hidden .pf-shot::after { display: none; }
