/* 1. 全局色彩变量｜紫红色+明黄色标准体系 */
:root {
  /* 紫红分层基底 */
  --red-purple-950: #18000e;    /* 页面最底层背景 */
  --red-purple-900: #2c041a;    /* 交替区块底色 */
  --red-purple-800: #460829;    /* 卡片标准底色 */
  --red-purple-700: #620c3a;    /* 高亮渐变、边框hover */
  --red-purple-600: #7f124d;    /* 辅助装饰色块 */

  /* 明黄色体系（高亮主色） */
  --yellow-main: #ffd02e;       /* 主标题、按钮、装饰线条 */
  --yellow-light: #ffe070;      /* hover高亮、重点文字 */
  --yellow-muted: #dbb952;      /* 正文次要描述文字 */
  --yellow-faint: rgba(255, 208, 46, 0.08);  /* 淡黄底色/边框 */
  --yellow-border: rgba(255, 208, 46, 0.2);

  /* 通用阴影 */
  --shadow-base: rgba(0, 0, 0, 0.4);
  --shadow-hover: rgba(255, 208, 46, 0.06);

  /* 统一尺寸规范 */
  --radius-xs: 6px;
  --radius-sm: 14px;
  --radius-md: 22px;
  --radius-lg: 36px;
  --radius-full: 9999px;

  --space-xs: 8px;
  --space-sm: 16px;
  --space-md: 26px;
  --space-lg: 40px;
  --space-xl: 60px;
  --space-2xl: 90px;

  --container-max: 1260px;
  --header-height: 76px;

  /* 字体栈 */
  --font-sans: "PingFang SC", "Microsoft YaHei", Inter, system-ui, sans-serif;
}

/* 2. 全局重置 & 基础排版 */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
  font-size: 16px;
}
body {
  font-family: var(--font-sans);
  background-color: var(--red-purple-950);
  color: var(--yellow-muted);
  line-height: 1.82;
  -webkit-font-smoothing: antialiased;
}

/* 图片控制：全局隐藏，仅放行Logo与政策授权图 */
img {
  display: none !important;
}
.site-header .brand img,
.policy-visual img {
  display: block !important;
}

a {
  color: inherit;
  text-decoration: none;
}
ul, ol {
  list-style: none;
}
section[id] {
  scroll-margin-top: calc(var(--header-height) + 24px);
}

/* 页面容器统一居中 */
.container {
  width: min(var(--container-max), calc(100% - var(--space-md) * 2));
  margin: 0 auto;
}

/* 3. 文字层级规范（明黄分级区分） */
.eyebrow {
  font-size: 13px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--yellow-muted);
  opacity: 0.7;
  margin-bottom: var(--space-xs);
  display: inline-block;
}
h2 {
  font-size: clamp(30px, 4vw, 50px);
  color: var(--yellow-main);
  font-weight: 750;
  line-height: 1.15;
  margin-bottom: var(--space-sm);
}
h3 {
  font-size: clamp(19px, 2vw, 24px);
  color: var(--yellow-light);
  font-weight: 650;
  line-height: 1.35;
}
p {
  font-size: 16px;
  color: var(--yellow-muted);
}

/* 4. 区块通用样式 大留白 */
.section {
  padding: var(--space-2xl) 0;
}
.section-contents {
  background: linear-gradient(180deg, var(--red-purple-950), var(--red-purple-900));
}
.section-alt {
  background: var(--red-purple-900);
}
.section-head {
  margin-bottom: var(--space-xl);
}
.section-head.center {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.section-head.narrow p {
  max-width: 800px;
}

/* 5. 导航栏 毛玻璃极简 */
.site-header {
  position: sticky;
  top: 0;
  z-index: 999;
  height: var(--header-height);
  background: rgba(24, 0, 14, 0.85);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--yellow-faint);
}
.nav-wrap {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-lg);
}
.brand {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
}
/* Logo 图片尺寸约束 */
.site-header .brand img {
  height: 48px;
  width: auto;
  border-radius: var(--radius-sm);
  object-fit: contain;
}
.brand-text strong {
  display: block;
  color: var(--yellow-light);
  font-size: 17px;
  font-weight: 700;
}
.brand-text small {
  font-size: 11px;
  color: var(--yellow-muted);
  opacity: 0.7;
}
/* PC导航菜单 */
.site-nav {
  display: flex;
  align-items: center;
  gap: var(--space-lg);
}
.site-nav a {
  font-size: 14px;
  color: var(--yellow-muted);
  position: relative;
  transition: color 0.26s ease;
}
.site-nav a:hover {
  color: var(--yellow-main);
}
.site-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -6px;
  width: 0;
  height: 2px;
  background: var(--yellow-main);
  transition: width 0.26s ease;
}
.site-nav a:hover::after {
  width: 100%;
}
.lang-toggle {
  padding: 6px 16px;
  border: 1px solid var(--yellow-border);
  border-radius: var(--radius-full);
  background: transparent;
  color: var(--yellow-muted);
  font-size: 13px;
  cursor: pointer;
  transition: all 0.26s ease;
}
.lang-toggle:hover {
  background: var(--yellow-faint);
  color: var(--yellow-main);
  border-color: var(--yellow-main);
}
.menu-toggle {
  display: none;
  background: transparent;
  border: none;
  color: var(--yellow-main);
  font-size: 28px;
  cursor: pointer;
}

/* 6. Hero首屏 纯色块渐变、无多余图片装饰 */
.hero {
  min-height: 100svh;
  position: relative;
  display: flex;
  align-items: center;
  overflow: hidden;
}
/* 仅保留纯色渐变背景，删除全部网格、斜块装饰 */
.hero-bg {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 25% 30%, var(--yellow-faint), transparent 42%),
              radial-gradient(circle at 75% 72%, var(--yellow-faint), transparent 42%),
              linear-gradient(165deg, var(--red-purple-800) 0%, var(--red-purple-950) 100%);
}
.hero-grid, .hero-bg::before, .hero-bg::after {
  display: none;
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(24,0,14,0.92), rgba(24,0,14,0.3));
}
.hero-content {
  position: relative;
  z-index: 2;
  width: 100%;
  padding: var(--space-2xl) 0;
  text-align: center;
}
.hero-topline {
  font-size: 14px;
  color: var(--yellow-muted);
  opacity: 0.7;
  margin-bottom: var(--space-xl);
}
.hero-panel {
  width: min(980px, 100%);
  margin: 0 auto var(--space-lg);
  display: grid;
  grid-template-columns: 1fr 1px 1fr;
  gap: var(--space-lg);
  padding: var(--space-2xl);
  background: rgba(44, 4, 26, 0.68);
  border: 1px solid var(--yellow-border);
  border-radius: var(--radius-lg);
  backdrop-filter: blur(10px);
}
.hero-title-cn {
  font-size: clamp(42px, 7vw, 72px);
  color: var(--yellow-main);
  font-weight: 800;
  line-height: 1;
  margin-bottom: var(--space-xs);
}
.hero-title-en {
  font-size: clamp(24px, 3vw, 38px);
  color: var(--yellow-muted);
  letter-spacing: 0.06em;
}
.hero-divider {
  width: 1px;
  background: var(--yellow-border);
}
.hero-copy {
  text-align: left;
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
}
.hero-slogan-cn {
  font-size: 26px;
  color: var(--yellow-main);
  font-weight: 700;
}
.hero-slogan-sub {
  font-size: 21px;
}
.hero-slogan-en {
  font-size: 18px;
  opacity: 0.85;
}
.hero-slogan-en.small {
  font-size: 16px;
  opacity: 0.72;
}
/* 按钮样式 明黄主视觉 */
.hero-actions {
  display: flex;
  gap: var(--space-md);
  justify-content: center;
  margin-top: var(--space-md);
}
.btn {
  padding: 15px 32px;
  border-radius: var(--radius-full);
  font-weight: 650;
  font-size: 15px;
  transition: all 0.26s ease;
}
.btn:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px var(--shadow-hover);
}
.btn-primary {
  background: var(--yellow-main);
  color: var(--red-purple-950);
}
.btn-primary:hover {
  background: var(--yellow-light);
}
.btn-secondary {
  border: 1px solid var(--yellow-border);
  background: transparent;
  color: var(--yellow-main);
}
.btn-secondary:hover {
  background: var(--yellow-faint);
  border-color: var(--yellow-main);
}

/* 7. 全站统一卡片系统｜无多余图片，纯色块线条 */
.contents-grid a,
.mission-grid article,
.vision-list article,
.service-grid article,
.advantage-grid article,
.process-roadmap article,
.case-grid article,
.impact-grid article,
.purpose-list article,
.benefit-cards article,
.stat-card,
.contact-people article,
.product-card {
  background: var(--red-purple-800);
  border: 1px solid var(--yellow-border);
  border-radius: var(--radius-md);
  padding: var(--space-lg);
  transition: transform 0.26s ease, border-color 0.26s ease;
  position: relative;
  overflow: hidden;
}
.contents-grid a:hover,
.mission-grid article:hover,
.vision-list article:hover,
.service-grid article:hover,
.advantage-grid article:hover,
.process-roadmap article:hover,
.case-grid article:hover,
.impact-grid article:hover,
.purpose-list article:hover,
.benefit-cards article:hover,
.stat-card:hover,
.contact-people article:hover,
.product-card:hover {
  transform: translateY(-6px);
  border-color: var(--yellow-main);
}
/* 卡片左侧标志性明黄竖线装饰 */
.mission-grid article::before,
.vision-list article::before,
.service-grid article::before,
.advantage-grid article::before,
.process-roadmap article::before,
.case-grid article::before,
.impact-grid article::before,
.purpose-list article::before,
.product-card::before {
  content: "";
  position: absolute;
  left: 0;
  top: 26px;
  bottom: 26px;
  width: 4px;
  background: linear-gradient(180deg, var(--yellow-light), var(--yellow-muted));
  border-radius: var(--radius-full);
}

/* 8. 目录板块网格 */
.contents-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-md);
}
.contents-grid a {
  min-height: 190px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.contents-grid span {
  font-size: 34px;
  font-weight: 800;
  color: var(--yellow-faint);
  margin-bottom: var(--space-sm);
}
.contents-grid strong {
  font-size: 21px;
  color: var(--yellow-light);
}
.contents-grid small {
  margin-top: var(--space-xs);
  font-size: 14px;
  opacity: 0.7;
}

/* 通用双栏布局 */
.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-2xl);
  align-items: center;
}
.two-col.reverse {
  grid-template-columns: 1fr 1fr;
}

/* 背景介绍板块（仅淡色径向渐变，无实景图） */
.intro-section {
  position: relative;
}
.intro-section::before {
  content: "";
  position: absolute;
  width: 650px;
  height: 650px;
  right: -320px;
  top: -220px;
  background: radial-gradient(circle, var(--yellow-faint), transparent 62%);
  z-index: 0;
  pointer-events: none;
}
.intro-grid {
  position: relative;
  z-index: 1;
}
.intro-left {
  display: flex;
  flex-direction: column;
  gap: var(--space-lg);
}
.intro-divider {
  width: 70px;
  height: 3px;
  background: linear-gradient(90deg, var(--yellow-main), transparent);
  border-radius: var(--radius-full);
}
.intro-text-group {
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
}
.intro-right {
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
}
.intro-big-card {
  min-height: 280px;
}
.stat-no {
  position: absolute;
  top: 18px;
  right: 22px;
  font-size: 86px;
  font-weight: 800;
  color: var(--yellow-faint);
  z-index: 0;
}
.intro-mini-card-wrap {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-md);
}

/* 使命三栏网格 */
.mission-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-md);
}

/* 企业愿景 */
.vision-side-card {
  background: linear-gradient(145deg, var(--red-purple-900), var(--red-purple-700));
  border: 1px solid var(--yellow-border);
  border-radius: var(--radius-md);
  padding: var(--space-lg);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 360px;
}
.vertical-word {
  font-size: 46px;
  font-weight: 800;
  writing-mode: vertical-rl;
  color: var(--yellow-light);
  letter-spacing: 0.06em;
}
.vision-tag {
  margin-top: var(--space-lg);
  padding: 9px 20px;
  border: 1px solid var(--yellow-border);
  border-radius: var(--radius-full);
  font-size: 14px;
}
.vision-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-md);
}

/* 政策板块｜保留右侧授权图片，加渐变遮罩 */
.policy-panel {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--yellow-border);
  background: var(--red-purple-800);
}
.policy-copy {
  padding: var(--space-2xl);
}
.policy-list {
  padding-left: var(--space-md);
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
  margin-top: var(--space-md);
}
.policy-visual {
  position: relative;
  min-height: 420px;
  background: var(--red-purple-900);
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}
.policy-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  opacity: 0.85;
  transition: opacity 0.24s ease;
  position: relative;
  z-index: 0;
}
.policy-visual img:hover {
  opacity: 1;
}
/* 图片渐变遮罩，文字可读性更强 */
.policy-visual::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(70, 8, 41, 0.95), rgba(70, 8, 41, 0.35));
  z-index: 1;
}

/* 产品展示板块 */
.product-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-md);
  margin-bottom: var(--space-xl);
}
.product-icon {
  position: absolute;
  top: 22px;
  right: 26px;
  font-size: 30px;
  font-weight: 800;
  color: var(--yellow-faint);
  z-index: 0;
}
.product-card h3 {
  position: relative;
  z-index: 1;
  margin-left: 14px;
}
.product-card ul {
  margin-left: 14px;
  margin-top: var(--space-sm);
  display: flex;
  flex-direction: column;
  gap: var(--space-xs);
}
.product-card li {
  position: relative;
  padding-left: 16px;
}
.product-card li::before {
  content: "•";
  position: absolute;
  left: 0;
  color: var(--yellow-main);
}
.product-desc-panel {
  width: min(920px, 100%);
  margin: 0 auto;
  padding: var(--space-lg);
  border: 1px dashed var(--yellow-border);
  border-radius: var(--radius-sm);
  text-align: center;
  background: var(--red-purple-800);
}

/* 一站式服务 两栏网格 */
.trade-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-md);
}
.service-grid ul {
  margin-top: var(--space-sm);
  display: flex;
  flex-direction: column;
  gap: var(--space-xs);
  padding-left: 14px;
}
.service-grid li {
  position: relative;
  padding-left: 16px;
}
.service-grid li::before {
  content: "•";
  position: absolute;
  left: 0;
  color: var(--yellow-main);
}

/* 核心优势三栏 */
.six-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-md);
}

/* 实施流程四栏 */
.process-roadmap {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-md);
}

/* 案例三栏 */
.case-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-md);
}
.tag {
  display: inline-block;
  padding: 5px 14px;
  border-radius: var(--radius-full);
  border: 1px solid var(--yellow-border);
  font-size: 12px;
  margin-bottom: var(--space-sm);
  color: var(--yellow-muted);
}

/* 客户价值四栏 */
.impact-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-md);
}
.purpose-panel {
  margin-top: var(--space-xl);
  padding: var(--space-xl);
  border: 1px solid var(--yellow-border);
  border-radius: var(--radius-md);
  background: var(--red-purple-800);
}
.purpose-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-md);
  margin-top: var(--space-lg);
}

/* 合作效益左右分栏 */
.benefits-wrap {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-lg);
}
.benefit-column {
  padding: var(--space-xl);
  border: 1px solid var(--yellow-border);
  border-radius: var(--radius-md);
  background: var(--red-purple-800);
}
.benefit-cards {
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
  margin-top: var(--space-md);
}

/* 联系我们板块 */
.contact-card {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: var(--space-lg);
  padding: var(--space-xl);
  border: 1px solid var(--yellow-border);
  border-radius: var(--radius-lg);
  background: var(--red-purple-900);
}
.contact-people {
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
}

/* 页脚极简 */
.site-footer {
  padding: var(--space-md) 0;
  border-top: 1px solid var(--yellow-faint);
  background: var(--red-purple-950);
}
.footer-wrap {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

/* 9. 完整响应式适配（桌面/平板/手机） */
@media (max-width: 1200px) {
  .contents-grid, .mission-grid, .six-grid, .case-grid, .impact-grid, .process-roadmap, .purpose-list, .product-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .policy-panel {
    grid-template-columns: 1fr;
  }
}
@media (max-width: 960px) {
  /* 移动端汉堡菜单激活 */
  .menu-toggle {
    display: block;
  }
  .site-nav {
    position: absolute;
    top: var(--header-height);
    left: 16px;
    right: 16px;
    background: var(--red-purple-950);
    border: 1px solid var(--yellow-border);
    border-radius: var(--radius-md);
    flex-direction: column;
    align-items: flex-start;
    padding: var(--space-md);
    display: none;
  }
  .site-nav.open {
    display: flex;
  }
  .site-nav a {
    width: 100%;
    padding: var(--space-xs) 0;
    border-bottom: 1px solid var(--yellow-faint);
  }
  /* 全部双栏改为单栏堆叠 */
  .two-col, .two-col.reverse, .trade-grid, .vision-list, .benefits-wrap, .contact-card {
    grid-template-columns: 1fr;
  }
  .hero-panel {
    grid-template-columns: 1fr;
  }
  .hero-divider {
    width: 100%;
    height: 1px;
  }
  .hero-copy {
    text-align: center;
  }
  .intro-right {
    order: -1;
  }
  .intro-mini-card-wrap {
    grid-template-columns: 1fr;
  }
}
@media (max-width: 768px) {
  .contents-grid, .mission-grid, .six-grid, .case-grid, .impact-grid, .process-roadmap, .purpose-list, .product-grid {
    grid-template-columns: 1fr;
  }
  .hero-actions {
    flex-direction: column;
  }
  .btn {
    width: 100%;
  }
  .section {
    padding: var(--space-xl) 0;
  }
}
@media (max-width: 480px) {
  .footer-wrap {
    flex-direction: column;
    align-items: flex-start;
    gap: var(--space-xs);
  }
}

/* 10. 动画降噪适配 */
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *, *::before, *::after {
    transition: none !important;
    animation: none !important;
  }
}

/* 删除原版无用冗余装饰类 */
.img-placeholder, .cover-section, .cover-art, .diamond-layout {
  display: none !important;
}
