/* ==========================================================================
   火星联盟机场 (hxlm.shop) — Mars Spaceport & Airport Terminal Theme
   Pure Native CSS, Zero JS, Dynamic Runway & Radar Sweep Background
   ========================================================================== */

:root {
  --bg-void: #060911;
  --bg-deep: #0b111e;
  --bg-surface: rgba(13, 20, 34, 0.82);
  --bg-card: rgba(15, 23, 39, 0.88);
  --bg-card-hover: rgba(21, 32, 54, 0.95);
  --bg-glass: rgba(8, 13, 24, 0.78);

  --border-subtle: rgba(56, 189, 248, 0.16);
  --border-medium: rgba(255, 118, 54, 0.36);
  --border-strong: rgba(255, 132, 56, 0.64);
  --border-cyan: rgba(56, 189, 248, 0.34);

  --mars-primary: #ff5c28;
  --mars-bright: #ff7e47;
  --mars-amber: #ffb04c;
  --cyan: #38bdf8;
  --emerald: #22c55e;

  --text-main: #f4f7fb;
  --text-soft: #cfd8e5;
  --text-muted: #93a3ba;
  --text-dim: #697a92;

  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-pill: 999px;

  --shadow-card: 0 16px 40px -16px rgba(0, 0, 0, 0.8);
  --shadow-mars: 0 10px 30px -8px rgba(255, 92, 40, 0.45);

  --container: 1220px;
  --container-wide: 1420px;
  --font-sans: -apple-system, BlinkMacSystemFont, "PingFang SC", "Hiragino Sans GB",
    "Microsoft YaHei", "Noto Sans SC", "Segoe UI", Roboto, sans-serif;
  --font-mono: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
}

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

html {
  scroll-behavior: smooth;
  background-color: var(--bg-void);
  color: var(--text-main);
  font-size: 16px;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: var(--font-sans);
  line-height: 1.7;
  color: var(--text-main);
  background:
    radial-gradient(ellipse 90% 55% at 50% -8%, rgba(255, 92, 40, 0.16) 0%, transparent 60%),
    radial-gradient(circle at 85% 20%, rgba(56, 189, 248, 0.11) 0%, transparent 45%),
    linear-gradient(180deg, #09101e 0%, #060911 55%, #04060c 100%);
  overflow-x: hidden;
  position: relative;
}

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

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

/* ==========================================================================
   Dynamic Airport Terminal Backdrop (Radar Sweep + Runway Approach Lights)
   ========================================================================== */

.airport-backdrop {
  position: fixed;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  pointer-events: none;
  contain: strict;
}

/* Cross-screen Diagonal Flight Contrails / Light Streaks */
.airport-backdrop::before,
.airport-backdrop::after {
  content: "";
  position: absolute;
  height: 2px;
  border-radius: 999px;
  pointer-events: none;
  will-change: transform, opacity;
}

.airport-backdrop::before {
  top: 22%;
  left: -260px;
  width: 240px;
  background: linear-gradient(90deg, transparent 0%, rgba(56, 189, 248, 0.25) 45%, #e0f2fe 100%);
  box-shadow: 0 0 18px 2px rgba(56, 189, 248, 0.75);
  animation: flightStreakA 5.8s linear infinite;
}

.airport-backdrop::after {
  top: 64%;
  right: -280px;
  width: 260px;
  background: linear-gradient(270deg, transparent 0%, rgba(255, 92, 40, 0.3) 45%, #ffedd5 100%);
  box-shadow: 0 0 18px 2px rgba(255, 118, 54, 0.75);
  animation: flightStreakB 7.6s linear infinite;
  animation-delay: 1.8s;
}

.sky-glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(72px);
  will-change: transform, opacity;
}

.sky-glow--horizon {
  width: min(76vw, 960px);
  height: min(48vw, 560px);
  top: -16%;
  left: 6%;
  background: radial-gradient(
    ellipse at 50% 55%,
    rgba(255, 102, 42, 0.38) 0%,
    rgba(234, 88, 12, 0.18) 46%,
    transparent 74%
  );
  animation: skyFloatA 10s ease-in-out infinite alternate;
}

.sky-glow--radar {
  width: min(56vw, 720px);
  height: min(56vw, 720px);
  bottom: -16%;
  right: -8%;
  background: radial-gradient(
    circle,
    rgba(56, 189, 248, 0.3) 0%,
    rgba(14, 165, 233, 0.14) 46%,
    transparent 74%
  );
  animation: skyFloatB 12s ease-in-out infinite alternate;
}

/* Rotating Air Traffic Radar (High Visibility) */
.radar-station {
  position: absolute;
  top: 8%;
  right: 4%;
  width: min(58vw, 680px);
  height: min(58vw, 680px);
  opacity: 0.85;
}

.radar-ring {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 1.5px solid rgba(56, 189, 248, 0.32);
  box-shadow: inset 0 0 40px rgba(56, 189, 248, 0.06);
}

.radar-ring--mid {
  inset: 18%;
  border: 1.5px dashed rgba(255, 142, 60, 0.42);
  animation: radarRotateReverse 22s linear infinite;
}

.radar-ring--mid::after {
  content: "";
  position: absolute;
  bottom: -5px;
  left: 50%;
  width: 9px;
  height: 9px;
  margin-left: -4.5px;
  border-radius: 50%;
  background: #7dd3fc;
  box-shadow: 0 0 18px 5px rgba(56, 189, 248, 0.9);
}

.radar-ring--inner {
  inset: 38%;
  border: 1.5px solid rgba(56, 189, 248, 0.44);
}

.radar-ring--inner::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 12px;
  height: 12px;
  margin: -6px 0 0 -6px;
  border-radius: 50%;
  background: var(--cyan);
  box-shadow: 0 0 24px 8px rgba(56, 189, 248, 0.65);
  animation: pulseDot 2s ease-in-out infinite;
}

.radar-sweep {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: conic-gradient(
    from 0deg,
    rgba(56, 189, 248, 0.52) 0deg,
    rgba(56, 189, 248, 0.2) 24deg,
    rgba(56, 189, 248, 0.04) 56deg,
    transparent 82deg,
    transparent 360deg
  );
  animation: radarRotate 5.5s linear infinite;
}

.radar-sweep::after {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  width: 2px;
  height: 50%;
  margin-left: -1px;
  background: linear-gradient(to bottom, rgba(186, 230, 253, 0.95), rgba(56, 189, 248, 0.15));
  box-shadow: 0 0 14px 2px rgba(56, 189, 248, 0.8);
}

.flight-track {
  position: absolute;
  inset: -8%;
  border-radius: 50%;
  border: 1.5px dashed rgba(255, 132, 56, 0.44);
  animation: radarRotateReverse 15s linear infinite;
}

.flight-track::after {
  content: "";
  position: absolute;
  top: -6px;
  left: 50%;
  width: 11px;
  height: 11px;
  margin-left: -5.5px;
  border-radius: 50%;
  background: #ffedd5;
  box-shadow: 0 0 22px 6px rgba(255, 120, 46, 0.95);
}

/* Airport Runway Perspective Grid & Approach Beacons */
.runway-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(to right, rgba(56, 189, 248, 0.11) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(56, 189, 248, 0.11) 1px, transparent 1px);
  background-size: 68px 68px;
  mask-image: radial-gradient(ellipse 90% 75% at 50% 40%, #000 22%, transparent 88%);
  -webkit-mask-image: radial-gradient(ellipse 90% 75% at 50% 40%, #000 22%, transparent 88%);
  animation: runwayPan 4.2s linear infinite;
}

.runway-beacons {
  position: absolute;
  left: 50%;
  bottom: 0;
  width: min(96vw, 1200px);
  height: 52vh;
  transform: translateX(-50%);
  opacity: 0.85;
  background-image:
    radial-gradient(5px 5px at 18% 90%, rgba(255, 176, 76, 0.95) 45%, transparent 100%),
    radial-gradient(4.5px 4.5px at 24% 74%, rgba(255, 126, 71, 0.9) 45%, transparent 100%),
    radial-gradient(4px 4px at 30% 58%, rgba(56, 189, 248, 0.95) 45%, transparent 100%),
    radial-gradient(3.5px 3.5px at 36% 42%, rgba(56, 189, 248, 0.85) 45%, transparent 100%),
    radial-gradient(3px 3px at 42% 28%, rgba(186, 230, 253, 0.8) 45%, transparent 100%),
    radial-gradient(5px 5px at 82% 90%, rgba(255, 176, 76, 0.95) 45%, transparent 100%),
    radial-gradient(4.5px 4.5px at 76% 74%, rgba(255, 126, 71, 0.9) 45%, transparent 100%),
    radial-gradient(4px 4px at 70% 58%, rgba(56, 189, 248, 0.95) 45%, transparent 100%),
    radial-gradient(3.5px 3.5px at 64% 42%, rgba(56, 189, 248, 0.85) 45%, transparent 100%),
    radial-gradient(3px 3px at 58% 28%, rgba(186, 230, 253, 0.8) 45%, transparent 100%);
  animation: beaconPulse 1.8s ease-in-out infinite alternate;
}

.runway-beacons::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(255, 118, 54, 0.16) 0%,
    rgba(56, 189, 248, 0.12) 45%,
    transparent 85%
  );
  clip-path: polygon(14% 100%, 44% 18%, 56% 18%, 86% 100%);
  animation: strobeRunway 2.6s ease-in-out infinite;
}

.starfield {
  position: absolute;
  inset: -40px;
  background-image:
    radial-gradient(2px 2px at 14% 22%, rgba(255, 255, 255, 0.88) 50%, transparent 100%),
    radial-gradient(1.6px 1.6px at 32% 68%, rgba(56, 189, 248, 0.9) 50%, transparent 100%),
    radial-gradient(2.2px 2.2px at 54% 16%, rgba(255, 176, 76, 0.9) 50%, transparent 100%),
    radial-gradient(1.6px 1.6px at 78% 42%, rgba(255, 255, 255, 0.82) 50%, transparent 100%),
    radial-gradient(2px 2px at 88% 82%, rgba(56, 189, 248, 0.88) 50%, transparent 100%),
    radial-gradient(1.6px 1.6px at 24% 88%, rgba(255, 255, 255, 0.75) 50%, transparent 100%);
  background-size: 320px 320px;
  opacity: 0.78;
  animation: starDrift 18s linear infinite;
}

@keyframes flightStreakA {
  0% {
    transform: translate3d(0, 0, 0) rotate(-14deg);
    opacity: 0;
  }
  8% {
    opacity: 1;
  }
  55% {
    opacity: 0.9;
  }
  70%,
  100% {
    transform: translate3d(calc(100vw + 420px), -22vh, 0) rotate(-14deg);
    opacity: 0;
  }
}

@keyframes flightStreakB {
  0% {
    transform: translate3d(0, 0, 0) rotate(12deg);
    opacity: 0;
  }
  10% {
    opacity: 1;
  }
  60% {
    opacity: 0.85;
  }
  75%,
  100% {
    transform: translate3d(calc(-100vw - 440px), -18vh, 0) rotate(12deg);
    opacity: 0;
  }
}

@keyframes skyFloatA {
  0% {
    transform: translate3d(-8vw, -2vh, 0) scale(0.96);
    opacity: 0.75;
  }
  100% {
    transform: translate3d(10vw, 6vh, 0) scale(1.16);
    opacity: 1;
  }
}

@keyframes skyFloatB {
  0% {
    transform: translate3d(4vw, 2vh, 0) scale(0.95);
    opacity: 0.7;
  }
  100% {
    transform: translate3d(-10vw, -6vh, 0) scale(1.18);
    opacity: 1;
  }
}

@keyframes radarRotate {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}

@keyframes radarRotateReverse {
  from {
    transform: rotate(360deg);
  }
  to {
    transform: rotate(0deg);
  }
}

@keyframes runwayPan {
  from {
    background-position: 0 0;
  }
  to {
    background-position: 0 68px;
  }
}

@keyframes beaconPulse {
  0% {
    opacity: 0.45;
    transform: translateX(-50%) translateY(6px);
  }
  100% {
    opacity: 1;
    transform: translateX(-50%) translateY(-6px);
  }
}

@keyframes strobeRunway {
  0%,
  100% {
    opacity: 0.22;
    transform: scaleY(0.92);
  }
  50% {
    opacity: 0.7;
    transform: scaleY(1.04);
  }
}

@keyframes starDrift {
  0% {
    transform: translate3d(0, 0, 0);
  }
  50% {
    transform: translate3d(-32px, 24px, 0);
  }
  100% {
    transform: translate3d(0, 0, 0);
  }
}

@keyframes pulseDot {
  0%,
  100% {
    transform: scale(1);
    opacity: 1;
  }
  50% {
    transform: scale(1.4);
    opacity: 0.55;
  }
}

@media (prefers-reduced-motion: reduce) {
  .airport-backdrop::before,
  .airport-backdrop::after,
  .sky-glow,
  .radar-ring--mid,
  .radar-ring--inner::after,
  .radar-sweep,
  .flight-track,
  .runway-grid,
  .runway-beacons,
  .runway-beacons::before,
  .starfield,
  .status-dot {
    animation: none !important;
  }
}

/* ==========================================================================
   Layout Helpers & Typography
   ========================================================================== */

.page-layer {
  position: relative;
  z-index: 1;
}

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

.container--wide {
  width: min(100% - 32px, var(--container-wide));
  margin-inline: auto;
}

.section {
  padding: 68px 0;
}

.section--compact {
  padding: 48px 0;
}

.section-header {
  max-width: 800px;
  margin-bottom: 34px;
}

.section-header--center {
  margin-inline: auto;
  text-align: center;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 5px 14px;
  border-radius: var(--radius-pill);
  border: 1px solid var(--border-cyan);
  background: rgba(56, 189, 248, 0.1);
  color: #7dd3fc;
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.03em;
}

.status-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--emerald);
  box-shadow: 0 0 10px var(--emerald);
  animation: pulseDot 2.2s ease-in-out infinite;
}

h1,
h2,
h3,
h4 {
  margin: 0;
  font-weight: 750;
  line-height: 1.28;
  letter-spacing: -0.015em;
  color: var(--text-main);
}

.section-title {
  margin-top: 12px;
  font-size: clamp(1.6rem, 2.7vw, 2.3rem);
}

.section-desc {
  margin: 12px 0 0;
  color: var(--text-muted);
  font-size: 1rem;
  line-height: 1.75;
}

.gradient-text {
  background: linear-gradient(112deg, #f5f3ff 8%, #dfd8fe 45%, #c4b5fd 78%, #b8c6ff 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* ==========================================================================
   Buttons
   ========================================================================== */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 22px;
  border-radius: var(--radius-pill);
  font-size: 0.95rem;
  font-weight: 650;
  line-height: 1.2;
  cursor: pointer;
  border: 1px solid transparent;
  transition: transform 0.18s ease, box-shadow 0.2s ease, border-color 0.2s ease,
    background-color 0.2s ease;
  white-space: nowrap;
}

.btn-primary {
  background: linear-gradient(135deg, #ece7ff 0%, #d4c6ff 52%, #bdd0ff 100%);
  color: #16102b;
  border-color: rgba(236, 231, 255, 0.55);
  box-shadow: 0 10px 28px -8px rgba(196, 181, 253, 0.52);
}

.btn-primary:hover {
  background: linear-gradient(135deg, #f5f3ff 0%, #dfd4ff 52%, #cce0ff 100%);
  color: #0f0a21;
  transform: translateY(-2px);
  box-shadow: 0 14px 34px -6px rgba(196, 181, 253, 0.72);
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.045);
  border-color: var(--border-cyan);
  color: var(--text-main);
}

.btn-secondary:hover {
  background: rgba(56, 189, 248, 0.12);
  border-color: #7dd3fc;
  transform: translateY(-1px);
}

.btn-sm {
  padding: 8px 16px;
  font-size: 0.85rem;
}

.btn-block {
  width: 100%;
}

/* ==========================================================================
   Top Navigation & Brand Logo (Top-Left)
   ========================================================================== */

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(6, 10, 19, 0.84);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border-subtle);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  min-height: 70px;
}

.brand-logo {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}

.brand-logo__img {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1.5px solid rgba(255, 142, 60, 0.6);
  box-shadow: 0 0 18px rgba(255, 92, 40, 0.35);
  background: #0a101d;
  object-fit: cover;
}

.brand-logo__text {
  display: flex;
  flex-direction: column;
  line-height: 1.18;
}

.brand-logo__name {
  font-size: 1.08rem;
  font-weight: 800;
  color: var(--text-main);
  letter-spacing: 0.02em;
}

.brand-logo__sub {
  font-size: 0.72rem;
  font-family: var(--font-mono);
  color: var(--cyan);
  letter-spacing: 0.08em;
}

.nav-toggle {
  display: none;
}

.nav-toggle-label {
  display: none;
  align-items: center;
  justify-content: center;
  padding: 8px 12px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-subtle);
  color: var(--text-soft);
  font-size: 0.875rem;
  font-weight: 600;
  cursor: pointer;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 20px;
}

.site-nav a {
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--text-soft);
  transition: color 0.18s ease;
  white-space: nowrap;
}

.site-nav a:hover,
.site-nav a[aria-current="page"] {
  color: var(--mars-amber);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

.header-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  border-radius: var(--radius-pill);
  background: rgba(34, 197, 94, 0.1);
  border: 1px solid rgba(34, 197, 94, 0.28);
  color: #4ade80;
  font-size: 0.78rem;
  font-weight: 600;
}

@media (max-width: 1040px) {
  .header-pill {
    display: none;
  }
}

@media (max-width: 920px) {
  .nav-toggle-label {
    display: inline-flex;
  }

  .site-nav {
    position: absolute;
    top: 70px;
    left: 0;
    right: 0;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 4px;
    padding: 14px 20px 18px;
    background: rgba(8, 13, 24, 0.97);
    border-bottom: 1px solid var(--border-medium);
  }

  .site-nav a {
    padding: 9px 10px;
    border-radius: var(--radius-sm);
  }

  .site-nav a:hover {
    background: rgba(56, 189, 248, 0.1);
  }

  .nav-toggle:checked ~ .site-nav {
    display: flex;
  }
}

/* ==========================================================================
   Hero & Airport Departure Board Panel
   ========================================================================== */

.hero {
  padding: 58px 0 46px;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.18fr) minmax(0, 1fr);
  gap: 34px;
  align-items: center;
}

.hero-title {
  margin-top: 16px;
  font-size: clamp(2.15rem, 4.2vw, 3.25rem);
  line-height: 1.18;
}

.hero-subtitle-line {
  display: block;
  margin-top: 10px;
  font-size: clamp(1.25rem, 2.2vw, 1.75rem);
  font-weight: 700;
  color: #e2ecf8;
  line-height: 1.35;
}

.hero-lead {
  margin: 18px 0 0;
  color: var(--text-soft);
  font-size: 1.04rem;
  line-height: 1.8;
  max-width: 640px;
}

.hero-cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 26px;
}

.hero-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 22px;
}

.chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 12px;
  border-radius: var(--radius-pill);
  background: rgba(255, 255, 255, 0.045);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: var(--text-soft);
  font-size: 0.82rem;
}

.chip--accent {
  border-color: var(--border-medium);
  color: #fed7aa;
  background: rgba(255, 92, 40, 0.12);
}

/* Airport Departure / Boarding Panel */
.flight-board {
  background: linear-gradient(165deg, rgba(16, 25, 43, 0.94), rgba(9, 14, 25, 0.95));
  border: 1px solid var(--border-cyan);
  border-radius: var(--radius-lg);
  padding: 22px 24px;
  box-shadow: var(--shadow-card);
  position: relative;
  overflow: hidden;
}

.flight-board::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--cyan), var(--mars-primary), var(--mars-amber));
}

.flight-board__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding-bottom: 14px;
  border-bottom: 1px dashed rgba(148, 163, 184, 0.25);
  font-size: 0.82rem;
  color: var(--text-muted);
}

.flight-board__title {
  font-weight: 800;
  color: var(--text-main);
  font-size: 0.96rem;
  letter-spacing: 0.03em;
}

.flight-board__code {
  font-family: var(--font-mono);
  color: var(--cyan);
  font-weight: 700;
}

.node-list {
  display: grid;
  gap: 10px;
  margin: 16px 0;
}

.node-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 10px 14px;
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(56, 189, 248, 0.12);
  font-size: 0.88rem;
}

.node-row__name {
  display: flex;
  align-items: center;
  gap: 9px;
  font-weight: 600;
}

.flight-code {
  font-family: var(--font-mono);
  font-size: 0.74rem;
  padding: 2px 7px;
  border-radius: 5px;
  background: rgba(56, 189, 248, 0.14);
  color: #7dd3fc;
}

.node-row__meta {
  display: flex;
  align-items: center;
  gap: 9px;
  font-family: var(--font-mono);
  font-size: 0.78rem;
  color: #4ade80;
  white-space: nowrap;
}

.tag-native {
  padding: 2px 8px;
  border-radius: var(--radius-pill);
  background: rgba(255, 92, 40, 0.16);
  color: var(--mars-amber);
  font-family: var(--font-sans);
  font-size: 0.72rem;
}

.kpi-strip {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  margin-top: 34px;
}

.kpi-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 18px 20px;
  box-shadow: var(--shadow-card);
}

.kpi-card__value {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--mars-amber);
  line-height: 1.2;
}

.kpi-card__label {
  margin-top: 6px;
  font-size: 0.86rem;
  color: var(--text-muted);
}

@media (max-width: 960px) {
  .hero-grid {
    grid-template-columns: 1fr;
  }

  .kpi-strip {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

/* ==========================================================================
   Feature Cards
   ========================================================================== */

.feature-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 22px;
  box-shadow: var(--shadow-card);
  transition: transform 0.2s ease, border-color 0.2s ease, background-color 0.2s ease;
}

.card:hover {
  transform: translateY(-3px);
  border-color: var(--border-medium);
  background: var(--bg-card-hover);
}

.card__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 40px;
  border-radius: 10px;
  background: linear-gradient(135deg, rgba(56, 189, 248, 0.16), rgba(255, 92, 40, 0.2));
  border: 1px solid var(--border-cyan);
  color: #7dd3fc;
  font-family: var(--font-mono);
  font-size: 0.92rem;
  font-weight: 800;
  margin-bottom: 14px;
}

.card h3 {
  font-size: 1.08rem;
  margin-bottom: 10px;
}

.card p {
  margin: 0;
  color: var(--text-muted);
  font-size: 0.92rem;
  line-height: 1.72;
}

@media (max-width: 1024px) {
  .feature-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 600px) {
  .feature-grid {
    grid-template-columns: 1fr;
  }
}

/* ==========================================================================
   Pricing Section — Strict Single-Row Horizontal Alignment (所有价格同排)
   ========================================================================== */

.pricing-scroll-hint {
  display: none;
  margin-bottom: 12px;
  text-align: center;
  font-size: 0.84rem;
  color: var(--mars-amber);
}

.pricing-scroll-wrap {
  width: 100%;
  overflow-x: auto;
  padding: 8px 2px 14px;
  scroll-snap-type: x mandatory;
  scrollbar-width: thin;
  scrollbar-color: var(--mars-primary) rgba(255, 255, 255, 0.06);
}

.pricing-row {
  display: grid;
  grid-template-columns: repeat(7, minmax(176px, 1fr));
  gap: 11px;
  align-items: stretch;
  min-width: 1280px;
}

.plan-card {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 18px 14px 16px;
  scroll-snap-align: start;
  box-shadow: var(--shadow-card);
  transition: transform 0.2s ease, border-color 0.2s ease;
}

.plan-card:hover {
  transform: translateY(-4px);
  border-color: var(--border-strong);
}

.plan-card--featured {
  background: linear-gradient(175deg, rgba(44, 24, 22, 0.94), rgba(15, 23, 39, 0.95));
  border-color: var(--border-strong);
  box-shadow: 0 14px 36px -10px rgba(255, 92, 40, 0.36);
}

.plan-card--flagship {
  background: linear-gradient(175deg, rgba(16, 36, 56, 0.94), rgba(13, 19, 34, 0.95));
  border-color: var(--border-cyan);
}

.plan-badge {
  display: inline-block;
  align-self: flex-start;
  padding: 3px 9px;
  border-radius: var(--radius-pill);
  font-size: 0.72rem;
  font-weight: 700;
  background: rgba(56, 189, 248, 0.12);
  color: #bae6fd;
  margin-bottom: 10px;
}

.plan-card--featured .plan-badge {
  background: rgba(255, 92, 40, 0.22);
  color: var(--mars-amber);
}

.plan-card--flagship .plan-badge {
  background: rgba(56, 189, 248, 0.2);
  color: #7dd3fc;
}

.plan-name {
  font-size: 1rem;
  font-weight: 800;
  color: var(--text-main);
}

.plan-sub {
  margin-top: 2px;
  font-size: 0.76rem;
  color: var(--text-dim);
}

.plan-price-wrap {
  margin: 14px 0 10px;
  padding-bottom: 12px;
  border-bottom: 1px dashed rgba(148, 163, 184, 0.22);
}

.plan-price {
  font-size: 1.75rem;
  font-weight: 850;
  color: var(--mars-amber);
  line-height: 1.1;
}

.plan-price span {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--text-muted);
}

.plan-cycle-note {
  margin-top: 6px;
  font-size: 0.73rem;
  color: var(--text-muted);
  line-height: 1.45;
}

.plan-specs {
  list-style: none;
  margin: 0 0 16px;
  padding: 0;
  display: grid;
  gap: 7px;
  font-size: 0.8rem;
  color: var(--text-soft);
}

.plan-specs li {
  display: flex;
  align-items: baseline;
  gap: 6px;
  line-height: 1.45;
}

.plan-specs li::before {
  content: "✓";
  color: #4ade80;
  font-weight: 800;
  flex-shrink: 0;
}

@media (max-width: 1320px) {
  .pricing-scroll-hint {
    display: block;
  }
}

.addon-strip {
  margin-top: 18px;
  padding: 18px 22px;
  border-radius: var(--radius-md);
  background: rgba(14, 22, 38, 0.88);
  border: 1px solid var(--border-subtle);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.addon-strip__text {
  font-size: 0.92rem;
  color: var(--text-soft);
  line-height: 1.65;
}

.addon-strip__text strong {
  color: var(--mars-amber);
}

/* ==========================================================================
   Articles Grid & SEO/GEO Article Pages
   ========================================================================== */

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

.article-card {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 22px;
  box-shadow: var(--shadow-card);
  transition: transform 0.2s ease, border-color 0.2s ease;
}

.article-card:hover {
  transform: translateY(-3px);
  border-color: var(--border-strong);
}

.article-card__meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  font-size: 0.78rem;
  color: var(--mars-amber);
  margin-bottom: 10px;
}

.article-card__title {
  font-size: 1.08rem;
  line-height: 1.42;
  margin-bottom: 10px;
}

.article-card__excerpt {
  margin: 0 0 16px;
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.72;
}

.article-card__footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding-top: 12px;
  border-top: 1px solid rgba(255, 255, 255, 0.07);
  font-size: 0.85rem;
  color: var(--cyan);
  font-weight: 600;
}

@media (max-width: 980px) {
  .articles-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .articles-grid {
    grid-template-columns: 1fr;
  }
}

/* Article Detail Shell */
.breadcrumbs {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  font-size: 0.84rem;
  color: var(--text-muted);
  margin-bottom: 20px;
}

.breadcrumbs a:hover {
  color: var(--mars-amber);
}

.article-shell {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: 28px;
  align-items: start;
}

.article-main {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 34px 36px;
  box-shadow: var(--shadow-card);
}

.article-header h1 {
  font-size: clamp(1.55rem, 2.8vw, 2.2rem);
  line-height: 1.32;
}

.article-meta-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin: 14px 0 22px;
  padding-bottom: 18px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 0.85rem;
  color: var(--text-muted);
}

.geo-summary {
  margin: 20px 0 26px;
  padding: 18px 20px;
  border-radius: var(--radius-md);
  background: linear-gradient(135deg, rgba(56, 189, 248, 0.1), rgba(255, 92, 40, 0.1));
  border: 1px solid var(--border-cyan);
}

.geo-summary__title {
  font-size: 0.92rem;
  font-weight: 750;
  color: #7dd3fc;
  margin-bottom: 8px;
}

.geo-summary p {
  margin: 0;
  font-size: 0.94rem;
  color: var(--text-soft);
  line-height: 1.75;
}

.article-body h2 {
  margin: 30px 0 12px;
  font-size: 1.32rem;
  color: var(--text-main);
  padding-left: 12px;
  border-left: 3px solid var(--mars-primary);
}

.article-body h3 {
  margin: 22px 0 10px;
  font-size: 1.1rem;
  color: var(--mars-amber);
}

.article-body p {
  margin: 0 0 16px;
  color: var(--text-soft);
  font-size: 0.98rem;
  line-height: 1.85;
}

.article-body ul,
.article-body ol {
  margin: 0 0 18px;
  padding-left: 22px;
  color: var(--text-soft);
  line-height: 1.82;
}

.article-body li {
  margin-bottom: 8px;
}

.article-body a {
  color: var(--cyan);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.article-body a:hover {
  color: var(--mars-amber);
}

.article-body a.btn {
  color: #fff;
  text-decoration: none;
}

.article-body a.btn-primary {
  color: #16102b;
}

.inline-cta-box {
  margin: 26px 0;
  padding: 20px 22px;
  border-radius: var(--radius-md);
  background: rgba(255, 92, 40, 0.09);
  border: 1px solid var(--border-strong);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.inline-cta-box__info strong {
  display: block;
  font-size: 1.02rem;
  color: var(--text-main);
  margin-bottom: 4px;
}

.inline-cta-box__info span {
  font-size: 0.88rem;
  color: var(--text-muted);
}

.data-table-wrap {
  overflow-x: auto;
  margin: 20px 0;
}

.data-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.88rem;
  background: rgba(8, 13, 24, 0.72);
  border-radius: var(--radius-sm);
  overflow: hidden;
}

.data-table th,
.data-table td {
  padding: 11px 14px;
  text-align: left;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.data-table th {
  background: rgba(56, 189, 248, 0.14);
  color: #7dd3fc;
  font-weight: 700;
}

.article-pager {
  margin-top: 30px;
  padding-top: 22px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.pager-link {
  display: block;
  padding: 14px 16px;
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border-subtle);
  text-decoration: none !important;
  transition: border-color 0.18s ease, background-color 0.18s ease;
}

.pager-link:hover {
  border-color: var(--border-strong);
  background: rgba(255, 92, 40, 0.08);
}

.pager-link span {
  display: block;
  font-size: 0.76rem;
  color: var(--text-muted);
  margin-bottom: 4px;
}

.pager-link strong {
  font-size: 0.92rem;
  color: var(--text-main);
}

.article-aside {
  position: sticky;
  top: 90px;
  display: grid;
  gap: 18px;
}

.aside-box {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 20px;
  box-shadow: var(--shadow-card);
}

.aside-box h3 {
  font-size: 1rem;
  margin-bottom: 12px;
  color: var(--mars-amber);
}

.aside-links {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 10px;
}

.aside-links a {
  display: block;
  font-size: 0.88rem;
  color: var(--text-soft);
  line-height: 1.48;
  padding: 6px 8px;
  border-radius: var(--radius-sm);
  transition: background-color 0.16s ease, color 0.16s ease;
}

.aside-links a:hover {
  background: rgba(56, 189, 248, 0.12);
  color: #7dd3fc;
}

@media (max-width: 980px) {
  .article-shell {
    grid-template-columns: 1fr;
  }

  .article-aside {
    position: static;
  }

  .article-main {
    padding: 24px 20px;
  }

  .article-pager {
    grid-template-columns: 1fr;
  }
}

/* ==========================================================================
   User Reviews Section (用户评价)
   ========================================================================== */

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

.review-card {
  background: linear-gradient(155deg, rgba(238, 232, 255, 0.94) 0%, rgba(221, 212, 254, 0.91) 58%, rgba(205, 216, 255, 0.92) 100%);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.58);
  border-radius: var(--radius-md);
  padding: 22px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 14px;
  box-shadow: 0 16px 36px -14px rgba(167, 139, 250, 0.35);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.review-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 20px 40px -12px rgba(196, 181, 253, 0.5);
}

.review-stars {
  color: #6d28d9;
  font-size: 0.92rem;
  letter-spacing: 2px;
}

.review-quote {
  margin: 0;
  color: #1c1535;
  font-size: 0.92rem;
  line-height: 1.75;
}

.review-author {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding-top: 12px;
  border-top: 1px solid rgba(76, 56, 130, 0.16);
  font-size: 0.82rem;
}

.review-author strong {
  color: #140e29;
}

.review-author span {
  color: #5b21b6;
  font-weight: 700;
}

@media (max-width: 960px) {
  .reviews-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 620px) {
  .reviews-grid {
    grid-template-columns: 1fr;
  }
}

/* ==========================================================================
   FAQ Accordion (Pure HTML <details> / <summary>, Zero JS)
   ========================================================================== */

.faq-list {
  display: grid;
  gap: 12px;
  max-width: 960px;
  margin-inline: auto;
}

.faq-item {
  background: linear-gradient(135deg, rgba(238, 232, 255, 0.93) 0%, rgba(219, 210, 254, 0.9) 60%, rgba(205, 216, 255, 0.91) 100%);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.55);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: 0 12px 28px -14px rgba(167, 139, 250, 0.32);
  transition: border-color 0.18s ease, box-shadow 0.18s ease;
}

.faq-item[open] {
  border-color: rgba(255, 255, 255, 0.88);
  box-shadow: 0 16px 34px -12px rgba(196, 181, 253, 0.52);
}

.faq-item summary {
  list-style: none;
  cursor: pointer;
  padding: 18px 22px;
  font-size: 1rem;
  font-weight: 750;
  color: #16102b;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary::after {
  content: "+";
  font-size: 1.35rem;
  font-weight: 600;
  color: #5b21b6;
  line-height: 1;
  flex-shrink: 0;
}

.faq-item[open] summary::after {
  content: "−";
}

.faq-answer {
  padding: 0 22px 18px;
  color: #332854;
  font-size: 0.94rem;
  line-height: 1.78;
}

.faq-answer p {
  margin: 0;
}

.faq-answer a {
  color: #4c1d95;
  font-weight: 650;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.faq-answer a:hover {
  color: #311068;
}

/* ==========================================================================
   Outbound Links, Bottom CTA & Footer
   ========================================================================== */

.external-links-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.ext-card {
  display: block;
  padding: 16px 18px;
  border-radius: var(--radius-md);
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  transition: border-color 0.18s ease, transform 0.18s ease;
}

.ext-card:hover {
  border-color: var(--border-cyan);
  transform: translateY(-2px);
}

.ext-card strong {
  display: block;
  font-size: 0.94rem;
  color: var(--cyan);
  margin-bottom: 4px;
}

.ext-card span {
  display: block;
  font-size: 0.82rem;
  color: var(--text-muted);
  line-height: 1.55;
}

@media (max-width: 960px) {
  .external-links-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 540px) {
  .external-links-grid {
    grid-template-columns: 1fr;
  }
}

.cta-banner {
  padding: 38px 32px;
  border-radius: var(--radius-lg);
  background: linear-gradient(135deg, rgba(56, 189, 248, 0.14), rgba(15, 23, 39, 0.95) 52%, rgba(255, 92, 40, 0.18));
  border: 1px solid var(--border-strong);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  box-shadow: var(--shadow-card);
}

.cta-banner h2 {
  font-size: clamp(1.35rem, 2.4vw, 1.85rem);
  margin-bottom: 8px;
}

.cta-banner p {
  margin: 0;
  color: var(--text-soft);
  max-width: 680px;
}

.site-footer {
  margin-top: 32px;
  padding: 44px 0 34px;
  background: rgba(5, 8, 16, 0.92);
  border-top: 1px solid var(--border-subtle);
}

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

.footer-col h4 {
  font-size: 0.92rem;
  color: var(--mars-amber);
  margin-bottom: 12px;
}

.footer-links {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 8px;
  font-size: 0.86rem;
  color: var(--text-muted);
}

.footer-links a:hover {
  color: var(--text-main);
}

.footer-bottom {
  margin-top: 30px;
  padding-top: 18px;
  border-top: 1px solid rgba(255, 255, 255, 0.07);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  font-size: 0.8rem;
  color: var(--text-dim);
}

@media (max-width: 860px) {
  .footer-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 540px) {
  .footer-grid {
    grid-template-columns: 1fr;
  }
}
