/* 重置样式 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* 基础样式 */
body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'PingFang SC', 'Hiragino Sans GB', 'Microsoft YaHei', sans-serif;
    line-height: 1.6;
    color: #333;
    background: linear-gradient(135deg, #f5f7fa 0%, #e4e8ec 100%);
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* 头部样式 */
header {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    color: white;
    padding: 15px 0;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 32px;
    font-weight: bold;
    display: flex;
    align-items: center;
    gap: 10px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.logo-img {
    width: 45px;
    height: 45px;
    filter: drop-shadow(0 2px 8px rgba(102, 126, 234, 0.3));
}

.nav {
    display: flex;
    gap: 20px;
    align-items: center;
}

.nav a {
    color: #4a5568;
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    font-weight: 500;
    padding: 10px 20px;
    border-radius: 12px;
    background: transparent;
    border: none;
}

.nav a:hover {
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.1) 0%, rgba(118, 75, 162, 0.1) 100%);
    color: #667eea;
    transform: translateY(-2px);
}

/* 按钮样式 */
.btn {
    padding: 12px 30px;
    border-radius: 12px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    display: inline-block;
}

.btn-primary {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    box-shadow: 0 4px 20px rgba(102, 126, 234, 0.3);
    font-weight: 600;
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(102, 126, 234, 0.4);
}

/* Hero区域 */
.hero {
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.92) 0%, rgba(118, 75, 162, 0.92) 100%),
                url('../images/hero-banner.png') center/cover no-repeat;
    color: white;
    padding: 140px 0 120px;
    text-align: center;
    background-blend-mode: overlay;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle at 30% 40%, rgba(255, 255, 255, 0.08) 0%, transparent 40%),
                radial-gradient(circle at 70% 60%, rgba(255, 255, 255, 0.05) 0%, transparent 40%);
    animation: float 20s ease-in-out infinite;
    pointer-events: none;
}

@keyframes float {
    0%, 100% { transform: translate(0, 0); }
    50% { transform: translate(20px, -20px); }
}

.hero h1 {
    font-size: 64px;
    margin-bottom: 24px;
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
    position: relative;
    z-index: 1;
    font-weight: 700;
    letter-spacing: -1px;
}

.hero p {
    font-size: 24px;
    margin-bottom: 50px;
    opacity: 0.95;
    position: relative;
    z-index: 1;
    font-weight: 300;
}

.btn-download {
    background: linear-gradient(135deg, #ff6b6b 0%, #ee5a5a 100%);
    color: white;
    padding: 20px 70px;
    font-size: 20px;
    font-weight: 600;
    box-shadow: 0 6px 30px rgba(255, 107, 107, 0.4);
    border: none;
    position: relative;
    z-index: 1;
    overflow: hidden;
}

.btn-download::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s;
}

.btn-download:hover::before {
    left: 100%;
}

.btn-download:hover {
    background: linear-gradient(135deg, #ff5252 0%, #e84848 100%);
    transform: translateY(-4px);
    box-shadow: 0 10px 40px rgba(255, 107, 107, 0.5);
}

/* 功能特点区域 */
.features {
    padding: 100px 0;
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(10px);
}

.features h2 {
    text-align: center;
    font-size: 42px;
    margin-bottom: 70px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: 700;
}

.feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.feature-card {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(20px);
    padding: 45px 35px;
    border-radius: 20px;
    text-align: center;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.06);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid rgba(255, 255, 255, 0.5);
}

.feature-card:hover {
    transform: translateY(-12px);
    box-shadow: 0 20px 60px rgba(102, 126, 234, 0.15);
}

.feature-icon-img {
    width: 90px;
    height: 90px;
    margin: 0 auto 25px;
    filter: drop-shadow(0 4px 12px rgba(102, 126, 234, 0.2));
}

.feature-card h3 {
    margin-bottom: 18px;
    color: #2d3748;
    font-weight: 600;
    font-size: 20px;
}

.feature-card p {
    color: #718096;
    font-size: 15px;
    line-height: 1.7;
}

/* 详细介绍区域 */
.detail-section {
    padding: 100px 0;
    background: linear-gradient(180deg, rgba(102, 126, 234, 0.03) 0%, rgba(118, 75, 162, 0.03) 100%);
}

.detail-section h2 {
    text-align: center;
    font-size: 42px;
    margin-bottom: 70px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: 700;
}

.detail-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 35px;
}

.detail-item {
    padding: 35px;
    border-left: 4px solid;
    border-image: linear-gradient(135deg, #667eea 0%, #764ba2 100%) 1;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(20px);
    border-radius: 0 16px 16px 0;
    box-shadow: 0 6px 24px rgba(0, 0, 0, 0.04);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.detail-item:hover {
    transform: translateX(8px);
    box-shadow: 0 10px 40px rgba(102, 126, 234, 0.12);
}

.detail-item h3 {
    margin-bottom: 18px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: 600;
    font-size: 22px;
}

.detail-item p {
    color: #718096;
    line-height: 1.7;
}

/* 多平台支持区域 */
.platforms {
    padding: 100px 0;
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(10px);
    text-align: center;
}

.platforms h2 {
    font-size: 42px;
    margin-bottom: 25px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: 700;
}

.platforms p {
    margin-bottom: 50px;
    color: #718096;
    font-size: 18px;
}

.platform-icons {
    display: flex;
    justify-content: center;
    gap: 50px;
    flex-wrap: wrap;
}

.platform-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.platform-item:hover {
    transform: translateY(-8px);
}

.platform-icon {
    width: 110px;
    height: 110px;
    background: white;
    border-radius: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.platform-item:hover .platform-icon {
    box-shadow: 0 15px 40px rgba(102, 126, 234, 0.2);
    transform: scale(1.05);
}

.platform-icon img {
    width: 65px;
    height: 65px;
}

.platform-item span {
    color: #4a5568;
    font-weight: 500;
    font-size: 16px;
}

/* FAQ区域 */
.faq {
    padding: 100px 0;
    background: linear-gradient(180deg, rgba(102, 126, 234, 0.03) 0%, rgba(118, 75, 162, 0.03) 100%);
}

.faq h2 {
    text-align: center;
    font-size: 42px;
    margin-bottom: 70px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: 700;
}

.faq-item {
    margin-bottom: 20px;
    border: none;
    border-radius: 16px;
    overflow: hidden;
    cursor: pointer;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(20px);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.faq-item:hover {
    box-shadow: 0 8px 30px rgba(102, 126, 234, 0.1);
}

.faq-question {
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.05) 0%, rgba(118, 75, 162, 0.05) 100%);
    padding: 25px 30px;
    font-weight: 600;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: background 0.3s;
    color: #2d3748;
    font-size: 18px;
}

.faq-question:hover {
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.1) 0%, rgba(118, 75, 162, 0.1) 100%);
}

.faq-question::after {
    content: '+';
    font-size: 28px;
    color: #667eea;
    font-weight: 300;
    transition: transform 0.3s;
}

.faq-item.active .faq-question::after {
    content: '-';
    transform: rotate(180deg);
}

.faq-answer {
    padding: 25px 30px;
    display: none;
    color: #718096;
    line-height: 1.8;
    border-top: none;
}

.faq-item.active .faq-answer {
    display: block;
    animation: slideDown 0.4s ease-out;
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* 页脚 */
footer {
    background: linear-gradient(135deg, #1a202c 0%, #2d3748 100%);
    color: white;
    padding: 50px 0;
    text-align: center;
}

footer p {
    color: #cbd5e0;
    font-weight: 400;
}

/* 响应式设计 */
@media (max-width: 768px) {
    .hero {
        padding: 100px 0 80px;
    }

    .hero h1 {
        font-size: 42px;
    }

    .hero p {
        font-size: 18px;
    }

    .header-content {
        flex-direction: column;
        gap: 15px;
    }

    .nav {
        gap: 8px;
        flex-wrap: wrap;
        justify-content: center;
    }

    .nav a {
        padding: 8px 16px;
        font-size: 14px;
    }

    .btn-primary {
        padding: 10px 20px;
        font-size: 14px;
    }

    .features h2,
    .detail-section h2,
    .platforms h2,
    .faq h2 {
        font-size: 32px;
    }

    .feature-grid,
    .detail-grid {
        grid-template-columns: 1fr;
    }

    .platform-icons {
        gap: 30px;
    }

    .feature-card,
    .detail-item {
        padding: 30px 25px;
    }
}

@media (max-width: 480px) {
    .hero h1 {
        font-size: 32px;
    }

    .hero p {
        font-size: 16px;
    }

    .btn-download {
        padding: 15px 40px;
        font-size: 16px;
    }

    .features h2,
    .detail-section h2,
    .platforms h2,
    .faq h2 {
        font-size: 28px;
    }

    .platform-icon {
        width: 90px;
        height: 90px;
    }

    .platform-icon img {
        width: 50px;
        height: 50px;
    }
}
