@keyframes liquidPulse {
  0%, 100% { transform: scale(1); box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7); }
  50% { transform: scale(1.05); box-shadow: 0 0 0 10px rgba(16, 185, 129, 0); }
}

@keyframes gradientMove {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

@layer utilities {
  .glass-effect {
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
  }

  /* 保留实际使用的样式类 */

  /* 保留实际使用的核心样式类 */

.liquid-animation {
  animation: liquidPulse 2s infinite;
}

.liquid-glass {
  background: rgba(255, 255, 255, 0.25);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.18);
  box-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.1);
}

/* 移除未使用的特殊效果类，保留核心功能样式 */

  /* 英雄区域发光效果 */
  @keyframes pulseGlow {
    0%, 100% { 
      transform: scale(1); 
      opacity: 0.7;
    }
    50% { 
      transform: scale(1.1); 
      opacity: 1;
    }
  }

  @keyframes shimmer {
    0% { transform: translateX(-100%); }
    100% { transform: translateX(100%); }
  }

  /* 平台卡片样式 */
  .platforms-container {
    position: relative;
  }

  .platform-track {
  position: relative;
  overflow: visible;
  padding: 20px 0;
}

  /* 移除渐变遮罩 */

  .platform-scroll-row {
    display: flex;
    align-items: center;
    min-height: 120px;
  }

  .platform-scroll-row.reverse {
    animation: scrollRowReverse 35s linear infinite;
  }

  .platform-cards {
    display: flex;
    align-items: center;
    gap: 24px;
    flex-shrink: 0;
  }

  .platform-card {
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  padding: 20px 24px;
  background: rgba(248, 250, 252, 0.95);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(30, 41, 59, 0.1);
  border-radius: 16px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
  cursor: pointer;
  min-width: 140px;
}

  .platform-card:hover {
  transform: translateY(-4px) scale(1.05);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.2);
  background: rgba(241, 245, 249, 1);
}

  .platform-icon-wrapper {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  background: rgba(30, 41, 59, 0.1);
}

  .platform-name {
  font-size: 14px;
  font-weight: 600;
  color: rgba(30, 41, 59, 0.9);
  white-space: nowrap;
}

  @keyframes scrollRow {
    0% {
      transform: translateX(0);
    }
    100% {
      transform: translateX(-50%);
    }
  }

  @keyframes scrollRowReverse {
    0% {
      transform: translateX(-50%);
    }
    100% {
      transform: translateX(0);
    }
  }

  .platform-scroll-row {
    animation: scrollRow 30s linear infinite;
  }

  /* 第二排错位 */
  .platform-track:nth-child(2) .platform-scroll-row {
    margin-left: 60px;
  }

  .platform-track:nth-child(2) .platform-scroll-row.reverse {
    margin-left: -60px;
  }

  /* 第三排错位 */
  .platform-track:nth-child(3) .platform-scroll-row {
    margin-left: 120px;
  }

  .platform-track:nth-child(3) .platform-scroll-row.reverse {
    margin-left: -120px;
  }

  /* 悬停暂停动画 */
  .platforms-container:hover .platform-scroll-row,
  .platforms-container:hover .platform-scroll-row.reverse {
    animation-play-state: paused;
  }

  /* 响应式设计 */
  @media (max-width: 768px) {
    .platform-track::before,
    .platform-track::after {
      width: 60px;
    }
    
    .platform-card {
      padding: 16px 20px;
      gap: 8px;
    }
    
    .platform-icon-wrapper {
      width: 40px;
      height: 40px;
    }
    
    .platform-name {
      font-size: 12px;
    }
    
    .platform-cards {
      gap: 16px;
    }
  }

  /* 头图对齐样式 */
  @media (max-width: 767px) {
    /* 移动端精确对齐 */
    section[class*="pt-32"] {
      padding-bottom: 0 !important;
    }
  }

  /* 轮播样式 */
  .carousel-container {
    position: relative;
    overflow: hidden;
    border-radius: 1.5rem;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    background: #000;
  }

  .carousel-container:hover .carousel-prev,
  .carousel-container:hover .carousel-next {
    opacity: 1;
  }

  .carousel-track {
    display: flex;
    transition: transform 0.5s ease-in-out;
  }

  .carousel-slide {
    width: 100%;
    height: auto;
    flex-shrink: 0;
    object-fit: cover;
    user-select: none;
  }

  .carousel-dot {
    transition: all 0.3s ease;
    cursor: pointer;
  }

  .carousel-dot:hover {
    transform: scale(1.2);
  }

  .carousel-dot.active {
    background-color: white;
    width: 1.5rem;
  }

  .carousel-prev,
  .carousel-next {
    opacity: 0;
    transition: opacity 0.3s ease, transform 0.2s ease;
    cursor: pointer;
  }

  .carousel-prev:hover,
  .carousel-next:hover {
    transform: scale(1.1);
  }

  /* 移动端轮播优化 */
  @media (max-width: 767px) {
    .carousel-container {
      border-radius: 1.25rem;
      margin: 0 auto;
    }
    
    .carousel-dot {
      width: 6px;
      height: 6px;
    }
    
    .carousel-dot.active {
      width: 16px;
    }
    
    .carousel-prev,
    .carousel-next {
      width: 32px;
      height: 32px;
      padding: 0.5rem;
    }
    
    .carousel-prev svg,
    .carousel-next svg {
      width: 16px;
      height: 16px;
    }
  }

  /* 确保轮播容器响应式 */
  .carousel-container {
    width: 100%;
    max-width: 300px;
    margin: 0 auto;
  }

  @media (min-width: 768px) {
    .carousel-container {
      max-width: 256px;
    }
  }

  /* 价格方案样式 */
  .price-card {
    position: relative;
    overflow: visible;
    border: 2px solid transparent;
    transition: all 0.3s ease;
    cursor: pointer;
    margin-top: 2rem;
  }

  .price-card:hover {
    border-color: #e5e7eb;
  }

  .price-card.selected {
    border-color: #3b82f6;
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(59, 130, 246, 0.2);
  }

  .price-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #ff0000 0%, #a24b4b 100%);
    z-index: 1;
    border-radius: 1.5rem 1.5rem 0 0;
  }

  .price-card:nth-child(1)::before {
    background: linear-gradient(90deg, #10b981 0%, #059669 100%);
    border-radius: 1.5rem 1.5rem 0 0;
  }

  .price-card:nth-child(2)::before {
    background: linear-gradient(90deg, #f50b0b 0%, #d90606 100%);
    border-radius: 1.5rem 1.5rem 0 0;
  }

  .price-card:nth-child(3)::before {
    background: linear-gradient(90deg, #8b5cf6 0%, #7c3aed 100%);
    border-radius: 1.5rem 1.5rem 0 0;
  }

  .price-tabs {
    margin-bottom: 1.5rem;
  }

  .price-tabs .flex {
     background: #f3f4f6 !important;
     border: 1px solid #e5e7eb;
   }
 
    .price-tab {
    background: #ffffff;
    border: 1px solid #d1d5db;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 500;
    color: #6b7280;
    transform-origin: center;
  }

  /* 选中状态 - 变色、放大、加粗 */
.price-tab.active {
    font-weight: 700 !important;
    font-size: 1.06rem !important;
    transform: scale(1.08) !important;
    z-index: 10;
    position: relative;
}

.price-card:nth-child(1) .price-tab.active {
    color: #059669 !important;
    border-color: #059669 !important;
}

.price-card:nth-child(2) .price-tab.active {
    color: #d97706 !important;
    border-color: #d97706 !important;
}

.price-card:nth-child(3) .price-tab.active {
    color: #7c3aed !important;
    border-color: #7c3aed !important;
}

  /* 极简悬停效果 - 仅文字变色 */
  .price-tab:hover:not(.active) {
    color: #374151 !important;
  }

  .price-display {
    transition: opacity 0.3s ease;
  }

  .price-display.hidden {
    display: none;
  }

  .price-card ul li {
    font-size: 0.875rem;
    color: #4b5563;
  }

  .price-card ul li i {
    width: 16px;
    text-align: center;
  }

  @media (max-width: 768px) {
    .price-card {
      margin-bottom: 2rem;
    }
    
    .price-card ul li {
      font-size: 0.8rem;
    }
    
    .price-tabs .price-tab {
      font-size: 0.75rem;
      padding: 0.5rem 0.75rem;
    }
  }

  @media (max-width: 480px) {
    .price-card {
      padding: 1.5rem;
    }
    
    .price-card h3 {
      font-size: 1.5rem;
    }
    
    .price-display .text-4xl {
      font-size: 2rem;
    }
  }
    
    section[class*="pt-32"] .container {
      padding-left: 0 !important;
      padding-right: 0 !important;
    }
    
    .md\:w-1\/2:last-child {
      margin-top: 1rem;
      margin-bottom: 0;
      width: 100%;
      padding: 0;
    }
    
    .md\:w-1\/2:last-child .relative {
      max-width: none;
      margin: 0;
      width: 100%;
      text-align: center;
    }
    
    .md\:w-1\/2:last-child .relative img {
      height: auto;
      max-height: 650px;
      width: 100%;
      max-width: 100%;
      object-fit: contain;
      margin-bottom: 0;
      padding-bottom: 0;
    }
  }

  @media (min-width: 768px) {
    /* 桌面端头图精确对齐 */
    section[class*="pt-32"] .container {
      padding-right: 0 !important;
    }
    
    section[class*="pt-32"] .flex-col {
      align-items: stretch;
    }
    
    .md\:w-1\/2:last-child {
      display: flex;
      align-items: flex-end;
      justify-content: flex-end;
      padding-left: 0 !important;
      margin-right: -1rem;
    }
    
    .md\:w-1\/2:last-child .relative {
      margin-bottom: -4rem;
      margin-right: -0rem;
      line-height: 0;
    }
    
    .md\:w-1\/2:last-child .relative img {
      height: 350px;
      width: auto;
      max-width: none;
    }
  }

  @media (min-width: 1024px) {
    .md\:w-1\/2:last-child {
      margin-right: -14rem;
    }
    
    .md\:w-1\/2:last-child .relative {
      margin-bottom: -4rem;
      margin-right: -2rem;
    }
    
    .md\:w-1\/2:last-child .relative img {
      height: 550px;
    }
  }

  @media (min-width: 1280px) {
    .md\:w-1\/2:last-child {
      margin-right: -14rem;
    }
    
    .md\:w-1\/2:last-child .relative {
      margin-bottom: -4rem;
      margin-right: -2rem;
    }
    
    .md\:w-1\/2:last-child .relative img {
      height: 600px;
    }
  }

  @media (min-width: 1536px) {
    .md\:w-1\/2:last-child {
      margin-right: -14rem;
    }
    
    .md\:w-1\/2:last-child .relative {
      margin-bottom: -8rem;
      margin-right: -14rem;
    }
    
    .md\:w-1\/2:last-child .relative img {
      width: 100%;
      height: 650px;
    }
  }

/* === 全局样式重置 === */
body {
    background-color: #f9fafb;
    font-family: 'Inter', system-ui, sans-serif;
    color: #1f2937;
    overflow-x: hidden;
    margin: 0;
    line-height: 1.5;
}

* {
    box-sizing: border-box;
}

.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 1rem;
}

@media (min-width: 768px) {
    .container {
        padding: 0 2rem;
    }
}

/* === 通用按钮样式 === */
.btn {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    border-radius: 0.5rem;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.3s ease;
    cursor: pointer;
    border: none;
    text-align: center;
}

.btn-primary {
    background: #10b981;
    color: white;
}

.btn-primary:hover {
    background: #059669;
    transform: translateY(-2px);
}

.btn-secondary {
    background: white;
    color: #10b981;
    border: 1px solid #10b981;
}

.btn-secondary:hover {
    background: #f3f4f6;
    transform: translateY(-2px);
}

.btn-outline {
    background: transparent;
    color: #6b7280;
    border: 1px solid #d1d5db;
}

.btn-outline:hover {
    background: #f9fafb;
    color: #374151;
}

/* === 卡片样式 === */
.card {
    background: white;
    border-radius: 1rem;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    padding: 1.5rem;
    transition: all 0.3s ease;
}

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

.card-header {
    margin-bottom: 1rem;
}

.card-title {
    font-size: 1.25rem;
    font-weight: bold;
    color: #1f2937;
    margin-bottom: 0.5rem;
}

.card-subtitle {
    color: #6b7280;
    font-size: 0.875rem;
}

/* === 网格布局 === */
.grid {
    display: grid;
    gap: 1.5rem;
}

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

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

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

@media (max-width: 768px) {
    .grid-2,
    .grid-3,
    .grid-4 {
        grid-template-columns: 1fr;
    }
}

/* === 间距工具 === */
.section {
    padding: 5rem 0;
}

.section-sm {
    padding: 3rem 0;
}

.section-lg {
    padding: 7rem 0;
}

.mb-1 { margin-bottom: 0.25rem; }
.mb-2 { margin-bottom: 0.5rem; }
.mb-3 { margin-bottom: 0.75rem; }
.mb-4 { margin-bottom: 1rem; }
.mb-6 { margin-bottom: 1.5rem; }
.mb-8 { margin-bottom: 2rem; }

.mt-1 { margin-top: 0.25rem; }
.mt-2 { margin-top: 0.5rem; }
.mt-3 { margin-top: 0.75rem; }
.mt-4 { margin-top: 1rem; }
.mt-6 { margin-top: 1.5rem; }
.mt-8 { margin-top: 2rem; }

.p-4 { padding: 1rem; }
.p-6 { padding: 1.5rem; }
.p-8 { padding: 2rem; }

.text-center { text-align: center; }
.text-left { text-align: left; }
.text-right { text-align: right; }
