:root {
  --bg: #f7f8fc;
  --card: #ffffff;
  --ink: #161b2e;
  --muted: #626c85;
  --line: #e5e8f2;
  --accent: #6f8bff;
  --accent-dark: #4f6bea;
  --teal: #35b98d;
  --amber: #e5a445;
  --rose: #e2768f;
  --violet: #9a7ce8;
  --shadow-sm: 0 4px 18px rgba(24, 34, 72, .06);
  --shadow-md: 0 18px 50px rgba(24, 34, 72, .10);
  --radius: 18px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 76px; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  font-size: 16px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; }
.wrap { width: min(1160px, calc(100% - 48px)); margin: 0 auto; }

/* NAV */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(247, 248, 252, .86);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(229, 232, 242, .8);
}
.nav-inner { height: 72px; display: flex; align-items: center; gap: 28px; }
.brand { display: inline-flex; align-items: center; gap: 10px; flex-shrink: 0; }
.brand img { border-radius: 10px; }
.brand-text { display: flex; flex-direction: column; line-height: 1.1; }
.brand-text strong { font-size: 19px; letter-spacing: .04em; }
.brand-text small { font-size: 10px; color: var(--muted); letter-spacing: .12em; margin-top: 3px; }
.nav { display: flex; align-items: center; gap: 26px; margin-left: auto; font-size: 14px; color: #4d5770; }
.nav a:hover { color: var(--accent-dark); }
.nav-cta { margin-left: 4px; }
.nav-toggle { display: none; border: 0; background: transparent; padding: 8px; cursor: pointer; }
.nav-toggle span { display: block; width: 22px; height: 2px; background: var(--ink); margin: 5px 0; border-radius: 2px; }

/* BUTTONS */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 13px 22px; border-radius: 12px; font-size: 15px; font-weight: 600;
  border: 1px solid transparent; transition: transform .15s ease, box-shadow .2s ease, background .2s ease;
  cursor: pointer;
}
.btn:hover { transform: translateY(-2px); }
.btn-sm { padding: 9px 16px; font-size: 14px; }
.btn-primary { color: #fff; background: linear-gradient(135deg, var(--accent), #5f7df5); box-shadow: 0 8px 22px rgba(111, 139, 255, .3); }
.btn-primary:hover { box-shadow: 0 12px 28px rgba(111, 139, 255, .4); }
.btn-ghost { background: #fff; border-color: var(--line); color: var(--ink); }
.btn-dark { background: #1b2030; color: #fff; }
.btn-dark:hover { background: #2b3350; }
.btn-block { width: 100%; }

/* HERO */
.hero { position: relative; overflow: hidden; padding: 68px 0 78px; }
.hero-glow {
  position: absolute; inset: -160px -10% auto; height: 520px; pointer-events: none;
  background: radial-gradient(ellipse at 25% 40%, rgba(111, 139, 255, .16), transparent 58%),
              radial-gradient(ellipse at 75% 35%, rgba(87, 211, 168, .14), transparent 55%);
}
.hero-grid { position: relative; display: grid; grid-template-columns: .92fr 1.08fr; gap: 56px; align-items: center; }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; color: var(--accent-dark); background: #edf0ff; border: 1px solid #dfe5ff; padding: 6px 13px; border-radius: 999px; font-weight: 600; }
.eyebrow .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 4px rgba(111,139,255,.16); }
h1 { font-size: clamp(34px, 4.1vw, 54px); line-height: 1.24; letter-spacing: -.025em; margin: 22px 0 18px; font-weight: 800; }
.grad { background: linear-gradient(100deg, var(--accent-dark), var(--teal)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.lede { color: var(--muted); font-size: 16.5px; max-width: 520px; margin: 0 0 30px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.hero-meta { display: flex; flex-wrap: wrap; gap: 20px; margin-top: 26px; font-size: 13px; color: #6b7490; }
.hero-meta span { display: inline-flex; align-items: center; gap: 6px; }
.hero-meta svg { width: 15px; height: 15px; fill: none; stroke: var(--teal); stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
.hero-visual { position: relative; }
.window-frame {
  background: #12141a; border-radius: 16px; padding: 8px; box-shadow: var(--shadow-md);
  border: 1px solid #2b3040;
}
.window-bar { display: flex; align-items: center; gap: 6px; padding: 6px 8px 10px; }
.window-bar i { width: 9px; height: 9px; border-radius: 50%; background: #4b5163; }
.window-bar i:first-child { background: #e2768f; }
.window-bar i:nth-child(2) { background: #e5a445; }
.window-bar i:nth-child(3) { background: #57d3a8; }
.window-bar span { margin-left: 10px; font-size: 11px; color: #858da4; letter-spacing: .05em; }
.window-frame img { display: block; width: 100%; border-radius: 9px; }
.float-card {
  position: absolute; display: flex; align-items: center; gap: 10px;
  background: #fff; border: 1px solid var(--line); border-radius: 13px; padding: 10px 14px;
  box-shadow: var(--shadow-md); font-size: 13px;
}
.float-card strong { display: block; font-size: 13px; }
.float-card small { display: block; color: var(--muted); font-size: 11px; }
.float-ico { width: 30px; height: 30px; border-radius: 9px; display: grid; place-items: center; background: #eef0ff; color: var(--accent-dark); font-size: 16px; }
.float-ico.alt { background: #e8f7f1; color: var(--teal); }
.float-card-a { left: -26px; top: 22%; }
.float-card-b { right: -20px; bottom: 14%; }

/* STRIP */
.strip { background: #fff; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.strip-inner { min-height: 76px; display: flex; align-items: center; gap: 26px; flex-wrap: wrap; }
.strip-label { font-size: 12px; font-weight: 700; letter-spacing: .1em; color: #9099b1; }
.format-list { display: flex; flex-wrap: wrap; gap: 8px; }
.format-list span { font-size: 12px; font-weight: 700; letter-spacing: .05em; padding: 5px 11px; border: 1px solid var(--line); border-radius: 7px; background: #fafbfe; color: #4a5470; }
.strip-note { margin-left: auto; font-size: 12px; color: var(--muted); }

/* SECTIONS */
.section { padding: 94px 0; }
.section-head { max-width: 660px; margin: 0 auto 48px; text-align: center; }
.section-head.left { margin-left: 0; text-align: left; }
.kicker { display: inline-block; font-size: 12px; font-weight: 800; letter-spacing: .18em; color: var(--accent-dark); text-transform: uppercase; }
.section-head h2 { font-size: clamp(26px, 3vw, 38px); line-height: 1.3; margin: 12px 0 12px; letter-spacing: -.02em; }
.section-head p { color: var(--muted); margin: 0; }

/* FEATURES */
.feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.feature { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; box-shadow: var(--shadow-sm); transition: transform .2s ease, box-shadow .2s ease; }
.feature:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.f-ico { width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; background: #eef0ff; color: var(--accent-dark); margin-bottom: 18px; }
.f-ico.teal { background: #e7f7f1; color: var(--teal); }
.f-ico.amber { background: #fdf3e5; color: var(--amber); }
.f-ico.rose { background: #fdeef1; color: var(--rose); }
.f-ico.violet { background: #f2edfc; color: var(--violet); }
.f-ico svg { width: 23px; height: 23px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.feature h3 { font-size: 18px; margin: 0 0 8px; }
.feature p { margin: 0; color: var(--muted); font-size: 14.5px; }

/* SHOWCASE */
.showcase { background: #fff; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.shot-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.shot { position: relative; display: block; width: 100%; padding: 0; border: 1px solid var(--line); border-radius: 14px; overflow: hidden; background: #eef0f6; cursor: zoom-in; aspect-ratio: 16 / 10; }
.shot-wide { grid-column: span 2; aspect-ratio: 16 / 8; }
.shot img { display: block; width: 100%; height: 100%; object-fit: contain; transition: transform .3s ease; }
.shot:hover img { transform: scale(1.02); }
.shot-tag { position: absolute; left: 14px; bottom: 14px; background: rgba(20, 24, 38, .82); color: #fff; font-size: 12px; padding: 5px 11px; border-radius: 7px; backdrop-filter: blur(6px); }

/* WORKFLOW */
.step-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; counter-reset: step; }
.step { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 30px 26px; box-shadow: var(--shadow-sm); }
.step > span { font-size: 13px; font-weight: 800; color: var(--accent); letter-spacing: .1em; }
.step h3 { font-size: 19px; margin: 10px 0 8px; }
.step p { margin: 0; color: var(--muted); font-size: 14.5px; }
kbd { font: inherit; font-size: .88em; background: #f0f2f8; border: 1px solid var(--line); border-bottom-width: 2px; border-radius: 5px; padding: 1px 6px; }

/* DOWNLOAD */
.download { background: linear-gradient(180deg, #f2f4fb, #f7f8fc); }
.ver { font-weight: 700; color: var(--accent-dark); }
.download-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; align-items: stretch; max-width: 820px; margin: 0 auto; }
.dl-card { position: relative; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 30px 26px 24px; box-shadow: var(--shadow-sm); display: flex; flex-direction: column; }
.dl-card.featured { border: 2px solid var(--accent); box-shadow: 0 16px 44px rgba(111, 139, 255, .16); }
.dl-badge { position: absolute; top: -13px; right: 20px; background: var(--accent); color: #fff; font-size: 11px; font-weight: 700; padding: 4px 12px; border-radius: 999px; }
.dl-icon { width: 48px; height: 48px; border-radius: 13px; display: grid; place-items: center; font-size: 25px; background: #eef0ff; color: var(--accent-dark); margin-bottom: 16px; }
.dl-card h3 { font-size: 20px; margin: 0 0 8px; }
.dl-card > p { color: var(--muted); font-size: 14.5px; margin: 0 0 16px; min-height: 48px; }
.dl-card ul { list-style: none; padding: 0; margin: 0 0 24px; font-size: 13px; color: #6d7691; }
.dl-card li { padding: 4px 0 4px 18px; position: relative; }
.dl-card li::before { content: ""; position: absolute; left: 2px; top: 12px; width: 6px; height: 6px; border-radius: 50%; background: var(--teal); }
.copy-link { margin-top: 12px; background: none; border: 0; color: var(--muted); font-size: 12.5px; cursor: pointer; text-decoration: underline; text-underline-offset: 3px; }
.copy-link:hover { color: var(--accent-dark); }
.download-hint { text-align: center; color: var(--muted); font-size: 13px; margin: 24px 0 0; }

/* SUPPORT */
.support { background: #f7f8fc; padding: 72px 0; }
.support-card { background: #fff; border: 1px solid var(--line); border-radius: 22px; box-shadow: var(--shadow-sm); padding: 38px 42px; display: grid; grid-template-columns: 1fr auto; gap: 40px; align-items: center; }
.support-copy h2 { font-size: 28px; margin: 10px 0 12px; }
.support-copy p { color: var(--muted); font-size: 15px; margin: 0 0 10px; max-width: 560px; }
.support-note { font-size: 13px !important; color: #8a93aa !important; }
.support-qr { display: flex; gap: 14px; }
.qr-box { width: 154px; min-height: 186px; border: 1px dashed #cbd2e4; border-radius: 14px; background: #fafbfe; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px; color: #8a93aa; text-align: center; font-size: 13px; }
.qr-box:empty::before { content: attr(data-empty); font-size: 12px; color: #8a93aa; }
.qr-box::after { content: attr(data-label); font-size: 12px; color: #5c6681; font-weight: 600; }
.qr-box img { width: 132px; height: 132px; object-fit: contain; border-radius: 8px; }

/* FAQ */
.faq { background: #fff; border-top: 1px solid var(--line); }
.faq-wrap { display: grid; grid-template-columns: .8fr 1.2fr; gap: 70px; align-items: start; }
.faq-list details { border-bottom: 1px solid var(--line); padding: 18px 0; }
.faq-list details:first-child { border-top: 1px solid var(--line); }
.faq-list summary { cursor: pointer; font-weight: 600; font-size: 15.5px; list-style: none; display: flex; justify-content: space-between; gap: 16px; align-items: center; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after { content: "+"; color: var(--accent); font-size: 20px; font-weight: 400; flex-shrink: 0; }
.faq-list details[open] summary::after { content: "−"; }
.faq-list p { color: var(--muted); font-size: 14.5px; margin: 12px 0 0; }

/* FOOTER */
.footer { background: #151a29; color: #c8cfdf; padding: 48px 0 32px; }
.footer .brand-text strong { color: #fff; }
.footer .brand-text small { color: #8d97ae; }
.footer-inner { display: grid; grid-template-columns: auto 1fr auto; gap: 18px 30px; align-items: center; }
.footer p { margin: 0; font-size: 14px; }
.footer-links { display: flex; gap: 20px; font-size: 14px; }
.footer-links a:hover { color: #fff; }
.footer small { grid-column: 1 / -1; border-top: 1px solid #2c3346; padding-top: 20px; color: #7f899f; font-size: 12px; }

/* LIGHTBOX + TOAST */
.lightbox { position: fixed; inset: 0; z-index: 100; background: rgba(10, 13, 22, .9); display: grid; place-items: center; padding: 40px; cursor: zoom-out; }
.lightbox[hidden] { display: none; }
.lightbox img { max-width: 100%; max-height: 100%; border-radius: 10px; box-shadow: 0 30px 80px rgba(0,0,0,.5); }
.lightbox-close { position: absolute; top: 20px; right: 26px; background: rgba(255,255,255,.12); border: 0; color: #fff; font-size: 28px; width: 42px; height: 42px; border-radius: 50%; cursor: pointer; line-height: 1; }
.toast { position: fixed; left: 50%; bottom: 30px; transform: translate(-50%, 20px); background: #1b2030; color: #fff; padding: 10px 18px; border-radius: 10px; font-size: 14px; opacity: 0; pointer-events: none; transition: opacity .2s ease, transform .2s ease; z-index: 110; }
.toast.show { opacity: 1; transform: translate(-50%, 0); }

/* RESPONSIVE */
@media (max-width: 980px) {
  .hero-grid { grid-template-columns: 1fr; gap: 44px; }
  .hero-copy { max-width: 680px; }
  .feature-grid, .download-grid { grid-template-columns: repeat(2, 1fr); }
  .step-grid { grid-template-columns: 1fr; }
  .faq-wrap { grid-template-columns: 1fr; gap: 24px; }
  .float-card-a { left: 10px; }
  .float-card-b { right: 10px; }
}
@media (max-width: 720px) {
  .wrap { width: min(100% - 32px, 1160px); }
  .nav { display: none; position: absolute; top: 72px; left: 0; right: 0; background: #fff; flex-direction: column; align-items: stretch; gap: 0; padding: 10px 16px 18px; border-bottom: 1px solid var(--line); box-shadow: var(--shadow-md); }
  .nav.open { display: flex; }
  .nav a { padding: 10px 4px; }
  .nav-toggle { display: block; margin-left: auto; }
  .nav-cta { display: none; }
  .hero { padding: 44px 0 60px; }
  .lede { font-size: 15px; }
  .section { padding: 66px 0; }
  .feature-grid, .download-grid, .shot-grid { grid-template-columns: 1fr; }
  .support-card { grid-template-columns: 1fr; padding: 28px 22px; gap: 24px; }
  .support-qr { justify-content: center; }
  .shot-wide { grid-column: span 1; aspect-ratio: 16 / 10; }
  .strip-note { margin-left: 0; }
  .footer-inner { grid-template-columns: 1fr; }
  .footer-links { flex-wrap: wrap; }
  .dl-card > p { min-height: 0; }
}
