/* ============================================================
   AI Productivity — Surveillance Wall (Windows 11 desktops)
   ============================================================ */

@keyframes pcw-pulse {
  0%,100% { opacity: 0.4; transform: scale(0.9); }
  50%     { opacity: 1;   transform: scale(1.2); }
}
@keyframes pcw-blink {
  0%,80%,100% { opacity: 1; }
  40%         { opacity: 0; }
}
@keyframes pcw-scan {
  0%   { transform: translateY(-100%); opacity: 0; }
  20%  { opacity: 1; }
  80%  { opacity: 1; }
  100% { transform: translateY(100%); opacity: 0; }
}
@keyframes pcw-cursor {
  0%,40%,100% { opacity: 1; }
  50%,90% { opacity: 0; }
}
@keyframes pcw-feed {
  0%   { opacity: 0; transform: translateY(8px); }
  10%  { opacity: 1; transform: translateY(0); }
  100% { opacity: 1; transform: translateY(0); }
}

.prod-cin .pc-wall {
  padding: 100px 0 110px;
  background:
    radial-gradient(ellipse 80% 60% at 50% 0%, rgba(255,84,112,0.06), transparent 70%),
    var(--pc-ink);
  position: relative;
  border-top: 1px solid var(--pc-line);
  border-bottom: 1px solid var(--pc-line);
}
.pc-wall-bg {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(79,200,255,0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(79,200,255,0.03) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse 70% 70% at 50% 30%, #000 30%, transparent 100%);
  pointer-events: none;
}

.pc-wall-wrap {
  position: relative; z-index: 2;
  max-width: 1380px; margin: 0 auto;
  padding: 0 32px;
}

.pc-wall-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 380px;
  gap: 24px;
  margin-top: 50px;
}
@media (max-width: 1180px) { .pc-wall-grid { grid-template-columns: 1fr; } }

.pc-wall-screens {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}
@media (max-width: 720px) { .pc-wall-screens { grid-template-columns: 1fr; } }

/* ============================================================
   Windows 11 desktop frame
   ============================================================ */
.pcw-screen {
  position: relative;
  border-radius: 8px;
  overflow: hidden;
  aspect-ratio: 16 / 10;
  background: #0078D4;
  box-shadow:
    0 0 0 1px rgba(79,200,255,0.15),
    0 20px 50px -15px rgba(0,0,0,0.6),
    0 0 0 4px rgba(4,6,15,0.6);
  font-family: 'Segoe UI', system-ui, sans-serif;
}
.pcw-screen.alert {
  box-shadow:
    0 0 0 2px var(--pc-rd),
    0 0 22px rgba(255,84,112,0.35),
    0 20px 50px -15px rgba(0,0,0,0.6);
}
.pcw-screen.warn {
  box-shadow:
    0 0 0 2px var(--pc-am),
    0 0 18px rgba(255,176,79,0.3),
    0 20px 50px -15px rgba(0,0,0,0.6);
}

/* Status badge on each screen */
.pcw-tag {
  position: absolute; top: 12px; left: 12px; z-index: 10;
  display: flex; align-items: center; gap: 8px;
  background: rgba(4,6,15,0.85);
  border: 1px solid var(--pc-line);
  padding: 6px 11px;
  border-radius: 4px;
  font-family: var(--font-mono, ui-monospace, monospace);
  font-size: 10px; letter-spacing: 0.14em; text-transform: uppercase;
  color: #fff;
  backdrop-filter: blur(8px);
}
.pcw-tag .dot {
  width: 7px; height: 7px; border-radius: 50%;
  background: var(--pc-mt);
  box-shadow: 0 0 6px var(--pc-mt);
  animation: pcw-pulse 1.6s ease-in-out infinite;
}
.pcw-tag.warn .dot { background: var(--pc-am); box-shadow: 0 0 6px var(--pc-am); }
.pcw-tag.alert .dot { background: var(--pc-rd); box-shadow: 0 0 6px var(--pc-rd); }
.pcw-tag b { color: var(--pc-mt); font-weight: 600; }
.pcw-tag.warn b { color: var(--pc-am); }
.pcw-tag.alert b { color: var(--pc-rd); }

/* Live timer */
.pcw-time {
  position: absolute; top: 12px; right: 12px; z-index: 10;
  font-family: var(--font-mono);
  font-size: 10px; letter-spacing: 0.14em; text-transform: uppercase;
  color: #fff;
  background: rgba(4,6,15,0.85);
  padding: 6px 11px;
  border-radius: 4px;
  border: 1px solid var(--pc-line);
  backdrop-filter: blur(8px);
}

/* Win11 wallpaper */
.pcw-wall {
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse 60% 50% at 50% 55%, rgba(255,255,255,0.18), transparent 70%),
    linear-gradient(135deg, #002B66 0%, #0078D4 35%, #5DB6FF 70%, #B8E0FF 100%);
}
.pcw-wall::after {
  content: '';
  position: absolute; left: 50%; bottom: 35%;
  width: 60%; height: 80%;
  transform: translateX(-50%);
  background:
    radial-gradient(ellipse 50% 60% at 50% 50%, rgba(255,255,255,0.5), transparent 70%);
  filter: blur(20px);
  opacity: 0.4;
}

/* Scan line over each desktop */
.pcw-scan {
  position: absolute; inset: 0;
  pointer-events: none;
  z-index: 8;
}
.pcw-scan::before {
  content: '';
  position: absolute; left: 0; right: 0; top: 0;
  height: 40px;
  background: linear-gradient(180deg, var(--pc-mt), transparent);
  opacity: 0.3;
  animation: pcw-scan 4.5s linear infinite;
}
.pcw-screen.warn .pcw-scan::before { background: linear-gradient(180deg, var(--pc-am), transparent); animation-duration: 3.5s; }
.pcw-screen.alert .pcw-scan::before { background: linear-gradient(180deg, var(--pc-rd), transparent); animation-duration: 2.5s; }

/* Win11 taskbar */
.pcw-taskbar {
  position: absolute; left: 0; right: 0; bottom: 0;
  height: 30px;
  background: rgba(243,243,243,0.85);
  backdrop-filter: blur(20px);
  border-top: 1px solid rgba(255,255,255,0.3);
  display: flex; align-items: center; justify-content: center;
  gap: 6px;
  z-index: 6;
}
.pcw-tb-icon {
  width: 22px; height: 22px;
  border-radius: 4px;
  background: linear-gradient(135deg, #0078D4, #00BCF2);
  position: relative;
}
.pcw-tb-icon.active::after {
  content: ''; position: absolute;
  bottom: -3px; left: 50%; transform: translateX(-50%);
  width: 14px; height: 2px;
  background: #0078D4;
  border-radius: 1px;
}
.pcw-tb-icon.chrome { background: conic-gradient(from 90deg, #EA4335 0deg 120deg, #FBBC04 120deg 240deg, #34A853 240deg 360deg); }
.pcw-tb-icon.chrome::before { content:''; position: absolute; inset: 5px; border-radius: 50%; background: #4285F4; }
.pcw-tb-icon.teams { background: linear-gradient(135deg, #4F52B2, #7B83EB); }
.pcw-tb-icon.outlook { background: linear-gradient(135deg, #0078D4, #50D8FF); }
.pcw-tb-icon.excel { background: #107C41; }
.pcw-tb-icon.word { background: #185ABD; }
.pcw-tb-icon.spotify { background: #1DB954; border-radius: 50%; }
.pcw-tb-icon.youtube { background: #FF0000; }
.pcw-tb-icon.steam { background: linear-gradient(135deg, #171A21, #6E8398); }
.pcw-tb-clock {
  position: absolute; right: 12px;
  font-family: 'Segoe UI', sans-serif;
  font-size: 10px;
  color: #1a1a1a;
  line-height: 1.1;
  text-align: right;
}

/* App window inside Win11 desktop */
.pcw-app {
  position: absolute;
  background: #fff;
  border-radius: 8px 8px 0 0;
  overflow: hidden;
  box-shadow: 0 8px 30px rgba(0,0,0,0.3);
  font-family: 'Segoe UI', system-ui, sans-serif;
  color: #1a1a1a;
}
.pcw-app-bar {
  display: flex; align-items: center;
  background: #f0f0f0;
  border-bottom: 1px solid #e0e0e0;
  height: 28px;
  padding: 0 8px;
  gap: 6px;
  font-size: 10px;
  color: #555;
}
.pcw-app-bar .ctl {
  margin-left: auto;
  display: flex; gap: 4px;
}
.pcw-app-bar .ctl span {
  width: 14px; height: 14px;
  border-radius: 2px;
  background: #e0e0e0;
  display: inline-block;
}
.pcw-app-bar .ctl span:last-child { background: #ea4335; }

/* Browser tab strip */
.pcw-tabs {
  display: flex; align-items: flex-end; gap: 2px;
  background: #DEE1E6;
  padding: 6px 8px 0;
  height: 30px;
}
.pcw-tab {
  background: #f1f3f4;
  padding: 5px 10px;
  border-radius: 6px 6px 0 0;
  font-size: 10px;
  color: #5f6368;
  max-width: 130px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  display: flex; align-items: center; gap: 5px;
}
.pcw-tab.active { background: #fff; color: #202124; }
.pcw-tab .favi {
  width: 11px; height: 11px;
  border-radius: 50%;
  background: #999;
  flex-shrink: 0;
}
.pcw-tab .favi.ig    { background: linear-gradient(45deg, #F58529, #DD2A7B, #8134AF); }
.pcw-tab .favi.yt    { background: #FF0000; border-radius: 2px; }
.pcw-tab .favi.rd    { background: #FF4500; border-radius: 2px; }
.pcw-tab .favi.fb    { background: #1877F2; border-radius: 2px; }
.pcw-tab .favi.amz   { background: #FF9900; border-radius: 2px; }
.pcw-tab .favi.tk    { background: #000; border-radius: 2px; position: relative; }
.pcw-tab .favi.tk::before { content:''; position: absolute; inset: 2px; background: linear-gradient(135deg, #25F4EE, #FE2C55); }
.pcw-tab .favi.x     { background: #000; border-radius: 2px; }
.pcw-tab .favi.lkin  { background: #0A66C2; border-radius: 2px; }
.pcw-tab .favi.gmail { background: linear-gradient(135deg, #EA4335, #FBBC04); border-radius: 2px; }

/* Browser URL bar */
.pcw-url {
  background: #f1f3f4;
  padding: 5px 10px;
  font-size: 10px;
  color: #5f6368;
  border-bottom: 1px solid #DEE1E6;
  display: flex; align-items: center; gap: 8px;
}
.pcw-url .pad {
  background: #fff;
  border-radius: 14px;
  padding: 3px 10px;
  flex: 1;
  font-family: var(--font-mono);
  font-size: 9.5px;
  color: #202124;
  border: 1px solid #DEE1E6;
}

/* App body */
.pcw-body {
  padding: 12px;
  font-size: 10px;
  line-height: 1.4;
  color: #202124;
  height: calc(100% - 88px);
  overflow: hidden;
  position: relative;
}

/* Instagram feed mock */
.pcw-ig {
  background: #fff;
}
.pcw-ig-post {
  border: 1px solid #efefef;
  border-radius: 6px;
  margin-bottom: 8px;
  overflow: hidden;
}
.pcw-ig-post .head {
  display: flex; align-items: center; gap: 6px;
  padding: 6px 8px;
  font-size: 10px;
  font-weight: 600;
}
.pcw-ig-post .head .av {
  width: 18px; height: 18px;
  border-radius: 50%;
  background: linear-gradient(45deg, #F58529, #DD2A7B, #8134AF);
}
.pcw-ig-post .img {
  height: 100px;
  background: linear-gradient(135deg, #FFB199, #FF6B6B, #6B5B95);
  background-size: cover;
}
.pcw-ig-post .acts {
  padding: 5px 8px;
  font-size: 9px;
  color: #555;
}
.pcw-ig-post .acts b { color: #000; }

/* YouTube mock */
.pcw-yt {
  background: #0f0f0f;
  color: #fff;
}
.pcw-yt-vid {
  width: 100%;
  aspect-ratio: 16/9;
  background:
    radial-gradient(circle at 50% 50%, rgba(255,0,0,0.4), transparent 60%),
    linear-gradient(135deg, #1a1a1a, #2a2a2a);
  position: relative;
  margin-bottom: 8px;
}
.pcw-yt-vid::before {
  content: '▶';
  position: absolute;
  left: 50%; top: 50%;
  transform: translate(-50%, -50%);
  color: #fff;
  font-size: 26px;
  opacity: 0.85;
}
.pcw-yt-vid .dur {
  position: absolute; right: 6px; bottom: 6px;
  background: rgba(0,0,0,0.8);
  padding: 1px 4px;
  font-family: var(--font-mono);
  font-size: 8.5px;
  color: #fff;
  border-radius: 2px;
}
.pcw-yt-meta {
  font-size: 10.5px;
  font-weight: 600;
  color: #fff;
  margin-bottom: 3px;
  line-height: 1.3;
}
.pcw-yt-sub {
  font-size: 9px;
  color: #aaa;
}
.pcw-yt-row {
  display: flex; align-items: center; gap: 6px;
  margin-top: 4px;
}
.pcw-yt-row .av {
  width: 22px; height: 22px; border-radius: 50%;
  background: linear-gradient(135deg, #FF0000, #cc0000);
  flex-shrink: 0;
}

/* Reddit mock */
.pcw-rd-list { display: flex; flex-direction: column; gap: 4px; }
.pcw-rd-item {
  display: grid;
  grid-template-columns: 24px 1fr auto;
  gap: 6px;
  padding: 5px 6px;
  background: #fff;
  border: 1px solid #edeff1;
  border-radius: 4px;
  align-items: center;
}
.pcw-rd-item .votes {
  text-align: center;
  font-family: var(--font-mono);
  font-size: 9px;
  font-weight: 700;
  color: #FF4500;
}
.pcw-rd-item .title {
  font-size: 10px;
  font-weight: 500;
  line-height: 1.3;
  color: #1a1a1b;
}
.pcw-rd-item .sub {
  font-size: 8px;
  color: #7c7c83;
}
.pcw-rd-item .img {
  width: 38px; height: 28px;
  background: linear-gradient(135deg, #FF4500, #cc4400);
  border-radius: 3px;
}

/* Amazon shopping mock */
.pcw-amz-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 6px;
}
.pcw-amz-card {
  background: #fff;
  border: 1px solid #eaeded;
  padding: 5px;
  border-radius: 4px;
}
.pcw-amz-card .img {
  width: 100%; aspect-ratio: 1;
  background: linear-gradient(135deg, #f0f2f2, #e3e6e6);
  margin-bottom: 4px;
  border-radius: 2px;
}
.pcw-amz-card .img.tv    { background: linear-gradient(135deg, #1a1a1a, #2a2a2a); }
.pcw-amz-card .img.shoe  { background: linear-gradient(135deg, #ff6b6b, #c44569); }
.pcw-amz-card .img.head  { background: linear-gradient(135deg, #6c5ce7, #a29bfe); }
.pcw-amz-card .ttl {
  font-size: 9px;
  line-height: 1.3;
  color: #0F1111;
  margin-bottom: 3px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.pcw-amz-card .price {
  font-size: 10px;
  color: #0F1111;
  font-weight: 700;
}
.pcw-amz-card .price small {
  font-size: 8px;
  color: #565959;
  font-weight: 400;
  text-decoration: line-through;
  margin-left: 2px;
}

/* Solitaire mock (idle worker) */
.pcw-sol {
  background: linear-gradient(135deg, #0a5d3a, #0f7a4d);
  height: 100%;
  position: relative;
  padding: 16px;
}
.pcw-sol-row {
  display: flex; gap: 6px;
  margin-bottom: 12px;
}
.pcw-sol-card {
  width: 36px; height: 50px;
  background: #fff;
  border-radius: 4px;
  border: 1px solid rgba(0,0,0,0.2);
  display: flex; align-items: center; justify-content: center;
  font-weight: 700;
  font-size: 12px;
  color: #1a1a1a;
}
.pcw-sol-card.r { color: #e63946; }
.pcw-sol-card.back {
  background: linear-gradient(135deg, #1a4d7a, #2a6ea3);
  color: rgba(255,255,255,0.3);
}
.pcw-sol-card.empty {
  background: transparent;
  border: 1.5px dashed rgba(255,255,255,0.3);
}

/* Idle screensaver mock */
.pcw-idle {
  background: linear-gradient(135deg, #000, #1a1a1a);
  height: 100%;
  display: flex; align-items: center; justify-content: center;
  position: relative;
}
.pcw-idle .clk {
  font-family: 'Segoe UI', sans-serif;
  font-size: 56px;
  font-weight: 200;
  color: #fff;
  text-shadow: 0 0 30px rgba(79,200,255,0.3);
}

/* Cursor indicator on desktop */
.pcw-cursor {
  position: absolute;
  width: 10px; height: 10px;
  z-index: 12;
  pointer-events: none;
}
.pcw-cursor::before {
  content: '';
  position: absolute; inset: 0;
  background: #fff;
  clip-path: polygon(0 0, 100% 50%, 50% 60%, 30% 100%);
}

/* Detection box on desktop */
.pcw-detect {
  position: absolute;
  z-index: 9;
  border: 2px solid var(--pc-rd);
  box-shadow:
    0 0 0 1px rgba(255,84,112,0.3),
    0 0 18px rgba(255,84,112,0.5);
  background: rgba(255,84,112,0.06);
  pointer-events: none;
  animation: pcw-blink 2s ease-in-out infinite;
}
.pcw-detect.warn {
  border-color: var(--pc-am);
  box-shadow: 0 0 0 1px rgba(255,176,79,0.3), 0 0 18px rgba(255,176,79,0.45);
  background: rgba(255,176,79,0.06);
}
.pcw-detect::before {
  content: attr(data-label);
  position: absolute; top: -22px; left: -2px;
  background: var(--pc-rd);
  color: #fff;
  padding: 3px 8px;
  font-family: var(--font-mono);
  font-size: 9px; letter-spacing: 0.14em; text-transform: uppercase;
  font-weight: 700;
  white-space: nowrap;
  border-radius: 2px;
}
.pcw-detect.warn::before {
  background: var(--pc-am);
  color: #1a1a1a;
}

/* Floating AI verdict on each screen */
.pcw-verdict {
  position: absolute;
  z-index: 11;
  background: rgba(4,6,15,0.95);
  border: 1px solid var(--pc-rd);
  border-radius: 6px;
  padding: 10px 12px;
  max-width: 220px;
  box-shadow:
    0 0 0 1px rgba(255,84,112,0.4),
    0 12px 28px rgba(0,0,0,0.5);
  backdrop-filter: blur(8px);
}
.pcw-verdict.warn { border-color: var(--pc-am); box-shadow: 0 0 0 1px rgba(255,176,79,0.4), 0 12px 28px rgba(0,0,0,0.5); }
.pcw-verdict .head {
  display: flex; align-items: center; gap: 6px;
  font-family: var(--font-mono);
  font-size: 9px; letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--pc-rd);
  margin-bottom: 5px;
  font-weight: 600;
}
.pcw-verdict.warn .head { color: var(--pc-am); }
.pcw-verdict .head .pulse { width: 5px; height: 5px; border-radius: 50%; background: currentColor; box-shadow: 0 0 5px currentColor; animation: pcw-pulse 1.4s ease-in-out infinite; }
.pcw-verdict .msg {
  font-family: 'Segoe UI', system-ui, sans-serif;
  font-size: 11.5px;
  line-height: 1.4;
  color: #fff;
}
.pcw-verdict .msg b { color: var(--pc-mt); font-weight: 600; }
.pcw-verdict .foot {
  margin-top: 6px;
  padding-top: 6px;
  border-top: 1px solid rgba(255,255,255,0.1);
  font-family: var(--font-mono);
  font-size: 8.5px; letter-spacing: 0.14em; text-transform: uppercase;
  color: rgba(255,255,255,0.5);
}

/* ============================================================
   AGENT FEED — live chatter from the AI
   ============================================================ */
.pcw-feed {
  background: linear-gradient(180deg, rgba(10,15,35,0.7), rgba(4,6,15,0.95));
  border: 1px solid var(--pc-line);
  border-radius: 6px;
  overflow: hidden;
  display: flex; flex-direction: column;
}
.pcw-feed-top {
  padding: 14px 16px;
  border-bottom: 1px solid var(--pc-line);
  background: rgba(4,6,15,0.85);
  display: flex; align-items: center; justify-content: space-between;
}
.pcw-feed-top .l {
  font-family: var(--font-mono);
  font-size: 10.5px; letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--pc-mt);
  display: flex; align-items: center; gap: 8px;
}
.pcw-feed-top .l .pulse {
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--pc-mt);
  box-shadow: 0 0 6px var(--pc-mt);
  animation: pcw-pulse 1.4s ease-in-out infinite;
}
.pcw-feed-top .r {
  font-family: var(--font-mono);
  font-size: 9.5px; letter-spacing: 0.14em;
  color: var(--pc-text-3);
}

.pcw-feed-body {
  padding: 12px 0;
  flex: 1;
  overflow: hidden;
  max-height: 660px;
}
.pcw-feed-item {
  padding: 10px 16px;
  border-bottom: 1px solid var(--pc-line-2);
  animation: pcw-feed 400ms ease-out;
}
.pcw-feed-item .ts {
  font-family: var(--font-mono);
  font-size: 9px; letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--pc-text-3);
  margin-bottom: 4px;
  display: flex; align-items: center; gap: 6px;
}
.pcw-feed-item .ts .sev {
  width: 5px; height: 5px; border-radius: 50%;
  background: var(--pc-rd);
}
.pcw-feed-item.warn .ts .sev { background: var(--pc-am); }
.pcw-feed-item.ok .ts .sev   { background: var(--pc-mt); }
.pcw-feed-item.warn .ts b    { color: var(--pc-am); }
.pcw-feed-item .ts b         { color: var(--pc-rd); }
.pcw-feed-item.ok .ts b      { color: var(--pc-mt); }
.pcw-feed-item .agent {
  font-family: var(--font-mono);
  font-size: 10px;
  color: var(--pc-cy);
  margin-bottom: 4px;
  font-weight: 500;
}
.pcw-feed-item .msg {
  font-size: 12.5px;
  line-height: 1.5;
  color: var(--pc-text);
}
.pcw-feed-item .msg b { color: #fff; font-weight: 600; }
.pcw-feed-item .msg em { font-style: normal; color: var(--pc-am); }
.pcw-feed-item .act {
  margin-top: 6px;
  font-family: var(--font-mono);
  font-size: 9.5px; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--pc-mt);
  display: flex; align-items: center; gap: 6px;
}
.pcw-feed-item .act::before { content: '→'; }

/* Counter row under wall */
.pcw-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  margin-top: 28px;
}
@media (max-width: 720px) { .pcw-stats { grid-template-columns: repeat(2, 1fr); } }
.pcw-stat {
  padding: 18px 20px;
  background: linear-gradient(180deg, rgba(10,15,35,0.5), rgba(4,6,15,0.9));
  border: 1px solid var(--pc-line);
  border-radius: 4px;
}
.pcw-stat .v {
  font-family: var(--font-mono);
  font-size: 28px;
  color: var(--pc-rd);
  font-weight: 500;
  line-height: 1;
  margin-bottom: 6px;
}
.pcw-stat.warn .v { color: var(--pc-am); }
.pcw-stat.ok .v   { color: var(--pc-mt); }
.pcw-stat .l {
  font-family: var(--font-mono);
  font-size: 10px; letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--pc-text-3);
}
