/* ==========================================================================
   Taimei 星图（无界-星图 HCP360）— 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;
  --white-15: rgba(255, 255, 255, 0.15);
  --card-bg: #F5F7FF;

  --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;
}

img {
  display: block;
}

a {
  color: inherit;
  text-decoration: 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: 206px;
  left: 80px;
  width: 1360px;
  display: flex;
  align-items: flex-start;
  justify-content: flex-end;
}

/* 设计稿文案框为 640 宽（标题为自适应单行），不留右内边距以免标题被折行 */
.banner__text {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 20px;
  width: 640px;
  padding: 55px 0 0 0;
}

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

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

.banner__product {
  width: 720px;
  height: 360px;
  border-radius: 10px 0 0 10px;
  object-fit: cover;
}

/* ==========================================================================
   Content
   ========================================================================== */

.content {
  position: relative;
  height: 1239px;
}

/* --------------------------------------------------------------------------
   能力总览（深蓝卡 1280×745，整图为一张图）
   -------------------------------------------------------------------------- */

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

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

.hero__dash {
  position: absolute;
  top: -27px;
  left: 0;
  width: 1280px;
  height: 800px;
  opacity: 0.2;
  background: repeating-linear-gradient(
    to bottom,
    #5EA4FF 0,
    #5EA4FF 1px,
    transparent 1px,
    transparent 100px
  );
  -webkit-mask: repeating-linear-gradient(
    to right,
    #000 0,
    #000 4px,
    transparent 4px,
    transparent 8px
  );
  mask: repeating-linear-gradient(
    to right,
    #000 0,
    #000 4px,
    transparent 4px,
    transparent 8px
  );
  z-index: 0;
}

.hero__img {
  position: absolute;
  top: -6px;
  left: 160px;
  width: 960px;
  height: 758px;
  object-fit: cover;
  z-index: 1;
}

/* --------------------------------------------------------------------------
   价值说明（左图右文 1280×454）
   -------------------------------------------------------------------------- */

.bottom {
  position: absolute;
  top: 785px;
  left: 80px;
  width: 1280px;
  height: 454px;
  background: var(--card-bg);
}

.bottom__img {
  position: absolute;
  top: 82px;
  left: 98px;
  width: 540px;
  height: 290px;
  border-radius: 10px;
  object-fit: cover;
}

.bottom__desc {
  position: absolute;
  top: 182px;
  left: 701px;
  width: 485px;
  font-size: 18px;
  font-weight: 400;
  line-height: 30px;
  letter-spacing: 0.05em;
  color: var(--text-dark);
}

/* ==========================================================================
   Footer（与其它产品页保持一致，页面样式表内自带一份）
   ========================================================================== */

.footer {
  position: relative;
  height: 505px;
  background: #000000;
}

.footer::before {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100vw;
  height: 100%;
  background: #000000;
  z-index: 0;
}

.footer__logo {
  position: absolute;
  top: 120px;
  left: 80px;
  z-index: 1;
}

.footer__nav {
  position: absolute;
  top: 100px;
  left: 409px;
  display: flex;
  gap: 20px;
  z-index: 1;
}

.footer__nav::before,
.footer__info::before {
  content: "";
  position: absolute;
  top: -1px;
  left: -60px;
  width: 1px;
  height: 270px;
  background: rgba(255, 255, 255, 0.4);
}

.footer__nav-col {
  display: flex;
  flex-direction: column;
  min-width: 90px;
}

.footer__nav-title {
  margin: 0 0 8px;
  font-size: 12px;
  font-weight: 700;
  line-height: 25px;
  color: var(--white);
}

.footer__nav-col a {
  font-size: 12px;
  font-weight: 300;
  line-height: 25px;
  color: var(--white);
  text-decoration: none;
  white-space: nowrap;
  transition: opacity 0.2s ease;
}

.footer__nav-col a:hover {
  opacity: 0.8;
}

.footer__info {
  position: absolute;
  top: 100px;
  left: 1027px;
  width: 255px;
  z-index: 1;
}

.footer__address {
  margin: 0;
  font-size: 12px;
  line-height: 25px;
  color: var(--white);
}

.footer__address strong,
.footer__address span {
  display: block;
}

.footer__address strong {
  font-weight: 700;
}

.footer__address span {
  font-weight: 300;
}

.footer__social {
  position: absolute;
  top: 146px;
  left: 0;
  display: flex;
  align-items: center;
  gap: 40px;
}

.footer__social a {
  display: inline-flex;
  color: var(--white);
  opacity: 0.4;
  transition: opacity 0.2s ease;
}

.footer__social a:hover {
  opacity: 1;
}

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

.footer__qr {
  position: absolute;
  top: 189px;
  left: 0;
  width: 80px;
  height: 80px;
  z-index: 1;
}

/* 右侧二维码（带太美 logo）；左侧为普通二维码，靠 left: 0 定位 */
.footer__qr--taimei {
  left: 152px;
}

.footer__badge {
  position: absolute;
  top: 99px;
  left: 1320px;
  width: 40px;
  height: 40px;
  padding: 0;
  background: none;
  border: none;
  cursor: pointer;
  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__legal {
  position: absolute;
  top: 416px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  gap: 20px;
  white-space: nowrap;
  z-index: 1;
}

.footer__legal span {
  font-size: 12px;
  line-height: 25px;
  color: var(--white);
  white-space: nowrap;
}
