:root{
  --primary:#2563eb; --primary-dark:#1d4ed8; --ink:#0f172a; --muted:#64748b;
  --bg:#f8fafc; --card:#ffffff; --border:#e2e8f0; --ok:#16a34a; --danger:#dc2626;
}
*{box-sizing:border-box;margin:0;padding:0}
body{font-family:-apple-system,BlinkMacSystemFont,"Segoe UI","PingFang SC","Microsoft YaHei",sans-serif;color:var(--ink);background:var(--card);line-height:1.6}
a{text-decoration:none;color:inherit}

/* nav */
.nav{position:sticky;top:0;z-index:50;background:rgba(255,255,255,.9);backdrop-filter:blur(10px);border-bottom:1px solid var(--border)}
.nav-inner{max-width:1180px;margin:0 auto;display:flex;align-items:center;justify-content:space-between;padding:14px 24px}
.brand{font-weight:700;font-size:18px}
.brand-mark{background:var(--primary);color:#fff;padding:3px 9px;border-radius:8px;font-size:15px;margin-right:6px}
.nav-links{display:flex;align-items:center;gap:22px;font-size:15px}
.nav-links a{color:var(--muted)}
.nav-links a:hover{color:var(--ink)}
.btn-nav{padding:8px 16px;border-radius:8px;border:1px solid var(--border);color:var(--ink)!important}
.btn-nav-primary{background:var(--primary);color:#fff!important;border-color:var(--primary)}

/* hero */
.hero{background:linear-gradient(180deg,#eef4ff 0%,#f8fafc 100%);padding:80px 24px}
.hero-inner{max-width:1180px;margin:0 auto;display:grid;grid-template-columns:1.15fr .85fr;gap:48px;align-items:center}
.hero-text{min-width:0}
.hero h1{font-size:46px;line-height:1.2;letter-spacing:-1px}
.hero-sub{color:var(--muted);font-size:17px;margin:22px 0 30px;max-width:560px}
.hero-actions{display:flex;gap:14px}
.btn-hero-primary{background:var(--primary);color:#fff;padding:14px 30px;border-radius:12px;font-weight:600;display:inline-block;transition:.2s}
.btn-hero-primary:hover{background:var(--primary-dark);transform:translateY(-1px)}
.btn-hero-ghost{border:1px solid var(--border);padding:14px 30px;border-radius:12px;font-weight:600;background:#fff}
.hero-stats{display:flex;gap:36px;margin-top:44px}
.hero-stats b{display:block;font-size:20px}
.hero-stats span{color:var(--muted);font-size:13px}
.hero-visual{display:flex;justify-content:center}
.mock-card{background:#fff;border:1px solid var(--border);border-radius:18px;padding:22px;width:100%;max-width:380px;box-shadow:0 24px 60px rgba(37,99,235,.12)}
.mock-head{font-weight:600;margin-bottom:16px;color:var(--muted);font-size:13px;text-transform:uppercase;letter-spacing:1px}
.mock-row{display:flex;align-items:center;gap:10px;padding:11px 0;border-bottom:1px dashed var(--border);font-size:14px}
.mock-row em{margin-left:auto;color:var(--ok);font-style:normal;font-size:12px}
.mock-url{margin-top:16px;background:#eff6ff;color:var(--primary);padding:12px;border-radius:10px;font-size:13px;font-weight:600;text-align:center}
.dot{width:8px;height:8px;border-radius:50%;display:inline-block}
.dot-on{background:var(--ok);box-shadow:0 0 0 3px rgba(22,163,74,.15)}
.dot-off{background:#cbd5e1}

/* sections */
/* ---- 功能区 ---- */
.features{padding:80px 24px 24px;max-width:1140px;margin:0 auto;text-align:center}
.features h2{font-size:32px;margin-bottom:12px;letter-spacing:-.5px}
.features .sec-sub{display:block;color:#64748b;font-size:15px;margin-bottom:44px}
.feature-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:18px;text-align:left}
.feature{background:#fff;border:1px solid var(--border);border-radius:16px;padding:26px 24px;transition:.22s;position:relative}
.feature:hover{border-color:#bfdbfe;box-shadow:0 14px 36px rgba(37,99,235,.09);transform:translateY(-2px)}
.feature .fi{width:46px;height:46px;border-radius:12px;display:flex;align-items:center;justify-content:center;
  font-size:22px;background:linear-gradient(135deg,#eff6ff,#eef2ff);margin-bottom:16px}
.feature h3{font-size:16.5px;margin:0 0 7px;font-weight:600;letter-spacing:-.2px}
.feature p{color:var(--muted);font-size:13.5px;line-height:1.7;margin:0}

/* ---- 适用场景（深色高级带） ---- */
.usecases{padding:76px 24px 84px;margin:0;text-align:center;
  background:linear-gradient(160deg,#0b1220 0%,#111c33 55%,#0b1220 100%);
  background:linear-gradient(160deg,#0b1220 0%,#111c33 55%,#0b1220 100%);
  color:#fff;position:relative;overflow:hidden}
.usecases::before{content:"";position:absolute;width:520px;height:520px;border-radius:50%;
  background:radial-gradient(circle,rgba(37,99,235,.28),transparent 68%);top:-220px;left:-120px}
.usecases::after{content:"";position:absolute;width:460px;height:460px;border-radius:50%;
  background:radial-gradient(circle,rgba(124,58,237,.22),transparent 68%);bottom:-200px;right:-100px}
.usecases > *{position:relative;z-index:1}
.usecases-inner{max-width:1140px;margin:0 auto}
.usecases h2{font-size:34px;margin-bottom:12px;letter-spacing:-.5px;color:#fff}
.usecases .sec-sub{display:block;color:#94a3b8;font-size:15px;margin-bottom:48px}
.uc-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:18px;text-align:left}
.uc{display:flex;gap:16px;align-items:flex-start;padding:26px 24px;border-radius:16px;
  background:rgba(255,255,255,.045);border:1px solid rgba(255,255,255,.09);
  backdrop-filter:blur(6px);transition:.25s}
.uc:hover{background:rgba(255,255,255,.09);border-color:rgba(96,165,250,.55);transform:translateY(-4px);
  box-shadow:0 18px 40px rgba(0,0,0,.35)}
.uc .uc-i{width:48px;height:48px;border-radius:14px;display:flex;align-items:center;justify-content:center;
  font-size:23px;flex:0 0 48px;
  background:linear-gradient(135deg,rgba(96,165,250,.28),rgba(167,139,250,.28));
  border:1px solid rgba(255,255,255,.12)}
.uc .uc-tx{min-width:0;flex:1}
.uc .uc-tx h3{display:block;font-size:16px;font-weight:600;margin:0 0 7px;color:#fff;line-height:1.35}
.uc .uc-tx p{display:block;font-size:13.5px;color:#a3b1c6;line-height:1.7;margin:0}

/* ---- 价格区 ---- */
.pricing{padding:64px 24px 88px;max-width:1140px;margin:0 auto;text-align:center}
.pricing h2{font-size:34px;margin-bottom:12px;letter-spacing:-.5px}
.pricing .sec-sub{display:block;color:#64748b;font-size:15px;margin-bottom:48px}
.sec-sub{display:block;color:#64748b;font-size:15px}
.price-desc{font-size:13.5px;color:#64748b;margin:6px 0 18px;min-height:42px;line-height:1.7}
.price-card .desc{font-size:13.5px;color:#64748b;margin:6px 0 18px;min-height:42px;line-height:1.7}
.pricing-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(240px,1fr));gap:22px;align-items:start}
.price-card{position:relative;background:#fff;border:1px solid var(--border);border-radius:20px;padding:40px 30px;display:flex;flex-direction:column;transition:.25s}
.price-card:hover{box-shadow:0 20px 50px rgba(15,23,42,.09);transform:translateY(-3px)}
.price-card .btn-price{margin-top:auto}
.price-hot{border-color:var(--primary);box-shadow:0 20px 50px rgba(37,99,235,.15);border-width:2px}
.hot-tag{position:absolute;top:-12px;left:50%;transform:translateX(-50%);background:var(--primary);color:#fff;font-size:12px;padding:4px 14px;border-radius:20px;white-space:nowrap;box-shadow:0 4px 12px rgba(37,99,235,.35)}
.price-card h3{font-size:18px;margin-bottom:10px}
.price{font-size:38px;font-weight:700;margin-bottom:20px}
.price span{font-size:15px;color:var(--muted);font-weight:400}
.price-card ul{list-style:none;text-align:left;margin-bottom:24px}
.price-card li{padding:9px 0;color:var(--muted);font-size:14px;border-bottom:1px dashed var(--border)}
.btn-price{display:block;background:var(--primary);color:#fff;padding:12px;border-radius:10px;font-weight:600}

.cta{background:linear-gradient(135deg,#1e3a8a,#2563eb);color:#fff;text-align:center;padding:80px 24px}
.cta h2{font-size:32px;margin-bottom:12px}
.cta p{opacity:.85;margin-bottom:28px}
.cta .btn-hero-primary{background:#fff;color:var(--primary)}

.footer{border-top:1px solid var(--border);padding:50px 24px 24px;background:var(--bg)}
.footer-inner{max-width:1180px;margin:0 auto;display:flex;justify-content:space-between;align-items:flex-start}
.footer p{color:var(--muted);font-size:14px;margin-top:8px}
.footer-links{display:flex;gap:20px 24px;flex-wrap:wrap;justify-content:flex-end;max-width:560px}
.footer-links a{color:var(--muted)}
.copyright{max-width:1180px;margin:34px auto 0;padding-top:20px;border-top:1px solid var(--border);color:var(--muted);font-size:13px;text-align:center}
/* Logo */
.brand{display:flex;align-items:center;gap:8px;font-weight:700;font-size:18px}
.brand-logo{display:block;height:34px;width:auto}
.nav-toggle{display:none;background:none;border:none;font-size:22px;cursor:pointer;color:var(--ink)}

/* 响应式 */
@media(max-width:900px){
  .hero-inner,.feature-grid,.pricing-grid,.device-grid,.footer-inner,.uc-grid{grid-template-columns:1fr}
  .hero h1{font-size:30px}
  .page-head h1{font-size:26px}
  .cta h2{font-size:24px}
  .nav-inner{position:relative}
  .nav-toggle{display:block}
  .nav-links{
    display:none;position:absolute;top:100%;left:0;right:0;
    flex-direction:column;gap:0;background:#fff;border:1px solid var(--border);
    border-radius:0 0 14px 14px;box-shadow:0 12px 32px rgba(15,23,42,.12);
    padding:8px 0;z-index:60;
  }
  .nav-links.open{display:flex}
  .nav-links a{padding:12px 22px;width:100%;border-bottom:1px solid var(--border)}
  .nav-links a:last-child{border-bottom:none}
  .btn-nav{margin:10px 22px;border-radius:10px;text-align:center}
  .footer-inner{flex-direction:column;gap:18px}
  .footer-links{flex-wrap:wrap;gap:14px}
  .doc-body,.page-head{padding-left:18px;padding-right:18px}
  .doc-body pre{font-size:12px;padding:14px}
  .container,.hero,.cta{padding-left:18px;padding-right:18px}
}
@media(max-width:480px){
  .hero h1{font-size:26px}
  .hero p{font-size:15px}
  .brand-logo{height:30px}
}

/* 公告横幅（单行轮播） */
.site-notice{background:#0f172a;color:#e2e8f0;position:relative;overflow:hidden}
.site-notice .notice-inner{max-width:1180px;margin:0 auto;padding:9px 44px;display:flex;align-items:center;gap:10px;
  min-height:38px;height:38px}
.site-notice .notice-icon{flex-shrink:0;font-size:14px}
.site-notice .notice-track{flex:1;position:relative;height:20px;overflow:hidden}
.site-notice .notice-item{position:absolute;left:0;top:0;right:0;font-size:13px;line-height:20px;
  white-space:nowrap;overflow:hidden;text-overflow:ellipsis;opacity:0;transition:opacity .5s;}
.site-notice .notice-item.active{opacity:1}
.site-notice .notice-item b{color:#fff;margin-right:8px;font-weight:600}
.site-notice .notice-item a{color:#93c5fd;text-decoration:none;margin-left:8px}
.site-notice .notice-item a:hover{text-decoration:underline}
.site-notice .notice-item.notice-info b{color:#93c5fd}
.site-notice .notice-item.notice-warning b{color:#fcd34d}
.site-notice .notice-item.notice-danger b{color:#fca5a5}
.site-notice .notice-item.notice-success b{color:#86efac}
.site-notice .notice-nav{position:absolute;right:16px;top:50%;transform:translateY(-50%);display:flex;gap:6px}
.site-notice .notice-nav button{background:rgba(255,255,255,.12);border:none;color:#cbd5e1;width:20px;height:20px;
  border-radius:50%;cursor:pointer;font-size:11px;line-height:1;display:flex;align-items:center;justify-content:center}
.site-notice .notice-nav button:hover{background:rgba(255,255,255,.25);color:#fff}
@media(max-width:900px){.site-notice .notice-inner{padding:8px 16px}}
