/* 厨忆 CookedYet 官网核心定制样式 */

:root {
  --brand-green: #16a34a;
  --brand-green-light: #22c55e;
  --brand-amber: #f59e0b;
  --warm-bg: #fafaf8;
  --card-border: rgba(231, 229, 228, 0.8);
}

/* 优雅平滑全局滚动条 */
::-webkit-scrollbar {
  width: 8px;
  height: 8px;
}
::-webkit-scrollbar-track {
  background: #f5f5f4;
}
::-webkit-scrollbar-thumb {
  background: #d6d3d1;
  border-radius: 9999px;
}
::-webkit-scrollbar-thumb:hover {
  background: #a8a29e;
}

/* 玻璃拟态与渐变光晕 */
.glass-nav {
  background: rgba(250, 250, 248, 0.88);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}

/* 卡片悬浮升起阴影与过渡 */
.card-hover {
  transition: all 0.28s cubic-bezier(0.16, 1, 0.3, 1);
}
.card-hover:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 35px -12px rgba(22, 163, 74, 0.08), 0 8px 16px -6px rgba(0, 0, 0, 0.04);
}

/* FAQ 折叠箭头动画 */
.faq-toggle i {
  transition: transform 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}
.faq-toggle.active i {
  transform: rotate(180deg);
}

/* 柔和呼吸光斑微动效 */
@keyframes pulseSubtle {
  0%, 100% {
    opacity: 0.6;
    transform: scale(1);
  }
  50% {
    opacity: 0.85;
    transform: scale(1.03);
  }
}
.animate-pulse-subtle {
  animation: pulseSubtle 4s ease-in-out infinite;
}

/* 真实设备模型边框拟物光泽 */
.device-mockup-frame {
  box-shadow: 
    0 0 0 10px #1c1917,
    0 0 0 12px #292524,
    0 25px 50px -12px rgba(0, 0, 0, 0.25);
}

/* 截图画廊缩略图聚焦高亮 */
.gallery-thumb {
  transition: all 0.2s ease;
}
.gallery-thumb.active {
  border-color: #16a34a;
  box-shadow: 0 0 0 2px rgba(22, 163, 74, 0.25);
  transform: scale(1.02);
}

/* 底部工信部备案号专属高亮微动效 */
.icp-badge {
  transition: all 0.2s ease-in-out;
}
.icp-badge:hover {
  color: #22c55e;
  border-color: rgba(34, 197, 94, 0.4);
}
