/* =========================================================
   SUSU 落地页样式
   设计 token 与 ui/原型 assets/css/production.css 保持一致
   ========================================================= */

:root {
  --primary: #6f5bd3;
  --primary-deep: #5140aa;
  --primary-light: #8f7de8;
  --primary-soft: #f1edff;
  --ink: #18162a;
  --text: #343047;
  --muted: #7d788f;
  --faint: #aaa5b8;
  --line: rgba(79, 68, 127, 0.12);
  --line-strong: rgba(79, 68, 127, 0.2);
  --surface: #fbfaff;
  --soft: #f5f2ff;
  --card: rgba(255, 255, 255, 0.92);
  --danger: #c65365;
  --shadow-sm: 0 8px 24px rgba(62, 48, 124, 0.08);
  --shadow-md: 0 18px 48px rgba(62, 48, 124, 0.14);
  --shadow-lg: 0 32px 80px rgba(52, 38, 116, 0.22);
  --ease: cubic-bezier(0.2, 0.8, 0.2, 1);
  --grad: linear-gradient(135deg, #8f7de8, #6f5bd3 55%, #5140aa);
  --radius-lg: 28px;
  --radius-md: 20px;
}

* { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display", "PingFang SC",
    "Microsoft YaHei", "Segoe UI", sans-serif;
  font-weight: 400;
  color: var(--text);
  line-height: 1.7;
  background:
    radial-gradient(56rem 38rem at 10% -6%, rgba(143, 125, 232, 0.16), transparent 60%),
    radial-gradient(48rem 34rem at 92% 12%, rgba(183, 77, 252, 0.1), transparent 62%),
    radial-gradient(60rem 44rem at 50% 118%, rgba(143, 125, 232, 0.14), transparent 62%),
    var(--surface);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

h1, h2, h3 {
  color: var(--ink);
  font-weight: 700;
  line-height: 1.28;
  margin: 0 0 0.5em;
  letter-spacing: 0.01em;
}

p { margin: 0 0 1em; }
a { color: var(--primary); text-decoration: none; }
img { max-width: 100%; }

.wrap {
  width: min(1120px, calc(100% - 48px));
  margin: 0 auto;
}
.wrap-narrow { width: min(760px, calc(100% - 48px)); }

/* ---------------- 通用元素 ---------------- */

.eyebrow {
  display: inline-block;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--primary);
  margin: 0 0 14px;
}

.eyebrow-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 16px;
  border-radius: 999px;
  background: var(--primary-soft);
  border: 1px solid rgba(111, 91, 211, 0.22);
  color: var(--primary-deep);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.08em;
  margin: 0 0 22px;
}
.eyebrow-pill::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--grad);
}

.grad-text {
  white-space: nowrap;
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border: 0;
  cursor: pointer;
  font-family: inherit;
  font-weight: 700;
  border-radius: 999px;
  transition: transform 0.16s var(--ease), box-shadow 0.16s var(--ease), background 0.16s var(--ease);
  will-change: transform;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }

.btn-primary {
  background: var(--grad);
  color: #fff;
  padding: 14px 30px;
  font-size: 15.5px;
  box-shadow: 0 12px 28px rgba(111, 91, 211, 0.38);
}
.btn-primary:hover { box-shadow: 0 16px 34px rgba(111, 91, 211, 0.46); }
.btn-sm { padding: 10px 22px; font-size: 14px; }

.btn-store {
  background: #fff;
  color: var(--ink);
  border: 1px solid var(--line-strong);
  padding: 12px 24px 12px 20px;
  box-shadow: var(--shadow-sm);
  gap: 12px;
}
.btn-store svg { width: 26px; height: 26px; flex: none; }
.btn-store span {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  line-height: 1.25;
  font-size: 16px;
  font-weight: 700;
}
.btn-store small {
  font-size: 11px;
  font-weight: 400;
  color: var(--muted);
  letter-spacing: 0.04em;
}
.btn-store:hover { border-color: rgba(111, 91, 211, 0.45); box-shadow: var(--shadow-md); }

.btn-store-light {
  background: rgba(255, 255, 255, 0.14);
  border-color: rgba(255, 255, 255, 0.32);
  color: #fff;
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}
.btn-store-light small { color: rgba(255, 255, 255, 0.72); }
.btn-store-light:hover { background: rgba(255, 255, 255, 0.22); box-shadow: 0 16px 34px rgba(20, 12, 60, 0.3); }

/* ---------------- 手机样机 ---------------- */

.phone {
  position: relative;
  margin: 0;
  width: 100%;
  border-radius: 46px;
  background: #14121f;
  padding: 9px;
  box-shadow: var(--shadow-lg), 0 0 0 1px rgba(255, 255, 255, 0.55) inset;
}
.phone img {
  display: block;
  width: 100%;
  border-radius: 38px;
}
/* 灵动岛（截图自带状态栏，中间留白处覆盖） */
.phone::after {
  content: "";
  position: absolute;
  top: calc(9px + 2.1%);
  left: 50%;
  transform: translateX(-50%);
  width: 27%;
  height: 2.55%;
  border-radius: 999px;
  background: #14121f;
}

/* ---------------- 顶部导航 ---------------- */

.nav {
  position: fixed;
  inset: 0 0 auto;
  z-index: 50;
  transition: background 0.16s var(--ease), box-shadow 0.16s var(--ease), border-color 0.16s var(--ease);
  border-bottom: 1px solid transparent;
}
.nav.scrolled {
  background: rgba(251, 250, 255, 0.82);
  backdrop-filter: blur(14px) saturate(1.4);
  -webkit-backdrop-filter: blur(14px) saturate(1.4);
  border-bottom-color: var(--line);
  box-shadow: 0 6px 24px rgba(62, 48, 124, 0.06);
}
.nav-inner {
  width: min(1120px, calc(100% - 48px));
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 28px;
  height: 68px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 21px;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: var(--ink);
}
.brand img { border-radius: 9px; box-shadow: var(--shadow-sm); }
.nav-links {
  display: flex;
  gap: 26px;
  margin-left: auto;
}
.nav-links a {
  color: var(--text);
  font-size: 14.5px;
  font-weight: 500;
  transition: color 0.16s var(--ease);
}
.nav-links a:hover { color: var(--primary); }
.nav .btn { margin-left: 8px; }
.nav-links + .btn { margin-left: 0; }
.nav-inner > .btn { margin-left: auto; }
.nav-inner:has(.nav-links) > .btn { margin-left: 0; }

/* ---------------- Hero ---------------- */

.hero {
  position: relative;
  padding: 158px 0 96px;
}
.hero-inner {
  width: min(1180px, calc(100% - 48px));
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.04fr 0.96fr;
  gap: 48px;
  align-items: center;
}
.hero h1 {
  font-size: clamp(34px, 4.2vw, 54px);
  margin-bottom: 20px;
}
.hero-sub {
  font-size: 17.5px;
  color: var(--muted);
  max-width: 32em;
  margin-bottom: 30px;
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 14px;
}
.hero-actions-center { justify-content: center; }
.hero-note {
  font-size: 13px;
  color: var(--faint);
  margin-bottom: 22px;
}
.hero-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  list-style: none;
  padding: 0;
  margin: 0;
}
.hero-tags li {
  padding: 6px 15px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid var(--line);
  color: var(--muted);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.12em;
}

/* Hero 手机组合 */

.hero-phones {
  position: relative;
  padding: 12px 0 30px;
}
.hero-phones .phone { width: 46%; }
.phone-back {
  position: absolute;
  left: 0;
  top: 6%;
  transform: rotate(-7deg);
  opacity: 0.96;
}
.phone-front {
  position: relative;
  margin-left: auto;
  width: 52% !important;
  transform: rotate(3.5deg);
  z-index: 2;
}

.float-chip {
  position: absolute;
  z-index: 3;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 11px 17px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.7);
  box-shadow: var(--shadow-md);
  color: var(--text);
  font-size: 13px;
  font-weight: 500;
  line-height: 1.5;
  animation: floaty 5.2s ease-in-out infinite;
}
.chip-quote {
  left: -4%;
  top: 40%;
  max-width: 15em;
  animation-delay: -2.4s;
}
.chip-export {
  right: 2%;
  bottom: 4%;
  color: var(--primary-deep);
  font-weight: 700;
}
.chip-export .dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--grad);
  box-shadow: 0 0 0 4px rgba(111, 91, 211, 0.16);
}
@keyframes floaty {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-9px); }
}
@media (prefers-reduced-motion: reduce) {
  .float-chip { animation: none; }
  html { scroll-behavior: auto; }
}

/* ---------------- 为谁而生 ---------------- */

.audience { padding: 8px 0 26px; }
.audience-line {
  text-align: center;
  font-size: clamp(16px, 2vw, 19px);
  color: var(--muted);
  margin: 0;
}
.audience-line em {
  font-style: normal;
  font-weight: 700;
  color: var(--primary-deep);
}
.audience-dot { margin: 0 14px; color: var(--faint); }

/* ---------------- 区块通用 ---------------- */

.section { padding: 88px 0; }
.section-tinted {
  background: linear-gradient(180deg, rgba(241, 237, 255, 0.55), rgba(241, 237, 255, 0.15));
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.section-head { text-align: center; max-width: 640px; margin: 0 auto 56px; }
.section-head h2 { font-size: clamp(28px, 3.4vw, 40px); }
.section-sub { color: var(--muted); font-size: 16.5px; margin: 0; }

/* ---------------- 功能分区 ---------------- */

.feature {
  display: grid;
  grid-template-columns: 0.92fr 1.08fr;
  gap: clamp(36px, 6vw, 88px);
  align-items: center;
  padding: 44px 0;
}
.feature + .feature { border-top: 1px dashed var(--line-strong); }
.feature-flip .feature-copy { order: 2; }
.feature-flip .feature-visual { order: 1; }

.feature-copy h3 { font-size: clamp(25px, 2.8vw, 33px); margin-bottom: 14px; }
.feature-desc { color: var(--muted); font-size: 16.5px; margin-bottom: 22px; }

.check-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 13px;
}
.check-list li {
  position: relative;
  padding-left: 34px;
  font-size: 15.5px;
  font-weight: 500;
  color: var(--text);
}
.check-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 1px;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--primary-soft);
  border: 1px solid rgba(111, 91, 211, 0.28);
}
.check-list li::after {
  content: "";
  position: absolute;
  left: 6.5px;
  top: 7px;
  width: 9px;
  height: 5px;
  border-left: 2px solid var(--primary);
  border-bottom: 2px solid var(--primary);
  transform: rotate(-45deg);
}

.feature-visual { position: relative; display: flex; justify-content: center; }
.feature-visual .phone {
  width: min(320px, 78%);
  position: relative;
  z-index: 2;
}
.blob {
  position: absolute;
  inset: -8% -4%;
  background:
    radial-gradient(24rem 20rem at 30% 24%, rgba(143, 125, 232, 0.2), transparent 66%),
    radial-gradient(20rem 18rem at 74% 78%, rgba(183, 77, 252, 0.14), transparent 64%);
  border-radius: 50%;
  filter: blur(2px);
}

.feature-duo { gap: 0; padding: 10px 0; }
.feature-duo .phone {
  width: min(258px, 62%);
  border-radius: 38px;
}
.feature-duo .phone img { border-radius: 30px; }
.phone-tilt-l { transform: rotate(-5deg) translateY(14px); z-index: 1; }
.phone-tilt-r { transform: rotate(4deg) translateY(-8px); margin-left: -7%; z-index: 2; }

/* ---------------- 创作流程 ---------------- */

.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
  list-style: none;
  padding: 0;
  margin: 0;
  counter-reset: step;
}
.step {
  position: relative;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 16px 20px 24px;
  box-shadow: var(--shadow-sm);
  transition: transform 0.16s var(--ease), box-shadow 0.16s var(--ease);
}
.step:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); }
/* 步骤卡缩略图：真机比例的手机样机，底部渐隐收进卡片 */
.step-thumb {
  margin: 0 0 18px;
  height: 340px;
  overflow: hidden;
  -webkit-mask-image: linear-gradient(180deg, #000 74%, transparent 98%);
  mask-image: linear-gradient(180deg, #000 74%, transparent 98%);
}
.phone-crop {
  width: 88%;
  margin: 0 auto;
  border-radius: 34px;
  padding: 7px;
  box-shadow: var(--shadow-md);
}
.phone-crop img { border-radius: 27px; }
.phone-crop::after { top: calc(7px + 2.1%); }
.step-thumb img { width: 100%; display: block; }
.step-no {
  display: inline-block;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.18em;
  color: var(--primary);
  margin-bottom: 6px;
}
.step h3 { font-size: 19px; margin-bottom: 6px; }
.step p { font-size: 14px; color: var(--muted); margin: 0; }

/* ---------------- 更多细节 grid ---------------- */

.grid-6 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
.cell {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 28px 26px;
  box-shadow: var(--shadow-sm);
  transition: transform 0.16s var(--ease), box-shadow 0.16s var(--ease), border-color 0.16s var(--ease);
}
.cell:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: rgba(111, 91, 211, 0.3);
}
.cell-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  border-radius: 15px;
  background: var(--primary-soft);
  color: var(--primary);
  margin-bottom: 16px;
}
.cell-icon svg { width: 24px; height: 24px; }
.cell h3 { font-size: 17.5px; margin-bottom: 6px; }
.cell p { font-size: 14.5px; color: var(--muted); margin: 0; }

/* ---------------- 画廊 marquee ---------------- */

.gallery-section { overflow: hidden; }
.marquee {
  overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent);
}
.marquee-track {
  display: flex;
  gap: 28px;
  width: max-content;
  padding: 26px 14px;
  animation: marquee 52s linear infinite;
}
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee .phone-mini {
  width: 216px;
  border-radius: 28px;
  padding: 6px;
}
.marquee .phone-mini img { border-radius: 22px; }
.marquee .phone-mini::after { top: calc(6px + 2.1%); }
@keyframes marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}
@media (prefers-reduced-motion: reduce) {
  .marquee-track { animation: none; flex-wrap: wrap; justify-content: center; width: auto; }
}

/* ---------------- FAQ ---------------- */

.faq-list { display: grid; gap: 14px; }
.faq-list details {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 20px 24px;
  box-shadow: var(--shadow-sm);
  transition: border-color 0.16s var(--ease);
}
.faq-list details[open] { border-color: rgba(111, 91, 211, 0.32); }
.faq-list summary {
  cursor: pointer;
  font-weight: 700;
  color: var(--ink);
  font-size: 16px;
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after {
  content: "+";
  flex: none;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: var(--primary-soft);
  color: var(--primary);
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.16s var(--ease);
}
.faq-list details[open] summary::after { transform: rotate(45deg); }
.faq-list details p { margin: 12px 0 0; color: var(--muted); font-size: 15px; }

/* ---------------- 底部 CTA ---------------- */

.cta-section { padding-bottom: 110px; }
.cta-card {
  position: relative;
  overflow: hidden;
  text-align: center;
  padding: clamp(48px, 7vw, 84px) 28px;
  border-radius: 36px;
  background:
    radial-gradient(46rem 26rem at 18% -30%, rgba(255, 205, 158, 0.28), transparent 58%),
    radial-gradient(40rem 24rem at 84% 128%, rgba(253, 157, 251, 0.24), transparent 58%),
    var(--grad);
  color: #fff;
  box-shadow: 0 34px 90px rgba(81, 64, 170, 0.42);
}
.cta-card h2 {
  color: #fff;
  font-size: clamp(26px, 3.4vw, 40px);
  margin: 22px auto 12px;
  max-width: 22em;
}
.cta-card > p { color: rgba(255, 255, 255, 0.82); font-size: 16.5px; margin-bottom: 30px; }
.cta-logo {
  border-radius: 20px;
  box-shadow: 0 14px 34px rgba(20, 12, 60, 0.35);
}
.br-mobile { display: none; }

/* ---------------- 页脚 ---------------- */

.footer {
  border-top: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.6);
  padding: 48px 0 34px;
}
.footer-inner {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  align-items: flex-start;
  justify-content: space-between;
  margin-bottom: 30px;
}
.footer-brand p {
  color: var(--muted);
  font-size: 14px;
  margin: 12px 0 0;
}
.footer-nav { display: flex; flex-wrap: wrap; gap: 22px; }
.footer-nav a {
  color: var(--muted);
  font-size: 14px;
  transition: color 0.16s var(--ease);
}
.footer-nav a:hover { color: var(--primary); }
.footer-meta {
  border-top: 1px solid var(--line);
  padding-top: 22px;
}
.footer-meta p {
  color: var(--faint);
  font-size: 13px;
  margin: 0;
  text-align: center;
}
.footer-meta a {
  color: inherit;
  transition: color 0.16s var(--ease);
}
.footer-meta a:hover { color: var(--primary); }

/* ---------------- 法务页 prose ---------------- */

.prose-page main { padding: 130px 0 90px; }
.prose-card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  padding: clamp(28px, 5vw, 56px);
}
.prose-card h1 {
  font-size: clamp(26px, 3vw, 34px);
  margin-bottom: 6px;
}
.prose-card .prose-updated {
  color: var(--faint);
  font-size: 13.5px;
  margin-bottom: 34px;
}
.prose-card h2 {
  font-size: 20.5px;
  margin: 38px 0 12px;
  padding-top: 26px;
  border-top: 1px solid var(--line);
}
.prose-card h2:first-of-type { border-top: 0; padding-top: 0; }
.prose-card h3 { font-size: 17px; margin: 26px 0 10px; }
.prose-card p, .prose-card li {
  font-size: 15px;
  color: var(--text);
  margin-bottom: 12px;
}
.prose-card ol, .prose-card ul { padding-left: 22px; margin: 0 0 16px; }
.prose-card strong { color: var(--ink); }

/* ---------------- 进场动画 ---------------- */

.reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
}

/* ---------------- 响应式 ---------------- */

@media (max-width: 1024px) {
  .hero { padding-top: 132px; }
  .hero-inner { grid-template-columns: 1fr; gap: 60px; }
  .hero-copy { text-align: center; }
  .hero-sub { margin-inline: auto; }
  .hero-actions { justify-content: center; }
  .hero-tags { justify-content: center; }
  .hero-phones { max-width: 560px; margin: 0 auto; width: 100%; }
  .feature { grid-template-columns: 1fr; gap: 34px; padding: 40px 0; }
  .feature-flip .feature-copy { order: 1; }
  .feature-flip .feature-visual { order: 2; }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .grid-6 { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 640px) {
  .nav-links { display: none; }
  .nav-inner { height: 62px; }
  .section { padding: 64px 0; }
  .hero { padding: 112px 0 64px; }
  .hero h1 { font-size: clamp(31px, 8.4vw, 38px); }
  .hero-phones .phone, .hero-phones .phone-front { width: 60% !important; }
  .chip-quote { display: none; }
  .steps { grid-template-columns: 1fr; }
  .grid-6 { grid-template-columns: 1fr; }
  .feature-duo { flex-wrap: wrap; align-items: center; }
  .feature-duo .phone { width: min(258px, 74%) !important; }
  .phone-tilt-l, .phone-tilt-r { transform: none; margin-left: 0; }
  .feature-duo { gap: 22px; }
  .audience-dot { display: block; margin: 6px auto; }
  .br-mobile { display: block; }
  .footer-inner { flex-direction: column; }
}
