@font-face {
  font-family: "Poppins";
  src: url("../fonts/poppins/Poppins-Light.ttf");
  font-weight: 300;
}

@font-face {
  font-family: "Poppins";
  src: url("../fonts/poppins/Poppins-Regular.ttf");
  font-weight: 400;
}

@font-face {
  font-family: "Poppins";
  src: url("../fonts/poppins/Poppins-Medium.ttf");
  font-weight: 500;
}

@font-face {
  font-family: "Poppins";
  src: url("../fonts/poppins/Poppins-SemiBold.ttf");
  font-weight: 600;
}

@font-face {
  font-family: "Poppins";
  src: url("../fonts/poppins/Poppins-Bold.ttf");
  font-weight: 700;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Arial", sans-serif;
}

html {
  overflow-x: hidden;
  overflow-y: auto;
  scrollbar-width: none;
  /* Firefox */
  -ms-overflow-style: none;
  /* IE / Edge 旧版 */
}

html::-webkit-scrollbar {
  display: none;
  /* Chrome / Safari / Edge */
}

body {
  background-color: #fff;
  max-width: 1920px;
  width: 100%;
  margin: 0 auto;
  padding: 0;
  box-sizing: border-box;
  overflow-x: hidden;
}

a,
a:visited,
a:hover,
a:active {
  color: inherit;
  text-decoration: none;
}

* {
  font-family: "Poppins", sans-serif !important;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  box-sizing: border-box;
}

/* ============================================================
   滚动揭示动画
   ============================================================ */
.reveal-element {
  opacity: 0;
  transition: opacity 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94),
    transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.reveal-element[data-reveal="fade-up"] {
  transform: translateY(40px);
}

.reveal-element[data-reveal="fade-down"] {
  transform: translateY(-40px);
}

.reveal-element[data-reveal="fade-left"] {
  transform: translateX(-40px);
}

.reveal-element[data-reveal="fade-right"] {
  transform: translateX(40px);
}

.reveal-element[data-reveal="scale-in"] {
  transform: scale(0.9);
}

.reveal-element.revealed {
  opacity: 1;
  transform: translateY(0) translateX(0) scale(1) !important;
}

/* ============================================================
   悬停微交互工具类
   ============================================================ */

.hover-zoom {
  transition: transform 0.4s ease;
  display: block;
  overflow: hidden;
}

.hover-zoom:hover {
  transform: scale(1.05);
}

.hover-zoom img {
  transition: transform 0.4s ease;
}

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

/* 卡片悬停浮起 */
.hover-lift {
  transition: transform 0.35s ease, box-shadow 0.35s ease;
}

.hover-lift:hover {
  transform: translateY(-8px);
  box-shadow: 0 14px 36px rgba(0, 0, 0, 0.13);
}

/* 按钮悬停反馈 */
.btn-pulse {
  transition: transform 0.25s ease, box-shadow 0.25s ease, background-color 0.25s ease;
}

.btn-pulse:hover {
  transform: scale(1.06);
  box-shadow: 0 6px 20px rgba(235, 97, 0, 0.4);
}

.btn-pulse:active {
  transform: scale(0.96);
}

/* ============================================================
   表单错误抖动
   ============================================================ */
@keyframes shake {

  0%,
  100% {
    transform: translateX(0);
  }

  15% {
    transform: translateX(-6px);
  }

  30% {
    transform: translateX(6px);
  }

  45% {
    transform: translateX(-4px);
  }

  60% {
    transform: translateX(4px);
  }

  75% {
    transform: translateX(-2px);
  }
}

.input-error {
  border-color: #ef4444 !important;
  background-color: #fff5f5 !important;
}

/* ============================================================
   视差元素基础样式（避免 layout shift）
   ============================================================ */
[data-parallax] {
  will-change: transform;
  backface-visibility: hidden;
}

/* ============================================================
   汉堡菜单按钮 — 桌面端隐藏
   ============================================================ */
.menu-toggle {
  display: none;
}

.footer {
  width: 100%;
  background-color: #f4f5f6;
  padding: 50px 0;
  text-align: center;
}

.footer h3 {
  color: #323237;
}

.footer div {
  color: #86868b;
  margin-top: 5px;
}

.footer a {
  color: #86868b;
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer a:hover {
  color: #323237;
  text-decoration: underline;
}