/* 全局样式 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'PingFang SC', 'Microsoft YaHei', sans-serif;
}

:root {
    --primary-color: #2948FF;
    --secondary-color: #396AFF;
    --text-color: #333;
    --light-text: #666;
    --background: #f8f9fa;
    --white: #ffffff;
    --card-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    --hover-shadow: 0 10px 20px rgba(41, 72, 255, 0.2);
}

body {
    color: var(--text-color);
    line-height: 1.6;
    background-color: var(--background);
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.btn {
    display: inline-block;
    padding: 12px 30px;
    background: linear-gradient(90deg, var(--secondary-color), var(--primary-color));
    color: var(--white);
    border-radius: 30px;
    font-weight: 600;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    text-align: center;
}

.btn:hover {
    transform: translateY(-2px);
    box-shadow: var(--hover-shadow);
}

.btn-outline {
    background: transparent;
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
}

.btn-outline:hover {
    background: var(--primary-color);
    color: var(--white);
}

section {
    padding: 80px 0;
}

.section-title {
    text-align: center;
    margin-bottom: 50px;
}

.section-title h2 {
    font-size: 2.25rem;
    margin-bottom: 15px;
    color: #1a1a1a;
}

.section-title p {
    font-size: 1.125rem;
    color: var(--light-text);
    max-width: 600px;
    margin: 0 auto;
}

/* 导航栏 */
header {
    background-color: var(--white);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 0;
}

.logo {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-color);
    display: flex;
    align-items: center;
}

.logo img {
    height: 30px
}

.logo span {
    margin-left: 8px;
}

.nav-links {
    display: flex;
    gap: 30px;
}

.nav-links a {
    font-weight: 500;
    transition: color 0.3s;
}

.nav-links a:hover {
    color: var(--primary-color);
}

.nav-buttons {
    display: flex;
    gap: 15px;
    align-items: center;
}

.language-selector {
    position: relative;
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 15px;
    /*background: #f5f7ff;*/
    border-radius: var(--border-radius);
    cursor: pointer;
    transition: all 0.3s
}

.language-selector:hover {
    /*background: #e8ecff*/
}

.language-selector i.globe {
    color: var(--primary-color);
    font-size: 1.2rem
}

.language-text {
    font-weight: 500;
    color: var(--text-color)
}

.language-selector i.chevron {
    color: var(--light-text);
    transition: transform 0.3s
}

.language-options {
    position: absolute;
    top: 100%;
    right: 0;
    background: var(--white);
    border-radius: var(--border-radius);
    box-shadow: var(--card-shadow);
    padding: 10px 0;
    margin-top: 10px;
    min-width: 150px;
    display: none;
    z-index: 100
}

.language-options a {
    color: #0a1219;
    text-decoration: none
}

.language-options .active a {
    color: var(--primary-color)
}

.language-option {
    padding: 10px 20px;
    display: flex;
    align-items: center;
    gap: 10px;
    transition: all 0.3s
}

.language-option:hover {
    background: #f5f7ff
}

.language-option.active {
    color: var(--primary-color);
    font-weight: 500
}

.language-selector.active .language-options {
    display: block
}

.language-selector.active i.chevron {
    transform: rotate(180deg)
}

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--primary-color);
}

/* 英雄区域 */
.hero {
    padding-top: 150px;
    padding-bottom: 80px;
    background: linear-gradient(135deg, #f5f7ff 0%, #e8ecff 100%);
}

.hero-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
}

.hero-text {
    flex: 1;
    padding-right: 50px;
    min-width: 300px;
}

.hero-text h1 {
    font-size: 3rem;
    line-height: 1.2;
    margin-bottom: 20px;
    color: #1a1a1a;
}

.hero-text p {
    font-size: 1.125rem;
    color: var(--light-text);
    margin-bottom: 30px;
    max-width: 600px;
}

.hero-buttons {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.hero-image {
    flex: 1;
    text-align: center;
    min-width: 300px;
}

.hero-image img {
    max-width: 100%;
    border-radius: 10px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

/* 特性部分 */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.feature-card {
    background: var(--white);
    padding: 40px 30px;
    border-radius: 10px;
    box-shadow: var(--card-shadow);
    transition: transform 0.3s ease;
    display: flex;
    align-items: flex-start;
    gap: 20px;
}

.feature-card:hover {
    transform: translateY(-5px);
}

.feature-icon {
    width: 60px;
    height: 60px;
    background: #e8ecff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.feature-icon i {
    font-size: 24px;
    color: var(--primary-color);
}

.feature-content h3 {
    font-size: 1.25rem;
    margin-bottom: 15px;
}

/* 如何运作部分 */
.how-it-works {
    background-color: #f5f7ff;
}

.steps {
    display: flex;
    justify-content: space-between;
    max-width: 900px;
    margin: 0 auto;
    flex-wrap: wrap;
}

.step {
    text-align: center;
    flex: 1;
    position: relative;
    min-width: 200px;
    margin-bottom: 30px;
}

.step:not(:last-child)::after {
    content: "";
    position: absolute;
    top: 40px;
    right: -50px;
    width: 100px;
    height: 2px;
    background: var(--primary-color);
    opacity: 0.3;
}

.step-number {
    width: 80px;
    height: 80px;
    background: var(--primary-color);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: bold;
    margin: 0 auto 20px;
}

.step h3 {
    margin-bottom: 10px;
}

/* 为什么选择部分 */
.why-choose {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
    align-items: center;
}

.why-choose-content h3 {
    font-size: 1.75rem;
    margin-bottom: 20px;
}

.why-choose-content p {
    margin-bottom: 25px;
    color: var(--light-text);
}

.why-choose-features {
    margin-top: 30px;
}

.why-choose-feature {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
}

.why-choose-feature i {
    color: var(--primary-color);
    margin-right: 10px;
}

/* 比较表格 */
.comparison {
    background-color: #f5f7ff;
}

.comparison-table {
    background: var(--white);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: var(--card-shadow);
    overflow-x: auto;
}

.comparison-header {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    background: var(--primary-color);
    color: var(--white);
    padding: 20px;
    font-weight: bold;
    min-width: 600px;
}

.comparison-row {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    padding: 15px 20px;
    border-bottom: 1px solid #f0f0f0;
    min-width: 600px;
}

.comparison-row:nth-child(even) {
    background: #f9f9f9;
}

.comparison-row i.fa-check {
    color: #4CAF50;
}

.comparison-row i.fa-times {
    color: #F44336;
}

/* FAQ部分 */
.faq-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.faq-item {
    background: var(--white);
    border-radius: 10px;
    padding: 25px;
    box-shadow: var(--card-shadow);
}

.faq-item h3 {
    font-size: 1.125rem;
    margin-bottom: 15px;
    color: var(--primary-color);
}

/* CTA部分 */
.cta {
    background: linear-gradient(90deg, var(--secondary-color), var(--primary-color));
    color: var(--white);
    text-align: center;
    padding: 80px 0;
}

.cta h2 {
    font-size: 2.25rem;
    margin-bottom: 20px;
}

.cta p {
    max-width: 600px;
    margin: 0 auto 30px;
    font-size: 1.125rem;
    opacity: 0.9;
}

.cta .btn {
    background: var(--white);
    color: var(--primary-color);
}

/* 页脚 */
footer {
    background: #1a1a1a;
    color: var(--white);
    padding: 70px 0 30px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 40px;
    margin-bottom: 50px;
}

.footer-column h3 {
    font-size: 1.125rem;
    margin-bottom: 20px;
    color: var(--white);
}

.footer-column p {
    opacity: 0.7;
    margin-bottom: 20px;
}

.footer-links li {
    margin-bottom: 12px;
}

.footer-links a {
    opacity: 0.7;
    transition: opacity 0.3s;
}

.footer-links a:hover {
    opacity: 1;
}

.social-links {
    display: flex;
    gap: 15px;
    margin-top: 20px;
}

.social-links a {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.3s;
}

.social-links a:hover {
    background: rgba(255, 255, 255, 0.2);
}

.copyright {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    opacity: 0.7;
    font-size: 0.875rem;
}

/* 响应式设计 */
@media (max-width: 1024px) {
    .hero-text {
        padding-right: 20px;
    }

    .hero-text h1 {
        font-size: 2.5rem;
    }

    .step:not(:last-child)::after {
        display: none;
    }
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
    }

    .mobile-menu-btn {
        display: block;
    }

    .hero {
        padding-top: 120px;
    }

    .hero-content {
        flex-direction: column;
    }

    .hero-text {
        padding-right: 0;
        margin-bottom: 40px;
        text-align: center;
    }

    .hero-buttons {
        justify-content: center;
    }

    .section-title h2 {
        font-size: 1.875rem;
    }

    .step {
        flex: 0 0 100%;
        margin-bottom: 40px;
    }

    .why-choose {
        grid-template-columns: 1fr;
    }

    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .social-links {
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .hero-text h1 {
        font-size: 2rem;
    }

    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }

    .hero-buttons .btn {
        width: 100%;
        margin-bottom: 10px;
    }

    .feature-card {
        flex-direction: column;
        text-align: center;
        align-items: center;
    }

    .section-title h2 {
        font-size: 1.5rem;
    }

    .section-title p {
        font-size: 1rem;
    }

    .cta h2 {
        font-size: 1.75rem;
    }

    .nav-buttons {
        flex-direction: column;
        gap: 10px;
    }
}
