/* 全局样式 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Microsoft YaHei', '微软雅黑', Arial, sans-serif;
    line-height: 1.6;
    color: #333;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

a {
    text-decoration: none;
    color: #333;
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
}

.btn {
    display: inline-block;
    background-color: #4169E1;
    color: #fff;
    padding: 10px 25px;
    border-radius: 5px;
    transition: background-color 0.3s;
}

.btn:hover {
    background-color: #3154b1;
}

.section-title {
    text-align: center;
    margin-bottom: 50px;
    font-size: 32px;
    position: relative;
}

.section-title:after {
    content: '';
    display: block;
    width: 60px;
    height: 3px;
    background: #4169E1;
    margin: 15px auto;
}

/* 头部导航 */
header {
    padding: 20px 0;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    background-color: rgba(255, 255, 255, 0.95);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

header .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo {
    display: flex;
    align-items: center;
}

.logo img {
    height: 50px;
    margin-right: 15px;
}

.company-name {
    font-size: 24px;
    font-weight: 700;
    color: #333;
    margin: 0;
}

nav ul {
    display: flex;
}

nav ul li {
    margin-left: 30px;
}

nav ul li a {
    font-weight: 500;
    position: relative;
}

nav ul li a:after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -5px;
    width: 0;
    height: 2px;
    background-color: #4169E1;
    transition: width 0.3s;
}

nav ul li a:hover:after {
    width: 100%;
}

.merchant-login-btn {
    display: inline-block;
    background-color: #4169E1;
    color: white;
    padding: 8px 16px;
    border-radius: 4px;
    transition: background-color 0.3s;
    font-weight: 500;
}

.merchant-login-btn:hover {
    background-color: #3451b2;
    color: white;
}

/* 英雄区 */
.hero {
    padding: 150px 0 100px;
    background-color: #f8f9fa;
}

.hero .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.hero-content {
    width: 50%;
}

.hero-content h1 {
    font-size: 42px;
    margin-bottom: 20px;
    color: #2c3e50;
}

.hero-content p {
    font-size: 18px;
    margin-bottom: 30px;
    color: #7f8c8d;
}

.hero-image {
    width: 45%;
}

/* 关于我们 */
.about {
    padding: 100px 0;
}

.about-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.about-image {
    width: 45%;
}

.about-text {
    width: 50%;
}

.about-text h3 {
    font-size: 26px;
    margin-bottom: 20px;
    color: #2c3e50;
}

.about-text p {
    margin-bottom: 15px;
    font-size: 16px;
    color: #555;
}

/* 服务项目 */
.services {
    padding: 100px 0;
    background-color: #f8f9fa;
}

.service-items {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
}

.service-item {
    width: 30%;
    background-color: #fff;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    text-align: center;
    transition: transform 0.3s;
}

.service-item:hover {
    transform: translateY(-10px);
}

.service-icon {
    margin-bottom: 20px;
}

.service-icon img {
    height: 70px;
}

.service-item h3 {
    margin-bottom: 15px;
    font-size: 22px;
    color: #2c3e50;
}

.service-item p {
    color: #7f8c8d;
}

/* 成功案例 */
.cases {
    padding: 100px 0;
}

.case-items {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
}

.case-item {
    width: 31%;
    position: relative;
    margin-bottom: 30px;
    overflow: hidden;
    border-radius: 10px;
}

.case-item img {
    width: 100%;
    display: block;
    transition: transform 0.3s;
}

.case-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 20px;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.8), transparent);
    color: #fff;
    transform: translateY(100%);
    transition: transform 0.3s;
}

.case-item:hover img {
    transform: scale(1.05);
}

.case-item:hover .case-overlay {
    transform: translateY(0);
}

.case-overlay h3 {
    margin-bottom: 5px;
    font-size: 20px;
}

/* 联系我们 */
.contact {
    padding: 100px 0;
    background-color: #f8f9fa;
}

.contact-content {
    display: flex;
    justify-content: space-between;
}

.contact-info, .contact-map {
    width: 48%;
}

.contact-map img {
    width: 100%;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.contact-info h3 {
    font-size: 26px;
    margin-bottom: 30px;
    color: #2c3e50;
}

.contact-info p {
    margin-bottom: 15px;
    font-size: 16px;
    color: #555;
}

.form-group {
    margin-bottom: 20px;
}

.form-group input, .form-group textarea {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 16px;
}

.form-group textarea {
    height: 150px;
    resize: none;
}

/* 页脚 */
footer {
    padding: 30px 0;
    background-color: #2c3e50;
    color: #fff;
}

.footer-content {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 20px;
}

.footer-copyright {
    text-align: center;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 20px;
    font-size: 14px;
    color: rgba(255, 255, 255, 0.7);
}

.footer-copyright p {
    margin-bottom: 10px;
}

.social-links {
    display: flex;
}

.social-links a {
    margin: 0 10px;
}

.social-links img {
    height: 30px;
}

.beian-icon {
    margin-left: 5px;
}

.beian-link {
    color: #fff;
}

/* 响应式设计 */
@media screen and (max-width: 992px) {
    .hero-content, .hero-image, .about-image, .about-text, .contact-info, .contact-map {
        width: 100%;
    }

    .hero .container, .about-content, .contact-content {
        flex-direction: column;
    }

    .hero-content, .about-image, .contact-info {
        margin-bottom: 50px;
    }

    .service-item, .case-item {
        width: 48%;
        margin-bottom: 30px;
    }
}

@media screen and (max-width: 768px) {
    header .container {
        flex-direction: column;
    }

    .logo {
        margin-bottom: 20px;
    }

    nav ul {
        flex-wrap: wrap;
        justify-content: center;
    }

    nav ul li {
        margin: 0 15px 10px;
    }

    .merchant-login-btn {
        margin-top: 15px;
    }

    .service-item, .case-item {
        width: 100%;
    }
} 