/* FormulaCDMX - Original Theme CSS */
:root {
            /* Colores para el fondo animado */
            --bg-grad-1: #0f172a; /* Azul noche profundo */
            --bg-grad-2: #3b0764; /* Púrpura oscuro */
            --bg-grad-3: #1e1b4b; /* Índigo */
            --bg-grad-4: #020617; /* Casi negro */
            
            /* Variables Glassmorphism */
            --glass-bg: rgba(255, 255, 255, 0.03);
            --glass-border: rgba(255, 255, 255, 0.08);
            --glass-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.3);
            
            --text-main: #f8fafc;
            --text-muted: #94a3b8;
            --accent-glow: #38bdf8;
        }

        * {
            box-sizing: border-box;
            margin: 0;
            padding: 0;
        }

        body {
            font-family: 'Inter', -apple-system, sans-serif;
            color: var(--text-main);
            min-height: 100vh;
            /* Fondo de gradiente animado */
            background: linear-gradient(-45deg, var(--bg-grad-1), var(--bg-grad-2), var(--bg-grad-3), var(--bg-grad-4));
            background-size: 400% 400%;
            animation: gradientBG 15s ease infinite;
            overflow-x: hidden;
        }

        @keyframes gradientBG {
            0% { background-position: 0% 50%; }
            50% { background-position: 100% 50%; }
            100% { background-position: 0% 50%; }
        }

        /* Utilidad Glassmorphism (Clase Reutilizable) */
        .glass-panel {
            background: var(--glass-bg);
            backdrop-filter: blur(12px);
            -webkit-backdrop-filter: blur(12px);
            border: 1px solid var(--glass-border);
            border-radius: 24px;
            box-shadow: var(--glass-shadow);
        }

        .container {
            max-width: 1200px;
            margin: 0 auto;
            padding: 0 20px;
        }

        /* HEADER FLOTANTE (Sin Logo) */
        header {
            padding: 20px 0;
            position: sticky;
            top: 20px;
            z-index: 100;
        }

        .header-glass {
            display: flex;
            justify-content: center;
            padding: 15px 40px;
            border-radius: 40px;
        }

        nav ul {
            list-style: none;
            display: flex;
            gap: 30px;
        }

        nav a {
            text-decoration: none;
            color: var(--text-muted);
            font-size: 0.95rem;
            text-transform: uppercase;
            letter-spacing: 2px;
            transition: color 0.3s, text-shadow 0.3s;
        }

        nav a:hover {
            color: var(--text-main);
            text-shadow: 0 0 10px var(--accent-glow);
        }

        /* TOP SECTION: HERO GLASS */
        .hero-section {
            margin: 20px 0;
        }

        .hero-card {
            display: grid;
            grid-template-columns: 1fr 1fr;
            overflow: hidden;
            min-height: auto;
        }

        .hero-content {
            padding: 50px;
            display: flex;
            flex-direction: column;
            justify-content: center;
        }

        .category-pill {
            background: rgba(56, 189, 248, 0.1);
            color: var(--accent-glow);
            padding: 6px 16px;
            border-radius: 20px;
            font-size: 0.8rem;
            text-transform: uppercase;
            letter-spacing: 1px;
            width: fit-content;
            margin-bottom: 20px;
            border: 1px solid rgba(56, 189, 248, 0.2);
        }

        .hero-content h1 {
            font-size: 3rem;
            line-height: 1.1;
            margin-bottom: 20px;
            font-weight: 700;
        }

        .hero-content p {
            color: var(--text-muted);
            font-size: 1.1rem;
            line-height: 1.6;
        }

        .hero-img {
            background: rgba(255, 255, 255, 0.02); /* Placeholder para Render 3D / Abstracto */
            border-left: 1px solid var(--glass-border);
            position: relative;
        }

        /* Efecto de luz interna para el placeholder */
        .hero-img::before {
            content: '';
            position: absolute;
            top: 50%;
            left: 50%;
            transform: translate(-50%, -50%);
            width: 200px;
            height: 200px;
            background: var(--accent-glow);
            filter: blur(80px);
            opacity: 0.2;
            border-radius: 50%;
        }

        /* MID SECTION: CITA O DATO RÁPIDO */
        .mid-bar {
            margin-bottom: 60px;
            padding: 30px;
            text-align: center;
            display: flex;
            justify-content: space-between;
            align-items: center;
        }

        .mid-bar h3 {
            font-size: 1.5rem;
            font-weight: 400;
        }

        .mid-bar .btn-glow {
            padding: 10px 24px;
            background: transparent;
            color: var(--text-main);
            border: 1px solid var(--glass-border);
            border-radius: 30px;
            text-decoration: none;
            transition: all 0.3s;
        }

        .mid-bar .btn-glow:hover {
            background: rgba(255, 255, 255, 0.1);
            box-shadow: 0 0 15px rgba(56, 189, 248, 0.3);
        }

        /* GRID SECTION: FLOATING CARDS */
        .glass-grid {
            display: grid;
            grid-template-columns: repeat(3, 1fr);
            gap: 30px;
            margin-bottom: 80px;
        }

        .grid-card {
            padding: 25px;
            display: flex;
            flex-direction: column;
            transition: transform 0.3s ease, box-shadow 0.3s ease;
        }

        .grid-card:hover {
            transform: translateY(-5px);
            box-shadow: 0 15px 35px rgba(0, 0, 0, 0.4);
            border-color: rgba(255, 255, 255, 0.15);
        }

        .card-img-placeholder {
            width: 100%;
            height: 180px;
            background: rgba(255, 255, 255, 0.05);
            border-radius: 12px;
            margin-bottom: 20px;
        }

        .grid-card h2 {
            font-size: 1.3rem;
            margin-bottom: 10px;
            line-height: 1.3;
        }

        .grid-card p {
            color: var(--text-muted);
            font-size: 0.95rem;
        }

        /* FOOTER */
        footer {
            padding: 40px 0;
            margin-top: auto;
        }

        .footer-glass {
            display: flex;
            justify-content: space-between;
            align-items: center;
            padding: 20px 40px;
        }

        .footer-glass a {
            color: var(--text-muted);
            text-decoration: none;
            margin-left: 20px;
            font-size: 0.9rem;
            transition: color 0.3s;
        }

        .footer-glass a:hover {
            color: var(--accent-glow);
        }

        /* RESPONSIVE */
        @media (max-width: 900px) {
            .hero-card {
                grid-template-columns: 1fr;
            }
            .hero-img {
                min-height: 250px;
                border-left: none;
                border-top: 1px solid var(--glass-border);
            }
            .glass-grid {
                grid-template-columns: repeat(2, 1fr);
            }
            .mid-bar {
                flex-direction: column;
                gap: 20px;
            }
        }

        @media (max-width: 600px) {
            .glass-grid {
                grid-template-columns: 1fr;
            }
            nav ul {
                flex-wrap: wrap;
                justify-content: center;
                gap: 15px;
            }
            .hero-content h1 {
                font-size: 2.2rem;
            }
        }