:root {
    --hp-blue: #0096D6;
    --hp-blue-dark: #006bb3;
    --hp-blue-light: #E6F4FF;
    --hp-navy: #1E2A4A;
    --hp-gray: #5F6368;
    --hp-gray-light: #F8F9FA;
    --hp-white: #FFFFFF;
    --hp-black: #000000;
    --hp-red: #FF0000;
    --hp-green: #00B894;
    --shadow-main: 0 4px 24px rgba(0, 150, 214, 0.12);
    --shadow-hover: 0 8px 32px rgba(0, 150, 214, 0.16);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Forma DJR Display', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Arial, sans-serif;
    background-color: #f8f9fa;
    color: #333;
    line-height: 1.6;
    font-optical-sizing: auto;
}

/* Header Styles */
.header {
    background: white;
    border-bottom: 1px solid #e5e5e5;
    padding: 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.header-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 20px;
}

.logo {
    display: flex;
    align-items: center;
    text-decoration: none;
}

.logo-circle {
    width: 40px;
    height: 40px;
    background: var(--hp-blue);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 12px;
}

.logo-text {
    color: white;
    font-weight: 600;
    font-size: 18px;
}

/* Logo Image Styles */
.logo-image {
    height: 45px;
    width: auto;
    object-fit: contain;
    transition: transform 0.2s ease;
}

.logo:hover .logo-image {
    transform: scale(1.05);
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 40px;
}

.nav-menu a {
    text-decoration: none;
    color: #333;
    font-weight: 500;
    font-size: 16px;
    padding: 8px 0;
    border-bottom: 2px solid transparent;
    transition: all 0.2s;
}

.nav-menu a:hover {
    color: var(--hp-blue);
    border-bottom-color: var(--hp-blue);
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 20px;
}

.search-container {
    display: flex;
    align-items: center;
    background: transparent;
    padding: 6px 0;
    min-width: 300px;
}

.search-input {
    border: none;
    background: transparent;
    outline: none;
    flex: 1;
    padding: 6px 4px;
    font-size: 14px;
    color: #202124;
    font-family: inherit;
    width: 100%;
}

.search-input::placeholder {
    color: #9aa0a6;
}

.search-btn {
    background: transparent;
    border: none;
    color: #1967d2;
    cursor: pointer;
    padding: 8px;
    margin-left: 4px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.search-btn:hover {
    color: #1a73e8;
}

.search-btn svg {
    width: 24px;
    height: 24px;
    opacity: 0.85;
}

.login-btn {
    background: #333;
    color: white;
    text-decoration: none;
    padding: 8px 20px;
    font-weight: 500;
    transition: background 0.2s;
    font-size: 14px;
}

.login-btn:hover {
    background: #555;
}

/* Estilos específicos para los botones Chat y Crear Ticket */
.header-actions .chat-btn,
.header-actions .ticket-btn,
a.chat-btn,
a.ticket-btn {
    background: #0096D6 !important;
    color: white !important;
    border: 0 !important;
    border-style: none !important;
    border-width: 0 !important;
    border-radius: 0 !important;
    padding: 12px 20px !important;
    font-size: 14px !important;
    font-weight: 500 !important;
    text-decoration: none !important;
    margin-left: 8px !important;
    display: inline-block !important;
    transition: background-color 0.2s ease !important;
    outline: none !important;
    box-shadow: none !important;
}

.header-actions .chat-btn:hover,
.header-actions .ticket-btn:hover,
a.chat-btn:hover,
a.ticket-btn:hover {
    background: #006bb3 !important;
    color: white !important;
    text-decoration: none !important;
    border: 0 !important;
    border-style: none !important;
    border-width: 0 !important;
    outline: none !important;
    box-shadow: none !important;
}

/* Header Top Bar - HP Style */
.header-top-bar {
    background: #1a1a1a;
    color: white;
    font-size: 0.85rem;
    padding: 0;
    position: relative;
    z-index: 1001;
}

.header-top-container {
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 2rem;
    height: 40px;
}

.header-top-nav {
    display: flex;
    align-items: center;
    list-style: none;
    margin: 0;
    padding: 0;
    gap: 0;
}

.header-top-nav li {
    position: relative;
}

.header-top-nav a {
    color: white;
    text-decoration: none;
    padding: 0.75rem 1.5rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 500;
    transition: background-color 0.2s ease;
    border-right: 1px solid #333;
    height: 40px;
    box-sizing: border-box;
}

.header-top-nav a:hover {
    background: #333;
    color: white;
}

.header-top-nav .dropdown-icon {
    font-size: 0.7rem;
    margin-left: 0.25rem;
}

/* Dropdown Styles */
.header-top-nav .dropdown {
    position: relative;
}

.header-top-nav .dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background: white;
    border: 1px solid #e0e0e0;
    min-width: 200px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    z-index: 1000;
}

.header-top-nav .dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.header-top-nav .dropdown-menu a {
    color: #333;
    padding: 0.75rem 1rem;
    border-right: none;
    border-bottom: 1px solid #f0f0f0;
    height: auto;
    font-size: 0.9rem;
}

.header-top-nav .dropdown-menu a:hover {
    background: #f8f9fa;
    color: var(--hp-blue);
}

.header-top-nav .dropdown-menu a:last-child {
    border-bottom: none;
}

/* Right side actions */
.header-top-actions {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.header-top-actions a {
    color: white;
    text-decoration: none;
    padding: 0.5rem 1rem;
    font-weight: 500;
    transition: color 0.2s ease;
}

.header-top-actions a:hover {
    color: var(--hp-blue-light);
}

/* Main Content */
.main-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 60px 20px;
    text-align: center;
}

.main-title {
    font-size: 42px;
    font-weight: 400;
    color: #333;
    margin-bottom: 16px;
    line-height: 1.2;
}

.main-subtitle {
    font-size: 20px;
    color: #666;
    margin-bottom: 60px;
    font-weight: 400;
}

/* Service Cards */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.service-card {
    background: white;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
    border: 1px solid #e5e5e5;
    border-radius: 0; /* Más rectangular */
}

.service-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(0,0,0,0.12);
    text-decoration: none;
}

.service-card:hover svg,
.service-card:hover .additional-icon,
.additional-card:hover svg,
.additional-card:hover .additional-icon {
    color: inherit !important;
}

.service-image {
    height: 200px;
    overflow: hidden;
    position: relative;
}

.service-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.service-image.blue-gradient {
    background: linear-gradient(135deg, var(--hp-blue) 0%, var(--hp-blue-dark) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
}

.service-icon {
    font-size: 64px;
    color: white;
    opacity: 0.9;
}

.service-content {
    padding: 24px;
    text-align: left;
}

.service-title {
    font-size: 20px;
    font-weight: 500;
    color: #333;
    margin-bottom: 8px;
}

.service-arrow {
    color: var(--hp-blue);
    font-size: 20px;
    margin-top: 12px;
}

/* Additional Services */
.additional-services {
    background: white;
    padding: 80px 0;
}

.additional-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.section-title {
    font-size: 32px;
    font-weight: 600;
    color: #333;
    margin-bottom: 16px;
    text-align: center;
    margin-top: -40px;
}

.section-description {
    font-size: 18px;
    color: #666;
    text-align: center;
    margin-bottom: 60px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.additional-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
}

.additional-card {
    background: white;
    border: 1px solid #e5e5e5;
    padding: 32px;
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
    border-radius: 0;
}

.additional-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(0,0,0,0.12);
    text-decoration: none;
    color: inherit;
}

.additional-icon {
    width: 64px;
    height: 64px;
    background: var(--hp-blue-light);
    color: var(--hp-blue) !important;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
}

.additional-icon svg {
    color: var(--hp-blue) !important;
}

.additional-card:hover .additional-icon {
    background: var(--hp-blue-light);
}

.additional-card:hover .additional-icon svg {
    color: var(--hp-blue) !important;
}

.additional-icon svg {
    width: 32px;
    height: 32px;
    fill: var(--hp-blue);
}

.additional-title {
    font-size: 20px;
    font-weight: 600;
    color: #333;
    margin-bottom: 12px;
}

.additional-description {
    font-size: 16px;
    color: #666;
    line-height: 1.6;
}

/* Video Section Styles */
.video-section {
    padding: 3rem 2rem;
    background: #f8f9fa;
}

.video-section-container {
    max-width: 1200px;
    margin: 0 auto;
}

.video-section-header {
    text-align: center;
    margin-bottom: 3rem;
}

.video-section-title {
    font-size: 2rem;
    color: #1e293b;
    margin-bottom: 1rem;
    font-weight: 700;
}

.video-section-description {
    font-size: 1.1rem;
    color: #64748b;
    max-width: 600px;
    margin: 0 auto;
}

.video-section-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}

.video-info {
    display: grid;
    gap: 1.5rem;
}

.video-features {
    display: grid;
    gap: 1.5rem;
}

.video-feature {
    background: white;
    border: 1px solid #e2e8f0;
    padding: 1.5rem;
    display: flex;
    align-items: center;
    gap: 1rem;
    border-radius: 0; 
}

.video-feature-icon {
    width: 48px;
    height: 48px;
    background: #f1f5f9;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 0; 
}

.video-feature-icon i {
    font-size: 1.5rem;
    color: #0096D6;
}

.video-feature-content {
    flex: 1;
}

.video-feature-title {
    font-size: 1.1rem;
    color: #1e293b;
    margin: 0 0 0.5rem 0;
    font-weight: 600;
}

.video-feature-description {
    color: #64748b;
    font-size: 0.9rem;
    margin: 0;
    line-height: 1.5;
}

/* Video Player Styles */
.video-player-container {
    background: white;
    border: 1px solid #e2e8f0;
    padding: 1.5rem;
    border-radius: 0; 
}

.video-wrapper {
    position: relative;
    width: 100%;
    height: 300px;
    background: #000;
    overflow: hidden;
    border-radius: 0; 
}

.main-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 0; 
}

.video-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.4);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 0; 
    transition: opacity 0.3s ease;
}

.play-button {
    width: 80px;
    height: 80px;
    background: var(--hp-blue) !important;
    border: 3px solid white;
    border-radius: 50%;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 6px 20px rgba(0,0,0,0.4);
    font-size: 2.2rem;
}

.play-button i {
    margin-left: 6px;
}

.play-button:hover {
    transform: scale(1.15);
    background: var(--hp-blue-dark) !important;
    box-shadow: 0 8px 25px rgba(0,0,0,0.5);
}

.video-controls {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    background: linear-gradient(transparent, rgba(0,0,0,0.8));
    padding: 1rem;
    border-radius: 0; 
    transition: opacity 0.3s ease;
}

.progress-bar-container {
    width: 100%;
    height: 6px;
    background: rgba(255,255,255,0.3);
    margin-bottom: 0.75rem;
    cursor: pointer;
    border-radius: 0; 
}

.progress-bar-container:hover {
    height: 8px;
}

.progress-fill {
    height: 100%;
    background: var(--hp-blue);
    width: 0%;
    transition: width 0.1s;
    border-radius: 0; 
}

.progress-bar-container:hover .progress-fill {
    background: var(--hp-blue-dark);
}

.controls-group {
    display: flex;
    align-items: center;
    justify-content: space-between;
    color: white;
}

.controls-left,
.controls-right {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.control-btn {
    background: none;
    border: none;
    color: white;
    cursor: pointer;
    padding: 0.25rem;
    font-size: 1.2rem;
    transition: all 0.2s;
}

.control-btn:hover {
    color: var(--hp-blue) !important;
    transform: scale(1.1);
}

.time-display {
    font-size: 0.9rem;
    font-weight: 500;
    color: white;
}

.volume-slider {
    width: 70px;
    height: 4px;
    background: rgba(255,255,255,0.3);
    border-radius: 0; 
    outline: none;
    cursor: pointer;
    -webkit-appearance: none;
    appearance: none;
}

.volume-slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 16px;
    height: 16px;
    background: var(--hp-blue);
    border-radius: 50%;
    cursor: pointer;
    border: none;
}

.volume-slider::-moz-range-thumb {
    width: 16px;
    height: 16px;
    background: var(--hp-blue);
    border-radius: 50%;
    cursor: pointer;
    border: none;
    -moz-appearance: none;
    appearance: none;
}

.volume-slider::-moz-range-track {
    background: rgba(255,255,255,0.3);
    height: 4px;
    border-radius: 0; 
    border: none;
}

.video-indicator {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: rgba(0,0,0,0.7);
    color: white;
    padding: 0.5rem 0.75rem;
    border-radius: 0; 
    font-size: 0.85rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

/* Contact Section */
.contact {
    background: var(--hp-blue);
    color: white;
    padding: 80px 0;
    text-align: center;
}

.contact-container {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 20px;
}

.contact-content h2 {
    font-size: 32px;
    font-weight: 600;
    margin-bottom: 16px;
}

.contact-content p {
    font-size: 18px;
    margin-bottom: 40px;
    opacity: 0.9;
}

.contact-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
}

.contact-btn {
    background: white;
    color: var(--hp-blue);
    text-decoration: none;
    padding: 12px 32px;
    font-weight: 600;
    border-radius: 0; 
    transition: all 0.3s;
}

.contact-btn:hover {
    background: #f0f0f0;
    text-decoration: none;
    color: var(--hp-blue);
}

.contact-btn.secondary {
    background: transparent;
    color: white;
    border: 2px solid white;
}

.contact-btn.secondary:hover {
    background: white;
    color: var(--hp-blue);
}

/* Footer */
.footer {
    background: #f0f2f5;
    padding: 40px 0;
    margin-top: 80px;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.footer-title {
    font-size: 16px;
    color: #666;
    margin-bottom: 20px;
}

.footer-links {
    display: flex;
    gap: 40px;
    flex-wrap: wrap;
}

.footer-link {
    display: flex;
    align-items: center;
    text-decoration: none;
    color: var(--hp-blue);
    font-weight: 500;
    padding: 8px 0;
}

.footer-link:hover {
    text-decoration: underline;
}

.footer-icon {
    width: 24px;
    height: 24px;
    margin-right: 12px;
}

/* Virtual Assistant Button */
.virtual-assistant {
    position: fixed;
    bottom: 24px;
    right: 24px;
    background: #333;
    color: white;
    border: none;
    padding: 16px 24px;
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    box-shadow: 0 4px 16px rgba(0,0,0,0.2);
    font-weight: 500;
    z-index: 1000;
    transition: all 0.3s;
    border-radius: 0; 
}

.virtual-assistant:hover {
    background: #555;
    transform: translateY(-2px);
}

.chat-icon {
    width: 20px;
    height: 20px;
    fill: currentColor;
}

/* Legacy Styles - Mantener compatibilidad con páginas existentes */

/* Header Top Bar */
.header-top {
    background: var(--hp-blue);
    color: white;
    padding: 0.5rem 0;
    font-size: 0.9rem;
    text-align: center;
}

/* Header HP Style - Legacy */
header {
    background: white;
    border-bottom: 1px solid #e0e0e0;
    padding: 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.header-main {
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 2rem;
    height: 80px;
}

.header-nav {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 2rem;
    list-style: none;
}

.nav-links a {
    text-decoration: none;
    color: var(--hp-gray);
    font-weight: 500;
    font-size: 1rem;
    transition: color 0.3s ease;
}

.nav-links a:hover {
    color: var(--hp-blue);
}

.header-search {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.search-box {
    padding: 0.75rem 3rem 0.75rem 1rem;
    border: 2px solid #e0e0e0;
    width: 300px;
    font-size: 0.95rem;
    outline: none;
    transition: border-color 0.3s ease;
    border-radius: 0; 
}

.search-box:focus {
    border-color: var(--hp-blue);
}

.user-actions {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.user-btn {
    background: transparent;
    border: 1px solid var(--hp-blue);
    color: var(--hp-blue);
    padding: 0.75rem 1.5rem;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 0.9rem;
    font-weight: 600;
    border-radius: 0;
}

.user-btn:hover {
    background: var(--hp-blue);
    color: white;
    text-decoration: none;
}

.user-btn.primary {
    background: var(--hp-blue);
    color: white;
}

.user-btn.primary:hover {
    background: var(--hp-blue-dark);
}

/* Hero Section - Legacy */
.hero-section {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    padding: 4rem 2rem 6rem;
    text-align: center;
}

.hero-content {
    max-width: 1200px;
    margin: 0 auto;
}

.hero-title {
    font-size: 3rem;
    font-weight: 700;
    color: var(--hp-navy);
    margin-bottom: 1.5rem;
    letter-spacing: -1px;
}

.hero-subtitle {
    font-size: 1.3rem;
    color: var(--hp-gray);
    margin-bottom: 3rem;
    font-weight: 400;
}

/* Container utility */
.container {
    max-width: 1400px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

/* Footer - Legacy */
footer {
    background: var(--hp-navy);
    color: white;
    padding: 2rem;
    text-align: center;
}

footer p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9rem;
    font-weight: 500;
}

/* Animation keyframes */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Animation classes */
.fade-in-up {
    animation: fadeInUp 0.8s ease forwards;
}

/* Redirect Info Card */
.redirect-info-card {
    background: white;
    padding: 2rem;
    border-radius: 0; /* Más rectangular */
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    margin: 2rem auto;
    max-width: 500px;
}

.redirect-message {
    text-align: center;
    margin-bottom: 1rem;
    color: #1e293b;
}

.countdown-number {
    font-weight: bold;
    color: #0096D6;
}

.progress-container {
    width: 100%;
    height: 4px;
    background: #e2e8f0;
    border-radius: 0; 
    margin-bottom: 1.5rem;
}

.progress-bar {
    height: 100%;
    background: #0096D6;
    width: 0%;
    transition: width 1s linear;
    border-radius: 0; 
}

.redirect-actions {
    text-align: center;
}

.redirect-btn-primary {
    background: #0096D6;
    color: white;
    border: none;
    padding: 0.75rem 2rem;
    border-radius: 0; 
    font-weight: 600;
    cursor: pointer;
    margin-right: 1rem;
    transition: all 0.3s ease;
}

.redirect-btn-primary:hover {
    background: #006bb3;
    transform: translateY(-1px);
}

.redirect-btn-secondary {
    color: #64748b;
    text-decoration: none;
    padding: 0.75rem 1rem;
    transition: color 0.3s ease;
}

.redirect-btn-secondary:hover {
    color: #0096D6;
    text-decoration: none;
}

/* Main Services Section */
.main-services {
    padding: 4rem 2rem;
    background: var(--hp-gray-light);
}

.services-container {
    max-width: 1200px;
    margin: 0 auto;
}

.service-description {
    color: #666;
    font-size: 14px;
    line-height: 1.5;
    margin-bottom: 1rem;
}

/* Support Links Section */
.support-links {
    padding: 3rem 2rem;
    background: white;
    border-top: 1px solid #e5e5e5;
}

.support-container {
    max-width: 1200px;
    margin: 0 auto;
    text-align: center;
}

.support-subtitle {
    font-size: 16px;
    color: #666;
    margin-bottom: 2rem;
}

.support-link-grid {
    display: flex;
    gap: 2rem;
    justify-content: center;
    flex-wrap: wrap;
}

.support-link {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    text-decoration: none;
    color: var(--hp-blue);
    font-weight: 500;
    padding: 1rem 1.5rem;
    border: 2px solid rgba(0, 150, 214, 0.2);
    border-radius: 0; 
    transition: all 0.3s ease;
    background: white;
}

.support-link:hover {
    text-decoration: none;
    color: var(--hp-blue);
    border-color: var(--hp-blue);
    background: var(--hp-blue-light);
    transform: translateY(-2px);
    box-shadow: var(--shadow-main);
}

.support-link i {
    font-size: 1.2rem;
}

/* ======================================
   TUTORIAL VIDEO SECTION STYLES
   ====================================== */

/* Indicador de actualización de video */
.video-update-indicator {
    display: flex;
    align-items: center;
    gap: 8px;
    background: #e3f2fd;
    color: #1976d2;
    padding: 8px 16px;
    border-radius: 6px;
    font-size: 14px;
    margin-top: 10px;
    border: 1px solid #bbdefb;
}

/* Contenedor de YouTube */
.youtube-container {
    position: relative;
    width: 100%;
    height: 100%;
    border-radius: 12px;
    overflow: hidden;
}

/* Información del tutorial actual */
.current-tutorial-info {
    position: absolute;
    top: 10px;
    left: 10px;
    background: rgba(0, 0, 0, 0.8);
    color: white;
    padding: 8px 12px;
    border-radius: 6px;
    backdrop-filter: blur(10px);
    max-width: 200px;
}

.tutorial-badge {
    display: flex;
    align-items: center;
    gap: 5px;
    font-size: 12px;
    color: #4caf50;
    margin-bottom: 4px;
}

.current-tutorial-info h4 {
    margin: 0;
    font-size: 14px;
    font-weight: 600;
    line-height: 1.2;
}

.current-tutorial-info p {
    margin: 2px 0 0 0;
    font-size: 12px;
    color: #ccc;
}

/* CTA para biblioteca de tutoriales */
.tutorial-library-cta {
    margin-top: 30px;
    padding-top: 20px;
    border-top: 1px solid #e0e0e0;
}

.library-btn {
    display: flex;
    align-items: center;
    gap: 12px;
    background: #0096D6;
    color: white;
    padding: 16px 24px;
    border-radius: 0px;
    text-decoration: none;
    font-weight: 600;
    font-size: 16px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 115, 230, 0.3);
    margin-bottom: 12px;
    justify-content: center;
}

.library-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 115, 230, 0.4);
    background: linear-gradient(135deg, #005bb5 0%, #003366 100%);
    color: white;
    text-decoration: none;
}

.library-btn i:first-child {
    font-size: 18px;
}

.library-btn i:last-child {
    transition: transform 0.3s ease;
}

.library-btn:hover i:last-child {
    transform: translateX(4px);
}

.library-cta-text {
    text-align: center;
    color: #666;
    font-size: 14px;
    margin: 0;
    line-height: 1.4;
}

/* ======================================
   TUTORIAL RESPONSIVE STYLES
   ====================================== */

/* Responsive para móviles */
@media (max-width: 768px) {
    .current-tutorial-info {
        position: relative;
        top: auto;
        left: auto;
        background: #f5f5f5;
        color: #333;
        margin-top: 10px;
        max-width: none;
    }

    .tutorial-badge {
        color: #4caf50;
    }

    .current-tutorial-info p {
        color: #666;
    }

    .tutorial-library-cta {
        margin-top: 20px;
        padding-top: 15px;
    }

    .library-btn {
        padding: 14px 20px;
        font-size: 15px;
    }

    .library-cta-text {
        font-size: 13px;
    }
}

@media (max-width: 480px) {
    .library-btn {
        padding: 12px 16px;
        font-size: 14px;
        gap: 10px;
    }

    .library-btn span {
        font-size: 14px;
    }
}

/* Responsive for Mesa de Ayuda page */
@media (max-width: 768px) {
    .redirect-info-card {
        margin: 1.5rem auto;
        padding: 1.5rem;
        max-width: 90%;
    }

    .redirect-actions {
        display: flex;
        flex-direction: column;
        gap: 0.75rem;
        align-items: center;
    }

    .redirect-btn-primary {
        margin-right: 0;
        width: 100%;
        max-width: 200px;
    }

    .support-link-grid {
        flex-direction: column;
        align-items: center;
        gap: 1rem;
    }

    .support-link {
        width: 100%;
        max-width: 280px;
        justify-content: center;
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    .header-container {
        flex-direction: column;
        gap: 16px;
    }

    .nav-menu {
        gap: 20px;
    }

    .search-container {
        min-width: 250px;
    }

    .main-title {
        font-size: 32px;
    }

    .main-subtitle {
        font-size: 18px;
    }

    .services-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .additional-grid {
        grid-template-columns: 1fr;
    }

    .contact-buttons {
        flex-direction: column;
        align-items: center;
    }

    .footer-links {
        flex-direction: column;
        gap: 16px;
    }

    /* Logo responsive */
    .logo-image {
        height: 35px;
    }

    /* Video responsive */
    .video-section-grid {
        grid-template-columns: 1fr !important;
        gap: 2rem !important;
    }

    /* Header Top Bar responsive */
    .header-top-container {
        padding: 0 1rem;
        flex-direction: column;
        height: auto;
        padding-top: 0.5rem;
        padding-bottom: 0.5rem;
    }
    
    .header-top-nav {
        flex-wrap: wrap;
        justify-content: center;
        margin-bottom: 0.5rem;
    }
    
    .header-top-nav a {
        padding: 0.5rem 1rem;
        font-size: 0.8rem;
        border-right: none;
        border-bottom: 1px solid #333;
        height: auto;
    }
    
    .header-top-actions {
        gap: 0.5rem;
    }

    /* Chat and ticket buttons responsive */
    .header-actions .chat-btn,
    .header-actions .ticket-btn,
    a.chat-btn,
    a.ticket-btn {
        padding: 10px 16px !important;
        font-size: 12px !important;
        margin-left: 4px !important;
    }

    /* Legacy responsive */
    .header-main {
        flex-direction: column;
        gap: 1rem;
        height: auto;
        padding: 1rem;
    }
    
    .header-nav {
        width: 100%;
        justify-content: space-between;
    }
    
    .nav-links {
        gap: 1rem;
    }
    
    .nav-links a {
        font-size: 0.9rem;
    }
    
    .header-search .search-box {
        width: 200px;
    }
    
    .user-actions {
        gap: 0.5rem;
    }
    
    .user-btn {
        padding: 0.5rem 1rem;
        font-size: 0.8rem;
    }
    
    .hero-title {
        font-size: 2rem;
    }
    
    .hero-subtitle {
        font-size: 1.1rem;
    }
}

@media (max-width: 480px) {
    .main-container {
        padding: 40px 20px;
    }

    .main-title {
        font-size: 28px;
    }

    .search-container {
        min-width: 200px;
    }

    .virtual-assistant {
        right: 16px;
        bottom: 16px;
        padding: 12px 20px;
    }

    /* Logo responsive */
    .logo-image {
        height: 30px;
    }

    /* Header Top Bar responsive */
    .header-top-nav {
        flex-direction: column;
        width: 100%;
    }
    
    .header-top-nav a {
        text-align: center;
        width: 100%;
        border-right: none;
    }

    /* Legacy responsive */
    .hero-section {
        padding: 2rem 1rem 4rem;
    }
}
/* Estilos para el placeholder de video */
        .video-placeholder {
            display: flex;
            align-items: center;
            justify-content: center;
            width: 100%;
            height: 100%;
            min-height: 300px;
            background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
            border-radius: 12px;
            border: 2px dashed #dee2e6;
        }

        .placeholder-content {
            text-align: center;
            color: #6c757d;
        }

        .placeholder-content i {
            font-size: 3rem;
            margin-bottom: 1rem;
            opacity: 0.5;
        }

        .placeholder-content h4 {
            margin: 0 0 0.5rem 0;
            font-weight: 500;
        }

        .placeholder-content p {
            margin: 0;
            font-size: 0.9rem;
            opacity: 0.8;
        }

        /* Asegurar que los contenedores no se superpongan */
        .video-wrapper {
            position: relative;
            width: 100%;
            height: 100%;
            min-height: 300px;
        }

        .main-video,
        .youtube-container,
        .video-placeholder {
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            border-radius: 12px;
            overflow: hidden;
        }

        .current-tutorial-info {
            position: absolute;
            top: 1rem;
            left: 1rem;
            background: rgba(0, 0, 0, 0.8);
            color: white;
            padding: 0.75rem 1rem;
            border-radius: 8px;
            backdrop-filter: blur(10px);
            z-index: 10;
        }

        .tutorial-badge {
            display: flex;
            align-items: center;
            gap: 0.5rem;
            font-size: 0.8rem;
            color: #28a745;
            margin-bottom: 0.25rem;
        }

        .current-tutorial-info h4 {
            margin: 0 0 0.25rem 0;
            font-size: 1rem;
            font-weight: 600;
        }

        .current-tutorial-info p {
            margin: 0;
            font-size: 0.8rem;
            opacity: 0.8;
        }

        /* Animación de actualización */
        .updating-animation {
            animation: pulse 1s ease-in-out;
        }

        @keyframes pulse {
            0% { opacity: 1; }
            50% { opacity: 0.7; }
            100% { opacity: 1; }
        }

        /* Notificación de nuevo tutorial */
        .new-tutorial-notification {
            position: fixed;
            top: 20px;
            right: 20px;
            background: #28a745;
            color: white;
            padding: 12px 16px;
            border-radius: 8px;
            font-size: 14px;
            font-weight: 500;
            box-shadow: 0 4px 12px rgba(0,0,0,0.15);
            z-index: 10000;
            transform: translateX(100%);
            transition: transform 0.3s ease;
            display: flex;
            align-items: center;
            gap: 8px;
        }

        .new-tutorial-notification.show {
            transform: translateX(0);
        }