/* 基础配色方案 */
:root {
    --primary-color: #2563EB;
    --secondary-color: #3B82F6;
    --bg-white: #FFFFFF;
    --bg-gray: #F8FAFC;
    --text-dark: #0F172A;
    --text-gray: #475569;
    --border-color: #E2E8F0;
    --card-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
}

/* 基础动画 */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInLeft {
    from {
        opacity: 0;
        transform: translateX(-20px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes fadeInRight {
    from {
        opacity: 0;
        transform: translateX(20px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes scaleIn {
    from {
        opacity: 0;
        transform: scale(0.9);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

@keyframes shimmer {
    0% {
        background-position: -200% 0;
    }
    100% {
        background-position: 200% 0;
    }
}

/* 主要布局 */
.hero-section {
    min-height: 100vh;
    background: linear-gradient(180deg, var(--bg-gray) 0%, var(--bg-white) 100%);
    position: relative;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 60px 40px;
    position: relative;
}

/* 主内容区域 */
.content-area {
    text-align: center;
    animation: fadeInUp 0.8s ease-out;
}

.main-title {
    font-size: 64px;
    line-height: 1.2;
    margin-bottom: 20px;
    color: var(--text-dark);
    animation: fadeInUp 0.8s ease-out;
}

.highlight {
    position: relative;
    background: linear-gradient(90deg, 
        var(--primary-color), 
        var(--secondary-color), 
        var(--primary-color)
    );
    background-size: 200% auto;
    animation: shimmer 3s linear infinite;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.subtitle {
    font-size: 28px;
    color: var(--text-dark);
    font-weight: 600;
    margin-top: 12px;
    animation: fadeInUp 0.8s ease-out 0.2s backwards;
}

.description {
    font-size: 18px;
    color: var(--text-gray);
    line-height: 1.6;
    margin: 24px auto;
    max-width: 600px;
    animation: fadeInUp 0.8s ease-out 0.4s backwards;
    position: relative;
}

/* 数据统计 */
.stats {
    display: flex;
    justify-content: center;
    gap: 40px;
    margin: 50px 0;
    animation: fadeInUp 0.8s ease-out 0.6s backwards;
}

.stat-item {
    background: var(--bg-white);
    padding: 24px 40px;
    border-radius: 16px;
    border: 1px solid var(--border-color);
    transition: transform 0.3s ease;
    position: relative;
    overflow: hidden;
}

.stat-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(37, 99, 235, 0.1);
}

.number {
    font-size: 40px;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 8px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-size: 200% auto;
    animation: shimmer 3s linear infinite;
}

.label {
    font-size: 16px;
    color: var(--text-gray);
}

/* 下载区域 */
.download-area {
    background: var(--bg-white);
    border-radius: 24px;
    padding: 40px;
    border: 1px solid var(--border-color);
    margin-top: 50px;
    animation: scaleIn 0.8s ease-out 0.8s backwards;
}

.download-header h2 {
    font-size: 28px;
    color: var(--text-dark);
    margin-bottom: 10px;
}

.download-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 30px;
}

.download-btn {
    padding: 12px 24px;
    border-radius: 12px;
    min-width: 180px;
    display: flex;
    align-items: center;
    gap: 12px;
    cursor: pointer;
    transition: all 0.2s ease;
    border: none;
    position: relative;
    overflow: hidden;
    transform: translateY(0);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.download-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        120deg,
        transparent,
        rgba(255, 255, 255, 0.2),
        transparent
    );
    transition: all 0.6s ease;
}

.download-btn:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

.download-btn:hover::before {
    left: 100%;
}

.download-btn i {
    transition: all 0.3s ease;
}

.download-btn:hover i {
    transform: scale(1.2) rotate(5deg);
}

.download-btn .btn-text {
    transition: all 0.3s ease;
}

.download-btn:hover .btn-text {
    transform: translateX(5px);
}

.download-btn::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(
        45deg,
        transparent,
        rgba(255, 255, 255, 0.1),
        transparent
    );
    transform: rotate(45deg);
    transition: 0.5s;
}

.download-btn:hover::after {
    left: 100%;
}

.download-btn.ios {
    background: #000;
    color: #fff;
}

.download-btn.android {
    background: var(--primary-color);
    color: #fff;
}

/* 特色功能区域 */
.features-section {
    background: var(--bg-gray);
    padding: 80px 0;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.feature-card {
    background: var(--bg-white);
    padding: 24px 20px;
    border-radius: 12px;
    border: 1px solid var(--border-color);
    text-align: center;
    transition: all 0.3s ease;
    animation: fadeInUp 0.8s ease-out backwards;
    position: relative;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    background: linear-gradient(135deg, var(--bg-white) 0%, var(--bg-gray) 100%);
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        135deg,
        transparent,
        rgba(124, 58, 237, 0.03),
        transparent
    );
    transform: translateX(-100%);
    transition: transform 0.6s ease;
}

.feature-card:nth-child(1) { animation-delay: 0.1s; }
.feature-card:nth-child(2) { animation-delay: 0.2s; }
.feature-card:nth-child(3) { animation-delay: 0.3s; }
.feature-card:nth-child(4) { animation-delay: 0.4s; }
.feature-card:nth-child(5) { animation-delay: 0.5s; }
.feature-card:nth-child(6) { animation-delay: 0.6s; }
.feature-card:nth-child(7) { animation-delay: 0.7s; }
.feature-card:nth-child(8) { animation-delay: 0.8s; }

.feature-icon {
    width: 48px;
    height: 48px;
    background: var(--primary-color);
    border-radius: 10px;
    margin: 0 auto 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    position: relative;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
}

.feature-icon i {
    font-size: 20px;
    color: white;
    transition: all 0.4s ease;
}

.feature-card h3 {
    font-size: 16px;
    color: var(--text-dark);
    margin-bottom: 8px;
    font-weight: 600;
    transition: all 0.3s ease;
    position: relative;
}

.feature-card p {
    font-size: 13px;
    color: var(--text-gray);
    line-height: 1.5;
    transition: all 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
    border-color: var(--primary-color);
}

.feature-card:hover::before {
    transform: translateX(100%);
}

.feature-card:hover .feature-icon {
    transform: scale(1.1) rotate(10deg);
    box-shadow: 0 5px 15px rgba(124, 58, 237, 0.3);
}

.feature-card:hover .feature-icon i {
    transform: scale(1.1);
}

.feature-card:hover h3 {
    color: var(--primary-color);
    transform: translateY(-2px);
}

.feature-card:hover p {
    color: var(--text-dark);
}

/* 添加点击效果 */
.feature-card:active {
    transform: scale(0.98);
}

/* 用户评价区域 */
.testimonials-section {
    background: var(--bg-white);
    padding: 80px 0;
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.testimonial-card {
    background: var(--bg-gray);
    padding: 30px;
    border-radius: 16px;
    border: 1px solid var(--border-color);
    animation: fadeInUp 0.8s ease-out backwards;
}

.testimonial-card:nth-child(1) { animation-delay: 0.1s; }
.testimonial-card:nth-child(2) { animation-delay: 0.2s; }
.testimonial-card:nth-child(3) { animation-delay: 0.3s; }
.testimonial-card:nth-child(4) { animation-delay: 0.4s; }

.stars {
    display: flex;
    gap: 4px;
    margin-bottom: 16px;
}

.stars i {
    color: #FFB800;
    font-size: 16px;
    animation: scaleIn 0.5s ease-out backwards;
}

.stars i:nth-child(1) { animation-delay: 0.1s; }
.stars i:nth-child(2) { animation-delay: 0.2s; }
.stars i:nth-child(3) { animation-delay: 0.3s; }
.stars i:nth-child(4) { animation-delay: 0.4s; }
.stars i:nth-child(5) { animation-delay: 0.5s; }

.review-text {
    font-size: 15px;
    line-height: 1.6;
    color: var(--text-dark);
    margin-bottom: 20px;
}

.reviewer-info {
    display: flex;
    align-items: center;
    gap: 12px;
    padding-top: 20px;
    border-top: 1px solid var(--border-color);
}

.avatar {
    width: 44px;
    height: 44px;
    background: var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 18px;
    font-weight: 600;
}

/* 移动端适配优化 */
@media screen and (max-width: 768px) {
    /* 主内容区域适配 */
    .container {
        padding: 20px;
    }

    .content-area {
        padding: 40px 20px;
    }

    .main-title {
        font-size: 36px;
    }

    .subtitle {
        font-size: 20px;
        margin-top: 10px;
    }

    .description {
        font-size: 15px;
        padding: 0;
        margin: 20px auto;
    }

    /* 数据统计适配 */
    .stats {
        flex-direction: column;
        gap: 20px;
        margin: 30px 0;
    }

    .stat-item {
        width: 100%;
        max-width: 280px;
        margin: 0 auto;
        padding: 15px;
    }

    .number {
        font-size: 32px;
    }

    .label {
        font-size: 14px;
    }

    /* 下载区域适配 */
    .download-area {
        padding: 30px 20px;
        border-radius: 20px;
    }

    .download-header h2 {
        font-size: 24px;
    }

    .download-header p {
        font-size: 14px;
    }

    .download-buttons {
        flex-direction: column;
        gap: 15px;
    }

    .download-btn {
        width: 100%;
        max-width: 280px;
        padding: 12px 20px;
    }

    .download-btn i {
        font-size: 22px;
    }

    .download-btn .small {
        font-size: 10px;
    }

    .download-btn .large {
        font-size: 14px;
    }

    /* 特色功能区域适配 */
    .features-section {
        padding: 50px 0;
    }

    .features-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 20px;
        padding: 0 15px;
    }

    .feature-card {
        padding: 20px;
    }

    .feature-icon {
        width: 50px;
        height: 50px;
    }

    .feature-icon i {
        font-size: 22px;
    }

    .feature-card h3 {
        font-size: 16px;
        margin-bottom: 8px;
    }

    .feature-card p {
        font-size: 13px;
    }

    /* 用户评价区域适配 */
    .testimonials-section {
        padding: 50px 0;
    }

    .testimonials-grid {
        grid-template-columns: 1fr;
        gap: 20px;
        padding: 0 15px;
    }

    .testimonial-card {
        padding: 20px;
    }

    .review-text {
        font-size: 14px;
    }

    .avatar {
        width: 36px;
        height: 36px;
        font-size: 16px;
    }

    .name {
        font-size: 14px;
    }

    /* 标题适配 */
    .section-title {
        font-size: 24px;
        margin-bottom: 30px;
        padding-bottom: 15px;
    }
}

/* 小屏手机适配 */
@media screen and (max-width: 360px) {
    .main-title {
        font-size: 32px;
    }

    .subtitle {
        font-size: 18px;
    }

    .description {
        font-size: 14px;
    }

    .download-btn {
        padding: 10px 16px;
    }

    .feature-card,
    .testimonial-card {
        padding: 15px;
    }
}

/* 横屏模式优化 */
@media screen and (max-height: 600px) and (orientation: landscape) {
    .content-area {
        padding: 20px;
    }

    .stats {
        flex-direction: row;
        flex-wrap: wrap;
        gap: 15px;
        margin: 20px 0;
    }

    .stat-item {
        flex: 1;
        min-width: 150px;
    }

    .features-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

/* 平板设备优化 */
@media screen and (min-width: 769px) and (max-width: 1024px) {
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 25px;
    }

    .testimonials-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 25px;
    }

    .main-title {
        font-size: 48px;
    }

    .download-buttons {
        gap: 15px;
    }
}

/* 触摸设备交互优化 */
@media (hover: none) {
    .download-btn:hover,
    .feature-card:hover,
    .testimonial-card:hover {
        transform: none;
    }

    .stat-item:hover {
        transform: none;
    }

    .download-btn:active,
    .feature-card:active,
    .testimonial-card:active {
        transform: scale(0.98);
    }

    .feature-card:hover .feature-icon,
    .stat-item:hover,
    .feature-card:hover h3 {
        transform: none;
    }

    .feature-card:hover,
    .download-btn:hover {
        transform: none;
    }

    .feature-card:hover .feature-icon,
    .download-btn:hover i,
    .download-btn:hover .btn-text {
        transform: none;
    }

    .feature-card:active,
    .download-btn:active {
        transform: scale(0.98);
    }
}

/* 性能优化 */
@media (prefers-reduced-motion: reduce) {
    * {
        animation: none !important;
        transition: none !important;
    }
} 