/* ---------- Hero ---------- */
.hero { position: relative; padding: 80px 0 100px; overflow: hidden; }
.hero::before {
  content:''; position:absolute; top:-120px; right:-140px;
  width:560px; height:560px; border-radius:50%;
  background: conic-gradient(from 0deg, var(--c-teal-soft), var(--c-lav-soft), var(--c-indigo-soft), var(--c-violet-soft), var(--c-teal-soft));
  filter: blur(80px); opacity: 0.6;
  animation: orbSpin 24s linear infinite;
  z-index: 0; pointer-events: none;
}
.hero::after {
  content:''; position:absolute; bottom:-180px; left:-160px;
  width: 420px; height: 420px; border-radius: 50%;
  background: radial-gradient(circle, var(--c-teal-soft), transparent 70%);
  filter: blur(60px); opacity: 0.55;
  z-index: 0; pointer-events: none;
}
@keyframes orbSpin { to { transform: rotate(360deg); } }

.hero__grid {
  position: relative; z-index: 1;
  display: grid; grid-template-columns: 1.05fr 1fr; gap: 80px; align-items: center;
}
.hero__chip {
  display:inline-flex; align-items: center; gap: 8px;
  padding: 6px 12px 6px 8px; border-radius: var(--r-pill);
  background: #fff; border: 1px solid var(--border);
  font-family: var(--font-mono); font-size: 11px; font-weight: 500;
  color: var(--ink-body); letter-spacing: 0.04em;
  margin-bottom: 28px;
}
.hero__chip__dot { width: 18px; height: 18px; border-radius: 50%; background: var(--brand-grad); display: inline-block; }
.hero__sub { margin-top: 24px; max-width: 52ch; }
.hero__cta { margin-top: 36px; display: flex; gap: 12px; flex-wrap: wrap; }
.hero__reassure { margin-top: 18px; font-family: var(--font-mono); font-size: 12px; color: var(--ink-muted); letter-spacing: 0.02em; }
.hero__reassure span { margin: 0 6px; color: var(--ink-secondary); }

/* Diorama */
.diorama {
  position: relative; perspective: 1600px;
  min-height: 560px;
}
.diorama__inner {
  position: absolute; inset: 0;
  transform-style: preserve-3d;
  transform: rotateX(4deg) rotateY(-8deg);
  transition: transform .4s var(--ease);
}
.frame {
  position: absolute; inset: 0;
  background: #fff; border-radius: 18px;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-mock);
  overflow: hidden;
  transform: translateZ(0);
}
.frame__bar {
  height: 36px; background: #f6f4f0; border-bottom: 1px solid var(--border-soft);
  display: flex; align-items: center; gap: 6px; padding: 0 14px;
}
.frame__bar i { width: 10px; height: 10px; border-radius: 50%; background: #e5e2dd; display:inline-block; }
.frame__bar i:nth-child(1){ background:#ff6058; }
.frame__bar i:nth-child(2){ background:#febb2e; }
.frame__bar i:nth-child(3){ background:#28c840; }
.frame__url {
  margin-left: 16px; padding: 4px 12px;
  background: #fff; border: 1px solid var(--border-soft);
  border-radius: 999px; font-family: var(--font-mono); font-size: 11px; color: var(--ink-muted);
}
.frame__body { padding: 18px; display: grid; gap: 12px; }

/* Inbox rows */
.inbox-row {
  display: grid; grid-template-columns: 28px 1fr auto auto; gap: 12px; align-items: center;
  padding: 10px 12px; border: 1px solid var(--border-soft); border-radius: 12px;
  background: #fff; transition: border-color .25s var(--ease);
  position: relative;
}
.inbox-row.is-new {
  border-color: var(--c-teal);
  box-shadow: 0 0 0 4px rgba(13,143,136,0.08);
  animation: rowIn .8s var(--ease);
}
@keyframes rowIn {
  from { transform: translateX(-12px); opacity: 0; }
  to { transform: translateX(0); opacity: 1; }
}
.inbox-row__ch { width: 28px; height: 28px; border-radius: 8px; display:grid; place-items:center; color: #fff; font-size: 12px; font-weight: 600; }
.ch-wa { background: #25d366; }
.ch-meta { background: #1877f2; }
.ch-tg { background: #2aabee; }
.ch-mail { background: #6d6d6d; }
.ch-form { background: #0d8f88; }
.ch-hook { background: #3b2fc9; }
.inbox-row__name { font-weight: 600; color: var(--ink); font-size: 13px; }
.inbox-row__msg { font-size: 12px; color: var(--ink-muted); }
.inbox-row__assignee { font-family: var(--font-mono); font-size: 11px; color: var(--ink-body); padding: 3px 8px; border-radius: 999px; background: var(--bone); }
.inbox-row__pill { font-family: var(--font-mono); font-size: 10px; font-weight: 600; padding: 3px 8px; border-radius: 999px; letter-spacing: 0.04em; }
.pill-routed { background: var(--c-teal-soft); color: var(--c-teal); }
.pill-replied { background: var(--c-indigo-soft); color: var(--c-indigo); }
.pill-new { background: var(--c-lav-soft); color: var(--c-lav); }

/* Floating cards in diorama */
.float-card {
  position: absolute;
  background: #fff; border: 1px solid var(--border-soft);
  border-radius: 14px; padding: 14px 16px;
  box-shadow: var(--shadow-card);
}
.float-card.fc-1 {
  top: -24px; left: -40px; width: 220px;
  transform: translateZ(60px);
}
.float-card.fc-2 {
  bottom: -28px; right: -32px; width: 240px;
  transform: translateZ(40px);
}
.fc__label { font-family: var(--font-mono); font-size: 10px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--c-indigo); }
.fc__num { font-family: var(--font-display); font-size: 28px; font-weight: 500; letter-spacing: -0.025em; color: var(--ink); margin: 4px 0; }
.fc__sub { font-size: 12px; color: var(--ink-muted); }
.fc__bars { display:flex; align-items:flex-end; gap: 4px; height: 32px; margin-top: 10px; }
.fc__bars i { display:block; width: 6px; background: var(--brand-grad); border-radius: 3px; opacity: 0.85; }

.timeline {
  margin-top: 16px;
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 0;
  font-family: var(--font-mono); font-size: 10px; letter-spacing: 0.04em;
  border: 1px solid var(--border-soft); border-radius: 10px; overflow: hidden;
}
.timeline > div { padding: 8px 10px; border-right: 1px solid var(--border-soft); }
.timeline > div:last-child { border-right: 0; }
.timeline b { font-weight: 600; color: var(--ink); display: block; }
.timeline span { color: var(--ink-muted); }

/* Trust strip */
.trust { padding: 36px 0 28px; border-top: 1px solid var(--border-soft); border-bottom: 1px solid var(--border-soft); background: #fff; position: relative; z-index: 2; }
.trust__row { display:flex; flex-direction: column; align-items: center; justify-content: center; gap: 18px; text-align: center; }
.trust__label { font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--ink-muted); }
.trust__logos { display:flex; align-items: center; justify-content: center; gap: 36px; flex-wrap: wrap; }
.trust__logo { font-family: var(--font-display); font-size: 14px; font-weight: 600; color: var(--ink-muted); letter-spacing: -0.01em; transition: color .2s; }
.trust__logo:hover { color: var(--ink); }
.trust__badges { display:flex; align-items: center; justify-content: center; gap: 10px; flex-wrap: wrap; }
.badge {
  font-family: var(--font-mono); font-size: 10px; font-weight: 600; letter-spacing: 0.06em;
  padding: 5px 10px; border-radius: 999px; border: 1px solid var(--border);
  color: var(--ink-body); background: #fff;
  display:inline-flex; align-items: center; gap: 6px;
}
.badge::before { content:""; width: 6px; height: 6px; border-radius: 50%; background: #19b27a; }
.badge.in-prog::before { background: #f0a020; }

@media (max-width: 980px) {
  .hero__grid { grid-template-columns: 1fr; }
  .diorama { min-height: 460px; margin-top: 40px; }
  .float-card.fc-1 { left: 0; top: -16px; }
  .float-card.fc-2 { right: 0; bottom: -16px; }
}
