/* 郴州蓝铁科技有限公司官网样式 */
/* 统一协调的设计系统 */

:root {
  /* 主要颜色 */
  --primary-color: #2563eb;
  --primary-hover: #1d4ed8;
  --secondary-color: #64748b;
  --accent-color: #0ea5e9;
  --success-color: #10b981;
  --warning-color: #f59e0b;
  --danger-color: #ef4444;
  
  /* 中性色 */
  --white: #ffffff;
  --gray-50: #f9fafb;
  --gray-100: #f3f4f6;
  --gray-200: #e5e7eb;
  --gray-300: #d1d5db;
  --gray-400: #9ca3af;
  --gray-500: #6b7280;
  --gray-600: #4b5563;
  --gray-700: #374151;
  --gray-800: #1f2937;
  --gray-900: #111827;
  --black: #000000;
  
  /* 背景色 */
  --body-bg: #f8fafc;
  --card-bg: var(--white);
  --header-bg: rgba(255, 255, 255, 0.95);
  --footer-bg: var(--gray-50);
  
  /* 边框 */
  --border-color: var(--gray-200);
  --border-radius: 12px;
  --border-radius-sm: 8px;
  --border-radius-lg: 16px;
  
  /* 阴影 */
  --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
  --shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1), 0 1px 2px -1px rgba(0, 0, 0, 0.1);
  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -2px rgba(0, 0, 0, 0.1);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -4px rgba(0, 0, 0, 0.1);
  --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 8px 10px -6px rgba(0, 0, 0, 0.1);
  
  /* 间距 */
  --spacer-1: 0.25rem;
  --spacer-2: 0.5rem;
  --spacer-3: 0.75rem;
  --spacer-4: 1rem;
  --spacer-5: 1.25rem;
  --spacer-6: 1.5rem;
  --spacer-8: 2rem;
  --spacer-10: 2.5rem;
  --spacer-12: 3rem;
  
  /* 字体 */
  --font-family-sans: 'Inter', 'Segoe UI', 'Roboto', 'Helvetica Neue', 'Arial', 'Noto Sans', sans-serif;
  --font-family-mono: 'SFMono-Regular', 'Menlo', 'Monaco', 'Consolas', 'Liberation Mono', 'Courier New', monospace;
  
  /* 字体大小 */
  --font-size-xs: 0.75rem;
  --font-size-sm: 0.875rem;
  --font-size-base: 1rem;
  --font-size-lg: 1.125rem;
  --font-size-xl: 1.25rem;
  --font-size-2xl: 1.5rem;
  --font-size-3xl: 1.875rem;
  --font-size-4xl: 2.25rem;
  --font-size-5xl: 3rem;
  
  /* 字体粗细 */
  --font-weight-normal: 400;
  --font-weight-medium: 500;
  --font-weight-semibold: 600;
  --font-weight-bold: 700;
  
  /* 行高 */
  --line-height-none: 1;
  --line-height-tight: 1.25;
  --line-height-snug: 1.375;
  --line-height-normal: 1.5;
  --line-height-relaxed: 1.625;
  --line-height-loose: 2;
  
  /* 科技感颜色变量 */
  --tech-bg: #0f172a;
  --tech-card-bg: rgba(15, 23, 42, 0.7);
  --tech-border: rgba(56, 189, 248, 0.3);
  --tech-text: #e2e8f0;
  --tech-text-muted: #94a3b8;
  --tech-glow: 0 0 20px rgba(56, 189, 248, 0.5);
}

/* 基础样式 */
*, *::before, *::after {
  box-sizing: border-box;
}

body {
  font-family: var(--font-family-sans);
  background-color: var(--body-bg);
  color: var(--gray-800);
  line-height: var(--line-height-normal);
  overflow-x: hidden;
}

/* 链接 */
a {
  color: var(--primary-color);
  text-decoration: none;
  transition: color 0.2s ease;
}

a:hover {
  color: var(--primary-hover);
  text-decoration: underline;
}

/* 导航栏样式 */
.navbar {
  background-color: var(--header-bg);
  box-shadow: var(--shadow);
  padding: var(--spacer-4) 0;
  position: sticky;
  top: 0;
  z-index: 1000;
}

.navbar-brand {
  font-weight: var(--font-weight-bold);
  color: var(--gray-900) !important;
  display: flex;
  align-items: center;
  gap: var(--spacer-2);
}

.navbar-brand img {
  height: 40px;
  width: auto;
}

.navbar-nav .nav-link {
  color: var(--gray-700) !important;
  font-weight: var(--font-weight-medium);
  margin: 0 var(--spacer-2);
  position: relative;
  transition: all 0.2s ease;
  border-radius: var(--border-radius-sm);
  padding: var(--spacer-2) var(--spacer-3);
}

.navbar-nav .nav-link:hover,
.navbar-nav .nav-link.active {
  color: var(--primary-color) !important;
  background-color: var(--gray-100);
}

/* 卡片样式 */
.card {
  background-color: var(--card-bg);
  border: 1px solid var(--border-color);
  border-radius: var(--border-radius);
  box-shadow: var(--shadow);
  transition: all 0.3s ease;
  overflow: hidden;
  height: 100%;
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.card-img-top {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.card-body {
  padding: var(--spacer-5);
}

.card-title {
  font-size: var(--font-size-lg);
  font-weight: var(--font-weight-semibold);
  margin-bottom: var(--spacer-3);
  color: var(--gray-900);
}

.card-text {
  color: var(--gray-600);
  line-height: var(--line-height-relaxed);
  margin-bottom: var(--spacer-4);
}

/* 关于我们页面的公司图片样式 */
.about-company-image {
  width: 100%;
  aspect-ratio: 4/5; /* 宽高比4:5，即高度占到5/4 */
  object-fit: cover;
}

/* 按钮样式 */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--border-radius-sm);
  font-weight: var(--font-weight-medium);
  transition: all 0.2s ease;
  cursor: pointer;
  border: 1px solid transparent;
  padding: var(--spacer-2) var(--spacer-4);
  font-size: var(--font-size-sm);
  line-height: var(--line-height-tight);
}

.btn-primary {
  background-color: var(--primary-color);
  color: var(--white);
  border-color: var(--primary-color);
}

.btn-primary:hover {
  background-color: var(--primary-hover);
  border-color: var(--primary-hover);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.btn-outline-primary {
  background-color: transparent;
  color: var(--primary-color);
  border-color: var(--primary-color);
}

.btn-outline-primary:hover {
  background-color: var(--primary-color);
  color: var(--white);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.btn-sm {
  padding: var(--spacer-1) var(--spacer-3);
  font-size: var(--font-size-xs);
}

.btn-learn-more {
  position: absolute;
  bottom: var(--spacer-4);
  right: var(--spacer-4);
  padding: var(--spacer-1) var(--spacer-3);
  font-size: var(--font-size-xs);
}

/* 科技感按钮 */
.btn-tech {
  background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
  color: white;
  border: none;
  font-weight: var(--font-weight-semibold);
  position: relative;
  overflow: hidden;
  transition: all 0.3s ease;
  box-shadow: var(--tech-glow);
}

.btn-tech:hover {
  transform: translateY(-3px);
  box-shadow: 0 0 20px rgba(56, 189, 248, 0.8);
}

.btn-tech:active {
  transform: translateY(-1px);
}

.btn-tech::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
  transition: 0.5s;
}

.btn-tech:hover::before {
  left: 100%;
}

.btn-outline-tech {
  color: var(--tech-text);
  border-color: var(--tech-border);
  background: transparent;
}

.btn-outline-tech:hover {
  background: rgba(56, 189, 248, 0.1);
  border-color: var(--accent-color);
  color: white;
}

/* 科技感卡片 */
.tech-card {
  background: var(--tech-card-bg);
  border: 1px solid var(--tech-border);
  border-radius: var(--border-radius-lg);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  box-shadow: var(--tech-glow), var(--shadow-lg);
  color: var(--tech-text);
  position: relative;
  overflow: hidden;
  transition: all 0.3s ease;
}

.tech-card::before {
  content: '';
  position: absolute;
  top: -2px;
  left: -2px;
  right: -2px;
  bottom: -2px;
  background: linear-gradient(45deg, var(--primary-color), var(--accent-color), var(--primary-color));
  z-index: -1;
  animation: tech-border-animation 3s linear infinite;
  background-size: 300% 300%;
}

.tech-card-header {
  background: rgba(15, 23, 42, 0.7);
  border-bottom: 1px solid var(--tech-border);
  padding: var(--spacer-5) var(--spacer-4);
}

.tech-card-header h3 {
  color: white;
  font-weight: var(--font-weight-bold);
  margin-bottom: var(--spacer-2);
}

.tech-card-header .logo-icon {
  width: 60px;
  height: 60px;
  background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto;
  box-shadow: var(--tech-glow);
  animation: tech-pulse 2s infinite;
}

.tech-card-footer {
  background: rgba(15, 23, 42, 0.7);
  border-top: 1px solid var(--tech-border);
  padding: var(--spacer-3);
}

/* 科技感输入框 */
.tech-input-group {
  border: 1px solid var(--tech-border);
  border-radius: var(--border-radius-sm);
  transition: all 0.3s ease;
  background: rgba(15, 23, 42, 0.5);
}

.tech-input-group:focus-within {
  border-color: var(--accent-color);
  box-shadow: 0 0 0 0.25rem rgba(56, 189, 248, 0.25);
}

.tech-input-icon {
  background: rgba(30, 41, 59, 0.8);
  border: none;
  color: var(--tech-text);
}

.tech-input {
  background: transparent;
  border: none;
  color: var(--tech-text);
  padding: var(--spacer-3);
}

.tech-input:focus {
  background: rgba(15, 23, 42, 0.7);
  color: white;
  box-shadow: none;
}

.tech-input::placeholder {
  color: var(--tech-text-muted);
}

.tech-label {
  color: var(--tech-text);
  font-weight: var(--font-weight-medium);
  margin-bottom: var(--spacer-2);
}

.tech-hint {
  color: var(--tech-text-muted);
  font-size: var(--font-size-sm);
}

.tech-checkbox {
  accent-color: var(--accent-color);
}

/* 科技感警告框 */
.tech-alert {
  background: rgba(220, 38, 38, 0.2);
  border: 1px solid rgba(220, 38, 38, 0.3);
  color: #fecaca;
  border-radius: var(--border-radius-sm);
}

/* 登录页面科技感背景 */
.login-particles {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
  overflow: hidden;
  background: linear-gradient(135deg, #0f172a, #1e293b);
}

.particle {
  position: absolute;
  border-radius: 50%;
  background: var(--accent-color);
  box-shadow: var(--tech-glow);
  animation: float 15s infinite linear;
}

@keyframes float {
  0% {
    transform: translateY(0) translateX(0) rotate(0deg);
    opacity: 1;
  }
  100% {
    transform: translateY(-1000%) translateX(1000%) rotate(720deg);
    opacity: 0;
  }
}

@keyframes tech-border-animation {
  0% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
  100% {
    background-position: 0% 50%;
  }
}

@keyframes tech-pulse {
  0% {
    box-shadow: var(--tech-glow);
  }
  50% {
    box-shadow: 0 0 20px rgba(56, 189, 248, 0.8);
  }
  100% {
    box-shadow: var(--tech-glow);
  }
}

/* 英雄区域 */
.hero-section {
  background: linear-gradient(135deg, #0c4a6e, #1e3a8a, #2563eb);
  position: relative;
  overflow: hidden;
  color: var(--white);
  padding: calc(var(--spacer-12) * 2) 0;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle at center, transparent 0%, rgba(0, 0, 0, 0.7) 100%);
}

.hero-particles {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: 
    radial-gradient(2px 2px at 20px 30px, #fff, transparent),
    radial-gradient(2px 2px at 40px 70px, rgba(255,255,255,0.8), transparent),
    radial-gradient(1px 1px at 90px 40px, #fff, transparent),
    radial-gradient(1px 1px at 130px 80px, rgba(255,255,255,0.6), transparent),
    radial-gradient(2px 2px at 160px 30px, #fff, transparent);
  background-repeat: repeat;
  background-size: 200px 100px;
  animation: sparkle 20s linear infinite;
}

@keyframes sparkle {
  from {
    background-position: 0 0;
  }
  to {
    background-position: 200px 100px;
  }
}

.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 900px;
  margin: 0 auto;
  padding: 0 var(--spacer-4);
}

.hero-badge {
  animation: bounce 2s infinite;
}

@keyframes bounce {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-10px);
  }
}

.hero-title {
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: var(--font-weight-bold);
  margin-bottom: var(--spacer-4);
  text-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
  line-height: 1.2;
}

.hero-subtitle {
  font-size: clamp(1rem, 2.5vw, 1.25rem);
  margin-bottom: var(--spacer-6);
  opacity: 0.95;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.6;
}

.hero-stats {
  margin-top: var(--spacer-8);
}

.stat-number {
  font-size: clamp(1.5rem, 3vw, 2.5rem);
  font-weight: var(--font-weight-bold);
  margin-bottom: var(--spacer-2);
  background: linear-gradient(to right, #fff, #bbdefb);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.stat-label {
  font-size: var(--font-size-sm);
  opacity: 0.8;
}

.badge {
  font-size: var(--font-size-sm);
  border-radius: 30px;
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0% {
    box-shadow: 0 0 0 0 rgba(255, 255, 255, 0.4);
  }
  70% {
    box-shadow: 0 0 0 10px rgba(255, 255, 255, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(255, 255, 255, 0);
  }
}

.hero-btn {
  border-radius: 50px;
  font-weight: var(--font-weight-semibold);
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.hero-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

.hero-btn:first-child:hover {
  transform: translateY(-3px) scale(1.05);
}

.hero-btn:last-child:hover {
  transform: translateY(-3px) scale(1.05);
}

/* 章节标题 */
.section-title {
  text-align: center;
  margin-bottom: var(--spacer-10);
}

.section-title h2 {
  font-size: var(--font-size-3xl);
  font-weight: var(--font-weight-bold);
  color: var(--gray-900);
  margin-bottom: var(--spacer-3);
}

.section-title p {
  color: var(--gray-600);
  font-size: var(--font-size-lg);
  max-width: 600px;
  margin: 0 auto;
}

.title-underline {
  width: 60px;
  height: 4px;
  background: var(--primary-color);
  border-radius: 2px;
  margin: var(--spacer-4) auto 0;
}

/* 特色项目 */
.feature-item {
  display: flex;
  align-items: flex-start;
  gap: var(--spacer-3);
  padding: var(--spacer-4);
  background-color: var(--card-bg);
  border-radius: var(--border-radius);
  box-shadow: var(--shadow-sm);
  transition: all 0.3s ease;
  height: 100%;
}

.feature-item:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.icon-box {
  width: 50px;
  height: 50px;
  border-radius: var(--border-radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: var(--font-size-xl);
  background: var(--primary-color);
  color: var(--white);
  flex-shrink: 0;
  transition: all 0.3s ease;
}

.icon-box:hover {
  transform: scale(1.1);
  box-shadow: 0 0 15px rgba(37, 99, 235, 0.4);
}

/* 核心服务卡片 */
.service-card {
  transition: all 0.3s ease;
  border: none;
  box-shadow: var(--shadow);
  border-radius: var(--border-radius);
  height: 100%;
  position: relative;
  overflow: hidden;
}

.service-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
}

.service-card:hover:before {
  transform: translateX(0);
}

.service-card:before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(37, 99, 235, 0.1), transparent);
  transition: 0.5s;
  transform: translateX(0);
}

/* 核心服务图标样式 */
.service-icon-wrapper {
  width: 90px;
  height: 90px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.service-icon-wrapper:before {
  content: '';
  position: absolute;
  width: 100%;
  height: 100%;
  border-radius: 20px;
  background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
  opacity: 0.1;
  z-index: 0;
}

.service-icon-inner {
  width: 70px;
  height: 70px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 32px;
  color: var(--primary-color);
  border: 2px solid var(--primary-color);
  border-radius: 15px;
  transition: all 0.3s ease;
  position: relative;
  z-index: 1;
  background: var(--white);
  box-shadow: 0 5px 15px rgba(37, 99, 235, 0.1);
}

.service-card:hover .service-icon-inner {
  transform: scale(1.1);
  box-shadow: 0 8px 25px rgba(37, 99, 235, 0.3);
  color: var(--white);
  background: var(--primary-color);
}

/* 技术框架 */
.tech-frame {
  position: relative;
  padding: var(--spacer-5);
  background-color: var(--card-bg);
  border-radius: var(--border-radius);
  box-shadow: var(--shadow);
  display: flex;
  align-items: center;
  justify-content: center;
}

.tech-frame img {
  width: 100%;
  border-radius: var(--border-radius-sm);
  object-fit: cover;
}

/* 公司简介部分对齐 */
@media (min-width: 992px) {
  .align-items-stretch {
    align-items: stretch !important;
  }
  
  .d-flex.flex-column {
    height: 100%;
  }
  
  .flex-grow-1 {
    flex-grow: 1;
  }
  
  .flex-shrink-0 {
    flex-shrink: 0;
  }
  
  .mt-auto {
    margin-top: auto !important;
  }
  
  .pt-4 {
    padding-top: var(--spacer-4) !important;
  }
}

/* 合作伙伴 */
.partner-logo {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100px;
  background-color: var(--card-bg);
  border-radius: var(--border-radius);
  box-shadow: var(--shadow-sm);
  transition: all 0.3s ease;
}

.partner-logo:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.partner-logo i {
  font-size: var(--font-size-3xl);
  color: var(--gray-400);
}

/* 页脚 */
footer {
  background-color: var(--footer-bg);
  border-top: 1px solid var(--border-color);
  padding: var(--spacer-10) 0 var(--spacer-6);
  color: var(--gray-700);
}

footer h5 {
  font-size: var(--font-size-lg);
  font-weight: var(--font-weight-semibold);
  color: var(--gray-900);
  margin-bottom: var(--spacer-4);
  position: relative;
  padding-bottom: var(--spacer-3);
}

footer h5::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 40px;
  height: 3px;
  background: var(--primary-color);
  border-radius: 2px;
}

footer ul {
  list-style: none;
  padding: 0;
}

footer ul li {
  margin-bottom: var(--spacer-3);
}

footer ul li a {
  color: var(--gray-600);
  transition: all 0.2s ease;
}

footer ul li a:hover {
  color: var(--primary-color);
  text-decoration: none;
}

footer .social-links {
  display: flex;
  gap: var(--spacer-3);
}

footer .social-links a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--gray-200);
  color: var(--gray-700);
  transition: all 0.3s ease;
}

footer .social-links a:hover {
  background: var(--primary-color);
  color: var(--white);
  transform: translateY(-3px);
}

.copyright {
  text-align: center;
  padding-top: var(--spacer-6);
  margin-top: var(--spacer-6);
  border-top: 1px solid var(--border-color);
  color: var(--gray-500);
  font-size: var(--font-size-sm);
}

/* 面包屑导航 */
.breadcrumb {
  background-color: var(--gray-100);
  border-radius: var(--border-radius-sm);
  padding: var(--spacer-3) var(--spacer-4);
  margin-bottom: var(--spacer-6);
}

/* 表单元素 */
.form-control, .form-select {
  display: block;
  width: 100%;
  padding: var(--spacer-2) var(--spacer-3);
  font-size: var(--font-size-base);
  line-height: var(--line-height-normal);
  color: var(--gray-700);
  background-color: var(--white);
  background-clip: padding-box;
  border: 1px solid var(--border-color);
  border-radius: var(--border-radius-sm);
  transition: border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
}

.form-control:focus, .form-select:focus {
  color: var(--gray-700);
  background-color: var(--white);
  border-color: var(--primary-color);
  outline: 0;
  box-shadow: 0 0 0 0.25rem rgba(37, 99, 235, 0.25);
}

.form-label {
  display: inline-block;
  margin-bottom: var(--spacer-2);
  font-weight: var(--font-weight-medium);
  color: var(--gray-700);
}

/* 警告框 */
.alert {
  position: relative;
  padding: var(--spacer-4);
  margin-bottom: var(--spacer-4);
  border: 1px solid transparent;
  border-radius: var(--border-radius-sm);
}

.alert-success {
  color: #0a5820;
  background-color: #d1e7dd;
  border-color: #badbcc;
}

.alert-danger {
  color: #842029;
  background-color: #f8d7da;
  border-color: #f5c2c7;
}

/* 分页 */
.pagination {
  display: flex;
  justify-content: center;
  gap: var(--spacer-1);
  padding: 0;
  list-style: none;
}

.page-link {
  position: relative;
  display: block;
  padding: var(--spacer-2) var(--spacer-3);
  margin-left: -1px;
  line-height: var(--line-height-normal);
  color: var(--primary-color);
  text-decoration: none;
  background-color: var(--white);
  border: 1px solid var(--border-color);
  transition: color 0.15s ease-in-out, background-color 0.15s ease-in-out, border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
}

.page-link:hover {
  z-index: 2;
  color: var(--white);
  background-color: var(--primary-color);
  border-color: var(--primary-color);
}

.page-item.active .page-link {
  z-index: 3;
  color: var(--white);
  background-color: var(--primary-color);
  border-color: var(--primary-color);
}

.page-item.disabled .page-link {
  color: var(--gray-400);
  pointer-events: none;
  background-color: var(--white);
  border-color: var(--border-color);
}

/* 用户头像样式 */
.user-avatar {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
  color: white;
  font-size: 1.2rem;
}

.user-id {
  font-weight: var(--font-weight-medium);
}

/* 响应式设计 */
@media (max-width: 768px) {
  .hero-section h1 {
    font-size: var(--font-size-3xl);
  }
  
  .section-title h2 {
    font-size: var(--font-size-2xl);
  }
  
  .navbar {
    padding: var(--spacer-3) 0;
  }
  
  .btn-learn-more {
    position: relative;
    bottom: auto;
    right: auto;
    margin-top: var(--spacer-4);
    display: block;
    width: 100%;
  }
  
  .hero-content {
    padding: 0 var(--spacer-3);
  }
  
  .hero-section h1 {
    font-size: var(--font-size-2xl);
  }
  
  .hero-section p {
    font-size: var(--font-size-base);
  }
  
  footer .copyright {
    text-align: center;
  }
  
  .card-body {
    padding: var(--spacer-4);
  }
  
  .tech-card-header,
  .card-body,
  .tech-card-footer {
    padding: var(--spacer-4);
  }
}

/* 加载动画 */
.spinner-border {
  width: 3rem;
  height: 3rem;
}

/* 滚动条样式 */
::-webkit-scrollbar {
  width: 8px;
}

::-webkit-scrollbar-track {
  background: var(--gray-100);
}

::-webkit-scrollbar-thumb {
  background: var(--primary-color);
  border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
  background: var(--primary-hover);
}

/* 实用类 */
.text-center {
  text-align: center;
}

.mt-3 {
  margin-top: var(--spacer-3);
}

.mt-4 {
  margin-top: var(--spacer-4);
}

.mt-5 {
  margin-top: var(--spacer-5);
}

.mb-3 {
  margin-bottom: var(--spacer-3);
}

.mb-4 {
  margin-bottom: var(--spacer-4);
}

.mb-5 {
  margin-bottom: var(--spacer-5);
}

.py-4 {
  padding-top: var(--spacer-4);
  padding-bottom: var(--spacer-4);
}

.py-5 {
  padding-top: var(--spacer-5);
  padding-bottom: var(--spacer-5);
}

.my-5 {
  margin-top: var(--spacer-5);
  margin-bottom: var(--spacer-5);
}

.h-100 {
  height: 100%;
}

.img-fluid {
  max-width: 100%;
  height: auto;
}

.fw-bold {
  font-weight: var(--font-weight-bold);
}

.fw-semibold {
  font-weight: var(--font-weight-semibold);
}

.text-primary {
  color: var(--primary-color);
}

.bg-light {
  background-color: var(--gray-100);
}

.rounded {
  border-radius: var(--border-radius);
}

.bg-dark {
  background-color: var(--tech-bg) !important;
}

/* 后台管理系统样式 */
#sidebar {
  min-width: 250px;
  max-width: 250px;
  min-height: 100vh;
  transition: all 0.3s;
  position: fixed;
  z-index: 999;
  background: rgba(255, 255, 255, 0.7);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-right: 1px solid rgba(0, 0, 0, 0.1);
  box-shadow: 0 0 15px rgba(0, 0, 0, 0.05);
  position: relative;
}

#sidebar.active {
  margin-left: -250px;
}

#sidebar .sidebar-header {
  padding: 15px 20px;
  background: rgba(255, 255, 255, 0.5);
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

#sidebar ul.components {
  padding: 15px 0;
}

#sidebar ul li a {
  padding: 8px 20px;
  font-size: 0.95rem;
  display: block;
  color: #333;
  text-decoration: none;
  transition: all 0.3s;
  border-radius: 0;
}

#sidebar ul li a:hover {
  color: #2563eb;
  background: rgba(37, 99, 235, 0.1);
}

#sidebar ul li.active>a, 
a[aria-expanded="true"] {
  color: #2563eb;
  background: rgba(37, 99, 235, 0.1);
  font-weight: 500;
}

#sidebar ul ul a {
  font-size: 0.9em !important;
  padding-left: 40px !important;
  padding-top: 6px;
  padding-bottom: 6px;
}

#sidebar ul ul a:hover {
  background: rgba(37, 99, 235, 0.05);
}

.sidebar-toggle-btn {
  position: absolute;
  top: 50%;
  right: -18px; /* 36px宽度的一半 */
  z-index: 990;
  padding: 12px;
  border-radius: 50%;
  transition: all 0.3s ease;
  transform: translateY(-50%);
  background: linear-gradient(135deg, rgba(37, 99, 235, 0.8), rgba(26, 76, 179, 0.8));
  border: 2px solid rgba(255, 255, 255, 0.2);
  color: white;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2), 
              0 0 10px rgba(37, 99, 235, 0.5) inset;
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  clip-path: inset(0 0 0 50%); /* 只显示右半部分 */
}

#sidebar.active .sidebar-toggle-btn {
  right: -18px;
  transform: translateY(-50%);
  background: linear-gradient(135deg, rgba(37, 99, 235, 0.8), rgba(26, 76, 179, 0.8));
}

#sidebar.active .sidebar-toggle-btn:hover {
  transform: translateY(-50%) translateX(2px);
  background: linear-gradient(135deg, rgba(37, 99, 235, 1), rgba(26, 76, 179, 1));
}

.sidebar-toggle-btn:hover {
  background: linear-gradient(135deg, rgba(37, 99, 235, 1), rgba(26, 76, 179, 1));
  transform: translateY(-50%) translateX(2px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3), 
              0 0 15px rgba(37, 99, 235, 0.8) inset;
}

#content {
  width: calc(100% - 250px);
  min-height: 100vh;
  transition: all 0.3s;
  position: absolute;
  top: 0;
  right: 0;
}

.navbar-top {
  padding: 10px 20px;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  box-shadow: 0 0.125rem 0.25rem rgba(0, 0, 0, 0.075);
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.navbar-top .navbar-brand {
  font-weight: bold;
  color: #2c3e50;
}

/* 登录页面样式 */
.login-container {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 100vh;
  padding: 1rem;
}

.login-card {
  width: 100%;
  max-width: 400px;
  border-radius: var(--border-radius);
  box-shadow: var(--shadow-lg);
}

/* 响应式登录表单 */
@media (max-width: 576px) {
  .login-card {
    max-width: 100%;
    margin: 1rem;
  }
  
  .card-body {
    padding: var(--spacer-4);
  }
  
  .form-label {
    font-size: var(--font-size-sm);
  }
  
  .form-control, .input-group-text {
    font-size: var(--font-size-sm);
    padding: var(--spacer-2);
  }
  
  .btn {
    padding: var(--spacer-2) var(--spacer-3);
  }
  
  .tech-card-header h3 {
    font-size: var(--font-size-lg);
  }
}

@media (max-width: 768px) {
  #sidebar {
      margin-left: -250px;
  }
  #sidebar.active {
      margin-left: 0;
  }
  .sidebar-toggle-btn {
      right: -18px;
  }
  #sidebar.active .sidebar-toggle-btn {
      right: -18px;
  }
  #content {
      width: 100%;
  }
  #sidebarCollapse span {
      display: none;
  }
}