/* ---------- Glassmorphism ---------- */
.lab-glass { background: #0b0a1f; color: #fff; }
.lab-glass .lab-main { position: relative; isolation: isolate; }
.gl-bg { position: fixed; inset: 0; z-index: -1; overflow: hidden; filter: blur(60px); }
.gl-bg i { position: absolute; border-radius: 50%; animation: drift 20s ease-in-out infinite alternate; }
.gl-bg i:nth-child(1) { width: 50vmax; height: 50vmax; background: #6d4bff; left: -10%; top: -15%; }
.gl-bg i:nth-child(2) { width: 40vmax; height: 40vmax; background: #ff3d9a; right: -10%; top: 20%; animation-duration: 25s; animation-delay: -5s; }
.gl-bg i:nth-child(3) { width: 35vmax; height: 35vmax; background: #00d1ff; left: 25%; bottom: -20%; animation-duration: 17s; }
.gl-bg i:nth-child(4) { width: 20vmax; height: 20vmax; background: #ffb347; right: 25%; bottom: 10%; animation-duration: 14s; opacity: .7; }

.is-style-glass, .gl-card {
  background: linear-gradient(135deg, rgb(255 255 255 / .16), rgb(255 255 255 / .04));
  border: 1px solid rgb(255 255 255 / .22); border-top-color: rgb(255 255 255 / .45); border-left-color: rgb(255 255 255 / .35);
  backdrop-filter: blur(22px) saturate(170%); -webkit-backdrop-filter: blur(22px) saturate(170%);
  border-radius: 28px; box-shadow: 0 30px 60px -20px rgb(0 0 0 / .45);
}
@supports not (backdrop-filter: blur(1px)) { .is-style-glass, .gl-card { background: rgb(40 34 80 / .92); } }

.gl-hero { min-height: 100svh; display: grid; grid-template-columns: 1.1fr 1fr; gap: 3rem; align-items: center; padding: 8rem 0 4rem; }
@media (max-width: 900px) { .gl-hero { grid-template-columns: 1fr; } }
.gl-pill { display: inline-block; margin: 0 0 1.5rem; padding: .5rem 1rem; border-radius: 999px; background: rgb(255 255 255 / .12); border: 1px solid rgb(255 255 255 / .25); backdrop-filter: blur(10px); font-size: .9rem; }
.gl-title { font-size: clamp(3.5rem, 9vw, 8.5rem); line-height: .88; letter-spacing: -.05em; margin: 0; font-weight: 800; }
.gl-lead { font-size: 1.2rem; max-width: 30rem; opacity: .85; margin: 2rem 0; }
.gl-btn .wp-block-button__link { background: #fff; color: #1b1340; box-shadow: 0 10px 40px -8px rgb(255 255 255 / .6); }

.gl-stack { position: relative; height: 520px; }
.gl-card { position: absolute; padding: 1.4rem; transition: transform .5s var(--ease-out); }
.gl-music { width: 300px; top: 20px; left: 10%; display: grid; gap: 1rem; animation: float 7s ease-in-out infinite; }
.gl-cover { aspect-ratio: 1; border-radius: 18px; background: conic-gradient(from 200deg, #ff3d9a, #6d4bff, #00d1ff, #ffb347, #ff3d9a); }
.gl-music b { display: block; font-size: 1.2rem; } .gl-music small { opacity: .7; }
.gl-progress { height: 4px; border-radius: 4px; background: rgb(255 255 255 / .2); overflow: hidden; }
.gl-progress i { display: block; height: 100%; width: 40%; background: #fff; animation: prog 12s linear infinite; }
@keyframes prog { from { width: 0; } to { width: 100%; } }
.gl-controls { display: flex; justify-content: space-around; align-items: center; font-size: 1.2rem; }
.gl-controls .play { width: 52px; height: 52px; border-radius: 50%; background: #fff; color: #1b1340; display: grid; place-items: center; }
.gl-weather { right: 0; top: 0; width: 180px; display: grid; animation: float 9s ease-in-out infinite reverse; }
.gl-weather b { font-size: 4rem; font-weight: 200; line-height: 1; } .gl-weather span, .gl-weather small { opacity: .75; }
.gl-ring { right: 6%; bottom: 10px; width: 170px; height: 170px; display: grid; place-items: center; animation: float 8s ease-in-out infinite; animation-delay: -3s; }
.gl-ring svg { position: absolute; inset: 22px; rotate: -90deg; }
.gl-ring circle { fill: none; stroke: rgb(255 255 255 / .15); stroke-width: 8; }
.gl-ring circle.v { stroke: #fff; stroke-linecap: round; stroke-dasharray: 264; stroke-dashoffset: 74; animation: ring 3s var(--ease-out) both; }
@keyframes ring { from { stroke-dashoffset: 264; } }
.gl-ring b { font-size: 1.6rem; }
@keyframes float { 50% { translate: 0 -18px; } }
@media (max-width: 560px) { .gl-music { left: 0; width: 240px; } .gl-weather { width: 140px; } .gl-ring { width: 130px; height: 130px; } }

.gl-features { padding: 6rem 0; }
.gl-h2 { font-size: clamp(2.6rem, 6vw, 5rem); letter-spacing: -.04em; margin: 0 0 2.5rem; font-weight: 800; }
.gl-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
@media (max-width: 860px) { .gl-grid { grid-template-columns: 1fr; } }
.gl-grid .is-style-glass { padding: 2rem; min-height: 260px; display: flex; flex-direction: column; transition: transform .5s var(--ease-out), opacity 1s, translate 1s var(--ease-out); }
.gl-grid h3 { margin: auto 0 .5rem; font-size: 1.6rem; letter-spacing: -.03em; }
.gl-grid p { margin: 0; opacity: .8; }
.gl-icon { font-size: 2rem; margin: 0; width: 64px; height: 64px; display: grid; place-items: center; border-radius: 18px; background: rgb(255 255 255 / .14); border: 1px solid rgb(255 255 255 / .3); }

.gl-big { padding: 4rem 0 8rem; }
.gl-panel { padding: clamp(2rem, 6vw, 5rem); text-align: center; }
.gl-panel h2 { font-size: clamp(2.2rem, 5vw, 4.5rem); letter-spacing: -.04em; line-height: 1; margin: 0 auto 1.5rem; max-width: 16ch; }
.gl-panel p { max-width: 38rem; margin: 0 auto 2.5rem; opacity: .85; font-size: 1.1rem; }
.gl-panel .wp-block-buttons { justify-content: center; }
.lab-glass .lab-footer { background: transparent; }
