/* ==================== 炫酷高端首页设计 ==================== */

:root {
  --primary: #6366f1;
  --primary-dark: #4f46e5;
  --primary-light: #818cf8;
  --secondary: #ec4899;
  --text-dark: #0f172a;
  --text-gray: #475569;
  --text-light: #94a3b8;
  --border: #e2e8f0;
  --bg-light: #f8fafc;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  color: var(--text-dark);
  line-height: 1.6;
  background: #ffffff;
  overflow-x: hidden;
}

.container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ==================== Hero Section - 超级炫酷 ==================== */

.hero {
  position: relative;
  min-height: 45vh;
  display: flex;
  align-items: center;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  overflow: hidden;
  padding: 60px 0 40px;
}

/* 动态渐变球体背景 */
.hero-animated-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  z-index: 0;
}

.gradient-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.5;
  animation: float 20s ease-in-out infinite;
}

.orb-1 {
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(139, 92, 246, 0.4), transparent);
  top: -200px;
  right: -100px;
  animation-delay: 0s;
}

.orb-2 {
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(236, 72, 153, 0.4), transparent);
  bottom: -150px;
  left: -100px;
  animation-delay: -7s;
}

.orb-3 {
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(99, 102, 241, 0.3), transparent);
  top: 50%;
  left: 50%;
  animation-delay: -14s;
}

@keyframes float {
  0%, 100% {
    transform: translate(0, 0) scale(1);
  }
  33% {
    transform: translate(50px, -50px) scale(1.1);
  }
  66% {
    transform: translate(-30px, 50px) scale(0.9);
  }
}

/* 网格叠加层 */
.grid-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: 
    linear-gradient(rgba(255, 255, 255, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.05) 1px, transparent 1px);
  background-size: 50px 50px;
  animation: gridMove 20s linear infinite;
}

@keyframes gridMove {
  0% {
    transform: translate(0, 0);
  }
  100% {
    transform: translate(50px, 50px);
  }
}

/* Hero 左文右图布局 */
.hero-layout {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 48px;
}

.hero-content {
  position: relative;
  z-index: 2;
  text-align: left;
}

/* Hero 插画区 */
.hero-illustration {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  animation: fadeInUp 0.8s ease-out 0.3s backwards;
}

.illus-glow {
  position: absolute;
  width: 340px;
  height: 340px;
  background: radial-gradient(circle, rgba(255,255,255,0.12), transparent 70%);
  border-radius: 50%;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.illus-svg {
  width: 100%;
  max-width: 460px;
  filter: drop-shadow(0 20px 60px rgba(0,0,0,0.2));
  animation: float-illus 6s ease-in-out infinite;
}

@keyframes float-illus {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-16px); }
}

/* 浮动图标装饰 */
.illus-float {
  position: absolute;
  width: 48px;
  height: 48px;
  background: rgba(255,255,255,0.18);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255,255,255,0.3);
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 1.2rem;
}

.illus-float-1 {
  top: 8%;
  left: 4%;
  animation: float-icon 4s ease-in-out infinite;
}
.illus-float-2 {
  bottom: 12%;
  left: 8%;
  animation: float-icon 5s ease-in-out infinite 1s;
}
.illus-float-3 {
  top: 20%;
  right: 2%;
  animation: float-icon 4.5s ease-in-out infinite 0.5s;
}

@keyframes float-icon {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  50% { transform: translateY(-10px) rotate(5deg); }
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(10px);
  padding: 10px 24px;
  border-radius: 100px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: white;
  font-size: 0.875rem;
  font-weight: 600;
  margin-bottom: 32px;
  animation: fadeInUp 0.8s ease-out;
}

.badge-dot {
  width: 8px;
  height: 8px;
  background: #10b981;
  border-radius: 50%;
  animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% {
    opacity: 1;
    transform: scale(1);
  }
  50% {
    opacity: 0.5;
    transform: scale(1.2);
  }
}

.hero-title {
  margin-bottom: 24px;
  line-height: 1.2;
}

.title-line {
  display: block;
  font-size: 3.5rem;
  font-weight: 800;
  color: white;
  animation: fadeInUp 0.8s ease-out 0.2s backwards;
}

.title-gradient {
  background: linear-gradient(to right, #ffffff, #a5f3fc, #fbbf24);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: fadeInUp 0.8s ease-out 0.4s backwards, gradientShift 3s ease-in-out infinite;
}

@keyframes gradientShift {
  0%, 100% {
    filter: hue-rotate(0deg);
  }
  50% {
    filter: hue-rotate(20deg);
  }
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.hero-subtitle {
  font-size: 1.25rem;
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 48px;
  line-height: 1.8;
  animation: fadeInUp 0.8s ease-out 0.6s backwards;
}

.hero-actions {
  display: flex;
  gap: 20px;
  justify-content: center;
  margin-bottom: 80px;
  animation: fadeInUp 0.8s ease-out 0.8s backwards;
}

/* 按钮样式 */
.btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 16px 36px;
  font-size: 1rem;
  font-weight: 600;
  text-decoration: none;
  border-radius: 12px;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  overflow: hidden;
  border: none;
  cursor: pointer;
}

.btn-primary {
  background: white;
  color: var(--primary);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.2);
  color: var(--primary-dark);
}

.btn-glow {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle, rgba(99, 102, 241, 0.3), transparent);
  transform: translate(-50%, -50%) scale(0);
  transition: transform 0.6s;
}

.btn-primary:hover .btn-glow {
  transform: translate(-50%, -50%) scale(2);
}

.btn-glass {
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  color: white;
  border: 1px solid rgba(255, 255, 255, 0.3);
}

.btn-glass:hover {
  background: rgba(255, 255, 255, 0.2);
  border-color: rgba(255, 255, 255, 0.5);
  color: white;
}

.btn-glass-dark {
  background: rgba(15, 23, 42, 0.05);
  backdrop-filter: blur(10px);
  color: var(--text-dark);
  border: 1px solid rgba(15, 23, 42, 0.1);
}

.btn-glass-dark:hover {
  background: rgba(15, 23, 42, 0.1);
  border-color: var(--primary);
  color: var(--primary);
}

/* Hero统计卡片 */
.hero-stats {
  display: flex;
  justify-content: flex-start;
  gap: 48px;
  animation: fadeInUp 0.8s ease-out 1s backwards;
}

.stat-card {
  text-align: center;
}

.stat-icon-wrap {
  width: 36px;
  height: 36px;
  background: rgba(255,255,255,0.18);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 8px;
  font-size: 0.95rem;
  color: rgba(255,255,255,0.9);
}

.stat-number {
  font-size: 2.25rem;
  font-weight: 800;
  color: white;
  line-height: 1;
  margin-bottom: 6px;
  text-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
}

.stat-label {
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.8);
  font-weight: 500;
}

/* ==================== Section Common ==================== */

section {
  padding: 60px 0;
  position: relative;
}

.section-head {
  text-align: center;
  margin-bottom: 40px;
}

.section-badge {
  display: inline-block;
  padding: 8px 20px;
  background: linear-gradient(135deg, rgba(99, 102, 241, 0.1), rgba(236, 72, 153, 0.1));
  border: 1px solid rgba(99, 102, 241, 0.2);
  border-radius: 100px;
  color: var(--primary);
  font-size: 0.875rem;
  font-weight: 600;
  margin-bottom: 16px;
}

.section-badge.light {
  background: rgba(255, 255, 255, 0.2);
  border-color: rgba(255, 255, 255, 0.3);
  color: white;
}

.section-title-main {
  font-size: 2.75rem;
  font-weight: 800;
  color: var(--text-dark);
  margin-bottom: 12px;
  letter-spacing: -0.02em;
  position: relative;
  display: inline-block;
}

.section-title-main::after {
  content: '';
  display: block;
  width: 60px;
  height: 4px;
  background: linear-gradient(90deg, var(--primary), var(--secondary));
  border-radius: 2px;
  margin: 10px auto 0;
}

.section-title-main.light {
  color: white;
}

.section-title-main.light::after {
  background: linear-gradient(90deg, rgba(255,255,255,0.8), rgba(255,255,255,0.3));
}

.section-desc {
  font-size: 1.125rem;
  color: var(--text-gray);
  max-width: 600px;
  margin: 0 auto;
}

.section-desc.light {
  color: rgba(255, 255, 255, 0.9);
}

/* ==================== Categories Section ==================== */

.categories {
  background: var(--bg-light);
  position: relative;
}

/* 分类区背景圆点纹理 */
.categories::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle, rgba(99,102,241,0.06) 1.5px, transparent 1.5px);
  background-size: 28px 28px;
  pointer-events: none;
}

.category-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 24px;
}

.category-item {
  position: relative;
  background: white;
  padding: 24px 20px;
  border-radius: 20px;
  text-align: center;
  border: 2px solid transparent;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  cursor: pointer;
  overflow: hidden;
}

.category-item::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  opacity: 0;
  transition: opacity 0.4s;
}

.category-item:hover {
  transform: translateY(-12px);
  border-color: var(--primary);
  box-shadow: 0 20px 60px rgba(99, 102, 241, 0.25);
}

.category-item:hover::before {
  opacity: 1;
}

.category-icon-wrapper {
  position: relative;
  width: 80px;
  height: 80px;
  margin: 0 auto 20px;
  z-index: 1;
}

.icon-bg {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  border-radius: 20px;
  transition: all 0.4s;
}

.category-item:hover .icon-bg {
  background: white;
  transform: rotate(45deg) scale(1.1);
}

.category-icon-wrapper i {
  position: relative;
  font-size: 2.2rem;
  color: white;
  line-height: 80px;
  transition: all 0.4s;
  z-index: 2;
}

.category-item:hover .category-icon-wrapper i {
  color: var(--primary);
  transform: scale(1.2) rotate(-10deg);
}

.category-item h3 {
  position: relative;
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--text-dark);
  z-index: 1;
  transition: color 0.4s;
}

.category-item:hover h3 {
  color: white;
}

.category-hover-line {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--primary), var(--secondary));
  transform: scaleX(0);
  transition: transform 0.4s;
}

.category-item:hover .category-hover-line {
  transform: scaleX(1);
}

/* ==================== Software Section ==================== */

.software {
  background: white;
  position: relative;
}

.software-bg-pattern {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: radial-gradient(circle, rgba(99, 102, 241, 0.03) 1px, transparent 1px);
  background-size: 30px 30px;
  pointer-events: none;
}

.software-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(380px, 1fr));
  gap: 32px;
  position: relative;
  z-index: 1;
  align-items: stretch;
}

.software-card-pro {
  position: relative;
  background: white;
  border-radius: 24px;
  overflow: hidden;
  border: 1px solid var(--border);
  transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  display: flex;
  flex-direction: column;
}

.software-card-pro:hover {
  transform: translateY(-10px);
  box-shadow: 0 30px 80px rgba(99, 102, 241, 0.15);
  border-color: transparent;
}

/* 卡片光泽效果 */
.card-shine {
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: linear-gradient(45deg, transparent, rgba(255, 255, 255, 0.1), transparent);
  transform: rotate(45deg);
  transition: all 0.6s;
  pointer-events: none;
  z-index: 3;
}

.software-card-pro:hover .card-shine {
  left: 100%;
}

.software-badge-tag {
  position: absolute;
  top: 20px;
  right: 20px;
  padding: 8px 16px;
  color: white;
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.5px;
  border-radius: 100px;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  white-space: nowrap;
  line-height: 1;
}

/* 标签图标样式 */
.software-badge-tag i {
  font-size: 0.85rem;
}

/* 推荐标签 - 金色 */
.software-badge-tag.status-推荐 {
  background: linear-gradient(135deg, #fbbf24 0%, #f59e0b 100%);
  box-shadow: 0 4px 12px rgba(251, 191, 36, 0.4);
  border: 1px solid rgba(255, 255, 255, 0.3);
}

/* 热门标签 - 红色 + 脉冲 */
.software-badge-tag.status-热门 {
  background: linear-gradient(135deg, #f87171 0%, #ef4444 100%);
  box-shadow: 0 4px 12px rgba(239, 68, 68, 0.5);
  border: 1px solid rgba(255, 255, 255, 0.3);
  animation: pulse-hot 2s ease-in-out infinite;
}

@keyframes pulse-hot {
  0%, 100% {
    box-shadow: 0 4px 12px rgba(239, 68, 68, 0.5);
    transform: scale(1);
  }
  50% {
    box-shadow: 0 6px 20px rgba(239, 68, 68, 0.8);
    transform: scale(1.05);
  }
}

/* 置顶标签 - 紫色皇冠 + 光束 */
.software-badge-tag.status-置顶 {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 50%, #f093fb 100%);
  box-shadow: 
    0 4px 12px rgba(102, 126, 234, 0.4),
    inset 0 1px 1px rgba(255, 255, 255, 0.3);
  border: 1px solid rgba(255, 255, 255, 0.4);
  overflow: hidden;
}

/* 光束特效 */
.software-badge-tag.status-置顶::before {
  content: '';
  position: absolute;
  top: 0;
  left: -50%;
  width: 30%;
  height: 100%;
  background: linear-gradient(90deg, 
    transparent 0%, 
    rgba(255, 255, 255, 0.3) 20%,
    rgba(255, 255, 255, 0.8) 50%, 
    rgba(255, 255, 255, 0.3) 80%,
    transparent 100%);
  transform: skewX(-15deg);
  animation: shine-move 1.8s ease-in-out infinite;
  pointer-events: none;
  z-index: 1;
  filter: blur(1px);
}

@keyframes shine-move {
  0% {
    left: -50%;
    opacity: 0;
  }
  5% {
    opacity: 0.8;
  }
  95% {
    opacity: 0.8;
  }
  100% {
    left: 150%;
    opacity: 0;
  }
}

/* 确保图标和文字在光束之上 */
.software-badge-tag.status-置顶 i {
  position: relative;
  z-index: 2;
}

/* 首页免费试用标签 */
.free-trial-badge-home {
  position: absolute;
  top: 20px;
  left: 20px;
  background: linear-gradient(135deg, #10b981 0%, #059669 100%);
  color: white;
  padding: 6px 12px;
  border-radius: 16px;
  font-size: 0.8rem;
  font-weight: 700;
  box-shadow: 0 4px 12px rgba(16, 185, 129, 0.4);
  z-index: 3;
  display: flex;
  align-items: center;
  gap: 4px;
  animation: pulse-trial 2s ease-in-out infinite;
}

.free-trial-badge-home i {
  font-size: 0.85rem;
}

@keyframes pulse-trial {
  0%, 100% {
    box-shadow: 0 4px 12px rgba(16, 185, 129, 0.4);
    transform: scale(1);
  }
  50% {
    box-shadow: 0 6px 20px rgba(16, 185, 129, 0.6);
    transform: scale(1.05);
  }
}

.software-thumbnail-pro {
  position: relative;
  height: 220px;
  overflow: hidden;
  background: linear-gradient(135deg, #f0f9ff, #e0e7ff);
}

/* 骨架屏加载效果 */
.software-thumbnail-pro::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, transparent 0%, rgba(255,255,255,0.5) 50%, transparent 100%);
  background-size: 200% 100%;
  animation: skeleton-shimmer 1.5s infinite;
  z-index: 1;
}

.software-thumbnail-pro img {
  position: relative;
  z-index: 2;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.software-thumbnail-pro img[src] {
  /* 图片加载后隐藏骨架闪烁 */
}

@keyframes skeleton-shimmer {
  0% { background-position: -200% 0; }
  100% { background-position: 200% 0; }
}

.software-card-pro:hover .software-thumbnail-pro img {
  transform: scale(1.15);
}

.image-overlay-gradient {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 50%;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.3), transparent);
  opacity: 0;
  transition: opacity 0.4s;
}

.software-card-pro:hover .image-overlay-gradient {
  opacity: 1;
}

.software-body-pro {
  padding: 28px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.software-body-pro h3 {
  font-size: 1.375rem;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 12px;
  line-height: 1.4;
}

.software-body-pro p {
  font-size: 0.9375rem;
  color: var(--text-gray);
  line-height: 1.7;
  margin-bottom: 24px;
  flex: 1;
}

.software-footer-pro {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 24px;
  border-top: 1px solid var(--border);
}

.price-tag {
  display: flex;
  align-items: baseline;
  gap: 4px;
}

.price-amount {
  font-size: 2rem;
  font-weight: 800;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.price-period {
  font-size: 0.875rem;
  color: var(--text-light);
}

.btn-detail-pro {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 20px;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  color: white;
  text-decoration: none;
  border-radius: 10px;
  font-weight: 600;
  font-size: 0.875rem;
  transition: all 0.3s;
  box-shadow: 0 4px 15px rgba(99, 102, 241, 0.3);
}

.btn-detail-pro:hover {
  transform: translateX(4px);
  box-shadow: 0 6px 20px rgba(99, 102, 241, 0.5);
  color: white;
}

/* ==================== Testimonials Section ==================== */

.testimonials {
  position: relative;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  overflow: hidden;
}

.testimonial-bg-gradient {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: 
    radial-gradient(circle at 30% 20%, rgba(255, 255, 255, 0.1), transparent 50%),
    radial-gradient(circle at 70% 80%, rgba(255, 255, 255, 0.08), transparent 50%);
}

.testimonial-grid-pro {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 32px;
  position: relative;
  z-index: 1;
}

.testimonial-card-glass {
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 24px;
  padding: 36px;
  transition: all 0.4s;
}

.testimonial-card-glass:hover {
  transform: translateY(-8px);
  background: rgba(255, 255, 255, 0.15);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.2);
}

.quote-icon-pro {
  font-size: 2.5rem;
  color: rgba(255, 255, 255, 0.3);
  margin-bottom: 16px;
}

.stars {
  display: flex;
  gap: 4px;
  color: #fbbf24;
  font-size: 1rem;
  margin-bottom: 20px;
}

.testimonial-text-pro {
  font-size: 1.0625rem;
  color: white;
  line-height: 1.8;
  margin-bottom: 28px;
  font-style: italic;
}

.testimonial-author-pro {
  display: flex;
  align-items: center;
  gap: 16px;
}

.author-avatar-pro {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--primary);
  flex-shrink: 0;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.author-info-pro {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.author-info-pro strong {
  font-size: 1.0625rem;
  font-weight: 700;
  color: white;
}

.author-info-pro span {
  font-size: 0.9375rem;
  color: rgba(255, 255, 255, 0.8);
}

/* ==================== Testimonials Scroll ==================== */

.testimonial-scroll-track {
  overflow: hidden;
  width: 100%;
  padding: 16px 0 32px;
  position: relative;
  z-index: 1;
}

.testimonial-scroll-inner {
  display: flex;
  gap: 24px;
  width: max-content;
  animation: scroll-left 35s linear infinite;
}

.testimonial-scroll-inner:hover {
  animation-play-state: paused;
}

@keyframes scroll-left {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

.testimonial-scroll-card {
  width: 320px;
  flex-shrink: 0;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 24px;
  padding: 28px;
}

.testimonial-scroll-card:hover {
  background: rgba(255, 255, 255, 0.2);
}

/* ==================== Articles Section ==================== */

.articles {
  background: var(--bg-light);
}

.article-grid-modern {
  display: grid;
  gap: 20px;
  max-width: 1000px;
  margin: 0 auto;
}

.article-grid-2col {
  grid-template-columns: 1fr 1fr;
  max-width: 1200px;
}

@media (max-width: 768px) {
  .article-grid-2col {
    grid-template-columns: 1fr;
  }
}

.article-card-modern {
  display: flex;
  align-items: center;
  gap: 24px;
  padding: 32px;
  background: white;
  border-radius: 16px;
  text-decoration: none;
  border: 2px solid transparent;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
}

.article-card-modern::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 4px;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  transform: scaleY(0);
  transition: transform 0.4s;
}

.article-card-modern:hover {
  transform: translateX(8px);
  border-color: var(--primary);
  box-shadow: 0 12px 40px rgba(99, 102, 241, 0.15);
}

.article-card-modern:hover::before {
  transform: scaleY(1);
}

.article-number-modern {
  font-size: 2.5rem;
  font-weight: 800;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1;
  min-width: 70px;
}

.article-content-modern {
  flex: 1;
}

.article-content-modern h3 {
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--text-dark);
  margin-bottom: 8px;
  line-height: 1.5;
  transition: color 0.3s;
}

.article-card-modern:hover h3 {
  color: var(--primary);
}

.article-meta {
  display: flex;
  gap: 16px;
  align-items: center;
}

.article-date {
  font-size: 0.875rem;
  color: var(--text-light);
  display: flex;
  align-items: center;
  gap: 6px;
}

.article-arrow-modern {
  font-size: 1.5rem;
  color: var(--text-light);
  transition: all 0.4s;
}

.article-card-modern:hover .article-arrow-modern {
  color: var(--primary);
  transform: translateX(10px);
}

/* ==================== 响应式设计 ==================== */

@media (max-width: 1024px) {
  .hero {
    min-height: unset;
    padding: 70px 0 44px;
  }

  .hero-layout {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .hero-illustration {
    display: none;
  }

  .hero-content {
    text-align: center;
  }

  .hero-stats {
    justify-content: center;
  }

  .hero-actions {
    justify-content: center;
  }
  
  .title-line {
    font-size: 2.5rem;
  }
  
  .hero-stats {
    gap: 40px;
  }
  
  .software-grid {
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  }
}

@media (max-width: 768px) {
  section {
    padding: 40px 0;
  }
  
  .hero {
    min-height: unset;
    padding: 50px 0 28px;
  }
  
  .title-line {
    font-size: 1.85rem;
  }
  
  .hero-subtitle {
    font-size: 0.975rem;
    margin-bottom: 20px;
  }
  
  .hero-actions {
    flex-direction: column;
    align-items: stretch;
    gap: 10px;
    width: 100%;
    max-width: 320px;
    margin-left: auto;
    margin-right: auto;
  }
  
  .hero-actions .btn {
    width: 100%;
    justify-content: center;
    padding: 12px 20px;
    box-sizing: border-box;
  }
  
  .hero-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
    width: 100%;
    margin-top: 20px;
  }
  
  .stat-card {
    padding: 8px 4px;
  }
  
  .stat-icon-wrap {
    width: 26px;
    height: 26px;
    font-size: 0.75rem;
    margin-bottom: 4px;
  }
  
  .stat-number {
    font-size: 1.1rem;
    margin-bottom: 2px;
    white-space: nowrap;
  }
  
  .stat-label {
    font-size: 0.7rem;
  }
  
  .section-title-main {
    font-size: 2rem;
  }
  
  .category-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
  }
  
  .category-item {
    padding: 32px 20px;
  }
  
  .software-grid {
    grid-template-columns: 1fr;
  }
  
  .testimonial-grid-pro {
    grid-template-columns: 1fr;
  }
  
  .article-card-modern {
    padding: 24px;
  }
  
  .article-number-modern {
    font-size: 1.75rem;
    min-width: 50px;
  }
}

@media (max-width: 576px) {
  .hero {
    padding: 44px 0 24px;
  }

  .hero-badge {
    font-size: 0.75rem;
    padding: 5px 14px;
    margin-bottom: 12px;
  }

  .title-line {
    font-size: 1.6rem;
  }
  
  .category-grid {
    grid-template-columns: 1fr;
  }
}

/* ==================== 工具类 ==================== */

.text-center {
  text-align: center;
}

.mt-4 {
  margin-top: 2rem;
}

.mt-5 {
  margin-top: 3rem;
}

/* ==================== 无障碍：减少动画 ==================== */
@media (prefers-reduced-motion: reduce) {
  .gradient-orb,
  .grid-overlay,
  .badge-dot,
  .testimonial-scroll-inner,
  .card-shine,
  .btn-glow {
    animation: none !important;
    transition: none !important;
  }
}
