/* ═══════════════════════════════════════════
   Hero — 主图 + 极简首页
   左：文案 + 输入 + 胶囊   右：订阅卡 + 横框
   ═══════════════════════════════════════════ */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex; align-items: center;
  overflow: hidden;
  background: #1a1a1a;
}
/* 双主图轮播 */
.hero__slides { position: absolute; inset: 0; z-index: 0; }
.hero__slide {
  position: absolute; inset: 0;
  background-size: cover; background-position: center;
  opacity: 0; transition: opacity 1.2s var(--ease);
}
.hero__slide.active { opacity: 1; }
.hero__slide--1 { background-image: url('../assets/hero-1.png'); }
.hero__slide--2 { background-image: url('../assets/hero-2.jpg'); }
/* 视频主图（Remotion 渲染的丝线氛围循环，海报帧兜底） */
.hero__video {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
}
.hero__overlay {
  position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(90deg, rgba(0,0,0,0.55) 0%, rgba(0,0,0,0.30) 45%, rgba(0,0,0,0.15) 100%);
}
.hero__inner {
  position: relative; z-index: 2;
  width: 100%; margin: 0 auto;
  padding: calc(var(--nav-h) + 48px) 48px 96px;
  display: flex; align-items: center; gap: 48px;
}

/* 左侧 */
.hero__left { flex: 1; min-width: 0; max-width: 640px; }
.hero__title {
  color: #FFFFFF; font-weight: 400;
  font-size: clamp(2.6rem, 6vw, 5.2rem);
  line-height: 1.15; letter-spacing: -0.02em;
  margin-bottom: 18px;
}
.hero__sub {
  color: rgba(255,255,255,0.78);
  font-size: clamp(0.95rem, 1.6vw, 1.15rem);
  font-weight: 300; letter-spacing: 0.02em;
  margin-bottom: 36px;
}
.hero__gen {
  display: flex; align-items: center; gap: 8px;
  max-width: 560px;
  padding: 6px 6px 6px 22px;
  background: rgba(255,255,255,0.10);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid rgba(255,255,255,0.28);
  border-radius: var(--radius-pill);
  box-shadow: 0 8px 32px rgba(0,0,0,0.18);
}
.hero__input {
  flex: 1; min-width: 0;
  background: transparent; border: none; outline: none;
  color: #fff; font-size: 0.9rem;
  padding: 8px 0;
}
.hero__input::placeholder { color: rgba(255,255,255,0.62); }
.hero__capsule {
  padding: 11px 22px;
  background: #FFFFFF; color: #000000;
  border-radius: var(--radius-pill);
  font-size: 0.85rem; font-weight: 500;
  white-space: nowrap; flex-shrink: 0;
  transition: background 0.2s, color 0.2s, transform 0.2s;
}
.hero__capsule:hover { background: #000; color: #fff; transform: translateY(-1px); }

/* 左下角圆形切换按钮 — 黑底白字 */
.hero__switch {
  position: absolute; left: 48px; bottom: 40px; z-index: 3;
  display: flex; gap: 10px;
}
.hero__arrow {
  width: 44px; height: 44px; border-radius: 50%;
  background: #FFFFFF; color: #000000;
  border: 1px solid #FFFFFF;
  display: flex; align-items: center; justify-content: center;
  transition: background 0.2s, color 0.2s;
}
.hero__arrow svg { width: 22px; height: 22px; display: block; }
.hero__arrow:hover { background: #000000; color: #FFFFFF; }

/* 右侧：订阅卡 + 横框 (绝对定位，底部与左下切换箭头对齐) */
.hero__right {
  position: absolute;
  right: 48px;
  bottom: 40px;
  width: 360px;
  z-index: 3;
  display: flex; flex-direction: column; gap: 16px;
}
.hero__plan-card {
  background: rgba(255,255,255,0.96);
  border-radius: var(--radius-lg);
  padding: 24px;
  box-shadow: var(--shadow-lg);
  /* 注意：不得对 transform 加 CSS transition — 会与 GSAP 入场/tilt 的逐帧写入冲突 */
  transition: box-shadow 0.3s ease;
  will-change: transform;
}
[data-theme="dark"] .hero__plan-card {
  background: rgba(30,29,26,0.94);
  border: 1px solid var(--border);
}
.hero__plan-head {
  font-size: 0.78rem; font-weight: 500;
  color: var(--fg-muted); letter-spacing: 0.06em;
  text-transform: uppercase; margin-bottom: 14px;
}
.hero__plan-title {
  font-family: var(--font-display);
  font-size: 1.6rem; font-weight: 500; color: var(--fg);
  margin-bottom: 10px;
}
.hero__plan-desc {
  font-size: 0.82rem; color: var(--fg-muted);
  margin-bottom: 14px;
}
/* 订阅三档 mini 列表 */
.hero__plan-tiers { list-style: none; margin-bottom: 10px; }
.hero__plan-tiers li {
  display: flex; justify-content: space-between; align-items: baseline;
  padding: 9px 0; border-top: 1px solid var(--border);
  font-size: 0.82rem; color: var(--fg-muted);
}
.hero__plan-tiers li b { font-weight: 500; color: var(--fg); font-size: 0.85rem; }
.hero__plan-tiers li.is-hot span, .hero__plan-tiers li.is-hot b { color: var(--pop); }
.hero__plan-note { font-size: 0.68rem; color: var(--fg-dim); }
.hero__showcase {
  background: rgba(255,255,255,0.12);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid rgba(255,255,255,0.25);
  border-radius: var(--radius-lg);
  padding: 12px;
  display: flex; gap: 10px;
  overflow-x: auto; overflow-y: hidden;
  scrollbar-width: none;
  -ms-overflow-style: none;
  margin-left: -28px;
  width: calc(100% + 28px);
  cursor: grab;
}
.hero__showcase.grabbing { cursor: grabbing; }
.hero__showcase::-webkit-scrollbar { display: none; width: 0; height: 0; }
.hero__showcase img {
  width: 120px; height: 80px; object-fit: cover;
  border-radius: var(--radius); flex-shrink: 0;
}
.hero__showcase-ph {
  width: 120px; height: 80px; flex-shrink: 0;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: var(--radius);
  display: flex; align-items: center; justify-content: center;
  color: rgba(255,255,255,0.3); font-size: 0.7rem;
}

@media (max-width: 1100px) {
  .hero__right { width: 300px; right: 24px; }
}
@media (max-width: 900px) {
  .hero__inner { flex-direction: column; align-items: flex-start; gap: 28px; padding: calc(var(--nav-h) + 24px) 20px 80px; }
  .hero__right { position: static; right: auto; bottom: auto; width: 100%; margin-top: 24px; }
  .hero__switch { left: 20px; bottom: 20px; }
}
@media (max-width: 500px) {
  .hero__inner { padding: calc(var(--nav-h) + 16px) 16px 60px; }
  .hero__gen { padding: 5px 5px 5px 16px; }
  .hero__capsule { padding: 10px 18px; font-size: 0.78rem; }
  .hero__switch { left: 12px; bottom: 12px; gap: 6px; }
  .hero__arrow { width: 36px; height: 36px; }
  .hero__arrow svg { width: 18px; height: 18px; }
}

/* ═══════ 浅灰统计横杠 ═══════ */
.statbar {
  background: var(--bg-soft);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.statbar__inner {
  max-width: var(--max-w); margin: 0 auto; padding: 20px 32px;
  display: flex; align-items: center; justify-content: space-between;
  gap: 16px; flex-wrap: wrap;
}
.statbar__item {
  font-size: 0.95rem; color: var(--fg-muted); white-space: nowrap;
}
.statbar__item b {
  font-family: var(--font-display); font-weight: 500;
  font-size: 1.05rem; color: var(--fg); margin-right: 6px;
}
.statbar__sep { color: var(--fg-dim); font-weight: 300; font-size: 0.9rem; }

/* ═══════ 彝跃向前 — 绣娘卡片 ═══════ */
.home-section { padding: 80px 0 100px; background: var(--bg); }
.home-title {
  font-size: clamp(2.2rem, 5vw, 3.6rem);
  font-weight: 500; color: var(--fg);
  margin-bottom: 10px;
}
.home-sub {
  font-size: clamp(0.95rem, 1.6vw, 1.1rem);
  color: var(--fg-muted); margin-bottom: 48px;
}
.lady-slider {
  overflow-x: auto; overflow-y: hidden;
  scrollbar-width: none;
  -ms-overflow-style: none;
  margin-bottom: 36px;
  /* 延伸到视口右边缘，让末张卡片被边缘遮挡 → 暗示可翻 */
  margin-right: calc(50% - 50vw);
  cursor: grab;
}
.lady-slider.grabbing { cursor: grabbing; }
.lady-slider::-webkit-scrollbar { display: none; width: 0; height: 0; }
.lady-track {
  display: inline-flex; gap: 16px;
  /* 末尾留出与左侧内容边距对称的右间距，使最后一张卡片翻到尽头时正常完整显示 */
  padding-right: max(32px, calc(50vw - 608px));
}
.lady-card {
  flex: 0 0 280px;
  position: relative;
  aspect-ratio: 3 / 4;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: linear-gradient(135deg, var(--bg-hover) 0%, var(--border) 100%);
  border: 1px solid var(--border);
  box-shadow: 0 2px 8px rgba(0,0,0,0.08);
  /* transform 由 JS tilt/GSAP 驱动，禁 CSS transition 防写入冲突 */
  transition: box-shadow 0.3s ease;
  transform-style: preserve-3d;
  will-change: transform;
}
.lady-card__ph {
  position: absolute; inset: 0;
  display: flex; align-items: center; justify-content: center;
  color: var(--fg-muted); font-size: 0.8rem;
}
.lady-name {
  position: absolute; top: 18px; left: 18px;
  color: #fff; font-family: var(--font-display);
  font-size: 1.7rem; font-weight: 500;
  text-shadow: 0 1px 8px rgba(0,0,0,0.4);
  z-index: 2;
}
.lady-contact {
  position: absolute; bottom: 18px; left: 18px;
  padding: 8px 18px;
  background: rgba(255,255,255,0.95); color: #000;
  border-radius: var(--radius-pill);
  font-size: 0.78rem; font-weight: 500;
  z-index: 2;
  transition: background 0.2s, color 0.2s;
}
.lady-contact:hover { background: #000; color: #fff; }
@media (max-width: 1100px) { .lady-card { flex-basis: 240px; } .lady-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 768px) { .lady-card { flex-basis: 200px; } .lady-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 500px) { .lady-card { flex-basis: 78vw; } .lady-grid { grid-template-columns: 1fr; } }

/* 滑动控制 — 无圆形底的加粗箭头 + 黑底胶囊"查看全部" */
.slider-ctrl {
  display: flex; align-items: center; gap: 18px;
}
.slider-arrow {
  width: auto; height: auto; padding: 0 2px;
  border: none; background: none; border-radius: 0;
  color: var(--fg);
  font-size: 2.2rem; font-weight: 700; line-height: 1;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0; transition: color 0.2s, transform 0.2s;
}
.slider-arrow:hover { color: var(--fg-muted); }
.slider-arrow:disabled { opacity: 0.25; pointer-events: none; }
.slider-bar {
  width: 220px; max-width: 36vw; height: 2px; background: var(--border);
  border-radius: 2px; overflow: hidden;
}
.slider-bar-fill {
  height: 100%; background: var(--fg);
  width: 25%; transition: width 0.4s var(--ease);
}
.slider-all {
  background: var(--fg); color: var(--bg);
  padding: 9px 22px;
  border-radius: var(--radius-pill);
  font-size: 0.8rem; font-weight: 500;
  white-space: nowrap; flex-shrink: 0;
  transition: background 0.2s, color 0.2s;
}
.slider-all:hover { background: var(--accent-dark); color: var(--bg); }

/* ═══════ 绣娘全量页网格 (/ladies) ═══════ */
.lady-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
/* lady-grid breakpoints merged above with lady-card */
