:root {
    --primary-green: #4caf50;
    /* Verde Billet moderno */
    --accent-green: #388e3c;
    /* Verde más oscuro para estados */
    --text-light: #000000;
    --text-muted: #666666;
    --text-dark: #000000;
    --bg-light: #f5f5f5;
    /* Fondo claro como en la imagen */
    --bg-dark: #000000;
    /* Para secciones dark */
    --card-bg: #ffffff;
    --border-color: rgba(0, 0, 0, 0.05);
    --font-main: 'Inter', system-ui, -apple-system, sans-serif;
}

body {
    font-family: var(--font-main);
    background-color: var(--bg-light);
    color: var(--text-dark);
}

@media (max-width: 991.98px) {
    .navbar-toggler {
        border: none !important;
        padding: 8px !important;
        outline: none !important;
        box-shadow: none !important;
        display: flex !important;
    }

    .navbar-toggler-icon {
        width: 24px !important;
        height: 2px !important;
        background-color: #ffffff !important;
        display: block !important;
        position: relative !important;
    }

    .navbar-toggler-icon::before,
    .navbar-toggler-icon::after {
        content: '' !important;
        width: 24px !important;
        height: 2px !important;
        background-color: #ffffff !important;
        position: absolute !important;
        left: 0 !important;
    }

    .navbar-toggler-icon::before { top: -8px !important; }
    .navbar-toggler-icon::after { bottom: -8px !important; }
}


.help-section {
    padding-top: 140px;
    padding-bottom: 80px;
}

.help-layout {
    display: flex;
    min-height: 80vh;
    border: 1px solid var(--border-color);
    border-radius: 20px;
    overflow: hidden;
    background: var(--card-bg);
}

/* Sidebar Styling - Más Minimalista */
.help-sidebar {
    width: 300px;
    background-color: #ffffff;
    border-right: 1px solid var(--border-color);
    padding: 40px 30px;
    flex-shrink: 0;
}

.back-link {
    display: flex;
    align-items: center;
    color: var(--text-muted);
    text-decoration: none;
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 40px;
    transition: color 0.3s;
}

.back-link:hover {
    color: var(--primary-green);
}

.nav-link-main {
    display: flex;
    align-items: center;
    color: #000000;
    text-decoration: none;
    font-weight: 500;
    font-size: 14px;
    padding: 10px 0;
    transition: all 0.3s;
}

.nav-link-main i {
    margin-right: 12px;
    font-size: 16px;
    color: var(--text-muted);
    /* Iconos grises por defecto */
}

.nav-link-main:hover {
    color: var(--primary-green);
}

.nav-link-main.active {
    color: var(--primary-green);
}

.nav-link-main.active i {
    color: var(--primary-green);
}

.sub-nav {
    list-style: none;
    padding-left: 15px;
    border-left: 1px solid var(--border-color);
    margin-top: 15px;
}

.sub-nav-link {
    color: var(--text-muted);
    text-decoration: none;
    font-size: 13px;
    display: block;
    line-height: 1.6;
    margin-bottom: 12px;
    transition: color 0.3s;
}

.sub-nav-link:hover,
.sub-nav-link.active {
    color: var(--primary-green);
    font-weight: 600;
}

/* Content area */
.help-content {
    flex-grow: 1;
    padding: 60px 80px;
    background: #ffffff;
}

.breadcrumbs {
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--text-muted);
    margin-bottom: 30px;
}

.breadcrumbs a {
    color: inherit;
    text-decoration: none;
}

.breadcrumbs a:hover {
    color: var(--primary-green);
}

.page-title {
    font-size: 36px;
    font-weight: 800;
    margin-bottom: 40px;
    color: #000;
    letter-spacing: -0.5px;
}

.article-title {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 25px;
    color: #333;
}

.article-body {
    line-height: 1.8;
    color: #444;
    font-size: 16px;
}

.article-body h3 {
    color: var(--text-dark);
    font-size: 18px;
    font-weight: 700;
    margin-top: 40px;
}

/* Soporte Hero Section - Menos "gaming", más "SaaS profesional" */
.soporte-hero {
    background: #ffffff;
    padding: 120px 0 80px;
    text-align: center;
    border-bottom: 1px solid var(--border-color);
}

.soporte-hero h1 {
    font-size: 48px;
    font-weight: 800;
    margin-bottom: 35px;
    color: #000;
}

.search-input-soporte {
    width: 100%;
    background: #fdfdfd;
    border: 1px solid #ddd;
    border-radius: 12px;
    padding: 20px 25px;
    font-size: 16px;
    color: #000;
    transition: all 0.3s;
}

.search-input-soporte:focus {
    outline: none;
    border-color: var(--primary-green);
    background: #ffffff;
    box-shadow: 0 0 0 4px rgba(76, 175, 80, 0.1);
}

.search-icon-soporte {
    position: absolute;
    right: 25px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-muted);
}

/* Category Cards - Estilo Ultra Premium */
.category-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
    margin-top: 60px;
}

.category-card {
    background: #ffffff;
    border: 1px solid #eee;
    border-radius: 16px;
    padding: 50px 30px;
    text-align: left;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 20px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.03);
}

.category-card:hover {
    background: #ffffff;
    border-color: var(--primary-green);
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(76, 175, 80, 0.1);
}

.category-icon {
    width: 50px;
    height: 50px;
    background: #f9f9f9;
    border: 1px solid #eee;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    color: #333;
    flex-shrink: 0;
}

.category-card:hover .category-icon {
    color: var(--primary-green);
    border-color: var(--primary-green);
    background: #fff;
}

.category-card h3 {
    font-size: 16px;
    font-weight: 600;
    color: #000000 !important;
    margin: 0;
}

/* FAQ Links */
.faq-link {
    color: #000000;
    padding: 12px 0;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.faq-link:hover {
    color: var(--primary-green);
}

@media (max-width: 992px) {
    .help-section {
        padding-top: 100px;
        padding-bottom: 40px;
    }

    .help-layout {
        flex-direction: column;
        border-radius: 0;
        border-left: none;
        border-right: none;
    }

    .help-sidebar {
        width: 100%;
        border-right: none;
        border-bottom: 1px solid var(--border-color);
        padding: 30px 20px;
    }

    .help-content {
        padding: 40px 20px;
    }

    .page-title {
        font-size: 28px;
    }

    .category-grid {
        grid-template-columns: 1fr;
    }

    .soporte-hero {
        padding: 100px 20px 60px;
    }

    .soporte-hero h1 {
        font-size: 32px;
    }
}

@media (max-width: 576px) {
    .category-card {
        padding: 30px 20px;
    }

    .sidebar-nav {
        display: flex;
        overflow-x: auto;
        padding-bottom: 10px;
        gap: 15px;
        scrollbar-width: none;
        /* Hide scrollbar Firefox */
    }

    .sidebar-nav::-webkit-scrollbar {
        display: none;
        /* Hide scrollbar Chrome/Safari */
    }

    .nav-group-item {
        flex-shrink: 0;
    }

    .sub-nav {
        display: none;
        /* Hide sub-nav on very small screens to save space, or keep it if it fits */
    }

    .nav-link-main {
        white-space: nowrap;
        background: #f8f9fa;
        padding: 8px 16px;
        border-radius: 100px;
        border: 1px solid #eee;
    }

    .nav-link-main.active {
        background: rgba(76, 175, 80, 0.1);
        border-color: var(--primary-green);
    }
}

/* Article Enhancements */
.feature-list {
    list-style: none;
    padding-left: 0;
}

.feature-list li {
    position: relative;
    padding-left: 30px;
    margin-bottom: 12px;
}

.feature-list li::before {
    content: "\F26E"; /* bi-check2-circle */
    font-family: "bootstrap-icons";
    position: absolute;
    left: 0;
    color: var(--primary-green);
    font-weight: bold;
}

.feature-list-dark li::before {
    color: #1a1a1a !important;
}

.process-steps {
    position: relative;
}

.step-item {
    position: relative;
    z-index: 1;
}

.step-number {
    font-size: 14px;
    box-shadow: 0 4px 10px rgba(76, 175, 80, 0.2);
    border: 2px solid #fff;
}

.step-number-dark {
    background-color: #1a1a1a !important;
    color: #ffffff !important;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2) !important;
    border-color: #444 !important;
}

.alert-info {
    background: #f8fdf9 !important;
    border-left: 4px solid var(--primary-green) !important;
    color: #2e7d32 !important;
}

.alert-info h4 {
    color: #1b5e20 !important;
}

.alert-dark-gray {
    background: #1a1a1a !important;
    border-left: 4px solid #444 !important;
    color: #cccccc !important;
}

.alert-dark-gray h4 {
    color: #ffffff !important;
}

.article-body strong {
    color: inherit;
}