*{margin:0;padding:0;box-sizing:border-box;}
body{background:#ffffff;font-family:system-ui,-apple-system,Microsoft YaHei;color:#333;font-size:15px;line-height:1.7}
a{text-decoration:none;color:#333}
.container-wrap{max-width:1200px;margin:0 auto;padding:0 15px}

/* =====首屏Banner 醒目优化版===== */
.hero-banner {
    width: 100%;
    min-height: 680px;
    overflow: hidden;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    background: url("/images/banner2.webp") center center / cover no-repeat;
}

/* 加深蒙层，让文字更突出 */
.hero-banner::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background: rgba(10, 25, 55, 0.38);
    z-index: 1;
}

.banner-inner-wrap {
    display: flex;
    align-items: center;
    gap: 50px;
    z-index: 2;
    position: relative;
    max-width: 1240px;
    width: 100%;
    padding: 0 30px;
}

.banner-inner {
    width: 46%;
}

/* 标签更醒目：金色渐变，强阴影 */
.banner-tag {
    display: inline-block;
    background: linear-gradient(135deg, #ffd166, #f5b700);
    color: #08111f;
    padding: 8px 18px;
    border-radius: 30px;
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 18px;
    box-shadow: 0 4px 12px rgba(245, 183, 0, 0.45);
}

/* 标题改为白色高亮，加文字阴影 */
.banner-inner h1 {
    font-size: 42px;
    line-height: 1.3;
    margin-bottom: 20px;
    color: #ffffff;
    font-weight: 700;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.35);
}

/* 描述文字提亮，保证可读性 */
.banner-desc {
    font-size: 17px;
    color: #e6edf3;
    line-height: 1.75;
    margin-bottom: 32px;
    text-shadow: 0 1px 4px rgba(0, 0, 0, 0.25);
}

.banner-buttons {
    display: flex;
    gap: 18px;
    flex-wrap: wrap;
}

/* 主按钮：蓝色渐变，强阴影，更醒目 */
.btn-primary {
    display: inline-block;
    padding: 15px 34px;
    background: linear-gradient(135deg, #2563eb, #1d4ed8);
    color: #fff;
    border-radius: 8px;
    font-weight: 600;
    min-width: 190px;
    text-align: center;
    font-size: 16px;
    box-shadow: 0 6px 18px rgba(37, 99, 235, 0.55);
    transition: 0.25s ease;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 22px rgba(37, 99, 235, 0.7);
}

/* 次按钮：白底高亮，边框加粗 */
.btn-outline {
    display: inline-block;
    padding: 15px 34px;
    border: 2px solid #ffffff;
    color: #ffffff;
    border-radius: 8px;
    font-weight: 600;
    min-width: 190px;
    text-align: center;
    background: rgba(255, 255, 255, 0.18);
    font-size: 16px;
    backdrop-filter: blur(4px);
    transition: 0.25s ease;
}

.btn-outline:hover {
    background: rgba(255, 255, 255, 0.35);
    transform: translateY(-2px);
}

/* 右侧设备图片 */
.banner-phone {
    width: 48%;
}

.banner-phone img {
    display: block;
    width: 100%;
    height: auto;
    transform: scale(1.03);
    filter: drop-shadow(0 8px 24px rgba(0, 0, 0, 0.45));
}

/* =========响应式适配========= */
@media (max-width: 992px) {
    .hero-banner {
        min-height: auto;
        padding: 90px 0;
    }

    .banner-inner-wrap {
        flex-direction: column;
        text-align: center;
        gap: 40px;
    }

    .banner-inner {
        width: 100%;
    }

    .banner-phone {
        width: 90%;
    }

    .banner-buttons {
        justify-content: center;
    }

    .banner-inner h1 {
        font-size: 34px;
    }
}

@media (max-width: 768px) {
    .banner-inner-wrap {
        padding: 0 25px;
    }

    .banner-inner h1 {
        font-size: 28px;
    }

    .banner-phone {
        width: 100%;
    }

    .banner-phone img {
        transform: scale(1);
    }

    .banner-buttons {
        flex-direction: column;
    }

    .btn-primary,
    .btn-outline {
        width: 100%;
        min-width: auto;
    }
}

/* 通用区块头部 */
.section-head{text-align:center;margin-bottom:40px}
.section-head h2{font-size:28px;margin-bottom:10px;color:#111}
.section-head p{color:#666;max-width:700px;margin:0 auto}

/* 行情板块 */
.chart-section{padding:70px 0;background:#f7fbfd}
.mobile-hide{display:block}

/* 六大优势板块 */
.advantage-area{padding:70px 0}
.adv-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:24px}
.adv-card{background:#fff;border:1px solid #eee;border-radius:10px;padding:30px;text-align:center;transition:0.2s}
.adv-card:hover{box-shadow:0 8px 24px rgba(0,0,0,0.06)}
.adv-card h3{margin:14px 0 10px;font-size:18px}
.adv-card p{color:#666}

/* 平台推荐板块 */
.recommend-area{padding:70px 0;background:#f7fbfd}
.rec-text{max-width:960px;margin:0 auto;font-size:16px;color:#444;line-height:1.8}
.rec-more{text-align:center;margin-top:30px}
.rec-more a{display:inline-block;padding:12px 28px;background:#2563eb;color:#fff;border-radius:8px}

/* 栏目导航入口区块 */
.nav-entry-area{padding:70px 0}
.entry-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:20px}
.entry-card{border:1px solid #eee;border-radius:10px;padding:26px;text-align:center;transition:0.2s}
.entry-card:hover{border-color:#2563eb}
.entry-card h4{font-size:18px;margin-bottom:10px}
.entry-card p{color:#666;font-size:14px;margin-bottom:16px}
.entry-card a{color:#2563eb}

/* =========【修复FAQ核心代码】========= */
.faq-area{padding:70px 0;background:#f7fbfd}
.faq-item{background:#fff;border:1px solid #eee;border-radius:8px;margin-bottom:12px;overflow:hidden}
.faq-q{padding:18px 22px;display:flex;justify-content:space-between;align-items:center;cursor:pointer;font-weight:500;font-size:16px}
.faq-a{max-height:0;overflow:hidden;transition:max-height 0.35s ease;}
.faq-a-inner{padding:0 22px 20px;color:#555;line-height:1.8}
.faq-item.open .faq-a{
    max-height: 1200px; /* 设置足够大的值替代 height:auto，动画正常生效 */
}

/* 底部转化区块【修复小屏贴边问题】 */
.bottom-action{padding:60px 15px;text-align:center;background:#18345c;color:#fff}
.bottom-action h3{font-size:26px;margin-bottom:14px}
.bottom-action p{max-width:900px;margin:0 auto 26px auto;opacity:0.9}
.bottom-action .btn-primary{background:#2ea072}

/* =====全局响应式媒体查询===== */
@media(max-width:992px){
    .adv-grid{grid-template-columns:repeat(2,1fr)}
    .entry-grid{grid-template-columns:repeat(2,1fr)}
}
   
@media(max-width:480px){
    .adv-grid{grid-template-columns:1fr}
    .entry-grid{grid-template-columns:1fr}
    /* FAQ移动端内边距优化，避免挤压文字 */
    .faq-q{padding:15px 16px;font-size:15px}
    .faq-a-inner{padding:0 16px 16px;}
    .bottom-action{padding:45px 15px;}
}
/* ========== 黄金行情统计卡片样式 ========== */
.chart-stats{
    display: grid;
    grid-template-columns: repeat(4,1fr);
    gap:20px;
    margin-top:30px;
}
.stat-card{
    background:#fff;
    border-radius:12px;
    padding:26px 20px;
    text-align:center;
    box-shadow:0 2px 12px rgba(0,0,0,0.04);
    border:1px solid #eee;
    transition: 0.25s ease;
}
.stat-card:hover{
    transform: translateY(-4px);
    box-shadow:0 8px 20px rgba(0,0,0,0.06);
}
.stat-label{
    font-size:15px;
    color:#666;
    margin-bottom:12px;
}
.stat-value{
    font-size:28px;
    font-weight:bold;
    margin-bottom:6px;
}
.stat-desc{
    font-size:13px;
    color:#999;
}
/* 涨跌颜色 */
.stat-value.up{
    color:#e53e3e;
}
.stat-value.down{
    color:#3182ce;
}
.stat-value.high{
    color:#d69e2e;
}
.stat-value.low{
    color:#2f855a;
}

/* 行情图表容器间距 */
.chart-main{
    width:100%;
    height:420px;
    background:#fff;
    border-radius:12px;
    border:1px solid #eee;
}

/* ========== 行情板块响应式适配 ========== */
@media(max-width:992px){
    .chart-stats{
        grid-template-columns: repeat(2,1fr);
    }
}
@media(max-width:768px){
    /* 【重点修改】只隐藏行情图表，不要全部mobile-hide隐藏！ */
    .chart-main{
        height:320px;
    }
}
@media(max-width:480px){
    .chart-stats{
        grid-template-columns: 1fr;
    }
}
