/* ============================================================
   HedraCAM V4 Release Notes — 专用样式
   参考: ModuleWorks What's New 页面结构
   路径: /css/release-v4.css
   ============================================================ */

/* ---------- Hero ---------- */
.rv4-hero {
  position: relative;
  background: var(--bg-dark);
  padding: 140px 0 80px;
  overflow: hidden;
}
.rv4-hero__bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 60% at 20% 40%, rgba(0,176,236,.08) 0%, transparent 60%),
    radial-gradient(ellipse 60% 50% at 80% 60%, rgba(154,197,21,.06) 0%, transparent 55%),
    linear-gradient(160deg, #0A1628 0%, #0D2B45 40%, #0A1628 100%);
}
.rv4-hero__bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(0,176,236,.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0,176,236,.04) 1px, transparent 1px);
  background-size: 50px 50px;
  mask-image: radial-gradient(ellipse 70% 55% at 50% 45%, black 25%, transparent 75%);
}
.rv4-hero__inner { position: relative; z-index: 2; text-align: center; }
.rv4-hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(0,176,236,.12);
  border: 1px solid rgba(0,176,236,.25);
  color: var(--blue-light);
  padding: 8px 24px;
  border-radius: 50px;
  font-size: .85rem;
  font-weight: 700;
  letter-spacing: .08em;
  margin-bottom: 28px;
}
.rv4-hero__title {
  color: #fff;
  font-size: clamp(2.2rem, 5.5vw, 3.8rem);
  margin-bottom: 24px;
  letter-spacing: .02em;
}
.rv4-hero__lead {
  color: rgba(255,255,255,.7);
  font-size: clamp(1rem, 2.2vw, 1.25rem);
  max-width: 800px;
  margin: 0 auto 40px;
  line-height: 1.8;
}

/* Stats row */
.rv4-hero__stats {
  display: flex;
  justify-content: center;
  gap: 32px 48px;
  flex-wrap: wrap;
  margin-bottom: 44px;
}
.rv4-stat {
  text-align: center;
}
.rv4-stat b {
  display: block;
  font-size: clamp(1.8rem, 3.5vw, 2.6rem);
  color: var(--blue-light);
  font-weight: 800;
  line-height: 1.1;
}
.rv4-stat span {
  font-size: .82rem;
  color: rgba(255,255,255,.5);
  text-transform: uppercase;
  letter-spacing: .06em;
}
.rv4-hero__actions {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

/* ---------- Tab Bar (Highlights) ---------- */
.rv4-highlights { padding: 64px 0 48px; }
.rv4-tab-bar {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  justify-content: center;
  margin-bottom: 28px;
}
.rv4-tab {
  padding: 10px 22px;
  border-radius: 50px;
  border: 1.5px solid #E2E8F0;
  background: #fff;
  font-size: .88rem;
  font-weight: 600;
  cursor: pointer;
  transition: all .25s ease;
  color: var(--text-mid);
  font-family: var(--font-main);
}
.rv4-tab:hover {
  border-color: var(--blue);
  color: var(--blue);
  background: rgba(0,176,236,.04);
}
.rv4-tab.active {
  background: var(--blue);
  color: #fff;
  border-color: var(--blue);
  box-shadow: 0 4px 16px rgba(0,176,236,.3);
}
.rv4-highlight-text {
  max-width: 820px;
  margin: 0 auto;
  text-align: center;
  font-size: 1.05rem;
  line-height: 1.85;
  color: var(--text-mid);
}
.rv4-highlight-text strong { color: var(--text-dark); }

/* ---------- Feature Card ---------- */
.rv4-section { padding: 80px 0; }
.rv4-section:nth-child(even) { background: var(--bg-section); }

.rv4-card {
  margin-bottom: 72px;
}
.rv4-card:last-child { margin-bottom: 0; }

.rv4-card__header {
  margin-bottom: 32px;
  padding-bottom: 16px;
  border-bottom: 2px solid #EAEFF5;
}
.rv4-card__cat {
  display: inline-block;
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--blue);
  margin-bottom: 10px;
}
.rv4-card__title {
  font-size: clamp(1.5rem, 3vw, 2.2rem);
  color: var(--text-dark);
}

.rv4-card__body {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: start;
}
.rv4-card--reverse .rv4-card__body {
  direction: rtl;
}
.rv4-card--reverse .rv4-card__body > * {
  direction: ltr;
}

.rv4-card__visual {
  position: sticky;
  top: 110px;
}
.rv4-card__visual img {
  width: 100%;
  border-radius: var(--radius-lg);
  box-shadow: 0 8px 32px rgba(0,0,0,.1);
}
.rv4-card__visual video {
  display: block;
  box-shadow: 0 8px 32px rgba(0,0,0,.12);
}
.rv4-placeholder {
  width: 100%;
  aspect-ratio: 16/10;
  background: linear-gradient(135deg, var(--bg-card), #1a2744);
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,.3);
  font-size: 1rem;
}

/* Challenge-Solution-Benefits */
.rv4-csb {
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.rv4-csb__item {
  padding: 24px 28px;
  border-radius: var(--radius-md);
  border-left: 4px solid transparent;
  transition: all .2s ease;
}
.rv4-csb--challenge {
  background: #FFF5F5;
  border-left-color: #EF4444;
}
.rv4-csb--solution {
  background: #EFF8FF;
  border-left-color: var(--blue);
}
.rv4-csb--benefits {
  background: #F0FDF4;
  border-left-color: var(--green);
}
.rv4-csb__item h4 {
  font-size: .9rem;
  font-weight: 700;
  margin-bottom: 8px;
  letter-spacing: .03em;
}
.rv4-csb--challenge h4 { color: #DC2626; }
.rv4-csb--solution h4 { color: var(--blue); }
.rv4-csb--benefits h4 { color: var(--green-dark); }
.rv4-csb__item p {
  font-size: .92rem;
  line-height: 1.75;
  color: var(--text-mid);
}
.rv4-csb--benefits ul {
  list-style: none;
  padding: 0;
  margin: 4px 0 0;
}
.rv4-csb--benefits li {
  position: relative;
  padding-left: 22px;
  margin-bottom: 8px;
  font-size: .92rem;
  line-height: 1.65;
  color: var(--text-mid);
}
.rv4-csb--benefits li::before {
  content: '✅';
  position: absolute;
  left: 0;
  top: 1px;
  font-size: .78rem;
}

/* ---------- Performance Grid ---------- */
.rv4-perf-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 28px;
}
.rv4-perf-card {
  background: rgba(255,255,255,.05);
  border: 1px solid rgba(255,255,255,.08);
  border-radius: var(--radius-lg);
  padding: 36px 30px;
  text-align: center;
  transition: all .3s ease;
}
.rv4-perf-card:hover {
  background: rgba(255,255,255,.09);
  border-color: rgba(0,176,236,.3);
  transform: translateY(-4px);
}
.rv4-perf-card__icon {
  font-size: 2.4rem;
  margin-bottom: 16px;
}
.rv4-perf-card h3 {
  color: #fff;
  font-size: 1.15rem;
  margin-bottom: 16px;
  font-weight: 700;
}
.rv4-perf-card__big {
  font-size: clamp(2rem, 4vw, 2.8rem);
  font-weight: 800;
  color: var(--blue-light);
  line-height: 1;
  margin-bottom: 12px;
}
.rv4-perf-card__big .unit {
  font-size: .35em;
  font-weight: 600;
  color: rgba(255,255,255,.5);
  margin-left: 4px;
}
.rv4-perf-card p {
  color: rgba(255,255,255,.6);
  font-size: .9rem;
  line-height: 1.65;
}

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .rv4-card__body {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .rv4-card--reverse .rv4-card__body { direction: ltr; }
  .rv4-card__visual {
    position: static;
    order: -1;
  }
  .rv4-hero__stats { gap: 24px 36px; }
  .rv4-tab-bar { gap: 6px; }
  .rv4-tab { padding: 8px 16px; font-size: .82rem; }
  .rv4-csb__item { padding: 18px 20px; }
}

@media (max-width: 600px) {
  .rv4-hero { padding: 120px 0 60px; }
  .rv4-hero__lead { font-size: .95rem; }
  .rv4-stat b { font-size: 1.6rem; }
  .rv4-section { padding: 56px 0; }
  .rv4-card { margin-bottom: 56px; }
  .rv4-card__title { font-size: 1.4rem; }
  .rv4-perf-grid { grid-template-columns: 1fr; }
  .rv4-highlight-text { font-size: .95rem; text-align: left; }
}
