/* Stellar 数字化工作室 · 站点样式 */
:root{
  --bg:#f6f7f9; --card:#ffffff; --text:#1f2329; --muted:#6b7280;
  --primary:#2563eb; --primary-deep:#1e40af; --primary-soft:#eff6ff;
  --border:#e5e7eb; --ok:#16a34a; --ok-soft:#f0fdf4; --warn:#d97706; --warn-soft:#fffbeb;
  --danger:#dc2626; --danger-soft:#fef2f2; --radius:14px;
}
*{box-sizing:border-box;margin:0;padding:0;}
html{scroll-behavior:smooth;}
body{font-family:"PingFang SC","Microsoft YaHei",-apple-system,sans-serif;background:var(--bg);color:var(--text);line-height:1.75;}
a{color:var(--primary);text-decoration:none;}
img{max-width:100%;}
.container{max-width:1080px;margin:0 auto;padding:0 20px;}

/* ===== 导航 ===== */
.nav{position:sticky;top:0;z-index:100;background:rgba(255,255,255,.92);backdrop-filter:blur(10px);border-bottom:1px solid var(--border);}
.nav-inner{max-width:1080px;margin:0 auto;padding:0 20px;height:60px;display:flex;align-items:center;justify-content:space-between;}
.brand{font-weight:700;font-size:17px;color:var(--text);display:flex;align-items:center;gap:8px;}
.brand-dot{width:10px;height:10px;border-radius:50%;background:var(--primary);display:inline-block;}
.nav-links{display:flex;gap:26px;font-size:14px;}
.nav-links a{color:var(--muted);}
.nav-links a:hover,.nav-links a.active{color:var(--primary);font-weight:600;}

/* ===== Hero ===== */
.hero{background:linear-gradient(135deg,#1e3a8a 0%,#2563eb 60%,#3b82f6 100%);color:#fff;padding:88px 0 72px;}
.hero .kicker{font-size:13px;letter-spacing:3px;opacity:.85;text-transform:uppercase;margin-bottom:14px;}
.hero h1{font-size:40px;line-height:1.3;margin-bottom:16px;}
.hero h1 .accent{color:#93c5fd;}
.hero p.sub{font-size:16.5px;opacity:.92;max-width:640px;margin-bottom:28px;}
.hero .chips{display:flex;flex-wrap:wrap;gap:10px;}
.chip{background:rgba(255,255,255,.14);border:1px solid rgba(255,255,255,.28);border-radius:999px;padding:5px 16px;font-size:13px;}

/* ===== 通用区块 ===== */
.section{padding:64px 0;}
.section.alt{background:var(--card);border-top:1px solid var(--border);border-bottom:1px solid var(--border);}
.sec-head{margin-bottom:34px;}
.sec-head .tag-line{font-size:13px;color:var(--primary);font-weight:600;letter-spacing:2px;margin-bottom:6px;}
.sec-head h2{font-size:26px;}
.sec-head p{color:var(--muted);font-size:14.5px;margin-top:6px;}

.grid{display:grid;gap:18px;}
.g2{grid-template-columns:repeat(2,1fr);}
.g3{grid-template-columns:repeat(3,1fr);}
@media(max-width:820px){.g2,.g3{grid-template-columns:1fr;}}

.card{background:var(--card);border:1px solid var(--border);border-radius:var(--radius);padding:24px 26px;transition:box-shadow .2s,transform .2s;}
.card:hover{box-shadow:0 8px 28px rgba(30,64,175,.10);transform:translateY(-2px);}
.card h3{font-size:16px;margin-bottom:8px;}
.card p{font-size:13.5px;color:var(--muted);}
.badge{display:inline-flex;align-items:center;justify-content:center;width:42px;height:42px;border-radius:11px;font-weight:700;font-size:15px;color:#fff;margin-bottom:14px;}

/* 指标 */
.metric{background:var(--card);border:1px solid var(--border);border-radius:var(--radius);padding:22px;text-align:center;}
.metric .num{font-size:30px;font-weight:800;color:var(--primary-deep);}
.metric .num small{font-size:14px;font-weight:600;}
.metric .lab{font-size:13px;color:var(--muted);margin-top:4px;}

/* 专题卡片 */
.topic-card{display:block;background:var(--card);border:1px solid var(--border);border-radius:var(--radius);padding:24px 26px;transition:box-shadow .2s,transform .2s;}
.topic-card:hover{box-shadow:0 8px 28px rgba(30,64,175,.12);transform:translateY(-3px);}
.topic-card .tc-head{display:flex;align-items:center;gap:12px;margin-bottom:10px;}
.topic-card .tc-abbr{width:46px;height:46px;border-radius:12px;color:#fff;display:flex;align-items:center;justify-content:center;font-weight:800;font-size:15px;flex-shrink:0;}
.topic-card h3{font-size:16.5px;}
.topic-card .tc-en{font-size:12px;color:var(--muted);}
.topic-card p{font-size:13.5px;color:var(--muted);margin-bottom:12px;}
.topic-card .tc-more{font-size:13px;color:var(--primary);font-weight:600;}

/* 专题详情页 */
.topic-hero{background:linear-gradient(135deg,var(--primary-deep),var(--primary));color:#fff;padding:70px 0 56px;}
.topic-hero h1{font-size:34px;margin-bottom:12px;}
.topic-hero .en{opacity:.85;font-size:14px;letter-spacing:1px;margin-bottom:18px;}
.topic-hero p{max-width:680px;opacity:.95;font-size:15.5px;}
.tier{background:var(--card);border:1px solid var(--border);border-radius:12px;padding:14px 20px;display:flex;align-items:center;gap:14px;margin-bottom:10px;}
.tier .t-name{font-weight:700;font-size:14px;min-width:150px;}
.tier .t-desc{font-size:13px;color:var(--muted);}
.feat-list li{list-style:none;padding:8px 0 8px 26px;position:relative;font-size:14px;border-bottom:1px dashed var(--border);}
.feat-list li:last-child{border-bottom:none;}
.feat-list li::before{content:"";position:absolute;left:4px;top:16px;width:7px;height:7px;border-radius:50%;background:var(--primary);}

/* 演示区 */
.demo-wrap{display:flex;gap:44px;align-items:flex-start;flex-wrap:wrap;}
.demo-side{flex:1;min-width:260px;}
.demo-side h3{font-size:17px;margin-bottom:10px;}
.demo-side p{font-size:13.5px;color:var(--muted);margin-bottom:12px;}
.demo-hint{background:var(--primary-soft);border:1px solid #bfdbfe;border-radius:10px;padding:10px 14px;font-size:12.5px;color:var(--primary-deep);}

/* ===== 手机演示壳 ===== */
.phone{width:300px;margin:0 auto;background:#111827;border-radius:38px;padding:12px;box-shadow:0 24px 60px rgba(17,24,39,.35);flex-shrink:0;}
.phone-screen{background:#f4f6f9;border-radius:28px;overflow:hidden;height:560px;display:flex;flex-direction:column;position:relative;}
.ps-status{background:#fff;height:34px;display:flex;align-items:center;justify-content:space-between;padding:0 18px;font-size:11px;color:#374151;font-weight:600;}
.ps-status .notch{width:70px;height:16px;background:#111827;border-radius:0 0 10px 10px;margin:0 auto;position:absolute;left:50%;transform:translateX(-50%);top:0;}
.ps-body{flex:1;overflow-y:auto;padding:14px;scrollbar-width:none;}
.ps-body::-webkit-scrollbar{display:none;}
.ps-tabs{background:#fff;border-top:1px solid var(--border);display:flex;}
.ps-tab{flex:1;text-align:center;padding:9px 0 11px;font-size:10.5px;color:#9ca3af;cursor:pointer;user-select:none;transition:color .15s;}
.ps-tab.on{color:var(--demo-theme,#2563eb);font-weight:700;}
.ps-tab .ico{display:block;font-size:16px;line-height:1.2;margin-bottom:2px;}
.ps-title{font-size:16px;font-weight:700;margin-bottom:12px;color:#111827;}

/* 演示屏内部组件 */
.d-kpis{display:grid;grid-template-columns:1fr 1fr;gap:9px;margin-bottom:12px;}
.d-kpi{background:#fff;border-radius:12px;padding:11px 12px;border:1px solid #eef0f4;}
.d-kpi .k-lab{font-size:10.5px;color:#6b7280;}
.d-kpi .k-val{font-size:19px;font-weight:800;color:#111827;}
.d-kpi .k-val small{font-size:10px;font-weight:600;color:#6b7280;}
.d-kpi .k-trend{font-size:10px;font-weight:700;}
.k-up{color:#dc2626;} .k-down{color:#16a34a;}
.d-panel{background:#fff;border-radius:12px;border:1px solid #eef0f4;padding:12px;margin-bottom:11px;}
.d-panel .p-title{font-size:12px;font-weight:700;color:#374151;margin-bottom:10px;}
.d-bar-row{display:flex;align-items:center;gap:8px;margin-bottom:8px;}
.d-bar-row .b-lab{font-size:10.5px;color:#6b7280;width:52px;flex-shrink:0;}
.d-bar-row .b-track{flex:1;height:9px;background:#eef0f4;border-radius:99px;overflow:hidden;}
.d-bar-row .b-fill{height:100%;border-radius:99px;background:var(--demo-theme,#2563eb);}
.d-bar-row .b-val{font-size:10px;font-weight:700;color:#374151;width:34px;text-align:right;}
.d-item{background:#fff;border-radius:12px;border:1px solid #eef0f4;padding:11px 13px;margin-bottom:9px;display:flex;justify-content:space-between;align-items:center;gap:8px;}
.d-item .i-title{font-size:12.5px;font-weight:600;color:#111827;}
.d-item .i-sub{font-size:10.5px;color:#6b7280;margin-top:2px;}
.d-pill{font-size:10px;font-weight:700;padding:3px 9px;border-radius:99px;white-space:nowrap;}
.pill-run{background:var(--primary-soft);color:var(--primary);}
.pill-wait{background:var(--warn-soft);color:var(--warn);}
.pill-ok{background:var(--ok-soft);color:var(--ok);}
.pill-bad{background:var(--danger-soft);color:var(--danger);}
.d-field{display:flex;justify-content:space-between;padding:9px 2px;border-bottom:1px dashed #eef0f4;font-size:12px;}
.d-field:last-of-type{border-bottom:none;}
.d-field .f-k{color:#6b7280;}
.d-field .f-v{font-weight:600;color:#111827;text-align:right;}
.d-btns{display:flex;gap:9px;margin-top:14px;}
.d-btn{flex:1;text-align:center;padding:9px 0;border-radius:10px;font-size:12.5px;font-weight:700;cursor:default;}
.d-btn.main{background:var(--demo-theme,#2563eb);color:#fff;}
.d-btn.ghost{background:#fff;color:#6b7280;border:1px solid var(--border);}
.d-scan{background:#fff;border-radius:12px;border:1px solid #eef0f4;padding:14px;text-align:center;margin-bottom:11px;}
.d-scan .scan-box{height:110px;border-radius:12px;background:linear-gradient(135deg,#e5eefc,#dbe7fb);display:flex;align-items:center;justify-content:center;margin-bottom:10px;position:relative;overflow:hidden;}
.d-scan .scan-line{position:absolute;left:12%;right:12%;height:2px;background:var(--demo-theme,#2563eb);opacity:.8;animation:scan 2.2s ease-in-out infinite;}
@keyframes scan{0%,100%{top:18%;}50%{top:78%;}}
.d-scan .s-result{font-size:14px;font-weight:800;}
.d-defect{display:flex;justify-content:space-between;font-size:11.5px;padding:7px 2px;border-bottom:1px dashed #eef0f4;}
.d-defect:last-child{border-bottom:none;}
.d-form-item{margin-bottom:11px;}
.d-form-item .fm-lab{font-size:11px;color:#6b7280;margin-bottom:4px;}
.d-form-item .fm-input{background:#fff;border:1px solid #e5e7eb;border-radius:9px;padding:9px 11px;font-size:12px;color:#111827;}
.d-form-item .fm-input .ph{color:#c0c6d0;}
.d-note{font-size:10px;color:#9ca3af;text-align:center;margin-top:10px;}

/* ===== 关于/联系 ===== */
.contact-box{background:var(--card);border:1px solid var(--border);border-radius:var(--radius);padding:26px 28px;}
.contact-row{display:flex;gap:12px;align-items:center;padding:10px 0;border-bottom:1px dashed var(--border);font-size:14px;}
.contact-row:last-child{border-bottom:none;}
.contact-row .c-k{color:var(--muted);min-width:90px;}

/* ===== 页脚 ===== */
.footer{background:#111827;color:#9ca3af;padding:34px 0;font-size:12.5px;}
.footer .container{display:flex;justify-content:space-between;align-items:center;flex-wrap:wrap;gap:10px;}
.footer a{color:#d1d5db;}
