/* ==========================================================================
   AvaTrade 爱华 · 多语种处理平台 全站样式表
   配色：深青蓝主色 + 琥珀橙点缀
   说明：本文件为手写样式，未引入任何第三方框架 / 图标库 / 在线字体
   ========================================================================== */

/* ---------- 1. 变量与重置 ---------- */
:root {
    --teal-900: #06222B;
    --teal-800: #0A323E;
    --teal-700: #0E4351;
    --teal-600: #135668;
    --teal-500: #1B7089;
    --teal-400: #2E90AA;
    --teal-300: #63B4C9;
    --teal-100: #DCEBF0;
    --teal-50: #F1F8FA;

    --amber-600: #C96A0A;
    --amber-500: #E8871E;
    --amber-400: #F5A33F;
    --amber-300: #FBC77E;
    --amber-100: #FDF0DC;

    --ink: #10262E;
    --ink-soft: #46606A;
    --ink-mute: #78939D;
    --line: #DCE7EB;
    --white: #FFFFFF;

    --radius-s: 8px;
    --radius-m: 14px;
    --radius-l: 22px;

    --shadow-s: 0 2px 8px rgba(10, 50, 62, 0.06);
    --shadow-m: 0 10px 28px rgba(10, 50, 62, 0.10);
    --shadow-l: 0 20px 48px rgba(10, 50, 62, 0.16);

    --wrap: 1180px;
    --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 90px;
}

body {
    font-family: "Microsoft YaHei", "PingFang SC", "Hiragino Sans GB",
        "Source Han Sans SC", "Noto Sans CJK SC", "WenQuanYi Micro Hei", sans-serif;
    color: var(--ink);
    background: var(--white);
    line-height: 1.75;
    font-size: 16px;
    -webkit-font-smoothing: antialiased;
}

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

a {
    color: inherit;
    text-decoration: none;
}

ul,
ol {
    list-style: none;
}

h1,
h2,
h3,
h4 {
    line-height: 1.35;
    font-weight: 700;
    color: var(--teal-900);
}

/* ---------- 2. 通用容器与工具类 ---------- */
.wrap {
    width: 100%;
    max-width: var(--wrap);
    margin: 0 auto;
    padding: 0 24px;
}

.section {
    padding: 88px 0;
}

.section--tint {
    background: var(--teal-50);
}

.section--dark {
    background: linear-gradient(150deg, var(--teal-900) 0%, var(--teal-700) 100%);
    color: #C9E1E9;
}

.section--dark h2,
.section--dark h3,
.section--dark h4 {
    color: var(--white);
}

.sec-head {
    max-width: 760px;
    margin: 0 auto 52px;
    text-align: center;
}

.sec-tag {
    display: inline-block;
    font-size: 13px;
    letter-spacing: 2px;
    font-weight: 700;
    color: var(--amber-600);
    background: var(--amber-100);
    padding: 5px 14px;
    border-radius: 999px;
    margin-bottom: 16px;
}

.section--dark .sec-tag {
    color: var(--amber-300);
    background: rgba(245, 163, 63, 0.14);
}

.sec-head h2 {
    font-size: 34px;
    margin-bottom: 14px;
}

.sec-head p {
    color: var(--ink-soft);
    font-size: 16px;
}

.section--dark .sec-head p {
    color: #9FC3CE;
}

.btn {
    display: inline-block;
    padding: 13px 30px;
    border-radius: 999px;
    font-weight: 700;
    font-size: 15px;
    border: 2px solid transparent;
    cursor: pointer;
    transition: all 0.25s var(--ease);
    font-family: inherit;
    text-align: center;
}

.btn--primary {
    background: var(--amber-500);
    color: #3A1C00;
    box-shadow: 0 8px 20px rgba(232, 135, 30, 0.32);
}

.btn--primary:hover {
    background: var(--amber-400);
    transform: translateY(-2px);
}

.btn--ghost {
    border-color: rgba(255, 255, 255, 0.55);
    color: var(--white);
}

.btn--ghost:hover {
    background: rgba(255, 255, 255, 0.14);
    border-color: var(--white);
}

.btn--outline {
    border-color: var(--teal-500);
    color: var(--teal-700);
}

.btn--outline:hover {
    background: var(--teal-700);
    color: var(--white);
}

.grid-3 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 26px;
}

.grid-2 {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
}

.grid-4 {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 22px;
}

/* ---------- 3. 顶部导航 ---------- */
.topbar {
    background: var(--teal-900);
    color: #A9C9D3;
    font-size: 13px;
}

.topbar .wrap {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 38px;
    flex-wrap: wrap;
    gap: 10px;
}

.topbar-info {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

.topbar-langs {
    display: flex;
    gap: 6px;
    align-items: center;
}

.lang-link {
    padding: 2px 10px;
    border-radius: 999px;
    transition: all 0.2s var(--ease);
    border: 1px solid transparent;
}

.lang-link:hover {
    color: var(--white);
    border-color: rgba(255, 255, 255, 0.35);
}

.lang-link.is-active {
    background: rgba(232, 135, 30, 0.2);
    color: var(--amber-300);
    border-color: rgba(245, 163, 63, 0.5);
    font-weight: 700;
}

/* 中文站主线入口：置于栏目最顶部首位 */
.cn-entry {
    display: block;
    background: linear-gradient(90deg, var(--amber-600) 0%, var(--amber-500) 55%, var(--amber-400) 100%);
    color: #331900;
}

.cn-entry .wrap {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    height: 44px;
    font-size: 14.5px;
    font-weight: 700;
}

.cn-entry-tag {
    background: rgba(255, 255, 255, 0.9);
    color: var(--amber-600);
    font-size: 12px;
    padding: 2px 10px;
    border-radius: 999px;
    letter-spacing: 1px;
}

.cn-entry-arrow {
    transition: transform 0.25s var(--ease);
}

.cn-entry:hover .cn-entry-arrow {
    transform: translateX(5px);
}

.cn-entry.is-current {
    background: linear-gradient(90deg, #0A323E 0%, #135668 100%);
    color: var(--amber-300);
}

.cn-entry.is-current .cn-entry-tag {
    background: var(--amber-500);
    color: #331900;
}

/* 主导航 */
.nav {
    position: sticky;
    top: 0;
    z-index: 60;
    background: rgba(255, 255, 255, 0.96);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--line);
}

.nav .wrap {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 76px;
    gap: 20px;
}

.brand {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-shrink: 0;
}

.brand-logo {
    width: 44px;
    height: 44px;
    border-radius: 11px;
    object-fit: cover;
    border: 1px solid var(--line);
}

.brand-text b {
    display: block;
    font-size: 18px;
    color: var(--teal-800);
    letter-spacing: 0.5px;
    line-height: 1.2;
}

.brand-text span {
    display: block;
    font-size: 11.5px;
    color: var(--ink-mute);
    letter-spacing: 1.6px;
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 30px;
    font-size: 15px;
    font-weight: 600;
}

.nav-menu a {
    color: var(--ink-soft);
    position: relative;
    padding: 4px 0;
    transition: color 0.2s var(--ease);
}

.nav-menu a::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -2px;
    width: 0;
    height: 2px;
    background: var(--amber-500);
    transition: width 0.25s var(--ease);
}

.nav-menu a:hover,
.nav-menu a.is-active {
    color: var(--teal-700);
}

.nav-menu a:hover::after,
.nav-menu a.is-active::after {
    width: 100%;
}

.nav-cta {
    flex-shrink: 0;
}

.nav-toggle {
    display: none;
    width: 42px;
    height: 38px;
    border: 1px solid var(--line);
    border-radius: 10px;
    background: var(--white);
    cursor: pointer;
    padding: 9px 10px;
    flex-direction: column;
    justify-content: space-between;
}

.nav-toggle span {
    display: block;
    height: 2px;
    background: var(--teal-700);
    border-radius: 2px;
    transition: transform 0.25s var(--ease), opacity 0.2s var(--ease);
}

.nav-toggle.is-open span:nth-child(1) {
    transform: translateY(9px) rotate(45deg);
}

.nav-toggle.is-open span:nth-child(2) {
    opacity: 0;
}

.nav-toggle.is-open span:nth-child(3) {
    transform: translateY(-9px) rotate(-45deg);
}

/* ---------- 4. 首屏 ---------- */
.hero {
    position: relative;
    background: linear-gradient(135deg, var(--teal-900) 0%, var(--teal-600) 100%);
    color: var(--white);
    overflow: hidden;
}

.hero::before {
    content: "";
    position: absolute;
    right: -140px;
    top: -140px;
    width: 460px;
    height: 460px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(232, 135, 30, 0.24), transparent 68%);
    pointer-events: none;
}

.hero .wrap {
    position: relative;
    display: grid;
    grid-template-columns: 1.05fr 0.95fr;
    gap: 52px;
    align-items: center;
    padding-top: 76px;
    padding-bottom: 76px;
}

.hero-label {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    font-size: 13.5px;
    color: var(--amber-300);
    border: 1px solid rgba(245, 163, 63, 0.45);
    background: rgba(245, 163, 63, 0.12);
    padding: 6px 15px;
    border-radius: 999px;
    margin-bottom: 22px;
}

.hero-label::before {
    content: "";
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--amber-400);
}

.hero h1 {
    color: var(--white);
    font-size: 43px;
    line-height: 1.28;
    margin-bottom: 20px;
}

.hero h1 em {
    font-style: normal;
    color: var(--amber-300);
}

.hero-lead {
    font-size: 16.5px;
    color: #B7D4DD;
    margin-bottom: 32px;
    max-width: 540px;
}

.hero-actions {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
    margin-bottom: 38px;
}

.hero-stats {
    display: flex;
    gap: 40px;
    padding-top: 28px;
    border-top: 1px solid rgba(255, 255, 255, 0.16);
    flex-wrap: wrap;
}

.hero-stat b {
    display: block;
    font-size: 27px;
    color: var(--amber-300);
    font-weight: 800;
    line-height: 1.2;
}

.hero-stat span {
    font-size: 13.5px;
    color: #9FC3CE;
}

.hero-visual {
    position: relative;
    border-radius: var(--radius-l);
    overflow: hidden;
    box-shadow: var(--shadow-l);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.hero-visual img {
    width: 100%;
    height: 340px;
    object-fit: cover;
}

/* ---------- 5. 卡片 ---------- */
.card {
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: var(--radius-m);
    padding: 30px 26px;
    transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease),
        border-color 0.3s var(--ease);
}

.card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-m);
    border-color: var(--teal-300);
}

.card-num {
    width: 46px;
    height: 46px;
    border-radius: 12px;
    background: var(--teal-50);
    color: var(--teal-700);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 17px;
    margin-bottom: 18px;
    border: 1px solid var(--teal-100);
}

.card h3 {
    font-size: 19px;
    margin-bottom: 11px;
}

.card p {
    color: var(--ink-soft);
    font-size: 14.5px;
}

.card-list {
    margin-top: 15px;
    display: grid;
    gap: 7px;
}

.card-list li {
    font-size: 13.5px;
    color: var(--ink-mute);
    padding-left: 17px;
    position: relative;
}

.card-list li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 9px;
    width: 6px;
    height: 6px;
    border-radius: 2px;
    background: var(--amber-500);
}

/* 产品图文卡 */
.prod-card {
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: var(--radius-m);
    overflow: hidden;
    transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
}

.prod-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-m);
}

.prod-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    background: var(--teal-50);
}

.prod-body {
    padding: 22px 22px 26px;
}

.prod-body h3 {
    font-size: 18px;
    margin-bottom: 9px;
}

.prod-body p {
    font-size: 14px;
    color: var(--ink-soft);
}

.prod-meta {
    margin-top: 15px;
    padding-top: 14px;
    border-top: 1px dashed var(--line);
    display: flex;
    justify-content: space-between;
    font-size: 12.5px;
    color: var(--ink-mute);
}

/* ---------- 6. 优势 / 指标 ---------- */
.adv-item {
    display: flex;
    gap: 16px;
    align-items: flex-start;
}

.adv-icon {
    width: 42px;
    height: 42px;
    flex-shrink: 0;
    border-radius: 11px;
    background: rgba(245, 163, 63, 0.16);
    color: var(--amber-300);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 15px;
}

.adv-item h4 {
    font-size: 17px;
    margin-bottom: 6px;
}

.adv-item p {
    font-size: 14px;
    color: #9FC3CE;
}

.metric {
    text-align: center;
    padding: 26px 14px;
    border-radius: var(--radius-m);
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.12);
}

.metric b {
    display: block;
    font-size: 34px;
    font-weight: 800;
    color: var(--amber-300);
    line-height: 1.15;
}

.metric b i {
    font-style: normal;
    font-size: 18px;
}

.metric span {
    font-size: 13.5px;
    color: #A9C9D3;
}

/* ---------- 7. 场景 / 方案 ---------- */
.solu {
    position: relative;
    border-radius: var(--radius-m);
    overflow: hidden;
    min-height: 260px;
    display: flex;
    align-items: flex-end;
    border: 1px solid var(--line);
}

.solu img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.solu-mask {
    position: relative;
    width: 100%;
    padding: 70px 24px 24px;
    background: linear-gradient(to top, rgba(6, 34, 43, 0.94), rgba(6, 34, 43, 0.1) 78%);
    color: var(--white);
}

.solu-mask h3 {
    color: var(--white);
    font-size: 19px;
    margin-bottom: 7px;
}

.solu-mask p {
    font-size: 14px;
    color: #B7D4DD;
}

/* ---------- 8. 套餐定价 ---------- */
.plan {
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: var(--radius-m);
    padding: 32px 26px;
    display: flex;
    flex-direction: column;
    transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
}

.plan:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-m);
}

.plan.is-hot {
    border-color: var(--amber-500);
    box-shadow: 0 0 0 4px rgba(232, 135, 30, 0.12);
    position: relative;
}

.plan-hot-tag {
    position: absolute;
    top: -13px;
    right: 22px;
    background: var(--amber-500);
    color: #331900;
    font-size: 12px;
    font-weight: 700;
    padding: 4px 13px;
    border-radius: 999px;
}

.plan h3 {
    font-size: 19px;
    margin-bottom: 6px;
}

.plan-sub {
    font-size: 13.5px;
    color: var(--ink-mute);
    margin-bottom: 20px;
}

.plan-price {
    font-size: 34px;
    font-weight: 800;
    color: var(--teal-700);
    line-height: 1.1;
}

.plan-price small {
    font-size: 14px;
    font-weight: 500;
    color: var(--ink-mute);
    margin-left: 4px;
}

.plan-feat {
    margin: 22px 0 26px;
    display: grid;
    gap: 10px;
    flex-grow: 1;
}

.plan-feat li {
    font-size: 14px;
    color: var(--ink-soft);
    padding-left: 22px;
    position: relative;
}

.plan-feat li::before {
    content: "";
    position: absolute;
    left: 2px;
    top: 6px;
    width: 9px;
    height: 9px;
    border-right: 2px solid var(--teal-500);
    border-bottom: 2px solid var(--teal-500);
    transform: rotate(45deg) scale(0.85);
}

/* ---------- 9. 流程 / 时间线 ---------- */
.flow {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 22px;
}

.flow-step {
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: var(--radius-m);
    padding: 24px 20px;
    position: relative;
}

.flow-step b {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: var(--teal-700);
    color: var(--white);
    font-size: 14px;
    margin-bottom: 14px;
}

.flow-step h4 {
    font-size: 16px;
    margin-bottom: 7px;
}

.flow-step p {
    font-size: 13.5px;
    color: var(--ink-soft);
}

/* ---------- 10. 服务网点 / 联系方式 ---------- */
.branch {
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: var(--radius-m);
    padding: 20px 22px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 14px;
    transition: border-color 0.25s var(--ease), box-shadow 0.25s var(--ease);
}

.branch:hover {
    border-color: var(--teal-300);
    box-shadow: var(--shadow-s);
}

.branch h4 {
    font-size: 16.5px;
    margin-bottom: 3px;
}

.branch p {
    font-size: 13.5px;
    color: var(--ink-mute);
}

.branch-phone {
    font-size: 14.5px;
    font-weight: 700;
    color: var(--amber-600);
    white-space: nowrap;
}

/* ---------- 11. 表单 ---------- */
.form-panel {
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: var(--radius-l);
    padding: 38px 34px;
    box-shadow: var(--shadow-m);
}

.form-row {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 18px;
}

.field {
    margin-bottom: 18px;
}

.field label {
    display: block;
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 7px;
    color: var(--teal-800);
}

.field label i {
    font-style: normal;
    color: var(--amber-600);
    margin-left: 3px;
}

.field input,
.field select,
.field textarea {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid var(--line);
    border-radius: var(--radius-s);
    font-size: 14.5px;
    font-family: inherit;
    color: var(--ink);
    background: var(--teal-50);
    transition: border-color 0.2s var(--ease), background 0.2s var(--ease);
}

.field input:focus,
.field select:focus,
.field textarea:focus {
    outline: none;
    border-color: var(--teal-400);
    background: var(--white);
}

.field textarea {
    resize: vertical;
    min-height: 104px;
}

.field.has-error input,
.field.has-error select,
.field.has-error textarea {
    border-color: #D64545;
    background: #FDF4F4;
}

.field-err {
    display: none;
    font-size: 12.5px;
    color: #D64545;
    margin-top: 5px;
}

.field.has-error .field-err {
    display: block;
}

.form-note {
    font-size: 13px;
    color: var(--ink-mute);
    margin-top: 14px;
}

.form-ok {
    display: none;
    margin-top: 16px;
    padding: 13px 16px;
    border-radius: var(--radius-s);
    background: #EAF7EF;
    border: 1px solid #B9E2C8;
    color: #1F6B3D;
    font-size: 14px;
}

.form-ok.is-show {
    display: block;
}

/* ---------- 12. 下载中心 ---------- */
.dl-toolbar {
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: var(--radius-m);
    padding: 20px 22px;
    margin-bottom: 32px;
    display: flex;
    gap: 18px;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
}

.dl-search {
    position: relative;
    flex: 1 1 300px;
    max-width: 420px;
}

.dl-search input {
    width: 100%;
    padding: 12px 16px 12px 42px;
    border: 1px solid var(--line);
    border-radius: 999px;
    font-size: 14.5px;
    font-family: inherit;
    background: var(--teal-50);
    transition: border-color 0.2s var(--ease);
}

.dl-search input:focus {
    outline: none;
    border-color: var(--teal-400);
    background: var(--white);
}

.dl-search::before {
    content: "";
    position: absolute;
    left: 16px;
    top: 50%;
    width: 12px;
    height: 12px;
    margin-top: -8px;
    border: 2px solid var(--teal-400);
    border-radius: 50%;
}

.dl-search::after {
    content: "";
    position: absolute;
    left: 27px;
    top: 50%;
    width: 6px;
    height: 2px;
    margin-top: 4px;
    background: var(--teal-400);
    transform: rotate(45deg);
    border-radius: 2px;
}

.dl-tabs {
    display: flex;
    gap: 9px;
    flex-wrap: wrap;
}

.dl-tab {
    padding: 9px 18px;
    border-radius: 999px;
    border: 1px solid var(--line);
    background: var(--white);
    font-size: 14px;
    font-family: inherit;
    color: var(--ink-soft);
    cursor: pointer;
    transition: all 0.22s var(--ease);
}

.dl-tab:hover {
    border-color: var(--teal-300);
    color: var(--teal-700);
}

.dl-tab.is-active {
    background: var(--teal-700);
    border-color: var(--teal-700);
    color: var(--white);
    font-weight: 600;
}

.dl-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.dl-card {
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: var(--radius-m);
    padding: 26px 24px;
    display: flex;
    flex-direction: column;
    transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
}

.dl-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-m);
}

.dl-card-top {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 16px;
}

.dl-badge {
    font-size: 12px;
    font-weight: 700;
    padding: 4px 12px;
    border-radius: 999px;
    background: var(--teal-50);
    color: var(--teal-700);
    border: 1px solid var(--teal-100);
}

.dl-badge--app {
    background: var(--amber-100);
    color: var(--amber-600);
    border-color: var(--amber-300);
}

.dl-ver {
    font-size: 12.5px;
    color: var(--ink-mute);
}

.dl-card h3 {
    font-size: 18px;
    margin-bottom: 9px;
}

.dl-card p {
    font-size: 14px;
    color: var(--ink-soft);
    flex-grow: 1;
}

.dl-sys {
    display: flex;
    gap: 7px;
    flex-wrap: wrap;
    margin: 16px 0 18px;
}

.dl-sys span {
    font-size: 12px;
    color: var(--ink-mute);
    border: 1px solid var(--line);
    border-radius: 5px;
    padding: 2px 9px;
}

.dl-btn {
    display: block;
    width: 100%;
    padding: 11px 0;
    border-radius: var(--radius-s);
    background: var(--teal-700);
    color: var(--white);
    font-size: 14.5px;
    font-weight: 600;
    text-align: center;
    font-family: inherit;
    border: none;
    cursor: pointer;
    transition: background 0.22s var(--ease);
}

.dl-btn:hover {
    background: var(--amber-500);
    color: #331900;
}

.dl-empty {
    display: none;
    grid-column: 1 / -1;
    text-align: center;
    padding: 54px 20px;
    color: var(--ink-mute);
    font-size: 15px;
    border: 1px dashed var(--line);
    border-radius: var(--radius-m);
    background: var(--teal-50);
}

.dl-empty.is-show {
    display: block;
}

/* 版本清单表 */
.table-scroll {
    overflow-x: auto;
    border: 1px solid var(--line);
    border-radius: var(--radius-m);
    background: var(--white);
}

table.dl-table {
    width: 100%;
    border-collapse: collapse;
    min-width: 720px;
    font-size: 14px;
}

.dl-table th,
.dl-table td {
    padding: 14px 18px;
    text-align: left;
    border-bottom: 1px solid var(--line);
}

.dl-table th {
    background: var(--teal-50);
    font-size: 13.5px;
    color: var(--teal-800);
    font-weight: 700;
    white-space: nowrap;
}

.dl-table tr:last-child td {
    border-bottom: none;
}

.dl-table tbody tr:hover {
    background: var(--teal-50);
}

.dl-table td a {
    color: var(--teal-600);
    font-weight: 600;
    border-bottom: 1px solid var(--teal-300);
}

.dl-table td a:hover {
    color: var(--amber-600);
    border-color: var(--amber-400);
}

.dl-table .no-hit td {
    text-align: center;
    color: var(--ink-mute);
    padding: 34px 10px;
}

/* 安装步骤 */
.step-list {
    display: grid;
    gap: 14px;
    counter-reset: step;
}

.step-list li {
    position: relative;
    padding: 18px 22px 18px 62px;
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: var(--radius-m);
    font-size: 14.5px;
    color: var(--ink-soft);
}

.step-list li::before {
    counter-increment: step;
    content: counter(step);
    position: absolute;
    left: 20px;
    top: 50%;
    transform: translateY(-50%);
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: var(--teal-700);
    color: var(--white);
    font-size: 13.5px;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
}

.step-list li b {
    color: var(--teal-800);
}

/* 提示条 */
.tip-bar {
    display: flex;
    gap: 14px;
    align-items: flex-start;
    padding: 18px 22px;
    border-radius: var(--radius-m);
    background: var(--amber-100);
    border: 1px solid var(--amber-300);
    font-size: 14px;
    color: #6B3D06;
    margin-top: 26px;
}

.tip-bar b {
    flex-shrink: 0;
    color: var(--amber-600);
}

/* ---------- 13. 弹窗 ---------- */
.modal {
    position: fixed;
    inset: 0;
    z-index: 200;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 22px;
    background: rgba(6, 34, 43, 0.62);
}

.modal.is-open {
    display: flex;
}

.modal-box {
    background: var(--white);
    border-radius: var(--radius-l);
    padding: 34px 32px 30px;
    max-width: 460px;
    width: 100%;
    box-shadow: var(--shadow-l);
    text-align: center;
    animation: pop 0.24s var(--ease);
}

@keyframes pop {
    from {
        opacity: 0;
        transform: translateY(14px) scale(0.98);
    }
    to {
        opacity: 1;
        transform: none;
    }
}

.modal-icon {
    width: 54px;
    height: 54px;
    border-radius: 50%;
    margin: 0 auto 18px;
    background: var(--teal-50);
    color: var(--teal-600);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    font-weight: 800;
    border: 1px solid var(--teal-100);
}

.modal-box h3 {
    font-size: 20px;
    margin-bottom: 10px;
}

.modal-box p {
    font-size: 14.5px;
    color: var(--ink-soft);
    margin-bottom: 8px;
    word-break: break-all;
}

.modal-box .file-name {
    display: inline-block;
    margin: 12px 0 20px;
    padding: 9px 16px;
    background: var(--teal-50);
    border: 1px dashed var(--teal-300);
    border-radius: var(--radius-s);
    font-size: 13.5px;
    color: var(--teal-700);
    font-weight: 600;
}

/* ---------- 14. 页脚 ---------- */
.footer {
    background: var(--teal-900);
    color: #9FC3CE;
    padding: 58px 0 0;
    font-size: 14px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1fr;
    gap: 36px;
    padding-bottom: 42px;
}

.footer-brand {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 16px;
}

.footer-brand img {
    width: 42px;
    height: 42px;
    border-radius: 10px;
    object-fit: cover;
}

.footer-brand b {
    font-size: 17px;
    color: var(--white);
    letter-spacing: 0.5px;
}

.footer-brand span {
    display: block;
    font-size: 11.5px;
    color: #6E96A3;
    letter-spacing: 1.4px;
}

.footer-desc {
    font-size: 13.5px;
    line-height: 1.85;
    color: #8AB0BC;
    max-width: 300px;
}

.footer h4 {
    font-size: 15px;
    color: var(--white);
    margin-bottom: 15px;
}

.footer-links {
    display: grid;
    gap: 10px;
}

.footer-links a {
    font-size: 13.5px;
    color: #9FC3CE;
    transition: color 0.2s var(--ease);
}

.footer-links a:hover {
    color: var(--amber-300);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.12);
    padding: 22px 0;
    display: flex;
    justify-content: space-between;
    gap: 14px;
    flex-wrap: wrap;
    font-size: 13px;
    color: #7B9FAC;
}

/* 站点地图链接 */
.footer-note {
    text-align: center;
    padding: 14px 0 26px;
    border-top: 1px dashed rgba(255, 255, 255, 0.14);
    margin-top: 0;
}

.footer-note a {
    display: inline-block;
    font-size: 13.5px;
    color: var(--amber-300);
    border: 1px solid rgba(245, 163, 63, 0.42);
    border-radius: 999px;
    padding: 6px 20px;
    transition: all 0.22s var(--ease);
}

.footer-note a:hover {
    background: rgba(245, 163, 63, 0.16);
    border-color: var(--amber-300);
}

/* ---------- 15. 浮动按钮 ---------- */
.to-top {
    position: fixed;
    right: 26px;
    bottom: 26px;
    width: 46px;
    height: 46px;
    border-radius: 50%;
    border: none;
    background: var(--teal-700);
    color: var(--white);
    font-size: 19px;
    cursor: pointer;
    box-shadow: var(--shadow-m);
    opacity: 0;
    visibility: hidden;
    transform: translateY(12px);
    transition: all 0.28s var(--ease);
    z-index: 90;
    font-family: inherit;
}

.to-top.is-show {
    opacity: 1;
    visibility: visible;
    transform: none;
}

.to-top:hover {
    background: var(--amber-500);
    color: #331900;
}

/* ---------- 16. 滚动入场动画 ---------- */
.reveal {
    opacity: 0;
    transform: translateY(26px);
    transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}

.reveal.is-in {
    opacity: 1;
    transform: none;
}

/* ---------- 17. 响应式 ---------- */
@media (max-width: 1080px) {
    .grid-4,
    .flow {
        grid-template-columns: repeat(2, 1fr);
    }
    .dl-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 900px) {
    .hero .wrap {
        grid-template-columns: 1fr;
        gap: 38px;
        padding-top: 54px;
        padding-bottom: 54px;
    }
    .hero h1 {
        font-size: 34px;
    }
    .grid-3,
    .grid-2 {
        grid-template-columns: 1fr;
    }

    .nav-toggle {
        display: flex;
    }
    .nav .wrap {
        height: 68px;
    }
    .nav-menu {
        position: absolute;
        left: 0;
        right: 0;
        top: 68px;
        background: var(--white);
        flex-direction: column;
        align-items: stretch;
        gap: 0;
        padding: 0 24px;
        max-height: 0;
        overflow: hidden;
        border-bottom: 1px solid transparent;
        transition: max-height 0.32s var(--ease), padding 0.32s var(--ease);
    }
    .nav-menu.is-open {
        max-height: 340px;
        padding: 12px 24px 20px;
        border-bottom-color: var(--line);
    }
    .nav-menu a {
        padding: 12px 0;
        border-bottom: 1px solid var(--line);
    }
    .nav-menu a::after {
        display: none;
    }
    .nav-cta {
        display: none;
    }
}

@media (max-width: 620px) {
    .section {
        padding: 58px 0;
    }
    .sec-head h2 {
        font-size: 25px;
    }
    .hero h1 {
        font-size: 28px;
    }
    .hero-stats {
        gap: 24px;
    }
    .grid-4,
    .flow,
    .dl-grid,
    .form-row,
    .footer-grid {
        grid-template-columns: 1fr;
    }
    .form-panel {
        padding: 26px 20px;
    }
    .topbar-info {
        display: none;
    }
    .topbar .wrap {
        justify-content: center;
    }
    .cn-entry .wrap {
        font-size: 13px;
        gap: 8px;
    }
    .hero-visual img {
        height: 230px;
    }
    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }
}
