/* ============================================
   产品落地页通用组件库（深色 AI 科技风）
   使用方：llm / launcher 等落地页视图
   前缀：.pd-*
   ============================================ */

/* 页面底色 */
body { background: #0a0a0f !important; color: #e8eaf0; }

.pd-page { position: relative; overflow: hidden; }
.pd-wrap { max-width: 1120px; margin: 0 auto; padding: 0 24px; }
.pd-page > section, .pd-hero { position: relative; z-index: 1; }

/* ===== 极光光晕 + 网格背景 ===== */
.pd-bg { position: absolute; inset: 0; z-index: 0; pointer-events: none; }
.pd-orb { position: absolute; border-radius: 50%; filter: blur(90px); opacity: .5; }
.pd-orb.violet { width: 520px; height: 520px; top: -140px; left: -100px;
  background: radial-gradient(circle, rgba(139,92,246,.55), transparent 70%); animation: pd-float 14s ease-in-out infinite; }
.pd-orb.cyan { width: 460px; height: 460px; top: 60px; right: -120px;
  background: radial-gradient(circle, rgba(34,211,238,.35), transparent 70%); animation: pd-float 18s ease-in-out infinite reverse; }
.pd-orb.pink { width: 400px; height: 400px; bottom: -160px; left: 38%;
  background: radial-gradient(circle, rgba(232,121,249,.25), transparent 70%); animation: pd-float 22s ease-in-out infinite; }
@keyframes pd-float {
  0%,100% { transform: translate(0,0) scale(1); }
  50% { transform: translate(40px,-30px) scale(1.08); }
}
.pd-grid {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(139,92,246,.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(139,92,246,.05) 1px, transparent 1px);
  background-size: 44px 44px;
  -webkit-mask-image: radial-gradient(ellipse 80% 60% at 50% 0%, #000 30%, transparent 75%);
  mask-image: radial-gradient(ellipse 80% 60% at 50% 0%, #000 30%, transparent 75%);
}

/* ===== Hero ===== */
.pd-hero { text-align: center; padding: 96px 24px 72px; }
.pd-pill {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 7px 16px; border-radius: 999px; font-size: 13px; color: #cdd3e3;
  background: rgba(139,92,246,.10); border: 1px solid rgba(139,92,246,.35);
  margin-bottom: 28px; letter-spacing: .5px;
}
.pd-pill .dot { width: 7px; height: 7px; border-radius: 50%;
  background: #4ade80; box-shadow: 0 0 10px #4ade80; animation: pd-pulse 2s infinite; }
@keyframes pd-pulse { 50% { opacity: .4; } }

.pd-hero h1 {
  font-size: clamp(38px, 6vw, 64px); font-weight: 800; line-height: 1.15;
  color: #fff; margin: 0 0 22px; letter-spacing: -.02em;
}
.pd-grad {
  background: linear-gradient(92deg, #8b5cf6 10%, #22d3ee 55%, #e879f9 95%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.pd-sub { font-size: 18px; color: #9aa1b2; max-width: 640px; margin: 0 auto 40px; }

.pd-cta { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }
.pd-btn {
  display: inline-flex; align-items: center; gap: 9px;
  padding: 15px 34px; border-radius: 12px; font-size: 16px; font-weight: 600;
  transition: transform .15s ease, box-shadow .15s ease, border-color .15s;
}
.pd-btn-primary {
  color: #fff; border: none;
  background: linear-gradient(92deg, #7c3aed, #8b5cf6 45%, #06b6d4);
  box-shadow: 0 8px 32px rgba(124,58,237,.45);
}
.pd-btn-primary:hover { transform: translateY(-2px); box-shadow: 0 12px 42px rgba(124,58,237,.65); }
.pd-btn-ghost {
  color: var(--text-main, #e8eaf0); background: rgba(255,255,255,.04);
  border: 1px solid rgba(255,255,255,.09); backdrop-filter: blur(8px);
}
.pd-btn-ghost:hover { border-color: rgba(139,92,246,.6); transform: translateY(-2px); }

.pd-meta { margin-top: 22px; font-size: 13px; color: #9aa1b2;
  display: flex; gap: 18px; justify-content: center; flex-wrap: wrap; }
.pd-meta a { color: #b9c0d4; text-decoration: none; border-bottom: 1px dashed rgba(255,255,255,.25); }
.pd-meta a:hover { color: #fff; border-color: #8b5cf6; }

/* ===== 分区 ===== */
.pd-section { padding: 76px 0; }
.pd-h2 { text-align: center; font-size: clamp(26px, 3.6vw, 36px); font-weight: 700;
  color: #fff; margin: 0 0 14px; letter-spacing: -.01em; }
.pd-h2-sub { text-align: center; color: #9aa1b2; font-size: 15px; margin-bottom: 52px; }

/* ===== 玻璃卡片 ===== */
.pd-cards { display: grid; gap: 18px; grid-template-columns: repeat(auto-fit, minmax(310px, 1fr)); }
.pd-card {
  position: relative; padding: 28px; border-radius: 16px;
  background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.09);
  backdrop-filter: blur(12px);
  transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease;
  display: grid; grid-template-columns: 46px 1fr; gap: 12px 14px; align-items: center;
}
.pd-card::before {
  content: ""; position: absolute; inset: 0; border-radius: 16px; opacity: 0;
  background: radial-gradient(420px circle at var(--mx,50%) var(--my,50%), rgba(139,92,246,.14), transparent 45%);
  transition: opacity .2s; pointer-events: none;
}
.pd-card:hover { transform: translateY(-4px); border-color: rgba(139,92,246,.5);
  box-shadow: 0 16px 48px rgba(0,0,0,.5), 0 0 0 1px rgba(139,92,246,.15); }
.pd-card:hover::before { opacity: 1; }
.pd-icon {
  width: 46px; height: 46px; border-radius: 12px; display: flex;
  align-items: center; justify-content: center; font-size: 22px;
  background: linear-gradient(135deg, rgba(139,92,246,.22), rgba(34,211,238,.14));
  border: 1px solid rgba(139,92,246,.3);
}
.pd-card h3 { font-size: 17px; color: #fff; margin: 0; font-weight: 600; }
.pd-card p { grid-column: 1 / -1; font-size: 14px; color: #9aa1b2; margin: 0; line-height: 1.75; }

/* ===== 步骤 ===== */
.pd-steps { display: grid; gap: 18px; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }
.pd-step { padding: 30px 26px; }
.pd-num {
  width: 40px; height: 40px; border-radius: 50%; display: flex; align-items: center;
  justify-content: center; font-weight: 700; font-size: 16px; color: #fff; margin-bottom: 18px;
  background: linear-gradient(135deg, #8b5cf6, #22d3ee);
  box-shadow: 0 4px 20px rgba(139,92,246,.5);
}

/* ===== 终端模拟条 ===== */
.pd-term {
  max-width: 720px; margin: 56px auto 0; border-radius: 14px; overflow: hidden;
  background: rgba(13,13,18,.92); border: 1px solid rgba(255,255,255,.09);
  box-shadow: 0 24px 70px rgba(0,0,0,.55); text-align: left;
}
.pd-term-bar { display: flex; gap: 7px; padding: 11px 14px; border-bottom: 1px solid rgba(255,255,255,.09); }
.pd-term-bar i { width: 11px; height: 11px; border-radius: 50%; }
.pd-term-bar i:nth-child(1){background:#ff5f57}
.pd-term-bar i:nth-child(2){background:#febc2e}
.pd-term-bar i:nth-child(3){background:#28c840}
.pd-term-body { padding: 18px 20px; font-family: Consolas, "Courier New", monospace;
  font-size: 13.5px; line-height: 1.9; color: #c9d1d9; }
.pd-t-p { color: #8b5cf6; } .pd-t-ok { color: #4ade80; } .pd-t-dim { color: #6b7280; }

/* ===== 截图预览 ===== */
.pd-shots { display: grid; gap: 18px; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); }
.pd-shot { margin: 0; border-radius: 14px; overflow: hidden;
  border: 1px solid rgba(255,255,255,.09); background: rgba(255,255,255,.03);
  transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease; }
.pd-shot:hover { transform: translateY(-4px); border-color: rgba(139,92,246,.5);
  box-shadow: 0 18px 50px rgba(0,0,0,.5); }
.pd-shot img { width: 100%; display: block; }

/* ===== 致谢行 ===== */
.pd-credits { text-align: center; padding: 26px 20px 40px; color: #9aa1b2; font-size: 13px; }
.pd-credits a { color: #b9c0d4; text-decoration: none; border-bottom: 1px dashed rgba(255,255,255,.25); }
.pd-credits a:hover { color: #fff; border-color: #8b5cf6; }

@media (max-width: 640px) {
  .pd-hero { padding: 64px 20px 48px; }
  .pd-sub { font-size: 16px; }
}
