:root {
    --primary: #30cd40;/*渐变初始色（浅绿色）*/
    --accent: #007112;/*渐变结束色（深绿色）*/
    --border: #007112;/*边框色*/
    --secondary: #2fcc40;/*按钮*/
    --lighter-bg: #ffffff;/*白色背景*/
    --light-bg: #f5fbf6;/*灰色背景*/
    --card-bg: rgba(255, 255, 255, 0.9);/*白色透明度背景*/
    --text-dark: #000;/*黑色字体*/
    --text-gray: #333;/*浅黑色字体*/
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', 'PingFang SC', 'Microsoft YaHei', sans-serif;
}

body {
    background-color: var(--lighter-bg);
    color: var(--text-dark);
    line-height: 1.6;
    overflow-x: hidden;
}

.container_c {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}
.container_c>p{
    text-align: center; 
    max-width: 900px; 
    margin: 0 auto 30px;
}

section {
    padding: 100px 0;
    position: relative;
}

h1, h2, h3, h4 {
    font-weight: 700;
    line-height: 1.2;
    color: var(--text-dark);
}

h1 {
    font-size: 3.5rem;
    margin-bottom: 20px;
    background: black;
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

h2 {
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 60px;
    position: relative;
}

h2:after {
    content: '';
    display: block;
    width: 100px;
    height: 4px;
    background: var(--accent);
    margin: 20px auto 0;
    border-radius: 2px;
}

h3 {
    font-size: 1.8rem;
    margin-bottom: 15px;
    color: var(--text-dark);
}

p {
    margin-bottom: 20px;
    font-size: 1.1rem;
    color: var(--text-gray);
}

.btn {
    display: inline-block;
    background: linear-gradient(90deg, var(--secondary), var(--accent));
    color: white;
    padding: 14px 32px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    font-size: 1rem;
    box-shadow: 0 4px 15px rgba(0, 168, 255, 0.3);
    position: relative;
    overflow: hidden;
}

.btn:before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, var(--secondary), var(--accent));
    transition: 0.5s;
}

.btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0, 168, 255, 0.5);
}

.btn:hover:before {
    left: 100%;
}

/* 首页英雄区域 */
.hero {
    background: linear-gradient(90deg, var(--lighter-bg), var(--accent));
    padding: 200px 0 150px;
    text-align: center;
    position: relative;
    overflow: hidden;
    min-height: 100vh;
    display: flex;
    align-items: center;
}

.hero:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTAwJSIgaGVpZ2h0PSIxMDAlIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciPjxkZWZzPjxwYXR0ZXJuIGlkPSJwYXR0ZXJuIiB3aWR0aD0iNDAiIGhlaWdodD0iNDAiIHBhdHRlcm5Vbml0cz0idXNlclNwYWNlT25Vc2UiIHBhdHRlcm5UcmFuc2Zvcm09InJvdGF0ZSgwKSI+PGNpcmNsZSBjeD0iMjAiIGN5PSIyMCIgcj0iMSIgZmlsbD0icmdiYSgwLDE2OCwyNTUsMC4wNSkiLz48L3BhdHRlcm4+PC9kZWZzPjxyZWN0IHdpZHRoPSIxMDAlIiBoZWlnaHQ9IjEwMCUiIGZpbGw9InVybCgjcGF0dGVybikiLz48L3N2Zz4=');
    opacity: 0.3;
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 900px;
    margin: 0 auto;
}
.hero-content p{
    color: var(--text-dark);
}

.hero p {
    font-size: 1.3rem;
    margin-bottom: 40px;
    color: var(--text-dark);
}

/*内容*/

/* 内容灰底 */
.content_grey {
    background: var(--light-bg);
}

/* 内容白色底 */
.content_fff {
    background: var(--lighter-bg);
}

.chain-steps {
    display: flex;
    flex-direction: column;
    gap: 50px;
    max-width: 1000px;
    margin: 0 auto;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.service-card {
    background: var(--card-bg);
    border-radius: 15px;
    padding: 40px 30px;
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
    box-shadow: 2px 2px 0px var(--border);
}

.service-card:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: linear-gradient(45deg, var(--primary), #008c2c);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s;
}

.service-card:hover:before {
    transform: scaleX(1);
}

.service-icon {
    font-size: 3rem;
    color: var(--primary);
    margin-bottom: 20px;
    transition: transform 0.4s;
}

.service-card:hover .service-icon {
    transform: scale(1.2) rotate(5deg);
}

.case-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
}

.case-card {
    background: var(--light-color);
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
    transition: all 0.4s ease;
}

.case-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 35px rgba(0,0,0,0.15);
}

.case-image {
    height: 220px;
    background: var(--gradient-1);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 5rem;
    position: relative;
    overflow: hidden;
}

.case-content {
    padding: 30px 20px;
}



/* 解决方案区域 */
.solutions {
    background: white;
    position: relative;
}

.solution-tabs {
    display: flex;
    justify-content: center;
    margin-bottom: 60px;
    flex-wrap: wrap;
    gap: 10px;
}

.tab-btn {
    padding: 12px 25px;
    background: white;
    border: 2px solid #e0e0e0;
    border-radius: 50px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.4s ease;
    margin: 0 5px;
}

.tab-btn.active {
    background: linear-gradient(90deg, var(--secondary), var(--accent));
    color: white !important;
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
}

.tab-content {
    display: none;
    animation: fadeIn 0.8s ease;
}

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

.solution-card {
    display: flex;
    align-items: center;
    margin-bottom: 60px;
    background: var(--light-color);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 15px 30px rgba(0,0,0,0.1);
    transition: transform 0.4s ease;
}

.solution-card:hover {
    transform: translateY(-10px);
}

.solution-text {
    flex: 1;
    padding: 50px 40px;
}

.solution-image {
    flex: 0 0 45%;
    min-height: 350px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 8rem;
    position: relative;
    overflow: hidden;
}

.solution-image:before {
    content: '';
    position: absolute;
    width: 200%;
    height: 200%;
    animation: slide 20s linear infinite;
}


/*解决方案*/
.solution-steps {
    display: flex;
    flex-direction: column;
    gap: 50px;
    max-width: 650px;
    margin: 0 auto;
}
.step {
    display: flex;
    align-items: center;
    gap: 40px;
}

.step:nth-child(even) {
    flex-direction: row-reverse;
}

.step-number {
    background: linear-gradient(135deg, var(--primary), var(--accent));
    color: white;
    width: 80px;
    height: 80px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    font-weight: bold;
    flex-shrink: 0;
    box-shadow: 2px 2px 0px var(--border);
}

.step-content {
    flex: 1;
}

.step-content h3 {
    margin-bottom: 15px;
    color: var(--text-dark);
}

.step-content ul {
    margin-left: 20px;
}

.step-content li {
    margin-bottom: 10px;
    position: relative;
    padding-left: 10px;
    color: var(--text-gray);
}



/* 滚动动画样式 */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

.stagger-item {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.stagger-item.visible {
    opacity: 1;
    transform: translateY(0);
}

/* 响应式设计 */
@media (max-width: 968px) {
    h1 {
        font-size: 2.8rem;
    }
    
    h2 {
        font-size: 2.2rem;
    }
    
    .step {
        flex-direction: column;
        text-align: center;
    }
    
    .step:nth-child(even) {
        flex-direction: column;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
    }
    .solution-card {
        flex-direction: column;
    }
    
    .solution-image {
        width: 100%;
        min-height: 250px;
    }
    .solution-text{
        padding: 20px 20px 0;
    }
    .solution-text>h3{
        display: none;
    }
    .step {
        flex-direction: column;
        text-align: center;
    }
}

@media (max-width: 768px) {
    h1 {
        font-size: 2.2rem;
    }
    
    h2 {
        font-size: 1.8rem;
    }
    
    .hero {
        padding: 150px 20px 80px;
    }
    
    section {
        padding: 80px 20px;
    }
    .content_foot{
        padding-bottom: 40px;
        margin-bottom: 40px;
    }
    .solution-tabs{
        margin-bottom: 0;
        flex-wrap: unset;
        gap: 1px;
        margin-top: -30px;
    }
    .solution-tabs .tab-btn{
        font-size: 12px;
        font-weight: 400;
        padding: 5px 5px;
        margin: 0;
        margin-bottom: 10px;
    }
}

/* 动画元素 */
.floating {
    animation: floating 3s ease-in-out infinite;
}

@keyframes floating {
    0% { transform: translate(0, 0px); }
    50% { transform: translate(0, -15px); }
    100% { transform: translate(0, 0px); }
}

.pulse {
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% { box-shadow: 0 0 0 0 rgba(0, 168, 255, 0.5); }
    70% { box-shadow: 0 0 0 10px rgba(0, 168, 255, 0); }
    100% { box-shadow: 0 0 0 0 rgba(0, 168, 255, 0); }
}