/* 基础样式 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', 'Roboto', sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #f8f9fa;
}

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

/* 头部样式 */
.header {
    background-color: white;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    padding: 15px 0;
    position: sticky;
    top: 0;
    z-index: 1000;
}

.header .container {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

/* Logo 样式 */
.logo {
    display: flex;
    align-items: center;
    height: 60px;
}

.logo a {
    display: block;
    text-decoration: none;
}

.logo img {
    height: 40px;
    width: auto;
    transition: opacity 0.3s ease;
}

.logo img:hover {
    opacity: 0.9;
}

/* 页眉 WhatsApp 按钮 */
.header-whatsapp {
    position: absolute;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    background: #25D366;
    color: #fff;
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 14px;
    text-decoration: none;
    font-weight: 500;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: all 0.3s ease;
    z-index: 1001;
    box-shadow: 0 3px 10px rgba(37, 211, 102, 0.2);
    border: 1px solid #1da851;
}

.header-whatsapp:hover {
    background: #128C7E;
    transform: translateY(-50%) scale(1.05);
    box-shadow: 0 5px 15px rgba(37, 211, 102, 0.3);
    text-decoration: none;
}

.header-whatsapp:active {
    transform: translateY(-50%) scale(0.98);
}

/* 主图区域 */
.hero {
    background: linear-gradient(135deg, #1a2980 0%, #26d0ce 100%);
    color: white;
    padding: 80px 0;
    text-align: center;
}

.hero h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 15px;
    line-height: 1.2;
}

.subtitle {
    font-size: 1.2rem;
    margin-bottom: 40px;
    opacity: 0.9;
}

.features {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
    margin: 40px 0;
}

.feature {
    background: rgba(255, 255, 255, 0.1);
    padding: 12px 20px;
    border-radius: 30px;
    display: flex;
    align-items: center;
    gap: 8px;
    backdrop-filter: blur(10px);
}

.feature i {
    font-size: 1.1rem;
}

.whatsapp-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background-color: #25D366;
    color: white;
    padding: 15px 30px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    margin: 20px 0;
}

.whatsapp-btn:hover {
    background-color: #128C7E;
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(37, 211, 102, 0.3);
}

.response-time {
    margin-top: 20px;
    font-size: 0.9rem;
    opacity: 0.8;
}

.response-time i {
    margin-right: 5px;
}

/* 能力区域 */
.capabilities {
    padding: 80px 0;
    background-color: white;
}

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

.section-title h2 {
    font-size: 2.2rem;
    color: #2c3e50;
    margin-bottom: 10px;
}

.section-title p {
    color: #7f8c8d;
    font-size: 1.1rem;
}

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

.capability-card {
    background: white;
    border-radius: 10px;
    padding: 30px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    border: 1px solid #f1f1f1;
    text-align: center;
}

.capability-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.capability-card .icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #3498db, #2c3e50);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    color: white;
    font-size: 1.5rem;
}

.capability-card h3 {
    font-size: 1.3rem;
    margin-bottom: 15px;
    color: #2c3e50;
}

.capability-card p {
    color: #666;
    font-size: 0.95rem;
}

/* 为什么选择我们 */
.why-us {
    padding: 80px 0;
    background-color: #f8f9fa;
}

.why-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}

@media (max-width: 768px) {
    .why-grid {
        grid-template-columns: 1fr;
    }
}

.why-content h2 {
    font-size: 2.2rem;
    color: #2c3e50;
    margin-bottom: 30px;
}

.reason {
    display: flex;
    gap: 20px;
    margin-bottom: 25px;
    align-items: flex-start;
}

.reason-icon {
    width: 50px;
    height: 50px;
    background: #3498db;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.2rem;
    flex-shrink: 0;
}

.reason-text h4 {
    font-size: 1.2rem;
    margin-bottom: 5px;
    color: #2c3e50;
}

.reason-text p {
    color: #666;
    font-size: 0.95rem;
}

.why-image {
    display: flex;
    justify-content: center;
}

/* 车间图片样式 */
.workshop-img {
    width: 100%;
    max-width: 400px;
    border-radius: 10px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.15);
}

/* 流程区域 */
.process {
    padding: 80px 0;
    background-color: white;
}

.process-steps {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    position: relative;
}

@media (max-width: 768px) {
    .process-steps {
        flex-direction: column;
        gap: 30px;
    }
    
    .step-arrow {
        transform: rotate(90deg);
    }
}

.step {
    text-align: center;
    flex: 1;
    min-width: 150px;
}

.step-number {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #3498db, #2c3e50);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 700;
    margin: 0 auto 15px;
}

.step h3 {
    font-size: 1.2rem;
    margin-bottom: 8px;
    color: #2c3e50;
}

.step p {
    color: #666;
    font-size: 0.9rem;
}

.step-arrow {
    color: #3498db;
    font-size: 1.5rem;
    padding: 0 10px;
}

/* 联系方式 */
.contact {
    padding: 80px 0;
    background-color: #2c3e50;
    color: white;
}

.contact .section-title h2,
.contact .section-title p {
    color: white;
}

.contact .section-title p {
    opacity: 0.8;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    margin-top: 50px;
}

@media (max-width: 768px) {
    .contact-grid {
        grid-template-columns: 1fr;
    }
}

.contact-item {
    display: flex;
    gap: 20px;
    margin-bottom: 30px;
    align-items: center;
}

.contact-icon {
    width: 60px;
    height: 60px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    flex-shrink: 0;
}

.contact-details h3 {
    font-size: 1.1rem;
    margin-bottom: 5px;
    opacity: 0.9;
}

.contact-details a,
.contact-details p {
    color: white;
    text-decoration: none;
    font-size: 1.1rem;
    font-weight: 500;
}

.contact-details a:hover {
    color: #3498db;
}

.contact-cta {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    padding: 30px;
    backdrop-filter: blur(10px);
}

.contact-cta h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
}

.contact-cta p {
    margin-bottom: 25px;
    opacity: 0.9;
}

.cta-buttons {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.btn-primary,
.btn-whatsapp {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 12px 25px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn-primary {
    background-color: white;
    color: #2c3e50;
}

.btn-primary:hover {
    background-color: #f1f1f1;
    transform: translateY(-3px);
}

.btn-whatsapp {
    background-color: #25D366;
    color: white;
}

.btn-whatsapp:hover {
    background-color: #128C7E;
    transform: translateY(-3px);
}

/* 页脚 */
.footer {
    background-color: #1a252f;
    color: #bdc3c7;
    padding: 40px 0;
    text-align: center;
}

.footer-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
}

.footer-logo h2 {
    color: white;
    font-size: 1.8rem;
}

.footer-info p {
    margin: 5px 0;
    font-size: 0.9rem;
}

/* 响应式设计 */
@media (max-width: 768px) {
    .hero h2 {
        font-size: 2rem;
    }
    
    .features {
        flex-direction: column;
        align-items: center;
    }
    
    .feature {
        width: 100%;
        max-width: 300px;
        justify-content: center;
    }
    
    .why-grid {
        grid-template-columns: 1fr;
    }
    
    .contact-grid {
        grid-template-columns: 1fr;
    }
    
    .cta-buttons {
        justify-content: center;
    }
    
    .header-whatsapp {
        padding: 5px 10px;
        font-size: 12px;
        right: 10px;
    }
    
    .header-whatsapp i {
        font-size: 14px;
    }
}

/* 小屏幕手机适配 */
@media (max-width: 480px) {
    .header-whatsapp {
        padding: 4px 8px;
        font-size: 11px;
        right: 8px;
    }
    
    .header-whatsapp i {
        font-size: 12px;
    }
}