/* Hero Section */
body:not(.home) .hero {
    position: relative;
    height: 40vh;
    min-height: 300px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 0;
    overflow: hidden;
    margin-bottom: 0;
    padding-top: 80px;
    box-sizing: border-box;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(196, 22, 28, 0.85) 0%, rgba(249, 168, 37, 0.85) 100%);
    z-index: 1;
}

.hero-bg-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    filter: brightness(0.7);
}

.hero-content {
    position: relative;
    z-index: 2;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-text-wrapper {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
    color: #fff;
}

.hero-title {
    font-size: 56px;
    font-weight: 700;
    margin-bottom: 20px;
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.3);
}

.hero-subtitle {
    font-size: 20px;
    opacity: 0.95;
    text-shadow: 1px 1px 4px rgba(0, 0, 0, 0.2);
}

/* 通用Section样式 */
.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-title {
    font-size: 36px;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 16px;
}

.section-desc {
    font-size: 16px;
    color: var(--text-gray);
    max-width: 600px;
    margin: 0 auto;
}

/* 核心解决方案 */
.solutions-main-section {
    background: #fff;
    padding: 100px 0;
}

.solutions-main-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 32px;
}

.solution-main-card {
    background: var(--bg-light);
    border-radius: 20px;
    padding: 40px;
    display: flex;
    gap: 28px;
    transition: all 0.3s ease;
}

.solution-main-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 16px 48px rgba(0, 0, 0, 0.1);
}

.solution-main-icon {
    width: 72px;
    height: 72px;
    flex-shrink: 0;
    background: linear-gradient(135deg, var(--primary-color), #d42a32);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    transition: all 0.3s ease;
}

.solution-main-card:hover .solution-main-icon {
    transform: scale(1.1) rotate(5deg);
}

.solution-main-content h3 {
    font-size: 22px;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 12px;
}

.solution-main-content > p {
    font-size: 15px;
    color: var(--text-gray);
    line-height: 1.7;
    margin-bottom: 20px;
}

.solution-features {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 8px;
}

.solution-features li {
    font-size: 14px;
    color: var(--text-gray);
    padding-left: 20px;
    position: relative;
}

.solution-features li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 8px;
    width: 6px;
    height: 6px;
    background: var(--primary-color);
    border-radius: 50%;
}

/* 服务流程 */
.solutions-process-section {
    background: linear-gradient(135deg, #f8f9fa 0%, #fff 100%);
    padding: 100px 0;
}

.process-steps {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.process-step-item {
    display: flex;
    align-items: stretch;
    background: #fff;
    border-radius: 16px;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.04);
}

.process-step-item:hover {
    transform: translateX(8px);
    box-shadow: 0 8px 32px rgba(196, 22, 28, 0.12);
}

/* 序号区域 */
.step-number {
    width: 100px;
    min-height: 100px;
    background: linear-gradient(135deg, var(--primary-color) 0%, #d42a32 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
    font-weight: 800;
    color: #fff;
    flex-shrink: 0;
    position: relative;
    overflow: hidden;
}

/* 序号装饰 */
.step-number::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
}

.step-number::after {
    content: '';
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    border: 8px solid transparent;
    border-left: 8px solid var(--primary-color);
}

/* 内容区域 */
.step-info {
    flex: 1;
    display: flex;
    align-items: center;
    padding: 24px 32px;
    gap: 24px;
}

.step-icon {
    width: 60px;
    height: 60px;
    background: var(--bg-light);
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-color);
    flex-shrink: 0;
    transition: all 0.3s ease;
}

.process-step-item:hover .step-icon {
    background: var(--primary-color);
    color: #fff;
    transform: rotate(5deg) scale(1.05);
}

.step-text {
    flex: 1;
}

.step-text h4 {
    font-size: 18px;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 6px;
}

.step-text p {
    font-size: 14px;
    color: var(--text-gray);
    line-height: 1.6;
    margin: 0;
}

/* 服务优势 */
.solutions-advantages-section {
    background: #fff;
    padding: 100px 0;
}

.solutions-advantages-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.solutions-advantage-item {
    background: var(--bg-light);
    border-radius: 16px;
    padding: 36px 28px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.solutions-advantage-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 0;
    background: var(--primary-color);
    transition: height 0.3s ease;
}

.solutions-advantage-item:hover::before {
    height: 100%;
}

.solutions-advantage-item:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.08);
}

.advantage-num {
    font-size: 48px;
    font-weight: 800;
    color: rgba(196, 22, 28, 0.1);
    line-height: 1;
    margin-bottom: 16px;
}

.solutions-advantage-item h4 {
    font-size: 18px;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 12px;
}

.solutions-advantage-item p {
    font-size: 14px;
    color: var(--text-gray);
    line-height: 1.7;
}

/* CTA */
.solutions-cta-section {
    background: linear-gradient(135deg, var(--primary-color) 0%, #a01520 100%);
    padding: 80px 0;
    position: relative;
    overflow: hidden;
}

.solutions-cta-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.04'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    pointer-events: none;
}

.solutions-cta-content {
    text-align: center;
    position: relative;
    z-index: 1;
}

.solutions-cta-content h2 {
    font-size: 36px;
    font-weight: 700;
    color: #fff;
    margin-bottom: 16px;
}

.solutions-cta-content p {
    font-size: 18px;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 32px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.solutions-cta-btn {
    display: inline-block;
    padding: 16px 48px;
    background: #fff;
    color: var(--primary-color);
    font-size: 16px;
    font-weight: 600;
    border-radius: 8px;
    text-decoration: none;
    transition: all 0.3s ease;
}

.solutions-cta-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
}

/* 响应式 */
@media (max-width: 1200px) {
    .solutions-main-grid {
        gap: 24px;
    }
    
    .solution-main-card {
        padding: 32px;
    }
}

@media (max-width: 1024px) {
    .solutions-main-grid {
        grid-template-columns: 1fr;
    }
    
    .step-number {
        width: 80px;
        font-size: 28px;
    }
    
    .step-info {
        padding: 20px 24px;
    }
    
    .solutions-advantages-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .hero-title {
        font-size: 40px;
    }
    
    .hero-subtitle {
        font-size: 16px;
    }
    
    .solutions-main-section,
    .solutions-process-section,
    .solutions-advantages-section {
        padding: 60px 0;
    }
    
    .section-title {
        font-size: 28px;
    }
    
    .solution-main-card {
        flex-direction: column;
        padding: 28px;
        gap: 20px;
    }
    
    .solution-main-icon {
        width: 60px;
        height: 60px;
    }
    
    .solution-features {
        grid-template-columns: 1fr;
    }
    
    .process-step-item {
        flex-direction: column;
    }
    
    .step-number {
        width: 100%;
        min-height: 60px;
        font-size: 24px;
    }
    
    .step-number::after {
        display: none;
    }
    
    .step-info {
        padding: 20px;
        flex-direction: column;
        text-align: center;
    }
    
    .step-icon {
        width: 52px;
        height: 52px;
    }
    
    .process-step-item:hover {
        transform: translateY(-4px);
    }
    
    .solutions-advantages-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .solutions-cta-section {
        padding: 60px 0;
    }
    
    .solutions-cta-content h2 {
        font-size: 28px;
    }
    
    .solutions-cta-content p {
        font-size: 16px;
    }
}

@media (max-width: 480px) {
    .process-steps {
        gap: 12px;
    }
    
    .step-number {
        min-height: 50px;
        font-size: 20px;
    }
    
    .step-info {
        padding: 16px;
        gap: 16px;
    }
    
    .step-icon {
        width: 44px;
        height: 44px;
    }
    
    .step-text h4 {
        font-size: 16px;
    }
    
    .step-text p {
        font-size: 13px;
    }
}

/* 暗色模式 */
[data-theme="dark"] .solutions-main-section,
[data-theme="dark"] .solutions-advantages-section {
    background: #121212;
}

[data-theme="dark"] .solutions-process-section {
    background: #1a1a1a;
}

[data-theme="dark"] .solution-main-card {
    background: #1e1e1e;
}

[data-theme="dark"] .solution-main-card:hover {
    background: #252525;
}

[data-theme="dark"] .solution-main-content h3 {
    color: var(--text-dark);
}

[data-theme="dark"] .solution-main-content > p {
    color: var(--text-gray);
}

[data-theme="dark"] .solution-features li {
    color: var(--text-gray);
}

[data-theme="dark"] .solutions-process-section {
    background: linear-gradient(135deg, #1a1a1a 0%, #121212 100%);
}

[data-theme="dark"] .process-step-item {
    background: #1e1e1e;
}

[data-theme="dark"] .process-step-item:hover {
    background: #252525;
}

[data-theme="dark"] .step-icon {
    background: #252525;
}

[data-theme="dark"] .process-step-item:hover .step-icon {
    background: var(--primary-color);
}

[data-theme="dark"] .step-text h4 {
    color: var(--text-dark);
}

[data-theme="dark"] .step-text p {
    color: var(--text-gray);
}

[data-theme="dark"] .solutions-advantage-item {
    background: #1e1e1e;
}

[data-theme="dark"] .solutions-advantage-item:hover {
    background: #252525;
}

[data-theme="dark"] .solutions-advantage-item h4 {
    color: var(--text-dark);
}

[data-theme="dark"] .solutions-advantage-item p {
    color: var(--text-gray);
}

[data-theme="dark"] .advantage-num {
    color: rgba(230, 57, 70, 0.2);
}

[data-theme="dark"] .section-header .section-title {
    color: var(--text-dark);
}

[data-theme="dark"] .section-header .section-desc {
    color: var(--text-gray);
}
