/**
 * 共享产品页面样式系统
 * 包含统一的字体、排版、颜色系统
 * 适用于所有产品介绍页面和首页
 */

/* ========== 字体系统 ========== */
@import url('https://fonts.googleapis.com/css2?family=Noto+Serif+SC:wght@400;600;700&family=Noto+Sans+SC:wght@300;400;500;600;700&display=swap');

/* ========== 全局变量 ========== */
:root {
  /* 品牌色系 - 蓝色(默认) */
  --brand-primary: #185FA5;
  --brand-dark: #0C447C;
  --brand-light: #E6F1FB;
  --brand-mid: #85B7EB;
  --brand-accent: #378ADD;
  
  /* 产品专属色系 */
  --purple-primary: #534AB7;
  --purple-dark: #3C3489;
  --purple-light: #EEEDFE;
  --purple-mid: #AFA9EC;
  --purple-accent: #7F77DD;
  
  --green-primary: #1D9E75;
  --green-dark: #085041;
  --green-light: #E1F5EE;
  --green-mid: #5DCAA5;
  --green-accent: #0F9068;
  
  --amber-primary: #BA7517;
  --amber-dark: #633806;
  --amber-light: #FAEEDA;
  --amber-mid: #EF9F27;
  --amber-accent: #D4921E;
  
  /* 背景色系 */
  --bg-hero: #EAF3FC;
  --bg-gray: #F4F5F7;
  --bg-white: #FFFFFF;
  --bg-dark: #1A1F2E;
  
  /* 文本色系 */
  --text-primary: #1A1F2E;
  --text-secondary: #5A6070;
  --text-tertiary: #8890A4;
  --text-dark-primary: #E8EAF0;
  --text-dark-secondary: #A0A8BE;
  
  /* 边框色系 */
  --border: #E0E3EC;
  
  /* 圆角系统 */
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 14px;
  --radius-xl: 20px;
  
  /* 阴影系统 */
  --shadow: 0 1px 4px rgba(0,0,0,.06), 0 4px 16px rgba(0,0,0,.04);
  --shadow-hover: 0 4px 24px rgba(24,95,165,.14);
}

/* ========== Reset & 基础样式 ========== */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Noto Sans SC', sans-serif;
  font-size: 16px;
  line-height: 1.75;
  color: var(--text-primary);
  background: var(--bg-white);
  -webkit-font-smoothing: antialiased;
}

/* ========== 排版系统 ========== */
/* 标题 - 使用衬线字体 */
.serif-title {
  font-family: 'Noto Serif SC', serif;
}

/* eyebrow - 小标题 */
.eyebrow {
  font-size: 14px;
  font-weight: 500;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--brand-accent);
  margin-bottom: .5rem;
}

/* Section标题 */
.sec-title {
  font-family: 'Noto Serif SC', serif;
  font-size: 26px;
  font-weight: 600;
  line-height: 1.35;
  margin-bottom: .6rem;
}

/* Section副标题 */
.sec-sub {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.85;
  max-width: 580px;
}

/* Hero标题 */
.hero-h1 {
  font-family: 'Noto Serif SC', serif;
  font-size: 34px;
  font-weight: 700;
  line-height: 1.3;
  color: var(--text-primary);
  margin-bottom: .75rem;
}

.hero-h1 em {
  color: var(--brand-primary);
  font-style: normal;
}

/* Hero副标题 */
.hero-tagline {
  font-size: 16px;
  font-weight: 500;
  color: var(--brand-dark);
  margin-bottom: .75rem;
}

/* Hero描述 */
.hero-desc {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.85;
  margin-bottom: 1.75rem;
  max-width: 420px;
}

/* ========== 容器 ========== */
.wrap {
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 2rem;
}

.container {
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 2rem;
}

/* ========== Section容器 ========== */
.sec {
  padding: 5rem 0;
}

.sec-sm {
  padding: 3.5rem 0;
}

.sec-gray {
  background: var(--bg-gray);
}

.sec-white {
  background: var(--bg-white);
}

.sec-dark {
  background: var(--bg-dark);
  color: var(--text-dark-primary);
}

/* ========== Hero区域 ========== */
.hero {
  background: var(--bg-hero);
  padding: 5rem 0 4rem;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: -100px;
  right: -60px;
  width: 420px;
  height: 420px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(56,138,221,.15) 0%, transparent 70%);
  pointer-events: none;
}

.hero-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3.5rem;
  align-items: center;
}

.hero-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 1.25rem;
}

.hero-btns {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

/* ========== 徽章 ========== */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 11px;
  font-weight: 500;
  padding: 4px 11px;
  border-radius: 20px;
  border: .5px solid;
  white-space: nowrap;
}

.badge-blue {
  background: #fff;
  color: var(--brand-primary);
  border-color: var(--brand-mid);
}

.badge-purple {
  background: #fff;
  color: var(--purple-primary);
  border-color: var(--purple-mid);
}

.badge-green {
  background: #fff;
  color: var(--green-primary);
  border-color: var(--green-mid);
}

.badge-amber {
  background: #fff;
  color: var(--amber-primary);
  border-color: var(--amber-mid);
}

/* ========== 按钮 ========== */
.btn-p {
  background: var(--brand-primary);
  color: #fff;
  border: none;
  padding: 11px 24px;
  border-radius: var(--radius-md);
  font-size: 14px;
  font-family: inherit;
  cursor: pointer;
  font-weight: 500;
  transition: background .2s, box-shadow .2s;
}

.btn-p:hover {
  background: var(--brand-dark);
  box-shadow: var(--shadow-hover);
}

.btn-s {
  background: transparent;
  color: var(--brand-primary);
  border: .5px solid var(--brand-mid);
  padding: 11px 24px;
  border-radius: var(--radius-md);
  font-size: 14px;
  font-family: inherit;
  cursor: pointer;
  transition: background .2s;
}

.btn-s:hover {
  background: var(--brand-light);
}

.btn-cta-dark {
  background: transparent;
  color: var(--text-dark-secondary);
  border: .5px solid rgba(255,255,255,.2);
  padding: 11px 24px;
  border-radius: var(--radius-md);
  font-size: 14px;
  font-family: inherit;
  cursor: pointer;
  transition: background .2s;
}

.btn-cta-dark:hover {
  background: rgba(255,255,255,.07);
}

/* ========== KPI卡片 ========== */
.hero-kpi {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
}

.kpi-card {
  background: #fff;
  border: .5px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 1.25rem 1.5rem;
  box-shadow: var(--shadow);
  transition: transform .25s, box-shadow .25s;
}

.kpi-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-hover);
}

.kpi-num {
  font-family: 'Noto Serif SC', serif;
  font-size: 28px;
  font-weight: 700;
  color: var(--brand-primary);
  line-height: 1;
}

.kpi-label {
  font-size: 12px;
  color: var(--text-secondary);
  margin-top: 4px;
  line-height: 1.5;
}

/* ========== 痛点卡片 ========== */
.pain-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.25rem;
  margin-top: 2.5rem;
}

.pain-card {
  background: var(--bg-white);
  border: .5px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 1.75rem;
  box-shadow: var(--shadow);
}

.pain-icon {
  width: 40px;
  height: 40px;
  border-radius: var(--radius-md);
  background: var(--brand-light);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
  font-size: 20px;
  color: var(--brand-primary);
}

.pain-who {
  font-size: 11px;
  font-weight: 500;
  color: var(--brand-accent);
  letter-spacing: .08em;
  text-transform: uppercase;
  margin-bottom: .4rem;
}

.pain-title {
  font-size: 15px;
  font-weight: 500;
  margin-bottom: .6rem;
  line-height: 1.4;
}

.pain-body {
  font-size: 13px;
  color: var(--text-secondary);
  line-height: 1.8;
}

/* ========== 功能展示 ========== */
.feat-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-top: 2.5rem;
}

.feat-row {
  display: grid;
  grid-template-columns: 56px 1fr 480px;
  gap: 1.5rem;
  align-items: start;
  background: var(--bg-white);
  border: .5px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 1.75rem;
  box-shadow: var(--shadow);
  transition: transform .2s, box-shadow .2s;
}

.feat-row:hover {
  transform: translateY(-1px);
  box-shadow: var(--shadow-hover);
}

.feat-icon-wrap {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-lg);
  background: var(--brand-light);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  color: var(--brand-primary);
  flex-shrink: 0;
}

.feat-title {
  font-size: 17px;
  font-weight: 500;
  margin-bottom: .5rem;
}

.feat-body {
  font-size: 15px;
  color: var(--text-secondary);
  line-height: 1.8;
}

.feat-illus {
  flex-shrink: 0;
  background: var(--brand-light);
  border: 1.5px dashed var(--brand-mid);
  border-radius: var(--radius-lg);
  min-height: 100px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  color: var(--brand-accent);
  font-size: 11px;
  padding: .75rem;
  text-align: center;
  overflow: hidden;
}

.feat-illus i {
  font-size: 26px;
  opacity: .45;
}

/* ========== 场景卡片 ========== */
.scene-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
  margin-top: 2.5rem;
}

.scene-card {
  background: var(--bg-white);
  border: .5px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 1.75rem;
  box-shadow: var(--shadow);
}

.scene-label {
  font-size: 11px;
  font-weight: 500;
  color: var(--brand-accent);
  letter-spacing: .08em;
  text-transform: uppercase;
  margin-bottom: .6rem;
}

.scene-title {
  font-family: 'Noto Serif SC', serif;
  font-size: 15px;
  font-weight: 600;
  margin-bottom: .75rem;
  line-height: 1.4;
}

.scene-body {
  font-size: 13px;
  color: var(--text-secondary);
  line-height: 1.85;
}

.scene-tag {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 11px;
  font-weight: 500;
  padding: 3px 9px;
  border-radius: 20px;
  background: var(--brand-light);
  color: var(--brand-dark);
  margin-top: .75rem;
}

/* ========== 效果展示 ========== */
.effect-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  margin-top: 2.5rem;
}

.effect-card {
  background: rgba(255,255,255,.05);
  border: .5px solid rgba(255,255,255,.1);
  border-radius: var(--radius-xl);
  padding: 2rem 1.25rem;
  text-align: center;
}

.effect-num {
  font-family: 'Noto Serif SC', serif;
  font-size: 40px;
  font-weight: 700;
  color: var(--brand-mid);
  line-height: 1;
  margin-bottom: .5rem;
}

.effect-num sup {
  font-size: 20px;
  vertical-align: super;
}

.effect-label {
  font-size: 13px;
  color: var(--text-dark-secondary);
  line-height: 1.6;
}

.effect-sub {
  font-size: 11px;
  color: rgba(255,255,255,.3);
  margin-top: 4px;
}

/* ========== 技术优势 ========== */
.tech-grid {
  display: grid;
  grid-template-columns: 640px 640px;
  gap: 1.25rem;
  margin-top: 2.5rem;
  justify-content: center;
}

.tech-card {
  background: var(--bg-white);
  border: .5px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 2rem;
  box-shadow: var(--shadow);
}

.tech-num {
  font-family: 'Noto Serif SC', serif;
  font-size: 42px;
  font-weight: 700;
  color: var(--brand-light);
  line-height: 1;
  margin-bottom: .75rem;
  user-select: none;
}

.tech-title {
  font-size: 16px;
  font-weight: 500;
  margin-bottom: .6rem;
}

.tech-body {
  font-size: 13px;
  color: var(--text-secondary);
  line-height: 1.8;
  margin-bottom: 1.25rem;
}

.tech-illus {
  background: var(--bg-gray);
  border: 1.5px dashed var(--brand-mid);
  border-radius: var(--radius-lg);
  width: 100%;
  height: auto;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  color: var(--brand-accent);
  font-size: 12px;
  overflow: hidden;
}

.tech-illus svg {
  display: block;
  width: 100%;
  height: auto;
}

.tech-illus i {
  font-size: 22px;
  opacity: .45;
}

/* ========== Q&A ========== */
.faq-list {
  margin-top: 2.5rem;
}

.faq-item {
  border-bottom: .5px solid var(--border);
  padding: 1.25rem 0;
  cursor: pointer;
}

.faq-item:first-child {
  border-top: .5px solid var(--border);
}

.faq-q {
  font-size: 15px;
  font-weight: 500;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  color: var(--text-primary);
}

.faq-icon {
  font-size: 18px;
  color: var(--brand-accent);
  flex-shrink: 0;
  transition: transform .2s;
}

.faq-icon.open {
  transform: rotate(45deg);
}

.faq-a {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.85;
  margin-top: .85rem;
  display: none;
  padding-left: .5rem;
  border-left: 2px solid var(--brand-mid);
}

.faq-a.open {
  display: block;
}

/* ========== CTA ========== */
.cta-inner {
  max-width: 560px;
  margin: 0 auto;
  text-align: center;
}

.cta-h {
  font-family: 'Noto Serif SC', serif;
  font-size: 26px;
  font-weight: 600;
  color: var(--text-dark-primary);
  margin-bottom: .75rem;
  line-height: 1.4;
}

.cta-sub {
  font-size: 14px;
  color: var(--text-dark-secondary);
  margin-bottom: 1.75rem;
  line-height: 1.8;
}

.cta-btns {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
}

/* ========== 响应式设计 ========== */
@media (max-width: 768px) {
  .wrap {
    padding: 0 1.25rem;
  }
  
  .hero-inner {
    grid-template-columns: 1fr;
  }
  
  .tech-grid {
    grid-template-columns: 1fr;
  }
  
  .pain-grid {
    grid-template-columns: 1fr;
  }
  
  .scene-grid {
    grid-template-columns: 1fr;
  }
  
  .effect-grid {
    grid-template-columns: 1fr 1fr;
  }
  
  .hero-kpi {
    grid-template-columns: 1fr 1fr;
  }
  
  .feat-row {
    grid-template-columns: 1fr;
  }
  
  .hero-h1 {
    font-size: 26px;
  }
  
  .sec-title {
    font-size: 22px;
  }
}