/* 全局样式 */
* {
    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 {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
}

.section-title {
    text-align: center;
    font-size: 28px;
    font-weight: 600;
    margin-bottom: 10px;
    position: relative;
    padding-bottom: 15px;
}

.section-title::before,
.section-title::after {
    content: "——";
    display: inline-block;
    margin: 0 10px;
    color: #666;
}

.section-desc {
    text-align: center;
    color: #666;
    margin-bottom: 40px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.btn {
    display: inline-block;
    padding: 10px 25px;
    border-radius: 30px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
    outline: none;
}

.btn-primary {
    background-color: #4285f4;
    color: white;
}

.btn-primary:hover {
    background-color: #3367d6;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(66, 133, 244, 0.3);
}

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

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

.logo {
    display: flex;
    align-items: center;
    font-size: 20px;
    font-weight: bold;
}

.logo-img {
    height: 30px;
    margin-right: 10px;
}

.nav ul {
    display: flex;
    gap: 20px;
}

.nav a {
    padding: 5px 0;
    position: relative;
    font-size: 14px;
}

.nav a.active,
.nav a:hover {
    color: #4285f4;
}

.nav a.active::after,
.nav a:hover::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: #4285f4;
}

.header-right {
    display: flex;
    align-items: center;
    gap: 15px;
}

.search-icon,
.user-icon {
    font-size: 18px;
    color: #666;
}

.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
}

.mobile-menu-toggle span {
    width: 25px;
    height: 3px;
    background-color: #333;
    border-radius: 3px;
}

/* 主标题区域 */
.hero {
    padding: 60px 0;
    text-align: center;
    background-color: #f9f9f9;
    background-image: url('../images/hero-bg.png');
    background-size: cover;
    background-position: center;
    position: relative;
}

.hero h1 {
    font-size: 42px;
    margin-bottom: 15px;
    color: #333;
}

.hero .subtitle {
    font-size: 18px;
    color: #666;
    margin-bottom: 50px;
}

/* 特点图标区域 */
.features {
    display: flex;
    justify-content: space-around;
    margin-bottom: 50px;
    flex-wrap: wrap;
    gap: 20px;
}

.feature {
    display: flex;
    align-items: center;
    background-color: white;
    border-radius: 10px;
    padding: 15px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    width: calc(33.333% - 20px);
    position: relative;
}

.feature-icon {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 15px;
    flex-shrink: 0;
}

.feature-icon.green {
    background-color: #e6f4ea;
    color: #34a853;
}

.feature-icon.blue {
    background-color: #e8f0fe;
    color: #4285f4;
}

.feature-icon.purple {
    background-color: #f3e8fd;
    color: #a142f4;
}

.feature-icon i,
.feature-icon img {
    font-size: 24px;
    width: 30px;
    height: 30px;
    object-fit: contain;
}

.feature-text {
    flex-grow: 1;
}

.feature-text p {
    margin: 0;
    font-size: 14px;
    line-height: 1.4;
}

.feature-badge {
    position: absolute;
    top: -10px;
    right: 10px;
}

.feature-badge span {
    background-color: #fbbc05;
    color: white;
    font-size: 12px;
    padding: 3px 8px;
    border-radius: 10px;
}

/* 数据统计区域 */
.stats {
    display: flex;
    justify-content: space-around;
    margin-top: 50px;
    flex-wrap: wrap;
}

.stat-item {
    text-align: center;
    padding: 0 20px;
}

.stat-item h2 {
    font-size: 36px;
    font-weight: bold;
    margin-bottom: 5px;
    background: linear-gradient(45deg, #4285f4, #34a853, #fbbc05, #ea4335);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.stat-item p {
    color: #666;
    font-size: 16px;
}

/* API介绍区域 */
.api-intro {
    padding: 80px 0;
    background-color: white;
}

.api-features {
    display: flex;
    justify-content: space-between;
    margin-bottom: 30px;
    flex-wrap: wrap;
}

.api-feature {
    width: calc(33.333% - 20px);
    background-color: #f9f9f9;
    border-radius: 10px;
    padding: 25px;
    margin-bottom: 20px;
    transition: all 0.3s ease;
}

.api-feature:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.api-icon {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background-color: #e8f0fe;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 15px;
}

.api-icon i {
    font-size: 28px;
    color: #4285f4;
}

.api-feature h3 {
    font-size: 18px;
    margin-bottom: 10px;
}

.api-feature p {
    color: #666;
    font-size: 14px;
    line-height: 1.6;
}

/* 接入模型区域 */
.models {
    padding: 80px 0;
    background-color: #f9f9f9;
}

.model-logos {
    margin-bottom: 40px;
}

.model-row {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 20px;
    gap: 20px;
}

.model-logo {
    width: 120px;
    height: 60px;
    background-color: white;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

.model-logo:hover {
    transform: scale(1.05);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.model-logo img {
    max-width: 80%;
    max-height: 80%;
    object-fit: contain;
}

.model-more {
    text-align: center;
}

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

.comparison {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 50px;
}

.comparison-left,
.comparison-right {
    width: 45%;
}

.comparison-item {
    background-color: white;
    border-radius: 10px;
    padding: 15px 20px;
    margin-bottom: 15px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

.comparison-left .comparison-item {
    background-color: #e8f0fe;
    color: #4285f4;
    border-left: 4px solid #4285f4;
}

.comparison-right .comparison-item {
    background-color: #fce8e6;
    color: #ea4335;
    border-left: 4px solid #ea4335;
}

.comparison-item:hover {
    transform: translateX(5px);
}

.vs {
    font-size: 36px;
    font-weight: bold;
    color: #666;
    position: relative;
}

.vs::before,
.vs::after {
    content: '';
    position: absolute;
    width: 50px;
    height: 2px;
    background-color: #ddd;
}

.vs::before {
    top: 50%;
    right: 60px;
}

.vs::after {
    top: 50%;
    left: 60px;
}

/* 加入我们区域 */
.join-us {
    padding: 80px 0;
    background-color: #f9f9f9;
}

.team {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.team-member {
    display: flex;
    background-color: white;
    border-radius: 10px;
    padding: 25px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

.team-member:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.member-avatar {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    overflow: hidden;
    margin-right: 20px;
    flex-shrink: 0;
}

.member-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.member-info h3 {
    font-size: 20px;
    margin-bottom: 5px;
}

.member-title {
    color: #4285f4;
    font-size: 16px;
    margin-bottom: 10px;
}

.member-desc {
    color: #666;
    font-size: 14px;
    line-height: 1.6;
}

/* 自选渠道分担区域 */
.channels {
    padding: 80px 0;
    background-color: white;
}

.channel-question {
    background-color: #f9f9f9;
    border-radius: 10px;
    padding: 30px;
    margin-bottom: 30px;
}

.channel-question h3 {
    font-size: 20px;
    margin-bottom: 15px;
    color: #4285f4;
}

.channel-question p {
    color: #666;
    line-height: 1.8;
}

.channel-action {
    text-align: center;
    margin-top: 40px;
}

/* 联系我们区域 */
.contact {
    padding: 80px 0;
    background-color: #f9f9f9;
}

.contact-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.contact-left {
    width: 60%;
}

.contact-left h2 {
    font-size: 32px;
    margin-bottom: 20px;
    line-height: 1.3;
}

.contact-left p {
    color: #666;
    margin-bottom: 30px;
}

.contact-info p {
    margin-bottom: 10px;
}

.contact-right {
    width: 30%;
    text-align: center;
}

.contact-right img {
    max-width: 200px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

/* 页脚区域 */
.footer {
    background-color: #f2f2f2;
    padding: 20px 0;
    font-size: 14px;
    color: #666;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* 响应式设计 */
@media (max-width: 1024px) {
    .feature {
        width: calc(50% - 20px);
    }
    
    .api-feature {
        width: calc(50% - 15px);
    }
}

@media (max-width: 768px) {
    .nav {
        display: none;
    }
    
    .mobile-menu-toggle {
        display: flex;
    }
    
    .feature {
        width: 100%;
    }
    
    .api-feature {
        width: 100%;
    }
    
    .comparison {
        flex-direction: column;
        gap: 40px;
    }
    
    .comparison-left,
    .comparison-right {
        width: 100%;
    }
    
    .vs {
        margin: 20px 0;
    }
    
    .vs::before,
    .vs::after {
        display: none;
    }
    
    .contact-content {
        flex-direction: column;
        text-align: center;
    }
    
    .contact-left,
    .contact-right {
        width: 100%;
        margin-bottom: 30px;
    }
    
    .footer-content {
        flex-direction: column;
        gap: 10px;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .hero h1 {
        font-size: 32px;
    }
    
    .section-title {
        font-size: 24px;
    }
    
    .section-title::before,
    .section-title::after {
        display: none;
    }
    
    .team-member {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
    
    .member-avatar {
        margin-right: 0;
        margin-bottom: 15px;
    }
}
