/* 微维官网样式 · 自包含，无外部资源 */
:root {
  --ink: #0f1115;
  --ink-2: #1b2028;
  --muted: #6b7280;
  --muted-2: #9aa3af;
  --line: #e7e9ee;
  --paper: #ffffff;
  --bg: #f6f7f9;
  --brand: #ff6a45;
  --brand-2: #ff8a63;
  --brand-soft: #fff1ec;
  --green: #07c160;
  --green-soft: #eafaf1;
  --radius: 18px;
  --shadow-sm: 0 4px 14px -8px rgba(15, 23, 42, .18);
  --shadow: 0 18px 50px -24px rgba(15, 23, 42, .35);
  --shadow-lg: 0 40px 90px -40px rgba(15, 23, 42, .5);
  --max: 1160px;
  --ease: cubic-bezier(.22, .61, .36, 1);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  color: var(--ink);
  background: var(--paper);
  line-height: 1.6;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4, p, ul, figure { margin: 0; }
button { font: inherit; }
.wrap { width: min(var(--max), 92%); margin: 0 auto; }
.narrow { max-width: 820px; }

/* ---------- 按钮 ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 42px;
  padding: 0 20px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 600;
  white-space: nowrap;
  cursor: pointer;
  transition: transform .18s var(--ease), box-shadow .18s var(--ease), background .18s var(--ease), color .18s var(--ease);
}
.btn svg { width: 18px; height: 18px; fill: currentColor; }
.btn:hover { transform: translateY(-1px); }
.btn-primary {
  background: linear-gradient(180deg, var(--brand-2), var(--brand));
  color: #fff;
  box-shadow: 0 14px 30px -14px rgba(255, 106, 69, .85);
}
.btn-primary:hover { box-shadow: 0 18px 36px -14px rgba(255, 106, 69, .95); }
.btn-ghost { background: rgba(255, 255, 255, .08); color: inherit; border-color: rgba(128, 128, 128, .28); }
.btn-light { background: #fff; color: var(--ink); border-color: var(--line); }
.btn-block { width: 100%; }
.btn-lg { height: 50px; padding: 0 26px; font-size: 15px; }
.btn[disabled] { opacity: .55; cursor: not-allowed; transform: none; }

/* ---------- 顶部导航 ---------- */
.nav {
  position: fixed;
  inset: 0 0 auto;
  z-index: 100;
  transition: background .25s var(--ease), box-shadow .25s var(--ease), backdrop-filter .25s;
}
.nav-inner {
  width: min(var(--max), 92%);
  margin: 0 auto;
  height: 68px;
  display: flex;
  align-items: center;
  gap: 22px;
}
.brand { display: inline-flex; align-items: center; gap: 10px; font-weight: 800; font-size: 17px; letter-spacing: -.02em; color: #fff; }
.brand img { border-radius: 10px; box-shadow: 0 6px 16px -8px rgba(0, 0, 0, .5); }
.brand em { font-style: normal; font-weight: 600; font-size: 12px; opacity: .55; margin-left: 6px; letter-spacing: .04em; }
.nav-links { display: flex; gap: 26px; margin-left: 14px; }
.nav-links a { color: rgba(255, 255, 255, .72); font-size: 14px; font-weight: 500; padding: 6px 0; transition: color .18s; }
.nav-links a:hover { color: #fff; }
.nav-actions { margin-left: auto; display: flex; align-items: center; gap: 10px; }
.nav-actions .btn-ghost { color: #fff; }
.nav-actions .btn-primary { height: 40px; padding: 0 18px; }
.nav.scrolled { background: rgba(12, 16, 22, .82); backdrop-filter: blur(16px); box-shadow: 0 10px 30px -20px rgba(0, 0, 0, .8); }
.nav-toggle { display: none; width: 40px; height: 40px; border: 1px solid rgba(255, 255, 255, .2); background: transparent; border-radius: 10px; padding: 9px; cursor: pointer; }
.nav-toggle span { display: block; height: 2px; background: #fff; border-radius: 2px; margin: 4px 0; transition: transform .2s var(--ease), opacity .2s; }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  color: #fff;
  padding: 132px 0 56px;
  background:
    radial-gradient(1000px 520px at 80% -10%, rgba(255, 106, 69, .32), transparent 62%),
    radial-gradient(800px 420px at 8% 10%, rgba(7, 193, 96, .18), transparent 60%),
    linear-gradient(160deg, #0a0e13 0%, #121924 52%, #0b1016 100%);
  overflow: hidden;
}
.hero-bg {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, .045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, .045) 1px, transparent 1px);
  background-size: 44px 44px;
  mask-image: radial-gradient(70% 60% at 50% 20%, #000 40%, transparent 100%);
  pointer-events: none;
}
.hero-grid {
  position: relative;
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: 40px;
  align-items: center;
}
.pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 14px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, .14);
  background: rgba(255, 255, 255, .06);
  font-size: 12.5px;
  color: rgba(255, 255, 255, .82);
}
.dot { width: 7px; height: 7px; border-radius: 50%; background: var(--green); box-shadow: 0 0 0 4px rgba(7, 193, 96, .18); }
.hero h1 { font-size: clamp(34px, 5.4vw, 62px); line-height: 1.08; letter-spacing: -.035em; margin: 20px 0 18px; font-weight: 800; }
.grad { background: linear-gradient(92deg, #ffd7c9, var(--brand) 42%, #ffb59e); -webkit-background-clip: text; background-clip: text; color: transparent; }
.lead { font-size: clamp(15px, 1.5vw, 17px); color: rgba(255, 255, 255, .72); max-width: 560px; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; margin: 30px 0 18px; }
.hero-cta .btn-ghost { color: #fff; }
.hero-points { display: flex; flex-wrap: wrap; gap: 8px 20px; list-style: none; padding: 0; color: rgba(255, 255, 255, .6); font-size: 13px; }
.hero-points li::before { content: "✓"; color: var(--green); margin-right: 6px; font-weight: 700; }

.hero-visual { position: relative; height: 560px; }
.phone {
  position: absolute;
  left: 50%;
  top: 0;
  transform: translateX(-50%) rotate(0.5deg);
  width: 268px;
  height: 545px;
  border-radius: 40px;
  padding: 11px;
  background: linear-gradient(160deg, #2b313c, #0d1117 60%);
  box-shadow: var(--shadow-lg), inset 0 0 0 1px rgba(255, 255, 255, .1);
}
.phone-notch {
  position: absolute;
  top: 20px;
  left: 50%;
  transform: translateX(-50%);
  width: 86px;
  height: 20px;
  border-radius: 12px;
  background: #0a0e13;
  z-index: 2;
}
.phone img { width: 100%; height: 100%; object-fit: cover; border-radius: 30px; object-position: top center; }
.float-card {
  position: absolute;
  padding: 12px 16px;
  border-radius: 14px;
  background: rgba(20, 26, 34, .82);
  border: 1px solid rgba(255, 255, 255, .12);
  backdrop-filter: blur(14px);
  box-shadow: 0 18px 40px -22px rgba(0, 0, 0, .9);
  animation: floaty 6s ease-in-out infinite;
}
.float-card b { display: block; font-size: 14px; }
.float-card span { font-size: 11.5px; color: rgba(255, 255, 255, .62); }
.fc-1 { top: 84px; left: -6px; animation-delay: .2s; }
.fc-2 { top: 250px; right: -4px; animation-delay: 1.4s; }
.fc-3 { bottom: 60px; left: 8px; animation-delay: 2.6s; }
@keyframes floaty { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }

.hero-stats {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  margin-top: 46px;
  padding-top: 26px;
  border-top: 1px solid rgba(255, 255, 255, .1);
}
.hero-stats b { display: block; font-size: 26px; letter-spacing: -.02em; }
.hero-stats span { font-size: 12px; color: rgba(255, 255, 255, .55); }

/* ---------- 通用 Section ---------- */
.section { padding: 88px 0; }
.section-alt { background: var(--bg); }
.sec-head { max-width: 680px; margin-bottom: 44px; }
.eyebrow { color: var(--brand); font-weight: 700; font-size: 12.5px; letter-spacing: .14em; text-transform: uppercase; }
.sec-head h2 { font-size: clamp(26px, 3.4vw, 38px); letter-spacing: -.03em; margin: 10px 0 12px; line-height: 1.18; }
.sec-head p { color: var(--muted); font-size: 15.5px; }

/* ---------- 功能 ---------- */
.feature-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.feature {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 22px;
  transition: transform .2s var(--ease), box-shadow .2s var(--ease), border-color .2s;
}
.feature:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: #f0d6cc; }
.ico {
  width: 44px; height: 44px;
  display: grid; place-items: center;
  border-radius: 13px; font-size: 21px;
  margin-bottom: 14px;
}
.ico-orange { background: var(--brand-soft); }
.ico-green { background: var(--green-soft); }
.feature h3 { font-size: 16.5px; margin-bottom: 8px; letter-spacing: -.01em; }
.feature p { color: var(--muted); font-size: 13.5px; line-height: 1.65; }

/* ---------- 客户端下载 ---------- */
.client-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; align-items: start; }
.client {
  position: relative;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 22px;
  padding: 26px 24px 22px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  min-height: 420px;
  transition: transform .2s var(--ease), box-shadow .2s var(--ease);
}
.client:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.client-hot { border-color: rgba(255, 106, 69, .45); box-shadow: 0 24px 60px -38px rgba(255, 106, 69, .8); }
.client-top { display: flex; align-items: center; gap: 10px; }
.client-top h3 { font-size: 20px; letter-spacing: -.02em; }
.tag { font-size: 11px; font-weight: 700; padding: 4px 10px; border-radius: 999px; background: #eef1f5; color: var(--muted); }
.tag-green { background: var(--green-soft); color: #068a46; }
.tag-orange { background: var(--brand-soft); color: #d94f2c; }
.client > p { color: var(--muted); font-size: 13.5px; }
.checks { list-style: none; padding: 0; margin: 4px 0 8px; display: grid; gap: 7px; }
.checks li { font-size: 13px; color: var(--ink-2); padding-left: 22px; position: relative; }
.checks li::before { content: "✓"; position: absolute; left: 0; top: -1px; color: var(--green); font-weight: 800; }
.client .btn { margin-top: auto; }
.meta { display: flex; align-items: center; justify-content: space-between; gap: 8px; font-size: 11.5px; color: var(--muted-2); }
.copy { background: none; border: 0; color: var(--brand); font-size: 11.5px; cursor: pointer; padding: 2px; }
.copy:hover { text-decoration: underline; }
.hint { font-size: 11.5px; color: var(--muted-2); line-height: 1.5; }

/* ---------- 截图 ---------- */
.shots { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
.shot {
  border-radius: 20px;
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--paper);
  box-shadow: var(--shadow-sm);
}
.shot img { width: 100%; height: 340px; object-fit: cover; object-position: top center; transition: transform .5s var(--ease); }
.shot:hover img { transform: scale(1.03); }
.shot figcaption { padding: 12px 16px; font-size: 12.5px; color: var(--muted); border-top: 1px solid var(--line); }

/* ---------- 技术 ---------- */
.tech-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.tech-card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 22px;
}
.tech-card b { display: block; font-size: 15.5px; margin-bottom: 8px; }
.tech-card b::before { content: "▍"; color: var(--brand); margin-right: 6px; }
.tech-card span { color: var(--muted); font-size: 13px; line-height: 1.65; }

/* ---------- FAQ ---------- */
.faq { display: grid; gap: 10px; }
.faq details {
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--paper);
  padding: 16px 18px;
  transition: border-color .2s;
}
.faq details[open] { border-color: #f0d6cc; }
.faq summary { cursor: pointer; font-weight: 600; font-size: 15px; list-style: none; position: relative; padding-right: 26px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 0; top: -2px; color: var(--brand); font-size: 20px; transition: transform .2s; }
.faq details[open] summary::after { content: "–"; }
.faq p { color: var(--muted); font-size: 13.5px; margin-top: 10px; }

/* ---------- CTA / Footer ---------- */
.cta { padding: 76px 0; background: linear-gradient(120deg, #101722, #1a2330 60%, #0f141b); color: #fff; }
.cta-inner { display: flex; align-items: center; justify-content: space-between; gap: 28px; flex-wrap: wrap; }
.cta h2 { font-size: clamp(24px, 3vw, 34px); letter-spacing: -.03em; margin-bottom: 8px; }
.cta p { color: rgba(255, 255, 255, .62); font-size: 14.5px; }
.cta-actions { display: flex; gap: 12px; flex-wrap: wrap; }
.footer { background: #0b0f14; color: rgba(255, 255, 255, .7); padding: 38px 0; }
.footer-inner { display: flex; align-items: center; gap: 26px; flex-wrap: wrap; }
.footer-brand { display: flex; align-items: center; gap: 10px; }
.footer-brand img { border-radius: 9px; }
.footer-brand b { display: block; color: #fff; font-size: 14px; }
.footer-brand span { font-size: 11.5px; color: rgba(255, 255, 255, .45); }
.footer-links { display: flex; gap: 20px; font-size: 13px; margin-left: auto; flex-wrap: wrap; }
.footer-links a:hover { color: #fff; }
.copyright { font-size: 12px; color: rgba(255, 255, 255, .38); width: 100%; }

/* ---------- Toast / 动效 ---------- */
.toast {
  position: fixed;
  left: 50%;
  bottom: 28px;
  transform: translate(-50%, 16px);
  background: rgba(15, 20, 27, .92);
  color: #fff;
  font-size: 13px;
  padding: 10px 18px;
  border-radius: 999px;
  opacity: 0;
  pointer-events: none;
  transition: opacity .2s, transform .2s var(--ease);
  z-index: 200;
}
.toast.show { opacity: 1; transform: translate(-50%, 0); }
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s var(--ease), transform .6s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  .float-card { animation: none; }
  html { scroll-behavior: auto; }
}

/* ---------- 响应式 ---------- */
@media (max-width: 1020px) {
  .hero-grid { grid-template-columns: 1fr; gap: 22px; }
  .hero-visual { height: 480px; }
  .phone { width: 236px; height: 480px; }
  .feature-grid { grid-template-columns: repeat(2, 1fr); }
  .client-grid { grid-template-columns: 1fr; }
  .client { min-height: 0; }
  .tech-grid { grid-template-columns: repeat(2, 1fr); }
  .hero-stats { grid-template-columns: repeat(2, 1fr); }
  .nav-links { display: none; }
  .nav-toggle { display: block; }
  .nav.open .nav-links {
    display: flex;
    position: absolute;
    top: 68px;
    left: 4%;
    right: 4%;
    flex-direction: column;
    gap: 4px;
    padding: 12px;
    border-radius: 16px;
    background: rgba(12, 16, 22, .96);
    border: 1px solid rgba(255, 255, 255, .1);
    backdrop-filter: blur(16px);
  }
  .nav.open .nav-links a { padding: 10px 12px; border-radius: 10px; }
  .nav.open .nav-links a:hover { background: rgba(255, 255, 255, .08); }
  .shots { grid-template-columns: 1fr; }
  .shot img { height: 300px; }
}
@media (max-width: 620px) {
  .hero { padding-top: 112px; }
  .section { padding: 64px 0; }
  .hero-stats b { font-size: 22px; }
  .hero-visual { height: 430px; }
  .phone { width: 210px; height: 430px; }
  .float-card { padding: 10px 12px; }
  .fc-1 { left: 0; top: 56px; }
  .fc-2 { right: 0; top: 210px; }
  .fc-3 { display: none; }
  .feature-grid, .tech-grid { grid-template-columns: 1fr; }
  .footer-links { margin-left: 0; }
}

/* ---------- 移动端导航 / Hero 修正 ---------- */
@media (max-width: 720px) {
  .nav-inner { height: 62px; gap: 10px; }
  .brand span { white-space: nowrap; font-size: 16px; }
  .brand em { display: none; }
  .brand img { width: 32px; height: 32px; }
  .nav-actions { gap: 8px; }
  .nav-actions .btn-ghost { display: none; }
  .nav-actions .btn-primary { height: 36px; padding: 0 14px; font-size: 13px; }
  .nav-toggle { width: 36px; height: 36px; padding: 8px; }
  .nav.open .nav-links { top: 62px; }
  .float-card { display: none; }
  .hero { padding-top: 104px; }
  .hero-visual { height: 432px; margin-top: 8px; }
  .phone { width: 206px; height: 428px; border-radius: 34px; padding: 9px; }
  .phone img { border-radius: 26px; }
  .hero h1 { font-size: clamp(30px, 9vw, 40px); }
  .hero-points { gap: 6px 14px; font-size: 12.5px; }
  .hero-stats { gap: 12px 10px; }
  .hero-stats div:nth-child(3), .hero-stats div:nth-child(4) { margin-top: 4px; }
}
