/* ==========================================================================
   1. 字体导入与全局变量声明
   ========================================================================== */
@import url("https://fonts.googleapis.com/css2?family=Montserrat:wght@400;500;600;700;800&family=Plus+Jakarta+Sans:wght@400;500;600&display=swap");

:root {
  --bg-dark: #0f0e0e;
  --bg-card: #161515;
  --text-main: #ffffff;
  --text-muted: #9fa0a0;
  --border-color: rgba(255, 255, 255, 0.08);

  /* C字母完美呈现正圆的几何现代字体 */
  --font-heading: "Montserrat", sans-serif;
  --font-body: "Plus Jakarta Sans", sans-serif;

  --transition-smooth: all 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

/* --- 全局重置 --- */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  background-color: var(--bg-dark);
  color: var(--text-main);
  font-family: var(--font-body);
  font-weight: 400;
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

/* 限宽容器系统 */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  width: 100%;
}

/* ==========================================================================
      2. 现代全宽导航栏系统 (Header)
      ========================================================================== */
/* ==========================================================================
   2. 现代全宽导航栏系统 (Header - 完美吸顶带磨砂质感)
   ========================================================================== */
header {
  width: 100%;
  position: fixed; /* 核心：固定定位实现吸顶 */
  top: 0;
  left: 0;
  z-index: 100; /* 确保层级高于视频和任何其他卡片 */
  border-bottom: 1px solid transparent;
  background-color: transparent;

  /* 平滑过渡动画，当加入 .scrolled 类时产生渐变 */
  transition: background-color 0.4s ease, border-color 0.4s ease,
    backdrop-filter 0.4s ease, padding 0.4s ease;
}

/* 内部限宽容器：控制高宽与上下内边距 */
.header-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 28px 24px; /* 初始较宽敞的内边距 */
  transition: padding 0.4s ease;
}

/* 核心触发：当页面向下滚动后，JavaScript 会自动给 header 加上 .scrolled 类 */
header.scrolled {
  background-color: rgba(15, 14, 14, 0.75); /* 带有透明度的深色底 */
  border-color: var(--border-color); /* 显现出细微的边框线 */
  backdrop-filter: blur(12px); /* 现代高级磨砂玻璃特效 */
  -webkit-backdrop-filter: blur(12px); /* 兼容 Safari */
}

/* 滚动后让导航栏稍微变窄一点，腾出更多视野，显得极具动态细节 */
header.scrolled .header-container {
  padding: 16px 24px;
}

/* --- 占位修正 --- */
/* 因为 Header 变成了 fixed 定位脱离了文档流，第一屏视频的高度需要稍微注意。
     由于您的第一屏是 .hero-video-version { height: 90vh; } 且内部是绝对定位居中，
     fixed 的 header 会直接盖在视频上方，这正是电影级大屏最完美的效果！ */

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-heading);
  font-size: 17px;
  font-weight: 700;
  cursor: pointer;
  letter-spacing: -0.01em;
}

.logo-icon {
  width: 26px;
  height: 26px;
  /* background: linear-gradient(135deg, #ff4b4b, #ffb800, #00d2ff); */
  /* background-color: #ffffff; */
  border-radius: 50%;
  transition: transform 0.6s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.logo:hover .logo-icon {
  transform: scale(1.1) rotate(90deg);
}

nav ul {
  display: flex;
  gap: 32px;
  list-style: none;
}

nav a {
  font-family: var(--font-heading);
  color: var(--text-main);
  text-decoration: none;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.05em;
  position: relative;
  padding: 4px 0;
}

nav a::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background-color: #ffffff;
  border-radius: 2px;
  transition: var(--transition-smooth);
}

nav a:hover::after {
  width: 100%;
}

/* ==========================================================================
      3. 核心按钮与排版基建
      ========================================================================== */
.btn-primary {
  background-color: #ffffff;
  color: #000000;
  padding: 12px 28px;
  border: none;
  border-radius: 100px;
  font-family: var(--font-heading);
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  letter-spacing: 0.02em;
  position: relative;
  overflow: hidden;
  transition: var(--transition-smooth);
  white-space: nowrap;
  border: 1.5px solid rgba(255, 255, 255, 0.3);
}

.btn-primary:hover {
  background-color: #e5e5e5;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(255, 255, 255, 0.18);
}

.btn-outline {
  background: transparent;
  color: #ffffff;
  border: 1.5px solid rgba(255, 255, 255, 0.3);
  padding: 12px 28px;
  border-radius: 100px;
  font-family: var(--font-heading);
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: var(--transition-smooth);
}

.btn-outline .arrow {
  transition: transform 0.3s ease;
}

.btn-outline:hover {
  border-color: #ffffff;
  transform: translateY(-2px);
  background: rgba(255, 255, 255, 0.05);
}

.btn-outline:hover .arrow {
  transform: translateX(5px);
}

h2 {
  font-family: var(--font-heading);
  font-size: 45px;
  font-weight: 700;
  text-align: center;
  margin-bottom: 48px;
  letter-spacing: -0.02em;
  line-height: 1.3;
}

.section-desc {
  font-family: var(--font-heading);
  font-size: 45px;
  font-weight: 700;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  text-align: center;
  margin-bottom: 12px;
  display: block;
}

/* ==========================================================================
      4. 电影级全宽视频大屏 (Hero Full-Width Section)
      ========================================================================== */
.hero-video-version {
  position: relative;
  width: 100vw;
  height: 90vh; /* 覆盖 90% 视口高度（如需绝对满屏可改为 100vh） */
  min-height: 620px;
  overflow: hidden;
  background-color: #000;
}

/* 核心：视频绝对居中并利用 object-fit 完美剪裁填满外框 */
.hero-video-bg {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 100vw;
  height: 100%;
  object-fit: cover;
  transform: translate(-50%, -50%);
  z-index: 1;
}

/* 视频未就绪时的加载过渡状态 */
.hero-video-bg.video-not-ready {
  opacity: 0.7;
  filter: blur(4px);
  transition: opacity 1.2s ease, filter 1.2s ease;
}

/* 视频就绪后淡入 */
.hero-video-bg.video-ready {
  opacity: 1;
  filter: blur(0);
}

/* 独立站防刺眼暗黑渐变半透明覆层 */
.hero-video-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    to bottom,
    rgba(15, 14, 14, 0.35) 0%,
    rgba(15, 14, 14, 0.8) 100%
  );
  z-index: 2;
  pointer-events: none;
}

/* 全宽大屏内部的内容垂直水平绝对居中对齐机制 */
.hero-video-version .hero-video-container {
  position: relative;
  z-index: 3;
  max-width: 100% !important;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 40px;
  margin: 0;
}

.hero-video-content {
  max-width: 850px;
  width: 100%;
  margin: 0 auto;
  text-align: center;
  transform: translateZ(0);
  backface-visibility: hidden;
}

.hero-video-content h1 {
  font-family: var(--font-heading);
  font-size: 58px;
  font-weight: 800;
  line-height: 1.15;
  margin-bottom: 24px;
  letter-spacing: -0.02em;
  color: #ffffff;
  text-shadow: 0 4px 30px rgba(0, 0, 0, 0.6);
}

.hero-video-content p {
  color: rgba(255, 255, 255, 0.85);
  font-size: 18px;
  line-height: 1.6;
  margin: 0 auto 40px auto;
  max-width: 640px;
  text-shadow: 0 2px 16px rgba(0, 0, 0, 0.5);
}

.hero-actions {
  display: flex;
  gap: 16px;
  justify-content: center;
  align-items: center;
}

/* ==========================================================================
      5. 分栏、网格与图文混排 (Grid & Multi-columns Layout)
      ========================================================================== */
.partners {
  padding: 60px 0;
  border-top: 1px solid var(--border-color);
  border-bottom: 1px solid var(--border-color);
}

.partners-grid {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 32px;
  margin-top: 60px;
}

.partner-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  font-size: 13px;
  color: var(--text-muted);
  font-weight: 500;
  transition: var(--transition-smooth);
}

.partner-icon {
  width: 40px;
  height: 40px;
  opacity: 0.4;
  transition: var(--transition-smooth);
}

.partner-item:hover .partner-icon {
  opacity: 1;
  transform: translateY(-4px);
}

.split-section {
  padding: 100px 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 80px;
}
.our-section {
  padding: 100px 0;
  display: grid;
  grid-template-columns: 1fr 1fr !important;
  align-items: center;
  gap: 80px;
}
.our-section > :first-child {
  grid-column: 1 / -1; /* 1 / -1 表示从最左边横跨到最右边 */

  /* 可选：如果你希望第一行的内容文本居中，可以加下面这行 */
  /* text-align: center; */
}

.split-section.reverse {
  grid-template-columns: 1.1fr 0.9fr;
}

.split-section h2 {
  text-align: left;
  margin-bottom: 24px;
  font-size: 34px;
}

.split-section p {
  color: var(--text-muted);
  font-size: 15px;
  line-height: 1.7;
}

.hero-image-wrapper {
  position: relative;
  border-radius: 24px;
  overflow: hidden;
  aspect-ratio: 4 / 5;
  background: #252525;
  width: 100%;
  height: 100%;
}

.hero-image-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1s cubic-bezier(0.16, 1, 0.3, 1);
}

.image-hover-effect:hover img {
  transform: scale(1.05);
}

.edge-box {
  background-color: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 28px;
  padding: 48px;
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
}

.edge-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px 40px;
}

.edge-item {
  display: flex;
  gap: 16px;
}

.check-circle {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 2px;
}

.check-circle::after {
  content: "";
  width: 5px;
  height: 9px;
  border: solid #ffffff;
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
  margin-bottom: 2px;
}

.edge-item h3 {
  font-size: 16px;
  margin-bottom: 8px;
  font-weight: 600;
}

.edge-item p {
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.5;
}

/* ==========================================================================
      6. 模块卡片与用户反馈组件 (Cards & Reviews)
      ========================================================================== */
.card-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.grid-4 {
  grid-template-columns: repeat(4, 1fr);
}

.card {
  background-color: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 20px;
  padding: 32px;
  transition: var(--transition-smooth);
}

.hover-glow:hover {
  border-color: rgba(255, 255, 255, 0.2);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.5),
    inset 0 1px 0px rgba(255, 255, 255, 0.1);
  transform: translateY(-4px);
}

.card .icon-dots {
  color: var(--text-muted);
  font-size: 20px;
  margin-bottom: 24px;
  display: block;
}

.card h3 {
  font-family: var(--font-heading);
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 16px;
}

.card p {
  color: var(--text-muted);
  font-size: 13px;
  line-height: 1.6;
}

.process-num {
  font-family: var(--font-heading);
  font-size: 12px;
  font-weight: 700;
  color: var(--text-muted);
  opacity: 0.6;
  display: block;
  margin-bottom: 16px;
}

.reviews-section {
  padding: 100px 0;
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 64px;
  align-items: flex-start;
}

.reviews-section h2 {
  text-align: left;
  font-size: 38px;
}

.review-stack {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.review-card {
  border: 1px solid var(--border-color);
  border-radius: 20px;
  padding: 32px;
  background: rgba(255, 255, 255, 0.01);
  transition: var(--transition-smooth);
}

.stars {
  color: #ffb800;
  font-size: 14px;
  margin-bottom: 16px;
  letter-spacing: 2px;
}

.review-author {
  font-family: var(--font-heading);
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 12px;
  color: var(--text-main);
}

.review-text {
  color: var(--text-muted);
  font-size: 14px;
  line-height: 1.6;
}

/* ==========================================================================
      7. 底部转化区块与多列页脚 (CTA & Footer)
      ========================================================================== */
.bottom-cta {
  position: relative;
  padding: 140px 0;
  text-align: center;
  border-top: 1px solid var(--border-color);
  overflow: hidden;
  width: 100vw;
  left: 50%;
  transform: translateX(-50%) !important;
}

.bottom-cta::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: url("screencapture-noonsenet-site-2026-06-29-11_40_28.jpg");
  background-size: cover;
  background-position: center bottom;
  opacity: 0.12;
  z-index: 1;
  pointer-events: none;
  transform: scale(1.05);
  transition: transform 10s ease;
}

.bottom-cta:hover::before {
  transform: scale(1);
}

.bottom-cta-content {
  position: relative;
  z-index: 2;
  max-width: 600px;
  margin: 0 auto;
  padding: 0 16px;
}

.bottom-cta h2 {
  font-size: 38px;
  margin-bottom: 32px;
}

footer {
  background-color: #080808;
  padding: 64px 0 32px 0;
  border-top: 1px solid var(--border-color);
  width: 100%;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 64px;
  margin-bottom: 48px;
}

.footer-col h4 {
  font-family: var(--font-heading);
  font-size: 13px;
  font-weight: 700;
  margin-bottom: 24px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.footer-col p {
  color: var(--text-muted);
  font-size: 14px;
  line-height: 1.6;
}

.footer-col ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-col ul a {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 14px;
  transition: color 0.3s ease;
}

.footer-col ul a:hover {
  color: var(--text-main);
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 32px;
  border-top: 1px solid var(--border-color);
  font-size: 13px;
  color: rgba(255, 255, 255, 0.3);
}

.footer-globe {
  font-size: 16px;
  animation: spin 12s linear infinite;
  display: inline-block;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

/* ==========================================================================
      8. 视口动态滑入进场系统 (Intersection Observer Key Animations)
      ========================================================================== */
.reveal-on-scroll {
  opacity: 0;
  transform: translateY(30px) scale(0.99);
  transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1),
    transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: transform, opacity;
}

.reveal-on-scroll.is-visible {
  opacity: 1;
  transform: translateY(0) scale(1);
}

.stagger-parent .card,
.stagger-parent .partner-item,
.stagger-parent .edge-item {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s cubic-bezier(0.16, 1, 0.3, 1),
    transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal-on-scroll.is-visible .card,
.reveal-on-scroll.is-visible .partner-item,
.reveal-on-scroll.is-visible .edge-item {
  opacity: 1;
  transform: translateY(0);
}

.reveal-on-scroll.is-visible *:nth-child(1) {
  transition-delay: 0.1s;
}
.reveal-on-scroll.is-visible *:nth-child(2) {
  transition-delay: 0.2s;
}
.reveal-on-scroll.is-visible *:nth-child(3) {
  transition-delay: 0.3s;
}
.reveal-on-scroll.is-visible *:nth-child(4) {
  transition-delay: 0.4s;
}
.reveal-on-scroll.is-visible *:nth-child(5) {
  transition-delay: 0.5s;
}

/* ==========================================================================
      9. 响应式移动端与平板完美适配系统 (Responsive Design System)
      ========================================================================== */
@media (max-width: 968px) {
  nav {
    display: none;
  }

  h2 {
    font-size: 26px !important;
    margin-bottom: 32px;
  }

  /* 适配移动端通栏视频大屏高宽 */
  .hero-video-version {
    height: 80vh;
  }

  .hero-video-content h1 {
    font-size: 36px !important;
  }

  .hero-video-content p {
    font-size: 15px !important;
    padding: 0 10px;
  }

  /* 移动端两颗主按钮垂直堆叠排列 */
  .hero-actions {
    flex-direction: column;
    width: 100%;
    max-width: 280px;
    margin: 0 auto;
    gap: 12px;
  }

  .hero-actions .btn-primary,
  .hero-actions .btn-outline {
    width: 100%;
    justify-content: center;
  }

  /* 降维多列网格为垂直单流式卡片 */
  .hero,
  .split-section,
  .split-section.reverse,
  .reviews-section {
    grid-template-columns: 1fr !important;
    gap: 40px;
    padding: 60px 0;
  }

  .card-grid,
  .grid-4,
  .edge-grid {
    grid-template-columns: 1fr !important;
    gap: 16px;
  }

  .edge-box {
    padding: 24px;
    border-radius: 20px;
  }

  .split-section h2,
  .reviews-section h2 {
    text-align: center !important;
  }

  .section-desc {
    text-align: center !important;
  }

  .hero-image-wrapper {
    aspect-ratio: 1.2 / 1;
  }

  .partners-grid {
    justify-content: center;
    gap: 28px 24px;
  }

  .partner-item {
    width: calc(33.33% - 24px);
  }

  .bottom-cta h2 {
    font-size: 28px !important;
  }

  .footer-grid {
    grid-template-columns: 1fr !important;
    gap: 32px;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 12px;
    text-align: center;
  }
}

@media (max-width: 480px) {
  .partner-item {
    width: calc(50% - 24px);
  }
  .hero-video-content h1 {
    font-size: 28px !important;
  }
  .card {
    padding: 24px;
  }
}
/* 只有一个元素的时候 */
.fullscreen-grid-parent {
  display: grid;

  /* 1. 核心：利用 place-items 让唯一的子元素在上下左右都彻底拉伸填满 */
  place-items: stretch;

  /* 2. 核心：强制父容器的宽高为 100% 视口（整个屏幕） */
  width: 100%;
  height: 100%;

  /* 消除可能存在的自带内外边距 */
  margin: 0;
  padding: 0;
}

/* 唯一的子 DOM */
.fullscreen-grid-parent > div {
  width: 100%;
  height: 100%;

  /* 如果里面是图片或视频，确保它们也是全屏裁剪填充，不拉伸变形 */
  /* object-fit: cover; */
}

.litter-font-size {
  font-size: 20px !important;
}
.cta-bg {
  /* 核心：用 linear-gradient 叠一层 88% 不透明度的黑，留下 12% 的图片透明度 */
  background-image: linear-gradient(rgba(0, 0, 0, 0.48), rgba(0, 0, 0, 0.88)),
    url("./images/bg.jpg");

  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
}
