/* ============================================================
   KINETIC PRISM HERO SLIDER — BASE & THEME
============================================================ */
.wml-kinetic-prism-slider {
    --wml-kp-teal: #00a9c1;
    --wml-kp-teal-glow: rgba(0, 169, 193, 0.4);
    --wml-kp-navy: #0d1b2a;
    --wml-kp-max-w: 1280px;
    --wml-kp-pad-x: 5%;
    
    position: relative;
    width: 100%;
    overflow: hidden;
    background: var(--wml-kp-navy);
    isolation: isolate;
    color: white;
    font-family: inherit;
}

/* ── Slides ──────────────────────────────── */
.hero__slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    transition: opacity 1.2s ease;
    pointer-events: none;
    display: flex;
    flex-direction: column;
}

.hero__slide.active {
    opacity: 1;
    pointer-events: auto;
}

.hero__bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    transform: scale(1.05);
    transition: transform 7s ease-out;
    will-change: transform;
}

.hero__slide.active .hero__bg {
    transform: scale(1.18);
}

.hero__overlay {
    position: absolute;
    inset: 0;
    background: 
        linear-gradient(180deg, 
            color-mix(in srgb, var(--wml-kp-navy, #0d1b2a), transparent 45%) 0%, 
            color-mix(in srgb, var(--wml-kp-navy, #0d1b2a), transparent 55%) 35%, 
            color-mix(in srgb, var(--wml-kp-navy, #0d1b2a), transparent 15%) 100%),
        linear-gradient(120deg, 
            color-mix(in srgb, var(--wml-kp-teal, #00a9c1), transparent 65%) 0%, 
            transparent 50%);
}

.hero__teal-wash {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 50%;
    background: linear-gradient(180deg, transparent, 
                color-mix(in srgb, var(--wml-kp-teal, #00a9c1), transparent 82%) 70%, 
                color-mix(in srgb, var(--wml-kp-teal, #00a9c1), transparent 72%));
    mix-blend-mode: screen;
    pointer-events: none;
}

/* ── Content ─────────────────────────────── */
.hero__content {
    position: relative;
    z-index: 2;
    max-width: var(--wml-kp-max-w);
    margin: 0 auto;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 120px var(--wml-kp-pad-x) 100px;
}

.hero__pill {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 8px 14px;
    border: 1px solid rgba(0, 169, 193, 0.45);
    background: rgba(0, 169, 193, 0.1);
    color: var(--wml-kp-teal);
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    border-radius: 100px;
    backdrop-filter: blur(10px);
    width: fit-content;
    margin-bottom: 28px;
    opacity: 0;
    transform: translateY(20px);
}

.hero__slide.active .hero__pill {
    animation: wml-kp-fadeUp .8s .2s forwards;
}

.hero__pill .live-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--wml-kp-teal);
    box-shadow: 0 0 0 0 var(--wml-kp-teal-glow);
    animation: wml-kp-pulse 2s infinite;
}

@keyframes wml-kp-pulse {
    0%, 100% { box-shadow: 0 0 0 0 rgba(0, 169, 193, 0.6); }
    50% { box-shadow: 0 0 0 8px rgba(0, 169, 193, 0); }
}

.hero__h1 {
    color: white;
    max-width: var(--wml-kp-title-max-w, 16ch);
    margin-bottom: 20px;
    font-size: clamp(2.5rem, 6vw, 4.5rem);
    line-height: 1.2;
}

.hero__h1 .word {
    display: inline-block;
    opacity: 0;
    transform: translateY(40px);
    filter: blur(8px);
}

.hero__slide.active .hero__h1 .word {
    animation: wml-kp-wordReveal .9s cubic-bezier(.2, .7, .2, 1) forwards;
}

@keyframes wml-kp-wordReveal {
    to { opacity: 1; transform: translateY(0); filter: blur(0); }
}

.hero__h1 .accent {
    color: var(--wml-kp-teal);
}

.hero__sub {
    font-size: clamp(17px, 1.5vw, 21px);
    color: rgba(232, 236, 240, 0.85);
    max-width: var(--wml-kp-desc-max-w, 56ch);
    line-height: 1.55;
    margin-bottom: 36px;
    opacity: 0;
    transform: translateY(20px);
}

.hero__slide.active .hero__sub {
    animation: wml-kp-fadeUp .8s .9s forwards;
}

.hero__ctas {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    opacity: 0;
    transform: translateY(20px);
}

.hero__slide.active .hero__ctas {
    animation: wml-kp-fadeUp .8s 1.1s forwards;
}

@keyframes wml-kp-fadeUp {
    to { opacity: 1; transform: translateY(0); }
}

/* ── Buttons ─────────────────────────────── */
.wml-kinetic-prism-slider .btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 14px 22px;
    border-radius: 10px;
    font-weight: 600;
    font-size: 15px;
    letter-spacing: -0.01em;
    transition: transform .25s cubic-bezier(.2,.7,.2,1), box-shadow .25s, background .25s;
    position: relative;
    overflow: hidden;
    white-space: nowrap;
}

.wml-kinetic-prism-slider .btn-primary {
    background: var(--wml-kp-teal, #00a9c1);
    background: linear-gradient(135deg, var(--wml-kp-teal, #00a9c1), color-mix(in srgb, var(--wml-kp-teal, #00a9c1), black 20%));
    color: white;
}

.wml-kinetic-prism-slider .btn-primary:hover {
    transform: translateY(-2px) scale(1.02);
    box-shadow: none;
}

.wml-kinetic-prism-slider .btn-primary::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(
        var(--wml-kp-shimmer-angle, 120deg), 
        transparent 30%, 
        var(--wml-kp-shimmer-color, rgba(255, 255, 255, 0.35)) 50%, 
        transparent 70%
    );
    transform: translateX(-100%);
    transition: transform 1.2s ease;
    pointer-events: none;
}

.wml-kinetic-prism-slider .btn-primary:hover::before {
    transform: translateX(100%);
}

.wml-kinetic-prism-slider .btn-primary.shimmer::before {
    animation: wml-kp-shimmer var(--wml-kp-shimmer-duration, 3s) ease-in-out infinite;
}

@keyframes wml-kp-shimmer {
    0%, 60%, 100% { transform: translateX(-100%); }
    80% { transform: translateX(100%); }
}

.wml-kinetic-prism-slider .btn-ghost {
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: white;
}

.wml-kinetic-prism-slider .btn-ghost:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: white;
}

.btn .arrow {
    transition: transform 0.3s ease;
}

.btn:hover .arrow {
    transform: translateX(4px);
}

/* ── Navigation ──────────────────────────── */
.hero__nav {
    position: absolute;
    z-index: 10;
    top: 50%;
    transform: translateY(-50%);
    width: 52px;
    height: 52px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.18);
    backdrop-filter: blur(10px);
    color: var(--wml-kp-teal);
    display: grid;
    place-items: center;
    transition: all .25s;
    cursor: pointer;
}

.hero__nav:hover {
    background: var(--wml-kp-teal);
    color: white;
    border-color: var(--wml-kp-teal);
    transform: translateY(-50%) scale(1.08);
    box-shadow: 0 6px 24px var(--wml-kp-teal-glow);
}

.hero__nav.prev { left: clamp(12px, 3vw, 32px); }
.hero__nav.next { right: clamp(12px, 3vw, 32px); }

/* ── Dots ────────────────────────────────── */
.hero__dots {
    position: absolute;
    z-index: 10;
    bottom: 64px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 12px;
    align-items: center;
}

.hero__dot {
    width: 36px;
    height: 4px;
    border-radius: 100px;
    background: rgba(255, 255, 255, 0.25);
    position: relative;
    overflow: hidden;
    transition: width .35s;
    border: none;
    cursor: pointer;
}

.hero__dot.active {
    width: 64px;
    background: rgba(255, 255, 255, 0.18);
}

.hero__dot.active::after {
    content: "";
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 0;
    background: var(--wml-kp-teal);
}

.wml-kp-progress-active::after {
    animation: wml-kp-progress var(--wml-kp-speed, 5s) linear forwards;
}

@keyframes wml-kp-progress { to { width: 100%; } }

/* ── Particles ───────────────────────────── */
.hero__particles {
    position: absolute;
    inset: 0;
    z-index: 1;
    pointer-events: none;
    overflow: hidden;
}

.hero__particles::before, .hero__particles::after {
    content: "";
    position: absolute;
    width: 600px;
    height: 600px;
    border-radius: 50%;
    background: radial-gradient(circle, var(--wml-kp-teal-glow) 0%, transparent 70%);
    filter: blur(40px);
    opacity: 0.4;
}

.hero__particles::before {
    top: -200px;
    left: -200px;
    animation: wml-kp-drift1 18s ease-in-out infinite alternate;
}

.hero__particles::after {
    bottom: -200px;
    right: -200px;
    animation: wml-kp-drift2 22s ease-in-out infinite alternate;
    opacity: 0.3;
}

@keyframes wml-kp-drift1 { to { transform: translate(150px, 100px); } }
@keyframes wml-kp-drift2 { to { transform: translate(-100px, -120px); } }

.particle {
    position: absolute;
    width: 3px;
    height: 3px;
    background: var(--wml-kp-teal);
    border-radius: 50%;
    box-shadow: 0 0 8px var(--wml-kp-teal);
    opacity: 0;
    animation: wml-kp-float-up linear infinite;
}

@keyframes wml-kp-float-up {
    0% { opacity: 0; transform: translateY(0) translateX(0); }
    10% { opacity: 0.6; }
    90% { opacity: 0.6; }
    100% { opacity: 0; transform: translateY(-100vh) translateX(40px); }
}
