/* ============================================
   Automatiza con auxia — Global Styles
   ============================================ */

body { font-family: 'Outfit', sans-serif; }

/* ---- Glassmorphism ---- */
.glass {
    background: rgba(37, 209, 244, 0.03);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(37, 209, 244, 0.1);
    box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.37);
    transform: translateZ(0);
}
.glass:hover {
    border: 1px solid rgba(37, 209, 244, 0.3);
    box-shadow: 0 0 30px rgba(37, 209, 244, 0.15);
}
.glass-dark {
    background: rgba(5, 13, 14, 0.75);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    border-bottom: 1px solid rgba(37, 209, 244, 0.12);
    transform: translateZ(0);
}

/* ---- Animated Background ---- */
.bg-gradient-mesh {
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    z-index: -2;
    background: radial-gradient(circle at 15% 50%, rgba(37, 209, 244, 0.04) 0%, transparent 50%),
                radial-gradient(circle at 85% 30%, rgba(13, 242, 242, 0.03) 0%, transparent 50%);
    transform: translateZ(0);
}
.grid-pattern {
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    z-index: -1;
    background-image: radial-gradient(rgba(37, 209, 244, 0.1) 1px, transparent 1px);
    background-size: 40px 40px;
    opacity: 0.5;
    mask-image: linear-gradient(to bottom, black 40%, transparent 100%);
    -webkit-mask-image: linear-gradient(to bottom, black 40%, transparent 100%);
    transform: translateZ(0);
}
.ambient-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    z-index: -1;
    opacity: 0.4;
    will-change: transform;
    transform: translateZ(0);
}

.text-glow {
    text-shadow: 0 0 30px rgba(37, 209, 244, 0.5);
}

/* Prevent zooming on iOS */
input[type="text"], input[type="email"], input[type="tel"] {
    font-size: 16px;
}

/* ---- Prose (Legal Pages) ---- */
.prose h2 {
    color: white;
    font-size: 1.5rem;
    font-weight: 700;
    margin-top: 2.5rem;
    margin-bottom: 1rem;
}
.prose p {
    color: #94a3b8;
    line-height: 1.75;
    margin-bottom: 1.25rem;
}
.prose ul {
    color: #94a3b8;
    list-style-type: disc;
    padding-left: 1.5rem;
    margin-bottom: 1.25rem;
}
.prose li {
    margin-bottom: 0.5rem;
}

/* ---- SPA View Transitions ---- */
.spa-view {
    display: none;
    opacity: 0;
    transition: opacity 0.3s ease;
}
.spa-view.active {
    display: block;
}
.spa-view.visible {
    opacity: 1;
}

/* ---- Mobile Scroll Performance ---- */
@media (max-width: 768px) {
    .ambient-orb {
        filter: blur(30px);
        transform: scale(0.6) translateZ(0);
        opacity: 0.25;
    }
    .glass {
        backdrop-filter: none;
        -webkit-backdrop-filter: none;
        background: linear-gradient(135deg, rgba(37, 209, 244, 0.08), rgba(37, 209, 244, 0.02));
        border: 1px solid rgba(37, 209, 244, 0.2);
        box-shadow: inset 0 0 20px rgba(37, 209, 244, 0.03);
    }
    .glass-dark {
        backdrop-filter: none;
        -webkit-backdrop-filter: none;
        background: rgba(5, 13, 14, 0.98);
        box-shadow: 0 4px 30px rgba(0, 0, 0, 0.7);
    }
    .animate-blob, .animate-blob-reverse {
        animation: none !important;
    }
}
