/* 全局基础样式重置 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Noto Sans SC', sans-serif;
}

:root {
    --primary: #388E3C;
    --primary-dark: #388E3C;
    --primary-light: #f1f1f1;
    --light: #f8f9fa;
    --dark: #1e1e1e;
    --gray: #6c757d;
    --light-gray: #f5f7fa;
    --gradient-primary: linear-gradient(to right, #4CAF50, #8BC34A);
    --gradient-bg: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
}

body {
    background-color: #ffffff;
    color: var(--dark);
    line-height: 1.7;
    overflow-x: hidden;
    height: 100%;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* 通用动画（统一复用，删除重复定义） */
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(40px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ===================== 先进设备展示模块 ===================== */
.section {
    padding: 100px 0;
}

.section-title {
    text-align: center;
    margin-bottom: 70px;
}

.section-title h2 {
    font-size: 2.2rem;
    color: #2c3e50;
    margin-bottom: 20px;
    position: relative;
    display: inline-block;
}

/* 标题下划线渐变 */
.section-title h2::after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 5px;
    background: var(--gradient-primary);
    border-radius: 3px;
}

.section-title p {
    color: var(--gray);
    max-width: 700px;
    margin: 25px auto 0;
    font-size: 1.15rem;
}

.machines {
    background-color: #ffffff;
    padding: 40px 0;
    position: relative;
}

/* 设备网格布局 */
.machine-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 70px;
}

.machine-card {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.12);
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.4), 
                box-shadow 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.4);
    border-top: 4px solid #8BC34A;
    position: relative;
    outline: none;
}

/* PC端卡片悬浮效果 */
.machine-card:hover {
    transform: translateY(-10px)!important;
    box-shadow: 0 25px 50px rgba(139, 195, 74, 0.3);
    z-index: 10;
}

.machine-card:focus {
    outline: none;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.12);
}

.machine-image {
    height: 220px;
    overflow: hidden;
    background-color: #f0f0f0;
    display: flex;
    align-items: center;
    justify-content: center;
}

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

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

.machine-info {
    padding: 25px;
}

.machine-info h3 {
    font-size: 1.5rem;
    color: var(--primary);
    margin-bottom: 12px;
}

.machine-info p {
    color: var(--gray);
    margin-bottom: 18px;
    font-size: 0.95rem;
    line-height: 1.5;
}

.machine-specs {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 15px;
}

.spec {
    background: var(--primary-light);
    color: var(--primary-dark);
    padding: 6px 12px;
    border-radius: 30px;
    font-size: 0.85rem;
    font-weight: 500;
}

/* 设备模块响应式 */
@media (max-width: 1200px) {
    .machine-grid {
        gap: 25px;
    }
    .machine-info {
        padding: 20px;
    }
    .machine-info h3 {
        font-size: 1.4rem;
    }
}

@media (max-width: 1024px) {
    .machine-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 30px;
    }
    .machine-image {
        height: 250px;
    }
    .machine-info {
        padding: 25px;
    }
    .machine-info h3 {
        font-size: 1.5rem;
    }
    .machine-info p {
        font-size: 1rem;
    }
}

@media (max-width: 768px) {
    .section {
        padding: 40px 0;
    }
    .section-title h2 {
        font-size: 2.2rem;
    }
    .section-title p {
        font-size: 1rem;
    }
    .machine-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    /* 移动端移除悬浮效果 */
    .machine-card:hover {
        transform: none !important;
        box-shadow: 0 15px 35px rgba(0, 0, 0, 0.12) !important;
    }
    .machine-card:hover .machine-image img {
        transform: none !important;
    }
}

@media (max-width: 480px) {
    .section-title h2 {
        font-size: 1.8rem;
    }
    .section-title p {
        font-size: 1rem;
    }
    .machine-info h3 {
        font-size: 1.5rem;
    }
    .machine-info p {
        font-size: 0.95rem;
    }
    .machine-image {
        height: 220px;
    }
}

/* ===================== 生产流程模块 ===================== */
.production-process-module {
    margin: 20px auto 0;
    max-width: 1500px;
}

.production-process-container {
    max-width: 100%;
    margin: 0 auto;
    padding: 30px 20px 40px;
    font-family: 'Segoe UI', 'Microsoft YaHei', sans-serif;
}

.process-header {
    text-align: center;
    margin-bottom: 30px;
}

.process-title {
    font-size: 2.2rem;
    color: #2c3e50;
    margin-bottom: 20px;
    position: relative;
    display: inline-block;
    font-weight: 700;
}

.process-title::after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 5px;
    background: var(--gradient-primary);
    border-radius: 3px;
}

.process-subtitle {
    color: #5f6368;
    font-size: 1.2rem;
    max-width: 700px;
    margin: 30px auto 0;
    line-height: 1.6;
    font-weight: 300;
}

.process-content {
    background: var(--gradient-bg);
    border-radius: 20px;
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.08);
    padding: 70px 0 40px;
    position: relative;
    overflow: hidden;
    margin: 0 60px;
}

.process-steps {
    display: flex;
    flex-wrap: nowrap;
    justify-content: center;
    position: relative;
    padding: 0 30px;
    gap: 20px;
    list-style: none;
    margin: 0;
}

.process-steps::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 60px;
    right: 60px;
    height: 4px;
    background: var(--gradient-primary);
    z-index: 0;
    transform: translateY(-50%);
}

.process-step {
    background: white;
    border-radius: 20px;
    padding: 70px 20px 40px;
    text-align: center;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.06);
    position: relative;
    border: 1px solid rgba(26, 115, 232, 0.1);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    z-index: 1;
    flex-shrink: 0;
    flex-grow: 0;
    animation: fadeInUp 0.7s ease forwards;
    opacity: 0;
}

/* 分步动画延迟 */
.process-step:nth-child(1) { animation-delay: 0.1s; }
.process-step:nth-child(2) { animation-delay: 0.2s; }
.process-step:nth-child(3) { animation-delay: 0.3s; }
.process-step:nth-child(4) { animation-delay: 0.4s; }
.process-step:nth-child(5) { animation-delay: 0.5s; }
.process-step:nth-child(6) { animation-delay: 0.6s; }

.process-step:hover {
    transform: translateY(-15px);
    box-shadow: 0 20px 40px rgba(139, 195, 74, 0.15);
    border-color: rgba(26, 115, 232, 0.3);
}

.step-number {
    position: absolute;
    top: -50px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #4CAF50, #8BC34A);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 2rem;
    box-shadow: 0 8px 20px rgba(26, 115, 232, 0.3);
    z-index: 2;
}

.step-icon {
    font-size: 3.5rem;
    color: #388E3C;
    margin-bottom: 35px;
    display: block;
    margin-top: 20px;
    transition: all 0.3s ease;
}

.process-step:hover .step-icon {
    transform: scale(1.15);
    color: #8BC34A;
}

.step-title {
    margin-top: 10px;
    margin-bottom: 25px;
    color: #388E3C; /* 修复原代码笔误 #1a73e50 */
    font-size: 1.5rem;
    font-weight: 600;
}

.step-description {
    color: #5f6368;
    line-height: 1.6;
    font-size: 1rem;
}

/* 生产流程响应式 */
@media (min-width: 1201px) {
    .process-step {
        width: 15%;
        min-width: 160px;
    }
}

@media (min-width: 1025px) and (max-width: 1200px) {
    .process-content {
        margin: 0 50px;
    }
    .process-steps {
        gap: 15px;
        padding: 0 40px;
    }
    .process-steps::before {
        left: 50px;
        right: 50px;
    }
    .process-step {
        width: 15%;
        min-width: 150px;
        padding: 60px 15px 35px;
    }
}

@media (min-width: 769px) and (max-width: 1024px) {
    .production-process-container {
        padding: 25px 20px 35px;
    }
    .process-content {
        margin: 0 40px;
        padding: 60px 0 30px;
    }
    .process-title {
        font-size: 2.2rem;
    }
    .process-subtitle {
        font-size: 1.1rem;
    }
    .process-steps {
        flex-wrap: wrap;
        gap: 80px 30px;
        padding: 0 30px;
    }
    .process-steps::before {
        display: none;
    }
    .process-step {
        width: 30%;
        min-width: 0;
        padding: 60px 20px 35px;
    }
    .step-number {
        top: -45px;
        width: 75px;
        height: 75px;
        font-size: 1.9rem;
    }
    .step-icon {
        font-size: 3.2rem;
    }
    .step-title {
        font-size: 1.4rem;
    }
    .step-description {
        font-size: 0.95rem;
    }
}

@media (min-width: 768px) and (max-width: 820px) {
    .process-steps {
        gap: 70px 25px;
    }
    .process-step {
        padding: 55px 15px 30px;
    }
}

@media (min-width: 577px) and (max-width: 767px) {
    .production-process-container {
        padding: 20px 15px 30px;
    }
    .process-content {
        margin: 0 30px;
        padding: 50px 0 25px;
    }
    .process-title {
        font-size: 2.2rem;
    }
    .process-subtitle {
        font-size: 1rem;
    }
    .process-steps {
        flex-wrap: wrap;
        justify-content: space-between;
        gap: 70px 15px;
        padding: 0 15px;
    }
    .process-steps::before {
        display: none;
    }
    .process-step {
        width: calc(50% - 8px);
        min-width: 0;
        padding: 60px 15px 35px;
    }
    .step-number {
        top: -45px;
        width: 70px;
        height: 70px;
        font-size: 1.8rem;
    }
    .step-icon {
        font-size: 3rem;
    }
    .step-title {
        font-size: 1.4rem;
    }
    .step-description {
        font-size: 0.95rem;
    }
}

@media (min-width: 481px) and (max-width: 576px) {
    .process-content {
        margin: 0 25px;
    }
    .process-steps {
        gap: 65px 12px;
        padding: 0 10px;
    }
    .process-step {
        width: calc(50% - 6px);
        padding: 55px 12px 30px;
    }
    .step-number {
        width: 65px;
        height: 65px;
        font-size: 1.7rem;
        top: -40px;
    }
    .step-icon {
        font-size: 2.8rem;
    }
    .step-title {
        font-size: 1.3rem;
    }
    .step-description {
        font-size: 0.9rem;
    }
}

@media (max-width: 480px) {
    .production-process-container {
        padding: 15px 10px 25px;
    }
    .process-content {
        margin: 0 15px;
        padding: 45px 0 20px;
    }
    .process-title {
        font-size: 1.8rem;
    }
    .process-subtitle {
        font-size: 1rem;
    }
    .process-steps {
        flex-wrap: wrap;
        justify-content: space-between;
        gap: 60px 10px;
        padding: 0 20px;
    }
    .process-step {
        width: calc(50% - 5px);
        padding: 50px 10px 25px;
    }
    .step-number {
        width: 60px;
        height: 60px;
        font-size: 1.6rem;
        top: -35px;
    }
    .step-icon {
        font-size: 2.6rem;
    }
    .step-title {
        font-size: 1.2rem;
    }
    .step-description {
        font-size: 0.85rem;
    }
}

@media (max-width: 375px) {
    .process-content {
        margin: 0 10px;
        padding: 40px 0 15px;
    }
    .process-title {
        font-size: 1.8rem;
    }
    .process-steps {
        gap: 55px 8px;
        padding: 0 20px;
    }
    .process-step {
        width: calc(50% - 4px);
        padding: 45px 8px 20px;
    }
    .step-number {
        width: 55px;
        height: 55px;
        font-size: 1.5rem;
        top: -30px;
    }
    .step-icon {
        font-size: 2.4rem;
    }
    .step-title {
        font-size: 1.1rem;
    }
    .step-description {
        font-size: 0.8rem;
    }
}

/* 横屏设备适配 */
@media (max-height: 500px) and (orientation: landscape) {
    .process-steps {
        gap: 50px 20px;
    }
    .process-step {
        padding: 40px 15px 20px;
    }
    .step-number {
        top: -30px;
        width: 60px;
        height: 60px;
    }
}

/* ===================== 核心技术优势模块 ===================== */
.features-section {
    padding: 20px 20px;
    margin: 20px 0;
}

.features-container {
    background: var(--gradient-bg);
    border-radius: 20px;
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.08);
    padding: 60px 30px;
    max-width: 1400px;
    width: 100%;
    margin: 0 auto;
    position: relative;
    overflow: hidden;
}

/* 装饰圆形 */
.decor-circle {
    position: absolute;
    border-radius: 50%;
    z-index: 0;
    opacity: 0.15;
    background: var(--gradient-primary);
}

.circle-1 {
    width: 220px;
    height: 220px;
    top: -100px;
    right: -100px;
}

.circle-2 {
    width: 180px;
    height: 180px;
    bottom: -80px;
    left: -80px;
}

.features-container .section-title {
    margin-bottom: 30px;
    position: relative;
    z-index: 1;
}

.features-container .section-title h1 {
    font-size: 2.2rem;
    color: #2c3e50;
    margin-bottom: 15px;
    font-weight: 700;
}

.features-container .section-title .divider {
    width: 120px;
    height: 5px;
    background: var(--gradient-primary);
    margin: 0 auto 20px;
    border-radius: 3px;
}

.features-container .section-title p {
    color: #5f6368;
    font-size: 1.2rem;
    max-width: 700px;
    margin: 20px auto 1px;
    line-height: 1.6;
    font-weight: 300;
}

.features-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 35px;
    position: relative;
    z-index: 1;
}

.feature-card {
    background: white;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.06);
    padding: 35px 30px;
    text-align: center;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(26, 115, 232, 0.1);
    display: flex;
    flex-direction: column;
    height: 100%;
    animation: fadeInUp 0.6s ease forwards;
    opacity: 0;
}

/* 分步动画延迟 */
.feature-card:nth-child(1) { animation-delay: 0.1s; }
.feature-card:nth-child(2) { animation-delay: 0.2s; }
.feature-card:nth-child(3) { animation-delay: 0.3s; }
.feature-card:nth-child(4) { animation-delay: 0.4s; }
.feature-card:nth-child(5) { animation-delay: 0.5s; }
.feature-card:nth-child(6) { animation-delay: 0.6s; }

.feature-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 40px rgba(139, 195, 74, 0.15);
    border-color: rgba(26, 115, 232, 0.2);
}

.feature-icon {
    font-size: 2.8rem;
    color: #388E3C;
    margin-bottom: 25px;
    display: block;
    transition: all 0.3s ease;
}

.feature-card:hover .feature-icon {
    transform: scale(1.1);
    color: #1557b0;
}

.feature-title {
    margin-bottom: 18px;
    color: #388E3C;
    font-size: 1.5rem;
    font-weight: 600;
    line-height: 1.3;
}

.feature-description {
    color: #5f6368;
    line-height: 1.6;
    font-size: 1rem;
    flex-grow: 1;
}

/* 技术优势响应式 */
@media (max-width: 1200px) {
    .features-container {
        padding: 50px 25px;
    }
    .features-container .section-title h1 {
        font-size: 2.2rem;
    }
    .features-content {
        gap: 30px;
    }
    .feature-card {
        padding: 30px 25px;
    }
    .feature-icon {
        font-size: 2.6rem;
        margin-bottom: 22px;
    }
}

@media (max-width: 900px) {
    .features-container {
        padding: 40px 20px;
    }
    .features-container .section-title h1 {
        font-size: 2.2rem;
    }
    .features-container .section-title p {
        font-size: 1.1rem;
    }
    .feature-title {
        font-size: 1.4rem;
    }
    .feature-description {
        font-size: 0.95rem;
    }
}

@media (max-width: 768px) {
    .features-section {
        padding: 40px 15px;
    }
    .features-container {
        padding: 40px 15px;
        border-radius: 18px;
    }
    .features-container .section-title h1 {
        font-size: 2rem;
    }
    .features-container .section-title .divider {
        width: 100px;
        height: 4px;
    }
    .features-container .section-title p {
        font-size: 1rem;
        padding: 0 10px;
    }
    .features-content {
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
        gap: 25px;
    }
    .feature-card {
        padding: 28px 22px;
    }
    .feature-icon {
        font-size: 2.4rem;
        margin-bottom: 20px;
    }
}

@media (max-width: 480px) {
    .features-container .section-title h1 {
        font-size: 1.8rem;
    }
    .features-container .section-title .divider {
        width: 80px;
        margin-bottom: 15px;
    }
    .features-content {
        grid-template-columns: 1fr;
        gap: 22px;
    }
    .feature-card {
        padding: 25px 20px;
    }
    .feature-icon {
        font-size: 2.2rem;
    }
}