/************************************************************
** 请将全局样式拷贝到项目的全局 CSS 文件或者当前页面的顶部 **
** 否则页面将无法正常显示                                  **
************************************************************/

:root {
  --primary-color: #006c4a;
  --accent-color: #1cd798;
  --surface: #f8f9ff;
  --surface-low: #eff4ff;
  --surface-lowest: #ffffff;
  --surface-dark: #08101a;
  --text-primary: #001a12;
  --text-secondary: #4a5c56;
}

html {
  font-size: 16px;
}

body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Oxygen', 'Ubuntu', 'Cantarell', 'Fira Sans',
    'Droid Sans', 'Helvetica Neue', 'Microsoft Yahei', sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  width: 100vw;
  height: 100vh;
  background:
    radial-gradient(circle at 50% 40%, rgba(163, 226, 255, 0.082), transparent 27rem),
    radial-gradient(circle at 34% 34%, rgba(65, 142, 255, 0.052), transparent 24rem),
    radial-gradient(circle at 74% 66%, rgba(46, 229, 157, 0.036), transparent 26rem),
    #030712;
  position: relative;
  z-index: 0;
}

body * {
  box-sizing: border-box;
  flex-shrink: 0;
}

.flex-row {
  display: flex;
  flex-direction: row;
}

.flex-col {
  display: flex;
  flex-direction: column;
}

.justify-start {
  justify-content: flex-start;
}

.justify-end {
  justify-content: flex-end;
}

.justify-center {
  justify-content: center;
}

.justify-between {
  justify-content: space-between;
}

.justify-around {
  justify-content: space-around;
}

.justify-evenly {
  justify-content: space-evenly;
}

.items-start {
  align-items: flex-start;
}

.items-end {
  align-items: flex-end;
}

.items-center {
  align-items: center;
}

.items-baseline {
  align-items: baseline;
}

.items-stretch {
  align-items: stretch;
}

.self-start {
  align-self: flex-start;
}

.self-end {
  align-self: flex-end;
}

.self-center {
  align-self: center;
}

.self-baseline {
  align-self: baseline;
}

.self-stretch {
  align-self: stretch;
}

.flex-1 {
  flex: 1 1 0%;
}

.flex-auto {
  flex: 1 1 auto;
}

.grow {
  flex-grow: 1;
}

.grow-0 {
  flex-grow: 0;
}

.shrink {
  flex-shrink: 1;
}

.shrink-0 {
  flex-shrink: 0;
}

.relative {
  position: relative;
}

.ml-2 {
  margin-left: 2px;
}

.mt-2 {
  margin-top: 2px;
}

.ml-4 {
  margin-left: 4px;
}

.mt-4 {
  margin-top: 4px;
}

.ml-6 {
  margin-left: 6px;
}

.mt-6 {
  margin-top: 6px;
}

.ml-8 {
  margin-left: 8px;
}

.mt-8 {
  margin-top: 8px;
}

.ml-10 {
  margin-left: 10px;
}

.mt-10 {
  margin-top: 10px;
}

.ml-12 {
  margin-left: 12px;
}

.mt-12 {
  margin-top: 12px;
}

.ml-14 {
  margin-left: 14px;
}

.mt-14 {
  margin-top: 14px;
}

.ml-16 {
  margin-left: 16px;
}

.mt-16 {
  margin-top: 16px;
}

.ml-18 {
  margin-left: 18px;
}

.mt-18 {
  margin-top: 18px;
}

.ml-20 {
  margin-left: 20px;
}

.mt-20 {
  margin-top: 20px;
}

.ml-22 {
  margin-left: 22px;
}

.mt-22 {
  margin-top: 22px;
}

.ml-24 {
  margin-left: 24px;
}

.mt-24 {
  margin-top: 24px;
}

.ml-26 {
  margin-left: 26px;
}

.mt-26 {
  margin-top: 26px;
}

.ml-28 {
  margin-left: 28px;
}

.mt-28 {
  margin-top: 28px;
}

.ml-30 {
  margin-left: 30px;
}

.mt-30 {
  margin-top: 30px;
}

.ml-32 {
  margin-left: 32px;
}

.mt-32 {
  margin-top: 32px;
}

.ml-34 {
  margin-left: 34px;
}

.mt-34 {
  margin-top: 34px;
}

.ml-36 {
  margin-left: 36px;
}

.mt-36 {
  margin-top: 36px;
}

.ml-38 {
  margin-left: 38px;
}

.mt-38 {
  margin-top: 38px;
}

.ml-40 {
  margin-left: 40px;
}

.mt-40 {
  margin-top: 40px;
}

.ml-42 {
  margin-left: 42px;
}

.mt-42 {
  margin-top: 42px;
}

.ml-44 {
  margin-left: 44px;
}

.mt-44 {
  margin-top: 44px;
}

.ml-46 {
  margin-left: 46px;
}

.mt-46 {
  margin-top: 46px;
}

.ml-48 {
  margin-left: 48px;
}

.mt-48 {
  margin-top: 48px;
}

.ml-50 {
  margin-left: 50px;
}

.mt-50 {
  margin-top: 50px;
}

.ml-52 {
  margin-left: 52px;
}

.mt-52 {
  margin-top: 52px;
}

.ml-54 {
  margin-left: 54px;
}

.mt-54 {
  margin-top: 54px;
}

.ml-56 {
  margin-left: 56px;
}

.mt-56 {
  margin-top: 56px;
}

.ml-58 {
  margin-left: 58px;
}

.mt-58 {
  margin-top: 58px;
}

.ml-60 {
  margin-left: 60px;
}

.mt-60 {
  margin-top: 60px;
}

.ml-62 {
  margin-left: 62px;
}

.mt-62 {
  margin-top: 62px;
}

.ml-64 {
  margin-left: 64px;
}

.mt-64 {
  margin-top: 64px;
}

.ml-66 {
  margin-left: 66px;
}

.mt-66 {
  margin-top: 66px;
}

.ml-68 {
  margin-left: 68px;
}

.mt-68 {
  margin-top: 68px;
}

.ml-70 {
  margin-left: 70px;
}

.mt-70 {
  margin-top: 70px;
}

.ml-72 {
  margin-left: 72px;
}

.mt-72 {
  margin-top: 72px;
}

.ml-74 {
  margin-left: 74px;
}

.mt-74 {
  margin-top: 74px;
}

.ml-76 {
  margin-left: 76px;
}

.mt-76 {
  margin-top: 76px;
}

.ml-78 {
  margin-left: 78px;
}

.mt-78 {
  margin-top: 78px;
}

.ml-80 {
  margin-left: 80px;
}

.mt-80 {
  margin-top: 80px;
}

.ml-82 {
  margin-left: 82px;
}

.mt-82 {
  margin-top: 82px;
}

.ml-84 {
  margin-left: 84px;
}

.mt-84 {
  margin-top: 84px;
}

.ml-86 {
  margin-left: 86px;
}

.mt-86 {
  margin-top: 86px;
}

.ml-88 {
  margin-left: 88px;
}

.mt-88 {
  margin-top: 88px;
}

.ml-90 {
  margin-left: 90px;
}

.mt-90 {
  margin-top: 90px;
}

.ml-92 {
  margin-left: 92px;
}

.mt-92 {
  margin-top: 92px;
}

.ml-94 {
  margin-left: 94px;
}

.mt-94 {
  margin-top: 94px;
}

.ml-96 {
  margin-left: 96px;
}

.mt-96 {
  margin-top: 96px;
}

.ml-98 {
  margin-left: 98px;
}

.mt-98 {
  margin-top: 98px;
}

.ml-100 {
  margin-left: 100px;
}

.mt-100 {
  margin-top: 100px;
}


/* 售前咨询弹窗样式 */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 1000;
}

.modal-container {
  background-color: #ffffff;
  border-radius: 16px;
  width: 420px;
  padding: 24px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
  position: relative;
}

.modal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 8px;
}

.modal-title {
  font-size: 20px;
  font-weight: 600;
  color: #000000;
  margin: 0;
  font-family: PingFang SC;
}

.modal-close {
  background: none;
  border: none;
  font-size: 24px;
  color: #999999;
  cursor: pointer;
  padding: 0;
  width: 24px;
  height: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
}

.modal-close:hover {
  color: #666666;
}

.modal-subtitle {
  color: #999999;
  font-size: 12px;
  margin: 0 0 20px 0;
  font-family: PingFang SC;
}

.modal-form {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.form-row {
  display: flex;
  gap: 16px;
}

.form-group {
  flex: 1;
  display: flex;
  flex-direction: column;
}

.form-group-full {
  display: flex;
  flex-direction: column;
}

.form-label {
  font-size: 14px;
  color: #333333;
  margin-bottom: 8px;
  font-family: PingFang SC;
}

.required {
  color: #ff4d4f;
  margin-right: 4px;
}

.form-input,
.form-select,
.form-textarea {
  padding: 10px 12px;
  border: 1px solid #e0e0e0;
  border-radius: 4px;
  font-size: 14px;
  font-family: PingFang SC;
  outline: none;
  transition: border-color 0.3s;
  background-color: #f8f8f8;
}

.form-input:focus,
.form-select:focus,
.form-textarea:focus {
  border-color: #00a382;
}

.form-input::placeholder,
.form-textarea::placeholder {
  color: #cccccc;
}

.form-select {
  cursor: pointer;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg width='12' height='8' viewBox='0 0 12 8' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 1.5L6 6.5L11 1.5' stroke='%23999999' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
  padding-right: 32px;
}

.form-textarea {
  resize: vertical;
  min-height: 80px;
}

.form-submit {
  background-color: #00d5b0;
  color: #ffffff;
  border: none;
  border-radius: 24px;
  padding: 12px 24px;
  font-size: 16px;
  font-weight: 500;
  cursor: pointer;
  margin-top: 8px;
  font-family: PingFang SC;
  transition: background-color 0.3s;
}

.form-submit:hover {
  background-color: #00bfa0;
}

.form-submit:active {
  background-color: #00a389;
}

.image_12 {
  cursor: pointer;
}

body {
  min-width: 1300px;
  height: 100%;
  width: auto;
  overflow-x: hidden;
}

@media (max-width: 1299px) {
  body {
    min-width: 0;
    width: 100%;
    overflow-x: hidden;
  }

  .page {
    width: 100%;
    max-width: 100vw;
    overflow-x: hidden;
  }
}

.page>img {
  width: 100% !important;
  height: 100% !important;
}

img[onclick] {
  cursor: pointer;
}

span[onclick],
div[onclick] {
  cursor: pointer;
}

.beian-link {
  cursor: pointer;
  color: #333;
  text-decoration: none;
}

/* Stacking Section Containers */
.stacking-section {
  position: sticky;
  top: 0;
  height: 100vh;
  width: 100vw;
  overflow: hidden;
}

.stacking-section img {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover;
}

/* Apple Vision Pro Style Scroll Effects */
.apple-scroll-scene {
  position: relative;
  width: 100vw;
  background: #05070b;
  /* height set inline per scene, e.g., 250vh */
  --scroll-progress: 0;
}

.apple-sticky-frame {
  position: sticky;
  top: 0;
  width: 100vw;
  height: 100vh;
  overflow: hidden;
  background: #05070b;
  isolation: isolate;
}

.apple-sticky-frame .anim-layer {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  will-change: transform, opacity, filter;
}

.apple-sticky-frame .anim-layer img {
  width: 100vw !important;
  height: 100vh !important;
  object-fit: cover;
  transform-origin: center center;
  will-change: transform, filter;
}

.apple-sticky-frame .scale-down {
  transform:
    scale(calc(1 - (var(--scroll-progress, 0) * 0.11)))
    translateY(calc(var(--scroll-progress, 0) * -2.5vh));
  filter:
    saturate(calc(1 - (var(--scroll-progress, 0) * 0.16)))
    brightness(calc(1 - (var(--scroll-progress, 0) * 0.12)));
}

.apple-sticky-frame .scale-down img {
  transform: scale(calc(1.045 - (var(--scroll-progress, 0) * 0.045)));
}

.apple-sticky-frame .overlay-dark {
  z-index: 2;
  pointer-events: none;
  background:
    radial-gradient(circle at center, transparent 0%, rgba(3, 7, 18, 0.08) 42%, rgba(3, 7, 18, 0.36) 100%),
    rgba(3, 7, 18, calc(var(--scroll-progress, 0) * 0.52));
  opacity: calc(var(--scroll-progress, 0) * 0.95);
}

@media (prefers-reduced-motion: reduce) {
  .apple-sticky-frame .scale-down,
  .apple-sticky-frame .scale-down img {
    transform: none;
    filter: none;
  }

  .apple-sticky-frame .overlay-dark {
    opacity: 0;
  }
}

/* Minimalist Homepage Styles */
.minimal-home {
  position: relative;
  width: 100vw;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: center;
  color: #f8fbff;
  background:
    linear-gradient(180deg, rgba(3, 7, 18, 0.56), rgba(3, 7, 18, 0.12) 46%, rgba(3, 7, 18, 0.84)),
    radial-gradient(circle at 50% 43%, transparent 0, transparent 11rem, rgba(3, 7, 18, 0.16) 30rem, rgba(3, 7, 18, 0.82) 100%);
  background-attachment: fixed;
  overflow-x: hidden;
  overflow-y: visible;
  z-index: 10;
}

.minimal-home::before {
  content: "";
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  z-index: 2;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.008) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.006) 1px, transparent 1px);
  background-size: 86px 86px;
  mask-image: radial-gradient(circle at center, rgba(0, 0, 0, 0.22), transparent 58%);
}

.glass-nav {
  position: fixed;
  top: 0;
  width: 100%;
  padding: 24px 60px;
  display: flex;
  justify-content: center;
  z-index: 100;
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  background: linear-gradient(180deg, rgba(3, 7, 18, 0.72), rgba(3, 7, 18, 0.18));
}

.nav-content {
  display: flex;
  align-items: center;
  gap: 40px;
}

.nav-link {
  font-family: 'Inter', sans-serif;
  font-size: 14px;
  font-weight: 500;
  color: rgba(235, 246, 255, 0.68);
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  transition: color 0.3s ease;
  cursor: pointer;
}

.nav-link:focus,
.nav-dropdown summary:focus {
  outline: none;
}

.nav-link:hover,
.nav-link.active {
  color: #8fffd6;
}

.nav-dropdown {
  position: relative;
  display: flex;
  align-items: center;
}

.nav-dropdown summary {
  list-style: none;
}

.nav-dropdown summary::-webkit-details-marker {
  display: none;
}

.nav-dropdown-trigger {
  display: inline-flex;
  align-items: center;
  line-height: 1;
}

.nav-dropdown-menu {
  position: absolute;
  top: calc(100% + 18px);
  left: 50%;
  display: flex;
  align-items: stretch;
  gap: 8px;
  min-width: 372px;
  padding: 8px;
  border: 1px solid rgba(143, 255, 214, 0.16);
  border-radius: 10px;
  background: rgba(3, 7, 18, 0.9);
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.32), inset 0 1px 0 rgba(255, 255, 255, 0.07);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  opacity: 0;
  pointer-events: none;
  transform: translateX(-50%) translateY(-6px);
  transition: opacity 0.24s ease, transform 0.24s ease;
}

.nav-dropdown[open] .nav-dropdown-menu {
  opacity: 1;
  pointer-events: auto;
  transform: translateX(-50%) translateY(0);
}

.nav-dropdown-menu a {
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 112px;
  padding: 11px 14px;
  border: 1px solid rgba(143, 255, 214, 0.08);
  border-radius: 7px;
  color: rgba(235, 246, 255, 0.78);
  font-family: 'Inter', sans-serif;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.03em;
  text-align: center;
  text-decoration: none;
  white-space: nowrap;
  transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.nav-dropdown-menu a:nth-child(1) {
  background: rgba(255, 255, 255, 0.045);
  border-color: rgba(143, 255, 214, 0.08);
}

.nav-dropdown-menu a:nth-child(2) {
  background: rgba(255, 255, 255, 0.045);
  border-color: rgba(143, 255, 214, 0.08);
}

.nav-dropdown-menu a:nth-child(3) {
  background: rgba(255, 255, 255, 0.045);
  border-color: rgba(143, 255, 214, 0.08);
}

.nav-dropdown-menu a:hover {
  color: #8fffd6;
  background: rgba(143, 255, 214, 0.1);
  border-color: rgba(143, 255, 214, 0.28);
  transform: translateY(-1px);
}

.hero-center {
  text-align: center;
  z-index: 12;
  pointer-events: none;
  transform: translateY(15.2rem);
}

.logo-text {
  font-family: 'Outfit', sans-serif;
  font-size: clamp(2.25rem, 5vw, 4.9rem);
  font-weight: 800;
  letter-spacing: 0.18em;
  margin-bottom: 0.5rem;
  background: linear-gradient(90deg, #f9fbff 0%, #8fd7ff 32%, #e4c1ff 58%, #8fffd6 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  opacity: 0.88;
  text-shadow: 0 0 32px rgba(143, 255, 214, 0.12);
}

.tagline {
  font-family: 'Inter', sans-serif;
  font-size: clamp(0.72rem, 1.4vw, 1rem);
  color: rgba(223, 239, 255, 0.68);
  letter-spacing: 0.16rem;
  text-transform: uppercase;
  opacity: 0.86;
}

#particle-canvas {
  position: absolute;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  z-index: 1;
  pointer-events: auto;
  background-color: transparent;
}

.logo-container {
  position: relative;
  pointer-events: none;
}

.particle-fallback-active .logo-container {
  width: min(32vw, 260px);
  height: min(32vw, 260px);
  margin: 0 auto -2rem;
}

.particle-fallback-logo {
  position: absolute;
  left: 50%;
  top: 50%;
  width: min(30vw, 230px);
  height: auto;
  transform: translate(-50%, -58%);
  opacity: 0.72;
  filter: drop-shadow(0 0 24px rgba(143, 215, 255, 0.35));
}

.particle-fallback-active #particle-canvas {
  display: none;
}

@media (max-width: 760px) {
  .glass-nav {
    padding: 18px 16px;
  }

  .nav-content {
    width: 100%;
    justify-content: space-between;
    gap: 0;
  }

  .nav-link {
    font-size: 11px;
    letter-spacing: 0.03em;
  }

  .nav-dropdown-menu {
    left: auto;
    right: 0;
    min-width: min(90vw, 348px);
    transform: translateY(-6px);
  }

  .nav-dropdown[open] .nav-dropdown-menu {
    transform: translateY(0);
  }

  .hero-center {
    width: min(92vw, 34rem);
    transform: translateY(12.2rem);
  }

  .logo-text {
    letter-spacing: 0.08em;
  }
}

/* First screen container wrapper pinned layer */
.hero-screen {
  width: 100vw;
  height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  position: sticky;
  top: 0;
  z-index: 10;
  overflow: hidden;
}

/* Antigravity Showcase Video Section sliding over sticky page 1 */
.hero-video-section {
  width: 100vw;
  min-height: 100vh;
  padding: 6rem 2rem 10rem 2rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  position: relative;
  z-index: 20;
  background-color: #030712; /* Premium clean opaque dark background to cover Page 1 completely */
}

/* The vibrant neon glow frame stage */
.antigravity-glow-frame {
  position: relative;
  width: 92vw;
  max-width: 1280px; /* Reference Antigravity fully enlarged size */
  border-radius: 12px;
  padding: 6px;
  background: linear-gradient(135deg, #ffea79 0%, #ff63b1 35%, #0091ff 70%, #00d4ff 100%);
  box-shadow: 0 0 50px rgba(0, 145, 255, 0.4), 0 0 100px rgba(255, 99, 177, 0.2);
  /* Force distinct GPU backing layer to bypass real-time heavy filter reflows */
  transform: translateZ(0);
  backface-visibility: hidden;
  perspective: 1000px;
}

.antigravity-glow-frame::before {
  content: "";
  position: absolute;
  inset: -2px;
  border-radius: 16px;
  background: linear-gradient(135deg, #ffea79 0%, #ff63b1 35%, #0091ff 70%, #00d4ff 100%);
  filter: blur(20px);
  opacity: 0.85;
  z-index: -1;
  transform: translateZ(0); /* Hardware accelerate filter rendering */
  transition: opacity 0.4s ease;
}

.antigravity-glow-frame::after {
  content: "";
  position: absolute;
  inset: -4px;
  border-radius: 20px;
  background: linear-gradient(135deg, #ffea79 0%, #ff63b1 35%, #0091ff 70%, #00d4ff 100%);
  filter: blur(40px);
  opacity: 0.6;
  z-index: -2;
  transform: translateZ(0); /* Hardware accelerate filter rendering */
}

.antigravity-glow-frame:hover::before {
  opacity: 1;
}

/* Inner Window (Light theme matching the Antigravity demonstration editor) */
.antigravity-inner-window {
  position: relative;
  width: 100%;
  background: #ffffff;
  border-radius: 8px;
  overflow: hidden;
  z-index: 1;
  display: flex;
  flex-direction: column;
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.6);
}

/* Inner Window Header Bar CSS completely removed for immersive full-screen video */

/* Video Interactive Area */
.ag-window-content {
  position: relative;
  width: 100%;
  background: #000000;
  cursor: pointer; /* Intuitively clickable */
  overflow: hidden;
}

.ag-video-wrapper {
  position: relative;
  width: 100%;
  padding-top: 56.25%;
  background: #000;
}

.ag-video-wrapper video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  pointer-events: none; /* Let mouse tracking trigger flawlessly on wrapper */
}

/* Custom mouse-following Bilibili floating badge (Apple Frosted Glass Style) */
.mouse-follow-btn {
  position: absolute;
  top: 0;
  left: 0;
  width: auto;
  height: auto;
  padding: 14px 28px;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.85);
  border: 1px solid rgba(255, 255, 255, 0.4);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none; /* Mouse events pass to container to keep mousemove silky smooth */
  z-index: 30;
  opacity: 0;
  transform: translate(-50%, -50%) scale(0.4);
  transition: opacity 0.35s ease, transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  color: #000000;
  font-family: 'Inter', sans-serif;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-align: center;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}

.ag-window-content:hover .mouse-follow-btn {
  opacity: 1;
  transform: translate(-50%, -50%) scale(1);
}

/* Floating Bottom Badge directly under the frame */
.agent-view-badge {
  margin-top: 36px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #000000;
  border: 1px solid rgba(255, 255, 255, 0.4);
  padding: 12px 32px;
  border-radius: 40px;
  color: #ffffff;
  font-family: 'Inter', sans-serif;
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.04em;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
  transition: border-color 0.3s ease, transform 0.3s ease;
  cursor: pointer;
  z-index: 20;
}

.agent-view-badge:hover {
  border-color: rgba(255, 255, 255, 0.8);
  transform: translateY(-1px);
}

/* Custom Bilibili Embedded Modal Pop-up */
.bilibili-modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(3, 7, 18, 0.88);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  z-index: 999999;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.35s ease;
}

.bilibili-modal-overlay.active {
  opacity: 1;
  pointer-events: auto;
}

.bilibili-modal-container {
  width: 92%;
  max-width: 1024px;
  background: #121216;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 30px 100px rgba(0, 0, 0, 0.9);
  display: flex;
  flex-direction: column;
}

.bilibili-modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 24px;
  background: #18181c;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.bilibili-modal-title {
  color: #ffffff;
  font-family: 'Inter', sans-serif;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.05em;
  display: flex;
  align-items: center;
  gap: 8px;
}

.bilibili-modal-title::before {
  content: "";
  display: inline-block;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #fb7299; /* Bilibili Brand Pink */
}

.bilibili-modal-close {
  color: rgba(255, 255, 255, 0.55);
  font-size: 26px;
  line-height: 1;
  cursor: pointer;
  transition: color 0.2s ease;
}

.bilibili-modal-close:hover {
  color: #ffffff;
}

.bilibili-modal-body {
  position: relative;
  width: 100%;
  padding-top: 56.25%;
  background: #000000;
}

.bilibili-modal-body iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

@media (max-width: 760px) {
  .hero-video-section {
    padding: 4rem 1rem 6rem 1rem;
  }
  .antigravity-glow-frame {
    padding: 4px;
  }
  .mouse-follow-btn {
    padding: 10px 20px;
    border-radius: 14px;
    font-size: 11px;
  }
  .agent-view-badge {
    margin-top: 20px;
    padding: 8px 24px;
    font-size: 12px;
  }
}

.site-footer-en {
  width: 100%;
  padding: 40px clamp(28px, 12vw, 320px) 28px;
  background: #ffffff;
  color: #202124;
  font-family: Arial, Helvetica, sans-serif;
  box-sizing: border-box;
}

.site-footer-main {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 36px;
  padding-bottom: 30px;
  border-bottom: 1px solid #d9dddd;
}

.site-footer-brand {
  display: inline-flex;
  align-items: flex-end;
  gap: 6px;
  flex: 0 0 auto;
  text-decoration: none;
}

.site-footer-brand img:first-child {
  width: 41px;
  height: 48px;
  object-fit: contain;
}

.site-footer-brand img:last-child {
  width: 107px;
  height: 24px;
  object-fit: contain;
}

.site-footer-links {
  display: flex;
  align-items: center;
  gap: 0;
  flex-wrap: wrap;
}

.site-footer-links a {
  position: relative;
  padding: 0 22px;
  color: #2f3437;
  font-size: 14px;
  line-height: 1.2;
  text-decoration: none;
  transition: color 0.2s ease;
}

.site-footer-links a:hover {
  color: #32b99c;
}

.site-footer-links a + a::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  width: 1px;
  height: 14px;
  background: #d3d5d5;
  transform: translateY(-50%);
}

.site-footer-contact {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-left: auto;
}

.site-footer-contact div {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 8px;
}

.site-footer-contact span {
  color: #8a9194;
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.site-footer-contact a {
  color: #2f3437;
  font-size: 13px;
  text-decoration: none;
}

.site-footer-contact a:hover {
  color: #32b99c;
}

.site-footer-contact img {
  width: 82px;
  height: 82px;
  border-radius: 8px;
  object-fit: cover;
  background: #fff;
}

.site-footer-legal {
  display: inline-block;
  margin-top: 22px;
  color: #5e6669;
  font-size: 14px;
  line-height: 1.5;
  text-decoration: none;
}

.site-footer-legal:hover {
  color: #32b99c;
}

@media (max-width: 900px) {
  .site-footer-en {
    padding: 34px 24px 24px;
  }

  .site-footer-main {
    align-items: flex-start;
    flex-direction: column;
    gap: 24px;
  }

  .site-footer-links a {
    padding: 0 16px 0 0;
  }

  .site-footer-links a + a::before {
    display: none;
  }

  .site-footer-contact {
    margin-left: 0;
    width: 100%;
    justify-content: space-between;
  }

  .site-footer-contact div {
    align-items: flex-start;
  }
}

@media (max-width: 900px) {
  .apple-scroll-scene {
    height: auto !important;
    min-height: 0;
  }

  .apple-sticky-frame {
    position: relative;
    height: min(72vh, 620px);
    min-height: 420px;
  }

  .apple-sticky-frame .anim-layer img {
    object-fit: contain !important;
    object-position: center center !important;
    background: #f6f6f6;
  }

  .apple-sticky-frame .scale-down {
    transform: none !important;
    filter: none !important;
  }

  .apple-sticky-frame .overlay-dark {
    display: none !important;
  }

  .normal-scroll-content {
    margin-top: 0 !important;
  }
}
