/* Guided customer-app demo around the iPhone frame */
.ca-demo-page {
    min-height: 100vh;
    background: #0d1117;
    color: #e8eaf0;
    font-family: Barlow, system-ui, sans-serif;
}
.ca-demo-banner {
    background: #161c26;
    border-bottom: 1px solid rgba(255,255,255,.08);
    padding: .65rem 1.25rem;
    font-size: .85rem;
    color: #7a8496;
    text-align: center;
}
.ca-demo-banner strong { color: #f5800a; }
.ca-demo-head {
    max-width: 1100px;
    margin: 0 auto;
    padding: 1.5rem 1.5rem 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}
.ca-demo-brand { display: flex; align-items: center; gap: .7rem; color: inherit; text-decoration: none; }
.ca-demo-brand-icon {
    width: 36px; height: 36px; border-radius: 8px;
    background: #f5800a; color: #0d1117;
    display: flex; align-items: center; justify-content: center;
}
.ca-demo-brand h1 { font-family: "Barlow Condensed", sans-serif; font-size: 1.15rem; text-transform: uppercase; margin: 0; }
.ca-demo-brand span { display: block; font-size: .75rem; color: #7a8496; }
.ca-demo-back { color: #7a8496; font-size: .85rem; text-decoration: none; }
.ca-demo-back:hover { color: #e8eaf0; }

.ca-demo-stage {
    max-width: 1100px;
    margin: 0 auto;
    padding: 1.5rem 1.5rem 3rem;
    display: grid;
    gap: 2.5rem;
    align-items: center;
}
@media (min-width: 900px) {
    .ca-demo-stage { grid-template-columns: minmax(280px, 340px) 1fr; }
}

.ca-demo-phone-col {
    display: flex;
    justify-content: center;
    padding-bottom: 2.4rem;
}
.ca-demo-stage.is-dash .ca-demo-phone-col { opacity: .55; transform: scale(.92); transform-origin: top center; }

.ca-demo-copy h2 {
    font-family: "Barlow Condensed", sans-serif;
    font-size: clamp(1.6rem, 3vw, 2.2rem);
    text-transform: uppercase;
    letter-spacing: -.02em;
    margin: 0 0 .6rem;
}
.ca-demo-kicker {
    font-size: .72rem;
    letter-spacing: .12em;
    text-transform: uppercase;
    color: #f5800a;
    margin-bottom: .4rem;
    font-family: ui-monospace, monospace;
}
.ca-demo-copy p { color: #7a8496; font-size: 1.02rem; line-height: 1.55; margin: 0 0 1.25rem; }
.ca-demo-actions { display: flex; flex-wrap: wrap; gap: .6rem; align-items: center; }
.ca-demo-btn {
    appearance: none; border: 1px solid rgba(255,255,255,.12);
    background: #1e2530; color: #e8eaf0;
    border-radius: .5rem; padding: .55rem 1rem;
    font: inherit; cursor: pointer;
}
.ca-demo-btn:hover { border-color: rgba(245,128,10,.4); }
.ca-demo-btn-next { background: #f5800a; color: #0d1117; border-color: #f5800a; font-weight: 700; }
.ca-demo-count { font-size: .8rem; color: #7a8496; }

.ca-demo-dash {
    display: none;
    margin-top: 1rem;
    background: #161c26;
    border: 1px solid rgba(255,255,255,.08);
    border-radius: .75rem;
    overflow: hidden;
}
.ca-demo-stage.is-dash .ca-demo-dash { display: block; }
.ca-demo-dash-bar {
    background: #1e2530;
    padding: .45rem .75rem;
    display: flex; align-items: center; gap: .45rem;
    font-size: .7rem; color: #7a8496; font-family: ui-monospace, monospace;
}
.ca-demo-dots { display: flex; gap: .3rem; }
.ca-demo-dots span { width: 8px; height: 8px; border-radius: 50%; background: rgba(255,255,255,.18); }
.ca-demo-dash-body { padding: 1rem; }
.ca-demo-dash-title { font-weight: 700; margin-bottom: .75rem; }
.ca-demo-kpis { display: grid; grid-template-columns: repeat(4, 1fr); gap: .5rem; margin-bottom: .85rem; }
.ca-demo-kpi { background: #1e2530; border-radius: .45rem; padding: .55rem; text-align: center; }
.ca-demo-kpi b { display: block; font-size: 1.1rem; }
.ca-demo-kpi span { font-size: .65rem; color: #7a8496; text-transform: uppercase; letter-spacing: .04em; }
.ca-demo-table { width: 100%; border-collapse: collapse; font-size: .82rem; }
.ca-demo-table th { text-align: left; color: #7a8496; font-weight: 600; padding: .4rem 0; border-bottom: 1px solid rgba(255,255,255,.08); }
.ca-demo-table td { padding: .55rem 0; border-bottom: 1px solid rgba(255,255,255,.06); vertical-align: top; }
.ca-demo-table tr.is-on td { background: rgba(245,128,10,.08); }
.ca-pill { display: inline-block; font-size: .68rem; padding: .12rem .4rem; border-radius: 999px; font-weight: 700; }
.ca-pill-new { background: rgba(245,128,10,.18); color: #fbbf24; }
.ca-pill-prog { background: rgba(96,165,250,.18); color: #60a5fa; }
.ca-pill-ok { background: rgba(74,222,128,.15); color: #4ade80; }

.ca-demo-screen { display: none; }
.ca-demo-screen.is-on { display: block; }
