:root {
  --ink: #181612;
  --muted: #6c685f;
  --paper: #f7f4ec;
  --panel: #fffdf8;
  --line: #ded8ca;
  --dark: #11100e;
  --accent: #f16c2f;
  --gold: #f5b43a;
  --blue: #176aa5;
  --white: #fff;
  --shadow: 0 24px 70px rgba(24, 22, 18, 0.14);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  overflow-x: hidden;
  color: var(--ink);
  background: var(--paper);
  font-family: "PingFang SC", "Microsoft YaHei", "Noto Sans CJK SC", Arial, sans-serif;
  letter-spacing: 0;
  -webkit-tap-highlight-color: rgba(241, 108, 47, 0.18);
}

body.modal-open {
  overflow: hidden;
}

img {
  display: block;
  max-width: 100%;
}

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

button {
  font: inherit;
  touch-action: manipulation;
}

:focus-visible {
  outline: 3px solid rgba(241, 108, 47, 0.58);
  outline-offset: 3px;
}

[id] {
  scroll-margin-top: 88px;
}

.skip-link {
  position: fixed;
  left: 12px;
  top: 12px;
  z-index: 100;
  transform: translateY(-140%);
  padding: 8px 10px;
  border-radius: 6px;
  color: var(--white);
  background: var(--ink);
}

.skip-link:focus {
  transform: translateY(0);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  display: flex;
  min-height: 68px;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 14px 32px;
  border-bottom: 1px solid rgba(24, 22, 18, 0.1);
  background: rgba(247, 244, 236, 0.92);
  backdrop-filter: blur(14px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 900;
  white-space: nowrap;
}

.brand-mark {
  display: inline-grid;
  width: 34px;
  height: 34px;
  place-items: center;
  border-radius: 8px;
  color: var(--white);
  background: var(--ink);
}

.nav {
  display: flex;
  gap: 24px;
  color: var(--muted);
  font-size: 14px;
}

.nav a:hover,
.header-cta:hover {
  color: var(--accent);
}

.header-cta {
  padding: 9px 14px;
  border: 1px solid var(--ink);
  border-radius: 8px;
  font-weight: 900;
}

.section-inner,
.hero-inner {
  width: min(1180px, calc(100% - 56px));
  margin: 0 auto;
}

.hero {
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid var(--line);
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(24, 22, 18, 0.055) 1px, transparent 1px),
    linear-gradient(90deg, rgba(24, 22, 18, 0.055) 1px, transparent 1px);
  background-size: 78px 78px;
}

.hero-inner {
  position: relative;
  display: grid;
  min-height: calc(92svh - 68px);
  grid-template-columns: 0.95fr 1.05fr;
  gap: 46px;
  align-items: center;
  padding: 76px 0 70px;
}

.eyebrow {
  margin: 0 0 16px;
  color: var(--accent);
  font-size: 13px;
  font-weight: 900;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  max-width: 620px;
  margin-bottom: 22px;
  font-size: 64px;
  line-height: 1.04;
  letter-spacing: 0;
  text-wrap: balance;
}

h2 {
  margin-bottom: 18px;
  font-size: 40px;
  line-height: 1.16;
  letter-spacing: 0;
  text-wrap: balance;
}

h3 {
  margin-bottom: 10px;
  font-size: 20px;
  line-height: 1.35;
}

.hero-lead,
.split-heading p,
.proof-grid p,
.flow-grid p,
.package-grid p,
.price-grid li,
.price-card p,
.contact-grid p {
  color: var(--muted);
  line-height: 1.78;
}

.hero-lead {
  max-width: 640px;
  font-size: 19px;
}

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

.button {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  padding: 12px 20px;
  border: 1px solid transparent;
  border-radius: 8px;
  cursor: pointer;
  font-weight: 900;
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

.button:hover {
  transform: translateY(-2px);
}

.button.primary {
  color: var(--white);
  background: var(--ink);
}

.button.primary:hover {
  background: var(--accent);
  box-shadow: 0 18px 36px rgba(241, 108, 47, 0.22);
}

.button.secondary {
  border-color: var(--ink);
  background: var(--panel);
}

.button.secondary.dark {
  border-color: rgba(255, 255, 255, 0.42);
  color: var(--white);
  background: transparent;
}

.button.full {
  width: 100%;
}

.trust-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 28px;
}

.trust-row span {
  padding: 8px 10px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 253, 248, 0.72);
  color: #4a463e;
  font-size: 13px;
  font-weight: 900;
}

.visual-window {
  overflow: hidden;
  border: 1px solid rgba(24, 22, 18, 0.18);
  border-radius: 18px;
  background: #161411;
  box-shadow: var(--shadow);
}

.window-bar {
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 14px 16px;
  color: rgba(255, 255, 255, 0.72);
  font-size: 13px;
}

.window-bar span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #ff5f57;
}

.window-bar span:nth-child(2) {
  background: #ffbd2e;
}

.window-bar span:nth-child(3) {
  background: #28c840;
}

.window-bar strong {
  margin-left: 8px;
}

.visual-grid {
  display: grid;
  grid-template-columns: 1.12fr 0.88fr;
  gap: 14px;
  padding: 16px;
}

.visual-card {
  margin: 0;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  background: #f1eee5;
}

.visual-card.large {
  grid-row: span 2;
}

.visual-card img {
  width: 100%;
  height: 100%;
  aspect-ratio: 1 / 1.2;
  object-fit: contain;
}

.visual-card:not(.large) img {
  aspect-ratio: 1 / 0.82;
}

.visual-card figcaption {
  padding: 10px 12px;
  background: var(--panel);
  color: #464238;
  font-size: 13px;
  font-weight: 900;
}

section:not(.hero) {
  padding: 84px 0;
}

.proof-strip,
.flow-section,
.course-section {
  background: #efebe1;
}

.founder-section {
  background: var(--panel);
}

.founder-panel {
  display: grid;
  grid-template-columns: 0.86fr 1.14fr;
  gap: 54px;
  align-items: start;
  padding: 42px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background:
    linear-gradient(135deg, rgba(241, 108, 47, 0.08), transparent 42%),
    #fffdf8;
}

.founder-copy {
  display: grid;
  gap: 16px;
}

.founder-copy p {
  margin: 0;
  color: var(--muted);
  line-height: 1.86;
}

.proof-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.proof-grid article,
.flow-grid article,
.package-grid article,
.price-card {
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--panel);
}

.proof-grid article {
  padding: 22px;
}

.proof-grid strong {
  display: block;
  margin-bottom: 8px;
  font-size: 19px;
}

.split-heading {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 54px;
  align-items: end;
  margin-bottom: 30px;
}

.screen-card {
  display: block;
  width: 100%;
  padding: 0;
  overflow: hidden;
  border: 1px solid #24221e;
  border-radius: 16px;
  background: #111;
  cursor: zoom-in;
  text-align: left;
  box-shadow: var(--shadow);
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.screen-card:hover,
.case-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow);
}

.screen-card img {
  width: 100%;
  height: auto;
}

.screen-card span {
  display: block;
  padding: 12px 16px;
  color: rgba(255, 255, 255, 0.78);
  background: #151515;
  font-size: 14px;
  font-weight: 900;
}

.carousel-shell {
  position: relative;
}

.carousel-track {
  display: flex;
  gap: 16px;
  overflow-x: auto;
  overscroll-behavior-inline: contain;
  scroll-behavior: smooth;
  scroll-padding-inline: 2px;
  scroll-snap-type: x mandatory;
  padding: 2px 2px 18px;
  scrollbar-color: rgba(24, 22, 18, 0.34) transparent;
  scrollbar-width: thin;
}

.carousel-track > * {
  flex: 0 0 auto;
  scroll-snap-align: start;
}

.screen-track .screen-card {
  flex-basis: 100%;
  margin: 0;
}

.carousel-nav {
  position: absolute;
  top: 50%;
  z-index: 3;
  display: inline-grid;
  width: 46px;
  height: 46px;
  place-items: center;
  border: 1px solid rgba(24, 22, 18, 0.18);
  border-radius: 999px;
  color: var(--ink);
  background: rgba(255, 253, 248, 0.94);
  box-shadow: 0 14px 38px rgba(24, 22, 18, 0.16);
  cursor: pointer;
  font-size: 32px;
  font-weight: 900;
  line-height: 1;
  transform: translateY(-50%);
  transition: transform 180ms ease, background 180ms ease, box-shadow 180ms ease;
}

.carousel-nav:hover {
  background: var(--white);
  box-shadow: 0 18px 46px rgba(24, 22, 18, 0.2);
  transform: translateY(-50%) scale(1.04);
}

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

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

.flow-grid,
.package-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.flow-grid article,
.package-grid article {
  min-height: 208px;
  padding: 22px;
}

.flow-grid span {
  display: inline-block;
  margin-bottom: 30px;
  color: var(--blue);
  font-size: 13px;
  font-weight: 900;
}

.case-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 18px;
}

.case-filters button {
  min-height: 38px;
  padding: 8px 14px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: #4d493f;
  background: var(--panel);
  cursor: pointer;
  font-weight: 900;
}

.case-filters button.active {
  color: var(--white);
  border-color: var(--ink);
  background: var(--ink);
}

.case-grid {
  column-count: 4;
  column-gap: 16px;
}

.case-card {
  display: inline-block;
  width: 100%;
  margin: 0 0 16px;
  padding: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--panel);
  cursor: zoom-in;
  text-align: left;
  break-inside: avoid;
  transition: transform 180ms ease, box-shadow 180ms ease, opacity 180ms ease;
}

.case-card.hidden {
  display: none;
}

.case-card img {
  width: 100%;
  height: auto;
  object-fit: contain;
  background: #f2eee5;
}

.case-card span {
  display: block;
  padding: 12px 14px;
  color: #403c34;
  font-size: 14px;
  font-weight: 900;
}

.case-track .case-card {
  flex-basis: clamp(232px, 24vw, 306px);
  margin: 0;
}

.case-track .case-card img {
  height: 242px;
  object-fit: contain;
  padding: 0;
}

.case-card span small {
  display: block;
  margin-bottom: 4px;
  color: var(--accent);
  font-size: 11px;
  font-weight: 900;
}

.price-section {
  background: #fff8ef;
}

.price-grid,
.contact-grid {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 56px;
  align-items: start;
}

.price-grid ul {
  margin: 22px 0 0;
  padding-left: 20px;
}

.price-grid li + li {
  margin-top: 10px;
}

.price-card {
  padding: 28px;
  border-color: #efc7aa;
}

.price-card > span {
  display: block;
  margin-bottom: 8px;
  color: var(--muted);
}

.price-original {
  margin-bottom: 12px;
  color: #8d8779;
  font-size: 18px;
  font-weight: 900;
}

.price-original s {
  color: #706a5e;
  text-decoration-thickness: 2px;
}

.price-card strong {
  display: block;
  margin-bottom: 18px;
  color: var(--accent);
  font-size: 64px;
  line-height: 1;
}

.contact-section {
  color: var(--white);
  background: var(--dark);
}

.contact-section .eyebrow {
  color: #ffb170;
}

.contact-section p {
  color: rgba(255, 255, 255, 0.76);
}

.email-line {
  margin-top: 14px;
  word-break: break-word;
}

.email-line a {
  color: var(--white);
  font-weight: 900;
  text-decoration: underline;
  text-underline-offset: 4px;
}

.copy-tip {
  min-height: 28px;
  margin-top: 14px;
}

.qr-card {
  justify-self: end;
  width: min(300px, 100%);
  margin: 0;
  padding: 16px;
  border-radius: 14px;
  background: var(--white);
  color: var(--ink);
}

.qr-card img {
  width: 100%;
  height: auto;
  aspect-ratio: 1 / 1;
  object-fit: contain;
  border-radius: 8px;
}

.qr-card figcaption {
  margin-top: 12px;
  color: var(--muted);
  text-align: center;
  font-size: 14px;
}

.site-footer {
  display: flex;
  justify-content: center;
  gap: 18px;
  padding: 24px;
  color: var(--muted);
  background: var(--paper);
  font-size: 14px;
}

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: none;
  grid-template-rows: auto 1fr;
  gap: 14px;
  padding: 28px;
  background: rgba(12, 11, 10, 0.9);
  overscroll-behavior: contain;
}

.lightbox.open {
  display: grid;
}

.lightbox-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  color: var(--white);
}

.lightbox-title {
  margin: 0;
  font-weight: 900;
}

.lightbox-close {
  display: inline-grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 8px;
  color: var(--white);
  background: rgba(255, 255, 255, 0.08);
  cursor: pointer;
  font-size: 24px;
}

.lightbox-body {
  overflow: auto;
  border-radius: 14px;
  background: #111;
}

.lightbox-body img {
  width: min(1600px, 100%);
  height: auto;
  margin: 0 auto;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }
}

@media (max-width: 980px) {
  .site-header {
    padding: 12px 18px;
  }

  .nav {
    display: none;
  }

  .section-inner,
  .hero-inner {
    width: min(100% - 32px, 720px);
  }

  .hero-inner,
  .split-heading,
  .founder-panel,
  .proof-grid,
  .flow-grid,
  .package-grid,
  .price-grid,
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .hero-inner {
    min-height: auto;
    padding: 54px 0 58px;
  }

  h1 {
    font-size: 45px;
  }

  h2 {
    font-size: 31px;
  }

  .case-grid {
    column-count: 2;
  }

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

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

  .case-track .case-card {
    flex-basis: min(280px, 78vw);
  }

  .qr-card {
    justify-self: center;
    width: min(280px, 100%);
  }
}

@media (max-width: 560px) {
  .brand {
    font-size: 15px;
  }

  .header-cta {
    padding: 8px 10px;
    font-size: 13px;
  }

  h1 {
    font-size: 37px;
  }

  h2 {
    font-size: 28px;
  }

  .button,
  .hero-actions {
    width: 100%;
  }

  .visual-grid {
    grid-template-columns: 1fr;
  }

  .case-grid {
    column-count: 1;
  }

  .carousel-track {
    gap: 12px;
  }

  .carousel-nav {
    width: 40px;
    height: 40px;
    font-size: 28px;
  }

  .case-track .case-card img {
    height: 218px;
  }

  .visual-card.large {
    grid-column: auto;
    grid-row: auto;
  }

  section:not(.hero) {
    padding: 62px 0;
  }

  .price-card strong {
    font-size: 50px;
  }

  .site-footer {
    flex-direction: column;
    align-items: center;
    gap: 8px;
  }

  .lightbox {
    padding: 14px;
  }
}
