:root {
    --bg: #F5F3FB;
    --paper: #ffffff;
    --ink: #0d1235;
    --muted: #5f6380;
    --purple: #661ff0;
    --icons : #3300ff ;
    --purple-2: #8b4af7;
    --purple-3: #bfa4ff;
    --purple-dark: #080D33;
    --line: rgba(102, 31, 240, 0.26);
    --glow: 0 0 24px rgba(102, 31, 240, 0.45);
    --shadow: 0 18px 45px rgba(39, 18, 97, 0.14);
    --soft-shadow: 0 12px 26px rgba(102, 31, 240, 0.2);
    --radius: 8px;
    --radius-lg: 18px;
    --nav-height: 68px;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    min-width: 320px;
    margin: 0;
    color: var(--ink);
    background: #F5F3FB;
    font-family: Inter, "Segoe UI", Arial, sans-serif;
    overflow-x: hidden;
}

body.menu-open {
    overflow: hidden;
}

.page-loader {
    position: fixed;
    inset: 0;
    z-index: 999;
    display: grid;
    place-items: center;
    background:
        radial-gradient(circle at 50% 42%, rgba(191, 164, 255, 0.34), transparent 18rem),
        rgba(247, 245, 252, 0.94);
    opacity: 0;
    pointer-events: none;
    transition: opacity 260ms ease;
}

.page-loader.is-visible {
    opacity: 1;
    pointer-events: auto;
}

.loader-card {
    display: grid;
    min-width: 138px;
    justify-items: center;
    gap: 18px;
    padding: 22px 26px;
    border: 1px solid rgba(102, 31, 240, 0.18);
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.76);
    box-shadow: 0 18px 42px rgba(39, 18, 97, 0.14);
    backdrop-filter: blur(12px);
}

.loader-card img {
    width: 106px;
    height: 38px;
    object-fit: contain;
}

.loader-ring {
    width: 28px;
    height: 28px;
    border: 3px solid rgba(102, 31, 240, 0.16);
    border-top-color: var(--purple);
    border-radius: 50%;
    animation: loaderSpin 760ms linear infinite;
}

@keyframes loaderSpin {
    to {
        transform: rotate(360deg);
    }
}

.page-shell {
    width: min(1180px, calc(100% - 48px));
    margin-inline: auto;
}

img {
    display: block;
    max-width: 100%;
}

a {
    color: #723fe0;
    text-decoration: none;
}

button,
input,
select {
    font: inherit;
}

.section-anchor {
    scroll-margin-top: calc(var(--nav-height) + 20px);
}

.btn {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    border: none;
    font-weight: 450;
    width: 267px;
    height: 60px;
    border-radius: 12px;
    background: #54016d6b;
    color: #fff;
    box-shadow: 0 6px 24px rgba(102, 31, 240, 0.4),
        inset 0 1px 0 rgba(255, 255, 255, 0.15),
        inset 0 0 2px #7023F7;
    text-transform: uppercase;
    letter-spacing: 0em;
    cursor: pointer;
    outline: none;
    transition: 0.5s;
    backdrop-filter: blur(15px);
}

.btn:hover {
    letter-spacing: 0.09em;
}


.btn span {
    position: relative;
    z-index: 2;
}

.pixel-container {
    position: absolute;
    border-radius: 12px;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    pointer-events: none;

}

.pixel-container .pixel {
    position: absolute;
    width: 18px;
    height: 10px;
    pointer-events: none;
    background: var(--clrr);
    transition: transform 0.5s ease, opacity 0.5s ease;
}

.btn:hover .pixel {
    opacity: 0;
    transform: translate(var(--tx), var(--ty));
}

.hero-actions a::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 50%;
    height: 100%;
    background: linear-gradient(to left, rgba(255, 255, 255, 0.438), transparent);
    transform: skewX(45deg) translateX(0);
    transition: 0.5s;
    transition-delay: 0s;
}

/*
.hero-actions:hover a::before {
    transform: skewX(45deg) translateX(120%);
    transition-delay: 0.75s;
}


.btn {
    position: relative;
    display: inline-flex;
    min-height: 42px;
    align-items: center;
    justify-content: center;
    gap: 12px;
    border-radius: var(--radius);
    padding: 0 22px;
    border: 1px solid rgba(102, 31, 240, 0.35);
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    transition:
        transform 220ms ease,
        box-shadow 220ms ease,
        border-color 220ms ease,
        background-color 220ms ease;
}

.btn span {
    display: grid;
    width: 24px;
    height: 24px;
    place-items: center;
    border-radius: 50%;
    background: #4E0EEC;
    box-shadow: inset 0 0 10px rgba(255, 255, 255, 0.25);
}

.btn-primary {
    color: #fff;
    background: linear-gradient(90deg, #6217F5, #9051F8);
    box-shadow:
        0 6px 14px rgba(102, 31, 240, 0.25),
        inset 0 1px 0 rgba(255, 255, 255, 0.28),
        inset 0 0 2px #7023F7;
}

.btn-light {
    color: #080D33;
    background: rgb(255, 255, 255);
    border-color: rgba(103, 52, 217, 0.3);
    box-shadow:
        0 2px 8px rgba(102, 31, 240, 0.25),
        inset 0 1px 0 rgba(255, 255, 255, 0.28),
        inset 0 0 1px #7023F7;
}

.btn-light span {
    color: var(--purple);
    background: rgba(102, 31, 240, 0.08);
}

.btn:hover {
    transform: translateY(-2px);
    box-shadow:
        0 8px 30px rgba(88, 34, 227, 0.32),
        inset 0 1px 0 rgba(255, 255, 255, 0.35);
}
*/
.reveal-up {
    animation: revealUp 760ms ease both;
}

@keyframes revealUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.footer {
    padding: 54px 0 24px;
    color: #fff;
    background:
        radial-gradient(circle at 80% 10%, rgba(186, 137, 255, 0.25), transparent 24rem),
        linear-gradient(135deg, #11003a, #2f087c 48%, #6818f0);
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.7fr 1fr 1fr;
    gap: 42px;
}

.footer-brand img {
    width: 100vh;
    height: 44px;
    object-fit: contain;
    object-position: left center;
    filter: brightness(0) invert(1);
}

.footer-brand p,
.footer-column a,
.footer-column span,
.footer-bottom {
    color: rgba(255, 255, 255, 0.76);
}

.footer-brand p {
    max-width: 410px;
    margin: 18px 0 0;
    line-height: 1.7;
}

.footer-column {
    display: grid;
    gap: 12px;
    align-content: start;
}

.footer-column h2 {
    margin: 0 0 8px;
    color: #fff;
    font-size: 16px;
}

.footer-column a {
    transition:
        color 180ms ease,
        transform 180ms ease;
}

.footer-column a:hover {
    color: #fff;
    transform: translateX(4px);
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    margin-top: 42px;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.16);
    font-size: 13px;
}

.pigma-toast {
    position: fixed;
    top: calc(var(--nav-height) + 18px);
    left: 50%;
    z-index: 90;
    display: grid;
    width: min(430px, calc(100% - 32px));
    gap: 5px;
    border: 1px solid rgba(102, 31, 240, 0.22);
    border-radius: 8px;
    padding: 14px 18px;
    color: var(--ink);
    background: rgba(255, 255, 255, 0.9);
    box-shadow:
        0 18px 42px rgba(39, 18, 97, 0.15),
        inset 0 1px 0 rgba(255, 255, 255, 0.92);
    opacity: 0;
    pointer-events: none;
    transform: translate(-50%, -12px);
    transition:
        opacity 220ms ease,
        transform 220ms ease;
    backdrop-filter: blur(18px);
}

.pigma-toast.is-visible {
    opacity: 1;
    transform: translate(-50%, 0);
}

.pigma-toast strong {
    color: var(--purple);
    font-size: 14px;
}

.pigma-toast span {
    color: var(--muted);
    font-size: 13px;
    line-height: 1.45;
}
