/* =========================================================
   集客英语 · 研发中
   ========================================================= */

.en-hero {
  padding: 72px 0 88px;
  overflow: hidden;
}

.en-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(0, 0.98fr);
  gap: 60px;
  align-items: center;
}

.en-hero-grid > * {
  min-width: 0;
}

.en-hero h1 {
  font-size: clamp(32px, 3.8vw, 50px);
}

.en-badge {
  display: flex;
  width: max-content;
  align-items: center;
  gap: 8px;
  padding: 5px 11px;
  border-radius: 999px;
  background: var(--warn-soft);
  border: 1px solid #f0e0b8;
  color: #8a6d2f;
  font-size: 12px;
  font-weight: 600;
  margin-bottom: 20px;
}

.en-badge i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--warn);
  box-shadow: 0 0 0 3px rgba(180, 136, 39, 0.14);
}

.en-note {
  font-size: 12.5px;
  color: var(--ink-3);
  line-height: 1.7;
  max-width: 60ch;
  margin: 0;
}

/* ---------- 界面示意 ---------- */

.en-stage {
  position: relative;
  padding: 10px 0 44px;
}

.en-window {
  position: relative;
  z-index: 2;
  border-radius: 16px;
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
}

.en-win-head {
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 12px 16px;
  border-bottom: 1px solid var(--line-soft);
  background: var(--soft);
  font-size: 12px;
  color: var(--ink-2);
}

.en-win-head .dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #cbd5e1;
}

.en-win-head .dot:first-child {
  background: #f87171;
}

.en-win-head .dot:nth-child(2) {
  background: #fbbf24;
}

.en-win-head .dot:nth-child(3) {
  background: #34d399;
}

.en-tag {
  margin-left: auto;
  padding: 2px 8px;
  border-radius: 999px;
  background: var(--warn-soft);
  color: var(--warn);
  font-size: 10.5px;
  font-weight: 600;
}

.en-win-body {
  padding: 22px 22px 18px;
}

.en-line-label {
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent);
}

.en-sentence p {
  margin: 7px 0 18px;
  font-size: 21px;
  line-height: 1.55;
  letter-spacing: -0.01em;
}

.en-wave {
  display: flex;
  align-items: center;
  gap: 4px;
  height: 64px;
  padding: 0 4px;
  margin-bottom: 16px;
  border-radius: 8px;
  background: linear-gradient(180deg, rgba(31, 111, 235, 0.04), transparent);
}

.en-wave i {
  flex: 1;
  height: var(--h);
  border-radius: 3px;
  background: linear-gradient(180deg, #6aa6ff, var(--accent));
  opacity: 0.85;
  animation: wave 2.2s ease-in-out infinite alternate;
}

.en-wave i:nth-child(3n) {
  animation-delay: 0.25s;
}

.en-wave i:nth-child(4n) {
  animation-delay: 0.5s;
}

@keyframes wave {
  from {
    transform: scaleY(0.62);
    opacity: 0.55;
  }
  to {
    transform: scaleY(1);
    opacity: 0.95;
  }
}

.en-score-row {
  display: flex;
  align-items: center;
  gap: 22px;
  padding-top: 16px;
  border-top: 1px solid var(--line-soft);
}

.en-score {
  flex: 0 0 auto;
  display: grid;
  justify-items: center;
  gap: 1px;
  padding-right: 22px;
  border-right: 1px solid var(--line-soft);
}

.en-score b {
  font-size: 42px;
  line-height: 1;
  letter-spacing: -0.04em;
  color: var(--accent-dark);
}

.en-score span {
  font-size: 11px;
  color: var(--ink-3);
}

.en-detail {
  display: grid;
  gap: 6px;
  font-size: 12px;
  color: var(--ink-2);
}

.en-detail div {
  display: flex;
  align-items: center;
  gap: 7px;
}

.en-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--ink-3);
}

.en-dot.ok {
  background: var(--ok);
}

.en-dot.warn {
  background: var(--warn);
}

.en-win-foot {
  display: flex;
  justify-content: space-between;
  padding: 11px 18px;
  border-top: 1px solid var(--line-soft);
  background: var(--soft);
  color: var(--ink-3);
  font-size: 11px;
}

/* ---------- 设备 ---------- */

.en-device {
  position: absolute;
  right: -12px;
  bottom: 0;
  z-index: 3;
  width: 154px;
  padding: 12px;
  border-radius: 20px;
  background: linear-gradient(160deg, #1c2636, #0b1220);
  box-shadow: 0 20px 44px rgba(11, 18, 32, 0.34);
  color: #c9d5e8;
  transform: rotate(2deg);
}

.en-device-top {
  display: flex;
  justify-content: center;
  padding-bottom: 9px;
}

.en-device-top span {
  width: 38px;
  height: 4px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.18);
}

.en-device-body {
  display: grid;
  place-items: center;
  gap: 9px;
  padding: 16px 8px 18px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.en-device-light {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 30%, #8fc4ff, #1f6feb 60%, #0d3f8f);
  box-shadow: 0 0 0 6px rgba(31, 111, 235, 0.13), 0 0 22px rgba(31, 111, 235, 0.45);
}

.en-device-body p {
  margin: 0;
  font-size: 10.5px;
  color: #8fa3bf;
  letter-spacing: 0.04em;
}

.en-device-foot {
  padding-top: 9px;
  text-align: center;
  font-size: 9.5px;
  color: #5f718c;
  letter-spacing: 0.03em;
}

/* ---------- 特性卡 ---------- */

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

.en-card {
  position: relative;
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--bg);
  transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}

.en-card:hover {
  transform: translateY(-2px);
  border-color: #c7d2e1;
  box-shadow: var(--shadow);
}

.en-status {
  display: inline-block;
  padding: 3px 9px;
  border-radius: 999px;
  background: var(--warn-soft);
  color: var(--warn);
  font-size: 10.5px;
  font-weight: 650;
  letter-spacing: 0.03em;
  margin-bottom: 14px;
}

.en-card h3 {
  font-size: 18px;
  margin-bottom: 9px;
}

.en-card p {
  font-size: 13.5px;
  color: var(--ink-2);
  margin: 0;
}

/* ---------- 时间线 ---------- */

.en-timeline {
  display: grid;
  gap: 18px;
}

.en-step {
  display: flex;
  gap: 15px;
  align-items: flex-start;
  padding: 17px 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: var(--bg);
}

.en-step > span {
  flex: 0 0 auto;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--accent);
  line-height: 1.8;
}

.en-step h4 {
  font-size: 15px;
  margin-bottom: 3px;
}

.en-step p {
  font-size: 13px;
  color: var(--ink-2);
  margin: 0;
}

/* ---------- 响应式 ---------- */

@media (max-width: 1040px) {
  .en-hero-grid {
    grid-template-columns: 1fr;
    gap: 44px;
  }

  .en-stage {
    max-width: 620px;
  }

  .en-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 620px) {
  .en-hero {
    padding: 44px 0 60px;
  }

  .en-stage {
    padding-bottom: 30px;
  }

  .en-device {
    width: 122px;
    right: 0;
  }

  .en-sentence p {
    font-size: 17px;
  }

  .en-score-row {
    gap: 14px;
  }

  .en-score b {
    font-size: 34px;
  }

  .en-win-body {
    padding: 18px 15px 14px;
  }

  .en-grid {
    grid-template-columns: 1fr;
  }
}
