:root {
  --bg: #ffffff;
  --bg-strong: #fafafa;
  --bg-secondary: #f7f7f8;
  --panel: #ffffff;
  --line: #efefef;
  --ink: #1d1d1f;
  --muted: #86868b;
  --accent: #1d1d1f;
  --accent-text: #ffffff;
  --glass: rgba(255, 255, 255, 0.9);
  --shadow: 0 8px 32px rgba(0, 0, 0, 0.06);
  --shadow-heavy: 0 32px 80px rgba(0, 0, 0, 0.12);
  /* 主图专用分层阴影 */
  --img-bg: #f5f5f7;               /* 极淡灰底，让透明PNG不再泛白发灰 */
  --shadow-lift: rgba(0,0,0,0.08);  /* 高处悬浮 */
  --shadow-spread: rgba(0,0,0,0.04);/* 中层扩散 */
  --shadow-edge: rgba(0,0,0,0.06);  /* 近处贴合 */
  --brand-icon-bg: #ffffff;
  --brand-icon-filter: saturate(1.14) contrast(1.06) brightness(1.04);
  --brand-egg-glow: rgba(65, 124, 255, 0.22);
  --radius-xl: 12px;
  --radius-lg: 8px;
  --radius-md: 6px;
  --max-width: 1140px;
}

:root[data-theme="dark"] {
  --bg: #141416;
  --bg-strong: #1d1d1f;
  --bg-secondary: #1a1a1c;
  --panel: #242426;
  --line: #3a3a3c;
  --ink: #f5f5f7;
  --muted: #a1a1a6;
  --accent: #ffffff;
  --accent-text: #000000;
  --glass: rgba(20, 20, 22, 0.85);
  --shadow: 0 8px 32px rgba(0, 0, 0, 0.5);
  --shadow-heavy: 0 40px 100px rgba(0, 0, 0, 0.85);
  --img-bg: #1c1c1e;
  --shadow-lift: rgba(0,0,0,0.6);
  --shadow-spread: rgba(0,0,0,0.4);
  --shadow-edge: rgba(0,0,0,0.5);
  --brand-icon-bg: #1c1c1e;
  --brand-icon-filter: none;
  --brand-egg-glow: rgba(118, 164, 255, 0.2);
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #141416;
    --bg-strong: #1d1d1f;
    --bg-secondary: #1a1a1c;
    --panel: #242426;
    --line: #3a3a3c;
    --ink: #f5f5f7;
    --muted: #a1a1a6;
    --accent: #ffffff;
    --accent-text: #000000;
    --glass: rgba(20, 20, 22, 0.85);
    --shadow: 0 8px 32px rgba(0, 0, 0, 0.5);
    --shadow-heavy: 0 40px 100px rgba(0, 0, 0, 0.85);
  }
}

.theme-toggle {
  display: inline-flex; align-items: center; justify-content: center;
  width: 36px; height: 36px; border-radius: 8px;
  background: transparent; border: 1px solid transparent;
  color: var(--muted); cursor: pointer; transition: all 150ms ease;
}
.theme-toggle:hover { background: var(--bg-strong); color: var(--ink); }
.theme-toggle svg { width: 20px; height: 20px; fill: currentColor; }
.header-actions { display: flex; align-items: center; gap: 8px; }
.lang-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 56px;
  height: 36px;
  padding: 0 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--muted);
  background: transparent;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.02em;
  transition: all 150ms ease;
}
.lang-toggle:hover {
  color: var(--ink);
  background: var(--bg-strong);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0; color: var(--ink);
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", sans-serif;
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  line-height: 1.5;
}
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
.page-shell { position: relative; overflow: hidden; }
.site-header, .hero, .signal-strip, .section { width: min(calc(100% - 40px), var(--max-width)); margin-inline: auto; }

.site-header {
  position: sticky; top: 0; z-index: 10;
  display: flex; align-items: center; justify-content: space-between; gap: 20px;
  padding: 18px 0; background: var(--glass);
  backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--line);
}
.brand { display: inline-flex; align-items: center; gap: 12px; }
.brand-mark {
  width: 72px; height: 72px; border-radius: 16px; overflow: hidden; border: 1px solid var(--line);
  background: var(--brand-icon-bg);
  transform-origin: center;
  will-change: transform, box-shadow;
}
.brand-mark img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: var(--brand-icon-filter);
  transition: filter 160ms ease;
  transform-origin: center;
  will-change: transform;
}
.brand-mark.egg-active {
  animation: brandMarkEggPop 520ms cubic-bezier(0.2, 0.85, 0.26, 1);
}
.brand-mark.egg-active img {
  animation: brandIconEggPop 520ms cubic-bezier(0.2, 0.85, 0.26, 1);
}

.brand-mark.egg-secret {
  animation: brandMarkSecretBurst 2200ms cubic-bezier(0.2, 0.85, 0.26, 1);
}
.brand-mark.egg-secret img {
  animation: brandIconSecretBurst 2200ms cubic-bezier(0.2, 0.85, 0.26, 1);
}

@keyframes brandMarkEggPop {
  0% {
    transform: translateY(0) scale(1);
    box-shadow: 0 0 0 var(--brand-egg-glow);
  }
  36% {
    transform: translateY(-2px) scale(1.045);
    box-shadow: 0 10px 24px var(--brand-egg-glow);
  }
  72% {
    transform: translateY(0) scale(0.988);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
  }
  100% {
    transform: translateY(0) scale(1);
    box-shadow: 0 0 0 rgba(0, 0, 0, 0);
  }
}

@keyframes brandIconEggPop {
  0% { transform: scale(1) rotate(0deg); }
  36% { transform: scale(1.05) rotate(-1.6deg); }
  72% { transform: scale(0.99) rotate(0.9deg); }
  100% { transform: scale(1) rotate(0deg); }
}

@keyframes brandMarkSecretBurst {
  0% {
    transform: scale(1);
    box-shadow: 0 0 0 rgba(0, 0, 0, 0);
  }
  12% {
    transform: scale(1.07);
    box-shadow:
      0 0 0 2px rgba(255, 115, 115, 0.35),
      0 0 18px rgba(255, 199, 102, 0.45),
      0 0 36px rgba(105, 168, 255, 0.45);
  }
  28% {
    transform: scale(1.02);
    box-shadow:
      0 0 0 2px rgba(143, 214, 126, 0.38),
      0 0 20px rgba(88, 170, 255, 0.4);
  }
  52% {
    transform: scale(1.05);
    box-shadow:
      0 0 0 1px rgba(170, 132, 255, 0.32),
      0 0 18px rgba(255, 126, 181, 0.35);
  }
  100% {
    transform: scale(1);
    box-shadow: 0 0 0 rgba(0, 0, 0, 0);
  }
}

@keyframes brandIconSecretBurst {
  0% {
    transform: scale(1) rotate(0deg);
    filter: var(--brand-icon-filter) hue-rotate(0deg);
  }
  18% {
    transform: scale(1.08) rotate(-4deg);
    filter: var(--brand-icon-filter) hue-rotate(22deg) saturate(1.35);
  }
  46% {
    transform: scale(1.03) rotate(3deg);
    filter: var(--brand-icon-filter) hue-rotate(-18deg) saturate(1.28);
  }
  72% {
    transform: scale(1.06) rotate(-2deg);
    filter: var(--brand-icon-filter) hue-rotate(12deg) saturate(1.25);
  }
  100% {
    transform: scale(1) rotate(0deg);
    filter: var(--brand-icon-filter) hue-rotate(0deg);
  }
}
.brand-copy { display: grid; gap: 2px; }
.brand-copy strong { font-size: 16px; font-weight: 600; }
.brand-copy span, .site-nav a { color: var(--muted); font-size: 14px; }
.site-nav { display: inline-flex; align-items: center; gap: 24px; font-size: 14px; }

.nav-cta, .button {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 40px; padding: 0 20px; border-radius: 6px; font-size: 14px; font-weight: 500;
  transition: all 150ms ease;
}
.nav-cta, .button-primary { color: var(--accent-text); background: var(--accent); border: 1px solid transparent; }
.button-secondary { color: var(--ink); background: var(--panel); border: 1px solid var(--line); }
.nav-cta:hover, .button-primary:hover { opacity: 0.9; }
.button-secondary:hover { background: var(--bg-strong); }

.hero { display: grid; grid-template-columns: 0.85fr 1.15fr; gap: 60px; align-items: center; padding: 100px 0 60px; }
.eyebrow { margin: 0 0 16px; color: var(--muted); font-size: 12px; font-weight: 600; letter-spacing: 0.05em; text-transform: uppercase; }
.hero h1, .section-heading h2, .download-card h2, .workflow-copy h2 {
  margin: 0; font-size: clamp(2.5rem, 5vw, 4rem); line-height: 1.1; font-weight: 600; letter-spacing: -0.02em;
}
.hero-text, .section-heading, .download-card p, .workflow-copy, .faq-item p, .feature-card p, .plan-card li { color: var(--muted); }
.hero-text { max-width: 500px; margin: 24px 0 0; font-size: 18px; line-height: 1.6; }
.hero-actions { display: flex; gap: 12px; margin-top: 32px; }
.hero-meta { display: flex; flex-wrap: wrap; gap: 16px; margin: 32px 0 0; padding: 0; list-style: none; }
.hero-meta li { color: var(--muted); font-size: 13px; }

.hero-visual {
  position: relative;
  min-height: 480px;
  display: flex;
  align-items: start;
  justify-content: center;
}

/* 增加背景淡光晕 */
.hero-visual::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 80%;
  height: 80%;
  background: radial-gradient(
    circle,
    rgba(124, 112, 255, 0.15) 0%,
    rgba(255, 112, 218, 0.08) 40%,
    transparent 70%
  );
  filter: blur(60px);
  z-index: -1;
  pointer-events: none;
}

.hero-visual img.real-app-screenshot {
  width: 100%;
  max-width: 660px;
  height: auto;
  border-radius: 12px;
  border: none;
  background-color: var(--img-bg);
  object-fit: contain;
  /* 多层阴影：第一层制造悬浮高度感，第二层制造柔和扩散，第三层贴近边缘增加实体感 */
  box-shadow:
    0 24px 60px var(--shadow-lift),
    0 8px 24px var(--shadow-spread),
    0 2px 6px var(--shadow-edge);
  /* 浮动动画 */
  animation: floating 6s ease-in-out infinite;
}

@keyframes floating {
  0% { transform: translateY(0px); }
  50% { transform: translateY(-10px); }
  100% { transform: translateY(0px); }
}

.signal-strip {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px;
  padding: 40px 0; border: none; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line);
}
.signal-strip div { padding: 0; }
.signal-strip strong { display: block; font-size: 16px; font-weight: 600; }
.signal-strip span { display: block; margin-top: 6px; color: var(--muted); font-size: 14px; }

.section { padding: 80px 0 0; }
.section-heading { max-width: 600px; }
.section-heading h2 { font-size: clamp(2rem, 4vw, 3rem); }

.feature-grid { 
  display: grid; 
  grid-template-columns: repeat(3, 1fr); 
  gap: 20px; 
  margin-top: 48px; 
}

.feature-card { 
  position: relative;
  padding: 0; 
  border: 1px solid var(--line); 
  border-radius: 24px; 
  overflow: hidden; 
  display: flex; 
  flex-direction: column; 
  background: var(--bg-secondary);
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.feature-card:hover {
  transform: translateY(-4px);
  border-color: var(--accent);
  box-shadow: 0 12px 32px -8px rgba(0, 0, 0, 0.2);
}

.feature-card.col-span-2 { 
  grid-column: span 2; 
  flex-direction: row; 
  align-items: stretch;
}

.feature-info { 
  padding: 32px; 
  display: flex; 
  flex-direction: column; 
  justify-content: center;
  flex: 1;
}

.feature-card.col-span-2 .feature-info {
  max-width: 45%;
}

.feature-visual { 
  width: 100%; 
  aspect-ratio: 16 / 10; 
  background-color: var(--bg-strong); 
  overflow: hidden; 
  border-bottom: 1px solid var(--line); 
}

.feature-card.col-span-2 .feature-visual {
  width: 55%;
  height: 100%;
  aspect-ratio: auto;
  border-bottom: none;
  border-right: 1px solid var(--line);
}

.feature-visual img { 
  width: 100%; 
  height: 100%; 
  object-fit: cover; 
  transition: transform 0.8s cubic-bezier(0.16, 1, 0.3, 1); 
}

.feature-card:hover .feature-visual img { 
  transform: scale(1.05); 
}

.feature-index { 
  color: var(--accent); 
  font-size: 14px; 
  font-weight: 700; 
  margin-bottom: 12px;
  opacity: 0.8;
}

.feature-card h3 {
  font-size: 20px;
  margin: 0;
  line-height: 1.3;
}

.feature-card p { 
  margin: 12px 0 0; 
  font-size: 14px; 
  line-height: 1.6; 
  color: var(--muted);
}

/* Tablet / Laptop small */
@media (max-width: 1024px) {
  .feature-grid { grid-template-columns: repeat(2, 1fr); }
  .feature-card.col-span-2 { grid-column: span 2; }
}

/* Mobile */
@media (max-width: 768px) {
  .feature-grid { grid-template-columns: 1fr; }
  .feature-card.col-span-2 { grid-column: span 1; flex-direction: column; }
  .feature-card.col-span-2 .feature-info { max-width: 100%; }
  .feature-card.col-span-2 .feature-visual { width: 100%; height: auto; aspect-ratio: 16 / 10; border-right: none; border-bottom: 1px solid var(--line); }
}

.workflow { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.workflow-copy { font-size: 16px; }
.workflow-steps { display: grid; gap: 24px; margin: 32px 0 0; padding: 0; list-style: none; }
.workflow-steps li { display: grid; gap: 4px; padding-bottom: 24px; border-bottom: 1px solid var(--line); }
.workflow-steps strong { font-size: 16px; font-weight: 600; color: var(--ink); }
.workflow-steps span { font-size: 14px; }

.workflow-stack { position: relative; min-height: 400px; }
.stack-card { position: absolute; border-radius: 8px; border: 1px solid var(--line); box-shadow: var(--shadow); background: var(--panel); overflow: hidden; }
.stack-main { inset: 0 40px 40px 0; padding: 12px; }
.stack-side { left: auto; right: 0; bottom: 0; width: 260px; padding: 12px; background: var(--bg-strong); }
img.workflow-screenshot { width: 100%; height: auto; border-radius: 4px; border: 1px solid var(--line); }

.plan-grid { grid-template-columns: repeat(2, 1fr); gap: 40px; }
.plan-grid { display: grid; }
.plan-card { padding: 40px; border-radius: 8px; border: 1px solid var(--line); background: var(--panel); }
.plan-card.featured { border-color: var(--ink); border-width: 2px; }
.plan-name { margin: 0; color: var(--ink); font-size: 12px; font-weight: 600; text-transform: uppercase; letter-spacing: 0.1em; }
.plan-subtitle {
  margin: 8px 0 0;
  font-size: 14px;
  color: var(--muted);
}
.plan-price-meta {
  margin: 12px 0 0;
  font-size: 13px;
  color: var(--muted);
}
.plan-price-meta span {
  text-decoration: line-through;
  text-decoration-thickness: 1.5px;
}
.plan-price-reference {
  margin: 8px 0 0;
  font-size: 13px;
  color: var(--muted);
}
.plan-card h3 {
  margin: 10px 0 0;
  font-size: 34px;
  line-height: 1.1;
}
.plan-card h3 span {
  color: var(--accent);
}
.plan-card ul { display: grid; gap: 12px; margin: 24px 0 0; padding-left: 20px; font-size: 14px; }
.pricing-note {
  margin: 20px 0 0;
  font-size: 13px;
  color: var(--muted);
}

.download { padding-bottom: 40px; }
.download-card {
  display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: center;
  padding: 60px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line);
}
.download-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.faq-list { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; padding-bottom: 100px; }
.faq-item {
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--panel);
}
.faq-item p { font-size: 14px; margin: 12px 0 0; line-height: 1.72;}
.faq-item h3 { margin: 6px 0 0; font-size: 16px; font-weight: 500; color: var(--ink);}
.faq-item a {
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 2px;
}

.proof-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  align-content: start;
}

.proof-card {
  margin: 0;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--panel);
}

.proof-card img {
  width: 100%;
  height: auto;
  border-radius: 8px;
  border: 1px solid var(--line);
  background: var(--bg-strong);
}

.proof-card figcaption {
  margin-top: 8px;
  font-size: 12px;
  color: var(--muted);
}

#payment-flow {
  grid-template-columns: minmax(280px, 0.84fr) minmax(520px, 1.16fr);
  gap: 40px;
  align-items: start;
}

#payment-flow .workflow-copy {
  max-width: none;
}

#payment-flow .proof-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  max-width: 920px;
}

#payment-flow .proof-card {
  padding: 12px;
  border-radius: 12px;
  background: linear-gradient(180deg, var(--panel) 0%, var(--bg-secondary) 100%);
  overflow: hidden;
  outline: none;
  transition: transform 220ms ease, box-shadow 220ms ease;
}

#payment-flow .proof-card figcaption {
  font-size: 12px;
}

#payment-flow .proof-card.is-featured {
  grid-column: span 2;
}

#payment-flow .proof-card img {
  width: 100%;
  height: auto;
  object-fit: contain;
  transform-origin: center;
  transition: transform 220ms ease;
}

#payment-flow .proof-card:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

@media (hover: hover) and (pointer: fine) {
  #payment-flow .proof-card:hover,
  #payment-flow .proof-card:focus-visible {
    transform: translateY(-3px);
    box-shadow: 0 14px 28px rgba(0, 0, 0, 0.12);
  }

  #payment-flow .proof-card:hover img,
  #payment-flow .proof-card:focus-visible img {
    transform: scale(1.03);
  }
}

.roadmap-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
  margin-top: 36px;
}

.roadmap-list article {
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--panel);
}

.roadmap-list h3 {
  margin: 0;
  font-size: 18px;
}

.roadmap-list p {
  margin: 10px 0 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.65;
}

.site-footer {
  width: min(calc(100% - 40px), var(--max-width));
  margin: 0 auto 40px;
  padding: 28px 0 0;
  border-top: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.footer-copy {
  display: grid;
  gap: 4px;
}

.footer-copy strong {
  font-size: 14px;
  font-weight: 600;
}

.footer-copy span,
.footer-links a {
  color: var(--muted);
  font-size: 13px;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
}

.policy-shell {
  width: min(calc(100% - 40px), 920px);
  margin: 0 auto;
  padding: 88px 0 40px;
}

.policy-hero {
  padding: 0 0 28px;
  border-bottom: 1px solid var(--line);
}

.policy-hero h1 {
  margin: 0;
  font-size: clamp(2.2rem, 4.5vw, 3.4rem);
  line-height: 1.08;
  letter-spacing: -0.02em;
}

.policy-lead,
.policy-meta,
.policy-card p,
.policy-list li {
  color: var(--muted);
}

.policy-lead {
  margin: 22px 0 0;
  font-size: 17px;
  line-height: 1.72;
  max-width: 760px;
}

.policy-meta {
  margin: 18px 0 0;
  font-size: 13px;
}

.policy-card {
  padding: 30px 0;
  border-bottom: 1px solid var(--line);
}

.policy-card h2 {
  margin: 0 0 14px;
  font-size: 24px;
  line-height: 1.3;
}

.policy-card p {
  margin: 0;
  font-size: 15px;
  line-height: 1.85;
}

.policy-card p + p {
  margin-top: 16px;
}

.policy-list {
  margin: 14px 0 0;
  padding-left: 20px;
  display: grid;
  gap: 12px;
}

.policy-list li {
  font-size: 15px;
  line-height: 1.8;
}

.policy-contact code {
  font-size: 14px;
}

.policy-footer {
  margin-top: 28px;
  margin-bottom: 0;
  padding-top: 24px;
}

.reveal { opacity: 0; transform: translateY(16px); transition: opacity 600ms ease, transform 600ms ease; }
.reveal.is-visible { opacity: 1; transform: translateY(0); }

@media (max-width: 800px) {
  .brand-mark { width: 56px; height: 56px; border-radius: 12px; }
  .hero, .workflow, .download-card, .plan-grid, .feature-grid, .faq-list, .signal-strip, .proof-grid, .roadmap-list { grid-template-columns: 1fr; }
  .hero-visual { min-height: auto; }
  .stack-main { position: relative; inset: auto; }
  .stack-side { position: relative; width: 100%; margin-top: 20px; }
  .site-header, .site-footer { flex-direction: column; align-items: flex-start; }
  .site-nav { flex-wrap: wrap; gap: 14px; }
  .policy-shell { padding-top: 60px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal { opacity: 1; transform: none; }
}
