/* The CatChat Desktop vision page. It uses the tokens in styles.css and mobile.css. */

/* A desktop window: a title bar with three dots and a screenshot. */
.window {
  margin: 0;
  width: 100%;
  max-width: 760px;
  background: #fff;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 0 0 1px #c9d1dd, 0 30px 60px rgba(0, 56, 117, 0.22);
}
.window .bar { display: flex; gap: 7px; padding: 10px 12px; background: #e9edf3; border-bottom: 1px solid #d3d9e3; }
.window .bar i { width: 11px; height: 11px; border-radius: 50%; background: #c3cad6; }
.window .bar i:nth-child(1) { background: #ff5f57; }
.window .bar i:nth-child(2) { background: #febc2e; }
.window .bar i:nth-child(3) { background: #28c840; }
.window img { display: block; width: 100%; height: auto; }

/* A frame with no screenshot yet. */
.window .shot-todo {
  aspect-ratio: 16 / 10;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 24px;
  font: 400 14px var(--mono);
  color: var(--muted);
  background-image:
    linear-gradient(var(--grid) 1px, transparent 1px),
    linear-gradient(90deg, var(--grid) 1px, transparent 1px);
  background-size: 24px 24px;
}

.d-hero { grid-template-columns: 1fr 1.3fr; }
.d-hero .window { transform: perspective(1600px) rotateY(-8deg) rotateX(2deg); }

.feature .window { flex: 1 1 58%; }
.feature .feature-text { flex: 1 1 42%; }

.grid-4 { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 20px; margin-top: 24px; }
.cap { background: var(--panel); border: 1px solid var(--line); border-top: 3px solid var(--gold); padding: 18px 20px; }
.cap h3 { margin: 0 0 6px; font-size: 17px; color: var(--blue); }
.cap p { margin: 0; color: var(--muted); font-size: 15px; }

@media (max-width: 760px) {
  .d-hero .window { transform: none; }
}
