:root {
  --primary: #C0392B;
  --primary-dark: #922B21;
  --primary-light: #E8A09A;
  --secondary: #2C3E50;
  --accent: #E67E22;
}

/* video12 — 蓝紫科技渐变 + Bento 便当网格 */
body { background: #f5f6fb; }

::-webkit-scrollbar { width: 10px; height: 10px; }
::-webkit-scrollbar-track { background: #eceef7; }
::-webkit-scrollbar-thumb {
  background: linear-gradient(180deg, #6366f1, #a855f7);
  border-radius: 9999px;
}
::-webkit-scrollbar-thumb:hover { background: linear-gradient(180deg, #4f46e5, #9333ea); }

::selection { background: #c7d2fe; color: #312e81; }

/* 品牌渐变色 */
.bento-gradient {
  background: linear-gradient(135deg, #6366f1 0%, #8b5cf6 50%, #a855f7 100%);
}
.bento-gradient-soft {
  background: linear-gradient(135deg, #eef2ff 0%, #f5f3ff 60%, #faf5ff 100%);
}
.text-gradient {
  background: linear-gradient(120deg, #6366f1, #a855f7);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}

/* 玻璃质感卡片 */
.glass {
  background: rgba(255, 255, 255, 0.7);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.6);
}

/* Bento 卡片悬浮 */
.bento-card {
  transition: transform .25s ease, box-shadow .25s ease;
}
.bento-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 18px 40px -12px rgba(99, 102, 241, 0.35);
}

/* 移动端抽屉导航 */
.nav { transition: transform .3s ease; }
@media (max-width: 1023px) {
  .nav {
    position: fixed; top: 0; right: 0; bottom: 0;
    width: 82%; max-width: 340px;
    flex-direction: column;
    align-items: flex-start;
    background: #ffffff;
    padding: 5.5rem 1.75rem 2rem;
    transform: translateX(100%);
    z-index: 60; overflow-y: auto;
    box-shadow: -20px 0 50px -20px rgba(79, 70, 229, 0.35);
  }
  .nav.active { transform: translateX(0); }
  .menu-overlay {
    position: fixed; inset: 0;
    background: rgba(49, 46, 129, 0.45);
    opacity: 0; visibility: hidden;
    transition: opacity .3s ease;
    z-index: 55;
  }
  .menu-overlay.active { opacity: 1; visibility: visible; }
  body.menu-open { overflow: hidden; }
}

/* FAQ 折叠 */
.faq-answer {
  max-height: 0; overflow: hidden; opacity: 0;
  transition: max-height .3s ease, opacity .3s ease;
}
.faq-icon { transition: transform .25s ease; }

/* 回到顶部 */
.back-to-top {
  opacity: 0; visibility: hidden;
  transition: opacity .3s ease, transform .3s ease;
}
.back-to-top.visible { opacity: 1; visibility: visible; }

@media print {
  header, footer, nav, .no-print { display: none !important; }
  body { background: #fff; color: #000; }
}
