/* ========================================
   0. 全局变量与基础样式
   ======================================== */
:root {
    --main-blue: #2563EB;
    --blue-dark: #1D4ED8;
    --blue-deep: #0F2859;
    --text-dark: #111827;
    --text-gray: #6B7280;
    --page-bg: #F8FAFC;
    --border-line: #E2E8F0;
    --white: #ffffff;
    /* 品牌卡补充变量（原rank-wrap用到的） */
    --brand-blue: #2563EB;
    --brand-blue-hover: #1D4ED8;
    --brand-blue-light: #EEF4FF;
    --blue-hw-gradient: linear-gradient(135deg, #2563EB 0%, #1D4ED8 100%);
    --profit-green: #059669;
    --profit-green-hover: #047857;
}
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
body {
    font-family: "Microsoft YaHei", sans-serif;
    color: var(--text-dark);
    background: var(--page-bg);
    line-height: 1.7;
}
a {
    text-decoration: none;
    color: inherit;
    transition: 0.25s ease;
}
.container-wrap {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 16px;
}
h1, h2, h3, h4, p, div, span, a {
    word-break: break-word;
    overflow-wrap: break-word;
}
.btn-primary, .btn-outline, .main-btn {
    white-space: nowrap !important;
}
/* ========================================
   1. 首屏 Banner
   ======================================== */
.hero-banner {
    width: 100%;
    min-height: 620px;
    overflow: hidden;
    position: relative;
    display: flex;
    align-items: center;
    background: url("/static/images/bgnew2.webp") center center / cover no-repeat;
}
.hero-banner::after {
    content: "";
    position: absolute;
    top: 0; left: 0;
    width: 58%;
    height: 100%;
    background: linear-gradient(90deg, rgba(255,255,255,0.95) 0%, rgba(255,255,255,0) 100%);
    z-index: 1;
}
.banner-inner {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 16px;
    position: relative;
    z-index: 2;
}
.banner-content {
    max-width: 760px;
}
.banner-tag {
    display: inline-block;
    background: var(--main-blue);
    color: #fff;
    padding: 6px 18px;
    border-radius: 99px;
    font-size: 14px;
    margin-bottom: 28px;
    font-weight: 500;
    white-space: nowrap;
}
.banner-content h1 {
    font-size: 32px;
    line-height: 1.35;
    margin-bottom: 18px;
    font-weight: 700;
    white-space: nowrap;
}
.banner-desc {
    font-size: 16px;
    color: var(--text-gray);
    margin-bottom: 32px;
    line-height: 1.8;
    max-width: 680px;
}
.banner-buttons {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}
.btn-primary, .btn-outline {
    width: 240px;
    padding: 14px 0;
    text-align: center;
    border-radius: 8px;
    font-weight: bold;
}
.btn-primary {
    background: var(--main-blue);
    color: var(--white);
    border: none;
}
.btn-outline {
    border: 1px solid var(--main-blue);
    color: var(--main-blue);
    background: transparent;
}
.btn-primary:hover { background: var(--blue-dark); }
.btn-outline:hover { background: rgba(37,99,235,0.08); }
/* ========================================
   2. EETRADE品牌推荐区 broker-wrap（横版大卡片）
   ======================================== */
.home-page .broker-wrap {
    padding: 75px 0;
    background: linear-gradient(180deg, #EEF4FF 0%, #F7FAFF 100%);
    overflow: hidden;
}
.home-page .broker-wrap .broker-title {
    text-align: center;
    margin-bottom: 45px;
}
.home-page .broker-wrap .broker-title h2 {
    font-size: 32px;
    font-weight: 700;
    color: #0F2859;
    margin-bottom: 12px;
}
.home-page .broker-wrap .broker-title p {
    font-size: 18px;
    color: #334155;
    max-width: 820px;
    margin: 0 auto;
}
.home-page .broker-wrap .broker-list {
    display: flex;
    justify-content: center;
    max-width: 1200px;
    margin: 0 auto;
}
/* 横版品牌大卡片（合并后的单一卡片） */
.home-page .broker-wrap .broker-item {
    flex: 1 1 100%;
    max-width: 1200px;
    min-width: 0;
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    text-align: left;
    background: #fff;
    border: 1px solid #DCE7FF;
    border-radius: 20px;
    padding: 48px 52px;
    position: relative;
    gap: 36px;
    box-shadow: 0 10px 30px rgba(37,99,235,0.08);
    transition: all 0.3s;
}
.home-page .broker-wrap .broker-item:hover {
    transform: translateY(-4px);
    border-color: #93C5FD;
    box-shadow: 0 16px 36px rgba(37,99,235,0.14);
}
/* 左侧品牌信息区 */
.home-page .broker-wrap .broker-info {
    flex: 1 1 460px;
    min-width: 300px;
}
/* Logo 放大 */
.home-page .broker-wrap .broker-logo {
    width: 110px;
    height: 110px;
    margin-bottom: 18px;
    background: #fff;
    border: 1px solid #E5EDFF;
    border-radius: 22px;
    box-shadow: 0 6px 18px rgba(37,99,235,0.12);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 14px;
}
.home-page .broker-wrap .broker-logo img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    border-radius: 0;
}
.home-page .broker-wrap .broker-item h3 {
    font-size: 30px;
    font-weight: 700;
    color: #0F172A;
    margin-bottom: 8px;
}
.home-page .broker-wrap .broker-star {
    font-size: 22px;
    color: #FFD700;
    margin-bottom: 12px;
    letter-spacing: 3px;
}
.home-page .broker-wrap .broker-license {
    font-size: 14px;
    font-weight: 600;
    color: #2563EB;
    background: rgba(37,99,235,0.08);
    display: inline-block;
    padding: 6px 14px;
    border-radius: 99px;
    margin-bottom: 14px;
}
/* 资质标签（整合rank-tags） */
.home-page .broker-wrap .rank-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 18px;
}
.home-page .broker-wrap .rank-tags span {
    font-size: 13px;
    font-weight: 500;
    padding: 5px 12px;
    border-radius: 6px;
    display: inline-block;
    line-height: 1.3;
}
.home-page .broker-wrap .tag-orange {
    background-color: #EEF4FF;
    color: #2563EB;
}
.home-page .broker-wrap .tag-blue {
    background-color: #E6FFF2;
    color: var(--profit-green);
}
.home-page .broker-wrap .broker-reason {
    font-size: 15px;
    color: #475569;
    line-height: 1.8;
    margin-bottom: 28px;
    text-align: left;
    max-width: 480px;
}
.home-page .broker-wrap .broker-reason strong {
    color: #0F2859;
    font-weight: 700;
}
.home-page .broker-wrap .broker-btn-group {
    display: flex;
    gap: 14px;
    max-width: 420px;
}
.home-page .broker-wrap .broker-btn {
    flex: 1;
    padding: 14px 0;
    border-radius: 10px;
    font-weight: 700;
    font-size: 16px;
    text-align: center;
    transition: 0.25s;
}
.home-page .broker-wrap .btn-register {
    background: #fff;
    color: #2563EB;
    border: 1px solid #2563EB;
}
.home-page .broker-wrap .btn-register:hover { background: #EEF4FF; }
.home-page .broker-wrap .btn-download {
    background: #2563EB;
    color: #fff;
    border: none;
    box-shadow: 0 4px 12px rgba(37,99,235,0.3);
}
.home-page .broker-wrap .btn-download:hover { background: #1D4ED8; }
/* 右侧手机界面展示区 —— 放大 */
.home-page .broker-wrap .app-pic-box {
    flex: 0 1 440px;
    min-width: 500px;
    text-align: center;
}
.home-page .broker-wrap .app-pic-box .app-img {
    width: 100%;
    max-width: 440px;
    height: auto;
    display: block;
    margin: 0 auto;
    border-radius: 14px;
    box-shadow: 0 12px 32px rgba(37,99,235,0.18);
}
/* 角标 */
.home-page .broker-wrap .corner-badge {
    position: absolute;
    top: 0; right: 0;
    width: 150px;
    height: 30px;
    line-height: 30px;
    text-align: center;
    font-size: 13px;
    font-weight: 700;
    color: #fff;
    transform: rotate(45deg) translate(36px, -6px);
    z-index: 2;
    box-shadow: 0 2px 6px rgba(0,0,0,0.12);
}
.home-page .broker-wrap .corner-badge.hot { background: #EF4444; }
.home-page .broker-wrap .corner-badge.oldbrand { background: #D97706; }
/* 底部提示与信任标签 */
.home-page .broker-wrap .broker-footer-tips {
    margin-top: 45px;
    text-align: center;
}
.home-page .broker-wrap .main-tip {
    font-size: 13px;
    color: #475569;
    margin-bottom: 25px;
}
.home-page .broker-wrap .trust-tags {
    display: flex;
    justify-content: center;
    gap: 30px;
    flex-wrap: wrap;
}
.home-page .broker-wrap .trust-tags span {
    font-size: 14px;
    color: #334155;
    display: inline-flex;
    align-items: center;
}
.home-page .broker-wrap .trust-tags svg {
    width: 16px;
    height: 16px;
    margin-right: 6px;
    fill: #2563EB;
}
/* ========================================
   3. 六大优势 advantage-area
   ======================================== */
.advantage-area {
    padding: 70px 0;
    background: var(--white);
}
.section-head {
    text-align: center;
    margin-bottom: 46px;
}
.section-head h2 {
    font-size: 28px;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 10px;
}
.section-head p {
    color: var(--text-gray);
    max-width: 700px;
    margin: 0 auto;
}
.adv-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
    max-width: 1200px;
    margin: 0 auto;
}
.adv-card {
    border: 1px solid var(--border-line);
    border-radius: 12px;
    padding: 32px;
    transition: 0.3s;
    text-align: center;
}
.adv-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 14px 32px rgba(37,99,235,0.12);
    border-color: var(--main-blue);
}
.adv-icon {
    width: 56px;
    height: 56px;
    border-radius: 12px;
    background: rgba(37,99,235,0.1);
    color: var(--main-blue);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 26px;
    margin: 0 auto 20px;
    transition: 0.3s;
}
.adv-card:hover .adv-icon {
    background: var(--main-blue);
    color: #fff;
}
.adv-card h3 {
    font-size: 19px;
    margin-bottom: 12px;
}
.adv-card p {
    color: var(--text-gray);
    font-size: 15px;
}
/* ========================================
   4. 平台对比表格 platform-compare-area（深色背景）
   ======================================== */
.platform-compare-area {
    padding: 70px 0;
    background: #111827;
    color: #fff;
}
.platform-compare-area .section-head {
    text-align: center;
}
.platform-compare-area .section-head h2 {
    color: #fff;
}
.platform-compare-area .section-head p {
    color: #cbd5e1;
}
.table-wrap {
    max-width: 1200px;
    margin: 0 auto;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    border-radius: 12px;
}
.compare-table {
    width: 100%;
    min-width: 900px;
    border-collapse: collapse;
    background: #fff;
    color: #333;
}
.compare-table thead tr {
    background: #2563eb;
    color: #fff;
}
.compare-table th, .compare-table td {
    padding: 14px 12px;
    border: 1px solid #e5e7eb;
    vertical-align: middle;
}
.compare-table td:first-child, .compare-table th:first-child {
    width: 140px;
    min-width: 140px;
    white-space: nowrap;
    text-align: center;
    font-weight: 600;
}
.compare-table th:nth-child(3), .compare-table td:nth-child(3) {
    min-width: 130px;
    white-space: nowrap;
    text-align: center;
}
.compare-table tbody tr:nth-child(1) { background: #f0f7ff; }
.compare-table tbody tr:nth-child(n+2) { background: #fff; }
.compare-table tbody tr:nth-child(1):hover { background: #e1efff; }
.compare-table tbody tr:nth-child(n+2):hover { background: #f6f9ff; }
.table-note {
    max-width: 1200px;
    margin: 20px auto 0;
    color: #cbd5e1;
    font-size: 14px;
}
.table-cta {
    max-width: 1200px;
    margin: 24px auto 0;
    font-size: 16px;
    font-weight: 700;
}
.table-cta a {
    color: #FBBF24;
    text-decoration: underline;
}
/* ========================================
   5. 功能板块 pro-wrap（PC端4列并列）
   ======================================== */
.home-page .pro-wrap {
    padding: 60px 0;
    background: #fff;
}
.home-page .pro-title {
    text-align: center;
    margin-bottom: 45px;
}
.home-page .pro-title h2 {
    font-size: 28px;
    font-weight: 700;
    color: #111827;
    margin-bottom: 12px;
}
.home-page .pro-title h2 i {
    margin-right: 8px;
    color: var(--main-blue);
}
.home-page .pro-title p {
    font-size: 16px;
    color: #6B7280;
    max-width: 1100px;
    margin: 0 auto;
}
/* PC端4列 */
.home-page .pro-list {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 22px;
    align-items: stretch;
    max-width: 1200px;
    margin: 0 auto;
}
.home-page .pro-item {
    display: flex;
    flex-direction: column;
    padding: 26px 20px;
    border-radius: 16px;
    border: 1px solid #E2E8F0;
    box-shadow: 0 4px 20px rgba(0,0,0,0.02);
    transition: 0.3s;
}
.home-page .pro-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 30px rgba(37,99,235,0.08);
}
.home-page .pro-item.orange1 {
    background: #EFF6FF;
    border-left: 5px solid var(--main-blue);
}
.home-page .pro-item.orange2 {
    background: #F8FAFC;
    border-left: 5px solid #94A3B8;
}
.home-page .pro-item h3 {
    font-size: 18px;
    font-weight: 700;
    color: #111827;
    margin-bottom: 6px;
}
.home-page .pro-code {
    font-size: 12px;
    color: #6B7280;
    margin-bottom: 20px;
}
.home-page .pro-info {
    list-style: none;
    margin-bottom: 20px;
    flex-grow: 1;
}
.home-page .pro-info li {
    font-size: 12.5px;
    color: #4B5563;
    line-height: 1.7;
    margin-bottom: 13px;
    padding-left: 18px;
    position: relative;
    text-align: left;
}
.home-page .pro-info li::before {
    content: "✓";
    position: absolute;
    left: 0; top: 1px;
    font-weight: 900;
    font-size: 12px;
}
.home-page .pro-item.orange1 .pro-info li::before { color: var(--main-blue); }
.home-page .pro-item.orange2 .pro-info li::before { color: #94A3B8; }
.home-page .pro-info li strong {
    color: #111827;
    font-weight: 600;
}
.home-page .pro-risk {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 9px 12px;
    background: rgba(255,255,255,0.7);
    border: 1px solid rgba(0,0,0,0.05);
    border-radius: 8px;
    margin-bottom: 14px;
    font-size: 12px;
    color: #4B5563;
}
.home-page .pro-risk em {
    font-style: normal;
    font-weight: 700;
    padding: 4px 10px;
    border-radius: 20px;
    font-size: 11px;
    color: #fff;
}
.home-page .risk-medium { background: #F59E0B; }
.home-page .risk-high { background: #EF4444; }
.home-page .pro-btn {
    display: block;
    text-align: center;
    padding: 12px 0;
    border-radius: 30px;
    color: #fff;
    font-weight: 700;
    font-size: 13px;
}
.home-page .pro-item.orange1 .pro-btn { background: var(--main-blue); }
.home-page .pro-item.orange1 .pro-btn:hover { background: var(--blue-dark); }
.home-page .pro-item.orange2 .pro-btn { background: #94A3B8; }
.home-page .pro-item.orange2 .pro-btn:hover { background: #64748B; }

/* ========================================
   6. 入门要点 info-section
   ======================================== */
.info-section {
    padding: 70px 0;
    background: #fff;
}
.info-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
    max-width: 1200px;
    margin: 0 auto;
}
.info-card {
    padding: 32px 26px;
    border-radius: 16px;
    background: #F8FAFC;
    border: 1px solid #E2E8F0;
    box-shadow: 0 4px 20px rgba(0,0,0,0.02);
    transition: 0.3s;
}
.info-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 30px rgba(37,99,235,0.08);
}
.info-card h3 {
    font-size: 20px;
    font-weight: 700;
    color: #111827;
    margin-bottom: 12px;
}
.info-card p {
    font-size: 15px;
    color: #4B5563;
    line-height: 1.7;
}
/* ========================================
   7. FAQ问答板块（深色背景，标题居中）
   ======================================== */
.home-page .faq-wrap {
    padding: 70px 0;
    background: #111827;
}
.home-page .faq-title {
    text-align: center;
    margin-bottom: 45px;
}
.home-page .faq-title h2 {
    font-size: 28px;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 12px;
}
.home-page .faq-title p {
    font-size: 16px;
    color: #cbd5e1;
    max-width: 700px;
    margin: 0 auto;
}
.home-page .faq-list {
    max-width: 860px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 14px;
}
.home-page .faq-item {
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid #1f2937;
    box-shadow: 0 2px 8px rgba(0,0,0,0.15);
}
.home-page .faq-btn {
    width: 100%;
    padding: 20px 26px;
    background: #fff;
    border: none;
    text-align: left;
    font-size: 15.5px;
    font-weight: 600;
    color: #111827;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: space-between;
    transition: 0.2s;
}
.home-page .faq-btn:hover {
    background: #f8fafc;
    color: var(--main-blue);
}
.home-page .faq-answer {
    padding: 0 26px 20px;
    display: none;
    background: #fff;
    border-top: 1px dashed #e5e7eb;
}
.home-page .faq-answer p {
    margin-top: 16px;
    font-size: 14px;
    color: #4b5563;
    line-height: 1.85;
}
/* ========================================
   8. 资讯列表 news-block
   ======================================== */
.news-block {
    padding: 70px 0;
    background: var(--white);
}
.news-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 26px;
    max-width: 1200px;
    margin: 0 auto;
}
.news-card {
    border: 1px solid var(--border-line);
    border-radius: 10px;
    overflow: hidden;
}
.news-img {
    height: 160px;
    overflow: hidden;
}
.news-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: 0.3s;
}
.news-card:hover img { transform: scale(1.05); }
.news-text { padding: 20px; }
.news-text h4 {
    font-size: 17px;
    margin-bottom: 8px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.news-text .intro {
    font-size: 14px;
    color: var(--text-gray);
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    margin-bottom: 10px;
}
.news-time { font-size: 12px; color: #999; }
/* ========================================
   9. 底部CTA（深色背景，标题白色）
   ======================================== */
.cta-bottom {
    padding: 70px 0;
    background: #111827;
    color: #fff;
    text-align: center;
}
.cta-bottom .container-wrap {
    max-width: 900px;
    margin: 0 auto;
}
.cta-bottom h3 {
    font-size: 30px;
    color: #ffffff;
    font-weight: 700;
    margin-bottom: 16px;
    line-height: 1.4;
}
.cta-bottom p {
    color: #cbd5e1;
    font-size: 16px;
    margin-bottom: 32px;
    line-height: 1.7;
}
.cta-btn {
    display: inline-block;
    min-width: 320px;
    padding: 16px 40px;
    background: var(--main-blue);
    color: #fff;
    font-size: 17px;
    font-weight: 700;
    border-radius: 50px;
    box-shadow: 0 8px 24px rgba(37,99,235,0.35);
    transition: 0.3s;
}
.cta-btn:hover {
    background: var(--blue-dark);
    transform: translateY(-2px);
    box-shadow: 0 12px 32px rgba(37,99,235,0.5);
}
.cta-sub {
    margin-top: 28px;
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 24px;
}
.cta-sub span {
    color: #94a3b8;
    font-size: 14px;
    display: inline-flex;
    align-items: center;
}
.cta-sub i {
    color: #34d399;
    margin-right: 6px;
}
/* ========================================
   10. 媒体查询 - 平板 1024px
   ======================================== */
@media screen and (max-width: 1024px) {
    .adv-grid, .info-grid, .news-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .home-page .broker-wrap .broker-item {
        padding: 36px 30px;
        gap: 28px;
    }
    .home-page .broker-wrap .broker-info {
        flex: 1 1 100%;
    }
    .home-page .broker-wrap .app-pic-box {
        flex: 0 1 100%;
        max-width: 420px;
        margin: 0 auto;
    }
    .home-page .broker-wrap .app-pic-box .app-img {
        max-width: 420px;
    }
}
/* ========================================
   11. 媒体查询 - 手机 768px
   ======================================== */
@media screen and (max-width: 768px) {
    .hero-banner {
        display: block;
        min-height: auto;
        padding: 60px 16px;
    }
    .hero-banner::after { display: none; }
    .banner-content {
        max-width: 100%;
        text-align: center;
    }
    .banner-content h1 {
        font-size: 26px;
        white-space: normal;
        word-break: break-word;
    }
    .banner-buttons { justify-content: center; }
    .btn-primary, .btn-outline { width: 200px; }
    .adv-grid, .info-grid, .news-grid {
        grid-template-columns: 1fr;
    }
    .home-page .pro-list {
        grid-template-columns: 1fr;
    }
    /* 品牌卡移动端竖排居中 */
    .home-page .broker-wrap { padding: 45px 0; }
    .home-page .broker-wrap .broker-item {
        flex-direction: column;
        align-items: center;
        text-align: center;
        padding: 32px 20px 28px;
        gap: 24px;
    }
    .home-page .broker-wrap .broker-info {
        display: flex;
        flex-direction: column;
        align-items: center;
        width: 100%;
    }
    .home-page .broker-wrap .broker-logo {
        width: 88px;
        height: 88px;
        margin: 0 auto 14px;
        padding: 10px;
    }
    .home-page .broker-wrap .broker-reason {
        text-align: center;
    }
    .home-page .broker-wrap .rank-tags {
        justify-content: center;
    }
    .home-page .broker-wrap .broker-btn-group {
        max-width: 320px;
        width: 100%;
        margin: 0 auto;
    }
    .home-page .broker-wrap .app-pic-box {
        flex: 1 1 100%;
        min-width: 0;
    }
    .home-page .broker-wrap .app-pic-box .app-img {
        max-width: 300px;
        margin: 0 auto;
    }
    .home-page .broker-title h2 { font-size: 24px; }
    .home-page .broker-title p { font-size: 15px; }
    .home-page .faq-wrap { padding: 50px 0; }
    .home-page .faq-title h2 { font-size: 24px; }
    .home-page .faq-btn { padding: 16px 18px; font-size: 14.5px; }
    .cta-bottom { padding: 50px 0; }
    .cta-bottom h3 { font-size: 24px; }
    .cta-btn { min-width: 280px; padding: 14px 30px; font-size: 16px; }
    .cta-sub { gap: 14px; }
}
