:root {
    --bg-dark: #08080a;
    --primary: #ffffff;
    --accent: #ff3c00;
    --text-dim: #666;
    --border: rgba(255, 255, 255, 0.08);
}

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

body {
    background-color: var(--bg-dark);
    color: var(--primary);
    font-family: "Inter", "PingFang SC", sans-serif;
    overflow-x: hidden;
    line-height: 1.2;
}

/* --- 背景特效 --- */
/* 替换为纯 CSS 噪点，无需外部图片 */
.noise {
    position: fixed;
    inset: 0;
    pointer-events: none;
    z-index: 1;
    background: repeating-radial-gradient(
        circle at 20% 30%,
        rgba(0, 0, 0, 0.02) 0px,
        rgba(0, 0, 0, 0.02) 2px,
        transparent 2px,
        transparent 4px
    );
    opacity: 0.2;
}
.mesh-grid { position: fixed; inset: 0; background-image: linear-gradient(var(--border) 1px, transparent 1px), linear-gradient(90deg, var(--border) 1px, transparent 1px); background-size: 50px 50px; z-index: 2; mask-image: radial-gradient(circle at center, black, transparent 80%); }
.ambient-glow { position: fixed; inset: 0; background: radial-gradient(circle at 80% 20%, rgba(255,60,0,0.04) 0%, transparent 40%), radial-gradient(circle at 20% 80%, rgba(255,255,255,0.02) 0%, transparent 40%); z-index: 0; }

.frame-deco { position: fixed; font-size: 10px; font-family: monospace; color: var(--text-dim); z-index: 100; padding: 25px; letter-spacing: 1px; }
.top-left { top: 0; left: 0; border-left: 1px solid var(--accent); }
.top-right { top: 0; right: 0; }
.bottom-left { bottom: 0; left: 0; }
.bottom-right { bottom: 0; right: 0; }

.wrapper { max-width: 1400px; margin: 0 auto; padding: 0 60px; position: relative; z-index: 10; }

/* --- 进场动画 --- */
@keyframes revealUp { from { opacity: 0; transform: translateY(40px); filter: blur(10px); } to { opacity: 1; transform: translateY(0); filter: blur(0); } }
.reveal { opacity: 0; animation: revealUp 1.2s cubic-bezier(0.16, 1, 0.3, 1) forwards; }

/* --- Header --- */
.header { height: 120px; display: flex; justify-content: space-between; align-items: center; border-bottom: 1px solid var(--border); }
.logo-area { display: flex; align-items: center; gap: 12px; font-weight: 800; letter-spacing: 2px; }
.dot-live { width: 6px; height: 6px; background: var(--accent); border-radius: 50%; animation: blink 1.5s infinite; }
.auth-trigger { font-size: 11px; letter-spacing: 2px; color: var(--accent); cursor: pointer; transition: 0.3s; }
.auth-trigger:hover { color: #fff; text-shadow: 0 0 10px var(--accent); }
.nav-info { font-size: 11px; color: var(--text-dim); display: flex; align-items: center; }
.separator { margin: 0 15px; opacity: 0.3; }

/* --- Hero --- */
.hero { display: flex; padding: 80px 0; align-items: center; min-height: 80vh; }
.hero-left { flex: 1.2; }
.hero-right { flex: 0.8; display: flex; justify-content: center; }
.category-tag { font-size: 12px; color: var(--accent); margin-bottom: 25px; letter-spacing: 3px; font-weight: 600; }
.main-title { font-size: clamp(40px, 6vw, 90px); line-height: 0.95; margin-bottom: 40px; }
.main-title .highlight { -webkit-text-stroke: 1px var(--primary); color: transparent; }
.hero-desc { font-size: 18px; color: var(--text-dim); max-width: 550px; line-height: 1.6; margin-bottom: 60px; }
.main-cta { background: var(--primary); color: var(--bg-dark); border: none; padding: 24px 50px; font-weight: 700; cursor: pointer; transition: 0.4s; }
.main-cta:hover { transform: translateY(-5px); box-shadow: 0 20px 40px rgba(0,0,0,0.4); }

/* --- 数字核心 --- */
.digital-core { position: relative; width: 400px; height: 400px; display: flex; align-items: center; justify-content: center; }
.core-inner { width: 60px; height: 60px; border: 1px solid var(--accent); transform: rotate(45deg); animation: pulse 2s infinite; }
.ring { position: absolute; border-radius: 50%; border: 1px dashed rgba(255,255,255,0.1); }
.ring-1 { width: 140px; height: 140px; border-style: solid; border-color: rgba(255,255,255,0.05); }
.ring-2 { width: 240px; height: 240px; border-top-color: var(--accent); animation: rotate 12s linear infinite; }
.ring-3 { width: 340px; height: 340px; border-dasharray: 4 12; animation: rotate 24s linear infinite reverse; }
.scan-line { position: absolute; width: 100%; height: 1px; background: linear-gradient(90deg, transparent, var(--accent), transparent); animation: scan 4s infinite linear; }
.coordinates { position: absolute; bottom: -20px; width: 100%; display: flex; justify-content: space-between; font-family: monospace; font-size: 10px; color: var(--text-dim); }

/* --- 技术流水条 & 看板 --- */
.tech-bar { width: 100%; overflow: hidden; padding: 25px 0; border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); background: rgba(255,255,255,0.01); margin: 40px 0; }
.tech-track { display: flex; white-space: nowrap; gap: 50px; animation: scrollTech 30s linear infinite; font-family: monospace; font-size: 11px; color: var(--text-dim); letter-spacing: 2px; }
.tech-track .sep { color: var(--accent); }
.stats-grid { display: grid; grid-template-columns: repeat(3, 1fr); padding: 60px 0; gap: 1px; background: var(--border); margin-bottom: 80px; }
.stat-card { background: var(--bg-dark); padding: 40px; }
.stat-value { font-size: 56px; font-weight: 700; margin-bottom: 10px; }
.stat-value::after { content: '+'; color: var(--accent); font-size: 24px; margin-left: 5px; }
.stat-label { font-size: 10px; color: var(--text-dim); letter-spacing: 1px; text-transform: uppercase; }

/* --- 服务项目 --- */
.services-list { border-top: 1px solid var(--border); }
.service-item { display: flex; align-items: center; padding: 50px 0; border-bottom: 1px solid var(--border); cursor: pointer; transition: 0.4s; }
.service-item:hover { background: rgba(255,255,255,0.03); padding-left: 30px; }
.s-num { font-family: monospace; color: var(--accent); width: 100px; font-size: 16px; }
.s-main h3 { font-size: 32px; margin-bottom: 10px; }
.s-main p { color: var(--text-dim); font-size: 15px; }
.s-arrow { margin-left: auto; font-size: 24px; color: var(--text-dim); transition: 0.3s; }

/* --- 工作流 --- */
.workflow { display: flex; align-items: center; justify-content: space-between; padding: 100px 0; border-top: 1px solid var(--border); }
.flow-step { text-align: center; }
.step-num { display: block; font-family: monospace; color: var(--text-dim); margin-bottom: 15px; font-size: 12px; }
.flow-step h4 { font-size: 13px; letter-spacing: 2px; font-weight: 500; }
.flow-line { flex: 1; height: 1px; background: var(--border); margin: 0 40px; }

/* --- 登录框定制 --- */
.login-box { width: 100%; max-width: 450px; margin: 0 auto; }
.input-group { margin-top: 40px; display: flex; flex-direction: column; gap: 25px; }
.field label { display: block; font-size: 10px; color: var(--text-dim); margin-bottom: 10px; letter-spacing: 1px; }
.field input { width: 100%; background: rgba(255,255,255,0.03); border: 1px solid var(--border); padding: 15px; color: #fff; font-family: monospace; outline: none; transition: 0.3s; }
.field input:focus { border-color: var(--accent); background: rgba(255,255,255,0.08); }
.login-submit { background: var(--accent); color: #fff; border: none; padding: 18px; font-weight: 700; font-size: 12px; cursor: pointer; margin-top: 10px; transition: 0.3s; }

/* --- 客户控制台 Dashboard --- */
.client-dashboard { padding: 80px 0; border-top: 2px solid var(--accent); margin-top: 100px; background: linear-gradient(180deg, rgba(255,60,0,0.03) 0%, transparent 100%); animation: revealUp 1s ease; }
.dash-header { display: flex; justify-content: space-between; align-items: flex-end; margin-bottom: 40px; }
.logout-btn { font-size: 10px; color: var(--text-dim); cursor: pointer; border: 1px solid #333; padding: 5px 10px; border-radius: 20px; transition: 0.3s; }
.logout-btn:hover { color: var(--accent); border-color: var(--accent); }
.dash-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.dash-card.wide { grid-column: span 2; }
.dash-card { background: rgba(255,255,255,0.02); border: 1px solid var(--border); padding: 30px; }
.c-label { font-size: 10px; color: var(--text-dim); margin-bottom: 20px; letter-spacing: 2px; }

/* 进度条容器优化 */
.progress-container { width: 100%; }
.progress-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 15px; }
.p-steps { display: flex; justify-content: space-between; flex: 1; }
.step { font-size: 11px; color: var(--text-dim); padding: 6px 12px; border-radius: 4px; transition: all 0.3s ease; position: relative; }
.step::after { content: ''; position: absolute; bottom: -8px; left: 50%; transform: translateX(-50%); width: 0; height: 2px; background: var(--accent); transition: width 0.3s ease; }
.step.active { color: var(--accent); font-weight: 700; background: rgba(255,60,0,0.1); }
.step.active::after { width: 100%; }
.step.completed { color: #fff; background: rgba(255,255,255,0.1); }
.step.completed::after { width: 100%; background: #fff; }
.step.pending { color: var(--text-dim); opacity: 0.5; }
.progress-percentage { font-size: 24px; font-weight: 700; color: var(--accent); min-width: 80px; text-align: right; }
.progress-percentage span { font-size: 32px; }

.p-bar-outer { width: 100%; height: 6px; background: #111; position: relative; border-radius: 3px; overflow: hidden; }
.p-bar-inner { height: 100%; background: linear-gradient(90deg, var(--accent), #ff6b35); box-shadow: 0 0 20px rgba(255,60,0,0.5); transition: width 0.1s linear; border-radius: 3px; position: relative; }
.p-bar-inner::after { content: ''; position: absolute; top: 0; left: 0; right: 0; bottom: 0; background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent); animation: shimmer 2s infinite; }

@keyframes shimmer { 0% { transform: translateX(-100%); } 100% { transform: translateX(100%); } }

.console-log { font-family: monospace; font-size: 12px; height: 100px; overflow-y: auto; color: var(--text-dim); padding: 10px; background: #000; border: 1px solid #111; }
.log-line { margin-bottom: 8px; }
.log-line.active { color: #fff; border-left: 2px solid var(--accent); padding-left: 10px; }
.download-list .dl-item { display: flex; justify-content: space-between; padding: 12px 0; border-bottom: 1px solid var(--border); font-size: 13px; }
.download-list .dl-item span { color: var(--accent); cursor: pointer; font-size: 11px; font-family: monospace; }

/* --- 弹窗基础 --- */
.modal-overlay { position: fixed; inset: 0; background: rgba(8,8,10,0.99); display: none; z-index: 2000; backdrop-filter: blur(15px); }
.modal-overlay.active { display: flex; align-items: center; justify-content: center; }
.modal-content { width: 90%; max-width: 1100px; padding: 60px; position: relative; }
.modal-close-btn { position: absolute; top: 40px; right: 60px; cursor: pointer; font-size: 12px; letter-spacing: 2px; color: var(--text-dim); }
.modal-layout { display: grid; grid-template-columns: 1fr 1fr; gap: 100px; align-items: center; }
.m-tag { color: var(--accent); font-size: 11px; letter-spacing: 3px; margin-bottom: 20px; font-weight: 600; }
.m-title { font-size: 60px; line-height: 1; margin-bottom: 60px; }
.m-title .muted { color: #111; -webkit-text-stroke: 1px #333; }
.wechat-row { display: flex; align-items: center; gap: 20px; }
#wechat-id { font-size: 40px; font-weight: 700; border-bottom: 2px solid var(--accent); }
#copy-btn { background: transparent; border: 1px solid #444; color: #fff; padding: 10px 20px; cursor: pointer; transition: 0.3s; font-size: 12px; }

/* 移动端弹窗滚动优化 */
@media (max-width: 768px) {
    .modal-content {
        -webkit-overflow-scrolling: touch;
        overscroll-behavior: contain;
    }
    
    /* 移动端触摸优化 */
    .modal-close-btn {
        min-width: 80px;
        min-height: 36px;
        display: flex;
        align-items: center;
        justify-content: center;
    }
    
    #copy-btn {
        min-height: 44px;
        display: flex;
        align-items: center;
        justify-content: center;
    }
    
    .login-submit {
        min-height: 48px;
        display: flex;
        align-items: center;
        justify-content: center;
    }
    
    /* 优化移动端输入框 */
    .field input {
        min-height: 48px;
        border-radius: 4px;
    }
    
    /* 优化移动端按钮触摸区域 */
    .logout-btn {
        min-height: 32px;
        display: flex;
        align-items: center;
        justify-content: center;
    }
    
    /* 优化移动端下载项触摸区域 */
    .download-list .dl-item {
        min-height: 48px;
        display: flex;
        align-items: center;
    }
    
    .download-list .dl-item span {
        min-height: 32px;
        display: flex;
        align-items: center;
        padding: 0 12px;
    }
}

/* 二维码适配 (1108:1512) */
.qr-box { position: relative; width: 260px; aspect-ratio: 1108 / 1512; padding: 12px; background: #fff; border: 1px solid var(--border); margin: 0 auto; }
#qr-img { width: 100%; height: 100%; display: block; object-fit: cover; filter: brightness(0.95) contrast(1.1); }
.qr-deco-corner { position: absolute; top: -4px; right: -4px; width: 40px; height: 40px; border-top: 2px solid var(--accent); border-right: 2px solid var(--accent); }
.qr-hint { margin-top: 20px; text-align: center; color: var(--text-dim); font-size: 11px; letter-spacing: 4px; }

/* 关键帧 */
@keyframes rotate { from { transform: rotate(0deg); } to { transform: rotate(360deg); } }
@keyframes scan { 0% { top: 0%; opacity: 0; } 50% { opacity: 1; } 100% { top: 100%; opacity: 0; } }
@keyframes scrollTech { 0% { transform: translateX(0); } 100% { transform: translateX(-50%); } }
@keyframes pulse { 0%, 100% { transform: rotate(45deg) scale(0.9); opacity: 0.5; } 50% { transform: rotate(45deg) scale(1.1); opacity: 1; } }
@keyframes blink { 0%, 100% { opacity: 1; } 50% { opacity: 0.3; } }

/* 响应式 */
@media (max-width: 1024px) {
    .wrapper { padding: 0 40px; }
    .header { height: 80px; }
    .hero { flex-direction: column; text-align: center; padding: 40px 0; }
    .hero-right { margin-top: 60px; }
    .digital-core { transform: scale(0.7); }
    .stats-grid { grid-template-columns: 1fr; }
    .modal-layout { grid-template-columns: 1fr; gap: 50px; }
    .m-title { font-size: 40px; text-align: center; }
    #wechat-id { font-size: 28px; }
    .workflow { flex-direction: column; gap: 40px; }
    .flow-line { display: none; }
    .dash-grid { grid-template-columns: 1fr; }
    .dash-card.wide { grid-column: span 1; }
}

/* 手机端适配 (768px以下) */
@media (max-width: 768px) {
    .wrapper { padding: 0 20px; }
    
    /* 头部导航 */
    .header { height: 60px; }
    .logo-area { font-size: 14px; }
    .nav-info { font-size: 10px; }
    .separator { margin: 0 8px; }
    
    /* 主内容区 */
    .hero { padding: 30px 0; min-height: auto; }
    .category-tag { font-size: 10px; margin-bottom: 15px; letter-spacing: 2px; }
    .main-title { font-size: clamp(28px, 8vw, 40px); margin-bottom: 20px; }
    .hero-desc { font-size: 14px; max-width: 100%; line-height: 1.5; margin-bottom: 30px; }
    .main-cta { padding: 18px 30px; font-size: 14px; width: 100%; max-width: 300px; }
    .scroll-hint { font-size: 10px; margin-bottom: 15px; }
    
    /* 数字核心动画 */
    .hero-right { margin-top: 40px; }
    .digital-core { width: 280px; height: 280px; }
    .digital-core { transform: scale(0.5); }
    .coordinates { bottom: -15px; font-size: 8px; }
    
    /* 技术栈流水灯 */
    .tech-bar { padding: 15px 0; margin: 20px 0; }
    .tech-track { font-size: 9px; gap: 30px; }
    
    /* 数据看板 */
    .stats-grid { padding: 30px 0; margin-bottom: 40px; }
    .stat-card { padding: 20px; }
    .stat-value { font-size: 32px; }
    .stat-label { font-size: 9px; }
    
    /* 服务列表 */
    .service-item { padding: 30px 0; flex-direction: column; align-items: flex-start; }
    .service-item:hover { padding-left: 15px; }
    .s-num { width: auto; margin-bottom: 10px; }
    .s-main h3 { font-size: 20px; margin-bottom: 8px; }
    .s-main p { font-size: 13px; }
    .s-arrow { margin-left: 0; margin-top: 10px; }
    
    /* 工作流程 */
    .workflow { padding: 50px 0; gap: 30px; }
    .flow-step { text-align: left; }
    .step-num { font-size: 10px; }
    .flow-step h4 { font-size: 11px; }
    
    /* 弹窗 - 优化移动端显示 */
    .modal-overlay { padding: 10px; }
    .modal-content { width: 100%; max-width: 100%; padding: 25px 20px; max-height: 90vh; overflow-y: auto; }
    .modal-close-btn { top: 15px; right: 15px; font-size: 10px; padding: 8px 12px; }
    .modal-layout { grid-template-columns: 1fr; gap: 30px; }
    .m-tag { font-size: 10px; letter-spacing: 2px; margin-bottom: 15px; }
    .m-title { font-size: 28px; margin-bottom: 25px; text-align: center; line-height: 1.2; }
    .m-title .muted { display: block; font-size: 18px; margin-top: 5px; }
    .m-left { text-align: center; }
    .wechat-card { margin-top: 20px; }
    .wechat-card label { font-size: 9px; display: block; margin-bottom: 10px; }
    .wechat-row { flex-direction: column; gap: 12px; align-items: center; }
    #wechat-id { font-size: 24px; text-align: center; padding: 10px 0; }
    #copy-btn { width: 100%; max-width: 180px; padding: 12px 20px; font-size: 11px; }
    .m-right { margin-top: 30px; text-align: center; }
    .qr-box { width: 200px; margin: 0 auto; }
    .qr-hint { font-size: 10px; letter-spacing: 2px; margin-top: 15px; }
    
    /* 登录框 - 优化移动端显示 */
    .login-box { max-width: 100%; }
    .input-group { margin-top: 25px; gap: 18px; }
    .field label { font-size: 9px; }
    .field input { padding: 14px; font-size: 14px; }
    .login-submit { padding: 16px; font-size: 11px; }
    
    /* 客户控制台 - 优化移动端显示 */
    .client-dashboard { padding: 30px 0; margin-top: 40px; }
    .dash-header { flex-direction: column; align-items: flex-start; gap: 12px; }
    .m-tag { font-size: 9px; letter-spacing: 1px; }
    .logout-btn { font-size: 9px; padding: 6px 12px; }
    .dash-grid { grid-template-columns: 1fr; gap: 15px; }
    .dash-card.wide { grid-column: span 1; }
    .dash-card { padding: 18px; }
    .c-label { font-size: 9px; margin-bottom: 15px; }
    
    /* 移动端进度条优化 */
    .progress-header { flex-direction: column; gap: 15px; }
    .p-steps { flex-wrap: wrap; gap: 8px; justify-content: flex-start; }
    .step { font-size: 9px; padding: 4px 8px; }
    .step::after { display: none; }
    .progress-percentage { font-size: 18px; text-align: left; }
    .progress-percentage span { font-size: 24px; }
    .p-bar-outer { height: 4px; }
    
    .console-log { font-size: 10px; height: 100px; padding: 8px; line-height: 1.4; }
    .log-line { margin-bottom: 6px; word-break: break-all; }
    .log-line.active { padding-left: 8px; }
    .download-list .dl-item { font-size: 11px; padding: 10px 0; flex-direction: column; gap: 5px; }
    .download-list .dl-item span { font-size: 10px; align-self: flex-start; }
    
    /* 边角装饰 */
    .frame-deco { padding: 15px; font-size: 8px; }
}

/* 小屏手机适配 (480px以下) */
@media (max-width: 480px) {
    .wrapper { padding: 0 15px; }
    
    .header { height: 50px; }
    .logo-area { font-size: 12px; }
    .nav-info { font-size: 9px; }
    
    .main-title { font-size: clamp(24px, 10vw, 32px); }
    .hero-desc { font-size: 13px; }
    .main-cta { padding: 15px 25px; font-size: 13px; }
    
    .digital-core { width: 240px; height: 240px; transform: scale(0.4); }
    
    .tech-track { font-size: 8px; gap: 20px; }
    
    .stat-value { font-size: 28px; }
    .stat-label { font-size: 8px; }
    
    .service-item { padding: 20px 0; }
    .s-main h3 { font-size: 18px; }
    
    /* 弹窗 - 小屏手机优化 */
    .modal-overlay { padding: 5px; }
    .modal-content { padding: 20px 15px; max-height: 95vh; }
    .modal-close-btn { top: 10px; right: 10px; font-size: 9px; padding: 6px 10px; }
    .modal-layout { gap: 25px; }
    .m-tag { font-size: 9px; letter-spacing: 1px; margin-bottom: 12px; }
    .m-title { font-size: 24px; margin-bottom: 20px; }
    .m-title .muted { font-size: 16px; }
    .m-left { text-align: center; }
    .wechat-card { margin-top: 15px; }
    .wechat-card label { font-size: 8px; }
    .wechat-row { gap: 10px; }
    #wechat-id { font-size: 20px; padding: 8px 0; }
    #copy-btn { max-width: 160px; padding: 10px 16px; font-size: 10px; }
    .m-right { margin-top: 25px; }
    .qr-box { width: 180px; }
    .qr-hint { font-size: 9px; letter-spacing: 1px; margin-top: 12px; }
    
    /* 登录框 - 小屏手机优化 */
    .input-group { margin-top: 20px; gap: 15px; }
    .field label { font-size: 8px; }
    .field input { padding: 12px; font-size: 13px; }
    .login-submit { padding: 14px; font-size: 10px; }
    
    /* 客户控制台 - 小屏手机优化 */
    .client-dashboard { padding: 20px 0; margin-top: 30px; }
    .dash-header { gap: 10px; }
    .m-tag { font-size: 8px; letter-spacing: 0.5px; }
    .logout-btn { font-size: 8px; padding: 5px 10px; }
    .dash-grid { gap: 12px; }
    .dash-card { padding: 15px; }
    .c-label { font-size: 8px; margin-bottom: 12px; }
    
    /* 小屏手机进度条优化 */
    .progress-header { flex-direction: column; gap: 12px; }
    .p-steps { gap: 6px; }
    .step { font-size: 8px; padding: 3px 6px; }
    .progress-percentage { font-size: 16px; text-align: left; }
    .progress-percentage span { font-size: 20px; }
    .p-bar-outer { height: 3px; }
    
    .console-log { font-size: 9px; height: 90px; padding: 6px; line-height: 1.3; }
    .log-line { margin-bottom: 5px; }
    .download-list .dl-item { font-size: 10px; padding: 8px 0; }
    .download-list .dl-item span { font-size: 9px; }
    
    .frame-deco { padding: 10px; font-size: 7px; }
}