:root {
  --bg: #0f1419;
  --bg-deep: #0c1116;
  --panel: rgba(20, 26, 35, 0.8);
  --panel-soft: rgba(20, 26, 35, 0.6);
  --line: rgba(120, 170, 255, 0.14);
  --line-strong: rgba(120, 170, 255, 0.26);
  --text: #e0e0e0;
  --text-soft: #7a8a9e;
  --accent: #50e3c2;
  --accent-strong: #2d8cff;
  --shadow: 0 28px 80px rgba(2, 8, 18, 0.42);
  --radius-xl: 16px;
  --radius-lg: 16px;
  --radius-md: 12px;
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  min-height: 100%;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at 18% 18%, rgba(80, 227, 194, 0.14), transparent 24%),
    radial-gradient(circle at 82% 16%, rgba(45, 140, 255, 0.16), transparent 28%),
    linear-gradient(135deg, var(--bg-deep) 0%, #141a24 52%, var(--bg) 100%);
}

/* CSS Animations */
@keyframes heroOrbLeft {
  0% { transform: translate(0, 0) scale(1); }
  100% { transform: translate(5%, 8%) scale(1.15); }
}

@keyframes heroOrbRight {
  0% { transform: translate(0, 0) scale(1.1); }
  100% { transform: translate(-6%, -5%) scale(1); }
}

@keyframes badgePulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(80, 227, 194, 0); }
  50% { box-shadow: 0 0 0 6px rgba(80, 227, 194, 0.06); }
}

@keyframes gradientShift {
  0%, 100% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(-10px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes statsGlow {
  0%, 100% {
    text-shadow: 0 0 20px rgba(80, 227, 194, 0.4), 0 0 40px rgba(80, 227, 194, 0.2);
  }
  50% {
    text-shadow: 0 0 30px rgba(80, 227, 194, 0.6), 0 0 60px rgba(80, 227, 194, 0.3);
  }
}

@keyframes slideInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes starsGlow {
  0%, 100% {
    opacity: 0.65;
  }
  50% {
    opacity: 0.95;
  }
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: linear-gradient(180deg, rgba(255, 255, 255, 0.3), transparent 88%);
}

.page-shell {
  width: min(1180px, calc(100vw - 40px));
  margin: 0 auto;
  padding: 22px 0 28px;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  display: flex;
  align-items: center;
  min-height: 56px;
  margin-bottom: 18px;
  background: rgba(12, 18, 27, 0.92);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(80, 227, 194, 0.14);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: inherit;
  text-decoration: none;
}

.brand-icon {
  display: inline-flex;
  width: 32px;
  height: 32px;
  flex: 0 0 auto;
}

.brand-icon svg {
  display: block;
  width: 100%;
  height: 100%;
  filter: drop-shadow(0 0 12px rgba(80, 227, 194, 0.35));
}

.brand-name {
  font-size: 22px;
  font-weight: 700;
  letter-spacing: -0.04em;
  background: linear-gradient(135deg, var(--accent), #ffffff 58%, var(--accent-strong));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.landing-main {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.hero {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 4.5rem 3rem 3.5rem;
  min-height: 420px;
  border-radius: var(--radius-xl);
  background: linear-gradient(180deg, rgba(13, 20, 33, 0.92), rgba(11, 18, 32, 0.86));
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  top: -20%;
  left: -10%;
  width: 45%;
  height: 120%;
  background: radial-gradient(ellipse, rgba(80, 227, 194, 0.12), transparent 70%);
  pointer-events: none;
  animation: heroOrbLeft 12s ease-in-out infinite alternate;
}

.hero::after {
  content: "";
  position: absolute;
  bottom: -30%;
  right: -5%;
  width: 50%;
  height: 130%;
  background: radial-gradient(ellipse, rgba(45, 140, 255, 0.10), transparent 70%);
  pointer-events: none;
  animation: heroOrbRight 14s ease-in-out infinite alternate;
}

.hero::before {
  content: "";
  position: absolute;
  top: -20%;
  left: -10%;
  width: 45%;
  height: 120%;
  background: radial-gradient(ellipse, rgba(80, 227, 194, 0.12), transparent 70%);
  pointer-events: none;
  animation: heroOrbLeft 12s ease-in-out infinite alternate;
}

.hero::after {
  content: "";
  position: absolute;
  bottom: -30%;
  right: -5%;
  width: 50%;
  height: 130%;
  background: radial-gradient(ellipse, rgba(45, 140, 255, 0.10), transparent 70%);
  pointer-events: none;
  animation: heroOrbRight 14s ease-in-out infinite alternate;
}

/* 北斗七星 SVG - 作为全覆盖背景层 */
.big-dipper {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0.22;
  pointer-events: none;
  z-index: 0;
  mix-blend-mode: screen;
  animation: starsGlow 8s ease-in-out infinite;
}

.hero > * {
  position: relative;
  z-index: 1;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.45rem 1.2rem;
  margin: 0 auto 1.5rem;
  background: rgba(80, 227, 194, 0.08);
  border: 1px solid rgba(80, 227, 194, 0.2);
  border-radius: 999px;
  color: var(--accent);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  animation: badgePulse 3s ease-in-out infinite;
}

.hero h1 {
  margin: 0 auto;
  max-width: 22ch;
  font-size: 3.8rem;
  line-height: 1.18;
  letter-spacing: -0.03em;
  font-weight: 800;
  background: linear-gradient(135deg, #ffffff 0%, #50e3c2 40%, #2d8cff 70%, #a78bfa 100%);
  background-size: 200% 200%;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: gradientShift 8s ease infinite;
  white-space: nowrap;
}

.hero-tagline {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  font-size: 1.05rem;
  font-weight: 500;
  color: var(--accent);
  letter-spacing: 0.02em;
  margin: 1rem auto 0.8rem;
  opacity: 0.92;
}

.hero-tagline::before,
.hero-tagline::after {
  content: '';
  display: block;
  width: 48px;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(80, 227, 194, 0.5));
  flex-shrink: 0;
}

.hero-tagline::after {
  background: linear-gradient(270deg, transparent, rgba(80, 227, 194, 0.5));
}

.hero-lead {
  margin: 18px auto 0;
  max-width: 680px;
  color: var(--text-soft);
  font-size: 1.05rem;
  line-height: 1.75;
}

.hero-lead strong {
  color: var(--accent);
  font-weight: 700;
  font-size: 1.1rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
  margin-top: 2rem;
}

.cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0.75rem 2rem;
  border-radius: 12px;
  text-decoration: none;
  font-size: 1rem;
  font-weight: 600;
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1), box-shadow 0.3s ease;
}

.cta:hover {
  transform: translateY(-2px);
}

.cta-primary {
  color: #08101c;
  background: linear-gradient(135deg, var(--accent), #2d8cff);
  box-shadow: 0 4px 20px rgba(45, 140, 255, 0.25), 0 0 40px rgba(80, 227, 194, 0.08);
}

.cta-primary:hover {
  box-shadow: 0 6px 24px rgba(45, 140, 255, 0.4), 0 0 48px rgba(80, 227, 194, 0.12);
}

.cta-secondary {
  color: var(--text);
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--line-strong);
}

/* Stats Section */
.stats-section {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px;
  margin: 28px 0;
  padding: 32px 0;
}

.stat-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 32px 20px;
  border-radius: var(--radius-lg);
  background: linear-gradient(135deg, rgba(20, 26, 35, 0.6), rgba(17, 24, 33, 0.8));
  border: 1px solid rgba(80, 227, 194, 0.1);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
}

.stat-item::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(80, 227, 194, 0.08) 0%, transparent 70%);
  opacity: 0;
  transition: opacity 0.4s ease;
}

.stat-item:hover::before {
  opacity: 1;
}

.stat-item:hover {
  transform: translateY(-6px);
  border-color: rgba(80, 227, 194, 0.35);
  background: linear-gradient(135deg, rgba(20, 26, 35, 0.8), rgba(17, 24, 33, 0.95));
  box-shadow: 0 16px 48px rgba(80, 227, 194, 0.18);
}

.stat-icon {
  width: 48px;
  height: 48px;
  margin-bottom: 16px;
  color: var(--accent);
  opacity: 0.85;
  transition: all 0.4s ease;
}

.stat-icon svg {
  width: 100%;
  height: 100%;
  filter: drop-shadow(0 0 12px rgba(80, 227, 194, 0.4));
}

.stat-item:hover .stat-icon {
  transform: scale(1.15);
  opacity: 1;
  filter: drop-shadow(0 0 20px rgba(80, 227, 194, 0.6));
}

.stat-value {
  font-size: 3rem;
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.02em;
  background: linear-gradient(135deg, #50e3c2 0%, #2d8cff 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-bottom: 12px;
  animation: statsGlow 3s ease-in-out infinite;
}

.stat-plus,
.stat-percent {
  font-size: 0.6em;
  opacity: 0.9;
}

.stat-label {
  font-size: 0.95rem;
  color: var(--text-soft);
  font-weight: 500;
  letter-spacing: 0.02em;
}

.signal-card span {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--text-soft);
}

.signal-card p,
.footer-left p,
.footer-right span,
.footer-right a,
.footer-center a {
  margin: 0;
  color: var(--text-soft);
  font-size: 14px;
  line-height: 1.8;
}

.signal-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.signal-card,
.site-footer {
  border-radius: var(--radius-lg);
  background: var(--panel);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.signal-card {
  padding: 28px 24px;
  transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1), border-color 0.35s ease;
}

.signal-card:hover {
  transform: translateY(-6px);
  border-color: rgba(80, 227, 194, 0.28);
}

.signal-icon {
  width: 56px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
  color: var(--accent);
  transition: all 0.4s ease;
}

.signal-icon svg {
  width: 100%;
  height: 100%;
  filter: drop-shadow(0 0 12px rgba(80, 227, 194, 0.4));
}

.signal-card:hover .signal-icon {
  transform: scale(1.1);
}

.signal-card:hover .signal-icon svg {
  filter: drop-shadow(0 0 20px rgba(80, 227, 194, 0.6));
}

.signal-card--highlight {
  border-color: rgba(80, 227, 194, 0.35);
  background: linear-gradient(135deg, rgba(20, 26, 35, 0.95), rgba(18, 24, 33, 1));
  box-shadow:
    var(--shadow),
    0 0 40px rgba(80, 227, 194, 0.12),
    inset 0 1px 0 rgba(80, 227, 194, 0.1);
}

.signal-card--highlight .signal-icon {
  transform: scale(1.05);
}

.signal-card--highlight .signal-icon svg {
  filter: drop-shadow(0 0 16px rgba(80, 227, 194, 0.7));
}

.signal-card--highlight:hover .signal-icon {
  transform: scale(1.15);
}

.signal-card--highlight:hover .signal-icon svg {
  filter: drop-shadow(0 0 28px rgba(80, 227, 194, 0.9));
}

.signal-card--highlight:hover {
  border-color: rgba(80, 227, 194, 0.5);
  box-shadow:
    0 16px 60px rgba(0, 0, 0, 0.4),
    0 0 60px rgba(80, 227, 194, 0.2);
}

.signal-card h2 {
  margin: 10px 0 10px;
  font-size: 1.8rem;
  line-height: 1.1;
  letter-spacing: -0.04em;
}

/* Features Highlight */
.features-highlight {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
  margin: 28px 0 18px;
}

.feature-large {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 40px 28px;
  border-radius: var(--radius-lg);
  background: linear-gradient(135deg, rgba(17, 24, 35, 0.7), rgba(13, 20, 30, 0.9));
  border: 1px solid rgba(80, 227, 194, 0.08);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
}

.feature-large::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(45, 140, 255, 0.06) 0%, transparent 70%);
  opacity: 0;
  transition: opacity 0.4s ease;
}

.feature-large:hover::before {
  opacity: 1;
}

.feature-large:hover {
  transform: translateY(-10px);
  border-color: rgba(80, 227, 194, 0.3);
  background: linear-gradient(135deg, rgba(17, 24, 35, 0.9), rgba(13, 20, 30, 1));
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4), 0 0 50px rgba(80, 227, 194, 0.15);
}

.feature-icon {
  width: 64px;
  height: 64px;
  margin-bottom: 24px;
  color: var(--accent);
  opacity: 0.9;
  transition: all 0.4s ease;
  position: relative;
  z-index: 1;
}

.feature-icon svg {
  width: 100%;
  height: 100%;
  filter: drop-shadow(0 0 16px rgba(80, 227, 194, 0.5));
  transition: filter 0.4s ease;
}

.feature-large:hover .feature-icon {
  transform: scale(1.2) rotate(5deg);
  opacity: 1;
}

.feature-large:hover .feature-icon svg {
  filter: drop-shadow(0 0 28px rgba(80, 227, 194, 0.8));
}

.feature-large h3 {
  margin: 0 0 16px;
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--text);
  letter-spacing: -0.02em;
  position: relative;
  z-index: 1;
}

.feature-large p {
  margin: 0;
  font-size: 1rem;
  line-height: 1.7;
  color: var(--text-soft);
  max-width: 28ch;
  position: relative;
  z-index: 1;
}

.site-footer {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) auto auto;
  gap: 18px;
  align-items: center;
  margin-top: 18px;
  padding: 24px 22px;
  background: var(--panel-soft);
}

.footer-right a {
  text-decoration: none;
  opacity: 0.5;
  font-size: 13px;
}

.footer-title {
  display: block;
  margin-bottom: 6px;
  font-size: 16px;
  font-weight: 700;
}

.footer-center,
.footer-right {
  display: flex;
  align-items: center;
  gap: 18px;
}

.footer-center a,
.footer-right a {
  text-decoration: none;
}

.footer-center a:hover,
.footer-right a:hover {
  color: var(--text);
}

@media (max-width: 920px) {
  .hero {
    padding: 3rem 2rem 2.5rem;
    min-height: 360px;
  }

  .hero h1 {
    white-space: normal;
  }

  .stats-section {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
  }

  .features-highlight,
  .signal-grid,
  .site-footer {
    grid-template-columns: 1fr;
  }

  .footer-center,
  .footer-right {
    flex-wrap: wrap;
    gap: 12px;
  }
}

@media (max-width: 640px) {
  .page-shell {
    width: min(100vw - 24px, 1180px);
    padding-top: 16px;
  }

  .site-header {
    margin-bottom: 14px;
  }

  .hero {
    padding: 2rem 1.5rem 1.5rem;
    min-height: 320px;
  }

  .hero h1 {
    font-size: clamp(28px, 7vw, 36px);
    white-space: normal;
  }

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

  .hero-tagline {
    font-size: 0.9rem;
  }

  .hero-lead {
    font-size: 15px;
  }

  .stats-section {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
    margin: 20px 0;
    padding: 20px 0;
  }

  .stat-item {
    padding: 20px 16px;
  }

  .stat-value {
    font-size: 2.2rem;
  }

  .stat-label {
    font-size: 0.85rem;
  }

  .feature-large {
    padding: 28px 20px;
  }

  .feature-icon {
    font-size: 2.5rem;
  }

  .feature-large h3 {
    font-size: 1.2rem;
  }

  .feature-large p {
    font-size: 0.95rem;
  }

  .signal-card {
    padding: 20px 18px;
  }

  .signal-icon {
    width: 48px;
    height: 48px;
  }

  .signal-card h2 {
    font-size: 1.5rem;
  }
}
