@charset "UTF-8";
@import url('https://fonts.googleapis.com/css2?family=ZCOOL+KuaiLe&family=Noto+Sans+SC:wght@400;500;700&display=swap');

:root {
  --primary: #14B8A6;
  --primary-light: #2DD4BF;
  --primary-dark: #0D9488;
  --secondary: #F59E0B;
  --secondary-light: #FBBF24;
  --accent: #F472B6;
  --accent-light: #F9A8D4;
  --bg-dark: #0f172a;
  --bg-darker: #020617;
  --bg-card: rgba(30, 41, 59, 0.72);
  --bg-card-solid: #1e293b;
  --text-main: #f8fafc;
  --text-muted: #94a3b8;
  --border-color: rgba(148, 163, 184, 0.18);
  --radius-sm: 0.75rem;
  --radius-md: 1.25rem;
  --radius-lg: 2rem;
  --radius-xl: 2.5rem;
  --shadow-glow: 0 0 30px rgba(20, 184, 166, 0.28);
  --shadow-glow-pink: 0 0 30px rgba(244, 114, 182, 0.28);
  --shadow-glow-amber: 0 0 30px rgba(245, 158, 11, 0.28);
  --font-title: 'ZCOOL KuaiLe', 'PingFang SC', 'Microsoft YaHei', cursive;
  --font-body: 'Noto Sans SC', 'PingFang SC', 'Microsoft YaHei', sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  background-color: var(--bg-dark);
  color: var(--text-main);
  line-height: 1.75;
  overflow-x: hidden;
}

/* ---------- Utilities ---------- */
.font-title {
  font-family: var(--font-title);
}

.text-primary { color: var(--primary); }
.text-secondary { color: var(--secondary); }
.text-accent { color: var(--accent); }
.bg-card { background: var(--bg-card); }

.glass {
  background: rgba(15, 23, 42, 0.65);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid var(--border-color);
}

/* ---------- Buttons ---------- */
.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.875rem 2rem;
  border-radius: var(--radius-xl);
  font-weight: 700;
  font-size: clamp(0.9375rem, 1.2vw, 1.0625rem);
  color: #fff;
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  box-shadow: 0 8px 24px rgba(20, 184, 166, 0.35), inset 0 1px 0 rgba(255,255,255,0.2);
  transition: all 0.3s ease;
  border: none;
  cursor: pointer;
  text-decoration: none;
}
.btn-primary:hover {
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 12px 32px rgba(20, 184, 166, 0.5);
}

.btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.875rem 2rem;
  border-radius: var(--radius-xl);
  font-weight: 700;
  font-size: clamp(0.9375rem, 1.2vw, 1.0625rem);
  color: #fff;
  background: linear-gradient(135deg, var(--secondary) 0%, #D97706 100%);
  box-shadow: 0 8px 24px rgba(245, 158, 11, 0.35), inset 0 1px 0 rgba(255,255,255,0.2);
  transition: all 0.3s ease;
  border: none;
  cursor: pointer;
  text-decoration: none;
}
.btn-secondary:hover {
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 12px 32px rgba(245, 158, 11, 0.5);
}

.btn-outline {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.875rem 2rem;
  border-radius: var(--radius-xl);
  font-weight: 700;
  font-size: clamp(0.9375rem, 1.2vw, 1.0625rem);
  color: var(--text-main);
  background: transparent;
  border: 2px solid rgba(255,255,255,0.25);
  transition: all 0.3s ease;
  cursor: pointer;
  text-decoration: none;
}
.btn-outline:hover {
  border-color: var(--primary);
  color: var(--primary-light);
  background: rgba(20, 184, 166, 0.08);
}

.btn-pink {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.875rem 2rem;
  border-radius: var(--radius-xl);
  font-weight: 700;
  font-size: clamp(0.9375rem, 1.2vw, 1.0625rem);
  color: #fff;
  background: linear-gradient(135deg, var(--accent) 0%, #DB2777 100%);
  box-shadow: 0 8px 24px rgba(244, 114, 182, 0.35), inset 0 1px 0 rgba(255,255,255,0.2);
  transition: all 0.3s ease;
  border: none;
  cursor: pointer;
  text-decoration: none;
}
.btn-pink:hover {
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 12px 32px rgba(244, 114, 182, 0.5);
}

/* ---------- Header ---------- */
#main-header {
  transition: background 0.35s ease, box-shadow 0.35s ease;
}
#main-header.scrolled {
  background: rgba(15, 23, 42, 0.92);
  box-shadow: 0 8px 32px rgba(2, 6, 23, 0.5);
}

.brand-text {
  font-family: var(--font-title);
  font-size: clamp(1.25rem, 2.5vw, 1.5rem);
  background: linear-gradient(90deg, var(--primary-light), var(--secondary-light), var(--accent-light));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.nav-link {
  position: relative;
  color: rgba(255,255,255,0.85);
  font-weight: 500;
  font-size: 0.9375rem;
  padding: 0.5rem 0;
  transition: color 0.25s ease;
  text-decoration: none;
}
.nav-link:hover,
.nav-link.active {
  color: var(--primary-light);
}
.nav-link::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0;
  height: 3px;
  border-radius: 2px;
  background: var(--primary);
  transition: width 0.25s ease;
}
.nav-link:hover::after,
.nav-link.active::after {
  width: 100%;
}

/* ---------- Mobile Nav ---------- */
#nav-toggle {
  background: rgba(255,255,255,0.08);
  border-radius: var(--radius-sm);
  width: 42px;
  height: 42px;
  display: flex;
  align-items: center;
  justify-content: center;
}

#mobile-nav {
  background: rgba(15, 23, 42, 0.98);
  border-left: 1px solid var(--border-color);
  box-shadow: -10px 0 40px rgba(0,0,0,0.4);
}
#mobile-nav a {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.875rem 1rem;
  border-radius: var(--radius-md);
  color: var(--text-main);
  font-weight: 500;
  text-decoration: none;
  transition: all 0.2s ease;
}
#mobile-nav a:hover,
#mobile-nav a.active {
  background: rgba(20, 184, 166, 0.12);
  color: var(--primary-light);
}
#mobile-nav a i {
  width: 24px;
  text-align: center;
  color: var(--primary);
}

#nav-overlay {
  backdrop-filter: blur(2px);
}

/* ---------- Hero ---------- */
.page-hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 6rem 0 4rem;
  background:
    radial-gradient(circle at 20% 30%, rgba(20, 184, 166, 0.18) 0%, transparent 40%),
    radial-gradient(circle at 80% 20%, rgba(244, 114, 182, 0.15) 0%, transparent 35%),
    radial-gradient(circle at 60% 80%, rgba(245, 158, 11, 0.12) 0%, transparent 40%),
    linear-gradient(180deg, var(--bg-darker) 0%, var(--bg-dark) 100%);
  overflow: hidden;
}

.hero-sparkles {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
}
.hero-sparkles span {
  position: absolute;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #fff;
  opacity: 0.4;
  animation: sparkle 4s infinite ease-in-out;
}
.hero-sparkles span:nth-child(1) { top: 18%; left: 12%; animation-delay: 0s; }
.hero-sparkles span:nth-child(2) { top: 28%; left: 78%; animation-delay: 0.6s; background: var(--primary-light); }
.hero-sparkles span:nth-child(3) { top: 65%; left: 22%; animation-delay: 1.2s; background: var(--accent-light); }
.hero-sparkles span:nth-child(4) { top: 75%; left: 72%; animation-delay: 1.8s; background: var(--secondary-light); }
.hero-sparkles span:nth-child(5) { top: 40%; left: 45%; animation-delay: 2.4s; }
.hero-sparkles span:nth-child(6) { top: 12%; left: 55%; animation-delay: 3s; background: var(--primary-light); }
.hero-sparkles span:nth-child(7) { top: 85%; left: 50%; animation-delay: 1s; background: var(--accent-light); }

@keyframes sparkle {
  0%, 100% { opacity: 0.2; transform: scale(0.8); }
  50% { opacity: 0.8; transform: scale(1.4); }
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr;
  align-items: center;
  gap: 3rem;
  position: relative;
  z-index: 2;
}
@media (min-width: 768px) {
  .hero-grid {
    grid-template-columns: 1.1fr 0.9fr;
  }
}

.hero-badge-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.625rem;
  margin-bottom: 1.5rem;
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
  padding: 0.5rem 1rem;
  border-radius: var(--radius-xl);
  font-size: clamp(0.75rem, 1vw, 0.875rem);
  font-weight: 700;
  color: #fff;
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.15);
  backdrop-filter: blur(4px);
}
.hero-badge i {
  color: var(--secondary-light);
}
.hero-badge.pink i { color: var(--accent-light); }
.hero-badge.cyan i { color: var(--primary-light); }

.hero-title {
  font-family: var(--font-title);
  font-size: clamp(2.75rem, 8vw, 5.5rem);
  line-height: 1.1;
  margin-bottom: 1rem;
  color: #fff;
  text-shadow: 0 0 40px rgba(20, 184, 166, 0.35), 0 4px 20px rgba(0,0,0,0.3);
}
.hero-title span {
  color: var(--primary-light);
}

.hero-subtitle {
  font-size: clamp(1.125rem, 2.5vw, 1.5rem);
  font-weight: 700;
  color: var(--secondary-light);
  margin-bottom: 1.25rem;
}

.hero-desc {
  font-size: clamp(0.9375rem, 1.5vw, 1.0625rem);
  color: var(--text-muted);
  max-width: 540px;
  margin-bottom: 2rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

.hero-visual {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}
.hero-glow {
  position: absolute;
  width: 320px;
  height: 320px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(20, 184, 166, 0.35) 0%, rgba(244, 114, 182, 0.15) 50%, transparent 70%);
  filter: blur(30px);
  animation: glowPulse 4s ease-in-out infinite;
}
@keyframes glowPulse {
  0%, 100% { transform: scale(1); opacity: 0.8; }
  50% { transform: scale(1.15); opacity: 1; }
}
.hero-logo {
  position: relative;
  z-index: 2;
  max-width: min(360px, 80vw);
  filter: drop-shadow(0 0 30px rgba(20, 184, 166, 0.45));
  animation: float 5s ease-in-out infinite;
}
@keyframes float {
  0%, 100% { transform: translateY(0) rotate(-2deg); }
  50% { transform: translateY(-18px) rotate(2deg); }
}

.scroll-hint {
  position: absolute;
  bottom: 1.5rem;
  left: 50%;
  transform: translateX(-50%);
  color: rgba(255,255,255,0.5);
  animation: bounce 2s infinite;
}
@keyframes bounce {
  0%, 20%, 50%, 80%, 100% { transform: translateX(-50%) translateY(0); }
  40% { transform: translateX(-50%) translateY(-10px); }
  60% { transform: translateX(-50%) translateY(-5px); }
}

/* ---------- Sections ---------- */
.section {
  padding: 5rem 0;
  position: relative;
}
@media (min-width: 768px) {
  .section {
    padding: 6.5rem 0;
  }
}

.section-label {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-title);
  font-size: clamp(0.875rem, 1.2vw, 1rem);
  color: var(--primary-light);
  margin-bottom: 0.75rem;
}
.section-label::before {
  content: '';
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--secondary);
  box-shadow: 0 0 10px var(--secondary);
}

.section-title {
  font-family: var(--font-title);
  font-size: clamp(1.75rem, 4vw, 2.75rem);
  color: #fff;
  line-height: 1.25;
  margin-bottom: 0.75rem;
}

.section-subtitle {
  font-size: clamp(0.9375rem, 1.4vw, 1.0625rem);
  color: var(--text-muted);
}

/* ---------- Intro / About ---------- */
.about-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
  align-items: center;
}
@media (min-width: 768px) {
  .about-grid {
    grid-template-columns: 1fr 1fr;
  }
}

.about-text {
  font-size: clamp(0.9375rem, 1.4vw, 1.0625rem);
  color: var(--text-muted);
}

.stat-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
}
.stat-cell {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 1.25rem;
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.stat-cell:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-glow);
}
.stat-number {
  display: block;
  font-family: var(--font-title);
  font-size: clamp(1.5rem, 3vw, 2rem);
  color: var(--primary-light);
}
.stat-label {
  font-size: 0.8125rem;
  color: var(--text-muted);
}

/* ---------- Feature Cards ---------- */
.feature-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}
@media (min-width: 768px) {
  .feature-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (min-width: 1024px) {
  .feature-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.feature-card {
  position: relative;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: transform 0.35s ease, box-shadow 0.35s ease;
}
.feature-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-glow);
}
.feature-card:nth-child(2):hover { box-shadow: var(--shadow-glow-amber); }
.feature-card:nth-child(3):hover { box-shadow: var(--shadow-glow-pink); }
.feature-card:nth-child(5):hover { box-shadow: var(--shadow-glow-amber); }
.feature-card:nth-child(6):hover { box-shadow: var(--shadow-glow-pink); }

.feature-media {
  position: relative;
  aspect-ratio: 16 / 10;
  overflow: hidden;
}
.feature-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}
.feature-card:hover .feature-media img {
  transform: scale(1.08);
}
.feature-tag {
  position: absolute;
  top: 1rem;
  left: 1rem;
  padding: 0.375rem 0.875rem;
  border-radius: var(--radius-xl);
  font-size: 0.75rem;
  font-weight: 700;
  color: #fff;
  background: linear-gradient(135deg, var(--accent) 0%, #DB2777 100%);
  z-index: 2;
}
.feature-tag.cyan { background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%); }
.feature-tag.amber { background: linear-gradient(135deg, var(--secondary) 0%, #D97706 100%); }

.feature-body {
  padding: 1.5rem;
}
.feature-body h3 {
  font-family: var(--font-title);
  font-size: clamp(1.125rem, 2vw, 1.375rem);
  color: #fff;
  margin-bottom: 0.75rem;
}
.feature-body p {
  font-size: clamp(0.8125rem, 1.1vw, 0.9375rem);
  color: var(--text-muted);
  margin-bottom: 1rem;
}
.feature-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}
.feature-chips span {
  padding: 0.25rem 0.625rem;
  border-radius: var(--radius-xl);
  font-size: 0.75rem;
  color: var(--primary-light);
  background: rgba(20, 184, 166, 0.12);
  border: 1px solid rgba(20, 184, 166, 0.18);
}

/* ---------- Gallery ---------- */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
}
@media (min-width: 768px) {
  .gallery-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}
.gallery-item {
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid var(--border-color);
  aspect-ratio: 16 / 10;
}
.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}
.gallery-item:hover img {
  transform: scale(1.08);
}

/* ---------- Download ---------- */
.download-section {
  position: relative;
  padding: 5rem 0;
  background:
    radial-gradient(circle at 30% 50%, rgba(245, 158, 11, 0.12) 0%, transparent 45%),
    radial-gradient(circle at 70% 50%, rgba(20, 184, 166, 0.12) 0%, transparent 45%),
    var(--bg-darker);
}
@media (min-width: 768px) {
  .download-section {
    padding: 6.5rem 0;
  }
}

.download-wrap {
  text-align: center;
  max-width: 720px;
  margin: 0 auto;
}

.download-btn-mega {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  padding: 1.25rem 3rem;
  border-radius: var(--radius-xl);
  font-family: var(--font-title);
  font-size: clamp(1.25rem, 3vw, 1.75rem);
  font-weight: 700;
  color: #fff;
  background: linear-gradient(135deg, var(--secondary) 0%, var(--secondary-light) 50%, var(--secondary) 100%);
  background-size: 200% 200%;
  box-shadow: 0 12px 40px rgba(245, 158, 11, 0.45), inset 0 2px 0 rgba(255,255,255,0.25);
  animation: shimmer 3s linear infinite;
  transition: transform 0.3s ease;
  text-decoration: none;
}
.download-btn-mega:hover {
  transform: translateY(-4px) scale(1.03);
}
@keyframes shimmer {
  0% { background-position: 0% 50%; }
  100% { background-position: 200% 50%; }
}

.platform-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1rem;
  margin-top: 2rem;
}
.platform-card {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.875rem 1.5rem;
  border-radius: var(--radius-lg);
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  color: var(--text-main);
  text-decoration: none;
  transition: all 0.3s ease;
}
.platform-card:hover {
  border-color: var(--primary);
  box-shadow: var(--shadow-glow);
  transform: translateY(-3px);
}
.platform-card i {
  font-size: 1.5rem;
  color: var(--primary-light);
}
.platform-card span {
  font-weight: 700;
}
.platform-card small {
  display: block;
  font-size: 0.75rem;
  color: var(--text-muted);
}

/* ---------- Contact ---------- */
.contact-section {
  padding: 5rem 0;
  background: var(--bg-dark);
}
@media (min-width: 768px) {
  .contact-section {
    padding: 6.5rem 0;
  }
}

.qr-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  text-align: center;
  transition: transform 0.35s ease, box-shadow 0.35s ease;
}
.qr-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-glow);
}
.qr-card:nth-child(2):hover { box-shadow: var(--shadow-glow-amber); }
.qr-card:nth-child(3):hover { box-shadow: var(--shadow-glow-pink); }
.qr-card h3 {
  font-family: var(--font-title);
  font-size: clamp(1.125rem, 2vw, 1.375rem);
  color: #fff;
  margin-bottom: 1rem;
}
.qr-card img {
  width: 160px;
  height: 160px;
  border-radius: var(--radius-md);
  margin: 0 auto 1rem;
  border: 3px solid rgba(255,255,255,0.1);
}
.qr-card p {
  font-size: 0.9375rem;
  color: var(--text-main);
  font-weight: 500;
}
.qr-card .note {
  font-size: 0.75rem;
  color: var(--text-muted);
  margin-top: 0.25rem;
}

/* ---------- Footer ---------- */
.page-footer {
  position: relative;
  background: var(--bg-darker);
  padding-top: 4rem;
  padding-bottom: 2.5rem;
}
.wave-divider {
  position: absolute;
  top: -1px;
  left: 0;
  width: 100%;
  overflow: hidden;
  line-height: 0;
}
.wave-divider svg {
  display: block;
  width: 100%;
  height: 60px;
  fill: var(--bg-dark);
}

.footer-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.5rem;
  text-align: center;
}
.footer-brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-family: var(--font-title);
  font-size: 1.25rem;
  color: #fff;
}
.footer-brand img {
  width: 40px;
  height: 40px;
  border-radius: 50%;
}
.footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1.25rem;
}
.footer-links a {
  color: var(--text-muted);
  font-size: 0.875rem;
  transition: color 0.2s ease;
  text-decoration: none;
}
.footer-links a:hover {
  color: var(--primary-light);
}
.footer-copy {
  font-size: 0.75rem;
  color: rgba(148, 163, 184, 0.7);
  max-width: 760px;
  line-height: 1.8;
}

/* ---------- Reveal animation ---------- */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ---------- Toast ---------- */
#toast {
  position: fixed;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%) translateY(100px);
  z-index: 100;
  padding: 0.875rem 1.75rem;
  border-radius: var(--radius-xl);
  background: var(--bg-card-solid);
  border: 1px solid var(--primary);
  color: #fff;
  font-weight: 500;
  box-shadow: var(--shadow-glow);
  opacity: 0;
  transition: all 0.35s ease;
  pointer-events: none;
}
#toast.show {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

/* ---------- Inner page header offset ---------- */
.page-main {
  padding-top: 5rem;
}
