/* 全局样式 */
:root {
    --primary-color: #2563eb;
    --primary-dark: #1d4ed8;
    --primary-light: #60a5fa;
    --secondary-color: #10b981;
    --text-color: #1f2937;
    --text-light: #6b7280;
    --background-light: #f9fafb;
    --background-white: #ffffff;
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    --border-radius: 8px;
    --transition: all 0.3s ease;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'PingFang SC', 'Helvetica Neue', Arial, sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    background-color: var(--background-light);
}

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

h1, h2, h3, h4, h5, h6 {
    font-weight: 600;
    line-height: 1.3;
}

a {
    text-decoration: none;
    color: var(--primary-color);
    transition: var(--transition);
}

ul {
    list-style: none;
}

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

.section-title {
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 1rem;
}

.section-subtitle {
    font-size: 1.1rem;
    text-align: center;
    color: var(--text-light);
    margin-bottom: 3rem;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

/* 按钮样式 */
.btn-primary {
    display: inline-block;
    background-color: var(--primary-color);
    color: white;
    padding: 12px 24px;
    border-radius: var(--border-radius);
    font-weight: 600;
    transition: var(--transition);
    box-shadow: var(--shadow-md);
}

.btn-primary:hover {
    background-color: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.btn-secondary {
    display: inline-block;
    background-color: transparent;
    color: var(--primary-color);
    padding: 12px 24px;
    border-radius: var(--border-radius);
    font-weight: 600;
    border: 2px solid var(--primary-color);
    transition: var(--transition);
}

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

.btn-small {
    display: inline-block;
    background-color: var(--primary-color);
    color: white;
    padding: 8px 16px;
    border-radius: var(--border-radius);
    font-weight: 600;
    transition: var(--transition);
}

.btn-small:hover {
    background-color: var(--primary-dark);
}

/* 顶部导航栏 */
header {
    background-color: var(--background-white);
    box-shadow: var(--shadow-sm);
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
}

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

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

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

.logo h1 {
    font-size: 1.5rem;
    color: var(--primary-color);
}

nav ul {
    display: flex;
}

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

nav ul li a {
    color: var(--text-color);
    font-weight: 500;
}

nav ul li a:hover {
    color: var(--primary-color);
}

.menu-toggle {
    display: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--text-color);
}

/* 英雄区域 */
.hero {
    padding: 120px 0 80px;
    background: linear-gradient(135deg, #f0f9ff 0%, #e0f2fe 100%);
    position: relative;
    overflow: hidden;
}

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

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

.hero-content h2 {
    font-size: 3rem;
    margin-bottom: 1.5rem;
    color: var(--text-color);
}

.hero-content p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    color: var(--text-light);
}

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

.hero-image {
    flex: 1;
    position: relative;
    text-align: center;
}

.hero-image img {
    max-width: 100%;
    position: relative;
    z-index: 2;
    animation: float 6s ease-in-out infinite;
}

.wave-animation {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100px;
    z-index: 1;
}

.wave {
    fill: var(--primary-light);
    opacity: 0.2;
    animation: wave 8s linear infinite;
}

@keyframes float {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-20px);
    }
}

@keyframes wave {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-50%);
    }
}

/* 核心功能区 */
.features {
    padding: 80px 0;
    background-color: var(--background-white);
}

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

.feature-card {
    background-color: var(--background-white);
    border-radius: var(--border-radius);
    padding: 30px;
    box-shadow: var(--shadow-md);
    transition: var(--transition);
    text-align: center;
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
}

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

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

.feature-card h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
}

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

/* 使用场景 */
.scenarios {
    padding: 80px 0;
    background-color: var(--background-light);
}

.scenario-wrapper {
    display: flex;
    flex-direction: column;
    gap: 60px;
}

.scenario-card {
    display: flex;
    align-items: center;
    gap: 40px;
}

.scenario-card.reverse {
    flex-direction: row-reverse;
}

.scenario-image {
    flex: 1;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.scenario-image img {
    width: 100%;
    height: auto;
    transition: var(--transition);
}

.scenario-image:hover img {
    transform: scale(1.05);
}

.scenario-content {
    flex: 1;
}

.scenario-content h3 {
    font-size: 2rem;
    margin-bottom: 15px;
    color: var(--primary-color);
}

.scenario-content p {
    margin-bottom: 20px;
    font-size: 1.1rem;
}

.scenario-content ul {
    margin-left: 20px;
}

.scenario-content ul li {
    margin-bottom: 10px;
    position: relative;
    padding-left: 25px;
}

.scenario-content ul li:before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--secondary-color);
    font-weight: bold;
}

/* 数据统计 */
.stats {
    padding: 60px 0;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    color: white;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    text-align: center;
}

.stat-item h3 {
    font-size: 3rem;
    margin-bottom: 10px;
}

.stat-item p {
    font-size: 1.1rem;
    opacity: 0.9;
}

/* 用户评价 */
.testimonials {
    padding: 80px 0;
    background-color: var(--background-white);
}

.testimonial-slider {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
    overflow: hidden;
}

.testimonial-card {
    background-color: var(--background-light);
    border-radius: var(--border-radius);
    padding: 30px;
    box-shadow: var(--shadow-md);
    margin: 20px;
    opacity: 0;
    position: absolute;
    top: 0;
    left: 0;
    width: calc(100% - 40px);
    transition: var(--transition);
    transform: translateX(100%);
}

.testimonial-card.active {
    opacity: 1;
    transform: translateX(0);
    position: relative;
}

.testimonial-content {
    font-size: 1.1rem;
    font-style: italic;
    margin-bottom: 20px;
}

.testimonial-author {
    display: flex;
    align-items: center;
}

.testimonial-author img {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    margin-right: 15px;
    object-fit: cover;
}

.testimonial-author h4 {
    font-size: 1.1rem;
    margin-bottom: 5px;
}

.testimonial-author p {
    color: var(--text-light);
}

.testimonial-controls {
    display: flex;
    justify-content: center;
    margin-top: 30px;
}

.testimonial-dot {
    width: 12px;
    height: 12px;
    background-color: #d1d5db;
    border-radius: 50%;
    margin: 0 5px;
    cursor: pointer;
    transition: var(--transition);
}

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

/* 下载引导 */
.download {
    padding: 80px 0;
    background: linear-gradient(135deg, #f0f9ff 0%, #e0f2fe 100%);
    position: relative;
}

.download-options {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 60px;
    margin-bottom: 40px;
}

.qr-code {
    text-align: center;
}

.qr-code img {
    width: 180px;
    height: 180px;
    margin-bottom: 15px;
    border: 8px solid white;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-md);
}

.app-buttons {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.app-button {
    display: flex;
    align-items: center;
    background-color: #000;
    color: white;
    padding: 12px 20px;
    border-radius: var(--border-radius);
    transition: var(--transition);
}

.app-button:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
}

.app-button i {
    font-size: 2rem;
    margin-right: 15px;
}

.app-button span {
    display: flex;
    flex-direction: column;
}

.app-button small {
    font-size: 0.7rem;
    opacity: 0.8;
}

.limited-offer {
    background-color: white;
    border-radius: var(--border-radius);
    padding: 20px;
    max-width: 600px;
    margin: 0 auto;
    text-align: center;
    box-shadow: var(--shadow-md);
    position: relative;
    overflow: hidden;
}

.offer-badge {
    position: absolute;
    top: 0;
    right: 0;
    background-color: var(--secondary-color);
    color: white;
    padding: 5px 15px;
    font-size: 0.8rem;
    font-weight: bold;
    transform: rotate(45deg) translateX(20px) translateY(-10px);
    width: 150px;
    text-align: center;
}

.limited-offer p {
    font-size: 1.2rem;
    font-weight: 600;
}

/* 底部信息 */
footer {
    background-color: #1f2937;
    color: white;
    padding: 60px 0 20px;
}

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

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

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

.footer-logo h3 {
    font-size: 1.5rem;
    color: white;
}

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

.link-group h4 {
    font-size: 1.1rem;
    margin-bottom: 20px;
    color: white;
}

.link-group ul li {
    margin-bottom: 10px;
}

.link-group ul li a {
    color: #d1d5db;
    transition: var(--transition);
}

.link-group ul li a:hover {
    color: white;
}

.social-links {
    display: flex;
    gap: 15px;
}

.social-links a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    transition: var(--transition);
}

.social-links a:hover {
    background-color: var(--primary-color);
    transform: translateY(-3px);
}

.social-links a i {
    font-size: 1.2rem;
    color: white;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-bottom p {
    color: #9ca3af;
    font-size: 0.9rem;
}

.legal-links {
    display: flex;
    gap: 20px;
}

.legal-links a {
    color: #9ca3af;
    font-size: 0.9rem;
    transition: var(--transition);
}

.legal-links a:hover {
    color: white;
}

/* 响应式设计 */
@media (max-width: 1024px) {
    .section-title {
        font-size: 2.2rem;
    }
    
    .hero-content h2 {
        font-size: 2.5rem;
    }
    
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .menu-toggle {
        display: block;
    }
    
    nav {
        position: fixed;
        top: 70px;
        left: 0;
        width: 100%;
        background-color: var(--background-white);
        box-shadow: var(--shadow-md);
        padding: 20px;
        transform: translateY(-150%);
        transition: var(--transition);
        z-index: 999;
    }
    
    nav.active {
        transform: translateY(0);
    }
    
    nav ul {
        flex-direction: column;
    }
    
    nav ul li {
        margin: 10px 0;
    }
    
    .hero .container {
        flex-direction: column;
        text-align: center;
    }
    
    .hero-content {
        margin-bottom: 40px;
    }
    
    .cta-buttons {
        justify-content: center;
    }
    
    .scenario-card, .scenario-card.reverse {
        flex-direction: column;
    }
    
    .scenario-image {
        margin-bottom: 30px;
    }
    
    .download-options {
        flex-direction: column;
    }
    
    .footer-content {
        flex-direction: column;
    }
    
    .footer-links {
        flex-direction: column;
        gap: 30px;
        margin-top: 30px;
    }
    
    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }
    
    .legal-links {
        margin-top: 15px;
    }
}

@media (max-width: 480px) {
    .section-title {
        font-size: 1.8rem;
    }
    
    .hero-content h2 {
        font-size: 2rem;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
    }
    
    .stats-grid {
        grid-template-columns: 1fr;
    }
    
    .testimonial-card {
        padding: 20px;
    }
}
