.hero-gradient {
    background: linear-gradient(180deg, #fcf9f8 0%, #ffd9e5 100%);
}

.features-gradient {
    background: linear-gradient(90deg, #d03386 0%, #ffb0ce 100%);
}

.text-gradient {
    background: linear-gradient(90deg, #af116c 0%, #ffb0ce 100%);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.card-gradient {
    background: linear-gradient(180deg, #ffffff 0%, #fcf9f8 100%);
}

/* Base Nav Link */
.nav-link {
    position: relative;
    font-size: 14px;
    font-weight: 500;
    color: var(--on-surface-variant);
    transition: all 0.3s ease;
}

/* Hover */
.nav-link:hover {
    color: #AF116C;
}

/* Active Link */
.nav-link-active {
    color: #AF116C;
    font-weight: 700;
}

/* Active Underline */
.nav-link-active::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -8px;
    width: 100%;
    height: 2px;
    border-radius: 999px;
    background: linear-gradient(to right,
            #AF116C,
            #D9468D);
}

/* =========================
   TOAST NOTIFICATIONS
========================= */

.toast {
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: flex-start;
    gap: 14px;
    padding: 16px;
    border-radius: 20px;
    backdrop-filter: blur(14px);
    color: white;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
    animation: toastSlide 0.35s ease;
}

/* Success */
.toast-success {
    background: linear-gradient(135deg,
            #AF116C,
            #D9468D);
}

/* Error */
.toast-error {
    background: linear-gradient(135deg,
            #1F2937,
            #111827);
}

/* Loader Hide Animation */

.loader-hidden {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

/* Logo Animation */

.loader-logo {
    animation:
        logoFade 1.5s ease infinite alternate;
}

@keyframes logoFade {
    from {
        transform: translateY(0px);
        opacity: .85;
        letter-spacing: .08em;
    }

    to {
        transform: translateY(-6px);
        opacity: 1;
        letter-spacing: .12em;
    }
}

/* Subtitle */

.loader-text {
    animation: fadePulse 2s ease infinite;
}

@keyframes fadePulse {

    0%,
    100% {
        opacity: .6;
    }

    50% {
        opacity: 1;
    }
}

/* Dots */

.loader-dot {
    width: 10px;
    height: 10px;
    border-radius: 999px;
    background: #d83a8c;
    animation: bounceDot 1s infinite ease-in-out;
}

.loader-dot.delay-200 {
    animation-delay: .2s;
}

.loader-dot.delay-400 {
    animation-delay: .4s;
}

@keyframes bounceDot {

    0%,
    100% {
        transform: translateY(0);
        opacity: .4;
    }

    50% {
        transform: translateY(-10px);
        opacity: 1;
    }
}

/* Animated line */

.loader-line-wrapper {
    width: 180px;
    height: 2px;
    margin-top: 30px;
    overflow: hidden;
    border-radius: 999px;
    background: rgba(216, 58, 140, .12);
    position: relative;
}

.loader-line {
    position: absolute;
    left: -40%;
    width: 40%;
    height: 100%;
    background: linear-gradient(90deg,
            transparent,
            #d83a8c,
            transparent);

    animation: loadingLine 1.4s linear infinite;
}

@keyframes loadingLine {
    from {
        left: -40%;
    }

    to {
        left: 100%;
    }
}

/* Floating Glow */

@keyframes floatOne {

    0%,
    100% {
        transform: translate(0, 0);
    }

    50% {
        transform: translate(40px, 30px);
    }
}

@keyframes floatTwo {

    0%,
    100% {
        transform: translate(0, 0);
    }

    50% {
        transform: translate(-40px, -30px);
    }
}

.animate-floatOne {
    animation: floatOne 10s ease-in-out infinite;
}

.animate-floatTwo {
    animation: floatTwo 12s ease-in-out infinite;
}

/* Smooth page appearance */

body {
    animation: pageFade .5s ease;
}

@keyframes pageFade {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

/* Mobile Optimization */

@media (max-width: 640px) {
    .loader-logo {
        font-size: 2.5rem;
    }

    .loader-line-wrapper {
        width: 130px;
    }
}


/* Warning */
.toast-warning {
    background: linear-gradient(135deg,
            #F59E0B,
            #FBBF24);
}

/* Icon */
.toast-icon {
    width: 42px;
    height: 42px;
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.15);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

/* Content */
.toast-content {
    flex: 1;
}

.toast-title {
    font-size: 15px;
    font-weight: 700;
    margin-bottom: 4px;
}

.toast-message {
    font-size: 13px;
    opacity: 0.92;
    line-height: 1.5;
}

/* Close Button */
.toast-close {
    background: transparent;
    border: none;
    color: white;
    opacity: 0.8;
    cursor: pointer;
    transition: 0.2s;
}

.toast-close:hover {
    opacity: 1;
    transform: scale(1.05);
}

/* Progress Bar */
.toast-progress {
    position: absolute;
    left: 0;
    bottom: 0;
    height: 4px;
    width: 100%;
    background: rgba(255, 255, 255, 0.25);
}

.toast-progress::after {
    content: "";
    display: block;
    height: 100%;
    width: 100%;
    background: white;
    animation: progress 4s linear forwards;
}

/* Animations */
@keyframes toastSlide {
    from {
        opacity: 0;
        transform: translateX(40px);
    }

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

@keyframes progress {
    from {
        width: 100%;
    }

    to {
        width: 0%;
    }
}



/* =========================================
   1. Core Entrance Animations
   ========================================= */
.animate-fadeUp {
    animation: fadeUp 0.8s cubic-bezier(0.16, 1, 0.3, 1) forwards;
    opacity: 0;
    /* Elements stay hidden until the animation starts */
    will-change: transform, opacity;
}

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

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

/* =========================================
   2. Background Glow Animations
   ========================================= */
.animate-floatSlow {
    animation: floatSlow 8s ease-in-out infinite;
    will-change: transform;
}

.animate-floatReverse {
    animation: floatReverse 10s ease-in-out infinite;
    will-change: transform;
}

.animate-pulseSlow {
    animation: pulseSlow 6s ease-in-out infinite;
    will-change: transform, opacity;
}

@keyframes floatSlow {

    0%,
    100% {
        transform: translateY(0) scale(1);
    }

    50% {
        transform: translateY(-40px) scale(1.05);
    }
}

@keyframes floatReverse {

    0%,
    100% {
        transform: translateY(0) scale(1);
    }

    50% {
        transform: translateY(40px) scale(0.95);
    }
}

@keyframes pulseSlow {

    0%,
    100% {
        transform: scale(1);
        opacity: 0.5;
    }

    50% {
        transform: scale(1.1);
        opacity: 0.8;
    }
}

/* =========================================
   3. Textures & Patterns
   ========================================= */
.hero-grid {
    width: 100%;
    height: 100%;
    background-image:
        linear-gradient(to right, currentColor 1px, transparent 1px),
        linear-gradient(to bottom, currentColor 1px, transparent 1px);
    background-size: 40px 40px;
    color: #000000;
    mask-image: radial-gradient(circle at center, black 40%, transparent 80%);
    -webkit-mask-image: radial-gradient(circle at center, black 40%, transparent 80%);
}

.noise-bg {
    width: 100%;
    height: 100%;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)'/%3E%3C/svg%3E");
    background-repeat: repeat;
}

/* =========================================
   4. Floating Tags
   ========================================= */
.floating-elements .floating-tag {
    position: absolute;
    pointer-events: none;
    user-select: none;
    will-change: transform;
}

.tag-1 {
    top: 15%;
    left: 10%;
    animation: driftTag1 12s ease-in-out infinite;
}

.tag-2 {
    top: 70%;
    left: 15%;
    animation: driftTag2 15s ease-in-out infinite alternate;
}

.tag-3 {
    top: 22%;
    right: 10%;
    animation: driftTag3 14s ease-in-out infinite;
}

.tag-4 {
    top: 65%;
    right: 12%;
    animation: driftTag4 16s ease-in-out infinite alternate;
}

.tag-5 {
    top: 40%;
    left: 82%;
    animation: driftTag5 18s ease-in-out infinite;
}

@keyframes driftTag1 {

    0%,
    100% {
        transform: translate(0, 0) rotate(-6deg);
    }

    50% {
        transform: translate(20px, -15px) rotate(2deg);
    }
}

@keyframes driftTag2 {

    0%,
    100% {
        transform: translate(0, 0) rotate(8deg);
    }

    50% {
        transform: translate(-15px, -20px) rotate(-4deg);
    }
}

@keyframes driftTag3 {

    0%,
    100% {
        transform: translate(0, 0) rotate(12deg);
    }

    50% {
        transform: translate(-25px, 15px) rotate(4deg);
    }
}

@keyframes driftTag4 {

    0%,
    100% {
        transform: translate(0, 0) rotate(-10deg);
    }

    50% {
        transform: translate(20px, 20px) rotate(0deg);
    }
}

@keyframes driftTag5 {

    0%,
    100% {
        transform: translate(0, 0) rotate(4deg) scale(1);
    }

    50% {
        transform: translate(-15px, -10px) rotate(-6deg) scale(1.05);
    }
}


/* Loader Hide Animation */

    .loader-hidden {
        opacity: 0;
        visibility: hidden;
        pointer-events: none;
    }

    /* Logo Animation */

    .loader-logo {
        animation:
            logoFade 1.5s ease infinite alternate;
    }

    @keyframes logoFade {
        from {
            transform: translateY(0px);
            opacity: .85;
            letter-spacing: .08em;
        }

        to {
            transform: translateY(-6px);
            opacity: 1;
            letter-spacing: .12em;
        }
    }

    /* Subtitle */

    .loader-text {
        animation: fadePulse 2s ease infinite;
    }

    @keyframes fadePulse {

        0%,
        100% {
            opacity: .6;
        }

        50% {
            opacity: 1;
        }
    }

    /* Dots */

    .loader-dot {
        width: 10px;
        height: 10px;
        border-radius: 999px;
        background: #d83a8c;
        animation: bounceDot 1s infinite ease-in-out;
    }

    .loader-dot.delay-200 {
        animation-delay: .2s;
    }

    .loader-dot.delay-400 {
        animation-delay: .4s;
    }

    @keyframes bounceDot {

        0%,
        100% {
            transform: translateY(0);
            opacity: .4;
        }

        50% {
            transform: translateY(-10px);
            opacity: 1;
        }
    }

    /* Animated line */

    .loader-line-wrapper {
        width: 180px;
        height: 2px;
        margin-top: 30px;
        overflow: hidden;
        border-radius: 999px;
        background: rgba(216, 58, 140, .12);
        position: relative;
    }

    .loader-line {
        position: absolute;
        left: -40%;
        width: 40%;
        height: 100%;
        background: linear-gradient(90deg,
                transparent,
                #d83a8c,
                transparent);

        animation: loadingLine 1.4s linear infinite;
    }

    @keyframes loadingLine {
        from {
            left: -40%;
        }

        to {
            left: 100%;
        }
    }

    /* Floating Glow */

    @keyframes floatOne {

        0%,
        100% {
            transform: translate(0, 0);
        }

        50% {
            transform: translate(40px, 30px);
        }
    }

    @keyframes floatTwo {

        0%,
        100% {
            transform: translate(0, 0);
        }

        50% {
            transform: translate(-40px, -30px);
        }
    }

    .animate-floatOne {
        animation: floatOne 10s ease-in-out infinite;
    }

    .animate-floatTwo {
        animation: floatTwo 12s ease-in-out infinite;
    }

    /* Smooth page appearance */

    body {
        animation: pageFade .5s ease;
    }

    @keyframes pageFade {
        from {
            opacity: 0;
        }

        to {
            opacity: 1;
        }
    }

    /* Mobile Optimization */

    @media (max-width: 640px) {
        .loader-logo {
            font-size: 2.5rem;
        }

        .loader-line-wrapper {
            width: 130px;
        }
    }