/* 关键样式 — 即使主样式未加载也能正常显示 */
*,*::before,*::after{box-sizing:border-box}
html{scroll-behavior:smooth;color-scheme:light dark}
body{margin:0;font-family:-apple-system,BlinkMacSystemFont,"Segoe UI","PingFang SC","Microsoft YaHei",sans-serif;color:#0f172a;background:#fff;line-height:1.6}
a{color:inherit;text-decoration:none}
img{display:block;max-width:100%;height:auto}
svg{display:block;flex-shrink:0}
.container{width:min(100% - 48px,1120px);margin:0 auto}
.top-access{background:linear-gradient(135deg,#0f172a,#1e293b);border-bottom:1px solid rgba(255,255,255,.08)}
.top-access-inner{display:flex;align-items:center;gap:16px;min-height:52px;padding:8px 0}
.top-access-label{font-size:.75rem;font-weight:700;color:rgba(255,255,255,.5);letter-spacing:.08em;text-transform:uppercase;flex-shrink:0}
.top-access-links{display:flex;flex:1;gap:10px;justify-content:flex-end;flex-wrap:wrap}
.access-btn{display:inline-flex;align-items:center;gap:8px;padding:8px 14px;border-radius:12px;font-size:.8125rem;font-weight:600;color:#fff;border:1px solid rgba(255,255,255,.12);background:rgba(255,255,255,.06)}
.access-btn svg{width:18px;height:18px;max-width:18px;max-height:18px}
.access-btn span{display:flex;flex-direction:column;line-height:1.2}
.access-btn small{font-size:.625rem;opacity:.65}
.access-btn strong{font-size:.8125rem}
.site-header{position:sticky;top:52px;z-index:200;background:rgba(255,255,255,.9);backdrop-filter:blur(16px);border-bottom:1px solid #e2e8f0}
.header-inner{display:flex;align-items:center;gap:20px;min-height:64px}
.brand{display:flex;align-items:center;gap:10px;font-weight:700;font-size:1.0625rem;flex-shrink:0}
.brand-mark{display:flex;width:36px;height:36px;min-width:36px;min-height:36px;border-radius:10px;overflow:hidden;flex-shrink:0}
.brand-mark img{width:100%;height:100%;object-fit:cover;min-width:0;max-width:none}
.nav-desktop{display:flex;gap:28px;margin-left:12px}
.nav-desktop a{font-size:.9375rem;color:#64748b;font-weight:500}
.nav-desktop a.active,.nav-desktop a:hover{color:#4f6ef7}
.header-actions{margin-left:auto;display:flex;gap:8px}
.btn{display:inline-flex;align-items:center;justify-content:center;padding:10px 20px;border-radius:12px;font-size:.9375rem;font-weight:600;border:1px solid transparent}
.btn-primary{background:#4f6ef7;color:#fff}
.btn-secondary{background:#fff;color:#0f172a;border-color:#e2e8f0}
.btn-ghost{color:#64748b;background:transparent}
.btn-sm{padding:8px 16px;font-size:.875rem}
.btn-lg{padding:14px 26px;font-size:1rem}
.hero{position:relative;padding:56px 0 72px;overflow:hidden}
.hero-layout{display:grid;grid-template-columns:1fr 1fr;gap:48px;align-items:center}
.hero h1{margin:0 0 16px;font-size:clamp(2rem,4vw,3rem);line-height:1.12;font-weight:800}
.hero-desc{margin:0 0 24px;color:#64748b;font-size:1.0625rem;max-width:460px}
.hero-cta{display:flex;flex-wrap:wrap;gap:12px}
.hero-visual{display:flex;justify-content:center}
.device-frame{width:min(260px,85vw);max-width:260px;margin:0 auto;padding:10px;border-radius:32px;background:linear-gradient(145deg,#1e293b,#0f172a);box-shadow:0 20px 50px rgba(15,23,42,.15)}
.device-screen{border-radius:24px;background:#f1f5f9;overflow:hidden;min-height:320px;display:flex;flex-direction:column}
.section{padding:72px 0}
.section-head{text-align:center;max-width:520px;margin:0 auto 40px}
.section-head h2{margin:0 0 10px;font-size:1.75rem;font-weight:800}
.explore-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:20px}
.explore-card{padding:28px;border-radius:20px;border:1px solid #e2e8f0;background:#fff}
.site-footer{padding:48px 0 0;background:#0b1120;color:rgba(255,255,255,.65)}
.footer-top{display:grid;grid-template-columns:1.2fr 2fr;gap:40px;padding-bottom:32px;border-bottom:1px solid rgba(255,255,255,.08)}
.footer-cols{display:grid;grid-template-columns:repeat(3,1fr);gap:24px}
.footer-col a{display:block;margin-bottom:8px;font-size:.875rem;color:rgba(255,255,255,.5)}
.footer-bottom{padding:16px 0 24px;font-size:.8125rem;color:rgba(255,255,255,.35)}
.nav-toggle,.mobile-bar,.nav-overlay{display:none}
@media(max-width:768px){
  .top-access-label{display:none}
  .top-access-inner{min-height:56px;padding:10px 0}
  .top-access-links{width:100%;gap:8px}
  .access-btn{flex:1;flex-direction:column;justify-content:center;align-items:center;padding:10px 6px;gap:5px;min-height:52px;border-radius:10px}
  .access-btn small{display:none}
  .access-btn span{display:flex;align-items:center;justify-content:center;text-align:center}
  .access-btn strong{font-size:.8125rem;line-height:1.25;white-space:nowrap}
  .access-btn svg{width:20px;height:20px;max-width:20px;max-height:20px}
  .site-header{top:56px}
  .nav-desktop,.header-actions-desktop{display:none!important}
  .nav-toggle{display:flex;flex-direction:column;gap:5px;width:40px;height:40px;margin-left:auto;border:none;background:transparent;cursor:pointer}
  .nav-toggle span{display:block;width:20px;height:2px;margin:0 auto;background:#0f172a}
  .hero-layout{grid-template-columns:1fr;gap:32px}
  .hero-visual{order:-1}
  .device-frame{width:min(220px,70vw)}
  .device-screen{min-height:260px}
  .explore-grid{grid-template-columns:1fr}
  .footer-top,.footer-cols{grid-template-columns:1fr}
  .mobile-bar{display:flex;position:fixed;left:0;right:0;bottom:0;padding:10px 16px;background:#fff;border-top:1px solid #e2e8f0;gap:10px;z-index:150}
  .mobile-bar-btn{flex:1;display:flex;align-items:center;justify-content:center;min-height:48px;border-radius:14px;font-weight:700}
  .mobile-bar-btn.primary{flex:1.4;background:#4f6ef7;color:#fff}
  .mobile-bar-btn.secondary{border:1px solid #e2e8f0}
  body.has-mobile-bar{padding-bottom:72px}
}
@media(prefers-color-scheme:dark){
  body{color:#e8eaef;background:#12141c}
  .site-header{background:rgba(18,20,28,.9);border-bottom-color:rgba(255,255,255,.08)}
  .nav-desktop a{color:#9ca3af}
  .btn-secondary{background:#1c1e26;color:#e8eaef;border-color:rgba(255,255,255,.08)}
  .btn-ghost{color:#9ca3af}
  .hero-desc{color:#9ca3af}
  .device-screen{background:#1a1f2e}
  .explore-card{background:rgba(28,30,38,.92);border-color:rgba(255,255,255,.08)}
  .site-footer{background:#0a0b10}
  .nav-toggle span{background:#e8eaef}
  .mobile-bar{background:rgba(18,20,28,.96);border-top-color:rgba(255,255,255,.08)}
  .mobile-bar-btn.secondary{border-color:rgba(255,255,255,.08);color:#e8eaef}
}
