/* ML Enterprise Apps demo player */
.dp { --dp-accent: #3b82f6; position: relative; background: #0b1220; border-radius: 18px; overflow: hidden; box-shadow: 0 30px 80px rgba(2, 8, 23, .35); outline: none; color: #e5e7eb; font-family: Inter, "Segoe UI", system-ui, sans-serif; }
.dp:fullscreen { border-radius: 0; display: flex; flex-direction: column; justify-content: center; background: #000; }
.dp-viewport { position: relative; width: 100%; overflow: hidden; }
.dp-stage { position: absolute; left: 0; top: 0; width: 1280px; height: 720px; transform-origin: 0 0; overflow: hidden; background: radial-gradient(1200px 700px at 70% -10%, #1e3a8a 0%, #0b1220 55%, #050913 100%); }
.dp-camera { position: absolute; inset: 0; transform-origin: 0 0; will-change: transform; }
.dp-scene { position: absolute; inset: 0; transition: opacity .6s ease, transform .8s cubic-bezier(.2, .8, .2, 1), filter .6s ease; }
.dp-scene.enter { opacity: 0; transform: scale(1.04); filter: blur(6px); }
.dp-paused * { animation-play-state: paused !important; }

/* cursor, click ripple, callouts, captions */
.dp-cursor { position: absolute; left: 0; top: 0; width: 30px; height: 30px; margin: -3px 0 0 -5px; z-index: 50; pointer-events: none; opacity: 0; transition: opacity .3s; filter: drop-shadow(0 3px 6px rgba(0, 0, 0, .55)); }
.dp-cursor.show { opacity: 1; }
.dp-cursor svg { width: 100%; height: 100%; fill: #fff; stroke: #111; stroke-width: 1.2; }
.dp-ripple { position: absolute; z-index: 49; width: 14px; height: 14px; margin: -7px 0 0 -7px; border-radius: 50%; border: 3px solid rgba(96, 165, 250, .9); pointer-events: none; animation: dp-ripple .65s ease-out forwards; }
@keyframes dp-ripple { to { transform: scale(4.5); opacity: 0; } }
.dp-pressed { transform: scale(.95) !important; filter: brightness(1.2); }
.dp-callout { position: absolute; z-index: 45; padding: 12px 16px; border-radius: 14px; background: linear-gradient(135deg, #2563eb, #7c3aed); color: #fff; font: 600 17px/1.35 Inter, system-ui, sans-serif; box-shadow: 0 16px 40px rgba(37, 99, 235, .45); opacity: 0; transform: translateY(8px) scale(.94); transition: opacity .35s, transform .45s cubic-bezier(.2, 1.4, .4, 1); pointer-events: none; }
.dp-callout.in { opacity: 1; transform: none; }
.dp-callout i { position: absolute; width: 14px; height: 14px; background: #2563eb; transform: rotate(45deg); }
.dp-callout.dp-right i { left: -6px; top: 22px; } .dp-callout.dp-left i { right: -6px; top: 22px; background: #7c3aed; }
.dp-callout.dp-top i { bottom: -6px; left: calc(50% - 7px); background: #4f46e5; } .dp-callout.dp-bottom i { top: -6px; left: calc(50% - 7px); }
.dp-caption { position: absolute; left: 0; right: 0; bottom: 26px; z-index: 48; display: flex; justify-content: center; pointer-events: none; }
.dp-caption span { max-width: 980px; padding: 10px 20px; border-radius: 12px; background: rgba(2, 6, 23, .78); color: #fff; font: 500 24px/1.35 Inter, system-ui, sans-serif; text-align: center; backdrop-filter: blur(6px); }
.dp-caption.empty span { display: none; }

/* start screen */
.dp-start { position: absolute; inset: 0; z-index: 60; display: grid; place-items: center; cursor: pointer; background: radial-gradient(900px 500px at 50% 40%, rgba(37, 99, 235, .35), rgba(2, 6, 23, .92)); transition: opacity .6s, visibility .6s; }
.dp-start.gone { opacity: 0; visibility: hidden; }
.dp-start-inner { position: relative; width: 100%; height: 100%; }
.dp-poster { position: absolute; inset: 0; }
.dp-bigplay { position: absolute; left: 50%; top: 50%; width: 130px; height: 130px; margin: -65px 0 0 -65px; border-radius: 50%; border: 0; cursor: pointer; background: linear-gradient(135deg, #2563eb, #7c3aed); box-shadow: 0 0 0 14px rgba(59, 130, 246, .22), 0 20px 50px rgba(37, 99, 235, .55); animation: dp-pulse 2.2s ease-in-out infinite; }
.dp-bigplay svg { width: 64px; height: 64px; fill: #fff; margin-left: 8px; }
@keyframes dp-pulse { 50% { box-shadow: 0 0 0 26px rgba(59, 130, 246, .08), 0 20px 50px rgba(37, 99, 235, .55); } }
.dp-start-title { position: absolute; left: 0; right: 0; bottom: 70px; text-align: center; display: flex; flex-direction: column; gap: 8px; }
.dp-start-title b { font: 800 46px/1.1 Inter, system-ui, sans-serif; color: #fff; letter-spacing: -.02em; }
.dp-start-title span { font: 500 20px Inter, system-ui, sans-serif; color: #cbd5e1; }

/* controls */
.dp-bar { display: flex; align-items: center; gap: 6px; padding: 10px 12px; background: #0f172a; border-top: 1px solid #1e293b; }
.dp-b { width: 38px; height: 38px; flex: none; display: grid; place-items: center; border: 0; border-radius: 10px; background: transparent; cursor: pointer; color: #94a3b8; padding: 0; }
.dp-b svg { width: 22px; height: 22px; fill: currentColor; }
.dp-b:hover { background: #1e293b; color: #fff; }
.dp-b.on { color: #fff; }
.dp-voice:not(.on), .dp-music:not(.on), .dp-cc:not(.on) { opacity: .45; }
.dp-play { background: #2563eb; color: #fff; } .dp-play:hover { background: #1d4ed8; }
.dp-progress { position: relative; flex: 1; height: 8px; border-radius: 99px; background: #1e293b; cursor: pointer; margin: 0 8px; }
.dp-fill { position: absolute; left: 0; top: 0; bottom: 0; border-radius: 99px; background: linear-gradient(90deg, #3b82f6, #a855f7); }
.dp-ticks i { position: absolute; top: -2px; width: 2px; height: 12px; background: #334155; }
.dp-time { font: 500 13px Inter, system-ui, sans-serif; color: #94a3b8; min-width: 92px; text-align: right; font-variant-numeric: tabular-nums; }
.dp-chapters { display: flex; gap: 6px; padding: 10px 12px 14px; overflow-x: auto; background: #0f172a; scrollbar-width: thin; }
.dp-chapters button { flex: none; display: flex; align-items: center; gap: 8px; padding: 7px 12px 7px 7px; border-radius: 99px; border: 1px solid #1e293b; background: #111a2e; color: #cbd5e1; font: 500 13px Inter, system-ui, sans-serif; cursor: pointer; }
.dp-chapters button span { width: 22px; height: 22px; border-radius: 50%; display: grid; place-items: center; background: #1e293b; font-size: 12px; font-weight: 700; }
.dp-chapters button.on { border-color: #3b82f6; background: #172554; color: #fff; }
.dp-chapters button.on span { background: #3b82f6; }
.dp:fullscreen .dp-chapters { display: none; }
@media (max-width: 640px) { .dp-time, .dp-prev, .dp-next { display: none; } .dp-b { width: 34px; height: 34px; } }

/* shared scene building blocks */
.fx-in { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .7s cubic-bezier(.2, .9, .3, 1.2); }
.fx-in.in { opacity: 1; transform: none; }
.fx-pop { opacity: 0; transform: scale(.85); transition: opacity .4s, transform .55s cubic-bezier(.2, 1.5, .4, 1); }
.fx-pop.in { opacity: 1; transform: none; }
.fx-left { opacity: 0; transform: translateX(-40px); transition: opacity .5s, transform .6s cubic-bezier(.2, .9, .3, 1); }
.fx-left.in { opacity: 1; transform: none; }
.fx-right { opacity: 0; transform: translateX(60px); transition: opacity .5s, transform .6s cubic-bezier(.2, .9, .3, 1); }
.fx-right.in { opacity: 1; transform: none; }
.dp-typing::after { content: "▍"; animation: dp-blink 1s steps(1) infinite; color: #60a5fa; }
@keyframes dp-blink { 50% { opacity: 0; } }
.dp-title-xl { font: 800 76px/1.02 Inter, system-ui, sans-serif; letter-spacing: -.03em; color: #fff; }
.dp-grad { background: linear-gradient(90deg, #60a5fa, #a78bfa, #f472b6); -webkit-background-clip: text; background-clip: text; color: transparent; }
.dp-glow { position: absolute; border-radius: 50%; filter: blur(60px); opacity: .55; animation: dp-float 9s ease-in-out infinite alternate; }
@keyframes dp-float { to { transform: translate(40px, -30px) scale(1.15); } }
.dp-gridbg { position: absolute; inset: -20%; background-image: linear-gradient(rgba(148, 163, 184, .08) 1px, transparent 1px), linear-gradient(90deg, rgba(148, 163, 184, .08) 1px, transparent 1px); background-size: 48px 48px; transform: perspective(700px) rotateX(55deg) translateY(120px); animation: dp-gridmove 12s linear infinite; }
@keyframes dp-gridmove { to { background-position: 0 480px; } }
.dp-chip { display: inline-flex; align-items: center; gap: 8px; padding: 8px 16px; border-radius: 99px; background: rgba(59, 130, 246, .15); border: 1px solid rgba(96, 165, 250, .35); color: #bfdbfe; font: 600 16px Inter, system-ui, sans-serif; }
