:root {
  --bg: #ecece8;
  --bg-soft: #e3e3de;
  --surface: rgba(255, 255, 255, 0.5);
  --surface-hover: rgba(255, 255, 255, 0.72);
  --border: rgba(20, 20, 17, 0.1);
  --border-strong: rgba(20, 20, 17, 0.2);

  --text: #171714;
  --text-secondary: #555650;
  --text-tertiary: #8a8a82;

  --ink: #181816;
  --ink-2: #30302d;
  --ink-3: #5b5c56;

  --success: #426a52;
  --warning: #876d31;
  --danger: #92504d;

  --radius: 16px;
  --radius-lg: 22px;
  --radius-xl: 28px;

  --shadow-sm: 0 2px 8px rgba(20, 20, 17, 0.05);
  --shadow: 0 18px 44px rgba(20, 20, 17, 0.09);
  --shadow-glow: 0 10px 30px rgba(20, 20, 17, 0.14);

  --maxw: 1120px;
  --font: -apple-system, BlinkMacSystemFont, "SF Pro Text", "PingFang SC", "Microsoft YaHei", sans-serif;
  --display: -apple-system, BlinkMacSystemFont, "SF Pro Rounded", "PingFang SC", sans-serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  position: relative;
}
/* 顶部柔和光晕，增加纵深 */
body::before {
  content: ""; position: fixed; top: -280px; left: 50%;
  transform: translateX(-50%);
  width: 960px; height: 520px; z-index: -1; pointer-events: none;
  background: radial-gradient(ellipse at center, rgba(24,24,22,.055), transparent 70%);
}
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }

/* ---------- Nav ---------- */
.nav {
  position: sticky; top: 0; z-index: 50;
  backdrop-filter: saturate(140%) blur(14px);
  background: rgba(236, 236, 232, 0.72);
  border-bottom: 1px solid var(--border);
}
.nav-inner {
  max-width: var(--maxw); margin: 0 auto;
  height: 64px; padding: 0 24px;
  display: flex; align-items: center; gap: 20px;
}
.brand { display: flex; align-items: center; gap: 10px; font-weight: 800; font-size: 17px; letter-spacing: -0.01em; }
.brand-mark { width: 30px; height: 30px; border-radius: 8px; box-shadow: var(--shadow-sm); }
.nav-links { display: flex; gap: 26px; margin-left: auto; font-size: 14.5px; color: var(--text-secondary); }
.nav-links a { transition: color 0.2s; }
.nav-links a:hover { color: var(--ink); }
.nav-cta { margin-left: 4px; }
.nav-burger { display: none; background: none; border: 0; font-size: 22px; cursor: pointer; color: var(--ink); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font-family: var(--font); font-size: 15px; font-weight: 650;
  padding: 12px 22px; border-radius: 999px; cursor: pointer;
  border: 1px solid transparent; transition: transform 0.18s ease, background 0.2s, box-shadow 0.2s;
}
.btn:active { transform: translateY(1px) scale(0.99); }
.btn-dark { background: var(--ink); color: #f5f2eb; box-shadow: var(--shadow-glow); }
.btn-dark:hover { background: var(--ink-2); box-shadow: 0 14px 34px rgba(20,20,17,0.22); }
.btn-ghost { background: var(--surface); color: var(--ink); border-color: var(--border-strong); }
.btn-ghost:hover { background: var(--surface-hover); }
.btn-lg { padding: 15px 30px; font-size: 16px; }

/* ---------- Hero ---------- */
.hero { position: relative; overflow: hidden; }
.hero::after {
  content: ""; position: absolute; left: 50%; bottom: -140px;
  transform: translateX(-50%);
  width: 920px; height: 320px; pointer-events: none;
  background: radial-gradient(ellipse at center, rgba(24,24,22,.06), transparent 66%);
}
.hero-glow {
  position: absolute; top: -220px; right: -120px; width: 620px; height: 620px;
  background: radial-gradient(circle at center, rgba(24,24,22,0.14), transparent 62%);
  filter: blur(8px); pointer-events: none;
}
.hero-grid {
  max-width: var(--maxw); margin: 0 auto; padding: 76px 24px 104px;
  display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 40px; align-items: center;
  position: relative;
}
.eyebrow {
  display: inline-block; font-size: 13px; font-weight: 700; letter-spacing: 0.08em;
  text-transform: uppercase; color: var(--ink-3); margin-bottom: 18px;
}
.hero-copy h1 {
  font-family: var(--display); font-size: clamp(38px, 5.4vw, 62px);
  line-height: 1.05; letter-spacing: -0.02em; font-weight: 800;
}
.grad {
  background: linear-gradient(120deg, var(--ink) 0%, var(--ink-3) 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
  position: relative;
}
.lead { margin-top: 22px; font-size: 18px; color: var(--text-secondary); max-width: 30em; }
.hero-actions { margin-top: 32px; display: flex; gap: 14px; flex-wrap: wrap; }
.hero-stats { margin-top: 40px; display: flex; gap: 38px; list-style: none; }
.hero-stats li { display: flex; flex-direction: column; }
.hero-stats strong { font-size: 26px; font-weight: 800; letter-spacing: -0.02em; }
.hero-stats span { font-size: 13px; color: var(--text-tertiary); }

/* hero visual / product shot */
.hero-visual {
  display: flex; justify-content: center; align-items: center;
  position: relative; padding: 10px 30px;
}
.hero-shot {
  position: relative; width: 100%; max-width: 520px;
  border-radius: 26px; overflow: hidden;
  border: 1px solid rgba(20,20,17,.1);
  box-shadow: 0 34px 80px rgba(20,20,17,.26);
}
.hero-shot img { width: 100%; height: auto; display: block; }
.hero-shot::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.14), inset 0 1px 0 rgba(255,255,255,.22);
  border-radius: 26px;
}
.hero-tag {
  position: absolute; z-index: 4;
  display: flex; align-items: center; gap: 10px;
  padding: 10px 14px; border-radius: 16px;
  background: rgba(245,242,235,.95);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(20,20,17,.08);
  box-shadow: 0 12px 34px rgba(20,20,17,.20);
  white-space: nowrap;
}
.tag-ic {
  width: 34px; height: 34px; border-radius: 11px;
  display: grid; place-items: center;
  background: var(--ink); color: #f5f2eb; flex-shrink: 0;
}
.tag-ic svg { width: 17px; height: 17px; }
.hero-tag strong { font-size: 16px; }
.hero-tag small { color: var(--text-tertiary); font-weight: 600; font-size: 11px; }
.tag-a { top: 18px; left: 18px; }
.tag-b { bottom: 18px; right: 18px; }

/* ---------- Marquee ---------- */
.marquee { border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); padding: 22px 0; overflow: hidden; }
.marquee-label { text-align: center; font-size: 13px; color: var(--text-tertiary); margin-bottom: 12px; letter-spacing: 0.04em; }
.marquee-track { display: flex; gap: 28px; justify-content: center; color: var(--ink-2); font-weight: 700; font-size: 15px; white-space: nowrap; opacity: 0.7; }

/* ---------- Sections ---------- */
.section { max-width: var(--maxw); margin: 0 auto; padding: 100px 24px; }
.section-alt { max-width: none; background: var(--bg-soft); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.section-alt > * { max-width: var(--maxw); margin-left: auto; margin-right: auto; }
.section-head { text-align: center; max-width: 640px; margin: 0 auto 56px; }
.section-head .eyebrow { position: relative; padding: 0 28px; }
.section-head .eyebrow::before,
.section-head .eyebrow::after {
  content: ""; position: absolute; top: 50%; width: 18px; height: 1px;
  background: var(--ink-3); opacity: 0.5;
}
.section-head .eyebrow::before { left: 0; }
.section-head .eyebrow::after { right: 0; }
.section-head h2 { font-family: var(--display); font-size: clamp(28px, 3.4vw, 40px); letter-spacing: -0.02em; font-weight: 800; margin-top: 8px; }
.section-head p { margin-top: 14px; color: var(--text-secondary); font-size: 17px; }

/* ---------- Cards ---------- */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.card {
  background: var(--surface); border: 1px solid var(--border); border-radius: 24px;
  padding: 32px 30px; box-shadow: var(--shadow-sm); transition: transform 0.25s ease, box-shadow 0.25s, background 0.25s;
}
.card:hover { transform: translateY(-8px); background: var(--surface-hover); box-shadow: var(--shadow-glow); }
.card-icon {
  width: 56px; height: 56px; border-radius: 17px; display: grid; place-items: center;
  font-size: 24px; background: rgba(24,24,22,0.05); border: 1px solid var(--border); margin-bottom: 18px;
  color: var(--ink-2);
}
.card h3 { font-size: 20px; font-weight: 750; letter-spacing: -0.01em; }
.card p { margin-top: 10px; color: var(--text-secondary); font-size: 15px; }
.card-list { list-style: none; margin-top: 18px; display: flex; flex-direction: column; gap: 9px; }
.card-list li { font-size: 14px; color: var(--ink-2); padding-left: 22px; position: relative; }
.card-list li::before { content: "✓"; position: absolute; left: 0; color: var(--success); font-weight: 800; }

/* ---------- Steps ---------- */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; counter-reset: s; }
.step { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 28px 24px; }
.step-no { font-family: var(--display); font-size: 30px; font-weight: 800; color: var(--ink-3); letter-spacing: -0.02em; }
.step h3 { margin-top: 8px; font-size: 19px; font-weight: 750; }
.step p { margin-top: 10px; color: var(--text-secondary); font-size: 14.5px; }

/* ---------- Showcase ---------- */
.showcase-grid { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 56px; align-items: center; }
.showcase-copy h2 { font-family: var(--display); font-size: clamp(26px, 3vw, 36px); letter-spacing: -0.02em; font-weight: 800; margin-top: 8px; }
.showcase-copy p { margin-top: 14px; color: var(--text-secondary); font-size: 16.5px; max-width: 34em; }
.skill-bars { margin-top: 30px; display: flex; flex-direction: column; gap: 16px; }
.skill { display: grid; grid-template-columns: 150px 1fr; align-items: center; gap: 16px; font-size: 14px; color: var(--ink-2); font-weight: 600; }
.skill i { display: block; height: 9px; border-radius: 999px; background: rgba(24,24,22,0.1); position: relative; overflow: hidden; }
.skill i::after { content: ""; position: absolute; inset: 0; width: var(--v); border-radius: 999px; background: linear-gradient(90deg, var(--ink), var(--ink-3)); }

.glass { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-xl); box-shadow: var(--shadow); backdrop-filter: blur(10px); }
.showcase-panel { padding: 38px; display: flex; flex-direction: column; align-items: center; gap: 30px; }
.ring { position: relative; width: 200px; height: 200px; }
.ring svg { width: 100%; height: 100%; transform: rotate(-90deg); }
.ring-bg { fill: none; stroke: rgba(24,24,22,0.1); stroke-width: 10; }
.ring-fg { fill: none; stroke: var(--ink); stroke-width: 10; stroke-linecap: round; stroke-dasharray: 327; stroke-dashoffset: 26; transition: stroke-dashoffset 1s ease; }
.ring-label { position: absolute; inset: 0; display: grid; place-content: center; text-align: center; }
.ring-label strong { font-family: var(--display); font-size: 46px; font-weight: 800; letter-spacing: -0.02em; }
.ring-label span { font-size: 13px; color: var(--text-tertiary); }
.panel-stats { display: flex; gap: 30px; }
.panel-stats div { text-align: center; }
.panel-stats strong { display: block; font-size: 26px; font-weight: 800; }
.panel-stats span { font-size: 12.5px; color: var(--text-tertiary); }

/* ---------- Quote ---------- */
.section-quote { text-align: center; max-width: 820px; }
.section-quote blockquote { font-family: var(--display); font-size: clamp(22px, 2.8vw, 32px); line-height: 1.4; letter-spacing: -0.01em; font-weight: 650; }
.quote-by { margin-top: 22px; color: var(--text-tertiary); font-size: 14.5px; }

/* ---------- FAQ ---------- */
.faq { max-width: 760px; margin: 0 auto; display: flex; flex-direction: column; gap: 12px; }
.faq details { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 4px 22px; transition: background 0.2s; }
.faq details[open] { background: var(--surface-hover); }
.faq summary { cursor: pointer; padding: 16px 0; font-weight: 700; font-size: 16px; list-style: none; display: flex; justify-content: space-between; align-items: center; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-size: 22px; color: var(--ink-3); transition: transform 0.2s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq p { padding: 0 0 18px; color: var(--text-secondary); font-size: 15px; }

/* ---------- CTA ---------- */
.cta { padding: 0 24px 96px; }
.cta-inner {
  max-width: var(--maxw); margin: 0 auto; text-align: center;
  background: linear-gradient(135deg, var(--ink) 0%, var(--ink-2) 100%);
  color: #f5f2eb; border-radius: var(--radius-xl); padding: 72px 32px;
  box-shadow: var(--shadow); position: relative; overflow: hidden;
}
.cta-inner::before { content: ""; position: absolute; top: -120px; left: 50%; transform: translateX(-50%); width: 420px; height: 240px; background: radial-gradient(circle, rgba(245,242,235,0.14), transparent 70%); }
.cta-inner h2 { font-family: var(--display); font-size: clamp(28px, 3.6vw, 42px); letter-spacing: -0.02em; font-weight: 800; }
.cta-inner p { margin-top: 14px; color: rgba(245,242,235,0.78); font-size: 17px; }
.cta-actions { margin-top: 32px; display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }
.cta-inner .btn-ghost { background: rgba(245,242,235,0.1); color: #f5f2eb; border-color: rgba(245,242,235,0.28); }
.cta-inner .btn-ghost:hover { background: rgba(245,242,235,0.18); }
.cta-note { margin-top: 22px; font-size: 13px; color: rgba(245,242,235,0.6); }

/* ---------- Footer ---------- */
.footer { border-top: 1px solid var(--border); background: var(--bg-soft); padding: 60px 24px 28px; }
.footer-grid {
  max-width: var(--maxw); margin: 0 auto;
  display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 48px;
}
.footer-brand p { margin-top: 14px; color: var(--text-secondary); font-size: 14px; max-width: 30em; }
.footer-nav { display: flex; flex-direction: column; align-items: flex-start; gap: 11px; }
.footer-title {
  font-size: 12px; font-weight: 800; letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--text-tertiary); margin-bottom: 5px;
}
.footer-nav a { color: var(--text-secondary); font-size: 14px; font-weight: 600; transition: color 0.2s, transform 0.2s; }
.footer-nav a:hover { color: var(--ink); transform: translateX(2px); }
.footer-copy {
  max-width: var(--maxw); margin: 44px auto 0; padding-top: 24px;
  border-top: 1px solid var(--border);
  text-align: center; color: var(--text-tertiary); font-size: 13px;
}

/* ---------- Reveal animation ---------- */
.reveal { opacity: 0; transform: translateY(16px); transition: opacity 0.6s ease, transform 0.6s ease; }
.reveal.in { opacity: 1; transform: none; }

/* ---------- Card icons (SVG) ---------- */
.card-icon svg { width: 26px; height: 26px; }

/* ---------- Dual platform ---------- */
.dual-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.dual-card { position: relative; overflow: hidden; }
.dual-head { display: flex; align-items: center; gap: 12px; }
.dual-head h3 { font-size: 20px; font-weight: 750; letter-spacing: -0.01em; }
.dual-badge {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 5px 12px; border-radius: 999px;
  font-size: 12px; font-weight: 800; letter-spacing: 0.02em;
  background: var(--ink); color: #f5f2eb;
  flex-shrink: 0;
}
.dual-badge::before { content: ""; width: 6px; height: 6px; border-radius: 99px; background: #f5f2eb; }
.dual-badge.web { background: var(--success); }
.dual-desc { margin-top: 12px; color: var(--text-secondary); font-size: 15px; }

/* ---------- Gallery ---------- */
.gallery { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; margin-top: 48px; }
.shot { border-radius: 20px; overflow: hidden; border: 1px solid var(--border); background: var(--surface); box-shadow: var(--shadow-sm); transition: transform 0.25s ease, box-shadow 0.25s ease; }
.shot:hover { transform: translateY(-5px); box-shadow: var(--shadow); }
.shot img { width: 100%; height: auto; display: block; }
.shot figcaption {
  display: flex; align-items: center; gap: 8px;
  padding: 14px 18px; font-size: 13.5px; font-weight: 700; color: var(--ink-2);
}
.shot figcaption::before { content: ""; width: 7px; height: 7px; border-radius: 99px; background: var(--success); flex-shrink: 0; }

/* ---------- X link ---------- */
.x-link { display: inline-flex; align-items: center; gap: 8px; }
.nav-x { color: var(--text-secondary); transition: color 0.2s; }
.nav-x:hover { color: var(--ink); }
.nav-x svg { width: 18px; height: 18px; }

/* ---------- FAQ link ---------- */
.faq a { color: var(--ink); font-weight: 700; text-decoration: underline; text-underline-offset: 3px; }

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; gap: 56px; padding-top: 56px; }
  .hero-visual { order: -1; padding: 0; }
  .cards, .steps { grid-template-columns: 1fr 1fr; }
  .dual-grid { grid-template-columns: 1fr; }
  .showcase-grid { grid-template-columns: 1fr; gap: 40px; }
  .footer-grid { grid-template-columns: 1fr; gap: 34px; }
  .nav-links { display: none; }
  .nav-burger { display: block; margin-left: auto; }
  .nav-cta { display: none; }
}
@media (max-width: 560px) {
  .cards, .steps { grid-template-columns: 1fr; }
  .gallery { grid-template-columns: 1fr; gap: 16px; }
  .hero-stats { gap: 24px; }
  .section { padding: 64px 20px; }
  .hero-tag { padding: 8px 11px; }
  .tag-a { top: 12px; left: 12px; }
  .tag-b { bottom: 12px; right: 12px; }
}
