/* 首页 & 关于我们 — 专属布局样式 */

/* ===== 首页 Hero ===== */
.home-hero {
  position: relative;
  padding: 72px 0 56px;
  overflow: hidden;
}
.home-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 15% 20%, rgba(255, 184, 0, 0.12) 0%, transparent 45%),
    radial-gradient(circle at 85% 10%, rgba(214, 0, 141, 0.14) 0%, transparent 40%),
    radial-gradient(circle at 50% 100%, rgba(214, 0, 141, 0.06) 0%, transparent 50%);
  pointer-events: none;
}
.home-hero-inner {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1.05fr;
  gap: 48px;
  align-items: center;
}
.home-hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  background: rgba(255, 184, 0, 0.1);
  border: 1px solid rgba(255, 184, 0, 0.25);
  border-radius: 999px;
  font-size: 0.82rem;
  color: var(--primary-start);
  margin-bottom: 20px;
}
.home-hero-badge span {
  width: 6px;
  height: 6px;
  background: var(--primary-start);
  border-radius: 50%;
  animation: pulse-dot 2s ease infinite;
}
@keyframes pulse-dot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(1.4); }
}
.home-hero h1 {
  font-size: 2.5rem;
  line-height: 1.25;
  margin-bottom: 18px;
  letter-spacing: -0.02em;
}
.home-hero h1 em {
  font-style: normal;
  background: var(--gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.home-hero-lead {
  color: var(--text-secondary);
  font-size: 1.05rem;
  margin-bottom: 28px;
  max-width: 520px;
}
.home-hero-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 36px;
}
.home-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
}
.home-stat {
  padding: 14px 12px;
  background: rgba(22, 22, 22, 0.8);
  border: 1px solid var(--border-color);
  border-radius: 10px;
  text-align: center;
}
.home-stat strong {
  display: block;
  font-size: 1.15rem;
  color: var(--primary-start);
  margin-bottom: 2px;
}
.home-stat span {
  font-size: 0.78rem;
  color: var(--text-muted);
}
.home-hero-visual {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 420px;
}
.phone-stack {
  position: relative;
  width: 100%;
  max-width: 420px;
  height: 400px;
}
.phone-stack .phone {
  position: absolute;
  border-radius: 24px;
  overflow: hidden;
  border: 2px solid var(--border-color);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
  transition: transform 0.4s ease;
}
.phone-stack .phone img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.phone-stack .phone-main {
  width: 220px;
  height: 440px;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  z-index: 3;
  border-color: rgba(255, 184, 0, 0.3);
}
.phone-stack .phone-left {
  width: 160px;
  height: 320px;
  left: 0;
  top: 50%;
  transform: translateY(-50%) rotate(-8deg);
  z-index: 1;
  opacity: 0.7;
}
.phone-stack .phone-right {
  width: 160px;
  height: 320px;
  right: 0;
  top: 50%;
  transform: translateY(-50%) rotate(8deg);
  z-index: 2;
  opacity: 0.85;
}
.home-hero-visual:hover .phone-main { transform: translate(-50%, -52%); }
.home-hero-visual:hover .phone-left { transform: translateY(-52%) rotate(-10deg); }
.home-hero-visual:hover .phone-right { transform: translateY(-52%) rotate(10deg); }

/* ===== 频道 Bento ===== */
.home-section { padding: 56px 0; }
.home-section-alt { background: rgba(22, 22, 22, 0.5); }
.section-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 20px;
  margin-bottom: 32px;
  flex-wrap: wrap;
}
.section-head-left h2 {
  font-size: 1.75rem;
  margin-bottom: 6px;
}
.section-head-left p {
  color: var(--text-secondary);
  font-size: 0.95rem;
}
.section-head-link {
  font-size: 0.9rem;
  color: var(--primary-start);
  white-space: nowrap;
}
.bento-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  grid-auto-rows: minmax(140px, auto);
  gap: 14px;
}
.bento-item {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border-color);
  background: var(--bg-card);
  transition: border-color 0.25s, transform 0.25s;
}
.bento-item:hover {
  border-color: rgba(255, 184, 0, 0.35);
  transform: translateY(-3px);
}
.bento-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s;
}
.bento-item:hover img { transform: scale(1.06); }
.bento-item .bento-label {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 16px;
  background: linear-gradient(transparent 40%, rgba(0,0,0,0.88));
}
.bento-item .bento-label h3 { font-size: 1rem; margin-bottom: 2px; }
.bento-item .bento-label p { font-size: 0.78rem; color: var(--text-secondary); }
.bento-span-4 { grid-column: span 4; min-height: 200px; }
.bento-span-3 { grid-column: span 3; min-height: 180px; }
.bento-span-6 { grid-column: span 6; min-height: 220px; }

/* ===== 优势卡片 ===== */
.advantage-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.advantage-card {
  padding: 28px 24px;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius);
  position: relative;
  overflow: hidden;
  transition: border-color 0.25s;
}
.advantage-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--gradient);
  opacity: 0;
  transition: opacity 0.25s;
}
.advantage-card:hover { border-color: rgba(214, 0, 141, 0.3); }
.advantage-card:hover::before { opacity: 1; }
.advantage-icon {
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 184, 0, 0.1);
  border-radius: 12px;
  font-size: 1.3rem;
  margin-bottom: 16px;
}
.advantage-card h3 {
  font-size: 1.05rem;
  margin-bottom: 10px;
  color: var(--text-primary);
}
.advantage-card p {
  color: var(--text-secondary);
  font-size: 0.9rem;
  line-height: 1.65;
}

/* ===== 功能交替展示 ===== */
.feature-zigzag { display: flex; flex-direction: column; gap: 48px; }
.feature-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
}
.feature-row.reverse .feature-row-text { order: 2; }
.feature-row.reverse .feature-row-img { order: 1; }
.feature-row-img {
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border-color);
  box-shadow: var(--shadow);
  max-width: 340px;
  margin: 0 auto;
}
.feature-row-img img { width: 100%; }
.feature-tag {
  display: inline-block;
  padding: 4px 12px;
  background: rgba(214, 0, 141, 0.15);
  color: #ff6ec7;
  border-radius: 6px;
  font-size: 0.78rem;
  font-weight: 600;
  margin-bottom: 12px;
  letter-spacing: 0.05em;
}
.feature-row-text h3 {
  font-size: 1.4rem;
  margin-bottom: 12px;
}
.feature-row-text p {
  color: var(--text-secondary);
  font-size: 0.95rem;
  margin-bottom: 16px;
}
.feature-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.feature-list li {
  color: var(--text-secondary);
  font-size: 0.88rem;
  padding-left: 20px;
  position: relative;
}
.feature-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--primary-start);
  font-weight: 700;
}

/* ===== 下载区 ===== */
.download-panel {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: start;
  background: linear-gradient(135deg, rgba(255,184,0,0.06), rgba(214,0,141,0.08));
  border: 1px solid var(--border-color);
  border-radius: 16px;
  padding: 40px;
}
.download-steps {
  display: flex;
  flex-direction: column;
  gap: 0;
  counter-reset: step;
}
.download-step {
  display: flex;
  gap: 16px;
  padding: 20px 0;
  border-bottom: 1px solid var(--border-color);
  counter-increment: step;
}
.download-step:last-child { border-bottom: none; }
.download-step-num {
  flex-shrink: 0;
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--gradient);
  border-radius: 50%;
  font-weight: 700;
  font-size: 0.9rem;
  color: #fff;
}
.download-step-body h4 {
  font-size: 1rem;
  margin-bottom: 4px;
}
.download-step-body p {
  color: var(--text-secondary);
  font-size: 0.88rem;
}
.download-features {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}
.download-feat {
  padding: 12px 14px;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 8px;
  font-size: 0.85rem;
  color: var(--text-secondary);
}
.download-feat strong { color: var(--primary-start); display: block; margin-bottom: 2px; }

/* ===== 文章双栏 ===== */
.article-layout {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 32px;
  align-items: start;
}
.article-toc {
  position: sticky;
  top: calc(var(--header-h) + 80px);
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius);
  padding: 20px 16px;
}
.article-toc h4 {
  font-size: 0.85rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 14px;
}
.article-toc ul { list-style: none; }
.article-toc li { margin-bottom: 8px; }
.article-toc a {
  display: block;
  padding: 6px 10px;
  border-radius: 6px;
  color: var(--text-secondary);
  font-size: 0.85rem;
  transition: background 0.2s, color 0.2s;
}
.article-toc a:hover {
  background: rgba(255, 184, 0, 0.08);
  color: var(--primary-start);
}
.article-body {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius);
  padding: 40px 44px;
}
.article-body h2 {
  font-size: 1.35rem;
  color: var(--primary-start);
  margin: 36px 0 14px;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--border-color);
  scroll-margin-top: calc(var(--header-h) + 80px);
}
.article-body h2:first-child { margin-top: 0; }
.article-body p {
  color: var(--text-secondary);
  margin-bottom: 14px;
  text-align: justify;
  font-size: 0.94rem;
  line-height: 1.75;
}

/* ===== FAQ 双列 ===== */
.faq-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
}
.faq-grid .faq-item { margin-bottom: 0; }

/* ===== 关于页 ===== */
.about-hero {
  position: relative;
  padding: 64px 0 48px;
  overflow: hidden;
}
.about-hero::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--border-color), transparent);
}
.about-hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 48px;
  align-items: center;
}
.about-hero h1 {
  font-size: 2.4rem;
  margin-bottom: 12px;
  line-height: 1.2;
}
.about-hero h1 span {
  background: var(--gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.about-hero-desc {
  color: var(--text-secondary);
  font-size: 1.05rem;
  margin-bottom: 24px;
}
.about-hero-meta {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
}
.about-hero-meta div {
  padding-left: 14px;
  border-left: 3px solid var(--primary-start);
}
.about-hero-meta strong {
  display: block;
  font-size: 0.95rem;
  margin-bottom: 2px;
}
.about-hero-meta span {
  font-size: 0.82rem;
  color: var(--text-muted);
}
.about-collage {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: auto auto;
  gap: 12px;
}
.about-collage img {
  border-radius: var(--radius);
  border: 1px solid var(--border-color);
  width: 100%;
  object-fit: cover;
}
.about-collage .collage-main {
  grid-row: span 2;
  height: 100%;
  min-height: 280px;
  object-fit: cover;
}

.about-stats-bar {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin: -28px auto 48px;
  position: relative;
  z-index: 2;
  max-width: var(--max-w);
  padding: 0 20px;
}
.about-stat-card {
  text-align: center;
  padding: 24px 16px;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius);
  box-shadow: 0 8px 32px rgba(0,0,0,0.3);
}
.about-stat-card .num {
  font-size: 1.8rem;
  font-weight: 800;
  background: var(--gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1;
  margin-bottom: 6px;
}
.about-stat-card .label {
  font-size: 0.85rem;
  color: var(--text-muted);
}

.about-pillars {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  margin-bottom: 48px;
}
.about-pillar {
  display: flex;
  gap: 20px;
  padding: 28px;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius);
  transition: border-color 0.25s;
}
.about-pillar:hover { border-color: rgba(255, 184, 0, 0.3); }
.about-pillar-num {
  flex-shrink: 0;
  font-size: 2.5rem;
  font-weight: 800;
  line-height: 1;
  opacity: 0.15;
  color: var(--primary-start);
}
.about-pillar h3 {
  font-size: 1.1rem;
  margin-bottom: 8px;
}
.about-pillar p {
  color: var(--text-secondary);
  font-size: 0.9rem;
}

.about-gallery {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  margin-bottom: 48px;
}
.about-gallery-item {
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border-color);
  background: var(--bg-card);
}
.about-gallery-item img {
  width: 100%;
  aspect-ratio: 9/16;
  object-fit: cover;
}
.about-gallery-item figcaption {
  padding: 12px 14px;
  font-size: 0.85rem;
}
.about-gallery-item figcaption strong {
  display: block;
  margin-bottom: 4px;
  color: var(--primary-start);
}
.about-gallery-item figcaption p {
  color: var(--text-muted);
  font-size: 0.78rem;
  line-height: 1.5;
}

.about-content-grid {
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: 32px;
  align-items: start;
}
.about-main-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius);
  padding: 36px 40px;
}
.about-main-card h2 {
  font-size: 1.3rem;
  color: var(--primary-start);
  margin: 28px 0 12px;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--border-color);
}
.about-main-card h2:first-child { margin-top: 0; }
.about-main-card p,
.about-main-card li {
  color: var(--text-secondary);
  font-size: 0.93rem;
  margin-bottom: 12px;
}
.about-main-card ul { margin-left: 20px; }

.about-sidebar { display: flex; flex-direction: column; gap: 16px; position: sticky; top: calc(var(--header-h) + 80px); }
.about-side-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius);
  padding: 24px;
}
.about-side-card.highlight {
  background: linear-gradient(135deg, rgba(255,184,0,0.08), rgba(214,0,141,0.1));
  border-color: rgba(255, 184, 0, 0.25);
}
.about-side-card h3 {
  font-size: 1rem;
  margin-bottom: 14px;
}
.about-side-card ul { list-style: none; }
.about-side-card li {
  padding: 8px 0;
  border-bottom: 1px solid var(--border-color);
  color: var(--text-secondary);
  font-size: 0.88rem;
}
.about-side-card li:last-child { border-bottom: none; }
.about-side-card .btn-primary {
  display: block;
  text-align: center;
  margin-top: 16px;
}

/* ===== 响应式 ===== */
@media (max-width: 1024px) {
  .home-hero-inner { grid-template-columns: 1fr; }
  .home-hero-visual { order: -1; min-height: 320px; }
  .phone-stack { max-width: 340px; height: 320px; }
  .phone-stack .phone-main { width: 180px; height: 360px; }
  .phone-stack .phone-left,
  .phone-stack .phone-right { width: 130px; height: 260px; }
  .bento-span-4, .bento-span-3, .bento-span-6 { grid-column: span 6; }
  .advantage-row { grid-template-columns: repeat(2, 1fr); }
  .download-panel { grid-template-columns: 1fr; }
  .article-layout { grid-template-columns: 1fr; }
  .article-toc { position: static; }
  .about-hero-grid { grid-template-columns: 1fr; }
  .about-stats-bar { grid-template-columns: repeat(2, 1fr); margin-top: 0; }
  .about-content-grid { grid-template-columns: 1fr; }
  .about-sidebar { position: static; }
  .about-gallery { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  .home-hero { padding: 40px 0 32px; }
  .home-hero h1 { font-size: 1.75rem; }
  .home-stats { grid-template-columns: repeat(2, 1fr); }
  .section-head { flex-direction: column; align-items: flex-start; }
  .bento-span-4, .bento-span-3, .bento-span-6 { grid-column: span 12; min-height: 160px; }
  .advantage-row { grid-template-columns: 1fr; }
  .feature-row,
  .feature-row.reverse { grid-template-columns: 1fr; }
  .feature-row.reverse .feature-row-text,
  .feature-row.reverse .feature-row-img { order: unset; }
  .feature-row-img { max-width: 260px; }
  .download-panel { padding: 24px 20px; }
  .download-features { grid-template-columns: 1fr; }
  .article-body { padding: 24px 20px; }
  .faq-grid { grid-template-columns: 1fr; }
  .about-hero h1 { font-size: 1.75rem; }
  .about-pillars { grid-template-columns: 1fr; }
  .about-collage { grid-template-columns: 1fr; }
  .about-collage .collage-main { grid-row: auto; min-height: 200px; }
  .about-main-card { padding: 24px 20px; }
}
