:root {
  --bg-top: #f9f0ee;
  --bg-bottom: #eee0dc;
  --card: #fffaf9;
  --velvet: #22141a;
  --ruby: #9e1f40;
  --ruby-deep: #5e1026;
  --champagne: #f4cc8f;
  --ink: #27181d;
  --muted: #6c5158;
  --border: rgba(158, 31, 64, 0.14);
  --shadow: 0 14px 36px rgba(94, 16, 38, 0.10);
  --radius: 22px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
html[data-lang="en"] .lang-zh { display: none !important; }
html[data-lang="zh"] .lang-en { display: none !important; }

body {
  margin: 0;
  color: var(--ink);
  font-family: -apple-system, BlinkMacSystemFont, "PingFang SC", "Helvetica Neue", sans-serif;
  line-height: 1.65;
  background: linear-gradient(180deg, var(--bg-top), var(--bg-bottom));
  min-height: 100vh;
}

h1, h2, .serif {
  font-family: Georgia, "Songti SC", "Times New Roman", serif;
}

a { color: var(--ruby); text-decoration: none; }
a:hover { text-decoration: underline; }

.container { max-width: 1040px; margin: 0 auto; padding: 0 22px; }

/* Header */
.topbar {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(58, 12, 26, 0.94);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(244, 204, 143, 0.28);
}
.topbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 68px;
  flex-wrap: wrap;
  padding: 10px 0;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  font-family: Georgia, "Songti SC", serif;
  font-weight: 700;
  font-size: 20px;
  color: #fff;
}
.brand:hover { text-decoration: none; }
.brand img {
  width: 36px;
  height: 36px;
  border-radius: 9px;
  border: 1px solid rgba(244, 204, 143, 0.45);
}
.nav { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.nav a {
  color: rgba(255, 245, 240, 0.82);
  font-weight: 600;
  font-size: 14px;
  padding: 7px 12px;
  border-radius: 999px;
}
.nav a:hover, .nav a.active {
  color: var(--champagne);
  background: rgba(244, 204, 143, 0.14);
  text-decoration: none;
}
.lang-btn {
  border: 1px solid rgba(244, 204, 143, 0.45);
  background: transparent;
  color: var(--champagne);
  font: inherit;
  font-size: 13px;
  font-weight: 700;
  padding: 6px 13px;
  border-radius: 999px;
  cursor: pointer;
}
.lang-btn:hover { background: rgba(244, 204, 143, 0.16); }

/* Hero */
.hero {
  padding: 48px 0 36px;
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 36px;
  align-items: center;
}
.marquee-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  border-radius: 999px;
  background: var(--ruby-deep);
  color: var(--champagne);
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 16px;
}
h1 {
  font-size: clamp(34px, 5vw, 52px);
  line-height: 1.12;
  margin: 0 0 16px;
  color: var(--ink);
}
.lead { font-size: 17.5px; color: var(--muted); margin: 0 0 24px; max-width: 50ch; }
.cta-row { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; margin-bottom: 20px; }
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: linear-gradient(135deg, var(--ruby), var(--ruby-deep));
  color: #fff;
  font-weight: 700;
  font-size: 15px;
  padding: 13px 22px;
  border-radius: 999px;
  box-shadow: 0 10px 22px rgba(158, 31, 64, 0.30);
  border: 1px solid rgba(244, 204, 143, 0.35);
  cursor: pointer;
}
.btn-primary:hover { text-decoration: none; filter: brightness(1.06); }
.btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--card);
  color: var(--ruby-deep);
  font-weight: 700;
  font-size: 15px;
  padding: 12px 20px;
  border-radius: 999px;
  border: 1px solid var(--border);
  cursor: pointer;
}
.btn-secondary:hover { border-color: var(--ruby); text-decoration: none; }
.badges { display: flex; flex-wrap: wrap; gap: 8px; }
.badge {
  font-size: 12.5px;
  font-weight: 600;
  padding: 5px 11px;
  border-radius: 999px;
  background: var(--card);
  border: 1px solid var(--border);
  color: var(--muted);
}

/* Velvet Darkroom Strip Stage */
.velvet-stage {
  background: linear-gradient(180deg, #1b1116, #2d1822);
  border: 1px solid rgba(244, 204, 143, 0.25);
  border-radius: 28px;
  padding: 24px 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
  box-shadow: 0 20px 44px rgba(30, 10, 18, 0.28);
}
.photo-strip {
  width: 196px;
  background: #fff3e2;
  padding: 10px 10px 12px;
  border-radius: 6px;
  box-shadow: 0 14px 28px rgba(0, 0, 0, 0.52);
  display: grid;
  gap: 6px;
}
.strip-frame {
  height: 76px;
  border-radius: 3px;
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  padding: 6px 8px;
  color: #fff;
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 10.5px;
  font-weight: 700;
}
.f1 { background: linear-gradient(135deg, #c2516c, #e89f8f); }
.f2 { background: linear-gradient(135deg, #8b2d47, #d67a6e); border: 2px solid var(--champagne); }
.f3 { background: linear-gradient(135deg, #4f3142, #a86274); }
.f4 { background: linear-gradient(135deg, #2d2630, #7c6f78); }
.strip-stamp {
  text-align: center;
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.1em;
  color: rgba(39, 24, 29, 0.72);
  padding-top: 4px;
}
.stage-caption {
  margin-top: 14px;
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 12px;
  color: var(--champagne);
  letter-spacing: 0.04em;
}

/* Sections & Cards */
section { padding: 28px 0; }
.section-head { margin-bottom: 20px; }
.section-head h2 { font-size: 30px; margin: 0 0 6px; }
.section-head p { margin: 0; color: var(--muted); }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 20px;
  box-shadow: var(--shadow);
}
.card h3 { margin: 0 0 8px; font-size: 18px; font-family: Georgia, "Songti SC", serif; }
.card p { margin: 0; color: var(--muted); font-size: 14.5px; }
.icon-chip {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 12px;
  background: rgba(158, 31, 64, 0.11);
  color: var(--ruby);
  font-size: 18px;
  margin-bottom: 12px;
}

.pricing-banner {
  background: linear-gradient(135deg, #4b0e20, #7d1b36);
  color: #fff;
  border: 1px solid rgba(244, 204, 143, 0.35);
  border-radius: 26px;
  padding: 28px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
  box-shadow: 0 18px 36px rgba(94, 16, 38, 0.24);
}
.pricing-banner p { color: rgba(255, 240, 236, 0.85); }
.price-tag { font-size: 38px; font-weight: 800; color: var(--champagne); font-family: Georgia, serif; line-height: 1; }

/* Docs */
.doc-shell { padding: 40px 0 64px; max-width: 820px; }
.doc-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 26px;
  padding: 32px;
  box-shadow: var(--shadow);
}
.doc-card h1 { font-size: 34px; margin-bottom: 8px; }
.doc-card h2 { font-size: 21px; margin: 26px 0 8px; color: var(--ink); }
.doc-card p, .doc-card li { color: var(--muted); font-size: 15px; }
.doc-card ul, .doc-card ol { padding-left: 20px; }
.doc-meta { font-size: 13px; color: var(--muted); margin-bottom: 22px; padding-bottom: 16px; border-bottom: 1px solid var(--border); }
.callout {
  background: rgba(158, 31, 64, 0.07);
  border: 1px solid rgba(158, 31, 64, 0.22);
  border-radius: 16px;
  padding: 16px 18px;
  margin: 18px 0;
}
.callout strong { color: var(--ruby); }
.support-box {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  padding: 18px 20px;
  background: #f5e9e6;
  border: 1px solid var(--border);
  border-radius: 18px;
  margin: 18px 0 24px;
}
.faq-item { border-top: 1px solid var(--border); padding: 16px 0; }
.faq-item:first-of-type { border-top: none; }
.faq-item h3 { margin: 0 0 6px; font-size: 16.5px; color: var(--ink); }

footer {
  margin-top: 36px;
  padding: 28px 0 44px;
  border-top: 1px solid var(--border);
  color: var(--muted);
  font-size: 13.5px;
}
.footer-inner { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 14px; }
.footer-links { display: flex; gap: 18px; flex-wrap: wrap; }

@media (max-width: 820px) {
  .hero { grid-template-columns: 1fr; padding-top: 28px; }
  .grid-3 { grid-template-columns: 1fr; }
  .doc-card { padding: 22px; }
}
