/* =========================================================
   岚度视觉数字科技官网 · 基础样式 common.css
   包含：Reset + CSS变量（色彩/字体/圆角/阴影/断点）+ 栅格 + 通用工具类
   主题：浅色科技风（白底 + 蓝色品牌色，现代干净）
========================================================= */

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html, body, h1, h2, h3, h4, h5, h6, p, figure, blockquote,
ul, ol, dl, dt, dd, hr, pre, fieldset, legend, button, input, textarea, select {
  margin: 0; padding: 0;
}
ul, ol { list-style: none; }
a { text-decoration: none; color: inherit; background: transparent; }
button { border: none; background: none; cursor: pointer; font-family: inherit; }
img, svg, video { max-width: 100%; display: block; }
table { border-collapse: collapse; border-spacing: 0; }
input, textarea, select, button { font-family: inherit; font-size: inherit; color: inherit; }
input:focus, textarea:focus, select:focus, button:focus { outline: none; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  min-height: 100vh;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
a, button { transition: all 0.25s ease; }

/* ---------- CSS Variables（浅色科技风主题 Token） ---------- */
:root {
  /* 背景色 */
  --bg-primary: #FFFFFF;
  --bg-secondary: #F6F8FB;
  --bg-tertiary: #F0F4F9;
  --bg-card: #F0F4F9;
  --bg-card-hover: #FFFFFF;

  /* 文字色 */
  --text-primary: #0F172A;
  --text-secondary: #334155;
  --text-muted: #64748B;

  /* 品牌色 */
  --brand-blue: #2563EB;
  --brand-blue-hover: #1D4ED8;
  --brand-blue-dark: #1D4ED8;
  --brand-blue-50: #EFF6FF;
  --brand-blue-100: #DBEAFE;
  --brand-cyan: #06B6D4;
  --brand-gold: #D4A853;
  --brand-gold-hover: #E0B868;

  /* 功能色 */
  --cta-color: #2563EB;
  --cta-hover: #1D4ED8;
  --success: #10B981;
  --warning: #F59E0B;
  --error: #EF4444;

  /* 边框 */
  --border-color: #E5E7EB;
  --border-color-light: #D1D5DB;
  --border-blue: #BFDBFE;

  /* 阴影（浅色模式，柔和低对比，蓝色调投影） */
  --shadow-sm: 0 1px 2px rgba(15, 23, 42, 0.04);
  --shadow-md: 0 4px 12px rgba(15, 23, 42, 0.06);
  --shadow-lg: 0 8px 32px rgba(15, 23, 42, 0.08);
  --shadow-blue: 0 4px 20px rgba(37, 99, 235, 0.12);
  --shadow-gold: 0 4px 20px rgba(212, 168, 83, 0.12);

  /* 圆角 */
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 14px;
  --radius-xl: 18px;
  --radius-full: 9999px;

  /* 字体 */
  --font-sans: -apple-system, BlinkMacSystemFont, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Source Han Sans SC", "Segoe UI", Roboto, sans-serif;
  --font-serif: "Noto Serif SC", "Source Han Serif", Georgia, serif;
  --font-mono: "JetBrains Mono", "Cascadia Code", Menlo, Consolas, monospace;

  /* 容器 & 布局 */
  --container-max: 1200px;
  --section-py: 80px;
  --section-py-sm: 64px;
}

/* ---------- 全局主题应用 ---------- */
body {
  font-family: var(--font-sans);
  background: #FFFFFF;
  color: #0F172A;
  font-size: 16px;
  position: relative;
  overflow-x: hidden;
}

/* 背景装饰：浅色科技感淡蓝色光晕 */
body::before {
  content: "";
  position: fixed;
  top: -20%;
  left: -10%;
  width: 50vw;
  height: 50vw;
  background: radial-gradient(circle, rgba(37, 99, 235, 0.04) 0%, transparent 60%);
  pointer-events: none;
  z-index: 0;
}
body::after {
  content: "";
  position: fixed;
  bottom: -20%;
  right: -10%;
  width: 50vw;
  height: 50vw;
  background: radial-gradient(circle, rgba(6, 182, 212, 0.03) 0%, transparent 60%);
  pointer-events: none;
  z-index: 0;
}

/* ---------- 文字字号规范 ---------- */
h1, .h1 { font-size: 60px; font-weight: 700; line-height: 1.15; letter-spacing: -0.02em; }
h2, .h2 { font-size: 40px; font-weight: 700; line-height: 1.25; letter-spacing: -0.01em; }
h3, .h3 { font-size: 26px; font-weight: 600; line-height: 1.35; }
h4, .h4 { font-size: 20px; font-weight: 600; line-height: 1.45; }
p, .body-m { font-size: 16px; line-height: 1.75; color: var(--text-secondary); }
.body-l { font-size: 18px; line-height: 1.75; }
.body-s { font-size: 14px; line-height: 1.65; }
.caption { font-size: 12px; line-height: 1.5; }

/* 文字颜色工具类 */
.text-primary { color: var(--text-primary) !important; }
.text-secondary { color: var(--text-secondary) !important; }
.text-muted { color: var(--text-muted) !important; }
.text-blue { color: #2563EB !important; }
.text-cyan { color: #2563EB !important; }
.text-gold { color: #2563EB !important; }
.text-white { color: #fff !important; }

/* 渐变文字 */
.gradient-text {
  background: linear-gradient(135deg, #2563EB 0%, #06B6D4 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  -webkit-text-fill-color: transparent;
}
.gradient-text-blue {
  background: linear-gradient(135deg, #2563EB 0%, #06B6D4 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.gradient-text-gold {
  background: linear-gradient(135deg, #2563EB 0%, #06B6D4 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  -webkit-text-fill-color: transparent;
}

/* ---------- 布局 / 容器 / 栅格 ---------- */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 24px;
  position: relative;
  z-index: 1;
}
.container-fluid { width: 100%; padding: 0 24px; position: relative; z-index: 1; }

/* 区块通用垂直间距 */
.section { padding: 100px 0; position: relative; z-index: 1; }
.section-sm { padding: 64px 0; position: relative; z-index: 1; }

/* Page Section 通用 */
.page-section { padding: var(--section-py) 0; }

/* Section Tag 小标签（蓝色药丸） */
.section-tag {
  display: inline-block;
  padding: 6px 14px;
  border-radius: 999px;
  background: #EFF6FF;
  color: #2563EB;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 1px;
  margin-bottom: 16px;
}

/* Section Title 系统 */
.section-title {
  margin-bottom: 56px;
  text-align: center;
}
.section-title .eyebrow {
  display: inline-block;
  padding: 6px 14px;
  border-radius: var(--radius-full);
  background: rgba(37, 99, 235, 0.1);
  color: var(--brand-blue);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 16px;
  border: 1px solid var(--border-blue);
}
.section-title h2 {
  margin-bottom: 16px;
  font-weight: 600;
  font-size: 34px;
}
.section-title h3 {
  font-weight: 600;
  font-size: 22px;
}
.section-title p {
  max-width: 720px;
  margin: 0 auto;
  color: var(--text-muted);
  font-size: 15px;
  margin-bottom: 40px;
}
.section-sub {
  color: #64748B;
  font-size: 15px;
  margin-bottom: 48px;
}

/* 栅格系统（12列 + Flex/Grid 工具） */
.grid { display: grid; gap: 24px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); gap: 24px; }
.grid-3 { grid-template-columns: repeat(3, 1fr); gap: 24px; }
.grid-4 { grid-template-columns: repeat(4, 1fr); gap: 24px; }
.grid-5 { grid-template-columns: repeat(5, 1fr); }
.grid-6 { grid-template-columns: repeat(6, 1fr); }
.grid-2-3 { grid-template-columns: 2fr 3fr; }
.grid-3-2 { grid-template-columns: 3fr 2fr; }
.grid-1-3 { grid-template-columns: 1fr 3fr; }

.flex { display: flex; }
.flex-col { flex-direction: column; }
.items-center { align-items: center; }
.items-start { align-items: flex-start; }
.items-end { align-items: flex-end; }
.justify-center { justify-content: center; }
.justify-between { justify-content: space-between; }
.justify-around { justify-content: space-around; }
.justify-end { justify-content: flex-end; }
.flex-wrap { flex-wrap: wrap; }
.flex-1 { flex: 1; min-width: 0; }

/* reveal fade-up 入场动画 */
.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal.active {
  opacity: 1;
  transform: translateY(0);
}

/* 间距工具类（t/b/l/r/x/y） */
.m-0 { margin: 0; }
.m-auto { margin: 0 auto; }
.mt-0 { margin-top: 0; } .mt-4 { margin-top: 4px; } .mt-8 { margin-top: 8px; }
.mt-12 { margin-top: 12px; } .mt-16 { margin-top: 16px; } .mt-24 { margin-top: 24px; }
.mt-32 { margin-top: 32px; } .mt-40 { margin-top: 40px; } .mt-48 { margin-top: 48px; }
.mt-56 { margin-top: 56px; } .mt-64 { margin-top: 64px; } .mt-80 { margin-top: 80px; }
.mb-0 { margin-bottom: 0; } .mb-4 { margin-bottom: 4px; } .mb-8 { margin-bottom: 8px; }
.mb-12 { margin-bottom: 12px; } .mb-16 { margin-bottom: 16px; } .mb-24 { margin-bottom: 24px; }
.mb-32 { margin-bottom: 32px; } .mb-40 { margin-bottom: 40px; } .mb-48 { margin-bottom: 48px; }
.mb-56 { margin-bottom: 56px; } .mb-64 { margin-bottom: 64px; }
.mx-auto { margin-left: auto; margin-right: auto; }
.my-16 { margin-top: 16px; margin-bottom: 16px; }
.my-24 { margin-top: 24px; margin-bottom: 24px; }
.my-32 { margin-top: 32px; margin-bottom: 32px; }

.p-0 { padding: 0; }
.p-16 { padding: 16px; } .p-24 { padding: 24px; } .p-32 { padding: 32px; }
.py-8 { padding-top: 8px; padding-bottom: 8px; }
.py-16 { padding-top: 16px; padding-bottom: 16px; }
.py-24 { padding-top: 24px; padding-bottom: 24px; }
.py-32 { padding-top: 32px; padding-bottom: 32px; }
.px-16 { padding-left: 16px; padding-right: 16px; }
.px-24 { padding-left: 24px; padding-right: 24px; }
.px-32 { padding-left: 32px; padding-right: 32px; }

/* ---------- 文本工具类 ---------- */
.text-center { text-align: center; }
.text-left { text-align: left; }
.text-right { text-align: right; }
.font-bold { font-weight: 700; }
.font-semibold { font-weight: 600; }
.font-medium { font-weight: 500; }
.font-normal { font-weight: 400; }
.leading-tight { line-height: 1.25; }
.leading-snug { line-height: 1.5; }
.leading-relaxed { line-height: 1.75; }
.truncate { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.line-clamp-2 {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.line-clamp-3 {
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* ---------- 背景/边框工具类 ---------- */
.bg-primary { background: var(--bg-primary); }
.bg-secondary { background: var(--bg-secondary); }
.bg-tertiary { background: var(--bg-tertiary); }
.bg-card { background: var(--bg-card); }
.border { border: 1px solid var(--border-color); }
.border-light { border: 1px solid var(--border-color-light); }
.border-blue { border: 1px solid var(--border-blue); }
.rounded-sm { border-radius: var(--radius-sm); }
.rounded-md { border-radius: var(--radius-md); }
.rounded-lg { border-radius: var(--radius-lg); }
.rounded-xl { border-radius: var(--radius-xl); }
.rounded-full { border-radius: var(--radius-full); }

/* 分割线 */
.divider {
  height: 1px;
  background: var(--border-color);
  margin: 0;
  border: none;
}
.divider-light {
  height: 1px;
  background: var(--border-color-light);
  margin: 0;
  border: none;
}

/* ---------- 显示/隐藏 ---------- */
.block { display: block; }
.inline-block { display: inline-block; }
.inline { display: inline; }
.hidden { display: none !important; }
.visible { visibility: visible; }
.invisible { visibility: hidden; }
.sr-only {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  white-space: nowrap;
  border: 0;
}

/* ---------- 宽度/高度 ---------- */
.w-full { width: 100%; }
.w-auto { width: auto; }
.h-full { height: 100%; }
.h-auto { height: auto; }
.min-h-screen { min-height: 100vh; }
.max-w-xs { max-width: 360px; }
.max-w-sm { max-width: 480px; }
.max-w-md { max-width: 640px; }
.max-w-lg { max-width: 780px; }
.max-w-xl { max-width: 900px; }
.max-w-2xl { max-width: 1100px; }
.max-w-full { max-width: 100%; }

/* ---------- 位置 ---------- */
.relative { position: relative; }
.absolute { position: absolute; }
.fixed { position: fixed; }
.sticky { position: sticky; top: 0; }
.inset-0 { top: 0; right: 0; bottom: 0; left: 0; }
.top-0 { top: 0; } .right-0 { right: 0; } .bottom-0 { bottom: 0; } .left-0 { left: 0; }
.z-10 { z-index: 10; } .z-20 { z-index: 20; } .z-50 { z-index: 50; } .z-100 { z-index: 100; }

/* ---------- 按钮系统 ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 24px;
  height: 44px;
  border-radius: 10px;
  font-size: 15px;
  font-weight: 500;
  letter-spacing: 0.01em;
  white-space: nowrap;
  user-select: none;
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
}
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0); }

.btn-primary {
  background: #2563EB;
  color: #fff;
  border-radius: 10px;
  padding: 12px 24px;
  box-shadow: 0 4px 14px rgba(37, 99, 235, 0.25);
}
.btn-primary:hover {
  background: #1D4ED8;
  box-shadow: 0 6px 20px rgba(37, 99, 235, 0.30);
}

.btn-secondary {
  background: #FFFFFF;
  color: #2563EB;
  border: 1px solid #E5E7EB;
}
.btn-secondary:hover {
  background: #EFF6FF;
  border-color: #2563EB;
  color: #2563EB;
}

.btn-gold {
  background: #FFFFFF;
  color: #2563EB;
  border: 1px solid #E5E7EB;
  font-weight: 500;
  box-shadow: none;
}
.btn-gold:hover {
  background: #EFF6FF;
  border-color: #2563EB;
  color: #2563EB;
  box-shadow: none;
}

.btn-cyan {
  background: #FFFFFF;
  color: #2563EB;
  border: 1px solid #E5E7EB;
  font-weight: 500;
  box-shadow: none;
}
.btn-cyan:hover {
  background: #EFF6FF;
  border-color: #2563EB;
  color: #2563EB;
  box-shadow: none;
}

.btn-ghost {
  background: transparent;
  color: #334155;
  border: none;
  padding: 12px 16px;
}
.btn-ghost:hover {
  color: #2563EB;
  background: rgba(37, 99, 235, 0.08);
}

.btn-sm { padding: 8px 16px; height: 36px; font-size: 14px; border-radius: 6px; }
.btn-lg { padding: 14px 32px; height: 52px; font-size: 16px; border-radius: 10px; }
.btn-block { width: 100%; }

.btn .icon { font-size: 1.05em; }
.btn-arrow::after {
  content: "→";
  margin-left: 4px;
  transition: transform 0.2s ease;
}
.btn-arrow:hover::after { transform: translateX(3px); }

/* ---------- 响应式断点 ---------- */
/* 笔记本 992-1199px */
@media (max-width: 1199px) {
  :root { --container-max: 960px; }
  h1, .h1 { font-size: 52px; }
  h2, .h2 { font-size: 36px; }
  .section-title h2 { font-size: 30px; }
}
/* 平板 768-991px */
@media (max-width: 991px) {
  :root { --container-max: 720px; --section-py: 64px; }
  .section { padding: 72px 0; }
  .page-section { padding: var(--section-py-sm) 0; }
  .section-title { margin-bottom: 44px; }
  h1, .h1 { font-size: 44px; }
  h2, .h2 { font-size: 32px; }
  h3, .h3 { font-size: 22px; }
  .section-title h2 { font-size: 28px; }
  .grid-3, .grid-4, .grid-5, .grid-6 { grid-template-columns: repeat(2, 1fr); gap: 24px; }
  .grid-2-3, .grid-3-2, .grid-1-3 { grid-template-columns: 1fr; }
}
/* 手机 ≤767px */
@media (max-width: 767px) {
  .container { padding: 0 16px; }
  .container-fluid { padding: 0 16px; }
  .section { padding: 56px 0; }
  .section-sm { padding: 40px 0; }
  .page-section { padding: 48px 0; }
  .section-title { margin-bottom: 32px; }
  .section-title h2 { margin-bottom: 12px; font-size: 24px; }
  .section-title p { font-size: 15px; margin-bottom: 28px; }
  h1, .h1 { font-size: 36px; line-height: 1.2; }
  h2, .h2 { font-size: 28px; }
  h3, .h3 { font-size: 20px; }
  h4, .h4 { font-size: 18px; }
  p, .body-m { font-size: 15px; }
  .body-l { font-size: 16px; }
  .grid, .grid-2, .grid-3, .grid-4, .grid-5, .grid-6 {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .mt-64 { margin-top: 40px; } .mt-56 { margin-top: 36px; }
  .mb-64 { margin-bottom: 40px; } .mb-56 { margin-bottom: 32px; }
  .mb-48 { margin-bottom: 28px; } .mb-40 { margin-bottom: 24px; }
}

/* ---------- 统一蓝色风格补充覆盖 ---------- */
/* si-dot 进度点颜色统一蓝色 */
.si-dot-gold {
  background: #2563EB !important;
}
.si-dot-cyan {
  background: #2563EB !important;
}

/* deliverable-card 编号统一蓝色渐变 */
.deliverable-card .dc-num {
  background: linear-gradient(135deg, rgba(37, 99, 235, 0.3), rgba(37, 99, 235, 0.08)) !important;
  color: #2563EB !important;
}

/* hint-item 图标统一蓝色 */
.hint-item i {
  color: #2563EB !important;
}

/* cta-big-btn 蓝底白字 */
.cta-big-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 56px;
  padding: 0 36px;
  background: linear-gradient(135deg, #2563EB, #1D4ED8);
  color: #fff;
  font-size: 16px;
  font-weight: 600;
  border-radius: 14px;
  box-shadow: 0 6px 24px rgba(37, 99, 235, 0.3);
  transition: all 0.25s ease;
  text-decoration: none;
  white-space: nowrap;
}
.cta-big-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 32px rgba(37, 99, 235, 0.4);
  background: linear-gradient(135deg, #1D4ED8, #2563EB);
}
