.theme-light {
  background-color: #ffffff;
  color: #101010;
}


.theme-light header {
  background: rgba(255,255,255,0.85);
  border-color: rgba(16,16,16,0.08);
  backdrop-filter: blur(20px);
}

.theme-light nav a {
  color: #475569;
}

.theme-light nav a:hover {
  color: #f59e0b;
}

.theme-light section,
.theme-light .bg-slate-950,
.theme-light .bg-slate-900 {
  background-color: transparent !important;
}

.theme-light .bg-slate-900\/60,
.theme-light .bg-slate-900\/70,
.theme-light .bg-slate-900\/80,
.theme-light .bg-slate-900\/90,
.theme-light .bg-slate-900\/95 {
  background-color: rgba(255,255,255,0.9) !important;
}

.theme-light .bg-slate-950\/60,
.theme-light .bg-slate-950\/70,
.theme-light .bg-slate-950\/80,
.theme-light .bg-slate-950\/90,
.theme-light .bg-slate-950\/95 {
  background-color: rgba(255,255,255,0.95) !important;
}

.theme-light .from-slate-950\/80,
.theme-light .from-slate-950\/60 {
  --tw-gradient-from: rgba(255,255,255,0.8) var(--tw-gradient-from-position) !important;
}

.theme-light .bg-slate-950 {
  background-color: transparent !important;
}

.theme-light .bg-white\/5 {
  background-color: rgba(16,16,16,0.05) !important;
}

.theme-light .border-white\/10 {
  border-color: rgba(16,16,16,0.1) !important;
}

.theme-light .border-slate-800,
.theme-light .border-slate-700,
.theme-light .border-slate-800\/70,
.theme-light .border-slate-800\/60,
.theme-light .border-slate-800\/80 {
  border-color: rgba(16,16,16,0.08);
}

.theme-light .glass-bg,
.theme-light .glass {
  background: rgba(255,255,255,0.7);
  border: 1px solid rgba(16,16,16,0.08);
  backdrop-filter: blur(20px);
}

.theme-light .glass-border {
  border-color: rgba(16,16,16,0.12);
}

.theme-light .service-card,
.theme-light .featured-project-card,
.theme-light details {
  background: rgba(255,255,255,0.95);
  border-color: rgba(16,16,16,0.08);
  box-shadow: 0 10px 30px rgba(16,16,16,0.06);
}

.theme-light .text-white {
  color: #101010;
}

.theme-light .text-slate-100,
.theme-light .text-slate-200 {
  color: #1e293b;
}

.theme-light .text-slate-300,
.theme-light .text-slate-400 {
  color: #475569;
}

.theme-light .text-slate-500 {
  color: #64748b;
}

.theme-light .text-brand-100,
.theme-light .text-brand-300 {
  color: #f59e0b;
}

.theme-light .bg-brand-500 {
  color: #ffffff;
}

.theme-light .btn-glass,
.theme-light .glass-btn {
  background: rgba(255,255,255,0.85);
  border: 1px solid rgba(16,16,16,0.15);
  color: #101010;
}

.theme-light input,
.theme-light textarea,
.theme-light select {
  background: #ffffff;
  color: #101010;
  border-color: rgba(16,16,16,0.15);
}

.theme-light input::placeholder,
.theme-light textarea::placeholder {
  color: #94a3b8;
}

.theme-light footer {
  background: #101010;
  border-top: 1px solid rgba(255,255,255,0.08);
  color: #efefef;
}

.theme-light footer a {
  color: #D1D1D1;
}

.theme-light footer a:hover {
  color: #f59e0b;
}

.theme-light .hero-bg::before,
.theme-light .hero-bg::after {
  background: radial-gradient(
    circle,
    rgba(56,189,248,0.2),
    transparent 70%
  );
}

.theme-light .glass-bg {
    position: relative;
    overflow: hidden;
    background: rgba(255,255,255,0.7);
    border: 1px solid rgba(15,23,42,0.08);
    -webkit-backdrop-filter: blur(12px);
    backdrop-filter: blur(12px);
}

.theme-light .glass-bg::before {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: inherit;
    pointer-events: none;
    opacity: 0.8;
    background: none;
}

.glass-bg {
    position: relative;
    overflow: hidden;
    background: linear-gradient(rgba(255, 255, 255, 0.04), rgba(255, 255, 255, 0.02));
    border: 1px solid rgba(255, 255, 255, 0.18);
    -webkit-backdrop-filter: blur(12px);
    backdrop-filter: blur(12px);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.10), inset 0 -10px 30px rgba(0, 0, 0, 0.10), 0 20px 50px rgba(0, 0, 0, 0.10), 0 0 25px rgba(255, 255, 255, 0.05);
}

.hero-bg-light {
  position: relative;
  
  overflow: hidden;

  /* Background */
  background:
    linear-gradient(
      rgba(255,255,255,0.8),
      rgba(255,255,255,0.8)
    ),
    url("../img/bg6.jpg") center / cover no-repeat;  

  /* Frosted depth */
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);

  /* Glass lighting */
  box-shadow:none
}

.main-bg-light {
  position: relative;
  padding: 100px;
  border-radius: 14px;
  overflow: hidden;

  /* Background */
  background:
    linear-gradient(
      rgba(255,255,255,0.8),
      rgba(255,255,255,0.8)
    ),
    url("../img/bg6.jpg") center / cover no-repeat;

  /* Glass border */
  border: 1px solid rgba(255, 255, 255, 0.18);

  /* Frosted depth */
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);

  /* Glass lighting */
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.10), inset 0 -10px 30px rgba(0, 0, 0, 0.10), 0 20px 50px rgba(0, 0, 0, 0.10), 0 0 25px rgba(255, 255, 255, 0.05);
}


.main-bg-light::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  pointer-events: none;

  background:transparent;

  opacity: 0.8;
}

  
.testimonial p {
  font-size: 1.05rem;
  line-height: 1.7;
  color: rgba(0, 0, 0, 0.85);
  margin-bottom: 1rem;
}

.testimonial h4 {
  margin-top: 0;
  font-weight: 600;
  letter-spacing: .3px;
  color: rgba(0, 0, 0, 0.95);
}

/* Optional role/title */
.testimonial span {
  display: block;
  font-size: .85rem;
  color: rgba(0,0,0,0.6);
}

/* Light theme overrides for testimonial slider */
.theme-light .testimonial-slider {
  background: rgba(255,255,255,0.7);
  border: 1px solid rgba(16,16,16,0.08);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.25), 0 10px 30px rgba(0,0,0,0.08);
}

.theme-light .testimonial-slider:hover {
  background: rgba(255,255,255,0.85);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.25), 0 15px 40px rgba(0,0,0,0.1);
}

.theme-light .main-bg {
  background:
    linear-gradient(
      rgba(255,255,255,0.8),
      rgba(255,255,255,0.8)
    ),
    url("../img/bg6.jpg") center / cover no-repeat;
  border: 1px solid rgba(16,16,16,0.08);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.10), 0 20px 50px rgba(0,0,0,0.08);
}

.theme-light .main-bg::before {
  background: transparent;
}
  

.cta-bg {
  position: relative;

  /* Background */
  background:
    linear-gradient(
      rgba(255,255,255,0.8),
      rgba(255,255,255,0.8)
    ),
    url("../img/bg6.jpg") center / cover no-repeat;

  /* Glass border */
  border: 0px solid rgba(255, 255, 255, 0.18);

  /* Frosted depth */
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);

  /* Glass lighting */
  box-shadow:none;
}


.cta-bg::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  pointer-events: none;

  background:transparent;

  opacity: 0.8;
}


/* ============================================================
 * Shop 页面：分类/筛选/排序/分页切换时的卡片交错入场动画
 * 通过给 .shop-card-stagger 元素设置不同的 animation-delay，
 * 实现 stagger 效果。当 key 变化导致元素重挂载时动画自动重放。
 * ============================================================ */
@keyframes shopCardFadeInUp {
  from {
    opacity: 0;
    transform: translateY(18px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.shop-card-stagger {
  animation: shopCardFadeInUp 0.55s cubic-bezier(0.22, 1, 0.36, 1) both;
  will-change: opacity, transform;
}

/* ============================================================
 * Shop 页面：grid ↔ list 视图切换时的高度/布局平滑过渡
 * 通过让 grid 容器布局变化更柔和，避免闪烁。
 * ============================================================ */
.shop-grid {
  transition: grid-template-columns 0.4s cubic-bezier(0.22, 1, 0.36, 1),
              gap 0.4s cubic-bezier(0.22, 1, 0.36, 1);
}

/* 列表/网格模式切换：让 ProductCard 自身的高度变化更顺滑 */
.featured-project-card {
  transition: transform 0.4s cubic-bezier(0.22, 1, 0.36, 1),
              box-shadow 0.4s ease,
              border-color 0.3s ease;
}

.theme-light .featured-project-card {
  transition: transform 0.4s cubic-bezier(0.22, 1, 0.36, 1),
              box-shadow 0.4s ease,
              border-color 0.3s ease;
}

.featured-project-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 18px 40px rgba(15, 23, 42, 0.08);
}

.theme-light .featured-project-card:hover {
  border-color: rgba(245, 158, 11, 0.35) !important;
}

/* 浅色主题下 product-card 的悬停边框色 */
.theme-light .featured-project-card {
  background: rgba(255, 255, 255, 0.95);
  border-color: rgba(16, 16, 16, 0.08);
}

/* ============================================================
 * Shop 页面：分类链接 + 工具栏 + 分页按钮的 hover 微动效
 * cursor-scale 类触发的光标放大效果由 gsap-cursor.js 处理。
 * ============================================================ */
.cursor-scale {
  transition: transform 0.25s cubic-bezier(0.22, 1, 0.36, 1);
}

.cursor-scale:hover {
  transform: scale(1.02);
}

.cursor-scale:active {
  transform: scale(0.98);
}

/* 减少动效偏好支持 */
@media (prefers-reduced-motion: reduce) {
  .shop-card-stagger,
  .featured-project-card,
  .cursor-scale {
    animation: none;
    transition: none;
  }
}

/* ============================================================
 * data-cursor-hide 元素：悬浮时隐藏自定义光标（玻璃圆点）
 * ============================================================ */
.cursor.cursor--hidden,
.cursor2.cursor--hidden {
  opacity: 0 !important;
  visibility: hidden !important;
  pointer-events: none !important;
}


