/* ============================================================
   思创云科技 · 浅色商务风格（参考 SmartBI 设计语言）
   白底 + 蓝色主品牌色 + 灰文字 + 浅灰分区 + 柔和轻阴影
   ============================================================ */

/* === Reset & Base === */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  /* 主色：品牌蓝 */
  --primary: #1A5FD0;
  --primary-dark: #144DA8;
  --primary-light: #EAF1FD;
  --primary-tint: #E4EEFC;
  /* 点缀蓝（少量使用） */
  --accent: #3370FF;
  /* 背景 */
  --bg: #FFFFFF;
  --bg-alt: #F5F7FA;
  --bg-card: #FFFFFF;
  --bg-card-hover: #FFFFFF;
  /* 文字 */
  --text: #1F2329;
  --text-strong: #12161C;
  --text-muted: #5F6B7A;
  --text-dim: #97A0AD;
  /* 边框 / 分隔 */
  --border: #E8EBF0;
  --border-strong: #DCE1E8;
  /* 圆角 */
  --radius: 12px;
  --radius-sm: 8px;
  --radius-lg: 16px;
  /* 阴影（柔和浅蓝灰） */
  --shadow: 0 6px 22px rgba(31, 35, 41, 0.06);
  --shadow-hover: 0 12px 34px rgba(26, 95, 208, 0.16);
  --shadow-soft: 0 4px 16px rgba(31, 35, 41, 0.05);
  --transition: 0.32s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: "PingFang SC", "Microsoft YaHei", "Hiragino Sans GB", "Noto Sans SC", system-ui, -apple-system, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.75;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

a {
  color: inherit;
  text-decoration: none;
}

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

ul {
  list-style: none;
}

.container {
  width: 92%;
  max-width: 1200px;
  margin: 0 auto;
}

.section {
  padding: 96px 0;
  position: relative;
}

/* 浅灰交替分区 */
.section--alt {
  background: var(--bg-alt);
}

.section-title {
  font-size: clamp(1.7rem, 3.6vw, 2.4rem);
  font-weight: 800;
  margin-bottom: 16px;
  line-height: 1.3;
  color: var(--text-strong);
  letter-spacing: -0.01em;
}

.section-subtitle {
  color: var(--text-muted);
  font-size: 1.05rem;
  max-width: 720px;
  margin-bottom: 56px;
}

.section-label {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--primary);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  margin-bottom: 14px;
}

.section-label::before {
  content: "";
  width: 26px;
  height: 3px;
  background: linear-gradient(90deg, var(--primary), #2E7BE5);
  border-radius: 2px;
}

/* 深色网格背景在浅色主题下隐藏，保持干净白底 */
.bg-mesh,
.bg-grid {
  display: none;
}

/* === Navbar === */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 18px 0;
  transition: var(--transition);
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}

.navbar .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 800;
  font-size: 1.15rem;
  color: var(--text-strong);
}

.logo img {
  height: 38px;
  width: auto;
}

.nav-links {
  display: flex;
  gap: 34px;
  align-items: center;
}

.nav-links a {
  font-size: 0.95rem;
  color: var(--text-muted);
  font-weight: 500;
  position: relative;
  transition: var(--transition);
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--primary);
}

.nav-links a::after {
  content: "";
  position: absolute;
  bottom: -6px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--primary);
  transition: var(--transition);
  border-radius: 2px;
}

.nav-links a:hover::after,
.nav-links a.active::after {
  width: 100%;
}

.nav-cta {
  padding: 10px 24px;
  border-radius: 999px;
  background: var(--primary);
  color: #fff !important;
  font-weight: 600;
  font-size: 0.9rem;
  transition: var(--transition);
  box-shadow: 0 8px 20px rgba(26, 95, 208, 0.22);
}

.nav-cta:hover {
  background: var(--primary-dark);
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(26, 95, 208, 0.3);
}

.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 8px;
}

.menu-toggle span {
  width: 26px;
  height: 2px;
  background: var(--text-strong);
  border-radius: 2px;
  transition: var(--transition);
}

/* === 导航栏悬停下拉菜单 (Hover Dropdown) === */
.nav-item {
  position: relative;
}

.nav-parent {
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

.caret {
  font-size: 0.7rem;
  line-height: 1;
  opacity: 0.65;
  transition: transform var(--transition);
}

.nav-item:hover .caret,
.nav-item:focus-within .caret {
  transform: rotate(180deg);
}

.dropdown-panel {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%) translateY(12px);
  margin-top: 16px;
  width: 620px;
  max-width: 92vw;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: 0 20px 48px rgba(31, 35, 41, 0.16);
  padding: 14px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6px;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity var(--transition), transform var(--transition), visibility var(--transition);
  z-index: 1100;
}

/* 透明桥接区，避免从父链接移动到面板时 hover 中断 */
.dropdown-panel::before {
  content: "";
  position: absolute;
  top: -18px;
  left: 0;
  right: 0;
  height: 18px;
}

.nav-item:hover .dropdown-panel,
.nav-item:focus-within .dropdown-panel {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateX(-50%) translateY(0);
}

.dropdown-item {
  display: flex;
  flex-direction: column;
  gap: 3px;
  padding: 12px 14px;
  border-radius: var(--radius-sm);
  border: 1px solid transparent;
  transition: background var(--transition), border-color var(--transition);
}

.dropdown-item:hover {
  background: var(--bg-alt);
  border-color: var(--border);
}

/* 排除下拉项继承通用导航下划线 */
.dropdown-item::after {
  display: none;
}

.di-index {
  font-size: 0.72rem;
  font-weight: 800;
  color: var(--primary);
  letter-spacing: 0.5px;
}

.di-title {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text-strong);
  line-height: 1.4;
}

.di-desc {
  font-size: 0.78rem;
  color: var(--text-muted);
  line-height: 1.5;
}

/* 锚点跳转时为固定导航栏留出空间 */
section[id] {
  scroll-margin-top: 96px;
}

/* === Hero === */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 140px 0 100px;
  position: relative;
  overflow: hidden;
  background: var(--bg);
}

.hero-glow {
  position: absolute;
  top: -10%;
  right: -5%;
  width: 760px;
  height: 760px;
  background: radial-gradient(circle, rgba(26, 95, 208, 0.07) 0%, transparent 60%);
  pointer-events: none;
  z-index: -1;
}

.hero .container {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 64px;
  align-items: center;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  border-radius: 999px;
  background: var(--primary-light);
  border: 1px solid var(--primary-tint);
  color: var(--primary);
  font-size: 0.85rem;
  font-weight: 700;
  margin-bottom: 24px;
}

.hero-badge .dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--primary);
  box-shadow: 0 0 8px var(--primary);
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.4; }
}

.hero-title {
  font-size: clamp(2.1rem, 5vw, 3.6rem);
  font-weight: 800;
  line-height: 1.18;
  color: var(--text-strong);
  margin-bottom: 24px;
  letter-spacing: -0.01em;
}

.hero-title .gradient {
  background: linear-gradient(135deg, var(--primary), #2E7BE5);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-desc {
  color: var(--text-muted);
  font-size: 1.15rem;
  max-width: 560px;
  margin-bottom: 36px;
}

.hero-buttons {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.hero-visual {
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
}

.hero-video-wrap {
  position: relative;
  width: 100%;
  max-width: 640px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--bg);
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
  aspect-ratio: 16 / 10;
}

.hero-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.hero-video-caption {
  position: absolute;
  left: 16px;
  bottom: 16px;
  padding: 6px 12px;
  background: rgba(31, 35, 41, 0.72);
  color: #fff;
  font-size: 0.8rem;
  font-weight: 600;
  border-radius: 999px;
  pointer-events: none;
  backdrop-filter: blur(6px);
}

.hero-illustration {
  width: 100%;
  max-width: 560px;
  aspect-ratio: 16 / 11;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  padding: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.hero-illustration svg {
  width: 100%;
  height: 100%;
  overflow: visible;
}

@media (max-width: 900px) {
  .hero-illustration {
    max-width: 420px;
    padding: 20px;
  }
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 32px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 1rem;
  transition: var(--transition);
  border: none;
  cursor: pointer;
}

.btn-primary {
  background: var(--primary);
  color: #fff;
  padding: 8px 20px;
  border-radius: 6px;
  transition: all 0.3s;
  box-shadow: 0 4px 12px rgba(26, 95, 208, 0.24);
}

.btn-primary:hover {
  background: var(--primary-dark);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(26, 95, 208, 0.3);
}

.btn-outline {
  background: #fff;
  color: var(--text-strong);
  border: 1px solid var(--border-strong);
}

.btn-outline:hover {
  border-color: var(--primary);
  color: var(--primary);
  background: var(--primary-light);
}

.hero-stats {
  display: flex;
  gap: 44px;
  margin-top: 56px;
  padding-top: 28px;
  border-top: 1px solid var(--border);
}

.stat strong {
  display: block;
  font-size: 2rem;
  font-weight: 800;
  color: var(--primary);
}

.stat span {
  font-size: 0.9rem;
  color: var(--text-muted);
}

.hero-visual {
  position: relative;
}

.hero-visual img {
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  border: 1px solid var(--border);
  background: #fff;
}

.hero-visual::before {
  content: "";
  position: absolute;
  inset: -20px;
  background: linear-gradient(135deg, rgba(26, 95, 208, 0.12), rgba(51, 112, 255, 0.06));
  border-radius: calc(var(--radius-lg) + 20px);
  z-index: -1;
  filter: blur(24px);
}

/* === 红色数据/信任条（SmartBI 风格） === */
.statbar {
  background: var(--primary);
  border-radius: var(--radius-lg);
  padding: 48px 40px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 28px;
  position: relative;
  overflow: hidden;
}

.statbar::after {
  content: "";
  position: absolute;
  right: -80px;
  top: -80px;
  width: 280px;
  height: 280px;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.12), transparent 60%);
  pointer-events: none;
}

.statbar-item {
  text-align: center;
  position: relative;
  z-index: 1;
}

.statbar-item strong {
  display: block;
  font-size: 2.4rem;
  font-weight: 800;
  color: #fff;
  line-height: 1.1;
}

.statbar-item span {
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.88);
}

/* === Cards === */
.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
}

.card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px;
  transition: var(--transition);
  box-shadow: var(--shadow-soft);
}

.card:hover {
  border-color: var(--primary);
  transform: translateY(-6px);
  box-shadow: var(--shadow-hover);
}

.card-icon {
  width: 54px;
  height: 54px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--primary-light);
  border: 1px solid var(--primary-tint);
  margin-bottom: 22px;
  font-size: 1.5rem;
}

.card h3 {
  font-size: 1.2rem;
  margin-bottom: 12px;
  color: var(--text-strong);
}

.card p {
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.7;
}

/* === Feature block (图文) === */
.feature-block {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
  margin-bottom: 64px;
}

.feature-block.reverse {
  direction: rtl;
}

.feature-block.reverse > * {
  direction: ltr;
}

.feature-block img {
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
  background: #fff;
}

.arch-img {
  width: 100%;
  height: auto;
  margin-top: 32px;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
  background: #fff;
}

.feature-list {
  margin-top: 24px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.feature-list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  color: var(--text-muted);
}

.feature-list li::before {
  content: "✓";
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--primary-light);
  color: var(--primary);
  font-size: 0.75rem;
  font-weight: 700;
  flex-shrink: 0;
}

/* === Product blocks (产品服务页区块分隔) === */
.product-block {
  position: relative;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: calc(var(--radius) + 6px);
  padding: 48px 44px;
  margin-bottom: 40px;
  overflow: hidden;
  transition: var(--transition);
  box-shadow: var(--shadow-soft);
}

.product-block::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 5px;
  background: linear-gradient(180deg, var(--primary), #2E7BE5);
}

.product-block:hover {
  border-color: var(--border-strong);
  box-shadow: var(--shadow);
}

.product-head {
  display: flex;
  align-items: flex-start;
  gap: 22px;
  margin-bottom: 36px;
  padding-bottom: 28px;
  border-bottom: 1px solid var(--border);
}

.product-index {
  flex-shrink: 0;
  font-size: 2.6rem;
  font-weight: 800;
  line-height: 0.92;
  font-feature-settings: "tnum";
  color: var(--primary);
}

.product-head-text {
  flex: 1;
}

.product-head-text .section-label {
  margin-bottom: 12px;
}

.product-head-text .section-title {
  margin-bottom: 12px;
}

.product-head-text .section-subtitle {
  margin-bottom: 0;
}

.product-sub {
  margin-top: 40px;
}

.product-sub-title {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 20px;
  color: var(--text-strong);
}

.product-sub-title::before {
  content: "";
  width: 4px;
  height: 22px;
  border-radius: 2px;
  background: linear-gradient(180deg, var(--primary), #2E7BE5);
}

.product-media {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}

.product-media.reverse {
  direction: rtl;
}

.product-media.reverse > * {
  direction: ltr;
}

.product-media img {
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
  background: #fff;
  width: 100%;
}

.deploy-path {
  margin-top: 32px;
  padding: 28px 32px;
  background: var(--bg-alt);
  border: 1px solid var(--border);
  border-radius: var(--radius);
}

.deploy-path h3 {
  margin-bottom: 18px;
  color: var(--text-strong);
}

/* === Cases === */
.case-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
  gap: 28px;
}

.case-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 36px;
  transition: var(--transition);
  box-shadow: var(--shadow-soft);
}

.case-card:hover {
  border-color: var(--primary);
  transform: translateY(-4px);
  box-shadow: var(--shadow-hover);
}

.case-card .case-tag {
  display: inline-block;
  padding: 6px 14px;
  border-radius: 999px;
  background: var(--primary-light);
  color: var(--primary);
  font-size: 0.8rem;
  font-weight: 700;
  margin-bottom: 18px;
}

.case-card h3 {
  font-size: 1.25rem;
  margin-bottom: 14px;
  color: var(--text-strong);
}

.case-card p {
  color: var(--text-muted);
  font-size: 0.95rem;
  margin-bottom: 24px;
}

.case-metrics {
  display: flex;
  gap: 28px;
  flex-wrap: wrap;
}

.case-metric {
  text-align: left;
}

.case-metric strong {
  display: block;
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--primary);
}

.case-metric span {
  font-size: 0.8rem;
  color: var(--text-muted);
}

/* === Certificate Gallery === */
.cert-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  margin-top: 48px;
}

.cert-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px 24px 20px;
  text-align: center;
  transition: var(--transition);
  box-shadow: var(--shadow-soft);
}

.cert-card:hover {
  border-color: var(--primary);
  transform: translateY(-4px);
  box-shadow: var(--shadow-hover);
}

.cert-frame {
  position: relative;
  width: 100%;
  aspect-ratio: 3 / 4;
  background: linear-gradient(135deg, #f8fafc 0%, #eef2f7 100%);
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
  overflow: hidden;
  margin-bottom: 16px;
}

.cert-frame img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 10px;
  transition: var(--transition);
}

.cert-card:hover .cert-frame img {
  transform: scale(1.02);
}

.cert-card h3 {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text-strong);
  line-height: 1.45;
  margin: 0;
}

@media (max-width: 960px) {
  .cert-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }
}

@media (max-width: 560px) {
  .cert-grid {
    grid-template-columns: 1fr;
  }

  .cert-card {
    padding: 18px;
  }
}

/* === CTA Section === */
.cta-section {
  padding: 100px 0;
  text-align: center;
  background: var(--bg-alt);
}

.cta-box {
  background: var(--primary);
  border-radius: var(--radius-lg);
  padding: 80px 40px;
  position: relative;
  overflow: hidden;
  box-shadow: 0 20px 50px rgba(26, 95, 208, 0.22);
}

.cta-box::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 50% 0%, rgba(255, 255, 255, 0.16), transparent 60%);
  pointer-events: none;
}

.cta-box h2 {
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  margin-bottom: 18px;
  color: #fff;
}

.cta-box p {
  color: rgba(255, 255, 255, 0.9);
  max-width: 620px;
  margin: 0 auto 32px;
  font-size: 1.05rem;
}

.cta-box .btn-primary {
  background: #fff;
  color: var(--primary);
  box-shadow: 0 10px 26px rgba(0, 0, 0, 0.15);
}

.cta-box .btn-primary:hover {
  background: var(--primary-light);
}

/* === About Timeline === */
.timeline {
  display: flex;
  flex-direction: column;
  gap: 28px;
  position: relative;
  padding-left: 32px;
}

.timeline::before {
  content: "";
  position: absolute;
  left: 6px;
  top: 8px;
  bottom: 8px;
  width: 2px;
  background: linear-gradient(180deg, var(--primary), #2E7BE5);
  border-radius: 2px;
}

.timeline-item {
  position: relative;
}

.timeline-item::before {
  content: "";
  position: absolute;
  left: -32px;
  top: 6px;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: #fff;
  border: 3px solid var(--primary);
}

.timeline-year {
  color: var(--primary);
  font-weight: 800;
  font-size: 1.1rem;
  margin-bottom: 4px;
}

.timeline-content {
  color: var(--text-muted);
  font-size: 0.95rem;
}

/* === Contact === */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 48px;
}

.contact-info .info-item {
  display: flex;
  gap: 16px;
  margin-bottom: 28px;
}

.contact-info .info-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: var(--primary-light);
  border: 1px solid var(--primary-tint);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  flex-shrink: 0;
}

.contact-info h4 {
  font-size: 1.05rem;
  margin-bottom: 4px;
  color: var(--text-strong);
}

.contact-info p {
  color: var(--text-muted);
  font-size: 0.95rem;
}

.contact-form {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 36px;
  box-shadow: var(--shadow-soft);
}

.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  font-size: 0.9rem;
  margin-bottom: 8px;
  color: var(--text);
  font-weight: 500;
}

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 14px 16px;
  border-radius: var(--radius-sm);
  background: #fff;
  border: 1px solid var(--border-strong);
  color: var(--text);
  font-family: inherit;
  font-size: 0.95rem;
  transition: var(--transition);
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  outline: none;
  border-color: var(--primary);
  background: var(--primary-light);
}

.form-group textarea {
  min-height: 120px;
  resize: vertical;
}

/* === Footer === */
.footer {
  border-top: 1px solid var(--border);
  padding: 64px 0 30px;
  background: #fff;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 48px;
}

.footer-brand p {
  color: var(--text-muted);
  font-size: 0.95rem;
  margin-top: 16px;
  max-width: 320px;
}

.footer-col h4 {
  font-size: 1rem;
  margin-bottom: 18px;
  color: var(--text-strong);
}

.footer-col li {
  margin-bottom: 10px;
}

.footer-col a {
  color: var(--text-muted);
  font-size: 0.9rem;
  transition: var(--transition);
}

.footer-col a:hover {
  color: var(--primary);
}

.footer-contact-phone {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 18px;
  color: var(--text-strong);
  font-size: 1.05rem;
  font-weight: 600;
  text-decoration: none;
  transition: var(--transition);
}

.footer-contact-phone:hover {
  color: var(--primary);
}

.footer-contact-phone .phone-icon {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--primary-light);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.9rem;
}

.footer-qr-row {
  display: flex;
  gap: 16px;
  margin-top: 18px;
  flex-wrap: wrap;
}

.footer-qr {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  padding: 10px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: 0 2px 10px rgba(31, 35, 41, 0.04);
}

.footer-qr img {
  width: 82px;
  height: 82px;
  object-fit: contain;
  border-radius: 6px;
  display: block;
}

.footer-qr span {
  font-size: 0.78rem;
  color: var(--text-muted);
  line-height: 1.3;
  text-align: center;
  max-width: 90px;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 24px;
  border-top: 1px solid var(--border);
  color: var(--text-dim);
  font-size: 0.85rem;
}

/* === Reveal animation === */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.active {
  opacity: 1;
  transform: translateY(0);
}

/* === Responsive === */
@media (max-width: 960px) {
  .hero .container,
  .feature-block,
  .feature-block.reverse,
  .product-media,
  .product-media.reverse,
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .feature-block.reverse > *,
  .product-media.reverse > * {
    direction: ltr;
  }

  .product-media,
  .product-media.reverse {
    direction: ltr;
    gap: 32px;
  }

  .hero-visual {
    order: -1;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }

  .nav-links {
    position: fixed;
    top: 70px;
    right: -100%;
    width: 260px;
    height: calc(100vh - 70px);
    background: #fff;
    flex-direction: column;
    padding: 40px 28px;
    gap: 24px;
    border-left: 1px solid var(--border);
    box-shadow: -8px 0 30px rgba(31, 35, 41, 0.08);
    transition: var(--transition);
  }

  .nav-links.open {
    right: 0;
  }

  .menu-toggle {
    display: flex;
  }

  /* 移动端：下拉面板改为静态常显列表（hover 不可用） */
  .nav-item {
    width: 100%;
  }

  .dropdown-panel {
    position: static;
    transform: none;
    width: 100%;
    max-width: 100%;
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    margin-top: 0;
    padding: 6px 0 6px 16px;
    box-shadow: none;
    border: none;
    border-left: 2px solid var(--border);
    border-radius: 0;
    grid-template-columns: 1fr;
    gap: 2px;
  }

  .caret {
    display: none;
  }

  .dropdown-item {
    padding: 10px 12px;
  }
}

@media (max-width: 600px) {
  .section {
    padding: 72px 0;
  }

  .hero {
    padding: 120px 0 80px;
  }

  .hero-stats {
    flex-direction: column;
    gap: 20px;
  }

  .product-block {
    padding: 32px 22px;
  }

  .footer-grid {
    grid-template-columns: 1fr;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 12px;
    text-align: center;
  }
}

/* ============================================================
   产品页 · 目录入口与详情切换
   ============================================================ */

/* 产品目录卡片 */
.catalog-head {
  text-align: center;
  max-width: 760px;
  margin: 0 auto 56px;
}

.catalog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 28px;
}

.catalog-card {
  display: flex;
  flex-direction: column;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: calc(var(--radius) + 6px);
  padding: 34px 30px;
  box-shadow: var(--shadow-soft);
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.catalog-card::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 5px;
  background: linear-gradient(180deg, var(--primary), #2E7BE5);
}

.catalog-card:hover {
  border-color: var(--primary);
  transform: translateY(-6px);
  box-shadow: var(--shadow-hover);
}

.catalog-index {
  font-size: 2.4rem;
  font-weight: 800;
  line-height: 1;
  color: var(--primary);
  margin-bottom: 18px;
  font-feature-settings: "tnum";
}

.catalog-tag {
  display: inline-flex;
  align-items: center;
  padding: 5px 12px;
  border-radius: 999px;
  background: var(--primary-light);
  color: var(--primary);
  font-size: 0.78rem;
  font-weight: 700;
  margin-bottom: 12px;
  width: fit-content;
}

.catalog-body h3 {
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--text-strong);
  margin-bottom: 12px;
  line-height: 1.35;
}

.catalog-body > p {
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.7;
  margin-bottom: 18px;
}

.catalog-features {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 22px;
}

.catalog-features li {
  font-size: 0.82rem;
  color: var(--text-muted);
  background: var(--bg-alt);
  padding: 5px 10px;
  border-radius: 6px;
  border: 1px solid var(--border);
}

.catalog-action {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--primary);
  font-weight: 700;
  font-size: 0.95rem;
  margin-top: auto;
  transition: var(--transition);
}

.catalog-card:hover .catalog-action {
  gap: 10px;
}

/* 产品详情区切换 */
.product-detail-wrapper {
  display: none;
  background: var(--bg);
}

.product-detail-wrapper.active {
  display: block;
}

.product-detail-wrapper .product-section {
  display: none;
}

.product-detail-wrapper .product-section.active {
  display: block;
}

/* === 案例/资质 视图切换 === */
.cases-detail-wrapper {
  display: none;
  background: var(--bg);
}

.cases-detail-wrapper.active {
  display: block;
}

.cases-view {
  display: none;
}

.cases-view.active {
  display: block;
}

.detail-toolbar {
  position: sticky;
  top: 76px;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(10px);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 14px 20px;
  margin-bottom: 32px;
  box-shadow: var(--shadow-soft);
}

.detail-back {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--primary);
  font-weight: 700;
  font-size: 0.95rem;
  transition: var(--transition);
}

.detail-back:hover {
  color: var(--primary-dark);
}

.detail-nav {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.detail-nav-item {
  padding: 8px 16px;
  border-radius: 999px;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--text-muted);
  background: transparent;
  border: 1px solid transparent;
  transition: var(--transition);
}

.detail-nav-item:hover {
  color: var(--primary);
  background: var(--primary-light);
}

.detail-nav-item.active {
  color: #fff;
  background: var(--primary);
  border-color: var(--primary);
}

/* ============================================================
   AI 思有 · 标签切换面板
   ============================================================ */

.ai-tabs-panel {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: calc(var(--radius) + 8px);
  padding: 40px;
  box-shadow: var(--shadow-soft);
  margin-bottom: 40px;
}

.ai-tabs-head {
  text-align: center;
  margin-bottom: 34px;
}

.ai-tabs-title {
  font-size: clamp(1.4rem, 3vw, 1.9rem);
  font-weight: 800;
  color: var(--text-strong);
  margin-bottom: 10px;
}

.ai-tabs-desc {
  color: var(--text-muted);
  font-size: 1rem;
  max-width: 680px;
  margin: 0 auto;
}

.ai-tabs-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 36px;
  padding: 6px;
  background: var(--bg-alt);
  border-radius: 999px;
  width: fit-content;
  margin-left: auto;
  margin-right: auto;
}

.ai-tab-btn {
  position: relative;
  padding: 10px 22px;
  border-radius: 999px;
  border: none;
  background: transparent;
  color: var(--text-muted);
  font-size: 0.95rem;
  font-weight: 700;
  cursor: pointer;
  transition: var(--transition);
  font-family: inherit;
}

.ai-tab-btn:hover {
  color: var(--primary);
}

.ai-tab-btn.active {
  color: #fff;
  background: var(--primary);
  box-shadow: 0 6px 18px rgba(26, 95, 208, 0.26);
}

.ai-tab-content {
  position: relative;
  min-height: 360px;
}

.ai-tab-pane {
  display: none;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
  opacity: 0;
  transform: translateY(12px);
  transition: opacity 0.35s ease, transform 0.35s ease;
}

.ai-tab-pane.active {
  display: grid;
  opacity: 1;
  transform: translateY(0);
}

.ai-tab-text {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.tab-intro {
  margin-bottom: 24px;
}

.tab-intro h4 {
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--text-strong);
  margin-bottom: 6px;
}

.tab-intro span {
  font-size: 1.15rem;
  color: var(--primary);
  font-weight: 700;
}

.feature-list.compact {
  margin-top: 0;
  gap: 12px;
}

.feature-list.compact li {
  font-size: 0.95rem;
  line-height: 1.65;
}

.tab-visual {
  background: linear-gradient(135deg, #f8fbff 0%, #eef4fc 100%);
  border: 1px solid var(--primary-tint);
  border-radius: var(--radius-lg);
  padding: 28px;
  min-height: 320px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

.tab-visual::before {
  content: "";
  position: absolute;
  top: -40px;
  right: -40px;
  width: 160px;
  height: 160px;
  background: radial-gradient(circle, rgba(26, 95, 208, 0.08), transparent 60%);
}

/* 标签页内模拟界面 */
.mock-chat {
  width: 100%;
  max-width: 360px;
  background: #fff;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  border: 1px solid var(--border);
  overflow: hidden;
}

.mock-chat-header {
  padding: 12px 16px;
  background: var(--primary);
  color: #fff;
  font-weight: 700;
  font-size: 0.9rem;
}

.mock-chat-body {
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.mock-msg {
  padding: 12px 14px;
  border-radius: 12px;
  font-size: 0.85rem;
  line-height: 1.5;
  max-width: 92%;
}

.mock-msg.user {
  align-self: flex-end;
  background: var(--primary-light);
  color: var(--primary);
  font-weight: 600;
}

.mock-msg.ai {
  align-self: flex-start;
  background: var(--bg-alt);
  color: var(--text);
}

.mock-bubble-title {
  font-weight: 700;
  color: var(--text-strong);
  margin-bottom: 8px;
}

.mock-mini-bar {
  display: flex;
  gap: 4px;
  margin-bottom: 8px;
}

.mock-mini-bar span {
  width: 18px;
  height: 36px;
  background: var(--primary);
  opacity: 0.2;
  border-radius: 3px;
}

.mock-mini-bar span:nth-child(1) { height: 22px; }
.mock-mini-bar span:nth-child(2) { height: 36px; }
.mock-mini-bar span:nth-child(3) { height: 28px; }
.mock-mini-bar span:nth-child(4) { height: 42px; }
.mock-mini-bar span:nth-child(5) { height: 32px; }

.mock-graph {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 16px 28px;
  align-items: center;
  width: 100%;
  max-width: 340px;
}

.mock-node {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 10px 18px;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-muted);
  box-shadow: var(--shadow-soft);
}

.mock-node.primary {
  background: var(--primary);
  color: #fff;
  border-color: var(--primary);
  font-size: 1rem;
  padding: 14px 24px;
}

.mock-edge {
  width: 2px;
  height: 40px;
  background: var(--primary-tint);
  justify-self: center;
  border-radius: 2px;
}

.mock-edge-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
  justify-self: start;
}

.mock-relation {
  font-size: 0.75rem;
  color: var(--primary);
  background: var(--primary-light);
  padding: 4px 10px;
  border-radius: 999px;
  border: 1px solid var(--primary-tint);
}

.mock-report {
  width: 100%;
  max-width: 360px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 22px;
}

.mock-report-header {
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--text-strong);
  margin-bottom: 18px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--border);
}

.mock-report-row {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 14px;
  font-size: 0.88rem;
}

.mock-report-row span {
  width: 70px;
  color: var(--text-muted);
}

.mock-progress {
  flex: 1;
  height: 8px;
  background: var(--bg-alt);
  border-radius: 999px;
  overflow: hidden;
}

.mock-progress i {
  display: block;
  height: 100%;
  background: linear-gradient(90deg, var(--primary), #2E7BE5);
  border-radius: 999px;
}

.mock-report-insight {
  margin-top: 16px;
  padding: 14px;
  background: var(--primary-light);
  border-radius: var(--radius-sm);
  font-size: 0.85rem;
  color: var(--text-strong);
  border-left: 3px solid var(--primary);
}

.mock-form {
  width: 100%;
  max-width: 340px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 22px;
}

.mock-form-row {
  margin-bottom: 12px;
}

.mock-form-row label {
  display: block;
  font-size: 0.78rem;
  color: var(--text-muted);
  margin-bottom: 4px;
}

.mock-form-row input,
.mock-form-row textarea {
  width: 100%;
  padding: 9px 12px;
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-sm);
  background: var(--bg-alt);
  color: var(--text-strong);
  font-family: inherit;
  font-size: 0.88rem;
}

.mock-form-row textarea {
  min-height: 64px;
  resize: none;
}

.mock-form-badge {
  display: inline-flex;
  margin-top: 8px;
  padding: 6px 12px;
  border-radius: 999px;
  background: var(--primary);
  color: #fff;
  font-size: 0.78rem;
  font-weight: 700;
}

.mock-dashboard {
  width: 100%;
  max-width: 380px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 22px;
}

.mock-dash-header {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--text-strong);
  margin-bottom: 18px;
}

.mock-dash-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.mock-dash-card {
  background: var(--bg-alt);
  border-radius: var(--radius-sm);
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.mock-dash-card.wide {
  grid-column: span 2;
}

.mock-dash-card b {
  font-size: 0.78rem;
  color: var(--text-muted);
}

.mock-dash-card strong {
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--text-strong);
}

.mock-line {
  height: 60px;
  margin-top: 6px;
}

.mock-line svg {
  width: 100%;
  height: 100%;
}

/* AI 浏览器插件模拟界面 */
.mock-browser {
  width: 100%;
  max-width: 420px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow: hidden;
}

.mock-browser-bar {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  background: var(--bg-alt);
  border-bottom: 1px solid var(--border);
}

.mock-browser-dots {
  display: flex;
  gap: 6px;
}

.mock-browser-dots span {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #d1d7df;
}

.mock-browser-dots span:nth-child(1) { background: #ff6b6b; }
.mock-browser-dots span:nth-child(2) { background: #feca57; }
.mock-browser-dots span:nth-child(3) { background: #1dd1a1; }

.mock-browser-url {
  flex: 1;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 5px 10px;
  font-size: 0.75rem;
  color: var(--text-muted);
  text-align: center;
}

.mock-browser-body {
  position: relative;
  min-height: 240px;
  background: linear-gradient(135deg, #f7f9fc 0%, #eef3f9 100%);
  padding: 16px;
  display: flex;
  justify-content: flex-end;
}

.mock-plugin {
  width: 280px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: 0 8px 28px rgba(31, 35, 41, 0.12);
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.mock-plugin-head {
  padding: 12px 14px;
  background: var(--primary);
  color: #fff;
  font-weight: 700;
  font-size: 0.9rem;
}

.mock-plugin-chat {
  flex: 1;
  padding: 14px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.mock-plugin-user {
  align-self: flex-end;
  max-width: 92%;
  padding: 10px 12px;
  background: var(--primary-light);
  color: var(--primary);
  font-size: 0.8rem;
  border-radius: 10px 10px 2px 10px;
}

.mock-plugin-ai {
  align-self: flex-start;
  width: 100%;
  padding: 12px;
  background: var(--bg-alt);
  border-radius: 10px 10px 10px 2px;
  font-size: 0.78rem;
  color: var(--text);
}

.mock-plugin-step {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 6px;
  color: var(--text-muted);
  font-size: 0.75rem;
}

.mock-plugin-step.active {
  color: var(--primary);
  font-weight: 600;
}

.mock-plugin-step i {
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: var(--primary-light);
  color: var(--primary);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.65rem;
  font-style: normal;
}

.mock-plugin-ai > p {
  margin-top: 10px;
  color: var(--text-muted);
  font-size: 0.75rem;
  line-height: 1.5;
}

.mock-plugin-input {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 12px;
  border-top: 1px solid var(--border);
  background: #fff;
}

.mock-plugin-input span {
  flex: 1;
  color: var(--text-dim);
  font-size: 0.75rem;
}

.mock-plugin-input button {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  border: none;
  background: var(--primary);
  color: #fff;
  font-size: 0.8rem;
  cursor: pointer;
}

/* 响应式 */
@media (max-width: 960px) {
  .catalog-grid {
    grid-template-columns: 1fr 1fr;
  }

  .ai-tab-pane {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .ai-tab-pane.reverse-visual {
    direction: ltr;
  }

  .tab-visual {
    order: -1;
  }

  .detail-toolbar {
    top: 68px;
    flex-direction: column;
    align-items: flex-start;
  }

  .ai-tabs-nav {
    border-radius: var(--radius);
    width: 100%;
  }
}

@media (max-width: 640px) {
  .catalog-grid {
    grid-template-columns: 1fr;
  }

  .ai-tabs-panel {
    padding: 26px 20px;
  }

  .ai-tabs-nav {
    flex-wrap: nowrap;
    overflow-x: auto;
    border-radius: var(--radius);
    justify-content: flex-start;
    -webkit-overflow-scrolling: touch;
  }

  .ai-tab-btn {
    white-space: nowrap;
    padding: 10px 18px;
  }

  .ai-tab-pane {
    gap: 24px;
  }

  .detail-nav {
    width: 100%;
    overflow-x: auto;
  }
}

