/* =========================================================
   Lumen 落地页 · 各区块样式（下半：价格 / FAQ / CTA / 页脚 / 响应式）
   ========================================================= */

/* ---------- 价格 ---------- */
.pricing { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; align-items: stretch; }
.plan {
  position: relative;
  padding: 32px 28px;
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  background: rgba(255, 255, 255, 0.018);
  display: flex;
  flex-direction: column;
  transition: border-color 0.3s, transform 0.35s var(--ease-out);
}
.plan:hover { transform: translateY(-4px); border-color: rgba(255, 255, 255, 0.18); }
.plan-featured {
  background: linear-gradient(180deg, #1a1a1f, #121317);
  border-color: rgba(255, 107, 74, 0.45);
  box-shadow: 0 24px 60px rgba(255, 107, 74, 0.13);
  padding-top: 38px;
}
.plan-badge {
  position: absolute;
  top: -1px; right: 24px;
  transform: translateY(-50%);
  font-size: 11px;
  font-weight: 600;
  padding: 5px 12px;
  border-radius: var(--r-pill);
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  color: #1a0b04;
}
.plan h3 { font-size: 17px; font-weight: 620; }
.plan-desc { margin-top: 7px; font-size: 13px; color: var(--muted-2); min-height: 40px; }
.plan-price { display: flex; align-items: baseline; gap: 7px; margin: 18px 0 22px; }
.plan-price b { font-size: 38px; font-weight: 700; letter-spacing: -0.03em; line-height: 1; }
.plan-price span { font-size: 13px; color: var(--muted-2); }
.plan ul { display: grid; gap: 11px; margin-bottom: 28px; }
.plan li { position: relative; padding-left: 24px; font-size: 13.8px; color: #c3c4cd; line-height: 1.5; }
.plan li::before {
  content: "";
  position: absolute;
  left: 0; top: 4px;
  width: 13px; height: 13px;
  border-radius: 50%;
  background: rgba(255, 107, 74, 0.16);
}
.plan li::after {
  content: "";
  position: absolute;
  left: 4.5px; top: 7px;
  width: 4px; height: 7px;
  border: solid var(--accent);
  border-width: 0 1.6px 1.6px 0;
  transform: rotate(42deg);
}
.plan .btn { margin-top: auto; }

/* ---------- FAQ ---------- */
.faq-wrap { display: grid; grid-template-columns: 0.85fr 1.15fr; gap: clamp(32px, 6vw, 80px); align-items: start; }
.faq-intro h2 { font-size: clamp(26px, 3.4vw, 40px); letter-spacing: -0.03em; line-height: 1.18; }
.faq-intro p { margin-top: 16px; font-size: 14.5px; color: var(--muted); line-height: 1.75; }
.faq-intro a { color: var(--accent); border-bottom: 1px solid rgba(255, 107, 74, 0.35); }

.faq-list { border-top: 1px solid var(--border); }
.faq-item { border-bottom: 1px solid var(--border); }
.faq-q {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 22px 4px;
  text-align: left;
  font-size: 16px;
  font-weight: 550;
  letter-spacing: -0.01em;
  transition: color 0.2s;
}
.faq-q:hover { color: var(--accent-2); }
.faq-q i { position: relative; width: 14px; height: 14px; flex-shrink: 0; }
.faq-q i::before, .faq-q i::after {
  content: "";
  position: absolute;
  background: var(--muted);
  transition: transform 0.3s var(--ease-in-out), background 0.2s;
}
.faq-q i::before { top: 6px; left: 0; width: 14px; height: 1.5px; }
.faq-q i::after { left: 6px; top: 0; width: 1.5px; height: 14px; }
.faq-q[aria-expanded="true"] i::before { background: var(--accent); }
.faq-q[aria-expanded="true"] i::after { transform: rotate(90deg); background: var(--accent); }

.faq-a { display: grid; grid-template-rows: 0fr; transition: grid-template-rows 0.42s var(--ease-out); }
.faq-a > div { overflow: hidden; }
.faq-a p { padding: 0 4px 24px; font-size: 14.5px; color: var(--muted); line-height: 1.78; max-width: 56ch; }
.faq-item.open .faq-a { grid-template-rows: 1fr; }

/* ---------- 结尾 CTA ---------- */
.final-cta { padding: 0 0 clamp(72px, 8vw, 110px); }
.cta-card {
  position: relative;
  overflow: hidden;
  text-align: center;
  padding: clamp(48px, 7vw, 88px) 32px;
  border: 1px solid var(--border);
  border-radius: 28px;
  background: linear-gradient(180deg, #14151c, #0c0d12);
}
.cta-glow {
  position: absolute;
  bottom: -260px; left: 50%;
  transform: translateX(-50%);
  width: 800px; height: 500px;
  background: radial-gradient(closest-side, rgba(255, 107, 74, 0.3), transparent 72%);
  filter: blur(30px);
  pointer-events: none;
}
.cta-card h2 { position: relative; font-size: clamp(28px, 4vw, 48px); letter-spacing: -0.035em; line-height: 1.12; }
.cta-card > p { position: relative; margin-top: 16px; color: var(--muted); font-size: 16px; }
.cta-card .hero-cta { position: relative; margin-top: 30px; }
.cta-note { position: relative; display: block; margin-top: 18px; font-size: 12.5px; color: var(--muted-2); }

/* ---------- 页脚 ---------- */
.footer { border-top: 1px solid var(--border); padding: 64px 0 36px; }
.footer-top { display: grid; grid-template-columns: 1.1fr 2fr; gap: 48px; padding-bottom: 48px; }
.footer-brand p { margin-top: 16px; font-size: 13.5px; color: var(--muted-2); max-width: 26ch; line-height: 1.7; }
.footer-cols { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.footer-cols h5 { font-size: 12.5px; font-weight: 600; color: var(--text); margin-bottom: 14px; }
.footer-cols a { display: block; font-size: 13.5px; color: var(--muted-2); padding: 5px 0; transition: color 0.2s; }
.footer-cols a:hover { color: var(--text); }
.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  padding-top: 28px;
  border-top: 1px solid var(--border);
  font-size: 12.5px;
  color: var(--muted-2);
}

/* ---------- 滚动入场 ---------- */
.reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 0.85s var(--ease-out), transform 0.85s var(--ease-out);
  transition-delay: var(--d, 0s);
}
.reveal.in { opacity: 1; transform: none; }

/* ---------- 响应式 ---------- */
@media (max-width: 1024px) {
  .nav-links, .nav-actions { display: none; }
  .nav-toggle { display: block; }
  .bento { grid-template-columns: repeat(2, 1fr); }
  .card-lg { grid-column: span 2; }
  .steps { grid-template-columns: 1fr; }
  .quotes { grid-template-columns: 1fr; }
  .pricing { grid-template-columns: 1fr; max-width: 520px; margin: 0 auto; }
  .plan-desc { min-height: 0; }
  .faq-wrap { grid-template-columns: 1fr; gap: 36px; }
  .footer-top { grid-template-columns: 1fr; gap: 40px; }
}

@media (max-width: 860px) {
  .app-side { display: none; }
  .app-body { grid-template-columns: 1fr; }
  .float-card { display: none; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 36px 20px; }
  .footer-cols { grid-template-columns: repeat(2, 1fr); gap: 32px 24px; }
}

@media (max-width: 640px) {
  .bento { grid-template-columns: 1fr; }
  .card-lg { grid-column: span 1; }
  .card { padding: 24px; }
  .hero-cta .btn { width: 100%; }
  .nav-inner { height: 64px; gap: 16px; }
  .kpi-row { grid-template-columns: 1fr; }
  .kpi:nth-child(n+2) { display: none; }
  .app-main { padding: 16px; }
  .flow-visual { flex-direction: column; align-items: stretch; gap: 10px; }
  .flow-line {
    min-width: 0; width: 1px; height: 18px; margin: 0 auto;
    background: linear-gradient(180deg, rgba(255,107,74,.1), rgba(255,107,74,.55), rgba(255,107,74,.1));
  }
  .flow-line i { display: none; }
  .flow-node { min-width: 0; }
  .marquee-track { gap: 40px; }
  .footer-bottom { flex-direction: column; gap: 8px; }
  .quote { padding: 24px; }
  .plan { padding: 26px 22px; }
  .cta-card { padding: 44px 22px; border-radius: 22px; }
}

/* ---------- 无障碍：尊重减少动效 ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }
  .reveal { opacity: 1; transform: none; }
}
