/**
 * GEA产业雷达页面专属样式
 */

/* ==================== Hero 区域 ==================== */
.radar-hero {
    background: linear-gradient(135deg, #ffffff 0%, #f8fafc 100%);
    border-radius: 16px;
    padding: 32px 36px;
    border: 1px solid #e2e8f0;
    box-shadow: 0 4px 16px rgba(59, 130, 246, 0.1);
}

.hero-meta .meta-item {
    display: flex;
    align-items: center;
    gap: 8px;
}

/* ==================== 内容卡片 ==================== */
.content-card {
    background: white;
    border-radius: 16px;
    padding: 20px 24px;
    border: 1px solid #e2e8f0;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

.section-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: #1e293b;
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.section-title i {
    font-size: 1.1rem;
}

.section-desc {
    background: #f8fafc;
    padding: 12px 16px;
    border-radius: 12px;
    border-left: 3px solid #3b82f6;
    color: #475569;
    line-height: 1.6;
}

.subsection-title {
    font-size: 1rem;
    font-weight: 600;
    color: #334155;
    margin-bottom: 12px;
}

/* ==================== 功能网格 ==================== */
.feature-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
}

.feature-grid.grid-cols-4 {
    grid-template-columns: repeat(4, 1fr);
}

.feature-item {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 16px 14px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.feature-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, #3b82f6, #8b5cf6);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.3s ease;
}

.feature-item:hover::before {
    transform: scaleX(1);
}

.feature-item:hover {
    background: #f1f5f9;
    border-color: #cbd5e1;
    transform: translateY(-4px) scale(1.02);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12);
}

.feature-icon {
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, #dbeafe 0%, #e0e7ff 100%);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 10px;
    color: #3b82f6;
    font-size: 1.2rem;
    transition: all 0.3s ease;
}

.feature-item:hover .feature-icon {
    background: linear-gradient(135deg, #3b82f6 0%, #8b5cf6 100%);
    color: white;
    transform: rotate(5deg) scale(1.1);
}

.feature-item h4 {
    font-size: 0.95rem;
    font-weight: 700;
    color: #1e293b;
    margin-bottom: 6px;
    display: flex;
    align-items: center;
    gap: 6px;
}

.feature-num {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 20px;
    height: 20px;
    background: #dbeafe;
    color: #2563eb;
    border-radius: 50%;
    font-size: 0.75rem;
    font-weight: 700;
}

.feature-item p {
    font-size: 0.85rem;
    color: #64748b;
    line-height: 1.5;
}

/* ==================== 表格容器 ==================== */
.table-container {
    overflow-x: auto;
    border-radius: 12px;
    border: 1px solid #e2e8f0;
    background: white;
}

.match-table,
.comparison-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.85rem;
}

.match-table {
    min-width: 800px;
}

.match-table th,
.match-table td,
.comparison-table th,
.comparison-table td {
    padding: 10px 8px;
    text-align: center;
    border: 1px solid #e2e8f0;
}

.match-table th,
.comparison-table th {
    background: #f8fafc;
    font-weight: 700;
    color: #1e293b;
}

.highlight-row {
    background: #fefce8;
}

.highlight-row td {
    background: #fefce8;
}

.fee-highlight {
    font-weight: 700;
    color: #d97706;
}

/* ==================== 提示框 ==================== */
.note-box {
    background: #fef3c7;
    border-radius: 10px;
    padding: 10px 14px;
    font-size: 0.85rem;
    color: #92400e;
    display: flex;
    align-items: center;
}

/* ==================== 步骤卡片 ==================== */
.steps-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
    margin-bottom: 16px;
}

.step-card {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 14px;
    padding: 16px 12px;
    text-align: center;
    transition: all 0.2s ease;
}

.step-card:hover {
    background: #f1f5f9;
    border-color: #cbd5e1;
    transform: translateY(-2px);
}

.step-number {
    width: 32px;
    height: 32px;
    background: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%);
    color: white;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 1rem;
    margin-bottom: 10px;
    box-shadow: 0 4px 12px rgba(59, 130, 246, 0.3);
}

.step-card p {
    font-size: 0.9rem;
    color: #1e293b;
    margin-bottom: 4px;
    line-height: 1.4;
}

.step-note {
    font-size: 0.75rem;
    color: #94a3b8;
}

/* ==================== 企业微信区域 ==================== */
.wechat-section {
    display: flex;
    align-items: center;
    gap: 16px;
    background: linear-gradient(135deg, #f0fdf4 0%, #ecfdf5 100%);
    border-radius: 16px;
    padding: 16px 20px;
    border: 1px solid #d1fae5;
}

.qrcode-box {
    background: linear-gradient(145deg, #10b981 0%, #059669 100%);
    width: 96px;
    height: 96px;
    border-radius: 16px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 12px rgba(16, 185, 129, 0.3);
    flex-shrink: 0;
}

.wechat-info {
    flex: 1;
}

.badge-official {
    background: #d1fae5;
    color: #065f46;
    border-radius: 20px;
    padding: 4px 12px;
    font-size: 0.75rem;
    font-weight: 600;
    white-space: nowrap;
}

/* ==================== CTA 按钮 ==================== */
.cta-button {
    background: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%);
    color: white;
    border: none;
    border-radius: 12px;
    padding: 14px 32px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(59, 130, 246, 0.3);
}

.cta-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(59, 130, 246, 0.4);
}

.cta-button:active {
    transform: translateY(0);
}

.subnote {
    font-size: 0.85rem;
    color: #64748b;
    text-align: center;
}

/* ==================== 底部引导区域 ==================== */
.radar-cta-banner {
    background: linear-gradient(135deg, #eff6ff 0%, #dbeafe 100%);
    border-radius: 16px;
    padding: 24px 28px;
    border: 2px solid #bfdbfe;
}

/* ==================== 响应式设计 ==================== */
@media (max-width: 1024px) {
    .feature-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .feature-grid.grid-cols-4 {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .radar-hero {
        padding: 20px;
    }
    
    .content-card {
        padding: 16px 18px;
    }
    
    .feature-grid,
    .feature-grid.grid-cols-4 {
        grid-template-columns: 1fr;
    }
    
    .steps-grid {
        grid-template-columns: 1fr;
    }
    
    .wechat-section {
        flex-direction: column;
        text-align: center;
    }
    
    .hero-meta .meta-item {
        flex-direction: column;
        align-items: flex-start;
    }
}

@media (max-width: 640px) {
    .section-title {
        font-size: 1.1rem;
    }
    
    .match-table {
        font-size: 0.75rem;
    }
    
    .comparison-table {
        font-size: 0.8rem;
    }
}
