﻿/* 云商鸿途官网 - 全局样式 */

:root {
  --primary: #C41230;
  --primary-light: #E8384F;
  --accent: #D4AF37;
  --bg-primary: #FAF7F2;
  --bg-secondary: #F5F0E8;
  --text-primary: #2C2C2C;
  --text-secondary: #666666;
  --text-light: #999999;
  --border: #E8E0D5;
  --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.08);
  --shadow-lg: 0 8px 24px rgba(0, 0, 0, 0.12);
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'PingFang SC', 'Microsoft YaHei', sans-serif;
  background: var(--bg-primary);
  color: var(--text-primary);
  overflow-x: hidden;
}

a {
  text-decoration: none;
  color: inherit;
}

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

/* ========== 导航栏 ========== */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  box-shadow: var(--shadow-sm);
  transition: all 0.3s;
}

.navbar.scrolled {
  background: rgba(255, 255, 255, 0.98);
  box-shadow: var(--shadow-md);
}

.navbar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 70px;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 12px;
}

.nav-logo-icon {
  width: 40px;
  height: 40px;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 22px;
  font-weight: bold;
  font-family: 'STKaiti', serif;
}

.nav-logo-text {
  font-size: 20px;
  font-weight: bold;
  color: var(--text-primary);
  letter-spacing: 2px;
}

.nav-menu {
  display: flex;
  list-style: none;
  gap: 30px;
}

.nav-menu a {
  font-size: 15px;
  color: var(--text-secondary);
  transition: color 0.3s;
  position: relative;
}

.nav-menu a:hover,
.nav-menu a.active {
  color: var(--primary);
}

.nav-menu a::after {
  content: '';
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--primary);
  transition: width 0.3s;
}

.nav-menu a:hover::after {
  width: 100%;
}

.nav-actions {
  display: flex;
  gap: 12px;
}

.btn {
  padding: 10px 24px;
  border-radius: 8px;
  font-size: 14px;
  font-weight: bold;
  cursor: pointer;
  transition: all 0.3s;
  border: none;
}

.btn-primary {
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  color: white;
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 15px rgba(196, 18, 48, 0.3);
}

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

.btn-outline:hover {
  background: rgba(196, 18, 48, 0.05);
}

.btn-large {
  padding: 14px 36px;
  font-size: 16px;
  border-radius: 10px;
}

/* ========== Hero 区域 ========== */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, #1a0a0a 0%, #2d1810 50%, #0d0d0d 100%);
}

.hero-bg-particles {
  position: absolute;
  width: 100%;
  height: 100%;
  overflow: hidden;
}

.hero-particle {
  position: absolute;
  background: radial-gradient(circle, rgba(196, 18, 48, 0.2) 0%, transparent 70%);
  border-radius: 50%;
  animation: heroFloat 10s infinite ease-in-out;
}

@keyframes heroFloat {
  0%, 100% { transform: translateY(0) scale(1); opacity: 0.3; }
  50% { transform: translateY(-50px) scale(1.2); opacity: 0.6; }
}

.hero-content {
  position: relative;
  z-index: 1;
  color: white;
  max-width: 800px;
  padding: 0 20px;
}

.hero-logo {
  width: 100px;
  height: 100px;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  border-radius: 20px;
  margin: 0 auto 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 48px;
  font-weight: bold;
  animation: heroLogoAppear 1s ease-out;
  transform: rotate(45deg);
}

.hero-logo span {
  transform: rotate(-45deg);
}

@keyframes heroLogoAppear {
  0% { transform: rotate(0deg) scale(0.5); opacity: 0; }
  100% { transform: rotate(45deg) scale(1); opacity: 1; }
}

.hero h1 {
  font-size: 52px;
  font-weight: bold;
  letter-spacing: 8px;
  margin-bottom: 20px;
  animation: heroFadeIn 1s ease-out 0.3s both;
  font-family: 'STKaiti', serif;
}

.hero p {
  font-size: 18px;
  opacity: 0.8;
  line-height: 1.8;
  margin-bottom: 40px;
  animation: heroFadeIn 1s ease-out 0.6s both;
}

.hero-buttons {
  display: flex;
  gap: 20px;
  justify-content: center;
  animation: heroFadeIn 1s ease-out 0.9s both;
}

@keyframes heroFadeIn {
  0% { opacity: 0; transform: translateY(30px); }
  100% { opacity: 1; transform: translateY(0); }
}

/* ========== 特性区域 ========== */
.features {
  padding: 100px 0;
  background: var(--bg-primary);
}

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

.section-title h2 {
  font-size: 36px;
  font-weight: bold;
  color: var(--text-primary);
  margin-bottom: 15px;
}

.section-title p {
  font-size: 16px;
  color: var(--text-secondary);
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.feature-card {
  background: white;
  border-radius: 16px;
  padding: 40px 30px;
  text-align: center;
  box-shadow: var(--shadow-sm);
  transition: all 0.3s;
}

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

.feature-icon {
  font-size: 48px;
  margin-bottom: 20px;
}

.feature-card h3 {
  font-size: 20px;
  font-weight: bold;
  color: var(--text-primary);
  margin-bottom: 12px;
}

.feature-card p {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.6;
}

/* ========== 价格区域 ========== */
.pricing {
  padding: 100px 0;
  background: var(--bg-secondary);
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  max-width: 1000px;
  margin: 0 auto;
}

.pricing-card {
  background: white;
  border-radius: 16px;
  padding: 40px 30px;
  text-align: center;
  box-shadow: var(--shadow-sm);
  transition: all 0.3s;
  position: relative;
}

.pricing-card.popular {
  border: 2px solid var(--primary);
  transform: scale(1.05);
}

.pricing-card.popular::before {
  content: '最受欢迎';
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--primary);
  color: white;
  padding: 4px 16px;
  border-radius: 12px;
  font-size: 12px;
  font-weight: bold;
}

.pricing-card h3 {
  font-size: 22px;
  font-weight: bold;
  color: var(--text-primary);
  margin-bottom: 15px;
}

.price {
  font-size: 48px;
  font-weight: bold;
  color: var(--primary);
  margin-bottom: 5px;
}

.price small {
  font-size: 16px;
  color: var(--text-secondary);
  font-weight: normal;
}

.pricing-features {
  list-style: none;
  margin: 30px 0;
  text-align: left;
}

.pricing-features li {
  padding: 8px 0;
  font-size: 14px;
  color: var(--text-secondary);
  border-bottom: 1px solid #F0EBE3;
}

.pricing-features li::before {
  content: '✓ ';
  color: var(--primary);
  font-weight: bold;
}

/* ========== 下载区域 ========== */
.download {
  padding: 100px 0;
  background: linear-gradient(135deg, var(--primary), #8B0000);
  color: white;
  text-align: center;
}

.download h2 {
  font-size: 36px;
  font-weight: bold;
  margin-bottom: 20px;
}

.download p {
  font-size: 16px;
  opacity: 0.9;
  margin-bottom: 40px;
}

.download-buttons {
  display: flex;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap;
}

.download-btn {
  padding: 16px 32px;
  background: rgba(255, 255, 255, 0.15);
  border: 2px solid white;
  border-radius: 12px;
  color: white;
  font-size: 16px;
  font-weight: bold;
  cursor: pointer;
  transition: all 0.3s;
  display: flex;
  align-items: center;
  gap: 10px;
}

.download-btn:hover {
  background: white;
  color: var(--primary);
  transform: translateY(-3px);
}

.download-btn .icon {
  font-size: 24px;
}

/* ========== 页脚 ========== */
.footer {
  background: #1a1a1a;
  color: rgba(255, 255, 255, 0.6);
  padding: 60px 0 30px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 40px;
}

.footer-brand h3 {
  color: white;
  font-size: 24px;
  margin-bottom: 15px;
  font-family: 'STKaiti', serif;
}

.footer-brand p {
  line-height: 1.8;
  font-size: 14px;
}

.footer-links h4 {
  color: white;
  font-size: 16px;
  margin-bottom: 15px;
}

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

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

.footer-links a {
  font-size: 14px;
  transition: color 0.3s;
}

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

.footer-bottom {
  text-align: center;
  padding-top: 30px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 13px;
}

/* ========== 鼠标跟随甲骨文 ========== */
.jiagu-cursor {
  position: fixed;
  width: 20px;
  height: 20px;
  pointer-events: none;
  z-index: 9999;
  font-size: 14px;
  color: rgba(196, 18, 48, 0.3);
  font-family: 'STKaiti', serif;
  transition: transform 0.1s;
}

/* ========== 滚动视差 ========== */
.parallax-section {
  position: relative;
  overflow: hidden;
}

.parallax-bg {
  position: absolute;
  top: -50%;
  left: 0;
  width: 100%;
  height: 200%;
  background-repeat: no-repeat;
  background-position: center;
  background-size: cover;
}

/* ========== 动画类 ========== */
.fade-in {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.6s ease-out;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

.slide-in-left {
  opacity: 0;
  transform: translateX(-50px);
  transition: all 0.6s ease-out;
}

.slide-in-left.visible {
  opacity: 1;
  transform: translateX(0);
}

/* ========== 响应式 ========== */
@media (max-width: 768px) {
  .hero h1 { font-size: 32px; }
  .features-grid,
  .pricing-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .navbar .container { flex-wrap: wrap; height: auto; padding: 15px 0; }
  .nav-menu { display: none; }
  .hero-buttons { flex-direction: column; align-items: center; }
  .download-buttons { flex-direction: column; align-items: center; }
}

/* ========== 动效开关 ========== */
.animations-disabled * {
  animation: none !important;
  transition: none !important;
}
