/* ============================================================
   乐客软件 · 统一站点样式
   配合 Tailwind CDN 使用；本文件提供组件级样式：
   - 交互式产品演示台 (.demo-showcase)
   - 滚动入场动画 (.reveal)
   - FAQ 手风琴 (.faq-*)
   - 面包屑 / 按钮 / 区块间距辅助类
   ============================================================ */

:root {
  --leke-blue: #002068;
  --leke-blue-2: #003399;
  --leke-blue-tint: #3557bc;
  --leke-orange: #f28c28;
  --leke-orange-deep: #b86418;
  --leke-text: #1a1c1e;
  --leke-muted: #5b6472;
  --leke-line: rgba(26, 28, 30, 0.08);
  --leke-radius: 24px;
  --leke-shadow: 0 24px 60px rgba(26, 36, 58, 0.10);
}

/* ---------- 滚动入场动画 ---------- */
.reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 0.7s ease, transform 0.7s ease;
  will-change: opacity, transform;
}
.reveal.in {
  opacity: 1;
  transform: none;
}
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; }
}

/* ---------- 面包屑 ---------- */
.leke-breadcrumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: var(--leke-muted);
}
.leke-breadcrumb a { color: var(--leke-muted); transition: color 0.2s; }
.leke-breadcrumb a:hover { color: var(--leke-blue); }
.leke-breadcrumb .sep { opacity: 0.5; }
.leke-breadcrumb .current { color: var(--leke-blue); font-weight: 600; }

/* ---------- 按钮（与 Tailwind 并联使用） ---------- */
.btn-leke {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 50px;
  padding: 0 26px;
  border-radius: 14px;
  font-weight: 700;
  font-size: 16px;
  transition: transform 0.2s ease, box-shadow 0.2s ease, filter 0.2s ease;
  cursor: pointer;
  white-space: nowrap;
}
.btn-leke-primary {
  background: var(--leke-orange);
  color: #fff;
  box-shadow: 0 14px 34px rgba(242, 140, 40, 0.28);
}
.btn-leke-primary:hover { filter: brightness(1.05); transform: translateY(-2px); }
.btn-leke-ghost {
  background: rgba(255, 255, 255, 0.85);
  color: var(--leke-blue);
  border: 1px solid rgba(0, 32, 104, 0.16);
}
.btn-leke-ghost:hover { background: #fff; transform: translateY(-2px); }
.btn-leke:active { transform: scale(0.97); }

/* ---------- 区块标题 ---------- */
.section-head { max-width: 760px; }
.section-head .eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 14px;
  border-radius: 999px;
  background: rgba(242, 140, 40, 0.12);
  color: var(--leke-orange-deep);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.06em;
}

/* ---------- 平台支持网格 ---------- */
.platform-grid img { transition: transform 0.3s ease; }
.platform-grid .platform-card:hover img { transform: scale(1.06); }

/* ---------- 交互式产品演示台（源自 dropshipping，已通用化） ---------- */
@keyframes showcaseGlow {
  0%, 100% { transform: scale(1); opacity: 0.7; }
  50% { transform: scale(1.08); opacity: 1; }
}
@keyframes showcaseFloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-6px); }
}
.demo-showcase {
  position: relative;
  overflow: hidden;
  padding: 5px;
  border-radius: 34px;
  border: 1px solid rgba(22, 39, 80, 0.08);
  background:
    radial-gradient(circle at top left, rgba(91, 118, 255, 0.18), transparent 26%),
    radial-gradient(circle at 88% 14%, rgba(242, 140, 40, 0.18), transparent 22%),
    linear-gradient(135deg, #0b1220 0%, #12233f 48%, #0e1728 100%);
  box-shadow: 0 28px 64px rgba(12, 20, 38, 0.18);
}
.demo-showcase::before,
.demo-showcase::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  filter: blur(18px);
  animation: showcaseGlow 6s ease-in-out infinite;
  pointer-events: none;
}
.demo-showcase::before {
  top: -44px; left: -28px;
  width: 180px; height: 180px;
  background: rgba(84, 123, 255, 0.24);
}
.demo-showcase::after {
  right: -36px; bottom: -28px;
  width: 150px; height: 150px;
  background: rgba(242, 140, 40, 0.2);
  animation-delay: 1.4s;
}
.demo-console {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 280px;
  gap: 28px;
  align-items: stretch;
}
.demo-stage { position: relative; overflow: hidden; border-radius: 30px; }
.demo-stage-topbar {
  position: absolute; top: 0; left: 0; right: 0; height: 54px;
  display: flex; align-items: center; justify-content: flex-start; gap: 12px;
  margin: 0; padding: 0 18px;
  color: rgba(233, 240, 255, 0.76);
  background: linear-gradient(180deg, rgba(255,255,255,0.10), rgba(255,255,255,0.04));
  border: 1px solid rgba(255,255,255,0.10); border-bottom: 0;
  border-radius: 30px 30px 0 0; z-index: 4;
}
.demo-stage-topbar strong { display: block; font-size: 16px; color: #fff; letter-spacing: -0.01em; }
.demo-stage-topbar span { display: block; margin-top: 4px; font-size: 12px; color: rgba(220, 229, 246, 0.62); }
.demo-stage-indicators { display: inline-flex; align-items: center; gap: 8px; flex: 0 0 auto; }
.demo-stage-indicators i { width: 10px; height: 10px; border-radius: 999px; display: inline-block; }
.demo-stage-indicators i:nth-child(1) { background: #ff7262; }
.demo-stage-indicators i:nth-child(2) { background: #ffbe52; }
.demo-stage-indicators i:nth-child(3) { background: #5ad17b; }
.demo-screen-frame {
  position: relative; overflow: hidden; border-radius: 24px; padding-top: 54px;
  background: linear-gradient(180deg, rgba(8,16,31,0.16), rgba(8,16,31,0.56)), #08111f;
  border: 10px solid rgba(3, 8, 18, 0.58);
  box-shadow: inset 0 0 0 1px rgba(255,255,255,0.05), 0 26px 70px rgba(3, 10, 20, 0.38);
  min-height: 560px;
}
.demo-screen-frame::before {
  content: ""; position: absolute; left: 0; right: 0; top: 54px; height: 1px;
  background: rgba(255,255,255,0.08); z-index: 4; pointer-events: none;
}
.demo-screen-meta {
  position: absolute; left: 18px; top: 18px; right: 18px; z-index: 3;
  display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; pointer-events: none;
}
.demo-screen-chip {
  display: inline-flex; align-items: center; min-height: 32px; padding: 0 12px; border-radius: 999px;
  background: rgba(255,255,255,0.14); border: 1px solid rgba(255,255,255,0.12);
  backdrop-filter: blur(12px); color: #fff; font-size: 12px; font-weight: 700; letter-spacing: 0.06em;
}
.demo-screen-live {
  display: inline-flex; align-items: center; gap: 8px; min-height: 32px; padding: 0 12px; border-radius: 999px;
  background: rgba(8, 16, 30, 0.48); border: 1px solid rgba(255,255,255,0.08);
  color: rgba(255,255,255,0.82); font-size: 12px; font-weight: 700; letter-spacing: 0.04em;
}
.demo-screen-live::before {
  content: ""; width: 8px; height: 8px; border-radius: 999px; background: #42d57f;
  box-shadow: 0 0 12px rgba(66, 213, 127, 0.8);
}
.demo-screen-stack { position: relative; min-height: 560px; }
.demo-screen-item {
  position: absolute; inset: 0; opacity: 0; transform: translateY(16px) scale(0.985);
  transition: opacity 0.34s ease, transform 0.34s ease; pointer-events: none; padding: 0;
}
.demo-screen-item.is-active { opacity: 1; transform: translateY(0) scale(1); pointer-events: auto; }
.demo-screen-item img {
  display: block; width: 100%; height: 100%; min-height: 0; object-fit: fill; border-radius: 0;
  box-shadow: 0 24px 54px rgba(0, 0, 0, 0.28);
}
.demo-screen-float {
  position: absolute; right: 28px; bottom: 28px; z-index: 3; padding: 14px 16px; border-radius: 18px;
  background: rgba(7, 12, 22, 0.82); border: 1px solid rgba(255,255,255,0.08); backdrop-filter: blur(16px);
  color: #f8fbff; box-shadow: 0 18px 36px rgba(2, 8, 18, 0.34);
  animation: showcaseFloat 4.8s ease-in-out infinite; pointer-events: none; max-width: 280px;
}
.demo-screen-float strong { display: block; font-size: 15px; line-height: 1.2; color: #fff; }
.demo-screen-float span { display: block; margin-top: 6px; color: rgba(238, 245, 255, 0.86); font-size: 12px; line-height: 1.6; }
.demo-nav {
  position: relative; overflow: hidden; display: grid; align-content: start; gap: 14px; padding: 16px;
  border-radius: 26px;
  background: linear-gradient(180deg, rgba(255,255,255,0.10), rgba(255,255,255,0.05));
  border: 1px solid rgba(255,255,255,0.14); backdrop-filter: blur(18px);
  box-shadow: 0 20px 46px rgba(4, 10, 20, 0.18);
}
.demo-nav-head { padding: 2px 2px 8px; }
.demo-nav-kicker {
  display: inline-flex; align-items: center; min-height: 28px; padding: 0 10px; border-radius: 999px;
  background: rgba(255,255,255,0.1); color: rgba(255,255,255,0.78); font-size: 11px; font-weight: 700; letter-spacing: 0.08em;
}
.demo-nav-head h3 { margin-top: 12px; font-size: 20px; line-height: 1.12; color: #fff; letter-spacing: -0.03em; }
.demo-nav-head p { margin-top: 10px; color: rgba(228, 236, 255, 0.72); font-size: 12px; line-height: 1.8; }
.demo-nav-list { display: grid; gap: 6px; }
.demo-nav-btn {
  width: 100%; display: grid; grid-template-columns: 54px minmax(0, 1fr) 16px; align-items: center; gap: 12px;
  padding: 6px; border-radius: 16px; border: 1px solid rgba(255,255,255,0.10); background: rgba(255,255,255,0.05);
  color: #fff; text-align: left; cursor: pointer;
  transition: transform 0.22s ease, background 0.22s ease, border-color 0.22s ease, box-shadow 0.22s ease;
}
.demo-nav-btn:hover { transform: translateY(-2px); background: rgba(255,255,255,0.08); border-color: rgba(255,255,255,0.16); }
.demo-nav-btn.is-active {
  background: linear-gradient(135deg, rgba(242, 140, 40, 0.22), rgba(83, 121, 255, 0.14));
  border-color: rgba(242, 140, 40, 0.28); box-shadow: 0 16px 32px rgba(3, 10, 20, 0.24);
}
.demo-nav-icon {
  width: 54px; height: 54px; display: inline-flex; align-items: center; justify-content: center; border-radius: 12px;
  background: rgba(255,255,255,0.10); color: #fff;
}
.demo-nav-icon .material-symbols-outlined { font-size: 22px; font-variation-settings: "FILL" 1, "wght" 500; }
.demo-nav-body strong { display: block; font-size: 14px; line-height: 1.2; color: #fff; letter-spacing: -0.01em; white-space: nowrap; }
.demo-nav-body span { display: none; }
.demo-nav-arrow { color: rgba(255,255,255,0.44); transition: transform 0.22s ease, color 0.22s ease; }
.demo-nav-btn.is-active .demo-nav-arrow,
.demo-nav-btn:hover .demo-nav-arrow { transform: translateX(2px); color: #fff; }
.demo-nav-footer {
  margin-top: 4px; padding: 14px 16px; border-radius: 18px; background: rgba(7, 15, 28, 0.28);
  border: 1px solid rgba(255,255,255,0.08); color: rgba(231, 239, 255, 0.74); font-size: 12px; line-height: 1.75;
}

/* ---------- FAQ 手风琴 ---------- */
.faq-list { display: grid; gap: 14px; }
.faq-item {
  border: 1px solid var(--leke-line); border-radius: 18px; background: #fff; overflow: hidden;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.faq-item.open { border-color: rgba(242, 140, 40, 0.4); box-shadow: 0 16px 36px rgba(242, 140, 40, 0.10); }
.faq-q {
  width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 20px 24px; text-align: left; font-size: 17px; font-weight: 600; color: var(--leke-blue);
  background: transparent; border: 0; cursor: pointer;
}
.faq-q .material-symbols-outlined { color: var(--leke-orange); transition: transform 0.3s ease; flex: 0 0 auto; }
.faq-item.open .faq-q .material-symbols-outlined { transform: rotate(180deg); }
.faq-a { max-height: 0; overflow: hidden; transition: max-height 0.35s ease; }
.faq-a-inner { padding: 0 24px 22px; color: var(--leke-muted); line-height: 1.9; font-size: 15px; }

/* ---------- 客户评价卡 ---------- */
.review-card { border: 1px solid var(--leke-line); background: #fff; border-radius: 20px; padding: 26px; box-shadow: var(--leke-shadow); }

/* ---------- 数据指标 ---------- */
.metric-chip strong { display: block; font-size: 30px; color: var(--leke-blue); line-height: 1.1; }

/* ---------- 首页 Hero 轮播 ---------- */
.hero-carousel-wrap { position: relative; width: 100%; }
.hero-carousel {
  position: relative; overflow: hidden; border-radius: 24px;
  background: linear-gradient(180deg, #f6f7fb, #eef0f5);
  width: 100%;
}
.hero-slide {
  position: absolute; inset: 0; opacity: 0; visibility: hidden;
  transform: scale(1.02); transition: opacity 0.65s ease, transform 0.65s ease, visibility 0.65s ease;
  pointer-events: none; z-index: 0;
  display: flex; align-items: center; justify-content: center;
}
.hero-slide.is-active { opacity: 1; visibility: visible; transform: scale(1); pointer-events: auto; z-index: 1; }
.hero-slide img {
  display: block; width: 100%; height: auto;
  border-radius: 16px;
}
.hero-slide-placeholder {
  position: relative; opacity: 0; pointer-events: none; z-index: -1;
}
.hero-slide-placeholder img {
  display: block; width: 100%; height: auto; border-radius: 16px;
}
.hero-dots {
  position: absolute; left: 50%; bottom: 14px; transform: translateX(-50%);
  display: inline-flex; align-items: center; gap: 10px; z-index: 3;
  padding: 6px 12px; border-radius: 999px;
  background: rgba(255, 255, 255, 0.82); backdrop-filter: blur(4px);
}
.hero-dots button {
  width: 10px; height: 10px; border-radius: 999px; border: 0; padding: 0;
  background: rgba(0, 32, 104, 0.22); cursor: pointer; transition: all 0.3s ease;
}
.hero-dots button.is-active { width: 28px; background: var(--leke-orange); }
.hero-dots button:hover { background: rgba(242, 140, 40, 0.7); }
.hero-arrows {
  position: absolute; inset: 0; pointer-events: none; z-index: 2;
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 16px;
}
.hero-arrows button {
  pointer-events: auto; width: 44px; height: 44px; border-radius: 50%; border: 0;
  background: rgba(255, 255, 255, 0.92); color: var(--leke-blue);
  box-shadow: 0 8px 24px rgba(0, 32, 104, 0.16); cursor: pointer;
  display: inline-flex; align-items: center; justify-content: center;
  transition: transform 0.2s ease, background 0.2s ease;
}
.hero-arrows button:hover { background: #fff; transform: scale(1.06); }
.hero-arrows .material-symbols-outlined { font-size: 22px; }
@media (max-width: 1023px) {
  .hero-slide img,
  .hero-slide-placeholder img { max-width: 100%; max-height: 420px; width: auto; }
  .hero-dots { bottom: 8px; }
}

/* ---------- 移动端适配 ---------- */
@media (max-width: 960px) {
  .demo-console { grid-template-columns: 1fr; }
  .demo-screen-frame, .demo-screen-stack { min-height: 360px; }
  .demo-nav-head h3 { font-size: 24px; }
}

/* ---------- 通用卡片 ---------- */
.leke-card {
  position: relative;
  border-radius: var(--leke-radius);
  border: 1px solid var(--leke-line);
  background: #fff;
  overflow: hidden;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}
.leke-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--leke-shadow);
  border-color: rgba(242, 140, 40, 0.35);
}

/* ---------- 博客统计小卡 ---------- */
.leke-stat-card {
  border-radius: 18px;
  border: 1px solid var(--leke-line);
  background: #fff;
  padding: 18px 20px;
}
.leke-stat-card .stat-num {
  font-family: "Hanken Grotesk", "Inter", sans-serif;
  font-size: 32px;
  line-height: 1.1;
  font-weight: 800;
}
.leke-stat-card .stat-label {
  margin-top: 6px;
  font-size: 12px;
  color: var(--leke-muted);
}

/* ---------- 工具内联小卡片（6 产品） ---------- */
.leke-tool-chip {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 16px;
  border-radius: 18px;
  background: #fff;
  border: 1px solid var(--leke-line);
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}
.leke-tool-chip:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 36px rgba(0, 32, 104, 0.10);
  border-color: rgba(242, 140, 40, 0.3);
}
.leke-tool-chip .material-symbols-outlined {
  width: 40px; height: 40px;
  flex: 0 0 40px;
  border-radius: 12px;
  background: rgba(0, 32, 104, 0.08);
  color: var(--leke-blue);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-variation-settings: "FILL" 0, "wght" 500;
  font-size: 22px;
}
.leke-tool-chip .material-symbols-outlined[data-accent-orange] { background: rgba(242, 140, 40, 0.12); color: #b8630e; }
.leke-tool-chip .material-symbols-outlined[data-accent-green]  { background: rgba(46, 158, 79, 0.12); color: #216d38; }
.leke-tool-chip .material-symbols-outlined[data-accent-blue2] { background: rgba(10, 102, 255, 0.12); color: #0a66ff; }
.leke-tool-chip .material-symbols-outlined[data-accent-indigo]{ background: rgba(77, 56, 169, 0.14); color: #3b2a92; }
.leke-tool-chip .material-symbols-outlined[data-accent-slate] { background: rgba(51, 65, 85, 0.14); color: #1e293b; }
.leke-tool-chip .material-symbols-outlined[data-accent-rose]  { background: rgba(225, 29, 72, 0.12); color: #be123c; }
.leke-tool-chip .leke-chip-title { color: var(--leke-blue); font-weight: 700; font-size: 15px; line-height: 1.3; }
.leke-tool-chip .leke-chip-sub   { color: var(--leke-muted); font-size: 12.5px; line-height: 1.5; margin-top: 2px; }

/* ---------- CTA Banner（与产品页深色 CTA 一致） ---------- */
.leke-cta-banner {
  position: relative;
  overflow: hidden;
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  align-items: center;
  gap: 48px;
  padding: 56px 64px;
  border-radius: 36px;
  background:
    radial-gradient(520px 300px at -10% -20%, rgba(255, 215, 164, 0.22), transparent 60%),
    radial-gradient(620px 400px at 120% 120%, rgba(181, 196, 255, 0.28), transparent 60%),
    linear-gradient(135deg, #002068 0%, #003399 55%, #3557bc 100%);
  color: #fff;
  box-shadow: 0 28px 64px rgba(0, 32, 104, 0.22);
  margin-bottom: 96px;
}
.leke-cta-banner::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(white 1px, transparent 1px),
    linear-gradient(90deg, white 1px, transparent 1px);
  background-size: 48px 48px;
  opacity: 0.05;
  pointer-events: none;
}
.leke-cta-banner > * { position: relative; z-index: 1; }
.leke-cta-banner .eyebrow { color: rgba(255,255,255,0.9); background: rgba(255,255,255,0.14); }
.leke-cta-banner .cta-underline {
  background-image: linear-gradient(90deg, #ffb77f 0%, #ffdcc4 100%);
  background-repeat: no-repeat;
  background-size: 100% 10px;
  background-position: 0 88%;
  padding: 0 2px;
  border-radius: 2px;
}
.leke-cta-banner .cta-stat-row {
  margin-top: 24px;
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}
.leke-cta-banner .cta-stat {
  border-radius: 16px;
  background: rgba(255,255,255,0.10);
  border: 1px solid rgba(255,255,255,0.16);
  padding: 10px 16px;
  backdrop-filter: blur(4px);
}
.leke-cta-banner .cta-stat .num { font-size: 20px; font-weight: 800; color: #ffdcc4; }
.leke-cta-banner .cta-stat .lbl { margin-top: 2px; font-size: 12px; color: rgba(255,255,255,0.75); }
.leke-cta-banner .leke-tool-chip {
  background: rgba(255,255,255,0.06);
  border-color: rgba(255,255,255,0.14);
  color: #fff;
  padding: 14px 16px;
}
.leke-cta-banner .leke-tool-chip:hover {
  background: rgba(255,255,255,0.10);
  border-color: rgba(255, 183, 127, 0.55);
  box-shadow: 0 18px 36px rgba(0,0,0,0.20);
}
.leke-cta-banner .leke-tool-chip .material-symbols-outlined {
  background: rgba(255,255,255,0.14) !important;
  color: #fff !important;
}
.leke-cta-banner .leke-tool-chip .leke-chip-title { color: #fff !important; }
.leke-cta-banner .leke-tool-chip .leke-chip-sub   { color: rgba(255,255,255,0.72) !important; }
@media (max-width: 960px) {
  .leke-cta-banner { grid-template-columns: 1fr; padding: 36px; }
}

/* ---------- 描边按钮（Cta 第二个按钮） ---------- */
.btn-leke-outline {
  background: transparent;
  color: #fff;
  border: 1px solid rgba(255,255,255,0.55);
}
.btn-leke-outline:hover { background: rgba(255,255,255,0.1); transform: translateY(-2px); }
