/* ============ LIVE NOTCH RECREATIONS ============ */
/* Floating panel that looks like the real Vigil notch */
.v-notch {
  background: #0A0A0C;
  border-radius: 0 0 22px 22px;
  color: #EEEEF2;
  font-family: 'Inter', system-ui, sans-serif;
  box-shadow: 0 30px 60px rgba(0,0,0,0.7), inset 0 0 0 1px rgba(255,255,255,0.04);
  position: relative;
  overflow: hidden;
}
.v-notch-top {
  /* the curved top edge continuation so it looks attached to the menu bar */
  position: absolute; top: 0; left: 50%;
  transform: translateX(-50%);
  width: 68%;
  height: 14px;
  background: #0A0A0C;
  border-radius: 0 0 18px 18px;
  top: -1px;
}
.v-notch-inner { padding: 18px 18px 16px; position: relative; z-index: 1; }

/* Head with status dot + title + actions */
.v-head {
  display: flex; align-items: center; gap: 10px;
  margin-bottom: 14px;
}
.v-head .v-dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: #FFB84A;
  box-shadow: 0 0 8px rgba(255,184,74,0.6);
}
.v-head .v-dot.green { background: #4DFF96; box-shadow: 0 0 8px rgba(77,255,150,0.6); }
.v-head .v-title { font-size: 13px; font-weight: 600; color: #EEEEF2; }
.v-head .v-spacer { flex: 1; }
.v-head .v-count { font-size: 11px; color: #8A8F9E; font-family: 'JetBrains Mono', monospace; }
.v-head .v-gear {
  width: 22px; height: 22px; border-radius: 6px;
  background: rgba(255,255,255,0.05);
  display: inline-flex; align-items: center; justify-content: center;
  color: #8A8F9E;
}

/* Chip row (Claude / Vigil / Terminal) */
.v-chips { display: flex; gap: 6px; margin-bottom: 14px; flex-wrap: wrap; }
.v-chip {
  display: inline-flex; align-items: center; gap: 5px;
  padding: 5px 10px;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.04);
  border-radius: 999px;
  font-size: 11px;
  color: #EEEEF2;
}
.v-chip svg { width: 11px; height: 11px; }
.v-chip.claude { color: #FFB84A; }
.v-chip.claude svg { color: #FFB84A; }
.v-chip.vigil svg { color: #4DFF96; }

/* Command / code block */
.v-code-header {
  display: flex; align-items: center; gap: 6px;
  font-size: 11px; color: #8A8F9E;
  font-family: 'JetBrains Mono', monospace;
  margin-bottom: 6px;
}
.v-code-header svg { width: 12px; height: 12px; color: #8A8F9E; }
.v-code {
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.04);
  border-radius: 10px;
  padding: 12px 14px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 12px;
  line-height: 1.6;
  color: #C8CAD4;
  white-space: pre;
  overflow: hidden;
}
.v-code .json-key { color: #7DC4FF; }
.v-code .json-str { color: #4DFF96; }
.v-code .json-punct { color: #6A6F7E; }

/* Action buttons row */
.v-actions { display: flex; gap: 10px; margin-top: 14px; }
.v-btn {
  flex: 1;
  padding: 10px;
  border-radius: 10px;
  border: none;
  font-family: inherit;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  transition: filter .15s, transform .1s;
}
.v-btn:active { transform: translateY(1px); }
.v-btn-deny {
  background: rgba(255,255,255,0.06);
  color: #EEEEF2;
  border: 1px solid rgba(255,255,255,0.04);
}
.v-btn-deny:hover { background: rgba(255,255,255,0.09); }
.v-btn-allow {
  background: #FFFFFF;
  color: #08130D;
}
.v-btn-allow:hover { filter: brightness(0.96); }
.v-kbd {
  font-family: 'JetBrains Mono', monospace;
  font-size: 10px;
  color: #8A8F9E;
  font-weight: 500;
}
.v-btn-allow .v-kbd { color: #6A6F7E; }

/* Agent list row */
.v-agents { display: flex; flex-direction: column; gap: 6px; }
.v-agent {
  display: flex; align-items: center; gap: 12px;
  padding: 10px 12px;
  border-radius: 10px;
  background: transparent;
  transition: background .15s;
}
.v-agent:hover { background: rgba(255,255,255,0.03); }
.v-agent .v-inv {
  width: 22px; height: 22px;
  display: inline-flex; align-items: center; justify-content: center;
  color: #FF8A4A;
  filter: drop-shadow(0 0 4px rgba(255,138,74,0.4));
  flex-shrink: 0;
}
.v-agent .v-name { font-weight: 600; font-size: 13px; color: #EEEEF2; }
.v-agent .v-agent-tag {
  margin-left: auto;
  padding: 3px 8px;
  border-radius: 999px;
  background: rgba(255,255,255,0.06);
  font-size: 10px;
  color: #C8CAD4;
}
.v-agent .v-age {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  color: #4DFF96;
  min-width: 28px; text-align: right;
}

/* Music row (inside a notch under agents) */
.v-music {
  margin-top: 10px;
  padding: 10px 12px;
  border-top: 1px solid rgba(255,255,255,0.04);
  display: flex; align-items: center; gap: 12px;
}
.v-music-art {
  width: 38px; height: 38px; border-radius: 6px;
  background: linear-gradient(135deg, #FF5A9E, #7B3FF2);
  position: relative; overflow: hidden;
  flex-shrink: 0;
}
.v-music-art::before {
  content: '';
  position: absolute; inset: 0;
  background-image: 
    radial-gradient(circle at 30% 30%, rgba(255,255,255,0.3), transparent 50%),
    radial-gradient(circle at 70% 70%, rgba(0,0,0,0.2), transparent 50%);
}
.v-music-info { flex: 1; min-width: 0; }
.v-music-title { font-size: 12px; font-weight: 500; color: #EEEEF2; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.v-music-artist { font-size: 11px; color: #8A8F9E; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.v-music-ctrl { display: flex; gap: 14px; color: #C8CAD4; }
.v-music-ctrl button {
  background: none; border: none; color: inherit;
  cursor: pointer; padding: 0;
  display: inline-flex;
}
.v-music-ctrl button:hover { color: #4DFF96; }
.v-music-ctrl svg { width: 18px; height: 18px; }

/* Deploy-style question picker */
.v-qhead {
  display: flex; align-items: center; gap: 8px;
  margin-bottom: 4px;
}
.v-qhead svg { width: 13px; height: 13px; color: #4DFF96; }
.v-qhead .label { font-size: 12px; color: #4DFF96; font-weight: 500; }
.v-qtitle { font-size: 13px; color: #EEEEF2; font-weight: 500; margin-bottom: 14px; }
.v-qopts { display: flex; flex-direction: column; gap: 6px; }
.v-qopt {
  display: flex; align-items: center; gap: 12px;
  padding: 10px 12px;
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.04);
  border-radius: 10px;
  cursor: pointer;
  transition: all .15s;
  color: #EEEEF2;
}
.v-qopt:hover { background: rgba(77,255,150,0.08); border-color: rgba(77,255,150,0.2); }
.v-qopt.sel { background: rgba(77,255,150,0.08); border-color: rgba(77,255,150,0.3); }
.v-qopt .v-qkbd {
  padding: 4px 8px;
  background: rgba(255,255,255,0.06);
  border-radius: 6px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 10px;
  color: #C8CAD4;
  font-weight: 600;
  flex-shrink: 0;
}
.v-qopt .v-qinfo { flex: 1; }
.v-qopt .v-qname { font-size: 13px; font-weight: 600; color: #EEEEF2; }
.v-qopt .v-qdesc { font-size: 11px; color: #8A8F9E; }

/* Completed toast (small notch) */
.v-toast {
  display: flex; align-items: center; gap: 10px;
  padding: 10px 16px;
  font-size: 13px;
}
.v-toast .v-check {
  width: 16px; height: 16px; color: #4DFF96;
}
.v-toast .v-toast-app { font-weight: 600; color: #EEEEF2; }
.v-toast .v-toast-msg { color: #8A8F9E; }

/* Desktop simulation frame for the story visuals */
.v-sim {
  position: absolute; inset: 0;
  background: linear-gradient(160deg, #2a2650 0%, #1a1540 40%, #3c2870 80%, #4a2080 100%);
  overflow: hidden;
}
.v-sim::after {
  content: '';
  position: absolute;
  inset: -5% -10% 40% -10%;
  background: radial-gradient(ellipse at 50% 40%, rgba(255,255,255,0.08), transparent 60%);
  transform: rotate(-8deg);
}
.v-sim .v-curve {
  position: absolute; left: 0; right: 0; bottom: -10%;
  height: 60%;
  background: linear-gradient(180deg, transparent, rgba(77,109,255,0.4));
  clip-path: polygon(0% 60%, 100% 30%, 100% 100%, 0% 100%);
  opacity: 0.5;
}
.v-sim-menu {
  position: absolute; top: 0; left: 0; right: 0;
  height: 22px;
  display: flex; align-items: center; gap: 12px;
  padding: 0 14px;
  font-size: 11px;
  color: rgba(255,255,255,0.9);
  font-family: 'Inter', sans-serif;
  z-index: 5;
}
.v-sim-menu .app { font-weight: 600; }
.v-sim-menu .sep { opacity: 0.7; font-weight: 400; }
.v-sim-menu-right {
  position: absolute; top: 0; right: 0;
  height: 22px;
  display: flex; align-items: center; gap: 10px;
  padding: 0 14px;
  font-size: 11px;
  color: rgba(255,255,255,0.85);
  font-family: 'JetBrains Mono', monospace;
}
.v-sim-menu-right svg { width: 12px; height: 12px; opacity: 0.85; }
.v-sim-notch-holder {
  position: absolute; top: 0; left: 50%;
  transform: translateX(-50%);
  padding-top: 0;
  z-index: 10;
  width: fit-content;
  max-width: 92%;
}

/* MacBook notch cutout shape — attached to menu bar */

/* Widgets grid (left side of desktop) */
.v-widgets {
  position: absolute; top: 34px; left: 18px;
  display: grid;
  grid-template-columns: 90px 110px;
  gap: 10px;
  z-index: 2;
}
.v-widget {
  background: rgba(40, 32, 90, 0.55);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-radius: 14px;
  padding: 10px 12px;
  color: rgba(255,255,255,0.95);
  font-family: 'Inter', sans-serif;
  border: 1px solid rgba(255,255,255,0.05);
}
.v-widget-cal { padding: 8px 10px; }
.v-cal-head {
  font-size: 9px; font-weight: 600;
  color: rgba(255,255,255,0.9);
  margin-bottom: 4px;
}
.v-cal-grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 1px;
  font-size: 7px;
  text-align: center;
}
.v-cal-dow { color: rgba(255,255,255,0.5); font-weight: 500; padding: 1px 0; }
.v-cal-day { padding: 1px 0; color: rgba(255,255,255,0.85); }
.v-cal-day.today {
  background: rgba(255,255,255,0.25);
  border-radius: 50%;
  font-weight: 700;
}
.v-widget-wx { font-size: 9px; }
.v-wx-city { font-weight: 600; margin-bottom: 2px; font-size: 10px; }
.v-wx-temp {
  font-size: 28px; font-weight: 300;
  line-height: 1; letter-spacing: -0.02em;
  margin: 4px 0 2px;
}
.v-wx-cond { display: flex; align-items: center; gap: 3px; font-size: 9px; color: rgba(255,255,255,0.85); margin-bottom: 3px; }
.v-wx-cond span:first-child { font-size: 11px; }
.v-wx-minmax { font-size: 8px; color: rgba(255,255,255,0.7); }
.v-widget-clocks {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 4px;
  padding: 8px 8px;
}
.v-clock { text-align: center; font-size: 7px; }
.v-clock-face { width: 28px; height: 28px; margin: 0 auto 3px; }
.v-clock-city { font-weight: 600; font-size: 8px; color: rgba(255,255,255,0.95); }
.v-clock-note { font-size: 7px; color: rgba(255,255,255,0.75); }
.v-clock-tz { font-size: 7px; color: rgba(255,255,255,0.6); }

/* Notch sizing */
.v-notch-wide { min-width: 420px; max-width: 92%; }
.v-notch-pill { min-width: 200px; }
.v-scene { position: relative; width: 100%; height: 100%; }
.hero-demo .v-scene, .story-visual .v-scene { position: absolute; inset: 0; }

/* Pill (collapsed) */
.v-pill {
  background: #0A0A0C;
  border-radius: 0 0 20px 20px;
  padding: 6px 16px;
  display: inline-flex; align-items: center; gap: 10px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  color: #EEEEF2;
}
.v-pill .v-dot { width: 6px; height: 6px; border-radius: 50%; background: #4DFF96; box-shadow: 0 0 6px #4DFF96; }

/* Hover actions on agent row */
.v-agent.hovered { background: rgba(255,255,255,0.05); }
.v-hover-actions {
  display: inline-flex; gap: 6px; margin-left: 2px;
  color: #8A8F9E;
}
.v-hover-actions svg { width: 12px; height: 12px; }

/* Keep-awake picker */
.v-awake-head {
  display: flex; align-items: center; gap: 10px;
  margin-bottom: 12px;
}
.v-awake-cup { color: #FFB84A; display: inline-flex; }
.v-awake-title {
  font-size: 14px; font-weight: 600; color: #FFB84A;
}
.v-awake-close {
  width: 22px; height: 22px; border-radius: 6px;
  background: rgba(255,255,255,0.06);
  color: #8A8F9E;
  display: inline-flex; align-items: center; justify-content: center;
  font-size: 14px;
}
.v-awake-for {
  font-size: 13px; font-weight: 600; color: #EEEEF2;
  margin-bottom: 10px;
}
.v-awake-opts { display: flex; flex-direction: column; gap: 4px; }
.v-awake-opt {
  display: flex; align-items: center; gap: 12px;
  padding: 10px 14px;
  background: rgba(255,255,255,0.03);
  border-radius: 10px;
  font-size: 13px; color: #C8CAD4;
}
.v-awake-opt.sel {
  background: rgba(255,184,74,0.08);
  color: #EEEEF2;
  font-weight: 600;
}
.v-awake-radio {
  width: 16px; height: 16px; border-radius: 50%;
  border: 1.5px solid rgba(255,255,255,0.25);
  flex-shrink: 0;
  position: relative;
}
.v-awake-opt.sel .v-awake-radio {
  border-color: #FFB84A;
}
.v-awake-opt.sel .v-awake-radio::after {
  content: ''; position: absolute; inset: 3px;
  background: #FFB84A; border-radius: 50%;
}

/* Keyboard shortcuts section */
.shortcuts {
  padding: 100px 0;
  border-top: 1px solid var(--border);
}
.sc-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 40px;
}
@media (max-width: 760px) { .sc-grid { grid-template-columns: 1fr; } }
.sc-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 22px 24px;
  display: flex; align-items: center; gap: 18px;
  transition: border-color .15s;
}
.sc-card:hover { border-color: var(--accent-dim); }
.sc-keys { display: inline-flex; align-items: center; gap: 4px; flex-shrink: 0; }
.sc-keys kbd {
  display: inline-flex; align-items: center; justify-content: center;
  min-width: 28px; height: 28px; padding: 0 6px;
  background: #0A0A0C;
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 6px;
  font-family: var(--mono);
  font-size: 13px;
  font-weight: 600;
  color: #EEEEF2;
  box-shadow: 0 2px 0 rgba(255,255,255,0.04) inset, 0 2px 4px rgba(0,0,0,0.4);
}
.sc-sep { color: var(--muted); font-size: 12px; padding: 0 2px; }
.sc-label {
  font-size: 14px;
  color: var(--text);
  font-weight: 500;
}
