/* =========================================================
   index6 - AURORA PRISM 绚丽多彩极光棱镜主题
   Design: 粉紫+青蓝+翠绿+金黄+橙红 多色极光渐变
   ========================================================= */

/* ---------- Reset & Base ---------- */
* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-tap-highlight-color: transparent; }
body {
  margin: 0;
  font-family: "PingFang SC","HarmonyOS Sans SC","Microsoft YaHei","Segoe UI",system-ui,sans-serif;
  background: #05030f;
  color: #f1f5f9;
  line-height: 1.6;
  overflow-x: hidden;
  min-height: 100vh;
}
::selection { background: rgba(236,72,153,0.35); color: #fff; }

/* ---------- Scrollbar ---------- */
::-webkit-scrollbar { width: 10px; height: 10px; }
::-webkit-scrollbar-track { background: #05030f; }
::-webkit-scrollbar-thumb {
  background: linear-gradient(180deg,#ec4899,#8b5cf6,#06b6d4);
  border-radius: 10px;
  border: 2px solid #05030f;
}
::-webkit-scrollbar-thumb:hover {
  background: linear-gradient(180deg,#f472b6,#a78bfa,#22d3ee);
}

/* =========================================================
   Background Aurora System - 多层动态极光
   ========================================================= */
.aurora-bg {
  position: fixed;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  pointer-events: none;
}
.aurora-bg::before,
.aurora-bg::after {
  content: '';
  position: absolute;
  inset: -20%;
  background:
    radial-gradient(ellipse 60% 50% at 20% 20%, rgba(236,72,153,0.35), transparent 60%),
    radial-gradient(ellipse 50% 45% at 80% 10%, rgba(139,92,246,0.32), transparent 60%),
    radial-gradient(ellipse 55% 50% at 70% 80%, rgba(6,182,212,0.28), transparent 60%),
    radial-gradient(ellipse 45% 40% at 15% 75%, rgba(16,185,129,0.25), transparent 60%),
    radial-gradient(ellipse 40% 35% at 50% 50%, rgba(245,158,11,0.20), transparent 60%);
  filter: blur(80px) saturate(1.4);
  animation: aurora-drift 20s ease-in-out infinite alternate;
}
.aurora-bg::after {
  animation-duration: 28s;
  animation-delay: -7s;
  animation-direction: alternate-reverse;
  opacity: 0.7;
  mix-blend-mode: screen;
  background:
    radial-gradient(ellipse 30% 40% at 90% 30%, rgba(249,115,22,0.25), transparent 60%),
    radial-gradient(ellipse 40% 30% at 10% 50%, rgba(14,165,233,0.25), transparent 60%),
    radial-gradient(ellipse 25% 35% at 50% 90%, rgba(239,68,68,0.20), transparent 60%);
}
@keyframes aurora-drift {
  0%   { transform: translate3d(0,0,0) rotate(0deg) scale(1); }
  50%  { transform: translate3d(-3%,2%,0) rotate(3deg) scale(1.05); }
  100% { transform: translate3d(2%,-3%,0) rotate(-2deg) scale(1.08); }
}

/* Star dust particles */
.stardust {
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(1px 1px at 10% 20%, rgba(255,255,255,0.8), transparent),
    radial-gradient(1px 1px at 30% 70%, rgba(255,255,255,0.6), transparent),
    radial-gradient(1px 1px at 50% 40%, rgba(255,255,255,0.7), transparent),
    radial-gradient(1px 1px at 70% 85%, rgba(255,255,255,0.5), transparent),
    radial-gradient(1px 1px at 90% 15%, rgba(255,255,255,0.8), transparent),
    radial-gradient(1px 1px at 25% 90%, rgba(255,255,255,0.6), transparent),
    radial-gradient(1px 1px at 85% 55%, rgba(255,255,255,0.7), transparent),
    radial-gradient(1px 1px at 5% 50%, rgba(255,255,255,0.5), transparent),
    radial-gradient(2px 2px at 60% 10%, rgba(236,72,153,0.6), transparent),
    radial-gradient(2px 2px at 40% 60%, rgba(6,182,212,0.6), transparent),
    radial-gradient(2px 2px at 75% 40%, rgba(16,185,129,0.6), transparent);
  background-size: 100% 100%;
  animation: twinkle 4s ease-in-out infinite alternate;
  opacity: 0.8;
}
@keyframes twinkle {
  0%   { opacity: 0.4; }
  100% { opacity: 1; }
}

/* Grid mesh overlay */
.mesh-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.025) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: radial-gradient(ellipse 70% 60% at 50% 40%, #000 20%, transparent 80%);
  -webkit-mask-image: radial-gradient(ellipse 70% 60% at 50% 40%, #000 20%, transparent 80%);
}

/* Content above background */
header, section, footer, .back-to-top { position: relative; z-index: 1; }

/* =========================================================
   Navbar - 霓虹导航栏
   ========================================================= */
.ap-navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 0;
  transition: all 0.35s cubic-bezier(0.4,0,0.2,1);
}
.ap-navbar::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    linear-gradient(135deg, rgba(236,72,153,0.12), rgba(139,92,246,0.10), rgba(6,182,212,0.10));
  backdrop-filter: blur(24px) saturate(1.5);
  -webkit-backdrop-filter: blur(24px) saturate(1.5);
  border-bottom: 1px solid rgba(255,255,255,0.08);
  opacity: 0;
  transition: opacity 0.35s ease;
}
.ap-navbar.scrolled::before { opacity: 1; }
.ap-navbar-inner {
  position: relative;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 24px;
  height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

/* Brand logo */
.ap-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  cursor: pointer;
}
.ap-brand-logo {
  position: relative;
  width: 42px;
  height: 42px;
  border-radius: 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg,#ec4899 0%,#8b5cf6 40%,#06b6d4 100%);
  color: #fff;
  font-size: 20px;
  box-shadow:
    0 0 0 1px rgba(255,255,255,0.15) inset,
    0 8px 24px -6px rgba(236,72,153,0.6),
    0 0 40px -4px rgba(139,92,246,0.45);
  animation: logo-pulse 3s ease-in-out infinite;
}
@keyframes logo-pulse {
  0%,100% { box-shadow: 0 0 0 1px rgba(255,255,255,0.15) inset, 0 8px 24px -6px rgba(236,72,153,0.6), 0 0 40px -4px rgba(139,92,246,0.45); }
  50%     { box-shadow: 0 0 0 1px rgba(255,255,255,0.2) inset, 0 8px 30px -4px rgba(236,72,153,0.75), 0 0 60px -2px rgba(6,182,212,0.5); }
}
.ap-brand-text {
  font-size: 20px;
  font-weight: 800;
  letter-spacing: -0.5px;
  background: linear-gradient(120deg,#f472b6 0%,#a78bfa 35%,#22d3ee 70%,#34d399 100%);
  background-size: 200% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: gradient-shift 5s ease infinite;
}
@keyframes gradient-shift {
  0%,100% { background-position: 0% 50%; }
  50%     { background-position: 100% 50%; }
}

/* Desktop Nav */
.ap-nav {
  display: flex;
  align-items: center;
  gap: 4px;
}
.ap-nav-link {
  position: relative;
  padding: 10px 16px;
  border-radius: 10px;
  font-size: 14.5px;
  font-weight: 500;
  color: rgba(226,232,240,0.78);
  text-decoration: none;
  transition: all 0.25s cubic-bezier(0.4,0,0.2,1);
  cursor: pointer;
}
.ap-nav-link:hover {
  color: #fff;
  background: rgba(255,255,255,0.06);
}
.ap-nav-link.active {
  color: #fff;
}
.ap-nav-link.active::after {
  content: '';
  position: absolute;
  left: 16px; right: 16px; bottom: 4px;
  height: 2px;
  border-radius: 2px;
  background: linear-gradient(90deg,#ec4899,#8b5cf6,#06b6d4);
  box-shadow: 0 0 8px rgba(139,92,246,0.7);
  animation: underline-glow 2.5s ease-in-out infinite;
}
@keyframes underline-glow {
  0%,100% { opacity: 0.7; }
  50%     { opacity: 1; box-shadow: 0 0 12px rgba(236,72,153,0.9), 0 0 20px rgba(6,182,212,0.6); }
}

.ap-nav-cta {
  position: relative;
  margin-left: 8px;
  padding: 10px 22px;
  border-radius: 12px;
  font-size: 14.5px;
  font-weight: 700;
  color: #fff;
  text-decoration: none;
  cursor: pointer;
  background: linear-gradient(135deg,#ec4899 0%,#8b5cf6 50%,#06b6d4 100%);
  background-size: 200% 200%;
  background-position: 0% 0%;
  box-shadow:
    0 0 0 1px rgba(255,255,255,0.15) inset,
    0 6px 20px -4px rgba(236,72,153,0.55),
    0 0 30px -6px rgba(139,92,246,0.45);
  transition: all 0.35s cubic-bezier(0.4,0,0.2,1);
}
.ap-nav-cta:hover {
  transform: translateY(-2px);
  background-position: 100% 100%;
  box-shadow:
    0 0 0 1px rgba(255,255,255,0.25) inset,
    0 12px 32px -4px rgba(236,72,153,0.7),
    0 0 50px -2px rgba(6,182,212,0.55);
}

/* Mobile toggle */
.ap-nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  border: none;
  cursor: pointer;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  color: #fff;
  background: linear-gradient(135deg, rgba(236,72,153,0.18), rgba(139,92,246,0.18));
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255,255,255,0.1);
  transition: all 0.25s ease;
}
.ap-nav-toggle:hover { transform: scale(1.05); }

/* Mobile menu */
.ap-mobile-menu {
  display: none;
  position: relative;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 24px 20px;
}
.ap-mobile-menu-inner {
  padding: 12px;
  border-radius: 18px;
  background: linear-gradient(135deg, rgba(236,72,153,0.12), rgba(139,92,246,0.12), rgba(6,182,212,0.10));
  backdrop-filter: blur(24px) saturate(1.5);
  -webkit-backdrop-filter: blur(24px) saturate(1.5);
  border: 1px solid rgba(255,255,255,0.1);
  box-shadow: 0 20px 50px -20px rgba(0,0,0,0.5);
}
.ap-mobile-link {
  display: block;
  padding: 12px 16px;
  border-radius: 10px;
  font-size: 15px;
  color: rgba(226,232,240,0.88);
  text-decoration: none;
  transition: all 0.2s ease;
  cursor: pointer;
}
.ap-mobile-link:hover {
  color: #fff;
  background: linear-gradient(90deg, rgba(236,72,153,0.15), rgba(139,92,246,0.10));
}
.ap-mobile-link.active {
  color: #fff;
  background: linear-gradient(90deg, rgba(236,72,153,0.25), rgba(139,92,246,0.20), rgba(6,182,212,0.15));
}
.ap-mobile-cta {
  display: block;
  margin-top: 8px;
  padding: 14px 16px;
  border-radius: 12px;
  font-size: 15px;
  font-weight: 700;
  color: #fff;
  text-decoration: none;
  text-align: center;
  cursor: pointer;
  background: linear-gradient(135deg,#ec4899 0%,#8b5cf6 50%,#06b6d4 100%);
  background-size: 200% 200%;
  box-shadow: 0 8px 24px -6px rgba(236,72,153,0.55);
}

/* Responsive navbar */
@media (max-width: 900px) {
  .ap-nav { display: none; }
  .ap-nav-toggle { display: inline-flex; }
  .ap-navbar-inner { height: 64px; padding: 0 16px; }
  .ap-mobile-menu { padding: 0 16px 16px; }
}

/* =========================================================
   Hero Section - 幻彩英雄区
   ========================================================= */
.ap-hero {
  position: relative;
  padding: 160px 24px 100px;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 100vh;
}
.ap-hero-inner {
  position: relative;
  max-width: 920px;
  margin: 0 auto;
  text-align: center;
}

.ap-hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 20px;
  border-radius: 999px;
  font-size: 13.5px;
  font-weight: 600;
  color: #fff;
  background: linear-gradient(135deg, rgba(236,72,153,0.22), rgba(139,92,246,0.22), rgba(6,182,212,0.18));
  border: 1px solid rgba(255,255,255,0.12);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  margin-bottom: 28px;
  letter-spacing: 0.3px;
  animation: float-y 4s ease-in-out infinite;
}
@keyframes float-y {
  0%,100% { transform: translateY(0); }
  50%     { transform: translateY(-5px); }
}
.ap-hero-badge .ap-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #34d399;
  box-shadow: 0 0 10px #34d399, 0 0 20px rgba(52,211,153,0.5);
  animation: pulse-dot 1.6s ease-in-out infinite;
}
@keyframes pulse-dot {
  0%,100% { transform: scale(1); opacity: 1; }
  50%     { transform: scale(1.3); opacity: 0.7; }
}

.ap-hero-title {
  font-size: clamp(36px, 6vw, 72px);
  font-weight: 900;
  line-height: 1.12;
  letter-spacing: -1.5px;
  margin: 0 0 28px;
}
.ap-hero-title-line {
  display: block;
  color: #fff;
  margin-bottom: 4px;
}
.ap-hero-title-grad {
  display: block;
  background: linear-gradient(120deg,#f472b6 0%,#a78bfa 25%,#60a5fa 50%,#22d3ee 75%,#34d399 100%);
  background-size: 300% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: gradient-shift 6s ease infinite;
  position: relative;
}
.ap-hero-title-grad::after {
  content: '';
  position: absolute;
  left: 50%;
  bottom: -12px;
  transform: translateX(-50%);
  width: 60%;
  height: 8px;
  border-radius: 50%;
  background: radial-gradient(ellipse, rgba(236,72,153,0.4), transparent 70%);
  filter: blur(6px);
}

.ap-hero-sub {
  font-size: clamp(15px, 1.8vw, 19px);
  font-weight: 400;
  line-height: 1.8;
  color: rgba(226,232,240,0.82);
  max-width: 700px;
  margin: 0 auto 44px;
}
.ap-hero-sub em {
  font-style: normal;
  font-weight: 700;
  background: linear-gradient(120deg,#fbbf24,#f472b6,#a78bfa);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  position: relative;
  padding: 0 2px;
}
.ap-hero-sub em::after {
  content: '';
  position: absolute;
  left: 0; right: 0; bottom: -1px;
  height: 2px;
  border-radius: 2px;
  background: linear-gradient(90deg,#fbbf24,#f472b6,#a78bfa);
  opacity: 0.5;
}

.ap-hero-ctas {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}
.ap-btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 16px 32px;
  border-radius: 16px;
  font-size: 16px;
  font-weight: 700;
  color: #fff;
  text-decoration: none;
  cursor: pointer;
  border: none;
  transition: all 0.35s cubic-bezier(0.4,0,0.2,1);
  overflow: hidden;
}
.ap-btn-primary {
  background: linear-gradient(135deg,#ec4899 0%,#8b5cf6 45%,#06b6d4 100%);
  background-size: 200% 200%;
  background-position: 0% 0%;
  box-shadow:
    0 0 0 1px rgba(255,255,255,0.18) inset,
    0 10px 30px -8px rgba(236,72,153,0.7),
    0 0 40px -8px rgba(139,92,246,0.5),
    0 0 60px -12px rgba(6,182,212,0.4);
}
.ap-btn-primary:hover {
  transform: translateY(-3px) scale(1.02);
  background-position: 100% 100%;
  box-shadow:
    0 0 0 1px rgba(255,255,255,0.25) inset,
    0 16px 40px -8px rgba(236,72,153,0.85),
    0 0 60px -6px rgba(139,92,246,0.65),
    0 0 80px -10px rgba(6,182,212,0.55);
}
.ap-btn-ghost {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.12);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  color: rgba(255,255,255,0.9);
}
.ap-btn-ghost:hover {
  transform: translateY(-3px);
  background: rgba(255,255,255,0.08);
  border-color: rgba(139,92,246,0.5);
  box-shadow: 0 12px 32px -10px rgba(139,92,246,0.5);
}
.ap-btn i { font-size: 18px; transition: transform 0.3s ease; }
.ap-btn:hover i { transform: translateX(4px); }

/* Hero floating orbs */
.ap-hero-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(40px);
  opacity: 0.55;
  pointer-events: none;
}
.ap-hero-orb-1 {
  width: 260px; height: 260px;
  top: 5%; left: -6%;
  background: radial-gradient(circle,#ec4899,transparent 65%);
  animation: orb-float 10s ease-in-out infinite;
}
.ap-hero-orb-2 {
  width: 300px; height: 300px;
  top: 15%; right: -8%;
  background: radial-gradient(circle,#06b6d4,transparent 65%);
  animation: orb-float 12s ease-in-out infinite reverse;
  animation-delay: -3s;
}
.ap-hero-orb-3 {
  width: 220px; height: 220px;
  bottom: 10%; left: 20%;
  background: radial-gradient(circle,#a855f7,transparent 65%);
  animation: orb-float 9s ease-in-out infinite;
  animation-delay: -5s;
}
@keyframes orb-float {
  0%,100% { transform: translate(0,0) scale(1); }
  33%     { transform: translate(15px,-20px) scale(1.08); }
  66%     { transform: translate(-10px,15px) scale(0.95); }
}

@media (max-width: 640px) {
  .ap-hero { padding: 130px 16px 70px; min-height: auto; }
  .ap-hero-ctas { flex-direction: column; align-items: stretch; }
  .ap-btn { justify-content: center; }
}

/* =========================================================
   Section Common - 通用区块
   ========================================================= */
.ap-section {
  position: relative;
  padding: 110px 24px;
}
.ap-section-inner {
  max-width: 1200px;
  margin: 0 auto;
}
.ap-section-head {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 64px;
}
.ap-section-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 16px;
  border-radius: 999px;
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: #fff;
  background: linear-gradient(135deg, rgba(236,72,153,0.2), rgba(139,92,246,0.2));
  border: 1px solid rgba(255,255,255,0.1);
  margin-bottom: 20px;
}
.ap-section-title {
  font-size: clamp(28px, 4vw, 46px);
  font-weight: 900;
  line-height: 1.2;
  letter-spacing: -1px;
  margin: 0 0 16px;
  background: linear-gradient(120deg,#fff 0%,#f472b6 40%,#a78bfa 70%,#22d3ee 100%);
  background-size: 200% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.ap-section-desc {
  font-size: clamp(14px, 1.5vw, 17px);
  line-height: 1.8;
  color: rgba(203,213,225,0.78);
  margin: 0;
}

/* =========================================================
   Feature Cards - 幻彩特性卡片
   ========================================================= */
.ap-features {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
@media (max-width: 960px) { .ap-features { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .ap-features { grid-template-columns: 1fr; } }

.ap-feature {
  position: relative;
  padding: 32px 28px;
  border-radius: 24px;
  background: linear-gradient(145deg, rgba(255,255,255,0.05), rgba(255,255,255,0.015));
  border: 1px solid rgba(255,255,255,0.08);
  backdrop-filter: blur(16px) saturate(1.2);
  -webkit-backdrop-filter: blur(16px) saturate(1.2);
  overflow: hidden;
  transition: all 0.45s cubic-bezier(0.4,0,0.2,1);
  opacity: 0;
  transform: translateY(30px);
}
.ap-feature.in-view {
  opacity: 1;
  transform: translateY(0);
}
.ap-feature::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 24px;
  padding: 1px;
  background: linear-gradient(135deg, rgba(236,72,153,0), rgba(139,92,246,0), rgba(6,182,212,0));
  -webkit-mask: linear-gradient(#000,#000) content-box, linear-gradient(#000,#000);
  mask: linear-gradient(#000,#000) content-box, linear-gradient(#000,#000);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  transition: all 0.4s ease;
  pointer-events: none;
}
.ap-feature:hover {
  transform: translateY(-8px) scale(1.015);
  background: linear-gradient(145deg, rgba(255,255,255,0.08), rgba(255,255,255,0.02));
  box-shadow:
    0 30px 60px -20px rgba(0,0,0,0.5),
    0 0 40px -8px var(--ap-glow, rgba(139,92,246,0.35));
}
.ap-feature:hover::before {
  background: linear-gradient(135deg, var(--ap-border-1, rgba(236,72,153,0.6)), var(--ap-border-2, rgba(139,92,246,0.5)), var(--ap-border-3, rgba(6,182,212,0.5)));
}

.ap-feature-icon {
  position: relative;
  width: 60px;
  height: 60px;
  border-radius: 18px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 26px;
  color: #fff;
  margin-bottom: 22px;
  background: var(--ap-icon-bg, linear-gradient(135deg,#ec4899,#8b5cf6));
  box-shadow: var(--ap-icon-shadow, 0 10px 30px -10px rgba(236,72,153,0.7));
  transition: transform 0.4s cubic-bezier(0.4,0,0.2,1);
}
.ap-feature:hover .ap-feature-icon {
  transform: scale(1.1) rotate(-4deg);
}
.ap-feature-icon::after {
  content: '';
  position: absolute;
  inset: -3px;
  border-radius: 20px;
  background: inherit;
  filter: blur(14px);
  opacity: 0.4;
  z-index: -1;
}

.ap-feature-title {
  font-size: 20px;
  font-weight: 800;
  color: #fff;
  margin: 0 0 10px;
  letter-spacing: -0.3px;
}
.ap-feature-desc {
  font-size: 14.5px;
  line-height: 1.75;
  color: rgba(203,213,225,0.76);
  margin: 0;
}

/* Per-feature color variants */
.ap-feature[data-c="1"] { --ap-glow:rgba(244,114,182,0.35); --ap-border-1:rgba(244,114,182,0.7); --ap-border-2:rgba(236,72,153,0.6); --ap-border-3:rgba(168,85,247,0.5); }
.ap-feature[data-c="1"] .ap-feature-icon { --ap-icon-bg:linear-gradient(135deg,#f472b6,#ec4899,#a855f7); --ap-icon-shadow:0 10px 30px -8px rgba(236,72,153,0.75); }

.ap-feature[data-c="2"] { --ap-glow:rgba(167,139,250,0.35); --ap-border-1:rgba(167,139,250,0.7); --ap-border-2:rgba(139,92,246,0.6); --ap-border-3:rgba(96,165,250,0.5); }
.ap-feature[data-c="2"] .ap-feature-icon { --ap-icon-bg:linear-gradient(135deg,#a78bfa,#8b5cf6,#60a5fa); --ap-icon-shadow:0 10px 30px -8px rgba(139,92,246,0.75); }

.ap-feature[data-c="3"] { --ap-glow:rgba(34,211,238,0.35); --ap-border-1:rgba(34,211,238,0.7); --ap-border-2:rgba(6,182,212,0.6); --ap-border-3:rgba(52,211,153,0.5); }
.ap-feature[data-c="3"] .ap-feature-icon { --ap-icon-bg:linear-gradient(135deg,#22d3ee,#06b6d4,#34d399); --ap-icon-shadow:0 10px 30px -8px rgba(6,182,212,0.75); }

.ap-feature[data-c="4"] { --ap-glow:rgba(52,211,153,0.35); --ap-border-1:rgba(52,211,153,0.7); --ap-border-2:rgba(16,185,129,0.6); --ap-border-3:rgba(34,211,238,0.5); }
.ap-feature[data-c="4"] .ap-feature-icon { --ap-icon-bg:linear-gradient(135deg,#34d399,#10b981,#06b6d4); --ap-icon-shadow:0 10px 30px -8px rgba(16,185,129,0.75); }

.ap-feature[data-c="5"] { --ap-glow:rgba(251,191,36,0.35); --ap-border-1:rgba(251,191,36,0.7); --ap-border-2:rgba(245,158,11,0.6); --ap-border-3:rgba(249,115,22,0.5); }
.ap-feature[data-c="5"] .ap-feature-icon { --ap-icon-bg:linear-gradient(135deg,#fbbf24,#f59e0b,#f97316); --ap-icon-shadow:0 10px 30px -8px rgba(245,158,11,0.75); }

.ap-feature[data-c="6"] { --ap-glow:rgba(248,113,113,0.35); --ap-border-1:rgba(248,113,113,0.7); --ap-border-2:rgba(239,68,68,0.6); --ap-border-3:rgba(236,72,153,0.5); }
.ap-feature[data-c="6"] .ap-feature-icon { --ap-icon-bg:linear-gradient(135deg,#f87171,#ef4444,#ec4899); --ap-icon-shadow:0 10px 30px -8px rgba(239,68,68,0.75); }

/* =========================================================
   Stats Section - 流光统计卡片
   ========================================================= */
.ap-stats-wrap {
  position: relative;
  padding: 48px;
  border-radius: 32px;
  background: linear-gradient(135deg, rgba(236,72,153,0.08), rgba(139,92,246,0.08), rgba(6,182,212,0.06));
  border: 1px solid rgba(255,255,255,0.08);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  overflow: hidden;
}
.ap-stats-wrap::before {
  content: '';
  position: absolute;
  inset: -2px;
  border-radius: 32px;
  background: linear-gradient(135deg,#ec4899,#8b5cf6,#06b6d4,#34d399,#f59e0b,#ec4899);
  background-size: 400% 400%;
  z-index: -1;
  opacity: 0.25;
  animation: border-flow 8s ease infinite;
  filter: blur(2px);
}
@keyframes border-flow {
  0%,100% { background-position: 0% 50%; }
  50%     { background-position: 100% 50%; }
}
.ap-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
@media (max-width: 720px) {
  .ap-stats { grid-template-columns: 1fr; gap: 20px; }
  .ap-stats-wrap { padding: 32px 20px; border-radius: 24px; }
}
.ap-stat {
  position: relative;
  text-align: center;
  padding: 16px 12px;
  opacity: 0;
  transform: translateY(20px);
  transition: all 0.6s ease;
}
.ap-stat.in-view { opacity: 1; transform: translateY(0); }
.ap-stat:not(:last-child)::after {
  content: '';
  position: absolute;
  top: 15%;
  right: 0;
  width: 1px;
  height: 70%;
  background: linear-gradient(180deg, transparent, rgba(255,255,255,0.18), transparent);
}
@media (max-width: 720px) {
  .ap-stat:not(:last-child)::after {
    top: auto; bottom: 0; left: 15%; right: 15%;
    width: 70%; height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.18), transparent);
  }
}
.ap-stat-num {
  font-size: clamp(40px, 6vw, 64px);
  font-weight: 900;
  line-height: 1;
  letter-spacing: -2px;
  margin-bottom: 8px;
  background: linear-gradient(120deg,#f472b6 0%,#a78bfa 35%,#22d3ee 70%,#34d399 100%);
  background-size: 250% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: gradient-shift 7s ease infinite;
  text-shadow: 0 0 40px rgba(236,72,153,0.3);
}
.ap-stat-num .ap-suffix {
  font-size: 0.45em;
  font-weight: 700;
  vertical-align: top;
  margin-left: 2px;
  opacity: 0.85;
}
.ap-stat-label {
  font-size: 15px;
  font-weight: 600;
  color: rgba(226,232,240,0.82);
  letter-spacing: 0.5px;
}

/* =========================================================
   Team Section - 炫彩团队卡片
   ========================================================= */
.ap-team-wrap {
  display: flex;
  justify-content: center;
}
.ap-team {
  position: relative;
  width: 100%;
  max-width: 460px;
  padding: 48px 40px;
  border-radius: 32px;
  text-align: center;
  background: linear-gradient(155deg, rgba(255,255,255,0.07), rgba(255,255,255,0.02));
  border: 1px solid rgba(255,255,255,0.1);
  backdrop-filter: blur(20px) saturate(1.3);
  -webkit-backdrop-filter: blur(20px) saturate(1.3);
  overflow: hidden;
  opacity: 0;
  transform: translateY(30px) scale(0.98);
  transition: all 0.6s cubic-bezier(0.4,0,0.2,1);
}
.ap-team.in-view {
  opacity: 1;
  transform: translateY(0) scale(1);
}
.ap-team::before {
  content: '';
  position: absolute;
  top: -50%; left: -50%;
  width: 200%; height: 200%;
  background: conic-gradient(from 0deg, rgba(236,72,153,0.18), rgba(139,92,246,0.18), rgba(6,182,212,0.14), rgba(52,211,153,0.14), rgba(245,158,11,0.14), rgba(236,72,153,0.18));
  animation: spin-slow 20s linear infinite;
  z-index: -1;
  opacity: 0.7;
}
@keyframes spin-slow {
  0%   { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}
.ap-team::after {
  content: '';
  position: absolute;
  inset: 2px;
  border-radius: 30px;
  background: linear-gradient(155deg, #0c0620, #070316);
  z-index: -1;
}

.ap-team-avatar {
  position: relative;
  width: 110px;
  height: 110px;
  border-radius: 50%;
  margin: 0 auto 24px;
  padding: 3px;
  background: linear-gradient(135deg,#ec4899,#8b5cf6,#06b6d4,#34d399,#f59e0b,#ec4899);
  background-size: 300% 300%;
  animation: border-flow 5s ease infinite;
  box-shadow: 0 0 40px rgba(236,72,153,0.4);
}
.ap-team-avatar img {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
  display: block;
  background: #1a1033;
  border: 3px solid #070316;
}
.ap-team-status {
  position: absolute;
  bottom: 6px;
  right: 6px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 11.5px;
  font-weight: 700;
  color: #fff;
  background: rgba(52,211,153,0.9);
  box-shadow: 0 4px 12px rgba(52,211,153,0.5);
}
.ap-team-status .ap-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #fff;
  animation: pulse-dot 1.4s ease-in-out infinite;
}
.ap-team-name {
  font-size: 24px;
  font-weight: 900;
  color: #fff;
  margin: 0 0 6px;
  letter-spacing: -0.5px;
}
.ap-team-role {
  font-size: 14px;
  font-weight: 600;
  margin: 0 0 18px;
  background: linear-gradient(120deg,#f472b6,#a78bfa,#22d3ee);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.ap-team-desc {
  font-size: 14.5px;
  line-height: 1.75;
  color: rgba(203,213,225,0.78);
  margin: 0 0 26px;
}
.ap-team-social {
  display: flex;
  gap: 14px;
  justify-content: center;
}
.ap-team-link {
  position: relative;
  width: 50px;
  height: 50px;
  border-radius: 16px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  color: #fff;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.35s cubic-bezier(0.4,0,0.2,1);
}
.ap-team-link[data-social="qq"] {
  background: linear-gradient(135deg,#60a5fa,#3b82f6,#1d4ed8);
  box-shadow: 0 10px 24px -8px rgba(59,130,246,0.7);
}
.ap-team-link[data-social="weibo"] {
  background: linear-gradient(135deg,#f87171,#ef4444,#b91c1c);
  box-shadow: 0 10px 24px -8px rgba(239,68,68,0.7);
}
.ap-team-link[data-social="site"] {
  background: linear-gradient(135deg,#34d399,#10b981,#059669);
  box-shadow: 0 10px 24px -8px rgba(16,185,129,0.7);
}
.ap-team-link:hover {
  transform: translateY(-4px) scale(1.1);
}
.ap-team-link[data-social="qq"]:hover { box-shadow: 0 14px 32px -6px rgba(59,130,246,0.85); }
.ap-team-link[data-social="weibo"]:hover { box-shadow: 0 14px 32px -6px rgba(239,68,68,0.85); }
.ap-team-link[data-social="site"]:hover { box-shadow: 0 14px 32px -6px rgba(16,185,129,0.85); }

/* =========================================================
   Footer - 炫彩页脚
   ========================================================= */
.ap-footer {
  position: relative;
  padding: 70px 24px 30px;
  overflow: hidden;
}
.ap-footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 80%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(236,72,153,0.5), rgba(139,92,246,0.5), rgba(6,182,212,0.5), transparent);
}
.ap-footer-inner {
  max-width: 1200px;
  margin: 0 auto;
}
.ap-footer-top {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 48px;
  padding-bottom: 44px;
}
@media (max-width: 720px) {
  .ap-footer-top { grid-template-columns: 1fr; gap: 32px; padding-bottom: 32px; }
}
.ap-footer-brand {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  flex-direction: column;
}
.ap-footer-brand .ap-brand { margin-bottom: 10px; }
.ap-footer-tagline {
  font-size: 14.5px;
  line-height: 1.75;
  color: rgba(203,213,225,0.74);
  max-width: 420px;
  margin: 0;
}
.ap-footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 20px;
  align-content: flex-start;
  justify-content: flex-end;
}
@media (max-width: 720px) { .ap-footer-links { justify-content: flex-start; } }
.ap-footer-link {
  font-size: 14px;
  color: rgba(226,232,240,0.72);
  text-decoration: none;
  cursor: pointer;
  padding: 6px 4px;
  border-radius: 6px;
  transition: all 0.25s ease;
  position: relative;
}
.ap-footer-link:hover {
  color: #fff;
  background: linear-gradient(90deg, rgba(236,72,153,0.15), rgba(139,92,246,0.1));
}
.ap-footer-link::after {
  content: '';
  position: absolute;
  left: 4px; right: 4px; bottom: 2px;
  height: 1.5px;
  border-radius: 2px;
  background: linear-gradient(90deg,#ec4899,#8b5cf6);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s ease;
}
.ap-footer-link:hover::after { transform: scaleX(1); }

.ap-footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 26px;
  flex-wrap: wrap;
  gap: 14px;
  border-top: 1px solid rgba(255,255,255,0.06);
}
.ap-footer-copy, .ap-footer-icp {
  font-size: 13px;
  color: rgba(148,163,184,0.7);
  margin: 0;
}
.ap-footer-icp {
  background: linear-gradient(120deg,#a78bfa,#22d3ee);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  font-weight: 600;
}

/* =========================================================
   Back to Top - 霓虹返回按钮
   ========================================================= */
.ap-totop {
  position: fixed;
  right: 28px;
  bottom: 28px;
  z-index: 90;
  width: 52px;
  height: 52px;
  border-radius: 18px;
  border: none;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  color: #fff;
  background: linear-gradient(135deg,#ec4899,#8b5cf6,#06b6d4);
  background-size: 200% 200%;
  box-shadow:
    0 0 0 1px rgba(255,255,255,0.15) inset,
    0 10px 30px -6px rgba(236,72,153,0.65),
    0 0 40px -8px rgba(139,92,246,0.5);
  opacity: 0;
  visibility: hidden;
  transform: translateY(16px) scale(0.9);
  transition: all 0.35s cubic-bezier(0.4,0,0.2,1);
}
.ap-totop.show {
  opacity: 1;
  visibility: visible;
  transform: translateY(0) scale(1);
}
.ap-totop:hover {
  transform: translateY(-4px) scale(1.05);
  background-position: 100% 100%;
  box-shadow:
    0 0 0 1px rgba(255,255,255,0.25) inset,
    0 14px 40px -6px rgba(236,72,153,0.8),
    0 0 60px -6px rgba(6,182,212,0.6);
}
@media (max-width: 640px) {
  .ap-totop { right: 16px; bottom: 16px; width: 46px; height: 46px; border-radius: 16px; }
}
