@charset "UTF-8";

/* 案例详情页 (Figma 605:493) 专属样式。内容主轴宽 930px 居中。 */

.cd-page {
  position: relative;
  z-index: 1;
  padding-top: 1px;
}

/* 粒子/极光背景:满帧居中铺底,内容叠于其上 */
.cd-aurora {
  position: absolute;
  left: 50%;
  top: -200px;
  width: 1600px;
  max-width: none;
  height: 1100px;
  transform: translateX(-50%);
  object-fit: cover;
  opacity: 0.4;
  z-index: 0;
  pointer-events: none;
}

.cd-main {
  position: relative;
  z-index: 2;
  width: min(930px, calc(100% - 2 * var(--page-gutter)));
  margin: 0 auto;
  /* 与顶部留白呼应,避免正文末尾紧贴页脚 */
  padding-bottom: clamp(80px, 10vw, 120px);
}

/* 返回列表 */
.cd-back {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: clamp(96px, 13vw, 110px) 0 0;
  color: #fff;
  font-size: 0.875rem;
  line-height: 1.071;
  text-transform: uppercase;
}

.cd-back img {
  width: 20px;
  height: 20px;
}

/* 标题 */
/* 左对齐：本页其余元素（案例名、小标签、正文）以及活动详情页的标题都是
   左对齐，只有这里居中，两个详情页对不上。 */
.cd-title {
  margin: 42px 0 0;
  /* 原来左右各 10px 内距是配合居中排版的；改左对齐后它会让标题比正文右移
     10px，两者对不上一条竖线，所以去掉横向内距 */
  padding: 0 0 30px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
  color: #fff;
  font-size: clamp(2.5rem, 3.35vw, 4rem);
  font-weight: 400;
  line-height: 1.2;
  letter-spacing: -0.0375em;
  text-align: left;
}

/* 通用小标签 */
.cd-label {
  margin: 0;
  color: #fff;
  font-family: var(--font-latin);
  font-size: 0.75rem;
  line-height: 1.333;
  letter-spacing: 2px;
  text-transform: uppercase;
}

/* 团队介绍 */
.cd-intro {
  display: flex;
  justify-content: space-between;
  gap: clamp(32px, 5vw, 60px);
  margin-top: clamp(64px, 11vw, 130px);
}

.cd-intro__text {
  flex: 0 1 360px;
  padding-top: 18px;
}

/* 案例名在 360px 的窄栏里，原来的 44~64px 会撑到三行，而且跟页面主标题
   （.cd-title）一样大甚至更大，层级倒置。桌面这里压到 32~44px。 */
.cd-intro__name {
  margin: 40px 0 0;
  color: #fff;
  font-family: var(--font-latin);
  font-size: clamp(2rem, 2.6vw, 2.75rem);
  font-weight: 400;
  line-height: 1.15;
  letter-spacing: -0.6px;
}

.cd-intro__about {
  margin: 56px 0 0;
  max-width: 340px;
  color: rgba(255, 255, 255, 0.8);
  font-size: 1rem;
  line-height: 1.625;
}

.cd-intro__photo {
  flex: 0 0 455px;
  width: 455px;
  height: 455px;
  border-radius: 20px;
  overflow: hidden;
}

.cd-intro__photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* 正文区 */
.cd-body {
  display: flex;
  flex-direction: column;
  gap: clamp(56px, 9vw, 100px);
  margin-top: clamp(64px, 11vw, 130px);
}

.cd-summary {
  display: flex;
  flex-direction: column;
  gap: 30px;
  margin-top: 20px;
}

.cd-summary__lead {
  margin: 0;
  color: #fff;
  font-size: clamp(1.125rem, 2.4vw, 1.5rem);
  line-height: 1.4;
}

.cd-summary__image {
  width: 100%;
  height: clamp(220px, 56vw, 524px);
  border-radius: 20px;
  object-fit: cover;
}

.cd-rich h3 {
  margin: 0 0 6px;
  color: rgba(255, 255, 255, 0.8);
  font-size: 1rem;
  font-weight: 600;
  line-height: 1.625;
}

.cd-rich p {
  margin: 0;
  color: rgba(255, 255, 255, 0.8);
  font-size: 1rem;
  line-height: 1.625;
}

.cd-rich p + p {
  margin-top: 0.9em;
}

.cd-rich ul,
.cd-rich ol {
  margin: 0.9em 0 0;
  padding-left: 1.25em;
  color: rgba(255, 255, 255, 0.8);
  font-size: 1rem;
  line-height: 1.625;
}

.cd-rich a {
  color: #fff;
  text-underline-offset: 3px;
}

.cd-rich + .cd-rich {
  margin-top: 30px;
}

/* 里程碑卡片 */
.cd-milestones {
  display: flex;
  flex-direction: column;
  gap: 30px;
  padding: 20px 30px 50px 40px;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.06);
  -webkit-backdrop-filter: blur(15px);
  backdrop-filter: blur(15px);
}

.cd-timeline {
  position: relative;
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 40px;
}

.cd-timeline::before {
  content: "";
  position: absolute;
  left: 4.5px;
  top: 12px;
  bottom: 12px;
  width: 1px;
  background: rgba(255, 255, 255, 0.3);
}

.cd-milestone {
  position: relative;
  display: flex;
  align-items: center;
  gap: 10px;
}

.cd-milestone__dot {
  flex: none;
  width: 10px;
  height: 10px;
}

.cd-milestone__head {
  margin: 0;
  color: #fff;
  font-size: 0.875rem;
  line-height: 1.071;
  text-transform: uppercase;
}

.cd-milestone__desc {
  margin: 4px 0 0;
  color: rgba(255, 255, 255, 0.7);
  font-size: 1rem;
  line-height: 1;
}

/* 推荐案例 */
.cd-related {
  display: grid;
  gap: 34px;
}

.cd-related__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
}

.cd-related__card {
  position: relative;
  display: grid;
  gap: 12px;
  align-content: center;
  min-height: 118px;
  /* 上下留白必须靠 padding，不能只指望 align-content:center 撑住——
     摘要文字换到 3 行时会超过 min-height，没有上下 padding 就会顶到边框。 */
  padding: 24px 50px 24px 32px;
  border: 1px solid rgba(0, 0, 0, 0.05);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.06);
}

.cd-related__card strong {
  color: #fff;
  font-size: 1.25rem;
  font-weight: 400;
  line-height: 1;
  letter-spacing: -0.4px;
}

.cd-related__card span {
  color: rgba(255, 255, 255, 0.4);
  font-size: 0.875rem;
  line-height: 1.3;
}

.cd-related__card img {
  position: absolute;
  right: 29px;
  top: 50%;
  transform: translateY(-50%);
  width: 16px;
  height: 16px;
  transition: transform 0.3s ease;
}

/* —— 交互反馈 —— */
.cd-related__card {
  transition: transform 0.3s cubic-bezier(0.22, 1, 0.36, 1), background 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}
.cd-related__card:hover {
  transform: translateY(-4px);
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.18);
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.35);
}
.cd-related__card:hover img {
  transform: translateY(-50%) translateX(4px);
}

.cd-back,
.cd-back img {
  transition: transform 0.25s cubic-bezier(0.22, 1, 0.36, 1), color 0.2s ease;
}
.cd-back:hover { color: rgba(255, 255, 255, 0.85); }
.cd-back:hover img { transform: translateX(-4px); }
.cd-back:focus-visible { outline: 2px solid rgba(255, 255, 255, 0.6); outline-offset: 4px; border-radius: 6px; }

@media (prefers-reduced-motion: reduce) {
  .cd-related__card, .cd-back, .cd-back img { transition: none; }
  .cd-related__card:hover, .cd-back:hover img { transform: none; }
}

@media (max-width: 820px) {
  .cd-intro {
    flex-direction: column;
  }
  .cd-intro__text {
    flex-basis: auto;
  }
  .cd-intro__about {
    max-width: none;
  }
  .cd-intro__photo {
    flex-basis: auto;
    width: 100%;
    height: auto;
    aspect-ratio: 1;
  }
  .cd-related__grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 600px) {
  .cd-title {
    padding: 0 0 24px;
  }
  .cd-milestones {
    padding: 18px 18px 40px 22px;
  }
  .cd-related__card {
    padding: 16px 40px 16px 20px;
    min-height: 0;
  }
}

/* —— 团队成员与投资人可见区块（案例详情页） —— */
/* 按 Figma 1029:697 还原：与页面其他区块同一套面板，没有额外的强调边框。 */

.cd-members {
  list-style: none;
  margin: 18px 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 40px;
}

.cd-member {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}

.cd-members > .cd-member:nth-child(even) {
  padding-left: 40px;
  border-left: 1px solid rgba(255, 255, 255, 0.1);
}

.cd-member__avatar {
  width: 48px;
  height: 48px;
  flex: 0 0 48px;
  border-radius: 50%;
  object-fit: cover;
}

.cd-member__name {
  margin: 0;
  color: #fff;
  font-size: 1.25rem;
  font-weight: 500;
  line-height: 1.6;
}

.cd-member__role {
  margin: 0;
  opacity: 0.6;
  color: #fff;
  font-size: 1rem;
  font-weight: 300;
  line-height: 1.6;
}

.cd-member__bio {
  margin: 12px 0 0;
  color: #fff;
  font-size: 1rem;
  font-weight: 300;
  line-height: 1.6;
}

/* 面板：融资需求、BP 下载共用 */
.cd-panel {
  margin-top: 10px;
  padding: 24px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.06);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
}

.cd-panel--split {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}

.cd-panel__text {
  margin: 0;
  color: #fff;
  font-size: 1rem;
  font-weight: 500;
  line-height: 1.6;
}

.cd-file {
  display: flex;
  align-items: center;
  gap: 14px;
}

.cd-file__icon {
  width: 24px;
  height: 24px;
  flex: none;
}

.cd-file__name {
  margin: 0;
  color: rgba(255, 255, 255, 0.95);
  font-family: var(--font-latin);
  font-size: 1rem;
  font-weight: 700;
  line-height: 19.25px;
  word-break: break-all;
}

.cd-file__meta {
  margin: 4px 0 0;
  color: rgba(255, 255, 255, 0.5);
  font-size: 0.875rem;
  line-height: 21px;
}

.cd-download {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  height: 50px;
  padding: 0 24px;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.06);
  -webkit-backdrop-filter: blur(20px);
  backdrop-filter: blur(20px);
  color: #fff;
  font-size: 0.875rem;
  font-weight: 500;
  line-height: 1.6;
  white-space: nowrap;
}

.cd-download:hover {
  background: rgba(255, 255, 255, 0.14);
}

.cd-download img {
  width: 14px;
  height: 14px;
}

@media (max-width: 820px) {
  .cd-members {
    grid-template-columns: minmax(0, 1fr);
    gap: 28px;
  }

  .cd-members > .cd-member:nth-child(even) {
    padding-left: 0;
    padding-top: 28px;
    border-left: 0;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
  }
}

@media (max-width: 560px) {
  .cd-panel {
    padding: 18px;
  }

  .cd-download {
    width: 100%;
  }
}

/* 投资人专属信息外框。
   设计稿没有这一层——它是刻意补的可见性标注：团队编辑资料时要能一眼看出
   哪几块不对外公开。描边取 #589eff，与投资人看板卡片同色，语义归属一致。 */
.cd-restricted {
  position: relative;
  display: grid;
  gap: 30px;
  padding: 30px;
  border: 1px solid rgba(88, 158, 255, 0.45);
  border-radius: 20px;
  background: rgba(88, 158, 255, 0.05);
}

.cd-restricted__tag {
  position: absolute;
  top: -10px;
  left: 24px;
  margin: 0;
  padding: 2px 10px;
  border-radius: 999px;
  background: #589eff;
  color: #04122b;
  font-size: 0.6875rem;
  font-weight: 600;
  line-height: 1.5;
  letter-spacing: 0.5px;
}

@media (max-width: 560px) {
  .cd-restricted {
    padding: 24px 18px;
    gap: 24px;
  }
}

/* ═══ 手机端字号 ═══════════════════════════════════════════════════════
   桌面 clamp 的下限（标题 2.5rem、案例名 2.75rem）是给桌面兜底的，
   375px 下 vw 项远小于下限，于是全部取到下限：标题 40px 占满 7 行，
   案例名 44px 甚至比页面主标题还大，层级倒置。这里按视口重新给一档，
   并顺带把正文压小半档。 */
@media (max-width: 768px) {
  .cd-title {
    font-size: clamp(1.625rem, 5.6vw, 2rem);
    line-height: 1.25;
  }

  /* 必须小于页面主标题，保持层级 */
  .cd-intro__name {
    font-size: clamp(1.375rem, 4.8vw, 1.75rem);
    line-height: 1.15;
  }

  .cd-summary__lead {
    font-size: 1rem;
    line-height: 1.5;
  }

  .cd-intro__about,
  .cd-rich h3,
  .cd-rich p,
  .cd-rich ul,
  .cd-rich ol,
  .cd-panel__text {
    font-size: 0.9375rem;
    line-height: 1.6;
  }
}
