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

html {
  scroll-behavior: smooth;
}

body {
    font-family: var(--font-main);
    line-height: 1.6;
    color: var(--text-color);
    background-color: var(--bg-color);
    overflow-x: hidden;
    
    /* 性能优化：启用字体显示优化 */
    font-display: swap;
    
    /* 性能优化：预加载字体指标 */
    text-size-adjust: 100%;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* 性能优化：图片加载优化 */
img {
    max-width: 100%;
    height: auto;
    display: block;
    
    /* 性能优化：防止布局偏移 */
    aspect-ratio: attr(width) / attr(height);
    
    /* 性能优化：渐进式加载 */
    image-rendering: optimizeQuality;
}

/* 性能优化：懒加载图片样式 */
img.lazy {
    opacity: 0;
    transition: opacity 0.3s ease;
}

img.lazy.loaded {
    opacity: 1;
}

/* 性能优化：减少重绘和重排 */
.layout-optimized {
    will-change: transform;
    transform: translateZ(0);
    backface-visibility: hidden;
}

/* 交互动画和过渡效果 */

/* 全局过渡设置 */
* {
  transition: background-color 0.3s ease, border-color 0.3s ease;
}

a,
button,
input,
.card,
.feature-box {
  transition: all 0.3s ease;
}

/* 动画优化类 */
.animation-optimized {
    transform: translateZ(0);
    will-change: transform, opacity;
    animation-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
}

.will-change-transform {
  will-change: transform;
}

.will-change-opacity {
  will-change: opacity;
}

/* 减少字体闪烁 */
@font-face {
    font-family: 'CustomFont';
    font-display: swap;
    src: url('fonts/font.woff2') format('woff2'),
         url('fonts/font.woff') format('woff');
}

/* 关键渲染路径优化 */
.critical-path {
    content-visibility: auto;
    contain-intrinsic-size: 1px 1000px;
}

.content-visibility-auto {
  content-visibility: auto;
}

/* 滚动触发动画基础样式 */
.animate-on-scroll {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

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

/* 交错动画延迟 */
.animate-on-scroll:nth-child(2) {
  transition-delay: 0.1s;
}

.animate-on-scroll:nth-child(3) {
  transition-delay: 0.2s;
}

.animate-on-scroll:nth-child(4) {
  transition-delay: 0.3s;
}

.animate-on-scroll:nth-child(5) {
  transition-delay: 0.4s;
}

/* 淡入动画 */
.fade-in {
  animation: fadeIn 0.8s ease forwards;
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

/* 滑入动画 */
.slide-in {
  animation: slideIn 0.8s ease forwards;
}

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

/* 缩放动画 */
.scale-in {
  animation: scaleIn 0.6s ease forwards;
}

@keyframes scaleIn {
  from {
    transform: scale(0.9);
    opacity: 0;
  }
  to {
    transform: scale(1);
    opacity: 1;
  }
}

/* 脉冲动画 */
.pulse {
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.05);
  }
  100% {
    transform: scale(1);
  }
}

/* 浮动动画 */
.float {
  animation: float 6s ease-in-out infinite;
}

@keyframes float {
  0% {
    transform: translateY(0px);
  }
  50% {
    transform: translateY(-15px);
  }
  100% {
    transform: translateY(0px);
  }
}

/* 按钮悬停效果 */
.btn {
  position: relative;
  overflow: hidden;
  z-index: 1;
}

.btn::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: left 0.5s ease;
  z-index: -1;
}

.btn:hover::before {
  left: 100%;
}

.btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.btn:active {
  transform: translateY(0);
  box-shadow: 0 5px 10px rgba(0, 0, 0, 0.1);
}

/* 卡片悬停效果 */
.card-hover-effect {
  position: relative;
  overflow: hidden;
}

.card-hover-effect:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 30px rgba(0, 0, 0, 0.1);
}

.card-hover-effect::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.1) 0%, transparent 100%);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.card-hover-effect:hover::after {
  opacity: 1;
}

/* 特性卡片动画 */
.feature-box {
  position: relative;
  overflow: hidden;
}

.feature-box:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.feature-box:hover .icon-box {
  transform: scale(1.1) rotate(5deg);
}

.feature-box .icon-box {
  transition: transform 0.3s ease;
}

/* 导航链接动画 */
.nav-link {
  position: relative;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 0;
  height: 2px;
  background-color: var(--primary-color);
  transition: width 0.3s ease, left 0.3s ease;
}

.nav-link:hover::after {
  width: 100%;
  left: 0;
}

/* 标题动画 */
.animated-title {
  position: relative;
  display: inline-block;
}

.animated-title::after {
  content: '';
  position: absolute;
  bottom: -8px;
  left: 0;
  width: 0;
  height: 3px;
  background: var(--primary-color);
  transition: width 0.5s ease;
}

.animated-title:hover::after {
  width: 100%;
}

/* 社交媒体图标动画 */
.social-icon {
  transition: all 0.3s ease;
}

.social-icon:hover {
  transform: translateY(-3px) rotate(5deg);
  filter: brightness(1.2);
}

/* 响应式动画调整 */
@media (max-width: 768px) {
  .card-hover-effect:hover {
    transform: translateY(-5px);
  }
  
  .feature-box:hover {
    transform: translateY(-3px);
  }
  
  .animate-on-scroll {
    transition: opacity 0.6s ease, transform 0.6s ease;
  }
}

/* 导航栏样式 */
.navbar {
    padding: 1rem 0;
    transition: all 0.3s ease;
}

.navbar-scrolled {
    background-color: var(--white);
    padding: 0.5rem 0;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.navbar-brand {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-color);
}

.navbar-nav .nav-link {
    color: var(--text-color);
    font-weight: 500;
    margin-left: 1.5rem;
    transition: color 0.3s ease;
}

.navbar-nav .nav-link:hover,
.navbar-nav .nav-link.active {
    color: var(--primary-color);
}

.navbar-toggler {
    border: none;
    outline: none;
}

.navbar-toggler:focus {
    box-shadow: none;
}

/* 英雄区样式 */
.hero {
    position: relative;
    padding: 100px 0;
    background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('../images/hero-bg.svg') no-repeat center center;
    background-size: cover;
    opacity: 0.1;
    z-index: 0;
}

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

.hero h1 {
    font-size: 3.5rem;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 20px;
    color: var(--text-color);
}

.hero p {
    font-size: 1.2rem;
    color: var(--text-secondary);
    margin-bottom: 30px;
    max-width: 600px;
}

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

.hero-stats {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    margin-top: 40px;
}

.stat-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 0 20px;
    border-right: 1px solid rgba(0, 0, 0, 0.1);
}

.stat-item:last-child {
    border-right: none;
}

.stat-number {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 5px;
}

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

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

.hero-image img {
    max-width: 100%;
    height: auto;
    animation: float 6s ease-in-out infinite;
}

@keyframes float {
    0% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-20px);
    }
    100% {
        transform: translateY(0px);
    }
}

/* 功能区块样式 */
.features {
    background-color: var(--white);
}

.feature-item {
    text-align: center;
    padding: 30px;
}

.feature-icon {
    width: 100px;
    height: 100px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: rgba(61, 119, 238, 0.1);
    border-radius: 20px;
    margin: 0 auto 20px;
    font-size: 2.5rem;
    color: var(--primary-color);
    transition: all 0.3s ease;
}

.feature-item:hover .feature-icon {
    background-color: var(--primary-color);
    color: var(--white);
    transform: scale(1.1);
}

.feature-item h3 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 15px;
}

.feature-item p {
    color: var(--text-secondary);
}

/* 全局变量 */
:root {
    --primary-color: #3d77ee;
    --secondary-color: #4e89ff;
    --accent-color: #ff6b6b;
    --text-color: #333333;
    --text-secondary: #666666;
    --bg-color: #f8f9fa;
    --white: #ffffff;
    --success-color: #52c41a;
    --warning-color: #faad14;
    --danger-color: #ff4d4f;
    
    /* 性能优化：预定义常用值 */
    --border-radius: 12px;
    --font-main: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    --font-mono: 'SF Mono', Monaco, Inconsolata, 'Roboto Mono', monospace;
    --border-color: #E2E8F0;
    --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.1);
    --shadow-md: 0 4px 6px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 15px rgba(0, 0, 0, 0.1);
    --transition: all 0.3s ease;
}

/* 通用样式 */
.container {
    max-width: 1200px;
}

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

a:hover {
    color: var(--secondary-color);
}

.btn {
    padding: 12px 24px;
    border-radius: 8px;
    font-weight: 600;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
}

.btn-primary {
    background-color: var(--primary-color);
    color: var(--white);
}

.btn-primary:hover {
    background-color: var(--secondary-color);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(61, 119, 238, 0.3);
}

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

.btn-secondary:hover {
    background-color: var(--primary-color);
    color: var(--white);
}

.section-padding {
    padding: 80px 0;
}

.section-title {
    text-align: center;
    margin-bottom: 60px;
}

.section-title h2 {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--text-color);
    margin-bottom: 20px;
}

.section-title p {
    font-size: 1.1rem;
    color: var(--text-secondary);
    max-width: 700px;
    margin: 0 auto;
}

.card {
    background-color: var(--white);
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    padding: 30px;
    height: 100%;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.12);
}

/* 产品优势样式 */
.advantages {
    padding: 100px 0;
    background-color: var(--bg-color);
}

.advantages .section-title {
    text-align: center;
    margin-bottom: 60px;
}

.advantage-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 30px;
    padding: 25px;
    background-color: var(--white);
    border-radius: 16px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid transparent;
}

.advantage-item:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.15);
    border-color: #e9f0fe;
}

.advantage-icon {
    flex-shrink: 0;
    width: 64px;
    height: 64px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 28px;
    margin-right: 20px;
    box-shadow: 0 4px 15px rgba(61, 119, 238, 0.3);
    transition: all 0.3s ease;
}

.advantage-item:hover .advantage-icon {
    transform: scale(1.1) rotate(5deg);
    box-shadow: 0 6px 20px rgba(61, 119, 238, 0.4);
}

.advantage-content h3 {
    font-size: 22px;
    margin-bottom: 12px;
    color: var(--text-color);
    font-weight: 600;
    position: relative;
    padding-bottom: 8px;
}

.advantage-content h3::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 40px;
    height: 3px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    border-radius: 3px;
}

.advantage-content p {
    color: var(--text-secondary);
    line-height: 1.7;
    font-size: 15px;
}

/* 数据统计部分 */
.stats-section {
    background: linear-gradient(135deg, var(--white), var(--bg-color));
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    padding: 60px 40px !important;
    position: relative;
    overflow: hidden;
    margin-top: 50px;
}

.stats-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 5px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
}

.stats-section .stat-box {
    position: relative;
    z-index: 2;
    transition: all 0.3s ease;
    padding: 20px;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.8);
    text-align: center;
}

.stats-section .stat-box:hover {
    transform: translateY(-5px);
    background: rgba(255, 255, 255, 1);
}

.stats-section .stat-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: var(--bg-color);
    margin: 0 auto 20px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    font-size: 2rem;
    color: var(--primary-color);
}

.stats-section .stat-box:hover .stat-icon {
    transform: scale(1.1) rotate(5deg);
    box-shadow: 0 6px 20px rgba(61, 119, 238, 0.2);
}

.stats-section .stat-value {
    font-size: 3rem;
    font-weight: 700;
    color: var(--text-color);
    margin-bottom: 10px;
    line-height: 1.2;
}

.stats-section .stat-desc {
    font-size: 16px;
    color: var(--text-secondary);
    font-weight: 500;
    text-transform: capitalize;
}

/* 响应式调整 */
@media (max-width: 768px) {
    .stats-section {
        padding: 40px 20px !important;
    }
    
    .stats-section .stat-value {
        font-size: 2.5rem;
    }
    
    .advantage-item {
        flex-direction: column;
        text-align: center;
    }
    
    .advantage-icon {
        margin: 0 auto 20px;
    }
    
    .advantage-content h3::after {
        left: 50%;
        transform: translateX(-50%);
    }
}

/* 使用场景样式 */
.scenarios {
  padding: 100px 0;
  background-color: var(--white);
  position: relative;
  overflow: hidden;
}

.scenarios::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 5px;
  background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
}

.scenario-card {
  background-color: var(--white);
  border-radius: 20px;
  padding: 35px;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  border: 1px solid var(--border-color);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.06);
  position: relative;
  overflow: hidden;
}

.scenario-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 5px;
  background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
  transition: left 0.3s ease;
}

.scenario-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.12);
  border-color: #e9f0fe;
}

.scenario-card:hover::before {
  left: 0;
}

.scenario-icon {
  width: 80px;
  height: 80px;
  background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
  color: var(--white);
  border-radius: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.2rem;
  margin-bottom: 25px;
  box-shadow: 0 6px 20px rgba(61, 119, 238, 0.3);
  transition: all 0.3s ease;
}

.scenario-card:hover .scenario-icon {
  transform: scale(1.1) rotate(5deg);
  box-shadow: 0 8px 25px rgba(61, 119, 238, 0.4);
}

.scenario-content h3 {
  font-size: 1.6rem;
  margin-bottom: 15px;
  color: var(--text-color);
  font-weight: 600;
  position: relative;
  padding-bottom: 10px;
}

.scenario-content h3::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  width: 40px;
  height: 3px;
  background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
  border-radius: 3px;
}

.scenario-content p {
  color: var(--text-secondary);
  margin-bottom: 20px;
  line-height: 1.7;
  font-size: 15px;
}

.scenario-features {
  margin: 0;
  padding: 0;
  list-style: none;
}

.scenario-features li {
  display: flex;
  align-items: center;
  margin-bottom: 12px;
  color: var(--text-secondary);
  font-size: 14px;
  transition: all 0.2s ease;
}

.scenario-card:hover .scenario-features li {
  color: var(--text-color);
}

.scenario-features i {
  color: var(--success-color);
  margin-right: 12px;
  font-size: 16px;
  transition: all 0.2s ease;
}

.scenario-card:hover .scenario-features i {
  color: var(--primary-color);
  transform: scale(1.2);
}

/* 客户案例样式 */
.case-studies {
  padding: 100px 0;
  background-color: #f8f9fa;
}

.case-study-card {
  background-color: var(--white);
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.08);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  border: 1px solid transparent;
}

.case-study-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.12);
  border-color: #e9f0fe;
}

.case-study-image {
  overflow: hidden;
  height: 100%;
  min-height: 200px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.case-study-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
  border-radius: 20px 0 0 20px;
}

.case-study-card:hover .case-study-image img {
  transform: scale(1.08);
}

.case-study-content {
  padding: 30px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  height: 100%;
}

.case-study-tag {
  display: inline-block;
  padding: 6px 16px;
  background-color: #e9f0fe;
  color: var(--primary-color);
  border-radius: 20px;
  font-size: 13px;
  font-weight: 500;
  margin-bottom: 15px;
  transition: all 0.3s ease;
}

.case-study-card:hover .case-study-tag {
  background-color: var(--primary-color);
  color: var(--white);
  transform: scale(1.05);
}

.case-study-content h3 {
  font-size: 1.5rem;
  margin-bottom: 15px;
  color: var(--text-color);
  font-weight: 600;
  line-height: 1.4;
  transition: color 0.3s ease;
}

.case-study-card:hover .case-study-content h3 {
  color: var(--primary-color);
}

.case-study-content p {
  color: var(--text-secondary);
  margin-bottom: 25px;
  line-height: 1.7;
  font-size: 15px;
  flex-grow: 1;
}

.case-study-metrics {
  display: flex;
  margin-bottom: 20px;
  gap: 30px;
}

.metric-item {
  display: flex;
  flex-direction: column;
}

.metric-value {
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--primary-color);
  line-height: 1.2;
}

.metric-label {
  font-size: 13px;
  color: var(--text-secondary);
  margin-top: 5px;
}

.case-study-content .btn {
  align-self: flex-start;
  margin-top: auto;
  transition: all 0.3s ease;
  font-weight: 500;
}

.case-study-content .btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 5px 15px rgba(61, 119, 238, 0.3);
}

/* 响应式调整 */
@media (max-width: 768px) {
  .scenario-card {
    padding: 25px;
  }
  
  .scenario-icon {
    width: 70px;
    height: 70px;
    font-size: 1.8rem;
    margin: 0 auto 20px;
  }
  
  .scenario-content {
    text-align: center;
  }
  
  .scenario-content h3::after {
    left: 50%;
    transform: translateX(-50%);
  }
  
  .scenario-features li {
    justify-content: center;
  }
  
  .case-study-card .row {
    flex-direction: column;
  }
  
  .case-study-image {
    min-height: 250px;
  }
  
  .case-study-image img {
    border-radius: 20px 20px 0 0;
  }
  
  .case-study-content {
    padding: 25px;
  }
  
  .case-study-metrics {
    flex-direction: column;
    gap: 15px;
  }
}

@media (max-width: 576px) {
  .scenario-content h3 {
    font-size: 1.3rem;
  }
  
  .case-study-content h3 {
    font-size: 1.3rem;
  }
  
  .metric-value {
    font-size: 1.5rem;
  }
}

/* 价格方案样式 */
.pricing .card {
    border: none;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.pricing .card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.pricing .card.popular {
    border: 2px solid var(--primary-color);
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(61, 119, 238, 0.2);
}

.pricing .ribbon {
    position: absolute;
    top: 0;
    right: 0;
    background-color: var(--accent-color);
    color: var(--white);
    padding: 5px 20px;
    font-size: 0.9rem;
    font-weight: 600;
    transform: rotate(45deg) translate(30px, -10px);
    transform-origin: top right;
    z-index: 1;
}

.pricing .price {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 30px;
}

.pricing .price .currency {
    font-size: 1.5rem;
    vertical-align: top;
}

.pricing .price .amount {
    font-size: 3rem;
}

.pricing .price .period {
    font-size: 1rem;
    color: var(--text-secondary);
    font-weight: 400;
}

.pricing ul li {
    padding: 10px 0;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.pricing ul li:last-child {
    border-bottom: none;
}

.pricing .btn {
    margin-top: 20px;
}

/* 页脚样式 */
.footer {
  background-color: #0f172a;
  color: var(--white);
  padding: 80px 0 30px;
  position: relative;
  overflow: hidden;
}

.footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
}

.footer-top {
  padding-bottom: 40px;
  position: relative;
}

.footer-top::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 1px;
  background-color: rgba(255, 255, 255, 0.1);
}

/* 页脚Logo */
.footer-logo a {
  font-size: 2.2rem;
  font-weight: 700;
  display: inline-block;
  transition: transform 0.3s ease;
}

.footer-logo a:hover {
  transform: scale(1.05);
}

/* 页脚描述 */
.footer-description {
  color: rgba(255, 255, 255, 0.7);
  font-size: 15px;
  line-height: 1.7;
}

/* 联系信息 */
.footer-contact {
  margin-top: 30px;
}

.contact-item {
  display: flex;
  align-items: flex-start;
  margin-bottom: 15px;
  font-size: 14px;
}

.contact-item i {
  margin-right: 15px;
  font-size: 16px;
  color: var(--primary-color);
  min-width: 20px;
  margin-top: 2px;
  transition: all 0.3s ease;
}

.contact-item:hover i {
  transform: translateX(3px);
  color: var(--secondary-color);
}

.contact-item span {
  color: rgba(255, 255, 255, 0.7);
  transition: color 0.3s ease;
}

.contact-item:hover span {
  color: var(--white);
}

/* 页脚链接组 */
.footer-links h4 {
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 25px;
  color: var(--white);
  position: relative;
  padding-bottom: 10px;
}

.footer-links h4::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 30px;
  height: 2px;
  background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
}

.footer-links ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.footer-links li {
  margin-bottom: 12px;
}

.footer-link {
  color: rgba(255, 255, 255, 0.7);
  text-decoration: none;
  transition: all 0.3s ease;
  display: inline-block;
  font-size: 14px;
  position: relative;
  padding-left: 0;
}

.footer-link::before {
  content: '→';
  position: absolute;
  left: -15px;
  opacity: 0;
  transition: all 0.3s ease;
  color: var(--primary-color);
}

.footer-link:hover {
  color: var(--primary-color);
  transform: translateX(10px);
}

.footer-link:hover::before {
  left: -10px;
  opacity: 1;
}

/* 订阅表单 */
.footer-form .input-group {
  position: relative;
  margin-bottom: 20px;
}

.footer-form input {
  width: 100%;
  padding: 12px 20px;
  background-color: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 8px;
  color: var(--white);
  font-size: 14px;
  transition: all 0.3s ease;
}

.footer-form input:focus {
  outline: none;
  border-color: var(--primary-color);
  background-color: rgba(255, 255, 255, 0.15);
  box-shadow: 0 0 0 3px rgba(61, 119, 238, 0.1);
}

.footer-form button {
  position: absolute;
  right: 3px;
  top: 3px;
  bottom: 3px;
  padding: 0 15px;
  background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
  color: var(--white);
  border: none;
  border-radius: 6px;
  font-size: 14px;
  cursor: pointer;
  transition: all 0.3s ease;
}

.footer-form button:hover {
  transform: translateX(2px);
  box-shadow: 0 0 15px rgba(61, 119, 238, 0.4);
}

/* 社交媒体图标 */
.footer-social {
  display: flex;
  gap: 15px;
  margin-top: 20px;
}

.social-link {
  width: 40px;
  height: 40px;
  background-color: rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.7);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  font-size: 16px;
  transition: all 0.3s ease;
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.social-link:hover {
  background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
  color: var(--white);
  transform: translateY(-3px) scale(1.05);
  border-color: var(--primary-color);
  box-shadow: 0 5px 15px rgba(61, 119, 238, 0.3);
}

/* 页脚底部 */
.footer-bottom {
  padding-top: 30px;
}

.copyright {
  color: rgba(255, 255, 255, 0.7);
  font-size: 14px;
  margin: 0;
  transition: color 0.3s ease;
}

.copyright:hover {
  color: var(--white);
}

.footer-bottom-links {
  display: flex;
  justify-content: flex-end;
  gap: 20px;
}

.bottom-link {
  color: rgba(255, 255, 255, 0.7);
  text-decoration: none;
  font-size: 14px;
  transition: all 0.3s ease;
}

.bottom-link:hover {
  color: var(--primary-color);
}

/* 响应式设计 */
@media (max-width: 992px) {
  .footer {
    padding: 60px 0 20px;
  }
  
  .footer-bottom {
    text-align: center;
  }
  
  .footer-bottom-links {
    justify-content: center;
    margin-top: 15px;
  }
}

@media (max-width: 768px) {
  .footer-logo a {
    font-size: 1.8rem;
  }
  
  .footer-links h4 {
    font-size: 1rem;
  }
  
  .footer-bottom-links {
    flex-direction: column;
    gap: 10px;
    align-items: center;
  }
}

@media (max-width: 576px) {
  .footer {
    padding: 50px 0 15px;
  }
  
  .footer-logo a {
    font-size: 1.6rem;
  }
  
  .social-link {
    width: 35px;
    height: 35px;
    font-size: 14px;
  }
  
  .footer-form input {
    padding: 10px 15px;
    font-size: 13px;
  }
  
  .footer-form button {
    padding: 0 12px;
  }
}

.footer-logo {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 20px;
}

.footer-description {
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 30px;
}

.footer-links h4 {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 20px;
}

.footer-links ul {
    list-style: none;
    padding: 0;
}

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

.footer-links a {
    color: rgba(255, 255, 255, 0.7);
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: var(--white);
}

.footer-social {
    display: flex;
    gap: 15px;
    margin-top: 20px;
}

.social-link {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    color: var(--white);
    font-size: 1.1rem;
    transition: all 0.3s ease;
}

.social-link:hover {
    background-color: var(--primary-color);
    transform: translateY(-3px);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 30px;
    margin-top: 40px;
    text-align: center;
    color: rgba(255, 255, 255, 0.7);
}

/* 响应式设计 */
@media (max-width: 1200px) {
   .container {
     max-width: 100%;
     padding: 0 20px;
   }
   
   .hero-section h1 {
     font-size: 3rem;
   }
   
   .hero-image img {
     width: 90%;
   }
   
   .feature-item {
     padding: 25px;
   }
  }

@media (max-width: 992px) {
  /* 导航栏调整 */
  .navbar-expand-lg .navbar-collapse {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background-color: var(--white);
    padding: 20px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    z-index: 1000;
    border-top: 1px solid var(--border-color);
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
    display: block !important;
    visibility: hidden;
    opacity: 0;
  }
  
  .navbar-expand-lg .navbar-collapse.show {
    max-height: 500px;
    visibility: visible;
    opacity: 1;
  }
  
  .navbar-expand-lg .navbar-nav {
    margin-left: 0 !important;
  }
  
  .navbar-expand-lg .navbar-nav .nav-link {
    padding: 12px 0;
    margin: 0;
    border-bottom: 1px solid var(--border-color);
  }
  
  .navbar-expand-lg .navbar-nav .nav-link:last-child {
    border-bottom: none;
  }
  
  .navbar-expand-lg .navbar-nav .nav-link:hover {
    padding-left: 8px;
    color: var(--primary-color);
  }
  
  .navbar-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: var(--primary-color);
    color: var(--white);
    border: none;
    cursor: pointer;
    z-index: 1001;
  }
  
  .navbar-toggle i {
    font-size: 18px;
  }
  
  /* 英雄区调整 */
   .navbar-nav .nav-link {
     margin-left: 0;
     margin-top: 10px;
   }
   
   .hero-section h1 {
     font-size: 2.5rem;
   }
   
   .hero-section p {
     font-size: 1.1rem;
   }
   
   .hero-section {
     padding: 80px 0;
   }
  
  .hero-stats {
    flex-wrap: wrap;
    margin-top: 30px;
  }
  
  .hero-stats .stat-item {
    margin-right: 30px;
    margin-bottom: 20px;
  }
  
  .hero-stats .stat-item:last-child {
    margin-right: 0;
  }
  
  /* 功能区块调整 */
  .feature-item {
    margin-bottom: 30px;
    min-height: auto;
  }
  
  /* 价格卡片调整 */
  .pricing-card {
     margin-bottom: 30px;
   }
}

@media (max-width: 768px) {
  /* 通用调整 */
  .section-padding {
    padding: 70px 0;
  }
  
  /* 英雄区调整 */
   .hero-section .row {
     flex-direction: column;
   }
   
   .hero-content,
   .hero-image {
     width: 100%;
     text-align: center;
     order: 2;
   }
   
   .hero-image {
     order: 1;
     margin-bottom: 40px;
     margin-top: 0;
   }
   
   .hero-section h1 {
     font-size: 2.2rem;
   }
  
  .hero-actions {
    flex-direction: column;
    align-items: center;
  }
  
  .hero-actions .btn {
    width: 100%;
    max-width: 300px;
    margin-bottom: 15px;
    margin-right: 0 !important;
  }
  
  /* 功能区块调整 */
  .feature-item {
    padding: 20px;
  }
  
  .feature-icon {
    width: 50px;
    height: 50px;
    font-size: 20px;
  }
  
  /* 价格卡片调整 */
   .pricing-cards .row {
     flex-direction: column;
   }
   
   .pricing-card {
     width: 100%;
     margin-bottom: 30px;
   }
  
  /* 产品优势调整 */
  .advantage-item {
    flex-direction: column;
    text-align: center;
    padding: 20px;
  }
  
  .advantage-icon {
    margin: 0 auto 20px;
    width: 56px;
    height: 56px;
    font-size: 24px;
  }
  
  .advantage-content h3::after {
    left: 50%;
    transform: translateX(-50%);
  }
  
  /* 数据统计调整 */
  .stats-section {
    padding: 40px 20px !important;
  }
  
  .stats-section .stat-value {
    font-size: 2.5rem;
  }
  
  .stats-section .stat-icon {
    width: 70px;
    height: 70px;
    font-size: 1.8rem;
  }
}

@media (max-width: 576px) {
  /* 导航栏调整 */
  .navbar-brand {
    font-size: 1.3rem;
  }
  
  /* 英雄区调整 */
   .hero-section {
     padding: 60px 0;
   }
   
   .hero-section h1 {
     font-size: 2rem;
     line-height: 1.3;
   }
   
   .hero-section p {
     font-size: 1rem;
     line-height: 1.6;
   }
  
  .hero-stats {
    justify-content: center;
  }
  
  .hero-stats .stat-item {
    margin-right: 20px;
    margin-bottom: 15px;
  }
  
  .hero-stats .stat-value {
     font-size: 1.5rem;
   }
  
  /* 按钮调整 */
  .btn {
    padding: 12px 24px;
    font-size: 14px;
    width: 100%;
    max-width: 280px;
  }
  
  /* 标题调整 */
  .section-title h2 {
    font-size: 1.8rem;
  }
  
  .section-title p {
    font-size: 1rem;
  }
  
  /* 功能区块调整 */
  .feature-item h3 {
    font-size: 1.2rem;
  }
  
  /* 价格卡片调整 */
   .pricing-card h3 {
     font-size: 1.3rem;
   }
   
   .pricing-card .price {
     font-size: 2rem;
   }
  
  /* 产品优势调整 */
  .advantage-content h3 {
    font-size: 1.3rem;
  }
  
  /* 数据统计调整 */
  .stats-section .stat-value {
    font-size: 2rem;
  }
  
  .stats-section .stat-icon {
    width: 60px;
    height: 60px;
    font-size: 1.5rem;
  }
}

/* 超高分辨率屏幕支持 */
@media (-webkit-device-pixel-ratio: 2), (resolution: 192dpi) {
  /* 针对高分辨率屏幕的优化 */
  .hero-image img {
    image-rendering: -webkit-optimize-contrast;
  }
}