body {
    background-color: #0F051D;
    background-image: linear-gradient(180deg, #1A0B2E 0%, #2D144A 30%, #3D1C5E 60%, #4D2672 100%);
    color: theme('colors.on-background');
    overflow-x: hidden;
    font-family: 'Inter', sans-serif;
}

/* The winding liquid path */
.liquid-path {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 50%;
    width: 75vw;
    max-width: 1200px;
    transform: translateX(-50%) scaleX(1);
    background: linear-gradient(180deg, rgba(255, 182, 141, 0.05) 0%, rgba(183, 234, 255, 0.05) 100%);
    border-radius: 40% 60% 70% 30% / 40% 50% 60% 50%;
    z-index: 0;
    pointer-events: none;
    opacity: 0.6;
    will-change: transform, border-radius;
    animation: morphPath 25s ease-in-out infinite alternate;
}

@keyframes morphPath {
    0% { border-radius: 40% 60% 70% 30% / 40% 50% 60% 50%; transform: translateX(-50%) scaleX(1); }
    50% { border-radius: 60% 40% 30% 70% / 50% 60% 40% 50%; transform: translateX(-50%) scaleX(1.15); }
    100% { border-radius: 40% 60% 70% 30% / 40% 50% 60% 50%; transform: translateX(-50%) scaleX(1); }
}

.flow-container {
    position: relative;
    z-index: 10;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 120px;
    padding: 100px 0;
}

.blob-card {
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 40% 60% 70% 30% / 40% 50% 60% 50%;
    padding: 80px 40px;
    max-width: 600px;
    width: 90%;
    box-shadow: 0 20px 50px rgba(0,0,0,0.3), inset 0 0 20px rgba(255,182,141,0.05);
    transition: transform 0.5s cubic-bezier(0.25, 0.8, 0.25, 1), box-shadow 0.5s ease, background 0.5s ease;
    will-change: transform;
    animation: morphBlob 15s ease-in-out infinite alternate;
    position: relative;
}

.blob-card:nth-child(even) {
    transform: translateX(10%);
    animation-delay: -5s;
    border-radius: 60% 40% 30% 70% / 50% 60% 40% 50%;
}

.blob-card:nth-child(odd) {
    transform: translateX(-10%);
}

.blob-card:hover {
    background: rgba(255, 255, 255, 0.06);
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 30px 60px rgba(0,0,0,0.4), inset 0 0 30px rgba(255,182,141,0.1);
}

@keyframes morphBlob {
    0% { border-radius: 40% 60% 70% 30% / 40% 50% 60% 50%; }
    100% { border-radius: 60% 40% 30% 70% / 50% 60% 40% 50%; }
}

.bubble-frame {
    border-radius: 40% 60% 50% 50% / 50% 50% 60% 40%;
    animation: morphBubble 8s ease-in-out infinite alternate;
    border: 2px solid rgba(255, 255, 255, 0.1);
}

@keyframes morphBubble {
    0% { border-radius: 40% 60% 50% 50% / 50% 50% 60% 40%; }
    100% { border-radius: 50% 50% 60% 40% / 40% 60% 50% 50%; }
}

.primary-gradient-text {
    background: linear-gradient(135deg, #ffb68d 0%, #B7EAFF 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.primary-gradient-btn {
    background: linear-gradient(135deg, #ffb68d 0%, #ff8c42 100%);
    color: #1b110c;
    border: none;
    border-radius: 40px;
    transition: all 0.3s ease;
}

.primary-gradient-btn:hover {
    transform: scale(1.05);
    box-shadow: 0 0 25px rgba(255, 140, 66, 0.5);
}

.orb {
    position: absolute;
    border-radius: 50%;
    /* filter: blur(120px); Removed for performance, using pure radial gradient */
    opacity: 0.25;
    z-index: -1;
    mix-blend-mode: screen;
    pointer-events: none;
    will-change: transform;
}

/* Squish effect classes added via JS on scroll */
.squish-enter {
    transform: scaleY(1.05) scaleX(0.95) translateY(20px);
    opacity: 0.5;
}
.squish-active {
    transform: scale(1) translateY(0);
    opacity: 1;
    will-change: transform, opacity;
    transition: transform 0.8s cubic-bezier(0.34, 1.56, 0.64, 1), opacity 0.8s ease-out;
}

.material-symbols-outlined {
    font-variation-settings: 'FILL' 0, 'wght' 400, 'GRAD' 0, 'opsz' 24;
}

.nav-blob {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(20px);
    border-radius: 0 0 50% 50% / 0 0 20px 20px;
    border-bottom: 1px solid rgba(255,255,255,0.05);
}

@keyframes float-slow {
    0% { transform: translate(0, 0) rotate(0deg); }
    50% { transform: translate(10px, -15px) rotate(1deg); }
    100% { transform: translate(-5px, -5px) rotate(-1deg); }
}
@keyframes float-medium {
    0% { transform: translate(0, 0) rotate(0deg); }
    50% { transform: translate(-15px, 10px) rotate(-1.5deg); }
    100% { transform: translate(5px, 15px) rotate(1deg); }
}
@keyframes drift {
    0% { transform: translate(0, 0) scale(1) rotate(0deg); }
    33% { transform: translate(8%, 10%) scale(1.1) rotate(5deg); }
    66% { transform: translate(-5%, 8%) scale(0.9) rotate(-5deg); }
    100% { transform: translate(-8%, -5%) scale(1.05) rotate(0deg); }
}
@keyframes pulse-soft {
    0%, 100% { box-shadow: 0 20px 40px rgba(0,0,0,0.5), 0 0 0 rgba(255, 182, 141, 0); }
    50% { box-shadow: 0 20px 40px rgba(0,0,0,0.5), 0 0 20px rgba(255, 182, 141, 0.2); }
}
.blob-card { animation: morphBlob 15s ease-in-out infinite alternate, float-slow 12s ease-in-out infinite alternate !important; }
.blob-card:nth-child(even) { animation: morphBlob 15s ease-in-out infinite alternate-reverse, float-medium 14s ease-in-out infinite alternate !important; }
.orb { animation: drift 25s ease-in-out infinite alternate !important; }
.hover-glow:hover { backdrop-filter: blur(15px) !important; -webkit-backdrop-filter: blur(15px) !important; box-shadow: 0 0 30px rgba(255, 182, 141, 0.2) !important; transform: scale(1.02) !important; }
@media (prefers-reduced-motion: reduce) {
    .blob-card, .orb, .animate-pulse, .scroll-element { animation: none !important; transition: none !important; transform: none !important; }
}
