/* SDC 2026 — 对齐主视觉 banner-pc.jpg */

* {
  scrollbar-width: none;
  scrollbar-color: rgba(0, 0, 0, 0.2) transparent;
}

@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}
@keyframes slideInLeft {
  from { opacity: 0; transform: translateX(-20px); }
  to { opacity: 1; }
}
@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

.animate-fade-in-up {
  animation: fadeInUp 0.8s ease-out both;
}
.animate-fade-in {
  animation: fadeIn 0.6s ease-out both;
}
.animate-slide-left {
  animation: slideInLeft 0.6s ease-out both;
}
.delay-100 { animation-delay: 0.1s; }
.delay-200 { animation-delay: 0.2s; }
.delay-300 { animation-delay: 0.3s; }
.delay-400 { animation-delay: 0.4s; }
.delay-500 { animation-delay: 0.5s; }
.delay-600 { animation-delay: 0.6s; }

.section-title::after {
  content: '';
  display: block;
  width: 48px;
  height: 3px;
  background: var(--color-primary, #D8211E);
  margin-top: 10px;
  border-radius: 2px;
}
@media (min-width: 768px) {
  .section-title::after {
    margin-top: 12px;
  }
}

/* 主视觉等高线水印（轻量） */
.banner-topo {
  position: relative;
  isolation: isolate;
}


/* 品红→紫点缀底边（主视觉波纹） */
.wave-accent-edge {
  position: relative;
}
.wave-accent-edge::after {
  content: '';
  position: absolute;
  left: 12%;
  right: 12%;
  bottom: 0;
  height: 2px;
  border-radius: 2px;
  background: linear-gradient(90deg, #E11D74, #8A2BE2);
  opacity: 0;
  transition: opacity 0.3s ease;
}
.wave-accent-edge:hover::after {
  opacity: 0.85;
}

/* 大会看点 · 内容卡：白底 + 底部粉色波纹 */
.highlight-card {
  min-height: 280px;
  color: var(--color-heading, #333333);
  background-color: #ffffff;
  background-image: url('./img/kandian-bg.png');
  background-repeat: no-repeat;
  background-position: center bottom;
  background-size: cover;
  border: 1px solid rgba(219, 58, 54, 0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.highlight-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 18px 40px -18px rgba(219, 58, 54, 0.28);
}
.highlight-card__index {
  font-size: 2.5rem;
  line-height: 1;
  font-weight: 700;
  letter-spacing: -0.03em;
  font-variant-numeric: tabular-nums;
  color: var(--color-primary, #db3a36);
}
.highlight-card__body {
  max-width: 36rem;
}

/* 会议日程 · 时间轴卡片（对齐小程序 richeng） */
.home-schedule-card {
  position: relative;
  overflow: hidden;
  border-radius: 0.75rem;
  background-color: #ffffff;
  background-image: url('./img/richeng-bg.png');
  background-repeat: no-repeat;
  background-position: right bottom;
  background-size: 100% auto;
  border: 1px solid #F1F1F1;
  min-height: 320px;
  padding: 0.75rem 1.25rem 2.5rem;
}
@media (min-width: 768px) {
  .home-schedule-card {
    border-radius: 0.75rem;
    min-height: 420px;
    padding: 3rem 6rem 6.5rem;
    background-image: url('./img/richeng-bg-pc.png');
    background-position: center bottom;
    background-size: 100% auto;
  }
}
.home-schedule-list {
  display: grid;
  grid-template-columns: 1fr;
}
@media (min-width: 768px) {
  .home-schedule-list {
    grid-template-columns: 1fr 1fr;
    column-gap: 2.5rem;
  }
}
.home-schedule-item {
  display: flex;
  align-items: stretch;
}
.home-schedule-rail {
  position: relative;
  width: 6px;
  flex-shrink: 0;
  margin-right: 1rem;
}
@media (min-width: 768px) {
  .home-schedule-rail {
    margin-right: 1rem;
  }
}
.home-schedule-dot {
  position: absolute;
  left: 0;
  top: 1.35rem;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--color-primary, #db3a36);
  z-index: 1;
}
.home-schedule-line {
  position: absolute;
  left: 2px;
  top: 1.55rem;
  bottom: -1.55rem;
  width: 2px;
  background: #f7d9da;
}
/* 移动端：单列时间轴，末项无线 */
.home-schedule-item:last-child .home-schedule-line {
  display: none;
}
/* PC：双列各自断线，避免跨列连线 */
@media (min-width: 768px) {
  .home-schedule-line {
    display: none;
  }
}
.home-schedule-body {
  flex: 1;
  min-width: 0;
  padding: 0.75rem 0;
  border-top: 1px solid #f2f2f2;
}
.home-schedule-item:first-child .home-schedule-body {
  border-top: none;
}
@media (min-width: 768px) {
  .home-schedule-item:nth-child(2) .home-schedule-body {
    border-top: none;
  }
}
.home-schedule-name {
  display: block;
  font-size: 1rem;
  font-weight: 600;
  line-height: 1.45;
  color: #222222;
}
@media (min-width: 768px) {
  .home-schedule-name {
    font-size: 1.5rem;
  }
}
.home-schedule-detail {
  display: block;
  margin-top: 0.25rem;
  font-size: 0.875rem;
  line-height: 1.5;
  color: #999999;
}
.home-schedule-note {
  display: block;
  margin-top: 0.5rem;
  margin-left: 1.375rem;
  font-size: 0.75rem;
  line-height: 1.6;
  color: #bbbbbb;
}
@media (min-width: 768px) {
  .home-schedule-note {
    margin-top: 0.75rem;
    margin-left: 0;
    text-align: center;
  }
}

/* 部分议题 · 整块区域背景（对角等高线/节点装饰） */
.topics-section {
  background-color: #F7F8FA;
  background-image: url('./img/yiti-bg.png');
  background-repeat: no-repeat;
  background-position: center;
  background-size: cover;
}

/* 重点议题 · 序号与标题同行 */
.topic-card {
  background:  #ffffff;
  border: 1px solid rgba(216, 33, 30, 0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease, background 0.3s ease;
}
.topic-card:hover {
  transform: translateY(-3px);
  border-color: rgba(216, 33, 30, 0.2);
  background: #ffffff;
  box-shadow: 0 16px 36px -14px rgba(216, 33, 30, 0.12);
}
.topic-card::before {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 2px;
  border-radius: 0 0 0.75rem 0.75rem;
  background: linear-gradient(90deg, #E11D74, #8A2BE2);
  opacity: 0;
  transition: opacity 0.3s ease;
  pointer-events: none;
}

.topic-card__num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 1.75rem;
  height: 1.75rem;
  padding: 0 0.35rem;
  border-radius: 0.5rem;
  font-size: 0.8125rem;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  line-height: 1;
  color: #D8211E;
  background: rgba(216, 33, 30, 0.1);
  transition: background 0.3s ease, color 0.3s ease;
}
.topic-card:hover .topic-card__num {
  background: #D8211E;
  color: #ffffff;
}
/* 右下角小点缀：描边方块 + 小圆点 */
.topic-card::after {
  content: '';
  position: absolute;
  right: 14px;
  bottom: 14px;
  width: 24px;
  height: 24px;
  border-radius: 7px;
  border: 1px solid rgba(216, 33, 30, 0.16);
  transform: rotate(-8deg);
  pointer-events: none;
  opacity: 0.65;
  transition: opacity 0.3s ease, border-color 0.3s ease;
}
.topic-card:hover::after {
  opacity: 0.9;
  border-color: rgba(216, 33, 30, 0.28);
}
.topic-card__corner {
  position: absolute;
  right: 11px;
  bottom: 36px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: rgba(225, 29, 116, 0.35);
  pointer-events: none;
  opacity: 0.7;
}

/* 组织机构 · 左右「空间节点」装饰（圆角方框 + 圆点 + 极细线） */
.org-nodes {
  opacity: 0.45;
}
.org-nodes__cluster {
  position: absolute;
  width: 120px;
  height: 120px;
  animation: float 6s ease-in-out infinite;
}
.org-nodes__cluster--left {
  top: 18%;
  left: 4%;
  animation-duration: 6.5s;
}
.org-nodes__cluster--right {
  bottom: 16%;
  right: 4%;
  animation-duration: 7s;
  animation-delay: 1.2s;
}
@media (min-width: 768px) {
  .org-nodes__cluster {
    width: 148px;
    height: 148px;
  }
  .org-nodes__cluster--left {
    left: 6%;
  }
  .org-nodes__cluster--right {
    right: 6%;
  }
}
.org-nodes__box {
  position: absolute;
  top: 28%;
  left: 28%;
  width: 44%;
  height: 44%;
  border-radius: 10px;
  border: 1px solid rgba(216, 33, 30, 0.28);
  background: transparent;
}
.org-nodes__cluster--right .org-nodes__box {
  border-color: rgba(138, 43, 226, 0.26);
}
.org-nodes__dot {
  position: absolute;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: rgba(216, 33, 30, 0.35);
}
.org-nodes__cluster--right .org-nodes__dot {
  background: rgba(138, 43, 226, 0.32);
}
.org-nodes__dot--a {
  top: 8%;
  left: 50%;
  margin-left: -2.5px;
}
.org-nodes__dot--b {
  top: 50%;
  right: 6%;
  margin-top: -2.5px;
}
.org-nodes__dot--c {
  bottom: 10%;
  left: 12%;
}
.org-nodes__line {
  position: absolute;
  background: rgba(216, 33, 30, 0.18);
  pointer-events: none;
}
.org-nodes__cluster--right .org-nodes__line {
  background: rgba(138, 43, 226, 0.16);
}
/* 竖线：上圆点 → 方框中心 */
.org-nodes__line--v {
  top: 10%;
  left: 50%;
  width: 1px;
  height: 28%;
  margin-left: -0.5px;
}
/* 横线：方框中心 → 右圆点 */
.org-nodes__line--h {
  top: 50%;
  left: 50%;
  width: 38%;
  height: 1px;
  margin-top: -0.5px;
}
/* 斜线：方框左下 → 左下圆点 */
.org-nodes__line--d {
  top: 58%;
  left: 18%;
  width: 1px;
  height: 28%;
  transform: rotate(32deg);
  transform-origin: top center;
}

/* 组织机构 · 横向三列，单位名称不折行 */
.org-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
  justify-content: center;
}
.org-block__name {
  white-space: nowrap;
}
@media (max-width: 480px) {
  .org-block__name {
    white-space: normal;
  }
}
@media (min-width: 768px) {
  .org-grid {
    gap: 1.75rem;
  }
}
@media (min-width: 1200px) {
  .org-grid {
    grid-template-columns: repeat(3, max-content);
    gap: 0 2.25rem;
  }
}
.org-block + .org-block {
  margin-top: 0;
  padding-top: 1.25rem;
  border-top: 1px dashed rgba(216, 33, 30, 0.18);
}
@media (min-width: 768px) {
  .org-block + .org-block {
    padding-top: 1.75rem;
  }
}
@media (min-width: 1200px) {
  .org-block + .org-block {
    padding-top: 0;
    border-top: none;
    border-left: 1px dashed rgba(216, 33, 30, 0.18);
    padding-left: 2.25rem;
  }
}
.org-block__label {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  margin-bottom: 1rem;
  font-size: 1.125rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  color: #D8211E;
}
.org-block__label::before,
.org-block__label::after {
  content: '';
  width: 40px;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(225, 29, 116, 0.55));
}
.org-block__label::after {
  background: linear-gradient(90deg, rgba(138, 43, 226, 0.55), transparent);
}
.org-block__list {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.65rem;
}

/* 右侧浮层：悬停展开（资料领取 / 小程序 / 技术支持） */
.materials-float__pop,
.miniprogram-float__pop,
.support-float__pop {
  position: absolute;
  right: 100%;
  top: 50%;
  z-index: 2;
  padding-right: 12px;
  transform: translateY(-50%);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.2s ease, visibility 0.2s ease;
}
.materials-float:hover .materials-float__pop,
.materials-float:focus-within .materials-float__pop,
.materials-float.is-open .materials-float__pop,
.miniprogram-float:hover .miniprogram-float__pop,
.miniprogram-float:focus-within .miniprogram-float__pop,
.miniprogram-float.is-open .miniprogram-float__pop,
.support-float:hover .support-float__pop,
.support-float:focus-within .support-float__pop,
.support-float.is-open .support-float__pop {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

/* 回到顶部：默认隐藏，滚动超过一屏后显示 */
.back-to-top {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateY(8px);
  transition: opacity 0.25s ease, visibility 0.25s ease, transform 0.25s ease, background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}
.back-to-top.is-visible {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateY(0);
}

.timeline-item::before {
  content: '';
  position: absolute;
  left: -29px;
  top: 8px;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--color-primary, #D8211E);
  border: 3px solid white;
  box-shadow: 0 0 0 2px var(--color-primary, #D8211E);
  z-index: 1;
}

html {
  scroll-behavior: smooth;
}

/* 锚点跳转后去掉按钮残留焦点白块 */
#hero a[href="#about"]:focus:not(:focus-visible) {
  outline: none;
}
#hero a[href="#about"]:focus-visible {
  outline: none;
}
