/* ============================================
   云上一粟 - 企业官网样式表
   风格：简约商务 + 轻科技感 | 蓝色系
   ============================================ */

/* ---------- CSS 变量 ---------- */
:root {
  --primary: #2563eb;
  --primary-dark: #1d4ed8;
  --primary-light: #3b82f6;
  --accent: #0ea5e9;
  --accent-light: #e0f2fe;
  --text-dark: #1e293b;
  --text-body: #475569;
  --text-light: #94a3b8;
  --text-muted: #64748b;
  --bg-white: #ffffff;
  --bg-light: #f8fafc;
  --bg-gray: #f1f5f9;
  --border: #e2e8f0;
  --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.08);
  --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.08);
  --shadow-lg: 0 12px 32px rgba(37, 99, 235, 0.12);
  --radius: 12px;
  --radius-sm: 8px;
  --max-width: 1200px;
  --transition: all 0.3s ease;
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC",
    "Hiragino Sans GB", "Microsoft YaHei", "Helvetica Neue", Helvetica, Arial,
    sans-serif;
  color: var(--text-body);
  background: var(--bg-white);
  line-height: 1.7;
  overflow-x: hidden;
}

a {
  text-decoration: none;
  color: var(--primary);
  transition: var(--transition);
}

a:hover {
  color: var(--primary-dark);
}

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

ul {
  list-style: none;
}

/* ---------- 通用容器 ---------- */
.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

.section {
  padding: 80px 0;
}

.section-light {
  background: linear-gradient(180deg, #f8fafc 0%, #f0f7ff 50%, #f8fafc 100%);
}

.section-header {
  text-align: center;
  margin-bottom: 56px;
}

.section-header h2 {
  font-size: 2.25rem;
  color: var(--text-dark);
  font-weight: 700;
  margin-bottom: 16px;
}

.section-header p {
  font-size: 1.1rem;
  color: var(--text-light);
  max-width: 600px;
  margin: 0 auto;
}

.section-tag {
  display: inline-block;
  padding: 6px 16px;
  background: var(--accent-light);
  color: var(--primary);
  border-radius: 20px;
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 16px;
  letter-spacing: 0.05em;
}

/* ---------- 按钮 ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 32px;
  border-radius: var(--radius-sm);
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
  border: none;
  font-family: inherit;
}

.btn-primary {
  background: var(--primary);
  color: #fff;
  box-shadow: 0 4px 14px rgba(37, 99, 235, 0.3);
}

.btn-primary:hover {
  background: var(--primary-dark);
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(37, 99, 235, 0.4);
}

.btn-outline {
  background: transparent;
  color: var(--primary);
  border: 2px solid var(--primary);
}

.btn-outline:hover {
  background: var(--primary);
  color: #fff;
  transform: translateY(-2px);
}

.btn-white {
  background: #fff;
  color: var(--primary);
  box-shadow: var(--shadow-md);
}

.btn-white:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

.btn-lg {
  padding: 16px 40px;
  font-size: 1.1rem;
}

/* ---------- 导航栏 ---------- */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid transparent;
  transition: var(--transition);
}

.navbar.scrolled {
  background: rgba(255, 255, 255, 0.98);
  border-bottom-color: var(--border);
  box-shadow: var(--shadow-sm);
}

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

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--text-dark);
}

.logo-icon {
  width: 40px;
  height: 40px;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 1.2rem;
}

.logo-icon-img {
  height: 48px;
  width: auto;
  display: block;
}

.logo-icon-img-footer {
  height: 64px;
  background: #fff;
  padding: 6px;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.logo-text {
  font-size: 1.5rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: var(--text-dark);
}

.footer-brand .logo .logo-text {
  color: #fff;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 36px;
}

.nav-menu a {
  color: var(--text-body);
  font-weight: 500;
  font-size: 0.95rem;
  position: relative;
  padding: 8px 0;
}

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

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

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

.nav-cta {
  padding: 10px 24px;
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0.8px;
  color: #fff !important;
  text-shadow: 0 1px 2px rgba(0,0,0,0.15);
}

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

.nav-toggle span {
  width: 24px;
  height: 2px;
  background: var(--text-dark);
  transition: var(--transition);
  border-radius: 2px;
}

/* ---------- Hero 区域 ---------- */
.hero {
  position: relative;
  min-height: 600px;
  display: flex;
  align-items: center;
  padding-top: 100px;
  background: linear-gradient(135deg, #f0f7ff 0%, #e0f2fe 50%, #f0f9ff 100%);
  overflow: hidden;
}

.hero-tech-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}

.hero-tech-bg .tech-grid {
  width: 100%;
  height: 100%;
}

.hero .container {
  position: relative;
  z-index: 1;
}

.hero-skyline {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 160px;
  z-index: 0;
  pointer-events: none;
}

.hero-skyline svg {
  width: 100%;
  height: 100%;
  display: block;
}

@keyframes nodePulse {
  0%, 100% { opacity: 0.4; transform: scale(1); }
  50% { opacity: 1; transform: scale(1.4); }
}

.node-pulse {
  transform-origin: center;
  transform-box: fill-box;
  animation: nodePulse 3s ease-in-out infinite;
}

.tech-nodes circle:nth-child(8) { animation-delay: 0s; }
.tech-nodes circle:nth-child(10) { animation-delay: 0.5s; }
.tech-nodes circle:nth-child(12) { animation-delay: 1s; }
.tech-nodes circle:nth-child(14) { animation-delay: 1.5s; }
.tech-nodes circle:nth-child(16) { animation-delay: 2s; }
.tech-nodes circle:nth-child(18) { animation-delay: 2.5s; }

.hero::before {
  content: "";
  position: absolute;
  top: -100px;
  right: -100px;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(37, 99, 235, 0.08), transparent 70%);
  border-radius: 50%;
}

.hero::after {
  content: "";
  position: absolute;
  bottom: -150px;
  left: -100px;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(14, 165, 233, 0.06), transparent 70%);
  border-radius: 50%;
}

.hero .container {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.hero-content {
  max-width: 560px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 18px;
  background: rgba(255, 255, 255, 0.8);
  border: 1px solid rgba(37, 99, 235, 0.2);
  border-radius: 24px;
  color: var(--primary);
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 24px;
}

.hero-badge::before {
  content: "";
  width: 8px;
  height: 8px;
  background: var(--accent);
  border-radius: 50%;
}

.hero h1 {
  font-size: 3rem;
  line-height: 1.3;
  color: var(--text-dark);
  font-weight: 800;
  margin-bottom: 24px;
}

.hero h1 span {
  color: var(--primary);
}

.hero-subtitle {
  font-size: 1.15rem;
  color: var(--text-body);
  margin-bottom: 36px;
  line-height: 1.8;
}

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

.hero-stats {
  display: flex;
  gap: 40px;
  margin-top: 48px;
  padding-top: 32px;
  border-top: 1px solid rgba(37, 99, 235, 0.15);
}

.hero-stat {
  text-align: left;
}

.hero-stat-num {
  font-size: 1.8rem;
  font-weight: 800;
  color: var(--primary);
}

.hero-stat-label {
  font-size: 0.85rem;
  color: var(--text-light);
}

.hero-visual {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: auto auto;
  gap: 16px;
}

/* AI 卡片 / 四川卡片 — 上面两小格 */
.hero-card-ai,
.hero-card-sc {
  background: #fff;
  border-radius: 16px;
  padding: 20px;
  box-shadow: var(--shadow-md);
  text-align: center;
  transition: transform 0.25s, box-shadow 0.25s;
}
.hero-card-ai:hover,
.hero-card-sc:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.hero-card-illust {
  width: 64px;
  height: 64px;
  color: var(--primary);
  margin-bottom: 8px;
}

.hero-card-ai h3,
.hero-card-sc h3 {
  font-size: 0.95rem;
  color: var(--text-dark);
  margin-bottom: 6px;
  font-weight: 600;
}
.hero-card-ai p,
.hero-card-sc p {
  font-size: 0.8rem;
  color: var(--text-muted);
  line-height: 1.5;
  margin: 0;
}

/* 服务列表卡片 — 下面一整行 */
.hero-card-tech {
  grid-column: 1 / -1;
  background: #fff;
  border-radius: 16px;
  padding: 24px;
  box-shadow: var(--shadow-md);
}
.hero-card-tech:hover {
  box-shadow: var(--shadow-lg);
}
.hero-card-badge {
  display: inline-block;
  padding: 4px 12px;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  color: #fff;
  border-radius: 12px;
  font-size: 0.75rem;
  font-weight: 600;
  margin-bottom: 14px;
}

.hero-card-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.hero-card-list li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.95rem;
  color: var(--text-body);
}

.hero-card-list li::before {
  content: "";
  width: 20px;
  height: 20px;
  background: var(--accent-light);
  border-radius: 50%;
  flex-shrink: 0;
  position: relative;
}

.hero-card-list li {
  position: relative;
}

.hero-check {
  width: 20px;
  height: 20px;
  background: var(--primary);
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 0.7rem;
  flex-shrink: 0;
}

/* ---------- 服务卡片 ---------- */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.service-card {
  background: var(--bg-white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 36px 28px;
  transition: var(--transition);
  text-align: center;
}

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

.service-icon {
  width: 64px;
  height: 64px;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 24px;
  font-size: 1.8rem;
}

.service-icon svg {
  width: 32px;
  height: 32px;
}

.service-icon.bg-blue {
  background: linear-gradient(135deg, #dbeafe, #bfdbfe);
  color: #2563eb;
}

.service-icon.bg-cyan {
  background: linear-gradient(135deg, #cffafe, #a5f3fc);
  color: #0891b2;
}

.service-icon.bg-indigo {
  background: linear-gradient(135deg, #e0e7ff, #c7d2fe);
  color: #4f46e5;
}

.service-icon.bg-teal {
  background: linear-gradient(135deg, #ccfbf1, #99f6e4);
  color: #0d9488;
}

.service-icon.bg-purple {
  background: linear-gradient(135deg, #ede9fe, #ddd6fe);
  color: #7c3aed;
}

.service-icon.bg-orange {
  background: linear-gradient(135deg, #fed7aa, #fdba74);
  color: #ea580c;
}

.service-card h3 {
  font-size: 1.3rem;
  color: var(--text-dark);
  margin-bottom: 12px;
  font-weight: 700;
}

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

/* ---------- 优势区域 ---------- */
.advantages-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

.advantage-card {
  text-align: center;
  padding: 40px 28px;
}

.advantage-num {
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--accent-light);
  margin-bottom: 12px;
  line-height: 1;
}

.advantage-card h3 {
  font-size: 1.35rem;
  color: var(--text-dark);
  margin-bottom: 12px;
  font-weight: 700;
}

.advantage-card p {
  font-size: 0.95rem;
  color: var(--text-body);
}

/* ---------- CTA 区域 ---------- */
.cta-section {
  background: linear-gradient(135deg, #1e3a5f 0%, #2563eb 40%, #0ea5e9 100%);
  border-radius: 24px;
  padding: 64px 48px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta-section::before {
  content: "";
  position: absolute;
  top: -50px;
  right: -50px;
  width: 200px;
  height: 200px;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 50%;
}

.cta-section::after {
  content: "";
  position: absolute;
  bottom: -80px;
  left: -50px;
  width: 250px;
  height: 250px;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 50%;
}

.cta-section h2 {
  font-size: 2rem;
  color: #fff;
  margin-bottom: 16px;
  position: relative;
  z-index: 1;
}

.cta-section p {
  font-size: 1.1rem;
  color: rgba(255, 255, 255, 0.85);
  margin-bottom: 32px;
  position: relative;
  z-index: 1;
}

.cta-section .btn {
  position: relative;
  z-index: 1;
}

/* ---------- 页面 Banner（内页通用） ---------- */
.page-banner {
  background: linear-gradient(135deg, #f0f7ff 0%, #e0f2fe 100%);
  padding: 140px 0 80px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.page-banner::before {
  content: "";
  position: absolute;
  top: -100px;
  right: -50px;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(37, 99, 235, 0.06), transparent 70%);
  border-radius: 50%;
}

.page-banner h1 {
  font-size: 2.75rem;
  color: var(--text-dark);
  font-weight: 800;
  margin-bottom: 16px;
  position: relative;
  z-index: 1;
}

.page-banner p {
  font-size: 1.1rem;
  color: var(--text-body);
  position: relative;
  z-index: 1;
}

.breadcrumb {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 20px;
  font-size: 0.9rem;
  color: var(--text-light);
  position: relative;
  z-index: 1;
}

.breadcrumb a {
  color: var(--text-body);
}

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

/* ---------- 关于我们 ---------- */
.about-intro {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.about-text h2 {
  font-size: 2rem;
  color: var(--text-dark);
  margin-bottom: 24px;
  font-weight: 700;
}

.about-text p {
  margin-bottom: 20px;
  font-size: 1.05rem;
  line-height: 1.9;
}

.about-text .highlight {
  color: var(--primary);
  font-weight: 600;
}

.about-visual {
  background: linear-gradient(135deg, var(--primary), var(--accent));
  border-radius: 20px;
  padding: 48px;
  color: #fff;
}

.about-visual h3 {
  font-size: 1.4rem;
  margin-bottom: 24px;
}

.about-visual-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.about-visual-list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 1rem;
}

.about-visual-list li::before {
  content: "✓";
  width: 24px;
  height: 24px;
  background: rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 0.8rem;
  margin-top: 2px;
}

/* ---------- 价值观 ---------- */
.values-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

.value-card {
  background: var(--bg-white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 40px 32px;
  transition: var(--transition);
}

.value-card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-4px);
}

.value-icon {
  width: 56px;
  height: 56px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin-bottom: 20px;
  background: var(--accent-light);
}

.value-card h3 {
  font-size: 1.3rem;
  color: var(--text-dark);
  margin-bottom: 12px;
  font-weight: 700;
}

.value-card p {
  color: var(--text-body);
  font-size: 0.95rem;
  line-height: 1.8;
}

/* ---------- 服务详情 ---------- */
.service-detail {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  margin-bottom: 80px;
}

.service-detail:last-child {
  margin-bottom: 0;
}

.service-detail:nth-child(even) .service-detail-text {
  order: 2;
}

.service-detail-text h3 {
  font-size: 1.75rem;
  color: var(--text-dark);
  margin-bottom: 20px;
  font-weight: 700;
}

.service-detail-text > p {
  font-size: 1.05rem;
  color: var(--text-body);
  margin-bottom: 24px;
  line-height: 1.9;
}

.service-detail-features {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.service-detail-features li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.95rem;
  color: var(--text-body);
}

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

.service-detail-visual {
  background: var(--bg-light);
  border-radius: 20px;
  padding: 48px;
  text-align: center;
  min-height: 280px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  border: 1px solid var(--border);
}

.service-detail-visual .big-icon {
  font-size: 3.5rem;
  margin-bottom: 20px;
}

.service-detail-visual h4 {
  font-size: 1.3rem;
  color: var(--text-dark);
  margin-bottom: 12px;
}

.service-detail-visual p {
  color: var(--text-light);
  font-size: 0.95rem;
}

/* ---------- 流程时间线 ---------- */
.process-timeline {
  position: relative;
  max-width: 800px;
  margin: 0 auto;
}

.process-timeline::before {
  content: "";
  position: absolute;
  left: 32px;
  top: 0;
  bottom: 0;
  width: 2px;
  background: linear-gradient(to bottom, var(--primary), var(--accent), var(--border));
}

.process-step {
  display: flex;
  gap: 32px;
  margin-bottom: 48px;
  position: relative;
}

.process-step:last-child {
  margin-bottom: 0;
}

.process-step-num {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: #fff;
  border: 3px solid var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--primary);
  flex-shrink: 0;
  z-index: 1;
  position: relative;
}

.process-step.active .process-step-num {
  background: var(--primary);
  color: #fff;
}

.process-step-content {
  flex: 1;
  padding-top: 8px;
}

.process-step-content h3 {
  font-size: 1.35rem;
  color: var(--text-dark);
  margin-bottom: 10px;
  font-weight: 700;
}

.process-step-content p {
  color: var(--text-body);
  margin-bottom: 12px;
  line-height: 1.8;
}

.process-step-tags {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.process-step-tags span {
  padding: 4px 14px;
  background: var(--accent-light);
  color: var(--primary);
  border-radius: 16px;
  font-size: 0.8rem;
  font-weight: 500;
}

/* ---------- 联系页面 ---------- */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 48px;
}

.contact-info-card {
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  border-radius: 20px;
  padding: 48px;
  color: #fff;
}

.contact-info-card h3 {
  font-size: 1.4rem;
  margin-bottom: 32px;
}

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

.contact-info-icon {
  width: 44px;
  height: 44px;
  background: rgba(255, 255, 255, 0.15);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  flex-shrink: 0;
}

.contact-info-item h4 {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: 4px;
  font-weight: 500;
}

.contact-info-item p {
  font-size: 1.05rem;
  font-weight: 600;
}

.contact-form-card {
  background: var(--bg-white);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 48px;
  box-shadow: var(--shadow-md);
}

.contact-form-card h3 {
  font-size: 1.4rem;
  color: var(--text-dark);
  margin-bottom: 8px;
}

.contact-form-card > p {
  color: var(--text-light);
  margin-bottom: 32px;
  font-size: 0.95rem;
}

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

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

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

.form-group label .required {
  color: #ef4444;
}

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

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--primary);
  background: #fff;
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}

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

.form-submit {
  width: 100%;
  padding: 16px;
  font-size: 1.05rem;
}

.form-success {
  display: none;
  background: #ecfdf5;
  border: 1px solid #a7f3d0;
  border-radius: var(--radius-sm);
  padding: 20px;
  text-align: center;
  color: #047857;
  font-weight: 600;
  margin-top: 16px;
}

.form-success.show {
  display: block;
  animation: fadeIn 0.3s ease;
}

/* ---------- 页脚 ---------- */
.footer {
  background: #0f172a;
  color: #94a3b8;
  padding: 64px 0 0;
}

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

.footer-brand .logo {
  color: #fff;
  margin-bottom: 16px;
}

.footer-brand p {
  font-size: 0.9rem;
  line-height: 1.8;
  max-width: 320px;
}

.footer-col h4 {
  color: #fff;
  font-size: 1rem;
  margin-bottom: 20px;
  font-weight: 600;
}

.footer-col ul {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-col a {
  color: #94a3b8;
  font-size: 0.9rem;
}

.footer-col a:hover {
  color: #fff;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding: 24px 0;
  text-align: center;
  font-size: 0.85rem;
}

.footer-bottom a {
  color: var(--accent);
}

/* ---------- 动画 ---------- */
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.fade-in {
  animation: fadeInUp 0.6s ease forwards;
}

/* ---------- 滚动动画初始状态 ---------- */
.scroll-animate {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.scroll-animate.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ---------- AI科技横幅 ---------- */
.ai-banner {
  position: relative;
  background: linear-gradient(135deg, #0f172a 0%, #1e3a5f 50%, #0c1e3a 100%);
  padding: 80px 0;
  overflow: hidden;
}

.ai-banner-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}

.ai-banner-bg svg {
  width: 100%;
  height: 100%;
}

.ai-banner .container {
  position: relative;
  z-index: 1;
}

.ai-banner-content {
  text-align: center;
  max-width: 700px;
  margin: 0 auto;
}

.ai-banner-tag {
  display: inline-block;
  padding: 6px 16px;
  background: rgba(96, 165, 250, 0.15);
  border: 1px solid rgba(96, 165, 250, 0.3);
  border-radius: 20px;
  color: #60a5fa;
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 20px;
}

.ai-banner-content h2 {
  color: #fff;
  font-size: 2.25rem;
  font-weight: 700;
  margin-bottom: 16px;
}

.ai-banner-content > p {
  color: rgba(255, 255, 255, 0.7);
  font-size: 1.05rem;
  line-height: 1.8;
  margin-bottom: 40px;
}

.ai-banner-stats {
  display: flex;
  justify-content: center;
  gap: 60px;
}

.ai-banner-stat-num {
  font-size: 2.5rem;
  font-weight: 800;
  background: linear-gradient(135deg, #60a5fa, #0ea5e9);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 8px;
}

.ai-banner-stat-label {
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.9rem;
}

/* AI 工具徽章行 */
.ai-tools-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin-top: 36px;
}

.ai-tool-badge {
  padding: 8px 16px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 20px;
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.85rem;
  font-weight: 500;
  transition: all 0.25s;
  letter-spacing: 0.02em;
}

.ai-tool-badge:hover {
  background: rgba(96, 165, 250, 0.2);
  border-color: rgba(96, 165, 250, 0.4);
  color: #fff;
  transform: translateY(-2px);
}

/* ---------- 合作客户 ---------- */
.clients-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
  margin-bottom: 32px;
}

.client-card {
  width: calc(20% - 16px);
  min-width: 175px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px 16px;
  text-align: center;
  transition: all 0.3s ease;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
}

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

.client-badge {
  width: 56px;
  height: 56px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  flex-shrink: 0;
}

.client-badge svg {
  width: 28px;
  height: 28px;
}

.client-badge.bg-telecom { background: linear-gradient(135deg, #0a4d9c, #1565c0); }
.client-badge.bg-fintech { background: linear-gradient(135deg, #00796b, #00b4a6); }
.client-badge.bg-bank { background: linear-gradient(135deg, #b81c22, #d9261c); }
.client-badge.bg-liquor { background: linear-gradient(135deg, #6b1f2b, #a52936); }
.client-badge.bg-university { background: linear-gradient(135deg, #1a3a6b, #2c5282); }
.client-badge.bg-metro { background: linear-gradient(135deg, #c2410c, #f08240); }
.client-badge.bg-tourism { background: linear-gradient(135deg, #2d7a5f, #38a169); }
.client-badge.bg-red { background: linear-gradient(135deg, #c1272d, #e63946); }
.client-badge.bg-blue { background: linear-gradient(135deg, #1e40af, #2563eb); }
.client-badge.bg-indigo { background: linear-gradient(135deg, #3730a3, #4f46e5); }
.client-badge.bg-purple { background: linear-gradient(135deg, #6b34a3, #8b5cf6); }
.client-badge.bg-orange { background: linear-gradient(135deg, #ea580c, #f59e0b); }
.client-badge.bg-teal { background: linear-gradient(135deg, #0f766e, #14b8a6); }

.client-card h3 {
  font-size: 1rem;
  font-weight: 600;
  color: var(--text-dark);
  line-height: 1.5;
}

.client-card p {
  font-size: 0.8rem;
  color: var(--text-body);
  line-height: 1.6;
}

.clients-note {
  text-align: center;
  font-size: 0.85rem;
  color: var(--text-muted, #94a3b8);
  margin-top: 8px;
}

/* ---------- 返回顶部按钮 ---------- */
.back-to-top {
  position: fixed;
  bottom: 32px;
  right: 32px;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: var(--primary);
  color: #fff;
  border: none;
  box-shadow: 0 4px 16px rgba(37, 99, 235, 0.3);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transform: translateY(16px);
  transition: all 0.35s ease;
  z-index: 999;
}
.back-to-top.visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.back-to-top:hover {
  background: var(--primary-dark);
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(37, 99, 235, 0.45);
}

/* ---------- 页脚图标 ---------- */
.footer-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 20px;
  height: 20px;
  margin-right: 6px;
  vertical-align: middle;
  flex-shrink: 0;
}
.footer-icon svg {
  width: 16px;
  height: 16px;
}

/* ---------- 联系页面图标 ---------- */
.contact-info-icon-svg {
  width: 44px;
  height: 44px;
  background: rgba(255, 255, 255, 0.15);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.contact-info-icon-svg svg {
  width: 22px;
  height: 22px;
  color: #fff;
}

/* ---------- 案例展示 ---------- */
.cases-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.case-card {
  background: var(--bg-white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: var(--transition);
}
.case-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: var(--primary-light);
}
.case-card-visual {
  height: 200px;
  background: linear-gradient(135deg, #f0f7ff, #e0f2fe);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}
.case-card-visual svg {
  width: 100%;
  height: 100%;
  padding: 24px;
}
.case-card-body {
  padding: 24px 22px;
}
.case-card-body h3 {
  font-size: 1.2rem;
  color: var(--text-dark);
  font-weight: 700;
  margin-bottom: 4px;
}
.case-card-client {
  font-size: 0.85rem;
  color: var(--primary);
  font-weight: 600;
  margin-bottom: 12px;
}
.case-card-body > p {
  font-size: 0.9rem;
  color: var(--text-body);
  line-height: 1.7;
  margin-bottom: 14px;
}
.case-tags {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
}
.case-tag {
  padding: 3px 12px;
  background: var(--accent-light);
  color: var(--primary);
  border-radius: 12px;
  font-size: 0.78rem;
  font-weight: 500;
}

/* ---------- about-visual 增强 ---------- */
.about-visual-illustration {
  margin-bottom: 28px;
  display: flex;
  justify-content: center;
}
.about-visual-illustration svg {
  width: 100%;
  max-width: 320px;
  height: auto;
  border-radius: 16px;
  box-shadow: 0 8px 32px rgba(37, 99, 235, 0.15);
}

/* ---------- 页脚分隔线装饰 ---------- */
.footer-decorator {
  margin-bottom: 48px;
  padding-top: 48px;
  border-top: 1px solid rgba(255,255,255,0.08);
}

/* ---------- 扎根巴蜀·数智赋能 ---------- */
.sc-tech-section {
  background: linear-gradient(180deg, #fff 0%, #f0f7ff 50%, #e0f2fe 100%);
  position: relative;
  overflow: hidden;
}
.sc-tech-section::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background:
    radial-gradient(circle at 10% 30%, rgba(37,99,235,0.03) 0%, transparent 50%),
    radial-gradient(circle at 85% 70%, rgba(14,165,233,0.04) 0%, transparent 50%);
  pointer-events: none;
}
.sc-tech-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  margin-top: 16px;
}
.sc-tech-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 32px 24px;
  transition: transform 0.25s, box-shadow 0.25s, border-color 0.25s;
}
.sc-tech-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 32px rgba(37,99,235,0.1);
  border-color: var(--primary-light);
}
.sc-tech-icon {
  width: 64px;
  height: 64px;
  color: var(--primary);
  margin-bottom: 20px;
}
.sc-tech-icon svg {
  width: 64px;
  height: 64px;
}
.sc-tech-card h3 {
  font-size: 1.25rem;
  color: var(--text-dark);
  margin-bottom: 10px;
  font-weight: 700;
}
.sc-tech-card p {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 16px;
}
.sc-tech-tags {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}
.sc-tech-tags span {
  padding: 4px 12px;
  background: var(--accent-light);
  color: var(--primary);
  border-radius: 12px;
  font-size: 0.78rem;
  font-weight: 500;
}
.sc-tech-stats {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 40px;
  margin-top: 48px;
  padding: 24px;
  background: rgba(255,255,255,0.7);
  border-radius: 12px;
  max-width: 640px;
  margin-left: auto;
  margin-right: auto;
}
.sc-tech-stat {
  text-align: center;
}
.sc-tech-stat-num {
  display: block;
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--primary);
  letter-spacing: 1px;
}
.sc-tech-stat-desc {
  display: block;
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-top: 4px;
}
.sc-tech-stat-divider {
  width: 1px;
  height: 32px;
  background: var(--border);
}

/* ---------- 响应式 ---------- */
@media (max-width: 968px) {
  .hero .container {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .hero-content {
    max-width: 100%;
    margin: 0 auto;
  }

  .hero-actions,
  .hero-stats {
    justify-content: center;
  }

  .hero-stats {
    flex-wrap: wrap;
  }

  .hero-visual {
    order: -1;
  }

  .sc-tech-grid {
    grid-template-columns: 1fr;
  }

  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .cases-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .clients-grid .client-card {
    width: calc(33.333% - 14px);
  }

  .advantages-grid,
  .values-grid {
    grid-template-columns: 1fr;
  }

  .about-intro {
    grid-template-columns: 1fr;
  }

  .service-detail {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .service-detail:nth-child(even) .service-detail-text {
    order: 0;
  }

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

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

@media (max-width: 640px) {
  .nav-menu {
    display: none;
  }

  .nav-toggle {
    display: flex;
  }

  .logo-icon-img {
    height: 36px;
  }

  .logo-icon-img-footer {
    height: 48px;
  }

  .logo-text {
    font-size: 1.2rem;
  }

  .nav-menu.open {
    display: flex;
    position: absolute;
    top: 88px;
    left: 0;
    right: 0;
    background: #fff;
    flex-direction: column;
    padding: 24px;
    box-shadow: var(--shadow-md);
    gap: 20px;
  }

  .hero h1 {
    font-size: 2rem;
  }

  .hero-subtitle {
    font-size: 1rem;
  }

  .section-header h2 {
    font-size: 1.65rem;
  }

  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }

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

  .ai-banner-stats {
    flex-direction: column;
    gap: 30px;
  }

  .ai-banner-content h2 {
    font-size: 1.5rem;
  }

  .ai-banner-stat-num {
    font-size: 2rem;
  }

  .ai-tools-row {
    gap: 6px;
    margin-top: 24px;
  }
  .ai-tool-badge {
    padding: 6px 12px;
    font-size: 0.78rem;
  }

  .clients-grid .client-card {
    width: calc(50% - 10px);
  }

  .service-detail-features {
    grid-template-columns: 1fr;
  }

  .form-row {
    grid-template-columns: 1fr;
  }

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

  .cta-section {
    padding: 40px 24px;
  }

  .cta-section h2 {
    font-size: 1.5rem;
  }

  .section {
    padding: 56px 0;
  }

  .page-banner {
    padding: 120px 0 56px;
  }

  .page-banner h1 {
    font-size: 2rem;
  }

  .contact-info-card,
  .contact-form-card {
    padding: 32px 24px;
  }
}
