/* Landing 页样式 · 仅用于 / */

.container { width: min(1180px, calc(100% - 48px)); margin: 0 auto; }

/* === TOP NAV === */
.nav {
  position: sticky; top: 0; z-index: 10;
  background: rgba(250, 250, 247, 0.85);
  backdrop-filter: saturate(180%) blur(14px);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid var(--line);
}
.nav-inner {
  display: flex; justify-content: space-between; align-items: center;
  height: 64px;
}

.brand {
  display: inline-flex; align-items: center; gap: 10px; height: 32px;
}
.brand-mark { width: 22px; height: 22px; }
.brand-name {
  font-family: var(--serif);
  font-size: 21px; font-weight: 500;
  letter-spacing: 0.04em; line-height: 1;
  color: var(--ink);
}
.brand-name .dot { color: var(--accent); margin: 0 1px; }

.nav-right { display: inline-flex; align-items: center; gap: 28px; height: 32px; }
.nav-link {
  display: inline-flex; align-items: center; height: 32px;
  font-size: 14px; color: var(--muted); line-height: 1;
}
.nav-link:hover { color: var(--ink); }
.nav-cta {
  display: inline-flex; align-items: center; height: 32px;
  padding: 0 16px;
  border: 0; border-radius: var(--r-md);
  background: var(--ink); color: #fff;
  font-size: 13px; font-weight: 600; line-height: 1;
}

/* 公共 button */
.btn-primary {
  display: inline-flex; align-items: center; height: 44px;
  padding: 0 22px; border: 0; border-radius: var(--r-md);
  background: var(--ink); color: #fff;
  font-size: 14px; font-weight: 600; line-height: 1;
}
.btn-secondary {
  display: inline-flex; align-items: center; height: 44px;
  padding: 0 22px; border-radius: var(--r-md);
  background: transparent; border: 1px solid var(--line-strong);
  color: var(--ink);
  font-size: 14px; font-weight: 600; line-height: 1;
}

/* 通用 section */
.section {
  padding: 96px 0;
  border-bottom: 1px solid var(--line);
}
.section h2 {
  margin: 0 0 16px;
  font-family: var(--serif);
  font-size: clamp(32px, 3.6vw, 44px);
  font-weight: 500;
  letter-spacing: -0.012em;
  line-height: 1.1;
}
.section-lead {
  margin: 0 0 56px;
  max-width: 580px;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.6;
}

/* eyebrow */
.eyebrow {
  display: inline-block;
  padding: 4px 10px;
  background: var(--bg-tan);
  border-radius: var(--r-sm);
  font-size: 11px; font-weight: 600;
  letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--soft);
}

/* footer baseline */
footer {
  padding: 32px 0;
  color: var(--soft);
  font-size: 12px;
  background: #fff;
}
.footer-inner {
  display: flex; justify-content: space-between; align-items: center;
  flex-wrap: wrap; gap: 12px;
}

@media (max-width: 880px) {
  .container { width: calc(100% - 32px); }
  .section { padding: 64px 0; }
}

/* === HERO === */
.hero {
  position: relative;
  background: var(--bg);
  background-image:
    linear-gradient(rgba(10, 10, 10, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(10, 10, 10, 0.04) 1px, transparent 1px);
  background-size: 32px 32px;
  padding: 96px 0 112px;
  border-bottom: 1px solid var(--line);
}
.hero::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0;
  height: 120px;
  background: linear-gradient(180deg, transparent, var(--bg) 80%, #fff);
  pointer-events: none;
}
.hero .eyebrow { margin-bottom: 24px; }
.hero h1 {
  margin: 0 0 24px;
  font-family: var(--serif);
  font-size: clamp(40px, 5.4vw, 72px);
  font-weight: 500;
  line-height: 1.02;
  letter-spacing: -0.018em;
  max-width: 14ch;
}
.hero-sub {
  margin: 0 0 40px;
  max-width: 540px;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.6;
}
.cta-row { display: flex; gap: 16px; align-items: center; flex-wrap: wrap; }
.cta-note { font-size: 13px; color: var(--soft); }

@media (max-width: 880px) {
  .hero { padding: 64px 0 80px; }
}

/* === CASES === */
.cases {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}
.case {
  background: #fff;
  padding: 32px;
}
.case-pair {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-bottom: 20px;
}
.case-img {
  position: relative;
  aspect-ratio: 1;
  border-radius: var(--r-sm);
  border: 1px solid var(--line);
  display: block;
  font-size: 11px; color: var(--soft); font-weight: 600;
  overflow: hidden;
  background-color: #fff;
  cursor: zoom-in;
}
.case-img::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  background-image: var(--case-image);
  background-size: cover;
  background-position: center;
  transition: transform 0.22s ease;
  will-change: transform;
}
.case-img.contain::before {
  background-size: contain;
  background-repeat: no-repeat;
}
.case-img.placeholder.before {
  background-color: #f5f4ef;
  background-image: repeating-linear-gradient(45deg, rgba(0, 0, 0, 0.04) 0 6px, transparent 6px 12px);
}
.case-img.placeholder.after {
  background-color: #fff;
}
/* 真实例图：图缺失时显示 placeholder 样式 */
.case-img.before:not(.placeholder) {
  background-color: #f5f4ef;
}
.case-img.after:not(.placeholder) {
  background-color: #fff;
}
.case-img-label {
  position: absolute;
  left: 10px;
  bottom: 10px;
  z-index: 1;
  display: inline-block;
  padding: 4px 9px;
  background: rgba(10, 10, 10, 0.76);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.32);
  border-radius: 999px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.18);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  font-size: 11px; font-weight: 700; letter-spacing: 0;
  line-height: 1;
}
.case h3 { margin: 0 0 6px; font-size: 16px; font-weight: 600; }
.case p { margin: 0; font-size: 13px; color: var(--muted); line-height: 1.5; }
.landing-hover-preview {
  position: fixed;
  right: 320px;
  top: 50%;
  transform: translateY(-50%);
  z-index: 1000;
  width: min(640px, calc(100vw - 360px));
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.18);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  pointer-events: none;
}
.landing-hover-preview img {
  width: 100%;
  max-height: 72vh;
  object-fit: contain;
  display: block;
  border-radius: var(--r-sm);
  background: var(--bg);
}
.landing-hover-preview div {
  margin-top: 8px;
  color: var(--muted);
  font-size: 12px;
  word-break: break-all;
}

@media (max-width: 1100px) {
  .landing-hover-preview {
    right: 24px;
    left: 24px;
    top: auto;
    bottom: 24px;
    width: auto;
    transform: none;
  }
}

@media (max-width: 880px) { .cases { grid-template-columns: 1fr; } }

/* === STEPS === */
.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}
.step { background: #fff; padding: 32px 28px; }
.step-num {
  display: inline-block;
  width: 28px; height: 28px;
  margin-bottom: 16px;
  border: 1px solid var(--line-strong);
  border-radius: 50%;
  text-align: center; line-height: 26px;
  font-family: var(--serif);
  font-size: 14px;
}
.step h3 { margin: 0 0 8px; font-size: 18px; font-weight: 600; }
.step p { margin: 0; font-size: 14px; color: var(--muted); line-height: 1.6; }

@media (max-width: 880px) { .steps { grid-template-columns: 1fr; } }

/* === FOR-WHO === */
.for-block {
  max-width: 760px; margin: 0 auto;
  border: 1px solid var(--line);
  background: #fff;
  padding: 48px 56px;
}
.for-block ul {
  margin: 0; padding: 0; list-style: none;
  display: grid; gap: 22px;
  color: var(--ink); font-size: 17px; line-height: 1.55;
}
.for-block li {
  display: grid; grid-template-columns: 24px 1fr;
  gap: 14px; align-items: start;
  padding-bottom: 22px;
  border-bottom: 1px solid var(--line);
}
.for-block li:last-child { border-bottom: 0; padding-bottom: 0; }
.for-block li svg { width: 20px; height: 20px; margin-top: 2px; color: var(--ink); }
.for-block li small {
  display: block; margin-top: 4px;
  color: var(--soft); font-size: 14px; line-height: 1.55;
}

@media (max-width: 880px) {
  .for-block { padding: 32px 24px; }
  .for-block ul { font-size: 16px; }
}

/* === FINAL CTA === */
.final {
  background: var(--ink);
  color: #fff;
  padding: 96px 0;
  text-align: center;
}
.final h2 {
  margin: 0 0 16px;
  font-family: var(--serif);
  color: #fff;
  font-size: clamp(32px, 3.6vw, 44px);
  font-weight: 500;
}
.final p {
  margin: 0 0 32px;
  color: rgba(255, 255, 255, 0.7);
  font-size: 16px;
}
.final .btn-primary {
  background: #fff; color: var(--ink);
}
.final .cta-note {
  margin-top: 14px;
  color: rgba(255, 255, 255, 0.55);
  font-size: 13px;
  display: block;
}
