/* ==========================================================================
   1. 基础全局样式与重置
   ========================================================================== */
body {
    background: #000;
    margin: 0;
    padding: 0;
    min-height: 100vh;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    color: #fff;
    overflow-x: hidden;
}
.container {
    max-width: 100%;
    padding: 12px 40px 40px;
    background: transparent;
    position: relative;
    z-index: 1;
    box-sizing: border-box;
}
/* 通配符在模态框内使用是安全的，保留但可接受，如需完全避免第三方冲突可改为具体容器，此处保留原设计 */
.cyber-modal-overlay *,
.cyber-modal-overlay *::before,
.cyber-modal-overlay *::after {
    box-sizing: border-box !important;
}

/* ==========================================================================
   2. 头部
   ========================================================================== */
.header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 28px;
    position: relative;
    z-index: 100;
    height: 160px;
}
.header-left {
    display: flex;
    align-items: center;
    min-width: max-content;
    transform: translate(24px, 12px);
}
h1 {
    font-size: 56px;
    margin: 0;
    display: flex;
    align-items: center;
    background: linear-gradient(120deg, #0070f3, #00a6f4);
    background-clip: text;
    -webkit-background-clip: text;
    color: transparent;
    white-space: nowrap;
    font-weight: 300;
    letter-spacing: 3px;
    text-shadow: 0 0 20px rgba(0, 166, 244, 0.2);
}
h1 img {
    height: 220px;
    width: 220px;
    object-fit: contain;
    border-radius: 50%;
    margin-right: 22px;
}

/* ==========================================================================
   3. 导航
   ========================================================================== */
.nav-menu {
    display: flex;
    gap: 40px;
    margin-top: 15px;
    flex: 1;
    justify-content: center;
    margin-left: -50px;
}
.nav-item {
    position: relative;
    cursor: pointer;
    padding: 25px 0;
    font-size: 18px;
    font-weight: 500;
    color: #cbd5e1;
    transition: color 0.2s;
}
.nav-item:hover { color: #fff; }
.mega-dropdown {
    position: absolute;
    top: 68px;
    left: 50%;
    transform: translateX(-50%) translateY(10px);
    width: max-content;
    background: rgba(13, 13, 20, 0.96);
    backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 16px;
    padding: 28px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.8);
    display: flex;
    gap: 32px;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    pointer-events: auto;
}
.nav-item:hover .mega-dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
}
.dropdown-intro {
    width: 260px;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    border-right: 1px solid rgba(255, 255, 255, 0.06);
    padding-right: 24px;
}
.dropdown-intro h3 {
    margin: 0 0 12px 0;
    font-size: 26px;
    color: #fff;
    font-weight: 600;
    letter-spacing: 0.5px;
}
.dropdown-intro p {
    margin: 0;
    /* 修复：!important 语法错误 */
    font-size: 18px !important;
    color: #8896a7;
    line-height: 1.6;
    text-align: justify;
}
.dropdown-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(220px, max-content));
    gap: 16px;
}
.dropdown-link {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    padding: 12px 16px;
    border-radius: 10px;
    text-decoration: none;
    transition: background 0.2s, transform 0.2s;
}
.dropdown-link:hover {
    background: rgba(255, 255, 255, 0.05);
    transform: translateY(-1px);
}
.dropdown-link .icon-box {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 8px;
    background: rgba(0, 166, 244, 0.1);
    color: #00a6f4;
    font-size: 16px;
    flex-shrink: 0;
    margin-top: 2px;
}
.dropdown-link:hover .icon-box {
    background: #00a6f4;
    color: #fff;
}
.dropdown-link .text-box {
    display: flex;
    flex-direction: column;
}
.dropdown-link .title {
    font-size: 18px;
    font-weight: 600;
    color: #fff;
    white-space: nowrap;
}
.dropdown-link .desc {
    font-size: 16px;
    color: #8896a7;
    margin-top: 4px;
    white-space: nowrap;
}
.disclaimer-grid {
    display: grid;
    grid-template-columns: repeat(2, 340px);
    gap: 20px 24px;
}
.disclaimer-item {
    display: flex;
    flex-direction: column;
    gap: 4px;
}
.disclaimer-item h4 {
    margin: 0;
    font-size: 18px;
    color: #00a6f4;
    font-weight: 600;
}
.disclaimer-item p {
    margin: 0;
    font-size: 16px;
    color: #cbd5e1;
    line-height: 1.6;
    text-align: justify;
}

/* ==========================================================================
   4. 右侧交互区
   ========================================================================== */
.header-right {
    display: flex;
    align-items: center;
    gap: 45px;
    height: 100%;
    margin-top: 15px;
    min-width: max-content;
}
.nav-stats {
    text-align: center;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-width: 100px;
}
.nav-stats:hover .label { color: #ffffff; }
.nav-stats .label {
    font-size: 13px;
    color: #888;
    margin-top: 6px;
    display: block;
    transition: color 0.3s;
    white-space: nowrap;
}
.counter-runner {
    /* 保留必要的重要声明以确保数字滚动布局，但移除无必要的 */
    display: inline-flex !important;
    justify-content: center !important;
    align-items: center !important;
    height: 56px !important;
    line-height: 56px !important;
    overflow: hidden !important;
    font-size: 56px !important;
    font-weight: normal !important;
    color: #fff !important;
    min-width: 70px !important;
    transition: color 0.3s;
}
.nav-stats:hover .counter-runner { color: #00a6f4; }
.counter-digit-slot {
    height: 56px !important;
    line-height: 56px !important;
    position: relative !important;
    display: flex !important;
    flex-direction: column !important;
    transition: transform 2.5s cubic-bezier(0.1, 1, 0.1, 1) !important;
}
.counter-digit-slot span {
    display: block !important;
    height: 56px !important;
    line-height: 56px !important;
    text-align: center !important;
    white-space: nowrap !important;
    padding: 0 2px !important;
    margin: 0 !important;
    box-sizing: border-box !important;
}
.lang-switch {
    position: relative;
    display: inline-block;
}
.lang-toggle-btn {
    background: transparent;
    border: none;
    font-size: 40px;
    color: #cbd5e1;
    cursor: pointer;
    padding: 0;
    transition: transform 0.2s, color 0.2s;
    line-height: 1;
}
.lang-dropdown {
    position: absolute;
    top: calc(100% + 12px);
    right: 0;
    background: rgba(20, 20, 40, 0.9);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    min-width: 150px;
    padding: 8px 0;
    list-style: none;
    margin: 0;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.6);
    z-index: 200;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all 0.25s ease;
}
.lang-switch:hover .lang-dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}
.lang-dropdown li {
    padding: 10px 20px;
    margin: 2px 6px;
    font-size: 14px;
    color: #cbd5e1;
    cursor: pointer;
    border-radius: 6px;
    transition: all 0.2s;
}
.lang-dropdown li:hover {
    background: rgba(255, 255, 255, 0.1);
    color: white;
}
.lang-dropdown li.active {
    background: #0070f3;
    color: white;
    font-weight: 600;
}

/* ==========================================================================
   5. 主 Banner
   ========================================================================== */
.placeholder-message {
    text-align: center;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 450px;
    padding: 0 20px;
}
.hero-content {
    max-width: 1000px;
    animation: fadeInHero 1s cubic-bezier(0.4, 0, 0.2, 1) both;
}
.hero-title {
    display: block;
    font-size: 42px;
    margin: 0 0 28px 0;
    line-height: 1.4;
    background: linear-gradient(135deg, #ffffff 40%, #a5b4fc 100%);
    background-clip: text;
    -webkit-background-clip: text;
    color: transparent;
    font-weight: 400;
    letter-spacing: 2px;
}
.hero-desc {
    font-size: 18px;
    line-height: 1.8;
    color: #cbd5e1;
    max-width: 850px;
    margin: 0 auto;
    font-weight: 300;
    letter-spacing: 0.5px;
}

/* ==========================================================================
   6. 响应式（1024px 以下）
   ========================================================================== */
@media screen and (max-width: 1024px) {
    .container { padding: 16px 20px; }
    .header {
        height: auto;
        flex-direction: column;
        gap: 20px;
        margin-bottom: 20px;
        align-items: center;
        text-align: center;
    }
    h1 { font-size: 32px; justify-content: center; }
    h1 img { height: 70px; width: 70px; margin-right: 8px; }
    .nav-menu { margin-left: 0; width: 100%; gap: 24px; justify-content: center; flex-wrap: wrap; }
    .nav-item { padding: 10px 0; font-size: 15px; }
    .counter-runner {
        height: 38px !important;
        font-size: 38px !important;
        min-width: 50px !important;
        line-height: 38px !important;
    }
    .counter-digit-slot {
        height: 38px !important;
        line-height: 38px !important;
    }
    .counter-digit-slot span {
        height: 38px !important;
        line-height: 38px !important;
        margin: 0 !important;
    }
    .mega-dropdown {
        position: fixed;
        top: auto;
        bottom: 0;
        left: 0;
        transform: none;
        width: 100vw;
        max-height: 75vh;
        overflow-y: auto;
        box-sizing: border-box;
        border-radius: 20px 20px 0 0;
        flex-direction: column;
        gap: 20px;
        padding: 20px;
    }
    .nav-item:hover .mega-dropdown { transform: none; }
    .dropdown-intro {
        width: 100%;
        border-right: none;
        padding-right: 0;
        border-bottom: 1px solid rgba(255, 255, 255, 0.06);
        padding-bottom: 12px;
    }
    .dropdown-grid { grid-template-columns: 1fr; gap: 10px; }
    .dropdown-link { padding: 10px; }
    .dropdown-link .title,
    .dropdown-link .desc { white-space: normal; }
    .disclaimer-grid { grid-template-columns: 1fr; gap: 16px; }
    .header-right { width: 100%; justify-content: center; gap: 30px; margin-top: 10px; }
    .lang-toggle-btn { font-size: 30px; }
}

/* ==========================================================================
   7. 骨架屏
   ========================================================================== */
.skeleton-line {
    display: block;
    width: 100%;
    height: 18px;
    background: linear-gradient(90deg, #0d0d14 25%, #161b26 50%, #0d0d14 75%);
    background-size: 200% 100%;
    border-radius: 4px;
    animation: hackPulse 1.4s cubic-bezier(0.4, 0, 0.2, 1) infinite;
    margin: 0 auto;
}
.skeleton-title {
    max-width: 580px;
    height: 42px;
    border-radius: 8px;
    background: linear-gradient(90deg, #07070c 25%, #111a2e 50%, #07070c 75%);
    background-size: 200% 100%;
}
@keyframes hackPulse {
    0% { background-position: 200% 0; }
    100% { background-position: -200% 0; }
}
.hero-title:not(:empty):not(:has(span)),
.hero-desc:not(:empty):not(:has(span)) {
    animation: textDecodeFade 0.4s cubic-bezier(0.4, 0, 0.2, 1) both;
}
@keyframes textDecodeFade {
    from { opacity: 0; transform: translateY(6px); }
    to { opacity: 1; transform: translateY(0); }
}

html[data-i18n-ready] [data-i18n],
.i18n-ready [data-i18n] {
    opacity: 1;
}

/* ==========================================================================
   8. 按钮
   ========================================================================== */
.hero-action { margin-top: 36px; display: flex; justify-content: center; }
.btn-cyber-red {
    display: inline-block;
    padding: 12px 36px;
    font-size: 15px;
    font-weight: 500;
    color: #ff4a5a;
    text-decoration: none;
    letter-spacing: 2px;
    background: rgba(255, 74, 90, 0.04);
    border: 1px solid rgba(255, 74, 90, 0.35);
    border-radius: 4px;
    box-shadow: 0 0 15px rgba(255, 74, 90, 0.08);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
}
.btn-cyber-red:hover {
    color: #ffffff !important;
    background: #ff4a5a;
    border-color: #ff4a5a;
    box-shadow: 0 0 25px rgba(255, 74, 90, 0.5), 0 0 50px rgba(255, 74, 90, 0.2);
    transform: translateY(-2px);
}
.btn-cyber-red:active {
    transform: translateY(0);
    box-shadow: 0 0 15px rgba(255, 74, 90, 0.3);
}

/* ==========================================================================
   9. 模态框
   ========================================================================== */
.cyber-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(4, 4, 6, 0.75);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10000;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}
.cyber-modal-overlay.is-open {
    opacity: 1;
    pointer-events: auto;
}

.cyber-modal-wrapper {
    position: relative;
    width: 95%;
    max-width: 1180px;
    /* 高度自适应，但限制最高90vh */
    height: auto;
    max-height: 90vh;
    min-height: 520px;
    background: #ffffff;
    border-radius: 16px;
    display: flex;
    overflow: hidden; /* 外层作为滚动容器 */
    box-shadow: 0 24px 80px rgba(0, 0, 0, 0.5);
    transform: scale(0.96) translateY(10px);
    transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
    overflow-y: auto; /* 当内容超过90vh时外层滚动 */
}
.cyber-modal-overlay.is-open .cyber-modal-wrapper {
    transform: scale(1) translateY(0);
}

.modal-close-btn {
    position: absolute;
    top: 20px;
    right: 24px;
    background: none;
    border: none;
    color: #94a3b8;
    font-size: 28px;
    cursor: pointer;
    z-index: 10;
    transition: color 0.2s;
}
.modal-close-btn:hover { color: #ff4a5a; }

/* 左侧 */
.modal-left-box {
    flex: 0 0 32%;
    background: #050508;
    padding: 30px 20px 12px 20px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    border-right: 1px solid rgba(255, 255, 255, 0.04);
    overflow: visible;
}
.modal-left-box .brand-header {
    display: flex;
    align-items: center;
    gap: 12px;
}
.modal-left-box .brand-header img {
    width: 100px;
    height: 100px;
    object-fit: contain;
}
.modal-left-box .brand-header span {
    font-size: 40px;
    font-weight: normal;
    color: #ffffff;
    white-space: nowrap;
}
.modal-left-box .matrix-title {
    margin-top: 20px;
    font-size: 40px;
    font-weight: 700;
    color: #ffffff;
    line-height: 1.2;
}
.modal-left-box .highlight-red {
    font-size: 48px;
    color: #ff4a5a;
    display: block;
    text-shadow: 0 0 20px rgba(255, 74, 90, 0.4);
}
.modal-left-box .binary-matrix-stream.aligned-right {
    margin-top: auto;
    margin-bottom: 4px;
    font-size: 14px;
    line-height: 1.9;
    text-align: center;
    overflow: visible;
    -webkit-mask-image: linear-gradient(to bottom, rgba(0,0,0,0) 0%, rgba(0,0,0,0.4) 30%, rgba(0,0,0,1) 100%);
    mask-image: linear-gradient(to bottom, rgba(0,0,0,0) 0%, rgba(0,0,0,0.4) 30%, rgba(0,0,0,1) 100%);
}
.modal-left-box .binary-matrix-stream.aligned-right .matrix-row {
    display: flex !important;
    justify-content: center !important;
    flex-wrap: nowrap !important;
    gap: 12px !important;
    overflow: visible !important;
}
.modal-left-box .binary-matrix-stream.aligned-right .matrix-row span {
    flex-shrink: 0 !important;
    white-space: nowrap !important;
    display: inline-block !important;
    color: #00ffff;
    letter-spacing: 0.08em;
    text-shadow: 0 0 6px rgba(0, 255, 255, 0.5);
}

/* ================= 右侧 - 统一间距与布局 ================= */
.modal-right-box {
    position: relative;
    flex: 1;
    background: #ffffff;
    padding: 12px 40px 24px 40px;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    overflow: visible;  /* 内容可自然延伸，外层滚动接管 */
    color: #1e293b;
    height: auto;       /* 配合外层自适应 */
}

.modal-right-box form {
    margin-top: -10px;
}

/* 统一表单项间距为 16px，清除后续重复定义 */
.modal-right-box .form-group {
    margin-bottom: 16px !important;
}

/* 按钮容器固定右下角对齐 */
.modal-right-box .form-submit-row {
    display: flex !important;
    justify-content: flex-end !important;
    margin-top: 6px !important;
    padding-top: 10px !important;
}

/* label */
.modal-right-box .form-group label {
    display: block;
    font-size: 13px;
    font-weight: 600;
    color: #334155;
    margin-bottom: 6px;
}

/* 输入框、选择框、自定义通道 */
.modal-right-box .form-group input,
.modal-right-box .form-group select,
.modal-right-box .custom-single-channel,
.modal-right-box .custom-single-channel input {
    height: 36px;
    line-height: 34px;
    padding: 0 12px;
    font-size: 14px;
    border: 1px solid #cbd5e1;
    border-radius: 4px;
    background: #ffffff;
    width: 100%;
    box-sizing: border-box;
    outline: none;
    transition: border-color 0.2s;
}
.modal-right-box .form-group input:focus,
.modal-right-box .form-group select:focus,
.modal-right-box .custom-single-channel:focus-within {
    border-color: #0f172a;
    box-shadow: 0 0 0 2px rgba(15, 23, 42, 0.08);
}
.modal-right-box .custom-single-channel {
    display: flex;
    align-items: center;
    padding: 0;
    height: 36px;
    background: #ffffff;
}
.modal-right-box .whatsapp-badge {
    background: #f1f5f9;
    color: #128c7e;
    padding: 0 12px;
    font-size: 13px;
    font-weight: 600;
    height: 100%;
    display: flex;
    align-items: center;
    border-right: 1px solid #e2e8f0;
}
.modal-right-box .custom-single-channel input {
    border: none !important;
    height: 100%;
    padding: 0 12px;
    flex: 1;
}
.modal-right-box .form-group textarea {
    height: 100px;
    min-height: 100px;
    max-height: 100px;
    padding: 6px 12px;
    font-size: 14px;
    resize: vertical;
    border: 1px solid #cbd5e1;
    border-radius: 4px;
    width: 100%;
    box-sizing: border-box;
}

.modal-right-box .form-footer-notice {
    margin: 10px 0 4px 0 !important;
    font-size: 12px;
    color: #64748b;
}

.modal-right-box .btn-submit-quote {
    background: #0f172a;
    color: #ffffff;
    border: none;
    padding: 0 28px;
    height: 38px;
    font-size: 14px;
    font-weight: 600;
    border-radius: 4px;
    cursor: pointer;
    transition: background 0.2s;
    display: flex;
    align-items: center;
    gap: 6px;
}
.modal-right-box .btn-submit-quote:hover { background: #1e293b; }

/* 双列并排 */
.modal-right-box .form-grid-row {
    display: flex;
    gap: 16px;
    width: 100%;
}
.modal-right-box .form-grid-row .form-group {
    flex: 1;
}
.modal-right-box .form-row {
    display: flex;
    gap: 16px;
    width: 100%;
}
.modal-right-box .form-row .form-group {
    flex: 1;
}

/* 错误状态 */
.form-group.has-error input,
.form-group.has-error .custom-single-channel {
    border-color: #ef4444 !important;
    background-color: #fef2f2 !important;
}
.form-group.has-error label { color: #b91c1c; }
.error-msg {
    color: #ef4444;
    font-size: 11px;
    margin-top: 2px;
    display: none;
}
.form-group.has-error .error-msg { display: block; }

/* ==========================================================================
   10. 移动端 (< 768px)
   ========================================================================== */
@media (max-width: 768px) {
    .cyber-modal-wrapper {
        flex-direction: column;
        height: auto;
        max-height: 96vh;
        min-height: auto;
        width: 92%;
        overflow-y: auto;
    }
    .modal-left-box {
        flex: 0 0 auto;
        width: 100%;
        padding: 16px 20px;
        min-height: 100px;
        justify-content: flex-start;
    }
    .modal-left-box .binary-matrix-stream.aligned-right {
        display: none;
    }
    .modal-right-box {
        flex: 1;
        width: 100%;
        padding: 16px 20px;
        overflow-y: visible;
        justify-content: flex-start;
    }
    .modal-right-box .form-grid-row,
    .modal-right-box .form-row {
        flex-direction: column;
        gap: 0;
    }
}

/* ==========================================================================
   11. 产品功能对比表格
   ========================================================================== */
/* 内部不再需要独立滚动，由外层接管 */
.modal-right-box .modal-form-scroll-body {
    display: flex;
    flex-direction: column;
    height: 100%;
    overflow-y: visible;
    padding-right: 0;
}

.product-matrix-table-wrapper {
    width: 100%;
    overflow-x: auto;
    margin: -6px 0 24px 0;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    background: #f8fafc;
}

.product-matrix-table {
    width: 100%;
    border-collapse: collapse;
    text-align: left;
    font-size: 13px;
    color: #334155;
    min-width: 600px;
}

.product-matrix-table th,
.product-matrix-table td {
    padding: 8px 10px;
    border-bottom: 1px solid #e2e8f0;
    vertical-align: middle;
    font-size: 13px;
}

.product-matrix-table thead th {
    background: #0f172a;
    color: #ffffff;
    font-weight: 600;
    font-size: 12px;
    letter-spacing: 0.5px;
}
.product-matrix-table thead th:first-child {
    border-top-left-radius: 7px;
}
.product-matrix-table thead th:last-child {
    border-top-right-radius: 7px;
}

.product-matrix-table tbody tr:nth-child(even) {
    background: #ffffff;
}
.product-matrix-table tbody tr:hover {
    background: #f1f5f9;
}

.product-matrix-table .feature-name {
    font-weight: 500;
    color: #1e293b;
}

.product-matrix-table td:not(.feature-name) {
    text-align: center;
    font-weight: 600;
}

.product-matrix-table .status-yes {
    color: #10b981;
    font-size: 14px;
}
.product-matrix-table .status-yes span {
    font-size: 11px;
    color: #64748b;
    font-weight: normal;
    margin-left: 2px;
}
.product-matrix-table .status-no {
    color: #ef4444;
    font-size: 14px;
    opacity: 0.4;
}

/* ==========================================================================
   12. 底部操作栏
   ========================================================================== */
.modal-right-box .modal-subtitle {
    margin-top: -8px;
    margin-bottom: 16px;
}

.form-actions-wrapper {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    gap: 20px !important;
    margin-top: 8px !important;
}

.form-actions-wrapper .form-footer-notice {
    margin: 0 !important;
    padding: 0 !important;
    line-height: 1.4 !important;
    flex: 1 !important;
}

.form-actions-wrapper .form-submit-row {
    margin: 0 !important;
    display: flex !important;
    padding: 0 !important;
    align-items: center !important;
}

/* 移动端表单底部 */
@media (max-width: 768px) {
    .form-actions-wrapper {
        flex-direction: column !important;
        align-items: flex-start !important;
        gap: 12px !important;
    }
    .form-actions-wrapper .form-submit-row {
        width: 100% !important;
    }
    .form-actions-wrapper .btn-submit-quote {
        width: 100% !important;
        justify-content: center !important;
    }
}

/* ==========================================================================
   13. 动画与初始状态
   ========================================================================== */
/* 抖动动画 */
@keyframes shake-error {
    0%, 100% { transform: translateX(0); }
    10%, 30%, 50%, 70%, 90% { transform: translateX(-4px); }
    20%, 40%, 60%, 80% { transform: translateX(4px); }
}

.form-group.has-error input,
.form-group.has-error .custom-single-channel {
    animation: shake-error 0.4s ease-in-out;
    border-color: #ef4444 !important;
    background-color: #fef2f2 !important;
}

/* 初始隐藏（防闪烁） */
.cyber-modal-overlay, 
.binary-matrix-stream {
    visibility: hidden;
}

.is-ready .cyber-modal-overlay,
.is-ready .binary-matrix-stream {
    visibility: visible;
}

/* ==========================================================================
   14. 快速扫描工具
   ========================================================================== */
.quick-scanner {
    margin-top: 40px;
    display: flex;
    justify-content: center;
}
.scanner-card {
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 16px;
    padding: 28px 32px;
    max-width: 650px;
    width: 100%;
    text-align: left;
}
.scanner-title {
    font-size: 22px;
    color: #ffffff;
    margin: 0 0 6px 0;
}
.scanner-desc {
    font-size: 14px;
    color: #94a3b8;
    margin-bottom: 20px;
}
.scanner-input-group {
    display: flex;
    gap: 12px;
    margin-bottom: 20px;
}
.scanner-input-group input {
    flex: 1;
    padding: 12px 16px;
    font-size: 15px;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 8px;
    color: #fff;
    outline: none;
    transition: border-color 0.2s;
}
.scanner-input-group input:focus {
    border-color: #00a6f4;
}
.scan-result-box {
    background: rgba(0, 0, 0, 0.3);
    border-radius: 12px;
    padding: 16px;
    margin-top: 16px;
    max-height: 400px;
    overflow-y: auto;
    font-size: 13px;
    color: #cbd5e1;
}
.scan-check-item {
    display: flex;
    align-items: center;
    padding: 6px 0;
    border-bottom: 1px solid rgba(255,255,255,0.04);
}
.scan-check-item:last-child { border: none; }
.scan-check-icon {
    width: 24px;
    margin-right: 10px;
    font-size: 16px;
}
.scan-check-icon.pass { color: #10b981; }
.scan-check-icon.fail { color: #ef4444; }
.scan-check-label {
    flex: 1;
    color: #e2e8f0;
}
.scan-check-value {
    font-size: 11px;
    color: #64748b;
    margin-left: 8px;
    word-break: break-all;
}
.score-line {
    text-align: center;
    margin-bottom: 10px;
    font-weight: 600;
    font-size: 15px;
    color: #00a6f4;
}

/* ==========================================================================
   14. 延迟出现按钮 & 黑客帝国扫描工具框
   ========================================================================== */
.hero-action.delayed-btn {
    opacity: 0;
    transform: translateY(10px);
    transition: opacity 0.6s cubic-bezier(0.4, 0, 0.2, 1), transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}
.hero-action.delayed-btn.show {
    opacity: 1;
    transform: translateY(0);
}

.quick-scanner.delayed-scanner {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s cubic-bezier(0.22, 0.61, 0.36, 1), transform 0.8s cubic-bezier(0.22, 0.61, 0.36, 1);
    position: relative;
    overflow: hidden; /* 防止扫描线溢出圆角边框 */
}
.quick-scanner.delayed-scanner.show {
    opacity: 1;
    transform: translateY(0);
}

/* 黑客帝国绿色扫描线（最终平滑版） */
.quick-scanner.delayed-scanner::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, 
        transparent 0%, 
        rgba(0, 255, 65, 0.12) 50%, 
        transparent 100%);
    background-size: 100% 100%;          /* ← 关键：宽度加倍，让光带可滑动 */
    z-index: 0;
    pointer-events: none;
    animation: matrixScan 10s ease-in-out forwards;
    opacity: 0;
}

.quick-scanner.delayed-scanner.show::before {
    opacity: 1;
}

@keyframes matrixScan {
    0% {
        background-position: 0% 0;       /* 光带中心在左侧外部 */
        opacity: 0;
    }
    5% {
        opacity: 0.7;
    }
    15% {
        opacity: 1;
    }
    85% {
        opacity: 1;
    }
    95% {
        opacity: 0.7;
    }
    100% {
        background-position: -100% 0;    /* 光带中心滑到右侧外部 */
        opacity: 0;
    }
}

.scanner-card {
    position: relative;
    z-index: 1;
}

#scan-btn {
    display: inline-block;
    padding: 12px 36px;
    font-size: 15px;
    font-weight: 500;
    text-decoration: none;
    letter-spacing: 2px;
    background: rgba(0, 255, 65, 0.04);
    border: 1px solid rgba(0, 255, 65, 0.5);
    border-radius: 4px;
    color: #00ff41;
    box-shadow: 0 0 10px rgba(0, 255, 65, 0.15);
    transition: all 0.3s;
    cursor: pointer;
}
#scan-btn:hover {
    background: #00ff41;
    color: #000;
    border-color: #00ff41;
    box-shadow: 0 0 20px rgba(0, 255, 65, 0.6);
    transform: translateY(-2px);
}
#scan-btn:active {
    transform: translateY(0);
    box-shadow: 0 0 15px rgba(0, 255, 65, 0.3);
}

/* ==========================================================================
   15. 扫描结果弹窗（黑客帝国风）
   ========================================================================== */
.scan-modal-overlay {
    z-index: 10001; /* 高于普通弹窗 */
}
.scan-modal-wrapper {
    max-width: 700px;
    width: 90%;
    height: auto;
    min-height: 400px;
    max-height: 85vh;
    background: #0a0f0a;                /* 深绿黑底 */
    border: 1px solid #00ff41;
    box-shadow: 0 0 30px rgba(0, 255, 65, 0.3);
    color: #00ff41;
    padding: 0;
    display: flex;
    flex-direction: column;
    font-family: 'Courier New', Courier, monospace;
}
.scan-modal-body {
    padding: 28px;
    overflow-y: auto;
}
.scan-modal-title {
    font-size: 22px;
    letter-spacing: 2px;
    color: #00ff41;
    text-align: center;
    margin-bottom: 20px;
    text-shadow: 0 0 8px #00ff41;
    border-bottom: 1px dashed #00ff41;
    padding-bottom: 10px;
}
.scan-modal-close {
    color: #00ff41 !important;
    font-size: 30px;
    right: 20px;
    top: 16px;
}
.scan-modal-close:hover {
    color: #ff4a5a !important;
}

/* 结果列表项风格 */
.scan-check-item {
    display: flex;
    align-items: center;
    padding: 8px 0;
    border-bottom: 1px solid rgba(0, 255, 65, 0.15);
    font-size: 14px;
    color: #aaffaa;
}
.scan-check-item:last-child { border: none; }
.scan-check-icon {
    width: 28px;
    font-size: 16px;
}
.scan-check-icon.pass { color: #00ff41; }
.scan-check-icon.fail { color: #ff4a5a; }
.scan-check-label {
    flex: 1;
    color: #baffba;
}
.scan-check-value {
    font-size: 12px;
    color: #88aa88;
    margin-left: 8px;
    word-break: break-all;
}
.score-line {
    text-align: center;
    font-size: 18px;
    font-weight: bold;
    color: #00ff41;
    margin-bottom: 18px;
    text-shadow: 0 0 8px #00ff41;
}

/* 扫描结果表格 - 简洁黑客风格 */
.scan-result-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 10px;
    font-size: 14px;
    color: #aaffaa;
}

.scan-result-table td {
    padding: 8px 10px;
    border-bottom: 1px solid rgba(0, 255, 65, 0.2);
    vertical-align: middle;
}

.scan-label {
    font-weight: bold;
    width: 45%;
    color: #baffba;
}

.scan-status {
    width: 10%;
    text-align: center;
    font-size: 18px;
}

.scan-analysis {
    width: 45%;
    color: #88cc88;
    word-break: break-word;
}

.scan-row {
    cursor: pointer;
    transition: background 0.2s;
}

.scan-row:hover {
    background: rgba(0, 255, 65, 0.05);
}

.scan-row.fail .scan-status { color: #ff4a5a; }
.scan-row.warn .scan-status { color: #ffcc00; }

.scan-fix-row td {
    padding: 6px 10px;
    background: rgba(0, 0, 0, 0.3);
    border-bottom: 1px solid rgba(0, 255, 65, 0.1);
}

.scan-fix-text {
    font-size: 12px;
    color: #ffcc00;
    line-height: 1.5;
}

/* 评分行 */
.score-line {
    text-align: center;
    font-size: 18px;
    font-weight: bold;
    color: #00ff41;
    margin-bottom: 16px;
    text-shadow: 0 0 8px #00ff41;
}

/* 扫描结果表格 - 简洁黑客风格 */
.scan-result-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 10px;
    font-size: 14px;
    color: #aaffaa;
}

.scan-result-table td {
    padding: 8px 10px;
    border-bottom: 1px solid rgba(0, 255, 65, 0.2);
    vertical-align: middle;
}

.scan-label {
    font-weight: bold;
    width: 35%;
    color: #baffba;
}

.scan-status {
    width: 10%;
    text-align: center;
    font-size: 18px;
}

.scan-analysis {
    width: 35%;
    color: #88cc88;
    word-break: break-word;
}

.scan-action {
    width: 20%;
    text-align: right;
}

.scan-row {
    transition: background 0.2s;
}

.scan-row:hover {
    background: rgba(0, 255, 65, 0.04);
}

.scan-row.fail .scan-status { color: #ff4a5a; }
.scan-row.warn .scan-status { color: #ffcc00; }

.scan-fix-row td {
    padding: 6px 10px;
    background: rgba(0, 0, 0, 0.3);
    border-bottom: 1px solid rgba(0, 255, 65, 0.1);
}

.scan-fix-text {
    font-size: 12px;
    color: #ffcc00;
    line-height: 1.5;
}

/* 修复建议按钮 */
.fix-btn {
    background: transparent;
    border: 1px solid #00ff41;
    color: #00ff41;
    padding: 4px 10px;
    font-size: 12px;
    font-family: 'Courier New', monospace;
    cursor: pointer;
    border-radius: 4px;
    transition: all 0.2s;
}

.fix-btn:hover {
    background: #00ff41;
    color: #000;
    box-shadow: 0 0 8px #00ff41;
}

/* 评分行 */
.score-line {
    text-align: center;
    font-size: 18px;
    font-weight: bold;
    color: #00ff41;
    margin-bottom: 16px;
    text-shadow: 0 0 8px #00ff41;
}

/* 合规声明复选框 */
.scanner-compliance {
    margin: 12px 0;
    text-align: left;
}

.compliance-label {
    display: flex;
    align-items: flex-start;    /* 让文字与复选框顶部对齐 */
    gap: 10px;
    font-size: 13px;
    color: #aaffaa;
    cursor: pointer;
    user-select: none;
}

.compliance-label input[type="checkbox"] {
    flex-shrink: 0;            /* 禁止复选框被压缩 */
    appearance: none;
    width: 18px;
    height: 18px;
    min-width: 18px;           /* 确保最小宽度 */
    border: 1px solid #00ff41;
    border-radius: 3px;
    background: transparent;
    cursor: pointer;
    position: relative;
    margin-top: 2px;           /* 微调垂直对齐 */
}

.compliance-label input[type="checkbox"]:checked {
    background: #00ff41;
    border-color: #00ff41;
}

.compliance-label input[type="checkbox"]:checked::after {
    content: '✓';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: #000;
    font-size: 14px;
    font-weight: bold;
}

#scan-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    pointer-events: none;
}

/* ==========================================================================
   16. 服务条款弹窗
   ========================================================================== */
.policy-modal-overlay {
    z-index: 10002;
}
.policy-modal-wrapper {
    max-width: 700px;
    width: 90%;
    height: auto;
    max-height: 85vh;
    background: #0a0f0a;
    border: 1px solid #00ff41;
    box-shadow: 0 0 30px rgba(0, 255, 65, 0.3);
    color: #00ff41;
    font-family: 'Courier New', monospace;
    padding: 0;
    display: flex;
    flex-direction: column;
}
.policy-modal-body {
    padding: 28px;
    overflow-y: auto;
}
.policy-modal-title {
    font-size: 22px;
    letter-spacing: 2px;
    color: #00ff41;
    text-align: center;
    margin-bottom: 20px;
    text-shadow: 0 0 8px #00ff41;
    border-bottom: 1px dashed #00ff41;
    padding-bottom: 10px;
}
.policy-modal-close {
    color: #00ff41 !important;
    font-size: 30px;
    right: 20px;
    top: 16px;
}
.policy-modal-close:hover {
    color: #ff4a5a !important;
}
.policy-modal-content {
    font-size: 14px;
    line-height: 1.7;
    color: #aaffaa;
}
.policy-modal-content h3 {
    font-size: 16px;
    margin: 18px 0 8px;
    color: #00ff41;
    text-shadow: 0 0 4px #00ff41;
}
.policy-modal-content h4 {
    font-size: 15px;
    margin: 14px 0 6px;
    color: #ffcc00;
}
.policy-modal-content ul {
    padding-left: 20px;
    margin: 8px 0;
}
.policy-modal-content li {
    margin-bottom: 4px;
    list-style-type: '> ';
}
.policy-modal-content a {
    color: #00ff41;
    text-decoration: underline;
}

/* 服务条款链接行 */
.policy-link-row {
    margin: 8px 0 0;
    font-size: 13px;
    color: #aaffaa;
}

.policy-link-row a {
    color: #ffffff;           /* 白色显示 */
    text-decoration: underline;
    font-weight: bold;
}

.policy-link-row a:hover {
    color: #ffcc00;           /* 悬停时变为亮黄色，增强交互反馈 */
}

.scan-upsell {
    margin-top: 20px;
    padding: 14px 18px;
    background: rgba(0, 255, 255, 0.05);
    border: 1px solid rgba(0, 255, 255, 0.35);
    border-radius: 6px;
    color: #00ffff;
    font-size: 14px;
    line-height: 1.7;
    text-align: left;          /* 长文本左对齐更易阅读 */
    word-break: break-word;
}

.product-matrix-table td {
    word-break: break-word;
}

/* ==========================================================================
   新增：服务详情下拉菜单优化（大字体、全宽、去除粗体）
   ========================================================================== */
.nav-item.service-detail .mega-dropdown {
    width: 95vw;
    max-width: 1400px;
    left: 50%;
    transform: translateX(-50%);
    max-height: 85vh;
    overflow-y: auto;
    padding: 25px;
    font-size: 1.4rem;              /* 整体字号调大 */
    flex-direction: column;       /* 垂直排列，让介绍文字在上方 */
    gap: 15px;
}

/* 移除原有 dropdown-intro 的边框和宽度限制，改为简单标题段落 */
.nav-item.service-detail .dropdown-intro {
    width: 100%;
    max-width: 100%;
    border-right: none;
    padding-right: 0;
    border-bottom: none;
    padding-bottom: 0;
}

.nav-item.service-detail .dropdown-intro h3 {
    font-size: 30px;
    margin: 0 0 8px 0;
}

.nav-item.service-detail .dropdown-intro p {
    font-size: 1rem !important;
    color: #94a3b8;
    margin: 0;
}

/* 表格样式：字体大、无粗体、固定布局 */
.nav-item.service-detail table {
    width: 100%;
    table-layout: fixed;
    border-collapse: collapse;
    font-size: 1rem;             /* 表格字号调大 */
}

.nav-item.service-detail th,
.nav-item.service-detail td {
    padding: 8px 10px;
    text-align: left;
    vertical-align: top;
    border-bottom: 1px solid #1e293b;
    font-weight: normal;           /* 去掉粗体 */
    color: #cbd5e1;   /* 新增 */
}

.nav-item.service-detail th {
    background: rgba(255,255,255,0.05);
}

/* 所有 strong 标签恢复为普通字重 */
.nav-item.service-detail strong {
    font-weight: normal;
}

/* 列高亮动画：从上到下渐变 */
@keyframes colHighlight {
    0% {
        background-color: rgba(0, 166, 244, 0);
    }
    30% {
        background-color: rgba(0, 166, 244, 0.15);
    }
    100% {
        background-color: rgba(0, 166, 244, 0.05);
    }
}

.nav-item.service-detail td.col-highlight,
.nav-item.service-detail th.col-highlight {
    animation: colHighlight 0.6s ease-out forwards;
}

/* 悬停时给表头自身轻微高亮 */
.nav-item.service-detail th:hover {
    background-color: rgba(0, 166, 244, 0.1);
    cursor: pointer;
    transition: background-color 0.3s;
}

/* ========================================================
   最终补丁：保留完美 Flex 布局，只加毛玻璃与背景
   ======================================================== */

/* 阻止横向滚动条 */
html, body {
    overflow-x: hidden !important;
    width: 100% !important;
}

/* 背景极光 */
body {
    background-color: #050505 !important;
    background-image: 
        radial-gradient(circle at 15% 0%, rgba(88, 166, 255, 0.15) 0%, transparent 40%),
        radial-gradient(circle at 85% 30%, rgba(139, 92, 246, 0.12) 0%, transparent 40%) !important;
    background-attachment: fixed !important;
}

/* 让 Header 吸附在顶部，但保留原版的 160px 高度和所有 Flex 布局 */
.header {
    position: sticky !important;
    top: 0 !important;
    background: rgba(5, 5, 5, 0.4) !important;
    backdrop-filter: blur(24px) !important;
    -webkit-backdrop-filter: blur(24px) !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08) !important;
    z-index: 1000 !important;
}

/* 让快速检测卡片变成真毛玻璃 */
.scanner-card {
    background: rgba(22, 27, 34, 0.4) !important;
    backdrop-filter: blur(24px) !important;
    -webkit-backdrop-filter: blur(24px) !important;
    border: 1px solid rgba(255, 255, 255, 0.1) !important;
    box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.3) !important;
}

/* 下拉菜单毛玻璃 */
.mega-dropdown {
    background: rgba(15, 15, 20, 0.75) !important;
    backdrop-filter: blur(24px) !important;
    -webkit-backdrop-filter: blur(24px) !important;
    border: 1px solid rgba(255, 255, 255, 0.1) !important;
}
