.plugins-header {
    /*background: var(--gradient-dark);*/
    background: url('https://www.hubeiai.com/static/images/bg3.png');
    background-size: 100% 100%;
    background-repeat: no-repeat;
    color: white;
    padding: 4rem 5%;
    text-align: center;
    margin-bottom: 3rem;
}

.plugins-title {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    font-family: 'Microsoft Yahei';
}

.plugins-subtitle {
    font-size: 1.3rem;
    opacity: 0.9;
    max-width: 800px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.plugins-container {
    color: black;
    padding: 0 5%;
    margin-bottom: 4rem;
}

.plugin-category-section {
    margin-bottom: 4rem;
}

.category-header {
    display: flex;
    align-items: center;
    margin-bottom: 1.5rem;
    padding-bottom: 0.8rem;
    border-bottom: 3px solid #836FFF;
}

.category-icon {
    width: 30px;
    height: 30px;
    border-radius: 12px;
    background: var(--gradient);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1rem;
    margin-right: 1rem;
}

.category-title {
    font-size: 1.3rem;
    color: var(--primary);
    margin: 0;
    width: 800px;
}

.category-description {
    color: #666;
    margin-left: auto;
    font-size: 0.8rem;
    font-style: italic;
}

.plugins-table-container {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    transition: all 0.3s ease;
}

.plugins-table-container:hover {
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
    transform: translateY(-5px);
}

.plugins-table {
    width: 100%;
    border-collapse: collapse;
}

.plugins-table th,
.plugins-table td {
    padding: 1rem;
    text-align: left;
    border-bottom: 1px solid #f1f2f6;
}

.plugins-table th {
    background: #f8f9fa;
    font-weight: 600;
    color: var(--primary);
    position: sticky;
    top: 0;
    font-size: 1rem;
}

.plugins-table tr:last-child td {
    border-bottom: none;
}

.plugins-table tr {
    transition: all 0.3s ease;
}

.plugins-table tr:hover {
    background: #fafbff;
    transform: scale(1.01);
}

.plugin-name {
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 1rem;
    font-weight: 600;
    color: var(--primary);
}

.plugin-icon {
    width: 30px;
    height: 30px;
    border-radius: 10px;
    background: var(--gradient);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 0.9rem;
}

.plugin-kouzi {
    font-size: 0.8rem;
    color: #666;
    background: #f8f9fa;
    padding: 0.4rem 0.8rem;
    border-radius: 6px;
    display: inline-block;
    font-family: monospace;
}

.plugin-description {
    font-size: 0.8rem;
    color: #666;
    line-height: 1.5;
    max-width: 300px;
}

.plugin-scenario {
    color: #888;
    font-size: 0.8rem;
    line-height: 1.4;
    max-width: 300px;
}

.plugin-price {
    font-weight: 700;
    font-size: 0.8rem;
}

.price-free {
    color: var(--accent);
}

.price-paid {
    color: var(--secondary);
}

.plugin-actions {
    display: flex;
    gap: 0.8rem;
}

.btn-use {
    background: var(--gradient);
    color: white;
    border: none;
    padding: 0.6rem 1.2rem;
    border-radius: 6px;
    font-size: 0.8rem;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.btn-use:hover {
    opacity: 0.9;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(108, 92, 231, 0.3);
}

.btn-detail {
    background: white;
    color: #007DDB;
    border: 1px solid var(--secondary);
    padding: 0.6rem 1.2rem;
    border-radius: 6px;
    font-size: 0.8rem;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.btn-detail:hover {
    background: #0000FF;
    color: white;
}

.plugin-stats {
    display: flex;
    gap: 1.5rem;
    color: #888;
    font-size: 0.8rem;
    margin-top: 0.5rem;
}

.stat-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.empty-plugins {
    text-align: center;
    padding: 3rem;
    color: #666;
}

.empty-plugins i {
    font-size: 3rem;
    margin-bottom: 1rem;
    color: #ddd;
}

.plugin-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.9);
    z-index: 3000;
    align-items: center;
    justify-content: center;
    padding: 2rem;
}

.plugin-modal-content {
    background: white;
    border-radius: 20px;
    width: 90%;
    max-width: 900px;
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.3);
}

.close-modal {
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    color: #666;
    font-size: 1.8rem;
    cursor: pointer;
    z-index: 10;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: #f1f2f6;
    transition: all 0.3s ease;
}

.close-modal:hover {
    background: #e5e7eb;
    transform: rotate(90deg);
}

.modal-header {
    padding: 2.5rem 2.5rem 1.5rem;
    border-bottom: 1px solid #f1f2f6;
    display: flex;
    align-items: center;
    gap: 1rem;
}

.modal-plugin-icon {
    width: 60px;
    height: 60px;
    border-radius: 12px;
    background: var(--gradient);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.8rem;
}

.modal-title-container {
    flex: 1;
}

.modal-title {
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
    color: var(--primary);
}

.modal-subtitle {
    color: #666;
    margin-bottom: 0.5rem;
}

.modal-price-badge {
    background: var(--gradient);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-weight: 600;
    font-size: 1.1rem;
}

.modal-body {
    padding: 2rem 2.5rem;
}

.modal-section {
    margin-bottom: 2.5rem;
}

.modal-section-title {
    font-size: 1.0rem;
    margin-bottom: 1rem;
    color: 	#836FFF;
    display: flex;
    align-items: center;
    gap: 0.8rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid #f1f2f6;
}

.modal-section-title i {
    color: 	#836FFF;
}

.modal-description {
    color: #666;
    line-height: 1.5;
    font-size: 1.0rem;
}

.modal-scenarios {
    list-style: none;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1rem;
}

.modal-scenarios li {
    padding: 1rem;
    background: #f8f9fa;
    border-radius: 8px;
    display: flex;
    align-items: center;
    gap: 0.8rem;
    transition: all 0.3s ease;
}

.modal-scenarios li:hover {
    background: #eef2f7;
    transform: translateX(5px);
}

.modal-scenarios i {
    color: var(--accent);
    font-size: 1.2rem;
}

.modal-footer {
    padding: 1.5rem 2.5rem;
    background: #f8f9fa;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-radius: 0 0 20px 20px;
}

.modal-stats {
    display: flex;
    gap: 2rem;
    color: #666;
}

.modal-stat {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.modal-stat i {
    color: var(--accent);
}

.modal-actions {
    display: flex;
    gap: 1rem;
}

.btn-modal-use {
    background: var(--gradient);
    color: #836FFF;
    border: none;
    padding: 1rem 2rem;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 0.8rem;
}

.btn-modal-use:hover {
    opacity: 0.9;
    transform: translateY(-3px);
    box-shadow: 0 8px 20px #836FFF;
}

.btn-modal-favorite {
    background: white;
    color: #836FFF;
    border: 1px solid #836FFF;
    padding: 1rem 1.5rem;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 0.8rem;
}

.btn-modal-favorite:hover {
    background: #836FFF;
    color: white;
}

@media (max-width: 992px) {
    .plugins-table {
display: block;
overflow-x: auto;
    }

    .plugin-name {
min-width: 200px;
    }

    .plugin-description, .plugin-scenario {
min-width: 250px;
    }

    .modal-scenarios {
grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .plugins-table th,
    .plugins-table td {
        padding: 1rem;
    }

    .modal-header {
        flex-direction: column;
        text-align: center;
        padding: 1.5rem;
    }

    .modal-footer {
        flex-direction: column;
        gap: 1.5rem;
    }

    .modal-stats {
justify-content: center;
    }

    .modal-actions {
        width: 100%;
        justify-content: center;
    }

    .category-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
    }

    .category-description {
        margin-left: 0;
    }
}

@keyframes rotate {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}