:root {
            --bg-color: #080b11;
            --card-bg: rgba(15, 23, 42, 0.45);
            --border-color: rgba(255, 255, 255, 0.08);
            --text-primary: #f8fafc;
            --text-secondary: #cbd5e1;
            --text-muted: #64748b;
            --primary-gradient: linear-gradient(135deg, #3b82f6 0%, #1d4ed8 100%);
            --primary-glow: rgba(59, 130, 246, 0.3);
            --accent-cyan: #00f0ff;
            --accent-glow: rgba(0, 240, 255, 0.25);
            --font-main: 'Outfit', sans-serif;
            --font-title: 'Plus Jakarta Sans', sans-serif;
        }

        * {
            box-sizing: border-box;
            outline: none;
        }

        body {
            background-color: var(--bg-color);
            background-image: 
                radial-gradient(at 0% 0%, rgba(29, 78, 216, 0.15) 0px, transparent 50%),
                radial-gradient(at 100% 100%, rgba(0, 240, 255, 0.08) 0px, transparent 50%),
                radial-gradient(at 50% 50%, rgba(15, 23, 42, 0.5) 0px, transparent 100%);
            background-attachment: fixed;
            margin: 0;
            padding: 20px;
            display: flex;
            justify-content: center;
            align-items: flex-start;
            min-height: 100vh;
            font-family: var(--font-main);
            color: var(--text-primary);
        }

        .app-container {
            width: 100%;
            max-width: 1080px;
            display: flex;
            flex-direction: column;
            gap: 32px;
            padding: 20px 0;
        }

        /* Cabecera Flotante Premium (Navbar) */
        header {
            display: flex;
            justify-content: space-between;
            align-items: center;
            background: rgba(15, 23, 42, 0.55);
            backdrop-filter: blur(16px);
            -webkit-backdrop-filter: blur(16px);
            border: 1px solid var(--border-color);
            border-radius: 16px;
            padding: 16px 24px;
            box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.3);
            gap: 16px;
            transition: border-color 0.3s ease, box-shadow 0.3s ease;
        }

        header:hover {
            border-color: rgba(59, 130, 246, 0.3);
            box-shadow: 0 8px 32px 0 rgba(59, 130, 246, 0.1);
        }

        .header-logo {
            display: flex;
            align-items: center;
            gap: 16px;
        }

        .logo-image {
            height: 96px;
            width: 96px;
            object-fit: cover;
            border-radius: 50%;
            border: 3px solid rgba(59, 130, 246, 0.85);
            box-shadow: 0 0 25px rgba(59, 130, 246, 0.6), 0 0 12px rgba(0, 240, 255, 0.2);
            transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.4s ease;
        }

        .logo-image:hover {
            transform: scale(1.1) rotate(6deg);
            box-shadow: 0 0 35px rgba(59, 130, 246, 0.95), 0 0 18px rgba(0, 240, 255, 0.45);
        }

        .logo-text {
            font-family: var(--font-title);
            font-size: 32px;
            font-weight: 800;
            background: linear-gradient(135deg, #ffffff 30%, #93c5fd 100%);
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
            letter-spacing: -0.8px;
            text-shadow: 0 0 20px rgba(59, 130, 246, 0.15);
        }

        .logo-subtext {
            color: #3b82f6;
            -webkit-text-fill-color: #3b82f6;
        }

        .header-badge {
            display: flex;
            align-items: center;
            gap: 8px;
            background: rgba(59, 130, 246, 0.1);
            border: 1px solid rgba(59, 130, 246, 0.2);
            padding: 6px 14px;
            border-radius: 20px;
            font-size: 13px;
            font-weight: 600;
            color: #93c5fd;
            letter-spacing: 0.2px;
            box-shadow: 0 0 10px rgba(59, 130, 246, 0.05);
        }

        .pulse-dot {
            width: 8px;
            height: 8px;
            background-color: var(--accent-cyan);
            border-radius: 50%;
            box-shadow: 0 0 0 0 rgba(0, 240, 255, 0.7);
            animation: pulse 1.6s infinite;
        }

        @keyframes pulse {
            0% {
                transform: scale(0.95);
                box-shadow: 0 0 0 0 rgba(0, 240, 255, 0.7);
            }
            70% {
                transform: scale(1);
                box-shadow: 0 0 0 6px rgba(0, 240, 255, 0);
            }
            100% {
                transform: scale(0.95);
                box-shadow: 0 0 0 0 rgba(0, 240, 255, 0);
            }
        }

        .social-links {
            display: flex;
            align-items: center;
            gap: 10px;
            flex-wrap: wrap;
        }

        .social-pill {
            display: flex;
            align-items: center;
            gap: 6px;
            border-radius: 20px;
            padding: 6px 14px;
            font-size: 13px;
            font-weight: 600;
            text-decoration: none;
            transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
            border: 1px solid rgba(255, 255, 255, 0.05);
            box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
        }

        .social-pill:hover {
            transform: translateY(-2px);
            color: #ffffff;
        }

        .social-pill svg {
            flex-shrink: 0;
        }

        /* WhatsApp Style */
        .social-pill.whatsapp {
            background: rgba(37, 211, 102, 0.1);
            border-color: rgba(37, 211, 102, 0.25);
            color: #25d366;
        }
        .social-pill.whatsapp:hover {
            background: rgba(37, 211, 102, 0.2);
            border-color: rgba(37, 211, 102, 0.45);
            box-shadow: 0 0 12px rgba(37, 211, 102, 0.25);
        }
        .social-pill.whatsapp svg {
            fill: #25d366;
        }

        /* Instagram Style */
        .social-pill.instagram {
            background: rgba(225, 48, 108, 0.1);
            border-color: rgba(225, 48, 108, 0.25);
            color: #f77737;
        }
        .social-pill.instagram:hover {
            background: rgba(225, 48, 108, 0.2);
            border-color: rgba(225, 48, 108, 0.45);
            box-shadow: 0 0 12px rgba(225, 48, 108, 0.25);
        }
        .social-pill.instagram svg {
            stroke: #f77737;
        }

        /* Facebook Style */
        .social-pill.facebook {
            background: rgba(24, 119, 242, 0.1);
            border-color: rgba(24, 119, 242, 0.25);
            color: #1877f2;
        }
        .social-pill.facebook:hover {
            background: rgba(24, 119, 242, 0.2);
            border-color: rgba(24, 119, 242, 0.45);
            box-shadow: 0 0 12px rgba(24, 119, 242, 0.25);
        }
        .social-pill.facebook svg {
            stroke: #1877f2;
        }

        .social-pill:hover svg {
            transform: scale(1.1);
        }

        /* Sección de Introducción */
        .intro-section {
            text-align: center;
            max-width: 720px;
            margin: 0 auto;
            display: flex;
            flex-direction: column;
            gap: 16px;
        }

        .intro-section h1 {
            font-family: var(--font-title);
            font-size: 2.2rem;
            font-weight: 800;
            margin: 0;
            letter-spacing: -0.5px;
            line-height: 1.2;
        }

        .intro-section p {
            font-size: 1.05rem;
            color: var(--text-secondary);
            line-height: 1.6;
            margin: 0;
        }

        /* Rejilla de Aplicaciones (Centrada para una sola tarjeta) */
        .apps-grid {
            display: flex;
            justify-content: center;
            width: 100%;
        }

        /* Tarjeta de Aplicación */
        .app-card {
            background: var(--card-bg);
            backdrop-filter: blur(12px);
            -webkit-backdrop-filter: blur(12px);
            border: 1px solid var(--border-color);
            border-radius: 20px;
            padding: 24px;
            display: flex;
            flex-direction: column;
            gap: 20px;
            box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.2);
            transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
            position: relative;
            overflow: hidden;
            text-align: left;
            width: 100%;
            max-width: 440px;
        }

        .app-card::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: linear-gradient(135deg, rgba(59, 130, 246, 0.05) 0%, transparent 100%);
            z-index: 0;
            pointer-events: none;
        }

        .app-card:hover {
            transform: translateY(-6px);
            border-color: rgba(59, 130, 246, 0.4);
            box-shadow: 0 12px 40px rgba(59, 130, 246, 0.15), 0 0 20px rgba(59, 130, 246, 0.05);
        }

        /* Status Badge */
        .status-badge {
            align-self: flex-start;
            display: flex;
            align-items: center;
            gap: 6px;
            padding: 6px 12px;
            border-radius: 12px;
            font-size: 11px;
            font-weight: 700;
            text-transform: uppercase;
            letter-spacing: 0.5px;
            z-index: 1;
        }

        .status-badge.online {
            background: rgba(16, 185, 129, 0.12);
            border: 1px solid rgba(16, 185, 129, 0.3);
            color: #34d399;
        }

        .status-badge.upcoming {
            background: rgba(245, 158, 11, 0.08);
            border: 1px solid rgba(245, 158, 11, 0.2);
            color: #fbbf24;
        }

        .status-badge-dot {
            width: 6px;
            height: 6px;
            border-radius: 50%;
            background-color: currentColor;
        }

        .status-badge.online .status-badge-dot {
            box-shadow: 0 0 8px currentColor;
            animation: pulse-dot 1.4s infinite;
        }

        @keyframes pulse-dot {
            0% { transform: scale(0.9); opacity: 0.8; }
            50% { transform: scale(1.1); opacity: 1; }
            100% { transform: scale(0.9); opacity: 0.8; }
        }

        /* Contenido de la Tarjeta */
        .app-card-header {
            display: flex;
            flex-direction: column;
            gap: 6px;
            z-index: 1;
        }

        .app-card-title {
            font-family: var(--font-title);
            font-size: 1.4rem;
            font-weight: 700;
            color: #ffffff;
            margin: 0;
            letter-spacing: -0.3px;
        }

        .app-card-description {
            font-size: 0.92rem;
            color: var(--text-secondary);
            line-height: 1.5;
            margin: 0;
            min-height: 48px;
        }

        /* SVG Gráficos dentro de Tarjetas */
        .app-card-visual {
            height: 120px;
            width: 100%;
            border-radius: 12px;
            background: rgba(10, 15, 30, 0.6);
            border: 1px solid rgba(255, 255, 255, 0.04);
            display: flex;
            justify-content: center;
            align-items: center;
            position: relative;
            overflow: hidden;
            z-index: 1;
        }

        .app-card-visual svg {
            transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
        }

        .app-card:hover .app-card-visual svg {
            transform: scale(1.08) rotate(2deg);
        }

        /* Botón de Acción */
        .btn-launch {
            width: 100%;
            padding: 12px 20px;
            border-radius: 10px;
            font-family: var(--font-title);
            font-size: 14px;
            font-weight: 700;
            text-align: center;
            text-decoration: none;
            cursor: pointer;
            transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
            display: inline-flex;
            justify-content: center;
            align-items: center;
            gap: 8px;
            border: none;
            z-index: 1;
        }

        .btn-launch.active {
            background: var(--primary-gradient);
            color: white;
            box-shadow: 0 4px 12px var(--primary-glow);
            border: 1px solid rgba(255, 255, 255, 0.1);
        }

        .btn-launch.active:hover {
            transform: translateY(-2px);
            box-shadow: 0 8px 20px var(--primary-glow), 0 0 12px rgba(59, 130, 246, 0.2);
            filter: brightness(1.1);
        }

        .btn-launch.disabled {
            background: rgba(255, 255, 255, 0.03);
            color: var(--text-muted);
            border: 1px solid rgba(255, 255, 255, 0.03);
            cursor: not-allowed;
        }

        /* Tarjeta de Aplicación Bloqueada (Estilo Frost) */
        .app-card.upcoming-card {
            opacity: 0.75;
        }

        .app-card.upcoming-card:hover {
            border-color: rgba(245, 158, 11, 0.25);
            box-shadow: 0 12px 40px rgba(245, 158, 11, 0.05);
            transform: translateY(-2px);
        }

        footer {
            text-align: center;
            font-size: 13px;
            color: var(--text-muted);
            margin-top: 20px;
            letter-spacing: 0.3px;
            padding: 20px 0;
            border-top: 1px solid rgba(255, 255, 255, 0.04);
        }

        /* Adaptabilidad Móvil */
        @media (max-width: 768px) {
            header {
                flex-direction: column;
                align-items: center;
                gap: 20px;
                padding: 20px;
                text-align: center;
            }

            .header-logo {
                flex-direction: column;
                gap: 12px;
            }

            .logo-text {
                font-size: 26px;
            }

            .social-links {
                justify-content: center;
                width: 100%;
            }

            .intro-section h1 {
                font-size: 1.8rem;
            }

        }

        /* Menú Flotante Secundario */
        .sub-navbar {
            display: flex;
            justify-content: center;
            align-items: center;
            flex-wrap: wrap;
            gap: 8px;
            background: rgba(15, 23, 42, 0.45);
            backdrop-filter: blur(12px);
            -webkit-backdrop-filter: blur(12px);
            border: 1px solid var(--border-color);
            border-radius: 30px;
            padding: 6px 12px;
            margin: 0 auto;
            max-width: 700px;
            box-shadow: 0 4px 20px rgba(0, 0, 0, 0.25);
            position: relative;
            z-index: 10;
        }

        .sub-nav-link {
            color: var(--text-secondary);
            text-decoration: none;
            font-size: 13.5px;
            font-weight: 600;
            padding: 6px 16px;
            border-radius: 20px;
            transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
        }

        .sub-nav-link:hover {
            color: var(--accent-cyan);
            background: rgba(0, 240, 255, 0.05);
        }

        .sub-nav-link.active {
            color: #ffffff;
            background: var(--primary-gradient);
            box-shadow: 0 0 12px var(--primary-glow);
        }

        /* Secciones de Contenido */
        .content-section {
            scroll-margin-top: 140px;
            width: 100%;
        }

        .card-section {
            background: var(--card-bg);
            backdrop-filter: blur(12px);
            -webkit-backdrop-filter: blur(12px);
            border: 1px solid var(--border-color);
            border-radius: 24px;
            padding: 36px;
            box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
            max-width: 800px;
            margin: 0 auto 40px auto;
            text-align: left;
        }

        .section-title {
            font-family: var(--font-title);
            font-size: 24px;
            font-weight: 800;
            background: linear-gradient(135deg, #ffffff 30%, #93c5fd 100%);
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
            margin-top: 0;
            margin-bottom: 20px;
            letter-spacing: -0.5px;
            display: flex;
            align-items: center;
            gap: 12px;
        }

        .section-title::before {
            content: '';
            display: inline-block;
            width: 4px;
            height: 20px;
            background: #3b82f6;
            border-radius: 2px;
            box-shadow: 0 0 10px #3b82f6;
        }

        .info-card p {
            color: var(--text-secondary);
            font-size: 15px;
            line-height: 1.8;
            margin-bottom: 16px;
        }

        .info-card p:last-child {
            margin-bottom: 0;
        }

        /* Rejilla de Contacto */
        .contact-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
            gap: 20px;
            width: 100%;
        }

        .contact-card {
            display: flex;
            align-items: center;
            gap: 16px;
            background: rgba(15, 23, 42, 0.4);
            border: 1px solid rgba(255, 255, 255, 0.05);
            border-radius: 16px;
            padding: 16px;
            text-decoration: none;
            transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
        }

        .contact-card:hover {
            transform: translateY(-3px);
        }

        .contact-icon {
            width: 44px;
            height: 44px;
            border-radius: 12px;
            display: flex;
            justify-content: center;
            align-items: center;
            background: rgba(255, 255, 255, 0.03);
            border: 1px solid rgba(255, 255, 255, 0.05);
            color: #ffffff;
            transition: all 0.3s ease;
        }

        .contact-card:hover .contact-icon {
            transform: scale(1.1);
        }

        .whatsapp-card:hover {
            border-color: rgba(37, 211, 102, 0.4);
            box-shadow: 0 10px 20px rgba(37, 211, 102, 0.05);
        }
        .whatsapp-card:hover .contact-icon {
            background: rgba(37, 211, 102, 0.1);
            border-color: rgba(37, 211, 102, 0.3);
            color: #25d366;
        }

        .instagram-card:hover {
            border-color: rgba(247, 119, 55, 0.4);
            box-shadow: 0 10px 20px rgba(247, 119, 55, 0.05);
        }
        .instagram-card:hover .contact-icon {
            background: rgba(247, 119, 55, 0.1);
            border-color: rgba(247, 119, 55, 0.3);
            color: #f77737;
        }

        .facebook-card:hover {
            border-color: rgba(24, 119, 242, 0.4);
            box-shadow: 0 10px 20px rgba(24, 119, 242, 0.05);
        }
        .facebook-card:hover .contact-icon {
            background: rgba(24, 119, 242, 0.1);
            border-color: rgba(24, 119, 242, 0.3);
            color: #1877f2;
        }

        .contact-info h3 {
            margin: 0 0 4px 0;
            color: #ffffff;
            font-size: 15px;
            font-weight: 600;
        }

        .contact-info p {
            margin: 0 0 2px 0;
            color: var(--text-secondary);
            font-size: 13px;
        }

        .contact-info span {
            font-size: 11px;
            color: var(--text-muted);
        }

        /* Premium Carousel Styling */
        .carousel-section {
            width: 100%;
            max-width: 680px;
            margin: 0 auto 32px auto;
            position: relative;
            z-index: 1;
        }

        .carousel-container {
            width: 100%;
            position: relative;
            background: var(--card-bg);
            backdrop-filter: blur(12px);
            -webkit-backdrop-filter: blur(12px);
            border: 1px solid var(--border-color);
            border-radius: 24px;
            overflow: hidden;
            box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
            aspect-ratio: 16 / 9;
            max-height: 400px;
        }

        .carousel-track {
            display: flex;
            width: 100%;
            height: 100%;
            transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
        }

        .carousel-slide {
            min-width: 100%;
            height: 100%;
            position: relative;
        }

        .carousel-slide img {
            width: 100%;
            height: 100%;
            object-fit: cover;
            object-position: center;
            transition: transform 6s ease;
        }

        .carousel-slide:hover img {
            transform: scale(1.05);
        }

        .carousel-btn {
            position: absolute;
            top: 50%;
            transform: translateY(-50%);
            background: rgba(15, 23, 42, 0.65);
            backdrop-filter: blur(8px);
            border: 1px solid rgba(255, 255, 255, 0.08);
            color: #ffffff;
            width: 44px;
            height: 44px;
            border-radius: 50%;
            display: flex;
            justify-content: center;
            align-items: center;
            cursor: pointer;
            transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
            z-index: 2;
            opacity: 0;
        }

        .carousel-container:hover .carousel-btn {
            opacity: 1;
        }

        @media (max-width: 768px) {
            .carousel-btn {
                opacity: 1;
                width: 38px;
                height: 38px;
            }
        }

        .carousel-btn:hover {
            background: rgba(30, 41, 59, 0.85);
            border-color: var(--accent-cyan);
            box-shadow: 0 0 15px rgba(0, 240, 255, 0.3);
            color: var(--accent-cyan);
        }

        .prev-btn {
            left: 16px;
        }

        .next-btn {
            right: 16px;
        }
        
        /* Modificadores de ancho para Galerías */
        .app-container.full-width {
            max-width: 95%;
        }
        .card-section.full-width {
            max-width: 100%;
        }

        /* Lightbox Styles */
        .lightbox-overlay {
            position: fixed;
            top: 0; left: 0; right: 0; bottom: 0;
            background: rgba(0, 0, 0, 0.9);
            backdrop-filter: blur(10px);
            z-index: 2000;
            display: flex;
            align-items: center;
            justify-content: center;
            opacity: 0;
            pointer-events: none;
            transition: opacity 0.3s ease;
        }
        .lightbox-overlay.show {
            opacity: 1;
            pointer-events: auto;
        }
        .lightbox-img {
            max-width: 90%;
            max-height: 90vh;
            border-radius: 8px;
            box-shadow: 0 10px 40px rgba(0,0,0,0.8);
            transform: scale(0.9);
            transition: transform 0.3s ease;
            object-fit: contain;
        }
        .lightbox-overlay.show .lightbox-img {
            transform: scale(1);
        }
        .lightbox-close {
            position: absolute;
            top: 20px;
            right: 30px;
            color: white;
            font-size: 40px;
            font-weight: bold;
            cursor: pointer;
            text-shadow: 0 2px 10px rgba(0,0,0,0.5);
            transition: color 0.3s ease;
        }
        .lightbox-close:hover {
            color: var(--accent-cyan);
        }