/*! © 2026 Loombytle (https://loombytle.online) — platforma Unlimit Scripts. Vezi LICENSE.txt. */
/* Pagina de intrare (landing.html): se sprijină pe bundle.css (culori, butoane, hero, showcase, footer) și adaugă doar ce e al ei. */
.ld-nav { --tabs-h: 0px; }
.ld-nav .nav-right { gap: 10px; }
.ld-dc { width: 20px; height: 20px; flex: none; }
.btn.sm .ld-dc { width: 18px; height: 18px; }

/* mentenanță / mesaje (logare eșuată, cont suspendat, deconectat de un admin) */
.ld-strip, .ld-msg {
  display: block; padding: 12px var(--nav-pad); border-bottom: 1px solid var(--line); background: var(--bg-2);
  color: var(--text); font-size: 15px; text-align: center; text-wrap: balance;
}
.ld-msg[hidden] { display: none; }
.ld-strip::before, .ld-msg::before { content: ""; display: inline-block; width: 8px; height: 8px; margin-right: 10px; border-radius: 50%; vertical-align: 1px; background: var(--warn); }
.ld-msg.err::before { background: var(--no); }
.ld-msg a { color: var(--blue-l); font-weight: 700; text-decoration: underline; text-underline-offset: 3px; }

/* ---------- hero ---------- */
.ld { overflow-x: clip; }
.ld-hero { min-height: calc(90vh - var(--bar-h)); grid-template-columns: minmax(0, 1fr) minmax(0, 1.12fr); }
.ld-hero .lead { max-width: 540px; }
.ld-cta { margin-top: 30px; }
.ld-big { height: 52px; padding: 0 24px; font-size: 15.5px; }
.ld-privacy { display: flex; align-items: center; gap: 8px; margin-top: 16px; color: var(--muted); font-size: 13.5px; }
.ld-privacy svg { width: 16px; height: 16px; flex: none; fill: none; stroke: var(--blue-2); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.ld-art { padding-bottom: 0; width: min(100%, 720px); }

/* cifre reale din baza de date: un singur rând, despărțite de linii fine */
.ld-stats { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(0, 1fr); margin: 36px 0 0; padding-top: 24px; border-top: 1px solid var(--line); max-width: 560px; }
.ld-stats > div { padding: 0 18px; border-left: 1px solid var(--line); min-width: 0; }
.ld-stats > div:first-child { padding-left: 0; border-left: 0; }
.ld-stats dt { font: 600 26px/1.1 var(--mono); color: var(--text); font-variant-numeric: tabular-nums; letter-spacing: -.02em; }
.ld-stats dd { margin: 4px 0 0; color: var(--muted); font-size: 13px; }

/* scena din dreapta: captura mare + două cartonașe care plutesc lângă ea */
.ld-stage { position: relative; padding: 34px 0 56px; }
.ld-float { position: absolute; z-index: 3; border-radius: 14px; border: 1px solid var(--line-2); background: rgba(17, 26, 45, .86); backdrop-filter: blur(12px);
  box-shadow: var(--shadow-2); animation: bob 7s ease-in-out infinite; }
.ld-cfg { left: -40px; bottom: 0; width: 270px; overflow: hidden; }
.ld-cfg-bar { display: flex; align-items: center; gap: 6px; padding: 9px 12px; border-bottom: 1px solid var(--line); }
.ld-cfg-bar i { width: 8px; height: 8px; border-radius: 50%; background: var(--n-600); }
.ld-cfg-bar span { margin-left: 6px; font-size: 11.5px; color: var(--muted); }
.ld-cfg pre { margin: 0; padding: 12px 14px 14px; font-size: 12.5px; line-height: 1.75; color: var(--blue-l); white-space: pre; }
.ld-cfg .c { color: var(--dim); }
.ld-cfg .k { color: var(--blue-2); }
.ld-chip { right: -18px; top: 0; display: flex; align-items: center; gap: 12px; padding: 12px 16px 12px 12px; animation-delay: -3.5s; }
.ld-chip-ic { width: 36px; height: 36px; border-radius: 10px; display: grid; place-items: center; background: rgba(63, 178, 127, .14); border: 1px solid rgba(63, 178, 127, .35); }
.ld-chip-ic svg { width: 18px; height: 18px; fill: none; stroke: var(--ok); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.ld-chip span:last-child { display: grid; line-height: 1.3; }
.ld-chip b { font-size: 14px; font-weight: 600; }
.ld-chip small { font-size: 12px; color: var(--muted); }

/* ---------- previzualizarea catalogului: două benzi care curg în sensuri opuse ---------- */
.ld-catalog { padding-top: clamp(40px, 6vw, 80px); }
.ld-cat-head { padding-top: 0; }
.ld-cat-head .sec-head { align-items: flex-end; }
.ld-cat-intro { margin-top: 10px; color: var(--muted); font-size: 15.5px; max-width: 720px; }
.lp-rows { display: grid; gap: 18px; -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); }
.lp-row { overflow: hidden; }
/* fără JavaScript banda stă pe loc și se poate derula cu mâna; animația pornește doar după ce landing.js o dublează (.dup) */
.lp-row { overflow-x: auto; scrollbar-width: none; }
.lp-row::-webkit-scrollbar { display: none; }
.lp-track { display: flex; gap: 18px; width: max-content; padding: 6px 0 10px; }
.lp-track.dup { animation: lp-scroll 60s linear infinite; }
.lp-row:has(.dup) { overflow: hidden; }
.lp-row.rev .lp-track.dup { animation-direction: reverse; animation-duration: 70s; }
.lp-rows:hover .lp-track { animation-play-state: paused; }
@keyframes lp-scroll { to { transform: translateX(calc(-50% - 9px)); } }
.lp-card { flex: none; width: 300px; display: flex; flex-direction: column; border-radius: 16px; border: 1px solid var(--line); background: var(--card); overflow: hidden;
  transition: transform .45s var(--ease), border-color .3s, box-shadow .45s var(--ease); }
.lp-card:hover { transform: translateY(-5px); border-color: rgba(77, 141, 255, .45); box-shadow: var(--shadow-2); }
.lp-img { margin: 5px 5px 0; aspect-ratio: 16 / 10; border-radius: 12px; overflow: hidden; background: var(--bg-2); }
.lp-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease); }
.lp-card:hover .lp-img img { transform: scale(1.06); }
.lp-b { display: grid; gap: 6px; padding: 14px 16px 16px; }
.lp-b small { font-size: 12px; color: var(--dim); }
.lp-b b { font-size: 16px; font-weight: 600; letter-spacing: -.01em; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.lp-fw { display: flex; flex-wrap: wrap; gap: 5px; }
.lp-fw i { font: 500 10.5px var(--mono); font-style: normal; color: var(--muted); padding: 2px 7px; border-radius: 999px; background: rgba(255, 255, 255, .045); }
.lp-lock { display: flex; align-items: center; gap: 6px; margin-top: 6px; padding-top: 10px; border-top: 1px solid var(--line); font-size: 12.5px; color: var(--muted); transition: color .2s; }
.lp-lock svg { width: 14px; height: 14px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.lp-card:hover .lp-lock { color: var(--blue-l); }

/* ---------- cum funcționează ---------- */
.ld-steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; counter-reset: s; }
.ld-steps li { position: relative; padding: 26px; border-radius: 18px; border: 1px solid var(--line); background: var(--card); transition: border-color .3s, transform .45s var(--ease); }
.ld-steps li:hover { border-color: var(--line-2); transform: translateY(-3px); }
.ld-steps li:not(:last-child)::after { content: ""; position: absolute; top: 44px; right: -17px; width: 18px; height: 1px; background: linear-gradient(90deg, var(--line-2), transparent); }
.ld-n { display: inline-grid; place-items: center; width: 38px; height: 38px; border-radius: 10px; font-size: 13px; color: var(--blue-l); background: rgba(var(--blue-rgb), .12); border: 1px solid rgba(77, 141, 255, .3); }
.ld-steps h3 { margin: 16px 0 8px; font-size: 19px; font-weight: 650; }
.ld-steps p { color: var(--muted); font-size: 15px; }

/* ---------- carduri: ce se deblochează ---------- */
.ld-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.ld-card {
  position: relative; isolation: isolate; display: flex; flex-direction: column; gap: 10px; padding: 26px; border-radius: 18px;
  background: var(--card); transition: transform .45s var(--ease), box-shadow .45s var(--ease);
}
.ld-card > * { position: relative; z-index: 1; }
a.ld-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-2); }
.ld-card.rv.in:hover { transform: translateY(-4px); transition-delay: 0ms; }
.ld-go span { display: inline-block; transition: transform .3s var(--ease); }
a.ld-card:hover .ld-go span { transform: translateX(3px); }
a.ld-card:hover .ld-go { color: var(--blue-l); }
.ld-card h3 { font-size: 19px; font-weight: 650; }
.ld-card p { color: var(--muted); font-size: 15px; }
.ld-ic { width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; background: rgba(77, 141, 255, .1); border: 1px solid var(--line-2); margin-bottom: 6px; }
.ld-ic svg { width: 22px; height: 22px; fill: none; stroke: var(--blue-l); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.ld-go { margin-top: auto; padding-top: 10px; font-weight: 600; font-size: 14.5px; color: var(--blue-2); transition: color .2s; }

/* ---------- banda finală ---------- */
.ld-final { position: relative; isolation: isolate; overflow: hidden; display: grid; justify-items: center; gap: 14px; text-align: center; padding: clamp(40px, 6vw, 72px) clamp(20px, 4vw, 48px);
  border-radius: 24px; background: radial-gradient(80% 120% at 50% 0%, rgba(var(--blue-rgb), .2), transparent 60%), var(--card); }
.ld-final > *:not(.hero-fx) { position: relative; z-index: 1; }
.ld-final .hero-fx .orb.a { left: 50%; top: -260px; transform: translateX(-50%); opacity: .35; animation: none; }
.ld-final img { width: 64px; height: 64px; }
.ld-final h2 { font-size: clamp(28px, 3.4vw, 44px); font-weight: 650; letter-spacing: -.03em; max-width: 720px; }
.ld-final p { color: var(--muted); font-size: 16.5px; max-width: 620px; }
.ld-final-cta { display: flex; gap: 12px; flex-wrap: wrap; justify-content: center; margin-top: 8px; }
.ld-final-pts { list-style: none; margin: 6px 0 0; padding: 0; display: flex; gap: 8px 22px; flex-wrap: wrap; justify-content: center; font-size: 13.5px; color: var(--muted); }
.ld-final-pts li { display: inline-flex; align-items: center; gap: 7px; }
.ld-final-pts li::before { content: ""; width: 14px; height: 14px; background: var(--ok); -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12l5 5L20 7'/%3E%3C/svg%3E") center / contain no-repeat; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12l5 5L20 7'/%3E%3C/svg%3E") center / contain no-repeat; }

.ld-body .foot { margin-top: clamp(60px, 8vw, 110px); border-top: 1px solid var(--line); }
.ld-cookies { flex-basis: 100%; font-size: 13px; color: var(--dim); }

@media (max-width: 1180px) { .ld-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } .ld-cfg { left: -12px; } .ld-chip { right: 0; } }
@media (max-width: 980px) {
  .ld-hero { min-height: 0; grid-template-columns: minmax(0, 1fr); }
  .ld-nav { flex-wrap: nowrap; }
  .ld-steps { grid-template-columns: minmax(0, 1fr); }
  .ld-steps li:not(:last-child)::after { display: none; }
}
@media (max-width: 640px) {
  .ld-hide-s { display: none; }
  .ld-grid { grid-template-columns: minmax(0, 1fr); }
  .ld-cta .btn, .ld-final-cta .btn { flex: 1 1 100%; justify-content: center; }
  .ld-stats { grid-auto-flow: row; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px 0; }
  .ld-stats > div:nth-child(odd) { padding-left: 0; border-left: 0; }
  .ld-stage { padding: 0 0 20px; }
  .ld-cfg { position: relative; left: 0; width: 100%; margin-top: -10px; animation: none; }
  .ld-chip { top: auto; bottom: 150px; right: 10px; padding: 9px 12px 9px 9px; }
  .lp-card { width: 250px; }
  .ld-cat-head .sec-head .btn { display: none; }
}


/* ---------- paginile legale (legal.html): meniu în stânga, text lizibil în dreapta ---------- */
.ld-legal { flex-basis: 100%; font-size: 14px; }
.lg { max-width: 1200px; margin: 0 auto; padding: clamp(32px, 5vw, 64px) clamp(16px, 4vw, 48px) 0; display: grid; grid-template-columns: 260px minmax(0, 1fr); gap: clamp(24px, 4vw, 64px); align-items: start; }
.lg-side { position: sticky; top: calc(var(--bar-h) + 24px); }
.lg-side nav { display: flex; flex-direction: column; gap: 4px; }
.lg-side a { padding: 10px 14px; border-radius: 10px; color: var(--muted); font-weight: 600; border: 1px solid transparent; }
.lg-side a:hover { color: var(--text); background: rgba(77, 141, 255, .08); }
.lg-side a[aria-current="page"] { color: var(--text); background: var(--card); border-color: var(--line-2); box-shadow: inset 3px 0 0 var(--blue-2); }
.lg-doc { max-width: 820px; min-width: 0; }
.lg-doc h1 { font-size: clamp(32px, 4vw, 48px); font-weight: 700; margin-bottom: 14px; }
.lg-lead { font-size: 18px; color: var(--muted); margin-bottom: 12px; }
.lg-doc h2 { font-size: 22px; font-weight: 650; margin: 40px 0 12px; scroll-margin-top: calc(var(--bar-h) + 20px); }
.lg-doc p, .lg-doc li { color: var(--n-200); font-size: 16px; line-height: 1.7; }
.lg-doc p + p { margin-top: 12px; }
.lg-doc ul { margin: 10px 0 0; padding-left: 22px; display: grid; gap: 6px; }
.lg-doc li::marker { color: var(--blue-2); }
.lg-doc b { color: var(--text); }
.lg-doc a:not(.btn) { color: var(--blue-l); text-decoration: underline; text-underline-offset: 3px; }
.lg-doc .btn { margin-top: 8px; }
.lg-dl { display: grid; grid-template-columns: max-content minmax(0, 1fr); gap: 10px 24px; margin: 16px 0 0; padding: 20px 22px; border-radius: var(--r); border: 1px solid var(--line); background: var(--card); }
.lg-dl dt { color: var(--muted); font-weight: 600; }
.lg-dl dd { margin: 0; overflow-wrap: anywhere; }
.lg-tbl { width: 100%; border-collapse: collapse; margin-top: 14px; font-size: 15px; border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; }
.lg-tbl th, .lg-tbl td { text-align: left; vertical-align: top; padding: 12px 14px; border-bottom: 1px solid var(--line); }
.lg-tbl th { background: var(--card-2); color: var(--muted); font-size: 13px; text-transform: uppercase; letter-spacing: .06em; }
.lg-tbl td { color: var(--n-200); }
.lg-tbl tr:last-child td { border-bottom: 0; }

@media (max-width: 860px) {
  .lg { grid-template-columns: minmax(0, 1fr); }
  .lg-side { position: static; }
  .lg-side nav { flex-direction: row; overflow-x: auto; scrollbar-width: none; }
  .lg-side a { white-space: nowrap; }
}
@media (max-width: 640px) {
  .lg-tbl, .lg-tbl tbody, .lg-tbl tr, .lg-tbl td { display: block; }
  .lg-tbl tr:first-child { display: none; }
  .lg-tbl tr { border-bottom: 1px solid var(--line); padding: 8px 0; }
  .lg-tbl td { border: 0; padding: 4px 14px; }
  .lg-dl { grid-template-columns: minmax(0, 1fr); gap: 2px; }
  .lg-dl dd { margin-bottom: 10px; }
}
