/* ========== 链主引领页面样式 ========== */

/* 覆盖Banner主题色 - 深蓝到浅蓝 */
:root {
    /* 主色调 - 青色科技风 */
    --primary-color: #0ea5e9;
    --primary-light: #38bdf8;
    --primary-dark: #0284c7;
    --primary-bg: rgba(14, 165, 233, 0.05);
    
    /* 渐变色 */
    --gradient-primary: linear-gradient(135deg, #0ea5e9 0%, #0284c7 100%);
    
    /* 中性色 */
    --text-primary: #1e293b;
    --text-secondary: #475569;
    --text-light: #64748b;
    --border-color: #e2e8f0;
    --bg-light: #f8fafc;
    --bg-hover: #f1f5f9;
    
    /* Banner主题色 */
    --banner-gradient: linear-gradient(135deg, #0c4a6e 0%, #0369a1 50%, #0ea5e9 100%);
    --banner-glow-color: rgba(14, 165, 233, 0.3);
    --banner-btn-primary-bg: linear-gradient(135deg, #0ea5e9 0%, #0284c7 100%);
    --banner-btn-primary-shadow: rgba(14, 165, 233, 0.4);
    --banner-btn-primary-shadow-hover: rgba(14, 165, 233, 0.5);
    
    /* 卡片主题色 */
    --card-color: #0ea5e9;
    --card-color-dark: #0369a1;
    
    /* 阴影 */
    --shadow-sm: 0 2px 8px rgba(0,0,0,0.05);
    --shadow-md: 0 4px 12px rgba(0,0,0,0.08);
    --shadow-lg: 0 4px 20px rgba(0,0,0,0.15);
}

/* ========== 服务商详情页样式 ========== */
.provider-detail-section {
    padding: 40px 0 80px;
    background: var(--bg-light);
}
.provider-hero {
    background: var(--gradient-primary);
    padding: 40px 0;
    margin-top: 70px;
}
.provider-hero-content {
    display: flex;
    align-items: center;
    gap: 32px;
}
.provider-hero-logo {
    width: 120px;
    height: 120px;
    border-radius: 20px;
    overflow: hidden;
    background: white;
    padding: 12px;
    box-shadow: var(--shadow-lg);
}
.provider-hero-logo img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}
.provider-hero-info {
    flex: 1;
    color: white;
}
.provider-hero-info h1 {
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 12px;
}
.provider-hero-badges {
    display: flex;
    gap: 12px;
    margin-bottom: 16px;
    flex-wrap: wrap;
}
.provider-hero-badge {
    padding: 6px 16px;
    background: rgba(255,255,255,0.2);
    border-radius: 20px;
    font-size: 14px;
    backdrop-filter: blur(10px);
}
.provider-hero-stats {
    display: flex;
    gap: 40px;
}
.provider-hero-stat {
    text-align: center;
}
.provider-hero-stat .value {
    font-size: 32px;
    font-weight: 700;
    display: block;
}
.provider-hero-stat .label {
    font-size: 14px;
    opacity: 0.9;
}
.provider-hero-actions {
    display: flex;
    gap: 12px;
}
.provider-hero-actions .btn-primary {
    background: white;
    color: var(--primary-color);
    border: none;
    padding: 12px 32px;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
}
.provider-hero-actions .btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
}
.provider-hero-actions .btn-secondary {
    background: rgba(255,255,255,0.2);
    color: white;
    border: 1px solid rgba(255,255,255,0.3);
    padding: 12px 32px;
    border-radius: 8px;
    font-size: 16px;
    cursor: pointer;
    transition: all 0.3s;
}
.provider-hero-actions .btn-secondary:hover {
    background: rgba(255,255,255,0.3);
}

.match-opportunity-banner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 24px;
    background: linear-gradient(135deg, rgba(14, 165, 233, 0.1) 0%, rgba(2, 132, 199, 0.15) 100%);
    border: 1px solid rgba(14, 165, 233, 0.3);
    border-radius: 12px;
    margin-top: 20px;
}
.match-opportunity-content {
    display: flex;
    align-items: center;
    gap: 12px;
}
.match-icon {
    font-size: 28px;
}
.match-text {
    font-size: 15px;
    color: var(--text-primary);
}
.match-count {
    color: var(--primary-color);
    font-size: 20px;
}
.match-btn {
    padding: 10px 20px;
    background: var(--gradient-primary);
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
}
.match-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(14, 165, 233, 0.4);
}

.provider-detail-grid {
    display: grid;
    grid-template-columns: 1fr 340px;
    gap: 24px;
}
.provider-tabs-nav {
    display: flex;
    background: white;
    border-radius: 12px;
    padding: 6px;
    margin-bottom: 24px;
    box-shadow: var(--shadow-sm);
    overflow-x: auto;
}
.provider-tabs-nav.sticky-active {
    position: fixed;
    top: 70px;
    left: 0;
    right: 0;
    width: 100vw;
    z-index: 1001;
    border-radius: 0;
    background: white;
}
.provider-tab-btn {
    flex: 1;
    padding: 12px 20px;
    border: none;
    background: transparent;
    font-size: 14px;
    font-weight: 500;
    color: var(--text-light);
    cursor: pointer;
    border-radius: 8px;
    transition: all 0.3s;
    white-space: nowrap;
    min-width: max-content;
}
.provider-tab-btn:hover {
    color: var(--primary-color);
    background: var(--bg-hover);
}
.provider-tab-btn.active {
    background: var(--gradient-primary);
    color: white;
}
.provider-tab-panel {
    display: none;
}
.provider-tab-panel.active {
    display: block;
}
.provider-card-block {
    background: white;
    border-radius: 12px;
    padding: 24px;
    margin-bottom: 20px;
    box-shadow: var(--shadow-sm);
}
.provider-card-block h3 {
    font-size: 18px;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 20px;
    padding-bottom: 12px;
    border-bottom: 1px solid var(--border-color);
}

.match-opportunity-summary {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 24px;
    padding: 20px;
    background: linear-gradient(135deg, rgba(14, 165, 233, 0.1) 0%, rgba(2, 132, 199, 0.15) 100%);
    border-radius: 12px;
    border: 1px solid rgba(14, 165, 233, 0.2);
}
.match-summary-card {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 20px;
    background: white;
    border-radius: 10px;
    box-shadow: 0 2px 8px rgba(14, 165, 233, 0.1);
}
.match-summary-icon {
    font-size: 32px;
    color: var(--primary-color);
}
.match-summary-info {
    display: flex;
    flex-direction: column;
}
.match-summary-count {
    font-size: 28px;
    font-weight: 700;
    color: var(--primary-color);
    line-height: 1.2;
}
.match-summary-label {
    font-size: 13px;
    color: var(--text-light);
}
.match-summary-desc {
    flex: 1;
    font-size: 14px;
    color: var(--text-light);
    line-height: 1.6;
}

.match-opportunity-list {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
}
.match-opportunity-card {
    padding: 20px;
    background: white;
    border-radius: 12px;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border-color);
    transition: all 0.3s ease;
}
.match-opportunity-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(14, 165, 233, 0.15);
    border-color: var(--primary-light);
}
.match-opportunity-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 16px;
}
.match-opportunity-title {
    font-size: 16px;
    font-weight: 600;
    color: var(--text-primary);
    flex: 1;
    margin-right: 12px;
}
.match-opportunity-type {
    padding: 4px 12px;
    background: rgba(14, 165, 233, 0.1);
    color: var(--primary-color);
    border-radius: 20px;
    font-size: 12px;
    font-weight: 500;
    white-space: nowrap;
}
.match-opportunity-body {
    margin-bottom: 16px;
}
.match-opportunity-budget,
.match-opportunity-match {
    font-size: 14px;
    color: var(--text-secondary);
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    gap: 8px;
}
.match-opportunity-budget::before {
    content: "💰";
    font-size: 14px;
}
.match-opportunity-match::before {
    content: "📊";
    font-size: 14px;
}
.match-opportunity-match {
    color: var(--primary-color);
    font-weight: 500;
}
.match-opportunity-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-top: 12px;
}
.match-opportunity-tag {
    padding: 4px 10px;
    background: #f1f5f9;
    color: #64748b;
    border-radius: 4px;
    font-size: 12px;
}
.match-opportunity-footer {
    padding-top: 16px;
    border-top: 1px solid var(--border-color);
}
.match-opportunity-footer .btn-primary {
    width: 100%;
    padding: 10px 16px;
    font-size: 14px;
}

.provider-intro-text {
    font-size: 15px;
    line-height: 1.8;
    color: var(--text-secondary);
}
.provider-service-list {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
}
.provider-service-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 24px 16px;
    background: var(--bg-light);
    border-radius: 12px;
    transition: all 0.3s;
}
.provider-service-item:hover {
    background: var(--bg-hover);
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
}
.provider-service-item .service-icon {
    width: 56px;
    height: 56px;
    border-radius: 14px;
    background: var(--gradient-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 26px;
    flex-shrink: 0;
    margin-bottom: 14px;
}
.provider-service-item .service-info h4 {
    font-size: 14px;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 6px;
}
.provider-service-item .service-info p {
    font-size: 12px;
    color: var(--text-light);
    line-height: 1.5;
}
.provider-solution-list {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
}
.provider-solution-item {
    display: flex;
    gap: 14px;
    padding: 14px;
    background: var(--bg-light);
    border-radius: 10px;
    text-decoration: none;
    transition: all 0.3s;
}
.provider-solution-item:hover {
    background: var(--bg-hover);
    transform: translateY(-2px);
}
.provider-solution-item img {
    width: 80px;
    height: 60px;
    object-fit: cover;
    border-radius: 8px;
    flex-shrink: 0;
}
.provider-solution-item .solution-info h4 {
    font-size: 14px;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 4px;
}
.provider-solution-item .solution-info p {
    font-size: 12px;
    color: var(--text-light);
}
.provider-case-card {
    display: flex;
    gap: 16px;
    padding: 16px;
    background: var(--bg-light);
    border-radius: 10px;
    margin-bottom: 12px;
}
.provider-case-card:last-child {
    margin-bottom: 0;
}
.provider-case-card img {
    width: 140px;
    height: 90px;
    object-fit: cover;
    border-radius: 8px;
    flex-shrink: 0;
}
.provider-case-info h4 {
    font-size: 15px;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 6px;
}
.provider-case-info p {
    font-size: 13px;
    color: var(--text-light);
    margin-bottom: 10px;
    line-height: 1.5;
}
.provider-case-tags {
    display: flex;
    gap: 6px;
    flex-wrap: wrap;
}
.provider-case-tag {
    padding: 3px 10px;
    background: #e0f2fe;
    color: #0369a1;
    border-radius: 4px;
    font-size: 11px;
}

.provider-process-list {
    display: flex;
    flex-direction: column;
    gap: 0;
}
.provider-process-step {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    padding: 20px 0;
    position: relative;
}
.provider-process-step:not(:last-child)::after {
    content: '';
    position: absolute;
    left: 19px;
    top: 60px;
    bottom: -20px;
    width: 2px;
    background: linear-gradient(to bottom, var(--primary-color), #e0f2fe);
}
.provider-process-step .step-number {
    width: 40px;
    height: 40px;
    min-width: 40px;
    background: var(--gradient-primary);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    font-weight: 600;
    z-index: 1;
}
.provider-process-step .step-content h4 {
    font-size: 16px;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 6px;
}
.provider-process-step .step-content p {
    font-size: 14px;
    color: var(--text-light);
    line-height: 1.5;
}

.provider-solution-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
}
.provider-solution-card {
    padding: 24px;
    background: var(--bg-light);
    border-radius: 12px;
    text-align: center;
    transition: all 0.3s ease;
}
.provider-solution-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(14, 165, 233, 0.15);
}
.provider-solution-card .solution-icon {
    font-size: 40px;
    margin-bottom: 12px;
}
.provider-solution-card h4 {
    font-size: 16px;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 8px;
}
.provider-solution-card p {
    font-size: 14px;
    color: var(--text-light);
    line-height: 1.5;
}

.provider-reviews-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
}
.provider-review-card {
    padding: 20px;
    background: var(--bg-light);
    border-radius: 12px;
}
.provider-review-card .review-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 12px;
}
.provider-review-card .review-company {
    font-size: 15px;
    font-weight: 600;
    color: var(--text-primary);
}
.provider-review-card .review-stars {
    color: #f59e0b;
    font-size: 14px;
}
.provider-review-card .review-content {
    font-size: 14px;
    color: var(--text-light);
    line-height: 1.6;
}

.provider-advantages-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
}
.provider-advantage-item {
    padding: 24px;
    background: var(--bg-light);
    border-radius: 12px;
    text-align: center;
    transition: all 0.3s ease;
}
.provider-advantage-item:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(14, 165, 233, 0.15);
}
.provider-advantage-item .advantage-icon {
    font-size: 36px;
    margin-bottom: 12px;
}
.provider-advantage-item h4 {
    font-size: 16px;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 8px;
}
.provider-advantage-item p {
    font-size: 14px;
    color: var(--text-light);
    line-height: 1.5;
}

.provider-partners-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
}
.provider-partner-item {
    text-align: center;
    padding: 20px;
    background: var(--bg-light);
    border-radius: 12px;
    transition: all 0.3s ease;
}
.provider-partner-item:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(14, 165, 233, 0.15);
}
.provider-partner-item .partner-logo {
    width: 60px;
    height: 60px;
    margin: 0 auto 12px;
    border-radius: 12px;
    overflow: hidden;
    background: white;
}
.provider-partner-item .partner-logo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.provider-partner-item .partner-name {
    font-size: 14px;
    font-weight: 500;
    color: var(--text-primary);
}

.provider-case-card {
    display: flex;
    gap: 16px;
    padding: 16px;
    background: var(--bg-light);
    border-radius: 12px;
    margin-bottom: 16px;
}
.provider-case-card:last-child {
    margin-bottom: 0;
}
.provider-case-card img {
    width: 160px;
    height: 120px;
    object-fit: cover;
    border-radius: 8px;
    min-width: 160px;
}
.provider-cert-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
}
.provider-cert-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px;
    background: var(--bg-light);
    border-radius: 10px;
}
.provider-cert-item .cert-icon {
    font-size: 24px;
}
.provider-cert-item .cert-name {
    font-size: 14px;
    font-weight: 500;
    color: var(--text-primary);
}
.provider-team-list {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
}
.provider-team-member {
    text-align: center;
    padding: 20px 12px;
    background: var(--bg-light);
    border-radius: 10px;
}
.provider-team-member .avatar {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background: var(--gradient-primary);
    margin: 0 auto 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 22px;
    font-weight: 600;
}
.provider-team-member .name {
    font-size: 14px;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 2px;
}
.provider-team-member .position {
    font-size: 12px;
    color: var(--text-light);
}
.provider-sidebar {
    position: sticky;
    top: 100px;
    height: fit-content;
}
.provider-contact-card {
    background: white;
    border-radius: 12px;
    padding: 24px;
    box-shadow: var(--shadow-sm);
    margin-bottom: 20px;
}
.provider-contact-card h3 {
    font-size: 16px;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 16px;
}
.provider-contact-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}
.provider-contact-item {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;
    color: var(--text-secondary);
}
.provider-contact-item .contact-icon {
    width: 32px;
    height: 32px;
    border-radius: 8px;
    background: var(--bg-hover);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
}
.provider-contact-btn {
    width: 100%;
    margin-top: 16px;
    padding: 12px;
    background: var(--gradient-primary);
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 15px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s;
}
.provider-contact-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(14, 165, 233, 0.3);
}
.provider-process-timeline {
    display: flex;
    flex-direction: column;
    gap: 20px;
}
.process-step {
    display: flex;
    gap: 20px;
    padding: 20px;
    background: var(--bg-light);
    border-radius: 12px;
    transition: all 0.3s;
}
.process-step:hover {
    background: var(--bg-hover);
    transform: translateX(8px);
}
.process-step-number {
    width: 50px;
    height: 50px;
    background: var(--gradient-primary);
    color: white;
    font-size: 18px;
    font-weight: 700;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}
.process-step-content h4 {
    font-size: 16px;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 6px;
}
.process-step-content p {
    font-size: 14px;
    color: var(--text-light);
    line-height: 1.6;
}
.provider-equipment-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
}
.provider-equipment-item {
    display: flex;
    gap: 14px;
    padding: 18px;
    background: var(--bg-light);
    border-radius: 12px;
    transition: all 0.3s;
    position: relative;
    overflow: hidden;
}
.provider-equipment-item:hover {
    background: var(--bg-hover);
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
}
.equipment-icon {
    width: 48px;
    height: 48px;
    background: var(--gradient-primary);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    flex-shrink: 0;
}
.equipment-info h4 {
    font-size: 15px;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 4px;
}
.equipment-info p {
    font-size: 13px;
    color: var(--text-light);
}
.equipment-count {
    position: absolute;
    top: 12px;
    right: 12px;
    background: var(--gradient-primary);
    color: white;
    font-size: 12px;
    font-weight: 600;
    padding: 4px 10px;
    border-radius: 20px;
}
.provider-review-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
}
.provider-review-card {
    padding: 20px;
    background: var(--bg-light);
    border-radius: 12px;
    transition: all 0.3s;
}
.provider-review-card:hover {
    background: var(--bg-hover);
}
.review-header {
    display: flex;
    gap: 14px;
    margin-bottom: 14px;
}
.review-avatar {
    width: 48px;
    height: 48px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 16px;
    font-weight: 600;
    flex-shrink: 0;
}
.review-info h4 {
    font-size: 14px;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 4px;
}
.review-rating {
    font-size: 14px;
}
.review-content {
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 14px;
}
.review-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.review-date {
    font-size: 12px;
    color: #94a3b8;
}
.review-tag {
    padding: 4px 12px;
    background: #e0e7ff;
    color: var(--primary-dark);
    border-radius: 20px;
    font-size: 12px;
}
.provider-advantages-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
}
.provider-advantage-item {
    display: flex;
    gap: 16px;
    padding: 20px;
    background: var(--bg-light);
    border-radius: 12px;
    transition: all 0.3s;
}
.provider-advantage-item:hover {
    background: var(--bg-hover);
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
}
.advantage-icon {
    width: 52px;
    height: 52px;
    background: var(--gradient-primary);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    flex-shrink: 0;
}
.advantage-content h4 {
    font-size: 16px;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 8px;
}
.advantage-content p {
    font-size: 13px;
    color: var(--text-light);
    line-height: 1.6;
}
.provider-partners-section {
    margin-bottom: 24px;
}
.provider-partners-section:last-child {
    margin-bottom: 0;
}
.partners-subtitle {
    font-size: 15px;
    font-weight: 600;
    color: var(--text-secondary);
    margin-bottom: 16px;
    padding-left: 12px;
    border-left: 3px solid var(--primary-color);
}
.provider-partners-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 14px;
}
.provider-partner-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    padding: 20px;
    background: var(--bg-light);
    border-radius: 10px;
    transition: all 0.3s;
}
.provider-partner-item:hover {
    background: var(--bg-hover);
    transform: translateY(-4px);
}
.provider-partner-item img {
    width: 60px;
    height: 60px;
    object-fit: contain;
    border-radius: 8px;
    background: white;
    padding: 8px;
}
.provider-partner-item span {
    font-size: 13px;
    color: var(--text-secondary);
    text-align: center;
}
.provider-case-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
}
.provider-recommend-card {
    background: white;
    border-radius: 12px;
    padding: 20px;
    box-shadow: var(--shadow-sm);
}
.provider-recommend-card h3 {
    font-size: 16px;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 16px;
}
.provider-recommend-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}
.provider-recommend-item {
    display: flex;
    gap: 12px;
    padding: 12px;
    background: var(--bg-light);
    border-radius: 8px;
    text-decoration: none;
    transition: all 0.3s;
}
.provider-recommend-item:hover {
    background: var(--bg-hover);
}
.provider-recommend-item img {
    width: 50px;
    height: 50px;
    border-radius: 6px;
    object-fit: cover;
}
.provider-recommend-item .item-info h4 {
    font-size: 13px;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 2px;
}
.provider-recommend-item .item-info p {
    font-size: 11px;
    color: var(--text-light);
}
.provider-detail-breadcrumb {
    padding: 16px 0;
    background: white;
    border-bottom: 1px solid var(--border-color);
}
.provider-detail-breadcrumb .breadcrumb-list {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
}
.provider-detail-breadcrumb .breadcrumb-item {
    color: var(--text-light);
}
.provider-detail-breadcrumb .breadcrumb-item a {
    color: var(--primary-color);
    text-decoration: none;
}
.provider-detail-breadcrumb .breadcrumb-item a:hover {
    text-decoration: underline;
}
.provider-detail-breadcrumb .breadcrumb-separator {
    color: #cbd5e1;
}
.provider-detail-breadcrumb .breadcrumb-item.current {
    color: var(--text-primary);
}

@media (max-width: 1024px) {
    .provider-detail-grid {
        grid-template-columns: 1fr;
    }
    .provider-sidebar {
        position: static;
    }
    .provider-hero-stats {
        gap: 20px;
    }
    .provider-hero-stat .value {
        font-size: 24px;
    }
    .provider-service-list {
        grid-template-columns: repeat(2, 1fr);
    }
    .provider-team-list {
        grid-template-columns: repeat(2, 1fr);
    }
}
@media (max-width: 768px) {
    .provider-detail-grid {
        display: block;
    }
    .provider-hero-content {
        flex-direction: column;
        text-align: center;
    }
    .provider-hero-badges {
        justify-content: center;
    }
    .provider-hero-stats {
        justify-content: center;
        flex-wrap: wrap;
    }
    .provider-hero-actions {
        flex-direction: column;
    }
    .provider-service-list {
        grid-template-columns: 1fr;
    }
    .provider-solution-list {
        grid-template-columns: 1fr;
    }
    .provider-case-card {
        flex-direction: column;
    }
    .provider-case-card img {
        width: 100%;
        height: 160px;
    }
    .provider-team-list {
        grid-template-columns: 1fr;
    }
    .provider-advantages-grid {
        grid-template-columns: 1fr;
    }
    .provider-tabs-nav {
        width: 100%;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
    }
    .provider-tabs-nav::-webkit-scrollbar {
        display: none;
    }
    .provider-tab-btn {
        flex: 0 0 auto;
        min-width: 0;
        white-space: nowrap;
    }
}

/* 页面特定Banner背景（带图片） */
.chain-banner {
    background: 
        linear-gradient(135deg, rgba(12, 74, 110, 0.92) 0%, rgba(3, 105, 161, 0.88) 50%, rgba(14, 165, 233, 0.85) 100%),
        url('/public/images/banner-chain-leader.jpeg') center/cover no-repeat;
}


/* ==================== 链主企业列表区域 ==================== */
.chain-leader-section {
    padding: 24px 0;
    background: #f8fafc;
}

/* 行业分类筛选 */
.industry-filter {
    background: white;
    border-radius: 16px;
    padding: 24px 28px;
    margin-bottom: 24px;
    display: flex;
    gap: 24px;
    align-items: flex-start;
    border: 1px solid #e2e8f0;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

.filter-label {
    font-size: 15px;
    font-weight: 600;
    color: #1e293b;
    padding-top: 10px;
    flex-shrink: 0;
    position: relative;
}

.filter-label::before {
    content: '';
    position: absolute;
    left: -12px;
    top: 50%;
    transform: translateY(-50%);
    width: 4px;
    height: 20px;
    background: linear-gradient(180deg, #0ea5e9, #0369a1);
    border-radius: 2px;
}

.filter-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    flex: 1;
}

.filter-tag {
    padding: 10px 20px;
    background: #f1f5f9;
    border: 1px solid transparent;
    border-radius: 8px;
    font-size: 14px;
    color: #475569;
    cursor: pointer;
    transition: all 0.25s ease;
    font-weight: 500;
}

.filter-tag:hover {
    background: #e0f2fe;
    color: #0369a1;
    transform: translateY(-1px);
}

.filter-tag.active {
    background: linear-gradient(135deg, #0ea5e9 0%, #0284c7 100%);
    color: white;
    border-color: transparent;
    box-shadow: 0 4px 12px rgba(14, 165, 233, 0.3);
}

/* 标签导航 */
.tab-nav {
    display: flex;
    gap: 0;
    border-bottom: 1px solid #e2e8f0;
    background: white;
    border-radius: 16px 16px 0 0;
    overflow: hidden;
    padding: 0 16px;
}

.tab-item {
    padding: 18px 28px;
    font-size: 15px;
    font-weight: 500;
    color: #64748b;
    background: white;
    border: none;
    cursor: pointer;
    position: relative;
    transition: all 0.2s;
}

.tab-item:hover {
    color: #0369a1;
    background: #f8fafc;
}

.tab-item.active {
    color: #0369a1;
    font-weight: 600;
}

.tab-item.active::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 40px;
    height: 3px;
    background: linear-gradient(90deg, #0ea5e9, #0369a1);
    border-radius: 3px;
}

/* 企业列表 */
.leader-list {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    background: white;
    border-radius: 0 0 16px 16px;
    padding: 24px;
}

@media (max-width: 768px) {
    .leader-list {
        grid-template-columns: 1fr;
    }
    .tab-content{padding: 16px 0!important;}
}

/* 新版卡片样式 - 上图下文 */
.leader-card-new {
    display: flex;
    flex-direction: column;
    background: white;
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid #e2e8f0;
    transition: all 0.3s ease;
    margin-top: 0;
}

.leader-card-new:first-child {
    margin-top: 0;
}

.leader-card-new:hover {
    border-color: #0ea5e9;
    box-shadow: 0 12px 40px rgba(14, 165, 233, 0.15);
    transform: translateY(-3px);
}

/* 卡片图片区域 */
.card-image {
    width: 100%;
    height: 180px;
    position: relative;
    flex-shrink: 0;
    overflow: hidden;
    background: linear-gradient(135deg, #f1f5f9 0%, #e2e8f0 100%);
}

.card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.leader-card-new:hover .card-image img {
    transform: scale(1.08);
}

.card-badge {
    position: absolute;
    top: 16px;
    left: 16px;
    padding: 6px 14px;
    background: linear-gradient(135deg, #0ea5e9 0%, #0369a1 100%);
    color: white;
    font-size: 12px;
    font-weight: 600;
    border-radius: 6px;
    box-shadow: 0 4px 12px rgba(14, 165, 233, 0.4);
    letter-spacing: 0.5px;
}

/* 卡片内容区域 */
.card-content {
    flex: 1;
    padding: 24px 28px;
    display: flex;
    flex-direction: column;
}

.card-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 14px;
}

.card-header .card-title {
    font-size: 20px;
    font-weight: 700;
    color: #1e293b;
    margin: 0;
}

.card-industry {
    padding: 5px 14px;
    background: linear-gradient(135deg, #e0f2fe 0%, #f0f9ff 100%);
    color: #0369a1;
    font-size: 12px;
    font-weight: 600;
    border-radius: 6px;
    border: 1px solid #bae6fd;
}

.card-desc {
    font-size: 14px;
    color: #64748b;
    line-height: 1.7;
    margin-bottom: 18px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* 统计数据 */
.card-stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
    padding: 18px 0;
    border-top: 1px solid #f1f5f9;
    border-bottom: 1px solid #f1f5f9;
    margin-bottom: 18px;
}

.card-stats .stat {
    text-align: center;
    padding: 8px;
}

.card-stats .stat-value {
    display: block;
    font-size: 22px;
    font-weight: 800;
    background: linear-gradient(135deg, #0ea5e9 0%, #0369a1 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 4px;
}

.card-stats .stat-label {
    font-size: 12px;
    color: #94a3b8;
    font-weight: 500;
}

/* 卡片底部 */
.card-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: auto;
}

.match-info {
    display: flex;
    align-items: baseline;
    gap: 4px;
}

.match-count {
    font-size: 28px;
    font-weight: 800;
    color: #0ea5e9;
}

.match-text {
    font-size: 14px;
    color: #64748b;
}

.btn-connect {
    padding: 12px 28px;
    background: linear-gradient(135deg, #0ea5e9 0%, #0284c7 100%);
    color: white;
    border: none;
    border-radius: 10px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    gap: 8px;
}

.btn-connect:hover {
    background: linear-gradient(135deg, #0284c7 0%, #0369a1 100%);
    box-shadow: 0 6px 20px rgba(14, 165, 233, 0.4);
    transform: translateY(-2px);
}

.btn-connect::before {
    content: '🤝';
    font-size: 16px;
}

/* 标签内容 */
.tab-content {
    display: none;
    background: white;
    border-radius: 0 0 16px 16px;
    border: 1px solid #e2e8f0;
    border-top: none;
    padding: 24px;
}

.tab-content.active {
    display: block !important;
}

/* 服务案例网格 */
.case-list-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.case-card {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid #e2e8f0;
    transition: all 0.3s;
}

.case-card:hover {
    border-color: #0ea5e9;
    box-shadow: 0 8px 24px rgba(14, 165, 233, 0.15);
    transform: translateY(-2px);
}

.case-card .case-img {
    height: 160px;
    overflow: hidden;
}

.case-card .case-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s;
}

.case-card:hover .case-img img {
    transform: scale(1.05);
}

.case-card .case-body {
    padding: 16px;
}

.case-card .case-body h4 {
    font-size: 16px;
    font-weight: 600;
    color: #1e293b;
    margin-bottom: 8px;
}

.case-card .case-body p {
    font-size: 13px;
    color: #64748b;
    line-height: 1.5;
    margin-bottom: 12px;
}

.case-card .case-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.case-card .case-tag {
    padding: 4px 10px;
    background: #f0f9ff;
    color: #0369a1;
    font-size: 12px;
    border-radius: 4px;
}

.case-card .case-company {
    font-size: 12px;
    color: #64748b;
}

/* 热门服务商网格 */
.provider-list-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.provider-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 24px;
    background: white;
    border-radius: 12px;
    border: 1px solid #e2e8f0;
    transition: all 0.3s;
}

.provider-card:hover {
    border-color: #0ea5e9;
    box-shadow: 0 8px 24px rgba(14, 165, 233, 0.15);
    transform: translateY(-2px);
}

.provider-card .provider-avatar {
    width: 72px;
    height: 72px;
    border-radius: 50%;
    overflow: hidden;
    margin-bottom: 16px;
    border: 3px solid #e0f2fe;
}

.provider-card .provider-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.provider-card .provider-info {
    text-align: center;
    margin-bottom: 16px;
}

.provider-card .provider-info h4 {
    font-size: 16px;
    font-weight: 600;
    color: #1e293b;
    margin-bottom: 8px;
}

.provider-card .provider-info p {
    font-size: 13px;
    color: #64748b;
    margin-bottom: 12px;
}

.provider-card .provider-stats {
    display: flex;
    gap: 16px;
    font-size: 12px;
    color: #64748b;
}

.provider-card .btn-connect {
    margin-top: auto;
    padding: 10px 24px;
    background: linear-gradient(135deg, #0ea5e9 0%, #0284c7 100%);
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s;
}

.provider-card .btn-connect:hover {
    background: linear-gradient(135deg, #0284c7 0%, #0369a1 100%);
    box-shadow: 0 4px 12px rgba(14, 165, 233, 0.3);
}

@media (max-width: 1200px) {
    .case-list-grid,
    .provider-list-grid {
        grid-template-columns: repeat(2, 1fr);
        padding: 0 16px 16px;
    }
}

@media (max-width: 768px) {
    .case-list-grid,
    .provider-list-grid {
        grid-template-columns: 1fr;
    }
}

/* 分页 */
.pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    margin: 24px 0 0;
    padding: 24px;
    background: white;
    border-radius: 12px;
    border: 1px solid #e2e8f0;
}

.page-btn {
    min-width: 42px;
    height: 42px;
    padding: 0 14px;
    background: white;
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    font-size: 14px;
    font-weight: 600;
    color: #475569;
    cursor: pointer;
    transition: all 0.2s;
    display: flex;
    align-items: center;
    justify-content: center;
}

.page-btn:hover:not(:disabled) {
    border-color: #0ea5e9;
    color: #0ea5e9;
    background: #f0f9ff;
}

.page-btn.active {
    background: linear-gradient(135deg, #0ea5e9 0%, #0284c7 100%);
    border-color: transparent;
    color: white;
    box-shadow: 0 4px 12px rgba(14, 165, 233, 0.3);
}

.page-btn:disabled {
    opacity: 0.4;
    cursor: not-allowed;
}

.page-ellipsis {
    color: #94a3b8;
    padding: 0 8px;
    font-size: 14px;
}

/* ==================== 产业链图谱区域 ==================== */
.chain-map-section {
    padding: 40px 0;
    background: linear-gradient(180deg, #ffffff 0%, #f8fafc 50%, #ffffff 100%);
    position: relative;
    overflow: hidden;
}

/* 背景装饰 */
.chain-map-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        radial-gradient(circle at 20% 30%, rgba(14, 165, 233, 0.05) 0%, transparent 50%),
        radial-gradient(circle at 80% 70%, rgba(3, 105, 161, 0.05) 0%, transparent 50%);
    pointer-events: none;
}

.chain-map-section .container {
    position: relative;
    z-index: 1;
}

.chain-map-section .section-title {
    text-align: center;
    margin-bottom: 48px;
    padding-left: 0;
}

.chain-map-section .section-title::before {
    display: none;
}

.chain-map-section .section-title h2 {
    font-size: 32px;
    font-weight: 700;
    color: #1e293b;
    margin-bottom: 12px;
    position: relative;
    display: inline-block;
}

.chain-map-section .section-title h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 4px;
    background: linear-gradient(90deg, #0ea5e9, #0369a1);
    border-radius: 2px;
}

.chain-map-section .section-title p {
    font-size: 16px;
    color: #64748b;
    margin-top: 20px;
}

/* 产业链地图容器 */
.chain-map-container {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-top: 48px;
}

/* 产业链卡片 */
.chain-map-card {
    background: white;
    border-radius: 20px;
    padding: 32px;
    border: 1px solid #e2e8f0;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.chain-map-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--card-color, #0ea5e9), var(--card-color-dark, #0369a1));
}

.chain-map-card:hover {
    border-color: var(--card-color, #0ea5e9);
    box-shadow: 0 16px 48px rgba(0, 0, 0, 0.08);
    transform: translateY(-4px);
}

.chain-map-card.materials { --card-color: #f59e0b; --card-color-dark: #d97706; }
.chain-map-card.equipment { --card-color: #10b981; --card-color-dark: #059669; }
.chain-map-card.modern-agri { --card-color: #8b5cf6; --card-color-dark: #7c3aed; }

.chain-map-card .card-header {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 16px;
    margin-bottom: 24px;
}

.chain-map-card .card-icon {
    width: 56px;
    height: 56px;
    background: linear-gradient(135deg, var(--card-color, #0ea5e9), var(--card-color-dark, #0369a1));
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}

.chain-map-card .card-title {
    font-size: 18px;
    font-weight: 700;
    color: #1e293b;
    margin: 0;
}

.chain-map-card .card-subtitle {
    font-size: 13px;
    color: #64748b;
    margin-top: 4px;
}

/* 产业链节点 */
.chain-nodes-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.chain-node-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 16px;
    background: #f8fafc;
    border-radius: 10px;
    transition: all 0.2s;
}

.chain-node-item:hover {
    background: linear-gradient(135deg, #f0f9ff 0%, #e0f2fe 100%);
    transform: translateX(4px);
}

.chain-node-item .node-icon {
    width: 36px;
    height: 36px;
    background: white;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    border: 1px solid #e2e8f0;
}

.chain-node-item .node-name {
    flex: 1;
    font-size: 14px;
    font-weight: 500;
    color: #1e293b;
}

.chain-node-item .node-count {
    font-size: 13px;
    color: #64748b;
    background: #f1f5f9;
    padding: 4px 10px;
    border-radius: 20px;
}

/* ==================== 响应式 ==================== */
@media (max-width: 1200px) {
    .chain-map-container {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 1024px) {
    .card-image {
        width: 260px;
    }
    
    .card-stats {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .card-stats .stat-value {
        font-size: 20px;
    }
}

@media (max-width: 768px) {
    .chain-leader-section {
        padding: 24px 0 60px;
    }
    
    .industry-filter {
        flex-direction: column;
        gap: 16px;
        padding: 20px;
    }
    
    .filter-label {
        padding-top: 0;
    }
    
    .filter-label::before {
        display: none;
    }
    
    .filter-tag {
        padding: 8px 16px;
        font-size: 13px;
    }
    
    .tab-nav {
        border-radius: 0;
        padding: 0 8px;
        overflow-x: auto;
    }
    
    .tab-item {
        padding: 14px 18px;
        font-size: 14px;
        white-space: nowrap;
    }
    
    .leader-list {
        padding: 0 16px 16px;
        border-radius: 0 0 12px 12px;
    }
    
    /* 卡片改为上下布局 */
    .leader-card-new {
        flex-direction: column;
        margin-top: 16px;
    }
    
    .card-image {
        width: 100%;
        height: 180px;
        min-height: auto;
    }
    
    .card-content {
        padding: 20px;
    }
    
    .card-header {
        flex-wrap: wrap;
        gap: 10px;
    }
    
    .card-title {
        font-size: 18px;
    }
    
    .card-desc {
        font-size: 13px;
    }
    
    .card-stats {
        gap: 12px;
    }
    
    .card-stats .stat-value {
        font-size: 18px;
    }
    
    .card-footer {
        flex-wrap: nowrap;
        gap: 12px;
    }
    .match-info{
        align-items: center;
        flex-direction: column;
    }
    
    .match-count {
        font-size: 24px;
    }
    
    .btn-connect {
        padding: 10px 22px;
        font-size: 13px;
    }
    
    .pagination {
        gap: 8px;
        padding: 16px;
        margin-top: 24px;
    }
    
    .page-btn {
        min-width: 38px;
        height: 38px;
        font-size: 13px;
    }
    
    /* 产业链图谱响应式 */
    .chain-map-section {
        padding: 48px 0;
    }
    
    .chain-map-container {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .chain-map-card {
        padding: 24px;
    }
}

/* ==================== 产业链图谱 - 紧凑版 ==================== */

/* 产业链切换标签 - 紧凑 */
.chain-tabs {
    display: flex;
    gap: 6px;
    margin-bottom: 20px;
    padding: 4px;
    background: linear-gradient(135deg, #1e293b 0%, #0f172a 100%);
    border-radius: 12px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
}

.chain-tab {
    flex: 1;
    min-width: 140px;
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 16px;
    background: transparent;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
}

.chain-tab::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(14, 165, 233, 0.1) 0%, rgba(56, 189, 248, 0.05) 100%);
    opacity: 0;
    transition: opacity 0.3s;
    border-radius: 8px;
}

.chain-tab:hover::before {
    opacity: 1;
}

.chain-tab.active {
    background: linear-gradient(135deg, #0ea5e9 0%, #0284c7 100%);
    box-shadow: 0 4px 16px rgba(14, 165, 233, 0.35);
}

.chain-tab .tab-icon {
    font-size: 24px;
    line-height: 1;
}

.chain-tab .tab-name {
    font-size: 14px;
    font-weight: 600;
    color: #94a3b;
}

.chain-tab.active .tab-name {
    color: white;
}

.chain-tab .tab-count {
    font-size: 11px;
    color: #64748b;
    background: rgba(255,255,255,0.1);
    padding: 2px 8px;
    border-radius: 10px;
    margin-left: auto;
}

.chain-tab.active .tab-count {
    background: rgba(255,255,255,0.2);
    color: white;
}

/* 产业链图谱容器 */
.chain-graph-container {
    position: relative;
}

.chain-graph {
    display: none;
    animation: graphFadeIn 0.4s ease;
}

.chain-graph.active {
    display: block;
}

@keyframes graphFadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

/* 产业链头部统计 - 紧凑 */
.chain-header-stats {
    display: flex;
    gap: 12px;
    margin-bottom: 16px;
    padding: 14px 16px;
    border-radius: 12px;
}

.chain-header-stats .stat-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 16px;
    background: white;
    border-radius: 8px;
    transition: all 0.2s ease;
    flex: 1;
}

.chain-header-stats .stat-item:hover {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

.chain-header-stats .stat-icon {
    font-size: 22px;
    line-height: 1;
}

.chain-header-stats .stat-info {
    display: flex;
    flex-direction: column;
}

.chain-header-stats .stat-value {
    font-size: 20px;
    font-weight: 700;
    color: #0ea5e9;
    line-height: 1.2;
}

.chain-header-stats .stat-label {
    font-size: 11px;
    color: #94a3b8;
}

/* 产业链可视化 - 紧凑布局 */
.chain-visual {
    background: #f8fafc;
    border-radius: 16px;
    padding: 20px;
    border: 1px solid #e2e8f0;
    margin-bottom: 16px;
}

/* 产业链区域 - 单行布局 */
.chain-zone {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 6px;
}

.chain-zone:last-child {
    margin-bottom: 0;
}

.zone-label {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-width: 60px;
    padding: 8px 4px;
    font-size: 11px;
    font-weight: 600;
    background: white;
    border-radius: 8px;
    border: 1px solid #e2e8f0;
}

.zone-label .label-icon {
    font-size: 16px;
    margin-bottom: 2px;
}

.chain-zone.upstream .zone-label { border-color: #fcd34d; background: #fef3c7; color: #92400e; }
.chain-zone.midstream .zone-label { border-color: #7dd3fc; background: #e0f2fe; color: #0369a1; }
.chain-zone.downstream .zone-label { border-color: #86efac; background: #dcfce7; color: #166534; }

.zone-nodes {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    flex: 1;
}

/* 产业链节点 - 小巧精致 */
.chain-node {
    position: relative;
    padding: 12px 16px;
    background: white;
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.25s ease;
    display: flex;
    align-items: center;
    gap: 12px;
    min-width: 160px;
    flex: 1;
}

.chain-node:hover {
    border-color: #0ea5e9;
    box-shadow: 0 4px 16px rgba(14, 165, 233, 0.12);
    transform: translateY(-2px);
}

/* ========== 申请成为链主弹窗样式 ========== */
.chain-node.highlight {
    background: linear-gradient(135deg, #f0f9ff 0%, #e0f2fe 100%);
    border-color: #7dd3fc;
}

.node-glow {
    display: none;
}

.node-crown {
    position: absolute;
    top: 6px;
    right: 6px;
    font-size: 14px;
}

.node-content {
    display: flex;
    align-items: center;
    gap: 10px;
    flex: 1;
}

.node-content .node-icon {
    font-size: 24px;
    line-height: 1;
}

.node-content .node-name {
    font-size: 13px;
    font-weight: 600;
    color: #1e293b;
}

.node-content .node-count {
    font-size: 16px;
    font-weight: 700;
    color: #0ea5e9;
    margin-left: auto;
}

.node-content .node-badge {
    display: none;
}

.node-content .node-bar {
    display: none;
}

.node-enterprises {
    display: none;
}

/* 连接线 - 极简 */
.chain-connector {
    display: flex;
    align-items: center;
    padding: 2px 0;
}

.chain-connector::before {
    content: '→';
    font-size: 16px;
    color: #cbd5e1;
    margin: 0 auto;
}

.chain-connector svg {
    display: none;
}

/* 链主企业展示 - 紧凑横排 */
.chain-leaders {
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
    border-radius: 12px;
    padding: 16px 20px;
    display: flex;
    align-items: center;
    gap: 20px;
    overflow-x: auto;
}

.leaders-title {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    font-weight: 600;
    color: white;
    flex-shrink: 0;
}

.leaders-title .title-icon {
    font-size: 18px;
}

.leaders-grid {
    display: flex;
    gap: 12px;
    flex: 1;
}

.leader-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 16px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.25s ease;
    border: 1px solid rgba(255, 255, 255, 0.08);
    flex-shrink: 0;
}

.leader-item:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(14, 165, 233, 0.3);
}

.leader-avatar {
    width: 36px;
    height: 36px;
    background: rgba(14, 165, 233, 0.2);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
}

.leader-info {
    display: flex;
    flex-direction: column;
}

.leader-name {
    font-size: 13px;
    font-weight: 600;
    color: white;
}

.leader-desc {
    font-size: 11px;
    color: rgba(255, 255, 255, 0.5);
}

.leader-stats {
    display: none;
}

.leader-badge {
    padding: 4px 8px;
    background: linear-gradient(135deg, #f59e0b, #d97706);
    border-radius: 4px;
    font-size: 10px;
    font-weight: 600;
    color: white;
}

/* 响应式 */
@media (max-width: 768px) {
    .chain-tabs {
        flex-wrap: wrap;
    }
    
    .chain-tab {
        min-width: calc(50% - 6px);
        padding: 10px 12px;
    }
    
    .chain-header-stats {
        flex-wrap: wrap;
    }
    
    .chain-header-stats .stat-item {
        min-width: calc(50% - 6px);
    }
    
    .chain-visual {
        padding: 12px;
    }
    
    .chain-zone {
        flex-direction: column;
        align-items: stretch;
    }
    
    .zone-label {
        flex-direction: row;
        min-width: auto;
        justify-content: flex-start;
        gap: 8px;
    }
    
    .zone-label .label-icon {
        margin-bottom: 0;
    }
    
    .zone-nodes {
        flex-direction: column;
    }
    
    .chain-node {
        min-width: auto;
    }
    
    .chain-leaders {
        flex-direction: column;
        align-items: stretch;
    }
    
    .leaders-grid {
        flex-direction: column;
    }
}
