/* 全局样式 */
:root {
    --primary-color: #3498db;
    --secondary-color: #2ecc71;
    --dark-color: #2c3e50;
    --light-color: #ecf0f1;
    --danger-color: #e74c3c;
    --grey-color: #95a5a6;
    --header-height: 80px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Segoe UI', 'Helvetica Neue', Arial, sans-serif;
    font-size: 16px;
    line-height: 1.6;
    color: #333;
    background-color: var(--light-color);
}

a {
    text-decoration: none;
    color: var(--primary-color);
    transition: all 0.3s ease;
}

a:hover {
    color: var(--dark-color);
}

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

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

.btn {
    display: inline-block;
    padding: 12px 24px;
    border-radius: 30px;
    font-size: 1rem;
    font-weight: 600;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
}

.btn-primary {
    background-color: var(--primary-color);
    color: white;
}

.btn-secondary {
    background-color: transparent;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
}

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

.btn-primary:hover {
    background-color: #2980b9;
    color: white;
}

.btn-secondary:hover {
    background-color: var(--primary-color);
    color: white;
}

section {
    padding: 100px 0;
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-header h2 {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--dark-color);
    margin-bottom: 15px;
}

.section-header p {
    font-size: 1.1rem;
    color: var(--grey-color);
    max-width: 700px;
    margin: 0 auto;
}

/* 头部导航 */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: var(--header-height);
    background-color: white;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    z-index: 1000;
    transition: all 0.3s ease;
}

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

.logo {
    display: flex;
    align-items: center;
}

.logo img.company-logo {
    height: 50px;
    width: 50px;
    margin-right: 15px;
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.logo-text {
    display: flex;
    flex-direction: column;
}

.logo h1 {
    font-size: 1.5rem;
    color: var(--dark-color);
    font-weight: 700;
    margin: 0;
}

.nav ul {
    display: flex;
    list-style: none;
}

.nav ul li {
    margin-left: 30px;
}

.nav ul li a {
    color: var(--dark-color);
    font-weight: 600;
    padding: 10px 5px;
    position: relative;
}

.nav ul li a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--primary-color);
    transition: width 0.3s ease;
}

.nav ul li a:hover::after,
.nav ul li a.active::after {
    width: 100%;
}

/* 语言切换样式 */
.lang-switch {
    display: flex;
    align-items: center;
    margin-left: 40px;
}

.lang-switch a {
    font-size: 0.9rem;
    padding: 5px;
    color: var(--grey-color);
    font-weight: 500;
}

.lang-switch a.active {
    color: var(--primary-color);
    font-weight: 600;
}

.lang-switch span {
    color: var(--grey-color);
    padding: 0 5px;
}

/* 隐藏非当前语言的元素 */
.hidden {
    display: none !important;
}

/* 英雄区域 */
.hero {
    padding-top: calc(var(--header-height) + 80px);
    padding-bottom: 80px;
    background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
}

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

.hero-content {
    flex: 1;
    max-width: 500px;
}

.hero-content h2 {
    font-size: 3rem;
    font-weight: 700;
    color: var(--dark-color);
    margin-bottom: 20px;
    line-height: 1.2;
}

.hero-content p {
    font-size: 1.2rem;
    margin-bottom: 30px;
    color: var(--grey-color);
}

.hero-btns {
    display: flex;
    gap: 15px;
}

.hero-image {
    flex: 1;
    display: flex;
    justify-content: flex-end;
    position: relative;
}

.hero-image img {
    max-width: 80%;
    border-radius: 20px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
}

/* 产品介绍 */
.product {
    background-color: white;
}

.product-details {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
}

.product-text {
    flex: 1;
    min-width: 300px;
    padding: 30px;
}

.product-text p {
    font-size: 1.1rem;
    margin-bottom: 30px;
    color: #555;
    line-height: 1.8;
}

.app-links {
    display: flex;
    gap: 15px;
    margin-top: 30px;
}

.app-btn {
    display: flex;
    align-items: center;
    background-color: var(--dark-color);
    color: white;
    padding: 12px 20px;
    border-radius: 8px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.app-btn i {
    font-size: 1.5rem;
    margin-right: 10px;
}

.app-btn:hover {
    background-color: var(--primary-color);
    color: white;
    transform: translateY(-3px);
}

.product-showcase {
    flex: 1;
    min-width: 300px;
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: center;
}

.showcase-item {
    max-width: 45%;
}

.showcase-item img {
    border-radius: 15px;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.showcase-item img:hover {
    transform: scale(1.05);
}

/* 功能特点 */
.features {
    background-color: #f7f9fc;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.feature-card {
    background-color: white;
    border-radius: 15px;
    padding: 30px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.feature-icon {
    width: 70px;
    height: 70px;
    background-color: rgba(52, 152, 219, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    margin: 0 auto 20px;
}

.feature-icon i {
    font-size: 1.8rem;
    color: var(--primary-color);
}

.feature-card h3 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 15px;
    color: var(--dark-color);
}

.feature-card p {
    font-size: 1rem;
    color: var(--grey-color);
    margin-bottom: 20px;
}

.feature-card img {
    border-radius: 10px;
    margin-top: 15px;
    max-height: 200px;
    object-fit: cover;
}

/* 联系我们 */
.contact {
    background-color: white;
}

.contact-info {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 50px;
}

.info-item {
    flex: 1;
    min-width: 250px;
    max-width: 400px;
    background-color: #f7f9fc;
    padding: 30px;
    border-radius: 15px;
    text-align: center;
    transition: all 0.3s ease;
}

.info-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.05);
}

.info-icon {
    width: 60px;
    height: 60px;
    background-color: var(--primary-color);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    margin: 0 auto 20px;
}

.info-icon i {
    font-size: 1.5rem;
}

.info-item h3 {
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 15px;
    color: var(--dark-color);
}

.info-item p {
    font-size: 1rem;
    color: var(--grey-color);
}

/* 页脚 */
.footer {
    background-color: var(--dark-color);
    color: white;
    padding: 60px 0 30px;
}

.footer-content {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 40px;
}

.footer-logo {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
}

.footer-logo img.company-logo {
    height: 50px;
    width: 50px;
    margin-right: 15px;
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.3);
}

.footer-logo h2 {
    font-size: 1.5rem;
    font-weight: 700;
    margin: 0;
}

.footer-links ul {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
}

.footer-links ul li a {
    color: #ecf0f1;
    font-weight: 500;
    transition: all 0.3s ease;
}

.footer-links ul li a:hover {
    color: var(--primary-color);
}

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-bottom p {
    font-size: 0.9rem;
    color: #95a5a6;
}

/* 响应式设计 */
@media (max-width: 992px) {
    .hero .container {
        flex-direction: column;
        text-align: center;
    }

    .hero-content {
        margin-bottom: 50px;
        max-width: 100%;
    }

    .hero-btns {
        justify-content: center;
    }

    .hero-image {
        justify-content: center;
    }

    .product-details {
        flex-direction: column;
    }

    .product-text {
        text-align: center;
        margin-bottom: 40px;
    }

    .app-links {
        justify-content: center;
    }
}

@media (max-width: 768px) {
    .header {
        height: auto;
        padding: 15px 0;
    }

    .header .container {
        flex-direction: column;
    }

    .logo {
        margin-bottom: 15px;
    }

    .nav ul {
        flex-wrap: wrap;
        justify-content: center;
    }

    .nav ul li {
        margin: 5px 10px;
    }

    .hero {
        padding-top: 150px;
    }

    .feature-card img {
        max-height: 150px;
    }

    .footer-content {
        flex-direction: column;
        text-align: center;
    }

    .footer-logo {
        justify-content: center;
    }

    .footer-links ul {
        justify-content: center;
    }
    
    .lang-switch {
        margin-left: 10px;
        margin-top: 10px;
    }
}

@media (max-width: 576px) {
    .section-header h2 {
        font-size: 2rem;
    }

    .hero-content h2 {
        font-size: 2.2rem;
    }

    .showcase-item {
        max-width: 100%;
    }
    
    .lang-switch {
        margin-left: 0;
    }
} 