
        :root {
            /* Colores ajustados para mejor contraste con el logo Form@te360 */
            --primary: #1e40af;           /* Azul fuerte - Contraste principal */
            --secondary: #3b82f6;         /* Azul brillante - Elementos secundarios */
            --accent: #ea580c;            /* Naranja intenso - Énfasis y CTAs */
            --accent-hover: #c2410c;      /* Naranja oscuro - Hover */
            --light: #ffffff;             /* Blanco puro - Fondos */
            --light-bg: #f8fafc;          /* Gris muy claro - Alternativa */
            --light-blue: #eff6ff;        /* Azul muy claro - Detalles */
            --light-orange: #fff7ed;      /* Naranja muy claro - Complemento */
            --dark: #1e293b;              /* Gris azulado oscuro - Texto principal */
            --dark-blue: #0f172a;         /* Azul muy oscuro - Footer */
            --success: #059669;           /* Verde esmeralda - Éxito */
            --success-light: #d1fae5;     /* Verde claro - Fondos positivos */
            --error: #dc2626;             /* Rojo - Errores */
            --warning: #d97706;           /* Ámbar - Advertencias */
            
            /* Gradientes */
            --gradient: linear-gradient(135deg, #1e40af 0%, #60a5fa 100%);
            --gradient-accent: linear-gradient(135deg, #ea580c 0%, #f97316 100%);
            --gradient-hero: linear-gradient(135deg, #eff6ff 0%, #ffffff 50%, #fff7ed 100%);
            
            /* Sombras */
            --shadow-sm: 0 2px 8px rgba(30, 64, 175, 0.1);
            --shadow-md: 0 4px 16px rgba(30, 64, 175, 0.15);
            --shadow-lg: 0 8px 30px rgba(30, 64, 175, 0.2);
            --shadow-accent: 0 4px 15px rgba(234, 88, 12, 0.4);
            
            /* Logo */
            --logo-bg: #ffffff;
            --logo-shadow: rgba(30, 64, 175, 0.15);
            
            /* Transiciones */
            --transition-fast: 0.2s ease;
            --transition-normal: 0.3s ease;
            --transition-slow: 0.5s ease;
        }
        
        /* ===== RESET Y BASE ===== */
        * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
        }
        
        html {
            scroll-behavior: smooth;
        }
        
        body {
            font-family: 'Roboto', sans-serif;
            line-height: 1.6;
            color: var(--dark);
            background: var(--light-bg);
            overflow-x: hidden;
        }
        
        h1, h2, h3, h4, h5, h6 {
            font-family: 'Poppins', sans-serif;
            font-weight: 600;
            color: var(--dark);
            line-height: 1.3;
        }
        
        a {
            text-decoration: none;
            color: inherit;
        }
        
        ul {
            list-style: none;
        }
        
        img {
            max-width: 100%;
            height: auto;
            display: block;
        }
        
        /* ===== HEADER & NAVEGACIÓN ===== */
        header {
            background: var(--gradient-hero);
            box-shadow: var(--shadow-md);
            border-bottom: 3px solid var(--secondary);
            position: fixed;
            width: 100%;
            top: 0;
            z-index: 1000;
            transition: all var(--transition-normal);
        }
        
        header.scrolled {
            background: rgba(255, 255, 255, 0.98);
            backdrop-filter: blur(10px);
            box-shadow: var(--shadow-lg);
        }
        
        .nav-container {
            max-width: 1200px;
            margin: 0 auto;
            display: flex;
            justify-content: space-between;
            align-items: center;
            padding: 0.75rem 2rem;
            min-height: 70px;
        }
        
        /* Logo */
        .logo {
            display: flex;
            align-items: center;
            gap: 0.75rem;
            background: var(--logo-bg);
            padding: 0.5rem 1rem;
            border-radius: 12px;
            box-shadow: 0 4px 12px var(--logo-shadow);
            transition: all var(--transition-normal);
        }
        
        .logo:hover {
            box-shadow: 0 6px 20px rgba(30, 64, 175, 0.25);
            transform: translateY(-2px);
        }
        
        .logo-img {
            height: 45px;
            width: auto;
            object-fit: contain;
            filter: drop-shadow(0 2px 4px rgba(0,0,0,0.08));
            transition: transform var(--transition-normal);
        }
        
        .logo-img:hover {
            transform: scale(1.02);
        }
        
        .logo-text {
            font-family: 'Poppins', sans-serif;
            font-weight: 700;
            font-size: 1.1rem;
            color: var(--primary);
            display: flex;
            align-items: center;
            gap: 0.5rem;
        }
        
        .logo-icon {
            background: var(--gradient-accent);
            width: 36px;
            height: 36px;
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            font-weight: bold;
            color: white;
            font-size: 0.9rem;
            flex-shrink: 0;
        }
        
        /* Navegación */
        .nav-links {
            display: flex;
            gap: 1.5rem;
            align-items: center;
        }
        
        .nav-links a {
            color: var(--dark);
            text-decoration: none;
            font-weight: 500;
            font-size: 0.95rem;
            padding: 0.5rem 0.75rem;
            border-radius: 8px;
            transition: all var(--transition-fast);
            display: flex;
            align-items: center;
            gap: 0.4rem;
        }
        
        .nav-links a:hover,
        .nav-links a.active {
            color: var(--primary);
            background: var(--light-blue);
        }
        
        .nav-links i {
            font-size: 1rem;
            color: var(--secondary);
        }
        
        /* Botón Moodle en header */
        .btn-moodle-nav {
            background: var(--gradient-accent);
            color: white;
            padding: 0.75rem 1.5rem;
            border-radius: 50px;
            font-weight: 600;
            font-size: 0.95rem;
            display: flex;
            align-items: center;
            gap: 0.5rem;
            transition: all var(--transition-normal);
            box-shadow: var(--shadow-accent);
            border: 2px solid transparent;
        }
        
        .btn-moodle-nav:hover {
            background: linear-gradient(135deg, var(--accent-hover) 0%, var(--accent) 100%);
            box-shadow: 0 6px 20px rgba(234, 88, 12, 0.6);
            transform: translateY(-2px);
        }
        
        .btn-moodle-nav i {
            font-size: 1.1rem;
        }
        
        /* ===== HERO SECTION ===== */
        .hero {
            background: var(--gradient);
            padding: 9rem 2rem 6rem;
            text-align: center;
            color: white;
            position: relative;
            overflow: hidden;
            min-height: 85vh;
            display: flex;
            align-items: center;
            justify-content: center;
        }
        
        .hero::before {
            content: '';
            position: absolute;
            top: -50%;
            left: -50%;
            width: 200%;
            height: 200%;
            background: radial-gradient(circle, rgba(255,255,255,0.15) 0%, transparent 70%);
            animation: pulse 8s ease-in-out infinite;
            pointer-events: none;
        }
        
        @keyframes pulse {
            0%, 100% { transform: scale(1); opacity: 0.5; }
            50% { transform: scale(1.1); opacity: 0.8; }
        }
        
        .hero-content {
            max-width: 850px;
            margin: 0 auto;
            position: relative;
            z-index: 2;
            padding: 2rem;
        }
        
        .hero-badges {
            display: flex;
            justify-content: center;
            gap: 0.75rem;
            margin-bottom: 2rem;
            flex-wrap: wrap;
        }
        
        .badge {
            background: rgba(255,255,255,0.25);
            padding: 0.5rem 1.25rem;
            border-radius: 50px;
            font-size: 0.85rem;
            font-weight: 500;
            backdrop-filter: blur(10px);
            border: 1px solid rgba(255,255,255,0.3);
            display: flex;
            align-items: center;
            gap: 0.4rem;
        }
        
        .badge i {
            font-size: 0.9rem;
        }
        
        .hero h1 {
            font-size: 3rem;
            margin-bottom: 1.5rem;
            color: white;
            line-height: 1.2;
            text-shadow: 0 2px 10px rgba(0,0,0,0.2);
        }
        
        .hero h1 span {
            color: var(--accent);
            font-weight: 700;
        }
        
        .hero p {
            font-size: 1.3rem;
            margin-bottom: 2.5rem;
            opacity: 0.98;
            font-weight: 300;
        }
        
        .cta-buttons {
            display: flex;
            gap: 1rem;
            justify-content: center;
            flex-wrap: wrap;
        }
        
        .btn-primary {
            background: var(--gradient-accent);
            color: white;
            padding: 1rem 2.25rem;
            border-radius: 50px;
            font-weight: 600;
            font-size: 1rem;
            display: flex;
            align-items: center;
            gap: 0.6rem;
            transition: all var(--transition-normal);
            box-shadow: var(--shadow-accent);
            border: 2px solid transparent;
        }
        
        .btn-primary:hover {
            background: linear-gradient(135deg, var(--accent-hover) 0%, var(--accent) 100%);
            box-shadow: 0 8px 25px rgba(234, 88, 12, 0.6);
            transform: translateY(-3px);
        }
        
        .btn-outline {
            background: transparent;
            color: white;
            padding: 1rem 2.25rem;
            border-radius: 50px;
            font-weight: 600;
            font-size: 1rem;
            border: 2px solid white;
            transition: all var(--transition-normal);
            display: flex;
            align-items: center;
            gap: 0.6rem;
        }
        
        .btn-outline:hover {
            background: white;
            color: var(--primary);
            transform: translateY(-3px);
            box-shadow: var(--shadow-lg);
        }
        
        /* ===== FEATURES SECTION ===== */
        .features {
            padding: 6rem 2rem;
            max-width: 1200px;
            margin: 0 auto;
        }
        
        .section-title {
            text-align: center;
            margin-bottom: 4rem;
        }
        
        .section-title h2 {
            font-size: 2.3rem;
            margin-bottom: 1rem;
            color: var(--primary);
            position: relative;
            display: inline-block;
        }
        
        .section-title h2::after {
            content: '';
            position: absolute;
            bottom: -10px;
            left: 50%;
            transform: translateX(-50%);
            width: 60px;
            height: 4px;
            background: var(--gradient-accent);
            border-radius: 2px;
        }
        
        .section-title p {
            color: #64748b;
            max-width: 650px;
            margin: 1.5rem auto 0;
            font-size: 1.1rem;
        }
        
        .features-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
            gap: 2rem;
        }
        
        .feature-card {
            background: white;
            padding: 2.5rem 2rem;
            border-radius: 20px;
            box-shadow: var(--shadow-md);
            transition: all var(--transition-normal);
            text-align: center;
            border: 1px solid rgba(30, 64, 175, 0.08);
        }
        
        .feature-card:hover {
            transform: translateY(-8px);
            box-shadow: var(--shadow-lg);
            border-color: var(--secondary);
        }
        
        .feature-icon {
            width: 75px;
            height: 75px;
            background: var(--gradient);
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            margin: 0 auto 1.5rem;
            color: white;
            font-size: 1.75rem;
            box-shadow: 0 4px 15px rgba(30, 64, 175, 0.3);
        }
        
        .feature-card h3 {
            margin-bottom: 1rem;
            color: var(--primary);
            font-size: 1.3rem;
        }
        
        .feature-card p {
            color: #475569;
            font-size: 1rem;
        }
        
        /* ===== ACADEMIC LEVELS ===== */
        .levels {
            background: white;
            padding: 6rem 2rem;
        }
        
        .levels-container {
            max-width: 1200px;
            margin: 0 auto;
        }
        
        .levels-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
            gap: 2rem;
            margin-top: 2rem;
        }
        
        .level-card {
            background: var(--light-bg);
            border-radius: 20px;
            padding: 2.5rem;
            border-left: 5px solid var(--accent);
            transition: all var(--transition-normal);
            position: relative;
            overflow: hidden;
        }
        
        .level-card::before {
            content: '';
            position: absolute;
            top: 0;
            right: 0;
            width: 100px;
            height: 100px;
            background: radial-gradient(circle, rgba(234,88,12,0.1) 0%, transparent 70%);
            border-radius: 50%;
            transform: translate(30%, -30%);
        }
        
        .level-card:hover {
            background: var(--light-blue);
            transform: translateX(5px);
            box-shadow: var(--shadow-md);
        }
        
        .level-card h3 {
            display: flex;
            align-items: center;
            gap: 0.75rem;
            margin-bottom: 1.25rem;
            color: var(--primary);
            font-size: 1.4rem;
            position: relative;
            z-index: 1;
        }
        
        .level-card h3 i {
            color: var(--accent);
            font-size: 1.3rem;
        }
        
        .level-card > p {
            font-weight: 500;
            color: var(--dark);
            margin-bottom: 1.5rem;
            position: relative;
            z-index: 1;
        }
        
        .level-card ul {
            list-style: none;
            padding-left: 0.5rem;
            position: relative;
            z-index: 1;
        }
        
        .level-card li {
            padding: 0.5rem 0;
            display: flex;
            align-items: flex-start;
            gap: 0.6rem;
            color: #475569;
            font-size: 0.95rem;
        }
        
        .level-card li::before {
            content: '✓';
            color: var(--success);
            font-weight: bold;
            font-size: 1.1rem;
            flex-shrink: 0;
            margin-top: 2px;
        }
        
        /* ===== SPECIAL COURSES ===== */
        .courses {
            padding: 6rem 2rem;
            max-width: 1200px;
            margin: 0 auto;
        }
        
        .courses-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
            gap: 1.5rem;
            margin-top: 2rem;
        }
        
        .course-card {
            background: white;
            border-radius: 16px;
            padding: 1.75rem;
            box-shadow: var(--shadow-sm);
            transition: all var(--transition-normal);
            border-top: 4px solid var(--secondary);
            border: 1px solid rgba(30, 64, 175, 0.08);
        }
        
        .course-card:hover {
            transform: translateY(-5px);
            box-shadow: var(--shadow-lg);
            border-color: var(--secondary);
        }
        
        .course-tag {
            display: inline-flex;
            align-items: center;
            gap: 0.3rem;
            background: var(--light-blue);
            color: var(--primary);
            padding: 0.35rem 0.85rem;
            border-radius: 20px;
            font-size: 0.8rem;
            font-weight: 600;
            margin-bottom: 0.75rem;
        }
        
        .course-card h4 {
            margin: 0.5rem 0 0.75rem;
            color: var(--dark);
            font-size: 1.2rem;
            display: flex;
            align-items: center;
            gap: 0.5rem;
        }
        
        .course-card h4 i {
            color: var(--accent);
        }
        
        .course-card p {
            color: #64748b;
            font-size: 0.95rem;
            line-height: 1.5;
        }
        
        /* ===== MOODLE CTA SECTION ===== */
        .moodle-cta {
            background: var(--gradient);
            padding: 5rem 2rem;
            text-align: center;
            color: white;
            position: relative;
            overflow: hidden;
        }
        
        .moodle-cta::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            bottom: 0;
            background: radial-gradient(circle at 30% 50%, rgba(255,255,255,0.1) 0%, transparent 50%);
            pointer-events: none;
        }
        
        .moodle-cta-content {
            position: relative;
            z-index: 2;
            max-width: 700px;
            margin: 0 auto;
        }
        
        .moodle-cta h2 {
            color: white;
            margin-bottom: 1rem;
            font-size: 2.2rem;
            display: flex;
            align-items: center;
            justify-content: center;
            gap: 0.75rem;
        }
        
        .moodle-cta h2 i {
            color: var(--accent);
        }
        
        .moodle-cta p {
            max-width: 600px;
            margin: 0 auto 2.5rem;
            opacity: 0.98;
            font-size: 1.1rem;
            font-weight: 300;
        }
        
        .btn-moodle-large {
            background: white;
            color: var(--primary);
            padding: 1.25rem 3rem;
            border-radius: 50px;
            font-weight: 700;
            font-size: 1.15rem;
            display: inline-flex;
            align-items: center;
            gap: 0.75rem;
            transition: all var(--transition-normal);
            box-shadow: var(--shadow-lg);
            border: 3px solid white;
        }
        
        .btn-moodle-large:hover {
            transform: translateY(-4px);
            box-shadow: 0 12px 40px rgba(0,0,0,0.3);
            background: var(--light-blue);
        }
        
        .btn-moodle-large i {
            font-size: 1.2rem;
        }
        
        .moodle-cta .security-note {
            margin-top: 1.75rem;
            font-size: 0.9rem;
            opacity: 0.9;
            display: flex;
            align-items: center;
            justify-content: center;
            gap: 0.5rem;
        }
        
        /* ===== FOOTER ===== */
        footer {
            background: var(--dark-blue);
            color: #cbd5e1;
            padding: 4rem 2rem 2rem;
            text-align: center;
        }
        
        .footer-content {
            max-width: 800px;
            margin: 0 auto;
        }
        
        .footer-logo {
            display: flex;
            align-items: center;
            justify-content: center;
            gap: 0.75rem;
            margin-bottom: 1.5rem;
        }
        
        .footer-logo .logo-icon {
            background: var(--gradient-accent);
            width: 45px;
            height: 45px;
            font-size: 1.1rem;
        }
        
        .footer-logo-text {
            font-size: 1.4rem;
            font-weight: 700;
            color: white;
            font-family: 'Poppins', sans-serif;
        }
        
        .footer-content > p {
            margin-bottom: 0.5rem;
            opacity: 0.9;
        }
        
        .footer-content > p:last-of-type {
            font-size: 0.95rem;
            opacity: 0.8;
        }
        
        .footer-links {
            display: flex;
            justify-content: center;
            gap: 2rem;
            margin: 2rem 0;
            flex-wrap: wrap;
        }
        
        .footer-links a {
            color: #94a3b8;
            font-weight: 500;
            transition: all var(--transition-fast);
            display: flex;
            align-items: center;
            gap: 0.4rem;
            padding: 0.25rem 0;
        }
        
        .footer-links a:hover {
            color: var(--accent);
            transform: translateY(-2px);
        }
        
        .footer-links i {
            font-size: 0.9rem;
        }
        
        .social-links {
            display: flex;
            justify-content: center;
            gap: 1rem;
            margin: 1.5rem 0;
        }
        
        .social-links a {
            width: 45px;
            height: 45px;
            border-radius: 50%;
            background: rgba(255,255,255,0.1);
            display: flex;
            align-items: center;
            justify-content: center;
            color: white;
            font-size: 1.2rem;
            transition: all var(--transition-normal);
        }
        
        .social-links a:hover {
            background: var(--accent);
            transform: translateY(-3px);
            box-shadow: 0 6px 20px rgba(234, 88, 12, 0.4);
        }
        
        .copyright {
            margin-top: 2.5rem;
            padding-top: 2rem;
            border-top: 1px solid rgba(255,255,255,0.1);
            font-size: 0.9rem;
            opacity: 0.8;
        }
        
        .copyright a {
            color: var(--accent);
            font-weight: 500;
        }
        
        /* ===== RESPONSIVE ===== */
        @media (max-width: 992px) {
            .hero h1 {
                font-size: 2.5rem;
            }
            
            .hero p {
                font-size: 1.15rem;
            }
        }
        
        @media (max-width: 768px) {
            .nav-container {
                padding: 0.5rem 1.5rem;
                flex-wrap: wrap;
                gap: 1rem;
            }
            
            .logo-img {
                height: 40px;
            }
            
            .logo-text {
                font-size: 1rem;
            }
            
            .nav-links {
                order: 3;
                width: 100%;
                justify-content: center;
                gap: 0.5rem;
                flex-wrap: wrap;
            }
            
            .nav-links a {
                font-size: 0.9rem;
                padding: 0.4rem 0.6rem;
            }
            
            .nav-links i {
                display: none;
            }
            
            .btn-moodle-nav {
                padding: 0.6rem 1.2rem;
                font-size: 0.9rem;
            }
            
            .btn-moodle-nav .btn-text {
                display: none;
            }
            
            .btn-moodle-nav i {
                margin: 0;
            }
            
            .hero {
                padding: 8rem 1.5rem 5rem;
                min-height: auto;
            }
            
            .hero h1 {
                font-size: 2rem;
            }
            
            .hero p {
                font-size: 1.05rem;
            }
            
            .hero-badges {
                gap: 0.5rem;
            }
            
            .badge {
                padding: 0.4rem 1rem;
                font-size: 0.8rem;
            }
            
            .cta-buttons {
                flex-direction: column;
                align-items: center;
            }
            
            .btn-primary,
            .btn-outline {
                width: 100%;
                max-width: 300px;
                justify-content: center;
            }
            
            .section-title h2 {
                font-size: 1.9rem;
            }
            
            .features,
            .levels,
            .courses {
                padding: 4rem 1.5rem;
            }
            
            .feature-card,
            .level-card,
            .course-card {
                padding: 2rem 1.5rem;
            }
            
            .moodle-cta {
                padding: 4rem 1.5rem;
            }
            
            .moodle-cta h2 {
                font-size: 1.8rem;
            }
            
            .btn-moodle-large {
                width: 100%;
                max-width: 320px;
                justify-content: center;
            }
        }
        
        @media (max-width: 480px) {
            .nav-container {
                padding: 0.5rem 1rem;
            }
            
            .logo-img {
                width: 45px:
                height: 45px;
            }
            
            .logo {
                padding: 0.4rem 0.75rem;
            }
            
            .hero h1 {
                font-size: 1.75rem;
            }
            
            .section-title h2 {
                font-size: 1.6rem;
            }
            
            .feature-icon {
                width: 65px;
                height: 65px;
                font-size: 1.5rem;
            }
        }
        
        /* ===== ANIMACIONES ===== */
        @keyframes fadeInUp {
            from {
                opacity: 0;
                transform: translateY(30px);
            }
            to {
                opacity: 1;
                transform: translateY(0);
            }
        }
        
        .animate {
            animation: fadeInUp 0.6s ease forwards;
        }
        
        .delay-1 { animation-delay: 0.1s; }
        .delay-2 { animation-delay: 0.2s; }
        .delay-3 { animation-delay: 0.3s; }
        .delay-4 { animation-delay: 0.4s; }
        
        /* Animación para elementos al hacer scroll */
        .scroll-animate {
            opacity: 0;
            transform: translateY(20px);
            transition: opacity 0.6s ease, transform 0.6s ease;
        }
        
        .scroll-animate.visible {
            opacity: 1;
            transform: translateY(0);
        }
        
        /* ===== UTILIDADES ===== */
        .text-primary { color: var(--primary); }
        .text-secondary { color: var(--secondary); }
        .text-accent { color: var(--accent); }
        .text-success { color: var(--success); }
        
        .bg-light { background: var(--light); }
        .bg-light-blue { background: var(--light-blue); }
        .bg-gradient { background: var(--gradient); }
        
        .shadow-sm { box-shadow: var(--shadow-sm); }
        .shadow-md { box-shadow: var(--shadow-md); }
        .shadow-lg { box-shadow: var(--shadow-lg); }
        
        .rounded-lg { border-radius: 16px; }
        .rounded-xl { border-radius: 20px; }
        
        .mt-2 { margin-top: 2rem; }
        .mb-2 { margin-bottom: 2rem; }
        
        /* Focus visible para accesibilidad */
        a:focus-visible,
        button:focus-visible {
            outline: 3px solid var(--accent);
            outline-offset: 2px;
            border-radius: 8px;
        }
        
        /* Skip link para accesibilidad */
        .skip-link {
            position: absolute;
            top: -40px;
            left: 0;
            background: var(--primary);
            color: white;
            padding: 0.5rem 1rem;
            z-index: 2000;
            transition: top 0.3s;
        }
        
        .skip-link:focus {
            top: 0;
        }
    