:root {
  --cb-orange: #ff7420;
  --cb-orange-deep: #e85d0c;
  --cb-ink: #2d2218;
  --cb-muted: #6b5648;
  --cb-cream: #fff6eb;
  --cb-peach: #ffe0c2;
  --cb-line: rgba(45, 34, 24, 0.12);
  --cb-font: "Nunito", "Noto Sans SC", "PingFang SC", "Microsoft YaHei", system-ui, sans-serif;
  --cb-max: 1120px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--cb-font);
  color: var(--cb-ink);
  background:
    radial-gradient(1200px 600px at 10% -10%, #ffd7a8 0%, transparent 55%),
    radial-gradient(900px 500px at 100% 0%, #ffb36a 0%, transparent 45%),
    linear-gradient(180deg, #fff8f0 0%, #fff3e6 40%, #ffe9d4 100%);
  line-height: 1.55;
  min-height: 100vh;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: inherit;
}

.skip-link {
  position: absolute;
  left: -999px;
  top: 0;
  background: #fff;
  padding: 0.6rem 1rem;
  z-index: 100;
}

.skip-link:focus {
  left: 1rem;
  top: 1rem;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  backdrop-filter: blur(10px);
  background: rgba(255, 248, 240, 0.88);
  border-bottom: 1px solid var(--cb-line);
}

.site-header-inner {
  max-width: var(--cb-max);
  margin: 0 auto;
  padding: 0.75rem 1.25rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  text-decoration: none;
  font-weight: 800;
  font-size: 1.35rem;
  letter-spacing: -0.02em;
}

.brand img {
  width: 40px;
  height: 40px;
  border-radius: 10px;
}

.header-right {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.lang-switch {
  display: inline-flex;
  border: 1px solid var(--cb-line);
  border-radius: 999px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.7);
}

.lang-btn {
  appearance: none;
  border: 0;
  background: transparent;
  padding: 0.35rem 0.7rem;
  font: inherit;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--cb-muted);
  cursor: pointer;
}

.lang-btn.is-active {
  background: var(--cb-ink);
  color: #fff;
}

.header-cta {
  display: none;
}

@media (min-width: 720px) {
  .header-cta {
    display: inline-flex;
  }
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  text-decoration: none;
  font-weight: 800;
  border-radius: 999px;
  padding: 0.75rem 1.25rem;
  border: 2px solid transparent;
  transition: transform 0.18s ease, background 0.18s ease, border-color 0.18s ease;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn-primary {
  background: var(--cb-orange);
  color: #fff;
  box-shadow: 0 10px 24px rgba(255, 116, 32, 0.28);
}

.btn-primary:hover {
  background: var(--cb-orange-deep);
}

.btn-ghost {
  background: rgba(255, 255, 255, 0.7);
  border-color: rgba(45, 34, 24, 0.16);
  color: var(--cb-ink);
}

.hero {
  position: relative;
  overflow: hidden;
  padding: 2.5rem 1.25rem 1.5rem;
}

.hero::before {
  content: "";
  position: absolute;
  inset: -20% -10% auto;
  height: 70%;
  background:
    radial-gradient(circle at 20% 40%, rgba(255, 116, 32, 0.22), transparent 40%),
    radial-gradient(circle at 80% 20%, rgba(255, 179, 106, 0.35), transparent 42%);
  pointer-events: none;
  animation: drift 12s ease-in-out infinite alternate;
}

@keyframes drift {
  from { transform: translate3d(0, 0, 0) scale(1); }
  to { transform: translate3d(2%, 3%, 0) scale(1.04); }
}

.hero-inner {
  position: relative;
  max-width: var(--cb-max);
  margin: 0 auto;
  display: grid;
  gap: 1.75rem;
}

@media (min-width: 900px) {
  .hero-inner {
    grid-template-columns: 1.1fr 0.9fr;
    align-items: end;
    min-height: min(72vh, 640px);
  }
}

.hero-copy {
  max-width: 36rem;
}

.hero-brand {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1rem;
  text-decoration: none;
}

.hero-brand img {
  width: 64px;
  height: 64px;
  border-radius: 16px;
  animation: pop-in 0.7s cubic-bezier(0.2, 0.8, 0.2, 1) both;
}

.hero-brand span {
  font-size: clamp(2.4rem, 6vw, 3.6rem);
  font-weight: 900;
  letter-spacing: -0.04em;
  line-height: 1;
}

@keyframes pop-in {
  from { opacity: 0; transform: scale(0.92) translateY(8px); }
  to { opacity: 1; transform: none; }
}

.hero h1 {
  margin: 0 0 0.85rem;
  font-size: clamp(1.55rem, 3.4vw, 2.25rem);
  line-height: 1.2;
  letter-spacing: -0.02em;
  animation: rise 0.75s ease both 0.08s;
}

.hero-lead {
  margin: 0 0 1.4rem;
  color: var(--cb-muted);
  font-size: 1.08rem;
  max-width: 34rem;
  animation: rise 0.75s ease both 0.16s;
}

@keyframes rise {
  from { opacity: 0; transform: translateY(12px); }
  to { opacity: 1; transform: none; }
}

.hero-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
  animation: rise 0.75s ease both 0.24s;
}

.hero-visual {
  position: relative;
  margin: 0 -1.25rem;
}

@media (min-width: 900px) {
  .hero-visual {
    margin: 0;
  }
}

.hero-visual img {
  width: 100%;
  max-height: min(62vh, 560px);
  object-fit: cover;
  object-position: top left;
  border-radius: 0;
}

@media (min-width: 900px) {
  .hero-visual img {
    border-radius: 28px 0 0 28px;
    box-shadow: -18px 24px 50px rgba(45, 34, 24, 0.14);
  }
}

.shot-strip {
  width: 100%;
  overflow-x: auto;
  padding: 0.5rem 0 1.25rem;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
}

.shot-strip-track {
  display: flex;
  gap: 0.85rem;
  padding: 0 1.25rem;
  width: max-content;
  min-width: 100%;
}

.shot-strip figure {
  margin: 0;
  scroll-snap-align: start;
  flex: 0 0 auto;
  width: min(72vw, 280px);
}

.shot-strip img {
  width: 100%;
  aspect-ratio: 9 / 16;
  object-fit: cover;
  object-position: top left;
  border-radius: 18px;
  box-shadow: 0 14px 30px rgba(45, 34, 24, 0.12);
  background: #fff8f0;
}

.shot-strip figcaption {
  margin-top: 0.45rem;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--cb-muted);
  text-align: center;
}

.section {
  max-width: var(--cb-max);
  margin: 0 auto;
  padding: 2.75rem 1.25rem;
}

.section h2 {
  margin: 0 0 0.6rem;
  font-size: clamp(1.45rem, 3vw, 1.9rem);
  letter-spacing: -0.02em;
}

.section-lead {
  margin: 0 0 1.5rem;
  color: var(--cb-muted);
  max-width: 40rem;
}

.feature-grid {
  display: grid;
  gap: 1.25rem;
}

@media (min-width: 720px) {
  .feature-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 980px) {
  .feature-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.feature {
  padding: 0.25rem 0 0.5rem;
  border-top: 2px solid rgba(255, 116, 32, 0.35);
}

.feature h3 {
  margin: 0.85rem 0 0.4rem;
  font-size: 1.12rem;
}

.feature p {
  margin: 0;
  color: var(--cb-muted);
  font-size: 0.98rem;
}

.audience-list {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 0.85rem;
}

@media (min-width: 720px) {
  .audience-list {
    grid-template-columns: repeat(3, 1fr);
  }
}

.audience-list li {
  padding: 0.2rem 0;
}

.audience-list strong {
  display: block;
  margin-bottom: 0.25rem;
}

.audience-list span {
  color: var(--cb-muted);
  font-size: 0.95rem;
}

.faq-block {
  max-width: 44rem;
}

.faq-block p {
  color: var(--cb-muted);
  margin: 0.6rem 0 0;
}

.cta-band {
  margin: 1rem 1.25rem 2.5rem;
  padding: 2rem 1.25rem;
  border-radius: 24px;
  background: linear-gradient(135deg, #ff8a3d 0%, #ff7420 55%, #e85d0c 100%);
  color: #fff;
  text-align: center;
  box-shadow: 0 18px 40px rgba(232, 93, 12, 0.28);
}

.cta-band h2 {
  margin: 0 0 0.5rem;
  font-size: clamp(1.4rem, 3vw, 1.85rem);
}

.cta-band p {
  margin: 0 0 1.1rem;
  opacity: 0.95;
}

.cta-band .btn-primary {
  background: #fff;
  color: var(--cb-orange-deep);
  box-shadow: none;
}

.cta-band .btn-ghost {
  background: transparent;
  border-color: rgba(255, 255, 255, 0.55);
  color: #fff;
}

.site-footer {
  border-top: 1px solid var(--cb-line);
  background: rgba(255, 255, 255, 0.45);
  padding: 1.75rem 1.25rem 2.5rem;
}

.site-footer-inner {
  max-width: var(--cb-max);
  margin: 0 auto;
  display: grid;
  gap: 1rem;
}

@media (min-width: 720px) {
  .site-footer-inner {
    grid-template-columns: 1.2fr 1fr;
    align-items: start;
  }
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.1rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.footer-links a {
  text-decoration: none;
  font-weight: 700;
  color: var(--cb-muted);
}

.footer-links a:hover {
  color: var(--cb-orange);
}

.footer-note {
  margin: 0.5rem 0 0;
  color: var(--cb-muted);
  font-size: 0.9rem;
}

/* Article / lander pages */
.page-hero {
  max-width: var(--cb-max);
  margin: 0 auto;
  padding: 2.5rem 1.25rem 1rem;
}

.page-hero h1 {
  margin: 0 0 0.75rem;
  font-size: clamp(1.7rem, 3.6vw, 2.4rem);
  letter-spacing: -0.03em;
  line-height: 1.15;
}

.page-hero .lead {
  margin: 0;
  color: var(--cb-muted);
  max-width: 40rem;
  font-size: 1.08rem;
}

.article {
  max-width: 46rem;
  margin: 0 auto;
  padding: 0.5rem 1.25rem 2.5rem;
}

.article h2 {
  margin: 2rem 0 0.6rem;
  font-size: 1.35rem;
}

.article p,
.article li {
  color: var(--cb-muted);
}

.article p {
  margin: 0 0 1rem;
}

.article ul {
  margin: 0 0 1.2rem;
  padding-left: 1.2rem;
}

.crumb {
  margin: 0 0 1rem;
  font-size: 0.9rem;
  color: var(--cb-muted);
}

.crumb a {
  color: var(--cb-orange-deep);
  text-decoration: none;
  font-weight: 700;
}

body.lang-en [data-i18n="zh-Hans"],
body.lang-zh [data-i18n="en"] {
  display: none !important;
}

body:not(.lang-zh):not(.lang-en) [data-i18n="zh-Hans"] {
  display: none !important;
}

body.inapp-gate-open {
  overflow: hidden;
}

.inapp-gate {
  position: fixed;
  inset: 0;
  z-index: 80;
  display: grid;
  place-items: center;
  padding: 1.25rem;
  background: rgba(45, 34, 24, 0.45);
  backdrop-filter: blur(4px);
}

.inapp-gate[hidden] {
  display: none !important;
}

.inapp-gate-card {
  position: relative;
  width: min(100%, 420px);
  background: #fff8f0;
  border-radius: 22px;
  padding: 1.4rem 1.25rem 1.25rem;
  box-shadow: 0 20px 50px rgba(45, 34, 24, 0.22);
}

.inapp-gate-close {
  position: absolute;
  top: 0.55rem;
  right: 0.7rem;
  border: 0;
  background: transparent;
  font-size: 1.5rem;
  line-height: 1;
  color: var(--cb-muted);
  cursor: pointer;
}

.inapp-gate-kicker {
  margin: 0 0 0.35rem;
  font-size: 0.85rem;
  font-weight: 800;
  color: var(--cb-orange);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.inapp-gate-card h2 {
  margin: 0 0 0.65rem;
  font-size: 1.35rem;
  letter-spacing: -0.02em;
}

.inapp-gate-copy {
  margin: 0 0 1.1rem;
  color: var(--cb-muted);
  font-size: 0.98rem;
}

.inapp-gate-actions {
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
}

.inapp-gate-note {
  margin: 0.75rem 0 0;
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--cb-orange-deep);
}
