:root {
  --primary: #7B68EE;
  --secondary: #4CAF50;
  --accent: #FFD700;
  --dark: #0a0f1a;
  --darker: #05070c;
  --light: #F8F9FA;
  --card-bg: rgba(255, 255, 255, 0.05);
  --card-border: rgba(255, 255, 255, 0.08);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: "PingFang SC", "Microsoft YaHei", "Noto Sans SC", sans-serif;
  background-color: var(--dark);
  color: var(--light);
  overflow-x: hidden;
}

.header-scrolled {
  background: rgba(10, 15, 26, 0.95) !important;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.3);
}

.page-hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: linear-gradient(135deg, #0a0f1a 0%, #1a103c 50%, #0a0f1a 100%);
}

.page-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: url('https://file.3xiangyx.com/main/img/20260618/6a33ccc3f1ab7.jpg') center/cover no-repeat;
  opacity: 0.35;
  animation: heroZoom 20s ease-in-out infinite alternate;
}

.page-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 30% 50%, rgba(123, 104, 238, 0.25) 0%, transparent 50%),
              linear-gradient(to bottom, rgba(10, 15, 26, 0.3) 0%, rgba(10, 15, 26, 0.85) 70%, var(--dark) 100%);
}

@keyframes heroZoom {
  0% { transform: scale(1); }
  100% { transform: scale(1.08); }
}

.hero-content {
  position: relative;
  z-index: 10;
  text-align: center;
  padding-top: 80px;
}

.hero-logo {
  width: clamp(100px, 18vw, 180px);
  height: auto;
  filter: drop-shadow(0 10px 40px rgba(123, 104, 238, 0.5));
  margin-bottom: 1.5rem;
  animation: float 4s ease-in-out infinite;
}

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

.hero-title {
  font-size: clamp(2.2rem, 6vw, 5rem);
  line-height: 1.1;
  text-shadow: 0 4px 30px rgba(0, 0, 0, 0.5);
  margin-bottom: 1rem;
}

.hero-subtitle {
  font-size: clamp(1rem, 2.2vw, 1.5rem);
  color: rgba(255, 255, 255, 0.8);
  max-width: 800px;
  margin: 0 auto 2rem;
  line-height: 1.7;
}

.hero-badges {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.75rem;
  margin-bottom: 2.5rem;
}

.hero-badge {
  padding: 0.5rem 1rem;
  border-radius: 9999px;
  background: rgba(123, 104, 238, 0.2);
  border: 1px solid rgba(123, 104, 238, 0.4);
  color: var(--accent);
  font-size: 0.875rem;
  font-weight: 600;
}

.download-btn {
  display: inline-flex;
  align-items: center;
  padding: 1rem 2.5rem;
  border-radius: 9999px;
  background: linear-gradient(135deg, var(--accent) 0%, #ffaa00 100%);
  color: #1a1200;
  font-size: 1.25rem;
  font-weight: 800;
  border: 2px solid rgba(255, 215, 0, 0.5);
  box-shadow: 0 8px 0 #b8860b, 0 15px 35px rgba(255, 215, 0, 0.3);
  transition: all 0.3s ease;
}

.download-btn:hover {
  transform: translateY(-4px) scale(1.05);
  box-shadow: 0 12px 0 #b8860b, 0 25px 50px rgba(255, 215, 0, 0.4);
}

.download-btn:active {
  transform: translateY(4px);
  box-shadow: 0 4px 0 #b8860b, 0 8px 20px rgba(255, 215, 0, 0.3);
}

.scroll-hint {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 10;
  color: rgba(255, 255, 255, 0.6);
  animation: bounce 2s infinite;
}

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

.section-title {
  font-size: clamp(1.75rem, 4vw, 3rem);
  font-weight: 800;
  color: white;
  margin-bottom: 1rem;
  position: relative;
  display: inline-block;
}

.section-title::after {
  content: "";
  position: absolute;
  bottom: -8px;
  left: 0;
  width: 60px;
  height: 4px;
  background: linear-gradient(90deg, var(--accent), var(--primary));
  border-radius: 2px;
}

.section-title.center {
  display: block;
  text-align: center;
}

.section-title.center::after {
  left: 50%;
  transform: translateX(-50%);
}

.section-subtitle {
  color: rgba(255, 255, 255, 0.65);
  font-size: 1.1rem;
  margin-top: 1.25rem;
}

.feature-card {
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: 1.5rem;
  overflow: hidden;
  transition: all 0.3s ease;
  height: 100%;
}

.feature-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.4);
  border-color: rgba(123, 104, 238, 0.3);
}

.feature-card img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.feature-card:hover img {
  transform: scale(1.05);
}

.feature-card .p-6 {
  padding: 1.5rem;
}

.feature-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--primary), rgba(123, 104, 238, 0.5));
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent);
  font-size: 1.25rem;
  margin-bottom: 1rem;
}

.feature-title {
  font-size: 1.25rem;
  font-weight: 700;
  color: white;
  margin-bottom: 0.5rem;
}

.feature-desc {
  color: rgba(255, 255, 255, 0.65);
  line-height: 1.7;
  font-size: 0.95rem;
}

.intro-section {
  background: linear-gradient(180deg, var(--dark) 0%, #0f1420 100%);
  position: relative;
}

.intro-section::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(123, 104, 238, 0.5), transparent);
}

.intro-text {
  font-size: 1.1rem;
  line-height: 2;
  color: rgba(255, 255, 255, 0.75);
}

.highlight-box {
  background: linear-gradient(135deg, rgba(123, 104, 238, 0.15), rgba(76, 175, 80, 0.1));
  border: 1px solid rgba(123, 104, 238, 0.25);
  border-radius: 1.5rem;
  padding: 2rem;
}

.stat-item {
  text-align: center;
  padding: 1.5rem;
  border-radius: 1rem;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.06);
  transition: all 0.3s ease;
}

.stat-item:hover {
  background: rgba(123, 104, 238, 0.1);
  border-color: rgba(123, 104, 238, 0.2);
}

.stat-number {
  font-size: 2.5rem;
  font-weight: 900;
  color: var(--accent);
  display: block;
}

.stat-label {
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.95rem;
  margin-top: 0.25rem;
}

.download-section {
  background: linear-gradient(135deg, rgba(123, 104, 238, 0.15) 0%, rgba(76, 175, 80, 0.1) 100%);
  position: relative;
  overflow: hidden;
}

.download-section::before {
  content: "";
  position: absolute;
  inset: 0;
  background: url('https://file.3xiangyx.com/main/img/20260618/6a33ccc454185.jpg') center/cover no-repeat;
  opacity: 0.1;
}

.contact-card {
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: 1.5rem;
  padding: 1.5rem;
  text-align: center;
  transition: all 0.3s ease;
}

.contact-card:hover {
  transform: translateY(-6px);
  border-color: rgba(123, 104, 238, 0.3);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.contact-card img {
  width: 120px;
  height: 120px;
  object-fit: contain;
  border-radius: 0.75rem;
  margin: 0 auto 1rem;
  background: white;
  padding: 0.5rem;
}

.contact-card h3 {
  font-size: 1.1rem;
  font-weight: 700;
  color: white;
  margin-bottom: 0.5rem;
}

.contact-card p {
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.875rem;
}

.footer-link {
  color: rgba(255, 255, 255, 0.6);
  transition: color 0.3s ease;
}

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

.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.6s ease;
}

.reveal.revealed {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 768px) {
  .hero-content {
    padding-top: 100px;
    padding-left: 1rem;
    padding-right: 1rem;
  }

  .hero-badges {
    gap: 0.5rem;
  }

  .hero-badge {
    font-size: 0.75rem;
    padding: 0.375rem 0.75rem;
  }

  .download-btn {
    padding: 0.875rem 2rem;
    font-size: 1.1rem;
  }

  .feature-card img {
    height: 180px;
  }
}
