/* ============================================================
   ehviewer彩色版 官网 · 第二站 · 重做新版
   主题：暗夜森林 × 荧光青柠 × 珊瑚橙
   布局：Hero 画格面板 / 功能 2×2 卡 / 分区左色条卡
   参考骨架：copypro-app.cn 版式
   ============================================================ */

:root {
  --bg: #0B120E;
  --bg-2: #121A15;
  --bg-3: #0E1511;
  --card: rgba(255, 255, 255, 0.045);
  --line: rgba(255, 255, 255, 0.09);
  --text: #F1F5EC;
  --text-soft: #A3AE9E;
  --accent: #B6F34C;
  --accent-2: #FF7A59;
  --accent-3: #7FE3D4;
  --tile-red: #E5484D;
  --tile-yellow: #F2C94C;
  --tile-blue: #4C9BFF;
  --tile-green: #33C26B;
  --grad: linear-gradient(135deg, #B6F34C 0%, #7FE3D4 100%);
  --radius: 18px;
  --shadow: 0 18px 44px rgba(0, 0, 0, 0.35);
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

body {
  font-family: "PingFang SC", "Microsoft YaHei", "Noto Sans SC", system-ui, -apple-system, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.7;
  overflow-x: hidden;
}

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

.wrap { max-width: 1180px; margin: 0 auto; padding: 0 28px; }

/* ================= 按钮 ================= */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  border: none;
  cursor: pointer;
  font-family: inherit;
  font-size: 16px;
  font-weight: 700;
  line-height: 1;
  border-radius: 999px;
  padding: 14px 30px;
  transition: transform 0.22s ease, box-shadow 0.22s ease, background 0.22s ease;
  text-decoration: none;
}

.btn svg { width: 19px; height: 19px; flex-shrink: 0; }

.btn-primary {
  background: var(--grad);
  color: #0B120E;
  box-shadow: 0 12px 30px rgba(182, 243, 76, 0.28);
}

.btn-primary:hover { transform: translateY(-3px); box-shadow: 0 16px 38px rgba(182, 243, 76, 0.4); }

.btn-ghost {
  background: transparent;
  color: var(--text);
  border: 1px solid var(--line);
}

.btn-ghost:hover { border-color: rgba(255, 122, 89, 0.55); background: rgba(255, 122, 89, 0.08); }

.btn-white {
  background: #fff;
  color: #0B120E;
}

.btn-white:hover { transform: translateY(-3px); box-shadow: 0 16px 38px rgba(255, 255, 255, 0.25); }

.btn-lg { padding: 17px 36px; font-size: 17px; }
.btn-sm { padding: 10px 20px; font-size: 14px; }

/* ================= 顶部导航 ================= */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: rgba(11, 18, 14, 0.82);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid transparent;
  transition: background 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

.nav.scrolled {
  background: rgba(11, 18, 14, 0.95);
  border-bottom-color: var(--line);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.35);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 17px;
  font-weight: 700;
}

.nav-logo img { width: 30px; height: 30px; border-radius: 8px; object-fit: cover; }

.nav-links { display: flex; align-items: center; gap: 26px; }

.nav-links a {
  font-size: 15px;
  color: var(--text-soft);
  transition: color 0.2s ease;
}

.nav-links a:hover, .nav-links a.active { color: var(--text); }

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

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

.nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.nav-panel {
  display: none;
  position: fixed;
  top: 68px;
  left: 0;
  right: 0;
  z-index: 99;
  background: var(--bg-2);
  padding: 18px 28px 26px;
  border-bottom: 1px solid var(--line);
}

.nav-panel.open { display: block; }

.nav-panel a {
  display: block;
  padding: 13px 0;
  font-size: 15px;
  color: var(--text);
  border-bottom: 1px solid var(--line);
}

.nav-panel .btn { margin-top: 18px; width: 100%; }

/* ================= Hero ================= */
.hero {
  position: relative;
  padding: 148px 0 84px;
  background:
    radial-gradient(1000px 460px at 88% -8%, rgba(182, 243, 76, 0.2), transparent 62%),
    radial-gradient(860px 420px at 6% 10%, rgba(255, 122, 89, 0.14), transparent 58%),
    linear-gradient(180deg, var(--bg-2) 0%, var(--bg) 55%);
  overflow: hidden;
}

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

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13.5px;
  color: var(--text-soft);
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 8px 16px;
  margin-bottom: 22px;
}

.hero-badge svg { width: 16px; height: 16px; color: var(--accent); }

.hero-title {
  font-size: 58px;
  font-weight: 800;
  line-height: 1.12;
  letter-spacing: 1px;
  background: linear-gradient(120deg, #fff 30%, var(--accent) 62%, var(--accent-3) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}

.hero-sub {
  margin: 16px 0 14px;
  font-size: 21px;
  font-weight: 600;
  color: var(--accent-2);
}

.hero-desc { font-size: 16.5px; color: var(--text-soft); max-width: 470px; }

.hero-ctas { display: flex; gap: 16px; margin-top: 30px; flex-wrap: wrap; }

.hero-stats {
  display: flex;
  gap: 40px;
  margin-top: 38px;
}

.stat-num {
  display: block;
  font-size: 30px;
  font-weight: 800;
  color: var(--text);
  line-height: 1.2;
}

.stat-num em { font-style: normal; color: var(--accent); }

.stat-label { font-size: 13.5px; color: var(--text-soft); }

/* Hero 右区：画格面板（logo 大卡 + 四色段条 + 芯片） */
.hero-visual { position: relative; }

.panel-stage {
  position: relative;
  min-height: 430px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.panel-card {
  position: relative;
  z-index: 2;
  width: 236px;
  background: rgba(255, 255, 255, 0.97);
  border-radius: 26px;
  padding: 20px;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.5);
}

.panel-logo {
  width: 196px;
  height: 196px;
  margin: 0 auto;
  border-radius: 18px;
  overflow: hidden;
}

.panel-logo img { width: 100%; height: 100%; object-fit: cover; }

.panel-bar {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
  margin-top: 16px;
}

.panel-seg { height: 8px; border-radius: 6px; }
.seg-red { background: var(--tile-red); }
.seg-yellow { background: var(--tile-yellow); }
.seg-blue { background: var(--tile-blue); }
.seg-green { background: var(--tile-green); }

.panel-caption {
  margin-top: 12px;
  text-align: center;
  font-size: 12.5px;
  font-weight: 600;
  color: #6B7280;
}

.panel-chip {
  position: absolute;
  z-index: 3;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 600;
  color: var(--text);
  background: rgba(18, 26, 21, 0.92);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 999px;
  padding: 9px 15px;
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.35);
}

.panel-chip svg { width: 15px; height: 15px; color: var(--accent); }

.panel-chip--1 { top: 4%; left: 0; }
.panel-chip--2 { top: 30%; right: -4%; color: var(--accent-2); }
.panel-chip--2 svg { color: var(--accent-2); }
.panel-chip--3 { bottom: 10%; left: -2%; }

/* Hero 四色块点缀 */
.hero-tile {
  position: absolute;
  z-index: 1;
  border-radius: 8px;
  opacity: 0.72;
  box-shadow: 0 12px 26px rgba(0, 0, 0, 0.3);
}

.tile-red { width: 40px; height: 40px; background: var(--tile-red); top: 20%; left: 8%; transform: rotate(14deg); }
.tile-yellow { width: 26px; height: 26px; background: var(--tile-yellow); top: 42%; right: 7%; transform: rotate(-12deg); }
.tile-blue { width: 34px; height: 34px; background: var(--tile-blue); bottom: 26%; left: 5%; transform: rotate(8deg); }
.tile-green { width: 24px; height: 24px; background: var(--tile-green); bottom: 12%; right: 14%; transform: rotate(-16deg); }

/* ================= 通用区块 ================= */
.section { padding: 96px 0; }

.sec-head { max-width: 620px; margin: 0 auto 48px; }
.sec-head.center { text-align: center; }

.kicker {
  display: inline-block;
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 12px;
}

.sec-title { font-size: 34px; font-weight: 800; line-height: 1.3; }
.sec-desc { margin-top: 10px; font-size: 15.5px; color: var(--text-soft); }

/* ================= 功能亮点：2×2 卡 ================= */
.features { background: var(--bg-3); }

.feat-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px;
}

.feat-card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 30px 32px;
  transition: border-color 0.25s ease, transform 0.25s ease;
}

.feat-card:hover { transform: translateY(-4px); border-color: rgba(182, 243, 76, 0.45); }

.feat-top { display: flex; align-items: center; gap: 16px; margin-bottom: 16px; }

.feat-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 54px;
  height: 54px;
  border-radius: 15px;
  background: rgba(182, 243, 76, 0.1);
  border: 1px solid rgba(182, 243, 76, 0.26);
  flex-shrink: 0;
}

.feat-icon svg { width: 26px; height: 26px; color: var(--accent); }

.feat-card h3 { font-size: 19px; }
.feat-card p { font-size: 14.5px; color: var(--text-soft); }

.feat-strip {
  grid-column: 1 / -1;
  display: flex;
  align-items: center;
  gap: 18px;
  border-radius: var(--radius);
  padding: 22px 28px;
  background: linear-gradient(120deg, rgba(182, 243, 76, 0.14), rgba(127, 227, 212, 0.1));
  border: 1px solid rgba(182, 243, 76, 0.3);
}

.feat-strip .strip-dot {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 5px rgba(182, 243, 76, 0.18);
  flex-shrink: 0;
}

.feat-strip strong { font-size: 16px; }
.feat-strip span { font-size: 13.5px; color: var(--text-soft); }

/* ================= 内容分区：左色条卡 ================= */
.agent-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.agent-card {
  position: relative;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 26px 26px 24px;
  overflow: hidden;
  transition: transform 0.25s ease, border-color 0.25s ease;
}

.agent-card:hover { transform: translateY(-5px); border-color: rgba(255, 122, 89, 0.45); }

.agent-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  bottom: 0;
  width: 4px;
  background: var(--tile-green);
}

.agent-card:nth-child(1)::before { background: var(--tile-red); }
.agent-card:nth-child(2)::before { background: var(--tile-yellow); }
.agent-card:nth-child(3)::before { background: var(--tile-blue); }
.agent-card:nth-child(4)::before { background: var(--tile-green); }
.agent-card:nth-child(5)::before { background: var(--tile-yellow); }
.agent-card:nth-child(6)::before { background: var(--tile-red); }

.agent-num {
  position: absolute;
  top: 22px;
  right: 22px;
  font-size: 15px;
  font-weight: 800;
  color: var(--text-soft);
  opacity: 0.55;
}

.agent-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 50px;
  height: 50px;
  border-radius: 14px;
  background: rgba(255, 122, 89, 0.1);
  border: 1px solid rgba(255, 122, 89, 0.24);
  margin-bottom: 16px;
}

.agent-icon svg { width: 24px; height: 24px; color: var(--accent-2); }

.agent-card h3 { font-size: 18px; margin-bottom: 8px; }
.agent-card p { font-size: 14px; color: var(--text-soft); }

.agent-tags { display: flex; gap: 8px; margin-top: 14px; }

.tag {
  font-size: 12px;
  color: var(--text-soft);
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 4px 11px;
}

/* ================= 玩法步骤 ================= */
.steps { background: var(--bg-3); }

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

.step {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 30px 28px;
  position: relative;
  transition: transform 0.25s ease;
}

.step:hover { transform: translateY(-5px); }

.step::before {
  counter-increment: step;
  content: "0" counter(step);
  display: inline-block;
  font-size: 14px;
  font-weight: 800;
  color: var(--bg);
  background: var(--accent);
  border-radius: 10px;
  padding: 7px 13px;
  margin-bottom: 18px;
}

.step h3 { font-size: 19px; margin-bottom: 8px; }
.step p { font-size: 14.5px; color: var(--text-soft); }

/* ================= 用户评价 ================= */
.review-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.review-card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px;
  transition: transform 0.25s ease, border-color 0.25s ease;
}

.review-card:hover { transform: translateY(-5px); border-color: rgba(182, 243, 76, 0.4); }

.review-stars { display: flex; gap: 4px; margin-bottom: 16px; }
.review-stars svg { width: 18px; height: 18px; color: var(--tile-yellow); }

.review-text { font-size: 14.5px; color: var(--text); margin-bottom: 22px; }

.review-person { display: flex; align-items: center; gap: 12px; }

.avatar {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  font-size: 15px;
  font-weight: 700;
  color: #0B120E;
  flex-shrink: 0;
}

.avatar-1 { background: var(--tile-yellow); }
.avatar-2 { background: var(--accent-3); }
.avatar-3 { background: var(--accent); }

.review-person strong { display: block; font-size: 15px; }
.review-person span { font-size: 13px; color: var(--text-soft); }

.quote-banner {
  margin-top: 34px;
  text-align: center;
  border-top: 1px solid var(--line);
  padding-top: 30px;
}

.quote-text { font-size: 18px; font-weight: 600; color: var(--text); }
.quote-from { margin-top: 6px; font-size: 13.5px; color: var(--text-soft); }

/* ================= 常见问题 ================= */
.faq-list { max-width: 760px; margin: 0 auto; }

.faq-item {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 14px;
  margin-bottom: 14px;
  overflow: hidden;
}

.faq-q {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  width: 100%;
  padding: 19px 24px;
  background: none;
  border: none;
  cursor: pointer;
  font-family: inherit;
  font-size: 16px;
  font-weight: 600;
  color: var(--text);
  text-align: left;
}

.faq-q .icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 26px;
  height: 26px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--line);
  color: var(--accent);
  transition: transform 0.3s ease;
  flex-shrink: 0;
}

.faq-q .icon svg { width: 13px; height: 13px; }

.faq-item.open .faq-q .icon { transform: rotate(45deg); }

.faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease;
}

.faq-a > div { padding: 0 24px 20px; }

.faq-a p { font-size: 14.5px; color: var(--text-soft); }

/* ================= 下载区 ================= */
.download { padding: 88px 0 96px; }

.download-banner {
  position: relative;
  text-align: center;
  background: linear-gradient(135deg, #1C2A1E 0%, #23312A 100%);
  border: 1px solid rgba(182, 243, 76, 0.35);
  border-radius: 28px;
  padding: 60px 40px;
  overflow: hidden;
  box-shadow: 0 30px 70px rgba(0, 0, 0, 0.4);
}

.download-banner::before, .download-banner::after {
  content: "";
  position: absolute;
  border-radius: 14px;
  transform: rotate(18deg);
  opacity: 0.22;
}

.download-banner::before { width: 90px; height: 90px; background: var(--tile-yellow); top: -26px; left: 9%; }
.download-banner::after { width: 64px; height: 64px; background: var(--tile-green); bottom: -20px; right: 8%; transform: rotate(-18deg); }

.download-app {
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 24px;
  width: 88px;
  height: 88px;
  border-radius: 22px;
  padding: 10px;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.3);
}

.download-app img { width: 100%; height: 100%; object-fit: cover; border-radius: 14px; }

.download-title { font-size: 34px; font-weight: 800; color: var(--text); }
.download-desc { margin-top: 10px; font-size: 15.5px; color: var(--text-soft); }

.download-btn-row { display: flex; flex-direction: column; align-items: center; gap: 16px; margin-top: 28px; }

.download-note { font-size: 13.5px; color: var(--text-soft); }

/* ================= 页脚 ================= */
.footer {
  border-top: 1px solid var(--line);
  background: var(--bg-2);
  padding: 64px 0 36px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 40px;
}

.footer-brand .nav-logo { margin-bottom: 16px; }
.footer-brand p { font-size: 14px; color: var(--text-soft); max-width: 340px; }

.footer-col h4 { font-size: 15px; margin-bottom: 16px; }

.footer-col ul li { margin-bottom: 10px; }
.footer-col ul a { font-size: 14px; color: var(--text-soft); transition: color 0.2s ease; }
.footer-col ul a:hover { color: var(--text); }

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
  border-top: 1px solid var(--line);
  padding-top: 24px;
  font-size: 13px;
  color: var(--text-soft);
}

/* ================= 响应式 ================= */
@media (max-width: 1024px) {
  .hero-grid { grid-template-columns: 1fr; gap: 30px; }
  .hero-visual { order: -1; }
  .panel-stage { min-height: 400px; }
  .feat-grid { grid-template-columns: 1fr 1fr; }
  .agent-grid { grid-template-columns: 1fr 1fr; }
  .steps-grid { grid-template-columns: 1fr; gap: 18px; }
  .review-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 680px) {
  .section { padding: 64px 0; }
  .sec-head { margin-bottom: 36px; }
  .sec-title { font-size: 26px; }
  .nav-links, .nav-cta { display: none; }
  .nav-toggle { display: flex; }
  .hero { padding: 118px 0 64px; }
  .hero-title { font-size: 42px; }
  .hero-sub { font-size: 18px; }
  .hero-stats { gap: 24px; }
  .stat-num { font-size: 24px; }
  .panel-stage { min-height: 360px; }
  .panel-card { width: 200px; }
  .panel-logo { width: 164px; height: 164px; }
  .feat-grid { grid-template-columns: 1fr; }
  .agent-grid { grid-template-columns: 1fr; }
  .download-banner { padding: 48px 20px; }
  .download-title { font-size: 28px; }
  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
  .footer-bottom { flex-direction: column; }
}
