:root{
    --accent-pink: 232, 121, 249;
}

.animate-on-scroll{
    position: relative;
    opacity: 0;
    transform: translateY(42px) scale(.985);
    overflow: hidden;
    will-change: transform, opacity;

    transition:
            opacity 0.6s cubic-bezier(.22,.61,.36,1),
            transform 1.05s cubic-bezier(.22,.61,.36,1);
}

.animate-on-scroll::after{
    content:'';
    position:absolute;
    inset:-35%;
    background: linear-gradient(
            115deg,
            transparent 0%,
            rgba(232,121,249,.15) 35%,
            rgba(232,121,249,.45) 50%,
            rgba(232,121,249,.18) 65%,
            transparent 100%
    );
    transform: translateX(-130%);
    opacity: 0;
    pointer-events: none;
}


.animate-on-scroll.in-view{
    opacity: 1;
    transform: translateY(0) scale(1);
}

.animate-on-scroll.in-view::after{
    animation: pinkSweep 1.19s cubic-bezier(.22,.61,.36,1) forwards;
}

@keyframes pinkSweep{
    0%{
        transform: translateX(-130%);
        opacity: 0;
    }
    20%{
        opacity: 1;
    }
    100%{
        transform: translateX(130%);
        opacity: 0;
    }
}

#glow{
    position:fixed;
    inset:0;
    pointer-events:none;
    background:
            radial-gradient(600px 600px at var(--x,50%) var(--y,30%),
            rgba(220, 111, 205, 0.18),
            transparent 60%);
    mix-blend-mode:screen;
    z-index:0;
}

#progress{
    position:fixed;
    top:0; left:0;
    height:2px;
    width:0;
    background:linear-gradient(
            90deg,
            transparent,
            #e879f9,
            #fff,
            #dd8bea
    );
    z-index:9999;
    opacity:.85;
}

.grain{
    pointer-events:none;
    position:fixed;
    inset:-30%;
    z-index:1;
    opacity:.10;
    background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='260' height='260'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.75' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='260' height='260' filter='url(%23n)' opacity='.55'/%3E%3C/svg%3E");
    background-size:260px 260px;
    animation: grainMove 8s steps(10) infinite;
}

@keyframes grainMove{
    0%{transform:translate(-2%,-2%)}
    50%{transform:translate(2%,1%)}
    100%{transform:translate(-2%,-2%)}
}

/* ===== LUX FOOTER ===================================================== */
:root{ --accent: #e879f9; }

.lux-footer{
    position:relative;
    background: radial-gradient(900px 280px at 25% 0%, rgba(130, 249, 121, 0.16), transparent 65%),
    radial-gradient(700px 260px at 85% 30%, rgba(255,255,255,.06), transparent 60%),
    linear-gradient(180deg, #0b0f1a 0%, #070912 100%);
    color:#fff;
    padding:72px 20px 34px;
    overflow:hidden;
}

.lux-footer::before{
    content:"";
    position:absolute;
    inset:-2px;
    background:
            linear-gradient(90deg, transparent, rgba(121, 249, 172, 0.18), transparent);
    opacity:.25;
    pointer-events:none;
    transform:translateZ(0);
}

.lux-footer::after{
    content:"";
    position:absolute;
    inset:-30%;
    opacity:.08;
    pointer-events:none;
    background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='260' height='260'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.75' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='260' height='260' filter='url(%23n)' opacity='.55'/%3E%3C/svg%3E");
    background-size:260px 260px;
    z-index:1;
}

.lux-footer__wrap{
    position:relative;
    z-index:2;
    max-width:1100px;
    margin:0 auto;
}

.lux-footer__top{
    display:grid;
    grid-template-columns: 1.05fr 1.2fr;
    gap:48px;
    align-items:start;
}

.lux-footer__logo{
    font-family: Inter, system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
    letter-spacing:.22em;
    text-transform:uppercase;
    font-weight:500;
    font-size:14px;
    opacity:.95;
}

.lux-footer__logo span{
    opacity:.8;
    font-weight:400;
}

.lux-footer__tagline{
    margin:18px 0 26px;
    max-width:420px;
    color:rgba(255,255,255,.78);
    line-height:1.7;
}

.lux-footer__social{
    display:flex;
    gap:10px;
    flex-wrap:wrap;
}

.lux-social{
    display:inline-flex;
    align-items:center;
    gap:10px;
    padding:10px 12px;
    border-radius:999px;
    border:1px solid rgba(255,255,255,.12);
    background:rgba(255,255,255,.04);
    text-decoration:none;
    color:rgba(255,255,255,.86);
    transition: transform .35s cubic-bezier(.2,.8,.2,1),
    border-color .35s cubic-bezier(.2,.8,.2,1),
    box-shadow .35s cubic-bezier(.2,.8,.2,1),
    color .35s cubic-bezier(.2,.8,.2,1);
    backdrop-filter: blur(10px);
}

.lux-social svg{
    width:18px;
    height:18px;
    fill: rgba(255,255,255,.92);
    transition: fill .35s cubic-bezier(.2,.8,.2,1);
}

.lux-social span{
    font-size:12px;
    letter-spacing:.18em;
    text-transform:uppercase;
}

.lux-social:hover{
    transform: translateY(-2px);
    border-color: rgba(232,121,249,.45);
    box-shadow: 0 18px 70px rgba(232,121,249,.12);
    color:#fff;
}
.lux-social:hover svg{ fill: var(--accent); }

.lux-footer__cols{
    display:grid;
    grid-template-columns: repeat(3, minmax(0,1fr));
    gap:34px;
}

.lux-footer__h{
    font-size:11px;
    letter-spacing:.22em;
    text-transform:uppercase;
    color:rgba(255,255,255,.65);
    margin-bottom:14px;
}

.lux-footer__link{
    display:block;
    text-decoration:none;
    color:rgba(255,255,255,.88);
    margin:10px 0;
    transition: color .25s ease, transform .25s ease;
}
.lux-footer__link:hover{
    color:var(--accent);
    transform: translateX(2px);
}

.lux-footer__text{
    color:rgba(255,255,255,.85);
    margin:10px 0;
    line-height:1.6;
}
.lux-muted{ color:rgba(255,255,255,.55); }

.lux-footer__divider{
    height:1px;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,.14), transparent);
    margin:44px 0 22px;
}

.lux-footer__bottom{
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:18px;
    flex-wrap:wrap;
}

.lux-footer__legal{
    display:flex;
    align-items:center;
    gap:10px;
    flex-wrap:wrap;
    color:rgba(255,255,255,.65);
    font-size:12px;
    letter-spacing:.12em;
    text-transform:uppercase;
}

.lux-dot{ opacity:.35; }

.lux-footer__mini{
    color:rgba(255,255,255,.65);
    text-decoration:none;
    transition: color .25s ease;
}
.lux-footer__mini:hover{ color: var(--accent); }

.lux-footer__cta{
    display:inline-flex;
    align-items:center;
    gap:10px;
    padding:12px 16px;
    border-radius:999px;
    border:1px solid rgba(255,255,255,.14);
    background: rgba(255,255,255,.06);
    color:#fff;
    text-decoration:none;
    letter-spacing:.22em;
    text-transform:uppercase;
    font-size:12px;
    transition: transform .35s cubic-bezier(.2,.8,.2,1),
    border-color .35s cubic-bezier(.2,.8,.2,1),
    box-shadow .35s cubic-bezier(.2,.8,.2,1);
    backdrop-filter: blur(10px);
}
.lux-footer__cta:hover{
    transform: translateY(-2px);
    border-color: rgba(149, 249, 121, 0.55);
    box-shadow: 0 22px 90px rgba(121, 249, 132, 0.14);
}

/* ===== Mobile polish ================================================== */
@media (max-width: 900px){
    .lux-footer{ padding:64px 18px 32px; }
    .lux-footer__top{ grid-template-columns:1fr; gap:36px; }
    .lux-footer__cols{ grid-template-columns:1fr; gap:22px; }
    .lux-footer__cta{ opacity: 0; pointer-events: none; }
}
.lux-crafted{
    position:relative;
    text-decoration:none;
    font-size:11px;
    letter-spacing:.28em;
    text-transform:uppercase;
    color:rgba(255,255,255,.55);
    margin-left:8px;
    transition:color .4s ease;
}

.lux-crafted strong{
    font-weight:300;
    color:#fff;
}

.lux-crafted::after{
    content:"";
    position:absolute;
    left:0;
    bottom:-4px;
    width:0%;
    height:1px;
    background:linear-gradient(90deg,var(--accent),transparent);
    transition:width .6s cubic-bezier(.2,.8,.2,1);
}
.stealth{
    opacity:.35;
    text-decoration:none;
    transition:.5s cubic-bezier(.2,.8,.2,1);
}

.stealth:hover{
    opacity:1;
}

.lux-crafted:hover{
    color:#fff;
}

.lux-crafted:hover::after{
    width:100%;
}

#lux-light{
    position: fixed;
    inset: -40%;
    pointer-events: none;
    z-index: 3;

    background: radial-gradient(
            120% 60% at var(--lx,50%) var(--ly,50%),
            rgba(232,121,249,.18) 0%,
            rgba(232,121,249,.10) 35%,
            rgba(232,121,249,.04) 60%,
            rgba(232,121,249,0) 75%
    );

    mix-blend-mode: screen;
    filter: blur(60px);
    opacity: 0;
    transition: opacity .8s cubic-bezier(.22,.61,.36,1);
}

.fancy-button {
    background: transparent;
    color: var(--accent);
    border: 2px solid var(--accent);
    padding: 12px 30px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing:.3em;
    transition:.1s ease;
    text-decoration: none;
}
.fancy-button:hover {
    background: transparent;
    color: var(--accent);
    box-shadow: 0 0 30px var(--accent);
}

.subtitleP{
    max-width:220px;
    font-size:1.05rem;
    line-height:1.7;
    opacity:.35;
    margin-left:auto;
    margin-right:auto;
    animation:fadeUp 1s ease forwards;

}
@keyframes fadeUp{
    0%{
        opacity: 0;
        transform: translateY(28px) scale(.98);
        filter: blur(6px);
    }
    60%{
        opacity: .5;
        filter: blur(1px);
    }
    100%{
        opacity:.70;
        transform: translateY(0) scale(1);
        filter: blur(0);
    }
}
