/* ==========================================================================
   Taimei IIT-EDC — 临床研究数据管理平台产品页
   Native CSS, 1440px design, light theme, pixel-based positioning.
   公共 header/footer 由 common/*.css 负责。
   ========================================================================== */

:root {
  --page-width: 1440px;
  --blue: #0A47ED;
  --light-card: #F5F7FF;
  --text-dark: #3E3E3E;
  --white: #FFFFFF;

  --font: "Inter", "Noto Sans SC", "Microsoft YaHei", "PingFang SC", sans-serif;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  overflow-x: hidden;
}

body {
  font-family: var(--font);
  background: var(--white);
  color: var(--text-dark);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img {
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

ul {
  list-style: none;
}

.page {
  position: relative;
  width: var(--page-width);
  margin: 0 auto;
}

/* ==========================================================================
   Banner（0-800：径向渐变 + 抽象图 + 波浪装饰）
   ========================================================================== */

.banner {
  position: relative;
  height: 800px;
}

/* 全宽径向渐变：底部中心白色 → 青蓝 → 深蓝（同 ecoperate） */
.banner__bg {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: max(1440px, 100vw);
  height: 100%;
  background: radial-gradient(
    450% 100% at 50% 100%,
    rgba(255, 255, 255, 1) 11%,
    rgba(0, 147, 213, 1) 35%,
    rgba(0, 15, 96, 1) 89%
  );
  z-index: 0;
}

/* 波浪装饰：x451 y-139，20% 不透明度 */
.banner__wave {
  position: absolute;
  top: -139px;
  left: 451px;
  width: 1245px;
  height: 788px;
  opacity: 0.2;
  z-index: 1;
  pointer-events: none;
}

/* 文字块：x80 y261，宽 640，垂直节奏 70/20/40/20/60 */
.banner__text {
  position: absolute;
  top: 261px;
  left: 80px;
  width: 640px;
  display: flex;
  flex-direction: column;
  gap: 20px;
  z-index: 2;
}

.banner__title {
  font-size: 64px;
  font-weight: 500;
  line-height: 70px;
  letter-spacing: -0.05em;
  color: var(--white);
}

.banner__subtitle {
  font-size: 30px;
  font-weight: 700;
  line-height: 40px;
  color: var(--white);
}

.banner__desc {
  font-size: 18px;
  font-weight: 400;
  line-height: 30px;
  letter-spacing: 0.05em;
  color: rgba(245, 247, 255, 0.7);
}

/* 产品图：x720 y206，720×360，左侧圆角（右缘贴设计画布右缘） */
.banner__product {
  position: absolute;
  top: 206px;
  left: 720px;
  width: 720px;
  height: 360px;
  border-radius: 10px 0 0 10px;
  object-fit: cover;
  z-index: 2;
}

/* ==========================================================================
   内容区（1280 居中，y800 起）
   ========================================================================== */

.content {
  width: 1280px;
  margin: 0 auto;
}

/* ==========================================================================
   多样化数据采集（放射图卡片）
   ========================================================================== */

.collect {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  padding: 40px;
  background: var(--light-card);
  border-radius: 20px;
}

.collect__title {
  width: 1200px;
  font-size: 30px;
  font-weight: 700;
  line-height: 40px;
  text-align: center;
  color: var(--blue);
}

/* 放射图容器：1200×429，中心 SVG + 5 组功能文字绝对定位 */
.collect__diagram {
  position: relative;
  width: 1200px;
  height: 429px;
}

.collect__svg {
  position: absolute;
  top: 55.95px;
  left: 433.83px;
  width: 333.14px;
  height: 319.05px;
}

/* 功能点：标题 24/40 #0A47ED，描述 18/30 #3E3E3E */
.feat__title {
  position: absolute;
  font-size: 24px;
  font-weight: 400;
  line-height: 40px;
  color: var(--blue);
  white-space: nowrap;
}

.feat__desc {
  position: absolute;
  width: 360px;
  font-size: 18px;
  font-weight: 400;
  line-height: 30px;
  letter-spacing: 0.05em;
  text-align: left;
  color: var(--text-dark);
}

/* f1 顶部：标题水平居中（图标中心 x=600），描述在标题右侧 */
.feat--1 .feat__title {
  left: 400px;
  width: 400px;
  top: 0;
  text-align: center;
}

.feat--1 .feat__desc {
  left: 717px;
  top: 4px;
}

/* f2 右上：左对齐 */
.feat--2 .feat__title {
  left: 790px;
  top: 150px;
}

.feat--2 .feat__desc {
  left: 790px;
  top: 190px;
}

/* f3 右下：左对齐 */
.feat--3 .feat__title {
  left: 738px;
  top: 315px;
}

.feat--3 .feat__desc {
  left: 738px;
  top: 355px;
}

/* f4 左下：右对齐（标题右缘 462，描述框居中） */
.feat--4 .feat__title {
  right: 738px;
  top: 315px;
  text-align: right;
}

.feat--4 .feat__desc {
  left: 102px;
  top: 355px;
  text-align: center;
}

/* f5 左上：右对齐（标题右缘 411，描述框居中） */
.feat--5 .feat__title {
  right: 789px;
  top: 150px;
  text-align: right;
}

.feat--5 .feat__desc {
  left: 51px;
  top: 190px;
  text-align: center;
}

/* ---- 英文版差异（设计稿英文版文字框更宽、对齐不同） ----
   注：en-us.php 的 html_lang 为 'en'（非 'en-us'），双选择器兼容两种输出 */
html[lang="en-us"] .feat--1 .feat__desc,
html[lang="en"] .feat--1 .feat__desc {
  left: 790px;
  width: 366px;
}

html[lang="en-us"] .feat--4 .feat__desc,
html[lang="en"] .feat--4 .feat__desc {
  left: 0;
  width: 462px;
  text-align: right;
}

html[lang="en-us"] .feat--5 .feat__desc,
html[lang="en"] .feat--5 .feat__desc {
  text-align: right;
}

/* ==========================================================================
   2×2 功能卡片
   ========================================================================== */

.cards {
  margin-top: 40px;
  display: grid;
  grid-template-columns: 620px 620px;
  gap: 40px 40px;
}

.card {
  display: flex;
  flex-direction: column;
  gap: 30px;
  padding: 40px;
  background: var(--light-card);
  border-radius: 20px;
}

/* card1 内容较少，用 67px 间隙补齐至与 card2 等高（图片底缘对齐） */
.card--1 {
  gap: 67px;
}

.card__title {
  width: 540px;
  font-size: 30px;
  font-weight: 700;
  line-height: 40px;
  text-align: center;
  color: var(--blue);
}

.card__title span {
  display: block;
}

.card__body {
  width: 540px;
  font-size: 18px;
  font-weight: 400;
  line-height: 30px;
  letter-spacing: 0.05em;
  text-align: center;
  color: var(--text-dark);
}

/* 段落间距：Figma paragraphSpacing 14px（30px 行高 + 14px = 44px 行进给） */
.card__body p + p {
  margin-top: 14px;
}

/* card2：左对齐（带 "  - " 前缀的列表） */
.card__body--left {
  text-align: left;
}

/* card4：设计稿中段落为软换行（无段距，30px 行进给） */
.card__body--tight p + p {
  margin-top: 0;
}

.card__img {
  width: 540px;
  height: 240px;
  object-fit: cover;
}
