/* 全局公共样式 - 纯黑电光蓝冷峻风 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "Microsoft YaHei", "PingFang SC", sans-serif;
    scroll-behavior: smooth;
}

:root {
    --bg-main: #000000;
    --bg-block: #0A0A0A;
    --line-blue: #0099FF;
    --text-white: #F5F5F5;
    --text-gray: #888888;
    --border-color: #1A1A1A;
    --radius: 8px;
}

body {
    background: var(--bg-main);
    color: var(--text-gray);
    font-size: 14px;
    line-height: 1.8;
}

a {
    text-decoration: none;
    color: inherit;
}

.container {
    width: 100%;
    max-width: 780px;
    margin: 0 auto;
    padding: 0 15px;
}

/* 顶部导航 */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: #000;
    border-bottom: 1px solid var(--border-color);
    z-index: 999;
    padding: 15px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.left-group {
    display: flex;
    align-items: center;
    gap: 20px;
}

.logo {
    font-size: 19px;
    font-weight: bold;
    color: var(--text-white);
    letter-spacing: 1px;
}

.logo em {
    color: var(--line-blue);
    font-style: normal;
}

/* 多语言切换样式 */
.lang-switch {
    font-size: 13px;
    color: var(--text-gray);
    cursor: pointer;
}
.lang-switch span.active {
    color: var(--line-blue);
    font-weight: 600;
}
.lang-switch .split {
    margin: 0 6px;
    color: #333;
}

/* 导航链接 登录注册 */
.nav-link {
    display: flex;
    gap: 24px;
    align-items: center;
}
.nav-link a {
    color: var(--line-blue);
    font-size: 15px;
    font-weight: 600;
}
.nav-link a:hover {
    color: var(--text-white);
}

/* 移动端汉堡按钮 */
.menu-btn {
    display: flex;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    display: none;
}
.menu-btn span {
    display: block;
    width: 28px;
    height: 2px;
    background: var(--text-white);
}

/* 移动端适配 */
@media (max-width: 600px) {
    .nav-link {
        display: none;
    }
    .menu-btn {
        display: flex;
    }
    .left-group {
        gap: 12px;
    }
}

/* 移动端导航菜单 */
.mobile-menu {
    position: fixed;
    top: 62px;
    left: 0;
    width: 100%;
    background: #000;
    border-bottom: 1px solid var(--border-color);
    display: none;
    z-index: 998;
}
.mobile-menu.show {
    display: block;
}
.mobile-menu a {
    display: block;
    text-align: center;
    padding: 14px 0;
    color: var(--text-gray);
    border-bottom: 1px solid var(--border-color);
}
.mobile-menu a:nth-last-child(-n+2){
    color: var(--line-blue);
    font-weight: 600;
}
.mobile-menu a:hover {
    color: var(--line-blue);
}

/* 首屏Banner */
.banner {
    margin-top: 65px;
    padding: 70px 15px;
    background: linear-gradient(180deg, #000 0%, #050505 100%);
    text-align: center;
    border-bottom: 1px solid var(--border-color);
}
.banner h1 {
    font-size: 23px;
    color: var(--text-white);
    margin-bottom: 15px;
    letter-spacing: 1px;
}
.banner p {
    color: var(--text-gray);
    margin-bottom: 35px;
    font-size: 14px;
}

.btn-box {
    display: flex;
    justify-content: center;
    gap: 15px;
    flex-wrap: wrap;
}
.btn-solid {
    background: var(--line-blue);
    color: #fff;
    padding: 11px 28px;
    border-radius: 2px;
    font-weight: 500;
}
.btn-hollow {
    border: 1px solid var(--line-blue);
    color: var(--line-blue);
    padding: 11px 28px;
    border-radius: 2px;
}

/* 板块标题 */
.sec-title {
    text-align: center;
    font-size: 20px;
    color: var(--text-white);
    margin: 55px 0 25px;
    font-weight: 500;
}
.sec-title::before {
    content: '——';
    color: var(--line-blue);
    margin-right: 10px;
}
.sec-title::after {
    content: '——';
    color: var(--line-blue);
    margin-left: 10px;
}

/* 数据模块 */
.data-wrap {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
}
.data-card {
    background: var(--bg-block);
    padding: 25px 10px;
    text-align: center;
    border: 1px solid var(--border-color);
    border-radius: var(--radius);
}
.data-num {
    font-size: 28px;
    color: var(--line-blue);
    font-weight: bold;
    margin-bottom: 8px;
}
.data-txt {
    color: var(--text-gray);
    font-size: 13px;
}

/* 服务卡片 */
.service-card {
    background: var(--bg-block);
    border: 1px solid var(--border-color);
    border-radius: var(--radius);
    padding: 25px 20px;
    margin-bottom: 15px;
    transition: 0.3s;
}
.service-card:hover {
    border-color: var(--line-blue);
}
.service-card h3 {
    color: var(--text-white);
    font-size: 17px;
    margin-bottom: 10px;
}

/* 优势板块 */
.adv-card {
    background: var(--bg-block);
    border: 1px solid var(--border-color);
    border-radius: var(--radius);
    padding: 20px;
    margin-bottom: 15px;
    text-align: center;
}
.adv-card h4 {
    color: var(--text-white);
    margin-bottom: 8px;
    font-size: 16px;
}

/* 合作流程 */
.flow-row {
    display: flex;
    align-items: center;
    background: var(--bg-block);
    border: 1px solid var(--border-color);
    border-radius: var(--radius);
    padding: 18px 15px;
    margin-bottom: 12px;
}
.flow-step {
    width: 30px;
    height: 30px;
    line-height: 30px;
    text-align: center;
    background: var(--line-blue);
    color: #000;
    border-radius: 50%;
    margin-right: 15px;
    font-weight: bold;
}

/* 底部 */
.footer {
    margin-top: 70px;
    padding: 40px 15px;
    background: #050505;
    border-top: 1px solid var(--border-color);
    text-align: center;
    color: var(--text-gray);
}
.footer p {
    margin-bottom: 10px;
}
.copyright {
    margin-top: 25px;
    font-size: 12px;
    opacity: 0.7;
}

/* 回到顶部 */
.back-top {
    position: fixed;
    right: 15px;
    bottom: 30px;
    width: 42px;
    height: 42px;
    background: var(--line-blue);
    color: #000;
    text-align: center;
    line-height: 42px;
    border-radius: 2px;
    font-weight: bold;
}

/* 登录、注册页面通用样式 */
.login-box, .register-box {
    width: 100%;
    max-width: 420px;
    background: var(--bg-block);
    border: 1px solid var(--border-color);
    border-radius: var(--radius);
    padding: 40px 30px;
}
.logo-title {
    text-align: center;
    font-size: 24px;
    font-weight: bold;
    color: var(--text-white);
    margin-bottom: 35px;
}
.logo-title em {
    color: var(--line-blue);
    font-style: normal;
}
.input-item {
    margin-bottom: 20px;
}
.input-item input {
    width: 100%;
    height: 48px;
    background: #000;
    border: 1px solid var(--border-color);
    border-radius: var(--radius);
    padding: 0 15px;
    color: var(--text-white);
    font-size: 14px;
    outline: none;
    transition: 0.3s;
}
.input-item input:focus {
    border-color: var(--line-blue);
}
.login-btn, .register-btn {
    width: 100%;
    height: 48px;
    background: var(--line-blue);
    color: #fff;
    border: none;
    border-radius: var(--radius);
    font-size: 16px;
    font-weight: 500;
    cursor: pointer;
    margin-top: 10px;
}
.link-row {
    display: flex;
    justify-content: space-between;
    margin-top: 25px;
    font-size: 13px;
}
.link-row a {
    color: var(--line-blue);
    text-decoration: none;
}

/* 用户中心专属样式 */
.logout {
    color: var(--line-blue);
    font-weight: 600;
    cursor: pointer;
}
.user-card {
    margin-top: 100px;
    background: var(--bg-block);
    border: 1px solid var(--border-color);
    border-radius: var(--radius);
    padding: 30px;
    margin-bottom: 20px;
}
.user-title {
    font-size: 20px;
    color: var(--text-white);
    margin-bottom: 25px;
    text-align: center;
}
.info-item {
    display: flex;
    justify-content: space-between;
    padding: 14px 0;
    border-bottom: 1px solid var(--border-color);
}
.info-item:last-child {
    border-bottom: none;
}
.info-label {
    color: var(--text-gray);
}
.info-value {
    color: var(--text-white);
    font-weight: 500;
}
.status {
    color: var(--line-blue);
    font-weight: 600;
}
.status-freeze {
    color: yellow;
    font-weight: 600;
}
.safe-box {
    background: var(--bg-block);
    border: 1px solid var(--border-color);
    border-radius: var(--radius);
    padding: 20px;
    margin-top: 20px;
}
.safe-title {
    color: var(--text-white);
    margin-bottom: 15px;
    font-size: 16px;
}
.safe-bar {
    width: 100%;
    height: 6px;
    background: #111;
    border-radius: 3px;
    overflow: hidden;
}
.safe-progress {
    height: 100%;
    width: 70%;
    background: var(--line-blue);
}


/*表单样式**/
/* ========== 信息修改表单 专属新增样式（唯一需要添加） ========== */
/* 表单外层容器 */
.form-wrap {
    max-width: 520px;
    margin: 0 auto;
    background: var(--bg-block);
    border: 1px solid var(--border-color);
    border-radius: var(--radius);
    padding: 35px 30px;
}
.form-title {
    text-align: center;
    font-size: 22px;
    color: var(--text-white);
    margin-bottom: 30px;
    padding-bottom: 15px;
    border-bottom: 1px solid var(--border-color);
}
.form-item {
    margin-bottom: 22px;
}
.form-label {
    display: block;
    color: var(--text-white);
    margin-bottom: 10px;
    font-size: 14px;
}
.form-input {
    width: 100%;
    height: 46px;
    background: var(--bg-main);
    border: 1px solid var(--border-color);
    border-radius: var(--radius);
    padding: 0 15px;
    color: var(--text-white);
    font-size: 14px;
    outline: none;
    transition: border 0.2s ease;
}
.form-input:focus {
    border-color: var(--line-blue);
}

/* 自定义下拉框【重点】 */
.form-select {
    width: 100%;
    height: 46px;
    background: var(--bg-main);
    border: 1px solid var(--border-color);
    border-radius: var(--radius);
    padding: 0 15px;
    color: var(--text-white);
    font-size: 14px;
    outline: none;
    appearance: none;
    cursor: pointer;
    background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg fill='%230099FF' viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M7 10l5 5 5-5z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 15px center;
    background-size: 16px;
}
.form-select:focus {
    border-color: var(--line-blue);
}

/* 多选复选框【重点】 */
.checkbox-group {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    padding-top: 8px;
}
.checkbox-item {
    display: flex;
    align-items: center;
    gap: 6px;
    cursor: pointer;
}
.checkbox-item input[type="checkbox"] {
    width: 16px;
    height: 16px;
    accent-color: var(--line-blue);
    cursor: pointer;
}
.checkbox-item span {
    color: var(--text-gray);
    font-size: 14px;
}

/* 表单按钮组 */
.btn-group {
    display: flex;
    gap: 15px;
    margin-top: 35px;
}
.btn-save {
    flex: 1;
    height: 46px;
    background: var(--line-blue);
    color: #fff;
    border: none;
    border-radius: var(--radius);
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.2s ease;
}
.btn-save:hover {
    background: #0088e6;
}
.btn-reset {
    flex: 1;
    height: 46px;
    background: transparent;
    color: var(--line-blue);
    border: 1px solid var(--line-blue);
    border-radius: var(--radius);
    font-size: 15px;
    cursor: pointer;
    transition: all 0.2s ease;
}
.btn-reset:hover {
    background: rgba(0,153,255,0.1);
}

/*按钮样式**/
.btn-primary {
    display: inline-block;
    width: 100%;
    height: 48px;
    line-height: 48px;
    background: #0099FF;
    color: #fff;
    border: none;
    border-radius: 8px;
    font-size: 15px;
    font-weight: 600;
    text-align: center;
    cursor: pointer;
    transition: all 0.2s ease;
}
.btn-primary:hover {
    background: #0088e6;
}

.btn-outline {
    display: inline-block;
    width: 100%;
    height: 48px;
    line-height: 48px;
    background: transparent;
    color: #0099FF;
    border: 1px solid #0099FF;
    border-radius: 8px;
    font-size: 15px;
    font-weight: 500;
    text-align: center;
    cursor: pointer;
    transition: all 0.2s ease;
}
.btn-outline:hover {
    background: rgba(0,153,255,0.1);
}

.btn-link {
    color: #0099FF;
    font-size: 14px;
    cursor: pointer;
    background: none;
    border: none;
    text-decoration: none;
}
.btn-link:hover {
    color: #fff;
}

.btn-sm {
    padding: 6px 14px;
    background: #0099FF;
    color: #fff;
    border: none;
    border-radius: 4px;
    font-size: 13px;
    cursor: pointer;
}
.btn-sm:hover {
    background: #0088e6;
}


.btn-disabled {
    width: 100%;
    height: 48px;
    line-height: 48px;
    background: #1A1A1A;
    color: #666;
    border: none;
    border-radius: 8px;
    font-size: 15px;
    text-align: center;
    cursor: not-allowed;
}

.btn-backtop {
    position: fixed;
    right: 20px;
    bottom: 30px;
    width: 42px;
    height: 42px;
    background: #0099FF;
    color: #000;
    border-radius: 2px;
    border: none;
    font-weight: bold;
    cursor: pointer;
}

.btn-danger {
    width: 100%;
    height: 48px;
    line-height: 48px;
    background: #dc3545;
    color: #fff;
    border: none;
    border-radius: 8px;
    font-size: 15px;
    text-align: center;
    cursor: pointer;
}

.btn-green {
    width: 100%;
    height: 48px;
    line-height: 48px;
    background: green;
    color: #fff;
    border: none;
    border-radius: 8px;
    font-size: 15px;
    text-align: center;
    cursor: pointer;
}

.btn-yellow {
    width: 100%;
    height: 48px;
    line-height: 48px;
    background: yellow;
    color: #000;
    border: none;
    border-radius: 8px;
    font-size: 15px;
    text-align: center;
    cursor: pointer;
}

.btn-purple {
    width: 100%;
    height: 48px;
    line-height: 48px;
    background: purple;;
    color: #fff;
    border: none;
    border-radius: 8px;
    font-size: 15px;
    text-align: center;
    cursor: pointer;
}

.btn-white {
    width: 100%;
    height: 48px;
    line-height: 48px;
    background: white;;
    color: #000;
    border: none;
    border-radius: 8px;
    font-size: 15px;
    text-align: center;
    cursor: pointer;
}