/* ============================================
   WorkBuddy + 金蝶 — 方案介绍页样式
   Ocean Gradient 配色 · 全屏滚动式
   ============================================ */

:root {
  /* Ocean Gradient 调色板 */
  --o-navy: #0B1F3A;
  --o-deepBlue: #065A82;
  --o-teal: #1C7293;
  --o-midnight: #21295C;
  --o-iceBlue: #E8F1F5;
  --o-white: #FFFFFF;
  --o-offWhite: #F8FAFC;
  --o-lightGray: #E2E8F0;
  --o-textDark: #1E293B;
  --o-textMid: #475569;
  --o-textLight: #94A3B8;
  --o-success: #10B981;
  --o-warning: #F59E0B;
  --o-danger: #EF4444;
  --o-accent: #3B82F6;

  --font-sans: -apple-system, BlinkMacSystemFont, "PingFang SC", "Microsoft YaHei", "Segoe UI", Roboto, sans-serif;
  --shadow-card: 0 1px 3px rgba(0,0,0,0.08), 0 1px 2px rgba(0,0,0,0.04);
  --shadow-hover: 0 8px 30px rgba(0,0,0,0.12);
  --shadow-deep: 0 20px 60px rgba(0,0,0,0.15);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-sans);
  color: var(--o-textDark);
  background: var(--o-white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

/* ============ 顶部导航 ============ */
.intro-topbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: 56px;
  background: rgba(11, 31, 58, 0.95);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 32px;
  border-bottom: 1px solid rgba(28, 114, 147, 0.3);
}

.intro-topbar-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--o-white);
  font-size: 16px;
  font-weight: 600;
}

.intro-topbar-brand .logo-mark {
  width: 32px; height: 32px;
  background: linear-gradient(135deg, var(--o-teal), var(--o-deepBlue));
  border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  font-size: 16px;
}

.intro-topbar-nav {
  display: flex;
  gap: 4px;
}

.intro-topbar-nav a {
  color: rgba(255,255,255,0.6);
  text-decoration: none;
  font-size: 13px;
  padding: 6px 14px;
  border-radius: 6px;
  transition: all 0.2s;
}

.intro-topbar-nav a:hover {
  color: var(--o-white);
  background: rgba(255,255,255,0.08);
}

.intro-topbar-cta {
  display: flex;
  gap: 12px;
  align-items: center;
}

.intro-topbar-cta .btn-demo {
  background: var(--o-teal);
  color: var(--o-white);
  padding: 8px 20px;
  border-radius: 8px;
  text-decoration: none;
  font-size: 13px;
  font-weight: 600;
  transition: all 0.2s;
}

.intro-topbar-cta .btn-demo:hover {
  background: var(--o-deepBlue);
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(28, 114, 147, 0.4);
}

/* ============ 通用 Section ============ */
.intro-section {
  padding: 80px 32px;
  max-width: 1200px;
  margin: 0 auto;
}

.intro-section-full {
  padding: 80px 32px;
}

.section-title {
  font-size: 36px;
  font-weight: 700;
  color: var(--o-textDark);
  margin-bottom: 8px;
  letter-spacing: -0.5px;
}

.section-subtitle {
  font-size: 18px;
  color: var(--o-textMid);
  margin-bottom: 48px;
}

.section-title.light { color: var(--o-white); }
.section-subtitle.light { color: var(--o-textLight); }

/* ============ 1. Hero 封面 ============ */
.hero {
  min-height: 100vh;
  background: linear-gradient(135deg, var(--o-navy) 0%, var(--o-midnight) 50%, var(--o-deepBlue) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
  padding-top: 56px;
}

.hero::before {
  content: '';
  position: absolute;
  top: -50%; left: -50%;
  width: 200%; height: 200%;
  background: radial-gradient(circle at 30% 50%, rgba(28, 114, 147, 0.15) 0%, transparent 50%);
  animation: heroGlow 8s ease-in-out infinite alternate;
}

@keyframes heroGlow {
  0% { transform: translate(0, 0); }
  100% { transform: translate(10%, 10%); }
}

.hero::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--o-teal), transparent);
}

.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 800px;
  padding: 0 24px;
}

.hero-accent-bar {
  width: 4px;
  height: 60px;
  background: var(--o-teal);
  margin: 0 auto 24px;
  border-radius: 2px;
}

.hero-title {
  font-size: 64px;
  font-weight: 800;
  color: var(--o-white);
  letter-spacing: -1px;
  margin-bottom: 16px;
  line-height: 1.1;
}

.hero-subtitle {
  font-size: 36px;
  color: var(--o-teal);
  font-weight: 300;
  margin-bottom: 24px;
}

.hero-tagline {
  font-size: 20px;
  color: var(--o-textLight);
  font-style: italic;
  margin-bottom: 48px;
}

.hero-meta {
  display: flex;
  justify-content: center;
  gap: 48px;
  color: var(--o-textLight);
  font-size: 14px;
}

.hero-meta span {
  display: flex;
  align-items: center;
  gap: 8px;
}

.hero-scroll-hint {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  color: rgba(255,255,255,0.3);
  font-size: 24px;
  animation: bounce 2s infinite;
}

@keyframes bounce {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50% { transform: translateX(-50%) translateY(8px); }
}

/* ============ 2. 痛点区 ============ */
.pains-section {
  background: var(--o-offWhite);
}

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

.pain-card {
  background: var(--o-white);
  border-radius: 12px;
  padding: 32px;
  box-shadow: var(--shadow-card);
  border-left: 4px solid;
  transition: all 0.3s;
  position: relative;
  overflow: hidden;
}

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

.pain-card::before {
  content: attr(data-num);
  position: absolute;
  top: -10px;
  right: 12px;
  font-size: 72px;
  font-weight: 800;
  color: rgba(0,0,0,0.03);
  pointer-events: none;
}

.pain-num {
  font-size: 32px;
  font-weight: 800;
  margin-bottom: 12px;
  line-height: 1;
}

.pain-title {
  font-size: 18px;
  font-weight: 700;
  color: var(--o-textDark);
  margin-bottom: 8px;
}

.pain-desc {
  font-size: 14px;
  color: var(--o-textMid);
  line-height: 1.6;
}

/* ============ 3. 方案概述 ============ */
.solution-section {
  background: var(--o-white);
}

.arch-layers {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.arch-layer {
  background: var(--o-iceBlue);
  border-radius: 12px;
  padding: 28px 32px;
  border-left: 4px solid;
  box-shadow: var(--shadow-card);
  display: grid;
  grid-template-columns: 200px 1fr;
  gap: 24px;
  align-items: start;
}

.arch-layer-title {
  font-size: 20px;
  font-weight: 700;
}

.arch-layer-desc {
  font-size: 14px;
  color: var(--o-textMid);
  margin-top: 4px;
}

.arch-layer-items {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.arch-layer-item {
  background: var(--o-white);
  padding: 6px 14px;
  border-radius: 6px;
  font-size: 13px;
  color: var(--o-textDark);
  box-shadow: 0 1px 2px rgba(0,0,0,0.04);
}

.arch-arrow {
  text-align: center;
  color: var(--o-textLight);
  font-size: 20px;
  margin: -8px 0;
}

/* ============ 4. 核心能力 ============ */
.caps-section {
  background: var(--o-offWhite);
}

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

.cap-card {
  background: var(--o-white);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: var(--shadow-card);
  transition: all 0.3s;
}

.cap-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-hover);
}

.cap-card-header {
  padding: 20px;
  text-align: center;
  color: var(--o-white);
  font-size: 20px;
  font-weight: 700;
}

.cap-card-body {
  padding: 24px;
}

.cap-card-title {
  font-size: 18px;
  font-weight: 700;
  color: var(--o-textDark);
  text-align: center;
  margin-bottom: 4px;
}

.cap-card-subtitle {
  font-size: 12px;
  text-align: center;
  margin-bottom: 16px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.cap-card-desc {
  font-size: 13px;
  color: var(--o-textMid);
  line-height: 1.6;
  margin-bottom: 16px;
}

.cap-card-features {
  list-style: none;
  padding: 0;
}

.cap-card-features li {
  font-size: 13px;
  color: var(--o-textDark);
  padding: 6px 0;
  padding-left: 20px;
  position: relative;
}

.cap-card-features li::before {
  content: '\25B8';
  position: absolute;
  left: 0;
  color: var(--o-teal);
  font-size: 12px;
}

/* ============ 5-10. 场景区 ============ */
.scene-section {
  padding: 80px 32px;
  max-width: 1200px;
  margin: 0 auto;
}

.scene-header {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 16px;
}

.scene-badge {
  background: var(--o-deepBlue);
  color: var(--o-white);
  padding: 4px 12px;
  border-radius: 6px;
  font-size: 13px;
  font-weight: 600;
}

.scene-title {
  font-size: 32px;
  font-weight: 700;
  color: var(--o-textDark);
}

.scene-subtitle {
  font-size: 16px;
  color: var(--o-textMid);
  margin-bottom: 40px;
}

.scene-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-bottom: 40px;
}

.scene-stat {
  background: var(--o-white);
  border-radius: 12px;
  padding: 24px;
  box-shadow: var(--shadow-card);
  border-top: 3px solid;
  text-align: center;
}

.scene-stat-value {
  font-size: 36px;
  font-weight: 800;
  line-height: 1.2;
}

.scene-stat-label {
  font-size: 13px;
  color: var(--o-textMid);
  margin-top: 4px;
}

.scene-features {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

.scene-feature {
  background: var(--o-white);
  border-radius: 10px;
  padding: 20px 24px;
  box-shadow: var(--shadow-card);
  display: flex;
  gap: 16px;
  align-items: flex-start;
  transition: all 0.2s;
}

.scene-feature:hover {
  box-shadow: var(--shadow-hover);
}

.scene-feature-num {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--o-white);
  font-size: 16px;
  font-weight: 700;
  flex-shrink: 0;
}

.scene-feature-title {
  font-size: 15px;
  font-weight: 700;
  color: var(--o-textDark);
  margin-bottom: 4px;
}

.scene-feature-desc {
  font-size: 13px;
  color: var(--o-textMid);
  line-height: 1.5;
}

.scene-divider {
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--o-lightGray), transparent);
  margin: 60px 0;
}

/* ============ 11. 技术架构 ============ */
.tech-section {
  background: var(--o-white);
}

.tech-grid {
  display: grid;
  grid-template-columns: 1fr 1.5fr 1fr;
  gap: 20px;
}

.tech-col {
  border-radius: 12px;
  padding: 32px;
  box-shadow: var(--shadow-card);
}

.tech-col-erp {
  background: var(--o-iceBlue);
}

.tech-col-engine {
  background: var(--o-deepBlue);
  color: var(--o-white);
}

.tech-col-user {
  background: var(--o-iceBlue);
}

.tech-col-title {
  font-size: 20px;
  font-weight: 700;
  text-align: center;
  margin-bottom: 24px;
}

.tech-group-title {
  font-size: 14px;
  font-weight: 700;
  margin-bottom: 8px;
  margin-top: 20px;
}

.tech-group-title:first-of-type { margin-top: 0; }

.tech-col-engine .tech-group-title { color: var(--o-white); }

.tech-bullet {
  font-size: 13px;
  padding: 4px 0 4px 16px;
  position: relative;
  color: var(--o-textMid);
}

.tech-col-engine .tech-bullet { color: rgba(255,255,255,0.8); }

.tech-bullet::before {
  content: '\2022';
  position: absolute;
  left: 0;
}

.tech-engine-items {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: 16px;
}

.tech-engine-item {
  background: rgba(255,255,255,0.08);
  border-radius: 8px;
  padding: 10px 16px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.tech-engine-item-title {
  font-size: 13px;
  font-weight: 600;
}

.tech-engine-item-desc {
  font-size: 11px;
  color: rgba(255,255,255,0.6);
}

/* ============ 12. 实施路径 ============ */
.timeline-section {
  background: var(--o-offWhite);
}

.timeline {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  padding-top: 40px;
}

.timeline::before {
  content: '';
  position: absolute;
  top: 20px;
  left: 5%;
  right: 5%;
  height: 2px;
  background: var(--o-lightGray);
}

.timeline-node {
  position: relative;
}

.timeline-dot {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--o-white);
  font-size: 18px;
  font-weight: 700;
  margin: 0 auto 20px;
  position: relative;
  z-index: 2;
  box-shadow: 0 0 0 4px var(--o-offWhite);
}

.timeline-card {
  background: var(--o-white);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: var(--shadow-card);
  transition: all 0.3s;
}

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

.timeline-card-header {
  padding: 12px 20px;
  color: var(--o-white);
  font-size: 15px;
  font-weight: 700;
  text-align: center;
}

.timeline-card-body {
  padding: 20px;
}

.timeline-card-title {
  font-size: 16px;
  font-weight: 700;
  color: var(--o-textDark);
  margin-bottom: 8px;
}

.timeline-card-desc {
  font-size: 12px;
  color: var(--o-textMid);
  line-height: 1.5;
  margin-bottom: 16px;
}

.timeline-card-items {
  list-style: none;
  padding: 0;
}

.timeline-card-items li {
  font-size: 13px;
  color: var(--o-textDark);
  padding: 5px 0;
  padding-left: 16px;
  position: relative;
}

.timeline-card-items li::before {
  content: '\2022';
  position: absolute;
  left: 0;
  color: var(--o-teal);
}

/* ============ 13. 价值收益 ============ */
.value-section {
  background: linear-gradient(135deg, var(--o-navy) 0%, var(--o-midnight) 100%);
}

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

.value-card {
  background: rgba(255,255,255,0.05);
  border-radius: 12px;
  padding: 36px;
  border-left: 4px solid;
  transition: all 0.3s;
}

.value-card:hover {
  background: rgba(255,255,255,0.08);
  transform: translateY(-4px);
}

.value-num {
  font-size: 52px;
  font-weight: 800;
  line-height: 1;
  margin-bottom: 12px;
}

.value-label {
  font-size: 18px;
  font-weight: 700;
  color: var(--o-white);
  margin-bottom: 8px;
}

.value-desc {
  font-size: 14px;
  color: var(--o-textLight);
  line-height: 1.5;
}

/* ============ 14. 关于我们 ============ */
.about-section {
  background: var(--o-navy);
}

.about-info-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-bottom: 32px;
}

.about-info-card {
  background: rgba(255,255,255,0.05);
  border-radius: 12px;
  padding: 28px;
}

.about-info-label {
  font-size: 14px;
  font-weight: 700;
  color: var(--o-teal);
  margin-bottom: 12px;
}

.about-info-value {
  font-size: 14px;
  color: var(--o-white);
  line-height: 1.8;
  white-space: pre-line;
}

.about-contact {
  background: rgba(255,255,255,0.03);
  border-radius: 12px;
  padding: 28px 32px;
  display: flex;
  align-items: center;
  gap: 48px;
}

.about-contact-label {
  font-size: 14px;
  font-weight: 700;
  color: var(--o-teal);
}

.about-contact-info {
  font-size: 15px;
  color: var(--o-white);
  display: flex;
  gap: 32px;
  flex-wrap: wrap;
}

.about-footer {
  text-align: center;
  margin-top: 48px;
  padding-top: 32px;
  border-top: 1px solid rgba(255,255,255,0.08);
  color: var(--o-textLight);
  font-size: 13px;
}

/* ============ 进入 Demo CTA ============ */
.cta-section {
  background: var(--o-white);
  text-align: center;
  padding: 80px 32px;
}

.cta-title {
  font-size: 32px;
  font-weight: 700;
  color: var(--o-textDark);
  margin-bottom: 12px;
}

.cta-desc {
  font-size: 16px;
  color: var(--o-textMid);
  margin-bottom: 32px;
}

.cta-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: linear-gradient(135deg, var(--o-deepBlue), var(--o-teal));
  color: var(--o-white);
  padding: 16px 48px;
  border-radius: 12px;
  text-decoration: none;
  font-size: 18px;
  font-weight: 700;
  transition: all 0.3s;
  box-shadow: 0 4px 20px rgba(6, 90, 130, 0.3);
}

.cta-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(6, 90, 130, 0.4);
}

/* ============ 响应式 ============ */
@media (max-width: 1024px) {
  .pains-grid { grid-template-columns: repeat(2, 1fr); }
  .caps-grid { grid-template-columns: repeat(2, 1fr); }
  .scene-stats { grid-template-columns: repeat(2, 1fr); }
  .tech-grid { grid-template-columns: 1fr; }
  .timeline { grid-template-columns: repeat(2, 1fr); }
  .timeline::before { display: none; }
  .value-grid { grid-template-columns: 1fr; }
  .about-info-grid { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
  .intro-topbar-nav { display: none; }
  .hero-title { font-size: 40px; }
  .hero-subtitle { font-size: 24px; }
  .pains-grid { grid-template-columns: 1fr; }
  .caps-grid { grid-template-columns: 1fr; }
  .scene-features { grid-template-columns: 1fr; }
  .scene-stats { grid-template-columns: repeat(2, 1fr); }
  .timeline { grid-template-columns: 1fr; }
  .arch-layer { grid-template-columns: 1fr; }
  .section-title { font-size: 28px; }
  .about-contact { flex-direction: column; align-items: flex-start; gap: 16px; }
  .about-contact-info { flex-direction: column; gap: 8px; }
}
