/* ============================================================
   analysis-service.css · 数据统计服务页专属样式
   独有布局：首屏实景大屏 + 四宫格浮动指标卡 / 左图标右说明指标行 /
            左报表周期右 CSS 柱状图 / 双栏解读
   ============================================================ */

/* ---------- 首屏 ---------- */
.ana-hero {
  padding: calc(var(--header-h) + 40px) 0 80px;
  background:
    radial-gradient(circle at 90% 0%, var(--green-1) 0, transparent 45%),
    linear-gradient(160deg, var(--cream) 0%, var(--cream-2) 100%);
  overflow: hidden;
}

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

.ana-eyebrow {
  display: inline-block;
  padding: 6px 18px;
  border-radius: var(--r-pill);
  background: var(--green-deep);
  color: #fff;
  font-size: 13px;
  letter-spacing: 2px;
  margin-bottom: 16px;
}

.ana-title {
  font-size: clamp(30px, 4vw, 46px);
  line-height: 1.25;
  margin-bottom: 18px;
}

.ana-title em {
  font-style: normal;
  color: var(--amber);
}

.ana-sub {
  color: var(--ink-2);
  font-size: 16px;
  margin-bottom: 26px;
}

.ana-hero-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 16px;
}

.ana-hero-note {
  font-size: 14px;
  color: var(--ink-3);
}

.ana-screen {
  border-radius: var(--r-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lift);
}

.ana-screen img {
  width: 100%;
}

.ana-metrics {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin-top: -34px;
  padding: 0 14px;
}

.ana-metric {
  background: #fff;
  border: 2px solid var(--line);
  border-radius: var(--r-md);
  padding: 16px 18px;
  box-shadow: var(--shadow-soft);
}

.ana-metric strong {
  display: block;
  font-size: 26px;
  color: var(--green-deep);
}

.ana-metric span {
  font-size: 12.5px;
  color: var(--ink-3);
}

/* ---------- 板块一：指标行 ---------- */
.ana-metrics-sec {
  background: var(--cream);
}

.ana-metric-rows {
  max-width: 900px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.ana-mrow {
  display: flex;
  gap: 20px;
  align-items: center;
  background: #fff;
  border: 2px solid var(--line);
  border-radius: var(--r-md);
  padding: 20px 26px;
  transition: all 0.3s ease;
}

.ana-mrow:hover {
  border-color: var(--green-3);
  transform: translateX(6px);
}

.ana-mrow-icon {
  flex-shrink: 0;
  width: 58px;
  height: 58px;
  border-radius: 20px;
  background: var(--green-1);
  color: var(--green-deeper);
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 17px;
}

.ana-mrow h3 {
  font-size: 16.5px;
  margin-bottom: 4px;
}

.ana-mrow p {
  font-size: 14px;
  color: var(--ink-2);
}

/* ---------- 板块二：报表周期 + 柱状图 ---------- */
.ana-report {
  background:
    radial-gradient(circle at 10% 90%, var(--yellow-1) 0, transparent 38%),
    var(--cream-2);
}

.ana-report-in {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 44px;
  align-items: center;
}

.ana-cycles {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.ana-cycle {
  display: flex;
  gap: 18px;
  background: #fff;
  border: 2px solid var(--line);
  border-radius: var(--r-md);
  padding: 18px 22px;
}

.ana-cycle-no {
  flex-shrink: 0;
  align-self: flex-start;
  background: var(--amber);
  color: #fff;
  font-size: 13px;
  font-weight: 700;
  border-radius: var(--r-pill);
  padding: 5px 16px;
}

.ana-cycle h3 {
  font-size: 16px;
  margin-bottom: 4px;
}

.ana-cycle p {
  font-size: 13.5px;
  color: var(--ink-2);
}

/* CSS 柱状图 */
.ana-chart {
  background: #fff;
  border: 2px solid var(--line);
  border-radius: var(--r-lg);
  padding: 26px;
  box-shadow: var(--shadow-soft);
}

.ana-chart-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
}

.ana-chart-head h3 {
  font-size: 17px;
}

.ana-chart-tag {
  font-size: 12px;
  color: var(--ink-3);
  background: var(--cream-3);
  border-radius: var(--r-pill);
  padding: 3px 12px;
}

.ana-bars {
  display: flex;
  align-items: flex-end;
  gap: 12px;
  height: 200px;
  border-bottom: 3px solid var(--line);
  padding: 0 6px;
}

.ana-bar-col {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-end;
  height: 100%;
}

.ana-bar {
  width: 100%;
  max-width: 34px;
  border-radius: 8px 8px 0 0;
  background: var(--green-3);
  transition: all 0.4s ease;
}

.ana-bar-hot {
  background: var(--amber);
}

.ana-bar-col:hover .ana-bar {
  background: var(--green-deep);
}

.ana-bar-col:hover .ana-bar-hot {
  background: var(--amber-deep);
}

/* 柱子高度档位 */
.h16 { height: 16%; }
.h24 { height: 24%; }
.h34 { height: 34%; }
.h40 { height: 40%; }
.h52 { height: 52%; }
.h64 { height: 64%; }
.h86 { height: 86%; }

.ana-bar-label {
  font-size: 12.5px;
  color: var(--ink-3);
  margin-top: 8px;
}

.ana-mrows-note {
  margin-top: 22px;
  text-align: center;
  font-size: 14px;
  color: var(--ink-3);
}

.ana-chart-note {
  margin-top: 16px;
  font-size: 13px;
  color: var(--ink-3);
}

.ana-report-photo {
  margin-top: 36px;
  border-radius: var(--r-lg);
  overflow: hidden;
  box-shadow: var(--shadow-soft);
}

.ana-report-photo img {
  width: 100%;
}

.ana-report-note {
  margin-top: 18px;
  text-align: center;
  font-size: 14px;
  color: var(--ink-3);
}

/* ---------- 板块三：解读服务 ---------- */
.ana-read {
  background: var(--cream);
}

.ana-read-in {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 44px;
  align-items: center;
}

.ana-read-photo img {
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-lift);
  width: 100%;
}

.ana-read-copy h2 {
  font-size: clamp(24px, 3vw, 34px);
  margin-bottom: 16px;
}

.ana-read-copy p {
  color: var(--ink-2);
  margin-bottom: 14px;
}

/* ---------- 板块四：数据保密 ---------- */
.ana-privacy {
  background: var(--cream-2);
}

.ana-privacy-box {
  max-width: 860px;
  margin: 0 auto;
  background: #fff;
  border: 2px dashed var(--green-3);
  border-radius: var(--r-lg);
  padding: 30px 36px;
  text-align: center;
}

.ana-privacy-box h2 {
  font-size: 22px;
  margin-bottom: 10px;
}

.ana-privacy-box p {
  color: var(--ink-2);
  font-size: 14.5px;
}

/* ---------- 响应式 ---------- */
@media (max-width: 1080px) {
  .ana-hero-in,
  .ana-report-in,
  .ana-read-in {
    grid-template-columns: 1fr;
    gap: 40px;
  }
}

@media (max-width: 900px) {
  .ana-metrics {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 640px) {
  .ana-mrow {
    flex-direction: column;
    align-items: flex-start;
  }
  .ana-bars {
    height: 160px;
    gap: 8px;
  }
  .ana-metrics {
    grid-template-columns: 1fr 1fr;
    padding: 0;
  }
}
