:root {
    --primary-color: #6366f1;
    --secondary-color: #4f46e5;
    --accent-color: #f59e0b;
    --text-primary: #1f2937;
    --text-secondary: #4b5563;
    --bg-light: #f9fafb;
    --white: #ffffff;
    --transition: all 0.3s ease;
}

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

body {
    font-family: 'Noto Sans SC', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    line-height: 1.6;
    color: var(--text-primary);
    background-color: var(--bg-light);
    scroll-behavior: smooth;
}

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

ul {
    list-style: none;
}

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

/* 导航栏 */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
    z-index: 1000;
    transition: var(--transition);
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 70px;
}

.logo {
    display: flex;
    align-items: center;
    font-size: 24px;
    font-weight: 700;
    color: var(--primary-color);
}

.logo .icon {
    margin-right: 8px;
    font-size: 28px;
}

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

.nav-links a {
    font-weight: 500;
    color: var(--text-secondary);
    transition: var(--transition);
}

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

.btn-nav {
    padding: 8px 20px;
    background-color: var(--primary-color);
    color: var(--white) !important;
    border-radius: 20px;
    transition: var(--transition);
}

.btn-nav:hover {
    background-color: var(--secondary-color);
    transform: translateY(-2px);
    box-shadow: 0 4px 6px rgba(99, 102, 241, 0.2);
}

.mobile-menu-btn {
    display: none;
    font-size: 24px;
    cursor: pointer;
    color: var(--text-primary);
}

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

.hero-bg-shape {
    position: absolute;
    top: -50%;
    right: -20%;
    width: 80%;
    height: 150%;
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.05) 0%, rgba(79, 70, 229, 0.1) 100%);
    border-radius: 50%;
    transform: rotate(-15deg);
    z-index: 0;
}

.hero-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: relative;
    z-index: 1;
}

.hero-text {
    flex: 1;
    max-width: 600px;
}

.hero-text h1 {
    font-size: 48px;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 20px;
    color: var(--text-primary);
}

.hero-text p {
    font-size: 18px;
    color: var(--text-secondary);
    margin-bottom: 30px;
}

.hero-btns {
    display: flex;
    gap: 16px;
    margin-bottom: 40px;
}

.btn {
    padding: 12px 30px;
    border-radius: 30px;
    font-weight: 600;
    font-size: 16px;
    transition: var(--transition);
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.btn-primary {
    background-color: var(--primary-color);
    color: var(--white);
    box-shadow: 0 4px 12px rgba(99, 102, 241, 0.3);
}

.btn-primary:hover {
    background-color: var(--secondary-color);
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(99, 102, 241, 0.4);
}

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

.btn-secondary:hover {
    background-color: #eff6ff;
}

.stats {
    display: flex;
    gap: 40px;
}

.stat-item {
    display: flex;
    flex-direction: column;
}

.stat-item .number {
    font-size: 24px;
    font-weight: 700;
    color: var(--primary-color);
}

.stat-item .label {
    font-size: 14px;
    color: var(--text-secondary);
}

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

.app-mockup {
    max-width: 300px;
    border-radius: 20px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
    border: 8px solid #fff;
    z-index: 2;
}

.floating-card {
    position: absolute;
    background: var(--white);
    padding: 15px;
    border-radius: 12px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
    display: flex;
    align-items: center;
    gap: 12px;
    z-index: 3;
    animation: float 6s ease-in-out infinite;
}

.card-1 {
    top: 20%;
    left: 10%;
    animation-delay: 0s;
}

.card-2 {
    bottom: 20%;
    right: 10%;
    animation-delay: 3s;
}

.card-icon {
    font-size: 24px;
    background: #eff6ff;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.card-content h4 {
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 2px;
}

.card-content p {
    font-size: 12px;
    color: var(--text-secondary);
}

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

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

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

.section-header h2 {
    font-size: 36px;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 10px;
}

.section-header p {
    font-size: 18px;
    color: var(--text-secondary);
}

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

.feature-card {
    background: var(--bg-light);
    padding: 30px;
    border-radius: 16px;
    transition: var(--transition);
    border: 1px solid #e5e7eb;
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    background: var(--white);
    border-color: var(--primary-color);
}

.icon-box {
    width: 60px;
    height: 60px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    margin-bottom: 20px;
}

.feature-card h3 {
    font-size: 20px;
    margin-bottom: 10px;
    color: var(--text-primary);
}

.feature-card p {
    color: var(--text-secondary);
    font-size: 15px;
}

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

.showcase-content {
    display: flex;
    align-items: center;
    gap: 50px;
}

.showcase-image {
    flex: 1;
}

.showcase-image img {
    width: 100%;
    border-radius: 16px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.showcase-text {
    flex: 1;
}

.showcase-text h2 {
    font-size: 36px;
    margin-bottom: 30px;
    color: var(--text-primary);
}

.showcase-list li {
    display: flex;
    gap: 16px;
    margin-bottom: 24px;
}

.showcase-list i {
    font-size: 24px;
    color: var(--primary-color);
    margin-top: 4px;
}

.showcase-list h4 {
    font-size: 18px;
    margin-bottom: 6px;
    color: var(--text-primary);
}

.showcase-list p {
    font-size: 15px;
    color: var(--text-secondary);
}

/* 使用流程 */
.process {
    padding: 80px 0;
    background-color: var(--white);
}

.process-steps {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    max-width: 900px;
    margin: 0 auto;
    position: relative;
}

.step {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    width: 200px;
    position: relative;
    z-index: 2;
}

.step-number {
    width: 30px;
    height: 30px;
    background: var(--primary-color);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    margin-bottom: 10px;
    font-size: 14px;
}

.step-icon {
    width: 80px;
    height: 80px;
    background: #eff6ff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
    color: var(--primary-color);
    margin-bottom: 20px;
    transition: var(--transition);
}

.step:hover .step-icon {
    background: var(--primary-color);
    color: var(--white);
    transform: scale(1.1);
}

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

.step p {
    font-size: 14px;
    color: var(--text-secondary);
}

.step-connector {
    flex: 1;
    height: 2px;
    background: #e5e7eb;
    margin-top: 55px;
    position: relative;
}

/* 下载体验 */
.download {
    padding: 80px 0;
    background-color: var(--bg-light);
}

.download-card {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border-radius: 24px;
    padding: 60px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    color: var(--white);
    position: relative;
    overflow: hidden;
}

.download-content {
    flex: 1;
    z-index: 2;
}

.download-content h2 {
    font-size: 36px;
    margin-bottom: 20px;
}

.download-content p {
    font-size: 18px;
    opacity: 0.9;
    margin-bottom: 40px;
}

.download-badges {
    display: flex;
    gap: 20px;
}

.qrcode-box {
    background: var(--white);
    padding: 10px;
    border-radius: 12px;
    text-align: center;
    width: 140px;
}

.qrcode-img {
    width: 120px;
    height: 120px;
    margin-bottom: 5px;
    display: block;
}

.qrcode-box span {
    color: var(--text-primary);
    font-size: 14px;
    font-weight: 600;
}

.download-image {
    flex: 1;
    display: flex;
    justify-content: flex-end;
    z-index: 2;
}

.download-image img {
    max-width: 300px;
    border-radius: 16px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
}

/* 页脚 */
footer {
    background-color: #111827;
    color: #d1d5db;
    padding: 60px 0 20px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-logo .icon {
    font-size: 32px;
    margin-right: 8px;
}

.footer-logo .text {
    font-size: 24px;
    font-weight: 700;
    color: var(--white);
}

.footer-logo p {
    margin-top: 10px;
    font-size: 14px;
}

.footer-links h4,
.footer-contact h4 {
    font-size: 18px;
    color: var(--white);
    margin-bottom: 20px;
}

.footer-links ul li {
    margin-bottom: 10px;
}

.footer-links a {
    transition: var(--transition);
}

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

.footer-contact p {
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.social-links {
    display: flex;
    gap: 16px;
    margin-top: 20px;
}

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

.social-links a:hover {
    background: var(--primary-color);
    color: var(--white);
}

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

/* 响应式适配 */
@media (max-width: 768px) {
    .hero-content {
        flex-direction: column;
        text-align: center;
    }

    .hero-text {
        margin-bottom: 50px;
    }

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

    .stats {
        justify-content: center;
    }

    .nav-links {
        display: none; /* 移动端菜单稍后实现 */
    }

    .mobile-menu-btn {
        display: block;
    }

    .showcase-content {
        flex-direction: column;
    }

    .process-steps {
        flex-direction: column;
        align-items: center;
        gap: 30px;
    }

    .step-connector {
        display: none;
    }

    .download-card {
        flex-direction: column;
        text-align: center;
        padding: 40px 20px;
    }

    .download-image {
        margin-top: 40px;
    }
    
    .hero-bg-shape {
        right: -50%;
        width: 150%;
    }
}
