/*! © 2026 Loombytle (https://loombytle.online) — platforma Unlimit Scripts (magazin, conturi, licențe, plăți, forum, admin) a fost proiectată și dezvoltată de Loombytle. Toate drepturile rezervate. Mențiunea de autor nu se elimină și nu se ascunde; vezi LICENSE.txt. */
/* Unlimit Scripts — tema Unlimit: albastru chrome pe navy. */
:root {
  --bg: #030712;
  --bg-2: #060d1f;
  --card: #0b1226;
  --card-2: #111a33;
  --line: rgba(120, 160, 255, .12);
  --line-2: rgba(120, 160, 255, .22);
  --text: #e8eefc;
  --muted: #8d9bbd;
  --dim: #5b6788;
  --blue: #1f6bff;
  --blue-2: #3d9bff;
  --blue-l: #a8d8ff;
  --blue-d: #0a2f9e;
  --ok: #34d399;
  --no: #ff5d6c;
  --warn: #ffb547;
  --chrome: linear-gradient(180deg, #ffffff 0%, #dbe6ff 38%, #8ea3cc 52%, #eef3ff 70%, #a9b8d8 100%);
  --r: 16px;
  --font: "Urbanist", system-ui, sans-serif;
  --mono: "JetBrains Mono", ui-monospace, monospace;
  --nav-h: 68px;
  color-scheme: dark;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--nav-h) + 16px); }
body {
  margin: 0; background: var(--bg); color: var(--text); font: 500 16px/1.55 var(--font);
  -webkit-font-smoothing: antialiased; overflow-x: hidden;
}
body.lock { overflow: hidden; }
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; cursor: pointer; }
h1, h2, h3 { margin: 0; line-height: 1.08; letter-spacing: -.02em; }
p { margin: 0; }
.mono { font-family: var(--mono); font-size: .92em; letter-spacing: 0; }
.accent { color: var(--blue-2); }
.chrome { background: var(--chrome); -webkit-background-clip: text; background-clip: text; color: transparent; }
[hidden] { display: none !important; }
:focus-visible { outline: 2px solid var(--blue-2); outline-offset: 2px; border-radius: 6px; }

/* ---------- NAV ---------- */
.nav {
  position: sticky; top: 0; z-index: 40; height: var(--nav-h);
  display: flex; align-items: center; gap: 28px; padding: 0 clamp(16px, 4vw, 48px);
  background: rgba(3, 7, 18, .72); backdrop-filter: blur(14px) saturate(140%);
  border-bottom: 1px solid var(--line);
}
.brand { display: flex; align-items: center; gap: 10px; }
.brand img { filter: drop-shadow(0 0 10px rgba(31, 107, 255, .55)); }
.brand span { display: flex; flex-direction: column; line-height: 1; }
.brand b { font-weight: 900; letter-spacing: .16em; font-size: 15px; }
.brand i { font-style: normal; font-family: var(--mono); font-size: 10px; letter-spacing: .42em; color: var(--blue-2); margin-top: 4px; }
.nav-links { display: flex; gap: 4px; margin-left: 12px; }
.nav-links a { white-space: nowrap; padding: 8px 12px; border-radius: 10px; color: var(--muted); font-weight: 600; font-size: 15px; transition: color .2s, background .2s; }
.nav-links a:hover, .nav-links a.on { color: var(--text); background: rgba(61, 155, 255, .08); }
.nav-right { margin-left: auto; display: flex; gap: 10px; align-items: center; }
.fw-pill {
  display: flex; align-items: center; gap: 8px; height: 38px; padding: 0 14px; border-radius: 999px;
  background: var(--card); border: 1px solid var(--line-2); font-weight: 700; font-size: 14px;
}
.fw-pill .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--ok); box-shadow: 0 0 10px var(--ok); }
.cart-btn {
  display: flex; align-items: center; gap: 10px; height: 38px; padding: 0 6px 0 14px; border-radius: 999px;
  background: linear-gradient(180deg, var(--blue-2), var(--blue)); border: 0; font-weight: 700;
  box-shadow: 0 6px 24px -6px rgba(31, 107, 255, .7), inset 0 1px 0 rgba(255, 255, 255, .3);
}
.cart-btn .mono { font-size: 13px; }
.cart-btn b { min-width: 26px; height: 26px; border-radius: 999px; background: rgba(3, 7, 18, .55); display: grid; place-items: center; font-size: 13px; }
.cart-btn.bump b { animation: bump .5s; }
@keyframes bump { 40% { transform: scale(1.35); background: #fff; color: var(--blue-d); } }

/* ---------- BUTTONS ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 10px; height: 50px; padding: 0 22px; border-radius: 12px;
  font-weight: 800; font-size: 16px; border: 1px solid transparent; transition: transform .15s, box-shadow .2s, background .2s;
}
.btn:active { transform: translateY(1px); }
.btn-primary {
  background: linear-gradient(180deg, var(--blue-2), var(--blue)); color: #fff;
  box-shadow: 0 10px 30px -10px rgba(31, 107, 255, .9), inset 0 1px 0 rgba(255, 255, 255, .35);
}
.btn-primary:hover { box-shadow: 0 14px 40px -10px rgba(61, 155, 255, 1), inset 0 1px 0 rgba(255, 255, 255, .35); }
.btn-ghost { background: rgba(61, 155, 255, .06); border-color: var(--line-2); }
.btn-ghost:hover { background: rgba(61, 155, 255, .12); }
.btn.sm { height: 40px; padding: 0 16px; font-size: 14px; border-radius: 10px; }
.btn.block { width: 100%; justify-content: center; }
.icon-btn { width: 38px; height: 38px; border-radius: 10px; background: var(--card-2); border: 1px solid var(--line); display: grid; place-items: center; }

/* ---------- HERO ---------- */
#home { overflow-x: clip; }
.hero {
  position: relative; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: 48px; align-items: center;
  padding: clamp(40px, 7vw, 90px) clamp(16px, 4vw, 48px) 60px; max-width: 1400px; margin: 0 auto; min-height: calc(92vh - var(--nav-h));
}
.hero-grid {
  position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background-image: linear-gradient(var(--line) 1px, transparent 1px), linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 64px 64px; mask-image: radial-gradient(ellipse 70% 60% at 30% 40%, #000 20%, transparent 75%);
  opacity: .55;
}
.hero::before {
  content: ""; position: absolute; z-index: -1; width: 900px; height: 700px; right: -200px; top: -120px; pointer-events: none;
  background: radial-gradient(closest-side, rgba(31, 107, 255, .28), transparent);
}
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px; padding: 7px 14px 7px 10px; border-radius: 999px;
  border: 1px solid var(--line-2); background: rgba(11, 18, 38, .7); font-family: var(--mono); font-size: 12.5px; color: var(--blue-l);
}
.live { width: 8px; height: 8px; border-radius: 50%; background: var(--ok); box-shadow: 0 0 0 0 rgba(52, 211, 153, .6); animation: ping 2s infinite; }
@keyframes ping { 70% { box-shadow: 0 0 0 10px rgba(52, 211, 153, 0); } 100% { box-shadow: 0 0 0 0 rgba(52, 211, 153, 0); } }
.hero h1 .chrome { display: block; text-wrap: balance; }
.hero h1 { text-wrap: balance; font-size: clamp(38px, 4.1vw, 58px); font-weight: 900; margin: 22px 0 20px; }
.lead { font-size: clamp(17px, 1.5vw, 20px); color: var(--muted); max-width: 560px; }
.lead .mono { color: var(--blue-l); }
.fw-ask { margin: 30px 0 28px; display: flex; flex-wrap: wrap; align-items: center; gap: 12px 16px; }
.fw-q { font-weight: 700; color: var(--text); width: 100%; font-size: 14px; text-transform: uppercase; letter-spacing: .12em; color: var(--dim); }
.fw-count { font-family: var(--mono); font-size: 13px; color: var(--blue-l); }
.seg { display: inline-flex; padding: 4px; gap: 4px; border-radius: 14px; background: var(--card); border: 1px solid var(--line-2); }
.seg button {
  border: 0; background: transparent; padding: 9px 16px; border-radius: 10px; font-weight: 800; font-size: 15px; color: var(--muted);
  display: flex; flex-direction: column; align-items: flex-start; line-height: 1.1; transition: background .2s, color .2s;
}
.seg button small { font-family: var(--mono); font-size: 10px; font-weight: 400; color: var(--dim); margin-top: 3px; }
.seg button[aria-checked="true"] { background: linear-gradient(180deg, #16244a, #0e1936); color: #fff; box-shadow: inset 0 0 0 1px rgba(61, 155, 255, .55), 0 0 24px -6px rgba(31, 107, 255, .8); }
.seg button[aria-checked="true"] small { color: var(--blue-l); }
.seg.small button { padding: 7px 12px; font-size: 13px; }
.seg.small button small { display: none; }
.hero-cta { display: flex; gap: 12px; flex-wrap: wrap; }

.hero-art { position: relative; justify-self: end; width: min(100%, 720px); padding-bottom: 200px; }
/* prezentarea HD: un singur ecran, trece singur prin resurse (app.js) */
.showcase {
  position: relative; border-radius: 22px; overflow: hidden; background: #050b1c;
  box-shadow: 0 50px 140px -40px rgba(31, 107, 255, .7), 0 0 0 1px var(--line-2), inset 0 1px 0 rgba(255, 255, 255, .06);
  transform: perspective(1600px) rotateY(var(--ry, -7deg)) rotateX(var(--rx, 3deg)); transition: transform .4s ease-out;
}
.sc-bar { display: flex; align-items: center; gap: 6px; height: 40px; padding: 0 14px; border-bottom: 1px solid var(--line); background: linear-gradient(180deg, #0d1733, #0a1229); }
.sc-bar i { width: 10px; height: 10px; border-radius: 50%; background: #243154; }
.sc-bar i:first-child { background: #3d9bff; box-shadow: 0 0 10px #3d9bff; }
.sc-bar span { margin-left: 10px; font-weight: 800; font-size: 14px; transition: opacity .3s; }
.sc-bar em { margin-left: auto; font-style: normal; font-size: 11px; color: var(--dim); letter-spacing: .08em; text-transform: uppercase; }
.sc-stage { position: relative; display: block; aspect-ratio: 16 / 9; }
.sc-stage img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transform: scale(1.02); transition: opacity .8s ease, transform 5s ease-out; }
.sc-stage img.on { opacity: 1; transform: scale(1); }
.sc-stage::after { content: ""; position: absolute; inset: 0; pointer-events: none; background: linear-gradient(180deg, transparent 70%, rgba(3, 7, 18, .55)); }
.sc-dots { position: absolute; right: 14px; bottom: 12px; z-index: 2; display: flex; gap: 6px; }
.sc-dots button { width: 22px; height: 6px; border-radius: 99px; border: 0; padding: 0; background: rgba(168, 216, 255, .3); transition: width .3s, background .3s; }
.sc-dots button[aria-selected="true"] { width: 38px; background: var(--blue-2); box-shadow: 0 0 10px var(--blue-2); }
.term {
  position: absolute; left: -56px; bottom: 0; width: 330px; border-radius: 14px; overflow: hidden;
  background: rgba(6, 11, 26, .88); backdrop-filter: blur(10px); border: 1px solid var(--line-2);
  box-shadow: 0 30px 60px -20px rgba(0, 0, 0, .8);
}
.term-bar { display: flex; align-items: center; gap: 6px; padding: 10px 12px; border-bottom: 1px solid var(--line); }
.term-bar i { width: 9px; height: 9px; border-radius: 50%; background: #243154; }
.term-bar span { margin-left: 8px; font-family: var(--mono); font-size: 12px; color: var(--muted); }
.term pre { margin: 0; padding: 14px 16px 16px; font: 12.5px/1.75 var(--mono); color: var(--blue-l); min-height: 180px; white-space: pre-wrap; }
.term .c, .cfg .c { color: var(--dim); }
.term .k, .cfg .k { color: var(--blue-2); }
.term .new { animation: flash 1.2s; }
@keyframes flash { 0% { background: rgba(61, 155, 255, .35); } 100% { background: transparent; } }
.caret { display: inline-block; width: 8px; height: 15px; background: var(--blue-2); vertical-align: -3px; animation: blink 1s steps(1) infinite; }
@keyframes blink { 50% { opacity: 0; } }

/* ---------- TICKER ---------- */
.ticker { border-block: 1px solid var(--line); background: var(--bg-2); overflow: hidden; }
.ticker-track { display: flex; width: max-content; animation: tick 48s linear infinite; }
.ticker:hover .ticker-track { animation-play-state: paused; }
.ticker-track span { padding: 14px 28px; font-family: var(--mono); font-size: 13px; color: var(--muted); white-space: nowrap; display: flex; align-items: center; gap: 12px; }
.ticker-track span::before { content: ""; width: 6px; height: 6px; background: var(--blue-2); transform: rotate(45deg); box-shadow: 0 0 8px var(--blue-2); }
@keyframes tick { to { transform: translateX(-50%); } }

/* ---------- SECTIONS ---------- */
.section { max-width: 1400px; margin: 0 auto; padding: clamp(60px, 8vw, 110px) clamp(16px, 4vw, 48px) 0; }
.sec-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; flex-wrap: wrap; margin-bottom: 32px; }
.kicker { color: var(--blue-2); font-size: 12.5px; letter-spacing: .1em; text-transform: uppercase; margin-bottom: 10px; }
.sec-head h2 { font-size: clamp(32px, 4vw, 52px); font-weight: 900; }
.filters { display: flex; gap: 12px; flex-wrap: wrap; align-items: center; }
.chips { display: flex; gap: 6px; flex-wrap: wrap; min-width: 0; }
.sec-head > * { min-width: 0; }
.chip {
  border: 1px solid var(--line); background: transparent; color: var(--muted); padding: 8px 14px; border-radius: 999px;
  font-weight: 700; font-size: 14px; transition: all .2s;
}
.chip:hover { color: var(--text); border-color: var(--line-2); }
.chip[aria-selected="true"] { background: var(--text); color: var(--bg); border-color: var(--text); }
.search { display: flex; align-items: center; gap: 8px; height: 40px; padding: 0 14px; border-radius: 999px; border: 1px solid var(--line-2); background: var(--card); min-width: 240px; }
.search svg { width: 16px; height: 16px; fill: none; stroke: var(--muted); stroke-width: 2; }
.search input { flex: 1; border: 0; background: transparent; outline: 0; color: var(--text); font: 600 14px var(--font); min-width: 0; }

/* ---------- GRID / CARDS ---------- */
.grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.card {
  position: relative; display: flex; flex-direction: column; border-radius: var(--r); overflow: hidden; background: var(--card);
  border: 1px solid var(--line); transition: transform .3s cubic-bezier(.2, .8, .2, 1), border-color .3s, box-shadow .3s;
  animation: rise .5s both;
}
@keyframes rise { from { opacity: 0; transform: translateY(14px); } }
.card:hover { transform: translateY(-4px); border-color: rgba(61, 155, 255, .45); box-shadow: 0 24px 60px -24px rgba(31, 107, 255, .6); }
.card.feat { grid-column: span 2; grid-row: span 2; }
.card .shot { position: relative; aspect-ratio: 16 / 10; overflow: hidden; background: var(--bg-2); }
.card.feat .shot { aspect-ratio: auto; flex: 1; min-height: 340px; }
.card .shot img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s cubic-bezier(.2, .8, .2, 1); }
.card:hover .shot img { transform: scale(1.05); }
.card .shot::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 50%, rgba(11, 18, 38, .95)); }
.badges { position: absolute; top: 12px; left: 12px; right: 12px; z-index: 2; display: flex; gap: 6px; flex-wrap: wrap; }
.badge {
  font-family: var(--mono); font-size: 11px; padding: 4px 8px; border-radius: 6px; background: rgba(3, 7, 18, .78);
  border: 1px solid var(--line-2); color: var(--blue-l); backdrop-filter: blur(6px); line-height: 1.2;
}
.badge.ok { color: var(--ok); border-color: rgba(52, 211, 153, .35); }
.badge.warn { color: var(--warn); border-color: rgba(255, 181, 71, .35); }
.badge.ui { color: #c9b8ff; border-color: rgba(167, 139, 250, .35); }
.badge.right { margin-left: auto; }
.card .body { position: relative; z-index: 2; padding: 16px 18px 18px; margin-top: -40px; display: flex; flex-direction: column; gap: 6px; }
.card h3 { font-size: 22px; font-weight: 800; }
.card.feat h3 { font-size: 34px; }
.card .tag { color: var(--muted); font-size: 14.5px; line-height: 1.45; }
.card.feat .tag { font-size: 17px; max-width: 560px; }
.card .row { display: flex; align-items: center; gap: 10px; margin-top: 10px; }
.price { font-weight: 900; font-size: 24px; letter-spacing: -.02em; }
.price small { font-size: .6em; font-weight: 700; margin-left: 2px; }
.card .row .spacer { flex: 1; }
.add {
  height: 40px; padding: 0 14px; border-radius: 10px; border: 1px solid rgba(61, 155, 255, .45); background: rgba(31, 107, 255, .12);
  font-weight: 800; font-size: 14px; display: flex; align-items: center; gap: 8px; transition: background .2s;
}
.add:hover { background: rgba(31, 107, 255, .28); }
.add.in { background: var(--blue); border-color: var(--blue); }
.card .link { position: absolute; inset: 0; z-index: 1; }
.card .row .add, .card .row .more { position: relative; z-index: 3; }
.more { height: 40px; padding: 0 12px; border-radius: 10px; border: 1px solid var(--line); background: transparent; font-weight: 700; font-size: 14px; color: var(--muted); }
.more:hover { color: var(--text); border-color: var(--line-2); }
.card.custom { grid-column: span 2; justify-content: center; padding: 34px; gap: 10px; background: radial-gradient(ellipse at 90% 10%, rgba(31, 107, 255, .3), transparent 60%), linear-gradient(135deg, #0d1a3d, var(--card)); border-style: dashed; border-color: rgba(61, 155, 255, .4); }
.card.custom h3 { font-size: 30px; font-weight: 900; max-width: 520px; }
.card.custom .tag { font-size: 16px; max-width: 520px; }
.card.custom .kicker { margin: 0; }
.card.custom.narrow { padding: 28px 24px; }
.card.custom.narrow h3 { font-size: 26px; }
.card.custom.narrow .tag { font-size: 15px; }
.card.dim .shot img { filter: saturate(.35) brightness(.7); }
.empty { color: var(--muted); padding: 40px 0; text-align: center; }

/* ---------- STEPS ---------- */
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; }
.steps li { padding: 30px 28px 34px; position: relative; background: linear-gradient(180deg, var(--card), var(--bg)); }
.steps li + li { border-left: 1px solid var(--line); }
.steps .n { color: var(--blue-2); font-size: 13px; }
.steps h3 { font-size: 24px; font-weight: 800; margin: 18px 0 10px; }
.steps p { color: var(--muted); }
.steps .mono { color: var(--blue-l); }
.steps li:not(:last-child)::after {
  content: "→"; position: absolute; right: -14px; top: 30px; z-index: 2; width: 28px; height: 28px; border-radius: 50%;
  background: var(--bg); border: 1px solid var(--line-2); display: grid; place-items: center; color: var(--blue-2); font-size: 14px;
}

/* ---------- STANDARD ---------- */
.std-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.std { padding: 26px; border-radius: var(--r); border: 1px solid var(--line); background: var(--card); }
.std h3 { font-size: 20px; font-weight: 800; margin-bottom: 8px; }
.std p { color: var(--muted); font-size: 15px; }
.std.big { grid-column: span 4; display: grid; grid-template-columns: 1fr 1fr; gap: 12px 40px; align-items: center; padding: 36px;
  background: radial-gradient(ellipse at 100% 0%, rgba(31, 107, 255, .22), transparent 60%), var(--card); }
.std.big h3 { font-size: clamp(26px, 3vw, 38px); font-weight: 900; }
.std.big p { font-size: 17px; }
.flow { grid-column: 1 / -1; display: flex; align-items: center; gap: 10px; flex-wrap: wrap; margin-top: 14px; font-size: 13px; }
.flow span { padding: 10px 16px; border: 1px solid var(--line-2); border-radius: 10px; background: var(--bg-2); }
.flow span.hl { border-color: var(--blue); color: #fff; background: rgba(31, 107, 255, .2); box-shadow: 0 0 30px -8px var(--blue); }
.flow em { font-style: normal; color: var(--dim); display: flex; align-items: center; gap: 8px; }
.flow em::before, .flow em::after { content: ""; width: 22px; height: 1px; background: var(--line-2); }

/* ---------- LICENSE ---------- */
.lic { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.lic article { padding: 22px; border-radius: var(--r); border: 1px solid var(--line); background: var(--card); }
.lic .st { font-family: var(--mono); font-size: 11px; padding: 4px 8px; border-radius: 6px; display: inline-block; margin-bottom: 14px; }
.lic .ok .st { color: var(--ok); background: rgba(52, 211, 153, .1); }
.lic .no .st { color: var(--no); background: rgba(255, 93, 108, .1); }
.lic h3 { font-size: 19px; font-weight: 800; margin-bottom: 6px; }
.lic p { color: var(--muted); font-size: 15px; }

/* ---------- FAQ ---------- */
.faq-wrap { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(32px, 5vw, 80px); align-items: start; }
.faq-side { position: sticky; top: calc(var(--nav-h) + 32px); }
.faq-side h2 { font-size: clamp(32px, 4vw, 52px); font-weight: 900; }
.faq-lead { color: var(--muted); margin: 16px 0 28px; max-width: 460px; font-size: 17px; }
.help-card { border-radius: var(--r); border: 1px solid var(--line-2); padding: 22px; display: grid; gap: 16px;
  background: radial-gradient(ellipse at 100% 0%, rgba(31, 107, 255, .22), transparent 60%), var(--card); }
.help-row { display: flex; gap: 14px; align-items: flex-start; }
.help-row b { display: block; font-size: 16px; }
.help-row span:not(.help-ic) { color: var(--muted); font-size: 14.5px; }
.help-ic { flex: 0 0 38px; height: 38px; border-radius: 10px; display: grid; place-items: center; background: rgba(31, 107, 255, .16); color: var(--blue-2); font-weight: 700; border: 1px solid rgba(61, 155, 255, .3); }
.help-btns { display: flex; gap: 10px; flex-wrap: wrap; padding-top: 4px; }
.faq { border-top: 1px solid var(--line); }
.faq details { transition: background .2s; }
.faq details[open] { background: linear-gradient(90deg, rgba(31, 107, 255, .07), transparent 70%); }
.faq summary { padding-inline: 16px; }
.faq details p { padding-inline: 16px; }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; padding-block: 22px; font-size: 19px; font-weight: 700; display: flex; justify-content: space-between; gap: 20px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-family: var(--mono); color: var(--blue-2); font-size: 22px; line-height: 1; transition: transform .25s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { padding-bottom: 22px; color: var(--muted); max-width: 720px; }

/* ---------- CTA / FOOTER ---------- */
.cta-band {
  max-width: 1304px; margin: clamp(60px, 8vw, 110px) auto 0; padding: 34px 40px; border-radius: 24px; display: flex; align-items: center; gap: 24px;
  background: linear-gradient(100deg, rgba(10, 47, 158, .55), rgba(11, 18, 38, .9) 60%), url(../img/og-scripts.jpg) center / cover; border: 1px solid var(--line-2);
}
.cta-band > div { flex: 1; }
.cta-band h2 { font-size: clamp(24px, 3vw, 34px); font-weight: 900; }
.cta-band p { color: var(--blue-l); margin-top: 6px; }
.cta-band img { filter: drop-shadow(0 0 20px rgba(31, 107, 255, .8)); }
.foot { max-width: 1400px; margin: 0 auto; padding: 48px clamp(16px, 4vw, 48px) 40px; display: flex; gap: 20px 40px; align-items: center; flex-wrap: wrap; color: var(--dim); font-size: 14px; }
.foot p:first-of-type { flex: 1; }

/* ---------- PRODUCT ---------- */
#product { max-width: 1400px; margin: 0 auto; padding: 28px clamp(16px, 4vw, 48px) 80px; animation: rise .4s both; }
.crumbs { display: flex; gap: 10px; align-items: center; color: var(--muted); font-size: 14px; margin-bottom: 24px; font-family: var(--mono); }
.crumbs a:hover { color: var(--text); }
.p-top { display: grid; grid-template-columns: minmax(0, 1fr) 400px; gap: 32px; align-items: start; }
.gal-main { border-radius: 20px; overflow: hidden; border: 1px solid var(--line-2); aspect-ratio: 16 / 9; background: var(--bg-2); position: relative; }
.gal-main img { width: 100%; height: 100%; object-fit: cover; }
.gal-main .zoom { position: absolute; right: 12px; bottom: 12px; }
.gal-thumbs { display: flex; gap: 10px; margin-top: 12px; overflow-x: auto; padding-bottom: 4px; }
.gal-thumbs button { flex: 0 0 120px; aspect-ratio: 16 / 9; border-radius: 10px; overflow: hidden; border: 2px solid transparent; padding: 0; background: none; opacity: .6; transition: opacity .2s, border-color .2s; }
.gal-thumbs button[aria-current="true"], .gal-thumbs button:hover { opacity: 1; border-color: var(--blue-2); }
.gal-thumbs img { width: 100%; height: 100%; object-fit: cover; }
.buy {
  position: sticky; top: calc(var(--nav-h) + 20px); border-radius: 20px; padding: 26px; border: 1px solid var(--line-2);
  background: radial-gradient(ellipse at 100% 0%, rgba(31, 107, 255, .18), transparent 55%), var(--card);
}
.buy .rid { font-family: var(--mono); font-size: 12.5px; color: var(--blue-2); }
.buy h1 { font-size: 34px; font-weight: 900; margin: 8px 0 10px; }
.buy .tag { color: var(--muted); }
.buy .price { font-size: 44px; margin: 20px 0 4px; }
.buy .vat { color: var(--dim); font-size: 13px; }
.compat { margin: 18px 0; padding: 14px; border-radius: 12px; background: var(--bg-2); border: 1px solid var(--line); display: flex; gap: 12px; align-items: flex-start; font-size: 14.5px; }
.compat .ic { width: 26px; height: 26px; flex: 0 0 26px; border-radius: 8px; display: grid; place-items: center; font-weight: 900; }
.compat.ok .ic { background: rgba(52, 211, 153, .15); color: var(--ok); }
.compat.warn .ic { background: rgba(255, 181, 71, .15); color: var(--warn); }
.compat.ui .ic { background: rgba(167, 139, 250, .15); color: #c9b8ff; }
.compat b { display: block; }
.compat span { color: var(--muted); }
.buy .btns { display: grid; gap: 10px; }
.facts { margin: 22px 0 0; padding: 0; list-style: none; border-top: 1px solid var(--line); }
.facts li { display: flex; justify-content: space-between; gap: 16px; padding: 11px 0; border-bottom: 1px solid var(--line); font-size: 14px; }
.facts li span:first-child { color: var(--dim); }
.facts li span:last-child { text-align: right; font-family: var(--mono); font-size: 12.5px; color: var(--blue-l); }
.tabs { display: flex; gap: 4px; margin: 44px 0 0; border-bottom: 1px solid var(--line); overflow-x: auto; }
.tabs button { border: 0; background: none; padding: 14px 18px; font-weight: 800; color: var(--muted); border-bottom: 2px solid transparent; margin-bottom: -1px; white-space: nowrap; }
.tabs button[aria-selected="true"] { color: var(--text); border-color: var(--blue-2); }
.tab-body { padding: 30px 0; max-width: 900px; }
.feat-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.feat-list li { padding: 16px 18px 16px 44px; border-radius: 12px; background: var(--card); border: 1px solid var(--line); position: relative; }
.feat-list li::before { content: ""; position: absolute; left: 18px; top: 22px; width: 10px; height: 10px; transform: rotate(45deg); background: var(--blue-2); box-shadow: 0 0 10px var(--blue-2); }
.note { margin-top: 18px; padding: 14px 16px; border-left: 3px solid var(--warn); background: rgba(255, 181, 71, .06); border-radius: 0 10px 10px 0; color: #ffdca3; font-size: 15px; }

/* ---------- DOC BLOCKS (shared) ---------- */
.doc h2 { font-size: 24px; font-weight: 800; margin: 40px 0 14px; padding-top: 4px; }
.doc h2:first-child { margin-top: 0; }
.doc p { color: #c4cde3; margin: 0 0 14px; }
.doc ul, .doc ol { margin: 0 0 16px; padding-left: 22px; color: #c4cde3; }
.doc li { margin: 6px 0; }
.doc ol.steps-doc { list-style: none; padding: 0; counter-reset: s; }
.doc ol.steps-doc li { counter-increment: s; position: relative; padding: 10px 0 10px 46px; }
.doc ol.steps-doc li::before { content: counter(s); position: absolute; left: 0; top: 8px; width: 30px; height: 30px; border-radius: 8px; background: rgba(31, 107, 255, .15); color: var(--blue-2); font: 700 13px/30px var(--mono); text-align: center; }
.doc code { font-family: var(--mono); font-size: .88em; padding: 2px 6px; border-radius: 5px; background: rgba(61, 155, 255, .1); color: var(--blue-l); }
.codebox { position: relative; margin: 0 0 18px; border-radius: 12px; border: 1px solid var(--line-2); background: #050b1c; overflow: hidden; }
.codebox .cb-bar { display: flex; justify-content: space-between; align-items: center; padding: 8px 10px 8px 14px; border-bottom: 1px solid var(--line); font-family: var(--mono); font-size: 12px; color: var(--muted); }
.copy { border: 1px solid var(--line-2); background: var(--card-2); border-radius: 8px; padding: 4px 10px; font-family: var(--mono); font-size: 12px; }
.copy.done { color: var(--ok); border-color: rgba(52, 211, 153, .4); }
.codebox pre { margin: 0; padding: 16px; overflow-x: auto; font: 13px/1.7 var(--mono); color: var(--blue-l); }
.tbl { width: 100%; border-collapse: collapse; margin: 0 0 18px; font-size: 14.5px; }
.tbl th, .tbl td { text-align: left; padding: 11px 14px; border-bottom: 1px solid var(--line); vertical-align: top; }
.tbl th { font-size: 12px; text-transform: uppercase; letter-spacing: .08em; color: var(--dim); font-weight: 700; }
.tbl td:first-child { white-space: nowrap; }
.tbl td:first-child code { white-space: nowrap; }
.tbl td:last-child { color: #c4cde3; }
.tip { padding: 14px 16px; border-radius: 12px; border: 1px solid rgba(61, 155, 255, .3); background: rgba(31, 107, 255, .08); color: var(--blue-l); margin: 0 0 18px; }
.cl { border-left: 1px solid var(--line-2); padding-left: 22px; margin-left: 6px; }
.cl .v { position: relative; margin-bottom: 20px; }
.cl .v::before { content: ""; position: absolute; left: -28px; top: 7px; width: 11px; height: 11px; border-radius: 50%; background: var(--bg); border: 2px solid var(--blue-2); }
.cl .v:first-child::before { background: var(--blue-2); box-shadow: 0 0 12px var(--blue-2); }
.cl .v b { font-family: var(--mono); color: var(--text); }
.cl .v time { font-family: var(--mono); font-size: 12px; color: var(--dim); margin-left: 10px; }
.cl .v ul { margin: 6px 0 0; }

/* ---------- DOCS VIEW ---------- */
#docs { display: grid; grid-template-columns: 280px minmax(0, 1fr) 200px; gap: 40px; max-width: 1400px; margin: 0 auto; padding: 0 clamp(16px, 4vw, 48px); }
.docs-side { position: sticky; top: var(--nav-h); height: calc(100vh - var(--nav-h)); overflow-y: auto; padding: 28px 0 40px; border-right: 1px solid var(--line); padding-right: 20px; }
.docs-side .search { min-width: 0; width: 100%; margin-bottom: 20px; }
.docs-side h4 { font-family: var(--mono); font-size: 11.5px; color: var(--dim); text-transform: uppercase; letter-spacing: .12em; margin: 20px 0 8px; font-weight: 500; }
.docs-side a { display: flex; justify-content: space-between; align-items: center; gap: 8px; padding: 8px 12px; border-radius: 9px; color: var(--muted); font-weight: 600; font-size: 15px; }
.docs-side a:hover { color: var(--text); background: rgba(61, 155, 255, .06); }
.docs-side a.on { color: #fff; background: rgba(31, 107, 255, .16); box-shadow: inset 2px 0 0 var(--blue-2); }
.docs-side a small { font-family: var(--mono); font-size: 10.5px; color: var(--dim); }
.docs-side .shopcard { margin-top: 26px; padding: 16px; border-radius: 12px; background: var(--card); border: 1px solid var(--line); font-size: 14px; color: var(--muted); }
.docs-side .shopcard .btn { margin-top: 12px; }
.docs-main { padding: 36px 0 100px; min-width: 0; animation: rise .35s both; }
.docs-main .d-head { padding-bottom: 26px; margin-bottom: 30px; border-bottom: 1px solid var(--line); }
.docs-main .d-head .kicker { margin-bottom: 8px; }
.docs-main h1 { font-size: clamp(32px, 4vw, 46px); font-weight: 900; }
.docs-main .d-head p { color: var(--muted); margin-top: 10px; font-size: 18px; }
.docs-main .d-head .badges { position: static; margin-top: 16px; }
.docs-main .pager { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 50px; }
.docs-main .pager a { padding: 16px 18px; border-radius: 12px; border: 1px solid var(--line); background: var(--card); }
.docs-main .pager a:hover { border-color: var(--line-2); }
.docs-main .pager small { display: block; font-family: var(--mono); color: var(--dim); font-size: 11.5px; margin-bottom: 4px; }
.docs-main .pager a:last-child { text-align: right; }
.docs-toc { position: sticky; top: var(--nav-h); align-self: start; padding: 40px 0; font-size: 14px; }
.docs-toc b { display: block; font-family: var(--mono); font-size: 11.5px; color: var(--dim); text-transform: uppercase; letter-spacing: .12em; font-weight: 500; margin-bottom: 10px; }
.docs-toc a { display: block; padding: 5px 0 5px 12px; color: var(--muted); border-left: 1px solid var(--line); }
.docs-toc a.on { color: var(--blue-l); border-color: var(--blue-2); }
.docs-toggle { display: none; }

/* ---------- BUILDER ---------- */
.scrim { position: fixed; inset: 0; z-index: 60; background: rgba(1, 3, 10, .6); backdrop-filter: blur(3px); animation: fade .25s; }
@keyframes fade { from { opacity: 0; } }
.builder {
  position: fixed; top: 0; right: 0; bottom: 0; z-index: 70; width: min(480px, 100vw); display: flex; flex-direction: column;
  background: linear-gradient(180deg, #081230, var(--bg) 40%); border-left: 1px solid var(--line-2);
  transform: translateX(100%); visibility: hidden; transition: transform .35s cubic-bezier(.2, .8, .2, 1), visibility .35s; box-shadow: -40px 0 80px rgba(0, 0, 0, .5);
}
.builder.open { transform: none; visibility: visible; }
.b-head { display: flex; justify-content: space-between; align-items: flex-start; padding: 22px 22px 14px; }
.b-head h2 { font-size: 28px; font-weight: 900; }
.b-fw { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 0 22px 16px; border-bottom: 1px solid var(--line); }
.b-fw > span { font-size: 13px; color: var(--dim); text-transform: uppercase; letter-spacing: .1em; font-weight: 700; }
.b-body { flex: 1; overflow-y: auto; padding: 16px 22px; }
.b-empty { text-align: center; color: var(--muted); padding: 50px 10px; }
.b-empty .btn { margin-top: 18px; }
.b-item { display: grid; grid-template-columns: 64px 1fr auto; gap: 12px; align-items: center; padding: 10px; border-radius: 12px; background: var(--card); border: 1px solid var(--line); margin-bottom: 8px; }
.b-item img { width: 64px; height: 40px; object-fit: cover; border-radius: 7px; }
.b-item b { display: block; font-size: 15px; }
.b-item small { font-family: var(--mono); font-size: 11px; color: var(--dim); }
.b-item small.warn { color: var(--warn); }
.b-item small.auto { color: var(--blue-2); }
.b-item .r { text-align: right; }
.b-item .r .price { font-size: 16px; display: block; }
.b-item .x { border: 0; background: none; color: var(--dim); font-size: 12px; padding: 2px 0; }
.b-item .x:hover { color: var(--no); }
.b-sug { padding: 12px 14px; border-radius: 12px; border: 1px dashed rgba(61, 155, 255, .4); color: var(--blue-l); font-size: 14px; margin-bottom: 8px; display: flex; gap: 10px; align-items: center; justify-content: space-between; }
.b-sug button { flex: 0 0 auto; }
.cfg-wrap { margin-top: 18px; }
.cfg-wrap .codebox pre { max-height: 260px; }
.b-foot { padding: 16px 22px 22px; border-top: 1px solid var(--line); background: rgba(3, 7, 18, .6); }
.sum { display: flex; justify-content: space-between; font-size: 14.5px; color: var(--muted); margin-bottom: 6px; }
.sum.off { color: var(--ok); }
.sum.total { color: var(--text); font-size: 17px; font-weight: 800; align-items: baseline; margin: 10px 0 14px; }
.sum.total .price { font-size: 30px; }
.b-hint { font-size: 12.5px; color: var(--dim); text-align: center; margin-top: 10px; }

/* ---------- TOAST / LIGHTBOX ---------- */
.toast {
  position: fixed; left: 50%; bottom: 24px; z-index: 90; transform: translate(-50%, calc(100% + 40px)); visibility: hidden; padding: 12px 18px; border-radius: 12px;
  background: #0f1b3b; border: 1px solid var(--line-2); box-shadow: 0 20px 40px rgba(0, 0, 0, .5); font-weight: 600; font-size: 15px;
  transition: transform .35s cubic-bezier(.2, .8, .2, 1), visibility .35s; max-width: calc(100vw - 32px);
}
.toast.show { transform: translate(-50%, 0); visibility: visible; }
.lightbox { position: fixed; inset: 0; z-index: 95; background: rgba(1, 3, 10, .92); display: grid; place-items: center; padding: 24px; cursor: zoom-out; animation: fade .2s; }
.lightbox img { max-width: 100%; max-height: 100%; border-radius: 12px; box-shadow: 0 40px 100px rgba(0, 0, 0, .7); }

/* ---------- RESPONSIVE ---------- */
@media (max-width: 1180px) {
  .nav-links a[data-scroll="cum"], .nav-links a[data-scroll="licenta"] { display: none; }
  #docs { grid-template-columns: 250px minmax(0, 1fr); }
  .docs-toc { display: none; }
  .std-grid { grid-template-columns: 1fr 1fr; }
  .std.big { grid-column: span 2; }
  .lic { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 980px) {
  .nav-links { display: none; }
  .hero { grid-template-columns: 1fr; min-height: 0; }
  .hero-art { justify-self: center; width: min(100%, 640px); margin-top: 10px; }
  .term { left: -12px; width: 290px; }
  .grid { grid-template-columns: 1fr 1fr; }
  .card.feat { grid-column: span 2; grid-row: auto; }
  .p-top { grid-template-columns: minmax(0, 1fr); }
  .faq-wrap { grid-template-columns: minmax(0, 1fr); }
  .faq-side { position: static; }
  .buy { position: static; }
  .steps { grid-template-columns: 1fr; }
  .steps li + li { border-left: 0; border-top: 1px solid var(--line); }
  .steps li:not(:last-child)::after { content: "↓"; right: 28px; top: auto; bottom: -14px; }
  #docs { grid-template-columns: 1fr; gap: 0; }
  .docs-side { position: static; height: auto; border-right: 0; border-bottom: 1px solid var(--line); padding: 16px 0; }
  .docs-side nav { display: none; }
  .docs-side.open nav { display: block; }
  .docs-side .shopcard { display: none; }
  .docs-toggle { display: flex; width: 100%; justify-content: space-between; }
}
@media (max-width: 640px) {
  :root { --nav-h: 60px; }
  .nav { gap: 10px; }
  .brand span { display: none; }
  .fw-pill { padding: 0 12px; }
  .cart-btn .mono { display: none; }
  .cart-btn { padding-left: 12px; }
  .cart-btn::before { content: "cfg"; font-family: var(--mono); font-size: 13px; }
  .grid { grid-template-columns: 1fr; }
  .card.feat, .card.custom { grid-column: auto; }
  .card.feat .shot { min-height: 220px; }
  .card.feat h3 { font-size: 26px; }
  .seg { width: 100%; }
  .seg button { flex: 1; padding: 9px 8px; }
  .hero-art { padding-bottom: 0; }
  .term { position: relative; left: 0; bottom: 0; width: 100%; margin-top: 14px; }
  .std-grid, .lic, .feat-list { grid-template-columns: 1fr; }
  .std.big { grid-column: auto; grid-template-columns: 1fr; padding: 26px; }
  .cta-band { flex-direction: column; align-items: flex-start; padding: 26px; margin-inline: 16px; }
  .search { min-width: 0; width: 100%; }
  .filters { width: 100%; }
  .chips { flex-wrap: nowrap; overflow-x: auto; flex: 1 1 100%; width: 100%; padding-bottom: 4px; }
  .sec-head > div:first-child { width: 100%; }
  .chip { white-space: nowrap; }
  .buy h1 { font-size: 28px; }
  .tbl td:first-child { white-space: normal; width: 42%; }
  .tbl td:first-child code { white-space: normal; word-break: break-word; }
  .tbl th, .tbl td { padding: 10px 8px; }
  .docs-main .pager { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  html { scroll-behavior: auto; }
}

/* ---------- FW MENU ---------- */
.fw-menu {
  position: fixed; z-index: 80; width: 240px; padding: 8px; border-radius: 14px; background: #0b1430; border: 1px solid var(--line-2);
  box-shadow: 0 24px 60px rgba(0, 0, 0, .6); animation: rise .2s both;
}
.fw-menu p { font-size: 11.5px; font-family: var(--mono); color: var(--dim); text-transform: uppercase; letter-spacing: .1em; padding: 6px 10px 8px; }
.fw-menu button { width: 100%; display: flex; justify-content: space-between; align-items: center; padding: 10px 12px; border: 0; border-radius: 9px; background: none; text-align: left; }
.fw-menu button:hover { background: rgba(61, 155, 255, .1); }
.fw-menu button[aria-checked="true"] { background: rgba(31, 107, 255, .2); box-shadow: inset 2px 0 0 var(--blue-2); }
.fw-menu small { font-family: var(--mono); font-size: 11px; color: var(--dim); }

/* ---------- mențiunea de autor Loombytle (vezi LICENSE.txt) ---------- */
.lb-credit { display: block; padding: 14px 16px; text-align: center; font-size: 13px; color: var(--muted); background: var(--bg); border-top: 1px solid var(--line); position: relative; z-index: 30; }
.lb-credit a { color: var(--blue-l); font-weight: 700; }
.lb-credit a:hover { color: #fff; }

/* frunze de toamnă (js/leaves.js): peste pagină, fără click-uri, sub bara de navigare și ferestre */
.leaves { position: fixed; inset: 0; z-index: 35; pointer-events: none; }
.leaves-toggle { margin-top: 6px; color: var(--dim); }
.leaves-toggle:hover { color: var(--blue-l); }

/* FAQ acordeon (app.js → faqToggle): „+” se întoarce imediat ce începe închiderea */
.faq details.closing summary::after { transform: none; }
.faq details.closing { background: transparent; }

/* ---------- catalog: rândul „magazin” (framework-uri, Pachete, Pass) + subcategoriile ---------- */
.store-nav { display: flex; gap: 12px; flex-wrap: wrap; margin: 6px 0 14px; }
.sn-fw { display: flex; gap: 6px; padding: 5px; border-radius: 16px; background: var(--card); border: 1px solid var(--line-2); flex-wrap: wrap; }
.sn { display: grid; grid-template-columns: auto auto; grid-template-rows: auto auto; column-gap: 10px; align-items: center; text-align: left;
  padding: 9px 14px; border-radius: 12px; border: 0; background: transparent; color: var(--muted); transition: background .2s, color .2s, box-shadow .2s; }
.sn b { font-size: 15px; font-weight: 800; color: var(--text); }
.sn small { grid-row: 2; font: 500 11px var(--mono); color: var(--dim); }
.sn em { grid-row: 1 / span 2; grid-column: 2; font-style: normal; font-size: 12px; padding: 3px 8px; border-radius: 999px; background: rgba(61, 155, 255, .12); color: var(--blue-l); }
.sn:hover { background: rgba(61, 155, 255, .07); }
.sn.on { background: linear-gradient(180deg, #16244a, #0e1936); box-shadow: inset 0 0 0 1px rgba(61, 155, 255, .55), 0 0 24px -6px rgba(31, 107, 255, .8); }
.sn-more { display: flex; gap: 8px; margin-left: auto; }
.sn.link { display: flex; gap: 10px; align-items: center; border: 1px solid var(--line-2); background: var(--card); }
.sn.link span { display: grid; }
.sn.link small { grid-row: auto; }
.sn.link svg { width: 22px; height: 22px; fill: none; stroke: var(--blue-l); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.sn.link.pass { border-color: rgba(61, 155, 255, .45); background: radial-gradient(ellipse at 0% 0%, rgba(31, 107, 255, .25), transparent 70%), var(--card); }
.sn.link:hover { border-color: var(--blue-2); }
.subcats { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 24px; }
.subcat { display: inline-flex; align-items: center; gap: 8px; padding: 9px 14px 9px 11px; border-radius: 12px; border: 1px solid var(--line); background: transparent;
  color: var(--muted); font-weight: 700; font-size: 14px; transition: color .2s, border-color .2s, background .2s; }
.subcat svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.subcat em { font-style: normal; font-size: 11.5px; opacity: .6; }
.subcat:hover { color: var(--text); border-color: var(--line-2); }
.subcat[aria-selected="true"] { color: var(--bg); background: var(--text); border-color: var(--text); }
@media (max-width: 980px) {
  .sn-more { margin-left: 0; }
  .sn-fw { width: 100%; }
  .sn-fw .sn { flex: 1 1 auto; }
}
@media (max-width: 640px) {
  .sn small { display: none; }
  .sn-more { width: 100%; }
  .sn-more .sn { flex: 1; }
}

/* iconițe mici în text (IC din app.js) */
.i { width: 1.05em; height: 1.05em; display: inline-block; vertical-align: -.16em; flex: none; fill: none; stroke: currentColor; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
.i[fill="currentColor"] { stroke-width: 1.2; }
.badge .i { margin-right: 4px; }
.icon-btn .i { width: 16px; height: 16px; vertical-align: middle; }
