:root {
  --paper: #f7f3ea;
  --paper-strong: #fffaf0;
  --ink: #211b17;
  --muted: #70665c;
  --line: #d8c9b0;
  --cinnabar: #b33a28;
  --cinnabar-dark: #7f251d;
  --jade: #2f7161;
  --bronze: #ad7b32;
  --night: #17211f;
  --shadow: 0 24px 70px rgba(33, 27, 23, 0.15);
  --radius: 8px;
  color-scheme: light;
  font-family:
    "Noto Serif SC", "Songti SC", "STSong", "SimSun", Georgia, serif;
}

* {
  box-sizing: border-box;
}

html {
  min-width: 320px;
  scroll-behavior: smooth;
}

body {
  min-height: 100vh;
  margin: 0;
  background:
    linear-gradient(90deg, rgba(173, 123, 50, 0.08) 1px, transparent 1px),
    linear-gradient(rgba(47, 113, 97, 0.06) 1px, transparent 1px),
    var(--paper);
  background-size: 44px 44px;
  color: var(--ink);
}

body::before {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  content: "";
  background:
    radial-gradient(circle at 50% 12%, rgba(255, 250, 240, 0.9), transparent 34%),
    linear-gradient(180deg, rgba(247, 243, 234, 0.72), rgba(247, 243, 234, 0.95));
}

a {
  color: inherit;
  text-decoration: none;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

button:focus-visible,
a:focus-visible,
#app:focus-visible {
  outline: 3px solid rgba(179, 58, 40, 0.45);
  outline-offset: 4px;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 76px;
  padding: 14px clamp(18px, 4vw, 64px);
  border-bottom: 1px solid rgba(216, 201, 176, 0.78);
  background: rgba(247, 243, 234, 0.88);
  backdrop-filter: blur(18px);
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 220px;
}

.brand-mark {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border: 1px solid var(--ink);
  background: var(--cinnabar);
  color: var(--paper-strong);
  font-size: 22px;
  font-weight: 800;
}

.brand strong,
.brand small {
  display: block;
}

.brand strong {
  font-size: 16px;
  line-height: 1.3;
}

.brand small {
  margin-top: 2px;
  color: var(--muted);
  font-family: "Inter", "PingFang SC", "Microsoft YaHei", sans-serif;
  font-size: 12px;
}

.company-name {
  flex: 1 1 auto;
  color: var(--ink);
  font-family: "Inter", "PingFang SC", "Microsoft YaHei", sans-serif;
  font-size: 14px;
  font-weight: 800;
  text-align: center;
}

.app-switch {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 8px;
}

.switch-link {
  min-height: 40px;
  padding: 10px 14px;
  border: 1px solid rgba(33, 27, 23, 0.16);
  border-radius: 999px;
  color: var(--muted);
  font-family: "Inter", "PingFang SC", "Microsoft YaHei", sans-serif;
  font-size: 14px;
  font-weight: 700;
  transition:
    color 180ms ease,
    background-color 180ms ease,
    border-color 180ms ease;
}

.switch-link:hover,
.switch-link.is-active {
  border-color: var(--ink);
  background: var(--ink);
  color: var(--paper-strong);
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(320px, 0.98fr);
  gap: clamp(28px, 5vw, 72px);
  align-items: center;
  max-width: 1220px;
  min-height: calc(100vh - 76px);
  margin: 0 auto;
  padding: clamp(42px, 7vw, 92px) clamp(18px, 4vw, 64px) 40px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 18px;
  color: var(--cinnabar-dark);
  font-family: "Inter", "PingFang SC", "Microsoft YaHei", sans-serif;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0;
}

.eyebrow::before {
  display: block;
  width: 34px;
  height: 1px;
  background: var(--cinnabar);
  content: "";
}

.hero h1 {
  max-width: 720px;
  margin: 0;
  font-size: clamp(46px, 8.2vw, 104px);
  font-weight: 900;
  line-height: 0.98;
  letter-spacing: 0;
}

.hero-summary {
  max-width: 680px;
  margin: 24px 0 0;
  color: #4d433b;
  font-family: "Inter", "PingFang SC", "Microsoft YaHei", sans-serif;
  font-size: clamp(17px, 2vw, 21px);
  line-height: 1.8;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 34px;
}

.download-action,
.primary-action,
.secondary-action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 13px 18px;
  border: 1px solid var(--ink);
  border-radius: var(--radius);
  font-family: "Inter", "PingFang SC", "Microsoft YaHei", sans-serif;
  font-weight: 800;
}

.download-action {
  position: relative;
  gap: 12px;
  min-height: 64px;
  overflow: hidden;
  padding: 10px 22px 10px 12px;
  border-color: rgba(127, 37, 29, 0.68);
  border-radius: 999px;
  background:
    linear-gradient(135deg, rgba(255, 250, 240, 0.18), transparent 34%),
    linear-gradient(135deg, var(--cinnabar), var(--cinnabar-dark) 78%);
  color: var(--paper-strong);
  box-shadow:
    0 18px 38px rgba(179, 58, 40, 0.28),
    inset 0 0 0 1px rgba(255, 250, 240, 0.2);
}

.download-action::after,
.cta-download::after {
  position: absolute;
  inset: 7px;
  border: 1px solid rgba(255, 250, 240, 0.18);
  border-radius: inherit;
  pointer-events: none;
  content: "";
}

.download-symbol {
  display: grid;
  width: 42px;
  height: 42px;
  flex: 0 0 42px;
  place-items: center;
  border: 1px solid rgba(255, 250, 240, 0.34);
  border-radius: 50%;
  background: rgba(255, 250, 240, 0.16);
  color: var(--paper-strong);
  font-size: 24px;
  font-weight: 900;
  line-height: 1;
}

.download-copy {
  display: grid;
  gap: 2px;
  text-align: left;
}

.download-copy strong,
.download-copy small {
  display: block;
}

.download-copy strong {
  font-size: 17px;
  line-height: 1.1;
}

.download-copy small {
  color: rgba(255, 250, 240, 0.72);
  font-size: 12px;
  font-weight: 700;
  line-height: 1.1;
}

.primary-action {
  background: var(--cinnabar);
  color: var(--paper-strong);
}

.secondary-action {
  background: rgba(255, 250, 240, 0.64);
  color: var(--ink);
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  max-width: 640px;
  margin-top: 38px;
  border: 1px solid var(--line);
  background: var(--line);
}

.stat {
  min-height: 104px;
  padding: 18px;
  background: rgba(255, 250, 240, 0.78);
}

.stat strong,
.stat span {
  display: block;
}

.stat strong {
  font-size: 30px;
  line-height: 1;
}

.stat span {
  margin-top: 10px;
  color: var(--muted);
  font-family: "Inter", "PingFang SC", "Microsoft YaHei", sans-serif;
  font-size: 13px;
  line-height: 1.5;
}

.visual-stage {
  position: relative;
  display: grid;
  min-height: 620px;
  place-items: center;
}

.orbit {
  position: absolute;
  width: min(88vw, 540px);
  aspect-ratio: 1;
  border: 1px solid rgba(33, 27, 23, 0.26);
  border-radius: 50%;
  transform: rotate(-9deg);
}

.orbit::before,
.orbit::after {
  position: absolute;
  inset: 12%;
  border: 1px solid rgba(179, 58, 40, 0.22);
  border-radius: 50%;
  content: "";
}

.orbit::after {
  inset: 28%;
  border-color: rgba(47, 113, 97, 0.24);
}

.phone-stack {
  position: relative;
  display: grid;
  width: min(76vw, 330px);
  aspect-ratio: 0.49;
  padding: 12px;
  border: 1px solid rgba(33, 27, 23, 0.28);
  border-radius: 34px;
  background: #171310;
  box-shadow: var(--shadow);
}

.phone-stack::before {
  position: absolute;
  top: 14px;
  left: 50%;
  width: 72px;
  height: 7px;
  border-radius: 999px;
  background: rgba(255, 250, 240, 0.24);
  content: "";
  transform: translateX(-50%);
}

.hero-shot {
  width: 100%;
  height: 100%;
  border-radius: 24px;
  object-fit: cover;
}

.side-note {
  position: absolute;
  right: 2%;
  bottom: 12%;
  max-width: 210px;
  padding: 16px;
  border: 1px solid rgba(33, 27, 23, 0.18);
  background: rgba(255, 250, 240, 0.86);
  box-shadow: 0 18px 42px rgba(33, 27, 23, 0.12);
  font-family: "Inter", "PingFang SC", "Microsoft YaHei", sans-serif;
}

.side-note strong,
.side-note span {
  display: block;
}

.side-note strong {
  color: var(--jade);
  font-size: 13px;
}

.side-note span {
  margin-top: 8px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.5;
}

.section {
  max-width: 1220px;
  margin: 0 auto;
  padding: 64px clamp(18px, 4vw, 64px);
}

.section-header {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 26px;
  border-bottom: 1px solid var(--line);
  padding-bottom: 18px;
}

.section-header h2 {
  max-width: 780px;
  margin: 0;
  font-size: clamp(30px, 4.4vw, 56px);
  line-height: 1.08;
}

.section-header p {
  max-width: 380px;
  margin: 0;
  color: var(--muted);
  font-family: "Inter", "PingFang SC", "Microsoft YaHei", sans-serif;
  line-height: 1.7;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.feature-card {
  min-height: 238px;
  padding: 24px;
  border: 1px solid rgba(33, 27, 23, 0.14);
  border-radius: var(--radius);
  background: rgba(255, 250, 240, 0.78);
}

.feature-card b {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  margin-bottom: 28px;
  border: 1px solid rgba(33, 27, 23, 0.22);
  border-radius: 50%;
  color: var(--cinnabar-dark);
  font-family: "Inter", "PingFang SC", "Microsoft YaHei", sans-serif;
  font-size: 14px;
}

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

.feature-card p {
  margin: 12px 0 0;
  color: #5b5149;
  font-family: "Inter", "PingFang SC", "Microsoft YaHei", sans-serif;
  line-height: 1.7;
}

.tools-band {
  background: var(--night);
  color: var(--paper-strong);
}

.tools-band .section {
  padding-top: 72px;
  padding-bottom: 72px;
}

.tools-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  gap: clamp(24px, 4vw, 54px);
  align-items: start;
}

.tools-intro h2 {
  margin: 0;
  font-size: clamp(34px, 5vw, 64px);
  line-height: 1.08;
}

.tools-intro p {
  margin: 18px 0 0;
  color: rgba(255, 250, 240, 0.72);
  font-family: "Inter", "PingFang SC", "Microsoft YaHei", sans-serif;
  line-height: 1.8;
}

.tool-list {
  display: grid;
  gap: 1px;
  border: 1px solid rgba(255, 250, 240, 0.18);
  background: rgba(255, 250, 240, 0.18);
}

.tool-item {
  display: grid;
  grid-template-columns: 140px minmax(0, 1fr);
  gap: 22px;
  padding: 22px;
  background: rgba(255, 250, 240, 0.07);
}

.tool-item strong {
  color: #f3c06b;
  font-size: 20px;
}

.tool-item p {
  margin: 0;
  color: rgba(255, 250, 240, 0.76);
  font-family: "Inter", "PingFang SC", "Microsoft YaHei", sans-serif;
  line-height: 1.7;
}

.gallery {
  display: grid;
  place-items: center;
}

.carousel-shell {
  position: relative;
  display: grid;
  width: min(100%, 980px);
  min-height: 690px;
  place-items: center;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 250, 240, 0.72);
  perspective: 1500px;
}

.carousel-shell::before {
  position: absolute;
  right: 10%;
  bottom: 8%;
  left: 10%;
  height: 18%;
  border-radius: 50%;
  background: rgba(33, 27, 23, 0.18);
  filter: blur(30px);
  content: "";
}

.shot-carousel {
  position: relative;
  width: min(88vw, 760px);
  height: 640px;
  transform-style: preserve-3d;
}

.shot-card {
  position: absolute;
  top: 50%;
  left: 50%;
  display: block;
  width: min(76vw, 320px);
  aspect-ratio: 9 / 16;
  padding: 12px;
  border: 1px solid rgba(255, 250, 240, 0.18);
  border-radius: 34px;
  background: #171310;
  box-shadow: 0 26px 70px rgba(33, 27, 23, 0.2);
  cursor: pointer;
  opacity: var(--opacity, 0);
  transform:
    translate(-50%, -50%)
    translateX(var(--x, 0))
    translateZ(var(--z, 0))
    rotateY(var(--rotate, 0))
    scale(var(--scale, 1));
  transform-style: preserve-3d;
}

.shot-card::before {
  position: absolute;
  top: 14px;
  left: 50%;
  z-index: 1;
  width: 68px;
  height: 7px;
  border-radius: 999px;
  background: rgba(255, 250, 240, 0.22);
  content: "";
  transform: translateX(-50%);
}

.shot-card.is-active {
  border-color: rgba(255, 250, 240, 0.34);
  box-shadow:
    0 38px 86px rgba(33, 27, 23, 0.28),
    0 0 0 3px rgba(179, 58, 40, 0.16);
}

.shot-card img {
  display: block;
  width: 100%;
  height: 100%;
  border-radius: 23px;
  background: #120f0d;
  object-fit: cover;
}

.carousel-nav {
  position: absolute;
  top: 50%;
  z-index: 12;
  display: grid;
  width: 64px;
  height: 64px;
  place-items: center;
  border: 1px solid rgba(33, 27, 23, 0.24);
  border-radius: 50%;
  background: rgba(255, 250, 240, 0.86);
  color: var(--ink);
  cursor: pointer;
  font-size: 44px;
  line-height: 1;
  transform: translateY(-50%);
}

.carousel-nav-prev {
  left: 18px;
}

.carousel-nav-next {
  right: 18px;
}

.gallery-index {
  position: absolute;
  bottom: 22px;
  left: 50%;
  z-index: 13;
  display: flex;
  align-items: baseline;
  gap: 8px;
  padding: 8px 12px;
  border: 1px solid rgba(33, 27, 23, 0.14);
  border-radius: 999px;
  background: rgba(255, 250, 240, 0.82);
  color: var(--muted);
  font-family: "Inter", "PingFang SC", "Microsoft YaHei", sans-serif;
  transform: translateX(-50%);
}

.gallery-index strong {
  color: var(--ink);
  font-size: 28px;
  line-height: 1;
}

.shot-card:focus-visible,
.carousel-nav:focus-visible {
  outline: 3px solid rgba(179, 58, 40, 0.45);
  outline-offset: 5px;
}

@supports not (transform-style: preserve-3d) {
  .shot-carousel {
    display: grid;
    grid-auto-flow: column;
    grid-auto-columns: minmax(240px, 1fr);
    gap: 14px;
    height: auto;
    overflow-x: auto;
  }

  .shot-card {
    position: static;
    width: 100%;
    aspect-ratio: 9 / 16;
    opacity: 1;
    transform: none;
  }
}

.scenario-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  border: 1px solid var(--line);
  background: var(--line);
}

.scenario {
  min-height: 170px;
  padding: 22px;
  background: rgba(255, 250, 240, 0.8);
}

.scenario h3 {
  margin: 0;
  font-size: 22px;
}

.scenario p {
  margin: 12px 0 0;
  color: var(--muted);
  font-family: "Inter", "PingFang SC", "Microsoft YaHei", sans-serif;
  line-height: 1.65;
}

.cta-band {
  max-width: 1220px;
  margin: 28px auto 80px;
  padding: 0 clamp(18px, 4vw, 64px);
}

.cta-inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 22px;
  align-items: center;
  padding: clamp(24px, 4vw, 42px);
  border: 1px solid var(--ink);
  border-radius: var(--radius);
  background: var(--cinnabar);
  color: var(--paper-strong);
}

.cta-inner h2 {
  margin: 0;
  font-size: clamp(28px, 4vw, 48px);
  line-height: 1.12;
}

.cta-inner p {
  max-width: 680px;
  margin: 12px 0 0;
  color: rgba(255, 250, 240, 0.82);
  font-family: "Inter", "PingFang SC", "Microsoft YaHei", sans-serif;
  line-height: 1.7;
}

.cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: flex-end;
}

.cta-inner a {
  display: inline-flex;
  align-items: center;
  min-height: 48px;
  padding: 13px 18px;
  border: 1px solid rgba(255, 250, 240, 0.72);
  border-radius: var(--radius);
  background: var(--paper-strong);
  color: var(--cinnabar-dark);
  font-family: "Inter", "PingFang SC", "Microsoft YaHei", sans-serif;
  font-weight: 900;
  white-space: nowrap;
}

.cta-inner .cta-download {
  position: relative;
  gap: 10px;
  min-height: 58px;
  overflow: hidden;
  padding: 8px 18px 8px 10px;
  border-color: rgba(255, 250, 240, 0.44);
  border-radius: 999px;
  background:
    linear-gradient(135deg, rgba(255, 250, 240, 0.16), transparent 36%),
    linear-gradient(135deg, var(--cinnabar-dark), #4c1713 82%);
  color: var(--paper-strong);
  box-shadow: 0 14px 28px rgba(33, 27, 23, 0.24);
}

.cta-download .download-symbol {
  width: 36px;
  height: 36px;
  flex-basis: 36px;
  color: #fffaf0;
  font-size: 21px;
}

.cta-download .download-copy strong {
  color: #fffaf0;
  font-size: 15px;
}

.cta-download .download-copy small {
  color: #fffaf0;
  font-size: 11px;
}

.site-footer {
  display: flex;
  flex-wrap: wrap;
  gap: 14px 24px;
  justify-content: space-between;
  padding: 26px clamp(18px, 4vw, 64px);
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-family: "Inter", "PingFang SC", "Microsoft YaHei", sans-serif;
}

.site-footer p {
  flex: 1 1 420px;
  margin: 0;
}

.site-footer a,
.site-footer span {
  color: var(--ink);
  font-weight: 800;
}

.site-footer span {
  color: var(--muted);
}

[data-theme="compass"] .brand-mark,
[data-theme="compass"] .primary-action,
[data-theme="compass"] .cta-inner {
  background: var(--jade);
}

[data-theme="compass"] .eyebrow,
[data-theme="compass"] .feature-card b,
[data-theme="compass"] .cta-inner a {
  color: #24594d;
}

[data-theme="compass"] .eyebrow::before {
  background: var(--jade);
}

[data-theme="compass"] .download-action,
[data-theme="compass"] .cta-inner .cta-download {
  border-color: rgba(36, 89, 77, 0.7);
  background:
    linear-gradient(135deg, rgba(255, 250, 240, 0.16), transparent 35%),
    linear-gradient(135deg, var(--jade), #1f4e44 82%);
  box-shadow:
    0 18px 38px rgba(47, 113, 97, 0.28),
    inset 0 0 0 1px rgba(255, 250, 240, 0.18);
}

[data-theme="compass"] .shot-card.is-active {
  box-shadow:
    0 38px 86px rgba(33, 27, 23, 0.28),
    0 0 0 3px rgba(47, 113, 97, 0.16);
}

@media (max-width: 980px) {
  .site-header {
    align-items: flex-start;
    flex-direction: column;
  }

  .company-name {
    text-align: left;
  }

  .app-switch {
    justify-content: flex-start;
  }

  .hero,
  .tools-layout,
  .gallery,
  .cta-inner {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
  }

  .visual-stage {
    min-height: 560px;
  }

  .feature-grid,
  .scenario-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .cta-inner a {
    justify-self: start;
  }

  .cta-actions {
    justify-content: flex-start;
  }
}

@media (max-width: 640px) {
  .site-header {
    min-height: auto;
  }

  .brand {
    min-width: 0;
  }

  .switch-link {
    flex: 1 1 auto;
    text-align: center;
  }

  .download-action {
    flex: 1 1 100%;
    justify-content: flex-start;
  }

  .hero {
    padding-top: 34px;
  }

  .hero h1 {
    font-size: clamp(40px, 15vw, 66px);
  }

  .hero-stats,
  .feature-grid,
  .scenario-grid {
    grid-template-columns: 1fr;
  }

  .visual-stage {
    min-height: 500px;
  }

  .side-note {
    right: 0;
    bottom: 4%;
    left: 0;
    max-width: none;
  }

  .section {
    padding-top: 46px;
    padding-bottom: 46px;
  }

  .section-header {
    align-items: flex-start;
    flex-direction: column;
  }

  .tool-item {
    grid-template-columns: 1fr;
  }

  .carousel-shell {
    min-height: 520px;
  }

  .shot-carousel {
    height: 500px;
  }

  .shot-card {
    width: min(70vw, 260px);
  }

  .carousel-nav {
    width: 56px;
    height: 56px;
    font-size: 38px;
  }
}

@media (prefers-reduced-motion: no-preference) {
  .hero-shot,
  .download-action,
  .cta-download,
  .feature-card,
  .shot-card,
  .carousel-nav,
  .switch-link {
    transition:
      opacity 220ms ease,
      transform 180ms ease,
      box-shadow 180ms ease,
      border-color 180ms ease,
      background-color 180ms ease;
  }

  .download-action,
  .cta-download {
    animation: download-float 3.6s ease-in-out infinite;
  }

  .cta-download {
    animation-delay: 260ms;
  }

  .feature-card:hover {
    transform: translateY(-3px);
  }

  .shot-card {
    transition:
      opacity 260ms ease,
      transform 520ms cubic-bezier(0.2, 0.8, 0.2, 1),
      box-shadow 240ms ease,
      border-color 240ms ease;
  }

  .phone-stack {
    animation: breathe 7s ease-in-out infinite;
  }

  @keyframes download-float {
    0%,
    100% {
      transform: translateY(0);
    }

    50% {
      transform: translateY(-5px);
    }
  }

  @keyframes breathe {
    0%,
    100% {
      transform: translateY(0) rotate(0deg);
    }

    50% {
      transform: translateY(-8px) rotate(0.6deg);
    }
  }
}
