/* 全局样式重置 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'PingFang SC', 'Microsoft YaHei', sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #fff;
}


.container {
    max-width: 1600px;
    margin: 0 auto;
    padding: 0 20px;
}

/* 头部样式 */
header {
    background-color: #fff;
    /* box-shadow: 0 2px 5px rgba(0,0,0,0.1); */
    border-bottom: 2px solid #eee;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
}

header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px 0 20px;
}

.logo {
    display: flex;
    align-items: center;
    height: 120px;
    object-fit: cover;
}

.logo img {
    height: 100%;
    width: 100%;
    margin-right: 10px;
}

.logo-text {
    font-size: 24px;
    font-weight: bold;
    color: #333;
}

.header-right {
    display: flex;
    align-items: center;
}

nav ul {
    display: flex;
    list-style: none;
    align-items: center;
}

nav ul li {
    margin-left: 30px;
}

nav ul li a {
    text-decoration: none;
    color: #333;
    font-weight: 500;
    transition: all 0.3s;
}

nav ul li a:hover {
    color: #1890ff;
}

.login-btn {
    padding: 8px 20px;
    background-color: #1890ff;
    color: #fff !important;
    border-radius: 4px;
}

.login-btn:hover {
    background-color: #40a9ff;
}

nav ul li a.active {
    color: #1890ff;
}

.active {
    color: #1890ff;
}

/* 主要内容区域 */
main {
    margin-top: 70px;
    padding: 40px 0;
}

/* 英雄区域样式 */
.hero {
    padding: 40px 0;
    background-color: #fff;
}

.hero .container {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
}

.hero-content {
    width: 700px;
    height: 650px;
}

.hero-content h1 {
    font-size: 28px;
    margin-bottom: 30px;
    color: #000;
    font-weight: bold;
}

.description p {
    margin-bottom: 15px;
    color: #666;
    font-size: 16px;
    line-height: 1.8;
}

.sub-title {
    font-size: 20px;
    margin-top: 30px;
    color: #000;
    font-weight: bold;
    font-style: italic;
    padding: 0 60px ;
}

.hero-image {
    width: 1200px;
}

.hero-image img {
    width: 100%;
    height: auto;
    border-radius: 8px;
}

/* 特性区域样式 */
.features {
    padding: 40px 0;
    background: #fff;
}

.features .container {
    max-width: 1200px;
}

.feature-item {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 40px;
    margin-bottom: 60px;
}

/* 偶数项布局反转 */
.feature-item:nth-child(even) {
    flex-direction: row-reverse;
}

.feature-image {
    flex: 0 0 500px;
}

.feature-image img {
    width: 100%;
    height: auto;
    border-radius: 8px;
}

.feature-text {
    flex: 1;
    padding-top: 20px;
}

.feature-text p {
    font-size: 16px;
    line-height: 1.8;
    color: #333;
}

/* CTA区域样式 */
.cta {
    padding: 80px 0;
    /* background: #f8f9fa; */
    text-align: center;
}

.cta h2 {
    margin-bottom: 40px;
    font-size: 2em;
    color: #1a1a1a;
}

.cta img {
    max-width: 100%;
    border-radius: 10px;
    /* box-shadow: 0 10px 20px rgba(0,0,0,0.1); */
}

/* 页脚样式 */
footer {
    background: #fff;
    padding: 40px 0 0;
}

footer .container {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    padding: 0 60px;
}

.footer-left {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.footer-left .logo {
    height: 100px;
}

.footer-left .logo img {
    height: 100%;
    width: auto;
}

/* 表单样式 */
.contact-form {
    display: flex;
    flex-direction: column;
    gap: 15px;
    width: 300px;
}

.form-group {
    display: flex;
    align-items: center;
}

.form-group label {
    width: 50px;
    color: #333;
    font-size: 14px;
}

.form-group input {
    flex: 1;
    padding: 8px 12px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 14px;
    outline: none;
    transition: border-color 0.3s;
}

.form-group input:focus {
    border-color: #1890ff;
}

.form-group input::placeholder {
    color: #999;
}

.footer-right img {
    width: 120px;
    height: 120px;
}

.footer-bottom {
    margin-top: 40px;
    border-top: 1px solid #eee;
    padding: 20px 0;
}

.footer-bottom .container {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    gap: 10px;
}

.company-info p {
    color: #666;
    font-size: 14px;
}

.terms {
    display: flex;
    gap: 20px;
}

.terms a {
    color: #666;
    text-decoration: none;
    font-size: 14px;
}

.terms a:hover {
    color: #1890ff;
}



/* 响应式设计 */
@media (max-width: 768px) {
    .hero .container {
        flex-direction: column;
    }

    .hero-content, .hero-image {
        width: 100%;
    }

    nav ul li {
        margin-left: 15px;
    }

    .feature-item,
    .feature-item:nth-child(even) {
        flex-direction: column;
    }
    
    .feature-image {
        flex: 0 0 auto;
        width: 100%;
    }

    footer .container {
        flex-direction: column;
        align-items: center;
        text-align: center;
        padding: 0 20px;
    }

    .footer-left {
        align-items: center;
        margin-bottom: 30px;
    }

    .footer-bottom .container {
        padding: 0 20px;
    }
} 

.hidden {
    display: none;
}
