/* SEO 落地页 (templates/landing/layout.html)：沿用 style.css 的颜色、字体、按钮与页脚 */

.lp { background: var(--bg-0); overflow-x: hidden; }

/* ---------- 顶栏 ---------- */
.lp-bar {
  position: sticky;
  top: 0;
  z-index: 20;
  border-bottom: 1px solid var(--line-1);
  background: var(--bg-0);
  background: color-mix(in srgb, var(--bg-0) 82%, transparent);
  -webkit-backdrop-filter: blur(14px) saturate(140%);
  backdrop-filter: blur(14px) saturate(140%);
}
.lp-bar__inner { display: flex; align-items: center; gap: 24px; min-height: 60px; }
.lp-lang { display: flex; gap: 2px; margin-left: auto; padding: 3px; border: 1px solid var(--line-2); border-radius: 999px; background: var(--bg-2); }
.lp-lang a { padding: 5px 11px; border-radius: 999px; font: 500 12px/1 var(--font-ui); color: var(--text-3); white-space: nowrap; transition: color 0.15s; }
.lp-lang a:hover { color: var(--text-1); }
.lp-lang a[aria-current="page"] { background: var(--chrome); color: var(--chrome-ink); box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.5); }

/* ---------- 文字 ---------- */
.lp-eyebrow { font: 500 11px/1 var(--font-mono); letter-spacing: 0.2em; text-transform: uppercase; color: var(--accent); }
.lp-title {
  margin-top: 22px;
  font: 700 clamp(40px, 6.6vw, 92px)/0.98 var(--font-display);
  font-stretch: 112%;
  letter-spacing: -0.025em;
  color: var(--text-1);
  background: var(--metal-text);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  text-wrap: balance;
}
:lang(zh-CN) .lp-title, :lang(ja) .lp-title, :lang(ko) .lp-title { line-height: 1.1; letter-spacing: 0; }
:lang(ja) .lp-title, :lang(ja) .lp-h2, :lang(ja) .lp-final__title { word-break: auto-phrase; }
:lang(ko) .lp-title, :lang(ko) .lp-h2, :lang(ko) .lp-final__title { word-break: keep-all; }
.lp-lede { max-width: 600px; margin-top: 26px; font-size: 18px; line-height: 1.7; color: var(--text-2); text-wrap: pretty; }
.lp-lede--left { margin-top: 18px; }
.lp-h2 {
  max-width: 820px;
  font: 650 clamp(28px, 3.8vw, 46px)/1.08 var(--font-display);
  font-stretch: 108%;
  letter-spacing: -0.015em;
  color: var(--text-1);
  text-wrap: balance;
}
.lp-h2--xl { margin-top: 16px; font-size: clamp(34px, 5vw, 64px); line-height: 1.02; }
.lp-h3 { font: 500 11px/1 var(--font-mono); letter-spacing: 0.16em; text-transform: uppercase; color: var(--text-3); }

/* ---------- 首屏 ---------- */
.lp-hero {
  position: relative;
  padding: 88px 0 56px;
  border-bottom: 1px solid var(--line-1);
  background:
    radial-gradient(ellipse 55% 70% at 78% 40%, rgba(232, 180, 107, 0.13), transparent 70%),
    radial-gradient(ellipse 45% 50% at 10% 0%, rgba(158, 177, 198, 0.08), transparent 70%);
}
.lp-hero__inner { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr); align-items: center; gap: 48px; }
.lp-cta { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 20px; margin-top: 38px; }
.lp-cta .icon { width: 18px; height: 18px; margin-left: 8px; }
.lp-cta__note { font: 400 12.5px/1.5 var(--font-mono); color: var(--text-3); }

/* 三张扇形卡片 */
.lp-fan { position: relative; height: clamp(360px, 40vw, 540px); }
.lp-fan__card {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 56%;
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-3), 0 0 0 1px var(--line-3);
  transition: transform 0.5s var(--ease-out);
}
.lp-fan__card .lp-cell { border-radius: var(--radius-xl); }
.lp-fan__card--1 { z-index: 1; transform: translate(-108%, -54%) rotate(-9deg); }
.lp-fan__card--2 { z-index: 2; transform: translate(-50%, -50%) scale(1.06); }
.lp-fan__card--3 { z-index: 1; transform: translate(8%, -46%) rotate(8deg); }
.lp-fan:hover .lp-fan__card--1 { transform: translate(-116%, -56%) rotate(-12deg); }
.lp-fan:hover .lp-fan__card--3 { transform: translate(16%, -44%) rotate(11deg); }

/* 数据条 */
.lp-stats { display: grid; grid-template-columns: repeat(4, 1fr); margin-top: 64px; border-top: 1px solid var(--line-2); }
.lp-stat { padding: 22px 20px 0 0; }
.lp-stat + .lp-stat { padding-left: 20px; border-left: 1px solid var(--line-1); }
.lp-stat b {
  display: block;
  font: 650 clamp(26px, 3vw, 38px)/1 var(--font-display);
  font-stretch: 110%;
  color: var(--text-1);
  background: var(--metal-text);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.lp-stat span { display: block; margin-top: 8px; font-size: 13px; line-height: 1.5; color: var(--text-3); }

/* ---------- 图格 ---------- */
.lp-cell { position: relative; overflow: hidden; aspect-ratio: 1; border-radius: calc(var(--radius-xl) - 6px); background: var(--bg-3); }
.lp-cell img { display: block; width: 100%; height: 100%; object-fit: cover; }
.lp-cell--checker { background-color: #2b2c30; background-image: conic-gradient(#3a3b40 25%, transparent 0 50%, #3a3b40 0 75%, transparent 0); background-size: 20px 20px; }
.lp-cell--white { background: #ffffff; }
.lp-cell--checker img, .lp-cell--white img { object-fit: contain; }
.lp-cell--white img { padding: 7%; filter: drop-shadow(0 14px 14px rgba(0, 0, 0, 0.16)); }
.lp-cell__tag {
  position: absolute;
  z-index: 1;
  top: 10px;
  left: 10px;
  padding: 5px 9px;
  border-radius: 999px;
  font: 500 10.5px/1 var(--font-mono);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #eeece7;
  background: rgba(10, 10, 12, 0.62);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
}
.lp-cell__tag--after { color: var(--accent-ink); background: var(--accent); }

/* ---------- 前后对比 ---------- */
.lp-section { padding: 104px 0 0; }
.lp-section--tight { padding-top: 64px; padding-bottom: 96px; }
.lp-rows { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 520px), 1fr)); gap: 28px; margin-top: 40px; }
.lp-row { display: grid; grid-template-columns: repeat(2, 1fr); gap: 6px; padding: 6px; border: 1px solid var(--line-2); border-radius: var(--radius-xl); background: var(--bg-1); box-shadow: var(--shadow-2); }
.lp-row--3 { grid-template-columns: repeat(3, 1fr); grid-column: 1 / -1; }
.lp-row figcaption { grid-column: 1 / -1; padding: 8px 8px 6px; font-size: 13px; color: var(--text-3); }

/* ---------- 生图作品墙 ---------- */
.lp-gallery { columns: 3 300px; column-gap: 18px; margin-top: 40px; }
.lp-gen {
  position: relative;
  overflow: hidden;
  break-inside: avoid;
  margin-bottom: 18px;
  aspect-ratio: var(--ar, 1);
  border: 1px solid var(--line-2);
  border-radius: var(--radius-lg);
  background: var(--bg-2);
  box-shadow: var(--shadow-2);
}
.lp-gen img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s var(--ease-out); }
.lp-gen:hover img { transform: scale(1.03); }
.lp-gen figcaption {
  position: absolute;
  inset: auto 0 0 0;
  padding: 40px 14px 13px;
  background: linear-gradient(180deg, transparent, rgba(6, 6, 8, 0.86));
}
.lp-gen__model { display: inline-block; padding: 4px 8px; border-radius: 999px; font: 500 10.5px/1 var(--font-mono); letter-spacing: 0.06em; color: var(--accent-ink); background: var(--accent); }
.lp-gen__prompt {
  display: -webkit-box;
  overflow: hidden;
  margin-top: 8px;
  font-size: 12.5px;
  line-height: 1.5;
  color: #d8d6d0;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}
.lp-gen__prompt b { font: 500 10.5px/1 var(--font-mono); letter-spacing: 0.08em; text-transform: uppercase; color: #9a988f; }

/* ---------- 一个工作台 ---------- */
.lp-studio { position: relative; }
.lp-pillars { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 44px; }
.lp-pillar {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid var(--line-2);
  border-radius: var(--radius-xl);
  background: var(--plate);
  box-shadow: var(--plate-hi), var(--shadow-2);
  transition: border-color 0.2s, transform 0.3s var(--ease-out);
}
.lp-pillar:hover { border-color: var(--accent-line); transform: translateY(-4px); }
.lp-pillar__media { padding: 6px 6px 0; }
.lp-pillar__media .lp-cell { aspect-ratio: 4 / 3; }
.lp-pillar__body { display: flex; flex: 1; flex-direction: column; padding: 22px 22px 24px; }
.lp-pillar__kicker { font: 500 11px/1 var(--font-mono); letter-spacing: 0.16em; text-transform: uppercase; color: var(--accent); }
.lp-pillar h3 { margin-top: 12px; font: 650 22px/1.2 var(--font-display); font-stretch: 106%; color: var(--text-1); }
.lp-pillar p { flex: 1; margin-top: 10px; font-size: 14.5px; line-height: 1.65; color: var(--text-2); }
.lp-pillar__more { display: inline-flex; align-items: center; gap: 8px; margin-top: 18px; font-size: 13.5px; color: var(--text-1); }
.lp-pillar__more .icon { width: 16px; height: 16px; transition: transform 0.2s var(--ease); }
.lp-pillar:hover .lp-pillar__more .icon { transform: translateX(4px); }

/* ---------- 步骤与要点 ---------- */
.lp-steps, .lp-points { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 40px; padding: 0; list-style: none; }
.lp-step, .lp-point {
  padding: 26px 24px 28px;
  border: 1px solid var(--line-2);
  border-radius: var(--radius-lg);
  background: var(--plate);
  box-shadow: var(--plate-hi);
}
.lp-step__num { display: block; margin-bottom: 18px; font: 600 34px/1 var(--font-display); font-stretch: 110%; color: var(--accent); opacity: 0.9; }
.lp-step h3, .lp-point h3 { font: 600 18px/1.3 var(--font-display); color: var(--text-1); }
.lp-step p, .lp-point p { margin-top: 10px; font-size: 14.5px; line-height: 1.65; color: var(--text-2); }
.lp-point { border-top: 1px solid var(--accent-line); }
.lp-note { margin-top: 18px; font-size: 12.5px; line-height: 1.6; color: var(--text-3); }
.lp-note:empty { display: none; }

/* ---------- 常见问题 ---------- */
.lp-faq { margin-top: 28px; border-top: 1px solid var(--line-2); }
.lp-faq__item { border-bottom: 1px solid var(--line-2); }
.lp-faq__item summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 20px 2px;
  font: 500 16px/1.45 var(--font-ui);
  color: var(--text-1);
  cursor: pointer;
  list-style: none;
}
.lp-faq__item summary::-webkit-details-marker { display: none; }
.lp-faq__item summary::after { content: "+"; flex: none; font: 300 22px/1 var(--font-ui); color: var(--text-3); transition: transform 0.2s var(--ease); }
.lp-faq__item[open] summary::after { transform: rotate(45deg); }
.lp-faq__item p { padding: 0 2px 22px; font-size: 15px; line-height: 1.7; color: var(--text-2); }

/* ---------- 结尾与相关页面 ---------- */
.lp-final { padding-top: 112px; }
.lp-final__inner {
  padding: 80px 32px 84px;
  border: 1px solid var(--line-2);
  border-radius: var(--radius-xl);
  text-align: center;
  background:
    radial-gradient(ellipse 60% 90% at 50% 0%, rgba(232, 180, 107, 0.16), transparent 70%),
    linear-gradient(180deg, var(--bg-2), var(--bg-1));
}
.lp-final__inner .lp-lede { margin-inline: auto; }
.lp-final__inner .lp-cta { justify-content: center; }
.lp-final__title {
  font: 700 clamp(32px, 5vw, 64px)/1.02 var(--font-display);
  font-stretch: 110%;
  letter-spacing: -0.02em;
  color: var(--text-1);
  background: var(--metal-text);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  text-wrap: balance;
}
.lp-related { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-top: 18px; }
.lp-related__link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 16px 18px;
  border: 1px solid var(--line-2);
  border-radius: var(--radius);
  font-size: 14px;
  color: var(--text-2);
  background: var(--bg-1);
  transition: color 0.15s, border-color 0.15s;
}
.lp-related__link:hover { color: var(--text-1); border-color: var(--line-3); }
.lp-related__link .icon { flex: none; width: 16px; height: 16px; }

/* ---------- 窄屏 ---------- */
@media (max-width: 1000px) {
  .lp-hero__inner { grid-template-columns: 1fr; gap: 24px; }
  .lp-fan { height: clamp(300px, 72vw, 460px); }
  .lp-fan__card { width: 46%; }
}
@media (max-width: 860px) {
  .lp-steps, .lp-points, .lp-related, .lp-pillars { grid-template-columns: 1fr; }
  .lp-stats { grid-template-columns: repeat(2, 1fr); }
  .lp-stat:nth-child(3) { padding-left: 0; border-left: 0; }
}
@media (max-width: 640px) {
  .lp-bar__inner { gap: 12px; }
  .lp-bar__cta { display: none; }
  .lp-lang a { padding: 5px 8px; }
  .lp-hero { padding: 56px 0 44px; }
  .lp-lede { font-size: 16px; }
  .lp-section { padding-top: 72px; }
  .lp-final__inner { padding: 52px 20px 56px; }
  .lp-rows { gap: 18px; }
  .lp-row--3 { grid-template-columns: repeat(3, 1fr); gap: 4px; padding: 4px; }
  .lp-row--3 .lp-cell__tag { top: 6px; left: 6px; padding: 4px 6px; font-size: 9px; }
  .lp-fan__card { width: 50%; }
  .lp-gallery { columns: 2 150px; column-gap: 10px; }
  .lp-gen { margin-bottom: 10px; }
  .lp-gen__prompt { display: none; }
}
@media (max-width: 420px) {
  .lp-bar .brand__sub { display: none; }
  .lp-bar__inner { gap: 8px; }
  .lp-lang a { padding: 5px 7px; }
}
@media (prefers-reduced-motion: reduce) {
  .lp-fan__card, .lp-gen img, .lp-pillar { transition: none; }
}
