/**
 * design.css — 乐小云官网统一设计系统
 * 所有页面共用的布局组件、颜色变量、按钮、间距规范
 */

/* =============================================
   CSS 变量 / Design Token
   ============================================= */
:root {
  --primary:      #fe6700;
  --primary-light:#ff9540;
  --primary-bg:   #fff5ee;
  --blue:         #0EA5E9;
  --green:        #10B981;
  --purple:       #8B5CF6;
  --text-1:       #1a1a1a;
  --text-2:       #444;
  --text-3:       #666;
  --text-4:       #999;
  --border:       #f0f0f0;
  --bg-light:     #f9f9f9;
  --container:    1200px;
  --radius-sm:    8px;
  --radius-md:    12px;
  --radius-lg:    16px;
  --shadow-sm:    0 4px 20px rgba(0,0,0,.07);
  --shadow-md:    0 12px 36px rgba(254,103,0,.15);
}

/* =============================================
   全局重置
   ============================================= */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
body { font-family: "PingFang SC","Microsoft YaHei",sans-serif; color: var(--text-1); background: #fff; }
a { color: inherit; text-decoration: none; }
a:hover { color: inherit; }
img { max-width: 100%; display: block; }

/* =============================================
   布局容器
   ============================================= */
.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 40px;
}
@media(max-width:960px){ .container { padding: 0 24px; } }
@media(max-width:750px){ .container { padding: 0 16px; } }

/* =============================================
   页面 Section 通用块
   ============================================= */
.page-section {
  padding: 80px 0;
}
.page-section.bg-light {
  background: var(--bg-light);
}
.page-section.bg-dark {
  background: linear-gradient(135deg, #1a1a2e, #16213e);
  color: #fff;
}
@media(max-width:768px){
  .page-section { padding: 50px 0; }
}

/* =============================================
   统一区块标题
   ============================================= */
.section-title {
  text-align: center;
  margin-bottom: 48px;
}
.section-title .badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--primary);
  color: #fff;
  padding: 5px 18px;
  border-radius: 20px;
  font-size: 13px;
  font-weight: 500;
  margin-bottom: 16px;
}
.section-title h2 {
  font-size: 32px;
  font-weight: 700;
  color: var(--text-1);
  margin: 0 0 12px;
  line-height: 1.3;
}
.section-title p {
  color: var(--text-3);
  font-size: 16px;
  line-height: 1.7;
  margin: 0;
  max-width: 640px;
  margin: 0 auto;
}
@media(max-width:768px){
  .section-title h2 { font-size: 22px; }
  .section-title p { font-size: 14px; }
}

/* =============================================
   通用按钮
   ============================================= */
.btn-primary {
  display: inline-block;
  background: var(--primary);
  color: #fff;
  padding: 12px 32px;
  border-radius: var(--radius-sm);
  font-size: 15px;
  font-weight: 600;
  transition: all .25s;
  border: none;
  cursor: pointer;
}
.btn-primary:hover {
  background: var(--primary-light);
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(254,103,0,.35);
  color: #fff;
}
.btn-secondary {
  display: inline-block;
  background: transparent;
  color: var(--primary);
  padding: 12px 32px;
  border-radius: var(--radius-sm);
  font-size: 15px;
  font-weight: 600;
  border: 1.5px solid var(--primary);
  transition: all .25s;
  cursor: pointer;
}
.btn-secondary:hover {
  background: var(--primary-bg);
  color: var(--primary);
}
.btn-white {
  display: inline-block;
  background: #fff;
  color: var(--primary);
  padding: 14px 48px;
  border-radius: var(--radius-sm);
  font-size: 16px;
  font-weight: 700;
  text-decoration: none;
  transition: all .3s;
  margin: 0 10px;
}
.btn-white:hover { transform: translateY(-3px); box-shadow: 0 10px 30px rgba(0,0,0,.2); color: var(--primary); }
.btn-outline-white {
  display: inline-block;
  background: transparent;
  color: #fff;
  padding: 14px 48px;
  border-radius: var(--radius-sm);
  font-size: 16px;
  font-weight: 700;
  border: 2px solid rgba(255,255,255,.7);
  transition: all .3s;
  margin: 0 10px;
}
.btn-outline-white:hover { background: rgba(255,255,255,.15); color: #fff; }

/* =============================================
   CTA 行动召唤区
   ============================================= */
.cta-section {
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  padding: 80px 0;
  text-align: center;
}
.cta-section h2 {
  font-size: 32px;
  font-weight: 800;
  color: #fff;
  margin: 0 0 16px;
}
.cta-section p {
  color: rgba(255,255,255,.85);
  font-size: 16px;
  margin: 0 0 36px;
}
@media(max-width:600px){
  .btn-white, .btn-outline-white { display: block; margin: 8px auto; max-width: 240px; }
}

/* =============================================
   两栏详情块（左右交替）
   ============================================= */
.detail-block {
  display: flex;
  align-items: flex-start;
  gap: 60px;
}
.detail-block.reverse { flex-direction: row-reverse; }
@media(max-width:900px){
  .detail-block, .detail-block.reverse { flex-direction: column; gap: 30px; }
}
.detail-block .detail-text { flex: 1; }
.detail-block .detail-visual {
  flex: 1;
  background: linear-gradient(135deg, var(--primary-bg), #ffe0cc);
  border-radius: 20px;
  padding: 40px;
  min-height: 280px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.detail-block .tag {
  display: inline-block;
  background: var(--primary);
  color: #fff;
  padding: 3px 12px;
  border-radius: 4px;
  font-size: 12px;
  margin-bottom: 12px;
}
.detail-block h3 {
  font-size: 28px;
  font-weight: 700;
  color: var(--text-1);
  margin: 0 0 16px;
  line-height: 1.3;
}
@media(max-width:768px){ .detail-block h3 { font-size: 20px; } }
.detail-block .desc {
  color: #555;
  font-size: 15px;
  line-height: 1.8;
  margin-bottom: 24px;
}

/* =============================================
   特性列表
   ============================================= */
.feature-list {
  list-style: none;
  padding: 0;
  margin: 0 0 28px;
}
.feature-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  color: var(--text-2);
  font-size: 14px;
  line-height: 1.6;
  margin-bottom: 10px;
}
.feature-list li::before {
  content: "✓";
  color: var(--primary);
  font-weight: 700;
  flex-shrink: 0;
  margin-top: 1px;
}

/* =============================================
   价格框
   ============================================= */
.price-box {
  background: var(--primary-bg);
  border-radius: var(--radius-md);
  padding: 20px 24px;
  border-left: 4px solid var(--primary);
}
.price-box .price-title { font-size: 13px; color: var(--text-4); margin-bottom: 8px; }
.price-box .price-main { font-size: 22px; font-weight: 700; color: var(--primary); }
.price-box .price-note { font-size: 12px; color: #aaa; margin-top: 4px; }

/* =============================================
   数据统计卡片（2x2 格子）
   ============================================= */
.visual-stat {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.visual-stat-item {
  background: #fff;
  border-radius: var(--radius-md);
  padding: 20px;
  text-align: center;
}
.visual-stat-item .num { font-size: 28px; font-weight: 800; color: var(--primary); line-height: 1; }
.visual-stat-item .label { font-size: 12px; color: #888; margin-top: 6px; }

/* =============================================
   锚点 Tab 导航
   ============================================= */
.anchor-nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: #fff;
  border-bottom: 2px solid var(--border);
  box-shadow: 0 2px 8px rgba(0,0,0,.06);
}
.anchor-nav ul {
  display: flex;
  list-style: none;
  justify-content: center;
  overflow-x: auto;
}
.anchor-nav ul li a {
  display: block;
  padding: 18px 36px;
  font-size: 15px;
  color: var(--text-2);
  text-decoration: none;
  font-weight: 500;
  transition: all .3s;
  border-bottom: 3px solid transparent;
  white-space: nowrap;
}
.anchor-nav ul li a:hover,
.anchor-nav ul li a.active {
  color: var(--primary);
  border-bottom-color: var(--primary);
}
@media(max-width:768px){
  .anchor-nav ul li a { padding: 14px 16px; font-size: 13px; }
}

/* =============================================
   数据横幅（橙色背景）
   ============================================= */
.stats-banner {
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  padding: 48px 0;
}
.stats-row {
  display: flex;
  justify-content: center;
  max-width: 1000px;
  margin: 0 auto;
  padding: 0 40px;
}
.stats-row .stat-item {
  flex: 1;
  text-align: center;
  border-right: 1px solid rgba(255,255,255,.3);
  padding: 0 20px;
}
.stats-row .stat-item:last-child { border-right: none; }
.stats-row .stat-item .num { font-size: 36px; font-weight: 800; color: #fff; line-height: 1; }
.stats-row .stat-item .unit { font-size: 16px; font-weight: 400; }
.stats-row .stat-item .label { font-size: 13px; color: rgba(255,255,255,.8); margin-top: 8px; }
@media(max-width:600px){
  .stats-row { flex-direction: column; gap: 24px; padding: 0 20px; }
  .stats-row .stat-item { border-right: none; }
}

/* =============================================
   页面 Banner（子页面顶部）
   ============================================= */
.page-banner {
  position: relative;
  height: 360px;
  background: linear-gradient(135deg, #1a1a2e 0%, #16213e 60%, #0f3460 100%);
  display: flex;
  align-items: center;
  overflow: hidden;
}
.page-banner::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(254,103,0,.25) 0%, transparent 60%);
}
.page-banner .banner-bg {
  position: absolute;
  inset: 0;
  object-fit: cover;
  width: 100%;
  height: 100%;
  opacity: .35;
}
.page-banner .banner-inner {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 40px;
}
.page-banner .banner-tag {
  display: inline-block;
  background: rgba(254,103,0,.9);
  color: #fff;
  padding: 4px 14px;
  border-radius: 20px;
  font-size: 13px;
  margin-bottom: 16px;
}
.page-banner h1 {
  font-size: 40px;
  font-weight: 700;
  color: #fff;
  margin: 0 0 12px;
  line-height: 1.25;
}
.page-banner .banner-sub {
  font-size: 17px;
  color: rgba(255,255,255,.8);
  line-height: 1.6;
}
.page-banner .breadcrumb {
  margin-top: 20px;
  font-size: 13px;
  color: rgba(255,255,255,.55);
}
.page-banner .breadcrumb a { color: rgba(255,255,255,.55); }
.page-banner .breadcrumb a:hover { color: rgba(255,255,255,.9); }
.page-banner .breadcrumb .sep { margin: 0 8px; }
@media(max-width:768px){
  .page-banner { height: 260px; }
  .page-banner h1 { font-size: 26px; }
  .page-banner .banner-sub { font-size: 14px; }
  .page-banner .banner-inner { padding: 0 20px; }
}

/* =============================================
   统一 Tab 组件（替代 Element UI el-tabs）
   ============================================= */
.uni-tabs {
  background: #fff;
  border-bottom: 1px solid var(--border);
}
.uni-tabs-nav {
  display: flex;
  list-style: none;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 40px;
  overflow-x: auto;
  gap: 0;
}
.uni-tabs-nav li {
  flex-shrink: 0;
  cursor: pointer;
  padding: 18px 28px;
  font-size: 15px;
  font-weight: 500;
  color: var(--text-3);
  border-bottom: 3px solid transparent;
  transition: all .25s;
  white-space: nowrap;
}
.uni-tabs-nav li:hover { color: var(--primary); }
.uni-tabs-nav li.active { color: var(--primary); border-bottom-color: var(--primary); }
@media(max-width:768px){
  .uni-tabs-nav { padding: 0 16px; }
  .uni-tabs-nav li { padding: 14px 16px; font-size: 13px; }
}
.uni-tab-pane { display: none; }
.uni-tab-pane.active { display: block; }

/* =============================================
   卡片通用
   ============================================= */
.card {
  background: #fff;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  transition: all .3s;
  overflow: hidden;
}
.card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
}
.card-border-top { border-top: 4px solid var(--primary); }

/* =============================================
   网格布局
   ============================================= */
.grid-2 { display: grid; grid-template-columns: repeat(2,1fr); gap: 28px; }
.grid-3 { display: grid; grid-template-columns: repeat(3,1fr); gap: 28px; }
.grid-4 { display: grid; grid-template-columns: repeat(4,1fr); gap: 24px; }
@media(max-width:900px){
  .grid-4 { grid-template-columns: repeat(2,1fr); }
  .grid-3 { grid-template-columns: repeat(2,1fr); }
}
@media(max-width:600px){
  .grid-4, .grid-3, .grid-2 { grid-template-columns: 1fr; }
}

/* =============================================
   步骤流程
   ============================================= */
.process-steps {
  display: flex;
  position: relative;
  margin-top: 50px;
}
.process-steps::before {
  content: '';
  position: absolute;
  top: 32px;
  left: 8%;
  right: 8%;
  height: 2px;
  background: linear-gradient(90deg, var(--primary), var(--primary-light));
  z-index: 0;
}
@media(max-width:768px){
  .process-steps { flex-direction: column; gap: 20px; }
  .process-steps::before { display: none; }
}
.process-step {
  flex: 1;
  text-align: center;
  position: relative;
  z-index: 1;
}
.process-step .step-num {
  width: 64px;
  height: 64px;
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  border-radius: 50%;
  color: #fff;
  font-size: 22px;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
  box-shadow: 0 4px 16px rgba(254,103,0,.35);
}
.process-step h4 { font-size: 15px; font-weight: 700; color: var(--text-1); margin: 0 0 8px; }
.process-step p { font-size: 13px; color: #888; line-height: 1.5; margin: 0; padding: 0 10px; }

/* =============================================
   在线咨询浮动按钮（所有页面）
   ============================================= */
#onlineConsult {
  position: fixed;
  right: 24px;
  bottom: 120px;
  z-index: 999;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
}
#onlineConsult a {
  width: 48px;
  height: 48px;
  background: var(--primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 22px;
  box-shadow: 0 4px 16px rgba(254,103,0,.4);
  transition: all .25s;
}
#onlineConsult a:hover { transform: scale(1.1); box-shadow: 0 8px 24px rgba(254,103,0,.5); }
#onlineConsult span { font-size: 11px; color: var(--text-3); }
@media(max-width:750px){ #onlineConsult { display: none; } }

/* =============================================
   返回顶部按钮
   ============================================= */
#backToTop {
  display: none;
  position: fixed;
  right: 24px;
  bottom: 60px;
  z-index: 999;
}
#backToTop.show { display: block; }
.btn-backToTop {
  width: 48px;
  height: 48px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-3);
  font-size: 18px;
  cursor: pointer;
  box-shadow: var(--shadow-sm);
  transition: all .25s;
}
.btn-backToTop:hover { color: var(--primary); border-color: var(--primary); box-shadow: var(--shadow-md); }
@media(max-width:750px){ #backToTop { display: none !important; } }
