:root {
  --bg: #050506;
  --surface: #0e0e10;
  --surface-2: #141418;
  --line: rgba(255,255,255,0.07);
  --line-strong: rgba(255,255,255,0.12);
  --text: #f5f5f7;
  --muted: #8a8a92;
  --accent: #2997ff;
  --accent-glow: rgba(41,151,255,0.14);
  --radius-lg: 22px;
  --radius-md: 14px;
  --font: "Sora", "Segoe UI", sans-serif;
  --mono: "IBM Plex Mono", ui-monospace, monospace;
  --header-h: 64px;
  --rail-w: 0px;
  --section-pad: clamp(32px, 5.5vw, 64px);
  --content-max: 1280px;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
button:focus-visible, a:focus-visible { border-radius: 4px; }

.sr-only {
  position: absolute;
  width: 1px; height: 1px;
  margin: -1px; padding: 0;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: fixed; top: 8px; left: 8px; z-index: 300;
  padding: 10px 16px; border-radius: 10px;
  border: 1px solid var(--line-strong);
  background: var(--surface-2); color: var(--text);
  font-size: 13px; font-weight: 700;
  transform: translateY(-160%);
  transition: transform 0.2s ease;
}
.skip-link:focus-visible { transform: none; }

/* smooth scroll fights ScrollTrigger scrub — keep auto for pin sections */
html { scroll-behavior: auto; }

body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  position: relative;
}

.bg-orbs {
  position: fixed; inset: 0; z-index: 0; pointer-events: none; overflow: hidden;
}
.bg-orb {
  position: absolute; border-radius: 50%; filter: blur(90px);
  animation: orbFloat 22s ease-in-out infinite alternate;
}
.bg-orb-1 { width: 520px; height: 520px; top: -8%; left: -6%; background: rgba(91,141,239,0.16); }
.bg-orb-2 { width: 440px; height: 440px; top: 35%; right: -10%; background: rgba(0,120,212,0.11); animation-delay: -6s; }
.bg-orb-3 { width: 380px; height: 380px; bottom: 5%; left: 20%; background: rgba(41,151,255,0.08); animation-delay: -11s; }
.bg-orb-4 { width: 300px; height: 300px; top: 55%; left: 45%; background: rgba(52,211,153,0.06); animation-delay: -15s; }
@keyframes orbFloat {
  0% { transform: translate(0, 0) scale(1); }
  100% { transform: translate(24px, -32px) scale(1.08); }
}

.bg-noise {
  position: fixed; inset: 0; z-index: 0; pointer-events: none; opacity: 0.035;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

.bg-mesh {
  position: fixed; inset: 0; z-index: 0; pointer-events: none;
  background:
    radial-gradient(ellipse 70% 55% at 15% 0%, rgba(41,151,255,0.14), transparent 55%),
    radial-gradient(ellipse 50% 40% at 90% 10%, rgba(255,255,255,0.04), transparent 50%),
    radial-gradient(ellipse 60% 45% at 50% 100%, rgba(41,151,255,0.06), transparent 55%);
}

.bg-mesh::after {
  content: none;
}

.page { position: relative; z-index: 1; }

a { color: inherit; text-decoration: none; }

.scroll-progress {
  position: fixed; top: 0; left: 0; right: 0; height: 2px; z-index: 200;
  background: transparent;
}
/* Scaled, not resized: animating width every frame relayouts and the
   transition fights the per-frame update. */
.scroll-progress i {
  display: block; height: 100%; width: 100%;
  background: var(--accent);
  box-shadow: 0 0 12px var(--accent);
  transform: scaleX(0);
  transform-origin: 0 50%;
  will-change: transform;
}

.site-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  height: var(--header-h);
  display: flex; align-items: center; justify-content: space-between;
  gap: 10px;
  padding: 0 24px;
  border-bottom: 1px solid transparent;
  transition: background 0.35s, border-color 0.35s, backdrop-filter 0.35s;
}
.logo-mark {
  display: flex; align-items: center; gap: 10px;
  font-weight: 800; font-size: 14px; letter-spacing: -0.03em;
  position: relative; z-index: 1;
  flex-shrink: 0;
}
.site-header.scrolled {
  background: rgba(5,5,6,0.75);
  backdrop-filter: blur(20px);
  border-color: var(--line);
}
.logo-mark img { width: 28px; height: 28px; }
.header-nav { display: flex; gap: 2px; flex-wrap: wrap; justify-content: center; max-width: 52vw; }
.header-nav a {
  font-size: 12px; font-weight: 600; color: var(--muted);
  padding: 6px 12px; border-radius: 8px;
  transition: color 0.2s, background 0.2s;
}
.header-nav a:hover, .header-nav a.active, .header-nav a.on { color: var(--text); background: rgba(255,255,255,0.05); }
.header-cta {
  font-size: 12px; font-weight: 700; padding: 8px 16px; border-radius: 9px;
  border: none;
  background: var(--accent);
  color: #fff;
  flex-shrink: 0;
  white-space: nowrap;
  transition: opacity 0.2s, transform 0.2s;
}
.header-cta:hover {
  opacity: 0.9;
  transform: translateY(-1px);
}
.lang-switch {
  display: flex; align-items: center; gap: 2px;
  padding: 3px; border-radius: 9px;
  border: 1px solid var(--line);
  background: rgba(255,255,255,0.03);
}
.lang-btn {
  font: 600 10px/1 var(--font);
  letter-spacing: 0.04em;
  padding: 5px 8px; border: 0; border-radius: 6px;
  background: transparent; color: var(--muted);
  cursor: pointer; transition: color 0.2s, background 0.2s;
}
.lang-btn:hover { color: var(--text); }
.lang-btn.on {
  color: var(--text);
  background: rgba(255,255,255,0.08);
  box-shadow: 0 1px 0 rgba(255,255,255,0.06);
}
.menu-btn {
  display: none; width: 36px; height: 36px; border: 0; border-radius: 8px;
  background: rgba(255,255,255,0.05); color: var(--text); cursor: pointer; font-size: 18px;
}

.side-rail {
  position: fixed; left: 10px; z-index: 90;
  top: calc(var(--header-h) + 16px);
  bottom: 20px;
  display: flex; flex-direction: column; align-items: stretch;
  gap: 4px;
  padding: 5px;
  border-radius: 12px;
  border: 1px solid rgba(255,255,255,0.06);
  background: rgba(8,8,10,0.38);
  backdrop-filter: blur(12px);
  box-shadow: 0 4px 20px rgba(0,0,0,0.2);
  max-height: calc(100vh - var(--header-h) - 36px);
  width: 44px;
  transition: width 0.25s ease, background 0.25s ease;
}
.side-rail:hover, .side-rail:focus-within {
  width: auto;
  min-width: 44px;
  background: rgba(10,10,12,0.55);
}

.rail-current {
  font-size: 8px; font-weight: 800; letter-spacing: 0.08em;
  text-transform: uppercase; text-align: center;
  color: var(--accent);
  padding: 4px 6px; border-radius: 6px;
  background: rgba(91,141,239,0.1);
  border: 1px solid rgba(255,255,255,0.06);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 36px;
}
.side-rail:hover .rail-current,
.side-rail:focus-within .rail-current { max-width: 88px; }

.rail-nav {
  display: flex; flex-direction: column; gap: 2px;
  flex: 1; justify-content: center; overflow-y: auto;
  scrollbar-width: none;
}
.rail-nav::-webkit-scrollbar { display: none; }

.rail-item {
  display: flex; align-items: center; gap: 6px;
  width: 100%; padding: 7px 8px;
  border: 0; border-radius: 8px;
  background: transparent; cursor: pointer; text-align: left;
  transition: background 0.2s, padding 0.2s;
  position: relative;
}
.rail-item:hover { background: rgba(255,255,255,0.06); }
.rail-item.active { background: var(--accent-glow); }

.rail-dot {
  width: 6px; height: 6px; border-radius: 50%; flex-shrink: 0;
  background: rgba(255,255,255,0.28);
  transition: background 0.2s, box-shadow 0.2s, transform 0.2s;
}
.rail-item.active .rail-dot {
  background: var(--accent);
  box-shadow: 0 0 10px var(--accent-glow);
  transform: scale(1.25);
}

.rail-label {
  font-size: 10px; font-weight: 600; color: var(--muted);
  white-space: nowrap;
  max-width: 0; opacity: 0; overflow: hidden;
  transition: max-width 0.22s ease, opacity 0.18s ease, color 0.2s;
}
.side-rail:hover .rail-label,
.side-rail:focus-within .rail-label,
.rail-item.active .rail-label {
  max-width: 72px;
  opacity: 1;
}
.rail-item.active .rail-label { color: var(--text); font-weight: 700; }

.rail-item::after {
  content: attr(title);
  position: absolute; left: calc(100% + 10px); top: 50%;
  transform: translateY(-50%) translateX(-4px);
  padding: 5px 10px; border-radius: 8px;
  font-size: 11px; font-weight: 600; color: var(--text);
  background: rgba(12,12,14,0.95);
  border: 1px solid var(--line);
  white-space: nowrap; pointer-events: none;
  opacity: 0; visibility: hidden;
  transition: opacity 0.15s, transform 0.15s, visibility 0.15s;
  z-index: 120;
}
.rail-item:hover::after {
  opacity: 1; visibility: visible;
  transform: translateY(-50%) translateX(0);
}
.side-rail:hover .rail-item::after,
.side-rail:focus-within .rail-item::after { display: none; }

/* Scroll reveals.
   `.scroll-reveal` is opacity only — it lands on cards that own their transform
   for hover lifts. `.reveal-up` adds motion and is for containers, which never
   have a hover transform to clash with. */
.scroll-reveal {
  opacity: 0;
  transition: opacity 0.55s ease;
}
.scroll-reveal.in-view { opacity: 1; }
.scroll-reveal-delay-1,
.reveal-up-delay-1 { transition-delay: 0.08s; }
.scroll-reveal-delay-2,
.reveal-up-delay-2 { transition-delay: 0.16s; }

.reveal-up {
  opacity: 0;
  transform: translate3d(0, 24px, 0);
  transition:
    opacity 0.6s cubic-bezier(0.22, 0.61, 0.36, 1),
    transform 0.7s cubic-bezier(0.22, 0.61, 0.36, 1);
}
.reveal-up.in-view {
  opacity: 1;
  transform: none;
}

#tools { scroll-margin-top: calc(var(--header-h) + 20px); }

.tools-wrap { position: relative; }
.tools-wrap::before {
  content: ""; position: absolute; left: 0; right: 0; top: 0; height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.08), transparent);
}
.tools-intro { padding-bottom: 32px; }

@media (prefers-reduced-motion: reduce) {
  .scroll-reveal { opacity: 1; transition: none; }
  .reveal-up { opacity: 1; transform: none; transition: none; }
  .hero-enter { animation: none; }
  .timeline-card { opacity: 1; transform: none; transition: none; }
  .timeline-track.grow { animation: none; transform: scaleY(1); }
  .bg-orb, .bg-mesh { animation: none; }
}

.social-dock {
  position: fixed; right: 20px; bottom: 24px; z-index: 95;
  display: flex; flex-direction: column; gap: 8px;
  padding: 10px; border-radius: 14px;
  border: 1px solid var(--line);
  background: rgba(8,8,10,0.88);
  backdrop-filter: blur(14px);
  box-shadow: 0 12px 40px rgba(0,0,0,0.35);
}
.social-dock a {
  width: 40px; height: 40px; border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  border: 1px solid var(--line); background: rgba(255,255,255,0.03);
  transition: border-color 0.2s, transform 0.2s, background 0.2s, box-shadow 0.2s;
}
.social-dock a:hover { transform: translateY(-2px); border-color: rgba(255,255,255,0.15); background: rgba(255,255,255,0.06); }
.social-dock .ico { width: 22px; height: 22px; }
.social-dock a:has([data-brand="discord"]):hover { border-color: rgba(88,101,242,0.45); box-shadow: 0 0 20px rgba(88,101,242,0.15); }
.social-dock a:has([data-brand="telegram"]):hover { border-color: rgba(38,165,228,0.45); box-shadow: 0 0 20px rgba(38,165,228,0.12); }
.social-dock a:has([data-brand="youtube"]):hover { border-color: rgba(255,0,0,0.35); box-shadow: 0 0 20px rgba(255,0,0,0.1); }

.socials-section {
  min-height: 52vh;
  padding-bottom: 120px;
  position: relative;
}
.socials-section::before {
  content: ""; position: absolute; inset: 0 -48px;
  background: linear-gradient(180deg, transparent, rgba(255,255,255,0.015) 40%, transparent);
  pointer-events: none; border-radius: 24px;
}
.socials-grid {
  margin-top: 28px; display: grid;
  grid-template-columns: repeat(4, 1fr); gap: 12px;
}
.social-card {
  padding: 22px 18px; border-radius: 16px;
  border: 1px solid var(--line);
  background: linear-gradient(165deg, rgba(255,255,255,0.05), rgba(255,255,255,0.01)), rgba(17,17,20,0.6);
  backdrop-filter: blur(8px);
  transition: border-color 0.25s, transform 0.25s, box-shadow 0.25s;
}
.social-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 48px rgba(0,0,0,0.35);
}
.social-card--discord:hover { border-color: rgba(88,101,242,0.45); box-shadow: 0 20px 48px rgba(88,101,242,0.12); }
.social-card--telegram:hover { border-color: rgba(38,165,228,0.45); box-shadow: 0 20px 48px rgba(38,165,228,0.1); }
.social-card--youtube:hover { border-color: rgba(255,0,0,0.35); box-shadow: 0 20px 48px rgba(255,0,0,0.08); }
.social-card--shop:hover { border-color: rgba(148,163,184,0.35); }
.social-card-ico {
  width: 44px; height: 44px; display: flex; align-items: center; justify-content: center;
  margin-bottom: 14px; border-radius: 12px;
  background: rgba(255,255,255,0.04); border: 1px solid var(--line);
}
.social-card-ico svg { width: 24px; height: 24px; }
.social-card h3 { font-size: 15px; font-weight: 800; margin-bottom: 4px; }
.social-card p { font-size: 12px; color: var(--muted); line-height: 1.45; }

.page { padding-left: 0; }

.section {
  position: relative;
  padding: calc(var(--header-h) + 56px) var(--section-pad) 88px;
  max-width: 1120px;
  margin: 0 auto;
  scroll-margin-top: calc(var(--header-h) + 20px);
}
.section-label {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--mono); font-size: 10px; font-weight: 600;
  letter-spacing: 0.16em; text-transform: uppercase; color: var(--accent);
  margin-bottom: 14px;
}
.section-label::before {
  content: ""; width: 20px; height: 1px; background: linear-gradient(90deg, var(--accent), transparent);
}
.section-title {
  font-size: clamp(30px, 4.2vw, 42px); font-weight: 800;
  letter-spacing: -0.04em; line-height: 1.08;
  margin-bottom: 12px;
}
.section-lead { font-size: 15px; color: var(--muted); max-width: 540px; line-height: 1.65; }

.hero {
  position: relative;
  min-height: min(92vh, 900px);
  display: flex; flex-direction: column; justify-content: center;
  padding: 0 48px 88px; max-width: none;
  scroll-margin-top: 0;
}
.hero-layout {
  position: relative; z-index: 2;
  max-width: 1200px; width: 100%;
  margin: 0 auto;
  padding-top: calc(var(--header-h) + 48px);
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: clamp(28px, 5vw, 56px);
  align-items: center;
}
.hero-content {
  position: relative; z-index: 2;
  padding: 0;
}
.hero-grid {
  position: absolute; inset: 0; pointer-events: none;
  background-image:
    linear-gradient(rgba(255,255,255,0.02) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.02) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: radial-gradient(ellipse 70% 60% at 50% 40%, black, transparent);
}
.hero-glow {
  position: absolute; width: 640px; height: 640px; border-radius: 50%;
  filter: blur(130px); opacity: 0.45; pointer-events: none;
  top: 5%; right: 0%; background: var(--accent-glow);
  transition: background 0.7s ease;
}
.hero h1 {
  font-size: clamp(44px, 7vw, 72px); font-weight: 800;
  letter-spacing: -0.045em; line-height: 1.02; position: relative;
}
.hero h1 span {
  display: inline;
  color: var(--text);
  background: none;
  -webkit-text-fill-color: var(--text);
}
.hero h1 em { font-style: normal; color: var(--accent); -webkit-text-fill-color: var(--accent); }
.hero-lead {
  margin-top: 16px; max-width: 560px; font-size: 16px; line-height: 1.65;
  color: var(--muted); position: relative;
}
.hero-stats {
  margin-top: 28px; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px; max-width: 520px; position: relative;
}
.hero-stat {
  padding: 16px 14px; border-radius: var(--radius-md);
  border: 1px solid var(--line);
  background: linear-gradient(160deg, rgba(255,255,255,0.05), rgba(255,255,255,0.01));
  backdrop-filter: blur(8px);
  transition: border-color 0.25s, transform 0.25s, box-shadow 0.25s;
}
.hero-stat:hover {
  border-color: var(--line-strong);
  transform: translateY(-2px);
  box-shadow: 0 12px 32px rgba(0,0,0,0.25);
}
.hero-stat b {
  display: block; font-size: 22px; font-weight: 900;
  font-family: var(--mono); letter-spacing: -0.03em;
  background: linear-gradient(180deg, #fff, #94a3b8);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
}
.hero-stat span { display: block; margin-top: 4px; font-size: 10px; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; color: var(--muted); }
.hero-orb {
  position: absolute; border-radius: 50%; filter: blur(80px); pointer-events: none;
  animation: drift 14s ease-in-out infinite;
}
.hero-orb-a { width: 320px; height: 320px; top: 12%; left: 5%; background: rgba(91,141,239,0.18); }
.hero-orb-b { width: 260px; height: 260px; bottom: 15%; left: 30%; background: rgba(0,120,212,0.12); animation-delay: -4s; }
.hero-orb-c { width: 240px; height: 240px; top: 38%; right: 10%; background: rgba(124,58,237,0.1); animation-delay: -7s; }
@keyframes drift { 0%,100% { transform: translate(0,0); } 50% { transform: translate(12px,-18px); } }
.hero-actions { margin-top: 32px; display: flex; gap: 10px; flex-wrap: wrap; position: relative; }

.hero-latest {
  display: inline-flex; align-items: center; flex-wrap: wrap; gap: 8px;
  margin-bottom: 18px; padding: 8px 14px 8px 10px;
  border-radius: 999px; border: 1px solid var(--line);
  background: rgba(255,255,255,0.04);
  font-size: 12px; font-weight: 600; color: var(--muted);
  max-width: 100%;
  transition: border-color 0.2s, background 0.2s, transform 0.2s;
}
.hero-latest:hover {
  border-color: color-mix(in srgb, var(--accent) 40%, var(--line));
  background: color-mix(in srgb, var(--accent) 8%, transparent);
  transform: translateY(-1px);
  color: var(--text);
}
.hero-latest-tag {
  font-size: 9px; font-weight: 800; letter-spacing: 0.08em; text-transform: uppercase;
  padding: 3px 8px; border-radius: 999px; border: 1px solid var(--line);
}
.hero-latest-tag.release { color: #34d399; border-color: rgba(52,211,153,0.35); background: rgba(52,211,153,0.1); }
.hero-latest-tag.new { color: var(--accent); border-color: rgba(91,141,239,0.35); background: var(--accent-glow); }
.hero-latest-text { color: var(--text); font-weight: 700; }
.hero-latest-tool {
  font-size: 10px; font-weight: 700; color: var(--accent);
  padding: 2px 8px; border-radius: 999px;
  background: rgba(91,141,239,0.1); border: 1px solid rgba(91,141,239,0.2);
}
.hero-latest-arrow { color: var(--accent); margin-left: 2px; }

.hero-quicklinks {
  margin-top: 24px; display: flex; flex-wrap: wrap; gap: 8px;
}
.hero-quicklink {
  display: inline-flex; align-items: center; gap: 7px;
  font-size: 11px; font-weight: 700; color: var(--muted);
  padding: 8px 12px; border-radius: 10px;
  border: 1px solid var(--line);
  background: rgba(255,255,255,0.02);
  transition: color 0.2s, border-color 0.2s, background 0.2s, transform 0.2s;
}
.hero-quicklink:hover {
  color: var(--text);
  border-color: var(--line-strong);
  background: rgba(255,255,255,0.05);
  transform: translateY(-1px);
}
.hero-quicklink .ico { width: 16px; height: 16px; opacity: 0.85; }
.hero-quicklink-ico {
  width: 16px; height: 16px; display: grid; place-items: center; opacity: 0.75;
}
.hero-quicklink-ico svg { width: 14px; height: 14px; stroke: currentColor; }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font-size: 13px; font-weight: 700; padding: 12px 22px; border-radius: 11px;
  border: 1px solid transparent; cursor: pointer;
  transition: transform 0.2s, box-shadow 0.2s, border-color 0.2s, background 0.2s;
}
.btn-primary {
  background: var(--accent);
  color: #fff;
  border: none;
}
.btn-primary:hover { transform: translateY(-1px); opacity: 0.92; }
.btn-ghost {
  border-color: rgba(255,255,255,0.1);
  color: var(--text);
  background: transparent;
}
.btn-ghost:hover {
  border-color: rgba(255,255,255,0.18);
  background: rgba(255,255,255,0.04);
  transform: translateY(-1px);
}

.scroll-hint {
  position: absolute; bottom: 28px; left: 48px; z-index: 1;
  display: flex; align-items: center; gap: 8px;
  font-size: 10px; font-weight: 600; letter-spacing: 0.12em;
  text-transform: uppercase; color: var(--muted);
  animation: bob 2.4s ease-in-out infinite;
  pointer-events: none;
  opacity: 0.7;
}
.scroll-hint svg { width: 14px; height: 14px; stroke: currentColor; fill: none; stroke-width: 2; }
.scroll-hint.is-hidden { opacity: 0; visibility: hidden; transition: opacity 0.35s, visibility 0.35s; }
@keyframes bob { 0%,100% { transform: translateY(0); } 50% { transform: translateY(5px); } }

.updates-section {
  position: relative;
}
.updates-section::before {
  content: ""; position: absolute; left: -48px; right: -48px; top: 0; bottom: 0;
  background: linear-gradient(180deg, transparent, rgba(91,141,239,0.03) 50%, transparent);
  pointer-events: none; border-radius: 20px;
}

/* ============================================
   Updates Timeline — Premium Redesign
   ============================================ */

/* Hero section */
.updates-hero {
  margin-bottom: 40px;
}
.updates-hero-label {
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 12px;
}
.updates-hero-title {
  font-size: clamp(28px, 4vw, 42px);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.12;
  margin-bottom: 10px;
  background: linear-gradient(135deg, #fff 40%, rgba(255,255,255,0.5));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.updates-hero-lead {
  font-size: 15px;
  color: var(--muted);
  line-height: 1.6;
  max-width: 56ch;
}

/* Stats bar */
.updates-stats-bar {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(130px, 1fr));
  gap: 12px;
  margin: 28px 0;
}
.updates-stat {
  padding: 16px 20px;
  border-radius: 14px;
  border: 1px solid var(--line);
  background: rgba(255,255,255,0.02);
}
.updates-stat-value {
  font-family: var(--mono);
  font-size: 22px;
  font-weight: 800;
  color: #fff;
  display: block;
  line-height: 1;
}
.updates-stat-label {
  font-size: 11px;
  font-weight: 600;
  color: var(--muted);
  margin-top: 6px;
  display: block;
}

/* Toolbar */
.updates-toolbar {
  display: flex;
  gap: 10px;
  align-items: center;
  flex-wrap: wrap;
  margin-bottom: 36px;
}
.updates-search-wrap {
  position: relative;
  flex: 1;
  min-width: 180px;
}
.updates-search-wrap::before {
  content: "⌕";
  position: absolute;
  left: 14px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 15px;
  color: var(--muted);
  pointer-events: none;
  opacity: 0.5;
}
.updates-search {
  width: 100%;
  padding: 10px 14px 10px 36px;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: rgba(255,255,255,0.03);
  color: #fff;
  font-size: 13px;
  font-family: inherit;
  outline: none;
  transition: border-color 0.25s, box-shadow 0.25s;
}
.updates-search:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(79,140,255,0.12);
}
.updates-search::placeholder { color: rgba(255,255,255,0.2); }
.updates-filter-pills {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
}
.updates-filter-pill {
  padding: 7px 14px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 700;
  border: 1px solid var(--line);
  background: transparent;
  color: var(--muted);
  cursor: pointer;
  transition: all 0.2s ease;
  white-space: nowrap;
  font-family: inherit;
}
.updates-filter-pill:hover {
  border-color: rgba(255,255,255,0.15);
  color: #fff;
}
.updates-filter-pill.on {
  background: var(--accent-glow);
  border-color: var(--accent);
  color: var(--accent);
}
.updates-sort {
  padding: 9px 14px;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: rgba(255,255,255,0.03);
  color: var(--muted);
  font-size: 12px;
  font-family: inherit;
  cursor: pointer;
  outline: none;
  transition: border-color 0.25s;
}
.updates-sort:focus { border-color: var(--accent); }

/* Content layout */
.updates-content {
  display: grid;
  grid-template-columns: 1fr 280px;
  gap: 40px;
  align-items: start;
}

/* Timeline */
.updates-timeline {
  position: relative;
  padding-left: 36px;
}
.timeline-track {
  position: absolute;
  left: 14px;
  top: 10px;
  bottom: 10px;
  width: 2px;
  background: linear-gradient(to bottom, var(--accent), rgba(79,140,255,0.05));
  border-radius: 1px;
  transform-origin: top;
}
.timeline-track.grow {
  animation: timelineGrow 1.2s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}
@keyframes timelineGrow {
  from { transform: scaleY(0); }
  to { transform: scaleY(1); }
}
.timeline-cards {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.timeline-card {
  position: relative;
  display: flex;
  align-items: flex-start;
  gap: 20px;
}
.timeline-dot {
  position: absolute;
  left: -36px;
  top: 22px;
  width: 30px;
  height: 30px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}
.timeline-dot-core {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--tag-color, var(--accent));
  box-shadow: 0 0 14px color-mix(in srgb, var(--tag-color, var(--accent)) 50%, transparent);
  position: relative;
  z-index: 1;
}
.timeline-dot-ring {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 2px solid var(--tag-color, var(--accent));
  opacity: 0.15;
  animation: nodePulse 2.5s ease-in-out infinite;
}
@keyframes nodePulse {
  0%, 100% { transform: scale(1); opacity: 0.15; }
  50% { transform: scale(1.5); opacity: 0.04; }
}

/* Update card — premium glass */
.update-card {
  flex: 1;
  background: rgba(17, 19, 24, 0.82);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-radius: 18px;
  border: 1px solid rgba(255,255,255,0.06);
  padding: 24px;
  position: relative;
  overflow: hidden;
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1),
              box-shadow 0.4s ease,
              border-color 0.4s ease;
}
.update-card::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 18px;
  background: linear-gradient(135deg,
    color-mix(in srgb, var(--tag-color, var(--accent)) 6%, transparent) 0%,
    transparent 60%
  );
  pointer-events: none;
}
.update-card-glow {
  position: absolute;
  inset: -1px;
  border-radius: 19px;
  background: linear-gradient(135deg,
    color-mix(in srgb, var(--tag-color, var(--accent)) 20%, transparent) 0%,
    transparent 40%,
    transparent 60%,
    color-mix(in srgb, var(--tag-color, var(--accent)) 10%, transparent) 100%
  );
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  mask-composite: exclude;
  padding: 1px;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.5s ease;
}
.update-card:hover .update-card-glow { opacity: 1; }
.update-card:hover {
  transform: translateY(-4px) scale(1.005);
  box-shadow: 0 24px 56px rgba(0,0,0,0.45), 0 0 0 1px color-mix(in srgb, var(--tag-color, var(--accent)) 25%, transparent) inset;
  border-color: color-mix(in srgb, var(--tag-color, var(--accent)) 25%, rgba(255,255,255,0.06));
}

/* Card header */
.update-card-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 12px;
}
.update-card-left {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}
.update-card-tool-icon {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.06);
  overflow: hidden;
  flex-shrink: 0;
  display: grid;
  place-items: center;
}
.update-card-tool-icon img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.update-card-tool-icon svg {
  width: 18px;
  height: 18px;
  opacity: 0.4;
}
.update-card-badge {
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: 999px;
  background: color-mix(in srgb, var(--tag-color, var(--accent)) 15%, transparent);
  color: var(--tag-color, var(--accent));
  border: 1px solid color-mix(in srgb, var(--tag-color, var(--accent)) 25%, transparent);
}
.update-card-version {
  font-family: var(--mono);
  font-size: 13px;
  font-weight: 700;
  color: #fff;
  letter-spacing: -0.01em;
}
.update-card-date {
  font-family: var(--mono);
  font-size: 11px;
  color: var(--muted);
  white-space: nowrap;
  padding-top: 3px;
}
.update-card-title {
  font-size: 17px;
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.4;
  margin-bottom: 10px;
  color: #fff;
}
.update-card-title span {
  font-weight: 500;
  color: var(--muted);
  font-size: 0.9em;
}
.update-card-items {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.update-card-items li {
  position: relative;
  padding-left: 20px;
  font-size: 13px;
  color: rgba(255,255,255,0.62);
  line-height: 1.55;
}
.update-card-items li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 8px;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--tag-color, var(--accent));
  opacity: 0.35;
  box-shadow: 0 0 6px color-mix(in srgb, var(--tag-color, var(--accent)) 25%, transparent);
}

/* Card footer */
.update-card-footer {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-top: 14px;
  padding-top: 12px;
  border-top: 1px solid rgba(255,255,255,0.04);
}
.update-card-meta-item {
  font-size: 11px;
  color: rgba(255,255,255,0.3);
  font-family: var(--mono);
}
.update-card-meta-item strong {
  color: rgba(255,255,255,0.5);
  font-weight: 600;
}
.update-card-copy {
  margin-left: auto;
  padding: 4px 10px;
  border-radius: 8px;
  border: 1px solid rgba(255,255,255,0.06);
  background: transparent;
  color: var(--muted);
  font-size: 10px;
  font-family: inherit;
  cursor: pointer;
  transition: all 0.2s ease;
}
.update-card-copy:hover {
  border-color: var(--accent);
  color: var(--accent);
  background: var(--accent-glow);
}
.update-card-copy.copied {
  border-color: #22C55E;
  color: #22C55E;
  background: rgba(34,197,94,0.1);
}

/* Sidebar */
.updates-sidebar {
  display: flex;
  flex-direction: column;
  gap: 16px;
  position: sticky;
  top: calc(var(--header-h) + 24px);
}
.sidebar-card {
  background: rgba(17, 19, 24, 0.65);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-radius: 16px;
  border: 1px solid rgba(255,255,255,0.06);
  padding: 20px;
  transition: border-color 0.3s ease;
}
.sidebar-card:hover { border-color: rgba(255,255,255,0.1); }
.sidebar-card-title {
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 16px;
}
.sidebar-stat-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 0;
  border-bottom: 1px solid rgba(255,255,255,0.04);
}
.sidebar-stat-row:last-child { border-bottom: 0; padding-bottom: 0; }
.sidebar-stat-label {
  font-size: 12px;
  color: var(--muted);
  font-weight: 500;
}
.sidebar-stat-value {
  font-family: var(--mono);
  font-size: 15px;
  font-weight: 800;
  color: #fff;
}
.sidebar-version-card {
  text-align: center;
  padding: 24px 20px;
}
.sidebar-version-number {
  font-family: var(--mono);
  font-size: 28px;
  font-weight: 800;
  background: linear-gradient(135deg, #4F8CFF, #7C5CFF);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  letter-spacing: -0.03em;
}
.sidebar-version-label {
  font-size: 11px;
  color: var(--muted);
  margin-top: 6px;
  font-weight: 500;
}
.sidebar-version-date {
  font-size: 11px;
  color: rgba(255,255,255,0.3);
  font-family: var(--mono);
  margin-top: 4px;
}
.sidebar-filters {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.sidebar-filter-btn {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  border-radius: 10px;
  border: 0;
  background: transparent;
  color: var(--muted);
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
  text-align: left;
  transition: all 0.2s ease;
  font-family: inherit;
}
.sidebar-filter-btn:hover {
  color: #fff;
  background: rgba(255,255,255,0.04);
}
.sidebar-filter-btn.on {
  color: #fff;
  background: rgba(79,140,255,0.1);
}
.sidebar-filter-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  flex-shrink: 0;
}
.sidebar-filter-count {
  margin-left: auto;
  font-family: var(--mono);
  font-size: 11px;
  color: rgba(255,255,255,0.2);
}

/* Loading skeletons */
.update-card-skeleton {
  flex: 1;
  background: rgba(17, 19, 24, 0.45);
  border-radius: 18px;
  border: 1px solid rgba(255,255,255,0.04);
  padding: 24px;
  position: relative;
  overflow: hidden;
}
.update-card-skeleton::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.03), transparent);
  animation: skeletonShimmer 1.6s infinite;
}
@keyframes skeletonShimmer {
  0% { transform: translateX(-100%); }
  100% { transform: translateX(100%); }
}
.skeleton-line {
  height: 12px;
  border-radius: 6px;
  background: rgba(255,255,255,0.04);
  margin-bottom: 10px;
}
.skeleton-line-sm { width: 30%; height: 8px; }
.skeleton-line-md { width: 60%; }
.skeleton-line-lg { width: 85%; }

/* Empty state */
.updates-empty {
  text-align: center;
  padding: 60px 24px;
}
.updates-empty-icon {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: rgba(255,255,255,0.03);
  border: 1px solid var(--line);
  display: grid;
  place-items: center;
  margin: 0 auto 16px;
  font-size: 20px;
}
.updates-empty-title {
  font-size: 16px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 6px;
}
.updates-empty-text {
  font-size: 13px;
  color: var(--muted);
}

/* Timeline cards entrance */
.timeline-card {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s cubic-bezier(0.16, 1, 0.3, 1),
              transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}
.timeline-card.in-view {
  opacity: 1;
  transform: translateY(0);
}
.timeline-card.in-view .timeline-dot-core {
  animation: nodePop 0.5s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}
@keyframes nodePop {
  0% { transform: scale(0); }
  60% { transform: scale(1.2); }
  100% { transform: scale(1); }
}

/* Hover cards parallax wrapper */
.update-card-wrap {
  flex: 1;
  perspective: 800px;
}
.update-card-wrap .update-card {
  transform-style: preserve-3d;
}

.tools-intro { padding-bottom: 24px; }
.tools-intro-actions { margin-bottom: 8px; }
.tools-jump {
  margin-top: 24px; display: flex; flex-wrap: wrap; gap: 8px;
}
.jump-pill {
  font-size: 11px; font-weight: 700; padding: 7px 14px; border-radius: 999px;
  border: 1px solid color-mix(in srgb, var(--pill-color, var(--accent)) 35%, var(--line));
  color: var(--pill-color, var(--accent));
  background: color-mix(in srgb, var(--pill-color, var(--accent)) 8%, transparent);
  transition: transform 0.2s, background 0.2s;
}
.jump-pill:hover { transform: translateY(-1px); background: color-mix(in srgb, var(--pill-color, var(--accent)) 14%, transparent); }

.tools-catalog {
  padding: 0 var(--section-pad) 80px; max-width: 1200px; margin: 0 auto;
  position: relative;
}
.tools-catalog::before {
  content: ""; position: absolute; inset: -20px -48px 0;
  background: radial-gradient(ellipse 70% 50% at 50% 0%, rgba(91,141,239,0.06), transparent 70%);
  pointer-events: none;
}
.tools-group { margin-bottom: 56px; }
.tools-group-head { margin-bottom: 20px; max-width: 640px; }
.tools-group-label {
  display: inline-block; font-size: 9px; font-weight: 800; letter-spacing: 0.14em;
  text-transform: uppercase; color: var(--muted); margin-bottom: 8px;
}
.tools-group-head h3 { font-size: 22px; font-weight: 800; letter-spacing: -0.03em; margin-bottom: 6px; }
.tools-group-head p { font-size: 13px; color: var(--muted); line-height: 1.55; }

.tools-grid { display: grid; gap: 14px; }
.tools-grid--paid { grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); }
.tools-grid--free { grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }

.tool-card {
  scroll-margin-top: calc(var(--header-h) + 16px);
  position: relative;
  border-radius: var(--radius-lg);
  border: 1px solid var(--line);
  background:
    linear-gradient(165deg, color-mix(in srgb, var(--card-color, var(--accent)) 8%, transparent), transparent 42%),
    var(--surface);
  padding: 22px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  transition: border-color 0.3s, box-shadow 0.3s, transform 0.3s;
  overflow: hidden;
}
.tool-card::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--card-color, var(--accent)), transparent);
  opacity: 0;
  transition: opacity 0.3s;
}
.tool-card:hover {
  border-color: color-mix(in srgb, var(--card-color, var(--accent)) 40%, var(--line-strong));
  box-shadow: 0 20px 56px rgba(0,0,0,0.38);
  transform: translateY(-3px);
}
.tool-card:hover::before { opacity: 1; }
.tool-card--paid { min-height: 0; }
.tool-card--clickable { cursor: pointer; }

.tool-card-head { display: flex; gap: 14px; align-items: flex-start; }
.tool-card-icon {
  flex-shrink: 0; width: 50px; height: 50px; border-radius: 14px;
  display: flex; align-items: center; justify-content: center;
  background: rgba(0,0,0,0.4);
  border: 1px solid color-mix(in srgb, var(--card-color, var(--accent)) 22%, var(--line));
  box-shadow: 0 4px 16px rgba(0,0,0,0.2);
}
.tool-card-icon svg { width: 24px; height: 24px; }
.tool-card-titles { flex: 1; min-width: 0; }
.tool-card-titles h3 {
  font-size: 17px; font-weight: 800; letter-spacing: -0.02em; margin: 6px 0 4px;
  color: var(--card-color, var(--accent));
}
.tool-card-titles h3:hover { opacity: 0.85; }
.tool-card-icon { transition: transform 0.25s, box-shadow 0.25s; }
.tool-card-tagline { font-size: 12px; font-weight: 600; color: var(--muted); }
.tool-card-desc {
  font-size: 13px; color: var(--muted); line-height: 1.6;
  display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden;
}
.tool-card-whatsnew { font-size: 12px; color: var(--muted); }
.tool-card-whatsnew summary {
  cursor: pointer; font-weight: 700; font-size: 10px; letter-spacing: 0.08em;
  text-transform: uppercase; color: var(--muted); list-style: none;
}
.tool-card-whatsnew summary::-webkit-details-marker { display: none; }
.tool-card-whatsnew ul { margin: 8px 0 0 16px; list-style: disc; }
.tool-card-whatsnew li { margin-bottom: 3px; }
.tool-card-foot { margin-top: auto; display: flex; flex-direction: column; gap: 12px; }

.btn-sm { font-size: 12px; padding: 8px 14px; border-radius: 8px; }

.feature-list { display: flex; flex-wrap: wrap; gap: 6px; }
.feature-pill {
  font-size: 10px; font-weight: 600; padding: 5px 10px; border-radius: 8px;
  border: 1px solid var(--line);
  color: var(--muted);
  background: rgba(255,255,255,0.03);
  transition: border-color 0.2s, color 0.2s;
}
.tool-card:hover .feature-pill {
  border-color: color-mix(in srgb, var(--card-color, var(--accent)) 20%, var(--line));
}
.tool-meta { display: flex; flex-wrap: wrap; gap: 8px; font-family: var(--mono); font-size: 10px; color: var(--muted); }
.tool-meta span {
  padding: 5px 10px;
  border-radius: 8px;
  border: 1px solid color-mix(in srgb, var(--card-color, var(--accent)) 15%, var(--line));
  background: rgba(0,0,0,0.25);
  font-weight: 600;
}
.tool-actions { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; }
.badge-paid {
  font-size: 9px; font-weight: 800; letter-spacing: 0.08em; text-transform: uppercase;
  padding: 5px 10px; border-radius: 999px;
  color: #fcd34d;
  border: 1px solid rgba(252,211,77,0.35);
  background: linear-gradient(135deg, rgba(251,191,36,0.14), rgba(251,191,36,0.06));
  box-shadow: 0 0 20px rgba(251,191,36,0.08);
}
.badge-free {
  font-size: 9px; font-weight: 800; letter-spacing: 0.08em; text-transform: uppercase;
  padding: 5px 10px; border-radius: 999px;
  color: #6ee7b7;
  border: 1px solid rgba(110,231,183,0.35);
  background: linear-gradient(135deg, rgba(52,211,153,0.14), rgba(52,211,153,0.06));
  box-shadow: 0 0 20px rgba(52,211,153,0.08);
}

.section + .section,
.tools-catalog { border-top: 1px solid rgba(255,255,255,0.04); }

.store-strip { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: rgba(255,255,255,0.02); padding: 48px; max-width: none; }
.store-grid { max-width: 1100px; margin: 0 auto; display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.store-card { padding: 20px; border-radius: 14px; border: 1px solid var(--line); background: var(--surface); transition: border-color 0.25s, transform 0.25s; }
.store-card:hover { border-color: rgba(255,255,255,0.14); transform: translateY(-2px); }
.store-card h3 { font-size: 14px; font-weight: 700; margin-bottom: 6px; }
.store-card p { font-size: 12px; color: var(--muted); margin-bottom: 14px; line-height: 1.5; }
.store-card a { font-size: 11px; font-weight: 700; color: var(--accent); }

.site-footer {
  padding: 48px; max-width: 1100px; margin: 0 auto;
  display: flex; justify-content: space-between; align-items: flex-end; flex-wrap: wrap; gap: 24px;
  border-top: 1px solid rgba(255,255,255,0.06);
  background: linear-gradient(180deg, transparent, rgba(255,255,255,0.015));
}
.footer-links { display: flex; gap: 16px; }
.footer-links a { font-size: 12px; font-weight: 600; color: var(--muted); }
.footer-copy { font-size: 11px; color: var(--muted); }

.mobile-nav {
  display: none; position: fixed; inset: 0; z-index: 150;
  background: rgba(8,8,10,0.95); backdrop-filter: blur(12px);
  flex-direction: column; align-items: center; justify-content: center; gap: 8px;
}
.mobile-nav.open { display: flex; }
.mobile-nav a { font-size: 18px; font-weight: 700; padding: 12px 24px; }

/* Background effects */
.bg-particles {
  position: fixed; inset: 0; z-index: 0; pointer-events: none; opacity: 0.55;
}
.bg-spotlight {
  position: fixed; inset: 0; z-index: 0; pointer-events: none;
  background: radial-gradient(600px circle at var(--sx, 50%) var(--sy, 40%), rgba(91,141,239,0.09), transparent 65%);
  transition: opacity 0.3s;
}
.bg-glass {
  position: fixed; inset: 0; z-index: 0; pointer-events: none;
  background:
    linear-gradient(125deg, transparent 40%, rgba(255,255,255,0.02) 50%, transparent 60%),
    linear-gradient(235deg, transparent 55%, rgba(255,255,255,0.015) 62%, transparent 70%);
  animation: glassShift 18s ease-in-out infinite alternate;
}
@keyframes glassShift {
  0% { opacity: 0.5; transform: translateX(0); }
  100% { opacity: 0.85; transform: translateX(2%); }
}

/* Hero showcase */
.hero-showcase {
  position: relative;
  min-height: 380px;
  width: 100%;
}
.showcase-stack {
  width: 100%;
}
.showcase-frame {
  --showcase-accent: var(--accent);
  position: relative;
  z-index: 2;
  border-radius: var(--radius-lg);
  border: 1px solid var(--line-strong);
  background:
    linear-gradient(165deg, rgba(255,255,255,0.07) 0%, rgba(255,255,255,0.02) 40%, transparent 100%),
    var(--surface);
  backdrop-filter: blur(16px);
  box-shadow:
    0 32px 80px rgba(0,0,0,0.5),
    0 0 0 1px rgba(255,255,255,0.04) inset;
  overflow: hidden;
  animation: showcaseFloat 7s ease-in-out infinite;
}
.showcase-frame::before {
  content: "";
  position: absolute; top: 0; left: 0; right: 0; height: 1px;
  background: linear-gradient(90deg, transparent, var(--showcase-accent, var(--accent)), transparent);
  opacity: 0.6;
}
@keyframes showcaseFloat {
  0%, 100% { transform: translateY(0) rotateX(1.5deg) rotateY(-2deg); }
  50% { transform: translateY(-6px) rotateX(0deg) rotateY(1.5deg); }
}
.showcase-chrome {
  display: flex; align-items: center; gap: 6px;
  padding: 10px 14px; border-bottom: 1px solid var(--line);
  background: rgba(0,0,0,0.35);
}
.showcase-chrome span {
  width: 8px; height: 8px; border-radius: 50%;
  background: rgba(255,255,255,0.15);
}
.showcase-chrome em {
  margin-left: auto; font-style: normal; font-size: 10px; font-weight: 700;
  color: var(--showcase-accent, #34d399); letter-spacing: 0.06em; text-transform: uppercase;
}
.showcase-tool-badge {
  width: 22px; height: 22px; border-radius: 6px; overflow: hidden;
  display: flex; align-items: center; justify-content: center;
  background: rgba(0,0,0,0.35); border: 1px solid var(--line);
}
.showcase-tool-badge img { width: 18px; height: 18px; object-fit: contain; }
.showcase-tool-badge span { width: 10px; height: 10px; border-radius: 50%; display: block; }
.showcase-bar--accent b { color: var(--showcase-accent, var(--accent)); }
.showcase-screen { padding: 0; min-height: 280px; }
.showcase-gui-wrap { perspective: none; }
.showcase-gui {
  transition: opacity 0.22s ease, transform 0.22s ease;
  min-height: 280px;
}
.showcase-gui.is-fading { opacity: 0; transform: translateY(6px); }

/* Product stage (hero) */
.product-stage {
  --stage-accent: var(--accent);
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: 0;
  min-height: 280px;
  animation: stageIn 0.45s ease;
}
@keyframes stageIn {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: none; }
}
.stage-visual {
  position: relative;
  display: flex; align-items: center; justify-content: center;
  background:
    radial-gradient(circle at 50% 40%, color-mix(in srgb, var(--stage-accent) 28%, transparent), transparent 65%),
    rgba(0,0,0,0.35);
  padding: 28px 20px;
  border-right: 1px solid var(--line);
  overflow: hidden;
}
.stage-glow {
  position: absolute; inset: 20% 15%;
  background: radial-gradient(circle, color-mix(in srgb, var(--stage-accent) 35%, transparent), transparent 70%);
  filter: blur(28px); pointer-events: none;
}
.stage-shot {
  position: relative; z-index: 1;
  width: 100%; max-width: 200px; max-height: 160px;
  object-fit: cover; border-radius: 12px;
  border: 1px solid var(--line-strong);
  box-shadow: 0 16px 40px rgba(0,0,0,0.4);
}
.stage-icon-lg {
  position: relative; z-index: 1;
  width: 72px; height: 72px; object-fit: contain;
  filter: drop-shadow(0 12px 24px rgba(0,0,0,0.45));
}
.stage-icon-fallback {
  position: relative; z-index: 1;
  width: 72px; height: 72px; border-radius: 18px;
  display: grid; place-items: center;
  background: color-mix(in srgb, var(--c, var(--stage-accent)) 18%, transparent);
  border: 1px solid color-mix(in srgb, var(--c, var(--stage-accent)) 35%, transparent);
  color: var(--c, var(--stage-accent));
}
.stage-icon-fallback svg { width: 36px; height: 36px; }
.stage-body {
  display: flex; flex-direction: column; gap: 14px;
  padding: 20px 22px 22px;
  justify-content: center;
}
.stage-top { display: flex; flex-direction: column; gap: 6px; }
.stage-badge {
  align-self: flex-start;
  font-size: 10px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--stage-accent);
  padding: 4px 8px; border-radius: 999px;
  border: 1px solid color-mix(in srgb, var(--stage-accent) 35%, transparent);
  background: color-mix(in srgb, var(--stage-accent) 12%, transparent);
}
.stage-name {
  font-size: 22px; font-weight: 800; letter-spacing: -0.03em; line-height: 1.15;
}
.stage-tagline {
  font-size: 13px; color: var(--muted); line-height: 1.45; max-width: 36ch;
}
.stage-metrics {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px;
}
.stage-metric {
  padding: 10px 8px; border-radius: 12px;
  background: rgba(255,255,255,0.03); border: 1px solid var(--line);
  text-align: center;
}
.stage-metric b {
  display: block; font-size: 14px; font-weight: 800; letter-spacing: -0.02em;
  color: var(--text); margin-bottom: 2px;
}
.stage-metric span {
  font-size: 9px; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; color: var(--muted);
}
.stage-chips { display: flex; flex-wrap: wrap; gap: 6px; }
.stage-chip {
  font-size: 11px; font-weight: 600; color: var(--muted);
  padding: 5px 10px; border-radius: 999px;
  border: 1px solid var(--line); background: rgba(255,255,255,0.02);
}
.stage-cta { align-self: flex-start; margin-top: 2px; }

@media (max-width: 720px) {
  .product-stage { grid-template-columns: 1fr; }
  .stage-visual {
    min-height: 120px; border-right: none; border-bottom: 1px solid var(--line);
    padding: 20px;
  }
  .stage-metrics { grid-template-columns: repeat(3, 1fr); }
}

.gui-mock {
  --gui-accent: var(--showcase-accent, var(--accent));
  border-radius: 10px;
  border: 1px solid rgba(255,255,255,0.06);
  background: rgba(0,0,0,0.45);
  padding: 14px;
  animation: guiIn 0.4s ease;
}
@keyframes guiIn {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: none; }
}
.gui-term {
  font-family: var(--mono);
  font-size: 10px;
  line-height: 1.6;
}
.gui-term-line {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 2px 0;
  color: var(--muted);
}
.gui-term-line b { font-weight: 700; color: var(--text); }
.gui-term-bullet { flex-shrink: 0; width: 14px; text-align: center; font-size: 8px; }
.gui-term-cmd { color: rgba(255,255,255,0.4); font-size: 9px; padding-bottom: 6px; }
.gui-term-cmd span { color: var(--gui-accent); }
.gui-term-line.ok { color: #34d399; }
.gui-term-line.ok b { color: #34d399; }
.gui-term-line.dim { opacity: 0.5; }
.gui-term-accent { color: var(--gui-accent); }
.gui-term-accent b { color: var(--gui-accent); }
.gui-term-hit { color: #fbbf24; }
.gui-term-hit b { color: #fbbf24; }
.gui-progress {
  height: 3px; border-radius: 99px; background: rgba(255,255,255,0.06); overflow: hidden; margin: 8px 0 0;
}
.gui-progress i { display: block; height: 100%; background: linear-gradient(90deg, var(--gui-accent), #5eead4); border-radius: inherit; transition: width 0.4s ease; }
.gui-svc-row { display: flex; flex-wrap: wrap; gap: 4px; margin: 4px 0 6px; }
.gui-svc {
  display: inline-flex; align-items: center; gap: 4px;
  font-size: 8px; font-weight: 700;
  padding: 3px 7px; border-radius: 999px;
  border: 1px solid var(--line); color: var(--muted);
  transition: border-color 0.25s, color 0.25s, background 0.25s;
}
.gui-svc img { width: 12px; height: 12px; object-fit: contain; }
.gui-svc.on { color: #fff; border-color: color-mix(in srgb, var(--gui-accent) 45%, var(--line)); background: color-mix(in srgb, var(--gui-accent) 12%, transparent); }
.showcase-footer {
  border-top: 1px solid var(--line);
  padding: 10px 14px;
  background: rgba(0,0,0,0.2);
}
.hero-tool-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
}
.hero-tool-pill {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 9px;
  font-weight: 700;
  color: var(--muted);
  padding: 5px 10px 5px 6px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,0.06);
  background: rgba(255,255,255,0.03);
  cursor: pointer;
  transition: border-color 0.2s, background 0.2s, color 0.2s;
}
.hero-tool-pill:hover { border-color: rgba(255,255,255,0.12); background: rgba(255,255,255,0.06); }
.hero-tool-pill img { width: 14px; height: 14px; object-fit: contain; border-radius: 3px; }
.hero-tool-dot { width: 6px; height: 6px; border-radius: 50%; flex-shrink: 0; }
.hero-tool-pill.on {
  color: var(--text);
  border-color: color-mix(in srgb, var(--pill-color, var(--accent)) 45%, var(--line));
  background: color-mix(in srgb, var(--pill-color, var(--accent)) 12%, transparent);
}

.tool-card-icon .tool-card-img {
  width: 28px; height: 28px; object-fit: contain; border-radius: 6px; display: block;
}
.tool-card-icon .tool-card-img--bitmap {
  background: rgba(255,255,255,0.06);
  padding: 2px;
  filter: none;
}
.tool-card-icon svg { flex-shrink: 0; }

.project-stats--compact {
  display: flex; flex-wrap: wrap; gap: 6px; margin: 0;
}
.project-stat-pill {
  font-size: 10px; color: var(--muted); padding: 5px 10px; border-radius: 999px;
  border: 1px solid var(--line); background: rgba(0,0,0,0.2);
}
.project-stat-pill b {
  font-family: var(--mono); font-weight: 800; color: var(--card-color, var(--accent));
  margin-right: 4px;
}
.project-note {
  font-size: 11px; color: var(--muted); line-height: 1.45; margin: 0;
}
.project-note strong { color: var(--text); font-weight: 600; }

/* Trust */
.tools-intro { padding-bottom: 32px; }

/* Featured tools strip */
.featured-section {
  position: relative;
  padding: 48px var(--section-pad) 56px;
  max-width: 1200px;
  margin: 0 auto;
  scroll-margin-top: calc(var(--header-h) + 20px);
}
.featured-head {
  display: flex; align-items: flex-end; justify-content: space-between;
  gap: 20px; flex-wrap: wrap; margin-bottom: 24px;
}
.featured-head .section-lead { margin-bottom: 0; }
.featured-all-btn { flex-shrink: 0; }
.featured-track-wrap {
  position: relative;
  margin: 0 calc(var(--section-pad) * -0.5);
  padding: 4px calc(var(--section-pad) * 0.5);
}
.featured-track-wrap::before,
.featured-track-wrap::after {
  content: ""; position: absolute; top: 0; bottom: 0; width: 48px; z-index: 2; pointer-events: none;
}
.featured-track-wrap::before {
  left: 0;
  background: linear-gradient(90deg, var(--bg), transparent);
}
.featured-track-wrap::after {
  right: 0;
  background: linear-gradient(270deg, var(--bg), transparent);
}
.featured-track {
  display: flex; gap: 12px;
  overflow-x: auto; scroll-snap-type: x mandatory;
  padding-bottom: 8px;
  scrollbar-width: thin;
  scrollbar-color: rgba(255,255,255,0.12) transparent;
}
.featured-track::-webkit-scrollbar { height: 6px; }
.featured-track::-webkit-scrollbar-thumb {
  background: rgba(255,255,255,0.12); border-radius: 99px;
}
.featured-card {
  position: relative;
  flex: 0 0 min(280px, 78vw);
  scroll-snap-align: start;
  display: grid; grid-template-columns: auto 1fr auto; gap: 14px; align-items: center;
  padding: 18px 18px 18px 16px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--line);
  background:
    linear-gradient(155deg, color-mix(in srgb, var(--card-color, var(--accent)) 10%, transparent), transparent 50%),
    var(--surface);
  transition: border-color 0.25s, transform 0.25s, box-shadow 0.25s;
  overflow: hidden;
}
.featured-card::after {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--card-color, var(--accent)), transparent);
  opacity: 0.45;
  transition: opacity 0.25s;
}
.featured-card:hover::after { opacity: 1; }
.featured-card:hover {
  border-color: color-mix(in srgb, var(--card-color, var(--accent)) 45%, var(--line));
  transform: translateY(-3px);
  box-shadow: 0 16px 40px rgba(0,0,0,0.35);
}
.featured-card-icon {
  width: 48px; height: 48px; border-radius: 12px;
  display: grid; place-items: center;
  background: rgba(0,0,0,0.4);
  border: 1px solid color-mix(in srgb, var(--card-color, var(--accent)) 25%, var(--line));
}
.featured-card-icon svg { width: 22px; height: 22px; }
.featured-card-icon img { width: 28px; height: 28px; object-fit: contain; }
.featured-card-body h3 {
  font-size: 15px; font-weight: 800; color: var(--card-color, var(--accent));
  margin: 4px 0 2px; letter-spacing: -0.02em;
}
.featured-card-body p { font-size: 11px; color: var(--muted); line-height: 1.45; }
.featured-card-arrow {
  font-size: 18px; font-weight: 700; color: var(--card-color, var(--accent)); opacity: 0.6;
  transition: opacity 0.2s, transform 0.2s;
}
.featured-card:hover .featured-card-arrow { opacity: 1; transform: translateX(2px); }

/* Proof strip */
.proof-strip {
  scroll-margin-top: calc(var(--header-h) + 20px);
}
.proof-strip-inner {
  display: flex; align-items: center; justify-content: space-between;
  flex-wrap: wrap; gap: 16px;
}
.proof-item {
  flex: 1; min-width: 120px; text-align: center;
}
.proof-item b {
  display: block;
  font-size: clamp(22px, 3vw, 32px);
  font-weight: 800;
  letter-spacing: -0.03em;
  margin-bottom: 4px;
  color: var(--text);
}
.proof-item span {
  display: block;
  font-size: 11px; font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--muted); line-height: 1.4;
}
.proof-divider {
  width: 1px; height: 36px;
  background: var(--line);
  flex-shrink: 0;
}

/* Tools section toolbar */
.tools-intro-head {
  display: flex; align-items: flex-start; justify-content: space-between;
  gap: 16px; flex-wrap: wrap; margin-bottom: 20px;
}
.tools-intro-head .section-lead { margin-bottom: 0; }
.tools-home-toolbar {
  display: flex; flex-wrap: wrap; gap: 12px; align-items: center;
  justify-content: space-between; margin-bottom: 10px;
}
.tools-home-search {
  flex: 1; min-width: 200px; max-width: 340px;
  padding: 10px 14px; border-radius: 10px;
  border: 1px solid var(--line);
  background: rgba(0,0,0,0.35);
  color: var(--text); font: 500 13px/1 var(--font);
  outline: none; transition: border-color 0.2s;
}
.tools-home-search:focus { border-color: color-mix(in srgb, var(--accent) 50%, var(--line)); }
.tools-home-filters { display: flex; gap: 6px; flex-wrap: wrap; }
.home-filter {
  font: 600 11px/1 var(--font);
  padding: 8px 14px; border-radius: 999px;
  border: 1px solid var(--line);
  background: rgba(255,255,255,0.03);
  color: var(--muted); cursor: pointer;
  transition: color 0.2s, border-color 0.2s, background 0.2s;
}
.home-filter:hover { color: var(--text); }
.home-filter.on {
  color: var(--text);
  border-color: color-mix(in srgb, var(--accent) 45%, var(--line));
  background: color-mix(in srgb, var(--accent) 12%, transparent);
}
.tools-home-count {
  font-size: 11px; font-weight: 600; color: var(--muted);
  font-family: var(--mono); margin-bottom: 8px;
}
.tools-home-empty {
  text-align: center; padding: 48px 24px; color: var(--muted);
  font-size: 14px; border-radius: var(--radius-lg);
  border: 1px dashed var(--line);
  background: rgba(255,255,255,0.02);
}

/* Home CTA band */
.home-cta {
  position: relative;
  max-width: 1120px; margin: 0 auto 24px;
  padding: 0 var(--section-pad);
  scroll-margin-top: calc(var(--header-h) + 20px);
}
.home-cta-inner {
  position: relative; z-index: 1;
  display: flex; align-items: center; justify-content: space-between;
  gap: 24px; flex-wrap: wrap;
  padding: 32px 36px;
  border-radius: 20px;
  border: 1px solid var(--line);
  background:
    radial-gradient(ellipse 70% 80% at 0% 0%, rgba(91,141,239,0.14), transparent 55%),
    radial-gradient(ellipse 50% 60% at 100% 100%, rgba(124,58,237,0.1), transparent 50%),
    var(--surface);
  overflow: hidden;
}
.home-cta-glow {
  position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(90deg, transparent, rgba(91,141,239,0.06), transparent);
}
.home-cta-copy h2 {
  font-size: clamp(22px, 3vw, 28px); font-weight: 900;
  letter-spacing: -0.03em; margin-bottom: 8px;
}
.home-cta-copy p {
  font-size: 14px; color: var(--muted); line-height: 1.6; max-width: 48ch;
}
.home-cta-actions { display: flex; flex-wrap: wrap; gap: 10px; }

.trust-section { text-align: center; }
.trust-section .section-lead { margin: 0 auto; }
.trust-grid {
  margin-top: 36px;
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px;
}
.trust-card {
  padding: 32px 20px; border-radius: var(--radius-lg);
  border: 1px solid var(--line);
  background: linear-gradient(165deg, rgba(255,255,255,0.06), rgba(255,255,255,0.01));
  transition: transform 0.3s, border-color 0.3s, box-shadow 0.3s;
}
.trust-card:hover {
  transform: translateY(-4px);
  border-color: var(--line-strong);
  box-shadow: 0 16px 40px rgba(0,0,0,0.28);
}
.trust-card b {
  display: block; font-size: clamp(28px, 4vw, 36px); font-weight: 900;
  font-family: var(--mono); letter-spacing: -0.03em;
  background: linear-gradient(180deg, #fff, #94a3b8);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
}
.trust-card span { display: block; margin-top: 8px; font-size: 12px; color: var(--muted); line-height: 1.4; }

/* Tool cards enhanced */
.tool-preview {
  border-radius: 12px; overflow: hidden;
  border: 1px solid color-mix(in srgb, var(--preview-accent, var(--accent)) 25%, var(--line));
  background: rgba(0,0,0,0.35);
  margin-bottom: 4px;
  transition: transform 0.35s ease;
}
.tool-card:hover .tool-preview { transform: scale(1.02); }
.tool-preview-bar {
  height: 4px;
  background: linear-gradient(90deg, var(--preview-accent, var(--accent)), transparent);
}
.tool-preview-body { padding: 10px 12px; display: flex; flex-direction: column; gap: 6px; }
.tool-preview-row {
  display: flex; align-items: center; gap: 8px;
  font-family: var(--mono); font-size: 10px; color: var(--muted);
}
.tool-preview-row i {
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--preview-accent, var(--accent));
  box-shadow: 0 0 6px color-mix(in srgb, var(--preview-accent, var(--accent)) 50%, transparent);
}
/* Pricing */
.pricing-grid {
  margin-top: 28px;
  display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 14px;
}
.pricing-card {
  padding: 22px; border-radius: 16px;
  border: 1px solid var(--line);
  background: linear-gradient(165deg, color-mix(in srgb, var(--card-color, var(--accent)) 8%, transparent), transparent);
  transition: transform 0.25s, border-color 0.25s;
}
.pricing-card:hover {
  transform: translateY(-3px);
  border-color: color-mix(in srgb, var(--card-color, var(--accent)) 40%, var(--line));
}
.pricing-card-icon {
  width: 44px; height: 44px; border-radius: 11px;
  display: grid; place-items: center;
  background: rgba(0,0,0,0.3); border: 1px solid var(--line);
  margin-bottom: 12px;
}
.pricing-card-icon svg { width: 22px; height: 22px; }
.pricing-card h3 { font-size: 16px; font-weight: 800; margin-bottom: 4px; color: var(--card-color, var(--accent)); }
.pricing-card p { font-size: 12px; color: var(--muted); margin-bottom: 14px; line-height: 1.5; }
.pricing-meta {
  display: flex; gap: 12px; font-size: 11px; color: var(--muted);
  margin-bottom: 14px; font-family: var(--mono);
}
.pricing-note { margin-top: 20px; font-size: 13px; color: var(--muted); }
.pricing-note a { color: var(--accent); font-weight: 600; }

/* Docs & FAQ */
.docs-grid {
  margin-top: 28px;
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px;
}
.doc-card {
  padding: 20px; border-radius: 14px;
  border: 1px solid var(--line);
  background: rgba(255,255,255,0.02);
  transition: border-color 0.25s, transform 0.25s, background 0.25s;
}
.doc-card:hover {
  transform: translateY(-2px);
  border-color: rgba(255,255,255,0.14);
  background: rgba(255,255,255,0.04);
}
.doc-card h3 { font-size: 15px; font-weight: 800; margin-bottom: 6px; }
.doc-card p { font-size: 12px; color: var(--muted); line-height: 1.55; margin-bottom: 12px; }
.doc-link { font-size: 11px; font-weight: 700; color: var(--accent); }

.faq-list { margin-top: 24px; display: flex; flex-direction: column; gap: 8px; }
.faq-item {
  border-radius: 12px; border: 1px solid var(--line);
  background: rgba(255,255,255,0.02);
  padding: 4px 16px;
  transition: border-color 0.2s;
}
.faq-item[open] { border-color: rgba(255,255,255,0.12); background: rgba(255,255,255,0.03); }
.faq-item summary {
  cursor: pointer; font-size: 14px; font-weight: 700;
  padding: 14px 0; list-style: none;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item p {
  font-size: 13px; color: var(--muted); line-height: 1.6;
  padding-bottom: 14px;
}
.faq-item a { color: var(--accent); font-weight: 600; }

/* Projects */
.projects-group { margin-bottom: 36px; }
.projects-group-title {
  font-size: 12px; font-weight: 800; letter-spacing: 0.12em;
  text-transform: uppercase; color: var(--muted); margin-bottom: 14px;
}
.projects-row {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 14px;
}
.project-card {
  padding: 20px; border-radius: var(--radius-lg);
  border: 1px solid var(--line);
  background:
    linear-gradient(165deg, color-mix(in srgb, var(--card-color, var(--accent)) 10%, transparent), transparent 50%),
    var(--surface);
  display: flex; flex-direction: column; gap: 12px;
  min-height: 0;
  transition: transform 0.3s, border-color 0.3s, box-shadow 0.3s;
}
.project-desc {
  font-size: 13px; color: var(--muted); line-height: 1.55;
  display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical;
  overflow: hidden;
}
.project-card:hover {
  transform: translateY(-3px);
  border-color: color-mix(in srgb, var(--card-color, var(--accent)) 40%, var(--line));
  box-shadow: 0 16px 40px rgba(0,0,0,0.3);
}
.project-card-top { display: flex; gap: 14px; align-items: flex-start; }
.project-icon {
  width: 44px; height: 44px; border-radius: 12px; flex-shrink: 0;
  display: grid; place-items: center;
  background: rgba(0,0,0,0.35); border: 1px solid rgba(255,255,255,0.08);
}
.project-icon svg { width: 22px; height: 22px; color: var(--card-color, var(--accent)); }
.project-icon-img { width: 28px; height: 28px; object-fit: contain; border-radius: 6px; display: block; }
.project-card h3 { font-size: 16px; font-weight: 800; color: var(--card-color, var(--accent)); }
.project-tagline { font-size: 11px; font-weight: 600; color: var(--muted); margin-top: 2px; }
.project-status {
  display: inline-block; font-size: 9px; font-weight: 800; letter-spacing: 0.08em;
  text-transform: uppercase; padding: 3px 8px; border-radius: 999px; margin-bottom: 6px;
}
.project-card--live .project-status {
  color: #34d399; border: 1px solid rgba(52,211,153,0.35); background: rgba(52,211,153,0.1);
}
.project-card--upcoming .project-status {
  color: #fbbf24; border: 1px solid rgba(251,191,36,0.35); background: rgba(251,191,36,0.08);
}
.project-progress-wrap { display: flex; flex-direction: column; gap: 8px; }
.project-progress-meta {
  display: flex; justify-content: space-between; font-size: 11px; font-weight: 700;
}
.project-phase { color: var(--muted); text-transform: uppercase; letter-spacing: 0.06em; }
.project-phase--live { color: #34d399; }
.project-pct { font-family: var(--mono); color: var(--card-color, var(--accent)); }
.project-progress-bar {
  height: 6px; border-radius: 999px; background: rgba(255,255,255,0.06); overflow: hidden;
}
.project-progress-bar i {
  display: block; height: 100%; border-radius: inherit;
  background: linear-gradient(90deg, var(--card-color, var(--accent)), color-mix(in srgb, var(--card-color, var(--accent)) 60%, #fff));
  transition: width 0.6s ease;
}
.project-foot { margin-top: auto; }
.project-soon { font-size: 12px; font-weight: 600; color: var(--muted); }

/* Doc guides */
.docs-guides { display: flex; flex-direction: column; gap: 16px; margin-top: 28px; }
.doc-guide {
  padding: 24px; border-radius: 16px;
  border: 1px solid var(--line);
  background: rgba(255,255,255,0.02);
  transition: border-color 0.25s;
}
.doc-guide:hover { border-color: color-mix(in srgb, var(--doc-color, var(--accent)) 30%, var(--line)); }
.doc-guide-head {
  display: grid; grid-template-columns: auto 1fr auto; gap: 16px; align-items: start;
  margin-bottom: 20px; padding-bottom: 16px; border-bottom: 1px solid var(--line);
}
.doc-guide-icon {
  width: 48px; height: 48px; border-radius: 12px;
  display: grid; place-items: center;
  background: rgba(0,0,0,0.35); border: 1px solid rgba(255,255,255,0.08);
}
.doc-guide-icon svg { width: 24px; height: 24px; }
.doc-guide-head h3 { font-size: 18px; font-weight: 800; color: var(--doc-color, var(--accent)); margin-bottom: 6px; }
.doc-guide-head p { font-size: 13px; color: var(--muted); line-height: 1.55; }
.doc-anchor {
  font-size: 11px; font-weight: 700; color: var(--muted); white-space: nowrap;
  transition: color 0.2s;
}
.doc-anchor:hover { color: var(--doc-color, var(--accent)); }
.doc-block { margin-bottom: 16px; }
.doc-block h4 {
  font-size: 10px; font-weight: 800; letter-spacing: 0.1em;
  text-transform: uppercase; color: var(--muted); margin-bottom: 10px;
}
.doc-list { margin: 0; padding-left: 18px; font-size: 13px; color: var(--muted); line-height: 1.6; }
.doc-list li { margin-bottom: 4px; }
.doc-steps { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.doc-steps li {
  display: flex; gap: 12px; align-items: flex-start;
  font-size: 13px; color: var(--muted); line-height: 1.55;
}
.doc-step-num {
  flex-shrink: 0; width: 22px; height: 22px; border-radius: 6px;
  display: grid; place-items: center;
  font-size: 11px; font-weight: 800; font-family: var(--mono);
  color: var(--doc-color, var(--accent));
  background: color-mix(in srgb, var(--doc-color, var(--accent)) 12%, transparent);
  border: 1px solid color-mix(in srgb, var(--doc-color, var(--accent)) 25%, var(--line));
}
.doc-block--tips .doc-list { list-style: none; padding-left: 0; }
.doc-links { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 8px; }
.doc-inline-link {
  font-size: 11px; font-weight: 700; padding: 6px 12px; border-radius: 8px;
  border: 1px solid var(--line); color: var(--doc-color, var(--accent));
  background: color-mix(in srgb, var(--doc-color, var(--accent)) 8%, transparent);
  transition: background 0.2s, transform 0.2s;
}
.doc-inline-link:hover { transform: translateY(-1px); background: color-mix(in srgb, var(--doc-color, var(--accent)) 14%, transparent); }
.docs-quicklinks { margin-top: 40px; padding-top: 32px; border-top: 1px solid var(--line); }
.docs-quicklinks-title { font-size: 14px; font-weight: 800; margin-bottom: 16px; }
.docs-grid--compact { margin-top: 0; }

@media (max-width: 900px) {
  .side-rail { display: none; }
  .social-dock { right: 14px; bottom: 14px; padding: 8px; }
  .social-dock a { width: 36px; height: 36px; }
  .site-header { padding-left: 20px; }
  .header-nav { display: none; }
  .lang-switch { margin-left: auto; margin-right: 4px; }
  .menu-btn { display: flex; align-items: center; justify-content: center; }
  .section { padding: calc(var(--header-h) + 32px) 24px 56px; }
  .hero { padding: 0 24px 72px; }
  .hero-layout {
    grid-template-columns: 1fr;
    padding-top: calc(var(--header-h) + 28px);
    gap: 32px;
  }
  .hero-showcase { min-height: 340px; order: -1; }
  .project-stats-grid { grid-template-columns: 1fr; }
  .trust-grid { grid-template-columns: repeat(2, 1fr); }
  .docs-grid { grid-template-columns: 1fr; }
  .doc-guide-head { grid-template-columns: auto 1fr; }
  .doc-anchor { grid-column: 1 / -1; }
  .projects-row { grid-template-columns: 1fr; }
  .update-card { padding: 18px; }
  .updates-content { grid-template-columns: 1fr; }
  .updates-sidebar { display: none; }
  .updates-timeline { padding-left: 28px; }
  .timeline-dot { left: -28px; }
  .updates-filter-pills { display: none; }
  .tools-catalog { padding: 0 24px 56px; }
  .tools-grid--paid, .tools-grid--free { grid-template-columns: 1fr; }
  .hero-stats { grid-template-columns: repeat(2, 1fr); max-width: none; }
  .hero-lead { font-size: 14px; }
  .hero { padding-bottom: 72px; min-height: auto; }
  .hero-quicklinks { margin-top: 20px; }
  .featured-head { flex-direction: column; align-items: flex-start; }
  .proof-strip-inner { flex-direction: column; }
  .proof-divider { width: auto; height: 1px; margin: 0 16px; }
  .tools-intro-head { flex-direction: column; }
  .tools-home-toolbar { flex-direction: column; align-items: stretch; }
  .tools-home-search { max-width: none; }
  .home-cta-inner { flex-direction: column; align-items: flex-start; padding: 24px; }
  .scroll-hint { left: 24px; bottom: 20px; }
  .socials-grid { grid-template-columns: 1fr 1fr; }
  .updates-hero-title { font-size: 24px; }
  .updates-toolbar { flex-direction: column; }
  .updates-search-wrap { min-width: 0; width: 100%; }
  .updates-stats-bar { grid-template-columns: repeat(2, 1fr); }
  .update-card-head { flex-direction: column; }
}

@media (max-width: 600px) {
  .update-card { padding: 16px; border-radius: 14px; }
  .updates-timeline { padding-left: 24px; }
  .timeline-dot { left: -24px; top: 18px; width: 24px; height: 24px; }
  .timeline-dot-core { width: 8px; height: 8px; }
  .sidebar-version-number { font-size: 22px; }
  .updates-filter-pills { display: none; }
  .updates-stat { padding: 12px 16px; }
  .updates-stat-value { font-size: 18px; }
}

/* Global announcement banner */
.site-banner-host {
  position: fixed;
  top: var(--header-h);
  left: 0;
  right: 0;
  z-index: 90;
  padding: 0 16px;
  pointer-events: none;
}
.site-banner-host[hidden] { display: none !important; }
.site-banner {
  pointer-events: auto;
  max-width: 1100px;
  margin: 10px auto 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  padding: 10px 14px;
  border-radius: 12px;
  border: 1px solid color-mix(in srgb, var(--accent) 35%, var(--line));
  background: color-mix(in srgb, var(--accent) 12%, var(--surface));
  box-shadow: 0 12px 40px rgba(0,0,0,0.35);
}
.site-banner-text {
  font-size: 13px;
  font-weight: 600;
  line-height: 1.45;
  color: var(--text);
}
.site-banner-actions {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}
.site-banner-link {
  font-size: 12px;
  font-weight: 700;
  color: var(--accent);
  text-decoration: none;
}
.site-banner-link:hover { text-decoration: underline; }
.site-banner-dismiss {
  width: 28px;
  height: 28px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255,255,255,0.04);
  color: var(--muted);
  font-size: 18px;
  line-height: 1;
  cursor: pointer;
}
.site-banner-dismiss:hover { color: var(--text); border-color: var(--line-strong); }
body:has(.site-banner-host:not([hidden])) .page,
body:has(.site-banner-host:not([hidden])) .tool-page-wrap {
  padding-top: calc(var(--header-h) + 52px);
}
body:has(.site-banner-host:not([hidden])) .tool-page-wrap {
  padding-top: calc(var(--header-h) + 40px);
}

/* Language switcher — 4 locales */
.lang-switch {
  flex-wrap: wrap;
  max-width: 168px;
  justify-content: flex-end;
  gap: 4px;
}
.lang-btn {
  min-width: 34px;
  padding: 6px 8px;
  font-size: 10px;
}

/* Tool cards — screenshot preview */
.tool-card-preview {
  margin: -4px -4px 8px;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid color-mix(in srgb, var(--preview-accent, var(--accent)) 22%, var(--line));
  aspect-ratio: 16 / 9;
  background: rgba(0,0,0,0.45);
}
.tool-card-preview img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.35s ease;
}
.tool-card:hover .tool-card-preview img { transform: scale(1.04); }

/* Media gallery lightbox */
.tool-media-item--image {
  position: relative;
  padding: 0;
  border: none;
  cursor: zoom-in;
  background: transparent;
  display: block;
  width: 100%;
  text-align: left;
}
.tool-media-item--image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  border-radius: 12px;
}
.tool-media-zoom {
  position: absolute;
  right: 10px;
  bottom: 10px;
  width: 32px;
  height: 32px;
  border-radius: 10px;
  display: grid;
  place-items: center;
  background: rgba(0,0,0,0.55);
  border: 1px solid rgba(255,255,255,0.12);
  color: #fff;
  opacity: 0;
  transition: opacity 0.2s;
}
.tool-media-item--image:hover .tool-media-zoom { opacity: 1; }
.tool-media-zoom svg { width: 16px; height: 16px; }

body.sv-lightbox-open { overflow: hidden; }
.sv-lightbox {
  position: fixed;
  inset: 0;
  z-index: 100000;
  display: grid;
  place-items: center;
}
.sv-lightbox[hidden] { display: none !important; }
.sv-lightbox-backdrop {
  position: absolute;
  inset: 0;
  border: none;
  background: rgba(0,0,0,0.88);
  cursor: zoom-out;
}
.sv-lightbox-dialog {
  position: relative;
  z-index: 2;
  width: min(96vw, 1100px);
  max-height: 92vh;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 8px;
}
.sv-lightbox-figure { margin: 0; min-width: 0; }
.sv-lightbox-img {
  max-width: min(88vw, 1000px);
  max-height: 82vh;
  border-radius: 12px;
  box-shadow: 0 24px 80px rgba(0,0,0,0.55);
}
.sv-lightbox-caption {
  text-align: center;
  margin-top: 10px;
  font-size: 12px;
  color: rgba(255,255,255,0.65);
}
.sv-lightbox-close,
.sv-lightbox-nav {
  border: 1px solid rgba(255,255,255,0.14);
  background: rgba(255,255,255,0.08);
  color: #fff;
  border-radius: 10px;
  cursor: pointer;
}
.sv-lightbox-close {
  position: absolute;
  top: -44px;
  right: 0;
  width: 36px;
  height: 36px;
  font-size: 22px;
}
.sv-lightbox-nav {
  width: 40px;
  height: 40px;
  font-size: 24px;
}

/* Inline tool showcase — Inbox Searcher (zeig-style) */
.tool-showcase {
  margin: 0 0 28px;
  padding: 24px;
  border-radius: 20px;
  border: 1px solid var(--line);
  background:
    radial-gradient(ellipse 70% 50% at 50% 0%, color-mix(in srgb, var(--tool-color, var(--accent)) 12%, transparent), transparent 60%),
    var(--surface);
}
.tool-showcase-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 18px;
}
.tool-showcase-head h2 {
  font-size: clamp(22px, 3vw, 28px);
  font-weight: 900;
  letter-spacing: -0.03em;
  margin: 6px 0;
}
.tool-showcase-lead {
  font-size: 13px;
  color: var(--muted);
  line-height: 1.6;
  max-width: 62ch;
}
.tool-showcase-badge {
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 6px 12px;
  border-radius: 999px;
  border: 1px solid var(--line);
  color: var(--muted);
}

.inbox-demo-chrome {
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,0.1);
  background: #06070a;
  box-shadow: 0 28px 80px rgba(0,0,0,0.45);
}
.inbox-demo-titlebar {
  height: 34px;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 0 12px;
  background: linear-gradient(180deg, #141820, #0e1118);
  border-bottom: 1px solid rgba(255,255,255,0.08);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #b8c4d8;
}
.inbox-demo-app-icon {
  width: 18px;
  height: 18px;
  border-radius: 5px;
  background: linear-gradient(135deg, #0078d4, #38bdf8);
  box-shadow: 0 0 10px rgba(0,120,212,0.35);
}
.inbox-demo-title-links {
  margin-left: auto;
  display: flex;
  gap: 8px;
  font-size: 9px;
  color: #7d8696;
}
.inbox-demo-body {
  display: grid;
  grid-template-columns: 52px minmax(180px, 220px) 1fr minmax(120px, 150px);
  min-height: 380px;
  max-height: 520px;
}
.inbox-demo-rail {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 10px 8px;
  border-right: 1px solid rgba(255,255,255,0.07);
  background: #0c0e14;
}
.inbox-rail-btn {
  width: 36px;
  height: 36px;
  border: none;
  border-radius: 10px;
  background: transparent;
  color: #7d8696;
  cursor: pointer;
  display: grid;
  place-items: center;
}
.inbox-rail-btn svg { width: 18px; height: 18px; }
.inbox-rail-btn.on,
.inbox-rail-btn:hover {
  background: rgba(255,255,255,0.06);
  color: #eef1f6;
}
.inbox-demo-sidebar {
  padding: 12px;
  border-right: 1px solid rgba(255,255,255,0.07);
  background: #10131a;
  overflow: auto;
}
.inbox-demo-sidebar[hidden] { display: none; }
.inbox-demo-sidebar h3,
.inbox-demo-stats h3 {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: #7d8696;
  margin-bottom: 10px;
}
.inbox-side-block { margin-bottom: 12px; }
.inbox-side-block label {
  display: block;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #7d8696;
  margin-bottom: 6px;
}
.inbox-drop {
  border: 1px dashed rgba(255,255,255,0.14);
  border-radius: 8px;
  padding: 10px;
  font-size: 11px;
  color: #7d8696;
  background: rgba(255,255,255,0.02);
}
.inbox-meta { font-size: 10px; color: #7d8696; margin-top: 6px; }
.inbox-chips { display: flex; flex-wrap: wrap; gap: 4px; }
.inbox-chips span {
  font-size: 10px;
  padding: 4px 8px;
  border-radius: 999px;
  background: rgba(0,120,212,0.14);
  color: #93c5fd;
  font-family: var(--mono);
}
.inbox-start-btn {
  width: 100%;
  margin-top: 8px;
  padding: 8px 10px;
  border: none;
  border-radius: 8px;
  background: linear-gradient(135deg, #0078d4, #2563eb);
  color: #fff;
  font-weight: 700;
  font-size: 12px;
  cursor: default;
}
.inbox-demo-main {
  background: #0c0e14;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}
.inbox-view { display: none; flex: 1; flex-direction: column; min-height: 0; }
.inbox-view.on { display: flex; }
.inbox-toolbar {
  display: flex;
  gap: 8px;
  padding: 10px 12px;
  border-bottom: 1px solid rgba(255,255,255,0.07);
  align-items: center;
}
.inbox-tabs { display: flex; gap: 4px; flex-wrap: wrap; }
.inbox-tabs span {
  font-size: 10px;
  padding: 5px 8px;
  border-radius: 6px;
  color: #7d8696;
  background: rgba(255,255,255,0.03);
}
.inbox-tabs span.on { color: #eef1f6; background: rgba(0,120,212,0.2); }
.inbox-search {
  margin-left: auto;
  width: min(200px, 40%);
  padding: 6px 10px;
  border-radius: 8px;
  border: 1px solid rgba(255,255,255,0.1);
  background: #10131a;
  color: #eef1f6;
  font-size: 11px;
}
.inbox-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
  padding: 10px 12px;
}
.inbox-stats div {
  padding: 8px;
  border-radius: 8px;
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.06);
}
.inbox-stats b { display: block; font-size: 16px; color: #eef1f6; }
.inbox-stats span { font-size: 10px; color: #7d8696; }
.inbox-table-wrap { flex: 1; overflow: auto; padding: 0 12px 12px; }
.inbox-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 11px;
}
.inbox-table th,
.inbox-table td {
  text-align: left;
  padding: 8px 6px;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}
.inbox-table th { color: #7d8696; font-weight: 600; position: sticky; top: 0; background: #0c0e14; }
.inbox-table .mono { font-family: var(--mono); font-size: 10px; }
.inbox-pill {
  display: inline-block;
  padding: 2px 8px;
  border-radius: 999px;
  font-size: 10px;
  font-weight: 700;
}
.inbox-pill--hit { background: rgba(74,222,128,0.15); color: #4ade80; }
.inbox-pill--valid { background: rgba(56,189,248,0.15); color: #38bdf8; }
.inbox-pill--outlook { background: rgba(0,120,212,0.15); color: #93c5fd; }
.inbox-welcome,
.inbox-settings-grid,
.inbox-mail {
  padding: 16px;
  color: #cdd3df;
  font-size: 12px;
  line-height: 1.55;
  overflow: auto;
}
.inbox-welcome ul { margin: 10px 0 0 18px; }
.inbox-settings-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 12px;
}
.inbox-settings-card {
  padding: 12px;
  border-radius: 10px;
  border: 1px solid rgba(255,255,255,0.08);
  background: #10131a;
}
.inbox-settings-card h4 { margin-bottom: 8px; font-size: 12px; }
.inbox-setting-row {
  display: flex;
  justify-content: space-between;
  gap: 8px;
  padding: 6px 0;
  border-bottom: 1px solid rgba(255,255,255,0.05);
  font-size: 11px;
}
.inbox-mail {
  display: grid;
  grid-template-columns: 200px 1fr;
  gap: 12px;
  min-height: 260px;
}
.inbox-mail-list { display: flex; flex-direction: column; gap: 6px; }
.inbox-mail-item {
  padding: 8px 10px;
  border-radius: 8px;
  border: 1px solid transparent;
  cursor: default;
}
.inbox-mail-item.on { border-color: rgba(0,120,212,0.35); background: rgba(0,120,212,0.08); }
.inbox-mail-item strong { display: block; font-size: 11px; }
.inbox-mail-item span { font-size: 10px; color: #7d8696; }
.inbox-mail-preview {
  border-radius: 10px;
  border: 1px solid rgba(255,255,255,0.08);
  background: #10131a;
  padding: 12px;
}
.inbox-mail-preview header {
  display: flex;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 10px;
  font-size: 11px;
}
.inbox-demo-stats {
  padding: 12px;
  border-left: 1px solid rgba(255,255,255,0.07);
  background: #10131a;
}
.inbox-demo-stats[hidden] { display: none; }
.inbox-stat-card {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 8px 10px;
  margin-bottom: 6px;
  border-radius: 8px;
  background: rgba(255,255,255,0.03);
  font-size: 11px;
}
.inbox-stat-card b { font-size: 14px; color: #eef1f6; }

@media (max-width: 960px) {
  .inbox-demo-body {
    grid-template-columns: 44px 1fr;
    grid-template-rows: auto 1fr;
  }
  .inbox-demo-sidebar,
  .inbox-demo-stats { display: none !important; }
  .inbox-demo-main { grid-column: 1 / -1; }
  .inbox-mail { grid-template-columns: 1fr; }
  .lang-switch { max-width: none; }
}

/* VaultSweep inline interactive demo */
.tool-showcase--vault {
  --vs-accent: #5b8def;
  --vs-good: #34d399;
  --vs-sand: #e2b84a;
  --vs-mc: #7bc74d;
  --vs-mint: #3de8b8;
  --vs-lilac: #a78bfa;
}
.vs-demo { --tool-color: var(--vs-accent); }
.vs-chrome {
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,0.1);
  background: #06070a;
  box-shadow: 0 28px 80px rgba(0,0,0,0.45);
}
.vs-titlebar {
  height: 36px;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 0 12px;
  background: linear-gradient(180deg, #141820, #0e1118);
  border-bottom: 1px solid rgba(255,255,255,0.08);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: #b8c4d8;
}
.vs-titlebar img {
  width: 18px; height: 18px; border-radius: 5px;
  box-shadow: 0 0 10px rgba(91,141,239,0.35);
}
.vs-lic {
  margin-left: 6px;
  font-size: 9px;
  font-weight: 800;
  color: var(--vs-good);
  padding: 2px 8px;
  border-radius: 999px;
  border: 1px solid rgba(52,211,153,0.28);
  background: rgba(52,211,153,0.08);
}
.vs-title-meta {
  margin-left: auto;
  display: flex;
  gap: 6px;
  font-size: 9px;
  color: #7d8696;
}
.vs-body {
  display: grid;
  grid-template-columns: 72px 1fr;
  min-height: 420px;
}
.vs-rail {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 10px 6px;
  border-right: 1px solid rgba(255,255,255,0.07);
  background: #080a0e;
}
.vs-rail-btn {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  padding: 10px 4px;
  border: 0;
  border-radius: 10px;
  background: transparent;
  color: #7d8696;
  cursor: pointer;
  font-family: inherit;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.vs-rail-btn svg { width: 18px; height: 18px; }
.vs-rail-btn:hover { color: #c9d2e0; background: rgba(255,255,255,0.04); }
.vs-rail-btn.on {
  color: #eef3ff;
  background: rgba(91,141,239,0.16);
  box-shadow: inset 0 0 0 1px rgba(91,141,239,0.28);
}
.vs-main { padding: 14px; min-width: 0; }
.vs-view { display: none; }
.vs-view.on { display: block; animation: vsRise 0.28s ease; }
@keyframes vsRise {
  from { opacity: 0; transform: translateY(6px); }
  to { opacity: 1; transform: none; }
}
.vs-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 12px;
}
.vs-toolbar strong { display: block; font-size: 14px; font-weight: 800; color: #eef1f6; }
.vs-muted { font-size: 11px; color: #8b93a0; }
.vs-actions { display: flex; gap: 8px; }
.vs-btn {
  border: 0;
  border-radius: 8px;
  padding: 7px 14px;
  font-size: 12px;
  font-weight: 700;
  font-family: inherit;
  cursor: pointer;
  color: #fff;
  background: var(--vs-accent);
}
.vs-btn--ghost {
  color: #c9d2e0;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.08);
}
.vs-prog {
  padding: 10px 12px;
  border-radius: 10px;
  border: 1px solid rgba(255,255,255,0.08);
  background: rgba(0,0,0,0.28);
  margin-bottom: 10px;
}
.vs-prog-head {
  display: flex;
  justify-content: space-between;
  font-size: 10px;
  font-family: "IBM Plex Mono", monospace;
  color: #8b93a0;
  margin-bottom: 6px;
}
.vs-prog-track {
  height: 5px;
  border-radius: 99px;
  background: #12151c;
  overflow: hidden;
}
.vs-prog-track i {
  display: block;
  height: 100%;
  background: linear-gradient(90deg, #3d6fd9, var(--vs-accent));
  transition: width 0.6s ease;
}
.vs-stats {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 8px;
  margin-bottom: 12px;
}
.vs-stats > div {
  padding: 10px 8px;
  border-radius: 10px;
  border: 1px solid rgba(255,255,255,0.07);
  background: rgba(255,255,255,0.02);
  text-align: center;
}
.vs-stats b {
  display: block;
  font-size: 16px;
  font-weight: 800;
  font-family: "IBM Plex Mono", monospace;
  color: #eef1f6;
  margin-bottom: 2px;
}
.vs-stats b.good { color: var(--vs-good); }
.vs-stats span {
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #7d8696;
}
.vs-table-wrap {
  border-radius: 10px;
  border: 1px solid rgba(255,255,255,0.08);
  overflow: hidden;
  background: rgba(0,0,0,0.2);
}
.vs-table { width: 100%; border-collapse: collapse; font-size: 11px; }
.vs-table th, .vs-table td {
  padding: 9px 10px;
  text-align: left;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}
.vs-table th {
  font-size: 9px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #7d8696;
  background: rgba(255,255,255,0.02);
}
.vs-table td { color: #c9d2e0; }
.vs-table tr.vs-flash { opacity: 0; transform: translateY(4px); transition: 0.3s ease; }
.vs-table tr.vs-flash.show { opacity: 1; transform: none; background: rgba(52,211,153,0.06); }
.vs-pill {
  display: inline-flex;
  align-items: center;
  padding: 2px 8px;
  border-radius: 999px;
  font-size: 10px;
  font-weight: 700;
  border: 1px solid rgba(255,255,255,0.1);
}
.vs-pill--sand { color: var(--vs-sand); border-color: rgba(226,184,74,0.35); background: rgba(226,184,74,0.08); }
.vs-pill--good { color: var(--vs-good); border-color: rgba(52,211,153,0.35); background: rgba(52,211,153,0.08); }
.vs-pill--mc { color: var(--vs-mc); border-color: rgba(123,199,77,0.35); background: rgba(123,199,77,0.08); }
.vs-pill--mint { color: var(--vs-mint); border-color: rgba(61,232,184,0.35); background: rgba(61,232,184,0.08); }
.vs-pill--lilac { color: var(--vs-lilac); border-color: rgba(167,139,250,0.35); background: rgba(167,139,250,0.08); }
.vs-panel-title {
  font-size: 16px;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: #eef1f6;
  margin-bottom: 4px;
}
.vs-panel-lead {
  font-size: 12px;
  color: #8b93a0;
  line-height: 1.5;
  margin-bottom: 14px;
  max-width: 60ch;
}
.vs-feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
}
.vs-feature-grid--tight { grid-template-columns: repeat(2, 1fr); }
.vs-feat {
  padding: 12px;
  border-radius: 10px;
  border: 1px solid rgba(255,255,255,0.08);
  background: rgba(255,255,255,0.02);
}
.vs-feat b {
  display: block;
  font-size: 12px;
  font-weight: 800;
  color: #eef1f6;
  margin-bottom: 4px;
}
.vs-feat span { font-size: 11px; color: #8b93a0; line-height: 1.4; }
.vs-mc {
  display: grid;
  grid-template-columns: 110px 1fr;
  gap: 16px;
  align-items: start;
}
.vs-mc-avatar {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 180px;
  border-radius: 12px;
  border: 1px solid rgba(123,199,77,0.28);
  background:
    radial-gradient(ellipse 70% 50% at 50% 20%, rgba(123,199,77,0.14), transparent 60%),
    #0a0d12;
}
.vs-mc-avatar img {
  width: 72px;
  height: 120px;
  object-fit: contain;
  image-rendering: pixelated;
  filter: drop-shadow(0 8px 16px rgba(0,0,0,0.5));
}
.vs-locker {
  display: grid;
  grid-template-columns: repeat(4, 72px);
  gap: 8px;
}
.vs-locker figure {
  margin: 0;
  width: 72px;
  height: 72px;
  border-radius: 10px;
  border: 1px solid rgba(61,232,184,0.22);
  background: #080a0e;
  overflow: hidden;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}
.vs-locker img {
  width: 70%;
  height: 70%;
  object-fit: contain;
}
.vs-locker figure:first-child img {
  width: 130%;
  height: 130%;
  object-fit: cover;
  object-position: center 20%;
}
.vs-locker figcaption {
  position: absolute;
  left: 4px;
  bottom: 3px;
  font-size: 7px;
  font-family: "IBM Plex Mono", monospace;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.75);
  text-shadow: 0 1px 4px #000;
}
.vs-settings {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}
.vs-set-card {
  padding: 12px;
  border-radius: 10px;
  border: 1px solid rgba(255,255,255,0.08);
  background: rgba(255,255,255,0.02);
}
.vs-set-card h4 {
  font-size: 11px;
  font-weight: 800;
  margin-bottom: 10px;
  color: #eef1f6;
}
.vs-set-row {
  display: flex;
  justify-content: space-between;
  gap: 8px;
  font-size: 11px;
  color: #8b93a0;
  padding: 6px 0;
  border-bottom: 1px solid rgba(255,255,255,0.05);
}
.vs-set-row:last-child { border-bottom: 0; }
.vs-set-row strong { color: #eef1f6; font-weight: 700; }

@media (max-width: 900px) {
  .vs-stats { grid-template-columns: repeat(3, 1fr); }
  .vs-feature-grid { grid-template-columns: 1fr 1fr; }
  .vs-settings { grid-template-columns: 1fr; }
  .vs-mc { grid-template-columns: 1fr; }
  .vs-locker { grid-template-columns: repeat(4, minmax(56px, 1fr)); }
  .vs-locker figure { width: 100%; height: 64px; }
}
@media (max-width: 640px) {
  .vs-body { grid-template-columns: 52px 1fr; }
  .vs-rail-btn span { display: none; }
  .vs-stats { grid-template-columns: repeat(2, 1fr); }
  .vs-feature-grid, .vs-feature-grid--tight { grid-template-columns: 1fr; }
}

/* -- Private Cloud page ----------------------------------------------------- */
.cloud-page {
  position: relative; z-index: 1;
  max-width: 1100px; margin: 0 auto;
  padding: calc(var(--header-h) + 48px) 24px 80px;
}
.cloud-hero {
  display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 48px;
  align-items: center; margin-bottom: 72px;
}
.cloud-hero h1 {
  font-size: clamp(40px, 6vw, 64px); font-weight: 800;
  letter-spacing: -0.04em; line-height: 1.05; margin: 8px 0 16px;
}
.cloud-lead { font-size: 17px; color: var(--muted); max-width: 42ch; line-height: 1.55; }
.cloud-hero-actions, .cloud-cta-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 28px; }
.cloud-stage {
  position: relative; border-radius: var(--radius-lg);
  border: 1px solid var(--line-strong); background: var(--surface);
  padding: 28px; min-height: 280px; overflow: hidden;
}
.cloud-stage::before {
  content: ""; position: absolute; inset: -20% 20% auto;
  height: 60%; background: radial-gradient(circle, rgba(41,151,255,0.25), transparent 70%);
  filter: blur(30px); pointer-events: none;
}
.cloud-stage-icon {
  position: relative; z-index: 1; width: 56px; height: 56px;
  display: grid; place-items: center; border-radius: 16px; margin-bottom: 20px;
  color: var(--accent); background: rgba(41,151,255,0.12);
  border: 1px solid rgba(41,151,255,0.25);
}
.cloud-stage-icon svg { width: 28px; height: 28px; }
.cloud-stage-lines { position: relative; z-index: 1; display: flex; flex-direction: column; gap: 10px; }
.cloud-stage-line {
  font-family: var(--mono); font-size: 12px; color: var(--muted);
  padding: 10px 14px; border-radius: 10px;
  border: 1px solid var(--line); background: rgba(255,255,255,0.02);
  animation: cloudLineIn 0.5s ease both; animation-delay: calc(var(--i, 0) * 0.08s);
}
@keyframes cloudLineIn {
  from { opacity: 0; transform: translateX(8px); }
  to { opacity: 1; transform: none; }
}
.cloud-stats-section { margin-bottom: 72px; }
.cloud-stats-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 28px;
}
.cloud-stat {
  padding: 28px 20px; border-radius: var(--radius-lg);
  background: var(--surface); border: 1px solid var(--line);
  text-align: center;
}
.cloud-stat b {
  display: block; font-size: clamp(28px, 4vw, 40px); font-weight: 800;
  letter-spacing: -0.03em; margin-bottom: 6px;
}
.cloud-stat span { font-size: 12px; font-weight: 600; color: var(--muted); letter-spacing: 0.04em; text-transform: uppercase; }
.cloud-how, .cloud-features { margin-bottom: 72px; }
.cloud-steps {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 28px;
}
.cloud-step {
  padding: 28px 22px; border-radius: var(--radius-lg);
  border: 1px solid var(--line); background: transparent;
}
.cloud-step-n {
  display: block; font-family: var(--mono); font-size: 12px; font-weight: 600;
  color: var(--accent); margin-bottom: 14px; letter-spacing: 0.08em;
}
.cloud-step h3 { font-size: 18px; font-weight: 700; margin-bottom: 8px; letter-spacing: -0.02em; }
.cloud-step p { font-size: 14px; color: var(--muted); line-height: 1.5; }
.cloud-feat-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 28px;
}
.cloud-feat {
  padding: 24px 0; border-top: 1px solid var(--line);
}
.cloud-feat h3 { font-size: 17px; font-weight: 700; margin-bottom: 8px; letter-spacing: -0.02em; }
.cloud-feat p { font-size: 14px; color: var(--muted); line-height: 1.5; }
.cloud-cta {
  text-align: center; padding: 56px 24px; border-radius: var(--radius-lg);
  background: linear-gradient(180deg, rgba(41,151,255,0.08), transparent);
  border: 1px solid var(--line);
}
.cloud-cta h2 { font-size: clamp(24px, 3.5vw, 36px); font-weight: 800; letter-spacing: -0.03em; margin-bottom: 10px; }
.cloud-cta p { color: var(--muted); margin-bottom: 8px; }
.cloud-cta-actions { justify-content: center; }

@media (max-width: 860px) {
  .cloud-hero, .cloud-steps, .cloud-feat-grid, .cloud-stats-grid { grid-template-columns: 1fr; }
  .cloud-hero { gap: 32px; }
}

/* Admin gallery manager */
.admin-media-grid {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(100px, 1fr));
  gap: 10px; margin: 10px 0 16px;
}
.admin-media-item {
  position: relative; border-radius: 10px; overflow: hidden;
  border: 1px solid var(--line); background: #0a0a0c; aspect-ratio: 1;
}
.admin-media-item img { width: 100%; height: 100%; object-fit: cover; display: block; }
.admin-media-item video { width: 100%; height: 100%; object-fit: cover; }
.admin-media-remove {
  position: absolute; top: 6px; right: 6px;
  width: 26px; height: 26px; border-radius: 50%;
  border: none; cursor: pointer; font-size: 14px; line-height: 1;
  background: rgba(0,0,0,0.75); color: #fff;
}
.admin-media-remove:hover { background: #ef4444; }
.admin-media-empty { font-size: 12px; color: var(--muted); margin: 6px 0 12px; }
