/* ==========================================================================
   无名辅助 - Nameless Auxiliary
   Single-file stylesheet · no external dependencies
   ========================================================================== */

:root {
  --bg-0: #05060b;
  --bg-1: #0a0d18;
  --bg-2: #0f1424;
  --surface: rgba(20, 26, 46, 0.55);
  --surface-strong: rgba(28, 36, 62, 0.85);
  --border: rgba(120, 155, 220, 0.14);
  --border-strong: rgba(140, 175, 240, 0.28);

  --text: #e8ecf5;
  --text-mute: #98a3bd;
  --text-dim: #6b7591;

  --accent: #7c5cff;          /* electric violet */
  --accent-2: #22d3ee;         /* cyan */
  --accent-3: #ffb400;         /* gold */
  --danger: #ff4d6d;

  --gradient-hero: linear-gradient(135deg, #7c5cff 0%, #22d3ee 60%, #ffb400 100%);
  --gradient-line: linear-gradient(90deg, transparent, rgba(124, 92, 255, 0.6), rgba(34, 211, 238, 0.6), transparent);

  --shadow-lg: 0 30px 60px -30px rgba(0, 0, 0, 0.7), 0 10px 30px -10px rgba(124, 92, 255, 0.18);
  --shadow-glow: 0 0 40px rgba(124, 92, 255, 0.25);

  --radius: 14px;
  --radius-lg: 22px;
  --radius-pill: 999px;

  --container: 1240px;
  --nav-h: 72px;

  --ease: cubic-bezier(0.16, 1, 0.3, 1);
}

/* ------------------------- reset ------------------------- */
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: -apple-system, BlinkMacSystemFont, "PingFang SC", "Microsoft YaHei", "Helvetica Neue", Arial, sans-serif;
  color: var(--text);
  background: var(--bg-0);
  min-height: 100vh;
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
ul { list-style: none; }

/* ------------------------- background ------------------------- */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -3;
  background:
    radial-gradient(ellipse 800px 400px at 15% 0%, rgba(124, 92, 255, 0.22), transparent 60%),
    radial-gradient(ellipse 900px 500px at 85% 20%, rgba(34, 211, 238, 0.14), transparent 60%),
    radial-gradient(ellipse 700px 400px at 50% 100%, rgba(255, 180, 0, 0.08), transparent 60%),
    linear-gradient(180deg, #05060b 0%, #070915 50%, #05060b 100%);
  pointer-events: none;
}
body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -2;
  background-image:
    linear-gradient(rgba(120, 155, 220, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(120, 155, 220, 0.04) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse 60% 60% at 50% 40%, black 40%, transparent 90%);
  -webkit-mask-image: radial-gradient(ellipse 60% 60% at 50% 40%, black 40%, transparent 90%);
  pointer-events: none;
}
#bg-canvas {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  opacity: 0.85;
}

/* ------------------------- layout ------------------------- */
.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}
.section {
  padding: 100px 0;
  position: relative;
}
.section-head {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 56px;
}
.section-eyebrow {
  display: inline-block;
  font-size: 12px;
  letter-spacing: 4px;
  color: var(--accent-2);
  padding: 4px 12px;
  border: 1px solid rgba(34, 211, 238, 0.3);
  border-radius: var(--radius-pill);
  margin-bottom: 20px;
  background: rgba(34, 211, 238, 0.06);
}
.section-title {
  font-size: clamp(28px, 4vw, 44px);
  font-weight: 700;
  letter-spacing: -0.5px;
  line-height: 1.2;
  margin-bottom: 16px;
}
.section-title .accent {
  background: var(--gradient-hero);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.section-sub {
  color: var(--text-mute);
  font-size: 16px;
}

/* ------------------------- header ------------------------- */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: var(--nav-h);
  z-index: 100;
  background: rgba(5, 6, 11, 0.4);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  border-bottom: 1px solid transparent;
  transition: background 0.3s var(--ease), border-color 0.3s var(--ease);
}
.site-header.scrolled {
  background: rgba(5, 6, 11, 0.85);
  border-bottom-color: var(--border);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}
.logo {
  display: flex;
  align-items: baseline;
  gap: 8px;
  font-weight: 700;
}
.logo-icon {
  font-size: 22px;
  background: var(--gradient-hero);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  filter: drop-shadow(0 0 8px rgba(124, 92, 255, 0.4));
}
.logo-text {
  font-size: 20px;
  letter-spacing: 0.5px;
}
.logo-sub {
  display: none;
  font-size: 11px;
  color: var(--text-dim);
  font-weight: 400;
  letter-spacing: 1px;
}
@media (min-width: 900px) {
  .logo-sub { display: inline; }
}
.main-nav {
  display: flex;
  align-items: center;
  gap: 8px;
}
.nav-link {
  padding: 8px 16px;
  font-size: 14px;
  color: var(--text-mute);
  border-radius: var(--radius-pill);
  transition: color 0.2s var(--ease), background 0.2s var(--ease);
  position: relative;
}
.nav-link:hover { color: var(--text); background: rgba(255, 255, 255, 0.04); }
.nav-link.active { color: var(--text); }
.nav-link.active::after {
  content: "";
  position: absolute;
  bottom: -2px;
  left: 50%;
  transform: translateX(-50%);
  width: 20px;
  height: 2px;
  background: var(--gradient-hero);
  border-radius: 2px;
}
.nav-cta {
  color: var(--text);
  background: linear-gradient(135deg, rgba(124, 92, 255, 0.2), rgba(34, 211, 238, 0.15));
  border: 1px solid rgba(124, 92, 255, 0.35);
}
.nav-cta:hover {
  background: linear-gradient(135deg, rgba(124, 92, 255, 0.35), rgba(34, 211, 238, 0.25));
}
.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
}
.menu-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: transform 0.3s var(--ease), opacity 0.3s var(--ease);
}
.menu-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.menu-toggle.open span:nth-child(2) { opacity: 0; }
.menu-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

@media (max-width: 860px) {
  .menu-toggle { display: flex; }
  .main-nav {
    position: absolute;
    top: var(--nav-h);
    left: 0;
    right: 0;
    background: rgba(5, 6, 11, 0.98);
    backdrop-filter: blur(20px);
    flex-direction: column;
    align-items: stretch;
    padding: 20px;
    gap: 4px;
    border-bottom: 1px solid var(--border);
    transform: translateY(-10px);
    opacity: 0;
    pointer-events: none;
    transition: transform 0.3s var(--ease), opacity 0.3s var(--ease);
  }
  .main-nav.open {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }
  .nav-link { text-align: center; padding: 12px; }
}

/* ------------------------- buttons ------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: var(--radius-pill);
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0.3px;
  cursor: pointer;
  position: relative;
  overflow: hidden;
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease);
  white-space: nowrap;
  isolation: isolate;
}
.btn-primary {
  color: #fff;
  background: linear-gradient(135deg, #7c5cff 0%, #5b8bff 50%, #22d3ee 100%);
  box-shadow: 0 10px 30px -10px rgba(124, 92, 255, 0.6), inset 0 1px 0 rgba(255, 255, 255, 0.2);
}
.btn-primary::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, #22d3ee 0%, #5b8bff 50%, #7c5cff 100%);
  opacity: 0;
  transition: opacity 0.3s var(--ease);
  z-index: -1;
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 15px 40px -10px rgba(124, 92, 255, 0.8); }
.btn-primary:hover::before { opacity: 1; }
.btn-ghost {
  color: var(--text);
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border-strong);
}
.btn-ghost:hover { background: rgba(255, 255, 255, 0.08); transform: translateY(-2px); }
.btn-outline {
  color: var(--text);
  background: transparent;
  border: 1px solid var(--border-strong);
}
.btn-outline:hover {
  background: rgba(124, 92, 255, 0.08);
  border-color: rgba(124, 92, 255, 0.5);
  transform: translateY(-2px);
}
.btn-block { display: flex; width: 100%; }

/* ------------------------- hero ------------------------- */
.hero {
  padding: calc(var(--nav-h) + 60px) 0 80px;
  position: relative;
}
.hero-inner {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 60px;
  align-items: center;
}
@media (max-width: 900px) {
  .hero-inner { grid-template-columns: 1fr; gap: 40px; }
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  border-radius: var(--radius-pill);
  background: rgba(34, 211, 238, 0.08);
  border: 1px solid rgba(34, 211, 238, 0.25);
  font-size: 13px;
  color: #b8ecf5;
  margin-bottom: 22px;
}
.badge-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent-2);
  box-shadow: 0 0 8px var(--accent-2);
  animation: pulse 2s var(--ease) infinite;
}
@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(1.3); }
}
.hero-title {
  font-size: clamp(32px, 5vw, 56px);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -1px;
  margin-bottom: 24px;
}
.title-line { display: block; }
.title-accent {
  background: var(--gradient-hero);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  padding-bottom: 6px;
}
.hero-desc {
  font-size: 16px;
  color: var(--text-mute);
  margin-bottom: 36px;
  max-width: 560px;
}
.hero-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 48px;
}
.hero-stats {
  display: flex;
  gap: 48px;
  flex-wrap: wrap;
}
.stat-num {
  font-size: 34px;
  font-weight: 700;
  background: var(--gradient-hero);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  line-height: 1;
}
.stat-label {
  font-size: 13px;
  color: var(--text-dim);
  margin-top: 6px;
}

/* ------------------------- carousel ------------------------- */
.hero-visual {
  position: relative;
}
.carousel {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 10;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--surface);
  border: 1px solid var(--border-strong);
  box-shadow: var(--shadow-lg);
}
.carousel-track {
  display: flex;
  height: 100%;
  transition: transform 0.7s var(--ease);
  will-change: transform;
}
.carousel-slide {
  flex: 0 0 100%;
  width: 100%;
  height: 100%;
  position: relative;
}
.carousel-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}
.carousel-slide::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 60%, rgba(5, 6, 11, 0.5) 100%);
  pointer-events: none;
}
.carousel-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(5, 6, 11, 0.6);
  backdrop-filter: blur(10px);
  border: 1px solid var(--border-strong);
  color: var(--text);
  font-size: 22px;
  line-height: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 3;
  transition: background 0.2s var(--ease), transform 0.2s var(--ease);
}
.carousel-btn:hover { background: rgba(124, 92, 255, 0.4); }
.carousel-prev { left: 14px; }
.carousel-next { right: 14px; }
.carousel-dots {
  position: absolute;
  bottom: 16px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 8px;
  z-index: 3;
}
.carousel-dot {
  width: 24px;
  height: 4px;
  border-radius: 2px;
  background: rgba(255, 255, 255, 0.25);
  cursor: pointer;
  transition: background 0.3s var(--ease), width 0.3s var(--ease);
}
.carousel-dot.active {
  background: var(--gradient-hero);
  width: 40px;
}
.carousel-glow {
  position: absolute;
  inset: -20px;
  background: radial-gradient(ellipse at center, rgba(124, 92, 255, 0.3), transparent 60%);
  z-index: -1;
  filter: blur(40px);
  animation: glow 8s ease-in-out infinite;
}
@keyframes glow {
  0%, 100% { opacity: 0.6; transform: scale(1); }
  50% { opacity: 1; transform: scale(1.05); }
}

/* ------------------------- features ------------------------- */
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 20px;
}
.feature-card {
  position: relative;
  padding: 28px 24px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  backdrop-filter: blur(10px);
  transition: transform 0.35s var(--ease), border-color 0.35s var(--ease), background 0.35s var(--ease);
  overflow: hidden;
}
.feature-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: var(--gradient-line);
  opacity: 0;
  transition: opacity 0.35s var(--ease);
}
.feature-card:hover {
  transform: translateY(-4px);
  border-color: var(--border-strong);
  background: var(--surface-strong);
}
.feature-card:hover::before { opacity: 1; }
.feature-num {
  position: absolute;
  top: 20px;
  right: 24px;
  font-size: 34px;
  font-weight: 800;
  color: rgba(255, 255, 255, 0.03);
  letter-spacing: -1px;
}
.feature-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: linear-gradient(135deg, rgba(124, 92, 255, 0.18), rgba(34, 211, 238, 0.12));
  border: 1px solid var(--border-strong);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  margin-bottom: 18px;
}
.feature-title {
  font-size: 17px;
  font-weight: 700;
  margin-bottom: 10px;
  letter-spacing: 0.2px;
}
.feature-desc {
  font-size: 14px;
  color: var(--text-mute);
  line-height: 1.65;
}

/* ------------------------- pricing ------------------------- */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px;
}
.pricing-card {
  position: relative;
  padding: 32px 24px 28px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  backdrop-filter: blur(10px);
  transition: transform 0.35s var(--ease), border-color 0.35s var(--ease);
  display: flex;
  flex-direction: column;
}
.pricing-card:hover {
  transform: translateY(-6px);
  border-color: var(--border-strong);
}
.pricing-featured {
  border-color: rgba(124, 92, 255, 0.45);
  background:
    linear-gradient(135deg, rgba(124, 92, 255, 0.1), rgba(34, 211, 238, 0.06)),
    var(--surface);
  box-shadow: 0 20px 60px -20px rgba(124, 92, 255, 0.35);
}
.pricing-featured::before {
  content: "";
  position: absolute;
  inset: -1px;
  border-radius: var(--radius-lg);
  padding: 1px;
  background: var(--gradient-hero);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
}
.pricing-lifetime {
  background:
    linear-gradient(135deg, rgba(255, 180, 0, 0.1), rgba(124, 92, 255, 0.06)),
    var(--surface);
  box-shadow: 0 20px 60px -20px rgba(255, 180, 0, 0.3);
}
.pricing-badge {
  position: absolute;
  top: -12px;
  right: 20px;
  padding: 4px 12px;
  border-radius: var(--radius-pill);
  background: linear-gradient(135deg, #7c5cff, #22d3ee);
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 1px;
  box-shadow: 0 6px 20px -6px rgba(124, 92, 255, 0.6);
}
.pricing-badge-gold {
  background: linear-gradient(135deg, #ffb400, #ff6b6b);
  box-shadow: 0 6px 20px -6px rgba(255, 180, 0, 0.6);
}
.pricing-tag {
  font-size: 15px;
  color: var(--text-mute);
  letter-spacing: 2px;
  margin-bottom: 10px;
}
.pricing-price {
  display: flex;
  align-items: baseline;
  gap: 2px;
  margin-bottom: 4px;
}
.pricing-price .currency {
  font-size: 22px;
  font-weight: 600;
  color: var(--text);
}
.pricing-price .amount {
  font-size: 48px;
  font-weight: 800;
  line-height: 1;
  background: var(--gradient-hero);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  letter-spacing: -1px;
}
.pricing-unit {
  font-size: 13px;
  color: var(--text-dim);
  margin-bottom: 22px;
}
.pricing-features {
  flex: 1;
  margin-bottom: 22px;
}
.pricing-features li {
  padding: 8px 0;
  font-size: 14px;
  color: var(--text-mute);
  border-bottom: 1px dashed rgba(120, 155, 220, 0.08);
  display: flex;
  align-items: center;
  gap: 8px;
}
.pricing-features li::before {
  content: "✓";
  color: var(--accent-2);
  font-weight: 700;
  font-size: 13px;
}
.pricing-features li:last-child { border-bottom: 0; }

/* ------------------------- articles ------------------------- */
.articles-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 24px;
}
.article-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: transform 0.35s var(--ease), border-color 0.35s var(--ease), box-shadow 0.35s var(--ease);
  display: flex;
  flex-direction: column;
}
.article-card:hover {
  transform: translateY(-6px);
  border-color: var(--border-strong);
  box-shadow: var(--shadow-lg);
}
.article-cover {
  aspect-ratio: 16 / 9;
  overflow: hidden;
  position: relative;
}
.article-cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s var(--ease);
}
.article-card:hover .article-cover img { transform: scale(1.06); }
.article-cover::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 50%, rgba(5, 6, 11, 0.6) 100%);
}
.article-body {
  padding: 22px 22px 24px;
  flex: 1;
  display: flex;
  flex-direction: column;
}
.article-cat {
  display: inline-block;
  align-self: flex-start;
  padding: 3px 10px;
  border-radius: var(--radius-pill);
  background: rgba(124, 92, 255, 0.12);
  color: #c4b5fd;
  font-size: 12px;
  letter-spacing: 0.5px;
  margin-bottom: 12px;
}
.article-title {
  font-size: 17px;
  line-height: 1.4;
  font-weight: 700;
  margin-bottom: 10px;
  color: var(--text);
}
.article-excerpt {
  font-size: 13.5px;
  color: var(--text-mute);
  line-height: 1.65;
  margin-bottom: 16px;
  flex: 1;
}
.article-meta {
  display: flex;
  justify-content: space-between;
  font-size: 12.5px;
  color: var(--text-dim);
}

/* ------------------------- qq ------------------------- */
.qq-section { padding-bottom: 120px; }
.qq-card {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background:
    radial-gradient(circle at 20% 30%, rgba(124, 92, 255, 0.25), transparent 50%),
    radial-gradient(circle at 80% 70%, rgba(34, 211, 238, 0.18), transparent 55%),
    var(--surface-strong);
  border: 1px solid var(--border-strong);
  box-shadow: var(--shadow-lg);
}
.qq-inner {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 40px;
  padding: 60px 50px;
  align-items: center;
}
@media (max-width: 900px) {
  .qq-inner { grid-template-columns: 1fr; padding: 40px 24px; }
}
.qq-title {
  font-size: clamp(28px, 4vw, 40px);
  font-weight: 800;
  letter-spacing: -0.5px;
  margin: 12px 0 16px;
}
.qq-title .accent {
  background: var(--gradient-hero);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.qq-desc {
  color: var(--text-mute);
  margin-bottom: 24px;
  max-width: 520px;
}
.qq-num {
  display: inline-flex;
  align-items: baseline;
  gap: 12px;
  padding: 14px 24px;
  background: rgba(5, 6, 11, 0.5);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius);
  margin-bottom: 24px;
}
.qq-num-label { color: var(--text-dim); font-size: 13px; letter-spacing: 2px; }
.qq-num-value {
  font-size: 28px;
  font-weight: 700;
  letter-spacing: 3px;
  background: var(--gradient-hero);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  font-variant-numeric: tabular-nums;
}
.qq-right { display: flex; justify-content: center; }
.qq-visual {
  position: relative;
  width: 240px;
  height: 240px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.qq-circle {
  position: absolute;
  border-radius: 50%;
  border: 1px solid var(--border-strong);
  animation: ring 4s var(--ease) infinite;
}
.qq-circle-1 { width: 100%; height: 100%; animation-delay: 0s; }
.qq-circle-2 { width: 72%; height: 72%; animation-delay: 0.7s; border-color: rgba(124, 92, 255, 0.35); }
.qq-circle-3 { width: 46%; height: 46%; animation-delay: 1.4s; border-color: rgba(34, 211, 238, 0.35); }
@keyframes ring {
  0% { transform: scale(0.9); opacity: 0.4; }
  50% { transform: scale(1.05); opacity: 1; }
  100% { transform: scale(0.9); opacity: 0.4; }
}
.qq-emoji {
  font-size: 56px;
  filter: drop-shadow(0 8px 20px rgba(124, 92, 255, 0.6));
  z-index: 1;
}

/* ------------------------- footer ------------------------- */
.site-footer {
  padding: 60px 0 30px;
  border-top: 1px solid var(--border);
  background: rgba(5, 6, 11, 0.6);
  backdrop-filter: blur(10px);
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
  gap: 40px;
  margin-bottom: 40px;
}
@media (max-width: 800px) {
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 30px; }
}
@media (max-width: 500px) {
  .footer-grid { grid-template-columns: 1fr; }
}
.footer-logo {
  display: flex;
  align-items: baseline;
  gap: 8px;
  font-weight: 700;
  font-size: 20px;
  margin-bottom: 14px;
}
.footer-desc {
  color: var(--text-dim);
  font-size: 13.5px;
  line-height: 1.7;
  max-width: 320px;
}
.footer-col h4 {
  font-size: 14px;
  color: var(--text);
  margin-bottom: 16px;
  letter-spacing: 1px;
}
.footer-col a, .footer-tip {
  display: block;
  padding: 6px 0;
  font-size: 13.5px;
  color: var(--text-dim);
  transition: color 0.2s var(--ease);
}
.footer-col a:hover { color: var(--accent-2); }
.footer-tip { color: var(--text-mute); font-size: 12px; }
.footer-bottom {
  border-top: 1px solid var(--border);
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
  font-size: 12.5px;
  color: var(--text-dim);
}

/* ------------------------- article page ------------------------- */
.article-hero {
  padding: calc(var(--nav-h) + 60px) 0 40px;
}
.article-hero .article-cat { margin-bottom: 16px; }
.article-hero h1 {
  font-size: clamp(26px, 4vw, 42px);
  font-weight: 800;
  line-height: 1.25;
  letter-spacing: -0.5px;
  max-width: 900px;
  margin-bottom: 20px;
}
.article-hero-meta {
  display: flex;
  gap: 20px;
  color: var(--text-dim);
  font-size: 13.5px;
  flex-wrap: wrap;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--border);
}
.article-body-wrap {
  max-width: 820px;
  margin: 0 auto;
  padding: 40px 24px 80px;
}
.article-body-wrap h2 {
  font-size: 24px;
  font-weight: 800;
  margin: 40px 0 16px;
  letter-spacing: -0.3px;
  padding-left: 14px;
  border-left: 3px solid;
  border-image: var(--gradient-hero) 1;
}
.article-body-wrap h3 {
  font-size: 19px;
  font-weight: 700;
  margin: 28px 0 12px;
  color: var(--text);
}
.article-body-wrap p {
  color: var(--text-mute);
  line-height: 1.85;
  margin-bottom: 16px;
  font-size: 15.5px;
}
.article-body-wrap ul, .article-body-wrap ol {
  padding-left: 22px;
  margin-bottom: 20px;
  color: var(--text-mute);
}
.article-body-wrap ul li, .article-body-wrap ol li {
  padding: 4px 0;
  line-height: 1.75;
  list-style: disc;
}
.article-body-wrap ol li { list-style: decimal; }
.article-body-wrap strong { color: var(--text); font-weight: 700; }
.article-body-wrap a {
  color: var(--accent-2);
  text-decoration: underline;
  text-underline-offset: 3px;
}
.article-body-wrap blockquote {
  padding: 18px 22px;
  border-left: 3px solid var(--accent);
  background: rgba(124, 92, 255, 0.06);
  border-radius: 0 var(--radius) var(--radius) 0;
  margin: 20px 0;
  color: var(--text);
}
.article-cta {
  margin: 40px 0 20px;
  padding: 26px;
  background:
    linear-gradient(135deg, rgba(124, 92, 255, 0.15), rgba(34, 211, 238, 0.08)),
    var(--surface);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius);
  display: flex;
  gap: 20px;
  align-items: center;
  flex-wrap: wrap;
  justify-content: space-between;
}
.article-cta-text strong { font-size: 17px; display: block; margin-bottom: 4px; }
.article-cta-text span { color: var(--text-mute); font-size: 13.5px; }
.back-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--text-mute);
  font-size: 14px;
  margin-bottom: 24px;
  transition: color 0.2s var(--ease);
}
.back-link:hover { color: var(--accent-2); }

.related-articles {
  margin-top: 40px;
  padding-top: 30px;
  border-top: 1px solid var(--border);
}
.related-articles h3 {
  font-size: 20px;
  margin-bottom: 20px;
}
.related-list {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 14px;
}
.related-list a {
  padding: 14px 16px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  font-size: 14px;
  line-height: 1.5;
  transition: transform 0.25s var(--ease), border-color 0.25s var(--ease), background 0.25s var(--ease);
}
.related-list a:hover {
  transform: translateY(-2px);
  border-color: var(--border-strong);
  background: var(--surface-strong);
  color: var(--accent-2);
}

/* ------------------------- reveal on scroll ------------------------- */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ------------------------- responsive tweaks ------------------------- */
@media (max-width: 560px) {
  .section { padding: 70px 0; }
  .hero { padding-top: calc(var(--nav-h) + 30px); }
  .hero-stats { gap: 24px; }
  .hero-actions { flex-direction: column; align-items: stretch; }
  .hero-actions .btn { width: 100%; }
}
