/* =====================================================
   �?定义样式 + 动画（暗黑�?�技风）
   深炭�? #0F1118 / 卡片 #171A23 / 品牌�? #3B44F6 / 品牌�? #9D22E0
   ===================================================== */

/* 平滑滚动 */
html { scroll-behavior: smooth; }

/* =====================================================
   0. 基�??排版 + 12 列工程网格背�?（�?�明�? 3%�?
   ===================================================== */
body {
  line-height: 1.7;
  background-image:
    linear-gradient(to right, rgba(255, 255, 255, 0.03) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
  background-size: calc(100% / 12) 100%, 100% 96px;
  background-attachment: fixed, fixed;
}

/* 大标题字体：Space Grotesk（几何�?�技感），�?�文 Inter */
h1, h2, h3 {
  font-family: 'Space Grotesk', 'Inter', system-ui, sans-serif;
  letter-spacing: -0.02em;
}

/* 滚动条美�? */
::-webkit-scrollbar { width: 10px; }
::-webkit-scrollbar-track { background: #0F1118; }
::-webkit-scrollbar-thumb { background: #3B44F6; border-radius: 5px; }
::-webkit-scrollbar-thumb:hover { background: #5A7DFF; }

/* =====================================================
   1. 基�??动画（�?�屏入场�?
   ===================================================== */
@keyframes fadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes glow {
  0%, 100% { box-shadow: 0 0 10px rgba(59, 68, 246, 0.3); }
  50%      { box-shadow: 0 0 25px rgba(59, 68, 246, 0.6); }
}

.animate-fade-in   { animation: fadeIn 0.8s ease-out both; }
.animate-fade-in-up{ animation: fadeInUp 1s ease-out 0.2s both; }

/* 滚动入场（js �? .revealed--active 时触发） */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s ease-out, transform 0.7s ease-out;
}
.reveal.revealed--active {
  opacity: 1;
  transform: translateY(0);
}

/* �?交互：按�?按下轻微下沉 */
button:active {
  transform: translateY(1px);
}

/* =====================================================
   2. 导航条（滚动后变实底色）
   ===================================================== */
#navbar { background-color: transparent; }
#navbar.scrolled {
  background-color: rgba(15, 17, 24, 0.95);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid #252A38;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}
.mobile-link {
  color: #B5B8C3;
  transition: color 0.2s;
}
.mobile-link:hover { color: #3B44F6; }

/* =====================================================
   3. 卡片（�?�用：碳灰卡�? + #252A38 边�?? + �?�?电光蓝）
   ===================================================== */
.service-card,
.project-card,
.testimonial-card,
.pricing-card {
  background-color: #171A23;
  border: 1px solid #252A38;
  border-radius: 0.5rem;
  padding: 2rem;
  transition: transform 0.3s, border-color 0.3s, box-shadow 0.3s;
}
/* 全站卡片�?停统�?：蓝�? + 光晕 + 轻微放大（与价格卡方案一致） */
.service-card:hover,
.project-card:hover,
.testimonial-card:hover,
.process-step:hover,
.pricing-card:hover {
  transform: scale(1.02);
  border-color: #3B44F6;
  box-shadow: 0 0 30px rgba(59, 68, 246, 0.15);
}
.project-card { min-width: 0; }
@media (max-width: 480px) {
  .project-card { padding: 1.25rem; }
}

/* =====================================================
   4. �?�?栈徽�?
   ===================================================== */
.tech-badge {
  display: flex;
  align-items: center;
  padding: 0.75rem 1rem;
  background-color: #171A23;
  border: 1px solid #252A38;
  border-radius: 0.375rem;
  color: #B5B8C3;
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.875rem;
  transition: all 0.2s;
}
.tech-badge:hover {
  border-color: #3B44F6;
  color: #3B44F6;
  transform: translateY(-2px);
}

.tech-tag {
  display: inline-block;
  padding: 0.25rem 0.625rem;
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.75rem;
  color: #3B44F6;
  background-color: rgba(59, 68, 246, 0.1);
  border-radius: 0.25rem;
}

/* =====================================================
   5. 数据指标卡片（荧光绿大数�? + 雾灰说明，左对齐�?
   ===================================================== */
.metric-card {
  padding: 0.75rem;
  background-color: #0F1118;
  border: 1px solid #252A38;
  border-radius: 0.375rem;
}

/* =====================================================
   6. 流程步�??
   ===================================================== */
.process-step {
  padding: 1.5rem;
  background-color: #171A23;
  border: 1px solid #252A38;
  border-radius: 0.5rem;
  transition: transform 0.3s, border-color 0.3s, box-shadow 0.3s;
}

/* =====================================================
   7. 评价卡片（作者�?�沉底，三卡对齐；悬停走全站统一规则�?
   ===================================================== */
.testimonial-card { display: flex; flex-direction: column; }
.testimonial-card > div:last-child { margin-top: auto; }
/* 头像提亮�?：纯品牌蓝，与流程区 01-04 数字同亮�? */
.testimonial-card img {
  box-shadow: 0 0 0 2px #3B44F6, 0 0 12px rgba(59, 68, 246, 0.45);
}

/* =====================================================
   8. 价格�?（中间一张高�?�?
   ===================================================== */
.pricing-card-featured {
  border-color: #3B44F6;
  box-shadow: 0 0 30px rgba(59, 68, 246, 0.15);
  transform: scale(1.02);
}
.pricing-card-featured:hover {
  transform: scale(1.04);
  box-shadow: 0 0 40px rgba(59, 68, 246, 0.3);
}
/* 三张卡悬停统�?为高�?态（与中�? POPULAR 卡一致） */
.pricing-card:hover {
  border-color: #3B44F6;
  box-shadow: 0 0 30px rgba(59, 68, 246, 0.15);
  transform: scale(1.02);
}
/* 三卡等高：按�?统一沉底对齐 */
.pricing-card { display: flex; flex-direction: column; }
.pricing-card > a { margin-top: auto; }
/* 幽灵按钮�?�? �? 变成�? POPULAR 卡一致的蓝紫渐变按钮 */
.pricing-card > a:hover {
  background-image: linear-gradient(100deg, #3B44F6 0%, #7B3BEB 55%, #9D22E0 100%);
  background-size: 140% 140%;
  border-color: transparent;
  color: #ffffff;
  box-shadow: 0 0 20px rgba(90, 125, 255, 0.45);
}

/* =====================================================
   9. 表单焦点效果
   ===================================================== */
input:focus, textarea:focus, select:focus {
  box-shadow: 0 0 0 3px rgba(59, 68, 246, 0.15);
}

/* =====================================================
   10. 选中文字高亮
   ===================================================== */
::selection {
  background-color: #3B44F6;
  color: #FFFFFF;
}

/* =====================================================
   11. 减少动效偏好（无障�?�）
   ===================================================== */
/* @media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
  html { scroll-behavior: auto; }
} */

/* =====================================================
   12. 打印样式（�?�果客户要打印报价单�?
   ===================================================== */
@media print {
  #navbar { display: none; }
}

/* =====================================================
   13. 品牌渐变（主按钮 #3B44F6 �? #9D22E0，仅主按�?；Logo 渐变字）
   �?光线条色：蓝 #5A7DFF / �? #B066FF（低透明�? 10%-25%�?
   ===================================================== */
.bg-primary {
  background-image: linear-gradient(100deg, #3B44F6 0%, #7B3BEB 55%, #9D22E0 100%);
  background-size: 140% 140%;
  transition: background-position 0.3s, box-shadow 0.3s;
}
a.bg-primary:hover,
button.bg-primary:hover {
  background-position: 90% 50%;
  box-shadow: 0 0 20px rgba(90, 125, 255, 0.45);
}
.logo-gradient {
  background-image: linear-gradient(90deg, #5A7DFF 0%, #3B44F6 40%, #9D22E0 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* =====================================================
   14. 信任跑马�?（�?�例名横向缓慢滚�?，两�?渐隐，悬停暂停）
   ===================================================== */
.marquee {
  overflow: hidden;
  -webkit-mask-image: linear-gradient(to right, transparent, #000 10%, #000 90%, transparent);
  mask-image: linear-gradient(to right, transparent, #000 10%, #000 90%, transparent);
}
.marquee-track {
  display: flex;
  width: max-content;
  animation: marquee 36s linear infinite;
}
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee-set {
  display: flex;
  align-items: center;
  gap: 4.5rem;
  padding-right: 4.5rem;
  list-style: none;
}
.marquee-set li {
  font-family: 'Inter', system-ui, sans-serif;
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  color: #FFFFFF;
  white-space: nowrap;
  transition: color 0.2s;
}
@keyframes marquee {
  to { transform: translateX(-50%); }
}

/* =====================================================
   v2.0 ��������ʽ - �Ƽ��� �� ��ʶ�� �� ������
   - ������ڵ�ɫϵͳ
   - ��ɫ��ɫ�壨���� + �� + ���꣩
   - ��̬���������� + ���� + ��� + ɨ���ߣ�
   - �Զ��������
   - ����������
   - ����Ʒ�ƶ���
   - Tilt 3D ��б��Ƭ
   - ���԰�ť
   - ʵʱ���֤������
   - ������ťЧ��
   ===================================================== */

/* ---------- A. CSS ����ϵͳ������������⣩ ---------- */
:root {
  /* ��ɫ���Ӵ��ڸ�Ϊ������� */
  --bg-deep:        #0A0E1A;   /* ����� */
  --bg-base:        #0F1424;   /* ���屳�� */
  --bg-elevated:    #161B2E;   /* ��Ƭ/ģ�鱳�� */
  --bg-overlay:     #1E2440;   /* hover/active ���� */

  /* �߿�/�ָ��� */
  --border:         #252B45;
  --border-bright:  #3A4170;

  /* ��ɫϵͳ */
  --c-blue:         #3B44F6;
  --c-blue-light:   #5A7DFF;
  --c-blue-cyan:    #06B6D4;   /* ��������ɫ */
  --c-purple:       #9D22E0;
  --c-purple-light: #B066FF;
  --c-amber:        #F59E0B;   /* ����������ɫ��׺ */
  --c-amber-light:  #FBBF24;
  --c-rose:         #FB7185;   /* ����ůɫ */

  /* ���� */
  --text-bright:    #F1F4FB;
  --text-default:   #C8CEDD;
  --text-dim:       #8B91A8;
  --text-faint:     #5A6075;

  /* ��Ӱ */
  --shadow-glow-blue:   0 0 30px rgba(59, 68, 246, 0.35);
  --shadow-glow-cyan:   0 0 30px rgba(6, 182, 212, 0.35);
  --shadow-glow-amber:  0 0 24px rgba(245, 158, 11, 0.35);
  --shadow-card:        0 4px 24px rgba(0, 0, 0, 0.3);
  --shadow-card-hover:  0 12px 40px rgba(59, 68, 246, 0.25);

  /* Բ�� */
  --radius-sm:  8px;
  --radius-md:  12px;
  --radius-lg:  16px;
  --radius-xl:  20px;
}

/* ---------- B. �������ϵͳ�����ĿƼ��У� ---------- */

/* 1. �������㣺������� */
body {
  background-color: var(--bg-deep);
  color: var(--text-default);
}

/* 2. ����㣨��ϡ�衢�����£� */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  background-image:
    linear-gradient(to right, rgba(90, 125, 255, 0.04) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(90, 125, 255, 0.04) 1px, transparent 1px);
  background-size: 80px 80px;
  mask-image: radial-gradient(ellipse 80% 60% at 50% 30%, #000 30%, transparent 90%);
  -webkit-mask-image: radial-gradient(ellipse 80% 60% at 50% 30%, #000 30%, transparent 90%);
}

/* 3. ��������������ʸУ�����"���ϸ�"�� */
body::after {
  content: '';
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  opacity: 0.025;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='3' /%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' /%3E%3C/svg%3E");
}

/* 4. ��̬���β㣨�����͸����ɫ�黺���ƶ��� */
.bg-aurora {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
}
.bg-aurora::before,
.bg-aurora::after {
  content: '';
  position: absolute;
  width: 60vw;
  height: 60vw;
  border-radius: 50%;
  filter: blur(120px);
  opacity: 0.18;
  animation: aurora-drift 28s ease-in-out infinite;
}
.bg-aurora::before {
  background: radial-gradient(circle, var(--c-blue) 0%, transparent 70%);
  top: -10%;
  left: -10%;
}
.bg-aurora::after {
  background: radial-gradient(circle, var(--c-purple) 0%, transparent 70%);
  bottom: -10%;
  right: -10%;
  animation-delay: -14s;
}
@keyframes aurora-drift {
  0%, 100% { transform: translate(0, 0) scale(1); }
  33%      { transform: translate(8vw, 6vw) scale(1.15); }
  66%      { transform: translate(-6vw, -4vw) scale(0.92); }
}

/* 5. ɨ����Ч����������ˮƽ�ߣ��ƶ��� */
.bg-scanlines {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  background: repeating-linear-gradient(
    0deg,
    transparent 0,
    transparent 3px,
    rgba(90, 125, 255, 0.012) 3px,
    rgba(90, 125, 255, 0.012) 4px
  );
  animation: scan-move 8s linear infinite;
}
@keyframes scan-move {
  from { background-position: 0 0; }
  to   { background-position: 0 100px; }
}

/* ������ section �����ڱ�����֮�� */
body > nav,
body > section,
body > footer,
body > a[href*="wa.me"],
body > div:not(.bg-aurora):not(.bg-scanlines):not(.cursor-dot):not(.cursor-ring):not(.loader-wrap):not(.scroll-progress):not(.social-proof) {
  position: relative;
  z-index: 1;
}

/* ---------- C. �Զ�������� ---------- */
.cursor-dot,
.cursor-ring {
  position: fixed;
  top: 0;
  left: 0;
  pointer-events: none;
  z-index: 9999;
  will-change: transform;
}
.cursor-dot {
  width: 6px;
  height: 6px;
  margin: -3px 0 0 -3px;
  background: var(--c-blue-light);
  border-radius: 50%;
  transition: transform 0.05s ease;
}
.cursor-ring {
  width: 36px;
  height: 36px;
  margin: -18px 0 0 -18px;
  border: 1.5px solid var(--c-blue-light);
  border-radius: 50%;
  transition: width 0.2s, height 0.2s, margin 0.2s, border-color 0.2s, background 0.2s;
  mix-blend-mode: difference;
}
/* hover ����/��ťʱԲ������ */
.cursor-hover .cursor-ring {
  width: 56px;
  height: 56px;
  margin: -28px 0 0 -28px;
  background: rgba(90, 125, 255, 0.1);
  border-color: var(--c-blue-cyan);
}
/* ���ʱԲ������ */
.cursor-active .cursor-ring {
  width: 24px;
  height: 24px;
  margin: -12px 0 0 -12px;
}
/* �ƶ��������Զ����� */
@media (hover: none) {
  .cursor-dot, .cursor-ring { display: none; }
}

/* ---------- D. ���������� ---------- */
.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  height: 2px;
  width: 0;
  z-index: 9998;
  background: linear-gradient(90deg,
    var(--c-blue) 0%,
    var(--c-purple) 50%,
    var(--c-amber) 100%);
  box-shadow: 0 0 10px rgba(90, 125, 255, 0.6);
  transition: width 0.1s linear;
}

/* ---------- E. ����Ʒ�ƶ������״ν��룩 ---------- */
.loader-wrap {
  position: fixed;
  inset: 0;
  z-index: 10000;
  background: var(--bg-deep);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  transition: opacity 0.6s ease, visibility 0.6s ease;
}
.loader-wrap.hidden {
  opacity: 0;
  visibility: hidden;
}
.loader-logo {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 2.5rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 2rem;
}
.loader-logo .white { color: var(--text-bright); }
.loader-logo .grad {
  background-image: linear-gradient(90deg, var(--c-blue-light), var(--c-purple));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.loader-bar {
  width: 240px;
  height: 2px;
  background: rgba(90, 125, 255, 0.15);
  border-radius: 1px;
  overflow: hidden;
  position: relative;
}
.loader-bar::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, transparent, var(--c-blue-light), transparent);
  animation: loader-sweep 1.2s ease-in-out infinite;
}
@keyframes loader-sweep {
  0%   { transform: translateX(-100%); }
  100% { transform: translateX(100%); }
}
.loader-pct {
  margin-top: 1rem;
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.75rem;
  color: var(--text-dim);
  letter-spacing: 0.2em;
}

/* ---------- F. Tilt 3D ��б��Ƭ ---------- */
.tilt-card {
  transform-style: preserve-3d;
  transform: perspective(1000px) rotateX(0deg) rotateY(0deg);
  transition: transform 0.2s ease-out, box-shadow 0.3s;
}
.tilt-card:hover {
  box-shadow: var(--shadow-card-hover);
}

/* ---------- G. ���԰�ť ---------- */
.magnetic-btn {
  position: relative;
  transition: transform 0.2s cubic-bezier(0.23, 1, 0.32, 1);
}

/* ---------- H. ������ť���� hover ʱ��һ���������ɨ���� ---------- */
.btn-shine {
  position: relative;
  overflow: hidden;
  isolation: isolate;
}
.btn-shine::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg,
    transparent 30%,
    rgba(255, 255, 255, 0.25) 50%,
    transparent 70%);
  transform: translateX(-150%);
  transition: transform 0.7s ease;
  z-index: -1;
}
.btn-shine:hover::before {
  transform: translateX(150%);
}

/* ---------- I. ʵʱ���֤������ ---------- */
.social-proof {
  position: fixed;
  bottom: 24px;
  left: 24px;
  z-index: 60;
  max-width: 320px;
  pointer-events: none;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.4s ease, transform 0.4s ease;
}
.social-proof.show {
  opacity: 1;
  transform: translateY(0);
}
.social-proof-card {
  background: rgba(22, 27, 46, 0.92);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid var(--border-bright);
  border-radius: var(--radius-md);
  padding: 0.75rem 1rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  box-shadow: var(--shadow-card);
}
.social-proof-avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--c-blue), var(--c-purple));
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-weight: 600;
  font-size: 0.875rem;
  flex-shrink: 0;
}
.social-proof-text {
  font-size: 0.8125rem;
  color: var(--text-default);
  line-height: 1.4;
}
.social-proof-text strong { color: var(--text-bright); }
.social-proof-time {
  font-size: 0.7rem;
  color: var(--text-dim);
  margin-top: 2px;
}

/* ---------- J. ����״ָ̬ʾ������������ƣ� ---------- */
.status-pulse {
  display: inline-block;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #10B981;
  position: relative;
  margin-right: 8px;
}
.status-pulse::after {
  content: '';
  position: absolute;
  inset: -3px;
  border-radius: 50%;
  background: #10B981;
  opacity: 0.4;
  animation: pulse-ring 2s ease-out infinite;
}
@keyframes pulse-ring {
  0%   { transform: scale(0.8); opacity: 0.6; }
  100% { transform: scale(2);   opacity: 0;   }
}

/* ---------- K. �����ԱȻ��飨Before/After�� ---------- */
.compare-slider {
  position: relative;
  width: 100%;
  aspect-ratio: 16/9;
  overflow: hidden;
  border-radius: var(--radius-md);
  border: 1px solid var(--border);
  cursor: ew-resize;
  user-select: none;
}
.compare-slider img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  pointer-events: none;
}
.compare-slider .compare-after { clip-path: inset(0 0 0 50%); }
.compare-slider .compare-handle {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  width: 2px;
  background: var(--c-blue-light);
  box-shadow: 0 0 12px var(--c-blue-light);
  z-index: 2;
  pointer-events: none;
}
.compare-slider .compare-handle::before {
  content: '?';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 40px;
  height: 40px;
  background: var(--bg-base);
  border: 2px solid var(--c-blue-light);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--c-blue-light);
  font-size: 1.125rem;
  box-shadow: 0 0 16px rgba(90, 125, 255, 0.5);
}
.compare-label {
  position: absolute;
  top: 12px;
  padding: 4px 10px;
  background: rgba(10, 14, 26, 0.85);
  border: 1px solid var(--border);
  border-radius: 4px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.7rem;
  color: var(--text-bright);
  letter-spacing: 0.1em;
  z-index: 1;
  pointer-events: none;
}
.compare-label.before { left: 12px; }
.compare-label.after  { right: 12px; color: var(--c-amber-light); }

/* ---------- L. ����������̬��Ƭ ---------- */
.glass-card {
  background: rgba(22, 27, 46, 0.6);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: var(--radius-md);
}

/* ---------- M. FAQ �����ʽ ---------- */
.faq-item {
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  margin-bottom: 0.75rem;
  overflow: hidden;
  transition: border-color 0.3s;
}
.faq-item:hover { border-color: var(--border-bright); }
.faq-item.open  { border-color: var(--c-blue-light); }
.faq-question {
  width: 100%;
  text-align: left;
  padding: 1.25rem 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  color: var(--text-bright);
  font-weight: 500;
  cursor: pointer;
  background: transparent;
  border: none;
}
.faq-question:hover { color: var(--c-blue-light); }
.faq-icon {
  flex-shrink: 0;
  width: 24px;
  height: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--c-blue-light);
  transition: transform 0.3s;
}
.faq-item.open .faq-icon { transform: rotate(45deg); }
.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease, padding 0.4s ease;
  padding: 0 1.5rem;
  color: var(--text-default);
  font-size: 0.9375rem;
  line-height: 1.7;
}
.faq-item.open .faq-answer {
  max-height: 300px;
  padding: 0 1.5rem 1.25rem 1.5rem;
}

/* ---------- N. �ͻ� logo ǽ��marquee�� ---------- */
.trust-logos {
  padding: 1.5rem 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  background: rgba(15, 20, 36, 0.4);
  backdrop-filter: blur(8px);
  overflow: hidden;
  position: relative;
}
.trust-logos-label {
  text-align: center;
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.7rem;
  letter-spacing: 0.25em;
  color: var(--text-dim);
  text-transform: uppercase;
  margin-bottom: 1rem;
}
.trust-logo-item {
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 600;
  font-size: 1.125rem;
  color: var(--text-default);
  letter-spacing: 0.05em;
  opacity: 0.7;
  transition: opacity 0.3s, color 0.3s;
  padding: 0 2rem;
  white-space: nowrap;
}
.trust-logo-item:hover {
  opacity: 1;
  color: var(--text-bright);
}

/* ---------- O. �������봰�ڣ�typing effect�� ---------- */
.code-window {
  background: rgba(10, 14, 26, 0.7);
  backdrop-filter: blur(12px);
  border: 1px solid var(--border-bright);
  border-radius: var(--radius-md);
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.875rem;
  line-height: 1.75;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4), 0 0 30px rgba(59, 68, 246, 0.1);
}
.code-line { display: block; min-height: 1.75em; }
.code-cursor {
  display: inline-block;
  width: 8px;
  height: 1em;
  background: var(--c-blue-light);
  margin-left: 2px;
  vertical-align: text-bottom;
  animation: blink 1s step-end infinite;
}
@keyframes blink {
  0%, 50%   { opacity: 1; }
  51%, 100% { opacity: 0; }
}
.code-prompt { color: var(--c-blue-cyan); }
.code-key    { color: var(--c-purple-light); }
.code-string { color: var(--c-amber-light); }
.code-comment{ color: var(--text-faint); font-style: italic; }

/* ---------- P. ������ť��Բ�� + ��ͶӰ�� ---------- */
.btn-primary {
  background-image: linear-gradient(100deg, var(--c-blue) 0%, #7B3BEB 55%, var(--c-purple) 100%);
  background-size: 140% 140%;
  color: white;
  padding: 0.75rem 1.5rem;
  border-radius: var(--radius-lg);
  font-weight: 500;
  transition: background-position 0.4s, box-shadow 0.3s, transform 0.2s;
  border: none;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  text-decoration: none;
}
.btn-primary:hover {
  background-position: 90% 50%;
  box-shadow: var(--shadow-glow-blue);
  transform: translateY(-2px);
}
.btn-primary:active { transform: translateY(0); }

/* ---------- Q. ������������� ---------- */
.input-field {
  background: var(--bg-deep);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 0.875rem 1rem;
  color: var(--text-bright);
  font-family: inherit;
  width: 100%;
  transition: border-color 0.3s, box-shadow 0.3s;
}
.input-field:focus {
  outline: none;
  border-color: var(--c-blue-light);
  box-shadow: 0 0 0 3px rgba(90, 125, 255, 0.15);
}
.input-field::placeholder { color: var(--text-faint); }

/* ---------- R. �����½ڼ�� ---------- */
.section {
  padding: clamp(4rem, 8vw, 8rem) 1.5rem;
}
@media (min-width: 768px) {
  .section { padding: clamp(5rem, 10vw, 10rem) 2rem; }
}

/* ---------- S. ���������ʽ���� ---------- */
.section-tag {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.8125rem;
  letter-spacing: 0.15em;
  color: var(--c-blue-light);
  text-transform: uppercase;
  margin-bottom: 1rem;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}
.section-tag::before {
  content: '//';
  color: var(--c-purple-light);
}
.section-title {
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.05;
  color: var(--text-bright);
  margin-bottom: 1.25rem;
}
.section-title.display {
  font-size: clamp(2.5rem, 6vw, 5rem);
}

/* ---------- T. �Ӳ���������� ---------- */
[data-parallax] {
  will-change: transform;
  transition: transform 0.1s linear;
}

/* ---------- U. ���ٶ��������ϰ��� ---------- */
@media (prefers-reduced-motion: reduce) {
  .bg-aurora::before,
  .bg-aurora::after,
  .bg-scanlines,
  .code-cursor,
  .status-pulse::after,
  .loader-bar::after {
    animation: none !important;
  }
}

/* ---------- V. ���봰�ڴ��ֻ�������/���֣� ---------- */
.code-line {
  opacity: 0;
  transform: translateY(6px);
  transition: opacity 0.35s ease, transform 0.35s ease;
  display: block;
}
.code-line.code-hidden {
  opacity: 0;
  transform: translateY(6px);
}
.code-line.code-revealed {
  opacity: 1;
  transform: translateY(0);
}

/* ---------- W. ���֤�������л����� ---------- */
.social-proof.entered {
  opacity: 1;
  transform: translateY(0);
}
.social-proof.leaving {
  opacity: 0;
  transform: translateY(-12px);
}

/* ---------- X. WhatsApp 浮动按钮 + 底部 Tab 栏避让 ---------- */
.whatsapp-float {
  animation: whatsapp-pulse 2.4s ease-in-out infinite;
  bottom: 96px !important;   /* 手机端避让底部 Tab 栏 (~66px) + 安全距 */
}
@media (min-width: 768px) {
  .whatsapp-float { bottom: 1.5rem !important; }  /* 桌面端让 md:bottom-6 自然生效 */
}
/* 底部 Tab 栏全局微调 */
#bottomTabbar a svg {
  transition: transform 0.15s;
}
#bottomTabbar a:active svg { transform: scale(0.85); }
@keyframes whatsapp-pulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.55), 0 8px 24px rgba(0,0,0,0.25); }
  50%      { box-shadow: 0 0 0 14px rgba(37, 211, 102, 0), 0 8px 24px rgba(0,0,0,0.25); }
}

/* ---------- Y. �Զ����� hover / click ״̬ ---------- */
.cursor-ring.hover {
  width: 56px; height: 56px;
  border-color: var(--c-amber-light);
  background: rgba(245, 158, 11, 0.08);
}
.cursor-ring.click {
  width: 26px; height: 26px;
  border-color: var(--c-blue-light);
}

}

/* =====================================================
   i18n 语言切换按钮
   ===================================================== */
.lang-switcher {
  backdrop-filter: blur(8px);
}
.lang-btn, .lang-btn-mobile {
  color: var(--text-dim, #8A90A3);
  background: transparent;
  border: none;
  cursor: pointer;
  transition: all 0.2s ease;
}
.lang-btn:hover, .lang-btn-mobile:hover {
  color: #fff;
}
.lang-btn.lang-active, .lang-btn-mobile.lang-active {
  background: #3B44F6;
  color: #fff;
  box-shadow: 0 0 12px rgba(59, 68, 246, 0.4);
}

/* 避免 .lang-active 按钮和 bg-dark-700 容器冲突 */
.lang-switcher .lang-btn.lang-active {
  background: #3B44F6;
}
