* {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
        }

        body {
            font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
            background: linear-gradient(135deg, #0f0f23 0%, #1a1a2e 50%, #16213e 100%);
            color: #e2e8f0;
            min-height: 100vh;
            line-height: 1.7;
        }

        /* Navigation */
        .navbar {
            background: rgba(15, 15, 35, 0.95);
            backdrop-filter: blur(10px);
            border-bottom: 1px solid #2d3748;
            position: fixed;
            top: 0;
            width: 100%;
            z-index: 1000;
            transition: all 0.3s ease;
        }

        .nav-container {
            max-width: 1200px;
            margin: 0 auto;
            padding: 0 20px;
            display: flex;
            justify-content: space-between;
            align-items: center;
            height: 70px;
        }

        .logo {
            font-size: 1.8rem;
            font-weight: bold;
            background: linear-gradient(45deg, #9333ea, #3b82f6);
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
            background-clip: text;
        }

        .nav-links {
            display: flex;
            list-style: none;
            gap: 30px;
        }

        .nav-links a {
            color: #cbd5e0;
            text-decoration: none;
            font-weight: 500;
            transition: all 0.3s ease;
            position: relative;
        }

        .nav-links a:hover {
            color: #9333ea;
            transform: translateY(-2px);
        }

        .nav-links a::after {
            content: '';
            position: absolute;
            bottom: -5px;
            left: 0;
            width: 0;
            height: 2px;
            background: linear-gradient(45deg, #9333ea, #3b82f6);
            transition: width 0.3s ease;
        }

        .nav-links a:hover::after {
            width: 100%;
        }

        /* Hero Banner */
        .hero-banner {
            height: 350px;
            background: linear-gradient(rgba(15, 15, 35, 0.7), rgba(26, 26, 46, 0.7)), 
                        url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1200 350"><defs><linearGradient id="bg" x1="0%" y1="0%" x2="100%" y2="100%"><stop offset="0%" style="stop-color:%23312e81;stop-opacity:1" /><stop offset="50%" style="stop-color:%236366f1;stop-opacity:1" /><stop offset="100%" style="stop-color:%239333ea;stop-opacity:1" /></linearGradient></defs><rect width="1200" height="350" fill="url(%23bg)"/><polygon points="100,100 200,50 300,150 200,200" fill="rgba(255,255,255,0.1)"/><circle cx="800" cy="200" r="60" fill="rgba(255,255,255,0.08)"/><rect x="900" y="80" width="80" height="80" rx="10" fill="rgba(255,255,255,0.06)"/></svg>');
            background-size: cover;
            background-position: center;
            display: flex;
            align-items: center;
            justify-content: center;
            text-align: center;
            margin-top: 70px;
            position: relative;
            overflow: hidden;
        }

        .hero-content h1 {
            font-size: 3rem;
            font-weight: 700;
            margin-bottom: 20px;
            background: linear-gradient(45deg, #ffffff, #9333ea);
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
            background-clip: text;
            animation: fadeInUp 1s ease-out;
        }

        .hero-content p {
            font-size: 1.2rem;
            color: #cbd5e0;
            max-width: 600px;
            animation: fadeInUp 1s ease-out 0.3s both;
        }

        /* Main Container */
        .container {
            max-width: 1400px;
            margin: 0 auto;
            padding: 40px 20px;
            display: grid;
            grid-template-columns: 280px 1fr 250px;
            gap: 40px;
        }

        /* Profile Sidebar */
        .profile-sidebar {
            background: rgba(26, 26, 46, 0.6);
            backdrop-filter: blur(10px);
            border: 1px solid #2d3748;
            border-radius: 20px;
            padding: 30px;
            height: fit-content;
            position: sticky;
            top: 120px;
            transition: all 0.3s ease;
        }

        .profile-sidebar:hover {
            transform: translateY(-5px);
            box-shadow: 0 20px 40px rgba(147, 51, 234, 0.2);
        }

        .profile-image {
            width: 100px;
            height: 100px;
            border-radius: 50%;
            background: linear-gradient(45deg, #9333ea, #3b82f6);
            display: flex;
            align-items: center;
            justify-content: center;
            margin: 0 auto 20px;
            font-size: 2.5rem;
            color: white;
            font-weight: bold;
            box-shadow: 0 10px 30px rgba(147, 51, 234, 0.3);
        }

        .profile-name {
            text-align: center;
            font-size: 1.3rem;
            font-weight: 600;
            margin-bottom: 10px;
            color: #ffffff;
        }

        .profile-title {
            text-align: center;
            color: #9ca3af;
            margin-bottom: 25px;
            font-size: 0.85rem;
        }

        .social-links {
            display: flex;
            flex-direction: column;
            gap: 12px;
        }

        .social-link {
            display: flex;
            align-items: center;
            padding: 10px 12px;
            background: rgba(45, 55, 72, 0.5);
            border-radius: 12px;
            text-decoration: none;
            color: #cbd5e0;
            transition: all 0.3s ease;
            border: 1px solid transparent;
            font-size: 0.9rem;
        }

        .social-link:hover {
            background: rgba(147, 51, 234, 0.2);
            border-color: #9333ea;
            transform: translateX(5px);
        }

        .social-link i {
            margin-right: 10px;
            font-size: 1.1rem;
            width: 18px;
        }

        /* Table of Contents */
        .toc-sidebar {
            background: rgba(26, 26, 46, 0.6);
            backdrop-filter: blur(10px);
            border: 1px solid #2d3748;
            border-radius: 20px;
            padding: 25px;
            height: fit-content;
            position: sticky;
            top: 120px;
        }

        .toc-title {
            font-size: 1.1rem;
            font-weight: 600;
            margin-bottom: 20px;
            color: #ffffff;
            display: flex;
            align-items: center;
            gap: 8px;
        }

        .toc-list {
            list-style: none;
        }

        .toc-list li {
            margin-bottom: 8px;
        }

        .toc-list a {
            color: #9ca3af;
            text-decoration: none;
            font-size: 0.9rem;
            transition: all 0.3s ease;
            display: block;
            padding: 5px 0;
            border-left: 2px solid transparent;
            padding-left: 10px;
        }

        .toc-list a:hover {
            color: #9333ea;
            border-left-color: #9333ea;
            transform: translateX(5px);
        }

        .toc-list .toc-sub {
            margin-left: 15px;
            font-size: 0.85rem;
        }

        /* Main Content */
        .main-content {
            background: rgba(26, 26, 46, 0.4);
            backdrop-filter: blur(10px);
            border: 1px solid #2d3748;
            border-radius: 20px;
            padding: 50px;
            max-width: none;
        }

        .doc-section {
            margin-bottom: 50px;
        }

        .doc-section h2 {
            font-size: 2.2rem;
            font-weight: 700;
            margin-bottom: 20px;
            background: linear-gradient(45deg, #ffffff, #9333ea);
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
            background-clip: text;
            position: relative;
            padding-bottom: 10px;
        }

        .doc-section h2::after {
            content: '';
            position: absolute;
            bottom: 0;
            left: 0;
            width: 60px;
            height: 3px;
            background: linear-gradient(45deg, #9333ea, #3b82f6);
            border-radius: 2px;
        }

        .doc-section h3 {
            font-size: 1.6rem;
            font-weight: 600;
            margin: 30px 0 15px 0;
            color: #ffffff;
        }

        .doc-section h4 {
            font-size: 1.3rem;
            font-weight: 600;
            margin: 25px 0 12px 0;
            color: #cbd5e0;
        }

        .doc-section p {
            color: #cbd5e0;
            margin-bottom: 20px;
            font-size: 1rem;
        }

        /* Lists */
        .doc-section ul, .doc-section ol {
            margin: 20px 0;
            padding-left: 25px;
        }

        .doc-section li {
            color: #cbd5e0;
            margin-bottom: 8px;
            position: relative;
        }

        .doc-section ul li::marker {
            color: #9333ea;
        }

        .doc-section ol li::marker {
            color: #9333ea;
            font-weight: bold;
        }

        .feature-list {
            list-style: none;
            padding: 0;
            margin: 25px 0;
        }

        .feature-list li {
            background: rgba(45, 55, 72, 0.3);
            padding: 15px 20px;
            margin-bottom: 10px;
            border-radius: 12px;
            border-left: 4px solid #9333ea;
            transition: all 0.3s ease;
        }

        .feature-list li:hover {
            background: rgba(147, 51, 234, 0.1);
            transform: translateX(5px);
        }

        .feature-list li i {
            color: #9333ea;
            margin-right: 12px;
            font-size: 1.1rem;
        }

        /* Code Blocks */
        .code-block {
            background: rgba(15, 15, 35, 0.8);
            border: 1px solid #374151;
            border-radius: 12px;
            padding: 20px;
            margin: 25px 0;
            overflow-x: auto;
        }

        .code-block pre {
            margin: 0;
            color: #e2e8f0;
            font-family: 'Courier New', monospace;
            font-size: 0.9rem;
        }

        .code-header {
            display: flex;
            justify-content: space-between;
            align-items: center;
            background: rgba(45, 55, 72, 0.5);
            padding: 10px 15px;
            border-radius: 8px 8px 0 0;
            margin: -20px -20px 15px -20px;
            border-bottom: 1px solid #374151;
        }

        .code-language {
            color: #9333ea;
            font-weight: 500;
            font-size: 0.85rem;
        }

        .copy-btn {
            background: rgba(147, 51, 234, 0.2);
            border: 1px solid #9333ea;
            color: #9333ea;
            padding: 5px 10px;
            border-radius: 6px;
            font-size: 0.8rem;
            cursor: pointer;
            transition: all 0.3s ease;
        }

        .copy-btn:hover {
            background: rgba(147, 51, 234, 0.3);
        }

        /* Image Containers */
        .image-container {
            margin: 30px 0;
            text-align: center;
        }

        .doc-image {
            max-width: 100%;
            height: auto;
            border-radius: 12px;
            border: 1px solid #374151;
            box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
        }

        .image-caption {
            color: #9ca3af;
            font-size: 0.9rem;
            margin-top: 10px;
            font-style: italic;
        }

        /* Alert Boxes */
        .alert {
            padding: 20px;
            border-radius: 12px;
            margin: 25px 0;
            border-left: 4px solid;
            background: rgba(45, 55, 72, 0.3);
        }

        .alert-info {
            border-left-color: #3b82f6;
            background: rgba(59, 130, 246, 0.1);
        }

        .alert-warning {
            border-left-color: #f59e0b;
            background: rgba(245, 158, 11, 0.1);
        }

        .alert-success {
            border-left-color: #10b981;
            background: rgba(16, 185, 129, 0.1);
        }

        .alert-icon {
            margin-right: 10px;
            font-size: 1.2rem;
        }

        .alert-info .alert-icon {
            color: #3b82f6;
        }

        .alert-warning .alert-icon {
            color: #f59e0b;
        }

        .alert-success .alert-icon {
            color: #10b981;
        }

        /* Badge/Tag */
        .badge {
            display: inline-block;
            padding: 4px 12px;
            background: rgba(147, 51, 234, 0.2);
            color: #9333ea;
            border-radius: 20px;
            font-size: 0.8rem;
            font-weight: 500;
            margin: 0 5px 5px 0;
        }

        /* Animations */
        @keyframes fadeInUp {
            from {
                opacity: 0;
                transform: translateY(30px);
            }
            to {
                opacity: 1;
                transform: translateY(0);
            }
        }

        /* Responsive Design */
        @media (max-width: 1024px) {
            .container {
                grid-template-columns: 1fr;
                gap: 30px;
            }

            .toc-sidebar {
                position: relative;
                top: 0;
            }
        }

        @media (max-width: 768px) {
            .nav-links {
                display: none;
            }

            .hero-content h1 {
                font-size: 2.2rem;
            }

            .container {
                padding: 20px;
            }

            .main-content {
                padding: 30px 25px;
            }

            .doc-section h2 {
                font-size: 1.8rem;
            }
        }

        @media (max-width: 480px) {
            .hero-banner {
                height: 280px;
            }

            .hero-content h1 {
                font-size: 1.8rem;
            }

            .main-content {
                padding: 20px;
            }

            .code-block {
                padding: 15px;
            }
        }

        .profile-image-wrapper {
  width: 130px;
  height: 130px;
  border-radius: 50%;
  padding: 4px; /* Espacio para el borde degradado */
  background: linear-gradient(45deg, #9333ea, #3b82f6);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  box-shadow: 0 0 20px rgba(147, 51, 234, 0.4);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.profile-image-wrapper:hover {
  transform: scale(1.05);
  box-shadow: 0 0 35px rgba(147, 51, 234, 0.6);
}

.profile-image-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
  border: 3px solid #1a1a2e; /* Borde interno para que la imagen no toque el degradado directamente */
  display: block;
}

.social-icon {
  width: 25px;
  height: 20px;
  margin-right: 12px;
  display: inline-block;
  vertical-align: middle;
}

.hero {
  width: 100%;
}
