/* ECHO MOD 宣传页 · 独立晴空配色，不跟随站点主题 */

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

:root {
  --bg: #eaf6ff;
  --card: rgba(255, 255, 255, 0.72);
  --card-solid: #ffffff;
  --text: #10243a;
  --muted: #5c7d97;
  --line: rgba(16, 36, 58, 0.12);
  --blue: #2f9fe0;
  --pink: #ff5bbd;
  --yellow: #ffc247;
  --radius: 20px;
  --shadow: 0 26px 70px rgba(47, 130, 180, 0.18);
  --shadow-soft: 0 12px 34px rgba(47, 130, 180, 0.12);
}

html { scroll-behavior: smooth; }

body {
  margin: 0;
  color: var(--text);
  font-family: "PingFang SC", "Microsoft YaHei", "Noto Sans SC", sans-serif;
  line-height: 1.7;
  background:
    radial-gradient(900px 520px at 82% -8%, #ffffff 0%, rgba(255, 255, 255, 0) 70%),
    radial-gradient(700px 460px at 4% 12%, rgba(255, 255, 255, 0.9) 0%, rgba(255, 255, 255, 0) 72%),
    linear-gradient(180deg, #d7eeff 0%, #eaf7ff 42%, #fff0f7 100%);
  background-attachment: fixed;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }

.wrap { width: min(1180px, calc(100% - 44px)); margin-inline: auto; }

/* ---------- 顶栏 ---------- */

.eh-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 50;
  background: rgba(234, 246, 255, 0.72);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--line);
}

.eh-inner {
  width: min(1240px, calc(100% - 40px));
  margin-inline: auto;
  display: flex;
  align-items: center;
  gap: 18px;
  min-height: 66px;
}

.eh-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 600;
  letter-spacing: 0.08em;
}

.eh-logo i {
  width: 30px;
  height: 30px;
  border-radius: 9px;
  background: linear-gradient(135deg, var(--blue), var(--pink));
  display: grid;
  place-items: center;
  color: #fff;
  font-style: normal;
  font-size: 0.85rem;
}

.eh-nav { margin-left: auto; display: flex; gap: 20px; font-size: 0.85rem; color: var(--muted); }
.eh-nav a:hover { color: var(--blue); }

.eh-btn {
  padding: 0.55em 1.05em;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--blue), var(--pink));
  color: #fff;
  font-size: 0.84rem;
  font-weight: 600;
  box-shadow: 0 10px 26px rgba(47, 159, 224, 0.34);
  transition: transform 0.3s, box-shadow 0.3s;
}

.eh-btn:hover { transform: translateY(-2px); box-shadow: 0 16px 34px rgba(47, 159, 224, 0.4); }

/* ---------- Hero ---------- */

.eh-hero {
  position: relative;
  padding: 150px 0 90px;
  overflow: hidden;
}

.eh-hero::before,
.eh-hero::after {
  content: "♪";
  position: absolute;
  font-size: 10rem;
  color: rgba(47, 159, 224, 0.14);
  pointer-events: none;
  user-select: none;
}

.eh-hero::before { top: 96px; left: 2%; transform: rotate(-14deg); }
.eh-hero::after { bottom: 40px; right: 4%; transform: rotate(12deg); color: rgba(255, 91, 189, 0.16); }

.eh-hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 56px;
  align-items: center;
}

.eh-kicker {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 0.42em 0.95em;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.8);
  border: 1px solid var(--line);
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  color: var(--muted);
  text-transform: uppercase;
}

.eh-kicker i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--pink);
  box-shadow: 0 0 0 4px rgba(255, 91, 189, 0.18);
}

.eh-hero h1 {
  margin: 22px 0 10px;
  font-size: clamp(2.4rem, 5.4vw, 4.2rem);
  line-height: 1.06;
  letter-spacing: -0.02em;
  font-weight: 700;
}

.eh-hero h1 em {
  font-style: normal;
  background: linear-gradient(120deg, var(--blue), var(--pink));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.eh-sub {
  font-size: clamp(1rem, 1.4vw, 1.15rem);
  color: var(--muted);
  max-width: 34em;
}

.eh-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }

.eh-actions .outline {
  padding: 0.62em 1.2em;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.6);
  font-size: 0.86rem;
  color: var(--text);
  transition: border-color 0.3s, background 0.3s, transform 0.3s;
}

.eh-actions .outline:hover { border-color: var(--blue); background: #fff; transform: translateY(-2px); }

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

.eh-tags span {
  padding: 0.3em 0.8em;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.7);
  border: 1px solid var(--line);
  font-size: 0.74rem;
  color: var(--muted);
}

/* 预览卡 */

.eh-preview {
  position: relative;
  border-radius: 26px;
  padding: 14px;
  background: rgba(255, 255, 255, 0.55);
  border: 1px solid rgba(255, 255, 255, 0.9);
  box-shadow: var(--shadow);
  transform: rotate(-1.2deg);
}

.eh-preview img { border-radius: 16px; }

.eh-preview .cap {
  position: absolute;
  left: 26px;
  bottom: -18px;
  padding: 0.45em 1em;
  border-radius: 999px;
  background: #fff;
  font-size: 0.74rem;
  letter-spacing: 0.08em;
  color: var(--muted);
  box-shadow: var(--shadow-soft);
}

/* ---------- 通用区块 ---------- */

.eh-section { padding: 84px 0; }

.eh-head { margin-bottom: 34px; }

.eh-head .idx {
  font-size: 0.7rem;
  letter-spacing: 0.22em;
  color: var(--muted);
  text-transform: uppercase;
}

.eh-head h2 {
  margin: 10px 0 0;
  font-size: clamp(1.7rem, 3.2vw, 2.6rem);
  letter-spacing: -0.01em;
}

.eh-head p { color: var(--muted); max-width: 40em; }

/* 功能卡 */

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

.eh-card {
  padding: 26px 24px 24px;
  border-radius: var(--radius);
  background: var(--card);
  border: 1px solid rgba(255, 255, 255, 0.85);
  box-shadow: var(--shadow-soft);
  backdrop-filter: blur(10px);
  transition: transform 0.4s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.4s;
}

.eh-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); }

.eh-card .no {
  font-size: 0.68rem;
  letter-spacing: 0.2em;
  color: var(--blue);
}

.eh-card h3 { margin: 10px 0 8px; font-size: 1.12rem; }

.eh-card p { margin: 0; font-size: 0.9rem; color: var(--muted); }

/* 画廊 */

.eh-gallery { display: grid; grid-template-columns: 1.3fr 1fr; gap: 18px; align-items: start; }

.eh-shot {
  margin: 0;
  border-radius: 22px;
  overflow: hidden;
  background: #fff;
  box-shadow: var(--shadow);
}

.eh-shot img { width: 100%; object-fit: cover; }

.eh-shot figcaption {
  padding: 12px 16px;
  font-size: 0.76rem;
  color: var(--muted);
  border-top: 1px solid var(--line);
}

/* 实机演示 */

.eh-demo { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }

.eh-video-card {
  padding: 18px;
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(255, 255, 255, 0.9);
  box-shadow: var(--shadow);
}

.eh-video-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 12px;
}

.eh-video-head strong { font-size: 1.05rem; letter-spacing: 0.02em; }
.eh-video-head span { font-size: 0.74rem; color: var(--muted); }

.eh-video {
  display: block;
  width: 100%;
  aspect-ratio: 1292 / 728;
  background: #0b1220;
  border-radius: 14px;
  object-fit: contain;
}

.eh-video-foot { margin: 12px 0 0; font-size: 0.74rem; color: var(--muted); }

.eh-config {
  margin-top: 18px;
  padding: 26px 26px 22px;
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(255, 255, 255, 0.9);
  box-shadow: var(--shadow-soft);
}

.eh-config-head {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 10px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--line);
}

.eh-config-head strong { font-size: 1.05rem; letter-spacing: 0.02em; }
.eh-config-head span { font-size: 0.74rem; color: var(--muted); }

.eh-config-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px 28px; margin: 18px 0 0; }

.eh-config-grid dt {
  margin-bottom: 4px;
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  color: var(--blue);
}

.eh-config-grid dd { margin: 0; font-size: 0.86rem; line-height: 1.65; }

.eh-config-note {
  margin: 18px 0 0;
  padding-top: 14px;
  border-top: 1px solid var(--line);
  font-size: 0.74rem;
  color: var(--muted);
}

.eh-credit {
  margin: 22px 0 0;
  font-size: 0.74rem;
  color: var(--muted);
  text-align: center;
}

/* 步骤 */

.eh-steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; counter-reset: step; }

.eh-step {
  position: relative;
  padding: 26px 24px;
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.62);
  border: 1px dashed rgba(47, 159, 224, 0.32);
}

.eh-step::before {
  counter-increment: step;
  content: "0" counter(step);
  display: block;
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--blue);
  margin-bottom: 6px;
}

.eh-step strong { display: block; margin-bottom: 4px; }
.eh-step span { font-size: 0.86rem; color: var(--muted); }

/* CTA */

.eh-cta {
  margin: 40px 0 100px;
  padding: 54px 48px;
  border-radius: 28px;
  text-align: center;
  background:
    radial-gradient(600px 300px at 50% 0%, rgba(255, 255, 255, 0.9), rgba(255, 255, 255, 0)),
    linear-gradient(135deg, rgba(47, 159, 224, 0.14), rgba(255, 91, 189, 0.14));
  border: 1px solid rgba(255, 255, 255, 0.9);
  box-shadow: var(--shadow);
}

.eh-cta h2 { margin: 0 0 12px; font-size: clamp(1.6rem, 3vw, 2.4rem); }
.eh-cta p { color: var(--muted); margin: 0 auto 26px; max-width: 36em; }

.eh-cta .row { display: flex; justify-content: center; flex-wrap: wrap; gap: 12px; }

.eh-foot {
  padding: 26px 0 40px;
  border-top: 1px solid var(--line);
  font-size: 0.78rem;
  color: var(--muted);
  display: flex;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}

/* 入场 */

.rv { opacity: 0; transform: translateY(24px); transition: opacity 0.8s cubic-bezier(0.22, 1, 0.36, 1), transform 0.8s cubic-bezier(0.22, 1, 0.36, 1); transition-delay: calc(var(--d, 0) * 1ms); }
.rv.in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  .rv { opacity: 1; transform: none; transition: none; }
}

@media (max-width: 980px) {
  .eh-hero-grid { grid-template-columns: 1fr; gap: 38px; }
  .eh-hero { padding-top: 128px; }
  .eh-preview { transform: none; }
  .eh-grid, .eh-steps { grid-template-columns: 1fr 1fr; }
  .eh-gallery, .eh-demo, .eh-config-grid { grid-template-columns: 1fr; }
  .eh-nav { display: none; }
}

@media (max-width: 640px) {
  .eh-grid, .eh-steps { grid-template-columns: 1fr; }
  .eh-cta { padding: 36px 22px; }
  .eh-section { padding: 60px 0; }
  .eh-hero::before, .eh-hero::after { display: none; }
}
