/* 全局样式 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #FF8C42;
    --primary-light: #FFB347;
    --primary-dark: #E67A2E;
    --bg-warm: #FFF9F5;
    --text-primary: #1E293B;
    --text-secondary: #475569;
    --text-tertiary: #94A3B8;
    --border-color: #E2E8F0;
}

body {
    font-family: 'PingFang SC', 'Microsoft YaHei', sans-serif;
    color: var(--text-primary);
    line-height: 1.6;
    background-color: #FFFFFF;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* 导航栏 */
.navbar {
    background: #FFFFFF;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    position: sticky;
    top: 0;
    z-index: 1000;
    padding: 16px 0;
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 24px;
    font-weight: 600;
    color: var(--primary-color);
}

.logo img {
    width: 40px;
    height: 40px;
    border-radius: 8px;
}

.nav-links {
    display: flex;
    gap: 32px;
}

.nav-links a {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 16px;
    transition: color 0.3s ease;
}

.nav-links a:hover {
    color: var(--primary-color);
}

/* 主横幅 */
.hero {
    background: linear-gradient(135deg, var(--bg-warm) 0%, #FFFFFF 100%);
    padding: 80px 0;
}

.hero .container {
    display: flex;
    align-items: center;
    gap: 60px;
}

.hero-content {
    flex: 1;
}

.hero h1 {
    font-size: 56px;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 16px;
}

.subtitle {
    font-size: 28px;
    color: var(--text-primary);
    margin-bottom: 16px;
}

.description {
    font-size: 18px;
    color: var(--text-secondary);
    margin-bottom: 40px;
}

.qr-code {
    text-align: center;
    background: #FFFFFF;
    padding: 24px;
    border-radius: 16px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
    display: inline-block;
}

.qr-code img {
    width: 200px;
    height: 200px;
    border-radius: 8px;
}

.qr-code p {
    margin-top: 12px;
    color: var(--text-secondary);
    font-size: 14px;
}

.hero-image {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
}

/* 手机轮播容器 */
.phone-carousel {
    position: relative;
    width: 320px;
    height: 640px;
    background: #1E293B;
    border-radius: 40px;
    padding: 12px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

.phone-carousel::before {
    content: '';
    position: absolute;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 6px;
    background: #475569;
    border-radius: 3px;
}

.carousel-container {
    width: 100%;
    height: 100%;
    border-radius: 32px;
    overflow: hidden;
    position: relative;
    background: #FFFFFF;
}

.carousel-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.5s ease;
}

.carousel-slide.active {
    opacity: 1;
}

.carousel-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* 轮播指示点 */
.carousel-dots {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 8px;
    z-index: 10;
}

.dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: all 0.3s ease;
}

.dot.active {
    background: #FFFFFF;
    width: 24px;
    border-radius: 4px;
}

/* 轮播按钮 */
.carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.9);
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    font-size: 24px;
    color: var(--text-primary);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    z-index: 10;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.carousel-btn:hover {
    background: #FFFFFF;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.carousel-btn.prev {
    left: -20px;
}

.carousel-btn.next {
    right: -20px;
}

/* 功能特色 */
.features {
    padding: 80px 0;
    background: #FFFFFF;
}

.features h2 {
    text-align: center;
    font-size: 42px;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 60px;
}

.feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 32px;
}

.feature-card {
    background: var(--bg-warm);
    padding: 32px;
    border-radius: 16px;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 32px rgba(255, 140, 66, 0.15);
}

.feature-icon {
    font-size: 48px;
    margin-bottom: 16px;
}

.feature-card h3 {
    font-size: 22px;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 12px;
}

.feature-card p {
    font-size: 16px;
    color: var(--text-secondary);
    line-height: 1.8;
}

/* 下载体验 */
.download {
    padding: 80px 0;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    color: #FFFFFF;
    text-align: center;
}

.download h2 {
    font-size: 42px;
    font-weight: 700;
    margin-bottom: 16px;
}

.download > p {
    font-size: 18px;
    margin-bottom: 40px;
    opacity: 0.9;
}

.download-qr {
    background: #FFFFFF;
    padding: 24px;
    border-radius: 16px;
    display: inline-block;
    margin-bottom: 24px;
}

.download-qr img {
    width: 200px;
    height: 200px;
    border-radius: 8px;
}

.download-tip {
    font-size: 14px;
    opacity: 0.8;
}

/* 联系我们 */
.contact {
    padding: 80px 0;
    background: var(--bg-warm);
}

.contact h2 {
    text-align: center;
    font-size: 42px;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 60px;
}

.contact-info {
    max-width: 600px;
    margin: 0 auto;
}

.contact-item {
    background: #FFFFFF;
    padding: 24px;
    border-radius: 12px;
    margin-bottom: 16px;
    font-size: 18px;
    display: flex;
    align-items: center;
}

.contact-label {
    font-weight: 600;
    color: var(--text-primary);
    margin-right: 8px;
}

.contact-item span:last-child {
    color: var(--text-secondary);
}

/* 页脚 */
.footer {
    background: var(--text-primary);
    color: #FFFFFF;
    padding: 40px 0;
    text-align: center;
}

.footer p {
    margin-bottom: 8px;
    opacity: 0.8;
}

.icp a {
    color: #FFFFFF;
    text-decoration: none;
    opacity: 0.7;
    transition: opacity 0.3s ease;
}

.icp a:hover {
    opacity: 1;
}

/* 响应式设计 */
@media (max-width: 768px) {
    .hero .container {
        flex-direction: column;
        text-align: center;
    }

    .hero h1 {
        font-size: 36px;
    }

    .subtitle {
        font-size: 20px;
    }

    .description {
        font-size: 16px;
    }

    .hero-image {
        order: -1;
        margin-bottom: 40px;
    }

    .phone-carousel {
        width: 280px;
        height: 560px;
    }

    .carousel-btn {
        width: 36px;
        height: 36px;
        font-size: 20px;
    }

    .carousel-btn.prev {
        left: -18px;
    }

    .carousel-btn.next {
        right: -18px;
    }

    .nav-links {
        gap: 16px;
        font-size: 14px;
    }

    .features h2,
    .download h2,
    .contact h2 {
        font-size: 32px;
    }

    .feature-grid {
        grid-template-columns: 1fr;
    }

    .qr-code img,
    .download-qr img {
        width: 160px;
        height: 160px;
    }
}

@media (max-width: 480px) {
    .logo {
        font-size: 18px;
    }

    .logo img {
        width: 32px;
        height: 32px;
    }

    .nav-links {
        display: none;
    }

    .hero {
        padding: 40px 0;
    }

    .features,
    .download,
    .contact {
        padding: 40px 0;
    }
}
