/* Sign-in page: SalonPro look (navy · blue · gold) + animated showcase on wide screens */

.login-page {
    background:
        radial-gradient(900px 520px at 8% -8%, rgba(30, 107, 255, 0.35), transparent 60%),
        radial-gradient(800px 500px at 100% 110%, rgba(217, 169, 90, 0.18), transparent 55%),
        linear-gradient(160deg, #071a45 0%, #050f2c 60%, #040a1f 100%);
}
.login-page .brand-ic { background: linear-gradient(135deg, #2b7bff, #0a46c9); }
.login-page .btn.primary { background: linear-gradient(135deg, #2b7bff, #0a46c9); color: #fff; box-shadow: 0 8px 24px rgba(21, 90, 230, 0.35); }
.login-page .btn.link { color: #1f5fe0; }
.login-page .login-foot { color: #b9c8ea; }
.login-page #app { background: none; }
.login-page .login { flex: 1; width: 100%; }
.login-left { display: grid; place-items: center; align-content: center; gap: 18px; width: 100%; }

/* ───────── showcase ───────── */
.hero { display: none; }

@media (min-width: 1100px) {
    .login { grid-template-columns: minmax(460px, 40%) 1fr; align-items: stretch; align-content: stretch; place-items: stretch; padding: 0; gap: 0; }
    .login-left { padding: 40px 32px; }
    .hero {
        display: flex; flex-direction: column; position: relative; overflow: hidden; isolation: isolate;
        margin: 18px 18px 18px 0; border-radius: 28px; min-height: calc(100vh - 36px);
        background: linear-gradient(155deg, #0d2f7a 0%, #08205a 45%, #051440 100%);
        box-shadow: inset 0 0 0 1px rgba(120, 170, 255, 0.16), 0 30px 80px rgba(0, 0, 0, 0.35);
        color: #fff;
    }
}

.hero-bg { position: absolute; inset: 0; z-index: -1; }
.orb { position: absolute; border-radius: 50%; filter: blur(70px); opacity: 0.55; will-change: transform; }
.o1 { width: 46%; aspect-ratio: 1; left: -10%; top: -12%; background: #1e6bff; animation: drift1 19s ease-in-out infinite alternate; }
.o2 { width: 38%; aspect-ratio: 1; right: -8%; top: 30%; background: #19b5ff; opacity: 0.38; animation: drift2 23s ease-in-out infinite alternate; }
.o3 { width: 34%; aspect-ratio: 1; left: 30%; bottom: -18%; background: #d4a95a; opacity: 0.22; animation: drift3 27s ease-in-out infinite alternate; }
@keyframes drift1 { to { transform: translate(18%, 14%) scale(1.15); } }
@keyframes drift2 { to { transform: translate(-22%, -10%) scale(0.9); } }
@keyframes drift3 { to { transform: translate(-16%, -12%) scale(1.2); } }

.hero-grid {
    position: absolute; inset: 0;
    background-image: radial-gradient(rgba(170, 205, 255, 0.22) 1px, transparent 1.2px);
    background-size: 26px 26px;
    mask-image: radial-gradient(ellipse at 60% 45%, #000 20%, transparent 72%);
    -webkit-mask-image: radial-gradient(ellipse at 60% 45%, #000 20%, transparent 72%);
}
.spark { position: absolute; width: 3px; height: 3px; border-radius: 50%; background: #fff; box-shadow: 0 0 8px 2px rgba(160, 205, 255, 0.8); opacity: 0; animation: twinkle 4.2s ease-in-out infinite; }
.spark.s1 { left: 12%; top: 22%; animation-delay: 0.2s; } .spark.s2 { left: 28%; top: 70%; animation-delay: 1.4s; }
.spark.s3 { left: 44%; top: 14%; animation-delay: 2.1s; } .spark.s4 { left: 62%; top: 82%; animation-delay: 0.8s; }
.spark.s5 { left: 78%; top: 18%; animation-delay: 3s; }   .spark.s6 { left: 88%; top: 56%; animation-delay: 1.9s; }
.spark.s7 { left: 8%; top: 52%; animation-delay: 2.7s; }  .spark.s8 { left: 52%; top: 40%; animation-delay: 3.6s; }
.spark.s9 { left: 70%; top: 34%; animation-delay: 0.5s; } .spark.s10 { left: 36%; top: 88%; animation-delay: 2.4s; }
.spark.s11 { left: 94%; top: 8%; animation-delay: 1.1s; } .spark.s12 { left: 20%; top: 6%; animation-delay: 3.3s; }
.spark.s13 { left: 84%; top: 90%; animation-delay: 1.6s; } .spark.s14 { left: 58%; top: 6%; animation-delay: 2.9s; }
@keyframes twinkle { 0%, 100% { opacity: 0; transform: scale(0.4); } 45% { opacity: 1; transform: scale(1); } }

.hero-waves { position: absolute; left: 0; right: 0; bottom: 0; width: 100%; height: 42%; z-index: -1; opacity: 0.9; }
.wave { fill: none; stroke-linecap: round; stroke-dasharray: 1400; animation: flow 9s ease-in-out infinite; }
.w1 { stroke: url(#hw-gold); stroke-width: 2.4; }
.w2 { stroke: url(#hw-blue); stroke-width: 1.4; opacity: 0.7; animation-duration: 12s; animation-delay: -3s; }
.w3 { stroke: url(#hw-gold); stroke-width: 1; opacity: 0.5; animation-duration: 15s; animation-delay: -6s; }
@keyframes flow { 0% { stroke-dashoffset: 1400; } 50% { stroke-dashoffset: 0; } 100% { stroke-dashoffset: -1400; } }

.hero-copy { padding: 44px 52px 0; max-width: 640px; animation: rise 0.9s cubic-bezier(.2, .7, .2, 1) both; }
.hero-badge { display: inline-flex; align-items: center; gap: 6px; font-size: 12px; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: #f3d48e; background: rgba(243, 212, 142, 0.1); border: 1px solid rgba(243, 212, 142, 0.35); padding: 5px 12px; border-radius: 99px; }
.hero-badge .ic { width: 14px; height: 14px; }
.hero-copy h2 { font-size: clamp(28px, 2.6vw, 40px); line-height: 1.15; margin: 16px 0 10px; font-weight: 800; letter-spacing: -0.01em; }
.hero-copy p { margin: 0; color: #b9c8ea; font-size: 15.5px; max-width: 480px; }
.rot { display: inline-block; background: linear-gradient(90deg, #6fc3ff, #2b7bff 60%, #f3d48e); -webkit-background-clip: text; background-clip: text; color: transparent; }
.rot.in, .bk.in { animation: swap 0.55s cubic-bezier(.2, .7, .2, 1) both; }
@keyframes swap { from { opacity: 0; transform: translateY(10px); filter: blur(4px); } to { opacity: 1; transform: none; filter: none; } }
@keyframes rise { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }

.hero-stage-wrap { flex: 1; display: grid; place-items: center; min-height: 0; container-type: size; margin: 8px 0 22px; }
.hero-stage { position: relative; width: min(500px, 54cqw, 86cqh); aspect-ratio: 1; }
.hero-logo {
    position: absolute; inset: 0; width: 100%; height: 100%; border-radius: 19%;
    filter: drop-shadow(0 30px 60px rgba(0, 70, 255, 0.45));
    animation: logoIn 1.1s cubic-bezier(.2, .7, .2, 1) both, bob 7s ease-in-out 1.1s infinite;
}
@keyframes logoIn { from { opacity: 0; transform: scale(0.92) translateY(18px); } to { opacity: 1; transform: none; } }
@keyframes bob { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-12px); } }
.halo { position: absolute; inset: -14%; border-radius: 50%; background: radial-gradient(circle, rgba(47, 140, 255, 0.55), rgba(47, 140, 255, 0) 62%); animation: pulse 5s ease-in-out infinite; }
@keyframes pulse { 0%, 100% { opacity: 0.55; transform: scale(0.96); } 50% { opacity: 0.9; transform: scale(1.04); } }
.ring { position: absolute; border-radius: 50%; border: 1px dashed rgba(150, 195, 255, 0.28); }
.r1 { inset: -9%; animation: spin 60s linear infinite; }
.r2 { inset: -20%; border-style: solid; border-color: rgba(243, 212, 142, 0.14); animation: spin 90s linear infinite reverse; }
@keyframes spin { to { transform: rotate(360deg); } }

/* floating glass cards */
.fc {
    position: absolute; z-index: 2; color: #fff; font-size: 13px; line-height: 1.35;
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.16), rgba(255, 255, 255, 0.06));
    border: 1px solid rgba(255, 255, 255, 0.2); border-radius: 16px; padding: 12px 14px;
    backdrop-filter: blur(14px) saturate(140%); -webkit-backdrop-filter: blur(14px) saturate(140%);
    box-shadow: 0 18px 40px rgba(2, 10, 40, 0.45), inset 0 1px 0 rgba(255, 255, 255, 0.2);
    opacity: 0; animation: pop 0.8s cubic-bezier(.2, .8, .2, 1.2) forwards, float 6s ease-in-out infinite;
    will-change: transform;
}
.fc .muted { color: #c3d2f3; display: block; font-size: 12px; }
.fc b { font-weight: 700; }
.fc-top { display: flex; align-items: center; gap: 8px; color: #d9e4ff; font-weight: 600; font-size: 12px; }
.fc-ic { width: 28px; height: 28px; border-radius: 9px; display: inline-grid; place-items: center; flex: none; }
.fc-ic .ic { width: 16px; height: 16px; stroke-width: 2; }
.fc-ic.blue { background: rgba(43, 123, 255, 0.35); color: #cfe2ff; }
.fc-ic.violet { background: rgba(140, 110, 255, 0.35); color: #e4dcff; }
.fc-ic.green { background: rgba(37, 211, 102, 0.3); color: #b8f5cf; }
.fc-ic.gold { background: rgba(243, 212, 142, 0.28); color: #ffe9b8; }
.fc-ic.cyan { background: rgba(25, 181, 255, 0.3); color: #c9efff; }
@keyframes pop { from { opacity: 0; transform: translateY(14px) scale(0.92); } to { opacity: 1; transform: none; } }
@keyframes float { 0%, 100% { translate: 0 0; } 50% { translate: 0 -9px; } }

.c-sales { left: -24%; top: 8%; width: 196px; animation-delay: 0.5s, 0.5s; }
.fc-big { display: block; font-size: 22px; margin: 6px 0 2px; font-variant-numeric: tabular-nums; letter-spacing: -0.01em; }
.fc-row { display: flex; gap: 6px; align-items: center; font-size: 12px; }
.fc-row .muted { display: inline; }
.up { display: inline-flex; align-items: center; gap: 2px; color: #7dffb1; font-weight: 700; }
.up .ic { width: 12px; height: 12px; stroke-width: 2.6; }
.bars { display: flex; align-items: flex-end; gap: 5px; height: 38px; margin-top: 10px; }
.bars i { flex: 1; height: var(--h); border-radius: 3px 3px 1px 1px; background: linear-gradient(180deg, #6fc3ff, #2b7bff); transform-origin: bottom; animation: grow 0.9s cubic-bezier(.2, .8, .2, 1) both; animation-delay: calc(1s + var(--d)); }
.bars i:last-child { background: linear-gradient(180deg, #ffe3a3, #d4a95a); }
@keyframes grow { from { transform: scaleY(0); } to { transform: scaleY(1); } }

.c-booking { right: -26%; top: 30%; width: 214px; animation-delay: 0.9s, 1.7s; animation-duration: 0.8s, 7s; }
.bk { margin-top: 8px; display: grid; gap: 2px; }

.c-wa { left: -20%; bottom: 20%; display: flex; gap: 10px; align-items: center; max-width: 250px; animation-delay: 1.3s, 0.9s; animation-duration: 0.8s, 6.5s; }
.c-wa > div { display: grid; }
.ticks { font-style: normal; color: #53bdeb; font-weight: 700; margin-left: 2px; }

.c-loyal { right: 2%; top: -5%; display: flex; gap: 8px; align-items: center; padding: 8px 12px 8px 8px; border-radius: 99px; animation-delay: 1.7s, 2.2s; animation-duration: 0.8s, 5.5s; }
.c-loyal .fc-ic { border-radius: 50%; }

.c-room { right: -16%; bottom: 3%; width: 190px; animation-delay: 2.1s, 1.2s; animation-duration: 0.8s, 7.5s; }
.live { margin-left: auto; display: inline-flex; align-items: center; gap: 5px; font-size: 11px; color: #ffd28a; }
.live i { width: 6px; height: 6px; border-radius: 50%; background: #ffb547; box-shadow: 0 0 0 0 rgba(255, 181, 71, 0.6); animation: ping 1.8s infinite; }
@keyframes ping { 70% { box-shadow: 0 0 0 7px rgba(255, 181, 71, 0); } 100% { box-shadow: 0 0 0 0 rgba(255, 181, 71, 0); } }
.prog-hero { height: 7px; border-radius: 99px; background: rgba(255, 255, 255, 0.15); overflow: hidden; margin: 10px 0 6px; }
.prog-hero i { display: block; height: 100%; width: 75%; border-radius: inherit; background: linear-gradient(90deg, #19b5ff, #2b7bff); transform-origin: left; animation: fill 6s ease-in-out infinite; }
@keyframes fill { 0% { transform: scaleX(0.55); } 50% { transform: scaleX(1); } 100% { transform: scaleX(0.55); } }

/* shorter laptop screens */
@media (min-width: 1100px) and (max-height: 760px) {
    .hero-copy { padding-top: 32px; }
    .hero-copy p { display: none; }
}
@media (min-width: 1100px) and (max-width: 1280px) {
    .c-sales { left: -20%; } .c-booking { right: -22%; } .c-wa { left: -16%; } .c-room { right: -12%; }
}

@media (prefers-reduced-motion: reduce) {
    .hero *, .hero *::before, .hero *::after { animation: none !important; }
    .fc, .hero-logo { opacity: 1; }
    .spark { opacity: 0.6; }
}
