/* Looks (real UI-style screenshots), visuals playground + gallery, highlights carousel, lightbox,
   scroll progress and small motion extras. */
.progress { position: fixed; left: 0; top: 0; height: 2px; width: 100%; z-index: 60; transform-origin: 0 50%; transform: scaleX(var(--p, 0)); background: linear-gradient(90deg, var(--lilac), var(--accent), var(--violet)); box-shadow: 0 0 12px rgba(155, 92, 255, .8); pointer-events: none; }
.nav-links a.active { color: var(--text); background: rgba(155, 92, 255, .16); }
h1 .w { display: inline-block; opacity: 0; transform: translateY(.35em); filter: blur(8px); animation: word-in .9s cubic-bezier(.2, .7, .2, 1) forwards; }
@keyframes word-in { to { opacity: 1; transform: none; filter: none; } }
.head-row { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; text-align: left; max-width: none; }
.head-row h2 { max-width: 16ch; }

/* hero: the real Glass ClickGUI behind the injector window */
.gui-shot { display: block; padding: 0; border: 1px solid rgba(255, 255, 255, .12); box-shadow: 0 40px 80px -20px rgba(0, 0, 0, .8), 0 0 0 1px rgba(0, 0, 0, .4); }
.gui-shot img { width: 100%; height: 100%; object-fit: cover; object-position: top center; }

/* ---------------------------------------------------------------- looks */
.look-tabs { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px; margin-bottom: 18px; }
.look-tabs button { font: 600 14px var(--font); color: var(--text-2); background: rgba(255, 255, 255, .04); border: 1px solid var(--line); border-radius: 999px; padding: 9px 16px; cursor: pointer; transition: color .2s, background .2s, border-color .2s; position: relative; overflow: hidden; }
.look-tabs button:hover { color: var(--text); background: rgba(255, 255, 255, .08); }
.look-tabs button[aria-selected="true"] { color: #fff; background: linear-gradient(135deg, var(--accent), var(--accent-2)); border-color: transparent; box-shadow: 0 8px 22px -8px rgba(155, 92, 255, .9); }
.look-tabs button[aria-selected="true"]:after { content: ""; position: absolute; left: 0; bottom: 0; height: 2px; width: 100%; background: rgba(255, 255, 255, .7); transform-origin: 0; animation: tabtime var(--cycle, 5s) linear forwards; }
.looks.manual .look-tabs button:after { display: none; }
@keyframes tabtime { from { transform: scaleX(0); } to { transform: scaleX(1); } }
.look-stage { position: relative; aspect-ratio: 1280 / 867; width: 100%; max-width: 1000px; margin: 0 auto; overflow: hidden; border-radius: 26px; padding: 0; background: #0b0912; }
.lk { position: absolute; inset: 0; margin: 0; opacity: 0; visibility: hidden; transform: scale(1.025); transition: opacity .6s, transform 1.2s cubic-bezier(.2, .7, .2, 1), visibility 0s .6s; }
.lk.on { opacity: 1; visibility: visible; transform: none; transition: opacity .6s, transform 1.2s cubic-bezier(.2, .7, .2, 1); }
.lk img { width: 100%; height: 100%; object-fit: cover; object-position: top center; }
.lk-cap { position: absolute; left: 50%; bottom: 18px; transform: translateX(-50%); width: max-content; max-width: calc(100% - 32px); text-align: center; font-size: 14px; color: var(--text-2); padding: 10px 16px; border-radius: 14px; background: rgba(10, 8, 16, .72); border: 1px solid rgba(255, 255, 255, .1); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); }
.lk-cap b { color: var(--text); margin-right: 6px; }
.lk.on .lk-cap { animation: cap-in .7s .15s cubic-bezier(.2, .7, .2, 1) both; }
@keyframes cap-in { from { opacity: 0; transform: translate(-50%, 10px); } }
.shot-badge { position: absolute; top: 14px; right: 14px; z-index: 2; display: inline-flex; align-items: center; gap: 8px; font-size: 12px; font-weight: 600; color: var(--text); padding: 6px 12px; border-radius: 999px; background: rgba(10, 8, 16, .65); border: 1px solid rgba(255, 255, 255, .12); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); }
.shot-badge:before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--ok); box-shadow: 0 0 8px var(--ok); }

/* ---------------------------------------------------------------- visuals: real screenshot viewer */
.vx { max-width: 1000px; margin: 0 auto; }
.vx-stage { position: relative; aspect-ratio: 16 / 9; overflow: hidden; border-radius: 26px; padding: 0; background: #0b0912; cursor: zoom-in; }
.vx-slide { position: absolute; inset: 0; margin: 0; opacity: 0; visibility: hidden; transition: opacity .8s, visibility 0s .8s; }
.vx-slide.on { opacity: 1; visibility: visible; transition: opacity .8s; }
.vx-slide img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.0); transform-origin: 60% 55%; }
/* slow push-in on the active picture, as long as it is shown */
.vx-slide.on img { animation: push var(--cycle, 6s) linear forwards; }
@keyframes push { to { transform: scale(1.07); } }
.vx-slide figcaption { position: absolute; left: 0; right: 0; bottom: 0; padding: 70px 28px 24px; display: flex; flex-wrap: wrap; align-items: flex-end; gap: 6px 14px; background: linear-gradient(transparent, rgba(6, 5, 10, .55) 35%, rgba(6, 5, 10, .9)); }
.vx-slide figcaption b { font: 700 clamp(22px, 2.6vw, 32px)/1.1 var(--display); letter-spacing: -.02em; width: 100%; }
.vx-slide figcaption span { color: var(--text-2); font-size: 15px; max-width: 560px; flex: 1 1 320px; }
.vx-slide figcaption em { display: flex; flex-wrap: wrap; gap: 6px; font-style: normal; }
.vx-slide figcaption i { font-style: normal; font-size: 12px; font-weight: 600; padding: 5px 10px; border-radius: 999px; color: #fff; background: rgba(155, 92, 255, .32); border: 1px solid rgba(192, 154, 255, .45); }
.vx-slide.on figcaption > * { animation: cap-up .7s cubic-bezier(.2, .7, .2, 1) both; }
.vx-slide.on figcaption > :nth-child(2) { animation-delay: .08s; }
.vx-slide.on figcaption > :nth-child(3) { animation-delay: .16s; }
@keyframes cap-up { from { opacity: 0; transform: translateY(12px); } }
.vx-stage .shot-badge { top: 16px; left: 16px; right: auto; }
.vx-zoom { position: absolute; top: 14px; right: 14px; z-index: 2; width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; color: #fff; cursor: pointer; background: rgba(10, 8, 16, .6); border: 1px solid rgba(255, 255, 255, .14); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); transition: background .2s; }
.vx-zoom:hover { background: var(--accent); }
.vx-thumbs { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 10px; margin-top: 12px; }
.vx-thumbs button { position: relative; padding: 0; border: 1px solid var(--line); border-radius: 14px; overflow: hidden; cursor: pointer; background: #0b0912; color: var(--text-2); font: 600 12.5px var(--font); text-align: left; aspect-ratio: 16 / 10; transition: border-color .25s, transform .25s, color .25s; }
.vx-thumbs img { width: 100%; height: 100%; object-fit: cover; opacity: .55; transition: opacity .3s, transform .5s; }
.vx-thumbs span { position: absolute; left: 0; right: 0; bottom: 0; padding: 18px 10px 8px; background: linear-gradient(transparent, rgba(6, 5, 10, .9)); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.vx-thumbs button:hover { transform: translateY(-2px); color: var(--text); }
.vx-thumbs button:hover img { opacity: .85; }
.vx-thumbs button[aria-selected="true"] { border-color: rgba(192, 154, 255, .8); color: #fff; box-shadow: 0 10px 26px -10px rgba(155, 92, 255, .9); }
.vx-thumbs button[aria-selected="true"] img { opacity: 1; }
.vx-thumbs button[aria-selected="true"]:after { content: ""; position: absolute; left: 0; top: 0; height: 3px; width: 100%; background: linear-gradient(90deg, var(--lilac), var(--accent)); transform-origin: 0; animation: tabtime var(--cycle, 6s) linear forwards; }
.vx.manual .vx-thumbs button:after { display: none; }
.vx.manual .vx-slide.on img { animation: none; }

/* lightbox */
.lightbox { padding: 0; border: 0; background: transparent; max-width: min(1280px, 94vw); width: 100%; overflow: visible; }
.lightbox::backdrop { background: rgba(4, 3, 8, .82); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); }
.lightbox img { width: 100%; height: auto; max-height: 86vh; object-fit: contain; border-radius: 16px; box-shadow: 0 40px 100px rgba(0, 0, 0, .7); }
.lightbox[open] img { animation: lb-in .35s cubic-bezier(.2, .7, .2, 1); }
@keyframes lb-in { from { opacity: 0; transform: scale(.96); } }
.lb-close { position: absolute; top: -14px; right: -14px; width: 40px; height: 40px; border-radius: 50%; border: 1px solid rgba(255, 255, 255, .2); background: rgba(20, 16, 30, .9); color: #fff; font-size: 22px; line-height: 1; cursor: pointer; }
.lb-close:hover { background: var(--accent); }

/* ---------------------------------------------------------------- highlights */
.hl-nav { display: flex; gap: 8px; flex-shrink: 0; }
.hl-btn { width: 46px; height: 46px; border-radius: 50%; border: 1px solid var(--line-2); background: rgba(255, 255, 255, .05); color: var(--text); display: grid; place-items: center; cursor: pointer; transition: background .2s, transform .2s; }
.hl-btn:hover { background: rgba(255, 255, 255, .12); transform: scale(1.06); }
.hl-track { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(280px, 300px); gap: 16px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 8px 2px 18px; scrollbar-width: none; cursor: grab; -webkit-mask-image: linear-gradient(90deg, #000 88%, transparent); mask-image: linear-gradient(90deg, #000 88%, transparent); }
.hl-track::-webkit-scrollbar { display: none; }
.hl-track.drag { cursor: grabbing; scroll-snap-type: none; }
.hl-track.drag .hl { pointer-events: none; }
.hl { scroll-snap-align: start; padding: 24px; display: flex; flex-direction: column; gap: 4px; transition: transform .35s cubic-bezier(.2, .7, .2, 1), border-color .3s; }
.hl:hover { transform: translateY(-6px); border-color: rgba(255, 255, 255, .2); }
/* One glass tile in the brand colors for every module: same size, same stroke, no rainbow. */
.hl-ico { position: relative; width: 52px; height: 52px; border-radius: 15px; display: grid; place-items: center; margin-bottom: 20px; color: #e6d9ff;
  background: linear-gradient(160deg, rgba(192, 154, 255, .22), rgba(109, 61, 242, .1));
  border: 1px solid rgba(192, 154, 255, .3);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .18), 0 10px 24px -14px rgba(155, 92, 255, .9);
  transition: color .3s, border-color .3s, box-shadow .3s, background .3s; }
.hl-ico svg { width: 26px; height: 26px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.hl-ico svg .fill { fill: currentColor; stroke: none; }
.hl:hover .hl-ico { color: #fff; border-color: rgba(192, 154, 255, .6); background: linear-gradient(160deg, rgba(192, 154, 255, .34), rgba(109, 61, 242, .2));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .25), 0 12px 30px -10px rgba(155, 92, 255, 1); }
.hl .tag { color: var(--lilac); margin-bottom: 2px; }
.hl p { color: var(--text-2); font-size: 14.5px; margin: 8px 0 16px; flex: 1; }

/* primary button shine */
.btn-primary { overflow: hidden; position: relative; isolation: isolate; }
.btn-primary:after { content: ""; position: absolute; top: 0; bottom: 0; left: -60%; width: 40%; background: linear-gradient(100deg, transparent, rgba(255, 255, 255, .35), transparent); transform: skewX(-20deg); animation: shine 4.5s ease-in-out infinite; z-index: -1; pointer-events: none; }
@keyframes shine { 0%, 70% { left: -60%; } 100% { left: 130%; } }

@media (max-width: 860px) {
  .head-row { flex-direction: column; align-items: flex-start; }
  .vx-thumbs { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  /* the hero shows only the injector window on narrow screens */
  .gui-shot { display: none; }
}
@media (max-width: 600px) {
  .look-tabs { flex-wrap: nowrap; overflow-x: auto; justify-content: flex-start; scrollbar-width: none; -webkit-mask-image: linear-gradient(90deg, #000 85%, transparent); mask-image: linear-gradient(90deg, #000 85%, transparent); }
  .look-tabs::-webkit-scrollbar { display: none; }
  .look-tabs button { flex-shrink: 0; }
  .look-stage { border-radius: 18px; }
  .lk-cap { position: static; transform: none; width: auto; max-width: none; margin: 0; border-radius: 0; font-size: 13px; }
  .lk.on .lk-cap { animation: none; }
  .lk { display: flex; flex-direction: column; }
  .lk img { flex: 1; min-height: 0; }
  .look-stage { aspect-ratio: 1280 / 1000; }
  .shot-badge { top: 10px; right: 10px; font-size: 11px; }
  .vx-stage { border-radius: 18px; aspect-ratio: 16 / 11; }
  /* the picture matters more than the text on a phone: title and module chips only */
  .vx-slide figcaption { padding: 40px 14px 12px; gap: 6px; }
  .vx-slide figcaption span { display: none; }
  .vx-slide figcaption b { font-size: 19px; }
  .vx-slide figcaption i { font-size: 11px; padding: 4px 8px; }
  .vx-stage .shot-badge { font-size: 10.5px; padding: 5px 10px; }
  .vx-thumbs { display: flex; overflow-x: auto; scrollbar-width: none; }
  .vx-thumbs::-webkit-scrollbar { display: none; }
  .vx-thumbs button { flex: 0 0 38%; }
  .hl-track { grid-auto-columns: 82%; }
}
@media (prefers-reduced-motion: reduce) {
  h1 .w { opacity: 1; transform: none; filter: none; }
  .vx-slide.on img { animation: none; }
}
