/* 全局样式 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Microsoft YaHei', sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #f8f9fa;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* 导航栏样式 */
.navbar {
    background-color: #fff;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    transition: transform 0.3s ease-in-out;
    /* 添加backface-visibility和perspective属性，提高动画性能 */
    backface-visibility: hidden;
    perspective: 1000px;
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
}

.logo h1 {
    font-size: 28px;
    color: #2c3e50;
    margin: 0;
}

.logo p {
    font-size: 14px;
    color: #7f8c8d;
    margin: 5px 0 0;
}

.nav-menu {
    list-style: none;
    display: flex;
    gap: 30px;
}

.nav-menu li a {
    text-decoration: none;
    color: #34495e;
    font-size: 16px;
    font-weight: 500;
    transition: color 0.3s ease;
}

.nav-menu li a:hover {
    color: #e74c3c;
}

/* 英雄区域样式 */
.hero {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 150px 0 100px;
    text-align: center;
}

.hero-content h2 {
    font-size: 48px;
    margin-bottom: 20px;
    line-height: 1.2;
}

.hero-content p {
    font-size: 20px;
    margin-bottom: 40px;
    opacity: 0.9;
}

/* 按钮样式 */
.btn {
    display: inline-block;
    padding: 12px 30px;
    background-color: #e74c3c;
    color: white;
    text-decoration: none;
    border-radius: 50px;
    font-size: 16px;
    font-weight: 500;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.btn:hover {
    background-color: #c0392b;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.btn-primary {
    background-color: #e74c3c;
}

.btn-secondary {
    background-color: transparent;
    border-color: #34495e;
    color: #34495e;
}

.btn-secondary:hover {
    background-color: #34495e;
    color: white;
}

/* 章节标题样式 */
.section-title {
    text-align: center;
    margin-bottom: 50px;
}

.section-title h3 {
    font-size: 32px;
    color: #2c3e50;
    margin-bottom: 15px;
}

.divider {
    width: 80px;
    height: 3px;
    background-color: #e74c3c;
    margin: 0 auto;
    border-radius: 2px;
}

/* 关于我们样式 */
.about-us {
    padding: 80px 0;
    background-color: white;
}

.about-content {
    display: flex;
    gap: 50px;
    align-items: center;
    flex-wrap: wrap;
}

.about-text {
    flex: 1;
    min-width: 300px;
}

.about-text p {
    font-size: 16px;
    line-height: 1.8;
    color: #555;
    margin-bottom: 20px;
}

.about-image {
    flex: 1;
    min-width: 300px;
}

.about-image img {
    width: 100%;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

/* 产品服务样式 */
.services {
    padding: 80px 0;
    background-color: #f8f9fa;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.service-item {
    background-color: white;
    padding: 40px 20px;
    text-align: center;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.service-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

.service-icon {
    font-size: 48px;
    margin-bottom: 20px;
}

.service-item h4 {
    font-size: 20px;
    color: #2c3e50;
    margin-bottom: 15px;
}

.service-item p {
    font-size: 14px;
    color: #666;
    line-height: 1.6;
}

/* 业务流程样式 */
.process {
    padding: 80px 0;
    background-color: white;
}

.process-steps {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    flex-wrap: wrap;
}

.step {
    flex: 1;
    min-width: 150px;
    text-align: center;
    position: relative;
}

.step-number {
    width: 60px;
    height: 60px;
    background-color: #e74c3c;
    color: white;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 24px;
    font-weight: bold;
    margin: 0 auto 20px;
}

.step h4 {
    font-size: 18px;
    color: #2c3e50;
    margin-bottom: 10px;
}

.step p {
    font-size: 14px;
    color: #666;
}

/* 页脚样式 */
footer {
    background-color: #2c3e50;
    color: white;
    padding: 50px 0 20px;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    gap: 50px;
    flex-wrap: wrap;
    margin-bottom: 30px;
}

.footer-info, .footer-links {
    flex: 1;
    min-width: 250px;
}

.footer-info h4, .footer-links h4 {
    font-size: 20px;
    margin-bottom: 20px;
    color: #e74c3c;
}

.footer-info p {
    margin-bottom: 10px;
    font-size: 14px;
    opacity: 0.9;
}

.footer-links ul {
    list-style: none;
}

.footer-links ul li {
    margin-bottom: 10px;
}

.footer-links ul li a {
    color: white;
    text-decoration: none;
    font-size: 14px;
    opacity: 0.9;
    transition: opacity 0.3s ease;
}

.footer-links ul li a:hover {
    opacity: 1;
    color: #e74c3c;
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 14px;
    opacity: 0.8;
}

/* 关于我们页面样式 */
.about-page {
    padding: 120px 0 80px;
    background-color: white;
}

.about-detail {
    display: flex;
    gap: 50px;
    align-items: center;
    flex-wrap: wrap;
    margin-bottom: 60px;
}

.about-detail .about-text {
    order: 2;
}

.about-detail .about-image {
    order: 1;
}

.team {
    padding: 60px 0;
    background-color: #f8f9fa;
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.team-member {
    background-color: white;
    padding: 30px 20px;
    text-align: center;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.team-member .member-photo {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    background-color: #e74c3c;
    margin: 0 auto 20px;
    display: flex;
    justify-content: center;
    align-items: center;
    color: white;
    font-size: 48px;
}

.team-member h4 {
    font-size: 20px;
    color: #2c3e50;
    margin-bottom: 5px;
}

.team-member p {
    font-size: 14px;
    color: #e74c3c;
    margin-bottom: 15px;
}

.team-member .member-desc {
    font-size: 14px;
    color: #666;
    line-height: 1.6;
}

/* 产品服务页面样式 */
.services-page {
    padding: 120px 0 80px;
    background-color: white;
}

.service-detail {
    display: flex;
    gap: 50px;
    align-items: center;
    flex-wrap: wrap;
    margin-bottom: 60px;
    padding: 40px;
    background-color: #f8f9fa;
    border-radius: 10px;
}

.service-detail:nth-child(even) .service-text {
    order: 2;
}

.service-detail:nth-child(even) .service-image {
    order: 1;
}

.service-text {
    flex: 1;
    min-width: 300px;
}

.service-text h4 {
    font-size: 28px;
    color: #2c3e50;
    margin-bottom: 20px;
}

.service-text p {
    font-size: 16px;
    line-height: 1.8;
    color: #555;
    margin-bottom: 20px;
}

.service-image {
    flex: 1;
    min-width: 300px;
}

.service-image img {
    width: 100%;
    height: auto;
    border-radius: 10px;
}

/* 业务流程页面样式 */
.process-page {
    padding: 120px 0 80px;
    background-color: white;
}

.full-process {
    background-color: #f8f9fa;
    padding: 50px;
    border-radius: 10px;
    margin-bottom: 60px;
}

.process-flow {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    position: relative;
}

.process-flow::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    height: 2px;
    background-color: #e74c3c;
    transform: translateY(-50%);
    z-index: 1;
}

.process-item {
    background-color: white;
    padding: 30px 20px;
    text-align: center;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    flex: 1;
    min-width: 150px;
    margin: 20px;
    position: relative;
    z-index: 2;
    transition: transform 0.3s ease;
}

.process-item:hover {
    transform: translateY(-5px);
}

.process-item .item-number {
    width: 50px;
    height: 50px;
    background-color: #e74c3c;
    color: white;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 20px;
    font-weight: bold;
    margin: 0 auto 15px;
}

.process-item h4 {
    font-size: 16px;
    color: #2c3e50;
    margin-bottom: 10px;
}

.process-item p {
    font-size: 14px;
    color: #666;
}

/* 详细流程说明样式 */
.process-details {
    margin-top: 60px;
}

.process-step-detail {
    margin-bottom: 50px;
    padding: 30px;
    background-color: #f8f9fa;
    border-radius: 10px;
}

.step-header {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
}

.step-badge {
    width: 40px;
    height: 40px;
    background-color: #e74c3c;
    color: white;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 18px;
    font-weight: bold;
    margin-right: 15px;
}

.step-header h4 {
    font-size: 24px;
    color: #2c3e50;
    margin: 0;
}

.step-content {
    font-size: 16px;
    line-height: 1.8;
    color: #555;
}

.step-content p {
    margin-bottom: 15px;
}

/* 案例展示页面样式 */
.cases-page {
    padding: 120px 0 80px;
    background-color: white;
}

.cases-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.case-item {
    background-color: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.case-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

.case-image {
    width: 100%;
    height: 200px;
    background-color: #e74c3c;
    display: flex;
    justify-content: center;
    align-items: center;
    color: white;
    font-size: 48px;
}

.case-content {
    padding: 25px;
}

.case-content h4 {
    font-size: 20px;
    color: #2c3e50;
    margin-bottom: 15px;
}

.case-content p {
    font-size: 14px;
    line-height: 1.6;
    color: #666;
    margin-bottom: 20px;
}

/* 联系我们页面样式 */
.contact-page {
    padding: 120px 0 80px;
    background-color: white;
}

.contact-content {
    display: flex;
    gap: 50px;
    flex-wrap: wrap;
}

.contact-info {
    flex: 1;
    min-width: 300px;
    background-color: #f8f9fa;
    padding: 40px;
    border-radius: 10px;
}

.contact-info h4 {
    font-size: 24px;
    color: #2c3e50;
    margin-bottom: 30px;
}

.contact-item {
    display: flex;
    align-items: center;
    margin-bottom: 25px;
    gap: 15px;
}

.contact-item .contact-icon {
    width: 50px;
    height: 50px;
    background-color: #e74c3c;
    color: white;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 20px;
}

.contact-item .contact-text h5 {
    font-size: 16px;
    color: #2c3e50;
    margin-bottom: 5px;
}

.contact-item .contact-text p {
    font-size: 14px;
    color: #666;
}

.contact-form {
    flex: 1;
    min-width: 300px;
    background-color: #f8f9fa;
    padding: 40px;
    border-radius: 10px;
}

.contact-form h4 {
    font-size: 24px;
    color: #2c3e50;
    margin-bottom: 30px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    font-size: 14px;
    color: #555;
    margin-bottom: 8px;
    font-weight: 500;
}

.form-group input, .form-group textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 14px;
    font-family: 'Microsoft YaHei', sans-serif;
    transition: border-color 0.3s ease;
}

.form-group input:focus, .form-group textarea:focus {
    outline: none;
    border-color: #e74c3c;
    box-shadow: 0 0 0 2px rgba(231, 76, 60, 0.1);
}

.form-group textarea {
    resize: vertical;
    min-height: 150px;
}

/* 响应式设计 */
@media (max-width: 768px) {
    .navbar .container {
        flex-direction: column;
        gap: 20px;
        padding: 15px 20px;
    }

    .nav-menu {
        gap: 20px;
        flex-wrap: wrap;
        justify-content: center;
    }

    .hero-content h2 {
        font-size: 36px;
    }

    .hero-content p {
        font-size: 18px;
    }

    .about-content, .about-detail, .service-detail, .contact-content {
        flex-direction: column;
    }

    .about-detail .about-text, .about-detail .about-image {
        order: initial;
    }

    .service-detail:nth-child(even) .service-text, .service-detail:nth-child(even) .service-image {
        order: initial;
    }

    .process-steps, .process-flow {
        flex-direction: column;
        gap: 40px;
    }

    .process-flow::before {
        display: none;
    }

    .footer-content {
        flex-direction: column;
        gap: 30px;
    }

    .full-process {
        padding: 30px 20px;
    }

    .contact-info, .contact-form {
        padding: 30px 20px;
    }

    /* 调整首页小程序推广区域的间距 */
    .miniapp-promotion {
        padding: 60px 0;
    }
}

@media (max-width: 480px) {
    .hero-content h2 {
        font-size: 28px;
    }

    .hero-content p {
        font-size: 16px;
    }

    .section-title h3 {
        font-size: 26px;
    }

    .nav-menu {
        flex-wrap: wrap;
        justify-content: center;
        gap: 15px;
    }

    .nav-menu li a {
        font-size: 14px;
    }

    /* 调整首页小程序推广区域的间距 */
    .miniapp-promotion {
        padding: 40px 0;
    }
}