/* ---------- tokens ---------- */
:root {
  --brand-1: #99d5f9;
  --brand-2: #6c8cef;
  --brand-3: #b793f5;
  --ink: #18181b;
  --ink-2: #1e2625;
  --ink-soft: #5a6270;
  --ink-faint: #868f9c;
  --line: rgba(24, 24, 27, .08);
  --surface: #f6f7fb;
  --radius: 28px;
  --font-sans: "MiSans", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei",
    system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --shell: 1180px;
  --nav-h: 72px;
}

*, *::before, *::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--nav-h) + 16px);
}

body {
  margin: 0;
  background: #fff;
  color: var(--ink);
  font: 400 17px/1.7 var(--font-sans);
  font-feature-settings: "tnum" 0;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, h4 { margin: 0; font-weight: 700; }
p { margin: 0; }

.shell { width: min(100% - 48px, var(--shell)); margin-inline: auto; }

.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

.skip-link {
  position: absolute; left: 16px; top: -60px; z-index: 100;
  padding: 10px 18px; border-radius: 999px; background: var(--ink); color: #fff;
  transition: top .2s ease;
}
.skip-link:focus { top: 16px; }

:focus-visible { outline: 2px solid var(--brand-2); outline-offset: 3px; border-radius: 4px; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 52px; padding: 0 30px;
  border: 1px solid transparent; border-radius: 999px;
  font: 500 16px/1 var(--font-sans); white-space: nowrap;
  transition: transform .2s ease, background-color .2s ease, border-color .2s ease, opacity .2s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn-dark { background: var(--ink-2); color: #fff; }
.btn-dark:hover { background: #000; }
.btn-light { background: #fff; color: var(--ink); }
.btn-light:hover { background: rgba(255, 255, 255, .88); }
.btn-outline-light { border-color: rgba(255, 255, 255, .5); color: #fff; }
.btn-outline-light:hover { border-color: #fff; background: rgba(255, 255, 255, .12); }

/* ---------- header ---------- */
.site-header {
  position: fixed; inset: 0 0 auto; z-index: 50; height: var(--nav-h);
  transition: background-color .3s ease, box-shadow .3s ease, backdrop-filter .3s ease;
}
.nav-row { display: flex; align-items: center; justify-content: space-between; height: var(--nav-h); gap: 24px; }
.brand { display: flex; align-items: center; gap: 10px; color: #fff; }
.brand-mark { width: 34px; height: 34px; border-radius: 9px; }
.brand-text { font-size: 19px; font-weight: 700; letter-spacing: .02em; }

.site-nav { display: flex; align-items: center; gap: 34px; color: rgba(255, 255, 255, .92); font-size: 16px; }
.site-nav > a:not(.nav-cta) { position: relative; padding: 6px 0; transition: opacity .2s ease; }
.site-nav > a:not(.nav-cta)::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 2px;
  border-radius: 2px; background: currentColor; transform: scaleX(0); transform-origin: left;
  transition: transform .25s ease;
}
.site-nav > a:not(.nav-cta):hover::after,
.site-nav > a.is-active::after { transform: scaleX(1); }
.nav-cta {
  padding: 10px 22px; border-radius: 999px; background: #fff; color: var(--ink) !important;
  font-weight: 500; transition: opacity .2s ease;
}
.nav-cta:hover { opacity: .88; }

.site-header.is-scrolled {
  background: rgba(255, 255, 255, .9);
  backdrop-filter: saturate(180%) blur(16px);
  box-shadow: 0 1px 0 var(--line);
}
.site-header.is-scrolled .brand,
.site-header.is-scrolled .site-nav { color: var(--ink); }
.site-header.is-scrolled .nav-cta { background: var(--ink-2); color: #fff !important; }

.nav-toggle {
  display: none; width: 44px; height: 44px; border: 0; border-radius: 12px;
  background: transparent; color: inherit; cursor: pointer;
}
.nav-toggle-bar, .nav-toggle-bar::before, .nav-toggle-bar::after {
  display: block; width: 20px; height: 2px; margin: 0 auto; border-radius: 2px;
  background: currentColor; transition: transform .25s ease, opacity .2s ease;
}
.nav-toggle-bar { position: relative; color: #fff; }
.site-header.is-scrolled .nav-toggle-bar { color: var(--ink); }
.nav-toggle-bar::before { content: ""; position: absolute; top: -6px; }
.nav-toggle-bar::after { content: ""; position: absolute; top: 6px; }
.nav-toggle[aria-expanded="true"] .nav-toggle-bar { transform: rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle-bar::before { transform: translateY(6px); opacity: 0; }
.nav-toggle[aria-expanded="true"] .nav-toggle-bar::after { transform: translateY(-6px) rotate(-90deg); }

/* ---------- hero ---------- */
.hero {
  position: relative; overflow: hidden; isolation: isolate;
  padding: calc(var(--nav-h) + 166px) 0 164px;
  background: linear-gradient(135deg, var(--brand-1) 0%, var(--brand-2) 46%, var(--brand-3) 100%);
  color: #fff; text-align: center;
}
.hero-bg { position: absolute; inset: 0; z-index: -1; }
.hero-bg i { position: absolute; display: block; border-radius: 50%; filter: blur(80px); opacity: .55; }
.hero-bg i:nth-child(1) { width: 520px; height: 520px; top: -180px; left: -120px; background: rgba(255, 255, 255, .5); }
.hero-bg i:nth-child(2) { width: 460px; height: 460px; right: -140px; top: 40px; background: rgba(120, 70, 220, .5); }
.hero-bg i:nth-child(3) { width: 380px; height: 380px; bottom: -200px; left: 42%; background: rgba(255, 255, 255, .35); }

.hero-title {
  margin: 0 0 22px;
  font-size: clamp(44px, 7.5vw, 92px); line-height: 1.02; letter-spacing: -.04em; font-weight: 700;
}
.hero-tagline { font-size: clamp(17px, 2.2vw, 22px); line-height: 1.75; opacity: .96; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 16px; justify-content: center; margin-top: 40px; }

.hero-products {
  display: flex; flex-wrap: wrap; gap: 16px; justify-content: center; margin-top: 64px;
}
.hero-products a {
  display: flex; align-items: center; gap: 14px; min-width: 260px; padding: 16px 24px 16px 16px;
  text-align: left; border: 1px solid rgba(255, 255, 255, .3); border-radius: 22px;
  background: rgba(255, 255, 255, .14); backdrop-filter: blur(12px);
  font-weight: 600; transition: transform .25s ease, background-color .25s ease;
}
.hero-products a:hover { transform: translateY(-3px); background: rgba(255, 255, 255, .24); }
.hero-products img { width: 44px; height: 44px; border-radius: 13px; }
.hero-products small { display: block; font-size: 13px; font-weight: 400; opacity: .8; }

/* ---------- sections ---------- */
.section { padding: 116px 0; }
.section-tight { padding-top: 40px; }
.section-head { max-width: 720px; margin-bottom: 56px; }
.section-head h2, .cta-band h2 {
  font-size: clamp(32px, 5vw, 52px); line-height: 1.18; letter-spacing: -.03em;
}
.section-head p { margin-top: 16px; color: var(--ink-soft); font-size: 18px; }

/* ---------- products ---------- */
.product {
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: 56px;
  align-items: start; padding: 52px; margin-bottom: 40px;
  border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface);
}
.product-head { display: flex; align-items: center; gap: 18px; }
.product-logo { width: 68px; height: 68px; border-radius: 18px; }
.product-kicker { margin-bottom: 4px; color: var(--ink-faint); font-size: 13px; letter-spacing: .1em; }
.product-head h3 { font-size: clamp(28px, 3.4vw, 38px); letter-spacing: -.02em; }
.product-tagline { margin-top: 26px; font-size: 20px; font-weight: 600; letter-spacing: -.01em; }
.product-desc { margin-top: 12px; color: var(--ink-soft); font-size: 16.5px; }

.chips { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 24px; }
.chips li {
  padding: 7px 15px; border: 1px solid var(--line); border-radius: 999px;
  background: #fff; color: var(--ink-soft); font-size: 14px;
}
.product-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 18px; margin-top: 32px; }
.product-status { color: var(--ink-faint); font-size: 14px; }

.feature-list { display: grid; gap: 16px; }
.feature {
  display: flex; gap: 18px; align-items: flex-start; padding: 24px;
  border-radius: 20px; background: #fff; box-shadow: 0 1px 2px rgba(24, 24, 27, .05);
  transition: transform .25s ease, box-shadow .25s ease;
}
.feature:hover { transform: translateY(-3px); box-shadow: 0 16px 32px -20px rgba(36, 44, 90, .45); }
.feature-icon {
  flex: none; display: grid; place-items: center; width: 44px; height: 44px;
  border-radius: 13px; background: var(--surface); color: var(--brand-2);
}
.feature-icon svg { width: 22px; height: 22px; }
.feature h4 { margin-bottom: 6px; font-size: 17px; letter-spacing: -.01em; }
.feature p { color: var(--ink-soft); font-size: 15.5px; line-height: 1.68; }

/* ---------- about ---------- */
.about-copy { max-width: 860px; color: var(--ink-soft); font-size: 18px; line-height: 1.8; }
.about-copy p + p { margin-top: 18px; }

/* ---------- cta ---------- */
.cta-band {
  padding: 104px 0; text-align: center; color: #fff;
  background: linear-gradient(120deg, var(--brand-2) 0%, var(--brand-3) 100%);
}
.cta-band p { margin: 18px auto 40px; max-width: 620px; opacity: .95; font-size: 18px; }
.contact-grid { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 44px; }
.contact-qr {
  margin: 0; padding: 16px 16px 14px; border-radius: 22px; background: #fff;
  box-shadow: 0 20px 44px -26px rgba(24, 24, 27, .5); text-align: center;
}
.contact-qr img { width: 168px; height: 168px; }
.contact-qr figcaption { margin-top: 10px; color: var(--ink); font-size: 14px; font-weight: 500; }
.contact-mail { text-align: center; }
.cta-note { margin: 14px 0 0 !important; font-size: 14px !important; opacity: .82 !important; }

/* ---------- footer ---------- */
.site-footer { padding: 76px 0 40px; background: #000; color: rgba(255, 255, 255, .72); }
.footer-top { display: flex; flex-wrap: wrap; align-items: center; gap: 20px; }
.brand-footer { color: #fff; }
.footer-slogan { width: 100%; margin-top: 14px; color: rgba(255, 255, 255, .55); font-size: 15px; }
.footer-cols {
  display: grid; grid-template-columns: repeat(3, minmax(0, 220px)); gap: 40px;
  margin-top: 56px; padding-bottom: 48px; border-bottom: 1px solid rgba(255, 255, 255, .12);
}
.footer-cols h2 { font-size: 15px; color: #fff; letter-spacing: .04em; }
.footer-cols ul { margin-top: 18px; display: grid; gap: 12px; font-size: 15px; }
.footer-cols a:hover { color: #fff; }
.footer-bottom {
  display: flex; flex-wrap: wrap; gap: 8px 24px; justify-content: space-between;
  padding-top: 28px; font-size: 13.5px; color: rgba(255, 255, 255, .5);
}
.footer-bottom a:hover { color: #fff; }

/* ---------- reveal（仅在 JS 可用时隐藏，保证无 JS / 爬虫看到完整内容）---------- */
html.js .reveal { opacity: 0; transform: translateY(26px); transition: opacity .7s ease, transform .7s ease; }
html.js .reveal.is-in { opacity: 1; transform: none; }

/* ---------- responsive ---------- */
@media (max-width: 1024px) {
  .product { grid-template-columns: minmax(0, 1fr); gap: 36px; padding: 36px; }
}

@media (max-width: 760px) {
  :root { --nav-h: 64px; }
  body { font-size: 16px; }
  .shell { width: min(100% - 36px, var(--shell)); }
  .section { padding: 80px 0; }
  .hero { padding: calc(var(--nav-h) + 135px) 0 128px; }
  .hero-tagline br { display: none; }
  .hero-products a { width: 100%; min-width: 0; }
  .nav-toggle { display: block; }
  html.js .site-nav {
    position: absolute; inset: var(--nav-h) 0 auto; flex-direction: column; align-items: flex-start;
    gap: 4px; padding: 16px 24px 24px; background: rgba(255, 255, 255, .97);
    color: var(--ink); box-shadow: 0 20px 40px -24px rgba(0, 0, 0, .4);
    opacity: 0; visibility: hidden; transform: translateY(-12px);
    transition: opacity .25s ease, transform .25s ease, visibility .25s;
  }
  html.js .site-nav.is-open { opacity: 1; visibility: visible; transform: none; }
  html:not(.js) .site-nav { gap: 12px 16px; font-size: 14px; }
  .site-nav > a:not(.nav-cta) { width: 100%; padding: 13px 0; border-bottom: 1px solid var(--line); }
  .nav-cta { margin-top: 16px; padding: 13px 24px; background: var(--ink-2); color: #fff !important; }
  .site-header:not(.is-scrolled) .site-nav.is-open .nav-toggle-bar { color: var(--ink); }
  .product { padding: 26px; border-radius: 22px; }
  .contact-grid { gap: 28px; }
  .feature { padding: 20px; }
  .footer-cols { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  html.js .reveal { opacity: 1; transform: none; transition: none; }
  .btn:hover, .feature:hover, .hero-products a:hover { transform: none; }
}
