* { margin:0; padding:0; box-sizing:border-box; }
:root {
  --bg-0: #050818;
  --bg-1: #0a0f2e;
  --glass: rgba(255,255,255,0.04);
  --glass-strong: rgba(255,255,255,0.07);
  --glass-border: rgba(255,255,255,0.08);
  --glass-border-bright: rgba(255,255,255,0.16);
  --ink: #ffffff;
  --ink-soft: #b8bdd9;
  --ink-faint: #6c739c;
  --blue: #4b7bff;
  --purple: #a45cff;
  --pink: #ff5cc9;
  --green: #4ade80;
}
html, body {
  background: var(--bg-0);
  color: var(--ink);
  font-family: 'Sora', sans-serif;
  min-height: 100vh;
  overflow-x: hidden;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}
body {
  background:
    radial-gradient(ellipse 1000px 700px at 80% 0%, rgba(164,92,255,0.18), transparent 55%),
    radial-gradient(ellipse 900px 600px at 0% 40%, rgba(75,123,255,0.14), transparent 55%),
    var(--bg-0);
  background-attachment: fixed;
}
.wrap { position:relative; z-index:1; max-width: 1320px; margin: 0 auto; padding: 0 28px; }

/* NAV */
nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  padding: 14px 28px;
  transition: padding .25s ease, background .25s ease, border-color .25s ease, box-shadow .25s ease;
  background: rgba(5,8,24,0.55);
  -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
  border-bottom: 1px solid transparent;
}
nav.scrolled {
  padding: 8px 28px;
  background: rgba(5,8,24,0.85);
  border-bottom-color: rgba(255,255,255,0.06);
  box-shadow: 0 8px 30px rgba(0,0,0,0.35);
}
nav .nav-inner {
  max-width: 1320px; margin: 0 auto;
  display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 24px;
}
nav .brand {
  display: flex; flex-direction: column; line-height: 1.1;
  text-decoration: none; cursor: pointer; color: var(--ink);
  justify-self: start;
}
nav .brand-name {
  font-family: 'Space Grotesk'; font-weight: 700; font-size: 17px;
  letter-spacing: -0.01em;
}
nav .brand-role {
  font-size: 10.5px; color: var(--ink-faint); margin-top: 3px;
  letter-spacing: 0.08em; text-transform: uppercase; font-weight: 500;
}
nav .links {
  display: flex; gap: 2px; font-size: 13px;
  background: rgba(255,255,255,0.03);
  border: 1px solid var(--glass-border);
  border-radius: 100px; padding: 4px;
  justify-self: center;
}
nav .links a {
  position: relative;
  color: var(--ink-soft); text-decoration: none;
  padding: 7px 16px; border-radius: 100px;
  transition: color .2s; cursor: pointer; font-weight: 500;
}
nav .links a:hover { color: var(--ink); }
nav .links a.active {
  color: var(--ink);
  background: linear-gradient(135deg, rgba(75,123,255,0.18), rgba(164,92,255,0.22));
  box-shadow: 0 0 0 1px rgba(164,92,255,0.25) inset;
}
nav .cta {
  justify-self: end;
  padding: 10px 18px;
  background: linear-gradient(135deg, var(--blue), var(--purple));
  border: none; border-radius: 100px; color: white;
  font-family: inherit; font-size: 12px; font-weight: 600; cursor: pointer;
  transition: transform .2s, box-shadow .2s;
  white-space: nowrap;
  display: inline-flex; align-items: center; gap: 8px;
  box-shadow: 0 6px 18px rgba(75,123,255,0.32);
}
nav .cta:hover { transform: translateY(-1px); box-shadow: 0 10px 26px rgba(164,92,255,0.45); }
nav .cta .arr { transition: transform .25s; }
nav .cta:hover .arr { transform: translateX(3px); }

body { padding-top: 76px; }

/* HERO */
.hero {
  display: grid; grid-template-columns: 1.15fr 1fr; gap: 36px;
  align-items: center;
  min-height: calc(100vh - 76px);
  padding: 24px 0 32px;
}
@media (max-height: 820px) { .hero { padding: 16px 0 20px; min-height: calc(100vh - 60px); } }

.hero-body { display: flex; flex-direction: column; gap: 14px; }

.hero-eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 6px 14px; align-self: flex-start;
  background: rgba(255,255,255,0.05);
  border: 1px solid var(--glass-border);
  border-radius: 100px;
  font-size: 11px; color: var(--ink-soft);
  text-transform: uppercase; letter-spacing: 0.1em; font-weight: 600;
}
.hero-eyebrow .pulse { width: 7px; height: 7px; background: var(--green); border-radius: 50%; box-shadow: 0 0 8px var(--green); }
@keyframes pulse { 50% { opacity:0.35; } }

.hero-h1 {
  font-family: 'Space Grotesk';
  font-weight: 700;
  font-size: clamp(44px, 5.6vw, 78px);
  line-height: 0.95; letter-spacing: -0.035em;
  display: flex; flex-direction: column; margin: 0;
}
.hero-h1-lead { color: var(--ink); }
.hero-h1-grad {
  background: linear-gradient(135deg, #4b7bff 0%, #a45cff 50%, #ff5cc9 100%);
  -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
  padding-bottom: 0.12em;
}
@keyframes gradShift { 0%,100% { background-position: 0% 50%; } 50% { background-position: 100% 50%; } }
.hero-h1-sub {
  font-family: 'Space Grotesk'; font-weight: 500;
  font-size: clamp(18px, 2vw, 24px); color: var(--ink-soft);
  margin-top: 4px;
}

.hero-desc { font-size: 15px; color: var(--ink-soft); max-width: 560px; line-height: 1.55; margin: 4px 0 6px; }

.hero-chips { display: flex; flex-wrap: wrap; gap: 7px; }
.hero-chip {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 6px 12px;
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--glass-border);
  border-radius: 100px;
  font-size: 12px; font-weight: 500; color: var(--ink-soft);
  transition: transform .2s, background .2s, border-color .2s, color .2s;
  cursor: default;
}
.hero-chip:hover { transform: translateY(-2px); background: var(--glass-strong); border-color: var(--purple); color: var(--ink); }
.hero-chip.primary {
  background: linear-gradient(135deg, rgba(75,123,255,0.18), rgba(164,92,255,0.22));
  border-color: rgba(164,92,255,0.4);
  color: var(--ink);
}
.hero-chip-dot { width: 7px; height: 7px; border-radius: 50%; background: linear-gradient(135deg, var(--blue), var(--purple)); box-shadow: 0 0 8px rgba(164,92,255,0.6); flex-shrink: 0; }
.hero-chip-dot.c-red    { background: linear-gradient(135deg, #ff6b6b, #ef4444); box-shadow: 0 0 8px rgba(239,68,68,0.6); }
.hero-chip-dot.c-green  { background: linear-gradient(135deg, #4ade80, #16a34a); box-shadow: 0 0 8px rgba(22,163,74,0.6); }
.hero-chip-dot.c-orange { background: linear-gradient(135deg, #fbbf24, #f59e0b); box-shadow: 0 0 8px rgba(245,158,11,0.6); }
.hero-chip-dot.c-pink   { background: linear-gradient(135deg, #f9a8d4, #ec4899); box-shadow: 0 0 8px rgba(236,72,153,0.6); }
.hero-chip-dot.c-violet { background: linear-gradient(135deg, #c4b5fd, #8b5cf6); box-shadow: 0 0 8px rgba(139,92,246,0.6); }
.hero-chip-dot.c-teal   { background: linear-gradient(135deg, #5eead4, #14b8a6); box-shadow: 0 0 8px rgba(20,184,166,0.6); }
.hero-chip-dot.c-sky    { background: linear-gradient(135deg, #7dd3fc, #0ea5e9); box-shadow: 0 0 8px rgba(14,165,233,0.6); }

.hero-chip.tint-red    { background: linear-gradient(135deg, rgba(255,107,107,0.16), rgba(239,68,68,0.20));   border-color: rgba(239,68,68,0.4);  color: var(--ink); }
.hero-chip.tint-green  { background: linear-gradient(135deg, rgba(74,222,128,0.16), rgba(22,163,74,0.20));    border-color: rgba(22,163,74,0.45); color: var(--ink); }
.hero-chip.tint-orange { background: linear-gradient(135deg, rgba(251,191,36,0.16), rgba(245,158,11,0.20));   border-color: rgba(245,158,11,0.45);color: var(--ink); }
.hero-chip.tint-pink   { background: linear-gradient(135deg, rgba(249,168,212,0.16), rgba(236,72,153,0.20));  border-color: rgba(236,72,153,0.45);color: var(--ink); }
.hero-chip.tint-violet { background: linear-gradient(135deg, rgba(196,181,253,0.16), rgba(139,92,246,0.22));  border-color: rgba(139,92,246,0.45);color: var(--ink); }
.hero-chip.tint-teal   { background: linear-gradient(135deg, rgba(94,234,212,0.16), rgba(20,184,166,0.20));   border-color: rgba(20,184,166,0.45);color: var(--ink); }
.hero-chip.tint-sky    { background: linear-gradient(135deg, rgba(125,211,252,0.16), rgba(14,165,233,0.22));  border-color: rgba(14,165,233,0.45); color: var(--ink); }

.hero-stat-cards { display: grid; grid-template-columns: 1fr 1.35fr 1fr; gap: 10px; margin-top: 4px; }
.hero-stat-card {
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--glass-border);
  border-radius: 14px;
  padding: 14px 16px;
  transition: transform .25s, border-color .25s, background .25s;
}
.hero-stat-card:hover { transform: translateY(-3px); border-color: rgba(164,92,255,0.4); }
.hero-stat-card.featured {
  background: linear-gradient(135deg, rgba(75,123,255,0.12), rgba(164,92,255,0.16));
  border-color: rgba(164,92,255,0.35);
  box-shadow: 0 0 30px rgba(164,92,255,0.18);
}
.hero-stat-num {
  font-family: 'Space Grotesk'; font-weight: 700;
  font-size: 30px; line-height: 1;
  background: linear-gradient(135deg, var(--blue), var(--purple));
  -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
  display: inline-flex; align-items: baseline; gap: 3px;
}
.hero-stat-num .plus { font-size: 22px; }
.hero-stat-num .hero-stat-x { font-size: 14px; font-weight: 600; color: var(--ink-soft); -webkit-text-fill-color: var(--ink-soft); margin-left: 4px; letter-spacing: -0.02em; }
.hero-stat-label { font-size: 11px; color: var(--ink-faint); margin-top: 5px; text-transform: uppercase; letter-spacing: 0.06em; font-weight: 500; }

.hero-cta-row { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 6px; }
.btn-primary {
  padding: 13px 26px;
  background: linear-gradient(135deg, var(--blue), var(--purple));
  border: none; border-radius: 100px; color: white;
  font-family: inherit; font-size: 14px; font-weight: 600; cursor: pointer;
  transition: transform .2s;
  text-decoration: none; display: inline-flex; align-items: center; gap: 6px;
}
.btn-primary:hover { transform: translateY(-2px); }
.btn-ghost {
  padding: 13px 26px; background: rgba(255,255,255,0.05);
  border: 1px solid var(--glass-border-bright); border-radius: 100px; color: white;
  font-family: inherit; font-size: 14px; font-weight: 500; cursor: pointer;
  transition: background .2s; text-decoration: none;
  display: inline-flex; align-items: center; gap: 8px;
}
.btn-ghost:hover { background: var(--glass-strong); }
.hero-stats {
  display: flex; background: rgba(255,255,255,0.04);
  border: 1px solid var(--glass-border); border-radius: 14px;
  padding: 14px 20px; max-width: 520px;
}
.hero-stats .stat { flex: 1; }
.hero-stats .stat + .stat { border-left: 1px solid var(--glass-border); padding-left: 20px; margin-left: 20px; }
.hero-stats .num {
  font-family: 'Space Grotesk'; font-weight: 700; font-size: 22px;
  background: linear-gradient(135deg, var(--blue), var(--purple));
  -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
}
.hero-stats .label { font-size: 11px; color: var(--ink-faint); margin-top: 2px; }
.hero-visual {
  position: relative;
  min-height: 420px; height: 100%; max-height: 600px;
  display: flex; align-items: center; justify-content: center;
}
.hero-visual-glow {
  position: absolute; inset: 10% 10%;
  background: radial-gradient(circle at 50% 50%, rgba(164,92,255,0.35), rgba(75,123,255,0.18) 40%, transparent 70%);
  filter: blur(20px);
  pointer-events: none;
}
@keyframes glowPulse { 0%,100% { opacity: 0.7; transform: scale(1); } 50% { opacity: 1; transform: scale(1.08); } }
@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-14px); } }

/* Hero Character (foreground overlay) */
.hero-character {
  position: absolute;
  right: 14%;
  bottom: -6%;
  width: 62%;
  height: auto;
  z-index: 50;
  pointer-events: none;
  filter: drop-shadow(0 18px 24px rgba(0,0,0,0.45));
  transform: translate3d(0, 0, 0);
  will-change: transform;
}
@keyframes charFloat {
  0%, 100% { transform: translate3d(0, 0, 0); }
  50% { transform: translate3d(0, -8px, 0); }
}
@media (max-width: 900px) {
  .hero-character { width: 56%; right: 6%; bottom: -4%; }
}
@media (hover: none), (prefers-reduced-motion: reduce) {
  .hero-character { animation: none; }
}

/* 3D Workspace Scene */
.workspace-3d {
  width: 100%; max-width: 520px; height: 460px;
  position: relative;
}
.workspace-3d { position: relative; z-index: 1; }
/* Phone (the showcase) stays vivid + pops through; other panels are softened so character is the star */
.ws-panel.ws-ae, .ws-panel.ws-code { opacity: 0.72; }
.ws-panel.ws-ae:hover, .ws-panel.ws-code:hover { opacity: 1; }
@keyframes wsFloat { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-12px); } }
.ws-scene {
  width: 100%; height: 100%;
  position: relative;
}
.ws-panel {
  position: absolute;
  background: linear-gradient(180deg, #14193e, #0c1131);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 14px;
  box-shadow: 0 24px 50px rgba(0,0,0,0.5);
  overflow: hidden;
  cursor: pointer;
  transition: transform .3s cubic-bezier(.2,.8,.3,1), box-shadow .3s, border-color .3s;
}
.ws-panel:hover {
  border-color: rgba(164,92,255,0.5);
  box-shadow: 0 30px 60px rgba(164,92,255,0.28);
}
.ws-panel-head {
  display: flex; align-items: center; gap: 10px;
  padding: 9px 12px;
  background: rgba(255,255,255,0.04);
  border-bottom: 1px solid rgba(255,255,255,0.08);
  font-size: 10px; color: var(--ink-soft);
}
.ws-dots { display: inline-flex; gap: 4px; }
.ws-dots i { width: 8px; height: 8px; border-radius: 50%; background: rgba(255,255,255,0.15); display: inline-block; }
.ws-dots i:nth-child(1) { background: #ff5f57; }
.ws-dots i:nth-child(2) { background: #ffbd2e; }
.ws-dots i:nth-child(3) { background: #28c941; }
.ws-panel-title { font-family: 'Space Grotesk'; font-weight: 600; letter-spacing: 0.01em; }

/* AE panel */
.ws-ae {
  top: 6%; left: 0;
  width: 62%; height: 58%;
  transform: translateZ(20px);
}
.ws-ae:hover { transform: translateZ(70px) scale(1.03); }
.ws-ae-body { padding: 12px; }
.ws-ae-layers { display: flex; flex-direction: column; gap: 7px; margin-bottom: 12px; }
.ws-layer { display: flex; align-items: center; gap: 8px; }
.ws-layer > span:first-child { width: 12px; height: 12px; border-radius: 3px; background: rgba(255,255,255,0.1); flex-shrink: 0; }
.ws-bar { height: 10px; border-radius: 3px; }
.ws-ae-timeline {
  position: relative; height: 18px;
  background: rgba(0,0,0,0.4);
  border-radius: 4px;
  border: 1px solid rgba(255,255,255,0.06);
  display: flex; align-items: center;
  padding: 0 6px;
}
.ws-tick { width: 1px; height: 8px; background: rgba(255,255,255,0.2); margin-right: calc(20% - 1px); }
.ws-tick:last-of-type { margin-right: 0; }
.ws-playhead {
  position: absolute; top: -3px; bottom: -3px;
  left: 32%;
  width: 2px;
  background: #ec4899;
  box-shadow: 0 0 8px rgba(236,72,153,0.7);
  left: 50%;
}
@keyframes wsPlayhead { 0% { left: 8%; } 100% { left: 92%; } }

/* Phone — modern iPhone shape, inside 3D scene, big */
.ws-phone {
  position: absolute;
  top: 7%; right: -6%;
  width: 38%; aspect-ratio: 9 / 19.5;
  border-radius: 12.5% / 5.8%;
  background: #111;
  padding: 0;
  transform: translateZ(80px);
  box-shadow:
    0 0 0 1.5px rgba(164,92,255,0.35),
    0 0 0 3px #1c1c1e,
    0 0 0 5px rgba(164,92,255,0.15),
    0 40px 80px rgba(0,0,0,0.7),
    0 20px 60px rgba(168,85,247,0.35);
  overflow: visible;
  cursor: pointer;
  z-index: 4;
  transition: transform .3s cubic-bezier(.2,.8,.3,1), box-shadow .3s;
}
.ws-phone:hover { transform: translateZ(140px) scale(1.04); box-shadow: 0 0 0 1.5px rgba(164,92,255,0.6), 0 0 0 3px #1c1c1e, 0 0 0 6px rgba(164,92,255,0.25), 0 50px 90px rgba(0,0,0,0.8), 0 0 80px rgba(164,92,255,0.55); }
.workspace-3d:has(.wsl-phone:hover) .ws-phone { transform: translateZ(140px) scale(1.04); }
/* Dynamic island */
.ws-phone-island {
  position: absolute;
  top: 3%; left: 50%; transform: translateX(-50%);
  width: 28%; height: 4%;
  background: #000;
  border-radius: 100px;
  z-index: 10;
  pointer-events: none;
}
/* Home bar */
.ws-phone-homebar {
  position: absolute;
  bottom: 1.5%; left: 50%; transform: translateX(-50%);
  width: 28%; height: 0.4%;
  background: rgba(255,255,255,0.3);
  border-radius: 100px;
  z-index: 10;
  pointer-events: none;
}
.ws-phone-screen {
  position: absolute; inset: 1.2%;
  border-radius: 11% / 5%;
  background: #000;
  display: flex; flex-direction: column; justify-content: space-between;
  padding: 9% 5% 6%;
  overflow: hidden;
}
/* Rotating ad showcase slides */
.ws-ad-slides {
  position: absolute; inset: 0;
  z-index: 0;
  border-radius: 11% / 5%;
  overflow: hidden;
}
.ws-ad-slides .slide {
  position: absolute; inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transition: opacity .25s linear;
}
.ws-ad-slides .slide.active {
  opacity: 1;
}
.ws-ad-slides video {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  background: transparent;
  z-index: 2;
}
.ws-ad-slides .slide-poster {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  z-index: 1;
  background: #000;
}
.ws-ad-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,0.25) 0%, transparent 25%, transparent 60%, rgba(0,0,0,0.55) 100%);
  z-index: 1;
  border-radius: 11% / 5%;
}
.ws-phone-screen > .ws-ad-topbar,
.ws-phone-screen > .ws-ad-play,
.ws-phone-screen > .ws-ad-bottom { position: relative; z-index: 2; }
.ws-ad-tag {
  align-self: flex-start;
  padding: 3px 8px;
  background: rgba(0,0,0,0.4);
  border-radius: 6px;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: white;
}
.ws-ad-headline {
  font-family: 'Space Grotesk';
  font-weight: 700;
  font-size: 14px;
  line-height: 1.1;
  color: white;
  text-shadow: 0 2px 8px rgba(0,0,0,0.3);
}
.ws-ad-cta {
  align-self: center;
  padding: 7px 14px;
  background: white;
  color: #1a1a1a;
  border-radius: 100px;
  font-size: 10px;
  font-weight: 700;
  box-shadow: 0 4px 12px rgba(0,0,0,0.2);
}

/* Code editor */
.ws-code {
  bottom: 4%; left: 12%;
  width: 52%; height: 36%;
  transform: translateZ(45px);
}
.ws-code:hover { transform: translateZ(90px) scale(1.03); }
.ws-code-body {
  padding: 11px 14px;
  font-family: ui-monospace, 'SF Mono', Menlo, monospace;
  font-size: 10px;
  line-height: 1.45;
  color: #c9d1d9;
  white-space: pre;
}
.ws-c-kw { color: #c084fc; }
.ws-c-fn { color: #67e8f9; }
.ws-c-var { color: #f0abfc; }
.ws-c-str { color: #fde68a; }
.ws-c-num { color: #fdba74; }
.ws-cursor { display: inline-block; width: 6px; background: #c084fc; opacity: 0.7; }

/* Claude chat bubble */
.ws-chat {
  top: 2%; right: -2%;
  width: 38%; padding: 10px 12px;
  transform: translateZ(80px);
  display: flex; align-items: center; gap: 10px;
  border-radius: 100px;
}
.ws-chat:hover { transform: translateZ(120px) scale(1.04); }
.ws-chat-avatar {
  width: 22px; height: 22px;
  border-radius: 50%;
  background: linear-gradient(135deg, #4b7bff, #a45cff);
  display: grid; place-items: center;
  font-size: 10px;
  flex-shrink: 0;
  box-shadow: 0 0 12px rgba(164,92,255,0.6);
}
.ws-chat-text {
  font-size: 10.5px;
  color: var(--ink);
}
.ws-chat-text::after {
  content: ''; display: inline-block;
  width: 4px; height: 4px;
  background: var(--ink);
  border-radius: 50%;
  margin-left: 3px;
  opacity: 0.7;
}
@keyframes wsTyping { 0%,60%,100% { opacity: 0.3; } 30% { opacity: 1; } }

@media (max-width: 900px) {
  .workspace-3d { max-width: 420px; height: 380px; animation: none; }
  .ws-scene { transform: none; }
  .ws-panel { transform: none !important; }
  .ws-phone { transform: none !important; }
  .ws-tools-body { padding: 9px; }
  .ws-code-body { font-size: 9px; padding: 9px 11px; }
}
@media (hover: none) {
  /* Touch devices: disable hover transforms entirely */
  .ws-panel:hover, .ws-phone:hover { transform: inherit !important; }
}

/* Internal Tools panel body (replaces AE timeline) */
.ws-tools-body { padding: 12px; display: flex; flex-direction: column; gap: 8px; }
.ws-tool-row {
  display: flex; align-items: center; gap: 10px;
  padding: 7px 8px;
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: 8px;
}
.ws-tool-icon {
  width: 24px; height: 24px;
  border-radius: 6px;
  display: grid; place-items: center;
  font-family: 'Space Grotesk'; font-weight: 700; font-size: 11px;
  color: white;
  flex-shrink: 0;
  box-shadow: 0 2px 6px rgba(0,0,0,0.3);
}
.ws-tool-meta { flex: 1; min-width: 0; }
.ws-tool-name { font-family: 'Space Grotesk'; font-weight: 600; font-size: 11px; color: var(--ink); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ws-tool-tag { font-size: 9px; color: var(--ink-faint); margin-top: 1px; }
.ws-tool-status {
  font-size: 8.5px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #4ade80;
  padding: 2px 6px;
  background: rgba(74,222,128,0.12);
  border-radius: 100px;
  white-space: nowrap;
}

/* Phone video ad layout */
.ws-ad-topbar {
  display: flex; justify-content: space-between; align-items: center;
}
.ws-ad-tag {
  padding: 3px 7px;
  background: rgba(0,0,0,0.5);
  border-radius: 5px;
  font-size: 8.5px;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: white;
}
.ws-ad-skip {
  font-size: 9px;
  color: rgba(255,255,255,0.85);
  padding: 3px 7px;
  background: rgba(0,0,0,0.35);
  border-radius: 100px;
}
.ws-ad-play {
  align-self: center;
  margin: auto;
  width: 38px; height: 38px;
  border-radius: 50%;
  background: rgba(255,255,255,0.92);
  color: #1a1a1a;
  display: grid; place-items: center;
  font-size: 14px;
  padding-left: 3px;
  box-shadow: 0 6px 20px rgba(0,0,0,0.35);
}
.ws-ad-bottom {
  display: flex; flex-direction: column; gap: 6px;
  align-items: stretch;
}
.ws-ad-brand {
  font-family: 'Space Grotesk';
  font-weight: 700;
  font-size: 11px;
  color: white;
  text-shadow: 0 2px 6px rgba(0,0,0,0.3);
}
.ws-ad-progress {
  height: 3px;
  background: rgba(255,255,255,0.25);
  border-radius: 2px;
  overflow: hidden;
}
.ws-ad-progress span {
  display: block;
  height: 100%;
  width: 0%;
  background: white;
  border-radius: 2px;
}
@keyframes wsAdProg { 0% { width: 0; } 100% { width: 100%; } }
.ws-ad-cta {
  align-self: stretch;
  text-align: center;
  padding: 7px 12px;
  background: white;
  color: #1a1a1a;
  border-radius: 100px;
  font-size: 11px;
  font-weight: 700;
  box-shadow: 0 4px 12px rgba(0,0,0,0.2);
}

/* Floating workspace labels (panel titles) */
.ws-label {
  position: absolute;
  z-index: 5;
  display: inline-flex; align-items: center; gap: 7px;
  padding: 7px 13px;
  background: #10153a;
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 100px;
  font-family: 'Space Grotesk';
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--ink);
  cursor: pointer;
  transition: transform .25s cubic-bezier(.2,.8,.3,1), border-color .2s, color .2s, box-shadow .25s;
  white-space: nowrap;
}
.ws-label .wsl-dot {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--blue), var(--purple));
  box-shadow: 0 0 8px rgba(164,92,255,0.7);
  flex-shrink: 0;
}
.wsl-ae .wsl-dot    { background: linear-gradient(135deg, #a45cff, #ec4899); box-shadow: 0 0 8px rgba(236,72,153,0.7); }
.wsl-phone .wsl-dot { background: linear-gradient(135deg, #ec4899, #a855f7); box-shadow: 0 0 8px rgba(168,85,247,0.7); }
.wsl-code .wsl-dot  { background: linear-gradient(135deg, #67e8f9, #06b6d4); box-shadow: 0 0 8px rgba(6,182,212,0.7); }
.wsl-chat .wsl-dot  { background: linear-gradient(135deg, #4b7bff, #a45cff); box-shadow: 0 0 8px rgba(75,123,255,0.7); }

/* Each label sits ON its panel's corner, half overlapping. translateZ matches panel so it follows the 3D tilt */
.wsl-ae    { top: 3%; left: 2%; transform: translateZ(30px); z-index: 6; }
.wsl-phone { top: 2%; right: 28%; transform: translateZ(95px); z-index: 6; }
.wsl-code  { bottom: 32%; right: 32%; transform: translateZ(55px); z-index: 6; }

/* On linked hover, lift the label with the panel */
.workspace-3d:has(.wsl-ae:hover) .wsl-ae,
.workspace-3d:has(.ws-ae:hover) .wsl-ae { transform: translateZ(85px); }
.workspace-3d:has(.wsl-phone:hover) .wsl-phone,
.workspace-3d:has(.ws-phone:hover) .wsl-phone { transform: translateZ(155px); }
.workspace-3d:has(.wsl-code:hover) .wsl-code,
.workspace-3d:has(.ws-code:hover) .wsl-code { transform: translateZ(105px); }

.ws-label:hover {
  transform: translateY(-2px);
  border-color: rgba(164,92,255,0.55);
  color: white;
  box-shadow: 0 8px 24px rgba(164,92,255,0.3);
}

/* Linked hover: hover label → lift panel, hover panel → light label */
.workspace-3d:has(.wsl-ae:hover) .ws-ae    { transform: translateZ(70px) scale(1.03); border-color: rgba(164,92,255,0.5); box-shadow: 0 30px 60px rgba(164,92,255,0.28); }
.workspace-3d:has(.wsl-phone:hover) .ws-phone { transform: translateZ(110px) scale(1.04); border-color: rgba(164,92,255,0.5); box-shadow: 0 30px 60px rgba(164,92,255,0.3); }
.workspace-3d:has(.wsl-code:hover) .ws-code   { transform: translateZ(90px) scale(1.03); border-color: rgba(164,92,255,0.5); box-shadow: 0 30px 60px rgba(164,92,255,0.28); }
.workspace-3d:has(.wsl-chat:hover) .ws-chat   { transform: translateZ(120px) scale(1.04); border-color: rgba(164,92,255,0.5); box-shadow: 0 20px 40px rgba(164,92,255,0.3); }

.workspace-3d:has(.ws-ae:hover) .wsl-ae,
.workspace-3d:has(.ws-phone:hover) .wsl-phone,
.workspace-3d:has(.ws-code:hover) .wsl-code,
.workspace-3d:has(.ws-chat:hover) .wsl-chat {
  border-color: rgba(164,92,255,0.55);
  color: white;
  transform: translateY(-2px);
}
.badge {
  position: absolute;
  padding: 9px 15px;
  background: rgba(15,20,55,0.88);
  border: 1px solid var(--glass-border-bright);
  border-radius: 100px;
  font-size: 12px; font-weight: 500; cursor: pointer;
  transition: transform .25s, border-color .25s; z-index: 4;
  display: inline-flex; align-items: center; gap: 8px; white-space: nowrap;
  color: white;
}
.badge .ico {
  width: 24px; height: 24px; border-radius: 7px;
  background: linear-gradient(135deg, var(--blue), var(--purple));
  display: grid; place-items: center; font-size: 13px;
}
.badge:hover { transform: translateY(-3px); border-color: var(--purple); }
.badge.b1 { top: 6%; left: 2%; }
.badge.b2 { top: 30%; right: -6%; }
.badge.b3 { bottom: 26%; left: 4%; }
.badge.b4 { bottom: 6%; right: -4%; }

/* SECTIONS */
section { padding: 70px 0; position: relative; z-index: 1; scroll-margin-top: 80px; }
#tools, #about, #contact { content-visibility: auto; contain-intrinsic-size: 1px 1200px; }
.sec-head { display: flex; justify-content: space-between; align-items: end; margin-bottom: 32px; flex-wrap: wrap; gap: 16px; }
.sec-head .eyebrow { font-size: 12px; letter-spacing: 0.2em; color: var(--purple); text-transform: uppercase; margin-bottom: 8px; font-weight: 600; }
.sec-head h2 { font-family: 'Space Grotesk'; font-weight: 700; font-size: clamp(28px, 3.4vw, 42px); line-height: 1.05; letter-spacing: -0.025em; }
.sec-head h2 .grad {
  background: linear-gradient(135deg, var(--blue), var(--purple), var(--pink));
  -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
}

/* FILTERS */
.filter-bars {
  display: flex; flex-direction: column; align-items: center;
  gap: 10px; margin-bottom: 32px;
}
.filter-bar {
  display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 6px;
  background: var(--glass); border: 1px solid var(--glass-border);
  border-radius: 100px; padding: 5px 8px;
}
.filter-label {
  font-size: 10px; color: var(--ink-faint); text-transform: uppercase;
  letter-spacing: 0.15em; font-weight: 600; padding: 0 6px;
  border-right: 1px solid var(--glass-border); margin-right: 2px;
}
.filter-pill {
  padding: 5px 13px; border-radius: 100px;
  background: transparent; border: none;
  color: var(--ink-soft); font-family: inherit; font-size: 12px; font-weight: 500;
  cursor: pointer; transition: all .2s;
  display: inline-flex; align-items: center; gap: 6px;
}
.filter-pill:hover { color: var(--ink); background: var(--glass-strong); }
.filter-pill.active {
  background: linear-gradient(135deg, var(--blue), var(--purple));
  color: white;
}
.filter-pill .count {
  background: rgba(0,0,0,0.2); border-radius: 100px;
  padding: 1px 6px; font-size: 10px; font-weight: 600;
}
.filter-pill.active .count { background: rgba(255,255,255,0.22); }

/* APP GRID */
.grid {
  display: grid;
  grid-template-rows: 1fr 1fr;
  grid-auto-flow: column;
  grid-auto-columns: 240px;
  gap: 20px;
  overflow-x: hidden; overflow-y: visible;
  scroll-behavior: auto;
  padding: 14px 4px 32px;
  cursor: grab;
  user-select: none;
  transition: grid-template-rows .3s ease;
  -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 24px, #000 calc(100% - 60px), transparent 100%);
          mask-image: linear-gradient(90deg, transparent 0, #000 24px, #000 calc(100% - 60px), transparent 100%);
}
.grid.single-row { grid-template-rows: 1fr; }
.grid.dragging { cursor: grabbing; scroll-behavior: auto; }
.grid.dragging .app-card { pointer-events: none; }
.grid::-webkit-scrollbar { height: 6px; }
.grid::-webkit-scrollbar-track { background: rgba(255,255,255,0.03); border-radius: 3px; }
.grid::-webkit-scrollbar-thumb { background: linear-gradient(90deg, var(--blue), var(--purple)); border-radius: 3px; }
.grid .app-card {
  width: 240px; min-width: 240px;
  transition: transform .35s cubic-bezier(.2, .8, .3, 1), box-shadow .35s, border-color .35s;
  animation: appCardIn .5s cubic-bezier(.2, .8, .3, 1) backwards;
}
.grid .app-card:nth-child(1) { animation-delay: .02s; }
.grid .app-card:nth-child(2) { animation-delay: .06s; }
.grid .app-card:nth-child(3) { animation-delay: .10s; }
.grid .app-card:nth-child(4) { animation-delay: .14s; }
.grid .app-card:nth-child(5) { animation-delay: .18s; }
.grid .app-card:nth-child(6) { animation-delay: .22s; }
.grid .app-card:nth-child(n+7) { animation-delay: .26s; }
@keyframes appCardIn { from { opacity: 0; transform: translateY(20px) scale(.94); } to { opacity: 1; transform: none; } }

/* Grid nav arrows */
.grid-wrap { position: relative; }
.grid-nav {
  position: absolute;
  top: 50%; transform: translateY(-50%);
  width: 52px; height: 52px;
  border-radius: 50%;
  background: rgba(15,18,48,0.92);
  border: 1.5px solid rgba(255,255,255,0.18);
  color: white;
  font-size: 30px; line-height: 1;
  cursor: pointer;
  display: grid; place-items: center;
  z-index: 10;
  box-shadow: 0 8px 24px rgba(0,0,0,0.5);
  transition: background .2s, border-color .2s, transform .15s, opacity .25s;
  font-family: 'Space Grotesk';
  pointer-events: auto;
}
.grid-nav:hover {
  background: linear-gradient(135deg, #4b7bff, #a45cff);
  border-color: transparent;
  transform: translateY(-50%) scale(1.08);
  box-shadow: 0 10px 30px rgba(164,92,255,0.5);
}
.grid-nav:active { transform: translateY(-50%) scale(0.96); }
.grid-nav-prev { left: -4px; }
.grid-nav-next { right: -4px; }
.grid-nav.at-edge { opacity: 0.25; pointer-events: none; }
@media (max-width: 700px) {
  .grid-nav { width: 40px; height: 40px; font-size: 22px; }
}
.grid .app-card:hover {
  transform: translateY(-8px) scale(1.025);
  border-color: var(--purple);
  box-shadow: 0 18px 40px rgba(164,92,255,0.28), 0 0 0 1px rgba(164,92,255,0.25) inset;
  z-index: 2;
}
.grid .app-card .icon-wrap {
  transition: transform .35s cubic-bezier(.2, .8, .3, 1);
}
.grid .app-card:hover .icon-wrap { transform: scale(1.03); }
@media (max-width: 720px) {
  .grid .app-card { flex-basis: 200px; }
  .grid { -webkit-mask-image: none; mask-image: none; }
}
.app-card {
  background: rgba(15,20,55,0.55);
  border: 1px solid var(--glass-border);
  border-radius: 18px;
  padding: 14px;
  transition: transform .3s, border-color .3s;
  cursor: pointer;
  position: relative;
}
.app-card:hover { transform: translateY(-4px); border-color: var(--purple); }
.app-card.expanded { border-color: var(--purple); box-shadow: 0 12px 40px rgba(164,92,255,0.16); }
.app-card .icon-wrap {
  aspect-ratio: 1/1;
  border-radius: 16px;
  margin-bottom: 12px;
  overflow: hidden;
  background: linear-gradient(135deg, #1a1f4d, #2a1f5d);
  position: relative;
}
.app-card .icon-wrap img { width: 100%; height: 100%; display: none; object-fit: cover; position: absolute; inset: 0; z-index: 1; opacity: 0; transition: opacity .3s; }
.app-card .icon-wrap .icon-fallback {
  position: absolute; inset: 0;
  display: grid; place-items: center;
  font-family: 'Space Grotesk'; font-weight: 700; font-size: 56px;
  color: white;
  letter-spacing: -0.02em;
}
.app-card .badges-row {
  position: absolute; top: 10px; left: 10px;
  display: flex; gap: 5px; z-index: 3;
}
.app-card .badge-type, .app-card .badge-company {
  padding: 3px 9px; background: rgba(0,0,0,0.72);
  border-radius: 100px;
  font-size: 9px; font-weight: 700; letter-spacing: 0.1em;
  text-transform: uppercase; color: white;
}
.app-card .badge-type.app { background: linear-gradient(135deg, rgba(75,123,255,0.95), rgba(164,92,255,0.95)); }
.app-card .badge-type.game { background: linear-gradient(135deg, rgba(255,92,201,0.95), rgba(245,158,11,0.9)); }
.app-card .badge-type.brand { background: linear-gradient(135deg, rgba(20,184,166,0.95), rgba(6,182,212,0.95)); }
.app-card .featured-strip {
  position: absolute; bottom: 10px; right: 10px;
  display: inline-flex; align-items: center; gap: 4px;
  padding: 5px 10px;
  background: linear-gradient(135deg, #fde68a, #f59e0b);
  border: 1px solid rgba(255,255,255,0.5);
  border-radius: 100px;
  font-size: 10px; font-weight: 700; color: #1a1f4d;
  letter-spacing: 0.04em; text-transform: uppercase;
  box-shadow: 0 4px 14px rgba(245,158,11,0.45), 0 0 0 1px rgba(0,0,0,0.08);
  white-space: nowrap; z-index: 3;
}
.app-card .featured-strip .star { font-size: 10px; line-height: 1; }
.app-card h3 {
  font-size: 15px; font-weight: 600; line-height: 1.3;
  margin-bottom: 4px;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.app-card .quick-info {
  font-size: 11px; color: var(--ink-faint); margin-top: 6px;
  line-height: 1.45;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.card-hint {
  margin-top: 10px; font-size: 10px; font-weight: 600;
  color: var(--purple); letter-spacing: 0.04em;
  opacity: 0.7;
}

/* App Modal Popup */
.app-modal-overlay {
  position: fixed; inset: 0; z-index: 1000;
  background: rgba(5,8,24,0.78);
  display: grid; place-items: center;
  padding: 24px;
}

.app-modal {
  position: relative;
  width: min(720px, 100%);
  max-height: calc(100vh - 48px);
  overflow-y: auto;
  background: linear-gradient(180deg, rgba(20,26,68,0.96) 0%, rgba(10,14,42,0.96) 100%);
  border: 1px solid rgba(164,92,255,0.45);
  border-radius: 24px;
  padding: 32px;
  box-shadow: 0 30px 80px rgba(0,0,0,0.6), 0 0 0 1px rgba(255,255,255,0.04) inset;
}

.app-modal::before {
  content: ''; position: absolute; inset: -1px;
  border-radius: 24px; padding: 1px;
  background: linear-gradient(135deg, rgba(164,92,255,0.7), rgba(75,123,255,0.3) 40%, rgba(255,92,201,0.5) 100%);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor; mask-composite: exclude;
  pointer-events: none; opacity: .8;
}

.app-modal .x-header {
  display: grid; grid-template-columns: 120px 1fr; gap: 22px; align-items: center;
  margin-bottom: 22px;
}
.app-modal .x-icon {
  width: 120px; height: 120px; border-radius: 26px;
  overflow: hidden; position: relative;
  background: linear-gradient(135deg, #1a1f4d, #2a1f5d);
  box-shadow: 0 12px 30px rgba(0,0,0,0.45);
}
.app-modal .x-icon img { width: 100%; height: 100%; object-fit: cover; display: none; opacity: 0; transition: opacity .3s; position: absolute; inset: 0; z-index: 1; }
.app-modal .x-icon .icon-fallback {
  position: absolute; inset: 0; display: grid; place-items: center;
  font-family: 'Space Grotesk'; font-weight: 700; font-size: 52px; color: white;
}
.app-modal .x-title h3 {
  font-family: 'Space Grotesk'; font-size: 26px; font-weight: 700;
  margin-bottom: 6px; letter-spacing: -0.02em; line-height: 1.15;
}
.app-modal .x-meta {
  display: flex; flex-wrap: wrap; gap: 8px 10px;
  color: var(--ink-soft); font-size: 13px;
}
.app-modal .x-meta .dot { color: var(--ink-faint); }

.app-modal h4.x-label {
  font-size: 11px; color: var(--ink-faint); text-transform: uppercase;
  letter-spacing: 0.15em; font-weight: 600; margin-bottom: 10px;
}
.app-modal .x-roles { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 18px; }
.app-modal .x-roles span {
  padding: 5px 11px;
  background: rgba(164,92,255,0.13);
  border: 1px solid rgba(164,92,255,0.28);
  color: #d4b8ff; border-radius: 100px;
  font-size: 11px; font-weight: 500;
}

.app-modal .x-desc {
  font-size: 14px; color: var(--ink-soft); line-height: 1.65;
  margin-bottom: 22px;
}
.app-modal .x-actions {
  display: flex; gap: 10px; align-items: center;
  padding-top: 16px;
  border-top: 1px solid var(--glass-border);
}
.app-modal .x-close {
  position: absolute; top: 14px; right: 14px;
  background: var(--glass); border: 1px solid var(--glass-border);
  color: white; width: 34px; height: 34px; border-radius: 50%;
  cursor: pointer; font-size: 20px; line-height: 1;
  display: grid; place-items: center;
  transition: transform .2s, background .2s, border-color .2s;
}
.app-modal .x-close:hover { background: var(--glass-strong); border-color: var(--purple); transform: rotate(90deg) scale(1.08); }

.app-nav {
  position: fixed; top: 50%; transform: translateY(-50%);
  width: 52px; height: 52px; border-radius: 50%;
  background: var(--glass-strong); border: 1px solid var(--glass-border);
  color: white; font-size: 28px; line-height: 1; font-family: inherit;
  cursor: pointer; display: grid; place-items: center;
  z-index: 1001;
  transition: transform .2s, background .2s, border-color .2s;
}
.app-nav:hover { background: var(--purple); border-color: var(--purple); transform: translateY(-50%) scale(1.08); }
.app-nav-prev { left: max(20px, calc(50% - 480px)); }
.app-nav-next { right: max(20px, calc(50% - 480px)); }
@media (max-width: 900px) {
  .app-nav { width: 42px; height: 42px; font-size: 22px; }
  .app-nav-prev { left: 10px; }
  .app-nav-next { right: 10px; }
}

@media (max-width: 560px) {
  .app-modal { padding: 22px; }
  .app-modal .x-header { grid-template-columns: 80px 1fr; gap: 16px; }
  .app-modal .x-icon { width: 80px; height: 80px; border-radius: 20px; }
  .app-modal .x-icon .icon-fallback { font-size: 34px; }
  .app-modal .x-title h3 { font-size: 20px; }
}

/* MARQUEE */
.clients {
  margin: 20px 0; padding: 24px 0;
  background: linear-gradient(90deg, rgba(75,123,255,0.08), rgba(164,92,255,0.08));
  border-top: 1px solid var(--glass-border);
  border-bottom: 1px solid var(--glass-border);
  overflow: hidden; position: relative;
}
.clients-track {
  display: flex; gap: 56px;
  animation: scroll 30s linear infinite;
  width: max-content; will-change: transform;
}
.clients-track .client {
  display: flex; align-items: center; gap: 10px;
  font-family: 'Space Grotesk'; font-weight: 600; font-size: 20px;
  color: var(--ink-soft); white-space: nowrap; opacity: 0.7;
}
.clients-track .client::before {
  content: ''; width: 7px; height: 7px;
  background: var(--purple); border-radius: 50%;
}
@keyframes scroll { to { transform: translateX(-50%); } }

/* TOOL ROW - INLINE EXPAND */
.tools-grid { display: flex; flex-direction: column; gap: 14px; }
/* Display order: Marketing Hub first, Mojo Auto Jojo last */
.tools-grid #tool-hub { order: 1; }
.tools-grid #tool-gai { order: 2; }
.tools-grid #tool-mojo { order: 3; }
.tool-row {
  background: rgba(15,20,55,0.55);
  border: 1px solid var(--glass-border);
  border-radius: 20px;
  overflow: hidden;
  transition: border-color .3s;
}
.tool-row.open { border-color: var(--purple); box-shadow: 0 16px 56px rgba(164,92,255,0.18); }
.tool-row .tool-header {
  display: grid;
  grid-template-columns: 56px 1fr auto auto;
  gap: 18px; align-items: center;
  padding: 20px 24px;
  cursor: pointer;
}
.tool-row .tool-header:hover { background: rgba(255,255,255,0.02); }
.tool-row .t-icon {
  width: 56px; height: 56px;
  background: linear-gradient(135deg, var(--blue), var(--purple));
  border-radius: 14px;
  display: grid; place-items: center; font-size: 26px;
  overflow: hidden;
}
.tool-row .t-icon.t-icon-img { background: none; padding: 0; }
.tool-row .t-icon.t-icon-img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.tool-row .t-info h3 { font-family: 'Space Grotesk'; font-weight: 600; font-size: 18px; margin-bottom: 4px; letter-spacing: -0.01em; }
.tool-row .t-info p { font-size: 13px; color: var(--ink-soft); line-height: 1.5; max-width: 700px; }
.tool-row .t-tech { display: flex; flex-wrap: wrap; gap: 6px; justify-content: flex-end; max-width: 280px; }
.tool-row .t-tech span {
  padding: 3px 10px;
  background: rgba(75,123,255,0.13);
  border: 1px solid rgba(75,123,255,0.28);
  color: #a5c0ff; border-radius: 100px;
  font-size: 10px; font-weight: 500;
}
.tool-row .t-toggle {
  width: 36px; height: 36px;
  background: var(--glass);
  border: 1px solid var(--glass-border);
  border-radius: 50%;
  display: grid; place-items: center;
  color: var(--ink-soft); transition: transform .3s, background .2s;
  font-size: 14px;
}
.tool-row.open .t-toggle { transform: rotate(180deg); background: var(--purple); color: white; border-color: var(--purple); }
.tool-row .t-body { display: none; border-top: 1px solid var(--glass-border); }
.tool-row.open .t-body { display: grid; grid-template-columns: 1fr 1fr; }
.tool-row#tool-mojo.open .t-body { grid-template-columns: 1.45fr 1fr; }
@media (max-width: 980px) { .tool-row.open .t-body { grid-template-columns: 1fr; } }
.t-body .t-features {
  padding: 28px;
  border-right: 1px solid var(--glass-border);
}
@media (max-width: 980px) { .t-body .t-features { border-right: 0; border-bottom: 1px solid var(--glass-border); } }
.t-features h4 {
  font-size: 11px; color: var(--ink-faint);
  text-transform: uppercase; letter-spacing: 0.2em; font-weight: 600;
  margin-bottom: 14px; margin-top: 4px;
}
.t-features h4:first-child { margin-top: 0; }
.t-features ul { list-style: none; padding: 0; margin-bottom: 18px; }
.t-features li {
  padding: 8px 0; padding-left: 22px; position: relative;
  font-size: 13px; color: var(--ink-soft);
  line-height: 1.55;
  border-bottom: 1px dashed var(--glass-border);
}
.t-features li:last-child { border-bottom: 0; }
.t-features li::before {
  content: '→';
  position: absolute; left: 0; top: 8px;
  color: var(--purple); font-weight: 700;
}
.t-features li strong { color: var(--ink); font-weight: 600; }
.t-preview {
  padding: 28px;
  background: rgba(0,0,0,0.18);
  display: flex; flex-direction: column; gap: 12px;
  min-height: 600px;
}
.t-preview .preview-label {
  font-size: 11px; color: var(--ink-faint);
  text-transform: uppercase; letter-spacing: 0.2em; font-weight: 600;
  display: flex; justify-content: space-between; align-items: center;
}
.t-preview .preview-label .demo-tag { color: var(--purple); font-weight: 600; }
/* MOJO EXTENSION UI (scoped) */
.mojo-chrome {
  width: 440px; max-width: 100%; margin: 0 auto;
  background: #2a2a2a;
  color: #888; font-size: 10px;
  padding: 7px 12px;
  border-radius: 10px 10px 0 0;
  border: 1px solid #3a3a3a; border-bottom: none;
  display: flex; align-items: center; gap: 10px;
  font-family: -apple-system, BlinkMacSystemFont, 'SF Pro Display', sans-serif;
}
.mojo-chrome .dots { display: flex; gap: 6px; }
.mojo-chrome .dots i { width: 10px; height: 10px; border-radius: 50%; display: inline-block; }
.mojo-chrome .dots i.r { background: #ff5f56; }
.mojo-chrome .dots i.y { background: #ffbd2e; }
.mojo-chrome .dots i.g { background: #27c93f; }
.mojo-chrome .title { flex: 1; text-align: center; font-size: 10px; }

.mojo-ext {
  width: 440px; max-width: 100%; margin: -12px auto 0;
  --mb-bg: #1a1a1a; --mb-bg-elev: #232323; --mb-bg-hover: #2d2d2d; --mb-bg-input: #161616;
  --mb-border: #333; --mb-border-light: #404040;
  --mb-text: #e8e8e8; --mb-text-dim: #999; --mb-text-muted: #666;
  --mb-accent-rgb: 99, 102, 241;
  --mb-accent: rgb(var(--mb-accent-rgb));
  --mb-accent-hover: #818cf8;
  --mb-accent-dim: rgba(var(--mb-accent-rgb), 0.15);
  --mb-success: #10b981;
  --mb-radius-sm: 6px;
  background: var(--mb-bg); color: var(--mb-text);
  font-family: -apple-system, BlinkMacSystemFont, 'SF Pro Display', sans-serif;
  font-size: 12px;
  border: 1px solid #3a3a3a;
  border-radius: 0 0 10px 10px;
  overflow: hidden;
  display: flex; flex-direction: column;
  height: 560px;
  position: relative;
  user-select: none;
}
.mojo-ext * { box-sizing: border-box; }
.mojo-ext .mb-header {
  display: flex; align-items: center; justify-content: space-between;
  padding: 12px 16px;
  background: var(--mb-bg-elev);
  border-bottom: 1px solid var(--mb-border);
  flex-shrink: 0;
}
.mojo-ext .mb-brand { display: flex; align-items: center; gap: 9px; font-size: 13px; font-weight: 600; }
.mojo-ext .mb-brand-logo {
  width: 22px; height: 22px; border-radius: 6px;
  object-fit: cover; display: block;
  background: linear-gradient(135deg, #6366f1, #ec4899);
  color: white; display: grid; place-items: center;
  font-size: 9px; font-weight: 700;
}
.mojo-ext .mb-header-right { display: inline-flex; gap: 6px; }
.mojo-ext .mb-hdr-pill {
  display: inline-flex; align-items: center; height: 24px; padding: 0 10px;
  border-radius: 6px; border: 1px solid transparent;
  font-size: 10px; font-weight: 600;
  cursor: pointer; color: white; font-family: inherit;
}
.mojo-ext .mb-hdr-save {
  background: linear-gradient(135deg, var(--mb-accent-hover) 0%, rgb(var(--mb-accent-rgb)) 100%);
  box-shadow: 0 2px 8px rgba(var(--mb-accent-rgb), 0.35);
}
.mojo-ext .mb-hdr-reset { background: linear-gradient(135deg, rgba(120,120,140,0.45), rgba(80,80,105,0.6)); }
.mojo-ext .mb-tabs {
  display: flex; background: var(--mb-bg-elev);
  border-bottom: 1px solid var(--mb-border); flex-shrink: 0;
}
.mojo-ext .mb-tab {
  flex: 1; min-width: 56px;
  padding: 8px 4px 7px;
  text-align: center; cursor: pointer;
  font-size: 10px; font-weight: 500;
  color: var(--mb-text-dim);
  border-bottom: 2px solid transparent;
  display: flex; flex-direction: column; align-items: center; gap: 3px;
}
.mojo-ext .mb-tab:hover { color: var(--mb-text); background: var(--mb-bg-hover); }
.mojo-ext .mb-tab.active { color: var(--mb-accent-hover); border-bottom-color: var(--mb-accent); background: var(--mb-bg); }
.mojo-ext .mb-content { flex: 1; overflow-y: auto; overflow-x: hidden; padding: 16px; }
.mojo-ext .mb-panel { width: 100%; }
.mojo-ext .mb-content::-webkit-scrollbar { width: 6px; }
.mojo-ext .mb-content::-webkit-scrollbar-thumb { background: var(--mb-border); border-radius: 3px; }
.mojo-ext .mb-panel { display: none; }
.mojo-ext .mb-panel.active { display: block; animation: mbFade .2s ease; }
@keyframes mbFade { from { opacity:0; transform:translateY(4px);} to { opacity:1; transform:translateY(0);} }
.mojo-ext .mb-section { margin-bottom: 18px; }
.mojo-ext .mb-section-title { font-size: 9px; font-weight: 600; text-transform: uppercase; letter-spacing: 1px; color: var(--mb-text-muted); margin-bottom: 8px; }
.mojo-ext .mb-help { font-size: 10px; color: var(--mb-text-muted); margin-top: 6px; line-height: 1.5; }
.mojo-ext .mb-subtab-nav {
  display: flex; gap: 6px; background: var(--mb-bg-input);
  border: 1px solid var(--mb-border); border-radius: var(--mb-radius-sm);
  padding: 3px; margin-bottom: 14px;
}
.mojo-ext .mb-subtab { flex: 1; padding: 6px 8px; border-radius: 4px; font-size: 10px; font-weight: 600; color: var(--mb-text-dim); text-align: center; cursor: pointer; }
.mojo-ext .mb-subtab:hover { color: var(--mb-text); }
.mojo-ext .mb-subtab.active { background: var(--mb-accent); color: white; }
.mojo-ext .mb-subpanel { display: none; }
.mojo-ext .mb-subpanel.active { display: block; }
.mojo-ext .mb-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 6px;
  padding: 8px 12px; background: var(--mb-bg-elev);
  color: var(--mb-text);
  border: 1px solid var(--mb-border);
  border-radius: var(--mb-radius-sm); cursor: pointer;
  font-family: inherit; font-size: 11px; font-weight: 500;
  width: 100%;
}
.mojo-ext .mb-btn:hover { background: var(--mb-bg-hover); }
.mojo-ext .mb-btn.primary { background: var(--mb-accent); border-color: var(--mb-accent); color: white; font-weight: 600; padding: 10px 14px; }
.mojo-ext .mb-btn.primary:hover { background: var(--mb-accent-hover); }
.mojo-ext .mb-btn.ghost { background: transparent; }
.mojo-ext .mb-btn:disabled { opacity: 0.4; cursor: not-allowed; }
.mojo-ext .mb-check-grid { display: grid; gap: 6px; grid-template-columns: repeat(3, 1fr); }
.mojo-ext .mb-check-grid.cols-4 { grid-template-columns: repeat(4, 1fr); }
.mojo-ext .mb-src-icon {
  display: inline-grid; place-items: center;
  width: 16px; height: 16px; border-radius: 4px;
  font-size: 9px; color: #fff; margin-right: 5px; vertical-align: -3px;
}
.mojo-ext .mb-src-icon.yt { background: #ff0000; }
.mojo-ext .mb-src-icon.tt { background: #000; border: 1px solid #444; }
.mojo-ext .mb-src-icon.ig { background: linear-gradient(135deg,#f59e0b,#ec4899,#8b5cf6); }
.mojo-ext .mb-tc-preview { background: #0c0c0c; color: #ffd60a; display: grid; place-items: center; }
.mojo-ext .mb-tc-word { display: inline-block; font-weight: 700; }
.mojo-ext .mb-tc-pop { transform-origin: center; }
@keyframes mb-pop {
  0%, 100% { transform: scale(1); }
  18%      { transform: scale(1.22); }
  36%      { transform: scale(0.96); }
  52%      { transform: scale(1.04); }
  70%      { transform: scale(1); }
}
.mojo-ext .mb-check {
  display: flex; align-items: center; gap: 7px;
  padding: 7px 9px;
  background: var(--mb-bg-input);
  border: 1px solid var(--mb-border);
  border-radius: var(--mb-radius-sm);
  cursor: pointer;
  font-size: 10px; color: var(--mb-text);
}
.mojo-ext .mb-check:hover { background: var(--mb-bg-hover); }
.mojo-ext .mb-check input { display: none; }
.mojo-ext .mb-check .box {
  width: 13px; height: 13px;
  border: 1.5px solid var(--mb-border-light);
  border-radius: 3px; flex-shrink: 0; position: relative;
}
.mojo-ext .mb-check input:checked + .box { background: var(--mb-accent); border-color: var(--mb-accent); }
.mojo-ext .mb-check input:checked + .box::after {
  content: ''; position: absolute; left: 3px; top: 0;
  width: 4px; height: 7px; border: solid white; border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}
.mojo-ext .mb-check.checked { border-color: var(--mb-accent); background: var(--mb-accent-dim); }
.mojo-ext .mb-radio-group { display: flex; gap: 6px; }
.mojo-ext .mb-radio {
  flex: 1; display: flex; align-items: center; justify-content: center;
  padding: 8px; background: var(--mb-bg-input); border: 1px solid var(--mb-border);
  border-radius: var(--mb-radius-sm);
  cursor: pointer; font-size: 11px; color: var(--mb-text);
}
.mojo-ext .mb-radio:hover { background: var(--mb-bg-hover); }
.mojo-ext .mb-radio.active { background: var(--mb-accent-dim); border-color: var(--mb-accent); color: var(--mb-accent-hover); font-weight: 500; }
.mojo-ext .mb-radio input { display: none; }
.mojo-ext .mb-slider-row { display: flex; align-items: center; gap: 10px; margin-bottom: 8px; }
.mojo-ext .mb-slider-label { flex-shrink: 0; width: 90px; font-size: 10px; color: var(--mb-text-dim); }
.mojo-ext .mb-slider { flex: 1; -webkit-appearance: none; appearance: none; height: 4px; background: var(--mb-bg-input); border-radius: 2px; outline: none; }
.mojo-ext .mb-slider::-webkit-slider-thumb { -webkit-appearance: none; appearance: none; width: 14px; height: 14px; background: var(--mb-accent); border-radius: 50%; cursor: pointer; }
.mojo-ext .mb-slider-value {
  flex-shrink: 0; min-width: 38px; padding: 3px 7px;
  background: var(--mb-bg-input); border: 1px solid var(--mb-border);
  border-radius: 4px; text-align: center;
  font-size: 10px; font-weight: 500;
  font-variant-numeric: tabular-nums; color: var(--mb-text);
}
.mojo-ext .mb-input {
  width: 100%; padding: 7px 10px;
  background: var(--mb-bg-input); color: var(--mb-text);
  border: 1px solid var(--mb-border); border-radius: var(--mb-radius-sm);
  font-family: inherit; font-size: 11px; outline: none;
}
.mojo-ext .mb-input:focus { border-color: var(--mb-accent); }
.mojo-ext .mb-input::placeholder { color: var(--mb-text-muted); }
.mojo-ext select.mb-input {
  cursor: pointer; appearance: none; padding-right: 24px;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='10' height='6' viewBox='0 0 10 6'><path fill='%23999' d='M0 0l5 6 5-6z'/></svg>");
  background-repeat: no-repeat; background-position: right 9px center;
}
.mojo-ext .mb-row { display: flex; gap: 8px; align-items: center; }
.mojo-ext .mb-template-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.mojo-ext .mb-template-card {
  background: var(--mb-bg-input); border: 1px solid var(--mb-border);
  border-radius: var(--mb-radius-sm);
  padding: 8px; cursor: pointer; position: relative;
}
.mojo-ext .mb-template-card:hover { background: var(--mb-bg-hover); }
.mojo-ext .mb-template-card.active { border-color: var(--mb-accent); background: var(--mb-accent-dim); box-shadow: 0 0 0 1px var(--mb-accent) inset; }
.mojo-ext .mb-tc-preview {
  height: 56px; border-radius: 4px;
  background: #0c0c0c;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 6px; font-weight: 700; font-size: 12px;
}
.mojo-ext .mb-tc-fav {
  position: absolute; top: 5px; right: 5px;
  width: 18px; height: 18px;
  border-radius: 50%; border: 1px solid rgba(255,255,255,0.10);
  background: rgba(0,0,0,0.55); color: rgba(255,255,255,0.55);
  display: flex; align-items: center; justify-content: center; cursor: pointer;
  font-size: 9px;
}
.mojo-ext .mb-tc-fav.on { color: #ff3366; border-color: rgba(255,51,102,0.7); background: rgba(255,51,102,0.18); }
.mojo-ext .mb-tc-name { font-size: 10px; font-weight: 600; color: var(--mb-text-dim); text-align: center; }
.mojo-ext .mb-template-card.active .mb-tc-name { color: var(--mb-accent-hover); }
.mojo-ext .mb-filter-pills { display: flex; gap: 5px; margin-bottom: 8px; flex-wrap: wrap; }
.mojo-ext .mb-filter-pill {
  flex: 1; padding: 5px 9px;
  background: var(--mb-bg-input); border: 1px solid var(--mb-border);
  border-radius: 999px;
  font-size: 9px; font-weight: 500; text-align: center; cursor: pointer;
  color: var(--mb-text-dim); min-width: 50px;
}
.mojo-ext .mb-filter-pill:hover { color: var(--mb-text); }
.mojo-ext .mb-filter-pill.active { background: var(--mb-accent-dim); border-color: var(--mb-accent); color: var(--mb-accent-hover); }
.mojo-ext .mb-list {
  background: var(--mb-bg-input); border: 1px solid var(--mb-border);
  border-radius: var(--mb-radius-sm);
  max-height: 200px; overflow-y: auto;
}
.mojo-ext .mb-voice-row {
  display: flex; align-items: center; gap: 8px;
  padding: 7px 10px;
  border-bottom: 1px solid var(--mb-border); cursor: pointer;
  font-size: 11px;
}
.mojo-ext .mb-voice-row:last-child { border-bottom: 0; }
.mojo-ext .mb-voice-row:hover { background: var(--mb-bg-hover); }
.mojo-ext .mb-voice-row.selected { background: var(--mb-accent-dim); }
.mojo-ext .mb-voice-row.selected .mb-voice-name { color: var(--mb-accent-hover); }
.mojo-ext .mb-voice-name { font-weight: 500; }
.mojo-ext .mb-gender-badge {
  display: inline-block; padding: 1px 6px;
  border-radius: 999px;
  font-size: 8px; font-weight: 600;
  text-transform: uppercase;
}
.mojo-ext .mb-gender-badge.male { background: rgba(125,200,247,0.18); color: #7dc8f7; }
.mojo-ext .mb-gender-badge.female { background: rgba(247,167,200,0.18); color: #f7a7c8; }
.mojo-ext .mb-voice-actions { margin-left: auto; display: flex; gap: 5px; }
.mojo-ext .mb-voice-btn {
  width: 22px; height: 22px;
  background: var(--mb-bg-input); border: 1px solid var(--mb-border);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  cursor: pointer; font-size: 9px; color: var(--mb-text);
}
.mojo-ext .mb-voice-btn:hover { background: var(--mb-accent); border-color: var(--mb-accent); color: white; }
.mojo-ext .mb-music-search { position: relative; }
.mojo-ext .mb-music-search::before {
  content: '🔍'; position: absolute;
  left: 10px; top: 50%; transform: translateY(-50%);
  font-size: 10px; opacity: 0.5;
}
.mojo-ext .mb-music-search .mb-input { padding-left: 28px; }
.mojo-ext .mb-track-row {
  display: grid; grid-template-columns: 1fr auto auto;
  gap: 8px; align-items: center;
  padding: 7px 10px;
  border-bottom: 1px solid var(--mb-border);
  cursor: pointer;
}
.mojo-ext .mb-brand-svg { vertical-align: -3px; margin-right: 5px; display: inline-block; }
.mojo-ext .mb-track-row:last-child { border-bottom: 0; }
.mojo-ext .mb-track-row:hover { background: var(--mb-bg-hover); }
.mojo-ext .mb-track-cover {
  width: 32px; height: 32px; border-radius: 5px;
  display: grid; place-items: center; font-size: 14px;
}
.mojo-ext .mb-track-info .mb-track-name { font-size: 11px; font-weight: 500; color: var(--mb-text); }
.mojo-ext .mb-track-info .mb-track-meta { font-size: 9px; color: var(--mb-text-muted); margin-top: 1px; }
.mojo-ext .mb-track-bpm { font-size: 9px; color: var(--mb-text-muted); }
.mojo-ext .mb-track-actions { display: flex; gap: 4px; }
.mojo-ext .mb-drop-zone {
  margin-top: 10px; padding: 14px;
  background: rgba(var(--mb-accent-rgb), 0.06);
  border: 1.5px dashed rgba(var(--mb-accent-rgb), 0.35);
  border-radius: var(--mb-radius-sm);
  text-align: center;
  font-size: 10px; color: var(--mb-text-muted);
}
.mojo-ext .mb-theme-grid { display: flex; gap: 10px; flex-wrap: wrap; padding: 4px 0; }
.mojo-ext .mb-theme-swatch {
  width: 30px; height: 30px; border-radius: 50%;
  border: 2px solid var(--mb-border); cursor: pointer; position: relative;
}
.mojo-ext .mb-theme-swatch:hover { transform: scale(1.12); }
.mojo-ext .mb-theme-swatch.active { border-color: white; }
.mojo-ext .mb-theme-swatch.active::after {
  content: '✓'; position: absolute; inset: 0;
  display: flex; align-items: center; justify-content: center;
  color: white; font-size: 13px; font-weight: 700;
}
.mojo-ext .mb-apply-footer {
  position: sticky; bottom: -16px;
  margin: 14px -16px -16px;
  padding: 12px 16px;
  background: linear-gradient(180deg, transparent 0, var(--mb-bg) 40%);
  border-top: 1px solid var(--mb-border);
}
.mojo-ext .mb-comp-display {
  display: flex; align-items: center; gap: 10px;
  padding: 8px 10px;
  background: var(--mb-bg-input);
  border: 1px solid var(--mb-border);
  border-radius: var(--mb-radius-sm);
  font-size: 11px;
  color: var(--mb-text-muted);
  font-style: italic; margin-bottom: 8px;
}
.mojo-ext .mb-comp-display .mb-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--mb-text-muted); }
.mojo-ext .mb-loading {
  position: absolute; inset: 0;
  background: rgba(0,0,0,0.78);
  display: none; flex-direction: column; align-items: center; justify-content: center;
  z-index: 99; gap: 14px; padding: 20px;
}
.mojo-ext .mb-loading.show { display: flex; }
.mojo-ext .mb-loading-stages { display: flex; gap: 6px; margin-bottom: 12px; flex-wrap: wrap; justify-content: center; }
.mojo-ext .mb-loading-stage {
  font-size: 8px; font-weight: 700;
  color: var(--mb-text-muted);
  text-transform: uppercase;
  padding: 3px 8px;
  background: var(--mb-bg-input);
  border: 1px solid var(--mb-border);
  border-radius: 999px;
}
.mojo-ext .mb-loading-stage.active { color: var(--mb-accent-hover); background: var(--mb-accent-dim); border-color: var(--mb-accent); }
.mojo-ext .mb-loading-stage.done { color: var(--mb-success); border-color: rgba(16,185,129,0.4); background: rgba(16,185,129,0.08); }
.mojo-ext .mb-loading-progress {
  width: 200px; height: 4px;
  background: var(--mb-bg-input);
  border-radius: 999px; overflow: hidden;
}
.mojo-ext .mb-loading-bar {
  height: 100%; width: 0%;
  background: linear-gradient(90deg, var(--mb-accent), var(--mb-accent-hover));
  transition: width .3s ease;
}
.mojo-ext .mb-loading-text { font-size: 11px; color: var(--mb-text-dim); }

/* GEN-AI WORKFLOW GRID */
.gai-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.gai-card {
  background: rgba(15,20,55,0.55);
  border: 1px solid var(--glass-border);
  border-radius: 12px;
  padding: 14px;
  transition: border-color .2s, transform .2s;
}
.gai-card:hover { border-color: var(--purple); transform: translateY(-2px); }
.gai-card .gai-name { font-weight: 600; color: var(--ink); font-size: 13px; margin-bottom: 4px; }
.gai-card .gai-use { font-size: 11px; color: var(--ink-faint); line-height: 1.4; }
@media (max-width: 760px) { .gai-grid { grid-template-columns: repeat(2, 1fr); } }

/* ABOUT */
.about-wrap { display: grid; grid-template-columns: 1fr 1.15fr; gap: 50px; align-items: start; }
.about-bio p { font-size: 15px; color: var(--ink-soft); line-height: 1.75; margin-bottom: 14px; }
.about-bio strong { color: var(--ink); font-weight: 600; }
.timeline { position: relative; padding-left: 28px; }
.timeline::before {
  content: ''; position: absolute;
  left: 6px; top: 8px; bottom: 8px;
  width: 1px;
  background: linear-gradient(180deg, var(--purple), var(--blue), transparent);
}
.tl-item { position: relative; margin-bottom: 28px; }
.tl-item::before {
  content: ''; position: absolute;
  left: -28px; top: 6px;
  width: 13px; height: 13px;
  background: var(--bg-0);
  border: 2px solid var(--purple);
  border-radius: 50%;
}
.tl-item.current::before { background: var(--purple); box-shadow: 0 0 0 4px rgba(164,92,255,0.2); }
.tl-item .date { font-size: 11px; color: var(--ink-faint); letter-spacing: 0.1em; text-transform: uppercase; margin-bottom: 4px; }
.tl-item h4 { font-size: 16px; font-weight: 600; margin-bottom: 3px; }
.tl-item .company { font-size: 13px; color: var(--purple); margin-bottom: 6px; font-weight: 500; }
.tl-item p { font-size: 13px; color: var(--ink-soft); line-height: 1.55; }

/* CTA + FOOTER */
.cta-band {
  margin: 60px 0 40px;
  padding: 50px 36px;
  background:
    radial-gradient(ellipse at 30% 30%, rgba(75,123,255,0.3), transparent 60%),
    radial-gradient(ellipse at 70% 70%, rgba(164,92,255,0.3), transparent 60%),
    rgba(15,20,55,0.7);
  border: 1px solid var(--glass-border-bright);
  border-radius: 28px; text-align: center;
}
.cta-band h2 {
  font-family: 'Space Grotesk';
  font-weight: 700;
  font-size: clamp(26px, 3.4vw, 38px);
  letter-spacing: -0.02em;
  margin-bottom: 10px; max-width: 640px;
  margin-left: auto; margin-right: auto;
  line-height: 1.1;
}
.cta-band p { color: var(--ink-soft); margin-bottom: 24px; font-size: 14px; }
.cta-band .actions { display: inline-flex; gap: 10px; flex-wrap: wrap; justify-content: center; }

/* Contact form */
.contact-form {
  max-width: 560px; margin: 0 auto; text-align: left;
  display: flex; flex-direction: column; gap: 12px;
}
.contact-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.contact-input {
  width: 100%; padding: 13px 16px;
  background: var(--glass); border: 1px solid var(--glass-border);
  border-radius: 12px;
  color: var(--ink); font-family: inherit; font-size: 14px;
  transition: border-color .2s, background .2s, box-shadow .2s;
  outline: none;
}
.contact-input::placeholder { color: var(--ink-faint); }
.contact-input:hover { border-color: var(--glass-border-bright); background: var(--glass-strong); }
.contact-input:focus {
  border-color: var(--purple);
  background: var(--glass-strong);
  box-shadow: 0 0 0 3px rgba(164,92,255,0.18);
}
.contact-textarea { resize: vertical; min-height: 120px; line-height: 1.5; font-family: inherit; }
.contact-actions {
  display: flex; flex-wrap: wrap; gap: 10px; align-items: center;
  margin-top: 4px;
}
.contact-submit { cursor: pointer; border: none; font-family: inherit; }
.contact-submit:disabled { opacity: 0.6; cursor: progress; }
.contact-status {
  font-size: 13px;
  padding: 10px 14px;
  border-radius: 10px;
  display: none;
}
.contact-status.show { display: block; }
.contact-status.ok {
  background: rgba(34,197,94,0.12); border: 1px solid rgba(34,197,94,0.35);
  color: #4ade80;
}
.contact-status.err {
  background: rgba(239,68,68,0.12); border: 1px solid rgba(239,68,68,0.35);
  color: #f87171;
}
@media (max-width: 540px) {
  .contact-row { grid-template-columns: 1fr; }
  .contact-actions { justify-content: center; }
  .contact-actions .btn-primary { width: 100%; }
}
footer {
  padding: 36px 0 28px;
  border-top: 1px solid var(--glass-border);
  margin-top: 30px;
  display: grid; grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 36px;
  font-size: 13px; color: var(--ink-soft);
}
footer h5 { color: var(--ink); font-size: 13px; margin-bottom: 12px; }
footer a { color: var(--ink-soft); text-decoration: none; display: block; padding: 4px 0; cursor: pointer; }
footer a:hover { color: var(--ink); }
footer .socials { display: flex; gap: 8px; margin-top: 14px; }
footer .socials a {
  width: 34px; height: 34px;
  background: var(--glass);
  border: 1px solid var(--glass-border);
  border-radius: 50%;
  display: grid; place-items: center;
  padding: 0;
}
.copyright {
  grid-column: 1 / -1;
  padding-top: 22px;
  margin-top: 12px;
  border-top: 1px solid var(--glass-border);
  display: flex; justify-content: space-between;
  font-size: 11px; color: var(--ink-faint);
}

/* RESPONSIVE */
@media (max-width: 900px) {
  nav .links { display: none; }
  nav .cta { display: none; }
  nav .brand-role { display: none; }
  nav { padding: 12px 16px; }
  nav.scrolled { padding: 8px 16px; }
  body { padding-top: 60px; }
  .hero { grid-template-columns: 1fr; padding: 30px 0 50px; min-height: auto; }
  .hero-visual { height: 380px; order: -1; }
  .character { width: 280px; height: 360px; }
  .role-row .role-desc { text-align: left; max-width: 100%; margin-left: 36px; }
  .role-row { flex-wrap: wrap; }
  .about-wrap { grid-template-columns: 1fr; gap: 30px; }
  footer { grid-template-columns: 1fr 1fr; }
  .tool-row .tool-header { grid-template-columns: 48px 1fr; gap: 12px; padding: 16px; }
  .tool-row .t-tech { display: none; }
}
@media (max-width: 540px) {
  .hero h1 { font-size: 34px; }
  .grid { grid-template-columns: repeat(2, 1fr); gap: 10px; }
  .hero-stats .num { font-size: 18px; }
  footer { grid-template-columns: 1fr; }
  .gai-grid { grid-template-columns: 1fr; }
  .mojo-ext .mb-check-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
}

/* ====================================================================
   MOBILE-FIRST CLEAN LAYOUT (≤768px)
   Hero, work grid, tools, gallery all reflow for small screens
==================================================================== */
@media (max-width: 768px) {
  /* Container/safe paddings */
  .wrap { padding-left: 16px; padding-right: 16px; }
  section { padding: 60px 0; }
  .sec-head { padding: 0 4px; }

  /* HERO ---------------------------------------------------------- */
  .hero {
    grid-template-columns: 1fr;
    gap: 24px;
    padding: 30px 0 50px;
    min-height: auto;
  }
  .hero-body { gap: 16px; order: 1; }
  .hero-eyebrow { font-size: 11px; padding: 5px 12px; }
  .hero-h1 { font-size: clamp(36px, 9vw, 52px); line-height: 1.08; }
  .hero-h1-sub { font-size: clamp(24px, 6.5vw, 34px); }
  .hero-desc { font-size: 14px; line-height: 1.55; }
  .hero-chips { gap: 6px; }
  .hero-chip { font-size: 11px; padding: 5px 10px; }
  .hero-stat-cards { grid-template-columns: 1fr 1fr; gap: 8px; }
  .hero-stat-card.featured { grid-column: 1 / -1; }
  .hero-stat-num { font-size: 22px; }
  .hero-stat-num .plus { font-size: 18px; }
  .hero-stat-num .hero-stat-x { font-size: 12px; }
  .hero-stat-label { font-size: 10px; }
  .hero-cta-row { gap: 8px; }
  .hero-cta-row .btn-primary { padding: 11px 18px; font-size: 13px; }

  /* Keep all hero elements but SCALE the whole workspace to fit mobile */
  .hero-visual {
    height: 360px;
    order: 2;
    min-height: 0;
    max-height: none;
    overflow: visible;
    position: relative;
  }
  .hero-visual-glow { inset: 15% 5%; }
  .workspace-3d {
    width: 520px;
    height: 460px;
    max-width: none;
    position: absolute;
    left: 50%;
    top: 0;
    transform: translateX(-50%) scale(0.62);
    transform-origin: top center;
  }
  .hero-character {
    width: 240px;
    right: 8%;
    bottom: -8%;
  }
  /* Disable hover transforms on mobile (preserve translateZ values) */
  .ws-phone:hover,
  .ws-ae:hover,
  .ws-code:hover,
  .ws-chat:hover { transform: inherit; }

  /* NAV ---------------------------------------------------------- */
  nav .brand-name { font-size: 15px; }
  nav { padding: 10px 16px; }
  body { padding-top: 56px; }

  /* WORK SECTION ------------------------------------------------- */
  .sec-head h2 { font-size: clamp(28px, 7vw, 40px); }
  .eyebrow { font-size: 11px; }
  .filter-bars { gap: 8px; margin-bottom: 22px; }
  .filter-bar { padding: 4px 6px; }
  .filter-label { font-size: 9px; padding: 0 4px; }
  .filter-pill { font-size: 11px; padding: 5px 10px; }
  .filter-pill .count { font-size: 9px; padding: 1px 5px; }

  .grid {
    grid-auto-columns: 170px;
    gap: 12px;
    padding: 10px 4px 24px;
  }
  .grid .app-card { width: 170px; min-width: 170px; }
  .app-card { padding: 10px; border-radius: 14px; }
  .app-card .icon-wrap { border-radius: 12px; }
  .app-card h3 { font-size: 13px; line-height: 1.25; margin-top: 8px; }
  .app-card .quick-info { font-size: 10px; -webkit-line-clamp: 2; margin-top: 4px; }
  .card-hint { font-size: 9px; margin-top: 6px; }
  .app-card .badges-row {
    top: 8px; left: 8px; right: 8px;
    gap: 4px; flex-wrap: wrap;
    max-width: calc(100% - 16px);
  }
  .badge-type, .badge-company {
    font-size: 8px;
    padding: 2px 6px;
    letter-spacing: 0.06em;
    max-width: 100%;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }
  .featured-strip {
    font-size: 8px; padding: 3px 6px;
    bottom: 8px; right: 8px;
    max-width: calc(100% - 16px);
  }

  .grid-nav { width: 36px; height: 36px; font-size: 20px; }
  .grid-nav-prev { left: -8px; }
  .grid-nav-next { right: -8px; }

  /* TOOLS SECTION ------------------------------------------------ */
  .tool-row.open .t-body,
  .tool-row#tool-mojo.open .t-body,
  .tool-row#tool-campaign.open .t-body { grid-template-columns: 1fr !important; }
  .t-body .t-features { border-right: 0; border-bottom: 1px solid var(--glass-border); padding: 18px; }
  .t-body > * { min-width: 0; overflow-x: auto; }
  .tool-row .tool-header { padding: 14px; gap: 10px; }
  .tool-row .t-icon { width: 44px; height: 44px; }
  .tool-row h3 { font-size: 15px; }
  .tool-row .t-tagline { font-size: 12px; }
  .tool-row .t-toggle { width: 28px; height: 28px; }

  /* ABOUT SECTION ------------------------------------------------ */
  .about-wrap { grid-template-columns: 1fr; gap: 24px; }
  .about-bio p { font-size: 14px; line-height: 1.6; }
  .timeline { gap: 18px; }
  .tl-item .date { font-size: 11px; }
  .tl-item h3 { font-size: 15px; }
  .tl-item .company { font-size: 12px; }
  .tl-item p { font-size: 13px; }
  .role-row { flex-wrap: wrap; gap: 10px; }

  /* CV / CONTACT ------------------------------------------------- */
  .cv-actions { flex-direction: column; gap: 8px; }
  .cv-actions .btn-primary, .cv-actions .btn-ghost { width: 100%; text-align: center; }

  /* FOOTER ------------------------------------------------------- */
  footer { grid-template-columns: 1fr; gap: 28px; padding: 40px 16px 24px; }
  footer .copyright { grid-column: 1; flex-direction: column; gap: 6px; }

  /* APP MODAL ---------------------------------------------------- */
  .app-modal { padding: 20px 18px; max-height: 92vh; }
  .app-modal .x-header { gap: 12px; }
  .app-modal .x-icon { width: 56px; height: 56px; }
  .app-modal .x-title h3 { font-size: 18px; line-height: 1.2; }
  .app-modal .x-meta { font-size: 11px; }
  .app-modal .x-desc { font-size: 13px; }
  .app-nav { width: 38px; height: 38px; font-size: 20px; }
  .app-nav-prev { left: 6px; }
  .app-nav-next { right: 6px; }

  /* GALLERY ROWS in modal --------------------------------------- */
  .g-row { gap: 8px; }
  .g-row-wide { grid-template-columns: 1fr; }
  .g-row-square { grid-template-columns: repeat(2, 1fr); }
  .g-row-tall, .g-row-screens { grid-template-columns: repeat(2, 1fr); }

  /* LIGHTBOX ----------------------------------------------------- */
  .g-lightbox video, .g-lightbox img {
    max-width: 90vw; max-height: 70vh;
  }
  .g-lb-nav { width: 38px; height: 38px; font-size: 22px; }
  .g-lb-counter { bottom: 12px; font-size: 11px; }

  /* CLIENT TICKER ----------------------------------------------- */
  .clients-rail { height: 50px; }
  .clients-rail .client { font-size: 13px; padding: 0 20px; }
}

/* Very small phones */
@media (max-width: 380px) {
  .grid { grid-auto-columns: 150px; }
  .grid .app-card { width: 150px; min-width: 150px; }
  .hero-h1 { font-size: 32px; }
  .hero-h1-sub { font-size: 22px; }
  .hero-stat-cards { grid-template-columns: 1fr; }
  .hero-stat-card.featured { grid-column: 1; }
  .filter-pill { font-size: 10px; padding: 4px 8px; }
  .ws-phone { width: min(220px, 75vw); }
  .workspace-3d, .hero-visual { height: 420px; }
}

/* ===== App modal Gallery ===== */
.g-section { display: flex; flex-direction: column; gap: 14px; margin-bottom: 18px; }
.g-row { display: grid; gap: 10px; }
.g-row-wide { grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }
.g-row-square { grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); }
.g-row-tall { grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); }
.g-row-screens {
  display: flex;
  gap: 10px;
  overflow-x: auto;
  overflow-y: hidden;
  padding-bottom: 8px;
  scrollbar-width: thin;
  scrollbar-color: rgba(164,92,255,0.3) transparent;
}
.g-row-screens::-webkit-scrollbar { height: 6px; }
.g-row-screens::-webkit-scrollbar-track { background: rgba(255,255,255,0.03); border-radius: 3px; }
.g-row-screens::-webkit-scrollbar-thumb { background: linear-gradient(90deg, var(--blue), var(--purple)); border-radius: 3px; }
.g-row-screens .g-tile {
  flex: 0 0 130px;
  height: 230px;
  aspect-ratio: auto !important;
}
.g-sub-label {
  font-size: 11px; letter-spacing: 0.18em; text-transform: uppercase;
  color: #a45cff; font-weight: 700; margin: 4px 0 -4px;
}
.g-tile {
  position: relative;
  border-radius: 10px;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,0.08);
  background: #14193e;
  cursor: pointer;
  transition: transform .25s cubic-bezier(.2,.8,.3,1), box-shadow .25s, border-color .25s;
  contain: layout style;
}
.g-tile video, .g-tile img { width: 100%; height: 100%; object-fit: cover; display: block; }
.g-tile .g-poster { position: absolute; inset: 0; z-index: 1; transition: opacity .25s; }
.g-tile video { position: absolute; inset: 0; z-index: 0; }
.g-tile.is-playing .g-poster { opacity: 0; }
.g-tile.is-playing video { z-index: 2; }
.g-tile:hover { transform: translateY(-2px) scale(1.015); border-color: rgba(164,92,255,0.45); box-shadow: 0 12px 30px rgba(164,92,255,0.25); }
.g-tile .g-play {
  position: absolute; top: 50%; left: 50%; transform: translate(-50%,-50%);
  width: 38px; height: 38px; border-radius: 50%;
  background: rgba(0,0,0,0.55); display: grid; place-items: center;
  font-size: 13px; color: #fff;
  pointer-events: none; opacity: 0.9;
  transition: opacity .2s, transform .2s;
}
.g-tile:hover .g-play { opacity: 0; transform: translate(-50%,-50%) scale(0.7); }
.g-tile .g-hero-star {
  position: absolute;
  top: 6px; right: 6px;
  width: 28px; height: 28px;
  border-radius: 50%;
  background: rgba(0,0,0,0.6);
  border: 1.5px solid rgba(255,255,255,0.2);
  color: rgba(255,255,255,0.6);
  font-size: 14px;
  cursor: pointer;
  display: grid; place-items: center;
  z-index: 5;
  transition: all .2s;
}
.g-tile .g-hero-star:hover {
  background: rgba(251,191,36,0.3);
  color: #fbbf24;
  border-color: #fbbf24;
  transform: scale(1.1);
}
.g-tile .g-hero-star.on {
  background: linear-gradient(135deg, #fbbf24, #f59e0b);
  border-color: transparent;
  color: white;
  box-shadow: 0 4px 12px rgba(251,191,36,0.5);
}
.g-tile.is-featured { box-shadow: 0 0 0 2px #fbbf24 inset; }
.g-tile .g-hero-trim {
  position: absolute;
  top: 6px; right: 40px;
  padding: 5px 10px;
  border-radius: 100px;
  background: rgba(0,0,0,0.7);
  border: 1.5px solid rgba(251,191,36,0.5);
  color: #fbbf24;
  font-size: 10px; font-weight: 700;
  cursor: pointer;
  display: inline-flex; align-items: center; gap: 3px;
  z-index: 5;
  transition: all .2s;
  font-family: 'Space Grotesk';
  white-space: nowrap;
}
.g-tile .g-hero-trim:hover {
  background: rgba(251,191,36,0.2);
  transform: scale(1.05);
}

/* Trim modal — scrub video to pick hero start */
.trim-modal {
  position: fixed; inset: 0;
  background: rgba(5,8,30,0.88);
  display: flex; align-items: center; justify-content: center;
  z-index: 12000;
  padding: 24px;
  animation: gLbFade .2s ease;
}
.trim-modal-inner {
  background: #0f1230;
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 18px;
  padding: 22px;
  max-width: 480px;
  width: 100%;
  display: flex; flex-direction: column;
  gap: 12px;
  position: relative;
  box-shadow: 0 30px 80px rgba(0,0,0,0.55);
}
.trim-close {
  position: absolute; top: 12px; right: 12px;
  width: 32px; height: 32px;
  border-radius: 50%;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.12);
  color: white; font-size: 18px; cursor: pointer;
  display: grid; place-items: center; line-height: 1;
}
.trim-close:hover { background: rgba(255,255,255,0.15); }
.trim-title {
  font-family: 'Space Grotesk'; font-weight: 700; font-size: 16px;
  letter-spacing: -0.01em;
}
.trim-sub { font-size: 12px; color: #aaa; line-height: 1.5; }
.trim-video {
  width: 100%;
  max-height: 60vh;
  border-radius: 12px;
  background: #000;
}
.trim-time-row {
  display: flex; justify-content: space-between; align-items: center;
  font-size: 12px; color: #aaa;
  padding: 0 4px;
}
.trim-time-row strong { color: #fbbf24; font-family: 'Space Grotesk'; }
.trim-set-btn {
  padding: 12px 18px;
  background: linear-gradient(135deg, #fbbf24, #f59e0b);
  color: white;
  border: none;
  border-radius: 100px;
  font-family: 'Space Grotesk';
  font-weight: 700;
  font-size: 14px;
  cursor: pointer;
  letter-spacing: 0.02em;
  box-shadow: 0 8px 24px rgba(251,191,36,0.35);
  transition: transform .2s, box-shadow .2s;
}
.trim-set-btn:hover { transform: translateY(-2px); box-shadow: 0 12px 30px rgba(251,191,36,0.5); }
.trim-set-btn:active { transform: translateY(0); }

.g-tile .g-badge {
  position: absolute; top: 6px; left: 6px;
  padding: 3px 7px;
  font-size: 9px; font-weight: 700; letter-spacing: 0.06em;
  text-transform: uppercase;
  color: white;
  border-radius: 5px;
  z-index: 2;
  box-shadow: 0 2px 6px rgba(0,0,0,0.3);
}
.g-edit-bar {
  padding: 10px 14px; margin-top: 6px;
  background: rgba(245,158,11,0.1);
  border: 1px solid rgba(245,158,11,0.3);
  border-radius: 10px;
  font-size: 11.5px; color: #fbbf24;
  display: flex; gap: 10px; align-items: center; flex-wrap: wrap;
}
.g-edit-bar button {
  padding: 5px 12px; font-size: 11px; font-weight: 600;
  background: rgba(255,255,255,0.08); color: #fff; border: 1px solid rgba(255,255,255,0.12);
  border-radius: 100px; cursor: pointer;
}
.g-edit-bar button:hover { background: rgba(255,255,255,0.15); }
.g-ghost { opacity: 0.35; transform: scale(0.95); }
.g-chosen { cursor: grabbing !important; }
.g-drag { opacity: 0.6; transform: rotate(2deg) scale(1.04); box-shadow: 0 20px 50px rgba(164,92,255,0.5) !important; }

/* Edit mode floating toggle button */
.edit-toggle {
  position: fixed; bottom: 22px; right: 22px;
  display: inline-flex; align-items: center; gap: 8px;
  padding: 10px 16px;
  background: rgba(15,18,48,0.92);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 100px;
  color: rgba(255,255,255,0.7);
  font-family: 'Space Grotesk'; font-size: 12px; font-weight: 600;
  letter-spacing: 0.08em; text-transform: uppercase;
  cursor: pointer;
  z-index: 9000;
  transition: all .2s;
  box-shadow: 0 8px 24px rgba(0,0,0,0.4);
}
.edit-toggle .edit-icon { font-size: 14px; }
.edit-toggle:hover { color: white; border-color: rgba(164,92,255,0.5); transform: translateY(-2px); }
body.edit-mode-on .edit-toggle {
  background: linear-gradient(135deg, #4b7bff, #a45cff);
  color: white;
  border-color: transparent;
  box-shadow: 0 8px 30px rgba(164,92,255,0.5);
}
body.edit-mode-on .edit-toggle .edit-label::after { content: ' · ON'; }

/* Edit mode visual cues on tiles */
body.edit-mode-on .g-tile {
  cursor: grab;
  outline: 2px dashed rgba(164,92,255,0.4);
  outline-offset: -2px;
}
body.edit-mode-on .g-tile:hover {
  outline-color: rgba(164,92,255,0.9);
}

/* Edit toast notification */
.edit-toast {
  position: fixed; bottom: 80px; right: 22px;
  padding: 10px 18px;
  background: linear-gradient(135deg, rgba(75,123,255,0.95), rgba(164,92,255,0.95));
  color: white;
  border-radius: 100px;
  font-family: 'Space Grotesk'; font-size: 12px; font-weight: 600;
  letter-spacing: 0.04em;
  z-index: 9001;
  opacity: 0; transform: translateY(10px);
  transition: opacity .25s, transform .25s;
  pointer-events: none;
  box-shadow: 0 10px 30px rgba(164,92,255,0.4);
}
.edit-toast.show { opacity: 1; transform: translateY(0); }

/* When lightbox is open, freeze gallery tiles in modal behind */
body.lb-open .app-modal-overlay .g-tile { pointer-events: none; }
body.lb-open .app-modal-overlay .g-tile video { display: none; }
body.lb-open .app-modal-overlay .g-tile .g-poster { opacity: 1 !important; }

/* Lightbox — compact centered popup, not full screen */
.g-lightbox {
  position: fixed; inset: 0;
  background: rgba(5,8,30,0.85);
  display: flex; align-items: center; justify-content: center;
  z-index: 11000;
  padding: 24px;
  animation: gLbFade .15s ease;
}
@keyframes gLbFade { from { opacity: 0; } to { opacity: 1; } }
.g-lightbox video, .g-lightbox img {
  max-width: 56vw;
  max-height: 76vh;
  width: auto; height: auto;
  object-fit: contain;
  border-radius: 14px;
  box-shadow: 0 40px 100px rgba(0,0,0,0.5), 0 0 0 1px rgba(255,255,255,0.06);
  background: #000;
  animation: gLbPop .25s cubic-bezier(.2,.8,.3,1);
}
@keyframes gLbPop { from { transform: scale(0.92); opacity: 0; } to { transform: scale(1); opacity: 1; } }
.g-lb-stage-wrap {
  display: flex; align-items: center; justify-content: center;
  gap: 18px;
  max-width: 100%; max-height: 100%;
}
.g-lightbox .g-lb-stage {
  position: relative;
  display: inline-flex;
  align-items: center; justify-content: center;
  flex: 0 0 auto;
  line-height: 0;
}
.g-lb-close {
  position: absolute;
  top: -16px; right: -16px;
  width: 38px; height: 38px;
  border-radius: 50%;
  background: rgba(15,18,48,0.95);
  border: 1.5px solid rgba(255,255,255,0.2);
  color: white; font-size: 22px; cursor: pointer; line-height: 1;
  display: grid; place-items: center;
  transition: background .2s, border-color .2s, transform .15s;
  z-index: 20;
  pointer-events: auto;
  box-shadow: 0 8px 22px rgba(0,0,0,0.6);
}
.g-lb-close:hover { background: rgba(164,92,255,0.85); border-color: var(--purple); transform: scale(1.1); }
.g-lb-nav {
  width: 64px; height: 64px;
  border-radius: 50%;
  background: rgba(15,18,48,0.85);
  border: 1px solid rgba(255,255,255,0.15);
  color: white; font-size: 36px; cursor: pointer; line-height: 1;
  display: grid; place-items: center;
  transition: background .2s, border-color .2s, transform .15s;
  flex-shrink: 0;
}
.g-lb-nav:hover { background: rgba(164,92,255,0.65); border-color: var(--purple); transform: scale(1.08); }
.g-lb-spinner {
  position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%);
  z-index: 5; pointer-events: none;
}
.g-lb-spin-ring {
  width: 44px; height: 44px; border-radius: 50%;
  border: 3px solid rgba(255,255,255,0.15);
  border-top-color: var(--purple);
  animation: gLbSpin .8s linear infinite;
}
@keyframes gLbSpin { to { transform: rotate(360deg); } }
.g-lb-counter {
  position: absolute; bottom: 18px; left: 50%; transform: translateX(-50%);
  padding: 5px 12px;
  background: rgba(15,18,48,0.85);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 100px;
  font-size: 11.5px; font-weight: 600; color: white;
  font-family: 'Space Grotesk';
  letter-spacing: 0.06em;
}
@media (max-width: 900px) {
  .g-lightbox video, .g-lightbox img { max-width: 70vw; max-height: 72vh; }
  .g-lb-stage-wrap { gap: 8px; }
  .g-lb-nav { width: 44px; height: 44px; font-size: 26px; }
}

/* CV actions in about + PDF modal */
.cv-actions { display: flex; gap: 10px; margin-top: 18px; flex-wrap: wrap; }
.cv-actions .btn-primary, .cv-actions .btn-ghost { padding: 10px 18px; font-size: 13px; cursor: pointer; }
.cv-actions .cv-see { font-family: inherit; border: none; }

.cv-modal-overlay {
  position: fixed; inset: 0;
  background: rgba(5,8,30,0.92);
  display: none; align-items: center; justify-content: center;
  z-index: 10000; padding: 24px;
}
.cv-modal-overlay.open { display: flex; }
@keyframes cvFade { from { opacity: 0; } to { opacity: 1; } }
.cv-modal {
  width: 100%; max-width: 980px; height: 92vh;
  background: #0f1230; border: 1px solid var(--glass-border-bright); border-radius: 16px;
  display: flex; flex-direction: column; overflow: hidden;
  box-shadow: 0 30px 80px rgba(0,0,0,0.55);
  animation: cvSlide .25s cubic-bezier(.2,.8,.3,1);
}
@keyframes cvSlide { from { transform: translateY(20px); opacity: 0; } to { transform: translateY(0); opacity: 1; } }
.cv-modal-head {
  display: flex; align-items: center; justify-content: space-between;
  padding: 14px 18px; border-bottom: 1px solid var(--glass-border);
  background: rgba(255,255,255,0.02);
}
.cv-modal-title { font-family: 'Space Grotesk'; font-weight: 600; font-size: 15px; color: var(--ink); letter-spacing: -0.01em; }
.cv-modal-actions { display: flex; gap: 10px; align-items: center; }
.cv-modal-btn { padding: 7px 14px; font-size: 12px; }
.cv-modal-close {
  width: 34px; height: 34px; border-radius: 50%;
  background: rgba(255,255,255,0.06); border: 1px solid var(--glass-border-bright);
  color: var(--ink); font-size: 18px; cursor: pointer; line-height: 1;
  display: grid; place-items: center;
  transition: background .2s, border-color .2s;
}
.cv-modal-close:hover { background: rgba(255,255,255,0.12); border-color: var(--purple); }
.cv-modal-frame { flex: 1; width: 100%; border: 0; background: #1a1a1a; }
@media (max-width: 640px) {
  .cv-modal-overlay { padding: 0; }
  .cv-modal { height: 100vh; max-width: 100%; border-radius: 0; border: 0; }
}

/* ===== Marketing Hub showcase (tool-hub) ===== */
.hub-demo-copy { font-size: 13px; color: var(--ink-soft); line-height: 1.55; margin: 10px 0 14px; }
.hub-demo-btn {
  display: inline-flex; align-items: center; gap: 8px;
  background: linear-gradient(135deg, var(--purple), #0ea5ff);
  color: #fff; font-weight: 600; font-size: 13.5px;
  padding: 11px 18px; border-radius: 12px; text-decoration: none;
  box-shadow: 0 8px 24px rgba(164,92,255,0.35); transition: transform .16s, box-shadow .16s;
}
.hub-demo-btn:hover { transform: translateY(-2px); box-shadow: 0 12px 30px rgba(164,92,255,0.45); }
.hub-teaser { display: grid; grid-template-columns: repeat(9, 1fr); gap: 8px; margin-top: 16px; }
.hub-teaser img {
  width: 100%; aspect-ratio: 1; border-radius: 12px; object-fit: cover;
  background: rgba(255,255,255,0.05); border: 1px solid rgba(255,255,255,0.08);
}
@media (max-width: 600px){ .hub-teaser { grid-template-columns: repeat(5, 1fr); } }

/* ===== Marketing Hub: click-to-preview screenshot gallery ===== */
.hub-shot-frame {
  position: relative; width: 100%; aspect-ratio: 16 / 10;
  border-radius: 12px; overflow: hidden; margin: 8px 0 14px;
  border: 1px solid rgba(255,255,255,0.10); background: #070b18;
  box-shadow: 0 12px 34px rgba(0,0,0,0.40);
}
.hub-shot-frame img { width: 100%; height: 100%; object-fit: cover; object-position: top center; display: block; animation: hubShotFade .25s ease; }
@keyframes hubShotFade { from { opacity: 0.35; } to { opacity: 1; } }
.hub-teaser { display: grid; grid-template-columns: repeat(9, 1fr); gap: 8px; margin-top: 0; }
.hub-pick { padding: 0; border: none; background: transparent; cursor: pointer; border-radius: 12px; line-height: 0; }
.hub-pick img {
  width: 100%; aspect-ratio: 1; border-radius: 12px; object-fit: cover; display: block;
  background: rgba(255,255,255,0.05); border: 1px solid rgba(255,255,255,0.08);
  transition: transform .15s, box-shadow .15s, border-color .15s; opacity: .72;
}
.hub-pick:hover img { transform: translateY(-2px); opacity: 1; }
.hub-pick.active img { opacity: 1; border-color: var(--purple); box-shadow: 0 0 0 2px var(--purple); }
@media (max-width: 600px){ .hub-teaser { grid-template-columns: repeat(5, 1fr); } }
