/* Pricing Page - Refined Ambient Theme (Enhanced Depth) */

:root {
    --bg-deep: #020202;
    --mesh-primary: rgba(251, 146, 60, 0.12);
    /* Slightly increased from 0.08 */
    --mesh-secondary: rgba(234, 88, 12, 0.09);
    /* Slightly increased from 0.06 */
    --mesh-accent: rgba(251, 191, 36, 0.06);
    /* Slightly increased from 0.04 */
}

.animated-bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: -1;
    overflow: hidden;
    background: var(--bg-deep);
}

/* New Grid Overlay for Texture */
.grid-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
    background-size: 80px 80px;
    mask-image: radial-gradient(circle at center, black, transparent 80%);
    pointer-events: none;
    z-index: 1;
}

.mesh-container {
    position: absolute;
    width: 100%;
    height: 100%;
    filter: blur(100px);
    /* Slightly sharper than 120px for more presence */
    transform: scale(1.1);
}

.mesh-blob {
    position: absolute;
    border-radius: 50%;
    mix-blend-mode: screen;
}

/* 1. Primary Orange - Soft Glow Top Left */
.mesh-1 {
    top: -10%;
    left: -5%;
    width: 65vw;
    height: 65vw;
    background: radial-gradient(circle, var(--mesh-primary) 0%, transparent 70%);
}

/* 2. Deep Orange - Subtle Bottom Right */
.mesh-2 {
    bottom: -10%;
    right: -5%;
    width: 75vw;
    height: 75vw;
    background: radial-gradient(circle, var(--mesh-secondary) 0%, transparent 70%);
}

/* 3. Golden Amber - Very subtle center */
.mesh-3 {
    top: 50%;
    left: 45%;
    width: 45vw;
    height: 45vw;
    transform: translate(-50%, -50%);
    background: radial-gradient(circle, var(--mesh-accent) 0%, transparent 60%);
    mix-blend-mode: plus-lighter;
}

/* 4. Soft Hue - Top Right Corner */
.mesh-4 {
    top: 10%;
    right: 10%;
    width: 35vw;
    height: 35vw;
    background: radial-gradient(circle, rgba(253, 186, 116, 0.05) 0%, transparent 70%);
}

/* Refined Grain Overlay */
.grain-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0.025;
    pointer-events: none;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.8' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)'/%3E%3C/svg%3E");
    mix-blend-mode: overlay;
    z-index: 2;
}

/* Particles System */
.particles-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    pointer-events: none;
    z-index: 1;
}

.particle {
    position: absolute;
    background: white;
    border-radius: 50%;
    opacity: 0.2;
    filter: blur(1px);
}

@keyframes drift {
    from {
        transform: translateY(0) rotate(0deg);
    }

    to {
        transform: translateY(-100vh) rotate(360deg);
    }
}

/* Animations */
@keyframes meshFloat {
    0% {
        transform: translate(0, 0) scale(1) rotate(0deg);
    }

    100% {
        transform: translate(60px, 40px) scale(1.05) rotate(5deg);
    }
}

@keyframes meshPulseMove {

    0%,
    100% {
        transform: translate(-50%, -50%) scale(1);
        opacity: 0.4;
    }

    50% {
        transform: translate(-40%, -60%) scale(1.1);
        opacity: 0.6;
    }
}