:root {
  --bg: #06150f;
  --bg-2: #0b2118;
  --card: rgba(10, 29, 21, 0.76);
  --line: rgba(255,255,255,0.08);
  --text: #eff8f2;
  --muted: #a4c2b1;
  --green: #1cc267;
  --green-2: #16a34a;
  --mint: #cff8df;
  --chat-bg: linear-gradient(180deg, #eef8f1 0%, #e2f3e8 100%);
  --assistant: #ffffff;
  --user: linear-gradient(180deg, #17b45f 0%, #0ea34d 100%);
  --shadow: 0 24px 80px rgba(0,0,0,0.35);
}
* { box-sizing: border-box; }
html, body { margin: 0; min-height: 100%; font-family: Inter, system-ui, sans-serif; color: var(--text); background: radial-gradient(circle at top left, #123626 0%, var(--bg) 48%, #04100c 100%); }
body { overflow-x: hidden; }
.bg-orb { position: fixed; border-radius: 999px; filter: blur(70px); opacity: .24; pointer-events: none; }
.orb-1 { width: 340px; height: 340px; background: #22c55e; top: -60px; left: -80px; }
.orb-2 { width: 420px; height: 420px; background: #14b8a6; bottom: -120px; right: -100px; }
.page { max-width: 1440px; margin: 0 auto; padding: 36px 24px 56px; }
.topbar { display: flex; justify-content: space-between; gap: 24px; align-items: end; margin-bottom: 28px; }
.eyebrow { margin: 0 0 8px; text-transform: uppercase; letter-spacing: .18em; color: #79d6a0; font-size: 12px; font-weight: 700; }
h1 { margin: 0; font-size: clamp(34px, 5vw, 62px); line-height: .95; }
.sub { margin: 12px 0 0; max-width: 760px; color: var(--muted); font-size: 16px; line-height: 1.5; }
.topbar-actions { display: flex; gap: 12px; flex-wrap: wrap; justify-content: flex-end; }
.btn { border: 0; border-radius: 18px; padding: 14px 18px; font-weight: 700; font-size: 14px; cursor: pointer; transition: .18s ease; }
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: linear-gradient(180deg, #2ee47d, #10b658); color: #032110; box-shadow: 0 12px 30px rgba(29, 194, 103, .28); }
.btn-secondary, .btn-ghost { background: rgba(255,255,255,.06); color: var(--text); border: 1px solid rgba(255,255,255,.08); }
.stage { display: grid; grid-template-columns: 380px minmax(320px, 1fr); gap: 30px; align-items: center; }
.card { backdrop-filter: blur(18px); background: var(--card); border: 1px solid var(--line); box-shadow: var(--shadow); }
.control-panel { border-radius: 28px; padding: 22px; }
.panel-block + .panel-block { margin-top: 22px; }
.panel-label { margin: 0 0 10px; color: #80c99c; font-size: 12px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
select { width: 100%; border-radius: 16px; padding: 14px 16px; font: inherit; color: var(--text); background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.08); }
.approvals { display: grid; gap: 10px; }
.approval { display: flex; justify-content: space-between; gap: 12px; padding: 12px 14px; border-radius: 16px; background: rgba(255,255,255,.05); color: #dff6e6; font-size: 14px; }
.approval span:last-child { font-weight: 800; }
.summary { padding: 16px; border-radius: 18px; background: linear-gradient(180deg, rgba(18,72,46,.56), rgba(11,42,29,.58)); border: 1px solid rgba(117,231,159,.16); line-height: 1.5; }
.summary.muted { color: var(--muted); }
.panel-actions { display: grid; gap: 10px; }
.phone-wrap { position: relative; display: flex; justify-content: center; align-items: center; min-height: 780px; }
.device-shadow { position: absolute; width: 420px; height: 780px; background: radial-gradient(circle, rgba(0,0,0,.42), transparent 68%); filter: blur(16px); }
.iphone { position: relative; width: 390px; height: 820px; padding: 14px; border-radius: 56px; background: linear-gradient(145deg, #151515, #040404 60%, #1a1a1a); box-shadow: 0 0 0 2px rgba(255,255,255,.06), 0 30px 80px rgba(0,0,0,.45); }
.iphone::before { content: ''; position: absolute; inset: 6px; border-radius: 50px; border: 1px solid rgba(255,255,255,.08); pointer-events: none; }
.notch { position: absolute; top: 18px; left: 50%; transform: translateX(-50%); width: 150px; height: 34px; background: #000; border-radius: 0 0 20px 20px; z-index: 3; }
.screen { height: 100%; border-radius: 44px; overflow: hidden; background: var(--chat-bg); position: relative; display: flex; flex-direction: column; }
.app-header { display: flex; align-items: center; justify-content: space-between; padding: 22px 18px 16px; background: linear-gradient(180deg, rgba(7,66,35,.96), rgba(11,101,51,.92)); color: white; font-weight: 700; }
.app-header > div { display: flex; align-items: center; gap: 10px; }
.bank-dot { width: 14px; height: 14px; border-radius: 50%; background: linear-gradient(180deg, #96ffd1, #37e87d); box-shadow: 0 0 0 5px rgba(255,255,255,.08); }
.status-pill { font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: #dafce8; padding: 7px 10px; border-radius: 999px; background: rgba(255,255,255,.14); }
.chat { flex: 1; overflow-y: auto; padding: 20px 14px 24px; display: flex; flex-direction: column; gap: 12px; }
.message { max-width: 84%; padding: 12px 14px; border-radius: 20px; box-shadow: 0 12px 24px rgba(0,0,0,.08); animation: rise .35s ease; line-height: 1.42; font-size: 14px; white-space: pre-line; }
.message.assistant { align-self: flex-start; background: var(--assistant); color: #153226; border-bottom-left-radius: 8px; }
.message.user { align-self: flex-end; background: var(--user); color: white; border-bottom-right-radius: 8px; }
.message.system { align-self: center; max-width: 92%; background: rgba(22,95,53,.08); color: #2f6b4a; font-size: 12px; box-shadow: none; border-radius: 999px; }
.message.typing { width: 74px; white-space: nowrap; }
.dot { display: inline-block; width: 8px; height: 8px; margin-right: 6px; border-radius: 50%; background: #78c99f; animation: blink 1.1s infinite; }
.dot:nth-child(2){ animation-delay: .15s; }
.dot:nth-child(3){ animation-delay: .3s; margin-right: 0; }
.app-footer { padding: 14px; background: rgba(255,255,255,.78); border-top: 1px solid rgba(0,0,0,.05); }
.input-shell { background: white; border-radius: 18px; padding: 14px 16px; color: #86a193; box-shadow: inset 0 0 0 1px rgba(0,0,0,.05); }
@keyframes blink { 0%, 80%, 100% { opacity: .25; transform: translateY(0); } 40% { opacity: 1; transform: translateY(-3px); } }
@keyframes rise { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: translateY(0); } }
@media (max-width: 1100px) { .stage { grid-template-columns: 1fr; } .topbar { flex-direction: column; align-items: start; } .topbar-actions { justify-content: start; } }
@media (max-width: 520px) { .page { padding: 20px 14px 30px; } .iphone { transform: scale(.92); transform-origin: top center; } .phone-wrap { min-height: 700px; } }
