/* 知心途官网 — 粉紫蓝渐变配色（App AppColors） */
:root {
  --brand: #8b68b8;
  --brand-dark: #5a3880;
  --accent: #e078a8;
  --text: #2a1e38;
  --text-2: #524060;
  --text-3: #887898;
  --bg: #ffffff;
  --bg-section: #f8f4fc;
  --border: #e8e0f0;
  --border-light: #f0e8f8;
  --gradient-brand: linear-gradient(135deg, #7a58a8 0%, #a878c0 52%, #e0a0d0 100%);
  --gradient-brand-hover: linear-gradient(135deg, #6a4898 0%, #9868b0 52%, #d090c0 100%);
  --gradient-hero: linear-gradient(165deg, #fff5fb 0%, #f3ecff 38%, #e8f2ff 100%);
  --gradient-text: linear-gradient(120deg, #5a3880 0%, #8b68b8 45%, #e078a8 100%);
  --gradient-cta: linear-gradient(135deg, #5a3880 0%, #8b68b8 48%, #c070b0 100%);
  --gradient-card: linear-gradient(145deg, #fff0f8 0%, #f5e8ff 50%, #e8f2ff 100%);
  --gradient-icon-1: linear-gradient(135deg, #ffe4f2, #e8e0fc);
  --gradient-icon-2: linear-gradient(135deg, #fff0fa, #f0e8ff);
  --gradient-icon-3: linear-gradient(135deg, #f0e8ff, #e0ecff);
  --gradient-icon-4: linear-gradient(135deg, #ffe8f4, #eae0fc);
  --shadow-sm: 0 2px 12px rgba(90, 56, 128, 0.06);
  --shadow-md: 0 8px 28px rgba(90, 56, 128, 0.1);
  --shadow-hover: 0 12px 36px rgba(139, 104, 184, 0.22);
  --radius: 10px;
  --radius-lg: 14px;
  --font: "Noto Sans SC", "PingFang SC", "Microsoft YaHei", sans-serif;
  --header-h: 64px;
  --max: 1200px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; font-size: 16px; }

body {
  margin: 0;
  font-family: var(--font);
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img { display: block; max-width: 100%; height: auto; }

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

.container {
  width: min(var(--max), calc(100% - 48px));
  margin-inline: auto;
}

/* ─── Buttons ─── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: var(--font);
  font-weight: 600;
  border-radius: var(--radius);
  border: none;
  cursor: pointer;
  transition: background 0.2s, color 0.2s, box-shadow 0.2s, transform 0.2s;
  white-space: nowrap;
}

.btn-sm { padding: 8px 20px; font-size: 14px; }
.btn-lg { padding: 14px 32px; font-size: 16px; }

.btn-primary {
  background: var(--gradient-brand);
  color: #fff;
  box-shadow: 0 4px 16px rgba(122, 88, 168, 0.35);
}

.btn-primary:hover {
  background: var(--gradient-brand-hover);
  color: #fff;
  box-shadow: var(--shadow-hover);
  transform: translateY(-1px);
}

.btn-outline {
  background: rgba(255, 255, 255, 0.85);
  color: var(--text);
  border: 1px solid var(--border);
  backdrop-filter: blur(4px);
}

.btn-outline:hover {
  border-color: var(--brand);
  color: var(--brand-dark);
  background: #fff;
}

.btn-white {
  padding: 12px 24px;
  font-size: 15px;
  background: #fff;
  color: var(--brand-dark);
  border-radius: var(--radius);
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
}

.btn-white:hover {
  background: #fff;
  color: var(--brand);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.12);
  transform: translateY(-1px);
}

/* ─── Header ─── */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 200;
  height: var(--header-h);
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s, box-shadow 0.3s;
}

.site-header.is-scrolled {
  border-bottom-color: var(--border);
  box-shadow: var(--shadow-sm);
}

.header-inner {
  display: flex;
  align-items: center;
  height: 100%;
  gap: 40px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 18px;
  font-weight: 700;
  color: var(--text);
  flex-shrink: 0;
}

.brand img { border-radius: 8px; }

.site-nav {
  display: flex;
  gap: 32px;
  margin-left: auto;
}

.site-nav a {
  font-size: 15px;
  font-weight: 500;
  color: var(--text-2);
  transition: color 0.2s;
}

.site-nav a:hover { color: var(--brand-dark); }

.header-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
  border: none;
  background: none;
  cursor: pointer;
}

.nav-toggle span {
  width: 20px;
  height: 2px;
  background: var(--text);
  border-radius: 1px;
  transition: transform 0.25s, opacity 0.25s;
}

/* ─── Hero ─── */
.hero {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  --hero-video-h: min(56.25vw, 85vh);
  min-height: max(580px, var(--hero-video-h));
  height: max(580px, var(--hero-video-h));
  padding: 0;
  overflow: hidden;
  background: #010108;
}

/* 首屏星空动效：深空 + 多层星野 + 月亮 + 流星 */
.hero-ambient {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  pointer-events: none;
  isolation: isolate;
}

.hero-ambient__sky {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 50% 35% at 70% 10%, rgba(30, 25, 70, 0.35) 0%, transparent 68%),
    radial-gradient(ellipse 40% 30% at 15% 20%, rgba(20, 18, 55, 0.28) 0%, transparent 65%),
    linear-gradient(180deg, #000006 0%, #02010e 35%, #040318 65%, #06041c 100%);
}

.hero-ambient__nebula {
  position: absolute;
  border-radius: 50%;
  filter: blur(56px);
  will-change: transform, opacity;
}

.hero-ambient__nebula--violet {
  width: 70%;
  height: 55%;
  top: -5%;
  right: -10%;
  background: radial-gradient(ellipse, rgba(50, 40, 100, 0.22) 0%, rgba(30, 25, 70, 0.08) 45%, transparent 70%);
  animation: hero-nebula-drift 28s ease-in-out infinite alternate;
}

.hero-ambient__nebula--rose {
  width: 55%;
  height: 45%;
  bottom: 15%;
  left: -8%;
  background: radial-gradient(ellipse, rgba(40, 35, 90, 0.15) 0%, rgba(25, 22, 60, 0.06) 50%, transparent 72%);
  animation: hero-nebula-drift 22s ease-in-out infinite alternate-reverse;
}

.hero-ambient__milky {
  position: absolute;
  inset: -20% -10%;
  opacity: 0.14;
  background: linear-gradient(
    128deg,
    transparent 30%,
    rgba(120, 130, 200, 0.08) 42%,
    rgba(150, 160, 220, 0.12) 48%,
    rgba(100, 120, 190, 0.06) 54%,
    transparent 66%
  );
  filter: blur(2px);
  animation: hero-milky-shift 40s ease-in-out infinite alternate;
}

.hero-ambient__stars-layer {
  position: absolute;
  inset: -10%;
  will-change: transform;
}

.hero-ambient__stars-layer--far {
  opacity: 0.55;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='600' height='600'%3E%3Ccircle cx='42' cy='58' r='0.6' fill='%23fff' opacity='0.7'/%3E%3Ccircle cx='118' cy='32' r='0.5' fill='%23fff' opacity='0.55'/%3E%3Ccircle cx='205' cy='88' r='0.6' fill='%23fff' opacity='0.65'/%3E%3Ccircle cx='312' cy='45' r='0.5' fill='%23fff' opacity='0.5'/%3E%3Ccircle cx='388' cy='112' r='0.6' fill='%23fff' opacity='0.6'/%3E%3Ccircle cx='478' cy='68' r='0.5' fill='%23fff' opacity='0.55'/%3E%3Ccircle cx='552' cy='142' r='0.6' fill='%23fff' opacity='0.5'/%3E%3Ccircle cx='68' cy='178' r='0.5' fill='%23fff' opacity='0.45'/%3E%3Ccircle cx='162' cy='225' r='0.6' fill='%23fff' opacity='0.6'/%3E%3Ccircle cx='248' cy='168' r='0.5' fill='%23fff' opacity='0.5'/%3E%3Ccircle cx='335' cy='248' r='0.6' fill='%23fff' opacity='0.55'/%3E%3Ccircle cx='422' cy='198' r='0.5' fill='%23fff' opacity='0.45'/%3E%3Ccircle cx='512' cy='268' r='0.6' fill='%23fff' opacity='0.5'/%3E%3Ccircle cx='88' cy='312' r='0.5' fill='%23fff' opacity='0.55'/%3E%3Ccircle cx='192' cy='358' r='0.6' fill='%23fff' opacity='0.5'/%3E%3Ccircle cx='278' cy='328' r='0.5' fill='%23fff' opacity='0.45'/%3E%3Ccircle cx='368' cy='388' r='0.6' fill='%23fff' opacity='0.55'/%3E%3Ccircle cx='458' cy='348' r='0.5' fill='%23fff' opacity='0.5'/%3E%3Ccircle cx='538' cy='412' r='0.6' fill='%23fff' opacity='0.45'/%3E%3Ccircle cx='28' cy='428' r='0.5' fill='%23fff' opacity='0.5'/%3E%3Ccircle cx='142' cy='468' r='0.6' fill='%23fff' opacity='0.45'/%3E%3Ccircle cx='228' cy='442' r='0.5' fill='%23fff' opacity='0.5'/%3E%3Ccircle cx='318' cy='498' r='0.6' fill='%23fff' opacity='0.45'/%3E%3Ccircle cx='408' cy='458' r='0.5' fill='%23fff' opacity='0.5'/%3E%3Ccircle cx='498' cy='512' r='0.6' fill='%23fff' opacity='0.4'/%3E%3Ccircle cx='568' cy='478' r='0.5' fill='%23fff' opacity='0.45'/%3E%3C/svg%3E");
  background-size: 600px 600px;
  animation: hero-stars-drift-far 180s linear infinite;
}

.hero-ambient__stars-layer--mid {
  opacity: 0.75;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='400' height='400'%3E%3Ccircle cx='55' cy='42' r='0.9' fill='%23fff' opacity='0.85'/%3E%3Ccircle cx='148' cy='95' r='0.7' fill='%23fff' opacity='0.7'/%3E%3Ccircle cx='238' cy='38' r='0.8' fill='%23fff' opacity='0.8'/%3E%3Ccircle cx='328' cy='118' r='0.7' fill='%23fff' opacity='0.65'/%3E%3Ccircle cx='42' cy='168' r='0.8' fill='%23fff' opacity='0.75'/%3E%3Ccircle cx='132' cy='212' r='0.7' fill='%23fff' opacity='0.7'/%3E%3Ccircle cx='218' cy='178' r='0.9' fill='%23fff' opacity='0.8'/%3E%3Ccircle cx='308' cy='248' r='0.7' fill='%23fff' opacity='0.65'/%3E%3Ccircle cx='378' cy='192' r='0.8' fill='%23fff' opacity='0.7'/%3E%3Ccircle cx='88' cy='298' r='0.7' fill='%23fff' opacity='0.65'/%3E%3Ccircle cx='178' cy='338' r='0.8' fill='%23fff' opacity='0.7'/%3E%3Ccircle cx='268' cy='312' r='0.7' fill='%23fff' opacity='0.6'/%3E%3Ccircle cx='358' cy='368' r='0.9' fill='%23fff' opacity='0.75'/%3E%3Ccircle cx='28' cy='358' r='0.7' fill='%23fff' opacity='0.6'/%3E%3Ccircle cx='118' cy='28' r='0.8' fill='%23fff' opacity='0.7'/%3E%3Ccircle cx='288' cy='88' r='0.7' fill='%23fff' opacity='0.65'/%3E%3C/svg%3E");
  background-size: 400px 400px;
  animation: hero-stars-drift-mid 120s linear infinite;
}

.hero-ambient__stars-layer--near {
  opacity: 0.9;
  background-image:
    radial-gradient(1px 1px at 8% 15%, rgba(255, 255, 255, 0.9), transparent),
    radial-gradient(1.5px 1.5px at 22% 38%, rgba(255, 248, 255, 0.95), transparent),
    radial-gradient(1px 1px at 35% 12%, rgba(255, 255, 255, 0.8), transparent),
    radial-gradient(1px 1px at 48% 55%, rgba(255, 255, 255, 0.75), transparent),
    radial-gradient(1.5px 1.5px at 58% 28%, rgba(255, 240, 255, 0.9), transparent),
    radial-gradient(1px 1px at 68% 62%, rgba(255, 255, 255, 0.7), transparent),
    radial-gradient(1px 1px at 82% 18%, rgba(255, 255, 255, 0.85), transparent),
    radial-gradient(1.5px 1.5px at 95% 48%, rgba(255, 248, 255, 0.8), transparent),
    radial-gradient(1px 1px at 15% 72%, rgba(255, 255, 255, 0.65), transparent),
    radial-gradient(1px 1px at 42% 82%, rgba(255, 255, 255, 0.7), transparent),
    radial-gradient(1px 1px at 75% 78%, rgba(255, 255, 255, 0.6), transparent),
    radial-gradient(1.5px 1.5px at 88% 88%, rgba(255, 240, 255, 0.75), transparent);
  animation: hero-stars-drift-near 90s linear infinite, hero-stars-twinkle-near 5s ease-in-out infinite alternate;
}

.hero-star {
  position: absolute;
  left: var(--x);
  top: var(--y);
  border-radius: 50%;
  transform: translate(-50%, -50%);
}

.hero-star--bright {
  width: 3px;
  height: 3px;
  background: #fff;
  box-shadow:
    0 0 4px 1px rgba(255, 255, 255, 0.9),
    0 0 12px 3px rgba(160, 150, 220, 0.35);
  animation: hero-star-twinkle 3.5s ease-in-out infinite;
  animation-delay: var(--d, 0s);
}

.hero-star--bright::before,
.hero-star--bright::after {
  content: '';
  position: absolute;
  left: 50%;
  top: 50%;
  background: rgba(255, 255, 255, 0.55);
  transform: translate(-50%, -50%);
}

.hero-star--bright::before {
  width: 14px;
  height: 1px;
}

.hero-star--bright::after {
  width: 1px;
  height: 14px;
}

.hero-ambient__constellation {
  position: absolute;
  top: 10%;
  right: 6%;
  width: min(28vw, 220px);
  height: auto;
  opacity: 0.75;
  animation: hero-constellation-pulse 8s ease-in-out infinite alternate;
}

.hero-ambient__moon {
  position: absolute;
  top: 11%;
  right: 22%;
  width: 64px;
  height: 64px;
}

.hero-ambient__moon-halo {
  position: absolute;
  inset: -40px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(160, 150, 220, 0.18) 0%, rgba(80, 70, 140, 0.06) 45%, transparent 70%);
  animation: hero-moon-halo 6s ease-in-out infinite alternate;
}

.hero-ambient__moon-disc {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background:
    radial-gradient(circle at 38% 32%, #e8e4f4 0%, #b8b0d0 45%, #8078a8 100%);
  box-shadow:
    0 0 20px rgba(180, 170, 230, 0.35),
    0 0 40px rgba(100, 90, 160, 0.15),
    inset -6px -4px 12px rgba(20, 15, 50, 0.25);
  animation: hero-moon-float 10s ease-in-out infinite alternate;
}

.hero-ambient__shooting-star {
  position: absolute;
  width: 100px;
  height: 2px;
  border-radius: 2px;
  background: linear-gradient(90deg, rgba(255, 255, 255, 0.95), rgba(200, 180, 255, 0.4) 40%, transparent);
  opacity: 0;
  transform: rotate(-38deg);
}

.hero-ambient__shooting-star--1 {
  top: 12%;
  left: 60%;
  animation: hero-shooting-star 3.8s ease-in infinite;
}

.hero-ambient__shooting-star--2 {
  top: 22%;
  left: 20%;
  width: 90px;
  animation: hero-shooting-star 4.5s ease-in 1.2s infinite;
}

.hero-ambient__shooting-star--3 {
  top: 35%;
  left: 75%;
  width: 70px;
  --shoot-angle: -32deg;
  animation: hero-shooting-star 4s ease-in 2.4s infinite;
}

.hero-ambient__shooting-star--4 {
  top: 8%;
  left: 35%;
  width: 110px;
  --shoot-angle: -42deg;
  animation: hero-shooting-star 5s ease-in 0.6s infinite;
}

.hero-ambient__horizon {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 28%;
  background: linear-gradient(
    to top,
    rgba(15, 12, 40, 0.5) 0%,
    rgba(8, 6, 25, 0.2) 40%,
    transparent 100%
  );
}

.hero-ambient__vignette {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 90% 80% at 50% 45%, transparent 20%, rgba(0, 0, 6, 0.65) 100%),
    linear-gradient(to bottom, rgba(0, 0, 6, 0.35) 0%, transparent 35%, rgba(0, 0, 6, 0.5) 100%);
}

@keyframes hero-nebula-drift {
  0% { transform: translate(0, 0) scale(1); opacity: 0.85; }
  100% { transform: translate(-3%, 2%) scale(1.08); opacity: 1; }
}

@keyframes hero-milky-shift {
  0% { transform: translateX(-2%) rotate(0deg); opacity: 0.22; }
  100% { transform: translateX(2%) rotate(1deg); opacity: 0.32; }
}

@keyframes hero-stars-drift-far {
  0% { transform: translate(0, 0); }
  100% { transform: translate(-80px, -40px); }
}

@keyframes hero-stars-drift-mid {
  0% { transform: translate(0, 0); }
  100% { transform: translate(-120px, -60px); }
}

@keyframes hero-stars-drift-near {
  0% { transform: translate(0, 0); }
  100% { transform: translate(-160px, -80px); }
}

@keyframes hero-stars-twinkle-near {
  0% { opacity: 0.7; }
  50% { opacity: 1; }
  100% { opacity: 0.8; }
}

@keyframes hero-star-twinkle {
  0%, 100% { opacity: 0.55; transform: translate(-50%, -50%) scale(0.85); }
  50% { opacity: 1; transform: translate(-50%, -50%) scale(1.15); }
}

@keyframes hero-constellation-pulse {
  0% { opacity: 0.55; }
  100% { opacity: 0.85; }
}

@keyframes hero-moon-halo {
  0% { transform: scale(0.95); opacity: 0.8; }
  100% { transform: scale(1.08); opacity: 1; }
}

@keyframes hero-moon-float {
  0% { transform: translateY(0); }
  100% { transform: translateY(6px); }
}

@keyframes hero-shooting-star {
  0%, 62% { opacity: 0; transform: rotate(var(--shoot-angle, -38deg)) translate(0, 0); }
  68% { opacity: 1; }
  100% { opacity: 0; transform: rotate(var(--shoot-angle, -38deg)) translate(260px, 160px); }
}

@media (prefers-reduced-motion: reduce) {
  .hero-ambient__nebula,
  .hero-ambient__milky,
  .hero-ambient__stars-layer,
  .hero-star--bright,
  .hero-ambient__constellation,
  .hero-ambient__moon-halo,
  .hero-ambient__moon-disc,
  .hero-ambient__shooting-star {
    animation: none;
  }
}

.hero-inner {
  position: relative;
  z-index: 2;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: inherit;
  padding: calc(var(--header-h) + 32px) 0 48px;
  pointer-events: none;
}

.hero-copy {
  max-width: 560px;
  margin-inline: auto;
  pointer-events: auto;
  text-align: center;
}

.hero-glass {
  padding: 0;
  background: none;
  border: none;
  box-shadow: none;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  text-align: center;
}

.hero .hero-glass .eyebrow {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  padding: 6px 16px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.06em;
  color: rgba(230, 225, 255, 0.92);
  background: rgba(255, 255, 255, 0.07);
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.14);
}

.hero .hero-glass h1 {
  margin: 0 0 16px;
  font-size: clamp(34px, 4.2vw, 48px);
  font-weight: 700;
  line-height: 1.22;
  color: rgba(255, 255, 255, 0.96);
  letter-spacing: -0.02em;
}

.hero .hero-glass .gradient-text {
  background: linear-gradient(120deg, #d4b8ff 0%, #e8a0d0 50%, #f0b0d8 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero .hero-glass .lead {
  margin: 0 auto 28px;
  max-width: 480px;
  font-size: 16px;
  line-height: 1.8;
  color: rgba(200, 195, 225, 0.82);
}

.hero .hero-glass .hero-cta {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin-bottom: 28px;
}

.hero .hero-glass .btn-outline {
  background: rgba(255, 255, 255, 0.06);
  color: rgba(255, 255, 255, 0.92);
  border-color: rgba(255, 255, 255, 0.22);
  backdrop-filter: blur(8px);
}

.hero .hero-glass .btn-outline:hover {
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
  border-color: rgba(255, 255, 255, 0.38);
}

.hero .hero-glass .hero-metrics {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px 16px;
  margin: 0;
  padding: 22px 0 0;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.hero .hero-glass .hero-metrics li {
  position: relative;
}

.hero .hero-glass .hero-metrics li:first-child {
  padding-left: 0;
}

.hero .hero-glass .hero-metrics li:not(:first-child)::before {
  content: "";
  position: absolute;
  left: 0;
  top: 4px;
  bottom: 4px;
  width: 1px;
  background: rgba(255, 255, 255, 0.12);
}

.hero .hero-glass .hero-metrics li:not(:first-child) {
  padding-left: 16px;
}

.hero .hero-glass .hero-metrics strong {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.92);
}

.hero .hero-glass .hero-metrics span {
  font-size: 12px;
  color: rgba(180, 175, 210, 0.72);
}

.eyebrow {
  margin: 0 0 16px;
  font-size: 14px;
  font-weight: 600;
  color: var(--brand-dark);
  letter-spacing: 0.04em;
}

.gradient-text {
  background: var(--gradient-text);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.lead {
  margin: 0 0 32px;
  max-width: 480px;
  font-size: 17px;
  color: var(--text-2);
  line-height: 1.75;
}

.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 40px;
}

.hero-metrics {
  display: flex;
  flex-wrap: wrap;
  gap: 32px;
  margin: 0;
  padding: 24px 0 0;
  list-style: none;
  border-top: 1px solid var(--border-light);
}

.hero-metrics li {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.hero-metrics strong {
  font-size: 15px;
  font-weight: 600;
  color: var(--text);
}

.hero-metrics span {
  font-size: 13px;
  color: var(--text-3);
}

/* Phone mock */
.hero-visual {
  position: relative;
  display: flex;
  justify-content: center;
}

.phone-glow {
  position: absolute;
  width: 320px;
  height: 320px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(224, 120, 168, 0.35) 0%, rgba(139, 104, 184, 0.15) 45%, transparent 70%);
  filter: blur(24px);
  animation: glow-pulse 4s ease-in-out infinite;
  pointer-events: none;
}

@keyframes glow-pulse {
  0%, 100% { transform: scale(1); opacity: 0.7; }
  50% { transform: scale(1.08); opacity: 1; }
}

.phone {
  position: relative;
  width: min(290px, 100%);
  padding: 10px;
  background: linear-gradient(160deg, #fff 0%, #faf8ff 100%);
  border-radius: 36px;
  border: 1px solid rgba(139, 104, 184, 0.2);
  box-shadow:
    0 20px 50px rgba(90, 56, 128, 0.18),
    0 0 0 1px rgba(255, 255, 255, 0.8) inset;
}

.phone-float {
  animation: phone-float 5s ease-in-out infinite;
}

@keyframes phone-float {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  50% { transform: translateY(-10px) rotate(0.5deg); }
}

.phone-notch {
  position: absolute;
  top: 14px;
  left: 50%;
  transform: translateX(-50%);
  width: 72px;
  height: 22px;
  background: #1a1a2e;
  border-radius: 0 0 14px 14px;
  z-index: 2;
}

.phone-inner {
  border-radius: 28px;
  background: var(--gradient-card);
  padding: 36px 14px 16px;
  min-height: 440px;
  overflow: hidden;
}

.phone-status {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 4px 10px;
  font-size: 11px;
  font-weight: 600;
  color: var(--text-3);
}

.phone-status-icons {
  letter-spacing: 2px;
  font-size: 8px;
  opacity: 0.6;
}

.phone-bar {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 12px;
  font-size: 14px;
  font-weight: 600;
  color: var(--text);
}

.phone-bar img { border-radius: 8px; box-shadow: 0 2px 8px rgba(90, 56, 128, 0.15); }

.phone-bar-text {
  display: flex;
  flex-direction: column;
  gap: 2px;
  line-height: 1.3;
}

.phone-bar-text small {
  font-size: 11px;
  font-weight: 500;
  color: var(--brand);
  opacity: 0.85;
}

.phone-card {
  padding: 14px;
  background: rgba(255, 255, 255, 0.92);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  margin-bottom: 10px;
  backdrop-filter: blur(4px);
}

.phone-card label {
  display: block;
  margin-bottom: 10px;
  font-size: 12px;
  font-weight: 500;
  color: var(--text-3);
}

.mood-meter {
  height: 4px;
  margin-top: 10px;
  background: var(--bg-section);
  border-radius: 999px;
  overflow: hidden;
}

.mood-meter span {
  display: block;
  height: 100%;
  width: var(--w, 60%);
  background: var(--gradient-brand);
  border-radius: 999px;
  animation: meter-grow 2s var(--ease) forwards;
}

@keyframes meter-grow {
  from { width: 0; }
  to { width: var(--w, 60%); }
}

.phone-insight {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 10px 12px;
  margin-bottom: 10px;
  background: linear-gradient(135deg, rgba(255, 240, 250, 0.9), rgba(240, 232, 255, 0.9));
  border: 1px solid rgba(139, 104, 184, 0.15);
  border-radius: var(--radius);
  animation: insight-fade 0.8s var(--ease) 0.4s both;
}

@keyframes insight-fade {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}

.phone-insight-icon {
  font-size: 16px;
  color: var(--brand);
  animation: spin-slow 8s linear infinite;
}

.phone-insight strong {
  display: block;
  font-size: 11px;
  font-weight: 700;
  color: var(--brand-dark);
  margin-bottom: 2px;
}

.phone-insight p {
  margin: 0;
  font-size: 11px;
  color: var(--text-2);
  line-height: 1.45;
}

.tags { display: flex; gap: 6px; flex-wrap: wrap; }

.tags span {
  padding: 5px 12px;
  font-size: 12px;
  font-weight: 500;
  border-radius: 999px;
  background: var(--bg-section);
  color: var(--text-2);
  border: 1px solid var(--border);
  transition: all 0.35s var(--ease);
  cursor: default;
}

.tags span.active {
  background: var(--gradient-brand);
  border-color: transparent;
  color: #fff;
  box-shadow: 0 4px 12px rgba(122, 88, 168, 0.35);
  transform: scale(1.04);
}

.phone-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin-bottom: 10px;
}

.tile {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  padding: 12px 8px;
  font-size: 12px;
  font-weight: 600;
  text-align: center;
  color: var(--text-2);
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  transition: transform 0.25s var(--ease), box-shadow 0.25s, border-color 0.25s;
}

.tile-icon {
  font-size: 18px;
  line-height: 1;
}

.tile-label { line-height: 1.2; }

.tile-animate {
  opacity: 0;
  animation: tile-pop 0.5s var(--ease) calc(0.15s + var(--i, 0) * 0.08s) forwards;
}

@keyframes tile-pop {
  from { opacity: 0; transform: scale(0.85) translateY(8px); }
  to { opacity: 1; transform: scale(1) translateY(0); }
}

.tile:hover {
  transform: translateY(-2px);
  border-color: rgba(139, 104, 184, 0.35);
  box-shadow: 0 6px 16px rgba(139, 104, 184, 0.12);
}

.tile-main {
  grid-row: span 2;
  align-items: flex-start;
  justify-content: flex-end;
  padding: 16px;
  min-height: 120px;
  text-align: left;
  color: var(--brand-dark);
  font-weight: 700;
  background: linear-gradient(155deg, #ffe8f4 0%, #e8e0fc 55%, #dce8ff 100%);
  border-color: rgba(139, 104, 184, 0.25);
  position: relative;
  overflow: hidden;
}

.tile-main::before {
  content: "";
  position: absolute;
  top: -20px;
  right: -20px;
  width: 80px;
  height: 80px;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.6) 0%, transparent 70%);
  border-radius: 50%;
}

.tile-main .tile-icon { font-size: 24px; margin-bottom: auto; }
.tile-main .tile-label { font-size: 14px; }

.phone-mini-chat {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding-top: 4px;
}

.mini-bubble {
  max-width: 78%;
  padding: 7px 11px;
  font-size: 11px;
  line-height: 1.4;
  border-radius: 12px;
  animation: bubble-in 0.6s var(--ease) both;
}

.mini-bubble-ai {
  align-self: flex-start;
  background: #fff;
  color: var(--text-2);
  border: 1px solid var(--border);
  animation-delay: 0.8s;
}

.mini-bubble-user {
  align-self: flex-end;
  background: var(--gradient-brand);
  color: #fff;
  animation-delay: 1.2s;
}

@keyframes bubble-in {
  from { opacity: 0; transform: translateY(6px) scale(0.95); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

/* ─── Section common ─── */
.section { padding: 88px 0; }

.section-head {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 56px;
}

.section-head h2 {
  margin: 0 0 12px;
  font-size: clamp(28px, 4vw, 36px);
  font-weight: 700;
  color: var(--text);
  letter-spacing: -0.02em;
}

/* 能力区顶部装饰线 */
.capabilities .section-head h2::after {
  content: "";
  display: block;
  width: 48px;
  height: 4px;
  margin: 16px auto 0;
  border-radius: 2px;
  background: var(--gradient-brand);
}

.section-head p {
  margin: 0;
  font-size: 16px;
  color: var(--text-2);
}

/* ─── Capability cards ─── */
.capabilities { background: var(--bg); }

.cap-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 16px;
}

@media (max-width: 1100px) {
  .cap-grid { grid-template-columns: repeat(3, 1fr); }
}

.cap-card {
  padding: 28px 24px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  transition: box-shadow 0.3s var(--ease), transform 0.3s var(--ease), border-color 0.3s;
}

.cap-card:hover {
  border-color: rgba(139, 104, 184, 0.35);
  box-shadow: var(--shadow-hover);
  transform: translateY(-4px);
}

.cap-icon {
  width: 52px;
  height: 52px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-lg);
  margin-bottom: 20px;
  color: var(--brand-dark);
}

.cap-icon-1 { background: var(--gradient-icon-1); }
.cap-icon-2 { background: var(--gradient-icon-2); }
.cap-icon-3 { background: var(--gradient-icon-3); }
.cap-icon-4 { background: var(--gradient-icon-4); }

.cap-card h3 {
  margin: 0 0 10px;
  font-size: 18px;
  font-weight: 700;
  color: var(--text);
}

.cap-card p {
  margin: 0 0 16px;
  font-size: 14px;
  color: var(--text-2);
  line-height: 1.7;
}

.cap-link {
  font-size: 14px;
  font-weight: 600;
  color: var(--brand-dark);
}

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

/* ─── Feature blocks ─── */
.feature-block {
  background: linear-gradient(165deg, #fff 0%, #faf6ff 55%, #f0ecff 100%);
}

.feature-block-alt {
  background: linear-gradient(165deg, #faf6ff 0%, #f3eeff 50%, #eef4ff 100%);
}

.feature-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 72px;
  align-items: center;
}

.feature-row-reverse .feature-media { order: 2; }
.feature-row-reverse .feature-text { order: 1; }

.label {
  display: inline-block;
  margin-bottom: 12px;
  padding: 4px 12px;
  font-size: 13px;
  font-weight: 600;
  color: var(--brand-dark);
  background: var(--gradient-icon-1);
  border-radius: 999px;
}

.feature-text h2 {
  margin: 0 0 16px;
  font-size: clamp(26px, 3.5vw, 32px);
  font-weight: 700;
  color: var(--text);
  line-height: 1.3;
  letter-spacing: -0.02em;
}

.feature-text > p {
  margin: 0 0 24px;
  font-size: 16px;
  color: var(--text-2);
  line-height: 1.8;
}

.check-list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.check-list li {
  position: relative;
  padding: 10px 0 10px 28px;
  font-size: 15px;
  color: var(--text-2);
  border-bottom: 1px solid var(--border-light);
}

.check-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  width: 18px;
  height: 18px;
  margin-top: -9px;
  background: var(--gradient-icon-1) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%235a3880' stroke-width='2.5'%3E%3Cpath d='M5 13l4 4L19 7'/%3E%3C/svg%3E") center/12px no-repeat;
  border-radius: 50%;
}

.media-panel {
  padding: 32px;
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  backdrop-filter: blur(8px);
}

.feature-media .video-169-wrap {
  width: 100%;
}

.msg {
  padding: 14px 16px;
  border-radius: var(--radius-lg);
  font-size: 14px;
  line-height: 1.65;
  margin-bottom: 12px;
}

.msg-user {
  margin-left: 15%;
  background: var(--bg-section);
  color: var(--text);
  border: 1px solid var(--border);
}

.msg-ai {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  background: linear-gradient(135deg, #fff5fb 0%, #f8f0ff 100%);
  border: 1px solid rgba(139, 104, 184, 0.15);
}

.msg-ai img { border-radius: 6px; flex-shrink: 0; }
.msg-ai p { margin: 0; color: var(--text-2); }

.msg-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 8px; }

.msg-tags span {
  padding: 4px 12px;
  font-size: 12px;
  font-weight: 500;
  color: var(--text-2);
  background: var(--bg-section);
  border: 1px solid var(--border);
  border-radius: 999px;
}

/* Tarot */
.media-tarot {
  text-align: center;
  background: linear-gradient(160deg, #fff 0%, #faf6ff 50%, #f5f0ff 100%);
  overflow: hidden;
}

.tarot-scene {
  position: relative;
  padding: 8px 0 4px;
}

.tarot-sparkles {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.tarot-sparkles span {
  position: absolute;
  width: 4px;
  height: 4px;
  background: var(--accent);
  border-radius: 50%;
  opacity: 0;
  animation: sparkle 3s ease-in-out infinite;
}

.tarot-sparkles span:nth-child(1) { top: 15%; left: 20%; animation-delay: 0s; }
.tarot-sparkles span:nth-child(2) { top: 25%; right: 18%; animation-delay: 0.6s; }
.tarot-sparkles span:nth-child(3) { bottom: 35%; left: 12%; animation-delay: 1.2s; }
.tarot-sparkles span:nth-child(4) { bottom: 20%; right: 25%; animation-delay: 1.8s; }
.tarot-sparkles span:nth-child(5) { top: 45%; left: 45%; animation-delay: 2.4s; }

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

.tarot-row {
  display: flex;
  justify-content: center;
  align-items: flex-end;
  height: 200px;
  perspective: 800px;
}

.tarot-back {
  width: 96px;
  height: 140px;
  background: var(--gradient-brand);
  border-radius: 10px;
  position: relative;
  overflow: hidden;
  box-shadow: 0 8px 24px rgba(90, 56, 128, 0.25);
}

.tarot-back-pattern {
  position: absolute;
  inset: 8px;
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 6px;
  background:
    repeating-linear-gradient(45deg, rgba(255,255,255,0.08) 0 2px, transparent 2px 8px),
    repeating-linear-gradient(-45deg, rgba(255,255,255,0.06) 0 2px, transparent 2px 8px);
}

.tarot-back-left {
  transform: rotate(-14deg) translateY(20px) translateX(8px);
  animation: tarot-sway-left 4s ease-in-out infinite;
}

.tarot-back-right {
  transform: rotate(14deg) translateY(20px) translateX(-8px);
  animation: tarot-sway-right 4s ease-in-out infinite;
}

@keyframes tarot-sway-left {
  0%, 100% { transform: rotate(-14deg) translateY(20px) translateX(8px); }
  50% { transform: rotate(-10deg) translateY(14px) translateX(12px); }
}

@keyframes tarot-sway-right {
  0%, 100% { transform: rotate(14deg) translateY(20px) translateX(-8px); }
  50% { transform: rotate(10deg) translateY(14px) translateX(-12px); }
}

.tarot-front {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 104px;
  height: 152px;
  margin: 0 -12px;
  background: #fff;
  border: 2px solid transparent;
  border-radius: 12px;
  transform: translateY(-12px);
  z-index: 2;
  box-shadow: 0 16px 40px rgba(90, 56, 128, 0.22);
  background-clip: padding-box;
  position: relative;
  animation: tarot-float 3.5s ease-in-out infinite;
}

.tarot-front-glow::before {
  content: "";
  position: absolute;
  inset: -2px;
  border-radius: 14px;
  background: var(--gradient-brand);
  z-index: -1;
  animation: tarot-glow 2.5s ease-in-out infinite;
}

@keyframes tarot-glow {
  0%, 100% { opacity: 0.6; filter: blur(0); }
  50% { opacity: 1; filter: blur(1px); }
}

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

.tarot-front-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  padding: 12px;
}

.tarot-symbol {
  font-size: 36px;
  line-height: 1;
  animation: symbol-pulse 2s ease-in-out infinite;
}

@keyframes symbol-pulse {
  0%, 100% { transform: scale(1); filter: brightness(1); }
  50% { transform: scale(1.08); filter: brightness(1.1); }
}

.tarot-front em {
  font-style: normal;
  font-size: 13px;
  font-weight: 700;
  color: var(--text);
}

.tarot-card-num {
  font-size: 10px;
  font-weight: 500;
  color: var(--text-3);
  letter-spacing: 0.02em;
}

.tarot-meta {
  display: flex;
  flex-direction: column;
  gap: 4px;
  margin-top: 20px;
}

.tarot-spread-label {
  font-size: 14px;
  font-weight: 700;
  color: var(--brand-dark);
}

.tarot-hint {
  font-size: 12px;
  color: var(--text-3);
}

.tarot-deck-hint {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 14px;
  padding: 6px 14px;
  font-size: 11px;
  font-weight: 600;
  color: var(--text-3);
  background: rgba(255, 255, 255, 0.7);
  border: 1px solid var(--border);
  border-radius: 999px;
}

.tarot-deck-dot {
  width: 6px;
  height: 8px;
  background: var(--gradient-brand);
  border-radius: 2px;
  animation: deck-stack 1.5s ease-in-out infinite;
}

.tarot-deck-dot:nth-child(2) { animation-delay: 0.15s; opacity: 0.7; }
.tarot-deck-dot:nth-child(3) { animation-delay: 0.3s; opacity: 0.4; }

@keyframes deck-stack {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-3px); }
}

/* Astro */
.media-astro {
  text-align: center;
  background: linear-gradient(165deg, #fff 0%, #f8f4fc 60%, #f0ecff 100%);
  overflow: hidden;
}

.astro-scene {
  position: relative;
  padding: 8px 0;
}

.astro-stars {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.astro-stars span {
  position: absolute;
  width: 3px;
  height: 3px;
  background: var(--brand);
  border-radius: 50%;
  opacity: 0.3;
  animation: star-twinkle 2.5s ease-in-out infinite;
}

.astro-stars span:nth-child(1) { top: 10%; left: 15%; animation-delay: 0s; }
.astro-stars span:nth-child(2) { top: 20%; right: 20%; animation-delay: 0.4s; }
.astro-stars span:nth-child(3) { bottom: 30%; left: 10%; animation-delay: 0.8s; }
.astro-stars span:nth-child(4) { bottom: 15%; right: 15%; animation-delay: 1.2s; }
.astro-stars span:nth-child(5) { top: 50%; left: 8%; animation-delay: 1.6s; }
.astro-stars span:nth-child(6) { top: 40%; right: 8%; animation-delay: 2s; }

@keyframes star-twinkle {
  0%, 100% { opacity: 0.2; transform: scale(1); }
  50% { opacity: 0.9; transform: scale(1.4); }
}

.astro-svg {
  width: 220px;
  height: 220px;
  margin: 0 auto 12px;
  display: block;
}

.astro-pulse {
  animation: astro-pulse 3s ease-in-out infinite;
}

@keyframes astro-pulse {
  0%, 100% { r: 38; opacity: 0.8; }
  50% { r: 44; opacity: 1; }
}

.astro-ring-outer {
  transform-origin: 100px 100px;
  animation: spin-slow 60s linear infinite;
}

.astro-ring-mid {
  transform-origin: 100px 100px;
  animation: spin-slow 45s linear infinite reverse;
}

@keyframes spin-slow {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

.planet {
  transform-origin: center;
  animation: planet-orbit 6s ease-in-out infinite;
}

.planet-sun { animation-delay: 0s; }
.planet-venus { animation-delay: 0.5s; }
.planet-moon { animation-delay: 1s; }
.planet-mars { animation-delay: 1.5s; }
.planet-jupiter { animation-delay: 2s; }
.planet-saturn { animation-delay: 2.5s; }

@keyframes planet-orbit {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.12); }
}

.astro-aspects line {
  animation: aspect-fade 4s ease-in-out infinite;
}

@keyframes aspect-fade {
  0%, 100% { opacity: 0.25; }
  50% { opacity: 0.55; }
}

.astro-chips {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  margin-bottom: 8px;
}

.astro-chips span {
  padding: 7px 16px;
  font-size: 13px;
  font-weight: 600;
  color: var(--text-2);
  background: rgba(255, 255, 255, 0.8);
  border: 1px solid var(--border);
  border-radius: 999px;
  transition: all 0.35s var(--ease);
  cursor: default;
}

.astro-chips span.active {
  background: var(--gradient-brand);
  border-color: transparent;
  color: #fff;
  box-shadow: 0 4px 14px rgba(122, 88, 168, 0.3);
  transform: scale(1.05);
}

.astro-caption {
  font-size: 11px;
  font-weight: 500;
  color: var(--text-3);
  letter-spacing: 0.04em;
}

/* Community */
.feed-item {
  padding: 20px;
  background: linear-gradient(135deg, #fff 0%, var(--bg-section) 100%);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
}

.feed-head {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 12px;
  font-size: 14px;
  font-weight: 600;
  color: var(--text);
}

.feed-avatar {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--gradient-brand);
}

.feed-item > p {
  margin: 0;
  font-size: 14px;
  color: var(--text-2);
  line-height: 1.65;
}

.feed-meta {
  margin-top: 12px;
  font-size: 13px;
  color: var(--text-3);
}

/* ─── CTA band ─── */
.cta-band {
  padding: 64px 0;
  background: var(--gradient-cta);
  position: relative;
  overflow: hidden;
}

.cta-band::before {
  content: "";
  position: absolute;
  top: -50%;
  right: -10%;
  width: 50%;
  height: 200%;
  background: radial-gradient(ellipse, rgba(255, 255, 255, 0.12) 0%, transparent 65%);
  pointer-events: none;
}

.cta-band-inner {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  flex-wrap: wrap;
}

.cta-band-copy {
  display: flex;
  align-items: center;
  gap: 20px;
}

.cta-logo {
  border-radius: 14px;
  flex-shrink: 0;
}

.cta-band-copy h2 {
  margin: 0 0 6px;
  font-size: 26px;
  font-weight: 700;
  color: #fff;
}

.cta-band-copy p {
  margin: 0;
  font-size: 15px;
  color: rgba(255, 255, 255, 0.85);
}

.cta-band-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

/* ─── Footer ─── */
.site-footer {
  padding: 56px 0 0;
  background: linear-gradient(180deg, #2e2838 0%, #1f1a28 100%);
  color: rgba(255, 255, 255, 0.75);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-brand {
  color: #fff;
  margin-bottom: 8px;
}

.footer-tagline {
  margin: 0;
  font-size: 14px;
  color: rgba(255, 255, 255, 0.5);
}

.footer-col h4 {
  margin: 0 0 16px;
  font-size: 14px;
  font-weight: 600;
  color: #fff;
}

.footer-col a,
.footer-col p {
  display: block;
  margin: 0 0 10px;
  font-size: 14px;
  color: rgba(255, 255, 255, 0.65);
  transition: color 0.2s;
}

.footer-col a:hover { color: #fff; }

.footer-bottom {
  padding: 24px 0 32px;
  text-align: center;
}

.footer-disclaimer {
  max-width: 560px;
  margin: 0 auto 12px;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.55);
  line-height: 1.7;
}

.footer-icp {
  margin: 0 0 8px;
  font-size: 12px;
  color: rgba(255, 255, 255, 0.4);
}

.copyright {
  margin: 0;
  font-size: 12px;
  color: rgba(255, 255, 255, 0.35);
}

.footer-bottom a { color: rgba(255, 255, 255, 0.75); }

/* ─── Scroll reveal ─── */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal-delay { transition-delay: 0.12s; }

/* ─── Reduced motion ─── */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  .phone-float,
  .tarot-front,
  .tarot-back-left,
  .tarot-back-right,
  .astro-ring-outer,
  .astro-ring-mid {
    animation: none !important;
  }
}

/* ─── Legal pages ─── */
.legal-page {
  padding: calc(var(--header-h) + 48px) 0 64px;
}

.legal-page .container { max-width: 720px; }

.legal-page h1 {
  font-size: 32px;
  font-weight: 700;
  color: var(--text);
}

.legal-page .back {
  display: inline-block;
  margin-bottom: 24px;
  font-weight: 500;
  color: var(--brand-dark);
}

.legal-page article {
  color: var(--text-2);
  white-space: pre-wrap;
  font-size: 15px;
  line-height: 1.8;
}

/* ─── Responsive ─── */
@media (max-width: 1024px) {
  .cap-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  .feature-row {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .feature-row-reverse .feature-media,
  .feature-row-reverse .feature-text { order: unset; }

  .hero-inner {
    justify-content: center;
    padding-bottom: 40px;
  }

  .hero-copy {
    max-width: min(100%, 440px);
    margin-inline: auto;
    margin-left: auto;
  }

  .hero-ambient__moon {
    top: 7%;
    right: 6%;
    width: 48px;
    height: 48px;
  }

  .hero-ambient__constellation {
    top: 5%;
    right: 2%;
    width: 110px;
    opacity: 0.5;
  }

  .hero-glass {
    text-align: center;
    border-radius: 20px;
  }

  .hero .hero-glass .hero-cta {
    justify-content: center;
  }

  .hero .hero-glass .hero-metrics {
    grid-template-columns: 1fr;
    gap: 16px;
    text-align: center;
  }

  .hero .hero-glass .hero-metrics li {
    padding-left: 0;
  }

  .hero .hero-glass .hero-metrics li:not(:first-child)::before {
    display: none;
  }

  .hero .hero-glass .hero-metrics li:not(:first-child) {
    padding-top: 16px;
    border-top: 1px solid rgba(139, 104, 184, 0.12);
    padding-left: 0;
  }

  .cap-grid { grid-template-columns: 1fr; }

  .cta-band-inner { flex-direction: column; text-align: center; }
  .cta-band-copy { flex-direction: column; }
  .cta-band-actions { justify-content: center; }

  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }

  .site-nav {
    position: fixed;
    top: var(--header-h);
    left: 0;
    right: 0;
    flex-direction: column;
    margin: 0;
    padding: 20px 24px;
    gap: 16px;
    background: #fff;
    border-bottom: 1px solid var(--border);
    transform: translateY(-120%);
    opacity: 0;
    visibility: hidden;
    transition: transform 0.3s, opacity 0.3s, visibility 0.3s;
  }

  .site-nav.is-open {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
  }

  .nav-toggle { display: flex; }

  .header-actions .btn-sm { display: none; }

  .nav-toggle[aria-expanded="true"] span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
  }

  .nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }

  .nav-toggle[aria-expanded="true"] span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
  }
}

@media (max-width: 480px) {
  .container { width: calc(100% - 32px); }
  .footer-grid { grid-template-columns: 1fr; }
}

/* ─── CMS 动态内容加载 ─── */
html.cms-loading main,
html.cms-loading .site-footer {
  visibility: hidden;
}

.cms-loader {
  position: fixed;
  inset: 0;
  z-index: 9998;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(165deg, #fff5fb 0%, #f3ecff 38%, #e8f2ff 100%);
}

.cms-loader-inner {
  width: 36px;
  height: 36px;
  border: 3px solid rgba(139, 104, 184, 0.2);
  border-top-color: var(--brand);
  border-radius: 50%;
  animation: cms-spin 0.75s linear infinite;
}

@keyframes cms-spin {
  to { transform: rotate(360deg); }
}

.cms-error-box {
  text-align: center;
  padding: 24px;
  max-width: 320px;
}

.cms-error-text {
  margin: 0 0 16px;
  color: var(--text-2);
  font-size: 15px;
  line-height: 1.6;
}

.cms-noscript {
  position: fixed;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0;
  padding: 24px;
  background: #fff;
  z-index: 10000;
  text-align: center;
  color: var(--text-2);
}
