/* ============================================================
   Recreated Wasool UI fragments used throughout the marketing
   site — real interface, not stock illustration.
   ============================================================ */

.phone-frame {
  width: 300px;
  background: var(--navy);
  border-radius: 34px;
  padding: 12px;
  box-shadow: 0 30px 60px -20px rgba(22, 40, 61, 0.45);
  position: relative;
}
.phone-screen {
  background: var(--paper);
  border-radius: 24px;
  overflow: hidden;
  min-height: 420px;
  position: relative;
  padding: 16px 14px 20px;
}
.phone-notch {
  position: absolute; top: 12px; left: 50%; transform: translateX(-50%);
  width: 70px; height: 6px; background: rgba(255,255,255,0.15); border-radius: 10px;
}

/* ---- Recreated Collection card ---- */
.demo-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 16px;
  position: relative;
  box-shadow: 0 2px 10px rgba(22,40,61,0.05);
}
.demo-row1 { font-family: var(--sans); font-weight: 700; font-size: 0.95rem; color: var(--navy); }
.demo-row2 { font-size: 0.75rem; color: var(--slate-soft); margin-top: 2px; }
.demo-divider { border-top: 1px dashed var(--line); margin: 10px 0; }
.demo-amount-row { display: flex; justify-content: space-between; font-size: 0.85rem; }
.demo-amount-row b { color: var(--navy); font-size: 1rem; }

.demo-actions { display: flex; gap: 8px; margin-top: 14px; }
.demo-btn {
  flex: 1; text-align: center; padding: 9px 0; border-radius: 8px;
  font-size: 0.8rem; font-weight: 700; border: 1.5px solid var(--line); color: var(--slate);
}
.demo-btn.cash { border-color: var(--green); color: var(--green); }
.demo-btn.bank { border-color: #2C6E8E; color: #2C6E8E; }

/* Stamp — the signature moment: appears with a settling rotation,
   like an actual rubber stamp landing on a page. */
.demo-stamp {
  position: absolute; top: 14px; right: 14px;
  background: var(--green); color: #fff;
  font-size: 0.68rem; font-weight: 800; letter-spacing: 0.04em;
  padding: 5px 10px; border-radius: 6px;
  transform: rotate(-8deg) scale(0);
  opacity: 0;
  transition: transform 0.45s cubic-bezier(.34,1.56,.64,1), opacity 0.3s ease;
}
.demo-stamp.stamped {
  transform: rotate(-8deg) scale(1);
  opacity: 1;
}

/* ---- Recreated ledger/statement row ---- */
.ledger-strip { border: 1px solid var(--line); border-radius: 12px; overflow: hidden; background: #fff; }
.ledger-row {
  display: flex; justify-content: space-between; align-items: center;
  padding: 12px 16px; border-bottom: 1px solid var(--paper-2);
  font-size: 0.85rem;
}
.ledger-row:last-child { border-bottom: none; }
.ledger-row .l-date { color: var(--slate-soft); font-size: 0.78rem; width: 92px; flex-shrink: 0; }
.ledger-row .l-type { flex: 1; color: var(--navy); font-weight: 600; }
.ledger-row .l-amt { font-weight: 700; }
.ledger-row .l-amt.pos { color: var(--green); }
.ledger-row .l-amt.neg { color: #B23A3A; }
.ledger-row .l-bal { width: 90px; text-align: right; color: var(--slate-soft); font-size: 0.78rem; }

/* ---- Balance-check demo (data integrity section) ---- */
.check-card { background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 22px; }
.check-row { display: flex; justify-content: space-between; padding: 10px 0; border-bottom: 1px dashed var(--line); font-size: 0.9rem; }
.check-row:last-child { border-bottom: none; }
.check-mismatch { color: #B23A3A; font-weight: 700; }
.check-fixed { color: var(--green); font-weight: 700; }
.check-btn {
  width: 100%; margin-top: 14px; padding: 11px 0; text-align: center;
  border: 1.5px solid #B23A3A; color: #B23A3A; border-radius: 8px; font-weight: 700; font-size: 0.85rem;
  transition: background 0.2s ease, color 0.2s ease;
}
.check-btn.done { border-color: var(--green); color: var(--green); background: rgba(46,125,91,0.08); }

/* ---- Device trio (cross-platform section) ---- */
.device-trio { position: relative; height: 360px; }
.device-trio .laptop {
  position: absolute; left: 0; top: 30px; width: 78%;
  background: var(--navy); border-radius: 10px 10px 0 0; padding: 10px 10px 0;
}
.device-trio .laptop .screen { background: var(--paper); border-radius: 4px; aspect-ratio: 16/10; padding: 14px; }
.device-trio .laptop-base { position: absolute; left: 0; top: 30px; width: 78%; height: 14px; background: var(--navy-soft); border-radius: 0 0 8px 8px; margin-top: 0; }
.device-trio .tablet {
  position: absolute; right: 0; top: 60px; width: 34%;
  background: var(--navy); border-radius: 14px; padding: 10px;
  box-shadow: 0 20px 40px -14px rgba(22,40,61,0.4);
}
.device-trio .tablet .screen { background: var(--paper); border-radius: 6px; aspect-ratio: 3/4; padding: 10px; }
.device-trio .mini-phone {
  position: absolute; right: 8%; bottom: -10px; width: 15%;
  background: var(--navy); border-radius: 12px; padding: 6px;
  box-shadow: 0 16px 30px -12px rgba(22,40,61,0.45);
}
.device-trio .mini-phone .screen { background: var(--paper); border-radius: 5px; aspect-ratio: 9/18; }

@media (max-width: 700px) {
  .device-trio { height: 260px; }
}

/* ---- Org chart (built-for-teams section) ---- */
.org-chart { display: flex; flex-direction: column; align-items: center; gap: 6px; }
.org-node {
  background: #fff; border: 1.5px solid var(--line); border-radius: 10px;
  padding: 10px 18px; font-size: 0.85rem; font-weight: 700; color: var(--navy);
  box-shadow: 0 2px 8px rgba(22,40,61,0.05);
}
.org-node.owner { border-color: var(--gold); color: var(--gold-deep); }
.org-branch-row { display: flex; gap: 40px; margin-top: 6px; }
.org-connector { width: 1px; height: 20px; background: var(--line); }
