/* EA 授权云 · 首页科技感（深色全屏） */
body.landing {
  background: #05080f;
  color: #e8eefc;
  overflow-x: hidden;
  min-height: 100vh;
}

/* ── Header ── */
.landing .site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 50;
  background: rgba(5, 8, 15, 0.55);
  border-bottom: 1px solid rgba(148, 163, 184, 0.08);
  backdrop-filter: blur(18px) saturate(1.3);
  box-shadow: none;
}
.landing .header-main {
  max-width: 1200px;
  min-height: 64px;
  padding: 0 28px;
}
.landing .brand { color: #f8fafc; font-weight: 800; }
.landing .brand-mark {
  background: linear-gradient(145deg, #3b82f6, #22d3ee);
  box-shadow: 0 0 24px rgba(59, 130, 246, 0.45);
}
.landing .site-nav a {
  color: #94a3b8;
  font-size: 13px;
  font-weight: 600;
}
.landing .site-nav a:hover {
  background: rgba(255, 255, 255, 0.06);
  color: #e0f2fe;
}
.landing .ghost-link { color: #cbd5e1; }
.landing .ghost-link:hover { color: #38bdf8; }

/* ── Stage ── */
.landing-stage {
  position: relative;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 100px 28px 48px;
  isolation: isolate;
}

#techCanvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  pointer-events: none;
}

.stage-glow {
  position: absolute;
  z-index: 0;
  pointer-events: none;
  border-radius: 50%;
  filter: blur(60px);
  opacity: 0.55;
}
.glow-a {
  width: 520px; height: 520px;
  left: -80px; top: 10%;
  background: radial-gradient(circle, rgba(37, 99, 235, 0.45), transparent 70%);
  animation: driftA 12s ease-in-out infinite alternate;
}
.glow-b {
  width: 460px; height: 460px;
  right: -40px; bottom: 5%;
  background: radial-gradient(circle, rgba(34, 211, 238, 0.28), transparent 70%);
  animation: driftB 14s ease-in-out infinite alternate;
}
.glow-c {
  width: 300px; height: 300px;
  left: 42%; top: 35%;
  background: radial-gradient(circle, rgba(16, 185, 129, 0.18), transparent 70%);
  animation: driftC 10s ease-in-out infinite alternate;
}
@keyframes driftA {
  from { transform: translate(0, 0) scale(1); }
  to { transform: translate(40px, 30px) scale(1.08); }
}
@keyframes driftB {
  from { transform: translate(0, 0) scale(1); }
  to { transform: translate(-50px, -20px) scale(1.1); }
}
@keyframes driftC {
  from { transform: translate(0, 0); opacity: 0.4; }
  to { transform: translate(20px, -30px); opacity: 0.7; }
}

.scanline {
  position: absolute;
  left: 0; right: 0;
  height: 1px;
  z-index: 1;
  pointer-events: none;
  background: linear-gradient(90deg, transparent, rgba(56, 189, 248, 0.35), transparent);
  animation: scan 7s linear infinite;
  opacity: 0.5;
}
@keyframes scan {
  0% { top: 12%; opacity: 0; }
  10% { opacity: 0.55; }
  90% { opacity: 0.4; }
  100% { top: 88%; opacity: 0; }
}

.stage-grid {
  position: relative;
  z-index: 2;
  max-width: 1200px;
  width: 100%;
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(320px, 0.95fr);
  gap: 48px;
  align-items: center;
}

/* ── Copy ── */
.hero-copy { position: relative; z-index: 2; }

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 22px;
  padding: 8px 14px;
  border-radius: 999px;
  border: 1px solid rgba(56, 189, 248, 0.28);
  background: rgba(14, 116, 144, 0.12);
  color: #7dd3fc;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  backdrop-filter: blur(8px);
  animation: fadeUp 0.7s ease both;
}
.hero-badge i {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: #34d399;
  box-shadow: 0 0 0 4px rgba(52, 211, 153, 0.2);
  animation: pulseDot 1.8s ease-in-out infinite;
}
@keyframes pulseDot {
  0%, 100% { box-shadow: 0 0 0 3px rgba(52, 211, 153, 0.15); }
  50% { box-shadow: 0 0 0 6px rgba(52, 211, 153, 0.08); }
}

.landing-title {
  margin: 0 0 18px;
  font-size: clamp(40px, 6.2vw, 68px);
  line-height: 1.02;
  font-weight: 900;
  letter-spacing: -0.04em;
  color: #f8fafc;
  animation: fadeUp 0.75s 0.08s ease both;
}
.landing-title .grad {
  background: linear-gradient(105deg, #e0f2fe 0%, #38bdf8 42%, #34d399 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.landing-sub {
  margin: 0 0 32px;
  max-width: 440px;
  color: #94a3b8;
  font-size: 16px;
  line-height: 1.65;
  font-weight: 500;
  animation: fadeUp 0.8s 0.16s ease both;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 40px;
  animation: fadeUp 0.85s 0.24s ease both;
}

.landing .btn-brand {
  background: linear-gradient(135deg, #2563eb, #06b6d4);
  box-shadow: 0 8px 32px rgba(37, 99, 235, 0.4), 0 0 0 1px rgba(255,255,255,0.08) inset;
}
.landing .btn-brand:hover {
  box-shadow: 0 12px 40px rgba(34, 211, 238, 0.35);
  filter: brightness(1.06);
}
.landing .btn-ghost {
  color: #e2e8f0;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(148, 163, 184, 0.22);
  backdrop-filter: blur(8px);
}
.landing .btn-ghost:hover {
  border-color: rgba(56, 189, 248, 0.5);
  color: #7dd3fc;
  background: rgba(56, 189, 248, 0.08);
}

.pill-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  animation: fadeUp 0.9s 0.32s ease both;
}
.pill-row span {
  padding: 7px 12px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 650;
  color: #cbd5e1;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(148, 163, 184, 0.14);
}

/* ── Terminal card ── */
.hero-visual {
  position: relative;
  z-index: 2;
  animation: fadeUp 0.9s 0.2s ease both;
}

.terminal {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  background: linear-gradient(165deg, rgba(15, 23, 42, 0.95), rgba(8, 12, 24, 0.98));
  border: 1px solid rgba(148, 163, 184, 0.16);
  box-shadow:
    0 40px 100px rgba(0, 0, 0, 0.55),
    0 0 0 1px rgba(56, 189, 248, 0.08) inset,
    0 0 80px rgba(37, 99, 235, 0.12);
  transform: perspective(1200px) rotateY(-6deg) rotateX(4deg);
  transition: transform 0.45s ease;
}
.terminal:hover {
  transform: perspective(1200px) rotateY(0deg) rotateX(0deg) translateY(-4px);
}
.terminal::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(135deg, rgba(56, 189, 248, 0.08), transparent 40%),
    repeating-linear-gradient(
      0deg,
      transparent,
      transparent 2px,
      rgba(255, 255, 255, 0.012) 2px,
      rgba(255, 255, 255, 0.012) 4px
    );
  pointer-events: none;
  z-index: 1;
}

.term-bar {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 12px;
  padding: 12px 16px;
  background: rgba(30, 41, 59, 0.75);
  border-bottom: 1px solid rgba(148, 163, 184, 0.12);
}
.term-lights { display: flex; gap: 6px; }
.term-lights i { width: 9px; height: 9px; border-radius: 50%; }
.term-lights i:nth-child(1) { background: #f87171; }
.term-lights i:nth-child(2) { background: #fbbf24; }
.term-lights i:nth-child(3) { background: #34d399; }
.term-bar strong {
  font-size: 12px;
  font-weight: 700;
  color: #94a3b8;
  letter-spacing: 0.04em;
  font-family: ui-monospace, Consolas, monospace;
}
.term-live {
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.1em;
  color: #052e1c;
  background: #34d399;
  padding: 4px 8px;
  border-radius: 999px;
}

.term-body {
  position: relative;
  z-index: 2;
  padding: 22px 20px 24px;
  font-family: ui-monospace, SFMono-Regular, Consolas, monospace;
  font-size: 13px;
  line-height: 1.75;
  min-height: 280px;
}
.term-line {
  display: flex;
  gap: 10px;
  opacity: 0;
  transform: translateY(6px);
  animation: lineIn 0.35s ease forwards;
}
.term-line .prompt { color: #38bdf8; flex-shrink: 0; }
.term-line .key { color: #64748b; min-width: 92px; }
.term-line .val { color: #e2e8f0; word-break: break-all; }
.term-line.dim .val { color: #94a3b8; }
.term-line.ok .val { color: #34d399; font-weight: 700; }
.term-line.warn .val { color: #fbbf24; }

.term-result {
  margin-top: 18px;
  padding: 14px 16px;
  border-radius: 12px;
  background: rgba(16, 185, 129, 0.08);
  border: 1px solid rgba(16, 185, 129, 0.28);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  opacity: 0;
  animation: lineIn 0.4s ease forwards;
}
.term-result .status {
  color: #34d399;
  font-weight: 800;
  font-size: 14px;
  letter-spacing: 0.04em;
}
.term-result .meta {
  color: #94a3b8;
  font-size: 11px;
}

.term-ring {
  position: absolute;
  right: -40px;
  top: -40px;
  width: 160px;
  height: 160px;
  border-radius: 50%;
  border: 1px dashed rgba(56, 189, 248, 0.25);
  animation: spin 20s linear infinite;
  z-index: 0;
  pointer-events: none;
}
.term-ring::after {
  content: "";
  position: absolute;
  inset: 24px;
  border-radius: 50%;
  border: 1px solid rgba(52, 211, 153, 0.2);
  animation: spin 12s linear infinite reverse;
}
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes lineIn {
  to { opacity: 1; transform: translateY(0); }
}
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(22px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ── Stats strip ── */
.stats-strip {
  position: relative;
  z-index: 2;
  max-width: 1200px;
  width: 100%;
  margin: 48px auto 0;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  border-radius: 16px;
  overflow: hidden;
  background: rgba(148, 163, 184, 0.12);
  border: 1px solid rgba(148, 163, 184, 0.12);
  animation: fadeUp 1s 0.45s ease both;
}
.stats-strip div {
  padding: 18px 16px;
  text-align: center;
  background: rgba(8, 12, 24, 0.72);
  backdrop-filter: blur(10px);
}
.stats-strip strong {
  display: block;
  font-size: clamp(22px, 3vw, 28px);
  font-weight: 850;
  letter-spacing: -0.03em;
  color: #f1f5f9;
  font-variant-numeric: tabular-nums;
  background: linear-gradient(180deg, #f8fafc, #94a3b8);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.stats-strip span {
  display: block;
  margin-top: 6px;
  font-size: 12px;
  font-weight: 600;
  color: #64748b;
  letter-spacing: 0.04em;
}

/* ── Minimal footer strip ── */
.landing-foot {
  position: relative;
  z-index: 2;
  max-width: 1200px;
  margin: 36px auto 0;
  padding-top: 20px;
  border-top: 1px solid rgba(148, 163, 184, 0.1);
  display: flex;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  color: #475569;
  font-size: 12px;
  font-weight: 500;
  animation: fadeUp 1s 0.55s ease both;
}
.landing-foot a {
  color: #64748b;
  margin-left: 16px;
  font-weight: 600;
}
.landing-foot a:hover { color: #38bdf8; }

/* ── Responsive ── */
@media (max-width: 960px) {
  .stage-grid { grid-template-columns: 1fr; gap: 36px; }
  .terminal { transform: none; }
  .stats-strip { grid-template-columns: repeat(2, 1fr); }
  .landing-title { font-size: clamp(34px, 9vw, 48px); }
  .landing .site-nav { display: none; }
  .landing .header-actions .ghost-link { display: none; }
  .landing .header-main { grid-template-columns: 1fr auto; }
}
@media (max-width: 520px) {
  .stats-strip { grid-template-columns: 1fr 1fr; }
  .hero-actions .btn { width: 100%; }
  .landing-foot { flex-direction: column; }
  .landing-foot a { margin-left: 0; margin-right: 12px; }
}
