:root {
    --primary-color: #2563EB; /* 保持现有的蓝色 */
    --secondary-color: #0EA5E9; /* 保持现有的浅蓝色 */
    --dark-color: #1F2937;
    --light-color: #F9FAFB;
    --gray-color: #6B7280;
    --border-radius: 12px; /* 增加圆角 */
    --transition: all 0.3s ease;
    --box-shadow: 0 10px 25px rgba(37, 99, 235, 0.1); /* 添加带蓝色的阴影 */
}

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

body {
    font-family: 'Inter', sans-serif;
    color: var(--dark-color);
    line-height: 1.6;
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* 导航栏 */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: white; /* 改为白色背景 */
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 70px; /* 稍微降低高度 */
}

.logo img {
    height: 50px;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 25px;
}

.nav-link {
    text-decoration: none;
    color: var(--dark-color); /* 改为深色文字 */
    font-weight: 500;
    transition: var(--transition);
}

.nav-link:hover {
    color: var(--primary-color);
}

.language-toggle {
    background: none;
    border: 1px solid var(--primary-color);
    color: var(--primary-color);
    border-radius: 20px; /* 更圆的按钮 */
    padding: 6px 15px;
    font-weight: 500;
    cursor: pointer;
    transition: var(--transition);
}

.language-toggle:hover {
    background-color: var(--primary-color);
    color: white;
}

/* 英雄区 */
.hero {
    padding: 140px 0 80px;
    background: linear-gradient(to bottom, #f0f7ff, #ffffff); /* 更柔和的蓝色渐变 */
}

.hero .container {
    display: flex;
    align-items: center;
    gap: 60px;
}

.hero-content {
    flex: 1;
}

.hero-title {
    font-size: 3rem;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 20px;
    color: var(--dark-color); /* 改为纯色 */
}

.hero-subtitle {
    font-size: 1.3rem;
    color: var(--gray-color);
    margin-bottom: 40px;
}

.hero-image {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero-image video {
    max-width: 100%;
    border-radius: 20px;
    box-shadow: var(--box-shadow);
}

.cta-buttons {
    display: flex;
    gap: 20px;
}

.cta-button {
    display: inline-block;
    padding: 12px 30px;
    border-radius: 25px; /* 更圆的按钮 */
    font-weight: 600;
    text-decoration: none;
    transition: var(--transition);
}

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

.cta-button.primary:hover {
    background-color: #e61e3c;
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(255, 36, 66, 0.2);
}

/* 功能区 */
.features {
    padding: 80px 0;
    background-color: white;
}

.section-title {
    text-align: center;
    font-size: 2.2rem;
    margin-bottom: 50px;
    position: relative;
}

.section-title:after {
    content: "";
    display: block;
    width: 50px;
    height: 3px;
    background-color: var(--primary-color);
    margin: 15px auto 0;
}

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

.feature-card {
    background-color: white;
    border-radius: 16px;
    padding: 30px 25px;
    text-align: center;
    box-shadow: var(--box-shadow);
    transition: var(--transition);
    border: 1px solid #f0f0f0;
}

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

.feature-icon {
    width: 70px;
    height: 70px;
    margin: 0 auto 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: rgba(37, 99, 235, 0.1); /* 使用主色调的淡色 */
    border-radius: 50%;
}

.feature-icon img {
    width: 35px;
    height: 35px;
}

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

.feature-card p {
    color: var(--gray-color);
}

/* 标语区 */
.tagline {
    padding: 60px 0;
    background-color: var(--primary-color);
    color: white;
    text-align: center;
    overflow: hidden;
}

.tagline-carousel {
    position: relative;
    height: 50px;
    overflow: hidden;
}

.tagline-item {
    position: absolute;
    width: 100%;
    font-size: 2rem;
    font-weight: 700;
    opacity: 0;
    transform: translateX(100px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.tagline-item.active {
    opacity: 1;
    transform: translateX(0);
}

.tagline-item.leaving {
    opacity: 0;
    transform: translateX(-100px);
}

@media (max-width: 992px) {
    .tagline-item {
        font-size: 2rem;
    }
    
    .tagline-carousel {
        height: 50px;
    }
}

@media (max-width: 768px) {
    .tagline-item {
        font-size: 1.5rem;
    }
    
    .tagline-carousel {
        height: 40px;
    }
}

.tagline-text {
    font-size: 2.5rem;
    font-weight: 700;
}

/* 产品展示区 */
.product-showcase {
    padding: 100px 0;
    background-color: var(--light-color);
}

.product-showcase .container {
    display: flex;
    align-items: center;
    gap: 60px;
}

.showcase-content {
    flex: 1;
}

.showcase-content h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
}

.showcase-content p {
    font-size: 1.1rem;
    color: var(--gray-color);
    line-height: 1.6;
}

.showcase-image {
    flex: 1;
}

/* 截图轮播样式 */
.screenshot-carousel {
    position: relative;
    width: 100%;
    max-width: 350px;
    margin: 0 auto;
    overflow: hidden;
    border-radius: 20px;
    box-shadow: 0 20px 40px rgba(37, 99, 235, 0.15); /* 蓝色阴影 */
}

/* 移动端适配 */
@media (max-width: 768px) {
    .product-showcase .container {
        flex-direction: column;
        padding: 30px 20px;
    }
    
    .showcase-content {
        text-align: center;
        margin-bottom: 40px;
        width: 100%;
    }
    
    .showcase-image {
        width: 100%;
        display: flex;
        justify-content: center;
    }
    
    .screenshot-carousel {
        max-width: 450px; /* 移动端下更大的宽度 */
        width: 95%;
    }
}

/* 小屏幕手机适配 */
@media (max-width: 480px) {
    .screenshot-carousel {
        max-width: 380px; /* 小屏幕下仍然保持较大宽度 */
    }
}

.screenshot-container {
    position: relative;
    width: 100%;
    height: 600px; /* 默认高度 */
    overflow: hidden;
    background-color: #000; /* 添加黑色背景 */
}

.screenshot {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: contain; /* 保持图片比例 */
    opacity: 0;
    transition: opacity 0.8s ease;
}

.screenshot.active {
    opacity: 1;
}

/* 移动端适配 */
@media (max-width: 768px) {
    .screenshot-carousel {
        max-width: 400px; /* 显著增加宽度，从360px改为400px */
        width: 100%; /* 使用100%宽度确保充分利用可用空间 */
        margin: 0 auto;
    }
    
    .screenshot-container {
        height: 550px; /* 调整高度以适应手机截图 */
    }
    
    .product-showcase .container {
        flex-direction: column;
        padding: 30px 20px;
    }
    
    .showcase-content {
        text-align: center;
        margin-bottom: 40px;
    }
}

/* 小屏幕手机适配 */
@media (max-width: 480px) {
    .screenshot-carousel {
        max-width: 350px; /* 更小屏幕的宽度也增加，从320px改为350px */
        width: 100%; /* 确保在小屏幕上也能充分利用空间 */
    }
    
    .screenshot-container {
        height: 480px; /* 更小屏幕的高度 */
    }
}

.carousel-dots {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 20px;
}

.dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background-color: var(--gray-color);
    opacity: 0.5;
    cursor: pointer;
    transition: var(--transition);
}

.dot.active {
    opacity: 1;
    background-color: var(--primary-color);
}

@media (max-width: 992px) {
    .product-showcase .container {
        flex-direction: column;
    }
    
    .showcase-content {
        text-align: center;
    }
}

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

.showcase-image {
    flex: 1;
}

.showcase-image img {
    max-width: 100%;
    border-radius: 20px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

/* 下载区 */
.download {
    padding: 100px 0;
    background-color: #f7f9fc;
    text-align: center;
}

.download-subtitle {
    font-size: 1.2rem;
    color: var(--gray-color);
    margin-bottom: 40px;
}

.download-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
}

.download-button {
    display: inline-block;
    transition: var(--transition);
    width: 160px; /* 增加宽度 */
    height: 48px; /* 增加高度 */
}

.download-button:hover {
    transform: translateY(-5px);
}

.download-button img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    border-radius: 8px; /* 添加圆角 */
}

/* 页脚 */
footer {
    background-color: #fafafa;
    color: var(--dark-color);
    padding: 60px 0 40px;
    border-top: 1px solid #eee;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 40px;
}

.footer-logo img {
    height: 50px;
    margin-bottom: 20px;
}

.footer-logo p {
    color: var(--gray-color);
}

.footer-links {
    display: flex;
    gap: 60px;
}

.footer-column h4 {
    margin-bottom: 20px;
    font-size: 1.1rem;
    color: var(--dark-color);
}

.footer-column a {
    display: block;
    color: var(--gray-color);
    margin-bottom: 10px;
    text-decoration: none;
    transition: var(--transition);
}

.footer-column a:hover {
    color: var(--primary-color);
}

/* 添加产品演示视频样式 */
.demo-video {
    width: 100%;
    max-width: 800px;
    margin: 0 auto;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.demo-video video {
    width: 100%;
    display: block;
}

/* 语言切换 */
[data-lang="en"] {
    display: none;
}

.footer-links {
    display: flex;
    gap: 60px;
}

.footer-column h4 {
    margin-bottom: 20px;
    font-size: 1.2rem;
}

.footer-column a {
    display: block;
    color: var(--gray-color);
    margin-bottom: 10px;
    text-decoration: none;
    transition: var(--transition);
}

.footer-column a:hover {
    color: white;
}

/* 响应式设计 */
@media (max-width: 992px) {
    .hero .container,
    .product-showcase .container {
        flex-direction: column;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-subtitle {
        font-size: 1.2rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .tagline-text {
        font-size: 1.8rem;
    }
    
    .footer-links {
        gap: 30px;
    }
}

@media (max-width: 768px) {
    nav {
        height: 60px;
    }
    
    .nav-links {
        gap: 15px;
    }
    
    .hero {
        padding: 120px 0 60px;
    }
    
    .feature-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-content {
        flex-direction: column;
    }
    
    .showcase-content h2 {
        font-size: 1.8rem;
    }
    
    .product-showcase .container {
        padding: 30px 20px;
    }
    
    .showcase-content {
        text-align: center;
        margin-bottom: 40px;
    }
    
    .screenshot-carousel {
        max-width: 400px;
        width: 100%;
    }
    
    .screenshot-container {
        height: 550px;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 2rem;
    }
    
    .section-title {
        font-size: 1.8rem;
    }
    
    .screenshot-carousel {
        max-width: 350px;
    }
    
    .screenshot-container {
        height: 480px;
    }
    
    .download-buttons {
        flex-direction: column;
        align-items: center;
    }
}


/* 在响应式设计部分添加以下内容 */

/* 移动端菜单 */
.mobile-menu-button {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    width: 30px;
    height: 24px;
    position: relative;
    z-index: 1001;
}

.mobile-menu-button span {
    display: block;
    width: 100%;
    height: 3px;
    background-color: var(--dark-color);
    margin: 5px 0;
    transition: var(--transition);
}

@media (prefers-color-scheme: dark) {
    .mobile-menu-button span {
        background-color: white;
    }
}

@media (max-width: 768px) {
    .mobile-menu-button {
        display: block;
    }
    
    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        width: 70%;
        height: 100vh;
        background-color: white;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        transition: right 0.3s ease;
        z-index: 1000;
        box-shadow: -5px 0 15px rgba(0, 0, 0, 0.1);
    }
    
    .nav-links.active {
        right: 0;
    }
    
    .mobile-menu-button.active span:nth-child(1) {
        transform: rotate(45deg) translate(5px, 6px);
    }
    
    .mobile-menu-button.active span:nth-child(2) {
        opacity: 0;
    }
    
    .mobile-menu-button.active span:nth-child(3) {
        transform: rotate(-45deg) translate(5px, -6px);
    }
    
    @media (prefers-color-scheme: dark) {
        .nav-links {
            background-color: #1F2937;
        }
    }
}

/* 添加动画效果 */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes slideInRight {
    from { opacity: 0; transform: translateX(50px); }
    to { opacity: 1; transform: translateX(0); }
}

@keyframes slideInLeft {
    from { opacity: 0; transform: translateX(-50px); }
    to { opacity: 1; transform: translateX(0); }
}

@keyframes pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.05); }
    100% { transform: scale(1); }
}

.hero-content {
    animation: slideInLeft 1s ease-out;
}

.hero-image {
    animation: slideInRight 1s ease-out;
}

.feature-card {
    animation: fadeIn 0.8s ease-out;
    animation-fill-mode: both;
}

.feature-card:nth-child(1) {
    animation-delay: 0.2s;
}

.feature-card:nth-child(2) {
    animation-delay: 0.4s;
}

.feature-card:nth-child(3) {
    animation-delay: 0.6s;
}

.cta-button.primary:hover {
    animation: pulse 1s infinite;
}

.showcase-content {
    animation: slideInLeft 1s ease-out;
}

.showcase-image {
    animation: slideInRight 1s ease-out;
}

/* 添加滚动触发动画 */
.scroll-animation {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.scroll-animation.active {
    opacity: 1;
    transform: translateY(0);
}

/* 添加暗色模式支持 */
@media (prefers-color-scheme: dark) {
    body {
        background-color: #111827;
        color: #F9FAFB;
    }
    
    header {
        background-color: rgba(17, 24, 39, 0.95);
    }
    
    .nav-link {
        color: #F9FAFB;
    }
    
    .hero {
        background: linear-gradient(to bottom, #111827, #1F2937);
    }
    
    .features, .product-showcase {
        background-color: #1F2937;
    }
    
    .feature-card {
        background-color: #374151;
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    }
    
    .download {
        background-color: #111827;
    }
}

/* 新的功能展示样式 */
.features-showcase {
    display: flex;
    flex-direction: column;
    gap: 80px;
    margin-top: 60px;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 50px;
}

.feature-item.reverse {
    flex-direction: row-reverse;
}

.feature-content {
    flex: 1;
}

.feature-header {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
}

.feature-icon {
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: rgba(37, 99, 235, 0.1);
    border-radius: 50%;
    margin-right: 15px;
}

.feature-icon img {
    width: 25px;
    height: 25px;
}

.feature-header h3 {
    font-size: 1.8rem;
    font-weight: 600;
    color: var(--dark-color);
    margin: 0;
}

.feature-description p {
    font-size: 1.1rem;
    color: var(--gray-color);
    margin-bottom: 15px;
    line-height: 1.6;
}

.feature-example {
    background-color: #f0f7ff;
    padding: 15px 20px;
    border-radius: 10px;
    font-size: 1rem;
    color: var(--gray-color);
    line-height: 1.5;
    margin-top: 15px;
}

.example-label {
    font-weight: 600;
    color: var(--primary-color);
}

.feature-image {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
}

/* 调整功能展示图片大小 */
.feature-image img {
    max-width: 70%;  /* 将图片宽度从80%减小到70% */
    max-height: 400px;  /* 限制图片最大高度为400px */
    border-radius: 15px;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
    display: block;
    margin: 0 auto;  /* 居中显示 */
    object-fit: contain;  /* 确保图片保持比例 */
}

/* 在移动设备上进一步调整 */
@media (max-width: 992px) {
    .feature-image img {
        max-width: 60%;  /* 在移动设备上进一步缩小宽度到60% */
        max-height: 350px;  /* 在移动设备上减小最大高度 */
    }
}

@media (max-width: 768px) {
    .feature-image img {
        max-width: 70%;  /* 在更小的设备上适当增加宽度比例 */
        max-height: 300px;  /* 在更小的设备上进一步减小高度 */
    }
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 50px;
}

.feature-item.reverse {
    flex-direction: row-reverse;
}

.feature-content {
    flex: 1;
}

.feature-header {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
}

.feature-icon {
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: rgba(37, 99, 235, 0.1);
    border-radius: 50%;
    margin-right: 15px;
}

.feature-icon img {
    width: 25px;
    height: 25px;
}

.feature-header h3 {
    font-size: 1.8rem;
    font-weight: 600;
    color: var(--dark-color);
    margin: 0;
}

.feature-description p {
    font-size: 1.1rem;
    color: var(--gray-color);
    margin-bottom: 15px;
    line-height: 1.6;
}

.feature-example {
    background-color: #f0f7ff;
    padding: 15px 20px;
    border-radius: 10px;
    font-size: 1rem;
    color: var(--gray-color);
    line-height: 1.5;
    margin-top: 15px;
}

.example-label {
    font-weight: 600;
    color: var(--primary-color);
}

.feature-image {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
}

.feature-image img {
    max-width: 100%;
    border-radius: 15px;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

/* 响应式调整 */
@media (max-width: 992px) {
    .feature-item, 
    .feature-item.reverse {
        flex-direction: column;
    }
    
    .feature-content {
        order: 2;
    }
    
    .feature-image {
        order: 1;
        margin-bottom: 30px;
    }
    
    .feature-header h3 {
        font-size: 1.5rem;
    }
}

.app-store-video {
    margin-top: 40px;
    max-width: 180px;
    margin-left: auto;
    margin-right: auto;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.app-store-video video {
    display: block;
    width: 100%;
}

/* 添加备案信息样式 */
.beian-info {
    margin-top: 0;
    font-size: 0.9rem;
    color: var(--gray-color);
}

.beian-info p {
    margin: 5px 0;
}

.beian-info a {
    color: var(--gray-color);
    text-decoration: none;
    transition: var(--transition);
}

.beian-info a:hover {
    color: var(--primary-color);
}

/* 暗色模式适配 */
@media (prefers-color-scheme: dark) {
    .beian-info {
        color: rgba(255, 255, 255, 0.7);
    }
    
    .beian-info a {
        color: rgba(255, 255, 255, 0.7);
    }
    
    .beian-info a:hover {
        color: white;
    }
}

/* 移动端适配 */
@media (max-width: 768px) {
    .beian-info {
        font-size: 0.8rem;
        text-align: center;
    }
}