/* Ilustracje sekcji usług - odpowiedniki makiet z Figmy (bez bitmap) */

.svc-illu {
  position: relative;
  width: 100%;
  max-width: 100%;
  min-width: 0;
  overflow: hidden;
  border-radius: 2px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: var(--brand-surface);
  box-sizing: border-box;
}

/* -- Design (szeroki, niski dashboard + dwa panele - jak Design+Implement) -- */
.svc-illu-design {
  aspect-ratio: 596 / 312;
  width: 100%;
  max-width: min(596px, 100%);
  min-width: 0;
  display: flex;
  flex-direction: column;
}

/* W obrębie mockupu tylko kursor współpracy (zielony + nick), bez systemowej strzałki */
[data-svc-design-track],
[data-svc-design-track] * {
  cursor: none !important;
}

.svc-illu-design__top {
  display: flex;
  align-items: center;
  height: 22px;
  padding: 0 8px;
  flex-shrink: 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  background: rgba(0, 0, 0, 0.35);
}

.svc-illu-design__dots {
  display: flex;
  align-items: center;
  gap: 4px;
}

.svc-illu-design__dots span {
  display: block;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.12);
}

.svc-illu-design__body {
  flex: 1;
  display: flex;
  min-height: 0;
  background: #1a1a1c;
}

/* Wąski pasek nawigacji - ikony jako kwadraty */
.svc-illu-design__nav {
  width: 38px;
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  padding: 8px 0;
  border-right: 1px solid rgba(255, 255, 255, 0.06);
  background: rgba(0, 0, 0, 0.22);
}

.svc-illu-design__nav-item {
  display: block;
  width: 18px;
  height: 18px;
  border-radius: 4px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.06);
}

.svc-illu-design__nav-item:nth-child(2) {
  background: rgba(255, 255, 255, 0.09);
}

.svc-illu-design__nav-item:nth-child(3) {
  background: rgba(255, 255, 255, 0.05);
}

.svc-illu-design__nav-item:nth-child(4) {
  background: rgba(255, 255, 255, 0.07);
}

.svc-illu-design__panels {
  flex: 1;
  display: flex;
  gap: 8px;
  min-width: 0;
  padding: 8px 10px 10px;
}

.svc-illu-design__panel {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 7px 8px;
  border-radius: 4px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.03);
}

.svc-illu-design__panel-lines {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.svc-illu-design__line {
  display: block;
  height: 4px;
  width: 72%;
  border-radius: 2px;
  background: rgba(255, 255, 255, 0.1);
}

.svc-illu-design__line--short {
  width: 48%;
}

.svc-illu-design__block {
  flex: 1;
  min-height: 24px;
  border-radius: 3px;
  border: 1px solid rgba(255, 255, 255, 0.07);
  background-color: rgba(0, 0, 0, 0.28);
  background-image: url("assets/icons/lucide-image.svg");
  background-repeat: no-repeat;
  background-position: center;
  background-size: clamp(16px, 17%, 19px);
}

/* Warstwa nad mockupem - tylko podążanie za kursorem (JS) */
.svc-illu-design__live {
  position: absolute;
  inset: 0;
  z-index: 12;
  pointer-events: none;
  opacity: 1;
}

.svc-illu-design__live-float {
  position: absolute;
  left: 52%;
  top: 48%;
  width: 108px;
  height: 72px;
  transform: translate(-5px, -5px);
  transform-origin: 0 0;
  will-change: left, top;
}

.svc-illu-design__collab {
  position: relative;
  width: 100%;
  height: 100%;
}

.svc-illu-design__collab-cursor {
  position: absolute;
  left: 0;
  top: 0;
  display: block;
  transform-origin: 2px 3px;
  filter: drop-shadow(0 1px 2px rgba(0, 0, 0, 0.35));
}

.svc-illu-design__collab-cursor path {
  fill: var(--svc-design-cursor-fill);
  stroke: var(--svc-design-cursor-stroke);
}

@keyframes svc-design-cursor-click {
  0% {
    transform: scale(1);
  }

  28% {
    transform: scale(0.78);
  }

  55% {
    transform: scale(1.12);
  }

  100% {
    transform: scale(1);
  }
}

.svc-illu-design__collab-cursor.svc-design-cursor--pulse {
  animation: svc-design-cursor-click 0.42s cubic-bezier(0.34, 1.3, 0.64, 1)
    forwards;
}

@media (prefers-reduced-motion: reduce) {
  .svc-illu-design__collab-cursor.svc-design-cursor--pulse {
    animation: none;
  }
}

.svc-illu-design__collab-name {
  position: absolute;
  left: 17px;
  top: 18px;
  padding: 3px 7px;
  background: var(--svc-design-collab-chip-bg);
  color: var(--svc-design-collab-chip-fg);
  font-family: "Instrument Sans", system-ui, sans-serif;
  font-size: 9px;
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: 0.01em;
  border-radius: 2px;
  white-space: nowrap;
  border: 1px solid color-mix(in srgb, var(--svc-design-collab-chip-fg) 12%, transparent);
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.18);
}

html[data-theme="light"] .svc-illu-design__collab-name {
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.08);
}

/* -- Design + Implement (edytor + podgląd kodu) -- */
.svc-illu-code {
  aspect-ratio: 596 / 312;
  width: 100%;
  max-width: min(596px, 100%);
  min-width: 0;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 32%);
  gap: 0;
}

.svc-illu-code__editor {
  display: flex;
  flex-direction: column;
  border-right: 1px solid rgba(255, 255, 255, 0.06);
  background: #0a0a0c;
  min-width: 0;
}

.svc-illu-code__editor-top {
  display: flex;
  align-items: center;
  gap: 8px;
  height: 22px;
  padding: 0 8px 0 7px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.svc-illu-code__win-dots {
  display: flex;
  flex-shrink: 0;
  align-items: center;
  gap: 4px;
}

.svc-illu-code__win-dots span {
  display: block;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.12);
}

.svc-illu-code__editor-title {
  flex: 1;
  text-align: center;
  font-size: 8px;
  letter-spacing: 0.05em;
  color: rgba(255, 255, 255, 0.22);
  text-transform: uppercase;
}

.svc-illu-code__body {
  position: relative;
  flex: 1;
  display: flex;
  min-height: 0;
  font-family: "DM Mono", ui-monospace, monospace;
  font-size: 8.5px;
  line-height: 1.5;
}

.svc-illu-code__ai-pill {
  position: absolute;
  right: 6px;
  bottom: 5px;
  padding: 3px 7px 3px 8px;
  border-radius: 999px;
  font-family: "Instrument Sans", ui-sans-serif, system-ui, sans-serif;
  font-size: 7px;
  font-weight: 500;
  letter-spacing: 0.02em;
  color: rgba(255, 255, 255, 0.38);
  background: rgba(0, 0, 0, 0.55);
  border: 1px solid rgba(255, 255, 255, 0.08);
  pointer-events: none;
  white-space: nowrap;
}

.svc-ai-pill-cursor {
  display: none;
  width: 0.45ch;
  height: 0.85em;
  margin-left: 1px;
  vertical-align: -0.08em;
  background: rgba(197, 191, 129, 0.55);
  animation: svc-cursor-blink 0.95s step-end infinite;
}

.svc-illu-code__ai-pill.is-typing .svc-ai-pill-cursor {
  display: inline-block;
}

.svc-illu-code--static .svc-ai-pill-cursor {
  display: none !important;
}

.svc-illu-code__gutter {
  display: flex;
  width: 22px;
  flex-shrink: 0;
  flex-direction: column;
  padding: 6px 3px 22px 2px;
  text-align: right;
  color: rgba(255, 255, 255, 0.18);
  border-right: 1px solid rgba(255, 255, 255, 0.05);
  user-select: none;
  font-size: 8.5px;
  line-height: 1.5;
}

.svc-illu-code__gutter-cell {
  min-height: 1.5em;
  opacity: 0.22;
  transition: opacity 0.2s ease;
}

.svc-illu-code__gutter-cell.is-active {
  opacity: 1;
}

.svc-illu-code__gutter-cell--static {
  opacity: 1;
}

.svc-code-cursor {
  display: inline-block;
  width: 0.55ch;
  height: 1.15em;
  margin-left: 1px;
  vertical-align: -0.12em;
  background: rgba(197, 191, 129, 0.75);
  animation: svc-cursor-blink 0.95s step-end infinite;
}

@keyframes svc-cursor-blink {
  0%,
  50% {
    opacity: 1;
  }

  51%,
  100% {
    opacity: 0;
  }
}

.svc-illu-code--static .svc-code-cursor {
  display: none;
}

.svc-illu-code__lines {
  flex: 1;
  padding: 6px 8px 22px 6px;
  overflow: hidden;
}

.svc-illu-code__line {
  display: flex;
  flex-wrap: wrap;
  gap: 0 3px;
  margin-bottom: 2px;
  align-items: baseline;
}

/* Kolorowanie składni (animowane + statyczne) - #8193C5, #AA81C5, #C58181 */
.svc-illu-code .svc-illu-code__tok-k {
  color: #8193c5;
  font-weight: 500;
}

.svc-illu-code .svc-illu-code__tok-f {
  color: #aa81c5;
  font-weight: 500;
}

.svc-illu-code .svc-illu-code__tok-s {
  color: #c58181;
}

.svc-illu-code .svc-illu-code__tok-n {
  color: #8193c5;
  font-weight: 500;
}

.svc-illu-code .svc-illu-code__tok-d {
  color: rgba(255, 255, 255, 0.42);
}

.svc-illu-code .svc-illu-code__tok-w {
  color: #aa81c5;
  font-weight: 500;
}

.svc-illu-code__preview {
  display: flex;
  flex-direction: column;
  background: #1a1a1c;
  padding: 6px;
  gap: 4px;
  min-width: 0;
  min-height: 0;
}

.svc-illu-code__preview-label {
  font-size: 7px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.22);
}

.svc-illu-code__preview-card {
  flex: 1;
  border-radius: 4px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.03);
  min-height: 0;
  position: relative;
  overflow: hidden;
}

.svc-preview-skel {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 7px 8px 8px;
  pointer-events: none;
}

.svc-preview-skel__line {
  height: 4px;
  border-radius: 2px;
  background: rgba(255, 255, 255, 0.1);
  align-self: flex-start;
  width: 72%;
  transform: scaleX(0);
  transform-origin: left center;
  opacity: 0.35;
  transition: transform 0.4s cubic-bezier(0.34, 1.2, 0.64, 1), opacity 0.35s ease;
}

.svc-preview-skel__line--mid {
  width: 62%;
}

.svc-preview-skel__line--short {
  width: 48%;
}

.svc-preview-skel__line.is-drawn {
  transform: scaleX(1);
  opacity: 1;
}

.svc-preview-skel__shape {
  margin-top: 2px;
  flex: 1;
  min-height: 24px;
  border-radius: 3px;
  border: 1px solid rgba(255, 255, 255, 0.07);
  background: rgba(0, 0, 0, 0.28);
  transform: scale(0.94);
  transform-origin: center bottom;
  opacity: 0;
  transition: transform 0.45s cubic-bezier(0.34, 1.2, 0.64, 1), opacity 0.4s ease;
}

.svc-preview-skel__shape.is-drawn {
  transform: scale(1);
  opacity: 1;
}

/* Lista pod ilustracją Design + Implement */
.svc-impl-checklist {
  list-style: none;
  margin: clamp(1.25rem, 3vw, 1.75rem) 0 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.svc-impl-checklist li {
  display: flex;
  align-items: flex-start;
  gap: 0.65rem;
}

.svc-impl-checklist li::before {
  content: "";
  flex-shrink: 0;
  width: 1.125rem;
  height: 1.125rem;
  margin-top: calc(0.5lh - 0.5625rem);
  border-radius: 4px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12' fill='none'%3E%3Cpath d='M2.5 6.2 5 8.7l4.5-5' stroke='%23ffffff' stroke-width='1.35' stroke-linecap='round' stroke-linejoin='round' opacity='0.85'/%3E%3C/svg%3E")
      center / 10px 10px no-repeat,
    rgba(255, 255, 255, 0.06);
}

@media (prefers-reduced-motion: reduce) {
  .svc-code-cursor {
    animation: none;
    opacity: 0.6;
  }

  .svc-preview-skel__line,
  .svc-preview-skel__shape {
    transition: none;
  }
}

/* -- Framer (szeroki mockup: hero + 3 kolumny + Live - jak Design / Implement) -- */
.svc-illu-framer {
  aspect-ratio: 596 / 312;
  width: 100%;
  max-width: min(596px, 100%);
  min-width: 0;
  display: flex;
  flex-direction: column;
}

.svc-illu-framer__top {
  display: flex;
  align-items: center;
  height: 22px;
  padding: 0 8px;
  flex-shrink: 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  background: rgba(0, 0, 0, 0.35);
}

.svc-illu-framer__dots {
  display: flex;
  align-items: center;
  gap: 4px;
}

.svc-illu-framer__dots span {
  display: block;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.12);
}

.svc-illu-framer__viewport {
  position: relative;
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 10px;
  min-height: 0;
  padding: 10px 12px 24px;
  background: #1a1a1c;
}

.svc-illu-framer__hero {
  display: flex;
  align-items: stretch;
  gap: 9px;
  flex-shrink: 0;
  min-height: 34px;
  padding: 8px 9px;
  border-radius: 4px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.03);
}

.svc-illu-framer__hero-thumb {
  width: 28px;
  flex-shrink: 0;
  border-radius: 4px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(0, 0, 0, 0.35);
}

.svc-illu-framer__hero-fill {
  flex: 1;
  min-width: 0;
  border-radius: 3px;
  background: rgba(255, 255, 255, 0.06);
}

.svc-illu-framer__grid {
  flex: 1;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  min-height: 0;
  min-width: 0;
}

.svc-illu-framer__col {
  min-width: 0;
  display: flex;
}

.svc-illu-framer__card {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 8px;
  padding: 10px 10px 11px;
  border-radius: 5px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.025);
}

.svc-illu-framer__card-icon {
  width: 100%;
  height: 30px;
  flex-shrink: 0;
  border-radius: 4px;
  border: 1px solid rgba(255, 255, 255, 0.06);
  background-color: rgba(0, 0, 0, 0.22);
  background-image: url("assets/icons/lucide-image.svg");
  background-repeat: no-repeat;
  background-position: center;
  background-size: clamp(16px, 44%, 20px);
}

.svc-illu-framer__card-line {
  height: 4px;
  border-radius: 2px;
  background: rgba(255, 255, 255, 0.09);
  width: 100%;
  max-width: 100%;
}

.svc-illu-framer__card-line--short {
  width: 72%;
  max-width: 100%;
}

.svc-illu-framer__live {
  position: absolute;
  right: 8px;
  bottom: 7px;
  display: flex;
  align-items: center;
  gap: 5px;
  padding: 3px 8px 3px 6px;
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.55);
  border: 1px solid rgba(255, 255, 255, 0.1);
  font-family: "Instrument Sans", system-ui, sans-serif;
  font-size: 8px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: rgba(207, 214, 225, 0.55);
  transition: border-color 0.3s ease, color 0.3s ease, box-shadow 0.3s ease;
}

/* Zieleń jak kursor współpracy + obrążka w tonacji --brand-accent-text */
.svc-illu-framer__live-dot {
  width: 5px;
  height: 5px;
  flex-shrink: 0;
  border-radius: 50%;
  background: rgba(13, 159, 110, 0.62);
  box-shadow: 0 0 0 1px rgba(197, 191, 129, 0.28);
  transition: background 0.3s ease, transform 0.3s ease;
}

.svc-illu-framer__live-text {
  line-height: 1;
}

@keyframes svc-framer-live-dot-pulse {
  0%,
  100% {
    transform: scale(1);
    box-shadow:
      0 0 0 0 rgba(13, 159, 110, 0.4),
      0 0 0 1px rgba(197, 191, 129, 0.35);
  }

  50% {
    transform: scale(1.2);
    box-shadow:
      0 0 0 5px rgba(13, 159, 110, 0),
      0 0 0 1px rgba(197, 191, 129, 0.5);
  }
}

@media (hover: hover) {
  .svc-illu-framer:hover .svc-illu-framer__live,
  [data-svc-framer-article]:hover .svc-illu-framer .svc-illu-framer__live {
    color: var(--brand-accent-text);
    border-color: rgba(197, 191, 129, 0.42);
    box-shadow:
      0 0 14px rgba(13, 159, 110, 0.18),
      0 0 0 1px rgba(197, 191, 129, 0.28);
  }

  .svc-illu-framer:hover .svc-illu-framer__live-dot,
  [data-svc-framer-article]:hover .svc-illu-framer .svc-illu-framer__live-dot {
    background: #0d9f6e;
    animation: svc-framer-live-dot-pulse 1.35s ease-in-out infinite;
  }

  .svc-illu-framer:hover .svc-illu-framer__live-text,
  [data-svc-framer-article]:hover .svc-illu-framer .svc-illu-framer__live-text {
    animation: svc-framer-live-text-soft 2s ease-in-out infinite;
  }
}

@media (hover: none), (max-width: 767px) {
  @media (prefers-reduced-motion: no-preference) {
    .svc-illu-framer .svc-illu-framer__live {
      color: var(--brand-accent-text);
      border-color: rgba(197, 191, 129, 0.42);
      box-shadow:
        0 0 14px rgba(13, 159, 110, 0.18),
        0 0 0 1px rgba(197, 191, 129, 0.28);
    }

    .svc-illu-framer .svc-illu-framer__live-dot {
      background: #0d9f6e;
      animation: svc-framer-live-dot-pulse 1.35s ease-in-out infinite;
    }

    .svc-illu-framer .svc-illu-framer__live-text {
      animation: svc-framer-live-text-soft 2s ease-in-out infinite;
    }
  }
}

@keyframes svc-framer-live-text-soft {
  0%,
  100% {
    opacity: 1;
  }

  50% {
    opacity: 0.82;
  }
}

@media (prefers-reduced-motion: reduce) {
  .svc-illu-framer:hover .svc-illu-framer__live-dot,
  .svc-illu-framer:hover .svc-illu-framer__live-text,
  [data-svc-framer-article]:hover .svc-illu-framer .svc-illu-framer__live-dot,
  [data-svc-framer-article]:hover .svc-illu-framer .svc-illu-framer__live-text,
  .svc-illu-framer .svc-illu-framer__live-dot,
  .svc-illu-framer .svc-illu-framer__live-text {
    animation: none;
  }

  .svc-illu-framer:hover .svc-illu-framer__live-dot,
  [data-svc-framer-article]:hover .svc-illu-framer .svc-illu-framer__live-dot {
    transform: none;
    box-shadow: 0 0 0 1px rgba(197, 191, 129, 0.4);
  }
}

@media (max-width: 1023px) {
  .svc-illu-design,
  .svc-illu-code,
  .svc-illu-framer {
    min-height: clamp(280px, 68vw, 360px);
  }
}

/* -- Light theme: mockupy usług (jasne tła, ciemne linie) -- */
html[data-theme="light"] .mix-blend-luminosity {
  mix-blend-mode: normal;
}

html[data-theme="light"] .svc-illu {
  border-color: rgba(0, 0, 0, 0.1);
  background: var(--brand-surface);
}

/* Design */
html[data-theme="light"] .svc-illu-design__top {
  border-bottom-color: rgba(0, 0, 0, 0.08);
  background: rgba(0, 0, 0, 0.04);
}

html[data-theme="light"] .svc-illu-design__dots span {
  background: rgba(0, 0, 0, 0.18);
}

html[data-theme="light"] .svc-illu-design__body {
  background: #eceef2;
}

html[data-theme="light"] .svc-illu-design__nav {
  border-right-color: rgba(0, 0, 0, 0.08);
  background: rgba(255, 255, 255, 0.65);
}

html[data-theme="light"] .svc-illu-design__nav-item {
  border-color: rgba(0, 0, 0, 0.1);
  background: rgba(0, 0, 0, 0.04);
}

html[data-theme="light"] .svc-illu-design__nav-item:nth-child(2) {
  background: rgba(0, 0, 0, 0.07);
}

html[data-theme="light"] .svc-illu-design__nav-item:nth-child(3) {
  background: rgba(0, 0, 0, 0.03);
}

html[data-theme="light"] .svc-illu-design__nav-item:nth-child(4) {
  background: rgba(0, 0, 0, 0.05);
}

html[data-theme="light"] .svc-illu-design__panel {
  border-color: rgba(0, 0, 0, 0.1);
  background: rgba(255, 255, 255, 0.85);
}

html[data-theme="light"] .svc-illu-design__line {
  background: rgba(0, 0, 0, 0.12);
}

html[data-theme="light"] .svc-illu-design__block {
  border-color: rgba(0, 0, 0, 0.08);
  background-color: rgba(0, 0, 0, 0.04);
  filter: brightness(0.85);
}

/* Code + preview */
html[data-theme="light"] .svc-illu-code__editor {
  border-right-color: rgba(0, 0, 0, 0.1);
  background: #ffffff;
}

html[data-theme="light"] .svc-illu-code__editor-top {
  border-bottom-color: rgba(0, 0, 0, 0.08);
  background: rgba(0, 0, 0, 0.03);
}

html[data-theme="light"] .svc-illu-code__win-dots span {
  background: rgba(0, 0, 0, 0.2);
}

html[data-theme="light"] .svc-illu-code__editor-title {
  color: rgba(0, 0, 0, 0.4);
}

html[data-theme="light"] .svc-illu-code__ai-pill {
  color: rgba(0, 0, 0, 0.55);
  background: rgba(255, 255, 255, 0.95);
  border-color: rgba(0, 0, 0, 0.1);
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.06);
}

html[data-theme="light"] .svc-illu-code__gutter {
  color: rgba(0, 0, 0, 0.35);
  border-right-color: rgba(0, 0, 0, 0.08);
  background: rgba(0, 0, 0, 0.02);
}

html[data-theme="light"] .svc-illu-code .svc-illu-code__tok-k {
  color: #3d5a9e;
}

html[data-theme="light"] .svc-illu-code .svc-illu-code__tok-f {
  color: #6b3d8f;
}

html[data-theme="light"] .svc-illu-code .svc-illu-code__tok-s {
  color: #a14d4d;
}

html[data-theme="light"] .svc-illu-code .svc-illu-code__tok-n {
  color: #3d5a9e;
}

html[data-theme="light"] .svc-illu-code .svc-illu-code__tok-d {
  color: rgba(0, 0, 0, 0.5);
}

html[data-theme="light"] .svc-illu-code .svc-illu-code__tok-w {
  color: #6b3d8f;
}

html[data-theme="light"] .svc-ai-pill-cursor,
html[data-theme="light"] .svc-code-cursor {
  background: rgba(110, 104, 63, 0.65);
}

html[data-theme="light"] .svc-illu-code__preview {
  background: #f0f1f4;
}

html[data-theme="light"] .svc-illu-code__preview-label {
  color: rgba(0, 0, 0, 0.4);
}

html[data-theme="light"] .svc-illu-code__preview-card {
  border-color: rgba(0, 0, 0, 0.1);
  background: rgba(255, 255, 255, 0.95);
}

html[data-theme="light"] .svc-preview-skel__line {
  background: rgba(0, 0, 0, 0.12);
}

html[data-theme="light"] .svc-preview-skel__shape {
  border-color: rgba(0, 0, 0, 0.08);
  background: rgba(0, 0, 0, 0.04);
}

/* Framer */
html[data-theme="light"] .svc-illu-framer__top {
  border-bottom-color: rgba(0, 0, 0, 0.08);
  background: rgba(0, 0, 0, 0.04);
}

html[data-theme="light"] .svc-illu-framer__dots span {
  background: rgba(0, 0, 0, 0.18);
}

html[data-theme="light"] .svc-illu-framer__viewport {
  background: #eceef2;
}

html[data-theme="light"] .svc-illu-framer__hero {
  border-color: rgba(0, 0, 0, 0.1);
  background: rgba(255, 255, 255, 0.9);
}

html[data-theme="light"] .svc-illu-framer__hero-thumb {
  border-color: rgba(0, 0, 0, 0.12);
  background: rgba(0, 0, 0, 0.06);
}

html[data-theme="light"] .svc-illu-framer__hero-fill {
  background: rgba(0, 0, 0, 0.06);
}

html[data-theme="light"] .svc-illu-framer__card {
  border-color: rgba(0, 0, 0, 0.1);
  background: rgba(255, 255, 255, 0.92);
}

html[data-theme="light"] .svc-illu-framer__card-icon {
  border-color: rgba(0, 0, 0, 0.08);
  background-color: rgba(0, 0, 0, 0.04);
  filter: brightness(0.88);
}

html[data-theme="light"] .svc-illu-framer__card-line {
  background: rgba(0, 0, 0, 0.12);
}

html[data-theme="light"] .svc-illu-framer__live {
  color: rgba(50, 55, 65, 0.72);
  background: rgba(255, 255, 255, 0.95);
  border-color: rgba(0, 0, 0, 0.12);
}

/* Checklist - ikonka „ptaszka” (inline SVG, nie Lucide) */
html[data-theme="light"] .svc-impl-checklist li::before {
  background:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12' fill='none'%3E%3Cpath d='M2.5 6.2 5 8.7l4.5-5' stroke='%23121214' stroke-width='1.35' stroke-linecap='round' stroke-linejoin='round' opacity='0.75'/%3E%3C/svg%3E")
      center / 10px 10px no-repeat,
    rgba(0, 0, 0, 0.04);
}
