/* 
 * 百川.谱眼 - 高光谱在线分选网站
 * 主样式文件
 * 版本: 1.0.0
 * 更新: 2026-04-08
 */

/* ========================================
   CSS变量定义
   ======================================== */
:root {
  /* 主色调 - 科技蓝 */
  --primary-color: #0052D9;
  --primary-light: #3B82F6;
  --primary-dark: #003399;
  
  /* 辅助色 - 环保绿 */
  --accent-color: #10B981;
  --accent-light: #34D399;
  --accent-dark: #059669;
  
  /* 中性色 */
  --text-dark: #1F2937;
  --text-gray: #6B7280;
  --text-light: #9CA3AF;
  --bg-white: #FFFFFF;
  --bg-light: #F9FAFB;
  --bg-blue: #EFF6FF;
  
  /* 渐变色 */
  --gradient-primary: linear-gradient(135deg, #0052D9 0%, #3B82F6 100%);
  --gradient-accent: linear-gradient(135deg, #10B981 0%, #34D399 100%);
  --gradient-dark: linear-gradient(180deg, #0F172A 0%, #1E3A5F 100%);
  
  /* 阴影 */
  --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
  --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
  
  /* 圆角 */
  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 12px;
  --radius-xl: 16px;
  --radius-full: 9999px;
  
  /* 过渡 */
  --transition-fast: 150ms ease;
  --transition-normal: 300ms ease;
  --transition-slow: 500ms ease;
  
  /* 字体 */
  --font-sans: 'Inter', 'PingFang SC', 'Microsoft YaHei', sans-serif;
}

/* ========================================
   基础重置
   ======================================== */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-sans);
  color: var(--text-dark);
  background-color: var(--bg-white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

a {
  text-decoration: none;
  color: inherit;
  transition: color var(--transition-fast);
}

a:hover {
  color: var(--primary-color);
}

ul, ol {
  list-style: none;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

button {
  cursor: pointer;
  border: none;
  background: none;
  font-family: inherit;
}

input, textarea, select {
  font-family: inherit;
  font-size: inherit;
}

/* ========================================
   容器与布局
   ======================================== */
.container {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 20px;
}

.section {
  padding: 80px 0;
}

.section-header {
  text-align: center;
  margin-bottom: 60px;
}

.section-title {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 16px;
  position: relative;
  display: block;
  text-align: center;
}

.section-title::after {
  content: '';
  position: absolute;
  bottom: -8px;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 4px;
  background: var(--gradient-accent);
  border-radius: 2px;
}

.section-subtitle {
  font-size: 1.125rem;
  color: var(--text-gray);
  max-width: 600px;
  margin: 0 auto;
}

/* ========================================
   导航栏
   ======================================== */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  z-index: 1000;
  transition: all var(--transition-normal);
}

.header.scrolled {
  box-shadow: var(--shadow-md);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 80px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 12px;
}

.logo-icon {
  width: 48px;
  height: 48px;
}

.logo-text {
  display: flex;
  flex-direction: column;
}

.logo-name {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--primary-color);
  line-height: 1.2;
}

.logo-slogan {
  font-size: 0.75rem;
  color: var(--text-gray);
}

.nav {
  display: flex;
  align-items: center;
  gap: 32px;
}

.nav-link {
  font-size: 0.9375rem;
  font-weight: 500;
  color: var(--text-dark);
  padding: 8px 0;
  position: relative;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--primary-color);
  transition: width var(--transition-normal);
}

.nav-link:hover::after,
.nav-link.active::after {
  width: 100%;
}

.nav-cta {
  background: var(--gradient-primary);
  color: white;
  padding: 10px 24px;
  border-radius: var(--radius-full);
  font-weight: 500;
  transition: all var(--transition-normal);
}

.nav-cta:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
  color: white;
}

/* ========================================
   Hero 区域
   ======================================== */
.hero {
  min-height: 100vh;
  background: var(--gradient-dark);
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><circle cx="50" cy="50" r="40" fill="none" stroke="rgba(59,130,246,0.1)" stroke-width="0.5"/></svg>') repeat;
  background-size: 100px 100px;
  opacity: 0.5;
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 800px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(16, 185, 129, 0.2);
  color: var(--accent-light);
  padding: 8px 16px;
  border-radius: var(--radius-full);
  font-size: 0.875rem;
  font-weight: 500;
  margin-bottom: 24px;
  border: 1px solid rgba(16, 185, 129, 0.3);
}

.hero-title {
  font-size: 3.5rem;
  font-weight: 800;
  color: white;
  line-height: 1.2;
  margin-bottom: 24px;
}

.hero-title span {
  background: var(--gradient-accent);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-subtitle {
  font-size: 1.25rem;
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: 40px;
  line-height: 1.8;
}

.hero-buttons {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 32px;
  border-radius: var(--radius-lg);
  font-size: 1rem;
  font-weight: 600;
  transition: all var(--transition-normal);
}

.btn-primary {
  background: var(--gradient-primary);
  color: white;
  box-shadow: 0 4px 14px rgba(0, 82, 217, 0.4);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 82, 217, 0.5);
  color: white;
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.1);
  color: white;
  border: 1px solid rgba(255, 255, 255, 0.3);
  backdrop-filter: blur(4px);
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.2);
  color: white;
}

.hero-stats {
  display: flex;
  gap: 48px;
  margin-top: 60px;
  padding-top: 40px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.stat-item {
  text-align: left;
}

.stat-number {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--accent-light);
  line-height: 1;
}

.stat-label {
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.6);
  margin-top: 8px;
}

/* 光谱动画效果 */
.hero-spectrum {
  position: absolute;
  right: -100px;
  top: 50%;
  transform: translateY(-50%);
  width: 600px;
  height: 600px;
  opacity: 0.3;
}

.spectrum-ring {
  position: absolute;
  border-radius: 50%;
  border: 2px solid;
  animation: pulse 3s ease-in-out infinite;
}

.spectrum-ring:nth-child(1) {
  width: 100%;
  height: 100%;
  border-color: rgba(59, 130, 246, 0.3);
  animation-delay: 0s;
}

.spectrum-ring:nth-child(2) {
  width: 80%;
  height: 80%;
  top: 10%;
  left: 10%;
  border-color: rgba(16, 185, 129, 0.3);
  animation-delay: 0.5s;
}

.spectrum-ring:nth-child(3) {
  width: 60%;
  height: 60%;
  top: 20%;
  left: 20%;
  border-color: rgba(99, 102, 241, 0.3);
  animation-delay: 1s;
}

@keyframes pulse {
  0%, 100% { transform: scale(1); opacity: 0.3; }
  50% { transform: scale(1.05); opacity: 0.5; }
}

/* ========================================
   核心方案区域
   ======================================== */
.solutions {
  background: var(--bg-light);
}

.solution-tabs {
  display: flex;
  justify-content: center;
  gap: 16px;
  margin-bottom: 48px;
  flex-wrap: wrap;
}

.solution-tab {
  padding: 12px 24px;
  border-radius: var(--radius-full);
  font-size: 0.9375rem;
  font-weight: 500;
  color: var(--text-gray);
  background: white;
  border: 2px solid transparent;
  transition: all var(--transition-normal);
}

.solution-tab:hover,
.solution-tab.active {
  color: var(--primary-color);
  border-color: var(--primary-color);
  background: var(--bg-blue);
}

.solution-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

.solution-card {
  background: white;
  border-radius: var(--radius-xl);
  padding: 32px;
  box-shadow: var(--shadow-md);
  transition: all var(--transition-normal);
  position: relative;
  overflow: hidden;
}

.solution-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--gradient-primary);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--transition-normal);
}

.solution-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-xl);
}

.solution-card:hover::before {
  transform: scaleX(1);
}

/* 解决方案卡片作为链接 */
a.solution-card {
  display: block;
  text-decoration: none;
  color: inherit;
}

a.solution-card:hover {
  color: inherit;
}

.solution-icon {
  width: 64px;
  height: 64px;
  background: var(--bg-blue);
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
  font-size: 2rem;
}

.solution-title {
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--text-dark);
  margin-bottom: 12px;
}

.solution-desc {
  font-size: 0.9375rem;
  color: var(--text-gray);
  line-height: 1.7;
  margin-bottom: 20px;
}

.solution-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.solution-tag {
  padding: 4px 12px;
  background: var(--bg-light);
  color: var(--text-gray);
  border-radius: var(--radius-full);
  font-size: 0.75rem;
}

/* ========================================
   技术优势区域
   ======================================== */
.advantages {
  background: white;
}

.advantages-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
}

.advantage-card {
  text-align: center;
  padding: 40px 24px;
  border-radius: var(--radius-xl);
  background: linear-gradient(180deg, var(--bg-light) 0%, white 100%);
  transition: all var(--transition-normal);
}

.advantage-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.advantage-icon {
  width: 80px;
  height: 80px;
  background: var(--gradient-primary);
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 24px;
  font-size: 2.5rem;
  color: white;
}

.advantage-title {
  font-size: 1.125rem;
  font-weight: 600;
  color: var(--text-dark);
  margin-bottom: 12px;
}

.advantage-desc {
  font-size: 0.875rem;
  color: var(--text-gray);
  line-height: 1.6;
}

/* ========================================
   案例展示区域
   ======================================== */
.cases {
  background: var(--bg-light);
}

.cases-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
}

.case-card {
  background: white;
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  transition: all var(--transition-normal);
}

.case-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-xl);
}

.case-image {
  height: 240px;
  background: var(--gradient-dark);
  position: relative;
  overflow: hidden;
}

.case-image::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(45deg, 
    rgba(0, 82, 217, 0.3) 0%, 
    rgba(16, 185, 129, 0.3) 100%);
}

.case-badge {
  position: absolute;
  top: 16px;
  left: 16px;
  background: var(--accent-color);
  color: white;
  padding: 4px 12px;
  border-radius: var(--radius-full);
  font-size: 0.75rem;
  font-weight: 500;
}

.case-content {
  padding: 24px;
}

.case-title {
  font-size: 1.125rem;
  font-weight: 600;
  color: var(--text-dark);
  margin-bottom: 12px;
}

.case-desc {
  font-size: 0.9375rem;
  color: var(--text-gray);
  line-height: 1.6;
  margin-bottom: 16px;
}

.case-results {
  display: flex;
  gap: 24px;
  padding-top: 16px;
  border-top: 1px solid var(--bg-light);
}

.case-result {
  text-align: center;
}

.case-result-value {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--accent-color);
}

.case-result-label {
  font-size: 0.75rem;
  color: var(--text-gray);
}

/* ========================================
   技术资源区域
   ======================================== */
.resources {
  background: white;
}

.resources-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

.resource-card {
  background: var(--bg-light);
  border-radius: var(--radius-xl);
  padding: 32px;
  transition: all var(--transition-normal);
}

.resource-card:hover {
  background: white;
  box-shadow: var(--shadow-lg);
}

.resource-type {
  display: inline-block;
  padding: 4px 12px;
  background: var(--bg-blue);
  color: var(--primary-color);
  border-radius: var(--radius-full);
  font-size: 0.75rem;
  font-weight: 500;
  margin-bottom: 16px;
}

.resource-title {
  font-size: 1.125rem;
  font-weight: 600;
  color: var(--text-dark);
  margin-bottom: 12px;
  line-height: 1.4;
}

.resource-desc {
  font-size: 0.875rem;
  color: var(--text-gray);
  line-height: 1.6;
  margin-bottom: 16px;
}

.resource-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.75rem;
  color: var(--text-light);
}

/* ========================================
   合作伙伴区域
   ======================================== */
.partners {
  background: var(--bg-light);
  padding: 60px 0;
}

.partners-title {
  font-size: 1rem;
  font-weight: 500;
  color: var(--text-gray);
  text-align: center;
  margin-bottom: 32px;
}

.partners-grid {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 48px;
  flex-wrap: wrap;
}

.partner-logo {
  padding: 20px 40px;
  background: white;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  transition: all var(--transition-normal);
}

.partner-logo:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.partner-name {
  font-size: 1.125rem;
  font-weight: 600;
  color: var(--text-dark);
}

/* ========================================
   关于我们区域
   ======================================== */
.about-preview {
  background: white;
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

.about-content h3 {
  font-size: 2rem;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 24px;
}

.about-content p {
  font-size: 1rem;
  color: var(--text-gray);
  line-height: 1.8;
  margin-bottom: 16px;
}

.about-features {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  margin-top: 32px;
}

.about-feature {
  display: flex;
  align-items: flex-start;
  gap: 12px;
}

.about-feature-icon {
  width: 40px;
  height: 40px;
  background: var(--bg-blue);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary-color);
  flex-shrink: 0;
}

.about-feature-text h4 {
  font-size: 1rem;
  font-weight: 600;
  color: var(--text-dark);
  margin-bottom: 4px;
}

.about-feature-text p {
  font-size: 0.875rem;
  color: var(--text-gray);
  margin: 0;
}

.about-image {
  height: 400px;
  background: var(--gradient-dark);
  border-radius: var(--radius-xl);
  position: relative;
  overflow: hidden;
}

.about-image::before {
  content: '高光谱技术';
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  color: rgba(255, 255, 255, 0.3);
}

/* ========================================
   联系我们区域
   ======================================== */
.contact {
  background: var(--gradient-dark);
  color: white;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
}

.contact-info h3 {
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 24px;
}

.contact-info p {
  font-size: 1rem;
  opacity: 0.8;
  margin-bottom: 32px;
  line-height: 1.8;
}

.contact-list {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.contact-item {
  display: flex;
  align-items: center;
  gap: 16px;
}

.contact-icon {
  width: 48px;
  height: 48px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
}

.contact-item-text {
  display: flex;
  flex-direction: column;
}

.contact-item-label {
  font-size: 0.875rem;
  opacity: 0.6;
}

.contact-item-value {
  font-size: 1rem;
  font-weight: 500;
}

.contact-form {
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(10px);
  border-radius: var(--radius-xl);
  padding: 40px;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.form-group {
  margin-bottom: 24px;
}

.form-label {
  display: block;
  font-size: 0.875rem;
  font-weight: 500;
  margin-bottom: 8px;
  opacity: 0.8;
}

.form-input,
.form-textarea {
  width: 100%;
  padding: 14px 16px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: var(--radius-md);
  color: white;
  font-size: 1rem;
  transition: all var(--transition-fast);
}

.form-input::placeholder,
.form-textarea::placeholder {
  color: rgba(255, 255, 255, 0.5);
}

.form-input:focus,
.form-textarea:focus {
  outline: none;
  border-color: var(--primary-light);
  background: rgba(255, 255, 255, 0.15);
}

.form-textarea {
  min-height: 120px;
  resize: vertical;
}

.form-submit {
  width: 100%;
  padding: 16px;
  background: var(--gradient-accent);
  color: white;
  border: none;
  border-radius: var(--radius-lg);
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: all var(--transition-normal);
}

.form-submit:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 14px rgba(16, 185, 129, 0.4);
}

/* ========================================
   页脚 - 统一两栏布局
   ======================================== */
.footer {
  background: #0F172A;
  color: white;
  padding: 40px 0 20px;
}

/* 两栏布局容器 */
.footer-two-column {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 40px;
  align-items: center;
  margin-bottom: 30px;
}

/* 第一栏：四个分类链接区块 */
.footer-primary {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
  width: 100%;
}

.footer-section {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-section h4 {
  font-size: 1rem;
  font-weight: 600;
  color: white;
  margin-bottom: 5px;
  border-bottom: 2px solid var(--primary-color, #10b981);
  padding-bottom: 8px;
  display: inline-block;
}

.footer-section a {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.75);
  text-decoration: none;
  transition: color var(--transition-fast);
  padding: 2px 0;
}

.footer-section a:hover {
  color: white;
}

/* 第二栏：品牌+联系方式 */
.footer-secondary {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 8px;
  flex-shrink: 0;
  min-width: 180px;
}

.footer-secondary .footer-logo-text {
  font-size: 1.5rem;
  font-weight: 700;
  color: white;
}

.footer-secondary .footer-contact {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.8);
  margin: 0;
}

.footer-secondary .footer-copyright {
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.7);
  margin-top: 10px;
}

.footer-bottom {
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}

.footer-copyright,
.footer-record {
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.6);
}

.footer-record a {
  color: rgba(255, 255, 255, 0.8);
}

.footer-record a:hover {
  color: white;
}

/* 响应式：小屏幕时两栏变一栏，四栏变两栏 */
@media (max-width: 1024px) {
  .footer-primary {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }
}

@media (max-width: 768px) {
  .footer-two-column {
    grid-template-columns: 1fr;
    gap: 30px;
    text-align: center;
  }
  
  .footer-primary {
    grid-template-columns: repeat(2, 1fr);
    justify-items: center;
  }
  
  .footer-secondary {
    align-items: center;
    text-align: center;
  }
}

@media (max-width: 480px) {
  .footer-primary {
    grid-template-columns: 1fr;
  }
}

/* ========================================
   页脚 - 旧的单行样式（保留兼容）
   ======================================== */
.footer-single-row {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 16px 24px;
  margin-bottom: 30px;
}

.footer-single-row .footer-logo-text {
  font-size: 1.25rem;
  font-weight: 700;
  color: white;
}

.footer-single-row .footer-link {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.8);
  text-decoration: none;
  transition: color var(--transition-fast);
}

.footer-single-row .footer-link:hover {
  color: white;
}

/* 社交链接 */
.footer-social-link {
  width: 40px;
  height: 40px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--transition-fast);
}

/* ========================================
   页面标题区
   ======================================== */
.page-header {
  background: var(--gradient-dark);
  padding: 160px 0 80px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.page-header::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><circle cx="50" cy="50" r="40" fill="none" stroke="rgba(59,130,246,0.1)" stroke-width="0.5"/></svg>') repeat;
  background-size: 100px 100px;
}

.page-header-content {
  position: relative;
  z-index: 1;
}

.page-title {
  font-size: 2.5rem;
  font-weight: 700;
  color: white;
  margin-bottom: 16px;
}

.page-subtitle {
  font-size: 1.125rem;
  color: rgba(255, 255, 255, 0.7);
  max-width: 600px;
  margin: 0 auto;
}

.page-breadcrumb {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-bottom: 24px;
}

.page-breadcrumb a,
.page-breadcrumb span {
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.6);
}

.page-breadcrumb a:hover {
  color: white;
}

/* ========================================
   解决方案详情页
   ======================================== */
.solution-detail {
  background: white;
}

.solution-hero {
  padding: 120px 0 60px;
  background: var(--gradient-dark);
  color: white;
}

.solution-hero-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

.solution-hero h1 {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 24px;
}

.solution-hero p {
  font-size: 1.125rem;
  opacity: 0.8;
  line-height: 1.8;
  margin-bottom: 32px;
}

.solution-hero-image {
  height: 300px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-xl);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  opacity: 0.5;
}

.solution-section {
  padding: 60px 0;
}

.solution-section:nth-child(even) {
  background: var(--bg-light);
}

.solution-section h2 {
  font-size: 1.75rem;
  font-weight: 600;
  color: var(--text-dark);
  margin-bottom: 24px;
}

.solution-section p {
  font-size: 1rem;
  color: var(--text-gray);
  line-height: 1.8;
  margin-bottom: 16px;
}

.solution-list {
  margin-top: 24px;
}

.solution-list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 16px;
  font-size: 1rem;
  color: var(--text-gray);
}

.solution-list li::before {
  content: '✓';
  width: 24px;
  height: 24px;
  background: var(--accent-color);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  flex-shrink: 0;
}

/* ========================================
   产品中心
   ======================================== */
.products-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

.product-card {
  background: white;
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  transition: all var(--transition-normal);
}

.product-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-xl);
}

/* 核心产品居中样式 */
.featured-product-center {
  display: flex;
  justify-content: center;
  margin-bottom: 48px;
}

.featured-product-center .product-card-featured {
  max-width: 600px;
  width: 100%;
}

.product-card-featured .product-image {
  height: 220px;
  background: linear-gradient(135deg, #0a1628 0%, #1a365d 50%, #0f766e 100%);
  position: relative;
}

.product-card-featured .product-badge {
  position: absolute;
  top: 16px;
  right: 16px;
  padding: 6px 14px;
  background: linear-gradient(135deg, #10B981 0%, #059669 100%);
  color: white;
  border-radius: var(--radius-full);
  font-size: 0.8rem;
  font-weight: 600;
  z-index: 1;
}

.product-card-featured .product-link {
  display: inline-block;
  color: var(--primary-color);
  font-weight: 600;
  font-size: 0.95rem;
}

.product-card-featured .product-link:hover {
  color: var(--primary-dark);
}

.product-image {
  height: 200px;
  background: var(--gradient-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3rem;
  color: rgba(255, 255, 255, 0.3);
}

.product-content {
  padding: 24px;
}

.product-title {
  font-size: 1.125rem;
  font-weight: 600;
  color: var(--text-dark);
  margin-bottom: 12px;
}

.product-desc {
  font-size: 0.9375rem;
  color: var(--text-gray);
  line-height: 1.6;
  margin-bottom: 16px;
}

.product-specs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 16px;
}

.product-spec {
  padding: 4px 10px;
  background: var(--bg-light);
  color: var(--text-gray);
  border-radius: var(--radius-sm);
  font-size: 0.75rem;
}

/* ========================================
   响应式设计
   ======================================== */
@media (max-width: 1024px) {
  .hero-title {
    font-size: 2.5rem;
  }
  
  .advantages-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .about-grid,
  .contact-grid,
  .solution-hero-content {
    grid-template-columns: 1fr;
    gap: 40px;
  }
}

@media (max-width: 768px) {
  .section {
    padding: 60px 0;
  }
  
  .section-title {
    font-size: 2rem;
  }
  
  .nav {
    display: none;
  }
  
  .hero {
    min-height: auto;
    padding: 120px 0 60px;
  }
  
  .hero-title {
    font-size: 2rem;
  }
  
  .hero-subtitle {
    font-size: 1rem;
  }
  
  .hero-stats {
    flex-direction: column;
    gap: 24px;
  }
  
  .solution-grid,
  .cases-grid,
  .resources-grid,
  .products-grid {
    grid-template-columns: 1fr;
  }
  
  .advantages-grid {
    grid-template-columns: 1fr;
  }
  
  .about-features {
    grid-template-columns: 1fr;
  }
  
  .contact-form {
    padding: 24px;
  }
}

/* ========================================
   动画效果
   ======================================== */
.fade-in {
  opacity: 0;
  transform: translateY(20px);
  animation: fadeIn 0.6s ease forwards;
}

@keyframes fadeIn {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.solution-card:nth-child(1) { animation-delay: 0.1s; }
.solution-card:nth-child(2) { animation-delay: 0.2s; }
.solution-card:nth-child(3) { animation-delay: 0.3s; }

/* ========================================
   工具类
   ======================================== */
.text-center { text-align: center; }
.text-left { text-align: left; }
.text-right { text-align: right; }

.mt-4 { margin-top: 16px; }
.mt-8 { margin-top: 32px; }
.mb-4 { margin-bottom: 16px; }
.mb-8 { margin-bottom: 32px; }

.hidden { display: none; }
.visible { display: block; }

/* 移动端菜单按钮 */
.mobile-menu-btn {
  display: none;
  width: 40px;
  height: 40px;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 6px;
}

.mobile-menu-btn span {
  width: 24px;
  height: 2px;
  background: var(--text-dark);
  transition: all var(--transition-fast);
}

@media (max-width: 768px) {
  .mobile-menu-btn {
    display: flex;
  }
  
  /* 移动端菜单按钮动画 */
  .mobile-menu-btn.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
  }
  .mobile-menu-btn.active span:nth-child(2) {
    opacity: 0;
  }
  .mobile-menu-btn.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
  }
  
  /* 移动端导航菜单 */
  .header .nav {
    position: fixed;
    top: 70px;
    left: 0;
    right: 0;
    background: white;
    flex-direction: column;
    padding: 0;
    margin: 0;
    transform: translateY(-120%);
    opacity: 0;
    transition: all 0.3s ease;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
    z-index: 999;
  }
  
  .header .nav.mobile-open {
    transform: translateY(0);
    opacity: 1;
  }
  
  .header .nav .nav-link {
    padding: 16px 24px;
    border-bottom: 1px solid #f0f0f0;
    text-align: left;
  }
  
  .header .nav .nav-cta {
    margin: 16px 24px;
    padding: 14px 24px;
    text-align: center;
    border-radius: 8px;
  }
}

/* ========================================
   右侧悬浮栏
   ======================================== */
.floating-bar {
  position: fixed;
  right: 20px;
  bottom: 100px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  z-index: 999;
}

.floating-item {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  font-size: 1.25rem;
  text-decoration: none;
}

.floating-item:hover {
  transform: scale(1.1);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
}

.floating-item.phone {
  background: linear-gradient(135deg, #10B981, #059669);
  color: white;
}

.floating-item.chat {
  background: linear-gradient(135deg, #0052D9, #3B82F6);
  color: white;
}

.floating-item.top {
  background: white;
  color: var(--text-dark);
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
}

.floating-item.top.visible {
  opacity: 1;
  visibility: visible;
}

.floating-item.top:hover {
  background: var(--bg-light);
}

/* ========================================
   Cookie 隐私提示
   ======================================== */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: rgba(15, 23, 42, 0.95);
  backdrop-filter: blur(10px);
  padding: 16px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  z-index: 10000;
  transform: translateY(100%);
  transition: transform 0.4s ease;
}

.cookie-banner.show {
  transform: translateY(0);
}

.cookie-banner p {
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.875rem;
  margin: 0;
  flex: 1;
}

.cookie-banner a {
  color: #3B82F6;
  text-decoration: none;
}

.cookie-banner a:hover {
  text-decoration: underline;
}

.cookie-actions {
  display: flex;
  gap: 12px;
  flex-shrink: 0;
}

.cookie-btn {
  padding: 8px 20px;
  border-radius: 6px;
  font-size: 0.875rem;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.3s ease;
  border: none;
}

.cookie-btn.accept {
  background: linear-gradient(135deg, #0052D9, #3B82F6);
  color: white;
}

.cookie-btn.accept:hover {
  background: linear-gradient(135deg, #003D9F, #2563EB);
}

.cookie-btn.settings {
  background: transparent;
  color: rgba(255, 255, 255, 0.7);
  border: 1px solid rgba(255, 255, 255, 0.3);
}

.cookie-btn.settings:hover {
  background: rgba(255, 255, 255, 0.1);
  color: white;
}

@media (max-width: 768px) {
  .cookie-banner {
    flex-direction: column;
    text-align: center;
    padding: 20px;
    gap: 16px;
  }
  
  .cookie-actions {
    width: 100%;
    justify-content: center;
  }
  
  .floating-bar {
    right: 12px;
    bottom: 80px;
  }
  
  .floating-item {
    width: 44px;
    height: 44px;
    font-size: 1.1rem;
  }
}

/* ========================================
   留资表单弹窗
   ======================================== */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(4px);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10001;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
  padding: 20px;
}

.modal-overlay.show {
  opacity: 1;
  visibility: visible;
}

.modal-content {
  background: white;
  border-radius: 16px;
  max-width: 500px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  transform: translateY(20px) scale(0.95);
  transition: transform 0.3s ease;
}

.modal-overlay.show .modal-content {
  transform: translateY(0) scale(1);
}

.modal-header {
  padding: 24px 24px 0;
  text-align: center;
}

.modal-header h3 {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--text-dark);
  margin: 0 0 8px;
}

.modal-header p {
  color: var(--text-gray);
  font-size: 0.9375rem;
  margin: 0;
}

.modal-close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 36px;
  height: 36px;
  border: none;
  background: var(--bg-light);
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  color: var(--text-gray);
  transition: all 0.3s ease;
}

.modal-close:hover {
  background: var(--border-color);
  color: var(--text-dark);
}

.modal-body {
  padding: 24px;
}

.form-group {
  margin-bottom: 16px;
}

.form-group label {
  display: block;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--text-dark);
  margin-bottom: 6px;
}

.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-color);
  border-radius: 8px;
  font-size: 0.9375rem;
  transition: all 0.3s ease;
  font-family: inherit;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--primary-color);
  box-shadow: 0 0 0 3px rgba(0, 82, 217, 0.1);
}

.form-group textarea {
  resize: vertical;
  min-height: 100px;
}

.form-submit {
  width: 100%;
  padding: 14px;
  background: linear-gradient(135deg, #0052D9, #3B82F6);
  color: white;
  border: none;
  border-radius: 8px;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
}

.form-submit:hover {
  background: linear-gradient(135deg, #003D9F, #2563EB);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 82, 217, 0.3);
}

.form-note {
  font-size: 0.8125rem;
  color: var(--text-gray);
  text-align: center;
  margin-top: 12px;
}

@media (max-width: 768px) {
  .modal-content {
    border-radius: 12px;
  }
  
  .modal-header {
    padding: 20px 20px 0;
  }
  
  .modal-header h3 {
    font-size: 1.25rem;
  }
  
  .modal-body {
    padding: 20px;
  }
}
