
  :root {
    --blue: #4f46e5;
    --blue-deep: #3b35b8;
    --purple: #7c5cf5;
    --pink: #ec4899;
    --ink: #1e2540;
    --ink-2: #5b6680;
    --ink-3: #98a1b5;
    --line: #e9ecf5;
    --bg: #ffffff;
  }
  * { box-sizing: border-box; }
  html, body { margin: 0; padding: 0; }
  html { background: #e9f0ff; }
  body {
    font-family: "Microsoft YaHei", "PingFang SC", -apple-system, "Segoe UI", sans-serif;
    background: linear-gradient(180deg, #fdfdff 0%, #ffffff 120px, #ffffff 100%);
    color: var(--ink); font-size: 14px; line-height: 1.6;
    -webkit-font-smoothing: antialiased;
  }
  a { color: inherit; text-decoration: none; }
  button { font: inherit; cursor: pointer; }

  /* ---------- top nav ---------- */
  .topbar {
    height: 56px; background: rgba(255,255,255,.62); border-bottom: 1px solid rgba(255,255,255,.55);
    position: sticky; top: 0; z-index: 20; backdrop-filter: blur(16px) saturate(160%); -webkit-backdrop-filter: blur(16px) saturate(160%);
    box-shadow: 0 4px 20px rgba(80,70,180,.05);
  }
  .topbar-inner { max-width: 1180px; margin: 0 auto; padding: 0 22px; height: 100%; display: flex; align-items: center; justify-content: space-between; }
  .logo { display: flex; align-items: center; gap: 9px; font-weight: 800; font-size: 15px; color: var(--blue); }
  .logo-mark {
    width: 28px; height: 28px; border-radius: 8px; flex: none;
    background: linear-gradient(135deg, #4f46e5, #8b5cf6);
    display: grid; place-items: center; color: #fff; font-size: 14px;
  }
  .nav-links { display: flex; gap: 26px; font-size: 13px; color: var(--ink-2); }
  .nav-links a.active { color: var(--blue); font-weight: 700; }
  .nav-links a:hover { color: var(--blue); }

  /* ---------- hero ---------- */
  .hero {
    position: relative; overflow: hidden;
    background: linear-gradient(90deg, rgba(255,255,255,.97) 0%, rgba(255,255,255,.85) 38%, rgba(255,255,255,.15) 72%, rgba(255,255,255,0) 100%), url("../img/banner.jpg") center center / cover no-repeat, #f7faff;
    padding: 52px 0 74px; border-bottom: 1px solid #eef0f7;
  }
  .hero::before {
    content: ""; position: absolute; right: -80px; top: -40px; width: 620px; height: 340px;
    background: radial-gradient(ellipse at center, rgba(124,92,245,.18), transparent 68%);
  }
  .hero-visual { position: absolute; inset: 0; pointer-events: none; }
  .wrap { max-width: 1180px; margin: 0 auto; padding: 0 22px; position: relative; z-index: 1; }
  .hero-grid { display: flex; align-items: center; justify-content: space-between; gap: 40px; }
  .hero-copy h1 {
    margin: 0 0 14px; font-size: 40px; line-height: 1.25; font-weight: 800; letter-spacing: -1px;
    background: linear-gradient(100deg, #3b35b8 0%, #4f46e5 50%, #7c5cf5 100%);
    -webkit-background-clip: text; background-clip: text; color: transparent;
  }
  .hero-copy p { margin: 0 0 6px; color: var(--ink-2); font-size: 14px; max-width: 520px; }
  .hero-badges { display: flex; gap: 9px; margin-top: 20px; flex-wrap: wrap; }
  .badge {
    display: inline-flex; align-items: center; gap: 6px; padding: 6px 12px; border-radius: 999px;
    background: rgba(255,255,255,.85); border: 1px solid #e3e8f7; color: var(--ink-2); font-size: 12px;
    box-shadow: 0 2px 8px rgba(80,70,180,.05);
  }
  .badge b { color: var(--blue); }
  .badge .dot { width: 7px; height: 7px; border-radius: 50%; background: #34c759; }
  /* ---------- sections ---------- */
  main { margin-top: -42px; position: relative; z-index: 2; }
  /* ---------- recommend ---------- */
  .recommend {
    background: #fff; border: 1px solid #eef0f7; border-radius: 16px;
    padding: 18px 20px; box-shadow: 0 6px 20px rgba(80,70,180,.05);
  }
  .recommend-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 14px; }
  .recommend-head h2 { margin: 0; font-size: 15px; font-weight: 800; color: var(--ink); }
  .recommend-head span { font-size: 11px; color: var(--ink-3); }
  .recommend-grid { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 12px; }
  .rec-card {
    position: relative; overflow: hidden; display: flex; flex-direction: column;
    padding: 18px 18px 20px; min-height: 132px; border-radius: 14px;
    background: var(--g1); border: 1px solid rgba(255,255,255,.7);
    transition: transform .18s, box-shadow .18s;
  }
  .rec-card::after {
    content: ""; position: absolute; right: -26px; bottom: -34px;
    width: 120px; height: 120px; border-radius: 50%;
    background: rgba(255,255,255,.28); pointer-events: none;
  }
  .rec-card:hover { transform: translateY(-3px); box-shadow: 0 10px 24px rgba(80,70,180,.14); }
  .rec-icon {
    width: 42px; height: 42px; border-radius: 11px; flex: none; margin-bottom: 12px;
    background: rgba(255,255,255,.72); display: grid; place-items: center;
    position: relative; z-index: 1;
  }
  .rec-icon svg { width: 26px; height: 26px; }
  .rec-icon img { width: 26px; height: 26px; object-fit: contain; display: block; }
  .rec-body { min-width: 0; position: relative; z-index: 1; }
  .rec-body h3 {
    margin: 0 0 6px; font-size: 14px; font-weight: 800; color: #25324a;
    display: flex; align-items: center; gap: 5px;
  }
  .rec-body h3::after { content: "→"; font-size: 13px; color: var(--accent); font-weight: 700; }
  .rec-body p { margin: 0; font-size: 11px; color: #6b7890; white-space: normal; line-height: 1.6; }

  .section { margin-top: 34px; }
  .section-head { text-align: center; margin-bottom: 20px; }
  .section-head h2 {
    display: inline-flex; align-items: center; gap: 12px; margin: 0;
    font-size: 21px; font-weight: 800; color: var(--blue-deep);
  }
  .section-head h2::before, .section-head h2::after {
    content: "✦"; font-size: 16px; color: #a78bfa;
  }
  .section-head p { margin: 5px 0 0; color: var(--ink-3); font-size: 12px; }

  .cards { display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap: 14px; }
  .api-card {
    background: #f2f5fb; border-radius: 12px; padding: 16px 16px 15px;
    min-height: 106px; transition: background .18s, transform .18s;
  }
  .api-card:hover { background: #e9eff9; transform: translateY(-2px); }
  .api-icon { width: 26px; height: 26px; margin-bottom: 10px; }
  .api-icon svg { width: 26px; height: 26px; display: block; }
  .api-icon img { width: 26px; height: 26px; object-fit: contain; display: block; }
  .api-card h3 { margin: 0 0 5px; font-size: 13px; font-weight: 700; color: #1e2540; }
  .api-card p { margin: 0; font-size: 11px; color: #8a94a8; line-height: 1.6; }

  /* ---------- footer waves ---------- */
  .footer-waves {
    position: relative; height: 90px; overflow: hidden; margin-top: 24px;
    background: linear-gradient(180deg, rgba(233,240,255,0) 0%, #e9f0ff 72%, #e9f0ff 100%);
  }
  .footer-waves svg { position: absolute; left: 0; bottom: 0; width: 200%; height: 100%; }
  .fw-layer { transform-origin: bottom; }
  .fw-haze   { fill: rgba(167,139,250,.18); animation: wave-move 14s linear infinite; }
  .fw-far    { fill: rgba(124,92,245,.22); animation: wave-move 11s linear infinite reverse; }
  .fw-middle { fill: rgba(96,140,240,.30); animation: wave-move 9s linear infinite; }
  .fw-near   { fill: #e9f0ff; animation: wave-move 7s linear infinite reverse; }
  @keyframes wave-move { from { transform: translateX(0); } to { transform: translateX(-50%); } }
  @media (prefers-reduced-motion: reduce) { .fw-layer { animation: none !important; } }
  .foot-note {
    text-align: center; font-size: 11px; color: #7d8aa8;
    padding: 16px 0 26px; background: #e9f0ff; margin-top: -1px;
  }
  .foot-note a { color: inherit; text-decoration: none; }
  .foot-note a:hover { color: inherit; text-decoration: none; }

  @media (max-width: 980px) {
    .cards { grid-template-columns: repeat(2, minmax(0,1fr)); }
    .hero-copy h1 { font-size: 32px; }
  }
  @media (max-width: 600px) {
    .wrap { padding: 0 15px; }
    .cards { grid-template-columns: 1fr; }
    .nav-links { display: none; }
    .hero { padding: 36px 0 64px; }
    .hero-copy h1 { font-size: 27px; }
  }
