﻿/* 外卖CPS官网 - 子页面样式 */

/* ==================== 通用页面样式 ==================== */
.page-hero {
  position: relative;
  padding: 160px 0 80px;
  text-align: center;
  overflow: hidden;
}

.page-hero-bg {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(255, 107, 53, 0.08) 0%, transparent 100%);
  pointer-events: none;
}

.page-hero-content {
  position: relative;
  z-index: 1;
}

.breadcrumb {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-bottom: 24px;
  font-size: 14px;
}

.breadcrumb a {
  color: var(--text-muted);
  transition: color 0.3s ease;
}

.breadcrumb a:hover {
  color: var(--primary);
}

.breadcrumb .sep {
  color: var(--text-muted);
}

.breadcrumb .current {
  color: var(--text-secondary);
}

.page-hero-title {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800;
  margin-bottom: 16px;
}

.page-hero-subtitle {
  font-size: 18px;
  color: var(--text-secondary);
}

/* 分类背景色 */
.page-hero.products .page-hero-bg { background: linear-gradient(180deg, rgba(34, 197, 94, 0.08) 0%, transparent 100%); }
.page-hero.solutions .page-hero-bg { background: linear-gradient(180deg, rgba(139, 92, 246, 0.08) 0%, transparent 100%); }
.page-hero.help .page-hero-bg { background: linear-gradient(180deg, rgba(59, 130, 246, 0.08) 0%, transparent 100%); }
.page-hero.news .page-hero-bg { background: linear-gradient(180deg, rgba(236, 72, 153, 0.08) 0%, transparent 100%); }
.page-hero.city .page-hero-bg { background: linear-gradient(180deg, rgba(34, 211, 238, 0.08) 0%, transparent 100%); }
.page-hero.cases .page-hero-bg { background: linear-gradient(180deg, rgba(245, 158, 11, 0.08) 0%, transparent 100%); }
.page-hero.pricing .page-hero-bg { background: linear-gradient(180deg, rgba(16, 185, 129, 0.08) 0%, transparent 100%); }
.page-hero.about .page-hero-bg { background: linear-gradient(180deg, rgba(99, 102, 241, 0.08) 0%, transparent 100%); }
.page-hero.partners .page-hero-bg { background: linear-gradient(180deg, rgba(236, 72, 153, 0.08) 0%, transparent 100%); }

/* ==================== 区块样式 ==================== */
.section {
  padding: 80px 0;
}

.section-header {
  text-align: center;
  margin-bottom: 48px;
}

.section-tag {
  display: inline-block;
  padding: 6px 16px;
  font-size: 12px;
  font-weight: 600;
  color: var(--primary);
  background: rgba(255, 107, 53, 0.1);
  border: 1px solid rgba(255, 107, 53, 0.2);
  border-radius: 50px;
  margin-bottom: 12px;
}

.section-title {
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 700;
}

/* ==================== 功能详情卡片 ==================== */
.features-grid-detail {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.feature-detail-card {
  padding: 32px;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  transition: all 0.4s ease;
}

.feature-detail-card:hover {
  transform: translateY(-4px);
  border-color: rgba(255, 107, 53, 0.3);
}

.feature-detail-icon {
  width: 56px;
  height: 56px;
  margin-bottom: 20px;
  padding: 14px;
  background: rgba(255, 107, 53, 0.1);
  border-radius: var(--radius-md);
  color: var(--primary);
}

.feature-detail-icon svg {
  width: 100%;
  height: 100%;
}

.feature-detail-card h3 {
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 8px;
}

.feature-detail-card p {
  font-size: 14px;
  color: var(--text-secondary);
}

/* ==================== 技术架构 ==================== */
.tech-stack {
  display: flex;
  justify-content: center;
  gap: 40px;
  flex-wrap: wrap;
}

.tech-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}

.tech-icon {
  width: 64px;
  height: 64px;
  padding: 16px;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  color: var(--primary);
}

.tech-icon svg {
  width: 100%;
  height: 100%;
}

.tech-item span {
  font-size: 14px;
  font-weight: 500;
}

/* ==================== 方案优势 ==================== */
.solution-benefits,
.benefits-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.benefit-card {
  padding: 32px;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  text-align: center;
  transition: all 0.4s ease;
}

.benefit-card:hover {
  transform: translateY(-4px);
  border-color: rgba(255, 107, 53, 0.3);
}

.benefit-icon {
  font-size: 48px;
  margin-bottom: 16px;
}

.benefit-card h3 {
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 8px;
}

.benefit-card p {
  font-size: 14px;
  color: var(--text-secondary);
}

/* ==================== 帮助中心 ==================== */
.help-layout {
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: 48px;
}

.help-sidebar {
  position: sticky;
  top: 100px;
  height: fit-content;
}

.help-sidebar h4 {
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 16px;
  color: var(--text-muted);
}

.help-sidebar ul {
  list-style: none;
}

.help-sidebar li {
  margin-bottom: 8px;
}

.help-sidebar a {
  display: block;
  padding: 12px 16px;
  font-size: 14px;
  color: var(--text-secondary);
  border-radius: var(--radius-sm);
  transition: all 0.3s ease;
}

.help-sidebar a:hover {
  background: var(--bg-glass);
  color: var(--text-primary);
}

.help-article {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 40px;
}

.help-article h2 {
  font-size: 24px;
  font-weight: 700;
  margin-bottom: 20px;
}

.help-article h3 {
  font-size: 18px;
  font-weight: 600;
  margin: 32px 0 16px;
}

.help-article p {
  font-size: 15px;
  color: var(--text-secondary);
  line-height: 1.8;
  margin-bottom: 16px;
}

.help-article ul {
  margin-left: 24px;
  margin-bottom: 16px;
}

.help-article li {
  font-size: 15px;
  color: var(--text-secondary);
  margin-bottom: 8px;
  line-height: 1.6;
}

/* ==================== 新闻文章 ==================== */
.news-article-section {
  background: var(--bg-dark);
}

.news-article {
  max-width: 800px;
  margin: 0 auto;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 48px;
}

.article-meta {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 24px;
  font-size: 14px;
}

.article-date {
  color: var(--text-muted);
}

.article-category {
  padding: 4px 12px;
  background: rgba(255, 107, 53, 0.1);
  color: var(--primary);
  border-radius: 50px;
  font-size: 12px;
}

.article-content h2 {
  font-size: 22px;
  font-weight: 700;
  margin: 32px 0 16px;
}

.article-content h3 {
  font-size: 18px;
  font-weight: 600;
  margin: 24px 0 12px;
}

.article-content p {
  font-size: 15px;
  color: var(--text-secondary);
  line-height: 1.8;
  margin-bottom: 16px;
}

.article-content ul {
  margin-left: 24px;
  margin-bottom: 16px;
}

.article-content li {
  font-size: 15px;
  color: var(--text-secondary);
  margin-bottom: 8px;
}

/* ==================== 城市落地页 ==================== */
.city-stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.city-stat {
  padding: 32px;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  text-align: center;
}

.stat-num {
  display: block;
  font-size: 32px;
  font-weight: 800;
  color: var(--primary);
}

.stat-label {
  font-size: 14px;
  color: var(--text-secondary);
  margin-top: 8px;
}

.advantages-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.advantage-card {
  padding: 32px;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  text-align: center;
  transition: all 0.4s ease;
}

.advantage-card:hover {
  transform: translateY(-4px);
  border-color: rgba(255, 107, 53, 0.3);
}

.advantage-icon {
  width: 64px;
  height: 64px;
  margin: 0 auto 16px;
  padding: 16px;
  background: rgba(255, 107, 53, 0.1);
  border-radius: var(--radius-lg);
  color: var(--primary);
}

.advantage-icon svg {
  width: 100%;
  height: 100%;
}

.advantage-card h3 {
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 8px;
}

.advantage-card p {
  font-size: 14px;
  color: var(--text-secondary);
}

/* ==================== 成功案例详情 ==================== */
.case-content-wrap {
  max-width: 900px;
  margin: 0 auto;
}

.case-meta {
  margin-bottom: 24px;
}

.case-tag {
  padding: 6px 16px;
  font-size: 12px;
  font-weight: 600;
  border-radius: 50px;
}

.case-tag.personal { background: rgba(34, 197, 94, 0.1); color: #22c55e; }
.case-tag.business { background: rgba(139, 92, 246, 0.1); color: #8b5cf6; }
.case-tag.enterprise { background: rgba(255, 107, 53, 0.1); color: var(--primary); }
.case-tag.industry { background: rgba(59, 130, 246, 0.1); color: #3b82f6; }

.case-body {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 48px;
}

.case-body h2 {
  font-size: 20px;
  font-weight: 600;
  margin: 32px 0 16px;
}

.case-body h2:first-child {
  margin-top: 0;
}

.case-body p {
  font-size: 15px;
  color: var(--text-secondary);
  line-height: 1.8;
  margin-bottom: 16px;
}

.case-body ul {
  margin-left: 24px;
  margin-bottom: 16px;
}

.case-body li {
  font-size: 15px;
  color: var(--text-secondary);
  margin-bottom: 8px;
}

.case-results {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 32px;
  padding-top: 32px;
  border-top: 1px solid var(--border-color);
}

.result-item {
  text-align: center;
}

.result-num {
  display: block;
  font-size: 28px;
  font-weight: 800;
  color: var(--primary);
}

.result-label {
  font-size: 14px;
  color: var(--text-secondary);
}

/* ==================== 价格方案 ==================== */
.plans-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  max-width: 1000px;
  margin: 0 auto;
}

.plan-card {
  position: relative;
  padding: 40px;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  text-align: center;
  transition: all 0.4s ease;
}

.plan-card:hover {
  transform: translateY(-4px);
}

.plan-card.featured {
  border-color: var(--primary);
  transform: scale(1.05);
}

.plan-badge {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  padding: 6px 20px;
  font-size: 12px;
  font-weight: 600;
  color: #fff;
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  border-radius: 50px;
}

.plan-header h3 {
  font-size: 24px;
  font-weight: 700;
  margin-bottom: 8px;
}

.plan-header p {
  font-size: 14px;
  color: var(--text-secondary);
}

.plan-price {
  padding: 32px 0;
}

.plan-price .currency {
  font-size: 20px;
  font-weight: 600;
  vertical-align: top;
}

.plan-price .amount {
  font-size: 48px;
  font-weight: 800;
  color: var(--primary);
}

.plan-price .period {
  font-size: 14px;
  color: var(--text-muted);
}

.plan-features {
  text-align: left;
  margin-bottom: 32px;
}

.plan-features li {
  padding: 12px 0;
  font-size: 14px;
  color: var(--text-secondary);
  border-bottom: 1px solid var(--border-color);
}

.plan-btn {
  display: inline-block;
  width: 100%;
  padding: 16px;
  font-size: 14px;
  font-weight: 600;
  color: var(--text-primary);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  transition: all 0.3s ease;
}

.plan-btn:hover {
  border-color: var(--primary);
  color: var(--primary);
}

.plan-btn.primary {
  color: #fff;
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  border: none;
}

.plan-btn.primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(255, 107, 53, 0.4);
}

/* ==================== 关于我们 ==================== */
.about-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.about-text h2 {
  font-size: 28px;
  font-weight: 700;
  margin-bottom: 20px;
}

.about-text p {
  font-size: 16px;
  color: var(--text-secondary);
  line-height: 1.8;
  margin-bottom: 16px;
}

.about-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.about-stat {
  padding: 24px;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  text-align: center;
}

.about-stat .num {
  display: block;
  font-size: 28px;
  font-weight: 800;
  color: var(--primary);
}

.about-stat .label {
  font-size: 14px;
  color: var(--text-secondary);
  margin-top: 4px;
}

/* ==================== 合作伙伴 ==================== */
.platforms-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.platform-card {
  padding: 40px;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  text-align: center;
  transition: all 0.4s ease;
}

.platform-card:hover {
  transform: translateY(-4px);
  border-color: rgba(255, 107, 53, 0.3);
}

.platform-logo {
  font-size: 24px;
  font-weight: 700;
  margin-bottom: 12px;
}

.platform-logo.meituan { color: #FFD93D; }
.platform-logo.eleme { color: #0097FF; }
.platform-logo.douyin { color: #FF0050; }
.platform-logo.jd { color: #E2231A; }

.platform-card p {
  font-size: 14px;
  color: var(--text-secondary);
}

/* ==================== 小型CTA ==================== */
.cta-mini {
  padding: 80px 0;
  background: linear-gradient(135deg, rgba(255, 107, 53, 0.1), rgba(255, 217, 61, 0.05));
}

.cta-mini-content {
  text-align: center;
}

.cta-mini-content h2 {
  font-size: 28px;
  font-weight: 700;
  margin-bottom: 12px;
}

.cta-mini-content p {
  font-size: 16px;
  color: var(--text-secondary);
  margin-bottom: 24px;
}

.cta-mini-content .btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 16px 32px;
  font-size: 16px;
  font-weight: 600;
  color: #fff;
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  border-radius: var(--radius-md);
  transition: all 0.3s ease;
}

.cta-mini-content .btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(255, 107, 53, 0.4);
}

/* ==================== 动画 ==================== */
[data-aos="fade-up"] {
  opacity: 0;
  transform: translateY(20px);
  transition: all 0.6s ease;
}

[data-aos="fade-up"].aos-animate {
  opacity: 1;
  transform: translateY(0);
}

[data-aos="fade-right"] {
  opacity: 0;
  transform: translateX(-20px);
  transition: all 0.6s ease;
}

[data-aos="fade-right"].aos-animate {
  opacity: 1;
  transform: translateX(0);
}

[data-aos="fade-left"] {
  opacity: 0;
  transform: translateX(20px);
  transition: all 0.6s ease;
}

[data-aos="fade-left"].aos-animate {
  opacity: 1;
  transform: translateX(0);
}

/* ==================== 响应式 ==================== */
@media (max-width: 1024px) {
  .features-grid-detail,
  .solution-benefits,
  .benefits-grid,
  .city-stats-grid,
  .advantages-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .help-layout {
    grid-template-columns: 1fr;
  }
  
  .help-sidebar {
    position: static;
  }
  
  .about-content {
    grid-template-columns: 1fr;
  }
  
  .platforms-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .plans-grid {
    grid-template-columns: 1fr;
    max-width: 400px;
  }
  
  .plan-card.featured {
    transform: none;
  }
}

@media (max-width: 768px) {
  .features-grid-detail,
  .solution-benefits,
  .benefits-grid,
  .city-stats-grid,
  .advantages-grid {
    grid-template-columns: 1fr;
  }
  
  .case-results {
    grid-template-columns: 1fr;
  }
  
  .about-stats {
    grid-template-columns: 1fr;
  }
  
  .help-article,
  .news-article,
  .case-body {
    padding: 24px;
  }
}
