/* 全局样式 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: "PingFang SC", "Helvetica Neue", Helvetica, "Hiragino Sans GB", "Microsoft YaHei", "微软雅黑", Arial, sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #f8f9fa;
}

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

a {
    text-decoration: none;
    color: #333;
    transition: color 0.3s ease;
}

a:hover {
    color: #4e54c8;
}

ul {
    list-style: none;
}

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

/* 头部样式 */
header {
    background-color: #fff;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 100;
    padding: 15px 0;
}

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

.logo a {
    display: flex;
    align-items: center;
    font-weight: bold;
    color: #4e54c8;
}

.logo-icon {
    font-size: 24px;
    margin-right: 10px;
    color: #4e54c8;
    width: 24px;
    height: 24px;
    object-fit: contain;
    vertical-align: middle;
}

.logo-text {
    font-size: 20px;
}

nav ul {
    display: flex;
}

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

nav ul li a {
    font-weight: 500;
    font-size: 16px;
}

.login-btn {
    background-color: #4e54c8;
    color: #fff;
    padding: 8px 20px;
    border-radius: 4px;
}

.login-btn:hover {
    background-color: #8f94fb;
    color: #fff;
}

/* 英雄区域样式 */
.hero {
    background: linear-gradient(135deg, #4e54c8, #8f94fb);
    color: #fff;
    padding: 80px 0;
}

.hero-content {
    max-width: 1200px;
    margin: 0 auto;
    text-align: center;
}

.hero-title {
    margin-bottom: 30px;
}

.hero h1 {
    font-size: 60px;
    margin-bottom: 20px;
    line-height: 1.4;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.hero h1 .highlight {
    color: #ffeb3b;
    font-weight: 700;
    position: relative;
    display: inline-block;
    font-size: 72px;
    animation: glow 2s ease-in-out infinite alternate;
}

/* 移除下划线效果 */
.hero h1 .highlight:after {
    display: none;
    /* 隐藏下划线 */
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background-color: #ffeb3b;
    transform: scaleX(0.8);
    opacity: 0.7;
}

.hero p {
    font-size: 18px;
    margin-bottom: 15px;
    opacity: 0.9;
}

.price-highlight {
    font-size: 20px;
    margin-bottom: 30px;
    margin-top: 10px;
    background-color: rgba(255, 255, 255, 0.15);
    display: inline-block;
    padding: 10px 20px;
    border-radius: 30px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    animation: pulse 2s infinite;
}

.price {
    color: #ffeb3b;
    font-weight: 700;
    font-size: 24px;
}

.feature {
    color: #ffeb3b;
    font-weight: 700;
}

@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(255, 235, 59, 0.4);
    }

    70% {
        box-shadow: 0 0 0 10px rgba(255, 235, 59, 0);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(255, 235, 59, 0);
    }
}

.download-options {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px;
    margin-top: 40px;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
    padding: 0 20px;
}

.download-option {
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    padding: 12px 10px;
    width: calc(20% - 10px);
    min-width: 160px;
    text-align: center;
    backdrop-filter: blur(5px);
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.download-option h3 {
    margin-bottom: 12px;
    font-size: 18px;
}

.qr-code-icon {
    margin-bottom: 12px;
    font-size: 55px;
    color: rgba(255, 255, 255, 0.9);
}

.browser-icons {
    display: flex;
    justify-content: center;
    margin-bottom: 15px;
    font-size: 40px;
    color: rgba(255, 255, 255, 0.9);
}

.browser-icons i {
    margin: 0 10px;
}

.download-btn {
    display: block;
    background-color: #fff;
    color: #4e54c8;
    padding: 6px 12px;
    border-radius: 4px;
    margin-bottom: 8px;
    font-weight: 500;
    font-size: 14px;
    transition: all 0.3s ease;
}

.download-btn:hover {
    background-color: #e6e9ff;
    color: #4e54c8;
    transform: translateY(-2px);
}

.apple-id-btn {
    background-color: #fff;
    color: #4e54c8;
}

.apple-id-btn i {
    margin-right: 4px;
    font-size: 12px;
}

.apple-id-btn:hover {
    background-color: #e6e9ff;
    color: #4e54c8;
}

.payment-tip {
    font-size: 12px;
    color: #ffeb3b;
    margin-top: 8px;
    font-weight: 500;
    position: relative;
    display: inline-block;
}

.payment-tip:after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 100%;
    height: 1px;
    background-color: #ffeb3b;
    opacity: 0.7;
}

/* 场景区域样式 */
.scenarios {
    padding: 80px 0;
    background-color: #fff;
}

.scenarios h2 {
    text-align: center;
    font-size: 32px;
    margin-bottom: 50px;
    color: #4e54c8;
}

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

.scenario-card {
    background-color: #f8f9fa;
    border-radius: 8px;
    padding: 30px;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.scenario-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.scenario-icon {
    font-size: 40px;
    color: #4e54c8;
    margin-bottom: 20px;
}

.scenario-card h3 {
    font-size: 20px;
    margin-bottom: 15px;
}

.scenario-card p {
    color: #666;
}

/* 优势区域样式 */
.advantages {
    padding: 80px 0;
    background-color: #f0f2ff;
}

.advantages h2 {
    text-align: center;
    font-size: 32px;
    margin-bottom: 50px;
    color: #4e54c8;
}

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

.advantage-card {
    background-color: #fff;
    border-radius: 8px;
    padding: 30px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease;
}

.advantage-card:hover {
    transform: translateY(-5px);
}

.advantage-icon {
    font-size: 40px;
    color: #4e54c8;
    margin-bottom: 20px;
}

.advantage-card h3 {
    font-size: 20px;
    margin-bottom: 15px;
    color: #4e54c8;
}

.advantage-card p {
    color: #666;
}

/* 下载区域样式 */
.download {
    padding: 80px 0;
    background-color: #fff;
}

.download h2 {
    text-align: center;
    font-size: 32px;
    margin-bottom: 50px;
    color: #4e54c8;
}

.download-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
}

.download-section {
    text-align: center;
}

.download-section h3 {
    font-size: 24px;
    margin-bottom: 20px;
    color: #4e54c8;
}

.platform-icon {
    font-size: 50px;
    color: #4e54c8;
    margin-bottom: 20px;
}

.platform-icon i {
    margin: 0 10px;
}

.download-section p {
    color: #666;
    margin-top: 15px;
    font-size: 14px;
}

/* 帮助中心样式 */
.help-center {
    padding: 60px 0;
    background-color: #f8f9fa;
    text-align: center;
}

.help-center h2 {
    font-size: 32px;
    margin-bottom: 30px;
    color: #4e54c8;
}

.help-links {
    display: flex;
    justify-content: center;
    gap: 30px;
}

.help-links a {
    font-size: 18px;
    font-weight: 500;
    color: #4e54c8;
    padding: 10px 20px;
    border-radius: 4px;
    background-color: #e6e9ff;
    transition: all 0.3s ease;
}

.help-links a:hover {
    background-color: #4e54c8;
    color: #fff;
}

/* 页脚样式 */
footer {
    background-color: #2b2d42;
    color: #fff;
    padding: 60px 0 30px;
}

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

.footer-links a {
    color: #fff;
    margin-right: 20px;
    opacity: 0.8;
}

.footer-links a:hover {
    opacity: 1;
}

.language-selector a {
    color: #fff;
    margin-left: 15px;
    opacity: 0.8;
}

.language-selector a.active {
    opacity: 1;
    font-weight: 500;
}

.language-selector a:hover {
    opacity: 1;
}

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

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

.footer-logo .logo-icon {
    font-size: 50px;
    margin-right: 15px;
    color: #fff;
    width: 50px;
    height: 50px;
    object-fit: contain;
    vertical-align: middle;
}

.footer-logo p {
    font-size: 28px;
    font-weight: bold;
    color: #fff;
}

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

.footer-wechat-icon {
    font-size: 60px;
    color: #fff;
    margin-bottom: 10px;
}

.footer-bottom {
    text-align: center;
    opacity: 0.6;
    font-size: 14px;
}

.footer-bottom p {
    margin-bottom: 10px;
}

/* 动画效果 */
.scenario-card.animate,
.advantage-card.animate {
    animation: fadeInUp 0.6s ease forwards;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes glow {
    from {
        text-shadow: 0 0 5px rgba(255, 235, 59, 0.5);
    }

    to {
        text-shadow: 0 0 15px rgba(255, 235, 59, 0.8), 0 0 20px rgba(255, 235, 59, 0.5);
    }
}

/* 响应式设计 */
@media (max-width: 1200px) {
    .download-option {
        width: calc(25% - 10px);
    }
}

@media (max-width: 992px) {
    .download-option {
        width: calc(33.33% - 10px);
    }
}

@media (max-width: 768px) {
    .hero h1 {
        font-size: 48px;
        padding: 0 15px;
    }

    .hero h1 .highlight {
        font-size: 56px;
    }

    .hero p {
        font-size: 16px;
        padding: 0 20px;
    }

    .hero .price-highlight {
        font-size: 18px;
        padding: 8px 15px;
        margin-top: 5px;
        margin-bottom: 25px;
    }

    .download-option {
        width: calc(50% - 8px);
        padding: 12px 8px;
    }

    .qr-code-icon {
        font-size: 45px;
    }

    .footer-top,
    .footer-middle {
        flex-direction: column;
        text-align: center;
    }

    .footer-links,
    .language-selector {
        margin-bottom: 20px;
    }

    .footer-logo {
        margin-bottom: 30px;
        justify-content: center;
    }

    .footer-logo .logo-icon {
        width: 40px;
        height: 40px;
    }

    .footer-logo p {
        font-size: 24px;
    }
}

@media (max-width: 576px) {
    header .container {
        flex-direction: column;
    }

    .logo {
        margin-bottom: 15px;
    }

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

    .download-option {
        width: 100%;
        max-width: 280px;
    }

    .scenario-grid,
    .advantage-grid,
    .download-grid {
        grid-template-columns: 1fr;
    }

    .help-links {
        flex-direction: column;
        gap: 15px;
    }

    .hero h1 {
        font-size: 40px;
    }

    .hero h1 .highlight {
        font-size: 48px;
    }
}