/* ============================================================
   广西前沿智能科技有限公司官网 - 全站共用样式
   作者：刘工（TEL：15994444419）
   ============================================================ */

/* 变量定义：全站主色与辅助色 */
:root {
  --color-dark: #0a1628;          /* 深蓝主背景 */
  --color-dark-2: #0f2847;        /* 深蓝渐变中间色 */
  --color-dark-3: #153e6b;        /* 深蓝渐变亮色 */
  --color-primary: #2563eb;       /* 主强调蓝 */
  --color-primary-dark: #1d4ed8;  /* 深强调蓝 */
  --color-cyan: #22d3ee;          /* 青色点缀 */
  --color-text: #111827;          /* 正文深色 */
  --color-text-sub: #6b7280;      /* 次要文字 */
  --color-border: #e5e7eb;        /* 边框色 */
  --color-bg-gray: #f9fafb;       /* 浅灰背景 */
  --color-white: #ffffff;
  --radius-lg: 16px;              /* 大圆角 */
  --radius-md: 12px;              /* 中圆角 */
  --shadow-card: 0 8px 24px rgba(15, 40, 71, 0.08); /* 卡片阴影 */
}

/* 基础重置与全局设置 */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

/* 页面基础字体与配色 */
body {
  font-family: 'PingFang SC', 'Microsoft YaHei', 'Helvetica Neue', Arial, sans-serif;
  color: var(--color-text);
  background: var(--color-white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

/* 通用容器：限制内容宽度 */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

/* 链接默认样式 */
a {
  text-decoration: none;
  color: inherit;
}

img {
  max-width: 100%;
  display: block;
}

/* ===================== 顶部导航 ===================== */

/* 固定顶部导航栏 */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  transition: background 0.3s ease, box-shadow 0.3s ease;
  background: transparent;
}

/* 导航栏滚动后加白色背景 */
.site-header.is-scrolled {
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(10px);
  box-shadow: 0 2px 12px rgba(10, 22, 40, 0.08);
}

/* 导航内部布局 */
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}

/* Logo 区域 */
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
}

/* Logo 图形（CSS 绘制） */
.brand-mark {
  width: 36px;
  height: 36px;
  border-radius: 9px;
  background: linear-gradient(135deg, var(--color-primary), var(--color-cyan));
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-weight: 700;
  font-size: 18px;
  flex-shrink: 0;
}

/* Logo 文字 */
.brand-name {
  font-size: 17px;
  font-weight: 600;
  color: #fff;
  transition: color 0.3s ease;
}

/* 滚动后 Logo 文字变深色 */
.site-header.is-scrolled .brand-name {
  color: var(--color-text);
}

/* 桌面端菜单 */
.nav-menu {
  display: flex;
  align-items: center;
  gap: 32px;
  list-style: none;
}

/* 菜单项文字 */
.nav-menu a {
  font-size: 14px;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.9);
  transition: color 0.2s ease;
  position: relative;
  padding: 6px 0;
}

/* 滚动后菜单文字变深色 */
.site-header.is-scrolled .nav-menu a {
  color: var(--color-text-sub);
}

/* 菜单悬停与当前页高亮 */
.nav-menu a:hover,
.nav-menu a.is-active {
  color: var(--color-primary);
}

/* 当前页菜单下划线指示条 */
.nav-menu a.is-active::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: -2px;
  height: 2px;
  border-radius: 2px;
  background: linear-gradient(90deg, var(--color-primary), var(--color-cyan));
}

/* 移动端菜单按钮（默认隐藏） */
.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  width: 40px;
  height: 40px;
  border-radius: 8px;
}

/* 汉堡图标线条颜色 */
.nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: #fff;
  margin: 5px auto;
  border-radius: 2px;
  transition: transform 0.3s ease, opacity 0.3s ease, background 0.3s ease;
}

/* 滚动后汉堡图标变深色 */
.site-header.is-scrolled .nav-toggle span {
  background: var(--color-text);
}

/* 汉堡按钮展开为叉形 */
.nav-toggle.is-open span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.nav-toggle.is-open span:nth-child(2) {
  opacity: 0;
}
.nav-toggle.is-open span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* ===================== Hero 首屏 ===================== */

/* 首屏深蓝渐变背景 */
.hero {
  position: relative;
  min-height: 640px;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: linear-gradient(135deg, var(--color-dark) 0%, var(--color-dark-2) 55%, var(--color-dark-3) 100%);
  padding: 140px 0 80px;
}

/* 首屏装饰光斑 */
.hero::before,
.hero::after {
  content: '';
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  pointer-events: none;
}

.hero::before {
  width: 320px;
  height: 320px;
  background: rgba(59, 130, 246, 0.16);
  top: 18%;
  left: 6%;
}

.hero::after {
  width: 420px;
  height: 420px;
  background: rgba(34, 211, 238, 0.1);
  bottom: 8%;
  right: 4%;
}

/* Hero 内容居中 */
.hero-content {
  position: relative;
  z-index: 1;
  text-align: center;
  max-width: 860px;
  margin: 0 auto;
}

/* Hero 顶部徽章 */
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 18px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.05);
  color: rgba(255, 255, 255, 0.75);
  font-size: 13px;
  margin-bottom: 28px;
}

/* 徽章内呼吸圆点 */
.hero-badge i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #60a5fa;
  animation: pulse 2s infinite;
}

/* 呼吸动画 */
@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(0.8); }
}

/* Hero 主标题 */
.hero-title {
  font-size: 52px;
  line-height: 1.2;
  color: #fff;
  font-weight: 700;
  letter-spacing: 1px;
  margin-bottom: 22px;
}

/* 主标题渐变强调字 */
.hero-title em {
  font-style: normal;
  background: linear-gradient(90deg, #60a5fa, #67e8f9);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* Hero 副标题描述 */
.hero-desc {
  font-size: 18px;
  color: rgba(255, 255, 255, 0.62);
  max-width: 640px;
  margin: 0 auto 38px;
}

/* Hero 按钮组 */
.hero-actions {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

/* 主按钮 */
.btn-primary {
  display: inline-block;
  padding: 14px 36px;
  border-radius: var(--radius-md);
  background: linear-gradient(90deg, var(--color-primary), var(--color-primary-dark));
  color: #fff;
  font-size: 15px;
  font-weight: 500;
  box-shadow: 0 8px 24px rgba(37, 99, 235, 0.35);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

/* 主按钮悬停效果 */
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 32px rgba(37, 99, 235, 0.45);
}

/* 次按钮（透明描边） */
.btn-ghost {
  display: inline-block;
  padding: 14px 36px;
  border-radius: var(--radius-md);
  border: 1px solid rgba(255, 255, 255, 0.25);
  color: rgba(255, 255, 255, 0.85);
  font-size: 15px;
  font-weight: 500;
  transition: border-color 0.2s ease, color 0.2s ease;
}

/* 次按钮悬停效果 */
.btn-ghost:hover {
  border-color: rgba(255, 255, 255, 0.5);
  color: #fff;
}

/* 首屏数据统计条 */
.hero-stats {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  max-width: 880px;
  margin: 64px auto 0;
}

/* 单个数据卡片 */
.stat-card {
  text-align: center;
  padding: 20px 12px;
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.07);
  backdrop-filter: blur(6px);
}

/* 数据数值 */
.stat-value {
  font-size: 30px;
  font-weight: 700;
  color: #fff;
}

/* 数据标签 */
.stat-label {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.45);
  margin-top: 4px;
}

/* ===================== 区块通用 ===================== */

/* 页面内主区块（非 Hero 页面顶部留白） */
.page-section {
  padding: 140px 0 80px;
}

/* 普通内容区块 */
.section {
  padding: 80px 0;
}

/* 浅灰背景区块 */
.section-gray {
  background: var(--color-bg-gray);
}

/* 区块标题组居中 */
.section-head {
  text-align: center;
  margin-bottom: 56px;
}

/* 英文小标 */
.section-tag {
  display: block;
  color: var(--color-primary);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 4px;
  text-transform: uppercase;
  margin-bottom: 10px;
}

/* 中文大标题 */
.section-title {
  font-size: 34px;
  font-weight: 700;
  color: var(--color-text);
  margin-bottom: 14px;
}

/* 标题下渐变横条 */
.section-head::after {
  content: '';
  display: block;
  width: 56px;
  height: 4px;
  border-radius: 4px;
  margin: 16px auto 0;
  background: linear-gradient(90deg, var(--color-primary), var(--color-cyan));
}

/* 区块副标题 */
.section-sub {
  color: var(--color-text-sub);
  font-size: 15px;
  max-width: 640px;
  margin: 14px auto 0;
}

/* 区块小标题（左对齐） */
.block-title {
  font-size: 24px;
  font-weight: 700;
  text-align: center;
  margin-bottom: 36px;
}

/* ===================== 关于我们 ===================== */

/* 企业介绍卡片 */
.intro-card {
  max-width: 860px;
  margin: 0 auto 72px;
  padding: 44px 48px;
  border-radius: 24px;
  background: linear-gradient(135deg, #eff6ff, #ecfeff);
}

/* 介绍段落 */
.intro-card p {
  color: #4b5563;
  font-size: 16px;
  margin-bottom: 14px;
}

/* 介绍段落强调词 */
.intro-card strong {
  color: var(--color-primary-dark);
}

/* 企业文化四宫格 */
.culture-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  max-width: 1020px;
  margin: 0 auto 80px;
}

/* 文化卡片 */
.culture-card {
  background: #fff;
  border: 1px solid #f0f1f3;
  border-radius: var(--radius-lg);
  padding: 28px 20px;
  text-align: center;
  transition: box-shadow 0.3s ease, border-color 0.3s ease;
}

/* 文化卡片悬停 */
.culture-card:hover {
  box-shadow: var(--shadow-card);
  border-color: #dbeafe;
}

/* 文化卡片小标题 */
.culture-card h4 {
  font-size: 13px;
  color: var(--color-text-sub);
  font-weight: 500;
  letter-spacing: 2px;
  margin-bottom: 14px;
}

/* 文化关键词 */
.culture-card .keywords span {
  display: inline-block;
  margin: 3px 4px;
  font-weight: 600;
  font-size: 15px;
  background: linear-gradient(90deg, var(--color-primary), var(--color-cyan));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* 发展历程时间线容器 */
.timeline {
  position: relative;
  max-width: 820px;
  margin: 0 auto;
  padding-left: 32px;
}

/* 时间线竖线 */
.timeline::before {
  content: '';
  position: absolute;
  left: 8px;
  top: 6px;
  bottom: 6px;
  width: 2px;
  background: var(--color-border);
}

/* 单条里程碑 */
.milestone {
  position: relative;
  padding-bottom: 36px;
}

/* 里程碑圆点 */
.milestone::before {
  content: '';
  position: absolute;
  left: -31px;
  top: 6px;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--color-primary);
  border: 3px solid #dbeafe;
}

/* 里程碑年份 */
.milestone .year {
  color: var(--color-primary);
  font-weight: 700;
  font-size: 17px;
}

/* 里程碑标题 */
.milestone h4 {
  font-size: 16px;
  color: var(--color-text);
  margin: 2px 0 4px;
}

/* 里程碑描述 */
.milestone p {
  font-size: 14px;
  color: var(--color-text-sub);
}

/* ===================== 企业资质 ===================== */

/* 资质卡片网格 */
.cert-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  max-width: 1020px;
  margin: 0 auto;
}

/* 资质卡片 */
.cert-card {
  background: linear-gradient(160deg, #fafbfc, #fff);
  border: 1px solid #f0f1f3;
  border-radius: var(--radius-lg);
  padding: 30px 26px;
  transition: box-shadow 0.3s ease, border-color 0.3s ease, transform 0.3s ease;
}

/* 资质卡片悬停 */
.cert-card:hover {
  box-shadow: var(--shadow-card);
  border-color: #dbeafe;
  transform: translateY(-3px);
}

/* 资质图标容器 */
.cert-icon {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  background: linear-gradient(135deg, #eff6ff, #dbeafe);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  margin-bottom: 18px;
}

/* 资质卡片标题 */
.cert-card h3 {
  font-size: 17px;
  margin-bottom: 8px;
}

/* 资质卡片描述 */
.cert-card p {
  font-size: 14px;
  color: var(--color-text-sub);
}

/* 资质徽章横幅 */
.cert-banner {
  max-width: 900px;
  margin: 64px auto 0;
  padding: 40px 32px;
  border-radius: 24px;
  text-align: center;
  color: #fff;
  background: linear-gradient(90deg, #1d4ed8, #2563eb, #1e40af);
}

/* 徽章横幅小字 */
.cert-banner .small {
  font-size: 12px;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: 6px;
}

/* 徽章横幅标题 */
.cert-banner h3 {
  font-size: 22px;
  margin-bottom: 20px;
}

/* 徽章标签组 */
.badge-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
}

/* 单个徽章 */
.badge-row span {
  padding: 8px 18px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.15);
  font-size: 13px;
}

/* ===================== 产品服务 ===================== */

/* Tab 切换按钮组 */
.tab-bar {
  display: flex;
  justify-content: center;
  gap: 6px;
  margin-bottom: 44px;
}

/* Tab 按钮容器 */
.tab-bar .tab-group {
  display: inline-flex;
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 6px;
}

/* 单个 Tab 按钮 */
.tab-btn {
  padding: 10px 24px;
  border: none;
  background: none;
  border-radius: 10px;
  font-size: 14px;
  font-weight: 500;
  color: var(--color-text-sub);
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease;
  font-family: inherit;
}

/* 选中态 Tab */
.tab-btn.is-active {
  background: var(--color-primary);
  color: #fff;
  box-shadow: 0 4px 12px rgba(37, 99, 235, 0.3);
}

/* Tab 面板默认隐藏 */
.tab-panel {
  display: none;
}

/* 激活的 Tab 面板 */
.tab-panel.is-active {
  display: block;
  animation: fadeIn 0.35s ease;
}

/* 面板淡入动画 */
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}

/* 两大方向双列网格 */
.direction-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  max-width: 1000px;
  margin: 0 auto;
}

/* 方向卡片 */
.direction-card {
  background: #fff;
  border: 1px solid #f0f1f3;
  border-radius: var(--radius-lg);
  padding: 36px 32px;
  transition: box-shadow 0.3s ease, border-color 0.3s ease;
}

/* 方向卡片悬停 */
.direction-card:hover {
  box-shadow: var(--shadow-card);
  border-color: #dbeafe;
}

/* 方向卡片图标 */
.direction-card .cert-icon {
  margin-bottom: 20px;
}

/* 方向卡片标题 */
.direction-card h3 {
  font-size: 19px;
  margin-bottom: 4px;
}

/* 方向卡片副标题 */
.direction-card .sub {
  color: var(--color-primary);
  font-size: 13px;
  font-weight: 500;
  margin-bottom: 12px;
}

/* 方向卡片描述 */
.direction-card p.desc {
  font-size: 14px;
  color: var(--color-text-sub);
}

/* 三大赋能三列网格 */
.empower-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  max-width: 1000px;
  margin: 0 auto;
}

/* 赋能卡片（居中排版） */
.empower-card {
  background: #fff;
  border: 1px solid #f0f1f3;
  border-radius: var(--radius-lg);
  padding: 34px 26px;
  text-align: center;
  transition: box-shadow 0.3s ease, border-color 0.3s ease;
}

/* 赋能卡片悬停 */
.empower-card:hover {
  box-shadow: var(--shadow-card);
  border-color: #dbeafe;
}

/* 赋能卡片大图标 */
.empower-card .emoji {
  font-size: 44px;
  margin-bottom: 14px;
}

/* 赋能产业标签 */
.empower-card .tag {
  display: inline-block;
  padding: 4px 14px;
  border-radius: 999px;
  background: #eff6ff;
  color: var(--color-primary-dark);
  font-size: 12px;
  font-weight: 600;
  margin-bottom: 10px;
}

/* 赋能卡片标题 */
.empower-card h3 {
  font-size: 17px;
  margin-bottom: 8px;
}

/* 赋能卡片描述 */
.empower-card p {
  font-size: 14px;
  color: var(--color-text-sub);
}

/* 八大场景四列网格 */
.scene-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  max-width: 1120px;
  margin: 0 auto;
}

/* 场景卡片 */
.scene-card {
  background: #fff;
  border: 1px solid #f0f1f3;
  border-radius: var(--radius-lg);
  padding: 24px 20px;
  display: flex;
  flex-direction: column;
  transition: box-shadow 0.3s ease, border-color 0.3s ease;
}

/* 场景卡片悬停 */
.scene-card:hover {
  box-shadow: var(--shadow-card);
  border-color: #dbeafe;
}

/* 场景卡片标题 */
.scene-card h3 {
  font-size: 15px;
  margin-bottom: 8px;
  line-height: 1.4;
}

/* 场景卡片描述 */
.scene-card p {
  font-size: 13px;
  color: var(--color-text-sub);
  flex: 1;
  margin-bottom: 14px;
}

/* 场景小标签组 */
.scene-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

/* 单个场景小标签 */
.scene-tags span {
  padding: 3px 10px;
  border-radius: 6px;
  background: #eff6ff;
  color: var(--color-primary);
  font-size: 11px;
  font-weight: 500;
}

/* 合作伙伴分组标题 */
.partner-group-title {
  font-size: 13px;
  font-weight: 600;
  color: var(--color-text-sub);
  letter-spacing: 2px;
  text-align: center;
  margin: 48px 0 18px;
}

/* 合作伙伴网格 */
.partner-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 14px;
  max-width: 1020px;
  margin: 0 auto;
}

/* 合作伙伴格子 */
.partner-item {
  background: #fff;
  border: 1px solid #f0f1f3;
  border-radius: var(--radius-md);
  padding: 18px 12px;
  text-align: center;
  font-size: 12px;
  color: #4b5563;
  font-weight: 500;
  transition: box-shadow 0.2s ease, border-color 0.2s ease;
}

/* 合作伙伴悬停 */
.partner-item:hover {
  box-shadow: var(--shadow-card);
  border-color: #dbeafe;
}

/* ===================== 联系我们 ===================== */

/* 联系页双列布局 */
.contact-layout {
  display: grid;
  grid-template-columns: 2fr 3fr;
  gap: 36px;
  max-width: 1020px;
  margin: 0 auto;
}

/* 联系信息卡片 */
.contact-info {
  border-radius: var(--radius-lg);
  padding: 32px 28px;
  background: linear-gradient(135deg, #eff6ff, #ecfeff);
  height: fit-content;
}

/* 联系信息标题 */
.contact-info h3 {
  font-size: 17px;
  margin-bottom: 22px;
}

/* 单条联系信息 */
.contact-row {
  display: flex;
  gap: 14px;
  margin-bottom: 20px;
}

/* 联系信息图标 */
.contact-row .icon {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 17px;
  flex-shrink: 0;
  box-shadow: 0 2px 8px rgba(15, 40, 71, 0.06);
}

/* 联系信息小标签 */
.contact-row .label {
  font-size: 12px;
  color: var(--color-text-sub);
}

/* 联系信息值 */
.contact-row .value {
  font-size: 14px;
  font-weight: 500;
  color: var(--color-text);
}

/* 主营业务标签区 */
.biz-tags {
  background: #fff;
  border: 1px solid #f0f1f3;
  border-radius: var(--radius-lg);
  padding: 22px 24px;
  margin-top: 20px;
}

/* 主营业务小标题 */
.biz-tags h4 {
  font-size: 13px;
  color: var(--color-text);
  margin-bottom: 12px;
}

/* 主营业务标签 */
.biz-tags span {
  display: inline-block;
  padding: 5px 12px;
  margin: 3px;
  border-radius: 8px;
  background: var(--color-bg-gray);
  color: var(--color-text-sub);
  font-size: 12px;
}

/* 留言表单卡片 */
.contact-form-card {
  background: #fff;
  border: 1px solid #f0f1f3;
  border-radius: var(--radius-lg);
  padding: 36px 32px;
  box-shadow: var(--shadow-card);
}

/* 表单标题 */
.contact-form-card h3 {
  font-size: 17px;
  margin-bottom: 22px;
}

/* 表单双列行 */
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

/* 表单字段间距 */
.form-field {
  margin-bottom: 16px;
}

/* 表单标签 */
.form-field label {
  display: block;
  font-size: 13px;
  font-weight: 500;
  color: #374151;
  margin-bottom: 6px;
}

/* 输入框与文本域 */
.form-field input,
.form-field textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid var(--color-border);
  border-radius: 10px;
  font-size: 14px;
  font-family: inherit;
  color: var(--color-text);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
  resize: none;
}

/* 输入框聚焦态 */
.form-field input:focus,
.form-field textarea:focus {
  outline: none;
  border-color: var(--color-primary);
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.12);
}

/* 提交按钮 */
.form-submit {
  width: 100%;
  padding: 14px;
  border: none;
  border-radius: var(--radius-md);
  background: linear-gradient(90deg, var(--color-primary), var(--color-primary-dark));
  color: #fff;
  font-size: 15px;
  font-weight: 500;
  cursor: pointer;
  transition: opacity 0.2s ease;
  font-family: inherit;
}

/* 提交按钮悬停 */
.form-submit:hover {
  opacity: 0.9;
}

/* 提交成功提示 */
.form-tip {
  margin-top: 14px;
  font-size: 13px;
  color: #059669;
  text-align: center;
  display: none;
}

/* 提交成功后显示 */
.form-tip.is-visible {
  display: block;
}

/* ===================== 页脚 ===================== */

/* 深色页脚 */
.site-footer {
  background: var(--color-dark);
  color: #fff;
  padding: 60px 0 0;
}

/* 页脚三列布局 */
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 48px;
}

/* 页脚公司简介 */
.footer-about p {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.5);
  margin-top: 14px;
  line-height: 1.8;
}

/* 页脚栏目标题 */
.footer-col h4 {
  font-size: 15px;
  margin-bottom: 16px;
}

/* 页脚链接 */
.footer-col a {
  display: block;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.5);
  margin-bottom: 10px;
  transition: color 0.2s ease;
}

/* 页脚链接悬停 */
.footer-col a:hover {
  color: #fff;
}

/* 页脚联系信息 */
.footer-col p {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.5);
  margin-bottom: 10px;
}

/* 页脚底栏 */
.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding: 22px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
}

/* 底栏文字 */
.footer-bottom p {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.3);
}

/* ===================== 响应式适配 ===================== */

/* 平板及以下断点 */
@media (max-width: 960px) {
  .hero-title { font-size: 38px; }
  .hero-stats { grid-template-columns: repeat(2, 1fr); }
  .culture-grid { grid-template-columns: repeat(2, 1fr); }
  .cert-grid { grid-template-columns: repeat(2, 1fr); }
  .scene-grid { grid-template-columns: repeat(2, 1fr); }
  .partner-grid { grid-template-columns: repeat(3, 1fr); }
  .direction-grid { grid-template-columns: 1fr; }
  .empower-grid { grid-template-columns: 1fr; }
  .contact-layout { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

/* 手机断点 */
@media (max-width: 640px) {
  .hero-title { font-size: 30px; }
  .section-title { font-size: 26px; }
  .hero-stats { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .culture-grid { grid-template-columns: 1fr 1fr; gap: 12px; }
  .cert-grid { grid-template-columns: 1fr; }
  .scene-grid { grid-template-columns: 1fr; }
  .partner-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .intro-card { padding: 28px 22px; }

  /* 移动端菜单按钮显示 */
  .nav-toggle { display: block; }

  /* 移动端菜单改为下拉面板 */
  .nav-menu {
    position: absolute;
    top: 72px;
    left: 16px;
    right: 16px;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: #fff;
    border-radius: var(--radius-lg);
    box-shadow: 0 12px 32px rgba(10, 22, 40, 0.15);
    padding: 8px;
    display: none;
  }

  /* 移动端菜单展开态 */
  .nav-menu.is-open { display: flex; }

  /* 移动端菜单项颜色固定深色 */
  .nav-menu a {
    color: var(--color-text-sub);
    padding: 12px 16px;
    border-radius: 10px;
  }

  .nav-menu a:hover,
  .nav-menu a.is-active {
    color: var(--color-primary);
    background: #eff6ff;
  }

  .nav-menu a.is-active::after { display: none; }
}
