/**
 * 产品落地页 — 落地页样式
 */
.landing-page {
  position: relative;
  min-height: 100vh;
  background: var(--bg);
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 68px;
}

/* 全页背景层（固定，覆盖整页） */
.dl-page-bg {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}

.dl-page-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.028) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.028) 1px, transparent 1px);
  background-size: 48px 48px;
}

.dl-page-glow {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 50% at 50% -5%, rgba(0, 229, 255, 0.14), transparent 55%),
    radial-gradient(ellipse 60% 40% at 50% 20%, rgba(0, 229, 255, 0.06), transparent),
    radial-gradient(circle at 85% 60%, rgba(124, 92, 255, 0.08), transparent 45%),
    radial-gradient(circle at 10% 80%, rgba(0, 229, 255, 0.05), transparent 40%);
}

/* 内容层置于背景之上（导航栏、弹窗除外，避免影响 sticky / fixed 定位） */
.landing-page > :not(.dl-page-bg):not(.dl-nav):not(.dl-modal) {
  position: relative;
  z-index: 1;
}

/* ── 导航：sticky 吸顶，布局与原来一致 ── */
.dl-nav {
  position: sticky;
  top: 0;
  z-index: 200;
  padding: 0 24px;
  background: rgba(11, 14, 20, 0.92);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
}

.dl-nav-inner {
  max-width: 1080px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  height: 60px;
  gap: 16px;
}

.dl-nav-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  justify-self: start;
}

.dl-nav-brand-text {
  font-size: 17px;
  font-weight: 700;
  color: var(--text);
  letter-spacing: 0.02em;
}

.dl-nav-links {
  display: flex;
  gap: 6px;
  justify-self: center;
}

.dl-nav-links a {
  padding: 7px 14px;
  border-radius: 8px;
  color: var(--muted);
  font-size: 13px;
  transition: color 0.15s, background 0.15s;
}

.dl-nav-links a:hover,
.dl-nav-links a.active {
  color: var(--text);
  background: rgba(255, 255, 255, 0.06);
}

.dl-nav-cta {
  justify-self: end;
  padding: 8px 18px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 600;
  color: #0b0e14;
  background: linear-gradient(135deg, var(--cyan), #00b8d4);
  text-decoration: none;
  transition: filter 0.15s;
}

.dl-nav-cta:hover {
  filter: brightness(1.08);
  color: #0b0e14;
}

/* ── Logo 组件 ── */
.dl-logo {
  display: block;
  flex-shrink: 0;
}

.dl-logo svg {
  display: block;
  width: 100%;
  height: 100%;
}

.dl-logo-sm {
  width: 34px;
  height: 34px;
}

.dl-logo-wrap {
  position: relative;
  width: 96px;
  height: 96px;
  margin: 0 auto 28px;
}

.dl-logo-glow {
  position: absolute;
  inset: -20px;
  background: radial-gradient(circle, rgba(0, 229, 255, 0.35), rgba(124, 92, 255, 0.15) 50%, transparent 70%);
  filter: blur(12px);
  animation: dl-logo-pulse 3s ease-in-out infinite;
}

@keyframes dl-logo-pulse {
  0%, 100% { opacity: 0.7; transform: scale(1); }
  50% { opacity: 1; transform: scale(1.06); }
}

.dl-logo-lg {
  position: relative;
  width: 96px;
  height: 96px;
  filter: drop-shadow(0 8px 32px rgba(0, 229, 255, 0.35));
}

/* 锚点区块：跳转时预留导航栏高度 */
#get-client,
#features,
#how,
#faq {
  scroll-margin-top: 72px;
}
.dl-hero {
  text-align: center;
  padding: 64px 24px 32px;
}

.dl-hero-inner {
  position: relative;
  max-width: 680px;
  margin: 0 auto;
}

.dl-hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 18px;
  margin-bottom: 28px;
  border-radius: 999px;
  font-size: 13px;
  color: var(--muted);
  background: rgba(20, 24, 32, 0.8);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.dl-hero-badge strong {
  color: var(--cyan);
  font-weight: 600;
}

.dl-badge-sep {
  opacity: 0.4;
}

.dl-hero-badge .dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 8px var(--green);
}

.dl-hero-title {
  margin: 0;
  line-height: 1.15;
}

.dl-hero-line1 {
  display: block;
  font-size: clamp(36px, 6vw, 52px);
  font-weight: 800;
  color: var(--text);
  letter-spacing: 0.02em;
}

.dl-hero-line2 {
  display: block;
  margin-top: 6px;
  font-size: clamp(40px, 6.5vw, 58px);
  font-weight: 800;
  letter-spacing: 0.02em;
  background: linear-gradient(135deg, var(--cyan) 0%, #7c5cff 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.dl-hero-desc {
  margin: 22px auto 0;
  font-size: 15px;
  line-height: 1.75;
  color: var(--muted);
}

.dl-hero-sub {
  margin: 10px auto 0;
  font-size: 13px;
  color: #5a6478;
}

.dl-hero-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin-top: 28px;
}

.dl-btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 28px;
  border-radius: 10px;
  font-size: 14px;
  font-weight: 600;
  color: #0b0e14;
  background: linear-gradient(135deg, var(--cyan), #00b8d4);
  border: none;
  text-decoration: none;
  transition: filter 0.15s, transform 0.15s;
}

.dl-btn-primary:hover {
  filter: brightness(1.08);
  transform: translateY(-1px);
  color: #0b0e14;
}

.dl-btn-ghost {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 28px;
  border-radius: 10px;
  font-size: 14px;
  font-weight: 500;
  color: var(--text);
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.15);
  text-decoration: none;
  transition: border-color 0.15s, background 0.15s;
}

.dl-btn-ghost:hover {
  border-color: rgba(0, 229, 255, 0.4);
  background: rgba(255, 255, 255, 0.04);
  color: var(--text);
}

/* 数据概览（参考图二：Hero 与下载区之间） */
.dl-stats-bar {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  max-width: 640px;
  margin: 0 auto;
  padding: 8px 24px 40px;
}

.dl-stat-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  text-align: center;
}

.dl-stat-num {
  font-size: 36px;
  font-weight: 700;
  line-height: 1;
  color: var(--text);
  letter-spacing: -0.02em;
}

.dl-stat-label {
  font-size: 12px;
  color: var(--muted);
  white-space: nowrap;
}

/* 下载区 */
.dl-client-section {
  padding: 0 24px 72px;
}

.dl-client-inner {
  max-width: 960px;
  margin: 0 auto;
  text-align: center;
}

.dl-client-tag {
  margin: 0 0 10px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.18em;
  color: var(--cyan);
}

.dl-client-title {
  margin: 0;
  font-size: 28px;
  font-weight: 700;
  color: var(--text);
}

.dl-client-sub {
  margin: 10px 0 32px;
  font-size: 14px;
  color: var(--muted);
}

.dl-client-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}

.dl-client-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 28px 16px 22px;
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: 14px;
  text-align: center;
  transition: border-color 0.2s, transform 0.2s;
}

.dl-client-card:hover {
  border-color: rgba(0, 229, 255, 0.3);
  transform: translateY(-2px);
}

.dl-client-card.recommended {
  border-color: rgba(0, 229, 255, 0.45);
  box-shadow: 0 0 0 1px rgba(0, 229, 255, 0.15);
}

.dl-platform-icon {
  width: 52px;
  height: 52px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 14px;
  border-radius: 12px;
  background: var(--panel2);
  border: 1px solid var(--border);
  color: var(--text);
}

.dl-platform-name {
  margin: 0 0 4px;
  font-size: 15px;
  font-weight: 600;
}

.dl-platform-desc {
  margin: 0;
  font-size: 12px;
  color: var(--muted);
}

.dl-file-size {
  display: block;
  margin: 8px 0 16px;
  font-size: 11px;
  color: #5a6478;
  min-height: 16px;
}

.dl-btn-get {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  padding: 9px 16px;
  border: 1px solid var(--border);
  border-radius: 8px;
  font-size: 13px;
  font-weight: 500;
  color: var(--text);
  background: rgba(255, 255, 255, 0.04);
  text-decoration: none;
  transition: background 0.15s, border-color 0.15s, color 0.15s;
  cursor: pointer;
  font-family: inherit;
  box-sizing: border-box;
}

.dl-btn-get:hover {
  border-color: rgba(0, 229, 255, 0.4);
  background: rgba(0, 229, 255, 0.08);
  color: var(--cyan);
}

.dl-btn-get.disabled {
  opacity: 0.45;
  pointer-events: none;
}

/* 「敬请期待」弹窗 */
body.dl-modal-open {
  overflow: hidden;
}

.dl-modal {
  position: fixed;
  inset: 0;
  z-index: 100000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
}

.dl-modal[hidden] {
  display: none !important;
}

.dl-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.62);
  backdrop-filter: blur(4px);
}

.dl-modal-box {
  position: relative;
  z-index: 1;
  width: min(100%, 360px);
  padding: 28px 24px 22px;
  border-radius: 14px;
  text-align: center;
  background: linear-gradient(180deg, rgba(24, 28, 38, 0.98), rgba(16, 19, 28, 0.98));
  border: 1px solid rgba(0, 229, 255, 0.35);
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.55);
}

.dl-modal-title {
  margin: 0 0 10px;
  font-size: 20px;
  font-weight: 700;
  color: #fff;
}

.dl-modal-text {
  margin: 0 0 22px;
  font-size: 14px;
  line-height: 1.6;
  color: #b8c0d0;
}

.dl-modal-close {
  min-width: 120px;
  padding: 10px 20px;
  border: none;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 600;
  color: #0b0e14;
  background: linear-gradient(135deg, #00e5ff, #7c5cff);
  cursor: pointer;
  font-family: inherit;
}

/* ── 通用区块 ── */
.dl-section {
  max-width: 960px;
  margin: 0 auto;
  padding: 64px 24px;
}

.dl-section-alt {
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  max-width: none;
}

.dl-section-alt > .dl-section-head,
.dl-section-alt > .dl-features,
.dl-section-alt > .dl-steps,
.dl-section-alt > .dl-faq-list {
  max-width: 960px;
  margin-left: auto;
  margin-right: auto;
}

.dl-section-head {
  text-align: center;
  margin-bottom: 36px;
}

.dl-section-head h2 {
  margin: 0;
  font-size: 22px;
  font-weight: 700;
}

.dl-section-head p {
  margin: 8px 0 0;
  font-size: 14px;
  color: var(--muted);
}

.dl-section-tag {
  margin: 0 0 8px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.16em;
  color: var(--cyan);
}

/* 爆款模板分组卡片 */
.dl-templates-section .dl-section-head {
  margin-bottom: 32px;
}

.dl-template-groups {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
}

.dl-template-group {
  padding: 22px 20px;
  background: rgba(20, 24, 32, 0.65);
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 14px;
  transition: border-color 0.2s, transform 0.2s, box-shadow 0.2s;
}

.dl-template-group:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.25);
}

.dl-template-group.accent-cyan:hover { border-color: rgba(0, 229, 255, 0.35); }
.dl-template-group.accent-green:hover { border-color: rgba(34, 197, 94, 0.35); }
.dl-template-group.accent-purple:hover { border-color: rgba(124, 92, 255, 0.35); }
.dl-template-group.accent-orange:hover { border-color: rgba(245, 158, 11, 0.35); }

.dl-template-group-head {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 16px;
}

.dl-template-group-icon {
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  font-size: 22px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.dl-template-group.accent-cyan .dl-template-group-icon { background: var(--cyan-dim); border-color: rgba(0, 229, 255, 0.2); }
.dl-template-group.accent-green .dl-template-group-icon { background: rgba(34, 197, 94, 0.12); border-color: rgba(34, 197, 94, 0.2); }
.dl-template-group.accent-purple .dl-template-group-icon { background: rgba(124, 92, 255, 0.15); border-color: rgba(124, 92, 255, 0.2); }
.dl-template-group.accent-orange .dl-template-group-icon { background: rgba(245, 158, 11, 0.12); border-color: rgba(245, 158, 11, 0.2); }

.dl-template-group-head h3 {
  margin: 0;
  font-size: 15px;
  font-weight: 600;
}

.dl-template-group-head p {
  margin: 4px 0 0;
  font-size: 12px;
  color: var(--muted);
}

.dl-template-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.dl-template-tags span {
  padding: 5px 10px;
  border-radius: 6px;
  font-size: 12px;
  color: var(--muted);
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.06);
  transition: color 0.15s, border-color 0.15s;
}

.dl-template-group:hover .dl-template-tags span {
  color: var(--text);
}

.dl-templates-more {
  margin: 20px 0 0;
  text-align: center;
  font-size: 12px;
  color: #5a6478;
}
.dl-features {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}

.dl-feature {
  padding: 22px;
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: 12px;
  transition: border-color 0.2s;
}

.dl-feature:hover { border-color: rgba(0, 229, 255, 0.25); }

.dl-feature-icon {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  font-size: 18px;
  margin-bottom: 12px;
}

.dl-feature-icon.cyan { background: var(--cyan-dim); }
.dl-feature-icon.purple { background: rgba(124, 92, 255, 0.15); }
.dl-feature-icon.green { background: rgba(34, 197, 94, 0.12); }
.dl-feature-icon.orange { background: rgba(245, 158, 11, 0.12); }

.dl-feature h3 {
  margin: 0 0 6px;
  font-size: 14px;
  font-weight: 600;
}

.dl-feature p {
  margin: 0;
  font-size: 13px;
  line-height: 1.6;
  color: var(--muted);
}

/* 流程 */
.dl-steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.dl-step {
  padding: 24px 20px;
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: 12px;
  text-align: center;
  counter-increment: step;
}

.dl-steps { counter-reset: step; }

.dl-step::before {
  content: counter(step);
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  margin: 0 auto 12px;
  border-radius: 50%;
  font-size: 13px;
  font-weight: 700;
  color: var(--cyan);
  background: var(--cyan-dim);
}

.dl-step h3 { margin: 0 0 6px; font-size: 14px; }
.dl-step p { margin: 0; font-size: 13px; color: var(--muted); line-height: 1.55; }

/* FAQ */
.dl-faq-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.dl-faq-item {
  border: 1px solid var(--border);
  border-radius: 10px;
  background: var(--panel);
  overflow: hidden;
}

.dl-faq-q {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 15px 18px;
  border: none;
  background: transparent;
  color: var(--text);
  font-size: 14px;
  font-weight: 500;
  text-align: left;
  cursor: pointer;
}

.dl-faq-q:hover { background: rgba(255, 255, 255, 0.02); }

.dl-faq-q .arrow {
  color: var(--muted);
  transition: transform 0.2s;
  flex-shrink: 0;
  margin-left: 12px;
}

.dl-faq-item.open .dl-faq-q .arrow { transform: rotate(180deg); }

.dl-faq-a {
  display: none;
  padding: 0 18px 15px;
  font-size: 13px;
  line-height: 1.7;
  color: var(--muted);
}

.dl-faq-item.open .dl-faq-a { display: block; }

/* 页脚 */
.dl-footer {
  text-align: center;
  padding: 24px 24px 40px;
  border-top: none;
}

.dl-footer-brand {
  font-size: 14px;
  font-weight: 600;
  color: var(--cyan);
  margin-bottom: 6px;
}

.dl-footer-copy {
  font-size: 12px;
  color: #5a6478;
}

/* ── 响应式 ── */
@media (max-width: 900px) {
  .dl-client-grid { grid-template-columns: repeat(2, 1fr); }
  .dl-features { grid-template-columns: repeat(2, 1fr); }
  .dl-template-groups { grid-template-columns: 1fr; }
}

@media (max-width: 720px) {
  .dl-features,
  .dl-steps {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .dl-nav { padding: 0 16px; }
  .dl-nav-inner {
    grid-template-columns: 1fr auto;
    height: 54px;
  }
  .dl-nav-links { display: none; }
  .dl-nav-cta {
    padding: 7px 14px;
    font-size: 12px;
  }
  .dl-logo-wrap {
    width: 80px;
    height: 80px;
    margin-bottom: 22px;
  }
  .dl-logo-lg {
    width: 80px;
    height: 80px;
  }
  .dl-hero { padding: 48px 16px 24px; }
  .dl-hero-badge {
    font-size: 11px;
    padding: 6px 12px;
    flex-wrap: wrap;
    justify-content: center;
  }
  .dl-stats-bar {
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
    padding: 0 16px 32px;
  }
  .dl-stat-num { font-size: 28px; }
  .dl-stat-label { font-size: 11px; white-space: normal; }
  .dl-client-section { padding: 0 16px 56px; }
  .dl-client-grid { grid-template-columns: 1fr; }
  .dl-section { padding: 48px 16px; }
}
