/* ===== 基础 ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    color: #eee;
}

body {
    font-family: "Microsoft YaHei", "PingFang SC", "Helvetica Neue", Arial, sans-serif;
    background-color: #000000;
}

img {
    border: 0;
    vertical-align: middle;
}

a {
    text-decoration: none;
}

/* ===== 顶部下载区 ===== */
.hero {
    width: 100%;
    background-color: #000000;
    padding: 72px 0 96px;
    overflow: hidden;
}

.hero .hero-inner {
    width: 1300px;
    max-width: 1300px;
    margin: 0 auto;
    text-align: center;
}

.hero .hero-title {
    font-size: 54px;
    line-height: 1.15;
    font-weight: 600;
    color: #ffffff;
    letter-spacing: 4px;
}

.hero .hero-sub {
    margin-top: 16px;
    font-size: 50px;
    line-height: 1.15;
    font-weight: 500;
    color: #ffffff;
    letter-spacing: 3px;
}

/* ----- 下载按钮 ----- */
.hero .hero-btns {
    margin-top: 70px;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 48px;
}

.dl-btn {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 396px;
    height: 70px;
    border: 2px solid #4a4a4a;
    border-radius: 41px;
    background-color: #000;
    transition: background-color .25s ease, border-color .25s ease, transform .25s ease;
}

.dl-btn .dl-icon {
    width: 30px;
    height: 30px;
    margin-right: 18px;
}

.dl-btn .dl-text {
    font-size: 26px;
    font-weight: 500;
    color: #ffffff;
    letter-spacing: 1px;
}


.dl-btn-stable:hover {
    background-color: rgba(243, 120, 34, .14);
    border-color: #f37822;
}


.dl-btn-beta:hover {
    background-color: rgba(255, 255, 255, .07);
    border-color: #3b68f5;
}

.dl-btn:active {
    transform: scale(.985);
}

/* ----- 按钮右上角角标 ----- */
.dl-tag {
    position: absolute;
    top: -24px;
    right: 0;
    transform: translateX(25%);
    height: 37px;
    line-height: 37px;
    padding: 0 13px;
    border-radius: 19px;
    border-bottom-left-radius: 0;
    font-size: 20px;
    font-weight: 500;
    color: #ffffff;
    white-space: nowrap;
}

.dl-tag-stable {
    background-color: #f37822;
}

.dl-tag-beta {
    background-color: #3b68f5;
}

/* ===== 新版功能标题 ===== */
/* 说明：下方功能内容暂未实现，此处仅保留标题区 */
.features {
    width: 100%;
    background-color: #000000;
}

.features .features-inner {
    width: 1300px;
    max-width: 1300px;
    margin: 0 auto;
    text-align: center;
}

.features .features-title {
    font-size: 50px;
    line-height: 1.15;
    font-weight: 500;
    color: #ffffff;
    letter-spacing: 4px;
}

.features .features-sub {
    margin-top: 12px;
    font-size: 26px;
    line-height: 1.2;
    font-weight: 400;
    color: #ffffff;
    letter-spacing: 2px;
}

/* ===== 新版功能 - 内容卡片 ===== */
.feat-card {
    width: 844px;
    max-width: 100%;
    margin: 53px auto 0;
    padding: 44px 32px 24px;
    border: 2px solid #4a4a4a;
    border-radius: 24px;
    background-color: transparent;
    text-align: left;
}

.feat-card .feat-card-title {
    font-size: 42px;
    line-height: 1.2;
    font-weight: 500;
    color: #ffffff;
    letter-spacing: 1px;
}

.feat-card .feat-card-desc {
    margin-top: 6px;
    font-size: 26px;
    line-height: 36px;
    font-weight: 400;
    color: #cccccc;
    letter-spacing: 0;
}

/* 「了解更多」胶囊按钮 */
.feat-more {
    display: inline-block;
    height: 45px;
    margin-top: 36px;
    padding: 0 28px;
    border: 2px solid #4a4a4a;
    border-radius: 28px;
    font-size: 24px;
    line-height: 41px;
    color: #cccccc;
    transition: border-color .25s ease, color .25s ease;
}

.feat-more:hover {
    border-color: #f37822;
    color: #ffffff;
}

/* 绘图工具图标区（整图 png） */
.feat-card .feat-card-img {
    display: block;
    width: 100%;
    margin-top: 24px;
}

/* ===== 多种图表类型（第三部分） ===== */
/* 版心宽度 844px，与上方「超级行情图表」卡片完全一致；
   所有内部尺寸 = 设计稿 1141×808 的数值 × 0.7397（等比缩小），边框保持 2px */
.charts {
    width: 100%;
    background-color: #000000;
    padding: 60px 0 60px;
    overflow: hidden;
}

/* 画布 844×598，居中 */
.charts .charts-stage {
    position: relative;
    width: 844px;
    max-width: 100%;
    height: 598px;
    margin: 0 auto;
}

/* ----- 左侧卡片 ----- */
/* 右下角为直角：底边要一直连到背层的底边，形成一条贯通的横线 */
.ct-left {
    position: absolute;
    left: 0;
    top: 0;
    width: 451px;
    height: 575px;
    padding: 63px 44px 0;
    border: 2px solid #4a4a4a;
    border-radius: 21px 21px 0 21px;
    background-color: #000000;
    z-index: 1;
}

.ct-left .ct-title {
    font-size: 41px;
    line-height: 1.2;
    font-weight: 600;
    color: #ffffff;
    letter-spacing: .7px;
}

.ct-left .ct-desc {
    margin-top: 7px;
    /* 23px：卡内可用宽 359px，第二行 15 字 ×23=345 不会折行
       （24px 时需 360px，会多折出一行只剩「性」字） */
    font-size: 23px;
    line-height: 36px;
    font-weight: 400;
    color: #cccccc;
}

/* K线图（images/charts_type.png）：
   用 background-image 实现，尺寸固定 499×311（780×486 等比），
   层级在背层之上：右端出血越过左卡右边框，压在背层的黑底上 */
.ct-chart {
    position: absolute;
    left: 16px;
    top: 245px;
    width: 499px;
    height: 311px;
    background: url("../images/charts_type.png") no-repeat center center;
    background-size: 100% 100%;
    z-index: 3;
}

/* ----- 背层描边（装饰，制造叠层效果） ----- */
/* 与左卡同底、向右延伸到画布最右侧的背层：
   左边界正好对齐右卡左边界（整条左边缘藏在右卡后面），
   因此它的上/下边只在右卡右侧露出 36px 一小段，
   「左卡—右卡」中间的缝隙里不会出现任何横线 */
.ct-ghost2 {
    position: absolute;
    left: 449px;
    top: 145px;
    width: 395px;
    height: 430px;
    border: 2px solid #4a4a4a;
    border-left: 0;
    border-radius: 0 28px 28px 0;
    background-color: #000000;
    z-index: 2;
}

/* ----- 右侧卡片：图表类型列表 ----- */
.ct-right {
    position: absolute;
    left: 498px;
    top: 67px;
    width: 320px;
    height: 530px;
    padding: 51px 0 0 23px;
    border: 2px solid #4a4a4a;
    border-radius: 30px;
    background-color: #000000;
    z-index: 4;
}

.ct-right .ct-list li {
    display: flex;
    align-items: center;
    height: 53px;
    margin-bottom: 8px;
    list-style: none;
}

.ct-right .ct-list li:last-child {
    margin-bottom: 0;
}

.ct-right .ct-list li img {
    width: 46px;
    height: 46px;
    margin-right: 29px;
}

.ct-right .ct-list li span {
    /* 设计稿是 43.5px 的苹方/思源体（字形高 0.874em → 换到 844 版心约 28px）。
       本机浏览器用的微软雅黑字形高约 0.97em，同字号会显得大 14%，
       故把字号降到 29px（字形高 ≈28px），并用 3px 字距补回字符步进（约 32px） */
    font-size: 26px;
    font-weight: 400;
    color: #e8e8e8;
    letter-spacing: 3px;
    white-space: nowrap;
}

/* ===== 小屏适配 ===== */
@media screen and (max-width: 1340px) {
    .hero .hero-inner,
    .features .features-inner {
        width: 100%;
        padding: 0 24px;
    }

    .hero .hero-title {
        font-size: 40px;
    }

    .hero .hero-sub {
        font-size: 34px;
    }

    .features .features-title {
        font-size: 40px;
    }

    .features .features-sub {
        font-size: 18px;
    }

    .hero .hero-btns {
        gap: 28px;
    }

    .dl-btn {
        width: 340px;
        height: 72px;
        border-radius: 36px;
    }

    .dl-btn .dl-text {
        font-size: 22px;
    }

    .dl-tag {
        top: -20px;
        height: 32px;
        line-height: 32px;
        font-size: 16px;
    }

    .feat-card {
        padding: 28px 20px 36px;
        border-radius: 20px;
    }

    .feat-card .feat-card-title {
        font-size: 28px;
    }

    .feat-card .feat-card-desc {
        font-size: 16px;
        line-height: 26px;
    }

    .feat-more {
        height: 45px;
        margin-top: 24px;
        padding: 0 20px;
        border-radius: 22px;
        font-size: 16px;
        line-height: 42px;
    }

    .feat-card .feat-card-img {
        margin-top: 28px;
    }
}

/* ===== 第三部分：窄屏等比缩放（保持内部 1:1 比例，始终居中） ===== */
@media screen and (max-width: 844px) {
    .charts .charts-stage {
        max-width: none;
        margin-left: 50%;
        transform: translateX(-50%) scale(.72);
        transform-origin: top center;
        margin-bottom: -167px;
    }
}

@media screen and (max-width: 620px) {
    .charts .charts-stage {
        transform: translateX(-50%) scale(.52);
        margin-bottom: -287px;
    }
}

@media screen and (max-width: 440px) {
    .charts .charts-stage {
        transform: translateX(-50%) scale(.38);
        margin-bottom: -371px;
    }
}

/* ===== 技术分析 / 100多种技术指标（第四部分） ===== */
/* 版心 844px（与上方「超级行情图表」卡片一致）；
   内部尺寸 = 设计稿 × 0.7358（等比换算），边框保持 2px */
.ind {
    width: 100%;
    background-color: #000000;
    padding: 0 0 60px;
    overflow: hidden;
}

/* 画布 844×564：两张 406 宽的卡片 + 32 间距 */
.ind .ind-stage {
    position: relative;
    width: 844px;
    max-width: 100%;
    height: 564px;
    margin: 0 auto;
}

.ind-card {
    position: absolute;
    top: 0;
    width: 406px;
    height: 564px;
    /* 左内边距 40 与设计稿一致；右侧只留 14，
       因为描述第二行有 15 个字（345px），需要卡内可用宽 ≥345 */
    padding: 30px 14px 0 40px;
    border: 2px solid #4a4a4a;
    border-radius: 32px;
    background-color: #000000;
}

.ind-card-1 {
    left: 0;
}

.ind-card-2 {
    left: 438px;
}

.ind-card .ind-title {
    /* 设计稿标题字高 38px（→28.0 CSS），微软雅黑字面更高约 14%，
       故字号取 29px 与设计稿字高一致，再用 4.5px 字距
       把每字步进补回设计稿的 33.6px */
    font-size: 29px;
    line-height: 1.2;
    font-weight: 600;
    color: #ffffff;
    letter-spacing: 4.5px;
}

.ind-card .ind-desc {
    margin-top: 9px;
    font-size: 23px;
    line-height: 35px;
    font-weight: 400;
    color: #cccccc;
}

/* 卡片下半部分的整图（png，两行用 <br> 断在设计稿的位置） */
.ind-shot {
    position: absolute;
    background-repeat: no-repeat;
    background-size: 100% 100%;
}

.ind-shot-gauge {
    left: 15px;
    top: 281px;
    width: 374px;
    height: 236px;
    background-image: url("../images/%E9%9C%87%E8%8D%A1%E6%8C%87%E6%A0%87.png");
}

.ind-shot-trade {
    left: 12px;
    top: 203px;
    width: 377px;
    height: 338px;
    background-image: url("../images/%E4%BA%A4%E6%98%93.png");
}

/* 仪表盘上的文字：png 里只有弧形、指针与两个蓝字「买入」，
   白色标签按设计稿坐标另排 */
.ind-lb {
    position: absolute;
    transform: translateX(-50%);
    white-space: nowrap;
    font-weight: 400;
    color: #e8e8e8;
}

.ind-lb-cap {
    left: 200.7px;
    top: 239px;
    font-size: 23px;
    line-height: 1.2;
    letter-spacing: 3px;
    color: #ffffff;
}

.ind-lb-sell,
.ind-lb-mid,
.ind-lb-ssell,
.ind-lb-sbuy,
.ind-lb-more {
    /* 设计稿小标签字高 19px（→14.0 CSS）、步进 16.9px */
    font-size: 15px;
    line-height: 18px;
    letter-spacing: 2px;
}

.ind-lb-sell {
    left: 113.5px;
    top: 331.7px;
}

.ind-lb-mid {
    left: 190.8px;
    top: 319.2px;
}

.ind-lb-ssell {
    left: 58px;
    top: 377.3px;
}

.ind-lb-sbuy {
    left: 328.4px;
    top: 377.3px;
}

.ind-lb-more {
    left: 200.4px;
    top: 482.5px;
}

/* ===== 第四部分：窄屏等比缩放（保持 1:1 比例并居中） ===== */
@media screen and (max-width: 844px) {
    .ind .ind-stage {
        max-width: none;
        margin-left: 50%;
        transform: translateX(-50%) scale(.72);
        transform-origin: top center;
        margin-bottom: -158px;
    }
}

@media screen and (max-width: 620px) {
    .ind .ind-stage {
        transform: translateX(-50%) scale(.52);
        margin-bottom: -271px;
    }
}

@media screen and (max-width: 440px) {
    .ind .ind-stage {
        transform: translateX(-50%) scale(.38);
        margin-bottom: -350px;
    }
}

/* ===== 100多种技术指标 / 主图指标（第五部分） ===== */
/* 版心 844px（与上方卡片一致）；内部尺寸 = 参考图 × 0.7352（同 2x 导出比例） */
.mi {
    width: 100%;
    background-color: #000000;
    padding: 0 0 60px;
    overflow: hidden;
}

.mi .mi-card {
    position: relative;
    width: 844px;
    height: 788px;
    margin: 0 auto;
    border: 2px solid #4a4a4a;
    border-radius: 34px;
    background-color: #000000;
    /* 折线图右下出血，靠圆角裁切 */
    overflow: hidden;
}

/* ----- 标题 / 描述 / 小标题 ----- */
.mi-card .mi-title {
    position: absolute;
    left: 40px;
    top: 64px;
    font-size: 36px;
    line-height: 44px;
    font-weight: 600;
    color: #ffffff;
    letter-spacing: 4px;
}

.mi-card .mi-desc {
    position: absolute;
    left: 40px;
    top: 118px;
    font-size: 23px;
    line-height: 32px;
    font-weight: 400;
    color: #cccccc;
    white-space: nowrap;
}

.mi-card .mi-sub {
    position: absolute;
    left: 17px;
    top: 193px;
    font-size: 36px;
    line-height: 44px;
    font-weight: 600;
    color: #ffffff;
    letter-spacing: 4px;
}

/* ----- 指标列表 ----- */
.mi-card .mi-list {
    position: absolute;
    left: 10px;
    top: 253px;
    width: 820px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.mi-card .mi-list li {
    position: relative;
    display: flex;
    align-items: center;
    height: 58px;
    padding-left: 15px;
}

/* 高亮行（MA）：稍高 + #1a1a1a 底色 */
.mi-card .mi-list li.active {
    height: 60px;
    margin-bottom: 5px;
    border-radius: 10px;
    background-color: #1a1a1a;
}

.mi-card .mi-star {
    flex: none;
    width: 35px;
    height: 35px;
    margin-right: 23px;
}

.mi-card .mi-name {
    font-size: 25px;
    line-height: 1;
    font-weight: 400;
    color: #e8e8e8;
    letter-spacing: 3px;
}

/* 高亮行右侧的 4 个工具图标 */
.mi-card .mi-tools {
    position: absolute;
    right: 60px;
    top: 50%;
    transform: translateY(-50%);
    display: flex;
    align-items: center;
    gap: 30px;
}

.mi-card .mi-tools img {
    display: block;
    width: 30px;
    height: 30px;
}

/* ----- 折线图（png 整图，右下出血） ----- */
.mi-card .mi-chart {
    position: absolute;
    left: 372px;
    top: 393px;
    width: 458px;
    height: 408px;
    background-image: url("../images/%E6%8A%98%E7%BA%BF.png");
    background-repeat: no-repeat;
    background-size: 100% 100%;
    pointer-events: none;
}

.mi-card .sq-img img {
    width: 100%;
}

/* ===== 第五部分：窄屏等比缩放 ===== */
@media screen and (max-width: 844px) {
    .mi .mi-card {
        margin-left: 50%;
        transform: translateX(-50%) scale(.72);
        transform-origin: top center;
        margin-bottom: -221px;
    }
}

@media screen and (max-width: 620px) {
    .mi .mi-card {
        transform: translateX(-50%) scale(.52);
        margin-bottom: -378px;
    }
}

@media screen and (max-width: 440px) {
    .mi .mi-card {
        transform: translateX(-50%) scale(.38);
        margin-bottom: -489px;
    }
}


/* ===== 常见问题（第六部分） ===== */
/* 版心 844px（与上方各卡片一致）；内部尺寸 = 参考图 × 0.64
   卡片 844×218、圆角 20、卡间距 64；编号圆 ⌀64、#2e56f5 */
.faq {
    width: 100%;
    background-color: #000000;
    padding: 40px 0 80px;
}

.faq .faq-title {
    font-size: 50px;
    line-height: 1.15;
    font-weight: 500;
    color: #ffffff;
    letter-spacing: 4px;
    text-align: center;
}

.faq .faq-sub {
    margin-top: 21px;
    font-size: 26px;
    line-height: 1.2;
    font-weight: 400;
    color: #ffffff;
    letter-spacing: 2px;
    text-align: center;
}

.faq .faq-list {
    width: 844px;
    margin: 45px auto 0;
    padding: 0;
    list-style: none;
}

.faq .faq-card {
    position: relative;
    box-sizing: border-box;
    width: 844px;
    height: 218px;
    border: 2px solid #4a4a4a;
    border-radius: 20px;
    background-color: transparent;
}

.faq .faq-card + .faq-card {
    margin-top: 48px;
}

/* 编号圆 */
.faq .faq-no {
    position: absolute;
    left: 17px;
    top: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background-color: #2e56f5;
    color: #ffffff;
    font-size: 30px;
    line-height: 1;
    font-weight: 400;
    letter-spacing: 4px;
    text-indent: 4px;
}

/* 问题标题：Q: + 问题文字 */
.faq .faq-q {
    position: absolute;
    left: 104px;
    top: 50px;
    margin: 0;
    font-size: 30px;
    line-height: 42px;
    font-weight: 500;
    color: #ffffff;
    letter-spacing: 2px;
}

.faq .faq-q .faq-qt {
    margin-right: 24px;
}

/* 回答 */
.faq .faq-a {
    position: absolute;
    left: 105px;
    top: 100px;
    width: 713px;
    margin: 0;
    font-size: 18px;
    line-height: 31px;
    font-weight: 400;
    color: #8a8a8a;
    letter-spacing: .5px;
}

/* 回答里的白字强调（可以。/ 不会。） */
.faq .faq-a em {
    font-style: normal;
    color: #2e56f5;
}

/* ===== 第六部分：窄屏适配 ===== */
@media screen and (max-width: 900px) {
    .faq {
        padding: 30px 0 50px;
    }

    .faq .faq-title {
        font-size: 34px;
        letter-spacing: 3px;
    }

    .faq .faq-sub {
        margin-top: 10px;
        font-size: 18px;
        letter-spacing: 1px;
    }

    .faq .faq-list {
        width: auto;
        margin: 26px 20px 0;
    }

    .faq .faq-card {
        width: auto;
        height: auto;
        border-radius: 14px;
        padding: 22px 18px 22px 88px;
    }

    .faq .faq-card + .faq-card {
        margin-top: 20px;
    }

    .faq .faq-no {
        left: 18px;
        top: 22px;
        width: 48px;
        height: 48px;
        font-size: 22px;
        letter-spacing: 2px;
        text-indent: 2px;
    }

    .faq .faq-q {
        position: static;
        font-size: 19px;
        line-height: 28px;
        letter-spacing: 1px;
    }

    .faq .faq-q .faq-qt {
        margin-right: 12px;
    }

    .faq .faq-a {
        position: static;
        width: auto;
        margin-top: 10px;
        font-size: 15px;
        line-height: 25px;
        letter-spacing: 0;
    }

    .faq .faq-a br {
        display: none;
    }
}


/* ===== 全球市场尽在掌握 / 底部下载区（第七部分） ===== */
/* 背景 images/blackbg.png（1920×940，点阵地球位于 y199~728）；
   区块高度取满图高 940px + cover + center center：
   此时背景按 max(视口宽/1920, 1) 等比铺满，地球上下各留 199 / 212 的余量，
   视口宽 ≥550px 时整颗球体都不会被上下裁切。
   注意不要用 center -220px 之类的偏移，那会把球顶推出可视区 */
.cta {
    width: 100%;
    height: 510px;
    padding: 68px 0 0;
    background-color: #000000;
    background-image: url("../images/blackbg.png");
    background-repeat: no-repeat;
    background-position: center -150px;
    background-size: cover;
    text-align: center;
    overflow: hidden;
}

.cta .cta-title {
    font-size: 50px;
    line-height: 1.15;
    font-weight: 500;
    color: #ffffff;
    letter-spacing: 2px;
}

.cta .cta-sub {
    margin-top: 28px;
    font-size: 26px;
    line-height: 34px;
    font-weight: 400;
    color: #dcdcdc;
    letter-spacing: .5px;
}

/* 下载按钮组：复用顶部 .dl-btn / .dl-tag */
.cta .cta-btns {
    margin-top: 72px;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 40px;
}

/* ===== 第七部分：窄屏适配 ===== */
@media screen and (max-width: 900px) {
    .cta {
        height: auto;
        padding: 46px 20px 80px;
        background-position: center center;
    }

    .cta .cta-title {
        font-size: 30px;
        letter-spacing: 1px;
    }

    .cta .cta-sub {
        margin-top: 16px;
        font-size: 16px;
        line-height: 26px;
        letter-spacing: 0;
    }

    .cta .cta-sub br {
        display: none;
    }

    .cta .cta-btns {
        margin-top: 40px;
        gap: 18px;
    }

    .cta .dl-btn {
        width: 300px;
        height: 60px;
    }

    .cta .dl-btn .dl-text {
        font-size: 21px;
    }
}
