/* ============================
   云衍智训 企业官网样式
   极简专业商务风格
   ============================ */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800;900&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+SC:wght@300;400;500;600;700&display=swap');

:root {
  --navy-deep:    #0b0f1e;
  --navy:         #121c38;
  --navy-mid:     #1e2d5a;
  --navy-light:   #2a3f7a;
  --gold:         #d4a843;
  --gold-light:   #e8c36e;
  --gold-dark:    #b8882e;
  --green-dark:   #1e4a18;
  --green:        #2d6a22;
  --gray-dark:    #14162a;
  --gray:         #4a4d6a;
  --gray-light:   #7a7d9a;
  --gray-bg:      #f2f3f8;
  --white:        #ffffff;
  --border:       #e2e5f0;
  --shadow-sm:    0 4px 16px rgba(15,21,46,0.06);
  --shadow-md:    0 8px 32px rgba(15,21,46,0.10);
  --shadow-lg:    0 20px 60px rgba(15,21,46,0.14);
  --shadow-gold:  0 8px 32px rgba(212,168,67,0.28);
  --font-cn: 'Noto Sans SC', 'Microsoft YaHei', sans-serif;
  --font-en: 'Inter', 'Helvetica Neue', Arial, sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

body {
  font-family: var(--font-cn);
  color: var(--gray-dark);
  background: var(--white);
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

h1, h2, h3, h4 {
  font-family: var(--font-cn);
  font-weight: 700;
  color: var(--navy-deep);
  line-height: 1.2;
}

/* --- 顶部信息栏 --- */
.top-bar {
  background: var(--navy-deep);
  color: rgba(255,255,255,0.55);
  font-size: 12px;
  padding: 6px 0;
  font-family: var(--font-en);
  letter-spacing: 0.5px;
}
.top-bar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.top-bar a {
  color: rgba(255,255,255,0.55);
  text-decoration: none;
  margin-left: 24px;
  transition: color 0.2s;
  font-size: 12px;
}
.top-bar a:hover { color: var(--gold); }

/* --- 导航栏 --- */
.nav-bar {
  background: rgba(255,255,255,0.92);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(255,255,255,0);
  position: sticky;
  top: 0;
  z-index: 100;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}
.nav-bar.scrolled {
  box-shadow: 0 1px 24px rgba(15,21,46,0.08);
  border-bottom-color: rgba(226,229,240,0.8);
}
.nav-bar .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
}
.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--navy-deep);
  font-size: 18px;
  font-weight: 800;
  letter-spacing: 0.5px;
}
.nav-logo img {
  height: 36px;
  width: auto;
}
.nav-logo .email-badge {
  font-size: 11px;
  color: var(--gray-light);
  font-weight: 400;
  font-family: var(--font-en);
  margin-left: 8px;
  padding: 3px 10px;
  background: var(--gray-bg);
  border-radius: 20px;
  border: 1px solid var(--border);
  letter-spacing: 0;
}
.nav-links {
  display: flex;
  gap: 8px;
  list-style: none;
}
.nav-links a {
  text-decoration: none;
  color: var(--gray);
  font-size: 14px;
  font-weight: 500;
  padding: 6px 16px;
  border-radius: 6px;
  transition: all 0.25s;
  position: relative;
}
.nav-links a:hover,
.nav-links a.active {
  color: var(--navy-deep);
  background: var(--gray-bg);
}
.nav-links a.active {
  color: var(--navy-deep);
  font-weight: 600;
}

/* 手机端菜单按钮 */
.menu-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}
.menu-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--navy-deep);
  margin: 5px 0;
  transition: 0.3s;
  border-radius: 2px;
}

/* --- 通用容器 --- */
.container {
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 32px;
}

/* --- 区段通用 --- */
.section {
  padding: 120px 0;
}
.section-gray { background: var(--gray-bg); }
.section-dark {
  background: var(--navy-deep);
  color: rgba(255,255,255,0.85);
}
.section-dark h2,
.section-dark h3 { color: var(--white); }
.section-dark .section-sub { color: rgba(255,255,255,0.45); }

.section-header {
  text-align: center;
  margin-bottom: 72px;
}
.section-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-en);
  font-size: 11px;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 16px;
  font-weight: 700;
}
.section-tag::before {
  content: '';
  display: block;
  width: 20px;
  height: 2px;
  background: var(--gold);
}
.section-tag::after {
  content: '';
  display: block;
  width: 20px;
  height: 2px;
  background: var(--gold);
}
.section-title {
  font-size: 44px;
  font-weight: 800;
  margin-bottom: 18px;
  letter-spacing: -0.5px;
}
.section-sub {
  font-size: 16px;
  color: var(--gray);
  max-width: 580px;
  margin: 0 auto;
  line-height: 1.8;
}

/* --- 首屏 Hero 新布局 --- */
.hero {
  position: relative;
  overflow: hidden;
  min-height: 100vh;
  display: flex;
  align-items: center;
  color: var(--white);
  padding: 0;
}

/* 全屏背景图 */
.hero-bg-layer {
  position: absolute;
  inset: 0;
  background: url('images/hero-background.png') center center / cover no-repeat;
  z-index: 0;
}

/* ===== 科技感星光动效层 ===== */
.hero-particles {
  position: absolute;
  inset: 0;
  z-index: 3;
  pointer-events: none;
  overflow: hidden;
}

/* 机械臂层级 */
.hero-arm {
  z-index: 4;
}
/* 闪烁星 */
.star {
  position: absolute;
  border-radius: 50%;
  background: #d4a843;
  animation: star-twinkle var(--dur, 3s) ease-in-out infinite var(--delay, 0s);
}
/* 大星 */
.star.lg {
  width: 5px;
  height: 5px;
  box-shadow: 0 0 12px 5px rgba(212,168,67,0.55), 0 0 24px 8px rgba(212,168,67,0.2);
}
/* 白色小星 */
.star.w {
  background: rgba(255,255,255,0.85);
  box-shadow: 0 0 8px 3px rgba(255,255,255,0.35);
}
/* 脉冲环 */
.star-ring {
  position: absolute;
  border-radius: 50%;
  border: 1.5px solid rgba(212,168,67,0.7);
  transform: translate(-50%,-50%);
  animation: ring-expand var(--dur, 3s) ease-out infinite var(--delay, 0s);
}
/* 十字星光 */
.star-cross {
  position: absolute;
  border-radius: 50%;
  animation: cross-twinkle var(--dur, 2.5s) ease-in-out infinite var(--delay, 0s);
}
.star-cross::before,
.star-cross::after {
  content: '';
  position: absolute;
  border-radius: 2px;
  background: rgba(212,168,67,0.9);
}
.star-cross::before { width: 100%; height: 1.5px; top: 50%; left: 0; transform: translateY(-50%); }
.star-cross::after  { width: 1.5px; height: 100%; left: 50%; top: 0; transform: translateX(-50%); }

@keyframes star-twinkle {
  0%, 100% { opacity: 0.1;  transform: scale(0.5); }
  50%       { opacity: 1;    transform: scale(1.6); }
}
@keyframes ring-expand {
  0%   { width: 6px;  height: 6px;  opacity: 0.9; }
  100% { width: 80px; height: 80px; opacity: 0; }
}
@keyframes cross-twinkle {
  0%, 100% { opacity: 0.08; transform: scale(0.4) rotate(0deg); }
  50%       { opacity: 1;   transform: scale(1.3) rotate(45deg); }
}

/* ===== 视频区块样式 ===== */
/* 关于我们 视频容器 */
.about-video-wrap {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 16px 60px rgba(10,14,30,0.35);
  border: 1px solid rgba(212,168,67,0.12);
  aspect-ratio: 16/10;
  background: var(--navy-deep);
}
.about-video-wrap video {
  display: block;
}
.about-video-label {
  position: absolute;
  bottom: 16px;
  left: 16px;
  background: rgba(10,14,30,0.75);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(212,168,67,0.25);
  border-radius: 6px;
  padding: 6px 14px;
  font-size: 12px;
  color: var(--gold);
  font-family: var(--font-en);
  letter-spacing: 1px;
}

/* 服务卡片视频封面 */
.service-card-video {
  width: 100%;
  height: 220px;
  overflow: hidden;
  background: var(--navy-deep);
  border-radius: 12px 12px 0 0;
}
.service-card-video video {
  display: block;
}

/* 机械臂：右中，幅度加大 */
.hero-arm {
  position: absolute;
  right: 7%;
  top: 48%;
  transform: translateY(-50%);
  width: 360px;
  height: 380px;
  z-index: 3;
  pointer-events: none;
  animation: arm-float 5s ease-in-out infinite;
}
.hero-arm svg {
  width: 100%;
  height: 100%;
  filter: drop-shadow(0 0 35px rgba(212,168,67,0.30));
}
.arm-base    { transform-origin: 200px 340px; animation: arm-base-rotate 6s ease-in-out infinite; }
.arm-shoulder{ transform-origin: 200px 190px; animation: arm-shoulder 4.5s ease-in-out infinite; }
.arm-elbow   { transform-origin: 200px 120px; animation: arm-elbow 3.8s ease-in-out infinite; }
.arm-wrist   { transform-origin: 200px 65px;  animation: arm-wrist 3s ease-in-out infinite; }
.arm-glow    { animation: glow-pulse 1.8s ease-in-out infinite; }

@keyframes arm-float     { 0%,100%{ transform: translateY(-50%) translateX(0); } 50%{ transform: translateY(-50%) translateX(-28px); } }
@keyframes arm-base-rotate{ 0%,100%{ transform: rotate(0deg); } 50%{ transform: rotate(18deg); } }
@keyframes arm-shoulder   { 0%,100%{ transform: rotate(0deg); } 50%{ transform: rotate(-26deg); } }
@keyframes arm-elbow      { 0%,100%{ transform: rotate(0deg); } 50%{ transform: rotate(30deg); } }
@keyframes arm-wrist      { 0%,100%{ transform: rotate(0deg); } 50%{ transform: rotate(-22deg); } }
@keyframes glow-pulse     { 0%,100%{ opacity: 0.25; } 50%{ opacity: 1; } }

/* 主文字区 */
.hero-content {
  position: relative;
  z-index: 5;
  max-width: 820px;
  padding: 0 0 0 8%;
}

/* Hero 文字色块：左侧深色渐变，吸睛不挡背景 */
.hero-text-panel {
  position: relative;
  background:
    linear-gradient(135deg,
      rgba(8,10,22,0.90) 0%,
      rgba(15,22,50,0.80) 40%,
      rgba(20,30,60,0.65) 70%,
      transparent 100%
    );
  border-left: 3px solid var(--gold);
  border-top: 1px solid rgba(212,168,67,0.15);
  border-bottom: 1px solid rgba(212,168,67,0.15);
  border-radius: 0 16px 16px 0;
  padding: 52px 56px 48px 44px;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  box-shadow:
    0 0 0 1px rgba(212,168,67,0.08),
    0 20px 80px rgba(0,0,0,0.45),
    0 0 120px rgba(212,168,67,0.04);
}
.hero-label-top {
  font-family: var(--font-en);
  font-size: 11px;
  letter-spacing: 5px;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 700;
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  gap: 12px;
}
.hero-label-top::before {
  content: '';
  display: block;
  width: 28px;
  height: 2px;
  background: var(--gold);
}
.hero-maintitle {
  font-size: 80px;
  font-weight: 800;
  color: var(--white);
  line-height: 1.05;
  letter-spacing: -2px;
  margin-bottom: 36px;
}
/* Slogan 装饰框 */
.hero-slog-ornament {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-bottom: 18px;
}
.hero-slog-line {
  flex: 0 0 60px;
  height: 1.5px;
  background: linear-gradient(90deg, transparent, var(--gold));
}
.hero-slog-ornament .hero-slog-line:last-child {
  background: linear-gradient(90deg, var(--gold), transparent);
}
.hero-slog-text {
  font-size: 24px;
  font-weight: 700;
  color: var(--gold);
  letter-spacing: 4px;
  white-space: nowrap;
}
.hero-sub {
  font-size: 17px;
  color: rgba(255,255,255,0.60);
  line-height: 1.9;
  margin-bottom: 44px;
  letter-spacing: 1px;
}
.hero-btns {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  align-items: center;
}

/* 内嵌二维码样式 */
.hero-qr-inline {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
}
.hero-qr-img {
  width: 72px;
  height: 72px;
  border-radius: 8px;
  object-fit: cover;
  border: 2px solid rgba(255,255,255,0.3);
  background: rgba(255,255,255,0.1);
}
.hero-qr-tip {
  font-size: 12px;
  color: rgba(255,255,255,0.6);
  margin: 0;
}

/* 响应式 */
@media (max-width: 900px) {
  .hero-maintitle { font-size: 52px; letter-spacing: -1px; }
  .hero-content   { padding: 0 0 0 5%; max-width: 92%; }
  .hero-arm       { width: 240px; height: 260px; right: 2%; }
}
@media (max-width: 600px) {
  .hero-maintitle { font-size: 38px; letter-spacing: 0; }
  .hero-slog-text { font-size: 18px; letter-spacing: 2px; }
  .hero-content   { padding: 0 20px; max-width: 100%; }
  .hero-arm       { width: 160px; height: 180px; right: -10px; top: 30%; }
  .hero-btns      { flex-direction: column; align-items: flex-start; }
}

/* --- 按钮样式升级 --- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 16px 36px;
  border-radius: 8px;
  font-size: 15px;
  font-weight: 700;
  text-decoration: none;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  cursor: pointer;
  border: none;
  font-family: var(--font-cn);
  letter-spacing: 0.3px;
}
.btn-primary {
  background: linear-gradient(135deg, var(--gold), var(--gold-dark));
  color: var(--navy-deep);
  box-shadow: 0 4px 20px rgba(212,168,67,0.25);
}
.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 36px rgba(212,168,67,0.40);
}
.btn-outline {
  background: transparent;
  color: var(--white);
  border: 1.5px solid rgba(255,255,255,0.25);
}
.btn-outline:hover {
  border-color: var(--gold);
  color: var(--gold);
  background: rgba(212,168,67,0.06);
}
.btn svg {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
}

/* --- 核心优势 --- */
.advantages-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.advantage-card {
  background: var(--white);
  padding: 40px 32px;
  border-radius: 16px;
  box-shadow: var(--shadow-sm);
  transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
}
.advantage-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--gold), var(--gold-light));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.35s;
}
.advantage-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-6px);
}
.advantage-card:hover::before {
  transform: scaleX(1);
}
.advantage-icon {
  width: 52px;
  height: 52px;
  background: linear-gradient(135deg, rgba(212,168,67,0.12), rgba(212,168,67,0.05));
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  color: var(--gold);
  margin-bottom: 24px;
  font-weight: 800;
  font-family: var(--font-en);
  border: 1px solid rgba(212,168,67,0.15);
}
.advantage-card h3 {
  font-size: 20px;
  margin-bottom: 12px;
  font-weight: 700;
}
.advantage-card p {
  color: var(--gray);
  font-size: 15px;
  line-height: 1.8;
}

/* --- 业务服务 --- */
.services-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}
.service-card {
  background: var(--white);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  display: flex;
  flex-direction: column;
}
.service-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-6px);
}
.service-card-img {
  height: 220px;
  background: linear-gradient(135deg, var(--navy-light), var(--navy-mid));
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,0.35);
  font-size: 14px;
  position: relative;
  overflow: hidden;
}
.service-card-img::after {
  content: '';
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}
.service-card-body {
  padding: 36px;
  flex: 1;
  display: flex;
  flex-direction: column;
}
.service-card h3 {
  font-size: 22px;
  margin-bottom: 14px;
  font-weight: 700;
}
.service-card p {
  color: var(--gray);
  font-size: 15px;
  margin-bottom: 24px;
  flex: 1;
  line-height: 1.8;
}
.service-tag {
  display: inline-flex;
  align-items: center;
  padding: 5px 14px;
  background: rgba(212,168,67,0.10);
  color: var(--gold-dark);
  font-size: 13px;
  border-radius: 20px;
  margin-right: 8px;
  margin-bottom: 8px;
  font-weight: 600;
  border: 1px solid rgba(212,168,67,0.15);
}

/* 服务流程 */
.process-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  position: relative;
  margin-top: 72px;
}
.process-grid::before {
  content: '';
  position: absolute;
  top: 36px;
  left: 12.5%;
  right: 12.5%;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold), var(--gold), transparent);
  opacity: 0.3;
}
.process-item {
  text-align: center;
  padding: 0 16px;
}
.process-num {
  width: 72px;
  height: 72px;
  background: linear-gradient(135deg, rgba(212,168,67,0.12), rgba(212,168,67,0.05));
  border: 1.5px solid rgba(212,168,67,0.25);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  font-size: 22px;
  color: var(--gold);
  font-weight: 800;
  font-family: var(--font-en);
  position: relative;
  z-index: 1;
}
.process-item h4 {
  font-size: 17px;
  margin-bottom: 8px;
  font-weight: 700;
}
.process-item p {
  font-size: 14px;
  color: var(--gray);
  line-height: 1.7;
}

/* --- 关于我们 --- */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}
.about-img {
  height: 480px;
  background: linear-gradient(135deg, var(--navy-light), var(--navy-mid));
  border-radius: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,0.30);
  position: relative;
  overflow: hidden;
}
.about-img::after {
  content: '';
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='40' height='40' viewBox='0 0 40 40' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='%23ffffff' fill-opacity='0.04' fill-rule='evenodd'%3E%3Cpath d='M0 40L40 0H20L0 20M40 40V20L20 40'/%3E%3C/g%3E%3C/svg%3E");
}
.about-text h2 {
  margin-bottom: 24px;
}
.about-text p {
  color: var(--gray);
  margin-bottom: 18px;
  font-size: 15px;
  line-height: 1.9;
}

/* --- 案例展示 --- */
.cases-empty {
  text-align: center;
  padding: 80px 40px;
  background: var(--white);
  border-radius: 16px;
  border: 1.5px dashed var(--border);
}
.cases-empty-icon {
  font-size: 48px;
  margin-bottom: 20px;
  opacity: 0.5;
}
.cases-empty h3 {
  font-size: 22px;
  margin-bottom: 12px;
  font-weight: 700;
}
.cases-empty p {
  font-size: 15px;
  color: var(--gray);
  margin-bottom: 28px;
}

/* --- 新闻动态 --- */
.news-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.news-card {
  background: var(--white);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  display: flex;
  flex-direction: column;
}
.news-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-6px);
}
.news-card-img {
  height: 180px;
  background: linear-gradient(135deg, var(--navy), var(--navy-mid));
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,0.30);
  font-size: 13px;
  position: relative;
  overflow: hidden;
}
.news-card-img::after {
  content: '';
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='%23ffffff' fill-opacity='0.03' fill-rule='evenodd'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/svg%3E");
}
.news-card-body {
  padding: 28px;
  flex: 1;
  display: flex;
  flex-direction: column;
}
.news-date {
  font-family: var(--font-en);
  font-size: 12px;
  color: var(--gold);
  margin-bottom: 10px;
  font-weight: 600;
  letter-spacing: 1px;
}
.news-card h3 {
  font-size: 18px;
  margin-bottom: 10px;
  line-height: 1.5;
  font-weight: 700;
  flex: 1;
}
.news-card p {
  color: var(--gray);
  font-size: 14px;
  line-height: 1.75;
}

/* --- 联系我们 --- */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 80px;
  align-items: start;
}
.contact-info h3 {
  font-size: 24px;
  margin-bottom: 28px;
  font-weight: 700;
}
.contact-item {
  display: flex;
  gap: 16px;
  margin-bottom: 28px;
  align-items: flex-start;
}
.contact-item-icon {
  width: 44px;
  height: 44px;
  background: linear-gradient(135deg, rgba(212,168,67,0.12), rgba(212,168,67,0.04));
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold);
  font-size: 18px;
  flex-shrink: 0;
  border: 1px solid rgba(212,168,67,0.15);
}
.contact-item-text {
  font-size: 15px;
  flex: 1;
}
.contact-item-text strong {
  display: block;
  font-size: 13px;
  color: var(--gray-light);
  font-weight: 500;
  margin-bottom: 4px;
  text-transform: uppercase;
  letter-spacing: 1px;
  font-family: var(--font-en);
}
.contact-form {
  background: var(--white);
  border-radius: 20px;
  padding: 44px 40px;
  box-shadow: var(--shadow-md);
}
/* 落地案例联系卡片：左右横排 */
.cases-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  padding: 40px 48px;
  background: #1a1a2e;
  border-radius: 16px;
  border: 1px solid rgba(255,255,255,0.1);
  flex-wrap: wrap;
}
.cases-card-left {
  flex: 1;
  min-width: 280px;
}
.cases-card-left h3 {
  color: #ffffff;
  font-size: 22px;
  font-weight: 700;
  margin: 0 0 20px 0;
}
.cases-card-lines {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-bottom: 16px;
}
.cases-card-line {
  font-size: 16px;
  color: #ffffff;
  line-height: 1.4;
}
.cases-card-note {
  font-size: 14px;
  color: rgba(255,255,255,0.5);
  line-height: 1.7;
  margin: 0;
}
.cases-card-right {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 20px;
  flex-shrink: 0;
}
.cases-card-qr {
  width: 120px;
  height: 120px;
  border-radius: 12px;
  object-fit: cover;
  border: 2px solid rgba(255,255,255,0.25);
}
.cases-card-right span {
  font-size: 14px;
  color: rgba(255,255,255,0.6);
  line-height: 1.6;
  max-width: 80px;
}

/* 底部联系我们：左右横排 */
.contact-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  padding: 40px 48px;
  background: #1a1a2e;
  border-radius: 16px;
  border: 1px solid rgba(255,255,255,0.1);
  flex-wrap: wrap;
}
.contact-bottom-left {
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.contact-line {
  font-size: 16px;
  color: #ffffff;
  margin: 0;
}
.contact-bottom-right {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 20px;
  flex-shrink: 0;
}
.contact-bottom-qr {
  width: 120px;
  height: 120px;
  border-radius: 12px;
  object-fit: cover;
  border: 2px solid rgba(255,255,255,0.25);
}
.contact-bottom-right span {
  font-size: 14px;
  color: rgba(255,255,255,0.45);
}

/* 联系表单 */
.form-group label {
  display: block;
  font-size: 13px;
  color: var(--gray);
  margin-bottom: 8px;
  font-weight: 600;
  letter-spacing: 0.3px;
}
.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 14px 18px;
  border: 1.5px solid var(--border);
  border-radius: 10px;
  font-size: 15px;
  font-family: var(--font-cn);
  color: var(--gray-dark);
  transition: all 0.25s;
  background: var(--white);
}
.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  outline: none;
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(212,168,67,0.10);
}
.form-group textarea { min-height: 130px; resize: vertical; }
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

/* --- 底部 --- */
.footer {
  background: var(--navy-deep);
  color: rgba(255,255,255,0.45);
  padding: 72px 0 32px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.8fr 1fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 56px;
}
.footer-brand h3 {
  color: var(--white);
  font-size: 22px;
  margin-bottom: 16px;
  font-weight: 800;
}
.footer-brand p {
  font-size: 14px;
  line-height: 1.85;
  margin-bottom: 0;
}
.footer-col h4 {
  color: var(--white);
  font-size: 14px;
  margin-bottom: 20px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  font-family: var(--font-en);
}
.footer-col ul { list-style: none; }
.footer-col li { margin-bottom: 12px; }
.footer-col a {
  color: rgba(255,255,255,0.45);
  text-decoration: none;
  font-size: 14px;
  transition: color 0.2s;
}
.footer-col a:hover { color: var(--gold); }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.08);
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 13px;
  font-family: var(--font-en);
}
.footer-bottom a {
  color: rgba(255,255,255,0.35);
  text-decoration: none;
  margin-left: 20px;
  transition: color 0.2s;
}
.footer-bottom a:hover { color: var(--gold); }

/* --- 滚动渐入动画 --- */
.fade-in {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s cubic-bezier(0.4, 0, 0.2, 1), transform 0.7s cubic-bezier(0.4, 0, 0.2, 1);
}
.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* --- 二维码弹窗 --- */
.qr-modal {
  display: none;
  position: fixed;
  z-index: 9999;
  left: 0; top: 0;
  width: 100%; height: 100%;
  background: rgba(10,15,30,0.75);
  backdrop-filter: blur(8px);
  align-items: center;
  justify-content: center;
}
.qr-modal.open { display: flex; }
.qr-modal-content {
  background: var(--white);
  border-radius: 24px;
  padding: 48px 40px 40px;
  max-width: 380px;
  width: 90%;
  text-align: center;
  position: relative;
  animation: modalIn 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 40px 80px rgba(10,15,30,0.25);
}
@keyframes modalIn {
  from { opacity: 0; transform: translateY(30px) scale(0.95); }
  to   { opacity: 1; transform: translateY(0) scale(1); }
}
.qr-modal-close {
  position: absolute;
  right: 20px; top: 16px;
  font-size: 26px;
  cursor: pointer;
  color: var(--gray-light);
  line-height: 1;
  transition: color 0.2s;
  background: none;
  border: none;
  padding: 4px;
}
.qr-modal-close:hover { color: var(--gray-dark); }
.qr-modal-content h3 {
  font-size: 20px;
  color: var(--navy-deep);
  margin-bottom: 8px;
  font-weight: 800;
}
.qr-modal-content p {
  font-size: 14px;
  color: var(--gray);
  margin-bottom: 24px;
}
.qr-code-wrap {
  padding: 16px;
  background: var(--gray-bg);
  border-radius: 16px;
  display: inline-block;
  border: 1px solid var(--border);
}
.qr-code-placeholder {
  width: 220px; height: 220px;
  background: var(--white);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gray-light);
  font-size: 14px;
  margin: 0 auto;
  border: 1px dashed var(--border);
}
.qr-modal-tip {
  font-size: 12px;
  color: var(--gray-light);
  margin-top: 16px;
  font-family: var(--font-en);
}

/* --- AI工具体验板块 --- */
.tools-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  margin-bottom: 60px;
}
.tool-card {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(212,168,67,0.15);
  border-radius: 20px;
  padding: 40px 36px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
}
.tool-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
  transform: scaleX(0);
  transition: transform 0.4s;
}
.tool-card:hover {
  background: rgba(255,255,255,0.07);
  border-color: rgba(212,168,67,0.35);
  transform: translateY(-6px);
  box-shadow: 0 20px 60px rgba(0,0,0,0.4), 0 0 40px rgba(212,168,67,0.08);
}
.tool-card:hover::before {
  transform: scaleX(1);
}
.tool-card-icon {
  width: 64px;
  height: 64px;
  background: rgba(212,168,67,0.08);
  border: 1px solid rgba(212,168,67,0.2);
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.tool-card-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(212,168,67,0.12);
  border: 1px solid rgba(212,168,67,0.25);
  color: var(--gold);
  font-size: 12px;
  font-weight: 700;
  padding: 5px 14px;
  border-radius: 20px;
  align-self: flex-start;
  letter-spacing: 0.5px;
}
.tool-card-title {
  font-size: 22px;
  font-weight: 800;
  color: var(--white);
  line-height: 1.3;
  margin: 0;
}
.tool-card-desc {
  font-size: 15px;
  color: rgba(255,255,255,0.55);
  line-height: 1.85;
  margin: 0;
}
.tool-card-features {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 0;
  margin: 0;
}
.tool-card-features li {
  font-size: 14px;
  color: rgba(255,255,255,0.70);
  line-height: 1.6;
}
.tool-card-btn {
  margin-top: auto;
  align-self: flex-start;
}
/* 金色描边按钮（暗色背景专用） */
.btn-gold-outline {
  background: transparent;
  color: var(--gold);
  border: 1.5px solid rgba(212,168,67,0.45);
  padding: 13px 30px;
}
.btn-gold-outline:hover {
  background: rgba(212,168,67,0.12);
  border-color: var(--gold);
  color: var(--gold-light);
  transform: translateY(-2px);
}
/* 即将上线状态 */
.tool-card-btn--coming {
  opacity: 0.45;
  cursor: not-allowed;
  pointer-events: none;
  border-color: rgba(180,180,180,0.4);
  color: #888;
}
.tool-card-btn--coming:hover {
  transform: none;
  background: transparent;
}
.tools-bottom {
  text-align: center;
  padding-top: 20px;
  border-top: 1px solid rgba(255,255,255,0.07);
}
.tools-bottom p {
  color: rgba(255,255,255,0.35);
  font-size: 14px;
}

/* --- 响应式 --- */
@media (max-width: 1024px) {
  .hero-inner {
    grid-template-columns: 1fr;
    gap: 40px;
    padding: 80px 0 60px;
  }
  /* 问题四：平板端保留小尺寸数据面板 */
  .hero-stat-panel {
    display: flex;
    flex-direction: row;
    justify-content: center;
    gap: 32px;
    padding: 20px;
  }
  .stat-item { padding: 16px 20px; }
  .advantages-grid,
  .news-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: repeat(2, 1fr); }
  .process-grid { grid-template-columns: repeat(2, 1fr); gap: 32px; }
  .process-grid::before { display: none; }
  .section-title { font-size: 36px; }
}

@media (max-width: 768px) {
  .container { padding: 0 20px; }
  .menu-toggle { display: block; }
  .nav-links {
    display: none;
    position: absolute;
    top: 68px;
    left: 0;
    right: 0;
    background: rgba(255,255,255,0.98);
    backdrop-filter: blur(20px);
    flex-direction: column;
    padding: 20px;
    gap: 4px;
    border-bottom: 1px solid var(--border);
  }
  .nav-links.open { display: flex; }
  .hero h1 { font-size: 40px; }
  .hero-inner { padding: 72px 0 60px; }
  .section { padding: 80px 0; }
  .section-title { font-size: 30px; }
  .section-sub { max-width: 100%; } /* 问题三：副标题不限制宽度 */
  .section-header { margin-bottom: 48px; }
  .about-grid,
  .services-grid,
  .tools-grid,
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .about-video-wrap { height: 220px; }
  .advantages-grid,
  .news-grid {
    grid-template-columns: 1fr;
  }
  .about-img { height: 280px; }
  .about-text p { font-size: 14px; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .footer-bottom { flex-direction: column; gap: 12px; text-align: center; }
  .top-bar .container { flex-direction: column; gap: 4px; text-align: center; }
  .form-row { grid-template-columns: 1fr; }
  .contact-form { padding: 32px 24px; }
  .process-grid { grid-template-columns: 1fr; }
  .hero-btns { flex-direction: column; align-items: center; }
  .hero-btns .btn { width: 100%; justify-content: center; }
  /* 问题二：业务卡片手机端padding收紧 */
  .service-card-body { padding: 20px 16px; }
  /* 问题四：落地案例联系卡片手机端上下堆叠 */
  .cases-card {
    flex-direction: column;
    align-items: center;
    gap: 28px;
    padding: 32px 24px;
    text-align: center;
  }
  .cases-card-left { min-width: unset; }
  .cases-card-left h3 { font-size: 18px; }
  .cases-card-lines { align-items: center; }
  .cases-card-line { font-size: 14px; text-align: center; }
  .cases-card-note { text-align: center; font-size: 13px; }
}
