/* NXT AP page: the invoice experience moved from the home page. */
.ap-try { scroll-margin-top: 96px; }
.ap-journey-panel { margin: 8px 0 32px; padding: 32px; border-radius: 24px; background: radial-gradient(120% 140% at 0% 0%, #2027E1 0%, #10164D 55%, #0B0F3A 100%); color: #fff; }
.ap-journey-panel .hp-journey { margin-top: 0; }
@media (max-width: 720px) { .ap-journey-panel { padding: 20px 14px; border-radius: 18px; } }
.ap-journey-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 32px; align-items: center; }
.ap-inv { color: #2E334D; }
.ap-journey-side .hp-journey { margin: 0; }
.ap-journey-side .hp-steps { gap: 8px; }
.ap-journey-side .hp-journey .hp-tile { width: clamp(48px, 4.6vw, 64px); }
.ap-journey-side .hp-steps .hp-tile-label { font-size: 11px; letter-spacing: 0.04em; }
.ap-journey-side .hp-evidence { margin-top: 20px; }
body .px .ap-try-more { margin: 0 0 12px !important; color: #10164D !important; }
@media (max-width: 980px) { .ap-journey-grid { grid-template-columns: 1fr; } }

/* ===== Sleek demo window (Pooja, 28 Oct 2026) ===== */
.ap-demo { margin: 8px 0 20px; border: 1px solid #E3E6F2; border-radius: 20px; background: #fff; box-shadow: 0 30px 80px rgba(16, 22, 77, 0.10); overflow: hidden; }
.ap-demo-bar { display: flex; align-items: center; gap: 14px; padding: 12px 18px; background: #F7F8FC; border-bottom: 1px solid #ECEEF6; }
.ap-demo-dots { display: inline-flex; gap: 6px; }
.ap-demo-dots i { width: 10px; height: 10px; border-radius: 50%; background: #DADDEB; }
body .px .ap-demo-bar p { margin: 0 !important; font-size: 13px !important; font-weight: 500; color: #6B7090 !important; }
.ap-demo-tabs { display: flex; gap: 6px; padding: 14px 18px 0; border-bottom: 1px solid #ECEEF6; overflow-x: auto; scrollbar-width: none; }
.ap-demo-tabs::-webkit-scrollbar { display: none; }
.ap-demo-tabs button { flex: none; display: inline-flex; align-items: center; gap: 8px; padding: 10px 14px 12px; border: 0; border-bottom: 2px solid transparent; background: none; font: inherit; font-size: 14px; font-weight: 500; color: #6B7090; cursor: pointer; }
.ap-demo-tabs button:hover { color: #10164D; }
.ap-demo-tabs button[aria-selected="true"] { color: #10164D; border-bottom-color: #2027E1; }
.ap-tab-l { display: inline-grid; place-items: center; width: 22px; height: 22px; border-radius: 50%; background: #EEF0FA; font-size: 11px; }
.ap-demo-tabs button[aria-selected="true"] .ap-tab-l { background: #2027E1; color: #fff; }
.ap-demo-body { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 0; }
.ap-demo-doc { padding: 28px; background: #F7F8FC; border-right: 1px solid #ECEEF6; }
.ap-demo-doc .hp-inv { box-shadow: 0 10px 30px rgba(16, 22, 77, 0.08); }
.ap-demo-side { padding: 28px 32px; display: flex; flex-direction: column; }
body .px .ap-demo-k { margin: 0 0 16px !important; font-size: 12px !important; font-weight: 500; letter-spacing: 0.08em; text-transform: uppercase; color: #2027E1 !important; }
.ap-demo-steps { list-style: none; margin: 0; padding: 0; position: relative; }
.ap-demo-steps li { position: relative; display: grid; grid-template-columns: 22px 1fr; gap: 14px; padding: 0 0 18px; animation: ap-in 360ms ease both; animation-delay: calc(var(--k) * 70ms); }
@keyframes ap-in { from { opacity: 0; transform: translateY(4px); } to { opacity: 1; transform: none; } }
.ap-demo-steps li:not(:last-child)::before { content: ""; position: absolute; left: 10px; top: 22px; bottom: 0; width: 2px; background: #E3E6F2; }
.ap-dot { width: 22px; height: 22px; border-radius: 50%; border: 2px solid #C9CDF7; background: #fff; position: relative; z-index: 1; }
.is-done .ap-dot, .is-ok .ap-dot { background: #2027E1; border-color: #2027E1; box-shadow: inset 0 0 0 4px #fff; }
.is-wait .ap-dot, .is-warn .ap-dot { background: #F2A900; border-color: #F2A900; box-shadow: inset 0 0 0 4px #fff; }
.is-stop .ap-dot { background: #C62828; border-color: #C62828; box-shadow: inset 0 0 0 4px #fff; }
.ap-step-tx { display: flex; flex-direction: column; }
.ap-step-tx strong { font-size: 15px; font-weight: 500; color: #10164D; }
.ap-step-tx span { font-size: 14px; color: #6B7090; }
.ap-demo-out { margin: 4px 0 20px; padding: 14px 16px; border-radius: 12px; display: flex; flex-direction: column; gap: 2px; }
.ap-demo-out strong { font-size: 17px; font-weight: 600; color: #10164D; }
.ap-demo-out span { font-size: 14px; color: #4A5170; }
.ap-demo-out.is-ok { background: #EEF0FF; }
.ap-demo-out.is-warn { background: #FFF7E6; }
.ap-demo-out.is-stop { background: #FDEEEE; }
.ap-demo-run { align-self: flex-start; margin-top: auto; border: 0; cursor: pointer; font: inherit; font-size: 15px; font-weight: 500; }
@media (max-width: 900px) {
  .ap-demo-body { grid-template-columns: 1fr; }
  .ap-demo-doc { border-right: 0; border-bottom: 1px solid #ECEEF6; padding: 18px; }
  .ap-demo-side { padding: 22px 18px; }
}
@media (prefers-reduced-motion: reduce) { .ap-demo-steps li { animation: none; } }
/* The photo above drifts down with the scroll effect (about 50px); keep a
   white gap so it never overlaps the shaded demo block. */
.ap-try { margin-top: 120px; }
@media (max-width: 720px) { .ap-try { margin-top: 72px; } }
/* completed and successful steps read green (Pooja, 28 Oct) */
.is-done .ap-dot, .is-ok .ap-dot { background: #16A34A; border-color: #16A34A; }
.ap-demo-out.is-ok { background: #E8F7EE; }
