/* 全局样式 */
:root {
  --primary-color: #FF6B35;
  --primary-light: #FF8C5A;
  --primary-dark: #E55A2B;
  --accent-color: #5B6CFF;
  --accent-light: #7B8AFF;
  --secondary-color: #F5F7FA;
  --text-dark: #333;
  --text-light: #666;
  --white: #ffffff;
  --border-radius: 12px;
  --box-shadow: 0 4px 20px rgba(255, 107, 53, 0.08);
  --box-shadow-hover: 0 12px 40px rgba(255, 107, 53, 0.15);
  --transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-fast: all 0.2s ease;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
  line-height: 1.6;
  color: var(--text-dark);
  background-color: var(--white);
  overflow-x: hidden;
}

/* 全局链接样式重置 */
a {
  text-decoration: none;
  color: inherit;
  transition: var(--transition-fast);
}

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

/* 页面加载动画 */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

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

@keyframes slideInLeft {
  from {
    opacity: 0;
    transform: translateX(-50px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes slideInRight {
  from {
    opacity: 0;
    transform: translateX(50px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

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

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

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

@keyframes shimmer {
  0% {
    background-position: -200% 0;
  }
  100% {
    background-position: 200% 0;
  }
}

/* 滚动动画类 */
.animate-on-scroll {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

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

.delay-1 { transition-delay: 0.1s; }
.delay-2 { transition-delay: 0.2s; }
.delay-3 { transition-delay: 0.3s; }
.delay-4 { transition-delay: 0.4s; }

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* 导航栏 */
.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 0;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  background-color: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  z-index: 1000;
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
  transition: var(--transition);
}

.navbar.scrolled {
  padding: 15px 0;
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.08);
}

.navbar .logo {
  font-size: 26px;
  font-weight: 800;
  color: var(--primary-color);
  letter-spacing: -0.5px;
  transition: var(--transition);
}

.navbar .logo:hover {
  transform: scale(1.05);
}

.navbar .nav-links {
  display: flex;
  list-style: none;
  gap: 8px;
}

.navbar .nav-links li {
  margin-left: 0;
}

.navbar .nav-links a {
  color: var(--text-dark);
  font-weight: 500;
  padding: 8px 16px;
  border-radius: 8px;
  transition: var(--transition);
  position: relative;
}

.navbar .nav-links a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 0;
  height: 2px;
  background: var(--primary-color);
  transition: var(--transition);
  transform: translateX(-50%);
}

.navbar .nav-links a:hover {
  color: var(--primary-color);
  background-color: rgba(255, 107, 53, 0.05);
}

.navbar .nav-links a:hover::after {
  width: 20px;
}

.navbar .nav-links a.active {
  color: var(--primary-color);
  font-weight: 600;
}

/* 主视觉区域 */
.hero {
  padding: 180px 0 100px;
  text-align: center;
  background: linear-gradient(180deg, rgba(255, 107, 53, 0.03) 0%, rgba(255, 255, 255, 0) 100%);
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(255, 107, 53, 0.03) 0%, transparent 50%);
  animation: float 20s ease-in-out infinite;
}

.hero h1 {
  font-size: 4rem;
  font-weight: 800;
  margin-bottom: 24px;
  line-height: 1.1;
  letter-spacing: -1px;
  animation: fadeInUp 0.8s ease forwards;
  background: linear-gradient(135deg, var(--text-dark) 0%, var(--primary-color) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero .subtitle {
  font-size: 1.6rem;
  color: var(--text-light);
  margin-bottom: 40px;
  animation: fadeInUp 0.8s ease 0.2s forwards;
  opacity: 0;
}

.hero .cta-button,
.cta-button {
  display: inline-block;
  background: linear-gradient(135deg, var(--accent-color) 0%, var(--accent-light) 100%);
  color: white;
  padding: 16px 36px;
  border-radius: 50px;
  font-weight: 600;
  font-size: 1.1rem;
  transition: var(--transition);
  border: none;
  box-shadow: 0 4px 15px rgba(91, 108, 255, 0.3);
  position: relative;
  overflow: hidden;
  animation: fadeInUp 0.8s ease 0.4s forwards;
  opacity: 0;
}

.hero .cta-button::before,
.cta-button::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: var(--transition);
}

.hero .cta-button:hover,
.cta-button:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(91, 108, 255, 0.4);
  color: white;
}

.hero .cta-button:hover::before,
.cta-button:hover::before {
  left: 100%;
}

.cta-button:active {
  transform: translateY(-1px);
}

/* 内容区域 */
.content-section {
  padding: 100px 0;
  position: relative;
}

.content-section h2 {
  font-size: 2.8rem;
  text-align: center;
  margin-bottom: 60px;
  font-weight: 700;
  letter-spacing: -0.5px;
  position: relative;
}

.content-section h2::after {
  content: '';
  display: block;
  width: 60px;
  height: 4px;
  background: linear-gradient(90deg, var(--primary-color), var(--primary-light));
  margin: 20px auto 0;
  border-radius: 2px;
}

/* 特色卡片 */
.features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  margin-top: 50px;
}

.feature-card {
  background: var(--white);
  border-radius: var(--border-radius);
  padding: 40px 30px;
  text-align: center;
  box-shadow: var(--box-shadow);
  transition: var(--transition);
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(0, 0, 0, 0.03);
}

.feature-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(90deg, var(--primary-color), var(--primary-light));
  transform: scaleX(0);
  transition: var(--transition);
}

.feature-card:hover {
  transform: translateY(-10px);
  box-shadow: var(--box-shadow-hover);
}

.feature-card:hover::before {
  transform: scaleX(1);
}

.feature-card .icon {
  font-size: 3rem;
  margin-bottom: 10px;
  display: inline-block;
  transition: var(--transition);
}

.feature-card:hover .icon {
  transform: scale(1.1);
  animation: pulse 1s ease infinite;
}

/* SVG图标样式 */
.icon-box {
  width: 60px;
  height: 60px;
  margin: 0 auto 20px;
  background: linear-gradient(135deg, rgba(255, 107, 53, 0.1) 0%, rgba(91, 108, 255, 0.1) 100%);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
}

.icon-svg {
  width: 32px;
  height: 32px;
  color: var(--primary-color);
  transition: var(--transition);
}

.feature-card:hover .icon-box {
  transform: translateY(-5px);
  background: linear-gradient(135deg, rgba(255, 107, 53, 0.15) 0%, rgba(91, 108, 255, 0.15) 100%);
  box-shadow: 0 8px 20px rgba(255, 107, 53, 0.2);
}

.feature-card:hover .icon-svg {
  color: var(--accent-color);
  transform: scale(1.1);
}

/* 步骤数字样式 */
.step-number {
  width: 60px;
  height: 60px;
  margin: 0 auto 20px;
  background: linear-gradient(135deg, var(--accent-color) 0%, var(--accent-light) 100%);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  font-weight: 700;
  color: white;
  transition: var(--transition);
}

.feature-card:hover .step-number {
  transform: scale(1.1);
  box-shadow: 0 8px 20px rgba(91, 108, 255, 0.3);
}

.feature-card h3 {
  font-size: 1.4rem;
  margin: 20px 0 15px;
  font-weight: 600;
}

.feature-card p {
  color: var(--text-light);
  line-height: 1.7;
}

/* 产品展示 */
.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 30px;
  margin-top: 50px;
}

.product-card {
  border-radius: var(--border-radius);
  overflow: hidden;
  box-shadow: var(--box-shadow);
  transition: var(--transition);
  background: var(--white);
  border: 1px solid rgba(0, 0, 0, 0.03);
}

.product-card:hover {
  transform: translateY(-8px) scale(1.02);
  box-shadow: var(--box-shadow-hover);
}

.product-image {
  height: 200px;
  background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-light);
  font-size: 1.2rem;
  font-weight: 500;
  position: relative;
  overflow: hidden;
}

.product-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transition: var(--transition);
}

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

.product-image::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(91, 108, 255, 0.05) 0%, transparent 100%);
  opacity: 0;
  transition: var(--transition);
}

.product-card:hover .product-image::after {
  opacity: 1;
}

.product-info {
  padding: 24px;
}

.product-info h3 {
  font-size: 1.25rem;
  margin-bottom: 8px;
  font-weight: 600;
}

.product-info p {
  color: var(--text-light);
  margin-bottom: 16px;
  font-size: 0.95rem;
}

.price {
  font-weight: 700;
  color: var(--primary-color);
  font-size: 1.3rem;
  display: inline-block;
  background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* FAQ */
.faq-item {
  margin-bottom: 24px;
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
  padding-bottom: 24px;
  transition: var(--transition);
}

.faq-item:last-child {
  border-bottom: none;
}

.faq-item h3 {
  font-size: 1.25rem;
  margin-bottom: 12px;
  font-weight: 600;
  color: var(--text-dark);
  transition: var(--transition);
}

.faq-item:hover h3 {
  color: var(--primary-color);
}

.faq-item p {
  line-height: 1.8;
  color: var(--text-light);
}

/* 联系方式 */
.contact-info {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  margin-top: 50px;
}

.contact-card {
  text-align: center;
  padding: 40px 30px;
  border-radius: var(--border-radius);
  box-shadow: var(--box-shadow);
  background: var(--white);
  transition: var(--transition);
  border: 1px solid rgba(0, 0, 0, 0.03);
}

.contact-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--box-shadow-hover);
}

.contact-card .icon {
  display: inline-block;
  transition: var(--transition);
}

.contact-card:hover .icon {
  transform: scale(1.2);
}

.contact-card h3 {
  margin: 16px 0 12px;
  font-weight: 600;
}

.contact-card p {
  color: var(--text-light);
  margin-bottom: 8px;
}

/* 页脚 */
.footer {
  background: linear-gradient(180deg, #f8f9fa 0%, #f0f2f5 100%);
  padding: 80px 0 40px;
  margin-top: 100px;
  position: relative;
}

.footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255, 107, 53, 0.2), transparent);
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 50px;
  margin-bottom: 50px;
}

.footer-section h3 {
  font-size: 1.2rem;
  margin-bottom: 24px;
  font-weight: 600;
  position: relative;
  display: inline-block;
}

.footer-section h3::after {
  content: '';
  position: absolute;
  bottom: -8px;
  left: 0;
  width: 30px;
  height: 2px;
  background: var(--primary-color);
  border-radius: 1px;
}

.footer-section p {
  color: var(--text-light);
  margin-bottom: 12px;
  line-height: 1.7;
}

.footer-section li {
  color: var(--text-light);
  margin-bottom: 12px;
  list-style: none;
  transition: var(--transition);
}

.footer-section li:hover {
  color: var(--primary-color);
  transform: translateX(5px);
}

.footer-section li a {
  color: inherit;
}

.footer-section li a:hover {
  color: var(--primary-color);
}

.footer-section ul {
  padding: 0;
}

.footer-bottom {
  text-align: center;
  padding-top: 30px;
  border-top: 1px solid rgba(0, 0, 0, 0.08);
  color: var(--text-light);
  font-size: 0.9rem;
}

.qr-placeholder {
  width: 140px;
  height: 140px;
  background: linear-gradient(135deg, #e9ecef 0%, #dee2e6 100%);
  border-radius: var(--border-radius);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 20px auto;
  color: var(--text-light);
  font-size: 0.85rem;
  text-align: center;
  padding: 15px;
  transition: var(--transition);
  border: 2px dashed rgba(255, 107, 53, 0.3);
}

.qr-placeholder:hover {
  border-color: var(--primary-color);
  background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
}

/* 二维码图片样式 */
.qr-code {
  text-align: center;
  margin: 20px auto;
}

.qr-code img {
  width: 140px;
  height: 140px;
  border-radius: var(--border-radius);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  transition: var(--transition);
  display: block;
  margin: 0 auto;
}

.qr-code img:hover {
  transform: scale(1.05);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.qr-tip {
  margin-top: 10px;
  font-size: 0.85rem;
  color: var(--text-light);
}

/* 文字链接样式 */
.text-link {
  color: var(--primary-color);
  font-weight: 500;
  position: relative;
  display: inline-block;
}

.text-link::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--primary-color);
  transition: var(--transition);
}

.text-link:hover::after {
  width: 100%;
}

/* 阅读更多链接 */
.read-more {
  display: inline-block;
  color: var(--accent-color);
  font-weight: 600;
  font-size: 0.95rem;
  margin-top: 12px;
  position: relative;
  padding-right: 20px;
  transition: var(--transition);
}

.read-more::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--accent-color), var(--accent-light));
  transition: var(--transition);
  border-radius: 1px;
}

.read-more:hover {
  color: var(--accent-color);
  transform: translateX(5px);
}

.read-more:hover::after {
  width: calc(100% - 20px);
}

/* 卡片内链接 */
.card-link {
  display: inline-block;
  color: var(--accent-color);
  font-weight: 600;
  font-size: 0.95rem;
  margin-top: 12px;
  transition: var(--transition);
  position: relative;
}

.card-link::before {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--accent-color);
  transition: var(--transition);
}

.card-link:hover {
  color: var(--accent-light);
}

.card-link:hover::before {
  width: 100%;
}

/* 订阅区域样式 */
.subscribe-section {
  background: linear-gradient(135deg, var(--accent-color) 0%, var(--accent-light) 100%);
  color: white;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.subscribe-section::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, transparent 50%);
  animation: float 15s ease-in-out infinite;
}

.subscribe-section h2 {
  color: white;
}

.subscribe-section h2::after {
  background: rgba(255, 255, 255, 0.5);
}

.subscribe-desc {
  font-size: 1.2rem;
  max-width: 600px;
  margin: 0 auto 30px;
  opacity: 0.95;
}

.subscribe-form {
  max-width: 500px;
  margin: 0 auto;
  display: flex;
  border-radius: 50px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(91, 108, 255, 0.3);
}

.subscribe-input {
  flex: 1;
  padding: 16px 24px;
  border: none;
  outline: none;
  font-size: 1rem;
}

.subscribe-input::placeholder {
  color: #999;
}

.subscribe-btn {
  background: white;
  color: var(--accent-color);
  border: none;
  padding: 16px 32px;
  font-weight: 600;
  font-size: 1rem;
  cursor: pointer;
  transition: var(--transition);
}

.subscribe-btn:hover {
  background: var(--secondary-color);
  transform: scale(1.05);
}

/* 按钮内链接样式 */
.product-info .cta-button,
.feature-card .cta-button {
  font-size: 0.95rem;
  padding: 12px 24px;
}

/* 产品卡片按钮 */
.product-btn {
  display: block;
  text-align: center;
  margin-top: 16px;
  padding: 12px 20px;
  background: linear-gradient(135deg, var(--accent-color) 0%, var(--accent-light) 100%);
  color: white;
  border-radius: 8px;
  font-weight: 600;
  font-size: 0.95rem;
  transition: var(--transition);
  box-shadow: 0 4px 12px rgba(91, 108, 255, 0.2);
}

.product-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(91, 108, 255, 0.35);
  color: white;
}

/* 特色卡片按钮 */
.feature-btn {
  display: inline-block;
  margin-top: 16px;
  padding: 10px 20px;
  background: transparent;
  color: var(--accent-color);
  border: 2px solid var(--accent-color);
  border-radius: 50px;
  font-weight: 600;
  font-size: 0.9rem;
  transition: var(--transition);
}

.feature-btn:hover {
  background: var(--accent-color);
  color: white;
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(91, 108, 255, 0.3);
}

/* 加载动画占位 */
.skeleton {
  background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
  background-size: 200% 100%;
  animation: shimmer 1.5s infinite;
}

/* 响应式设计 */
@media (max-width: 768px) {
  .hero {
    padding: 140px 0 80px;
  }
  
  .hero h1 {
    font-size: 2.5rem;
  }
  
  .hero .subtitle {
    font-size: 1.15rem;
  }
  
  .navbar {
    padding: 15px;
  }
  
  .navbar .nav-links {
    display: none;
  }
  
  .content-section {
    padding: 60px 0;
  }
  
  .content-section h2 {
    font-size: 2rem;
  }
  
  .feature-card,
  .product-card,
  .contact-card {
    margin: 0 10px;
  }
  
  .cta-button {
    padding: 14px 28px;
    font-size: 1rem;
  }
}

@media (max-width: 480px) {
  .hero h1 {
    font-size: 2rem;
  }
  
  .hero .subtitle {
    font-size: 1rem;
  }
  
  .content-section h2 {
    font-size: 1.7rem;
  }
}