/* 代理商页面专用样式 */

/* ===== 代理商页面样式 ===== */
.agents-section {
    padding: var(--spacing-xxl) 0;
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
}

.agents-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: var(--spacing-lg);
    margin-bottom: var(--spacing-xxl);
}

.agent-card {
    background: white;
    border-radius: var(--border-radius-lg);
    padding: var(--spacing-lg);
    box-shadow: var(--shadow-md);
    transition: all 0.3s ease;
    position: relative;
    border: 1px solid var(--border-color);
}

.agent-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

.agent-card.featured {
    border: 2px solid var(--primary-color);
    background: linear-gradient(135deg, #fff5f8 0%, #ffffff 100%);
}

.agent-badge {
    position: absolute;
    top: -8px;
    right: var(--spacing-md);
    background: var(--primary-color);
    color: white;
    padding: var(--spacing-xs) var(--spacing-sm);
    border-radius: var(--border-radius-md);
    font-size: 0.8rem;
    font-weight: var(--font-weight-medium);
}

.agent-info h3 {
    color: var(--text-color);
    font-size: 1.3rem;
    font-weight: var(--font-weight-bold);
    margin-bottom: var(--spacing-xs);
}

.agent-type {
    color: var(--text-light);
    font-size: 0.9rem;
    margin-bottom: var(--spacing-md);
}

.agent-features {
    display: flex;
    flex-wrap: wrap;
    gap: var(--spacing-xs);
}

.feature-tag {
    background: var(--primary-light);
    color: var(--primary-dark);
    padding: 4px 8px;
    border-radius: var(--border-radius-sm);
    font-size: 0.8rem;
    font-weight: var(--font-weight-medium);
}

/* 服务保障区域 */
.guarantee-section {
    padding: var(--spacing-xxl) 0;
    background: white;
}

.guarantee-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: var(--spacing-lg);
}

.guarantee-card {
    text-align: center;
    padding: var(--spacing-lg);
    border-radius: var(--border-radius-lg);
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
    border: 1px solid var(--border-color);
}

.guarantee-icon {
    width: 60px;
    height: 60px;
    background: var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto var(--spacing-md);
    color: white;
    font-size: 1.5rem;
}

.guarantee-card h3 {
    color: var(--text-color);
    font-size: 1.2rem;
    font-weight: var(--font-weight-bold);
    margin-bottom: var(--spacing-sm);
}

.guarantee-card p {
    color: var(--text-light);
    line-height: 1.6;
}

/* 购买提醒 */
.purchase-notice {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    padding: var(--spacing-lg) 0;
    color: white;
}

.notice-content {
    display: flex;
    align-items: center;
    gap: var(--spacing-lg);
    flex-wrap: wrap;
}

.notice-icon {
    font-size: 2rem;
    opacity: 0.8;
}

.notice-text {
    flex: 1;
    min-width: 300px;
}

.notice-text h3 {
    font-size: 1.3rem;
    font-weight: var(--font-weight-bold);
    margin-bottom: var(--spacing-xs);
}

.notice-text p {
    opacity: 0.9;
    line-height: 1.6;
}

.notice-action {
    flex-shrink: 0;
}

.notice-action .btn-primary {
    background: white;
    color: var(--primary-color);
    border: none;
}

.notice-action .btn-primary:hover {
    background: var(--primary-light);
    color: white;
}

/* 代理商页面响应式 */
@media (max-width: 768px) {
    .agents-grid {
        grid-template-columns: 1fr;
    }
    
    .guarantee-grid {
        grid-template-columns: 1fr;
    }
    
    .notice-content {
        text-align: center;
        flex-direction: column;
    }
    
    .notice-text {
        min-width: auto;
    }
}