/* ========================================
   巴尼教育 - 企业官网全局样式
   配色: 奶油米白 + 品牌红 + 深色页脚
   ======================================== */

/* ===== CSS 变量 ===== */
:root {
  /* 背景色系 */
  --bg-cream: #FAF6F0;
  --bg-cream-light: #FFFEFC;
  --bg-cream-dark: #F2EDE4;
  --bg-white: #FFFFFF;

  /* 品牌红 */
  --brand-red: #C8302E;
  --brand-red-dark: #A82522;
  --brand-red-light: #E8534E;
  --brand-red-soft: #F9E8E7;

  /* 深色页脚 */
  --footer-dark: #1A1A2E;
  --footer-darker: #13131F;
  --footer-text: #B8B8C8;
  --footer-link: #D0D0E0;

  /* 文字色 */
  --text-primary: #2D2D2D;
  --text-secondary: #6B6B6B;
  --text-light: #999999;
  --text-white: #FFFFFF;

  /* 边框 */
  --border-warm: #E8E0D5;
  --border-light: #F0EBE0;

  /* 字体 */
  --font-sans: 'Noto Sans SC', 'PingFang SC', 'Microsoft YaHei', 'Helvetica Neue', Arial, sans-serif;
  --font-display: 'Noto Sans SC', 'PingFang SC', 'Microsoft YaHei', sans-serif;

  /* 间距 */
  --space-xs: 0.5rem;
  --space-sm: 1rem;
  --space-md: 1.5rem;
  --space-lg: 2rem;
  --space-xl: 3rem;
  --space-2xl: 4rem;
  --space-3xl: 6rem;

  /* 圆角 */
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --radius-xl: 28px;
  --radius-full: 999px;

  /* 阴影 */
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.04);
  --shadow-md: 0 4px 20px rgba(0, 0, 0, 0.06);
  --shadow-lg: 0 8px 40px rgba(0, 0, 0, 0.08);
  --shadow-red: 0 6px 24px rgba(200, 48, 46, 0.25);

  /* 过渡 */
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ===== Reset ===== */
*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-sans);
  background-color: var(--bg-cream);
  color: var(--text-primary);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

a {
  text-decoration: none;
  color: inherit;
  transition: var(--transition);
}

ul {
  list-style: none;
}

img {
  max-width: 100%;
  display: block;
}

button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  outline: none;
  transition: var(--transition);
}

input,
textarea,
select {
  font-family: inherit;
  outline: none;
}

/* ===== 通用容器 ===== */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.container-narrow {
  max-width: 860px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ===== 按钮 ===== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 32px;
  border-radius: var(--radius-full);
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 0.5px;
  cursor: pointer;
  transition: var(--transition);
  white-space: nowrap;
}

.btn-primary {
  background: var(--brand-red);
  color: var(--text-white);
  box-shadow: var(--shadow-red);
}

.btn-primary:hover {
  background: var(--brand-red-dark);
  transform: translateY(-2px);
  box-shadow: 0 10px 30px rgba(200, 48, 46, 0.35);
}

.btn-outline {
  background: transparent;
  color: var(--brand-red);
  border: 2px solid var(--brand-red);
}

.btn-outline:hover {
  background: var(--brand-red);
  color: var(--text-white);
  transform: translateY(-2px);
}

.btn-light {
  background: var(--bg-white);
  color: var(--text-primary);
  box-shadow: var(--shadow-sm);
}

.btn-light:hover {
  background: var(--bg-cream);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.btn-lg {
  padding: 16px 40px;
  font-size: 1.05rem;
}

/* ===== 区块通用 ===== */
.section {
  padding: var(--space-3xl) 0;
}

.section-sm {
  padding: var(--space-2xl) 0;
}

.section-title {
  text-align: center;
  margin-bottom: var(--space-2xl);
}

.section-title .eyebrow {
  display: inline-block;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--brand-red);
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 12px;
  position: relative;
  padding-left: 36px;
}

.section-title .eyebrow::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  width: 24px;
  height: 2px;
  background: var(--brand-red);
}

.section-title h2 {
  font-size: 2.4rem;
  font-weight: 800;
  color: var(--text-primary);
  line-height: 1.3;
  margin-bottom: 16px;
}

.section-title p {
  font-size: 1.05rem;
  color: var(--text-secondary);
  max-width: 600px;
  margin: 0 auto;
}

/* ===== 导航栏 ===== */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(250, 246, 240, 0.85);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid transparent;
  transition: var(--transition);
}

.navbar.scrolled {
  border-bottom-color: var(--border-warm);
  box-shadow: var(--shadow-sm);
}

.navbar .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  font-size: 1.3rem;
  color: var(--text-primary);
}

.nav-logo .logo-icon {
  width: 38px;
  height: 38px;
  flex-shrink: 0;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 36px;
}

.nav-menu a {
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--text-primary);
  position: relative;
  padding: 8px 0;
}

.nav-menu a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--brand-red);
  transition: var(--transition);
}

.nav-menu a:hover,
.nav-menu a.active {
  color: var(--brand-red);
}

.nav-menu a:hover::after,
.nav-menu a.active::after {
  width: 100%;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 16px;
}

.nav-actions .btn {
  padding: 10px 24px;
  font-size: 0.9rem;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
  background: transparent;
}

.nav-toggle span {
  width: 24px;
  height: 2.5px;
  background: var(--text-primary);
  border-radius: 2px;
  transition: var(--transition);
}

.nav-toggle.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.nav-toggle.active span:nth-child(2) {
  opacity: 0;
}

.nav-toggle.active span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

/* ===== Hero 通用 ===== */
.hero {
  padding: 140px 0 80px;
  position: relative;
  overflow: hidden;
}

.hero-bg-pattern {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 0;
  opacity: 0.4;
}

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

.hero-content {
  max-width: 720px;
}

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--brand-red-soft);
  color: var(--brand-red);
  padding: 8px 18px;
  border-radius: var(--radius-full);
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 24px;
}

.hero h1 {
  font-size: 3.2rem;
  font-weight: 800;
  line-height: 1.25;
  color: var(--text-primary);
  margin-bottom: 24px;
}

.hero h1 .highlight {
  color: var(--brand-red);
  position: relative;
}

.hero .lead {
  font-size: 1.15rem;
  color: var(--text-secondary);
  margin-bottom: 36px;
  line-height: 1.8;
}

.hero-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

/* ===== 首页 Hero 特殊样式 ===== */
.hero-home {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.hero-home .hero-visual {
  position: relative;
}

.hero-home .hero-visual .visual-card {
  background: linear-gradient(135deg, var(--brand-red) 0%, var(--brand-red-light) 100%);
  border-radius: var(--radius-xl);
  padding: 40px;
  color: white;
  box-shadow: var(--shadow-lg);
  position: relative;
  overflow: hidden;
}

.hero-home .hero-visual .visual-card::before {
  content: '';
  position: absolute;
  top: -60px;
  right: -60px;
  width: 200px;
  height: 200px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
}

.hero-home .hero-visual .visual-card::after {
  content: '';
  position: absolute;
  bottom: -40px;
  left: -40px;
  width: 150px;
  height: 150px;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 50%;
}

.hero-home .hero-visual .visual-card .card-icon {
  width: 64px;
  height: 64px;
  background: rgba(255, 255, 255, 0.2);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
}

.hero-home .hero-visual .visual-card h3 {
  font-size: 1.4rem;
  font-weight: 700;
  margin-bottom: 12px;
  position: relative;
  z-index: 1;
}

.hero-home .hero-visual .visual-card p {
  font-size: 0.95rem;
  opacity: 0.9;
  position: relative;
  z-index: 1;
}

.hero-home .hero-visual .floating-badge {
  position: absolute;
  background: white;
  border-radius: var(--radius-md);
  padding: 12px 18px;
  box-shadow: var(--shadow-md);
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-primary);
}

.hero-home .hero-visual .floating-badge.top-right {
  top: -20px;
  right: -10px;
}

.hero-home .hero-visual .floating-badge.bottom-left {
  bottom: -20px;
  left: -20px;
}

.hero-home .hero-visual .floating-badge .badge-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--brand-red);
}

/* ===== 特色区块 ===== */
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.feature-card {
  background: var(--bg-white);
  border-radius: var(--radius-lg);
  padding: 36px;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border-light);
  transition: var(--transition);
}

.feature-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: var(--brand-red-soft);
}

.feature-card .icon-wrap {
  width: 56px;
  height: 56px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  background: var(--brand-red-soft);
}

.feature-card .icon-wrap svg {
  width: 28px;
  height: 28px;
}

.feature-card h3 {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 12px;
  color: var(--text-primary);
}

.feature-card p {
  font-size: 0.95rem;
  color: var(--text-secondary);
  line-height: 1.7;
}

/* ===== 产品概览 ===== */
.products-section {
  background: var(--bg-cream-dark);
}

.products-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.product-card {
  background: var(--bg-white);
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  border: 1px solid var(--border-light);
}

.product-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
}

.product-card .card-header {
  height: 160px;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.product-card .card-header.bg-1 {
  background: linear-gradient(135deg, #C8302E 0%, #E8534E 100%);
}

.product-card .card-header.bg-2 {
  background: linear-gradient(135deg, #E8730C 0%, #F5A623 100%);
}

.product-card .card-header.bg-3 {
  background: linear-gradient(135deg, #2D6A4F 0%, #52B788 100%);
}

.product-card .card-header .header-icon {
  width: 72px;
  height: 72px;
  background: rgba(255, 255, 255, 0.2);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  backdrop-filter: blur(4px);
}

.product-card .card-header .header-icon svg {
  width: 36px;
  height: 36px;
  color: white;
}

.product-card .card-body {
  padding: 32px;
}

.product-card .card-tag {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--brand-red);
  background: var(--brand-red-soft);
  padding: 4px 12px;
  border-radius: var(--radius-full);
  margin-bottom: 12px;
}

.product-card h3 {
  font-size: 1.35rem;
  font-weight: 700;
  margin-bottom: 10px;
  color: var(--text-primary);
}

.product-card .desc {
  font-size: 0.92rem;
  color: var(--text-secondary);
  margin-bottom: 20px;
  line-height: 1.7;
}

.product-card .card-features {
  margin-bottom: 24px;
}

.product-card .card-features li {
  font-size: 0.88rem;
  color: var(--text-secondary);
  padding: 6px 0;
  display: flex;
  align-items: center;
  gap: 8px;
}

.product-card .card-features li::before {
  content: '';
  width: 16px;
  height: 16px;
  background: var(--brand-red-soft);
  border-radius: 50%;
  flex-shrink: 0;
  position: relative;
}

.product-card .card-features li svg {
  width: 14px;
  height: 14px;
  color: var(--brand-red);
  position: absolute;
  margin-left: 1px;
  margin-top: 1px;
}

.product-card .card-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--brand-red);
}

.product-card .card-link:hover {
  gap: 12px;
}

/* ===== 数据统计 ===== */
.stats-section {
  background: var(--footer-dark);
  padding: var(--space-2xl) 0;
  color: white;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 40px;
  text-align: center;
}

.stat-item .stat-number {
  font-size: 3rem;
  font-weight: 800;
  color: var(--brand-red-light);
  line-height: 1;
  margin-bottom: 8px;
}

.stat-item .stat-label {
  font-size: 0.95rem;
  color: var(--footer-text);
}

/* ===== CTA 区块 ===== */
.cta-section {
  padding: var(--space-2xl) 0;
}

.cta-box {
  background: linear-gradient(135deg, var(--brand-red) 0%, var(--brand-red-dark) 100%);
  border-radius: var(--radius-xl);
  padding: 60px;
  text-align: center;
  color: white;
  position: relative;
  overflow: hidden;
}

.cta-box::before {
  content: '';
  position: absolute;
  top: -80px;
  right: -80px;
  width: 300px;
  height: 300px;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 50%;
}

.cta-box::after {
  content: '';
  position: absolute;
  bottom: -60px;
  left: -60px;
  width: 200px;
  height: 200px;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 50%;
}

.cta-box h2 {
  font-size: 2.2rem;
  font-weight: 800;
  margin-bottom: 16px;
  position: relative;
  z-index: 1;
}

.cta-box p {
  font-size: 1.1rem;
  opacity: 0.9;
  margin-bottom: 32px;
  position: relative;
  z-index: 1;
}

.cta-box .hero-actions {
  justify-content: center;
  position: relative;
  z-index: 1;
}

.cta-box .btn-light {
  background: white;
  color: var(--brand-red);
}

.cta-box .btn-outline {
  border-color: white;
  color: white;
}

.cta-box .btn-outline:hover {
  background: white;
  color: var(--brand-red);
}

/* ===== 页脚 ===== */
.footer {
  background: var(--footer-dark);
  color: var(--footer-text);
  padding: 60px 0 0;
}

.footer-top {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-brand .nav-logo {
  color: white;
  margin-bottom: 16px;
}

.footer-brand p {
  font-size: 0.9rem;
  line-height: 1.8;
  margin-bottom: 20px;
  max-width: 320px;
}

.footer-social {
  display: flex;
  gap: 12px;
}

.footer-social a {
  width: 40px;
  height: 40px;
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--footer-link);
}

.footer-social a:hover {
  background: var(--brand-red);
  color: white;
  transform: translateY(-2px);
}

.footer-social a svg {
  width: 20px;
  height: 20px;
}

.footer-col h4 {
  font-size: 1rem;
  font-weight: 700;
  color: white;
  margin-bottom: 20px;
}

.footer-col ul li {
  margin-bottom: 12px;
}

.footer-col ul li a {
  font-size: 0.9rem;
  color: var(--footer-text);
  transition: var(--transition);
}

.footer-col ul li a:hover {
  color: var(--brand-red-light);
  padding-left: 4px;
}

.footer-col .contact-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 14px;
  font-size: 0.9rem;
}

.footer-col .contact-item svg {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  margin-top: 2px;
  color: var(--brand-red-light);
}

.footer-bottom {
  padding: 24px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.85rem;
}

.footer-bottom a {
  color: var(--footer-text);
}

.footer-bottom a:hover {
  color: var(--brand-red-light);
}

/* ===== 关于我们页面 ===== */
.about-hero-visual {
  display: flex;
  justify-content: center;
  align-items: center;
}

.about-hero-visual .visual-circle {
  width: 400px;
  height: 400px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--brand-red) 0%, var(--brand-red-light) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  box-shadow: var(--shadow-lg);
}

.about-hero-visual .visual-circle::before {
  content: '';
  position: absolute;
  top: -30px;
  left: -30px;
  right: -30px;
  bottom: -30px;
  border: 2px dashed var(--brand-red-soft);
  border-radius: 50%;
  animation: rotate 30s linear infinite;
}

@keyframes rotate {
  to { transform: rotate(360deg); }
}

.about-hero-visual .visual-circle .inner-content {
  text-align: center;
  color: white;
  z-index: 1;
}

.about-hero-visual .visual-circle .inner-content .big-num {
  font-size: 4rem;
  font-weight: 800;
  line-height: 1;
}

.about-hero-visual .visual-circle .inner-content .label {
  font-size: 1rem;
  opacity: 0.9;
  margin-top: 8px;
}

/* 故事区块 */
.story-section {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 60px;
  align-items: center;
}

.story-visual {
  position: relative;
}

.story-visual .story-card {
  background: var(--bg-white);
  border-radius: var(--radius-xl);
  padding: 40px;
  box-shadow: var(--shadow-md);
}

.story-visual .story-card .stat-row {
  display: flex;
  gap: 24px;
  margin-bottom: 24px;
}

.story-visual .story-card .stat-row .stat {
  flex: 1;
}

.story-visual .story-card .stat .num {
  font-size: 2rem;
  font-weight: 800;
  color: var(--brand-red);
}

.story-visual .story-card .stat .label {
  font-size: 0.85rem;
  color: var(--text-secondary);
}

.story-content h2 {
  font-size: 2.2rem;
  font-weight: 800;
  margin-bottom: 20px;
  line-height: 1.3;
}

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

/* 使命愿景 */
.mv-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 30px;
}

.mv-card {
  background: var(--bg-white);
  border-radius: var(--radius-xl);
  padding: 40px;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border-light);
  transition: var(--transition);
}

.mv-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-4px);
}

.mv-card .mv-icon {
  width: 56px;
  height: 56px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
  background: var(--brand-red-soft);
}

.mv-card .mv-icon svg {
  width: 28px;
  height: 28px;
  color: var(--brand-red);
}

.mv-card h3 {
  font-size: 1.4rem;
  font-weight: 700;
  margin-bottom: 12px;
}

.mv-card p {
  font-size: 0.95rem;
  color: var(--text-secondary);
  line-height: 1.8;
}

/* 时间线 */
.timeline {
  position: relative;
  max-width: 800px;
  margin: 0 auto;
  padding-left: 40px;
}

.timeline::before {
  content: '';
  position: absolute;
  left: 10px;
  top: 0;
  bottom: 0;
  width: 2px;
  background: var(--border-warm);
}

.timeline-item {
  position: relative;
  padding-bottom: 40px;
}

.timeline-item:last-child {
  padding-bottom: 0;
}

.timeline-item::before {
  content: '';
  position: absolute;
  left: -36px;
  top: 4px;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--brand-red);
  border: 3px solid var(--bg-cream);
  box-shadow: 0 0 0 2px var(--brand-red);
}

.timeline-item .year {
  font-size: 1.3rem;
  font-weight: 800;
  color: var(--brand-red);
  margin-bottom: 8px;
}

.timeline-item h4 {
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 8px;
  color: var(--text-primary);
}

.timeline-item p {
  font-size: 0.92rem;
  color: var(--text-secondary);
  line-height: 1.7;
}

/* 价值观 */
.values-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.value-card {
  text-align: center;
  padding: 32px 24px;
  background: var(--bg-white);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-light);
  transition: var(--transition);
}

.value-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
  border-color: var(--brand-red-soft);
}

.value-card .value-icon {
  width: 56px;
  height: 56px;
  margin: 0 auto 16px;
  background: var(--brand-red-soft);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.value-card .value-icon svg {
  width: 28px;
  height: 28px;
  color: var(--brand-red);
}

.value-card h4 {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 8px;
}

.value-card p {
  font-size: 0.88rem;
  color: var(--text-secondary);
}

/* ===== 产品服务页面 ===== */
.product-detail {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  margin-bottom: var(--space-3xl);
}

.product-detail:nth-child(even) .product-info {
  order: 2;
}

.product-detail .product-info h2 {
  font-size: 2rem;
  font-weight: 800;
  margin-bottom: 16px;
}

.product-detail .product-info .product-tag {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--brand-red);
  background: var(--brand-red-soft);
  padding: 6px 16px;
  border-radius: var(--radius-full);
  margin-bottom: 16px;
}

.product-detail .product-info .product-desc {
  font-size: 1rem;
  color: var(--text-secondary);
  margin-bottom: 24px;
  line-height: 1.8;
}

.product-detail .product-features {
  margin-bottom: 28px;
}

.product-detail .product-features li {
  display: flex;
  gap: 12px;
  margin-bottom: 16px;
  align-items: flex-start;
}

.product-detail .product-features li .check-icon {
  width: 24px;
  height: 24px;
  background: var(--brand-red-soft);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 2px;
}

.product-detail .product-features li .check-icon svg {
  width: 14px;
  height: 14px;
  color: var(--brand-red);
}

.product-detail .product-features li .feature-text h4 {
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 4px;
}

.product-detail .product-features li .feature-text p {
  font-size: 0.88rem;
  color: var(--text-secondary);
}

.product-visual {
  position: relative;
}

.product-visual .visual-box {
  border-radius: var(--radius-xl);
  padding: 48px;
  color: white;
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  min-height: 360px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.product-visual .visual-box.bg-red {
  background: linear-gradient(135deg, #C8302E 0%, #E8534E 100%);
}

.product-visual .visual-box.bg-orange {
  background: linear-gradient(135deg, #E8730C 0%, #F5A623 100%);
}

.product-visual .visual-box.bg-green {
  background: linear-gradient(135deg, #2D6A4F 0%, #52B788 100%);
}

.product-visual .visual-box .big-icon {
  width: 80px;
  height: 80px;
  background: rgba(255, 255, 255, 0.2);
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
}

.product-visual .visual-box .big-icon svg {
  width: 40px;
  height: 40px;
  color: white;
}

.product-visual .visual-box h3 {
  font-size: 1.6rem;
  font-weight: 700;
  margin-bottom: 12px;
}

.product-visual .visual-box p {
  font-size: 0.95rem;
  opacity: 0.9;
  line-height: 1.7;
}

.product-visual .visual-box::before {
  content: '';
  position: absolute;
  top: -60px;
  right: -60px;
  width: 200px;
  height: 200px;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 50%;
}

.product-visual .visual-box::after {
  content: '';
  position: absolute;
  bottom: -40px;
  left: -40px;
  width: 140px;
  height: 140px;
  background: rgba(255, 255, 255, 0.06);
  border-radius: 50%;
}

/* ===== 联系我们页面 ===== */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 48px;
  align-items: start;
}

.contact-info-card {
  background: var(--bg-white);
  border-radius: var(--radius-xl);
  padding: 40px;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border-light);
}

.contact-info-item {
  display: flex;
  gap: 16px;
  margin-bottom: 28px;
  align-items: flex-start;
}

.contact-info-item:last-child {
  margin-bottom: 0;
}

.contact-info-item .ci-icon {
  width: 48px;
  height: 48px;
  background: var(--brand-red-soft);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.contact-info-item .ci-icon svg {
  width: 22px;
  height: 22px;
  color: var(--brand-red);
}

.contact-info-item .ci-content h4 {
  font-size: 0.95rem;
  font-weight: 700;
  margin-bottom: 4px;
  color: var(--text-primary);
}

.contact-info-item .ci-content p {
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

.contact-form-card {
  background: var(--bg-white);
  border-radius: var(--radius-xl);
  padding: 40px;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--border-light);
}

.form-group {
  margin-bottom: 24px;
}

.form-group label {
  display: block;
  font-size: 0.9rem;
  font-weight: 600;
  margin-bottom: 8px;
  color: var(--text-primary);
}

.form-group label .required {
  color: var(--brand-red);
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 12px 16px;
  border: 1.5px solid var(--border-warm);
  border-radius: var(--radius-sm);
  font-size: 0.95rem;
  background: var(--bg-cream-light);
  color: var(--text-primary);
  transition: var(--transition);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--brand-red);
  background: white;
  box-shadow: 0 0 0 3px rgba(200, 48, 46, 0.1);
}

.form-group textarea {
  resize: vertical;
  min-height: 120px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.form-submit {
  width: 100%;
  padding: 14px;
  font-size: 1rem;
}

.form-success {
  display: none;
  background: #E8F5E9;
  border: 1px solid #A5D6A7;
  border-radius: var(--radius-sm);
  padding: 16px;
  margin-bottom: 20px;
  font-size: 0.9rem;
  color: #2E7D32;
  align-items: center;
  gap: 8px;
}

.form-success.show {
  display: flex;
}

/* ===== 机构合作页面 ===== */
.coop-models {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.coop-model-card {
  background: var(--bg-white);
  border-radius: var(--radius-xl);
  padding: 36px;
  border: 2px solid var(--border-light);
  transition: var(--transition);
  position: relative;
}

.coop-model-card:hover {
  border-color: var(--brand-red);
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}

.coop-model-card .model-badge {
  position: absolute;
  top: -12px;
  right: 24px;
  background: var(--brand-red);
  color: white;
  padding: 4px 14px;
  border-radius: var(--radius-full);
  font-size: 0.75rem;
  font-weight: 600;
}

.coop-model-card .model-icon {
  width: 56px;
  height: 56px;
  background: var(--brand-red-soft);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}

.coop-model-card .model-icon svg {
  width: 28px;
  height: 28px;
  color: var(--brand-red);
}

.coop-model-card h3 {
  font-size: 1.3rem;
  font-weight: 700;
  margin-bottom: 8px;
}

.coop-model-card .model-price {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--brand-red);
  margin-bottom: 16px;
}

.coop-model-card .model-price span {
  font-size: 0.85rem;
  font-weight: 400;
  color: var(--text-secondary);
}

.coop-model-card .model-features li {
  padding: 8px 0;
  font-size: 0.9rem;
  color: var(--text-secondary);
  display: flex;
  gap: 8px;
  align-items: center;
}

.coop-model-card .model-features li svg {
  width: 18px;
  height: 18px;
  color: var(--brand-red);
  flex-shrink: 0;
}

/* 合作流程 */
.process-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  position: relative;
}

.process-step {
  text-align: center;
  position: relative;
}

.process-step .step-num {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: var(--bg-white);
  border: 2px solid var(--brand-red);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--brand-red);
  margin: 0 auto 16px;
  position: relative;
  z-index: 1;
}

.process-step .step-num::after {
  content: '';
  position: absolute;
  top: -4px;
  left: -4px;
  right: -4px;
  bottom: -4px;
  border: 2px solid var(--brand-red-soft);
  border-radius: 50%;
  z-index: -1;
}

.process-step h4 {
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 8px;
}

.process-step p {
  font-size: 0.85rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

/* FAQ */
.faq-list {
  max-width: 760px;
  margin: 0 auto;
}

.faq-item {
  background: var(--bg-white);
  border-radius: var(--radius-md);
  margin-bottom: 16px;
  overflow: hidden;
  border: 1px solid var(--border-light);
  transition: var(--transition);
}

.faq-item.active {
  box-shadow: var(--shadow-md);
  border-color: var(--brand-red-soft);
}

.faq-question {
  padding: 20px 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  font-size: 1rem;
  font-weight: 600;
  color: var(--text-primary);
}

.faq-question .faq-icon {
  width: 24px;
  height: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
  flex-shrink: 0;
}

.faq-item.active .faq-icon {
  transform: rotate(45deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease, padding 0.3s ease;
  padding: 0 24px;
}

.faq-item.active .faq-answer {
  max-height: 300px;
  padding: 0 24px 20px;
}

.faq-answer p {
  font-size: 0.92rem;
  color: var(--text-secondary);
  line-height: 1.8;
}

/* ===== 动画 ===== */
.fade-in-up {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in-up.visible {
  opacity: 1;
  transform: translateY(0);
}

.fade-in {
  opacity: 0;
  transition: opacity 0.6s ease;
}

.fade-in.visible {
  opacity: 1;
}

/* ===== 响应式 ===== */
@media (max-width: 968px) {
  .nav-menu {
    position: fixed;
    top: 72px;
    left: 0;
    right: 0;
    background: var(--bg-cream);
    flex-direction: column;
    padding: 24px;
    gap: 0;
    transform: translateY(-150%);
    transition: var(--transition);
    border-bottom: 1px solid var(--border-warm);
    box-shadow: var(--shadow-md);
  }

  .nav-menu.active {
    transform: translateY(0);
  }

  .nav-menu li {
    width: 100%;
    border-bottom: 1px solid var(--border-light);
  }

  .nav-menu li:last-child {
    border-bottom: none;
  }

  .nav-menu a {
    display: block;
    padding: 14px 0;
  }

  .nav-toggle {
    display: flex;
  }

  .nav-actions .btn {
    display: none;
  }

  .hero-home {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .hero h1 {
    font-size: 2.4rem;
  }

  .section-title h2 {
    font-size: 1.8rem;
  }

  .features-grid,
  .products-grid,
  .mv-grid,
  .coop-models {
    grid-template-columns: 1fr;
  }

  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .values-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .footer-top {
    grid-template-columns: 1fr 1fr;
    gap: 32px;
  }

  .story-section,
  .product-detail,
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .product-detail:nth-child(even) .product-info {
    order: 0;
  }

  .process-steps {
    grid-template-columns: repeat(2, 1fr);
  }

  .cta-box {
    padding: 40px 24px;
  }

  .cta-box h2 {
    font-size: 1.6rem;
  }

  .section {
    padding: 48px 0;
  }

  .about-hero-visual .visual-circle {
    width: 300px;
    height: 300px;
  }

  .about-hero-visual .visual-circle .inner-content .big-num {
    font-size: 3rem;
  }
}

@media (max-width: 640px) {
  .container {
    padding: 0 16px;
  }

  .hero h1 {
    font-size: 1.9rem;
  }

  .section-title h2 {
    font-size: 1.5rem;
  }

  .stats-grid {
    grid-template-columns: 1fr;
  }

  .values-grid,
  .footer-top,
  .form-row,
  .process-steps {
    grid-template-columns: 1fr;
  }

  .hero-actions {
    flex-direction: column;
  }

  .hero-actions .btn {
    width: 100%;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 8px;
    text-align: center;
  }
}
