/* ============================================================
   NeoCloud landing — product visuals on top of the shared
   NeoLabs stylesheet (styles.css, same as NeoRouter's).
   ============================================================ */

.brand-mark img { width: 100%; height: 100%; display: block; }

/* ---------- hero: the vault (files encrypt as they arrive) ---------- */
.vault {
  max-width: 520px;
  margin-left: auto;
  display: flex;
  flex-direction: column;
  gap: 18px;
  padding: clamp(22px, 3vw, 30px) clamp(20px, 3vw, 32px);
  border-radius: var(--radius-lg);
  background: var(--app-bg);
  color: var(--app-ink);
  box-shadow: var(--shadow-lg), 0 0 0 1px var(--app-line);
}

.vault-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; font-size: 13.5px; color: var(--app-ink-2); }
.vault-head b { color: var(--app-ink); font-weight: 600; }
.vault-title { display: flex; align-items: center; gap: 10px; min-width: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.vault-title i { width: 8px; height: 8px; border-radius: 999px; background: var(--app-gold); box-shadow: 0 0 12px rgba(225, 176, 82, .7); flex: 0 0 auto; animation: vault-pulse 1.6s ease-in-out infinite; }
.vault-lock { display: inline-flex; align-items: center; gap: 6px; padding: 5px 10px; border-radius: 999px; border: 1px solid var(--app-line-2); font-family: var(--mono); font-size: 11.5px; color: var(--app-ink-2); }
.vault-lock svg { width: 13px; height: 13px; }

.vault-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; min-height: 252px; }
.vault-item {
  display: grid;
  grid-template-columns: 36px 1fr auto;
  align-items: center;
  gap: 4px 14px;
  padding: 10px 12px;
  border-radius: 14px;
  background: var(--app-card);
  border: 1px solid var(--app-line);
  opacity: 0;
  transform: translateY(8px);
  transition: opacity .5s var(--ease), transform .5s var(--ease);
}
.vault-item.in { opacity: 1; transform: none; }
.vault-icon { grid-row: span 2; width: 36px; height: 36px; display: grid; place-items: center; border-radius: 10px; background: var(--app-well); border: 1px solid var(--app-line); font-size: 17px; }
.vault-name { font-size: 14px; font-weight: 500; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.vault-size { font-family: var(--mono); font-size: 11.5px; color: var(--app-ink-3); }
.vault-bytes {
  grid-column: 2 / -1;
  height: 16px;
  position: relative;
  overflow: hidden;
  font-family: var(--mono);
  font-size: 11px;
  line-height: 16px;
  color: var(--app-ink-3);
  white-space: nowrap;
}
.vault-bar { position: absolute; left: 0; bottom: 0; height: 2px; width: 0; border-radius: 2px; background: var(--app-gold); transition: width .12s linear; }
.vault-item.sealed .vault-bytes { color: var(--app-gold); }
.vault-item.sealed .vault-bar { opacity: 0; transition: opacity .3s; }
.vault-item.sealed .vault-size::after { content: " · sealed"; color: var(--app-success); }

.vault-foot { display: flex; justify-content: space-between; gap: 16px; font-family: var(--mono); font-size: 12px; color: var(--app-ink-3); }

@keyframes vault-pulse { 0%, 100% { opacity: .55; } 50% { opacity: 1; } }

/* ---------- backups: one source, four targets ---------- */
.flow {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) 72px minmax(0, 1fr);
  align-items: center;
  padding: clamp(20px, 3vw, 30px);
  border-radius: var(--radius-lg);
  background: var(--app-bg);
  color: var(--app-ink);
  box-shadow: var(--shadow-lg), 0 0 0 1px var(--app-line);
}
.flow-source { display: flex; align-items: center; gap: 12px; padding: 14px; border-radius: 16px; background: var(--app-card); border: 1px solid var(--app-line-2); }
.flow-source .brand-mark { width: 40px; height: 40px; flex: 0 0 auto; }
.flow-source b, .flow-targets b { display: block; font-size: 14px; font-weight: 600; }
.flow-source b, .flow-source span { white-space: nowrap; }
.flow-source span, .flow-targets span { display: block; font-family: var(--mono); font-size: 11.5px; color: var(--app-ink-3); margin-top: 2px; }
.flow-lines { height: 220px; }
.flow-lines svg { width: 100%; height: 100%; overflow: visible; }
.flow-lines path { fill: none; stroke: var(--app-line-2); stroke-width: 1.4; vector-effect: non-scaling-stroke; }
.flow-lines path:nth-child(odd) { stroke-dasharray: 3 7; animation: flow-dash 1.4s linear infinite; stroke: rgba(225, 176, 82, .55); }
.flow-targets { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.flow-targets li { padding: 10px 14px; border-radius: 12px; background: var(--app-card); border: 1px solid var(--app-line); }
.flow-targets li span::before { content: ""; display: inline-block; width: 6px; height: 6px; margin-right: 6px; border-radius: 999px; background: var(--app-success); vertical-align: 1px; }

@keyframes flow-dash { to { stroke-dashoffset: -20; } }

/* ---------- security: the key ladder and sealed segments ---------- */
.keys {
  padding: clamp(22px, 3vw, 32px);
  border-radius: var(--radius-lg);
  background: var(--surface-solid);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-md);
}
.key-row { display: flex; align-items: baseline; gap: 10px; padding: 12px 0; border-bottom: 1px solid var(--line); }
.key-row b { font-weight: 600; }
.key-row span:last-child { margin-left: auto; color: var(--ink-3); font-size: 14px; }
.key-row.indent { padding-left: 22px; }
.key-row.indent-2 { padding-left: 44px; }
.key-dot { width: 8px; height: 8px; border-radius: 999px; background: var(--ink-3); align-self: center; flex: 0 0 auto; }
.key-dot.gold { background: var(--gold); }
.segments { display: grid; grid-template-columns: repeat(16, minmax(0, 1fr)); gap: 4px; margin-top: 22px; }
.segments i { height: 26px; border-radius: 5px; background: var(--bg-3); border: 1px solid var(--line); transition: background .4s var(--ease), border-color .4s; }
.segments i.sealed { background: var(--gold-muted); border-color: rgba(176, 125, 43, .35); }
.segments-note { margin-top: 12px; font-family: var(--mono); font-size: 12px; color: var(--ink-3); }

/* ---------- small additions ---------- */
.cmd { display: inline-block; margin-top: 14px; padding: 6px 10px; border-radius: 8px; background: var(--bg-3); border: 1px solid var(--line); font-family: var(--mono); font-size: 12.5px; color: var(--ink-2); }

/* ---------- download: one card per platform ---------- */
.download { display: flex; flex-direction: column; }
.download p { flex: 1; }
.download code { font-family: var(--mono); font-size: 13px; }
.dl-actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; }
.dl-alt { color: var(--ink); text-decoration: underline; text-underline-offset: 3px; text-decoration-color: var(--line-2); }
.dl-alt:hover { color: var(--ink); }
.dl-actions .btn { min-height: 42px; padding: 10px 16px; font-size: 14.5px; }

.clients { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 22px; }
.client { padding: 10px 16px; border-radius: 999px; border: 1px solid var(--line-2); background: var(--surface-solid); color: var(--ink-2); font-size: 14.5px; text-decoration: none; }
a.client:hover { color: var(--ink); border-color: var(--line-strong); }
.client.on { border-color: rgba(176, 125, 43, .45); color: var(--ink); }
.client em { font-style: normal; font-family: var(--mono); font-size: 11.5px; color: var(--ink-3); margin-left: 6px; }
.client em:empty { display: none; }

@media (max-width: 1080px) {
  .vault { margin-inline: auto; }
}

@media (max-width: 760px) {
  .flow { grid-template-columns: 1fr; gap: 14px; }
  .flow-lines { display: none; }
  .segments { grid-template-columns: repeat(8, minmax(0, 1fr)); }
}

@media (prefers-reduced-motion: reduce) {
  .vault-title i, .flow-lines path { animation: none; }
  .vault-item, .segments i { transition: none; }
}
