
:root{
    --brand: #1D2D6B;
    --brand-dark: #083a65;
    --accent: #f05a28;
    --text: #0f172a;
    --muted: #64748b;
    --card: #ffffff;
    --line: rgba(15,23,42,.10);
    --radius: 14px;
    --main-color:#1D2D6B
}
html, body{
    height: 100%;
    margin: 0;
}
body{
    min-height: 100vh;
    font-family: "Microsoft YaHei","PingFang SC",system-ui,-apple-system,Segoe UI,Roboto,Arial;
    color: var(--text);
    background: #fff;
    display: flex;
    flex-direction: column;
}

.brand-wrap{
    display:flex; align-items:center; gap:10px;
    color:#fff; text-decoration:none;
}
.brand-badge{
    width:34px; height:34px; border-radius:50%;
    background: rgba(255,255,255,.18);
    display:flex; align-items:center; justify-content:center;
    border: 1px solid rgba(255,255,255,.28);
}
.brand-title{ font-weight:700; letter-spacing:.2px; line-height:1.1; }
.brand-sub{ font-size:12px; opacity:.85; }

.navbar .nav-link{ color: rgba(255,255,255,.88); }
.navbar .nav-link:hover{ color:#fff; }
.lang-btn{
    border: 1px solid rgba(255,255,255,.35) !important;
    color:#fff !important;
    background: rgba(255,255,255,.08) !important;
}

/* 防止品牌文字把右侧挤下去 */
.brand-wrap{ display:flex; align-items:center; gap:10px; min-width:0; }
.brand-title,.brand-sub{ white-space:nowrap; }

/* ===== Hero ===== */
.hero{
    position: relative;
    min-height: 520px;
    background: url("../image/bg.png") center/cover no-repeat;
    display:flex;
    align-items:center;
}
.hero::before{
    content:"";
    position:absolute; inset:0;
    background: linear-gradient(90deg, rgba(2,6,23,.35) 0%, rgba(2,6,23,.15) 60%, rgba(2,6,23,.08) 100%);
}
.hero .container{ position:relative; z-index:1; }

.hero-card{
    width: min(520px, 92vw);
    margin-left:auto;
    margin-right: auto;
    background: rgba(255,255,255,.58);
    border: 1px solid rgba(255,255,255,.55);
    border-radius: var(--radius);
    box-shadow: 0 20px 45px rgba(2,6,23,.18);
    padding: 22px 22px 18px;
    backdrop-filter: blur(10px);
    text-align: center;
}
.hero-card h1{
    font-size: 26px;
    font-weight: 800;
    margin: 0 0 8px 0;
    letter-spacing: .2px;
}
.hero-card p{
    margin: 0 0 14px 0;
    color: rgba(15,23,42,.78);
    line-height:1.6;
    font-size: 14px;
}
.btn-primary-brand{
    --bs-btn-bg: var(--brand);
    --bs-btn-border-color: var(--brand);
    --bs-btn-hover-bg: var(--brand-dark);
    --bs-btn-hover-border-color: var(--brand-dark);
    --bs-btn-padding-x: 18px;
    --bs-btn-padding-y: 10px;
    border-radius: 10px;
    font-weight: 700;
}

/* ===== Notice ===== */
.notice{
    padding: 14px 0;
    border-bottom: 1px solid var(--line);
}
.notice .tip-title{
    color: #dc2626;
    font-weight: 800;
    margin-right: 6px;
}
.notice p{
    margin:0;
    color: rgba(15,23,42,.70);
    font-size: 13px;
    line-height: 1.7;
}

/* ===== Section common ===== */
.section{ padding: 44px 0; }
.section-title{
    text-align:center;
    font-size: 18px;
    font-weight: 900;
    color: var(--brand);
    margin-bottom: 18px;
}

/* ===== Flow ===== */
.flow-wrap{
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: #fff;
    padding: 22px 18px;
}
.flow-step{ text-align:center; padding: 8px 10px; }
.flow-ico{
    width: 56px; height: 56px;
    margin: 0 auto 10px;
    border-radius: 14px;
    background: rgba(11,95,168,.08);
    border: 1px solid rgba(11,95,168,.18);
    display:flex; align-items:center; justify-content:center;
    color: var(--brand);
    font-size: 26px;
}
.flow-step h6{ margin:0 0 6px 0; font-weight: 900; }
.flow-step p{ margin:0; color: var(--muted); font-size: 13px; }
.flow-arrow{
    display:flex; align-items:center; justify-content:center;
    color: rgba(15,23,42,.25);
    font-size: 24px;
}
@media (max-width: 767px){
    .flow-arrow{ display:none; }
}
.brand-badge-logo{
    width: 32px;
    height: 32px;
    background: url("/static/image/tdac_icon.png") center/contain no-repeat;
}

/* ===== Intro ===== */
.intro-card{
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 18px 18px 16px;
    background: #fff;
}
.intro-card h2{
    font-size: 26px;
    font-weight: 900;
    color: var(--brand);
    margin: 4px 0 10px 0;
}
.intro-card p{
    color: rgba(15,23,42,.72);
    line-height: 1.8;
    font-size: 14px;
    margin-bottom: 10px;
}
.btn-outline-brand{
    border: 1px solid rgba(11,95,168,.30);
    color: var(--brand);
    font-weight: 800;
    border-radius: 10px;
    padding: 10px 16px;
}
.btn-outline-brand:hover{
    background: rgba(11,95,168,.08);
    color: var(--brand-dark);
    border-color: rgba(11,95,168,.42);
}

/* ===== Why us ===== */
.why-title{
    text-align:center;
    font-size: 22px;
    font-weight: 1000;
    margin: 6px 0 4px;
}
.why-sub{
    text-align:center;
    color: var(--muted);
    margin-bottom: 18px;
    font-size: 13px;
}
.feature{
    background: #f8fafc;
    border: 1px solid rgba(15,23,42,.06);
    border-radius: var(--radius);
    padding: 18px 16px;
    height: 100%;
}
.feature .fi{
    width: 44px; height: 44px;
    border-radius: 12px;
    background: #fff;
    border: 1px solid rgba(15,23,42,.08);
    display:flex; align-items:center; justify-content:center;
    margin: 0 auto 10px;
    color: rgba(15,23,42,.70);
    font-size: 20px;
}
.feature h6{ text-align:center; font-weight: 900; margin: 0 0 6px; }
.feature p{ text-align:center; margin: 0; color: var(--muted); font-size: 13px; line-height: 1.7; }

/* ===== 新增：套餐模块 ===== */
.plan{
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: #fff;
    padding: 18px 16px;
    height: 100%;
}
.plan .tag{
    display:inline-block;
    font-size: 12px;
    padding: 5px 10px;
    border-radius: 999px;
    border: 1px solid rgba(11,95,168,.18);
    background: rgba(11,95,168,.08);
    color: rgba(15,23,42,.72);
    margin-bottom: 10px;
}
.plan h5{ font-weight: 1000; margin: 0 0 6px; }
.plan .meta{ color: rgba(15,23,42,.60); font-size: 13px; }
.plan ul{
    margin: 10px 0 0;
    padding-left: 18px;
    color: rgba(15,23,42,.72);
    font-size: 13px;
    line-height: 1.85;
}
.btn-accent{
    background: var(--accent);
    border-color: var(--accent);
    font-weight: 900;
    border-radius: 12px;
    padding: 12px 26px;
    box-shadow: 0 12px 28px rgba(240,90,40,.30);
}
.btn-accent:hover{ filter: brightness(.95); }

/* ===== 新增：FAQ ===== */
.accordion-item{
    border: 1px solid rgba(15,23,42,.10);
    border-radius: 16px !important;
    overflow:hidden;
    background:#fff;
    margin-bottom: 10px;
}
.accordion-button{ font-weight: 900; }
.accordion-button:not(.collapsed){
    background: rgba(11,95,168,.08);
    color: var(--brand-dark);
}

/* ===== Dark section ===== */
.dark-section{
    background: var(--brand-dark);
    color: rgba(255,255,255,.88);
    padding: 54px 0;
}
.dark-section h3{
    text-align:center;
    font-weight: 1000;
    margin: 0 0 12px;
    font-size: 26px;
    color:#fff;
}
.dark-section p{
    text-align:center;
    margin: 0 auto;
    max-width: 980px;
    line-height: 1.9;
    font-size: 14px;
    color: rgba(255,255,255,.78);
}

/* ===== Footer ===== */
footer{
    margin-top: auto;
    flex-shrink: 0;
    background: #0b1220;
    color: rgba(255,255,255,.75);
    padding: 26px 0 18px;
    font-size: 12px;
}
footer a{ color: rgba(255,255,255,.78); text-decoration:none; }
footer a:hover{ color:#fff; text-decoration:underline; }
.footer-divider{ height:1px; background: rgba(255,255,255,.10); margin: 14px 0; }

/* ===== 新增：悬浮客服按钮 ===== */
.float-help{
    position: fixed;
    right: 18px;
    bottom: 18px;
    z-index: 2000;
    display:flex;
    flex-direction: column;
    gap: 10px;
}
.float-btn{
    width: 46px; height: 46px;
    border-radius: 14px;
    border: 1px solid rgba(15,23,42,.12);
    background: #fff;
    box-shadow: 0 14px 30px rgba(2,6,23,.12);
    display:flex; align-items:center; justify-content:center;
    color: rgba(15,23,42,.75);
}
.float-btn:hover{ color: var(--brand); border-color: rgba(11,95,168,.25); }
/* ===== Flow Stepper v2 ===== */
.flow2{
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background:#fff;
    padding: 22px;
}
.flow2 .step{
    display:flex;
    gap:14px;
    position:relative;
    padding: 10px 0;
}
.flow2 .step:not(:last-child)::after{
    content:"";
    position:absolute;
    left: 18px;
    top: 52px;
    bottom: -6px;
    width:2px;
    background: rgba(11,95,168,.18);
}
.flow2 .badge-num{
    width: 38px;
    height: 38px;
    border-radius: 14px;
    background: rgba(11,95,168,.10);
    border:1px solid rgba(11,95,168,.20);
    display:flex;
    align-items:center;
    justify-content:center;
    font-weight: 900;
    color: var(--brand);
    flex: 0 0 38px;
}
.flow2 .step h6{ margin: 2px 0 6px; font-weight: 900; }
.flow2 .step p{
    margin:0;
    color: rgba(15,23,42,.70);
    font-size: 13px;
    line-height:1.8;
}
.flow2-side{
    border: 1px dashed rgba(11,95,168,.28);
    border-radius: var(--radius);
    padding: 16px 16px 14px;
    background: rgba(11,95,168,.04);
    height:100%;
}
.flow2-side .k{
    font-weight: 900;
    margin-bottom: 8px;
}
.flow2-side .i{
    font-size: 13px;
    color: rgba(15,23,42,.70);
    line-height: 1.9;
}

/* ===== Intro v2: 信息块更像官网 ===== */
.intro2{
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background:#fff;
    overflow:hidden;
}
.intro2 .left{
    min-height: 240px;
    background: linear-gradient(120deg, rgba(11,95,168,.16), rgba(11,95,168,.03));
    position:relative;
}
.intro2 .left::before{
    content:"";
    position:absolute; inset:0;
    background: url("../image/taiguo.png") center/contain no-repeat;
    opacity:.95;
}
.intro2 .right{
    padding: 18px 18px 16px;
}
.intro2 h2{
    font-size: 24px;
    font-weight: 1000;
    color: var(--brand);
    margin: 2px 0 10px;
    text-align: center;
}
.intro2 .bul{
    display:grid;
    gap:8px;
    margin: 10px 0 14px;
}
.intro2 .bul div{
    display:flex;
    gap:10px;
    color: rgba(15,23,42,.72);
    font-size: 13px;
    line-height:1.8;
}
.intro2 .bul i{ color: var(--brand); }
/* ===== Top bar (clean) ===== */
.topbar{
    position: sticky;
    top: 0;
    z-index: 1000;
    background: var(--brand);
    backdrop-filter: blur(8px);
    border-bottom: 1px solid rgba(255,255,255,.12);
}

/* container：PC 单行不换行；手机允许换行让 #nav 到下一行 */
.topbar .topbar-inner{
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: nowrap;
}

/* 你现在的结构：topbar-head 里面是 brand + right */
.topbar .topbar-head{
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: auto;          /* PC：不占满，避免把 #nav 顶下去 */
    flex: 0 0 auto;
    gap: 12px;
}

.topbar .topbar-right{
    display:flex;
    align-items:center;
    gap: 8px;
    flex: 0 0 auto;
}

/* brand */
.topbar .brand-wrap{
    display:flex;
    align-items:center;
    gap:10px;
    color:#fff;
    text-decoration:none;
    min-width: 0;
}
.topbar .brand-title{ font-weight:700; letter-spacing:.2px; line-height:1.1; }
.topbar .brand-sub{ font-size:12px; opacity:.85; }
.topbar .brand-title,
.topbar .brand-sub{ white-space: nowrap; } /* 避免抖动 */

/* logo badge */
.topbar .brand-badge{
    width:34px;
    height:34px;
    border-radius:50%;
    background: rgba(255,255,255,.18);
    display:flex;
    align-items:center;
    justify-content:center;
    border: 1px solid rgba(255,255,255,.28);
}
.topbar .brand-badge-logo{
    background: url("../image/tdac_icon.png") center/contain no-repeat;
    background-color: transparent;
}

/* nav link */
.topbar .navbar .nav-link{ color: rgba(255,255,255,.88); }
.topbar .navbar .nav-link:hover{ color:#fff; }

.topbar .lang-btn{
    border: 1px solid rgba(255,255,255,.35) !important;
    color:#fff !important;
    background: rgba(255,255,255,.08) !important;
}
.navbar-collapse{
    text-align: center;
}
/* PC：#nav 在同一行靠右 */
@media (min-width: 1200px){
    .topbar .topbar-inner{
        flex-wrap: nowrap;                 /* 不换行 */
    }
    .topbar .navbar-collapse{
        flex: 1 1 auto;
        justify-content: flex-end;         /* 菜单靠右 */
    }

    /* PC 不需要右侧（手机语言 + 汉堡），避免空盒子影响对齐 */
    .topbar .topbar-right{
        display: none;
    }
}
.contact-page{
    padding: 28px 0 50px;
}
/* 手机：brand +（语言+汉堡）一行，#nav 展开到下一行（不抖） */
@media (max-width: 1199.98px){
    .topbar .topbar-inner{
        flex-wrap: wrap;                   /* 允许换行，让 #nav 到下一行 */
        padding-left: 2px !important;      /* 贴边 */
        padding-right: 2px !important;
    }

    /* 手机：topbar-head 占满一行，左右分布 */
    .topbar .topbar-head{
        width: 100%;
    }

    /* 手机：#nav 永远在下一行展开 */
    .topbar .navbar-collapse{
        width: 100%;
    }

    /* 右侧按钮统一高度对齐 */
    .topbar .lang-btn{
        height: 34px;
        line-height: 34px;
        padding: 0 10px;
    }
    .topbar .navbar-toggler{
        padding: 0 !important;
        margin: 0 !important;
        line-height: 1;
    }
    .topbar .navbar-toggler-icon{
        width: 28px;
        height: 28px;
    }
}


/* ===== Why v2: 从网格改成“条目式” ===== */
.why2-item{
    border: 1px solid rgba(15,23,42,.08);
    border-radius: var(--radius);
    padding: 14px 14px 12px;
    background: #fff;
    height:100%;
    display:flex;
    gap:12px;
}
.why2-ico{
    width: 42px; height:42px;
    border-radius: 14px;
    background: rgba(11,95,168,.08);
    border:1px solid rgba(11,95,168,.18);
    display:flex; align-items:center; justify-content:center;
    color: var(--brand);
    flex: 0 0 42px;
    font-size: 20px;
}
.why2-item h6{ margin: 0 0 4px; font-weight: 900; }
.why2-item p{ margin:0; color: rgba(15,23,42,.70); font-size: 13px; line-height:1.75; }

/* ---- Passport upload icon button ---- */
.passport-wrap{ position:relative; }
.passport-upload{
    position:absolute;
    right: 8px;
    top: 50%;
    transform: translateY(-50%);
    width: 44px;
    border-radius: 6px;
    background: rgba(21,56,84,.06);
    border: 1px solid rgba(21,56,84,.20);
    display:flex;
    align-items:center;
    justify-content:center;
    cursor:pointer;
}
.passport-upload i{
    font-size: 22px;
    color: rgba(21,56,84,.85);
}
.passport-upload input[type="file"]{
    position:absolute;
    inset:0;
    opacity:0;
    cursor:pointer;
}
.passport-upload:hover{
    background: rgba(21,56,84,.10);
    border-color: rgba(21,56,84,.35);
}

/* 真正的 file input 隐藏掉，不参与 hover */
.passport-file{
    position:absolute;
    width:1px;
    height:1px;
    opacity:0;
    overflow:hidden;
    left:-9999px;
}

/* label 就是按钮，cursor 一定是小手 */
.passport-upload{ cursor:pointer; }
.passport-upload .layui-icon{ pointer-events:none; }




