/* ============================================
   双灯塔DBT × OLOOK镜鉴 × 声誉治理 — 共享样式表
   ============================================ */

/* ---- CSS Variables ---- */
:root {
  --dbt-primary: #1a3a5c;
  --dbt-secondary: #c9a227;
  --dbt-light: #e8f0f8;
  --olook-primary: #1e3a5f;
  --olook-accent: #3498db;
  --rep-primary: #0f2b4d;
  --rep-accent: #1a5fb4;
  --rep-gold: #b8860b;
  --org-color: #3b5998;
  --own-color: #27ae60;
  --our-color: #e67e22;
  --becoming-color: #9b59b6;
  --text-dark: #2c3e50;
  --text-gray: #5a6c7d;
  --text-light: #8a9aab;
  --bg-white: #ffffff;
  --bg-light: #f8fafc;
  --bg-warm: #fdfbf7;
  --border-light: #e2e8f0;
  --shadow-sm: 0 1px 3px rgba(0,0,0,0.08);
  --shadow-md: 0 4px 12px rgba(0,0,0,0.1);
  --shadow-lg: 0 12px 32px rgba(0,0,0,0.12);
  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --font-stack: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Helvetica Neue", Arial, sans-serif;
}

/* ---- Reset & Base ---- */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: var(--font-stack);
  color: var(--text-dark);
  background: var(--bg-white);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
a { text-decoration: none; color: inherit; transition: var(--transition); }
ul, ol { list-style: none; }
img { max-width: 100%; display: block; }
button { border: none; background: none; cursor: pointer; font-family: inherit; }

/* ---- 媒体防保存：禁止长按/选中/拖拽 ---- */
video, img {
  -webkit-user-select: none;
  -moz-user-select: none;
  user-select: none;
  -webkit-touch-callout: none;
  -webkit-user-drag: none;
  pointer-events: auto;
}
video::-internal-media-controls-download-button,
video::-webkit-media-controls-download-button { display: none !important; }

/* ---- Utilities ---- */
.container { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.section { padding: 100px 0; position: relative; }
.section-title {
  font-size: 2.4rem; font-weight: 700; color: var(--dbt-primary);
  text-align: center; margin-bottom: 16px; letter-spacing: -0.02em;
}
.section-subtitle {
  font-size: 1.1rem; color: var(--text-gray); text-align: center;
  max-width: 600px; margin: 0 auto 60px; line-height: 1.8;
}
.text-center { text-align: center; }
.fade-in { opacity: 0; transform: translateY(30px); transition: opacity 0.8s ease, transform 0.8s ease; }
.fade-in.visible { opacity: 1; transform: translateY(0); }

/* ---- Buttons ---- */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 14px 32px; border-radius: 50px; font-size: 1rem; font-weight: 600;
  transition: var(--transition); cursor: pointer; gap: 8px;
}
.btn-primary {
  background: linear-gradient(135deg, var(--dbt-primary), #2c5282);
  color: white; box-shadow: 0 4px 16px rgba(26,58,92,0.3);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 8px 24px rgba(26,58,92,0.4); }
.btn-secondary {
  background: white; color: var(--dbt-primary); border: 2px solid var(--dbt-primary);
}
.btn-secondary:hover { background: var(--dbt-primary); color: white; }
.btn-gold {
  background: linear-gradient(135deg, var(--dbt-secondary), #d4af37);
  color: var(--dbt-primary); box-shadow: 0 4px 16px rgba(201,162,39,0.3);
}
.btn-gold:hover { transform: translateY(-2px); box-shadow: 0 8px 24px rgba(201,162,39,0.4); }
.btn-rep {
  background: linear-gradient(135deg, var(--rep-primary), var(--rep-accent));
  color: white; box-shadow: 0 4px 16px rgba(15,43,77,0.3);
}
.btn-rep:hover { transform: translateY(-2px); box-shadow: 0 8px 24px rgba(15,43,77,0.4); }

/* ---- Navigation ---- */
.navbar {
  position: fixed; top: 0; left: 0; width: 100%; z-index: 1000;
  background: rgba(9,20,38,0.92); backdrop-filter: blur(20px);
  border-bottom: 1px solid transparent; transition: var(--transition);
}
.navbar.scrolled { border-bottom-color: rgba(255,255,255,0.14); box-shadow: 0 10px 32px rgba(6,16,30,0.4); }
.nav-container { display: flex; align-items: center; justify-content: space-between; height: 72px; }
.nav-logo { display: flex; align-items: center; gap: 12px; font-weight: 700; font-size: 1.45rem; color: #fff; letter-spacing: 0.02em; }
.nav-logo svg { width: 32px; height: 32px; }
.nav-links { display: flex; gap: 32px; align-items: center; }
.nav-links a {
  font-size: 0.9rem; font-weight: 500; color: rgba(255,255,255,0.84);
  position: relative; padding: 4px 0;
}
.nav-links a::after {
  content: ''; position: absolute; bottom: 0; left: 0; width: 0; height: 2px;
  background: var(--dbt-secondary); transition: width 0.3s ease;
}
.nav-links a:hover { color: #fff; }
.nav-links a:hover::after { width: 100%; }
.nav-links a.active { color: #fff; font-weight: 600; }
.nav-links a.active::after { width: 100%; }
.mobile-menu-btn { display: none; flex-direction: column; gap: 5px; cursor: pointer; padding: 8px; }
.mobile-menu-btn span { display: block; width: 24px; height: 2px; background: #fff; transition: var(--transition); }

/* ---- 术语权威定义块（hero 后，供 AI/搜索引擎识别） ---- */
.term-definition { background: var(--bg-white); padding: 56px 0; }
.term-def { max-width: 880px; margin: 0 auto; }
.term-def-term {
  display: flex; flex-wrap: wrap; align-items: baseline; gap: 12px;
  font-size: 1.5rem; font-weight: 800; color: var(--dbt-primary);
  margin-bottom: 16px; letter-spacing: -0.01em;
}
.term-def-en {
  font-size: 0.92rem; font-weight: 600; color: var(--text-light);
  letter-spacing: 0.02em;
}
.term-def-desc {
  font-size: 0.95rem; line-height: 2; color: var(--text-body);
  margin: 0; padding-left: 20px;
  border-left: 3px solid var(--dbt-secondary);
}

/* ---- 术语注释 (首现括注 + 文末词条区) ---- */
.g-first { font-size: 0.85em; color: var(--text-light); font-weight: 400; }
.glossary-sec { background: var(--bg-light); padding: 84px 0; }
.glossary-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.glossary-item {
  background: #fff; border: 1px solid var(--border-light);
  border-left: 4px solid var(--dbt-secondary);
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
  padding: 20px 22px; transition: var(--transition);
}
.glossary-item:hover { box-shadow: var(--shadow-md); }
.glossary-item .g-term { font-size: 1.02rem; font-weight: 800; color: var(--dbt-primary); margin-bottom: 6px; }
.glossary-item .g-en { font-size: 0.8rem; font-weight: 600; color: var(--olook-accent); margin-left: 8px; letter-spacing: 0.02em; }
.glossary-item .g-desc { font-size: 0.87rem; color: var(--text-gray); line-height: 1.85; }
@media (max-width: 768px) { .glossary-grid { grid-template-columns: 1fr; } }

/* ---- Footer ---- */
.footer { background: var(--dbt-primary); color: rgba(255,255,255,0.8); padding: 60px 0 30px; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr 1fr; gap: 32px; margin-bottom: 40px; }
.footer-brand { font-size: 1.2rem; font-weight: 700; color: white; margin-bottom: 16px; display: flex; align-items: center; gap: 10px; }
.footer-desc { font-size: 0.85rem; line-height: 1.8; opacity: 0.8; max-width: 280px; }
.footer-title { font-size: 0.95rem; font-weight: 600; color: white; margin-bottom: 16px; }
.footer-links li { margin-bottom: 10px; }
.footer-links a { font-size: 0.85rem; opacity: 0.8; transition: var(--transition); }
.footer-links a:hover { opacity: 1; color: var(--dbt-secondary); padding-left: 4px; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.1); padding-top: 24px; text-align: center; font-size: 0.8rem; opacity: 0.6; }

/* ---- Cards ---- */
.card {
  background: white; border-radius: var(--radius-md); padding: 32px;
  box-shadow: var(--shadow-sm); border: 1px solid var(--border-light);
  transition: var(--transition);
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); border-color: transparent; }
.card-icon { width: 56px; height: 56px; border-radius: 14px; display: flex; align-items: center; justify-content: center; margin-bottom: 20px; font-size: 1.5rem; }
.card-title { font-size: 1.25rem; font-weight: 700; margin-bottom: 12px; color: var(--text-dark); }
.card-text { font-size: 0.95rem; color: var(--text-gray); line-height: 1.7; }

/* ---- Badges ---- */
.badge {
  display: inline-block; padding: 4px 12px; border-radius: 20px;
  font-size: 0.75rem; font-weight: 600; letter-spacing: 0.02em;
}
.badge-gold { background: rgba(201,162,39,0.12); color: #8a6d1f; }
.badge-blue { background: rgba(52,152,219,0.12); color: #1a5276; }
.badge-green { background: rgba(39,174,96,0.12); color: #1e8449; }
.badge-purple { background: rgba(155,89,182,0.12); color: #7d3c98; }
.badge-orange { background: rgba(230,126,34,0.12); color: #a04000; }
.badge-red { background: rgba(231,76,60,0.12); color: #922b21; }

/* ---- Tabs ---- */
.tab-nav { display: flex; gap: 8px; justify-content: center; margin-bottom: 48px; flex-wrap: wrap; }
.tab-btn {
  padding: 12px 24px; border-radius: 50px; font-size: 0.95rem; font-weight: 600;
  cursor: pointer; transition: var(--transition); border: 2px solid var(--border-light);
  background: white; color: var(--text-gray);
}
.tab-btn:hover { border-color: var(--dbt-primary); color: var(--dbt-primary); }
.tab-btn.active { background: var(--dbt-primary); color: white; border-color: var(--dbt-primary); }
.tab-content { display: none; }
.tab-content.active { display: block; animation: fadeIn 0.5s ease; }
@keyframes fadeIn { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: translateY(0); } }

/* ---- Timeline ---- */
.timeline { position: relative; padding-left: 40px; }
.timeline::before {
  content: ''; position: absolute; left: 12px; top: 0; bottom: 0;
  width: 2px; background: linear-gradient(to bottom, var(--dbt-secondary), var(--dbt-primary));
}
.timeline-item { position: relative; margin-bottom: 40px; }
.timeline-item::before {
  content: ''; position: absolute; left: -34px; top: 4px; width: 16px; height: 16px;
  background: white; border: 3px solid var(--dbt-secondary); border-radius: 50%; z-index: 1;
}
.timeline-item:last-child { margin-bottom: 0; }
.timeline-title { font-size: 1.1rem; font-weight: 700; color: var(--dbt-primary); margin-bottom: 8px; }
.timeline-text { font-size: 0.95rem; color: var(--text-gray); line-height: 1.7; }

/* ---- Responsive ---- */
@media (max-width: 1024px) {
  .section { padding: 80px 0; }
  .section-title { font-size: 2rem; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 768px) {
  .section { padding: 60px 0; }
  .section-title { font-size: 1.2rem; }
  .section-subtitle { font-size: 1rem; margin-bottom: 40px; }
  .nav-links { display: none; }
  .mobile-menu-btn { display: flex; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .btn { padding: 12px 24px; font-size: 0.9rem; }
  .timeline { padding-left: 32px; }
  .timeline-item::before { left: -26px; }
}

/* ---- Mobile Menu ---- */
.mobile-menu {
  position: fixed; top: 72px; left: 0; width: 100%; background: white;
  border-bottom: 1px solid var(--border-light); padding: 24px;
  box-shadow: var(--shadow-md); z-index: 999;
  transform: translateY(-100%); opacity: 0; pointer-events: none;
  transition: var(--transition);
}
.mobile-menu.open { transform: translateY(0); opacity: 1; pointer-events: auto; }
.mobile-menu a { display: block; padding: 12px 0; font-size: 1rem; font-weight: 500; color: var(--text-gray); border-bottom: 1px solid var(--border-light); }
.mobile-menu a:last-child { border-bottom: none; }
.mobile-menu a.active { color: var(--dbt-primary); font-weight: 600; }

/* ---- Scrollbar ---- */
::-webkit-scrollbar { width: 8px; }
::-webkit-scrollbar-track { background: var(--bg-light); }
::-webkit-scrollbar-thumb { background: #cbd5e1; border-radius: 4px; }
::-webkit-scrollbar-thumb:hover { background: #94a3b8; }

/* ---- Selection ---- */
::selection { background: rgba(201,162,39,0.3); color: var(--dbt-primary); }

/* ============================================
   导航下拉菜单 + 内页共享样式（关于我们二级页面）
   ============================================ */

/* ---- Nav dropdown (关于我们) ---- */
.nav-item { position: relative; }
.nav-item > a { display: inline-flex; align-items: center; gap: 5px; }
.nav-item .chevron { width: 11px; height: 11px; transition: transform 0.3s ease; opacity: 0.7; }
.nav-item:hover .chevron, .nav-item:focus-within .chevron { transform: rotate(180deg); }

/* 悬停桥：延伸触发项向下的悬停区，覆盖与下拉菜单之间的空隙，悬停不中断 */
.nav-item::after {
  content: ''; position: absolute; top: 100%; left: 0; right: 0; height: 18px;
}
.nav-dropdown {
  position: absolute; top: calc(100% + 14px); left: 50%;
  transform: translateX(-50%) translateY(8px);
  background: #fff; border: 1px solid var(--border-light);
  border-radius: 12px; box-shadow: var(--shadow-lg);
  padding: 8px; min-width: 150px;
  opacity: 0; visibility: hidden; pointer-events: none;
  transition: var(--transition); z-index: 1001;
}
/* 下拉菜单自身的向上悬停桥（含横向余量），保证从触发项斜向移入时悬停同样不中断 */
.nav-dropdown::before {
  content: ''; position: absolute; top: -18px; left: -28px; right: -28px; height: 18px;
}
.nav-item:hover .nav-dropdown,
.nav-item:focus-within .nav-dropdown {
  opacity: 1; visibility: visible; pointer-events: auto;
  transform: translateX(-50%) translateY(0);
}
.nav-dropdown a {
  display: block; padding: 10px 16px; border-radius: 8px;
  font-size: 0.9rem; font-weight: 500; color: var(--text-gray); white-space: nowrap;
}
.nav-dropdown a::after { display: none !important; }
.nav-dropdown a:hover { background: var(--bg-light); color: var(--dbt-primary); }
.nav-dropdown a.active { background: rgba(201,162,39,0.12); color: var(--dbt-primary); font-weight: 600; }
@media (max-width: 1100px) { .nav-links { gap: 20px; } }

/* ---- Mobile sub menu (关于我们) ---- */
.mobile-menu .menu-sub-label {
  display: block; padding: 14px 0 4px;
  font-size: 0.8rem; font-weight: 700; color: var(--text-light);
  letter-spacing: 0.08em;
}
.mobile-menu .menu-sub a { padding-left: 24px; font-size: 0.95rem; border-bottom-color: var(--bg-light); }
.mobile-menu .menu-sub a.active { color: var(--dbt-primary); font-weight: 600; }

/* ---- Page hero (inner pages) ---- */
.page-hero {
  padding: 150px 0 90px;
  min-height: 100vh; display: flex; align-items: center;
  background: linear-gradient(135deg, var(--dbt-primary) 0%, #0f2744 100%);
  color: #fff; text-align: center; position: relative; overflow: hidden;
}
.page-hero::before {
  content: ''; position: absolute; top: -40%; right: -8%; width: 560px; height: 560px;
  background: radial-gradient(circle, rgba(201,162,39,0.12) 0%, transparent 60%);
  border-radius: 50%; pointer-events: none;
}
.page-hero::after {
  content: ''; position: absolute; bottom: -60%; left: -5%; width: 480px; height: 480px;
  background: radial-gradient(circle, rgba(255,255,255,0.05) 0%, transparent 60%);
  border-radius: 50%; pointer-events: none;
}
.page-hero .container { position: relative; z-index: 1; }
.page-hero-label {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(201,162,39,0.18); color: var(--dbt-secondary);
  padding: 8px 18px; border-radius: 50px;
  font-size: 0.85rem; font-weight: 600; margin-bottom: 22px;
}
.page-hero h1 { font-size: 2.7rem; font-weight: 800; line-height: 1.25; letter-spacing: -0.02em; margin-bottom: 18px; }
.page-hero h1 span { color: var(--dbt-secondary); }
.page-hero-sub { font-size: 1.05rem; opacity: 0.85; max-width: 660px; margin: 0 auto; line-height: 1.8; }
.page-hero-en { margin-top: 12px; font-size: 0.85rem; letter-spacing: 0.14em; color: var(--rep-gold); text-transform: uppercase; }

/* ---- Inner two-col ---- */
.inner-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.inner-grid h3 { font-size: 1.6rem; font-weight: 700; color: var(--dbt-primary); margin-bottom: 20px; }
.inner-grid p { color: var(--text-gray); margin-bottom: 16px; line-height: 1.8; }
.inner-quote {
  border-left: 4px solid var(--dbt-secondary); padding-left: 20px;
  font-size: 1.05rem; color: var(--text-dark); font-weight: 500; margin-top: 24px;
}
.inner-quote .inner-quote-src { display: block; font-size: 0.9rem; color: var(--text-light); font-weight: 400; margin-top: 8px; }

/* ---- Pillar cards (3-col) ---- */
.pillar-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.pillar-card {
  background: #fff; border: 1px solid var(--border-light); border-radius: var(--radius-lg);
  padding: 36px 28px; box-shadow: var(--shadow-sm); transition: var(--transition);
}
.pillar-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.pillar-icon {
  width: 56px; height: 56px; border-radius: 14px; margin-bottom: 18px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.4rem; font-weight: 800; color: #fff;
}
.pillar-card h4 { font-size: 1.2rem; font-weight: 700; color: var(--text-dark); margin-bottom: 10px; }
.pillar-card p { font-size: 0.92rem; color: var(--text-gray); line-height: 1.7; }

/* ---- Data stats ---- */
.data-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.data-card { text-align: center; padding: 24px 16px; background: var(--bg-light); border-radius: var(--radius-md); border: 1px solid var(--border-light); }
.data-number { font-size: 2.2rem; font-weight: 800; color: var(--dbt-secondary); }
.data-label { font-size: 0.85rem; color: var(--text-gray); margin-top: 4px; }

/* ---- System flow (一看 · 一听 · 一行) ---- */
.sys-flow { display: flex; align-items: stretch; justify-content: center; flex-wrap: wrap; margin: 16px 0 8px; }
.sys-node {
  width: 230px; background: #fff; border: 1px solid var(--border-light);
  border-radius: var(--radius-lg); padding: 30px 22px; text-align: center;
  box-shadow: var(--shadow-md);
}
.sys-node .sys-sense { font-size: 1.9rem; font-weight: 800; line-height: 1; margin-bottom: 10px; }
.sys-node .sys-brand { font-size: 1.1rem; font-weight: 700; color: var(--text-dark); margin-bottom: 4px; }
.sys-node .sys-action { font-size: 0.92rem; color: var(--dbt-primary); font-weight: 600; margin-bottom: 10px; }
.sys-node .sys-stage { font-size: 0.82rem; color: var(--text-light); line-height: 1.6; }
.sys-arrow {
  width: 60px; display: flex; align-items: center; justify-content: center;
  color: var(--dbt-secondary); font-size: 1.4rem; font-weight: 800; flex-shrink: 0;
}
.sys-loop-note { text-align: center; font-size: 0.95rem; color: var(--text-gray); margin-top: 12px; }

/* ---- System table ---- */
.sys-table-wrap { overflow-x: auto; margin-top: 44px; border-radius: var(--radius-lg); box-shadow: var(--shadow-sm); }
.sys-table { width: 100%; border-collapse: collapse; background: #fff; min-width: 640px; }
.sys-table th { background: var(--dbt-primary); color: #fff; padding: 16px 20px; font-size: 0.95rem; font-weight: 600; text-align: left; white-space: nowrap; }
.sys-table td { padding: 16px 20px; border-bottom: 1px solid var(--border-light); font-size: 0.92rem; color: var(--text-gray); }
.sys-table tr:last-child td { border-bottom: none; }
.sys-table tr:hover td { background: var(--bg-light); }
.sys-table .cell-brand { font-weight: 700; color: var(--text-dark); white-space: nowrap; }

/* ---- Resolve cards (解决什么) ---- */
.sys-resolve { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 40px; }
.sys-resolve-item { background: var(--bg-light); border: 1px solid var(--border-light); border-radius: var(--radius-lg); padding: 28px 24px; text-align: center; transition: var(--transition); }
.sys-resolve-item:hover { background: #fff; box-shadow: var(--shadow-md); transform: translateY(-4px); }
.sys-resolve-item .q { font-size: 1rem; font-weight: 800; color: var(--dbt-primary); margin-bottom: 8px; }
.sys-resolve-item .a { font-size: 0.9rem; color: var(--text-gray); line-height: 1.7; }

/* ---- Responsive inner pages ---- */
@media (max-width: 1024px) {
  .page-hero { padding: 120px 0 70px; }
  .page-hero h1 { font-size: 2.2rem; }
  .inner-grid { grid-template-columns: 1fr; gap: 40px; }
  .pillar-grid { grid-template-columns: 1fr; }
  .data-grid { grid-template-columns: 1fr 1fr; }
  .sys-resolve { grid-template-columns: 1fr; }
  .sys-node { width: 200px; }
}
@media (max-width: 768px) {
  .page-hero { padding: 110px 0 56px; }
  .page-hero h1 { font-size: 1.4rem; }
  .page-hero-sub { font-size: 0.95rem; }
  .sys-flow { flex-direction: column; align-items: center; gap: 6px; }
  .sys-arrow { transform: rotate(90deg); height: 36px; width: 36px; }
  .data-grid { grid-template-columns: 1fr; }
}

/* ===== 手机版第二级标题（区块内 h3）缩小一档：强制覆盖，置于样式末尾 ===== */
@media (max-width: 768px) {
  .inner-grid h3,
  .philosophy-right h3,
  .philosophy-olook-left h3,
  .rep-structure-left h3,
  .about-content h3,
  .contact-info h3 {
    font-size: 1.4rem !important;
  }
  .spmdm-content h3 { font-size: 1.3rem !important; }
}
