/* 全局样式 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Microsoft YaHei', 'PingFang SC', sans-serif;
}

body {
    background-color: #f8f9fa;
    color: #333;
    line-height: 1.6;
}

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

section {
    padding: 60px 0;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    margin-bottom: 15px;
    color: #222;
}

h1 {
    font-size: 3rem;
    letter-spacing: 1px;
    margin-bottom: 10px;
    color: #ffffff;
    position: relative;
    z-index: 2;
    font-weight: 800;
}

h4 {
    font-size: 2rem;
    text-align: center;
    margin-bottom: 30px;
    color: #ffffff;
}

h2 {
    font-size: 2rem;
    text-align: center;
    margin-bottom: 30px;
}

h3 {
    font-size: 1.5rem;
}

p {
    margin-bottom: 15px;
    font-size: 1.2rem;
}

/* Banner样式 */
.banner {
    background: linear-gradient(135deg, #0c479d, #1a73e8);
    color: white;
    padding: 120px 0 140px;
    /* Increased padding for a taller banner */
    text-align: center;
    position: relative;
    overflow: hidden;
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.1);
    /* Add subtle shadow for depth */
}

.banner-content {
    max-width: 1000px;
    /* Wider content area */
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.banner-info {
    display: flex;
    justify-content: center;
    margin-top: 20px;
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.8);
}

.banner-info-item {
    margin: 0 15px;
    display: flex;
    align-items: center;
}

.banner-info-item svg {
    margin-right: 5px;
    fill: rgba(255, 255, 255, 0.8);
}

.slogan {
    font-size: 1.2rem;
    margin-bottom: 30px;
}

.download-btn-container {
    margin-top: 40px;
    position: relative;
    /* Ensure proper positioning */
    z-index: 2;
    /* Keep buttons above other elements */
}

.download-btn {
    display: inline-block;
    background-color: white;
    color: #0c479d;
    font-size: 1.4rem;
    font-weight: bold;
    padding: 14px 45px;
    border-radius: 4px;
    text-decoration: none;
    margin-top: 20px;
    transition: all 0.3s cubic-bezier(0.2, 0.8, 0.2, 1.0);
    /* 使用更加平滑的过渡曲线 */
    text-transform: uppercase;
    letter-spacing: 1px;
    position: relative;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(12, 71, 157, 0.25);
    border: 2px solid rgba(12, 71, 157, 0.1);
    min-width: 250px;
    cursor: pointer;
    transform-origin: center;
    /* 添加按钮内容效果 */
    transition-property: transform, box-shadow, background-color, border-color, color;
}

.download-btn:hover {
    transform: translateY(-3px) scale(1.02);
    /* 增加缩放效果 */
    box-shadow: 0 8px 20px rgba(12, 71, 157, 0.35);
    background-color: #f0f4ff;
    border-color: #0c479d;
    color: #0c479d;
}

.download-btn:hover::after {
    opacity: 1;
    transform: translateY(0) scale(1);
}

.download-btn:active {
    background-color: #e6eeff;
    box-shadow: 0 2px 5px rgba(12, 71, 157, 0.15);
    transform: translateY(0) scale(0.98);
    /* 点击时缩小和下沉 */
    color: #0c479d;
    transition-duration: 0.1s;
    /* 点击时更快速的反应 */
}

.download-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(12, 71, 157, 0.15), transparent);
    transition: 0.5s;
}

.download-btn::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(to right, #0c479d, #3a9dff, #0c479d);
    opacity: 0;
    transform: translateY(5px) scale(0.9);
    transition: all 0.3s ease;
}

.download-btn:hover::before {
    left: 100%;
}

/* 波纹效果容器 */
.ripple-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    background-color: transparent;
    border-radius: 4px;
    /* 匹配按钮的矩形圆角 */
}

/* 波纹效果 */
.ripple {
    position: absolute;
    border-radius: 50%;
    background: rgba(12, 71, 157, 0.2);
    transform: scale(0);
    animation: ripple-animation 0.8s linear;
}

@keyframes ripple-animation {
    to {
        transform: scale(4);
        opacity: 0;
    }
}

/* 下载中状态 */
.download-btn.downloading {
    background: linear-gradient(90deg, #f0f4ff, white, #f0f4ff);
    background-size: 200% 100%;
    color: #0c479d;
    animation: gradient-move 2s infinite linear;
    border-color: #0c479d;
}

@keyframes gradient-move {
    0% {
        background-position: 0% 0%;
    }

    100% {
        background-position: 200% 0%;
    }
}

/* 下载按钮文字区域 */
.download-text {
    margin-right: 5px;
}

/* 下载动画点 */
.download-dots {
    display: inline-block;
    width: 30px;
}

.download-dots span {
    display: inline-block;
    opacity: 0.2;
    transition: opacity 0.2s ease;
}

/* 悬停效果类 */
.download-btn.hover-effect {
    transform: translateY(-2px);
}

.download-note {
    font-size: 0.9rem;
    margin-top: 10px;
    opacity: 0.8;
}

/* 特性卡片样式 - 增强颜色版 */
.features {
    background: linear-gradient(to bottom, #f8faff, #fff);
    padding: 50px 0 60px;
    position: relative;
}

.features::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(to right, #0c479d, #1a73e8, #0c479d);
}

.features h2 {
    color: #0c479d;
    margin-bottom: 40px;
    position: relative;
    display: inline-block;
    text-align: center;
    width: 100%;
}

.features h2:after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background-color: #0c479d;
    border-radius: 3px;
}

.feature-cards {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(270px, 1fr));
    gap: 30px;
    margin-bottom: 40px;
}

.feature-card {
    background-color: #fff;
    border-radius: 12px;
    padding: 30px;
    text-align: center;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    border: 1px solid rgba(12, 71, 157, 0.1);
    position: relative;
    overflow: hidden;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(to right, #0c479d, #3a9dff);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s ease;
}

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

.feature-card:hover::before {
    transform: scaleX(1);
}

.feature-icon {
    margin-bottom: 20px;
}

.feature-card h3 {
    color: #0c479d;
    margin-bottom: 15px;
    font-weight: 600;
}

.center {
    text-align: center;
    margin-top: 40px;
}

/* 核心功能特性区域下载按钮 */
.features .download-btn {
    background-color: white;
    color: #0c479d;
    border: 2px solid #0c479d;
    font-weight: 700;
}

.features .download-btn:hover {
    background-color: #f0f4ff;
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(12, 71, 157, 0.3);
}

/* 用户评价样式 - 增强颜色版 */
.reviews {
    background: linear-gradient(to bottom, #fff, #f4f7fe);
    padding: 45px 0 50px;
    /* 增加内边距使区域更突出 */
    position: relative;
}

.reviews::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(to right, #0c479d, #5b8dee, #0c479d);
}

.reviews h2 {
    color: #0c479d;
    margin-bottom: 35px;
    position: relative;
    display: inline-block;
    text-align: center;
    width: 100%;
}

.reviews h2:after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background-color: #0c479d;
    border-radius: 3px;
}

.review-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    /* 3列网格布局 */
    gap: 20px;
    max-width: 1200px;
    margin: 0 auto;
}

.review-item {
    background-color: #fff;
    border-radius: 10px;
    padding: 18px;
    box-shadow: 0 3px 12px rgba(0, 0, 0, 0.06);
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    height: 100%;
    /* 确保所有卡片高度一致 */
    margin-bottom: 0;
    border: 1px solid rgba(12, 71, 157, 0.08);
    position: relative;
    overflow: hidden;
}

.review-item::before {
    content: '\201C';
    /* 左引号 */
    position: absolute;
    top: -10px;
    left: 10px;
    font-size: 3rem;
    color: rgba(12, 71, 157, 0.1);
    font-family: Georgia, serif;
}

.review-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
    border-color: rgba(12, 71, 157, 0.15);
}

.review-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 8px;
}

.stars {
    color: #ffb400;
    font-size: 1rem;
    line-height: 1;
}

.user-info {
    text-align: right;
}

.user-name {
    display: block;
    font-weight: bold;
    font-size: 0.9rem;
    color: #333;
}

.user-title {
    display: block;
    font-size: 0.75rem;
    color: #666;
}

.review-text {
    margin: 0;
    font-size: 0.85rem;
    line-height: 1.4;
    color: #444;
    flex-grow: 1;
    /* 让文本区域填充剩余空间 */
}

/* 响应式调整 */
@media screen and (max-width: 992px) {
    .review-grid {
        grid-template-columns: repeat(2, 1fr);
        /* 平板设备显示2列 */
    }
}

@media screen and (max-width: 576px) {
    .review-grid {
        grid-template-columns: 1fr;
        /* 手机设备显示1列 */
        gap: 10px;
    }

    .review-item {
        padding: 12px;
    }
}

/* FAQ样式 */
.faq {
    background-color: #fff;
}

.faq-item {
    margin-bottom: 20px;
    border-bottom: 1px solid #eee;
    padding-bottom: 20px;
}

.faq-question {
    font-weight: bold;
    font-size: 1.1rem;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.faq-answer {
    margin-top: 10px;
    display: none;
    padding-left: 15px;
    border-left: 3px solid #0c479d;
}

.active .faq-answer {
    display: block;
}

/* 下载选项样式 - 去掉背景和边框版本 */
.download-options {
    display: flex;
    justify-content: center;
    align-items: flex-start;
    /* 改为顶部对齐，确保按钮对齐 */
    gap: 60px;
    margin: 40px auto;
    max-width: 800px;
}

.download-option {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    padding: 0;
    max-width: 280px;
}

/* 按钮样式 - 矩形设计 */
.normal-download-btn,
.safe-download-btn {
    border: none;
    border-radius: 4px;
    padding: 14px 0;
    font-size: 1.4rem;
    font-weight: bold;
    cursor: pointer;
    margin-bottom: 15px;
    transition: all 0.3s cubic-bezier(0.2, 0.8, 0.2, 1.0);
    width: 220px;
    height: 56px;
    text-align: center;
    line-height: 1.5;
    display: flex;
    justify-content: center;
    align-items: center;
    letter-spacing: 1px;
    position: relative;
    overflow: hidden;
    transform-origin: center;
    transition-property: transform, box-shadow, background-color, border-color, color;
}

/* 添加按钮点击波纹效果 */
.normal-download-btn span,
.safe-download-btn span {
    position: relative;
    z-index: 1;
}

.btn-animate {
    animation: button-pulse 0.4s ease-out;
}

@keyframes button-pulse {
    0% {
        transform: scale(1);
    }

    50% {
        transform: scale(0.97);
    }

    100% {
        transform: scale(1);
    }
}

.normal-download-btn {
    background-color: white;
    color: #0c479d;
    box-shadow: 0 3px 10px rgba(12, 71, 157, 0.15);
    border: 2px solid rgba(12, 71, 157, 0.1);
}

.safe-download-btn {
    background: linear-gradient(to right, #0c479d, #2a6de9, #0c479d);
    color: white;
    box-shadow: 0 5px 15px rgba(12, 71, 157, 0.35);
    font-size: 1.5rem;
    /* 进一步放大字体 */
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.2);
    letter-spacing: 1px;
    /* 增加字间距 */
    font-weight: 700;
    border: 2px solid rgba(255, 255, 255, 0.3);
    position: relative;
    overflow: hidden;
}

.safe-download-btn::before {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: linear-gradient(to right, #0a3c7d, #1a73e8, #0a3c7d);
    z-index: -1;
    border-radius: 6px;
    /* 匹配按钮的矩形圆角 */
    transform: scale(0.98);
    animation: border-pulse 2s infinite;
}

@keyframes border-pulse {
    0% {
        opacity: 0.4;
        transform: scale(0.98);
    }

    50% {
        opacity: 0.7;
        transform: scale(1.01);
    }

    100% {
        opacity: 0.4;
        transform: scale(0.98);
    }
}

.normal-download-btn:hover {
    background-color: #f8faff;
    box-shadow: 0 6px 15px rgba(12, 71, 157, 0.25);
    transform: translateY(-3px) scale(1.02);
    border-color: rgba(12, 71, 157, 0.25);
}

.normal-download-btn:hover::after {
    opacity: 1;
    transform: translateY(0) scale(1);
}

.normal-download-btn::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(to right, #0c479d, #3a9dff, #0c479d);
    opacity: 0;
    transform: translateY(5px) scale(0.9);
    transition: all 0.3s ease;
}

.safe-download-btn:hover {
    background: linear-gradient(45deg, #0a3c7d, #1a73e8, #0a3c7d);
    box-shadow: 0 8px 25px rgba(12, 71, 157, 0.5);
    transform: translateY(-3px) scale(1.03);
    border: 2px solid rgba(255, 255, 255, 0.7);
    letter-spacing: 1.5px;
    /* 字间距增加，创造微妙的文字展开效果 */
}

.download-option p {
    color: #666;
    font-size: 0.9rem;
    text-align: center;
    margin: 0;
    max-width: 90%;
    line-height: 1.45;

}

.recommend-tag {
    color: white;
    background-color: #0c479d;
    font-size: 0.85rem;
    /* 放大标签文字 */
    font-weight: bold;
    position: absolute;
    top: -12px;
    right: -8px;
    padding: 4px 12px;
    border-radius: 4px;
    /* 改为矩形 */
    box-shadow: 0 2px 5px rgba(12, 71, 157, 0.3);
    z-index: 2;
}

@media screen and (max-width: 768px) {
    .download-options {
        flex-direction: column;
        gap: 40px;
    }

    .download-option.recommended {
        order: -1;
        /* 推荐选项在移动端显示在首位 */
    }
}

/* 页脚样式 */
footer {
    background-color: #0c479d;
    color: white;
    padding: 40px 0;
    text-align: center;
}

.footer-links {
    margin: 20px 0;
}

.footer-links a {
    color: white;
    margin: 0 15px;
    text-decoration: none;
}

.footer-links a:hover {
    text-decoration: underline;
}

.copyright {
    opacity: 0.7;
    font-size: 0.9rem;
    margin-top: 20px;
}

/* 动画效果 */
.fade-in {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.5s ease, transform 0.5s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

@keyframes pulse {
    0% {
        box-shadow: 0 5px 15px rgba(12, 71, 157, 0.2);
        background-color: #fff;
    }

    50% {
        box-shadow: 0 10px 30px rgba(12, 71, 157, 0.3);
        background-color: #f8faff;
    }

    100% {
        box-shadow: 0 5px 15px rgba(12, 71, 157, 0.2);
        background-color: #fff;
    }
}

.pulse-animation {
    animation: pulse 2s infinite;
}

/* 响应式设计 */
@media screen and (max-width: 768px) {
    h1 {
        font-size: 2rem;
    }

    h2 {
        font-size: 1.5rem;
    }

    .banner {
        padding: 70px 0 80px;
    }

    .feature-cards,
    .review-cards {
        grid-template-columns: 1fr;
    }

    .feature-card {
        padding: 20px;
    }

    .download-option {
        width: 100%;
        margin: 10px 0;
    }
}