/* 拾光贝 AI相框官网 · 桌面端 / Pad横竖屏 / 手机端 / 10语种含原生RTL 样式系统 */

:root {
  --bg-paper: #faf6f0;
  --bg-linen: #f2eae0;
  --bg-card: #fffdf9;
  --bg-walnut: #261c16;
  --bg-walnut-soft: #33261e;

  --ink-primary: #2b211b;
  --ink-secondary: #625348;
  --ink-muted: #8a7b6f;
  --ink-on-dark: #f7f1e8;
  --ink-on-dark-muted: rgba(247, 241, 232, 0.78);

  --accent: #c4572c;
  --accent-hover: #ab461f;
  --accent-soft: rgba(196, 87, 44, 0.11);
  --amber: #d98c3e;
  --sage: #4e6454;

  --line: rgba(43, 33, 27, 0.11);
  --line-dark: rgba(247, 241, 232, 0.15);

  --font-serif: "Noto Serif SC", "Source Han Serif SC", "Songti SC", Georgia, serif;
  --font-sans: "Noto Sans SC", -apple-system, BlinkMacSystemFont, "PingFang SC", "Microsoft YaHei", sans-serif;

  --radius-sm: 12px;
  --radius-md: 20px;
  --radius-lg: 28px;
  --shadow-soft: 0 18px 46px rgba(43, 33, 27, 0.08);
  --shadow-frame: 0 28px 60px rgba(34, 22, 14, 0.24), 0 8px 20px rgba(34, 22, 14, 0.14);
  --container-max: 1180px;
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
}

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

html {
  scroll-behavior: smooth;
  scrollbar-gutter: stable;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

body {
  margin: 0;
  background-color: var(--bg-paper);
  color: var(--ink-primary);
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.8;
  overflow-x: hidden;
}

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

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

button,
input,
textarea {
  font: inherit;
  color: inherit;
}

button {
  cursor: pointer;
}

h1,
h2,
h3,
h4 {
  font-family: var(--font-serif);
  font-weight: 600;
  line-height: 1.3;
  letter-spacing: -0.01em;
  margin: 0;
  text-wrap: balance;
}

[dir="rtl"] h1,
[dir="rtl"] h2,
[dir="rtl"] h3,
[dir="rtl"] h4 {
  letter-spacing: 0;
  line-height: 1.42;
}

p {
  margin: 0;
}

.skip-link {
  position: absolute;
  inset-inline-start: -9999px;
  top: 12px;
  padding: 10px 18px;
  background: var(--ink-primary);
  color: var(--bg-paper);
  border-radius: 999px;
  z-index: 250;
}

.skip-link:focus {
  inset-inline-start: 16px;
}

.container {
  width: min(var(--container-max), calc(100% - 48px));
  margin-inline: auto;
}

.section {
  padding: clamp(72px, 8.5vw, 120px) 0;
}

.section-tag {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.1em;
  color: var(--accent);
  margin-bottom: 14px;
}

[dir="rtl"] .section-tag,
[dir="rtl"] .eyebrow,
[dir="rtl"] .brand-text small {
  letter-spacing: 0;
}

.section-tag::before {
  content: "";
  width: 22px;
  height: 1.5px;
  background: currentColor;
  opacity: 0.72;
}

.section-tag.tag-light {
  color: #ebac65;
}

.section-head {
  max-width: 820px;
  margin-bottom: clamp(40px, 5vw, 64px);
}

.section-head.centered {
  max-width: 880px;
  margin-inline: auto;
  text-align: center;
}

.section-head.centered .section-tag {
  justify-content: center;
}

.section-head.centered .section-tag::before {
  display: none;
}

.section-head h2 {
  font-size: clamp(26px, 3.4vw, 42px);
  margin-bottom: 16px;
}

.section-intro {
  font-size: 16.5px;
  color: var(--ink-secondary);
  line-height: 1.85;
}

/* 按钮体系 */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 48px;
  padding: 0 26px;
  border-radius: 999px;
  border: 1px solid transparent;
  font-size: 15px;
  font-weight: 500;
  letter-spacing: 0.015em;
  white-space: nowrap;
  transition: transform 0.24s var(--ease-out), background-color 0.24s ease, border-color 0.24s ease, box-shadow 0.24s ease;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn:active {
  transform: translateY(0);
}

.btn:disabled {
  opacity: 0.68;
  cursor: wait;
  transform: none;
}

.btn:focus-visible,
.lang-trigger:focus-visible,
.menu-toggle:focus-visible,
.finish-btn:focus-visible,
.moment-tab:focus-visible,
.tool-pill:focus-visible,
.faq-q:focus-visible {
  outline: 2.5px solid var(--accent);
  outline-offset: 3px;
}

.btn-sm {
  min-height: 38px;
  padding: 0 18px;
  font-size: 13.5px;
}

.btn-primary {
  background-color: var(--accent);
  color: #fffaf4;
  box-shadow: 0 10px 24px rgba(196, 87, 44, 0.24);
}

.btn-primary:hover {
  background-color: var(--accent-hover);
  box-shadow: 0 14px 28px rgba(196, 87, 44, 0.3);
}

.btn-ghost {
  background-color: rgba(255, 253, 249, 0.78);
  border-color: rgba(43, 33, 27, 0.18);
  color: var(--ink-primary);
  backdrop-filter: blur(8px);
}

.btn-ghost:hover {
  background-color: #fffdf9;
  border-color: rgba(43, 33, 27, 0.36);
}

.btn-outline-light {
  background: transparent;
  border-color: rgba(247, 241, 232, 0.38);
  color: var(--ink-on-dark);
}

.btn-outline-light:hover {
  background: rgba(247, 241, 232, 0.1);
  border-color: rgba(247, 241, 232, 0.68);
}

.full-width {
  width: 100%;
}

/* 顶部导航 + 阅读进度细线 + 10 语种切换器 */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 120;
  background: linear-gradient(
    180deg,
    rgba(250, 246, 240, 0.94) 0%,
    rgba(250, 246, 240, 0.78) 72%,
    rgba(250, 246, 240, 0) 100%
  );
  transition: background-color 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
  border-bottom: 1px solid transparent;
}

.site-header.is-scrolled {
  background: rgba(250, 246, 240, 0.92);
  backdrop-filter: blur(18px) saturate(1.4);
  -webkit-backdrop-filter: blur(18px) saturate(1.4);
  border-bottom-color: var(--line);
  box-shadow: 0 4px 24px rgba(43, 33, 27, 0.05);
}

.scroll-progress {
  position: absolute;
  top: 0;
  inset-inline-start: 0;
  height: 2px;
  width: 100%;
  background: linear-gradient(90deg, var(--amber), var(--accent));
  transform: scaleX(0);
  transform-origin: left center;
  pointer-events: none;
}

[dir="rtl"] .scroll-progress {
  transform-origin: right center;
}

.header-inner {
  height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  flex: none;
}

.brand-logo {
  width: 36px;
  height: 36px;
  object-fit: contain;
  flex: none;
}

.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
}

.brand-text strong {
  font-family: var(--font-serif);
  font-size: 19px;
  font-weight: 700;
  letter-spacing: 0.03em;
  color: var(--ink-primary);
}

.brand-text small {
  font-size: 11px;
  color: var(--ink-muted);
  letter-spacing: 0.04em;
  margin-top: 2px;
  white-space: nowrap;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: clamp(14px, 1.8vw, 26px);
  min-width: 0;
}

.main-nav a {
  font-size: 14px;
  color: var(--ink-secondary);
  position: relative;
  padding: 6px 0;
  white-space: nowrap;
  transition: color 0.2s ease;
}

.main-nav a::after {
  content: "";
  position: absolute;
  inset-inline: 0;
  bottom: 0;
  height: 1.5px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: center;
  transition: transform 0.26s var(--ease-out);
}

.main-nav a:hover {
  color: var(--ink-primary);
}

.main-nav a:hover::after {
  transform: scaleX(1);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex: none;
}

/* 10 语种切换器（双列网格，对齐 PTALK 10 语种体验） */
.lang-switcher {
  position: relative;
}

.lang-trigger {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  height: 38px;
  padding: 0 12px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: rgba(255, 253, 249, 0.88);
  color: var(--ink-primary);
  font-size: 13px;
  font-weight: 500;
  white-space: nowrap;
  transition: border-color 0.2s ease, background-color 0.2s ease;
}

.lang-trigger:hover {
  border-color: rgba(196, 87, 44, 0.45);
  background: #fffdf9;
}

.globe-ico {
  width: 15px;
  height: 15px;
  fill: none;
  stroke: var(--accent);
  stroke-width: 1.8;
  flex: none;
}

.chev-ico {
  width: 14px;
  height: 14px;
  fill: none;
  stroke: var(--ink-muted);
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
  transition: transform 0.2s ease;
  flex: none;
}

.lang-trigger[aria-expanded="true"] .chev-ico {
  transform: rotate(180deg);
}

.lang-menu {
  position: absolute;
  top: calc(100% + 10px);
  inset-inline-end: 0;
  width: 312px;
  max-width: calc(100vw - 32px);
  padding: 10px;
  border-radius: 18px;
  background: var(--bg-card);
  border: 1px solid var(--line);
  box-shadow: 0 22px 48px rgba(34, 22, 14, 0.16);
  z-index: 160;
}

.lang-menu[hidden] {
  display: none;
}

.lang-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 5px;
}

.lang-option {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 8px 10px;
  border-radius: 10px;
  font-size: 13px;
  color: var(--ink-secondary);
  transition: background-color 0.18s ease, color 0.18s ease;
}

.lang-option:hover {
  background: var(--bg-linen);
  color: var(--ink-primary);
}

.lang-option.is-active {
  background: var(--accent-soft);
  color: var(--accent);
  font-weight: 600;
}

.lang-option small {
  font-size: 10.5px;
  opacity: 0.72;
  letter-spacing: 0.04em;
  flex: none;
}

.menu-toggle {
  display: none;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid var(--line);
  background: rgba(255, 253, 249, 0.88);
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  padding: 0;
}

.menu-toggle span {
  width: 17px;
  height: 1.5px;
  background: var(--ink-primary);
  transition: transform 0.24s ease;
}

.menu-toggle[aria-expanded="true"] span:first-child {
  transform: translateY(3.2px) rotate(45deg);
}

.menu-toggle[aria-expanded="true"] span:last-child {
  transform: translateY(-3.2px) rotate(-45deg);
}

.mobile-drawer {
  background: rgba(250, 246, 240, 0.98);
  border-bottom: 1px solid var(--line);
  padding: 10px 0 24px;
  max-height: calc(100dvh - 66px);
  overflow-y: auto;
}

.mobile-drawer[hidden] {
  display: none;
}

.mobile-nav {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 6px 16px;
  margin-bottom: 16px;
}

.mobile-nav a {
  padding: 11px 4px;
  font-size: 15.5px;
  border-bottom: 1px solid var(--line);
  color: var(--ink-primary);
}

.mobile-lang-block {
  padding: 12px 0 16px;
}

.mobile-lang-title {
  font-size: 12.5px;
  color: var(--ink-muted);
  margin-bottom: 8px;
}

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

.mobile-cta {
  width: 100%;
}

/* 1. Hero 首屏（支持 RTL 镜像构图，保证阿拉伯语标题同样落在左侧/右侧留白墙面） */
.hero {
  position: relative;
  min-height: min(90vh, 810px);
  display: flex;
  align-items: center;
  padding: 112px 0 68px;
  overflow: hidden;
  background-color: #f4ece2;
}

.hero-media {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 68% center;
}

[dir="rtl"] .hero-media img {
  transform: scaleX(-1);
}

.hero-scrim {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    96deg,
    rgba(250, 246, 240, 0.88) 0%,
    rgba(250, 246, 240, 0.78) 38%,
    rgba(250, 246, 240, 0.36) 56%,
    rgba(250, 246, 240, 0.04) 72%,
    rgba(250, 246, 240, 0) 100%
  );
}

[dir="rtl"] .hero-scrim {
  background: linear-gradient(
    264deg,
    rgba(250, 246, 240, 0.88) 0%,
    rgba(250, 246, 240, 0.78) 38%,
    rgba(250, 246, 240, 0.36) 56%,
    rgba(250, 246, 240, 0.04) 72%,
    rgba(250, 246, 240, 0) 100%
  );
}

.hero-content {
  position: relative;
  z-index: 2;
}

.hero-copy {
  max-width: 580px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 13.5px;
  font-weight: 500;
  letter-spacing: 0.08em;
  color: var(--accent);
  margin-bottom: 16px;
  line-height: 1.45;
}

.eyebrow::before {
  content: "";
  width: 24px;
  height: 1.5px;
  background: var(--accent);
  flex: none;
}

.hero-copy h1 {
  font-size: clamp(30px, 4vw, 50px);
  line-height: 1.24;
  color: var(--ink-primary);
  margin-bottom: 20px;
}

.hero-lead {
  font-size: clamp(15.5px, 1.25vw, 17.5px);
  line-height: 1.82;
  color: var(--ink-secondary);
  margin-bottom: 28px;
  max-width: 520px;
}

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

/* 2×2 整齐双列承诺条，兼容长语种换行与首行对齐 */
.hero-promises {
  list-style: none;
  margin: 0;
  padding: 18px 0 0;
  border-top: 1px solid rgba(43, 33, 27, 0.14);
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px 24px;
  max-width: 540px;
  font-size: 13.5px;
  line-height: 1.55;
  color: var(--ink-secondary);
}

.hero-promises li {
  display: flex;
  align-items: flex-start;
  gap: 8px;
}

.hero-promises li::before {
  content: "";
  width: 6px;
  height: 6px;
  margin-top: 8px;
  border-radius: 50%;
  background: var(--amber);
  flex: none;
}

/* 2. 为什么买它：三栏价值对比（聊天群 vs 普通电子相框 vs 拾光贝 AI 相框） */
.compare-section {
  background: var(--bg-linen);
  border-block: 1px solid var(--line);
}

.compare-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
  align-items: stretch;
}

.compare-card {
  background: rgba(255, 253, 249, 0.72);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 28px 26px;
  display: flex;
  flex-direction: column;
}

.compare-card.is-featured {
  background: var(--bg-walnut);
  color: var(--ink-on-dark);
  border-color: rgba(217, 140, 62, 0.55);
  box-shadow: 0 24px 54px rgba(34, 22, 14, 0.22);
}

.compare-badge {
  display: inline-flex;
  align-self: flex-start;
  font-size: 12.5px;
  font-weight: 500;
  padding: 5px 12px;
  border-radius: 999px;
  background: var(--bg-linen);
  color: var(--ink-secondary);
  margin-bottom: 14px;
}

.compare-card.is-featured .compare-badge {
  background: rgba(217, 140, 62, 0.22);
  color: #f6c486;
}

.compare-card h3 {
  font-size: 21px;
  line-height: 1.35;
  margin-bottom: 18px;
}

.compare-card.is-featured h3 {
  color: #fffaf3;
}

.compare-list {
  list-style: none;
  margin: 0;
  padding: 16px 0 0;
  border-top: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  gap: 12px;
  font-size: 14.5px;
  line-height: 1.7;
  color: var(--ink-secondary);
}

.compare-card.is-featured .compare-list {
  border-top-color: var(--line-dark);
  color: var(--ink-on-dark-muted);
}

.compare-list li {
  position: relative;
  padding-inline-start: 22px;
}

.compare-list li::before {
  content: "–";
  position: absolute;
  inset-inline-start: 2px;
  top: 0;
  color: var(--ink-muted);
  font-weight: 600;
}

.compare-card.is-featured .compare-list li::before {
  content: "✓";
  inset-inline-start: 0;
  color: #f0ad63;
}

/* 3. 四大购买顾虑一次解决（2×2 大图卡片） */
.values-section {
  background: var(--bg-paper);
}

.values-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 28px;
}

.value-card {
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--bg-card);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-soft);
  display: flex;
  flex-direction: column;
}

.value-media {
  position: relative;
  overflow: hidden;
  background: #ece3d7;
}

.value-media img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  transition: transform 0.7s var(--ease-out);
}

.value-card:hover .value-media img {
  transform: scale(1.03);
}

.value-pill {
  position: absolute;
  bottom: 14px;
  inset-inline-start: 14px;
  padding: 6px 13px;
  border-radius: 999px;
  background: rgba(30, 22, 16, 0.74);
  backdrop-filter: blur(8px);
  color: #fffaf3;
  font-size: 12.5px;
  font-weight: 500;
}

.value-body {
  padding: 24px 26px 28px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  flex: 1;
}

.value-worry {
  font-size: 12.5px;
  font-weight: 500;
  color: var(--accent);
}

.value-body h3 {
  font-size: 21px;
  line-height: 1.35;
}

.value-body p {
  font-size: 15px;
  color: var(--ink-secondary);
  line-height: 1.78;
}

/* 5. 实物品质与购前安心（双木色实拍 + 零顾虑保障） */
.confidence-section {
  background: var(--bg-paper);
}

.confidence-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.craft-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.96fr) minmax(0, 1.04fr);
  gap: clamp(32px, 5vw, 72px);
  align-items: center;
}

.studio-stage {
  position: relative;
  aspect-ratio: 3 / 4;
  max-width: 490px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: #f1e8dc;
  box-shadow: var(--shadow-soft);
}

.studio-photo {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transform: scale(1.02);
  transition: opacity 0.55s var(--ease-out), transform 0.65s var(--ease-out);
}

.studio-photo.is-active {
  opacity: 1;
  transform: scale(1);
}

.finish-bar {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px;
  border-radius: 999px;
  background: var(--bg-linen);
  border: 1px solid var(--line);
  margin-top: 18px;
}

.finish-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 18px;
  border-radius: 999px;
  border: 0;
  background: transparent;
  font-size: 14px;
  font-weight: 500;
  color: var(--ink-secondary);
  transition: background-color 0.24s ease, color 0.24s ease, box-shadow 0.24s ease;
}

.finish-btn.is-active {
  background: var(--bg-card);
  color: var(--ink-primary);
  box-shadow: 0 4px 12px rgba(43, 33, 27, 0.08);
}

.swatch {
  display: inline-block;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  border: 1px solid rgba(43, 33, 27, 0.2);
  flex: none;
}

.swatch-walnut {
  background: linear-gradient(135deg, #69452e, #3f271a);
}

.swatch-oak {
  background: linear-gradient(135deg, #dec39d, #b89468);
}

.finish-caption {
  margin-top: 10px;
  font-size: 14px;
  color: var(--ink-muted);
  max-width: 490px;
}

.craft-copy h2 {
  font-size: clamp(26px, 3.1vw, 38px);
  margin-bottom: 16px;
}

.craft-pillars {
  margin-top: 30px;
  display: flex;
  flex-direction: column;
}

.pillar {
  display: grid;
  grid-template-columns: 40px minmax(0, 1fr);
  gap: 14px;
  padding: 20px 0;
  border-top: 1px solid var(--line);
}

.pillar:last-child {
  border-bottom: 1px solid var(--line);
}

.pillar-num {
  font-family: var(--font-serif);
  font-size: 15px;
  color: var(--accent);
  padding-top: 2px;
}

.pillar h3 {
  font-size: 18.5px;
  margin-bottom: 6px;
}

.pillar p {
  font-size: 15px;
  color: var(--ink-secondary);
  line-height: 1.78;
}

/* 4. 可交互的实木 AI 相框体验区 */
.experience-section {
  background: var(--bg-linen);
}

.experience-stage {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: clamp(28px, 5vw, 64px);
  align-items: center;
}

.live-frame-wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.wood-bezel {
  width: min(100%, 364px);
  aspect-ratio: 10 / 15.2;
  padding: 18px;
  border-radius: 14px;
  box-shadow: var(--shadow-frame);
  transition: background 0.45s ease, box-shadow 0.45s ease;
}

.wood-bezel.is-walnut {
  background:
    repeating-linear-gradient(
      88deg,
      rgba(255, 224, 190, 0.04) 0px,
      rgba(255, 224, 190, 0.04) 2px,
      transparent 2px,
      transparent 7px
    ),
    linear-gradient(145deg, #68442f 0%, #4b2f1f 48%, #3a2316 100%);
  border: 1px solid rgba(255, 225, 194, 0.16);
}

.wood-bezel.is-oak {
  background:
    repeating-linear-gradient(
      88deg,
      rgba(120, 82, 44, 0.06) 0px,
      rgba(120, 82, 44, 0.06) 2px,
      transparent 2px,
      transparent 8px
    ),
    linear-gradient(145deg, #dec5a3 0%, #c8a77e 52%, #b59063 100%);
  border: 1px solid rgba(255, 248, 236, 0.55);
}

.wood-mat {
  width: 100%;
  height: 100%;
  padding: 5px;
  border-radius: 6px;
  background: #1c1714;
  box-shadow: inset 0 2px 8px rgba(0, 0, 0, 0.55);
}

.live-screen {
  position: relative;
  width: 100%;
  height: 100%;
  border-radius: 4px;
  overflow: hidden;
  background: #1f1a17;
  color: #fffaf4;
  cursor: pointer;
}

.live-photo {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: opacity 0.42s ease, transform 0.55s var(--ease-out);
}

.live-photo.is-switching {
  opacity: 0.25;
  transform: scale(1.03);
}

.clock-overlay {
  position: absolute;
  top: 0;
  inset-inline: 0;
  padding: 20px 20px 36px;
  background: linear-gradient(180deg, rgba(24, 17, 12, 0.74) 0%, rgba(24, 17, 12, 0) 100%);
  opacity: 0;
  transform: translateY(-8px);
  transition: opacity 0.35s ease, transform 0.35s var(--ease-out);
  pointer-events: none;
  z-index: 3;
}

.clock-overlay.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.clock-time {
  font-family: var(--font-serif);
  font-size: 36px;
  font-weight: 600;
  line-height: 1.05;
}

.clock-meta {
  font-size: 13px;
  color: rgba(255, 250, 244, 0.9);
  margin-top: 4px;
}

.screen-scrim {
  position: absolute;
  inset-inline: 0;
  bottom: 0;
  height: 60%;
  background: linear-gradient(
    to top,
    rgba(20, 14, 10, 0.92) 0%,
    rgba(20, 14, 10, 0.64) 52%,
    rgba(20, 14, 10, 0) 100%
  );
  pointer-events: none;
  z-index: 2;
}

.screen-content {
  position: absolute;
  inset-inline: 0;
  bottom: 0;
  padding: 16px;
  z-index: 4;
  display: flex;
  flex-direction: column;
  gap: 9px;
}

.screen-sender {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 12.5px;
  color: rgba(255, 244, 232, 0.86);
}

.sender-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #f0a451;
  flex: none;
}

.screen-note {
  font-family: var(--font-serif);
  font-size: 14.5px;
  line-height: 1.56;
  color: #fffaf4;
}

.voice-banner {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 9px 11px;
  border-radius: 12px;
  background: rgba(240, 164, 81, 0.24);
  border: 1px solid rgba(255, 212, 162, 0.36);
  backdrop-filter: blur(8px);
}

.voice-banner[hidden] {
  display: none;
}

.voice-banner p {
  font-size: 12px;
  line-height: 1.5;
  color: #fff6ea;
}

.wave {
  display: flex;
  align-items: center;
  gap: 3px;
  height: 18px;
  margin-top: 2px;
  flex: none;
}

.wave i {
  display: block;
  width: 3px;
  height: 6px;
  border-radius: 3px;
  background: #ffd39b;
  animation: wavePulse 0.9s ease-in-out infinite;
}

.wave i:nth-child(2) { animation-delay: 0.14s; }
.wave i:nth-child(3) { animation-delay: 0.28s; }
.wave i:nth-child(4) { animation-delay: 0.42s; }
.wave i:nth-child(5) { animation-delay: 0.56s; }

@keyframes wavePulse {
  0%, 100% { height: 5px; opacity: 0.6; }
  50% { height: 17px; opacity: 1; }
}

.screen-controls {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 7px;
  margin-top: 2px;
}

.frame-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  min-height: 38px;
  border-radius: 999px;
  border: 1px solid rgba(255, 250, 244, 0.28);
  background: rgba(255, 250, 244, 0.16);
  backdrop-filter: blur(8px);
  color: #fffaf4;
  font-size: 12px;
  font-weight: 500;
  padding: 4px 6px;
  text-align: center;
  line-height: 1.2;
  transition: background-color 0.2s ease, transform 0.2s ease;
}

.frame-btn:hover {
  background: rgba(255, 250, 244, 0.28);
}

.frame-btn.frame-btn-warm {
  background: #e59342;
  border-color: rgba(255, 232, 200, 0.48);
  color: #26160a;
  font-weight: 600;
}

.frame-btn.is-playing {
  background: #fff2de;
  color: #2b190c;
  border-color: #fff2de;
}

.btn-glyph {
  font-size: 10.5px;
  flex: none;
}

.live-frame-toolbar {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin-top: 20px;
}

.tool-pill {
  padding: 9px 15px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: var(--bg-card);
  color: var(--ink-secondary);
  font-size: 13px;
  transition: border-color 0.2s ease, color 0.2s ease, background-color 0.2s ease;
}

.tool-pill:hover,
.tool-pill[aria-pressed="true"] {
  border-color: var(--accent);
  color: var(--accent);
  background: #fff8f3;
}

.experience-panel {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.moment-tabs {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.moment-tab {
  text-align: start;
  padding: 18px 20px;
  border-radius: var(--radius-md);
  border: 1px solid var(--line);
  background: rgba(255, 253, 249, 0.68);
  transition: background-color 0.24s ease, border-color 0.24s ease, box-shadow 0.24s ease, transform 0.24s var(--ease-out);
}

.moment-tab:hover {
  background: var(--bg-card);
}

.moment-tab.is-active {
  background: var(--bg-card);
  border-color: rgba(196, 87, 44, 0.48);
  box-shadow: 0 12px 30px rgba(43, 33, 27, 0.07);
}

.tab-kicker {
  display: inline-block;
  font-size: 12px;
  font-weight: 500;
  color: var(--accent);
  margin-bottom: 5px;
}

.moment-tab strong {
  display: block;
  font-family: var(--font-serif);
  font-size: 18.5px;
  color: var(--ink-primary);
  margin-bottom: 5px;
}

.moment-tab p {
  font-size: 14px;
  color: var(--ink-secondary);
  line-height: 1.68;
}

.family-echo-card {
  padding: 20px 22px;
  border-radius: var(--radius-md);
  background: var(--bg-walnut);
  color: var(--ink-on-dark);
}

.echo-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 10px;
}

.echo-badge {
  font-size: 12.5px;
  color: #f0ad63;
}

.echo-time {
  font-size: 12px;
  color: var(--ink-on-dark-muted);
}

.echo-quote {
  font-family: var(--font-serif);
  font-size: 15.5px;
  line-height: 1.72;
  color: #fffaf3;
  margin-bottom: 10px;
}

.echo-footnote {
  font-size: 13px;
  color: var(--ink-on-dark-muted);
}

/* 6. 常见问题 */
.faq-section {
  background: var(--bg-linen);
}

.faq-container {
  max-width: 840px;
}

.faq-list {
  display: flex;
  flex-direction: column;
  border-top: 1px solid var(--line);
}

.faq-item {
  border-bottom: 1px solid var(--line);
}

.faq-q {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 22px 4px;
  background: transparent;
  border: 0;
  text-align: start;
  font-family: var(--font-serif);
  font-size: 18.5px;
  font-weight: 600;
  color: var(--ink-primary);
}

.faq-icon {
  position: relative;
  width: 22px;
  height: 22px;
  flex: none;
}

.faq-icon::before,
.faq-icon::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 14px;
  height: 1.5px;
  background: var(--ink-secondary);
  transform: translate(-50%, -50%);
  transition: transform 0.25s ease, opacity 0.25s ease;
}

.faq-icon::after {
  transform: translate(-50%, -50%) rotate(90deg);
}

.faq-item.is-open .faq-icon::after {
  transform: translate(-50%, -50%) rotate(0deg);
  opacity: 0;
}

.faq-a {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.34s var(--ease-out);
}

.faq-item.is-open .faq-a {
  grid-template-rows: 1fr;
}

.faq-a-inner {
  overflow: hidden;
}

.faq-a-inner p {
  padding: 0 4px 22px;
  padding-inline-end: 32px;
  font-size: 15px;
  color: var(--ink-secondary);
  line-height: 1.85;
}

/* 9. 收尾号召与页脚 */
.closing-section {
  background:
    radial-gradient(circle at 50% 0%, rgba(217, 140, 62, 0.2) 0%, rgba(38, 28, 22, 0) 62%),
    var(--bg-walnut);
  color: var(--ink-on-dark);
  padding: clamp(78px, 9.5vw, 122px) 0;
  text-align: center;
}

.closing-inner {
  max-width: 920px;
}

.closing-mark {
  margin: 0 auto 22px;
}

.closing-inner h2 {
  font-size: clamp(26px, 3.6vw, 40px);
  line-height: 1.35;
  color: #fffaf3;
  margin-bottom: 16px;
}

.closing-inner p {
  font-size: 16px;
  color: var(--ink-on-dark-muted);
  line-height: 1.85;
  margin-bottom: 32px;
}

.closing-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px;
}

.site-footer {
  background: #1d1510;
  color: var(--ink-on-dark-muted);
  padding: 56px 0 34px;
  border-top: 1px solid var(--line-dark);
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  gap: 40px;
  padding-bottom: 36px;
  border-bottom: 1px solid var(--line-dark);
}

.footer-brand {
  max-width: 340px;
}

.brand-footer .brand-text strong {
  color: #fffaf3;
}

.brand-footer .brand-text small {
  color: rgba(247, 241, 232, 0.65);
}

.footer-desc {
  margin-top: 14px;
  font-size: 14px;
  line-height: 1.78;
}

.footer-links {
  display: grid;
  grid-template-columns: minmax(120px, auto) minmax(120px, auto) minmax(210px, 270px);
  gap: 36px 48px;
}

.footer-links h4 {
  font-size: 15px;
  color: #fffaf3;
  margin-bottom: 12px;
}

.footer-links a,
.footer-link-btn {
  display: block;
  font-size: 13.5px;
  color: var(--ink-on-dark-muted);
  padding: 4px 0;
  background: transparent;
  border: 0;
  text-align: start;
  transition: color 0.2s ease;
}

.footer-links a:hover,
.footer-link-btn:hover,
.footer-lang-list a.is-current {
  color: #f6c486;
}

.footer-lang-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 4px 16px;
}

.footer-bottom {
  padding-top: 22px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px 24px;
  font-size: 13px;
  color: rgba(247, 241, 232, 0.56);
}

.footer-legal {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 18px;
}

.footer-icp {
  color: rgba(247, 241, 232, 0.72);
  transition: color 0.2s ease;
}

.footer-icp:hover {
  color: #f6c486;
}

.hp-field {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}

/* 弹窗 */
.modal-backdrop {
  position: fixed;
  inset: 0;
  z-index: 220;
  background: rgba(24, 16, 11, 0.62);
  backdrop-filter: blur(8px);
  display: grid;
  place-items: center;
  padding: 18px;
}

.modal-backdrop[hidden] {
  display: none;
}

.modal-sheet {
  position: relative;
  width: min(100%, 620px);
  max-height: 92dvh;
  overflow-y: auto;
  background: var(--bg-paper);
  border-radius: var(--radius-lg);
  padding: clamp(22px, 4vw, 36px);
  box-shadow: 0 32px 80px rgba(15, 9, 5, 0.36);
}

.modal-close {
  position: absolute;
  top: 16px;
  inset-inline-end: 16px;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 1px solid var(--line);
  background: var(--bg-card);
  font-size: 22px;
  line-height: 1;
  color: var(--ink-secondary);
}

.modal-body h3,
.modal-success h3 {
  font-size: 24px;
  margin-bottom: 8px;
  padding-inline-end: 36px;
}

.modal-success h3 {
  padding-inline-end: 0;
}

.modal-subtitle {
  font-size: 14.5px;
  color: var(--ink-secondary);
  margin-bottom: 20px;
}

.form-row-2 {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  margin-bottom: 16px;
}

.choice-group {
  border: 0;
  padding: 0;
  margin: 0;
}

.choice-group legend,
.form-field label {
  display: block;
  font-size: 13.5px;
  font-weight: 500;
  color: var(--ink-secondary);
  margin-bottom: 7px;
}

.choice-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.choice-pill {
  position: relative;
  cursor: pointer;
}

.choice-pill input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.choice-pill span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 13px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: var(--bg-card);
  font-size: 13.5px;
  color: var(--ink-primary);
  transition: border-color 0.2s ease, background-color 0.2s ease;
}

.choice-pill input:checked + span {
  border-color: var(--accent);
  background: var(--accent-soft);
  color: var(--accent);
  font-weight: 500;
}

.form-field {
  margin-bottom: 15px;
}

.form-field input,
.form-field textarea {
  width: 100%;
  border-radius: var(--radius-sm);
  border: 1px solid var(--line);
  background: var(--bg-card);
  padding: 11px 14px;
  font-size: 15px;
  color: var(--ink-primary);
  transition: border-color 0.2s ease;
}

.form-field input:focus,
.form-field textarea:focus {
  outline: none;
  border-color: var(--accent);
}

.card-preview {
  padding: 16px 18px;
  border-radius: 14px;
  background:
    repeating-linear-gradient(transparent 0 28px, rgba(196, 168, 138, 0.2) 29px),
    #fff9ee;
  border: 1px solid #e6d4be;
  margin-bottom: 16px;
}

.card-preview-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  font-family: var(--font-serif);
  font-size: 14px;
  color: var(--ink-primary);
  margin-bottom: 8px;
}

.preview-wood {
  font-family: var(--font-sans);
  font-size: 12px;
  color: var(--accent);
}

.card-preview p {
  font-family: var(--font-serif);
  font-size: 15px;
  line-height: 1.78;
  color: #463226;
  margin-bottom: 8px;
  word-break: break-word;
}

.card-preview-foot {
  text-align: end;
  font-size: 12px;
  color: var(--ink-muted);
}

.form-error {
  color: #b72e1d;
  font-size: 13.5px;
  margin-bottom: 12px;
}

.modal-success {
  text-align: center;
  padding: 10px 4px;
}

.modal-success img {
  margin: 0 auto 14px;
}

.modal-success > p {
  font-size: 15px;
  color: var(--ink-secondary);
  margin-bottom: 16px;
}

.modal-success .card-preview {
  text-align: start;
}

.success-tip {
  font-size: 13px !important;
  color: var(--ink-muted) !important;
}

/* 滚动显现 */
.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.7s var(--ease-out), transform 0.7s var(--ease-out);
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* ==========================================================================
   响应式分层：Pad 横屏 (900–1179px) / Pad 竖屏 (720–899px) / 手机端 (<=719px)
   ========================================================================== */

/* 1. Pad 横屏 & 紧凑笔记本 (1024×768 / 1180×820) */
@media (max-width: 1179px) {
  .container {
    width: min(1060px, calc(100% - 44px));
  }

  .main-nav {
    gap: 16px;
  }

  .main-nav a {
    font-size: 13.5px;
  }

  .brand-text small {
    display: none;
  }

  .hero {
    min-height: 620px;
    padding: 102px 0 58px;
  }

  .hero-copy {
    max-width: 500px;
  }

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

  .compare-card {
    padding: 22px 20px;
  }

  .compare-card h3 {
    font-size: 19px;
  }

  .values-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px;
  }

  .footer-inner {
    flex-direction: column;
    gap: 32px;
  }
}

/* 2. Pad 竖屏专项优化 (720px–940px，覆盖 iPad 768×1024 与 iPad Air 820×1180) */
@media (max-width: 940px) {
  .main-nav {
    display: none;
  }

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

  .compare-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .hero {
    min-height: 580px;
    padding: 96px 0 52px;
  }

  .hero-media img {
    object-position: 72% center;
  }

  .hero-scrim {
    background: linear-gradient(
      96deg,
      rgba(250, 246, 240, 0.94) 0%,
      rgba(250, 246, 240, 0.86) 44%,
      rgba(250, 246, 240, 0.42) 64%,
      rgba(250, 246, 240, 0.05) 84%
    );
  }

  [dir="rtl"] .hero-scrim {
    background: linear-gradient(
      264deg,
      rgba(250, 246, 240, 0.94) 0%,
      rgba(250, 246, 240, 0.86) 44%,
      rgba(250, 246, 240, 0.42) 64%,
      rgba(250, 246, 240, 0.05) 84%
    );
  }

  .craft-grid {
    grid-template-columns: minmax(0, 0.88fr) minmax(0, 1.12fr);
    gap: 32px;
  }

  /* Pad 竖屏上交互相框居中展示，3 个场景卡横向三列舒展排布 */
  .experience-stage {
    grid-template-columns: 1fr;
    gap: 32px;
  }

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

  .moment-tab {
    padding: 16px;
  }

  .moment-tab strong {
    font-size: 16px;
  }

  .footer-links {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px;
  }
}

/* Pad 竖屏较窄区间 (720px–819px)：工艺区改为居中上下，避免过窄 */
@media (max-width: 819px) {
  .craft-grid {
    grid-template-columns: 1fr;
  }

  .craft-visual {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .studio-stage {
    width: min(100%, 420px);
  }

  /* iPad 768 竖屏首屏采用大气上图下文构图，避免文字遮挡木相框 */
  .hero {
    min-height: auto;
    padding: 72px 0 46px;
    flex-direction: column;
    align-items: stretch;
    background: var(--bg-paper);
  }

  .hero-media {
    position: relative;
    height: 440px;
  }

  .hero-media img {
    object-position: 68% center;
  }

  .hero-scrim,
  [dir="rtl"] .hero-scrim {
    background: linear-gradient(
      to top,
      rgba(250, 246, 240, 1) 0%,
      rgba(250, 246, 240, 0.3) 26%,
      rgba(250, 246, 240, 0) 60%
    );
  }

  .hero-copy {
    max-width: 640px;
  }
}

/* 3. 手机端 (<=719px，覆盖 390×844 与 360px 小屏) */
@media (max-width: 719px) {
  .container {
    width: calc(100% - 32px);
  }

  .header-inner {
    height: 64px;
    gap: 10px;
  }

  .brand-logo {
    width: 32px;
    height: 32px;
  }

  .brand-text strong {
    font-size: 18px;
  }

  .header-cta {
    display: none;
  }

  .lang-trigger {
    height: 36px;
    padding: 0 10px;
    font-size: 12.5px;
  }

  .hero {
    padding: 64px 0 40px;
  }

  .hero-media {
    height: 39vh;
    min-height: 256px;
    max-height: 326px;
  }

  .hero-media img {
    object-position: 72% center;
  }

  .hero-content {
    margin-top: -10px;
  }

  .eyebrow {
    margin-bottom: 10px;
    font-size: 12px;
  }

  .hero-copy h1 {
    font-size: clamp(26px, 7.6vw, 31px);
    line-height: 1.26;
    margin-bottom: 12px;
  }

  .hero-lead {
    font-size: 14.5px;
    line-height: 1.72;
    margin-bottom: 18px;
  }

  .hero-actions {
    flex-direction: column;
    gap: 10px;
    margin-bottom: 22px;
  }

  .hero-actions .btn {
    width: 100%;
    min-height: 46px;
  }

  .hero-promises {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px 12px;
    font-size: 12.5px;
    padding-top: 14px;
  }

  .compare-grid,
  .values-grid,
  .moment-tabs,
  .form-row-2,
  .footer-links {
    grid-template-columns: 1fr;
  }

  .confidence-actions {
    flex-direction: column;
  }

  .confidence-actions .btn {
    width: 100%;
  }

  .wood-bezel {
    padding: 14px;
  }

  .screen-controls {
    gap: 5px;
  }

  .frame-btn {
    font-size: 11.5px;
    min-height: 36px;
    padding: 4px 5px;
  }

  .closing-actions {
    flex-direction: column;
  }

  .closing-actions .btn {
    width: 100%;
  }

  .mobile-nav {
    grid-template-columns: 1fr;
  }
}

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

  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }

  .wave i {
    animation: none;
    height: 12px;
  }
}
