/* plugin-style.css - 插件详情页专属样式 */
/* 插件头部样式 */
.plugin-header {
    padding: 3rem 0;
    background-color: #f5f7fa;
    margin-bottom: 2rem;
}

.plugin-header__wrapper {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 2rem;
}

.plugin-header__icon img {
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.plugin-header__info h1 {
    font-size: 2.2rem;
    color: #2d3748;
    margin-bottom: 0.8rem;
    font-weight: 700;
}

.plugin-header__tagline {
    font-size: 1.1rem;
    color: #4a5568;
    margin-bottom: 1rem;
    line-height: 1.6;
}

.plugin-header__badges {
    display: flex;
    flex-wrap: wrap;
    gap: 0.8rem;
}

.badge {
    padding: 0.4rem 0.8rem;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 500;
}

.badge--compatibility {
    background-color: #e8f4f8;
    color: #3182ce;
}

.badge--lightweight {
    background-color: #f0f8fb;
    color: #38b2ac;
}

.badge--responsive {
    background-color: #fdf2f8;
    color: #9f7aea;
}

.badge--no-config {
    background-color: #f5fafe;
    color: #4299e1;
}

.badge--payment {
    background-color: #eaf6fa;
    color: #48bb78;
}

.badge--secure {
    background-color: #f8f8f8;
    color: #ed8936;
}

/* 功能卡片样式 */
.plugin-features {
    padding: 2rem 0 4rem;
}

.feature-card {
    background: #ffffff;
    padding: 1.8rem;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
}

.feature-card__title {
    font-size: 1.25rem;
    color: #2d3748;
    margin-bottom: 0.8rem;
    font-weight: 600;
}

.feature-card__desc {
    color: #718096;
    line-height: 1.6;
}

/* 截图展示样式 */
.plugin-screenshots {
    padding: 2rem 0 4rem;
    background-color: #f8f9fa;
}

.screenshot-card {
    background: #ffffff;
    padding: 1rem;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.screenshot-card__img {
    width: 100%;
    height: auto;
    border-radius: 4px;
    margin-bottom: 0.8rem;
}

.screenshot-card__caption {
    font-size: 0.95rem;
    color: #4a5568;
    text-align: center;
    line-height: 1.5;
}

/* 安装指南样式 */
.plugin-guide {
    padding: 2rem 0 4rem;
}

.guide-steps {
    max-width: 800px;
    margin: 0 auto;
}

.guide-step {
    display: flex;
    gap: 1.5rem;
    margin-bottom: 2rem;
    align-items: flex-start;
}

.guide-step__number {
    width: 2.5rem;
    height: 2.5rem;
    background-color: #3182ce;
    color: #ffffff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    flex-shrink: 0;
}

.guide-step__content h3 {
    font-size: 1.15rem;
    color: #2d3748;
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.guide-step__content p {
    color: #4a5568;
    line-height: 1.6;
}

/* 下载与支持区域样式 */
.plugin-cta {
    padding: 4rem 0;
    background-color: #3182ce;
    color: #ffffff;
    text-align: center;
}

.plugin-cta__wrapper h2 {
    font-size: 1.8rem;
    margin-bottom: 1rem;
    font-weight: 600;
}

.plugin-cta__wrapper p {
    font-size: 1.1rem;
    margin-bottom: 2rem;
    opacity: 0.9;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.plugin-cta__buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    justify-content: center;
}

.btn--large {
    padding: 0.9rem 2rem;
    font-size: 1.1rem;
}

.btn--secondary {
    background-color: #ffffff;
    color: #3182ce;
}

.btn--secondary:hover {
    background-color: #f5f7fa;
    color: #2b6cb0;
}

/* 响应式适配 */
@media (max-width: 768px) {
    .plugin-header__wrapper {
        justify-content: center;
        text-align: center;
    }
    
    .plugin-header__badges {
        justify-content: center;
    }
    
    .guide-step {
        flex-direction: column;
        gap: 1rem;
    }
    
    .plugin-cta__buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .btn--large {
        width: 100%;
        max-width: 300px;
    }
}