/* ==========================================================================
   Taimei eOutcomes (eCOA) — Product page
   Native CSS, 1440px design, pixel-based positioning.
   ========================================================================== */

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

  --font: "Inter", "Segoe UI", system-ui, -apple-system, "Helvetica Neue", Arial, sans-serif;
  --font-cn: "Noto Sans SC", "Microsoft YaHei", "PingFang SC", sans-serif;
}

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

/* banner 背景 / 页脚 ::before 等以 100vw 铺满（含滚动条宽度），
   横向溢出统一由 html 裁剪；clip 彻底禁止横向滚动（含程序滚动），旧浏览器回退 hidden */
html {
  overflow-x: hidden;
  overflow-x: clip;
}

body {
  font-family: var(--font);
  background: #ffffff;
  color: var(--text-dark);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  /* 不在 body 上设 overflow-x: hidden：与 html 重复会让 body 成为滚动容器，
     右侧出现通高的滚动条/白边（100vw 满屏层会被 body 裁掉） */
}

img {
  display: block;
}

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

ul {
  list-style: none;
}

button {
  font-family: inherit;
  border: none;
  background: none;
  cursor: pointer;
  color: inherit;
}

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

/* ==========================================================================
   Banner
   ========================================================================== */

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

/* 背景：横向远宽于纵向的扁椭圆径向，底部本身会整宽渐隐到纯白，无需蒙版；
   宽度取 max(1440px, 100vw)：窗口窄于 1440 时 100vw 小于页面宽度，
   径向边缘落进页面内会形成左右竖向断层 */
.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%
  );
}

.banner__wave {
  position: absolute;
  top: -139px;
  left: 451px;
  width: 1245px;
  height: 788px;
  opacity: 0.2;
}

.banner__content {
  position: absolute;
  top: 200px;
  left: 80px;
  width: 1360px;
  display: flex;
  align-items: center;
  justify-content: flex-end;
}

.banner__text {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 20px;
  padding-right: 40px;
}

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

.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;
  color: rgba(245, 247, 255, 0.7);
}

.banner__product-wrap {
  position: relative;
  width: 720px;
  height: 360px;
  border-radius: 10px 0 0 10px;
  overflow: hidden;
  flex-shrink: 0;
}

.banner__product {
  position: absolute;
  top: -140px;
  left: -65px;
  width: 903px;
  height: 640px;
  object-fit: cover;
}

/* ==========================================================================
   Why Taimei eOutcomes?
   ========================================================================== */

.why {
  position: relative;
  width: 1280px;
  height: 600px;
  margin: 0 auto;
}

.why__card {
  position: absolute;
  top: 0;
  left: 0;
  width: 1280px;
  height: 600px;
  background: var(--dark-blue);
  border-radius: 20px;
  overflow: hidden;
}

.why__glow {
  position: absolute;
  top: -300px;
  left: -60px;
  width: 1400px;
  height: 600px;
  background: var(--blue);
  filter: blur(152px);
}

.why__dashed {
  position: absolute;
  top: -100px;
  left: 0;
  width: 1280px;
  height: 800px;
}

.why__title {
  position: absolute;
  top: 50px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 48px;
  font-weight: 500;
  line-height: 60px;
  color: var(--white);
  white-space: nowrap;
}

.why__grid {
  position: absolute;
  top: 144px;
  left: 195px;
  display: grid;
  grid-template-columns: repeat(2, 434px);
  grid-template-rows: repeat(2, 181px);
  gap: 20px;
  list-style: none;
}

.why__item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  padding: 20px;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 10px;
}

.why__item-title {
  width: 100%;
  font-size: 18px;
  font-weight: 700;
  line-height: 27px;
  text-align: center;
  color: var(--white);
}

.why__item-row {
  display: flex;
  align-items: center;
  gap: 20px;
}

.why__item-row img {
  width: 94px;
  height: 94px;
  flex-shrink: 0;
}

.why__item-row p {
  width: 280px;
  font-size: 14px;
  line-height: 22px;
  color: var(--light-blue);
}

/* ==========================================================================
   Features: eConsent / ePRO
   ========================================================================== */

.features {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 80px;
  padding: 100px 0;
}

.feature {
  position: relative;
  width: 600px;
  height: 600px;
  background: #ffffff;
  border-radius: 20px;
  box-shadow: 0 0 12px rgba(10, 71, 237, 0.15);
  overflow: hidden;
}

.feature__img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.feature:nth-child(1) .feature__img {
  object-fit: fill;
}

.feature:nth-child(2) .feature__img {
  top: -15px;
  left: -172px;
  width: 777px;
  height: 615px;
  object-fit: cover;
}

.feature__overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 600px;
  height: 600px;
  background: rgba(255, 255, 255, 0.6);
  border-radius: 20px;
  /* 默认整体下移，只露出底部 156px 的标题条；鼠标移入时向上滑入铺满卡片 */
  transform: translateY(444px);
  transition: transform 0.35s ease, background-color 0.35s ease;
}

.feature:hover .feature__overlay {
  transform: translateY(0);
  background: rgba(255, 255, 255, 0.9);
}

.feature__title {
  position: absolute;
  top: 35px;
  left: 40px;
  font-size: 30px;
  font-weight: 700;
  line-height: 40px;
  color: var(--blue);
}

.feature__desc {
  position: absolute;
  top: 90px;
  left: 40px;
  font-size: 18px;
  line-height: 30px;
  color: var(--blue);
}

.feature__detail {
  position: absolute;
  top: 135px;
  left: 40px;
  width: 520px;
  list-style: none;
  font-size: 18px;
  line-height: 30px;
  color: var(--text-dark);
  opacity: 0;
  transition: opacity 0.35s ease;
}

.feature:hover .feature__detail {
  opacity: 1;
}

.feature__detail li {
  display: flex;
  gap: 8px;
}

.feature__detail li::before {
  content: "-";
  flex: none;
}

.feature__detail strong {
  font-weight: 700;
}

/* 英文在加粗小标题与正文之间补一个词间距（中文用全角冒号，无需间距） */
html[lang="en-us"] .feature__detail strong {
  margin-right: 6px;
}

/* ==========================================================================
   Footer
   ========================================================================== */

.footer {
  position: relative;
  height: 505px;
  background: var(--dark-blue);
}

.footer__cube {
  position: absolute;
  top: -137px;
  left: calc(50vw - 387px);
  width: 1107px;
  height: 642px;
  clip-path: inset(137px 0 0 0);
  z-index: 0;
}

.footer__glow {
  position: absolute;
  top: 292px;
  left: 50%;
  transform: translateX(-50%);
  width: 100vw;
  height: 213px;
  background: rgba(10, 71, 237, 0.8);
  filter: blur(152px);
  z-index: 0;
}

.footer__brands img {
  position: absolute;
  top: 120px;
  left: 80px;
  width: 142px;
  height: 52px;
  z-index: 1;
}

.footer__brand-2 {
  left: 258px !important;
  height: 51px !important;
}

.footer__title {
  position: absolute;
  top: 115px;
  left: 479px;
  font-size: 30px;
  font-weight: 700;
  line-height: 40px;
  color: var(--white);
  z-index: 1;
}

.footer__contact {
  position: absolute;
  top: 174px;
  left: 479px;
  z-index: 1;
}

.footer__contact--right {
  left: 782px;
}

.footer__line {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 18px;
  line-height: 30px;
  color: var(--white);
}

.footer__line--main {
  position: absolute;
  top: 30px;
  left: 0;
  white-space: nowrap;
}

.footer__line strong {
  font-weight: 400;
}

.footer__qr {
  position: absolute;
  top: 121px;
  left: 1110px;
  width: 150px;
  height: 150px;
  z-index: 1;
}

.footer__badge {
  position: absolute;
  top: 121px;
  left: 1320px;
  width: 40px;
  height: 40px;
  padding: 0;
  z-index: 1;
}

.footer__badge img {
  display: block;
  width: 100%;
  height: 100%;
}

.footer__divider {
  position: absolute;
  top: 394px;
  left: 80px;
  width: 1280px;
  border: none;
  border-top: 1px solid rgba(255, 255, 255, 0.4);
  z-index: 1;
}

.footer__social {
  position: absolute;
  top: 419px;
  left: 80px;
  display: flex;
  align-items: center;
  gap: 30px;
  z-index: 1;
}

.footer__social a {
  display: inline-flex;
  opacity: 0.4;
  transition: opacity 0.2s ease;
}

.footer__social a:hover {
  opacity: 1;
}

.footer__social img {
  width: 24px;
  height: 24px;
}

.footer__legal {
  position: absolute;
  top: 420px;
  left: 350px;
  z-index: 1;
}

.footer__legal span {
  position: absolute;
  top: 0;
  font-size: 12px;
  line-height: 22px;
  color: var(--white);
  white-space: nowrap;
}

.footer__legal span:nth-child(1) { left: 0; }
.footer__legal span:nth-child(2) { left: 377px; }
.footer__legal span:nth-child(3) { left: 564px; }
.footer__legal span:nth-child(4) { left: 784px; }

.footer__policy {
  position: absolute;
  top: 450px;
  left: 908px;
  font-size: 12px;
  line-height: 22px;
  color: var(--white);
  z-index: 1;
}

/* 窄屏 PC（980px–1439px）出血对齐已由 .banner__bg 的
   left:50% + translateX(-50%) + width:max(1440px,100vw) 处理，无需额外规则；
   抽象图已移除。 */
