/* Live dashboard preview (HTML/CSS only, transform+opacity animations) */
.lp-showcase { padding: clamp(14px, 4vw, 44px) 16px clamp(36px, 7vw, 80px); position: relative; text-align: center; }
.lp-showcase__intro { max-width: 520px; margin: 0 auto clamp(18px, 4vw, 30px); }
.lp-showcase__tag { display: inline-block; font-size: .7rem; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; color: #8fa6ff; margin-bottom: 8px; }
.lp-showcase__title { margin: 0 0 8px; font-size: clamp(1.5rem, 5vw, 2.1rem); font-weight: 800; line-height: 1.15; color: #f1f3ff; }
.lp-showcase__desc { margin: 0; font-size: clamp(.9rem, 2.6vw, 1rem); color: rgba(210,216,245,.72); line-height: 1.55; }

.lp-sc { --g: #57f287; --r: #ff6b7d; --b: #5b9bff;
  position: relative; width: min(500px, 100%); aspect-ratio: 1 / 1; margin: 0 auto; border-radius: 22px; overflow: hidden; text-align: left;
  background: linear-gradient(160deg, rgba(30,34,70,.62), rgba(10,12,28,.82));
  border: 1px solid rgba(150,170,255,.28);
  box-shadow: 0 30px 60px -28px rgba(0,0,0,.8), 0 0 60px -10px rgba(91,110,255,.28), inset 0 1px 0 rgba(255,255,255,.07);
  contain: layout paint; }
.lp-sc::before { content: ""; position: absolute; inset: -30% -10% auto; height: 70%; pointer-events: none;
  background: radial-gradient(ellipse at 50% 0, rgba(110,130,255,.22), transparent 65%); }
.lp-sc__scene { position: absolute; inset: 0; padding: clamp(12px, 3.4vw, 20px); display: flex; flex-direction: column; justify-content: center;
  opacity: 0; transform: translateY(14px) scale(.985); transition: opacity .6s ease, transform .7s cubic-bezier(.22,.8,.24,1); pointer-events: none; }
.lp-sc__scene.is-on { opacity: 1; transform: none; }
.lp-sc__scene.is-out { opacity: 0; transform: translateY(-14px) scale(.985); }

/* step 1: compact server header */
.lp-sc__head { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 9px; }
.lp-sc__avatar { position: relative; display: block; }
.lp-sc__avatar::after { content: ""; position: absolute; right: -3px; bottom: -3px; width: 14px; height: 14px; border-radius: 50%; background: #57f287; border: 3px solid #0d1024; }
.lp-sc__logo { display: block; width: 56px; height: 56px; border-radius: 17px; object-fit: cover; box-shadow: 0 0 0 1px rgba(255,255,255,.14), 0 10px 26px rgba(91,110,255,.4); }
.lp-sc__tiles { display: grid; grid-template-columns: repeat(4, 1fr); gap: 7px; width: 100%; margin-top: 6px; }
.lp-sc__tile { display: flex; flex-direction: column; align-items: center; gap: 2px; padding: 9px 4px 8px; border-radius: 13px; background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.09);
  opacity: 0; transform: translateY(8px); transition: opacity .5s ease, transform .6s cubic-bezier(.22,.8,.24,1); }
.is-on .lp-sc__tile { opacity: 1; transform: none; }
.is-on .lp-sc__tile:nth-child(1) { transition-delay: .4s; } .is-on .lp-sc__tile:nth-child(2) { transition-delay: .48s; } .is-on .lp-sc__tile:nth-child(3) { transition-delay: .56s; } .is-on .lp-sc__tile:nth-child(4) { transition-delay: .64s; }
.lp-sc__ti { display: grid; place-items: center; width: 28px; height: 28px; border-radius: 9px; color: var(--t); background: color-mix(in srgb, var(--t) 16%, transparent); margin-bottom: 3px; }
.lp-sc__tile b { font-size: 1rem; font-weight: 800; color: #f3f5ff; font-variant-numeric: tabular-nums; line-height: 1.1; }
.lp-sc__tile small { font-size: .62rem; font-weight: 700; letter-spacing: .04em; color: rgba(200,208,240,.6); }
.lp-sc__kick { display: inline-flex; align-items: center; gap: 5px; }
.lp-sc__name { font-size: 1.15rem; letter-spacing: -.01em; }
.lp-sc__kick { font-size: .62rem; font-weight: 800; letter-spacing: .18em; color: var(--g); }
.lp-sc__name { font-size: 1.05rem; font-weight: 800; color: #f1f3ff; margin-top: -4px; }
.lp-sc__sub { font-size: .74rem; color: rgba(210,216,245,.62); margin-top: -6px; }
.lp-sc__head > :not(.lp-sc__tiles) { opacity: 0; transform: translateY(8px); transition: opacity .5s ease, transform .6s cubic-bezier(.22,.8,.24,1); }
.is-on .lp-sc__head > :not(.lp-sc__tiles) { opacity: 1; transform: none; }
.is-on .lp-sc__head > :nth-child(2) { transition-delay: .08s; } .is-on .lp-sc__head > :nth-child(3) { transition-delay: .14s; }
.is-on .lp-sc__head > :nth-child(4) { transition-delay: .2s; } .is-on .lp-sc__head > :nth-child(5) { transition-delay: .28s; }
.is-on .lp-sc__head > :nth-child(6) { transition-delay: .34s; }

/* step 2: three insight cards */
.lp-sc__cards { display: grid; grid-template-rows: repeat(3, minmax(0, 1fr)); gap: 8px; height: 100%; }
.lp-sc__card { position: relative; display: flex; flex-direction: column; min-height: 0; padding: 8px 12px 8px; border-radius: 14px;
  background: rgba(255,255,255,.045); border: 1px solid rgba(255,255,255,.09); transition: border-color .35s ease, background-color .35s ease;
  opacity: 0; transform: translateY(10px); }
.is-on .lp-sc__card { opacity: 1; transform: none; transition: opacity .55s ease, transform .6s cubic-bezier(.22,.8,.24,1), border-color .35s ease, background-color .35s ease; }
.is-on .lp-sc__card:nth-child(2) { transition-delay: .1s, .1s, 0s, 0s; } .is-on .lp-sc__card:nth-child(3) { transition-delay: .2s, .2s, 0s, 0s; }
.lp-sc__card.is-hover { border-color: color-mix(in srgb, var(--c) 60%, transparent); background: rgba(255,255,255,.07); }
.lp-sc__row { display: flex; justify-content: space-between; align-items: baseline; font-size: .72rem; }
.lp-sc__row b { color: #f1f3ff; font-size: .8rem; font-weight: 800; }
.lp-sc__row span { color: rgba(200,208,240,.6); font-weight: 700; font-size: .66rem; }
.lp-sc__chart { position: relative; flex: 1; min-height: 0; margin-top: 4px; }
.lp-sc__chart svg { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.lp-sc__line { fill: none; stroke: var(--c); stroke-width: 1.8; stroke-linejoin: round; stroke-linecap: round; vector-effect: non-scaling-stroke; }
.lp-sc__area { fill: var(--c); opacity: .13; }
.lp-sc__chart svg { clip-path: inset(-10% 100% -10% 0); }
.is-on .lp-sc__chart svg { clip-path: inset(-10% -4% -10% -4%); transition: clip-path 1.3s cubic-bezier(.4,.1,.2,1) .35s; }
.lp-sc__guide { position: absolute; top: 0; bottom: 0; width: 1px; background: color-mix(in srgb, var(--c) 55%, transparent); opacity: 0; transition: opacity .25s ease; }
.lp-sc__dot { position: absolute; width: 9px; height: 9px; margin: -4.5px 0 0 -4.5px; border-radius: 50%; background: var(--c); border: 2px solid #0c0e1f; opacity: 0; transform: scale(.4); transition: opacity .25s ease, transform .3s cubic-bezier(.3,1.6,.5,1); }
.lp-sc__tip { position: absolute; transform: translate(var(--tx), -50%) translateX(var(--sh, 0px)); white-space: nowrap; font-size: .66rem; font-weight: 700; color: #fff; padding: 4px 9px; border-radius: 8px;
  background: rgba(20,24,52,.92); border: 1px solid color-mix(in srgb, var(--c) 55%, transparent); opacity: 0; transition: opacity .25s ease, transform .3s ease; pointer-events: none; z-index: 3; }
.lp-sc__tip i { font-style: normal; color: var(--c); }
.is-hover .lp-sc__guide, .is-hover .lp-sc__dot { opacity: 1; } .is-hover .lp-sc__dot { transform: none; }
.is-hover .lp-sc__tip { opacity: 1; --sh: 0px; }
.lp-sc__tip { --sh: 6px; }

/* macOS-style cursor */
.lp-sc__cursor { position: absolute; left: 0; top: 0; z-index: 5; width: 22px; height: 22px; pointer-events: none; opacity: 0;
  transform: translate3d(110%, 120%, 0); transition: transform 1.05s cubic-bezier(.45,.05,.25,1), opacity .35s ease; filter: drop-shadow(0 2px 3px rgba(0,0,0,.5)); }
.lp-sc__cursor.is-show { opacity: 1; }
.lp-sc__cursor.is-click::after { content: ""; position: absolute; left: -6px; top: -6px; width: 14px; height: 14px; border-radius: 50%; border: 2px solid rgba(255,255,255,.7); animation: lpScClick .5s ease-out; }
@keyframes lpScClick { from { transform: scale(.3); opacity: 1; } to { transform: scale(1.8); opacity: 0; } }

.lp-sc__dots { position: absolute; left: 50%; bottom: 8px; transform: translateX(-50%); display: flex; gap: 5px; z-index: 4; }
.lp-sc__dots i { width: 14px; height: 3px; border-radius: 3px; background: rgba(255,255,255,.2); transition: background-color .4s ease, width .4s ease; }
.lp-sc__dots i.is-on { width: 22px; background: #8fa6ff; }
.lp-sc__scene--2 { padding-bottom: 22px; }

@media (max-width: 480px) { .lp-sc { border-radius: 18px; } .lp-sc__logo { width: 48px; height: 48px; border-radius: 15px; } }
@media (prefers-reduced-motion: reduce) { .lp-sc__scene, .lp-sc__card, .lp-sc__head > *, .lp-sc__tile, .lp-sc__line { transition: none !important; } }

/* Dashboard showcase (3D, transform-only) */
.lp-shot { padding: clamp(10px, 4vw, 40px) 16px clamp(30px, 6vw, 70px); position: relative; }
.lp-shot__stage { position: relative; max-width: 1000px; margin: 0 auto; perspective: 1400px; }
.lp-shot__glow { position: absolute; inset: 8% 4% -2%; border-radius: 50%; pointer-events: none;
  background: radial-gradient(ellipse at 50% 45%, rgba(79,140,255,.36), rgba(160,80,255,.2) 45%, transparent 70%); }
.lp-shot__frame { position: relative; border-radius: 16px; overflow: hidden; background: #0a0b14;
  border: 1px solid rgba(150,170,255,.35);
  box-shadow: 0 30px 60px -20px rgba(0,0,0,.7), 0 0 0 1px rgba(255,255,255,.04) inset;
  transform: rotateX(18deg) scale(.94); transform-origin: 50% 100%;
  transition: transform 1.1s cubic-bezier(.22,.8,.24,1); will-change: transform; }
.lp-shot__frame.is-in { transform: rotateX(5deg) scale(1); }
.lp-shot__stage:hover .lp-shot__frame.is-in { transform: rotateX(0) scale(1.01); }
.lp-shot__bar { display: flex; align-items: center; gap: 6px; padding: 9px 12px; background: linear-gradient(#171a2e, #10121f); border-bottom: 1px solid rgba(255,255,255,.07); }
.lp-shot__bar i { width: 9px; height: 9px; border-radius: 50%; background: #ff5f57; }
.lp-shot__bar i:nth-child(2) { background: #febc2e; } .lp-shot__bar i:nth-child(3) { background: #28c840; }
.lp-shot__bar span { margin-inline: auto; font-size: .7rem; color: rgba(220,226,255,.6); padding: 3px 14px; border-radius: 999px; background: rgba(255,255,255,.06); }
.lp-shot__frame img { display: block; width: 100%; height: auto; }
.lp-shot__shine { position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(115deg, transparent 38%, rgba(255,255,255,.07) 50%, transparent 62%); background-size: 250% 100%; background-position: 120% 0;
  animation: lpShowShine 7s ease-in-out 2s infinite; }
@keyframes lpShowShine { 0%, 60% { background-position: 120% 0; } 100% { background-position: -60% 0; } }
.lp-shot__floor { position: absolute; left: 8%; right: 8%; bottom: -26px; height: 40px; border-radius: 50%; pointer-events: none;
  background: radial-gradient(ellipse, rgba(120,110,255,.35), transparent 70%); }
@media (max-width: 768px) { .lp-shot__frame { border-radius: 12px; transform: rotateX(12deg) scale(.96); } .lp-shot__bar { padding: 6px 9px; } .lp-shot__bar span { font-size: .58rem; } }
@media (prefers-reduced-motion: reduce) { .lp-shot__frame, .lp-shot__frame.is-in { transform: none; transition: none; } .lp-shot__shine { animation: none; } }
.lp-shot.is-off .lp-shot__shine { animation-play-state: paused; }
