/* ========== 成都汇编科技官网 - 全局深色科技风主题 ========== */

@import url('https://fonts.geekzu.org/css2?family=Noto+Sans+SC:wght@300;400;500;600;700;900&display=swap');

:root {
    --primary: #0066FF;
    --primary-light: #3385FF;
    --primary-dark: #0052CC;
    --accent: #00D4FF;
    --accent-purple: #8B5CF6;
    --deep: #0c1524;
    --surface: #141e30;
    --surface-light: #1e2d45;
    --border: rgba(255, 255, 255, 0.08);
    --text: #F9FAFB;
    --text-muted: #9CA3AF;
    --gradient-primary: linear-gradient(135deg, #0066FF 0%, #00D4FF 100%);
    --gradient-accent: linear-gradient(135deg, #8B5CF6 0%, #0066FF 100%);
    --glow: 0 0 60px rgba(0, 102, 255, 0.15);
}

/* ========== 全局基础 ========== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Noto Sans SC', -apple-system, BlinkMacSystemFont, sans-serif !important;
    background: var(--deep) !important;
    color: var(--text) !important;
    line-height: 1.6;
    overflow-x: hidden;
}

/* ========== 背景网格 ========== */
body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        linear-gradient(rgba(0, 102, 255, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(0, 102, 255, 0.03) 1px, transparent 1px);
    background-size: 60px 60px;
    pointer-events: none;
    z-index: -1;
}

/* ========== 标题样式 ========== */
h1, h2, h3, h4, h5, h6 {
    font-family: 'Noto Sans SC', sans-serif !important;
    font-weight: 700;
    color: var(--text);
}

/* ========== 链接样式 ========== */
a {
    color: var(--primary);
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover {
    color: var(--accent);
}

/* ========== 按钮样式 ========== */
.btn, .thm-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 14px 32px;
    border-radius: 8px;
    font-family: 'Noto Sans SC', sans-serif;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    border: none;
}

.btn-primary, .thm-btn {
    background: var(--gradient-primary);
    color: white;
    box-shadow: 0 4px 30px rgba(0, 102, 255, 0.3);
}

.btn-primary:hover, .thm-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 40px rgba(0, 102, 255, 0.4);
}

.btn-secondary {
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: var(--text);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(255, 255, 255, 0.4);
}

.btn-outline {
    background: transparent;
    border: 1px solid var(--primary);
    color: var(--primary);
    border-radius: 25px;
    padding: 12px 30px;
}

.btn-outline:hover {
    background: var(--primary);
    color: white;
}

/* ========== 卡片通用 ========== */
.card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 16px;
    overflow: hidden;
    transition: all 0.4s ease;
}

.card:hover {
    transform: translateY(-8px);
    border-color: rgba(0, 102, 255, 0.3);
    box-shadow: var(--glow);
}

/* ========== 页面Banner ========== */
.page-banner {
    min-height: 350px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 120px 20px 60px;
    background: linear-gradient(135deg, var(--surface) 0%, var(--deep) 100%);
    position: relative;
}

.page-banner h1 {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 10px;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.page-banner p {
    color: var(--text-muted);
    font-size: 1.1rem;
    max-width: 500px;
    margin: 0 auto;
}

.page-banner .breadcrumb {
    display: flex;
    gap: 8px;
    justify-content: center;
    margin-top: 20px;
    font-size: 14px;
}

.page-banner .breadcrumb a {
    color: var(--text-muted);
}

.page-banner .breadcrumb a:hover {
    color: var(--primary);
}

.page-banner .breadcrumb span {
    color: var(--text-muted);
}

/* ========== Section 通用 ========== */
.section {
    padding: 80px 20px;
    position: relative;
}

.section-alt {
    background: var(--surface);
}

.container {
    /* max-width: 1200px; */
    margin: 0 auto;
    padding: 0 20px;
}

.section-header {
    text-align: center;
    margin-bottom: 40px;
}

.section-tag {
    font-size: 14px;
    color: var(--primary);
    text-transform: uppercase;
    letter-spacing: 3px;
    margin-bottom: 10px;
}

.section-title {
    font-size: 2rem;
    font-weight: 700;
    color: var(--text);
    margin-bottom: 10px;
}

.section-desc {
    color: var(--text-muted);
    max-width: 500px;
    margin: 0 auto;
}

/* ========== 表单样式 ========== */
.form-group {
    margin-bottom: 20px;
}

.form-label {
    display: block;
    margin-bottom: 8px;
    font-size: 14px;
    color: var(--text-muted);
}

.form-input, .form-control {
    width: 100%;
    padding: 14px 16px;
    background: var(--deep);
    border: 1px solid var(--border);
    border-radius: 8px;
    color: var(--text);
    font-size: 1rem;
    font-family: 'Noto Sans SC', sans-serif;
    transition: border-color 0.3s ease;
}

.form-input:focus, .form-control:focus {
    outline: none;
    border-color: var(--primary);
}

.form-input::placeholder, .form-control::placeholder {
    color: var(--text-muted);
}

textarea.form-input, textarea.form-control {
    min-height: 120px;
    resize: vertical;
}

/* ========== 页面Banner ========== */
.page-banner {
    background: linear-gradient(135deg, var(--surface) 0%, var(--deep) 100%) !important;
    position: relative;
}

.page-banner .breadcrumb {
    background: transparent !important;
    padding: 0 !important;
    margin: 0 !important;
}

.page-banner .breadcrumb a,
.page-banner .breadcrumb span {
    background: transparent !important;
    padding: 0 !important;
}

/* ========== Element UI 深色适配 ========== */
.el-input__inner {
    background: var(--surface) !important;
    border-color: var(--border) !important;
    color: var(--text) !important;
    border-radius: 8px !important;
    font-family: 'Noto Sans SC', sans-serif !important;
}

.el-input__inner:focus {
    border-color: var(--primary) !important;
}

.el-textarea__inner {
    background: var(--surface) !important;
    border-color: var(--border) !important;
    color: var(--text) !important;
    font-family: 'Noto Sans SC', sans-serif !important;
}

.el-button--primary {
    background: var(--gradient-primary) !important;
    border: none !important;
    font-family: 'Noto Sans SC', sans-serif !important;
}

.el-button--primary:hover {
    opacity: 0.9;
}

.el-pagination {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.el-pagination .btn-prev,
.el-pagination .btn-next,
.el-pagination .number {
    background: var(--surface) !important;
    color: var(--text) !important;
    border: 1px solid var(--border) !important;
    border-radius: 8px !important;
    min-width: 40px;
    height: 40px;
    line-height: 38px;
    font-family: 'Noto Sans SC', sans-serif !important;
}

.el-pagination .number.active {
    background: var(--primary) !important;
    border-color: var(--primary) !important;
}

.el-dialog {
    background: var(--surface) !important;
    border: 1px solid var(--border);
    border-radius: 16px !important;
}

.el-dialog__header {
    padding: 20px 24px !important;
    border-bottom: 1px solid var(--border);
}

.el-dialog__title {
    color: var(--text) !important;
    font-family: 'Noto Sans SC', sans-serif !important;
    font-weight: 600;
}

.el-dialog__body {
    padding: 24px !important;
    color: var(--text-muted);
}

.el-dialog__footer {
    padding: 16px 24px !important;
    border-top: 1px solid var(--border);
}

.el-message-box {
    background: var(--surface) !important;
    border: 1px solid var(--border) !important;
    border-radius: 16px !important;
}

.el-message-box__title {
    color: var(--text) !important;
}

.el-message-box__content {
    color: var(--text-muted) !important;
}

.el-message-box__btns .el-button--primary {
    background: var(--gradient-primary) !important;
    border: none !important;
}

/* ========== 分页样式 ========== */
.pagination {
    display: flex;
    gap: 8px;
    justify-content: center;
    margin-top: 40px;
}

.pagination a,
.pagination span {
    padding: 10px 16px;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 8px;
    color: var(--text);
    text-decoration: none;
    font-size: 14px;
    transition: all 0.3s ease;
}

.pagination a:hover,
.pagination span.active {
    background: var(--primary);
    border-color: var(--primary);
}

/* ========== 滚动条 ========== */
::-webkit-scrollbar {
    width: 8px;
    height: 8px;
}

::-webkit-scrollbar-track {
    background: var(--deep);
}

::-webkit-scrollbar-thumb {
    background: var(--surface-light);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--primary);
}

/* ========== 响应式 ========== */
@media (max-width: 768px) {
    .page-banner h1 {
        font-size: 2rem;
    }
    
    .section {
        padding: 60px 16px;
    }
    
    .section-title {
        font-size: 1.5rem;
    }
}