
/* Sasa’s Cloud — Magic Black / Neon Green Glow / Animated */
:root{
  --primary1: var(--neon);
  --primary2: rgba(34,211,238,.95);
  --accent: #8B5CF6;
  --accent2: #A78BFA;
  --accentSoft: rgba(139,92,246,.10);
  --accentBorder: rgba(139,92,246,.22);

  --bg0:#05070c;
  --bg1:#070A12;
  --panel:rgba(255,255,255,.03);
  --panel2:rgba(255,255,255,.02);
  --border:rgba(255,255,255,.07);
  --text:#EAF1FF;
  --muted:rgba(234,241,255,.72);
  --muted2:rgba(234,241,255,.52);
  --neon:#39FF88;
  --lime:#B7FF3C;
  --cyan:#22D3EE;
  --warn:#F59E0B;
  --danger:#FF4D6D;

  --radius:18px;
  --radius2:14px;
  --shadow: 0 24px 70px rgba(0,0,0,.55);
  --maxw:1180px;
  --t: 260ms cubic-bezier(.2,.9,.25,1);
}

*{box-sizing:border-box}
html,body{height:100%}
body{
  margin:0;
  font-family: Inter, system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  color:var(--text);
  background:
    radial-gradient(1000px 700px at 15% 10%, rgba(34,211,238,.10), transparent 60%),
    radial-gradient(900px 650px at 85% 18%, rgba(57,255,136,.10), transparent 58%),
    radial-gradient(850px 550px at 40% 90%, rgba(183,255,60,.08), transparent 55%),
    linear-gradient(135deg,var(--bg0),var(--bg1) 55%, #03040a);
  -webkit-font-smoothing: antialiased;
  overflow-x:hidden;
}

a{color:inherit}
code{font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", monospace}
.small{font-size:12.5px;color:var(--muted2)}
.lead{color:var(--muted); font-size:18px; line-height:1.6; margin: 12px 0 0}
.p{color:var(--muted); line-height:1.75; margin:0}
h1,h2,h3{margin:0}
h1{font-size:clamp(38px, 4.8vw, 62px); line-height:1.03; letter-spacing:-.03em}
h2{font-size:clamp(22px, 2.8vw, 30px); letter-spacing:-.02em}
h3{font-size:16px; letter-spacing:-.01em}

.wrap{display:flex; justify-content:center; padding:56px 20px 110px}
.container{width:min(var(--maxw), 95vw)}
.stack{display:flex; flex-direction:column; gap:14px}
.row{display:flex; align-items:center}
.space{display:flex; justify-content:space-between; align-items:center; gap:12px}

.header{
  display:flex; justify-content:space-between; align-items:center; gap:16px;
  margin-bottom:44px; flex-wrap:wrap;
}
.brand{display:flex; align-items:center; gap:14px}
.logo{
  width:52px; height:52px; border-radius:14px;
  background: linear-gradient(135deg, rgba(57,255,136,.95), rgba(34,211,238,.95));
  box-shadow: 0 0 28px rgba(57,255,136,.18), 0 18px 40px rgba(0,0,0,.55);
  display:grid; place-items:center;
  font-weight:1000; letter-spacing:-.02em;
  color:#041008;
  user-select:none;
}

.nav{display:flex; align-items:center; gap:10px; flex-wrap:wrap}
.nav a{
  text-decoration:none;
  color:var(--muted);
  font-weight:900;
  padding:10px 12px;
  border-radius:999px;
  border:1px solid transparent;
  transition: var(--t);
}
.nav a:hover{
  color:var(--text);
  border-color: rgba(57,255,136,.18);
  background: rgba(57,255,136,.05);
}

.card{
  background: linear-gradient(180deg, var(--panel), var(--panel2));
  border:1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  backdrop-filter: blur(10px);
}
.pad{padding:26px}
.pad-lg{padding:32px}
.hover:hover{
  border-color: rgba(57,255,136,.20);
  box-shadow: 0 0 0 1px rgba(57,255,136,.08), var(--shadow);
  transform: translateY(-3px);
  transition: var(--t);
}

.kicker{
  display:inline-flex; align-items:center; gap:10px;
  padding:8px 12px;
  border-radius:999px;
  background: rgba(57,255,136,.06);
  border: 1px solid rgba(57,255,136,.18);
  color: var(--neon);
  font-weight:1000;
  letter-spacing:.02em;
}
.led{
  width:9px; height:9px; border-radius:999px;
  background: var(--neon);
  box-shadow: 0 0 18px rgba(57,255,136,.65);
  animation: blink 2.2s infinite;
}
@keyframes blink{
  0%,100%{opacity:.25; transform:scale(.95)}
  35%{opacity:1; transform:scale(1.08)}
  60%{opacity:.55}
}

.glowline{
  height:2px; width: 200px;
  background: linear-gradient(90deg, transparent, rgba(57,255,136,.9), rgba(34,211,238,.7), transparent);
  filter: blur(.2px);
  border-radius:999px;
  margin-top:10px;
  animation: sweep 3.2s infinite;
}
@keyframes sweep{
  0%{transform: translateX(-40px); opacity:.2}
  45%{opacity:1}
  100%{transform: translateX(260px); opacity:.25}
}

.btns{display:flex; gap:12px; flex-wrap:wrap; margin-top:18px}
.btn{
  display:inline-flex; align-items:center; justify-content:center; gap:10px;
  padding:12px 16px;
  border-radius: 14px;
  font-weight:1000;
  text-decoration:none;
  border:1px solid rgba(255,255,255,.08);
  transition: var(--t);
  user-select:none;
  cursor:pointer;
  background: rgba(255,255,255,.02);
  color: var(--text);
}
.btn.primary{
  color:#041008;
  background: linear-gradient(90deg, var(--primary1), var(--primary2));
  box-shadow: 0 0 26px rgba(57,255,136,.22);
}
.btn.primary:hover{transform: translateY(-3px); box-shadow: 0 0 40px rgba(57,255,136,.30)}
.btn.ghost:hover{
  border-color: rgba(57,255,136,.18);
  background: rgba(57,255,136,.04);
}

.badges{display:flex; gap:10px; flex-wrap:wrap; margin-top:14px}
.badge{
  padding:8px 10px;
  border-radius:999px;
  background: rgba(255,255,255,.03);
  border:1px solid rgba(255,255,255,.08);
  color:var(--muted);
  font-weight:1000;
  font-size:12.5px;
}

.pill{
  padding:8px 10px;
  border-radius:999px;
  border:1px solid rgba(255,255,255,.08);
  background: rgba(255,255,255,.02);
  color: var(--muted);
  font-weight:1000;
  font-size:12.5px;
}
.pill.ok{border-color: rgba(57,255,136,.22); color: rgba(57,255,136,.95); background: rgba(57,255,136,.06)}
.pill.warn{border-color: rgba(245,158,11,.26); color: rgba(245,158,11,.95); background: rgba(245,158,11,.06)}
.pill.bad{border-color: rgba(255,77,109,.26); color: rgba(255,77,109,.95); background: rgba(255,77,109,.06)}

.grid{display:grid; gap:16px; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr))}
.grid.tight{gap:12px}
.grid2{display:grid; gap:16px; grid-template-columns: 1.25fr .75fr}
@media (max-width: 980px){ .grid2{grid-template-columns:1fr} }

.item{
  padding:18px;
  border-radius: var(--radius2);
  border:1px solid rgba(255,255,255,.06);
  background: rgba(255,255,255,.02);
}
.item b{display:block; margin-bottom:6px; font-weight:1000}
.item p{margin:0; color:var(--muted); line-height:1.6}
.sep{border:none; border-top:1px solid rgba(255,255,255,.06); margin:22px 0}

.code{
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", monospace;
  font-size: 13px;
  padding: 12px 14px;
  border-radius: 14px;
  background: rgba(0,0,0,.35);
  border:1px solid rgba(255,255,255,.08);
  color: rgba(234,241,255,.9);
  overflow:auto;
}
.code .hint{color: rgba(57,255,136,.95); font-weight:1000}

.table{
  width:100%;
  border-collapse: collapse;
  overflow:hidden;
  border-radius: 16px;
  border:1px solid rgba(255,255,255,.08);
}
.table th,.table td{
  padding:12px 12px;
  border-bottom:1px solid rgba(255,255,255,.06);
  vertical-align:top;
}
.table th{
  text-align:left;
  font-size:12.5px;
  color: var(--muted);
  letter-spacing:.03em;
  text-transform:uppercase;
  background: rgba(255,255,255,.02);
}
.table td{color:var(--muted)}

.footer{
  margin-top:68px;
  padding-top:24px;
  border-top:1px solid rgba(255,255,255,.06);
  display:flex;
  justify-content:space-between;
  gap:12px;
  flex-wrap:wrap;
  color:var(--muted2);
  font-size:14px;
}

/* Portal shell */
.shell{display:grid; grid-template-columns: 280px 1fr; gap:18px}
@media (max-width: 980px){ .shell{grid-template-columns:1fr} }
.sidebar{position:sticky; top:20px; align-self:start; padding:18px}
.userpill{display:flex; align-items:center; gap:12px; padding:10px 12px; border-radius:16px; background: rgba(255,255,255,.02); border:1px solid rgba(255,255,255,.06)}
.avatar{width:34px; height:34px; border-radius:12px; background: linear-gradient(135deg, rgba(57,255,136,.9), rgba(34,211,238,.85)); display:grid; place-items:center; font-weight:1000; color:#041008}
.side-top{display:flex; align-items:center; justify-content:space-between; gap:12px; margin-bottom:10px}
.side-nav{display:flex; flex-direction:column; gap:8px; margin-top:12px}
.side-nav a{
  text-decoration:none;
  width:100%;
  text-align:left;
  padding:11px 12px;
  border-radius:14px;
  border:1px solid rgba(255,255,255,.06);
  background: rgba(255,255,255,.02);
  color: var(--muted);
  font-weight:1000;
  transition: var(--t);
}
.side-nav a:hover{background: rgba(57,255,136,.05); border-color: rgba(57,255,136,.18); color: var(--text)}
.side-nav a.active{background: rgba(57,255,136,.07); border-color: rgba(57,255,136,.22); color: var(--text); box-shadow: 0 0 18px rgba(57,255,136,.10)}
.topbar{display:flex; justify-content:space-between; align-items:center; gap:12px; margin-bottom:14px; flex-wrap:wrap}
.search{display:flex; align-items:center; gap:10px; padding:10px 12px; border-radius:14px; border:1px solid rgba(255,255,255,.08); background: rgba(0,0,0,.18); min-width:260px}
.search input{width:100%; border:none; background:transparent; outline:none; color:var(--text); font-weight:800}
.hidden{display:none !important}

/* Post meta */
.post-meta{display:flex; gap:10px; flex-wrap:wrap; align-items:center; color:var(--muted2); font-size:12.5px}
.tag{padding:6px 10px; border-radius:999px; border:1px solid rgba(57,255,136,.18); background: rgba(57,255,136,.05); color: rgba(57,255,136,.95); font-weight:1000}

/* ---------- Animated background (no video) ---------- */
.fx{
  position:fixed; inset:-20%;
  z-index:-3; pointer-events:none;
  background:
    radial-gradient(600px 400px at 15% 25%, rgba(57,255,136,.12), transparent 60%),
    radial-gradient(680px 420px at 85% 20%, rgba(34,211,238,.10), transparent 60%),
    radial-gradient(700px 450px at 55% 85%, rgba(183,255,60,.08), transparent 60%);
  filter: blur(2px);
  animation: floaty 12s ease-in-out infinite;
}
@keyframes floaty{
  0%,100%{transform: translate3d(0,0,0) scale(1)}
  50%{transform: translate3d(-2%, 1.5%, 0) scale(1.02)}
}

.stars{
  position:fixed; inset:0;
  z-index:-2; pointer-events:none;
  opacity:.07;
  background-image:
    linear-gradient(rgba(255,255,255,.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.05) 1px, transparent 1px);
  background-size: 58px 58px;
  mask-image: radial-gradient(circle at 50% 18%, black 0%, transparent 72%);
  animation: drift 16s linear infinite;
}
@keyframes drift{
  0%{transform: translate3d(0,0,0)}
  100%{transform: translate3d(-58px, -58px, 0)}
}

.scan{
  position:fixed; inset:0;
  z-index:-1; pointer-events:none;
  background:
    repeating-linear-gradient(
      to bottom,
      rgba(255,255,255,.03) 0px,
      rgba(255,255,255,.03) 1px,
      transparent 2px,
      transparent 6px
    );
  opacity:.07;
}
.scan:before{
  content:"";
  position:absolute; left:-30%; top:-40%;
  width:160%; height:50%;
  background: linear-gradient(90deg, transparent, rgba(57,255,136,.12), rgba(34,211,238,.10), transparent);
  transform: rotate(8deg);
  animation: sweep2 5.5s linear infinite;
}
@keyframes sweep2{
  0%{transform: translateY(-60%) rotate(8deg); opacity:.0}
  10%{opacity:.7}
  50%{opacity:.18}
  100%{transform: translateY(180%) rotate(8deg); opacity:0}
}

/* Wizard modal */
.modal{
  position:fixed; inset:0; display:none;
  align-items:center; justify-content:center;
  background: rgba(0,0,0,.55);
  z-index: 50;
}
.modal.open{display:flex}
.modal .panel{
  width:min(980px, 92vw);
  max-height: 86vh;
  overflow:auto;
  border-radius: 18px;
  background: linear-gradient(180deg, rgba(10,16,28,.92), rgba(10,16,28,.78));
  border:1px solid rgba(57,255,136,.16);
  box-shadow: 0 40px 120px rgba(0,0,0,.75);
  padding: 18px;
  backdrop-filter: blur(12px);
}
.steps{
  display:flex; gap:10px; flex-wrap:wrap; margin-top:12px
}
.step{
  padding:8px 10px; border-radius:999px; font-weight:1000; font-size:12.5px;
  border:1px solid rgba(255,255,255,.10);
  background: rgba(255,255,255,.03);
  color: var(--muted);
}
.step.active{border-color: rgba(57,255,136,.22); background: rgba(57,255,136,.07); color: var(--text)}
.wiz-grid{display:grid; gap:14px; grid-template-columns: 1fr 1fr}
@media (max-width: 980px){ .wiz-grid{grid-template-columns:1fr} }
.field label{display:block; font-weight:1000; margin-bottom:6px}
.field input,.field select,.field textarea{
  width:100%;
  padding:12px 12px;
  border-radius:14px;
  border:1px solid rgba(255,255,255,.10);
  background: rgba(0,0,0,.28);
  color: var(--text);
  font-weight:800;
  outline:none;
}
.field textarea{resize:vertical}


/* Brand logo (SVG) */
.logo{
  background: url("/assets/img/logo-mark.svg") center/cover no-repeat !important;
  box-shadow: 0 0 24px rgba(57,255,136,.22), 0 18px 40px rgba(0,0,0,.55) !important;
  color: transparent !important;
  position: relative;
  overflow: hidden;
}
.logo:after{
  content:"";
  position:absolute; inset:-30%;
  background: linear-gradient(90deg, transparent, rgba(57,255,136,.18), rgba(34,211,238,.12), transparent);
  transform: rotate(18deg);
  animation: logoSweep 3.6s linear infinite;
}
@keyframes logoSweep{
  0%{transform: translateX(-70%) rotate(18deg); opacity:.0}
  10%{opacity:.65}
  60%{opacity:.15}
  100%{transform: translateX(70%) rotate(18deg); opacity:0}
}
.logo{ animation: logoPulse 2.8s ease-in-out infinite; }
@keyframes logoPulse{
  0%,100%{filter: drop-shadow(0 0 10px rgba(57,255,136,.25)) drop-shadow(0 0 6px rgba(34,211,238,.18)); transform: translateZ(0) scale(1);}
  50%{filter: drop-shadow(0 0 18px rgba(57,255,136,.35)) drop-shadow(0 0 10px rgba(34,211,238,.22)); transform: translateZ(0) scale(1.02);}
}
.login-banner{
  border-radius: 18px;
  border: 1px solid rgba(255,255,255,.08);
  background: rgba(255,255,255,.02);
  overflow:hidden;
}
.login-banner img{ width:100%; height:auto; display:block; }


/* ---------- Theme Switch ---------- */
body.theme-pro{
  --primary1: var(--accent);
  --primary2: rgba(34,211,238,.95);
  --panel: rgba(255,255,255,.04);
  --panel2: rgba(255,255,255,.02);
  background:
    radial-gradient(900px 650px at 20% 10%, rgba(139,92,246,.14), transparent 60%),
    radial-gradient(900px 650px at 80% 18%, rgba(34,211,238,.10), transparent 58%),
    radial-gradient(850px 550px at 40% 90%, rgba(57,255,136,.07), transparent 55%),
    linear-gradient(135deg,var(--bg0),var(--bg1) 55%, #03040a);
}
body.theme-neon{
  --primary1: var(--neon);
  --primary2: rgba(34,211,238,.95);
}

/* tone down ambient for portal feel (still has vibe) */
body.theme-pro .scan{opacity:.05}
body.theme-pro .stars{opacity:.05}

/* ---------- Reduced Motion ---------- */
@media (prefers-reduced-motion: reduce){
  *{ animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; transition-duration: 0.001ms !important; scroll-behavior: auto !important; }
  .scan:before, .stars, .fx, .logo:after{ animation: none !important; }
}

/* ---------- Pro Dashboard (Rorty-like layout) ---------- */
.dash-title{
  display:flex; justify-content:space-between; align-items:flex-end; gap:12px; flex-wrap:wrap;
}
.dash-title h2{font-size:28px}
.dash-sub{color:var(--muted); font-weight:800}
.dash-grid{
  display:grid; gap:16px;
  grid-template-columns: 1.15fr 1.6fr 1.1fr;
  margin-top:16px;
}
@media (max-width: 980px){ .dash-grid{grid-template-columns:1fr} }

.profile-card{
  display:flex; gap:14px; align-items:center;
}
.profile-photo{
  width:74px; height:74px; border-radius:18px;
  border:1px solid rgba(255,255,255,.10);
  background: radial-gradient(circle at 30% 30%, rgba(139,92,246,.20), rgba(0,0,0,.25));
}
.metric-row{display:grid; grid-template-columns:repeat(3, 1fr); gap:12px; margin-top:12px}
@media (max-width: 980px){ .metric-row{grid-template-columns:1fr} }
.metric{
  padding:14px; border-radius:16px;
  border:1px solid rgba(255,255,255,.08);
  background: rgba(255,255,255,.02);
}
.metric .k{font-size:12px; color:var(--muted2); font-weight:1000; letter-spacing:.03em; text-transform:uppercase}
.metric .v{font-size:22px; font-weight:1000; margin-top:6px}
.spark{
  height:54px; border-radius:14px;
  background: linear-gradient(180deg, rgba(139,92,246,.18), transparent);
  border:1px solid rgba(139,92,246,.18);
  margin-top:12px;
  position:relative; overflow:hidden;
}
.spark:after{
  content:"";
  position:absolute; inset:0;
  background: linear-gradient(90deg, transparent, rgba(34,211,238,.16), transparent);
  transform: translateX(-60%);
  animation: sweepSpark 2.8s infinite;
}
@keyframes sweepSpark{
  0%{transform: translateX(-60%); opacity:.2}
  45%{opacity:.8}
  100%{transform: translateX(60%); opacity:.2}
}

.tasks ul{list-style:none; padding:0; margin:0; display:flex; flex-direction:column; gap:10px}
.task{
  display:flex; justify-content:space-between; gap:12px; align-items:center;
  padding:12px; border-radius:16px;
  border:1px solid rgba(255,255,255,.08);
  background: rgba(0,0,0,.20);
}
.task b{font-weight:1000}
.task small{color:var(--muted2); font-weight:900}

/* ---------- Wizard: vertical stepper ---------- */
.wiz-shell{display:grid; grid-template-columns: 260px 1fr; gap:14px; margin-top:12px}
@media (max-width: 980px){ .wiz-shell{grid-template-columns:1fr} }

.wiz-steps{display:flex; flex-direction:column; gap:10px}
.vstep{
  display:flex; align-items:center; gap:12px;
  padding:10px 12px;
  border-radius:16px;
  border:1px solid rgba(255,255,255,.08);
  background: rgba(255,255,255,.02);
  color: var(--muted);
  font-weight:1000;
  position:relative;
}
.vstep .dot{
  width:26px; height:26px; border-radius:999px;
  display:grid; place-items:center;
  background: rgba(255,255,255,.04);
  border:1px solid rgba(255,255,255,.10);
  color: rgba(234,241,255,.88);
  font-size:12px;
}
.vstep.active{
  color: var(--text);
  border-color: var(--accentBorder);
  background: rgba(139,92,246,.08);
  box-shadow: 0 0 0 1px rgba(139,92,246,.10), 0 22px 60px rgba(0,0,0,.55);
}
.vstep.active .dot{
  border-color: rgba(139,92,246,.35);
  background: linear-gradient(90deg, rgba(139,92,246,.92), rgba(34,211,238,.85));
  color:#06070e;
}
.wiz-pane{min-height: 360px}


/* ---------- Toasts ---------- */
#toastHost{
  position: fixed;
  right: 18px;
  top: 18px;
  z-index: 80;
  display:flex;
  flex-direction:column;
  gap:10px;
  pointer-events:none;
}
.toast{
  pointer-events:auto;
  display:flex;
  align-items:center;
  gap:10px;
  padding: 12px 12px;
  border-radius: 16px;
  border: 1px solid rgba(255,255,255,.10);
  background: rgba(0,0,0,.55);
  backdrop-filter: blur(10px);
  box-shadow: 0 24px 70px rgba(0,0,0,.55);
  transform: translateY(-10px);
  opacity:0;
  transition: 220ms ease;
  max-width: 360px;
}
.toast b{font-weight:1000; font-size:12px; letter-spacing:.04em}
.toast span{color: rgba(234,241,255,.85); font-weight:800; line-height:1.35}
.toast.on{transform: translateY(0); opacity:1}
.toast-ok{border-color: rgba(57,255,136,.22)}
.toast-warn{border-color: rgba(245,158,11,.26)}
.toast-bad{border-color: rgba(255,77,109,.26)}

/* ---------- Command Palette ---------- */
#paletteHost{position:fixed; inset:0; z-index:90; display:none}
#paletteHost.open{display:block}
.pal-backdrop{position:absolute; inset:0; background: rgba(0,0,0,.62);}
.pal{
  position:absolute; left:50%; top:18%;
  transform: translateX(-50%);
  width:min(760px, 92vw);
  border-radius: 20px;
  border: 1px solid rgba(139,92,246,.22);
  background: linear-gradient(180deg, rgba(10,16,28,.92), rgba(10,16,28,.78));
  box-shadow: 0 40px 120px rgba(0,0,0,.75);
  padding: 16px;
}
.pal-top{display:flex; justify-content:space-between; align-items:center; gap:12px}
.pal-in{
  width:100%; margin-top:12px;
  padding: 12px 14px;
  border-radius: 16px;
  border: 1px solid rgba(255,255,255,.10);
  background: rgba(0,0,0,.28);
  color: var(--text);
  font-weight: 900;
  outline:none;
}
.pal-list{margin-top:10px; display:flex; flex-direction:column; gap:8px}
.pal-item{
  display:flex; justify-content:space-between; align-items:center; gap:12px;
  padding: 12px 12px;
  border-radius: 16px;
  border:1px solid rgba(255,255,255,.08);
  background: rgba(255,255,255,.02);
  cursor:pointer;
}
.pal-item:hover{border-color: rgba(139,92,246,.22); background: rgba(139,92,246,.08)}
.pal-item b{font-weight:1000}
.pal-item span{color: rgba(234,241,255,.68); font-weight:800}

/* ---------- Wizard step status ---------- */
.vstep.done{border-color: rgba(57,255,136,.18); background: rgba(57,255,136,.05); color: var(--text)}
.vstep.warn{border-color: rgba(245,158,11,.22); background: rgba(245,158,11,.05); color: var(--text)}
.vstep.bad{border-color: rgba(255,77,109,.22); background: rgba(255,77,109,.05); color: var(--text)}
.vstep.done .dot{background: rgba(57,255,136,.10); border-color: rgba(57,255,136,.25)}
.vstep.warn .dot{background: rgba(245,158,11,.10); border-color: rgba(245,158,11,.25)}
.vstep.bad .dot{background: rgba(255,77,109,.10); border-color: rgba(255,77,109,.25)}

/* ---------- Support portal ---------- */
.wiki{display:grid; grid-template-columns: 280px 1fr; gap:16px}
@media (max-width: 980px){ .wiki{grid-template-columns:1fr} }
.wiki-nav a{
  display:block; text-decoration:none;
  padding:10px 12px; border-radius:14px;
  border:1px solid rgba(255,255,255,.08);
  background: rgba(255,255,255,.02);
  color: var(--muted);
  font-weight:1000;
  margin-bottom:10px;
}
.wiki-nav a:hover{border-color: rgba(139,92,246,.22); background: rgba(139,92,246,.08); color: var(--text)}


/* ---------- Music PRO ---------- */
.playerShell{display:grid; grid-template-columns: 320px 1fr; gap:16px}
@media (max-width: 980px){ .playerShell{grid-template-columns:1fr} }
.trackRow{
  display:flex; justify-content:space-between; align-items:center; gap:12px;
  padding: 12px 12px;
  border-radius: 16px;
  border: 1px solid rgba(255,255,255,.08);
  background: rgba(255,255,255,.02);
  cursor:pointer;
}
.trackRow:hover{border-color: rgba(34,211,238,.18); background: rgba(34,211,238,.05)}
.cover{
  width: 56px; height: 56px; border-radius: 14px;
  border: 1px solid rgba(255,255,255,.10);
  background: radial-gradient(60px 60px at 30% 20%, rgba(57,255,136,.25), transparent 60%),
              radial-gradient(60px 60px at 70% 80%, rgba(139,92,246,.25), transparent 60%),
              rgba(0,0,0,.22);
  box-shadow: 0 16px 40px rgba(0,0,0,.55);
}
.progressBar{
  height: 10px; border-radius: 999px;
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.10);
  overflow:hidden;
}
.progressBar > div{
  height:100%;
  width:0%;
  background: linear-gradient(90deg, var(--primary1), var(--primary2));
  box-shadow: 0 0 24px rgba(34,211,238,.35);
}
kbd{
  padding: 2px 6px;
  border-radius: 8px;
  border:1px solid rgba(255,255,255,.12);
  background: rgba(0,0,0,.25);
  font-weight: 1000;
  font-size: 12px;
}

/* ---------- Office Embed ---------- */
.officeFrame{
  width: 100%;
  height: 68vh;
  border-radius: 18px;
  border: 1px solid rgba(255,255,255,.10);
  background: rgba(0,0,0,.24);
  box-shadow: 0 26px 90px rgba(0,0,0,.65);
}


/* ---------- Media / Avatars / Thumbs ---------- */
.thumb{
  width: 46px; height: 46px; border-radius: 14px;
  border: 1px solid rgba(255,255,255,.12);
  background: rgba(0,0,0,.22);
  box-shadow: 0 16px 44px rgba(0,0,0,.55);
  overflow:hidden;
  display:flex; align-items:center; justify-content:center;
}
.thumb img{width:100%; height:100%; object-fit:cover; display:block}

.item.with-thumb{display:flex; gap:14px; align-items:flex-start}
.item.with-thumb .meta{flex:1}
.heroimg{
  width:100%;
  border-radius: 18px;
  border: 1px solid rgba(255,255,255,.10);
  background: rgba(0,0,0,.18);
  box-shadow: 0 26px 90px rgba(0,0,0,.65);
  overflow:hidden;
}
.heroimg img{width:100%; height:auto; display:block}
.avatar{
  width: 68px; height: 68px; border-radius: 20px;
  border:1px solid rgba(255,255,255,.12);
  box-shadow: 0 26px 90px rgba(0,0,0,.65);
  overflow:hidden;
}
.avatar img{width:100%; height:100%; object-fit:cover; display:block}


/* ---------- Avatar Bot (Video) ---------- */
.botShell{
  display:flex; gap:14px; align-items:center;
  padding: 12px 12px;
  border-radius: 18px;
  border: 1px solid rgba(255,255,255,.10);
  background: rgba(0,0,0,.18);
  box-shadow: 0 26px 90px rgba(0,0,0,.65);
}
.botShell .botVideo{
  width: 74px; height: 74px;
  border-radius: 22px;
  border: 1px solid rgba(255,255,255,.12);
  overflow:hidden;
  position:relative;
}
.botShell video, .botShell img{
  width:100%; height:100%; object-fit:cover; display:block;
  transform: scale(1.02);
}
.botShell .botMeta{flex:1}
.botShell .botName{font-weight:1000; font-size:18px}
.botShell .botHint{color: rgba(234,241,255,.62); font-size:12px; margin-top:2px}

.botShell .eq{
  position:absolute; right:8px; bottom:8px;
  display:flex; gap:3px; align-items:flex-end;
}
.botShell .eq span{
  width:4px; height:10px; border-radius:999px;
  background: rgba(57,255,136,.75);
  box-shadow: 0 0 18px rgba(57,255,136,.35);
  opacity:.65;
}
.botShell.speaking{
  border-color: rgba(57,255,136,.18);
  box-shadow: 0 0 0 6px rgba(57,255,136,.08), 0 26px 90px rgba(0,0,0,.65);
}
.botShell.speaking .eq span{
  animation: eq 420ms infinite ease-in-out;
  opacity: 1;
}
.botShell.speaking .eq span:nth-child(2){animation-delay: 90ms}
.botShell.speaking .eq span:nth-child(3){animation-delay: 180ms}
.botShell.speaking .eq span:nth-child(4){animation-delay: 270ms}
@keyframes eq{
  0%{height:10px}
  50%{height:26px}
  100%{height:10px}
}

.item .heroimg{border-radius:16px}

/* Inline icon (persona buttons) */
.icon-inline{
  width: 18px; height: 18px;
  display:inline-block;
  vertical-align:-3px;
  margin-right:8px;
  filter: drop-shadow(0 0 10px rgba(34,211,238,.25));
}


/* ---------- App Detail SaaS ---------- */
.stepper{
  display:grid;
  gap:12px;
}
.steps{
  display:flex; flex-wrap:wrap; gap:10px;
}
.step{
  padding:8px 12px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,.10);
  background: rgba(255,255,255,.02);
  cursor:pointer;
  user-select:none;
  font-weight: 900;
  font-size: 12px;
  letter-spacing: .3px;
}
.step.active{
  border-color: rgba(34,211,238,.22);
  background: rgba(34,211,238,.06);
  box-shadow: 0 0 0 1px rgba(34,211,238,.08), 0 0 30px rgba(34,211,238,.10);
}
.stepGrid{
  display:grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}
@media (max-width: 980px){ .stepGrid{grid-template-columns:1fr;} }
.mono{
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
  white-space: pre-wrap;
}
.smallcaps{font-size:12px; letter-spacing:.14em; text-transform:uppercase; opacity:.8}


/* ---------- ROI / Testimonials / Demo Tour ---------- */
.quoteCard{
  position:relative;
  padding: 14px 14px;
  border-radius: 18px;
  border: 1px solid rgba(255,255,255,.10);
  background: rgba(255,255,255,.02);
  overflow:hidden;
}
.quoteCard:before{
  content:"“";
  position:absolute;
  top:-18px;
  left:10px;
  font-size: 84px;
  font-weight: 1000;
  color: rgba(34,211,238,.12);
  filter: drop-shadow(0 0 18px rgba(34,211,238,.14));
}
.quoteAuthor{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
  margin-top:10px;
}
.kpiGrid{
  display:grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
}
@media (max-width: 980px){ .kpiGrid{grid-template-columns: 1fr 1fr;} }
.kpi{
  padding: 12px 12px;
  border-radius: 18px;
  border: 1px solid rgba(255,255,255,.10);
  background: rgba(0,0,0,.20);
}
.kpi .n{
  font-weight: 1000;
  font-size: 18px;
}
.kpi .d{
  opacity:.75;
  font-size: 12px;
  margin-top:6px;
}
.tourStep{
  display:flex;
  gap:12px;
  align-items:flex-start;
  padding: 12px 12px;
  border-radius: 18px;
  border: 1px solid rgba(255,255,255,.10);
  background: rgba(255,255,255,.02);
}
.tourNum{
  width: 34px; height: 34px;
  border-radius: 14px;
  display:flex; align-items:center; justify-content:center;
  border: 1px solid rgba(34,211,238,.18);
  background: rgba(34,211,238,.06);
  font-weight:1000;
}


/* ---------- Share Page ---------- */
.shareShell .header, .shareShell .fx, .shareShell .stars, .shareShell .scan { display:none !important; }
.shareShell .wrap{ padding-top: 18px; }
.shareTop{
  display:flex; align-items:center; justify-content:space-between; gap:12px; flex-wrap:wrap;
  padding: 12px 12px;
  border-radius: 18px;
  border: 1px solid rgba(255,255,255,.10);
  background: rgba(0,0,0,.25);
}
@media print{
  .noPrint{ display:none !important; }
  body{ background:#fff !important; color:#000 !important; }
}

/* ---------- Micro interactions ---------- */
.btn{ transition: transform .12s ease, filter .12s ease, box-shadow .12s ease; }
.btn:hover{ transform: translateY(-1px); filter: brightness(1.06); }
.btn:active{ transform: translateY(0px) scale(.99); }
.btn.primary:hover{ box-shadow: 0 0 0 1px rgba(34,211,238,.10), 0 0 34px rgba(34,211,238,.18); }

/* ---------- Sticky CTA bar (App pages) ---------- */
.stickyCta{
  position: sticky;
  top: 12px;
  z-index: 20;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
  flex-wrap:wrap;
  padding: 12px 12px;
  border-radius: 18px;
  border: 1px solid rgba(255,255,255,.12);
  background: rgba(0,0,0,.40);
  backdrop-filter: blur(10px);
  box-shadow: 0 26px 90px rgba(0,0,0,.55);
}
.stickyCta .left{display:flex; gap:12px; align-items:center}
.stickyCta .right{display:flex; gap:10px; align-items:center; flex-wrap:wrap}

/* ---------- Modal (Tour / Pricing) ---------- */
.modalBack{
  position:fixed; inset:0; z-index: 9999;
  background: rgba(0,0,0,.62);
  backdrop-filter: blur(10px);
  display:none;
  align-items:center;
  justify-content:center;
  padding: 18px;
}
.modalBack.open{ display:flex; }
.modal{
  width:min(860px, 96vw);
  border-radius: 22px;
  border: 1px solid rgba(255,255,255,.12);
  background: rgba(10,14,26,.78);
  box-shadow: 0 30px 120px rgba(0,0,0,.70);
  overflow:hidden;
}
.modalHead{
  display:flex; justify-content:space-between; align-items:center; gap:12px;
  padding: 14px 14px;
  border-bottom: 1px solid rgba(255,255,255,.10);
}
.modalBody{ padding: 14px 14px; }
.modalClose{ cursor:pointer; }

/* ---------- Pricing toggles ---------- */
.chkRow{
  display:flex; align-items:center; justify-content:space-between; gap:12px;
  padding: 10px 10px;
  border-radius: 16px;
  border: 1px solid rgba(255,255,255,.10);
  background: rgba(255,255,255,.02);
}
.chkRow input{ width:18px; height:18px; }
.priceBox{
  padding: 12px 12px;
  border-radius: 18px;
  border: 1px solid rgba(34,211,238,.16);
  background: rgba(34,211,238,.06);
}

/* ---------- Share Page ---------- */
.shareShell .header, .shareShell .fx, .shareShell .stars, .shareShell .scan { display:none !important; }
.shareShell .wrap{ padding-top: 18px; }
.shareTop{
  display:flex; align-items:center; justify-content:space-between; gap:12px; flex-wrap:wrap;
  padding: 12px 12px;
  border-radius: 18px;
  border: 1px solid rgba(255,255,255,.10);
  background: rgba(0,0,0,.25);
}
@media print{
  .noPrint{ display:none !important; }
  body{ background:#fff !important; color:#000 !important; }
}

/* Inline icon (persona buttons) */
.icon-inline{
  width: 18px; height: 18px;
  display:inline-block;
  vertical-align:-3px;
  margin-right:8px;
  filter: drop-shadow(0 0 10px rgba(34,211,238,.25));
}


/* ---------- Lead Widget ---------- */
.leadBar{
  position: fixed;
  left: 50%;
  transform: translateX(-50%);
  bottom: 14px;
  z-index: 9998;
  display:flex;
  gap:10px;
  align-items:center;
  flex-wrap:wrap;
  padding: 10px 10px;
  border-radius: 18px;
  border: 1px solid rgba(255,255,255,.12);
  background: rgba(0,0,0,.44);
  backdrop-filter: blur(12px);
  box-shadow: 0 26px 90px rgba(0,0,0,.65);
  max-width: min(980px, 95vw);
}
.leadBrand{
  display:flex; align-items:center; gap:10px;
  padding: 6px 10px;
  border-radius: 14px;
  background: rgba(34,211,238,.06);
  border: 1px solid rgba(34,211,238,.12);
}
.leadDot{
  width:10px; height:10px; border-radius:99px;
  background: rgba(57,255,136,.9);
  box-shadow: 0 0 24px rgba(57,255,136,.35);
}
.leadBar .btn{ margin-top:0 !important; }
@media (max-width: 720px){
  .leadBar{ justify-content:center; }
  .leadBrand{ width:100%; justify-content:center; }
}
.leadFormGrid{
  display:grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}
@media (max-width: 880px){ .leadFormGrid{ grid-template-columns:1fr; } }


/* ---------- Leads Pro ---------- */
.badgeMini{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-width: 22px;
  height: 18px;
  padding: 0 6px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 1000;
  background: rgba(57,255,136,.12);
  border: 1px solid rgba(57,255,136,.22);
  color: rgba(234,241,255,.95);
}
.table td.chk, .table th.chk { width: 34px; }
.leadAge{ opacity:.75; font-size: 12px; }
.leadMetaLine{ opacity:.75; font-size: 12px; margin-top: 6px; }

.board{
  display:grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
}
@media (max-width: 1100px){ .board{ grid-template-columns: 1fr 1fr; } }
@media (max-width: 720px){ .board{ grid-template-columns: 1fr; } }

.col{
  border-radius: 18px;
  border: 1px solid rgba(255,255,255,.10);
  background: rgba(255,255,255,.02);
  padding: 10px 10px;
  min-height: 240px;
}
.colHead{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:10px;
  margin-bottom: 10px;
}
.cardMini{
  border-radius: 16px;
  border: 1px solid rgba(255,255,255,.10);
  background: rgba(0,0,0,.25);
  padding: 10px 10px;
  cursor: pointer;
}
.cardMini:hover{ border-color: rgba(34,211,238,.18); box-shadow: 0 0 0 1px rgba(34,211,238,.06), 0 0 26px rgba(34,211,238,.10); }
.cardMini.dragging{ opacity:.55; }
.dropHint{
  border: 1px dashed rgba(34,211,238,.22);
  background: rgba(34,211,238,.06);
}
.kbd{
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
  font-size: 12px;
  padding: 2px 7px;
  border-radius: 10px;
  border: 1px solid rgba(255,255,255,.10);
  background: rgba(255,255,255,.03);
}


/* ---------- Leads Plus20 ---------- */
.pill.score{ border-color: rgba(139,92,246,.22); background: rgba(139,92,246,.08); }
.pill.due{ border-color: rgba(255,71,87,.28); background: rgba(255,71,87,.10); }
.pill.soon{ border-color: rgba(255,193,7,.28); background: rgba(255,193,7,.10); }
.small.muted{ opacity:.68; }
