:root {
  --bg-main: #f3eee3;
  --bg-paper: #faf6ef;
  --bg-card: rgba(255, 255, 255, 0.72);
  --bg-dark: #171a22;
  --bg-dark-soft: #222837;
  --bg-dark-panel: rgba(34, 40, 55, 0.9);
  --text-main: #142033;
  --text-soft: #59657a;
  --text-inverse: #f5f2ea;
  --accent: #ea7b4d;
  --accent-deep: #d86133;
  --border-light: rgba(20, 32, 51, 0.09);
  --border-dark: rgba(255, 255, 255, 0.12);
  --shadow-soft: 0 24px 70px rgba(55, 41, 25, 0.12);
  --shadow-button: 0 18px 30px rgba(234, 123, 77, 0.34);
  --radius-xl: 32px;
  --radius-lg: 24px;
  --radius-md: 18px;
  --radius-sm: 14px;
  --max-width: 1180px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--text-main);
  background:
    radial-gradient(circle at top, rgba(234, 123, 77, 0.14), transparent 28%),
    linear-gradient(180deg, #f5efe4 0%, #f2ece1 42%, #f6f2eb 100%);
  font-family:
    "Avenir Next", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei",
    sans-serif;
}

body::before {
  position: fixed;
  inset: 0;
  pointer-events: none;
  content: "";
  opacity: 0.38;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.3) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.22) 1px, transparent 1px);
  background-size: 22px 22px;
  mask-image: radial-gradient(circle at center, black 40%, transparent 90%);
}

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

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

.site-shell {
  position: relative;
  width: min(calc(100% - 32px), var(--max-width));
  margin: 28px auto 96px;
}

.topbar {
  position: sticky;
  top: 16px;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 22px;
  border: 1px solid rgba(20, 32, 51, 0.08);
  border-radius: 26px;
  backdrop-filter: blur(18px);
  background: rgba(250, 246, 239, 0.78);
  box-shadow: 0 12px 30px rgba(32, 24, 15, 0.06);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-weight: 700;
  font-size: 1.75rem;
  letter-spacing: -0.03em;
}

.brand-mark {
  display: inline-grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border-radius: 11px;
  background: linear-gradient(135deg, #f09a72, #dc6e3f);
  color: #fff7ef;
  font-family: "Georgia", "Songti SC", serif;
}

.brand-text {
  font-size: 1.1rem;
}

.desktop-nav {
  display: flex;
  align-items: center;
  gap: 24px;
  color: var(--text-soft);
  font-size: 0.96rem;
}

.desktop-nav a:hover,
.mobile-menu a:hover {
  color: var(--text-main);
}

.desktop-nav-dark a {
  color: rgba(20, 32, 51, 0.74);
}

.menu-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 4px;
  width: 42px;
  height: 42px;
  padding: 0;
  border: 0;
  border-radius: 12px;
  background: transparent;
  cursor: pointer;
}

.menu-toggle span:not(.sr-only) {
  width: 22px;
  height: 2px;
  border-radius: 999px;
  background: var(--text-main);
}

.mobile-menu {
  margin-top: 10px;
  padding: 12px;
  border: 1px solid rgba(20, 32, 51, 0.08);
  border-radius: 20px;
  background: rgba(250, 246, 239, 0.92);
  box-shadow: 0 18px 30px rgba(32, 24, 15, 0.06);
}

.mobile-menu a {
  display: block;
  padding: 12px 10px;
  color: var(--text-soft);
}

.section-dark {
  position: relative;
  overflow: hidden;
  color: var(--text-inverse);
  background:
    radial-gradient(circle at left top, rgba(234, 123, 77, 0.28), transparent 22%),
    radial-gradient(circle at right bottom, rgba(120, 146, 238, 0.12), transparent 25%),
    linear-gradient(145deg, #1c1f29 0%, #182132 52%, #121929 100%);
}

.section-dark::before {
  position: absolute;
  inset: 0;
  content: "";
  opacity: 0.2;
  background-image: radial-gradient(rgba(255, 255, 255, 0.7) 0.7px, transparent 0.7px);
  background-size: 18px 18px;
}

.hero {
  display: grid;
  gap: 30px;
  margin-top: 18px;
  padding: 72px 44px 42px;
  border-radius: 36px;
  box-shadow: 0 35px 90px rgba(15, 18, 24, 0.28);
}

.hero-copy,
.hero-stats,
.pricing-copy,
.pricing-card {
  position: relative;
  z-index: 1;
}

.eyebrow,
.section-label,
.qr-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  width: fit-content;
  padding: 10px 15px;
  border-radius: 999px;
  font-size: 0.88rem;
  font-weight: 600;
  letter-spacing: 0.01em;
}

.eyebrow {
  color: rgba(255, 245, 238, 0.92);
  background: rgba(255, 255, 255, 0.09);
  border: 1px solid var(--border-dark);
}

.eyebrow-dot {
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: #67ee91;
  box-shadow: 0 0 12px #67ee91;
}

.hero-kicker {
  margin: 28px 0 12px;
  color: rgba(255, 237, 223, 0.7);
  font-size: 0.92rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.hero h1,
.contact-hero h1,
.section-heading h2,
.pricing-copy h2,
.replace-note h2,
.error-wrap h1 {
  margin: 0;
  font-family: "Georgia", "Songti SC", "Noto Serif SC", serif;
  letter-spacing: -0.04em;
}

.hero h1 {
  max-width: 780px;
  font-size: clamp(2.7rem, 7vw, 5.2rem);
  line-height: 0.98;
}

.hero h1 span {
  display: block;
  margin-top: 12px;
  color: #ec855a;
}

.hero-description,
.contact-hero p,
.section-heading p,
.issue-card p,
.feature-card p,
.timeline-item p,
.pricing-copy p,
.faq-list p,
.qr-card p,
.replace-note li,
.error-wrap p {
  line-height: 1.8;
  font-size: 1.05rem;
}

.hero-description {
  max-width: 760px;
  margin: 24px 0 0;
  color: rgba(245, 242, 234, 0.8);
}

.hero-actions,
.contact-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 30px;
}

.hero-actions .button-emphasis {
  min-width: 236px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 56px;
  padding: 0 28px;
  border: 1px solid transparent;
  border-radius: 18px;
  font-weight: 700;
  transition:
    transform 160ms ease,
    box-shadow 160ms ease,
    border-color 160ms ease;
}

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

.button-primary {
  color: #fff7ef;
  background: linear-gradient(135deg, #f18b5b, #df6e3f);
  box-shadow: var(--shadow-button);
}

.button-emphasis {
  position: relative;
  overflow: hidden;
  box-shadow:
    0 0 0 1px rgba(255, 236, 212, 0.12),
    0 20px 36px rgba(241, 139, 91, 0.34),
    0 0 38px rgba(255, 190, 102, 0.16);
  animation: impactPulse 2.8s ease-in-out infinite;
}

.button-emphasis::before {
  position: absolute;
  top: 0;
  left: -32%;
  width: 28%;
  height: 100%;
  content: "";
  transform: skewX(-24deg);
  background: linear-gradient(
    90deg,
    rgba(255, 255, 255, 0) 0%,
    rgba(255, 255, 255, 0.18) 40%,
    rgba(255, 255, 255, 0.72) 52%,
    rgba(255, 255, 255, 0.08) 68%,
    rgba(255, 255, 255, 0) 100%
  );
  animation: impactSweep 3.2s ease-in-out infinite;
}

.button-impact {
  color: #fff9f1;
  background: linear-gradient(135deg, #ffd07d 0%, #f18b5b 45%, #d86133 100%);
  border-color: rgba(255, 236, 212, 0.4);
  box-shadow:
    0 0 0 1px rgba(255, 236, 212, 0.16),
    0 20px 36px rgba(241, 139, 91, 0.34),
    0 0 38px rgba(255, 190, 102, 0.22);
}

.button-emphasis:hover {
  box-shadow:
    0 0 0 1px rgba(255, 236, 212, 0.24),
    0 24px 44px rgba(241, 139, 91, 0.42),
    0 0 48px rgba(255, 190, 102, 0.28);
}

.button-secondary {
  color: var(--text-main);
  background: rgba(255, 255, 255, 0.58);
  border-color: rgba(20, 32, 51, 0.12);
}

.section-dark .button-secondary,
.contact-page .button-secondary {
  color: var(--text-inverse);
  background: rgba(255, 255, 255, 0.09);
  border-color: rgba(255, 255, 255, 0.18);
}

.button-tertiary {
  min-height: 50px;
  padding: 0 20px;
  color: rgba(245, 242, 234, 0.74);
  background: rgba(255, 255, 255, 0.04);
  border-color: rgba(255, 255, 255, 0.08);
  font-weight: 600;
  box-shadow: none;
}

.button-tertiary:hover {
  color: rgba(255, 248, 240, 0.92);
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.14);
  box-shadow: none;
}

.button-block {
  width: 100%;
}

@keyframes impactPulse {
  0%,
  100% {
    transform: translateY(0);
    box-shadow:
      0 0 0 1px rgba(255, 236, 212, 0.16),
      0 20px 36px rgba(241, 139, 91, 0.34),
      0 0 38px rgba(255, 190, 102, 0.22);
  }

  50% {
    transform: translateY(-2px);
    box-shadow:
      0 0 0 1px rgba(255, 236, 212, 0.2),
      0 24px 44px rgba(241, 139, 91, 0.42),
      0 0 48px rgba(255, 190, 102, 0.32);
  }
}

@keyframes impactSweep {
  0% {
    left: -32%;
    opacity: 0;
  }

  12% {
    opacity: 1;
  }

  44% {
    left: 118%;
    opacity: 0.95;
  }

  100% {
    left: 118%;
    opacity: 0;
  }
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
  margin-top: 10px;
  padding: 20px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.06);
}

.hero-stats article {
  padding: 12px 8px;
  text-align: center;
}

.hero-stats strong {
  display: block;
  margin-bottom: 8px;
  font-size: clamp(1.7rem, 4vw, 2.5rem);
  line-height: 1;
}

.hero-stats span {
  color: rgba(245, 242, 234, 0.72);
  font-size: 0.96rem;
}

.content-section {
  margin-top: 22px;
  padding: 72px 34px;
  border-radius: 34px;
}

.section-light {
  background: rgba(250, 246, 239, 0.78);
  border: 1px solid rgba(255, 255, 255, 0.45);
  box-shadow: var(--shadow-soft);
  backdrop-filter: blur(14px);
}

.section-heading {
  max-width: 760px;
}

.section-label {
  color: var(--accent-deep);
  background: rgba(234, 123, 77, 0.12);
}

.section-label-dark {
  color: rgba(255, 236, 227, 0.94);
  background: rgba(255, 255, 255, 0.08);
}

.section-heading h2,
.contact-hero h1,
.pricing-copy h2,
.replace-note h2,
.error-wrap h1 {
  font-size: clamp(2rem, 5vw, 3.7rem);
  line-height: 1.06;
  margin-top: 18px;
}

.section-heading p,
.pricing-copy p,
.contact-hero p {
  margin-top: 16px;
  color: var(--text-soft);
}

.issue-grid,
.feature-grid,
.faq-list {
  display: grid;
  gap: 18px;
  margin-top: 34px;
}

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

.issue-card,
.feature-card,
.qr-card,
.replace-note,
.error-wrap {
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  box-shadow: 0 16px 30px rgba(58, 40, 20, 0.06);
}

.issue-card,
.feature-card {
  min-height: 240px;
  padding: 28px;
  border-radius: 26px;
}

.issue-index,
.feature-card span,
.timeline-item span {
  color: var(--accent);
  font-weight: 700;
}

.issue-card h3,
.feature-card h3,
.timeline-item h3,
.qr-card h2 {
  margin: 18px 0 10px;
  font-size: 1.5rem;
  line-height: 1.2;
}

.issue-card p,
.feature-card p {
  margin: 0;
  color: var(--text-soft);
}

.feature-card-dark {
  color: var(--text-inverse);
  background:
    radial-gradient(circle at top left, rgba(234, 123, 77, 0.2), transparent 25%),
    linear-gradient(150deg, #171c27, #1f2735);
}

.feature-card-dark p {
  color: rgba(245, 242, 234, 0.76);
}

.timeline {
  display: grid;
  gap: 18px;
  margin-top: 34px;
}

.timeline-item {
  display: grid;
  grid-template-columns: 64px 1fr;
  gap: 18px;
  padding: 22px 24px;
  border-radius: 24px;
  border: 1px solid var(--border-light);
  background: rgba(255, 255, 255, 0.46);
}

.timeline-item span {
  display: inline-grid;
  place-items: center;
  width: 56px;
  height: 56px;
  border-radius: 18px;
  background: rgba(234, 123, 77, 0.12);
  font-size: 1.05rem;
}

.timeline-item h3,
.timeline-item p {
  margin: 0;
}

.timeline-item p {
  margin-top: 8px;
  color: var(--text-soft);
}

.pricing-section {
  display: grid;
  grid-template-columns: 1.2fr 0.9fr;
  gap: 22px;
  align-items: stretch;
}

.pricing-copy p {
  color: rgba(245, 242, 234, 0.75);
}

.pricing-card {
  align-self: stretch;
  padding: 28px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.06);
}

.pricing-topline {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 18px;
}

.pricing-topline span {
  font-size: 1rem;
  color: rgba(245, 242, 234, 0.72);
}

.pricing-topline strong {
  font-family: "Georgia", "Songti SC", serif;
  font-size: 2.8rem;
  letter-spacing: -0.05em;
}

.pricing-list {
  margin: 0 0 24px;
  padding: 0;
  list-style: none;
}

.pricing-list li {
  padding: 14px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  color: rgba(245, 242, 234, 0.82);
}

.pricing-list li:last-child {
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.faq-list details {
  padding: 22px 24px;
  border-radius: 22px;
  border: 1px solid var(--border-light);
  background: rgba(255, 255, 255, 0.52);
}

.faq-list summary {
  cursor: pointer;
  font-weight: 700;
  list-style: none;
}

.faq-list summary::-webkit-details-marker {
  display: none;
}

.faq-list p {
  margin: 12px 0 0;
  color: var(--text-soft);
}

.floating-contact {
  position: fixed;
  right: max(18px, calc((100vw - var(--max-width)) / 2 + 20px));
  bottom: 24px;
  z-index: 30;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 14px;
  border-radius: 999px;
  color: #fff8ef;
  background: linear-gradient(135deg, #f18b5b, #df6e3f);
  box-shadow: var(--shadow-button);
}

.floating-icon {
  display: inline-grid;
  place-items: center;
  width: 28px;
  height: 28px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.16);
  font-size: 0.92rem;
  font-weight: 700;
}

.contact-page {
  min-height: 100vh;
  background:
    radial-gradient(circle at top left, rgba(234, 123, 77, 0.18), transparent 22%),
    linear-gradient(180deg, #f7f1e7 0%, #efe6d8 100%);
}

.topbar-light {
  background: rgba(255, 250, 244, 0.82);
}

.contact-hero {
  margin-top: 22px;
  padding: 72px 34px 48px;
  border-radius: 34px;
  color: var(--text-inverse);
  background:
    radial-gradient(circle at right top, rgba(234, 123, 77, 0.2), transparent 28%),
    linear-gradient(140deg, #1d2130 0%, #232a38 42%, #151c2a 100%);
  box-shadow: 0 35px 90px rgba(15, 18, 24, 0.22);
}

.contact-hero p {
  max-width: 780px;
  color: rgba(245, 242, 234, 0.78);
}

.qr-section {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
  margin-top: 22px;
}

.qr-card {
  padding: 28px;
  border-radius: 30px;
}

.qr-card-head {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.qr-badge {
  color: var(--accent-deep);
  background: rgba(234, 123, 77, 0.12);
}

.qr-card img {
  width: min(100%, 320px);
  margin: 28px auto 18px;
  border-radius: 22px;
  background: white;
  border: 1px solid rgba(20, 32, 51, 0.08);
  box-shadow: 0 20px 40px rgba(58, 40, 20, 0.08);
}

.qr-card p {
  margin: 0;
  color: var(--text-soft);
}

.replace-note {
  margin-top: 22px;
  padding: 28px;
  border-radius: 30px;
}

.replace-note ol {
  margin: 24px 0 0;
  padding-left: 22px;
}

.replace-note li {
  color: var(--text-soft);
  margin-bottom: 10px;
}

.error-page {
  display: grid;
  min-height: 100vh;
  place-items: center;
}

.error-wrap {
  width: min(calc(100% - 32px), 720px);
  padding: 42px;
  border-radius: 34px;
  text-align: center;
}

.error-wrap p {
  color: var(--text-soft);
  margin: 18px auto 28px;
  max-width: 520px;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

@media (max-width: 960px) {
  .desktop-nav {
    display: none;
  }

  .menu-toggle {
    display: inline-flex;
  }

  .hero,
  .content-section,
  .contact-hero {
    padding-left: 24px;
    padding-right: 24px;
  }

  .issue-grid,
  .feature-grid,
  .pricing-section,
  .qr-section {
    grid-template-columns: 1fr;
  }

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

@media (max-width: 640px) {
  .hero-actions {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
    align-items: stretch;
  }

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

  .hero-actions .button-tertiary {
    grid-column: 1 / -1;
    justify-self: start;
    width: auto;
  }

  .site-shell {
    width: min(calc(100% - 20px), var(--max-width));
    margin-top: 14px;
  }

  .topbar {
    padding: 16px 18px;
    border-radius: 20px;
  }

  .brand {
    font-size: 1.3rem;
  }

  .hero {
    padding-top: 52px;
    border-radius: 28px;
  }

  .content-section,
  .contact-hero,
  .replace-note,
  .error-wrap {
    padding: 24px 18px;
    border-radius: 24px;
  }

  .hero-stats {
    padding: 12px;
    border-radius: 22px;
  }

  .hero-stats strong {
    font-size: 1.65rem;
  }

  .hero-stats span,
  .timeline-item p,
  .faq-list p,
  .issue-card p,
  .feature-card p,
  .qr-card p {
    font-size: 0.96rem;
  }

  .issue-card,
  .feature-card,
  .timeline-item,
  .pricing-card,
  .qr-card {
    padding: 20px;
    border-radius: 22px;
  }

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

  .floating-contact {
    right: 14px;
    bottom: 18px;
  }
}

@media (max-width: 420px) {
  .hero-actions {
    grid-template-columns: 1fr;
  }

  .hero-actions .button-tertiary {
    width: 100%;
    justify-self: stretch;
  }
}
