.home { min-height: 100vh; display: flex; flex-direction: column; }
.hero { flex: 1; display: flex; align-items: center; gap: 80px; padding: 40px 120px; }
.hero-text { width: 480px; flex-shrink: 0; display: flex; flex-direction: column; gap: var(--space-6); }
.hero-text h1 { margin: 0; font-size: var(--font-display); line-height: 1.3; letter-spacing: 0.5px; }
.hero-sub { margin: 0; font-size: var(--font-lg); line-height: 30px; color: var(--color-text-2); }
.hero-actions { display: flex; gap: var(--space-3); flex-wrap: wrap; margin-top: var(--space-2); }
.points { list-style: none; margin: var(--space-3) 0 0; padding: 0; display: flex; flex-direction: column; gap: 10px; color: var(--color-text-2); }
.points li { padding-left: 28px; position: relative; }
.points li::before { content: ""; position: absolute; left: 2px; top: 3px; width: 12px; height: 7px; border-left: 2px solid var(--color-success); border-bottom: 2px solid var(--color-success); transform: rotate(-45deg); }

.compare { position: relative; flex: 1; min-width: 0; height: 620px; margin: 0; }
.before { position: absolute; left: 0; top: 0; width: 340px; height: 420px; background: var(--color-paper); border-radius: var(--radius-md); box-shadow: var(--shadow-card); overflow: hidden; transform: rotate(-2.5deg); }
.before-bar { height: 26px; background: var(--color-border); display: flex; align-items: center; gap: 6px; padding: 0 10px; font-size: 11px; color: var(--color-text-3); }
.before-bar span:not(.before-name) { width: 8px; height: 8px; border-radius: var(--radius-pill); background: var(--color-text-disabled); }
.before-name { margin-left: 6px; }
.before-body { padding: 14px 16px; font-family: SimSun, "Songti SC", serif; font-size: 10px; line-height: 15px; color: var(--color-paper-ink); }
.before-body p { margin: 0 0 5px; }
.b-title { font-size: 15px; font-weight: 700; font-family: var(--font-family); }
.b-muted { color: var(--color-text-3); }
.b-bold { font-weight: 700; font-size: 12px; }
.b-big { font-size: 12px; }
.b-kai { font-family: KaiTi, "Kaiti SC", serif; font-size: 11px; color: var(--color-primary); }
.b-in1 { padding-left: 22px; } .b-in2 { padding-left: 60px; } .b-in3 { padding-left: 10px; }

.after { position: absolute; right: 0; bottom: 0; width: 540px; height: 382px; background: var(--color-paper); color: var(--color-paper-ink); border-radius: 4px; box-shadow: var(--shadow-sheet); display: flex; padding: 14px 16px 12px 0; font-family: "Songti SC", SimSun, serif; }
.after-bind { width: 30px; flex-shrink: 0; border-right: 1px dashed var(--color-paper-ink); display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 18px; font-size: 7px; }
.after-bind span { writing-mode: vertical-rl; }
.after-cols { flex: 1; min-width: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 20px; padding-left: 16px; font-size: 9px; line-height: 1.7; }
.after-col { display: flex; flex-direction: column; gap: 4px; }
.after-col:first-child { border-right: 1px dashed var(--color-text-disabled); padding-right: 20px; }
.after-col p { margin: 0; }
.a-title { text-align: center; font-size: 13px; font-weight: 700; }
.a-center { text-align: center; }
.a-bold { font-weight: 700; margin-top: 4px !important; }
.a-opt { padding-left: 1.2em; }
.a-page { margin-top: auto !important; text-align: center; font-size: 7px; }

.tag { position: absolute; height: 28px; padding: 0 var(--space-3); border-radius: var(--radius-pill); font-size: 13px; font-weight: 600; display: flex; align-items: center; }
.tag-before { left: 356px; top: 20px; background: var(--color-surface); border: 1px solid var(--color-border); color: var(--color-text-2); }
.tag-after { right: 16px; bottom: 394px; background: var(--color-primary); color: var(--color-on-primary); }

@media (max-width: 1366px), (max-height: 760px) {
  .topbar { --page-x: 64px; }
  .hero { gap: 56px; padding: 24px 64px; }
  .hero-text { width: 440px; }
  .hero-text h1 { font-size: 36px; }
  .compare { height: 520px; }
  .before { width: 300px; height: 360px; }
  .after { width: 480px; height: 340px; }
  .tag-before { left: 316px; }
  .tag-after { bottom: 352px; }
}

@media (max-width: 768px) {
  .topbar { --page-x: 16px; }
  .hero { flex-direction: column; align-items: stretch; gap: var(--space-7); padding: var(--space-6) var(--space-4) var(--space-7); }
  .hero-text { width: 100%; gap: var(--space-5); }
  .hero-text h1 { font-size: var(--font-xxl); line-height: 1.35; letter-spacing: 0; }
  .hero-sub { font-size: var(--font-md); line-height: 26px; }
  .hero-actions { flex-direction: column; margin-top: 0; }
  .hero-actions .btn { width: 100%; }
  .points { margin-top: 0; }

  .compare { flex: none; height: auto; display: flex; flex-direction: column; gap: var(--space-3); }
  .before, .after { position: relative; left: auto; right: auto; top: auto; bottom: auto; width: 100%; }
  .before { height: 340px; transform: none; }
  .after { height: 300px; }
  .tag { position: static; align-self: flex-start; }
  .tag-before { order: 1; }
  .before { order: 2; }
  .tag-after { order: 3; margin-top: var(--space-2); }
  .after { order: 4; }
}
