:root{
    --primary:#58a6ff;
    --primary-deep:#2563eb;
    --primary-soft:#0d2847;
    --accent:#2563eb;
    --success:#3fb950;
    --bg:#0d1117;
    --surface:#161b22;
    --surface-2:#21262d;
    --text:#f0f6fc;
    --muted:#8b949e;
    --border:#30363d;
    --radius:16px;
    --shadow:0 1px 3px rgba(0,0,0,.3),0 8px 24px rgba(0,0,0,.35);
    --maxw:1120px;
  }
  *{margin:0;padding:0;box-sizing:border-box}
  html{scroll-behavior:smooth}
  body{
    font-family:'Inter','HarmonyOS Sans','PingFang SC','Microsoft YaHei',system-ui,-apple-system,sans-serif;
    background:var(--bg);
    color:var(--text);
    line-height:1.6;
    -webkit-font-smoothing:antialiased;
    overflow-x:hidden;
  }
  .container{max-width:var(--maxw);margin:0 auto;padding:0 24px}
  a{color:var(--primary);text-decoration:none}

  /* Navigation */
  .nav{
    position:sticky;top:0;z-index:50;
    background:rgba(13,17,23,.85);
    backdrop-filter:saturate(180%) blur(20px);
    border-bottom:1px solid var(--border);
  }
  .nav-inner{display:flex;align-items:center;justify-content:space-between;height:64px}
  .logo{display:flex;align-items:center;gap:10px;font-weight:800;font-size:20px;letter-spacing:-.02em}
  .logo-mark{
    width:30px;height:30px;border-radius:9px;
    background:linear-gradient(135deg,#2563eb,#7c3aed);
    display:flex;align-items:center;justify-content:center;
    color:#fff;font-size:15px;
  }
  .logo-sub{font-size:11px;font-weight:600;color:var(--muted);letter-spacing:.02em}
  .nav-links{display:flex;gap:28px;align-items:center;font-size:14px;font-weight:500}
  .nav-links a{color:var(--muted);transition:color .2s}
  .nav-links a:hover{color:var(--text)}
  .nav-cta{
    background:var(--primary);color:#fff;font-weight:600;font-size:14px;
    padding:10px 20px;border-radius:999px;transition:background .2s,transform .15s;
  }
  .nav-cta:hover{background:#1d4ed8;transform:translateY(-1px)}
  .hamburger{display:none;cursor:pointer;font-size:24px;background:none;border:none}

  /* Hero */
  .hero{position:relative;padding:88px 0 72px;overflow:hidden}
  .hero-bg{
    position:absolute;inset:0;z-index:0;pointer-events:none;
    background:
      radial-gradient(60% 50% at 20% 0%,rgba(37,99,235,.08),transparent 60%),
      radial-gradient(50% 40% at 90% 10%,rgba(14,165,233,.07),transparent 60%);
  }
  .hero-grid{position:relative;z-index:1;display:grid;grid-template-columns:1.15fr .85fr;gap:48px;align-items:center}
  .hero-eyebrow{
    display:inline-flex;align-items:center;gap:8px;
    font-size:13px;font-weight:600;color:var(--primary);
    background:var(--primary-soft);border:1px solid #1f6feb33;
    padding:6px 14px;border-radius:999px;margin-bottom:20px;
  }
  .hero-eyebrow .dot{width:7px;height:7px;border-radius:50%;background:var(--success);display:inline-block}
  .hero h1{font-size:46px;line-height:1.18;font-weight:800;letter-spacing:-.02em;margin-bottom:20px;color:var(--text)}
  .hero h1 .gradient{background:linear-gradient(90deg,#2563eb,#7c3aed);-webkit-background-clip:text;background-clip:text;color:transparent}
  .hero-sub{font-size:18px;color:var(--muted);max-width:520px;margin-bottom:36px}
  .hero-ctas{display:flex;gap:14px;flex-wrap:wrap}
  .btn{display:inline-flex;align-items:center;gap:8px;font-weight:600;font-size:16px;padding:14px 28px;border-radius:999px;transition:transform .15s,box-shadow .2s,background .2s}
  .btn:hover{transform:translateY(-2px);box-shadow:0 8px 24px rgba(37,99,235,.2)}
  .btn-primary{background:var(--primary);color:#fff}
  .btn-primary:hover{background:#1d4ed8}
  .btn-ghost{background:var(--surface);color:var(--text);border:1px solid var(--border)}
  .btn-ghost:hover{border-color:#58a6ff}
  .hero-stats{display:flex;gap:40px;margin-top:48px}
  .hero-stat .num{font-size:28px;font-weight:800;letter-spacing:-.02em}
  .hero-stat .lbl{font-size:13px;color:var(--muted)}
  .hero-visual{position:relative;z-index:1}
  .panel{
    background:var(--surface);border:1px solid var(--border);border-radius:20px;
    box-shadow:var(--shadow);overflow:hidden;
  }
  .panel-bar{display:flex;align-items:center;gap:6px;padding:14px 18px;border-bottom:1px solid var(--border);background:#1c1f26}
  .panel-bar .pc{width:11px;height:11px;border-radius:50%}
  .panel-bar .pc:nth-child(1){background:#ff5f57}
  .panel-bar .pc:nth-child(2){background:#febc2e}
  .panel-bar .pc:nth-child(3){background:#28c840}
  .panel-bar .title{margin-left:10px;font-size:12px;color:var(--muted);font-weight:500}
  .panel-body{padding:22px}
  .status-row{display:flex;align-items:center;gap:10px;background:var(--primary-soft);border:1px solid #1f6feb33;border-radius:12px;padding:12px 16px;margin-bottom:16px}
  .status-dot{width:10px;height:10px;border-radius:50%;background:var(--success);position:relative}
  .status-dot::after{content:'';position:absolute;inset:-4px;border-radius:50%;background:var(--success);opacity:.3;animation:pulse 2s infinite}
  @keyframes pulse{0%,100%{transform:scale(1);opacity:.3}50%{transform:scale(1.6);opacity:.1}}
  .status-text{font-size:14px;font-weight:600}
  .status-text small{display:block;font-weight:400;color:var(--muted);font-size:12px}
  .conn-row{display:flex;justify-content:space-between;align-items:center;padding:12px 4px;border-bottom:1px solid var(--border);font-size:14px}
  .conn-row:last-child{border-bottom:none}
  .conn-row .k{color:var(--muted)}
  .conn-row .v{font-weight:600;color:var(--text)}
  .status-text{font-size:14px;font-weight:600;color:var(--text)}
  .badge{font-size:11px;font-weight:700;padding:3px 10px;border-radius:6px}
  .badge-diamond{background:#2563eb22;color:#58a6ff;border:1px solid #2563eb33}
  .badge-gold{background:#bb800922;color:#e3b341;border:1px solid #bb800933}
  .badge-speed{background:#23863622;color:#3fb950;border:1px solid #23863633}

  /* Sections */
  section{padding:88px 0}
  .sec-head{text-align:center;max-width:680px;margin:0 auto 56px}
  .sec-eyebrow{display:inline-block;font-size:13px;font-weight:600;color:var(--primary);letter-spacing:.08em;text-transform:uppercase;margin-bottom:12px}
  .sec-head h2{font-size:38px;font-weight:800;letter-spacing:-.02em;margin-bottom:14px;line-height:1.2}
  .sec-head p{font-size:17px;color:var(--muted)}

  /* Comparison */
  .compare{display:grid;grid-template-columns:1fr 1fr;gap:24px;max-width:900px;margin:0 auto}
  .comp-card{background:var(--surface);border:1px solid var(--border);border-radius:var(--radius);padding:32px}
  .comp-card.old{background:#12161c}
  .comp-title{font-size:15px;font-weight:700;margin-bottom:20px;display:flex;align-items:center;gap:8px;color:var(--text)}
  .comp-card.old .comp-title{color:var(--muted)}
  .comp-card.new{border-color:#2563eb66;box-shadow:0 0 0 1px #2563eb33}
  .comp-list{list-style:none;display:flex;flex-direction:column;gap:14px}
  .comp-list li{display:flex;gap:10px;font-size:15px;color:var(--muted);align-items:flex-start}
  .comp-card.new .comp-list li{color:var(--text)}
  .comp-list .icon{font-size:16px;line-height:1.2}
  .tagline{margin:56px auto 0;text-align:center;font-size:24px;font-weight:700;letter-spacing:-.01em}

  /* Steps */
  .steps{display:grid;grid-template-columns:repeat(4,1fr);gap:16px;max-width:1000px;margin:0 auto}
  .step{background:var(--surface);border:1px solid var(--border);border-radius:var(--radius);padding:28px 24px;position:relative}
  .step-num{width:34px;height:34px;border-radius:10px;background:var(--primary-soft);color:var(--primary);font-weight:700;font-size:15px;display:flex;align-items:center;justify-content:center;margin-bottom:16px}
  .step h4{font-size:16px;font-weight:700;margin-bottom:8px;color:var(--text)}
  .step p{font-size:14px;color:var(--muted)}
  .step-arrow{position:absolute;right:-16px;top:50%;transform:translateY(-50%);color:#3d444d;font-size:18px}

  /* Features */
  .features{display:grid;grid-template-columns:repeat(3,1fr);gap:16px}
  .feature{background:var(--surface);border:1px solid var(--border);border-radius:var(--radius);padding:28px;transition:transform .2s,box-shadow .2s}
  .feature:hover{transform:translateY(-4px);box-shadow:var(--shadow)}
  .feature .fi{font-size:26px;margin-bottom:16px;display:inline-block}
  .feature h4{font-size:16px;font-weight:700;margin-bottom:8px;color:var(--text)}
  .feature p{font-size:14px;color:var(--muted)}

  /* Screenshots */
  .shots{display:grid;grid-template-columns:repeat(3,1fr);gap:20px;max-width:1000px;margin:0 auto}
  .shot{background:var(--surface);border:1px solid var(--border);border-radius:var(--radius);overflow:hidden;box-shadow:var(--shadow);transition:transform .2s,box-shadow .2s}
  .shot:hover{transform:translateY(-4px);box-shadow:0 12px 32px rgba(0,0,0,.4)}
  .shot img{width:100%;display:block;aspect-ratio:16/10;object-fit:cover;background:#1c1f26}
  .shot figcaption{padding:12px 16px;font-size:13px;font-weight:500;color:var(--muted)}

  /* Use cases */
  .cases{display:grid;grid-template-columns:repeat(4,1fr);gap:16px;max-width:1000px;margin:0 auto}
  .case{background:var(--surface);border:1px solid var(--border);border-radius:var(--radius);padding:28px 24px;text-align:center}
  .case .ci{font-size:30px;margin-bottom:12px}
  .case h4{font-size:15px;font-weight:700;margin-bottom:6px;color:var(--text)}
  .case p{font-size:13px;color:var(--muted)}

  /* Products */
  .products{display:flex;justify-content:center;align-items:center;gap:12px;flex-wrap:wrap;max-width:900px;margin:0 auto}
  .prod{background:var(--surface);border:1px solid var(--border);border-radius:999px;padding:12px 26px;font-weight:600;font-size:15px;display:flex;align-items:center;gap:8px;color:var(--text)}
  .prod .dot{width:6px;height:6px;border-radius:50%;background:var(--primary)}
  .prod-arrow{color:#3d444d;font-size:20px}

  /* Pricing */
  .pricing{max-width:760px;margin:0 auto}
  .price-card{background:var(--surface);border:1px solid var(--border);border-radius:24px;overflow:hidden;box-shadow:var(--shadow)}
  .price-head{background:var(--primary-soft);border-bottom:1px solid #1f6feb33;color:var(--text);padding:28px 32px}
  .price-head h3{font-size:22px;font-weight:800;margin-bottom:6px}
  .price-head p{font-size:14px;color:var(--muted)}
  .price-body{padding:28px 32px}
  .pricing table{width:100%;border-collapse:collapse;font-size:15px}
  .pricing th{text-align:left;font-size:12px;font-weight:600;color:var(--muted);text-transform:uppercase;letter-spacing:.05em;padding:10px 12px;border-bottom:1px solid var(--border);background:var(--surface-2)}
  .pricing td{padding:13px 12px;border-bottom:1px solid #21262d}
  .pricing tr:last-child td{border-bottom:none}
  .pricing .plan{font-weight:700;color:var(--text)}
  .pricing .price{font-weight:800;color:var(--primary);font-size:17px}
  .pricing .trial{color:#f0883e}
  .pricing .hit td{background:var(--primary-soft)}
  .pricing .hit .plan{color:var(--primary)}
  .price-note{margin-top:16px;font-size:13px;color:var(--muted);text-align:center}

  /* CTA */
  .cta-section{background:var(--primary-soft);border:1px solid #1f6feb33;border-radius:28px;padding:64px 40px;text-align:center}
  .cta-section h2{font-size:36px;font-weight:800;letter-spacing:-.02em;margin-bottom:16px;color:var(--text)}
  .cta-section h2 .gradient{background:linear-gradient(90deg,#2563eb,#7c3aed);-webkit-background-clip:text;background-clip:text;color:transparent}
  .cta-section p{font-size:17px;color:var(--muted);max-width:560px;margin:0 auto 32px}
  .cta-btns{display:flex;gap:14px;justify-content:center;flex-wrap:wrap}
  .cta-btns .btn-white{background:var(--primary-deep);color:#fff;font-weight:700}
  .cta-btns .btn-white:hover{background:#1d4ed8}
  .cta-btns .btn-ghost-white{background:transparent;color:var(--primary);border:1.5px solid #2563eb66}
  .cta-btns .btn-ghost-white:hover{background:rgba(37,99,235,.08)}

  /* API Section */
  .api-section{background:var(--surface);border:1px solid var(--border);border-radius:24px;padding:48px 40px;max-width:1000px;margin:0 auto}
  .api-head{text-align:center;max-width:640px;margin:0 auto 36px}
  .api-head .code-tag{display:inline-block;font-family:'JetBrains Mono',ui-monospace,monospace;font-size:12px;font-weight:700;color:var(--success);background:#23863622;border:1px solid #23863633;border-radius:6px;padding:3px 10px;margin-bottom:14px}
  .api-features{display:grid;grid-template-columns:repeat(3,1fr);gap:16px;margin-bottom:28px}
  .api-feature{background:#1c1f26;border:1px solid var(--border);border-radius:14px;padding:22px}
  .api-feature .fi{font-size:24px;margin-bottom:10px;display:inline-block}
  .api-feature h4{font-size:15px;font-weight:700;margin-bottom:6px}
  .api-feature p{font-size:13px;color:var(--muted)}
  .codebox{background:#0a0e14;border:1px solid var(--border);border-radius:12px;padding:18px 20px;overflow-x:auto;margin-bottom:28px}
  .codebox pre{font-family:'JetBrains Mono',ui-monospace,monospace;font-size:13px;line-height:1.7;color:#e6edf3}
  .codebox .mkey{color:#79c0ff}.codebox .mstr{color:#a5d6ff}.codebox .mcmt{color:#8b949e;font-style:italic}.codebox .mnum{color:#ffa657}
  .api-table{width:100%;border-collapse:collapse;font-size:14px;margin-bottom:12px}
  .api-table th{text-align:left;font-size:12px;font-weight:600;color:var(--muted);text-transform:uppercase;letter-spacing:.05em;padding:10px 12px;border-bottom:1px solid var(--border);background:var(--surface-2)}
  .api-table td{padding:12px;border-bottom:1px solid #21262d;vertical-align:top}
  .api-table tr:last-child td{border-bottom:none}
  .api-note{margin-top:12px;font-size:13px;color:var(--muted);text-align:center}

  /* FAQ */
  .faq{max-width:760px;margin:0 auto;display:flex;flex-direction:column;gap:14px}
  .faq-item{background:var(--surface);border:1px solid var(--border);border-radius:14px;overflow:hidden}
  .faq-q{padding:18px 22px;font-weight:600;font-size:15px;cursor:pointer;display:flex;justify-content:space-between;align-items:center;user-select:none;color:var(--text)}
  .faq-q .plus{color:var(--muted);font-size:18px;transition:transform .2s}
  .faq-item.open .faq-q .plus{transform:rotate(45deg)}
  .faq-a{max-height:0;overflow:hidden;transition:max-height .3s ease}
  .faq-item.open .faq-a{max-height:200px}
  .faq-a p{padding:0 22px 18px;font-size:14px;color:var(--muted)}

  /* Footer */
  .footer{border-top:1px solid var(--border);padding:40px 0;text-align:center}
  .footer .flogo{display:flex;justify-content:center;align-items:center;gap:8px;font-weight:700;font-size:16px;margin-bottom:8px;color:var(--text)}
  .footer .flogo .logo-mark{width:22px;height:22px;font-size:11px;border-radius:7px}
  .footer .sub{font-size:12px;color:var(--muted);max-width:600px;margin:0 auto;line-height:1.8}

  @media (max-width:900px){
    .hero{padding:64px 0 56px}
    .hero h1{font-size:40px}
    .hero-grid{grid-template-columns:1fr;gap:40px}
    .nav-links{display:none}
    .hamburger{display:block}
    .features,.cases{grid-template-columns:1fr 1fr}
    .steps{grid-template-columns:1fr 1fr}
    .step-arrow{display:none}
    .shots{grid-template-columns:1fr 1fr}
  }
  @media (max-width:600px){
    .hero h1{font-size:32px}
    .hero-stats{gap:24px;flex-wrap:wrap}
    .features,.cases,.steps{grid-template-columns:1fr}
    .compare{grid-template-columns:1fr}
    .sec-head h2{font-size:30px}
  }