        :root {
            --primary: #2563eb;
            --primary-dark: #1e40af;
            --accent: #f59e0b;
            --dark: #0f172a;
            --light: #f8fafc;
        }

        body {
            background-color: #f8fafc;
            font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
            color: #334155;
            line-height: 1.7;
        }

        /* ========================================== */
        /* BOTÓN VOLVER                               */
        /* ========================================== */
        .back-home-link {
            position: absolute;
            top: 30px;
            left: 30px;
            display: inline-flex;
            align-items: center;
            color: #fff;
            background: rgba(255, 255, 255, 0.1);
            backdrop-filter: blur(10px);
            border: 1px solid rgba(255, 255, 255, 0.2);
            text-decoration: none;
            font-weight: 600;
            font-size: 0.95rem;
            padding: 10px 20px;
            border-radius: 10px;
            transition: all 0.3s ease;
            z-index: 10;
        }

        .back-home-link:hover {
            background: rgba(255, 255, 255, 0.2);
            color: #fff;
            transform: translateX(-5px);
            text-decoration: none;
        }

        /* ========================================== */
        /* HEADER                                     */
        /* ========================================== */
        .updates-header {
            background: linear-gradient(135deg, #0f172a 0%, #1e293b 50%, #0f172a 100%);
            color: #fff;
            padding: 80px 0 60px;
            position: relative;
            overflow: hidden;
        }

        .updates-header::before {
            content: '';
            position: absolute;
            top: -50%;
            right: -20%;
            width: 600px;
            height: 600px;
            background: radial-gradient(circle, rgba(37, 99, 235, 0.3) 0%, transparent 70%);
            border-radius: 50%;
        }

        .updates-header h1 {
            font-size: 3rem;
            font-weight: 800;
            margin-bottom: 15px;
            position: relative;
        }

        .updates-header p.lead {
            font-size: 1.2rem;
            opacity: 0.9;
            position: relative;
            max-width: 700px;
            margin: 0 auto;
        }

        .updates-header .badge-updates {
            background: var(--accent);
            color: #000;
            padding: 6px 16px;
            border-radius: 50px;
            font-weight: 600;
            font-size: 0.85rem;
            display: inline-block;
            margin-bottom: 15px;
            position: relative;
        }

        /* ========================================== */
        /* LAYOUT PRINCIPAL                           */
        /* ========================================== */
        .updates-container {
            max-width: 1200px;
            margin: 0 auto;
            padding: 40px 20px;
        }

        .updates-layout {
            display: grid;
            grid-template-columns: 280px 1fr;
            gap: 40px;
        }

        /* ========================================== */
        /* SIDEBAR DE NAVEGACIÓN                      */
        /* ========================================== */
        .updates-sidebar {
            position: sticky;
            top: 20px;
            align-self: start;
            background: #fff;
            border-radius: 16px;
            padding: 25px;
            box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
            height: fit-content;
            max-height: calc(100vh - 40px);
            overflow-y: auto;
        }

        .updates-sidebar h5 {
            font-size: 0.85rem;
            font-weight: 700;
            color: #94a3b8;
            text-transform: uppercase;
            letter-spacing: 1px;
            margin-bottom: 15px;
        }

        .updates-sidebar ul {
            list-style: none;
            padding: 0;
            margin: 0;
        }

        .updates-sidebar ul li {
            margin-bottom: 4px;
        }

        .updates-sidebar ul li a {
            display: flex;
            align-items: center;
            padding: 10px 14px;
            border-radius: 8px;
            color: #475569;
            text-decoration: none;
            font-weight: 500;
            font-size: 0.9rem;
            transition: all 0.2s;
        }

        .updates-sidebar ul li a:hover {
            background: #f1f5f9;
            color: var(--primary);
        }

        .updates-sidebar ul li a.active {
            background: var(--primary);
            color: #fff;
        }

        .updates-sidebar ul li a i {
            margin-right: 10px;
            width: 18px;
            text-align: center;
            font-size: 0.85rem;
        }

        .version-badge {
            background: #e2e8f0;
            color: #475569;
            padding: 2px 8px;
            border-radius: 12px;
            font-size: 0.75rem;
            font-weight: 600;
            margin-left: auto;
        }

        .updates-sidebar ul li a.active .version-badge {
            background: rgba(255, 255, 255, 0.3);
            color: #fff;
        }

        /* ========================================== */
        /* CONTENIDO PRINCIPAL                        */
        /* ========================================== */
        .updates-content {
            background: #fff;
            border-radius: 16px;
            padding: 40px;
            box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
        }

        .update-section {
            margin-bottom: 50px;
            scroll-margin-top: 20px;
            padding-bottom: 40px;
            border-bottom: 2px solid #f1f5f9;
        }

        .update-section:last-of-type {
            border-bottom: none;
        }

        .update-section h2 {
            font-size: 1.8rem;
            font-weight: 800;
            color: var(--dark);
            margin-bottom: 10px;
            display: flex;
            align-items: center;
            flex-wrap: wrap;
            gap: 12px;
        }

        .update-section h2 i {
            color: var(--primary);
            font-size: 1.5rem;
        }

        .update-meta {
            display: flex;
            align-items: center;
            gap: 12px;
            margin-bottom: 20px;
            flex-wrap: wrap;
        }

        .update-date {
            color: #64748b;
            font-size: 0.95rem;
            font-weight: 500;
        }

        .update-tag {
            padding: 4px 12px;
            border-radius: 20px;
            font-size: 0.8rem;
            font-weight: 600;
        }

        .tag-feature {
            background: #d1fae5;
            color: #065f46;
        }

        .tag-improvement {
            background: #dbeafe;
            color: #1e40af;
        }

        .tag-bugfix {
            background: #fef3c7;
            color: #92400e;
        }

        .tag-announcement {
            background: #ede9fe;
            color: #5b21b6;
        }

        .tag-latest {
            background: var(--accent);
            color: #000;
        }

        .update-section h3 {
            font-size: 1.2rem;
            font-weight: 700;
            color: var(--dark);
            margin-top: 25px;
            margin-bottom: 12px;
        }

        .update-section p {
            color: #475569;
            margin-bottom: 15px;
        }

        .update-section ul,
        .update-section ol {
            padding-left: 25px;
            margin-bottom: 15px;
        }

        .update-section li {
            margin-bottom: 8px;
            color: #475569;
        }

        .update-section strong {
            color: var(--dark);
        }

        .update-section a {
            color: var(--primary);
            text-decoration: none;
        }

        .update-section a:hover {
            text-decoration: underline;
        }

        /* Cajas informativas */
        .info-box {
            background: #eff6ff;
            border-left: 4px solid var(--primary);
            padding: 16px 20px;
            border-radius: 8px;
            margin: 20px 0;
        }

        .warning-box {
            background: #fef3c7;
            border-left: 4px solid var(--accent);
            padding: 16px 20px;
            border-radius: 8px;
            margin: 20px 0;
        }

        .success-box {
            background: #d1fae5;
            border-left: 4px solid #10b981;
            padding: 16px 20px;
            border-radius: 8px;
            margin: 20px 0;
        }

        .info-box strong,
        .warning-box strong,
        .success-box strong {
            display: block;
            margin-bottom: 5px;
            color: var(--dark);
        }

        /* Cambios agrupados */
        .changes-group {
            margin: 20px 0;
        }

        .changes-group h4 {
            font-size: 1rem;
            font-weight: 700;
            color: var(--dark);
            margin-bottom: 10px;
            display: flex;
            align-items: center;
            gap: 8px;
        }

        .changes-group ul {
            padding-left: 20px;
            margin: 0;
        }

        .changes-group li {
            margin-bottom: 6px;
        }

        /* Roadmap */
        .roadmap-section {
            margin-top: 40px;
            padding-top: 40px;
            border-top: 2px solid #f1f5f9;
        }

        .roadmap-section h2 {
            font-size: 1.8rem;
            font-weight: 800;
            color: var(--dark);
            margin-bottom: 10px;
            display: flex;
            align-items: center;
            gap: 12px;
        }

        .roadmap-section h2 i {
            color: var(--primary);
        }

        .roadmap-section .subtitle {
            color: #64748b;
            margin-bottom: 30px;
        }

        .roadmap-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
            gap: 20px;
        }

        .roadmap-item {
            background: #f8fafc;
            border-radius: 12px;
            padding: 25px;
            border-left: 4px solid var(--primary);
            transition: all 0.3s;
        }

        .roadmap-item:hover {
            transform: translateY(-3px);
            box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
        }

        .roadmap-item h4 {
            font-size: 1.1rem;
            font-weight: 700;
            color: var(--dark);
            margin-bottom: 10px;
            display: flex;
            align-items: center;
            gap: 8px;
        }

        .roadmap-item p {
            color: #64748b;
            font-size: 0.95rem;
            margin-bottom: 12px;
        }

        .roadmap-status {
            display: inline-block;
            padding: 4px 12px;
            border-radius: 20px;
            font-size: 0.75rem;
            font-weight: 600;
        }

        .status-planned {
            background: #e0e7ff;
            color: #3730a3;
        }

        .status-progress {
            background: #fef3c7;
            color: #92400e;
        }

        .status-soon {
            background: #d1fae5;
            color: #065f46;
        }

        /* Newsletter */
        .newsletter-section {
            margin-top: 40px;
            background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
            border-radius: 12px;
            padding: 40px;
            color: #fff;
            text-align: center;
        }

        .newsletter-section h3 {
            font-size: 1.8rem;
            font-weight: 800;
            margin-bottom: 10px;
        }

        .newsletter-section p {
            opacity: 0.9;
            margin-bottom: 25px;
        }

        .newsletter-form {
            display: flex;
            gap: 10px;
            max-width: 500px;
            margin: 0 auto;
            flex-wrap: wrap;
            justify-content: center;
        }

        .newsletter-form input {
            flex-grow: 1;
            min-width: 250px;
            padding: 14px 20px;
            border: none;
            border-radius: 50px;
            font-size: 1rem;
        }

        .newsletter-form input:focus {
            outline: none;
        }

        .newsletter-form button {
            padding: 14px 30px;
            background: var(--accent);
            color: #000;
            border: none;
            border-radius: 50px;
            font-weight: 700;
            font-size: 1rem;
            cursor: pointer;
            transition: all 0.3s;
        }

        .newsletter-form button:hover {
            background: #fbbf24;
            transform: translateY(-2px);
        }

        /* ========================================== */
        /* RESPONSIVE                                 */
        /* ========================================== */
        @media (max-width: 992px) {
            .updates-layout {
                grid-template-columns: 1fr;
            }

            .updates-sidebar {
                position: static;
                max-height: none;
            }

            .updates-sidebar ul {
                display: grid;
                grid-template-columns: repeat(2, 1fr);
                gap: 5px;
            }
        }

        @media (max-width: 768px) {
            .updates-header h1 {
                font-size: 2rem;
            }

            .updates-content {
                padding: 25px 20px;
            }

            .update-section h2 {
                font-size: 1.4rem;
            }

            .updates-sidebar ul {
                grid-template-columns: 1fr;
            }

            .back-home-link {
                top: 20px;
                left: 20px;
                padding: 8px 15px;
                font-size: 0.85rem;
            }

            .roadmap-grid {
                grid-template-columns: 1fr;
            }

            .newsletter-section {
                padding: 30px 20px;
            }

            .newsletter-section h3 {
                font-size: 1.4rem;
            }
        }