/* =========================================================================
   ONE BOOST — lighten.css
   "Let your PC breathe": process trimming + Windows repair, side by side.
   The dot rows are a qualitative before/after — lit dots are running
   processes, hollow ones are what got trimmed.
   ========================================================================= */

.lgt-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(420px, 1fr));
  gap: 22px;
}

.lgt-card {
  display: flex;
  flex-direction: column;
  gap: 22px;
  background: linear-gradient(180deg, var(--surface), var(--bg-soft));
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 30px 28px;
  transition: border-color .22s, box-shadow .28s;
}

.lgt-card:hover { border-color: var(--line-2); box-shadow: var(--shadow); }

/* ---- header ---- */
.lgt-head { display: flex; gap: 16px; align-items: flex-start; }

.lgt-ico {
  width: 48px; height: 48px; flex: none;
  border-radius: 14px; display: grid; place-items: center;
  color: var(--red-ink);
  background: color-mix(in srgb, var(--red) 16%, transparent);
  border: 1px solid color-mix(in srgb, var(--red) 30%, transparent);
}
.lgt-ico svg { width: 24px; height: 24px; }

.lgt-head h3 {
  font-family: var(--font-display); font-weight: 700;
  font-size: 20px; margin-bottom: 6px;
}
html[lang="ar"] .lgt-head h3 { font-family: var(--font-ar); }
.lgt-head p { color: var(--text-2); font-size: 15px; }

/* ---- before/after dot rows ---- */
.lgt-viz {
  display: flex; flex-direction: column; gap: 12px;
  padding: 20px 18px;
  background: rgba(0, 0, 0, .2);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
}

.lgt-row { display: flex; align-items: center; gap: 14px; }

.lgt-tag {
  flex: none; width: 42px;
  font-size: 12.5px; font-weight: 700; color: var(--text-3);
  letter-spacing: .02em;
}
.lgt-tag-on { color: var(--red-ink); }

.lgt-dots {
  display: flex; flex-wrap: wrap; gap: 6px; flex: 1;
}

.lgt-dots i {
  width: 9px; height: 9px; border-radius: 50%;
  background: var(--text-3);
  transition: background .3s var(--ease), opacity .3s;
}

.lgt-dots-after i { background: var(--red-ink); }

/* trimmed processes: hollowed out, not deleted — the gap IS the message */
.lgt-dots i.off {
  background: transparent;
  box-shadow: inset 0 0 0 1px var(--line-2);
}

/* ---- what gets trimmed ---- */
.lgt-list { display: flex; flex-direction: column; gap: 10px; }

.lgt-list li {
  position: relative;
  padding-inline-start: 24px;
  color: var(--text-2);
  font-size: 15px;
}

.lgt-list li::before {
  content: "";
  position: absolute;
  inset-inline-start: 6px;
  top: .62em;
  width: 7px; height: 7px;
  border-radius: 50%;
  background: color-mix(in srgb, var(--red) 65%, transparent);
}

/* ---- repair tools ---- */
.lgt-tools { display: flex; flex-direction: column; gap: 14px; }

.lgt-tool {
  display: flex; gap: 14px; align-items: flex-start;
  padding: 15px 16px;
  background: rgba(0, 0, 0, .2);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
}

.lgt-tool code {
  flex: none;
  direction: ltr;
  font-family: ui-monospace, 'SF Mono', Menlo, Consolas, monospace;
  font-size: 12.5px; font-weight: 700; letter-spacing: .04em;
  color: var(--red-ink);
  background: color-mix(in srgb, var(--red) 14%, transparent);
  border: 1px solid color-mix(in srgb, var(--red) 28%, transparent);
  border-radius: 8px;
  padding: 5px 9px;
  margin-top: 1px;
}

.lgt-tool strong {
  display: block;
  font-family: var(--font-display); font-weight: 700;
  font-size: 15.5px; margin-bottom: 3px;
}
html[lang="ar"] .lgt-tool strong { font-family: var(--font-ar); }
.lgt-tool span { display: block; color: var(--text-2); font-size: 14.5px; line-height: 1.55; }

/* ---- the reassurance line at the foot of each card ---- */
.lgt-guard {
  display: flex; gap: 12px; align-items: flex-start;
  margin-top: auto;
  padding-top: 18px;
  border-top: 1px solid var(--line);
}

.lgt-guard svg { width: 20px; height: 20px; flex: none; color: var(--red-ink); margin-top: 1px; }
.lgt-guard span { color: var(--text-2); font-size: 14px; line-height: 1.55; }

@media (max-width: 640px) {
  .lgt-grid { grid-template-columns: 1fr; gap: 16px; }
  .lgt-card { padding: 24px 20px; gap: 18px; }
  .lgt-dots i { width: 8px; height: 8px; }
  .lgt-viz { padding: 16px 14px; }
}
