/* neural-grapes-architecture.css */

:root {
    --glass-bg: rgba(15, 23, 42, 0.5);
    --glass-border: rgba(255, 255, 255, 0.08);
    --glass-shine: rgba(255, 255, 255, 0.12);
    --accent-glow: rgba(139, 92, 246, 0.3);
    --easing: cubic-bezier(0.16, 1, 0.3, 1);
}

/* --- CINEMATOGRAPHIC STAGE --- */

.noise-overlay {
    position: absolute;
    inset: 0;
    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.65' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)'/%3E%3C/svg%3E");
    opacity: 0.05;
    mix-blend-mode: overlay;
    pointer-events: none;
    z-index: 10;
}

.aurora-blob {
    position: absolute;
    filter: blur(80px);
    border-radius: 50%;
    opacity: 0.4;
    mix-blend-mode: screen;
    will-change: transform;
    animation: blobMovement 20s infinite alternate-reverse var(--easing);
}

.blob-1 {
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, #4f46e5 0%, transparent 70%);
    top: -10%;
    left: -10%;
    animation-duration: 25s;
}

.blob-2 {
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, #8b5cf6 0%, transparent 70%);
    bottom: -10%;
    right: -10%;
    animation-delay: -5s;
}

.blob-3 {
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, #06b6d4 0%, transparent 70%);
    top: 40%;
    left: 40%;
    animation-duration: 30s;
    opacity: 0.2;
}

@keyframes blobMovement {
    0% { transform: translate(0, 0) scale(1); }
    33% { transform: translate(10%, -10%) scale(1.1); }
    66% { transform: translate(-5%, 15%) scale(0.9); }
    100% { transform: translate(0, 0) scale(1); }
}

/* --- VISION OS GLASS CARD --- */

.glass-card {
    background: var(--glass-bg);
    backdrop-filter: blur(60px) saturate(180%);
    -webkit-backdrop-filter: blur(60px) saturate(180%);
    border: 1px solid var(--glass-border);
    box-shadow: 
        0 40px 100px -20px rgba(0, 0, 0, 0.8),
        inset 0 1px 1px var(--glass-shine);
    position: relative;
    overflow: hidden;
}

.glass-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        90deg,
        transparent,
        rgba(255, 255, 255, 0.05),
        transparent
    );
    transition: 0.5s;
}

.glass-card:hover::before {
    left: 100%;
    transition: 1s var(--easing);
}

/* --- LIQUID INPUTS --- */

.liquid-input-group {
    position: relative;
    transition: all 0.4s var(--easing);
}

.liquid-input {
    background: rgba(255, 255, 255, 0.03) !important;
    border: 1px solid rgba(255, 255, 255, 0.05) !important;
    border-radius: 12px !important;
    color: white !important;
    height: 54px !important;
    padding: 0 16px !important;
    width: 100%;
    transition: all 0.4s var(--easing) !important;
    outline: none !important;
}

.liquid-input:focus {
    background: rgba(255, 255, 255, 0.06) !important;
    border-color: rgba(139, 92, 246, 0.5) !important;
    box-shadow: 0 0 20px rgba(139, 92, 246, 0.2) !important;
    transform: scale(1.01);
}

.input-label {
    position: absolute;
    left: 16px;
    top: 50%;
    transform: translateY(-50%);
    color: #94a3b8;
    pointer-events: none;
    transition: all 0.3s var(--easing);
    font-size: 0.95rem;
}

.liquid-input:focus + .input-label,
.liquid-input:not(:placeholder-shown) + .input-label {
    top: -10px;
    left: 12px;
    font-size: 0.75rem;
    color: #8b5cf6;
    background: #020617;
    padding: 0 4px;
}

/* --- CINEMATOGRAPHIC BUTTON --- */

.btn-premium {
    background: linear-gradient(135deg, #8b5cf6 0%, #6366f1 100%);
    border-radius: 14px;
    height: 56px;
    font-weight: 700;
    color: white;
    position: relative;
    overflow: hidden;
    transition: all 0.4s var(--easing);
    box-shadow: 0 15px 30px -10px rgba(139, 92, 246, 0.5);
}

.btn-premium:hover {
    transform: translateY(-4px) scale(1.02);
    box-shadow: 0 25px 50px -15px rgba(139, 92, 246, 0.7);
    filter: brightness(1.1);
}

.btn-premium:active {
    transform: translateY(0) scale(0.98);
}

.btn-premium::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transform: translateX(-100%);
    transition: transform 0.6s var(--easing);
}

.btn-premium:hover::after {
    transform: translateX(100%);
}

.footer-link {
    font-size: 10px;
    text-transform: uppercase;
    font-weight: 700;
    letter-spacing: 0.1em;
    color: #64748b;
    transition: all 0.3s var(--easing);
    text-decoration: none;
}

.footer-link:hover {
    color: white;
    text-shadow: 0 0 10px rgba(255, 255, 255, 0.3);
}

/* --- BRANDING --- */

.minimind-badge {
    background: rgba(139, 92, 246, 0.1);
    border: 1px solid rgba(139, 92, 246, 0.2);
    padding: 4px 12px;
    border-radius: 100px;
    font-size: 0.7rem;
    font-weight: 800;
    letter-spacing: 1px;
    color: #a78bfa;
    text-transform: uppercase;
}

/* --- RESPONSIVE FIXES --- */

@media (max-width: 480px) {
    .glass-card {
        border-radius: 24px;
        padding: 1.5rem !important;
    }
}
