/* 新巢速配 - 统一毛玻璃风格 */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800&family=Noto+Sans+SC:wght@300;400;500;700;900&display=swap');

* { margin: 0; padding: 0; box-sizing: border-box; }
body { font-family: 'Noto Sans SC', 'Inter', sans-serif; overflow-x: hidden; min-height: 100vh; }
body.bg-home { background: url('hero_bg.png') center/cover no-repeat fixed; }
body.bg-supply { background: linear-gradient(135deg, #1a1f2e 0%, #2d3548 50%, #1a2535 100%); }
body.bg-design { background: linear-gradient(135deg, #f0f2f5 0%, #e8ecf2 50%, #f5f7fa 100%); }
body.bg-video { background: linear-gradient(135deg, #2c1810 0%, #4a2c1a 40%, #1a1510 100%); }
body.bg-drama { background: linear-gradient(135deg, #1a1535 0%, #2d2055 50%, #151030 100%); }
body.bg-guide { background: linear-gradient(135deg, #e8f4fd 0%, #d1e8fa 50%, #c5dff5 100%); }
body.bg-inquiry { background: linear-gradient(135deg, #0f2818 0%, #1a3d25 50%, #0d2015 100%); }
body.bg-community { background: linear-gradient(135deg, #1a1040 0%, #2d1a6e 40%, #4a2090 100%); }

/* 毛玻璃导航栏 */
.navbar {
  position: fixed; top: 20px; left: 50%; transform: translateX(-50%);
  width: calc(100% - 60px); max-width: 1400px; z-index: 100;
  padding: 16px 35px;
  background: rgba(255,255,255,0.65);
  backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px);
  border-radius: 16px;
  border: 1px solid rgba(255,255,255,0.8);
  display: flex; align-items: center; justify-content: space-between;
  box-shadow: 0 4px 30px rgba(0,0,0,0.06);
  will-change: auto;
  transition: none;
}
.nav-logo { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.nav-logo-icon { width: 40px; height: 40px; background: linear-gradient(135deg, #c9a96e, #a07c3e); border-radius: 10px; display: flex; align-items: center; justify-content: center; color: white; font-weight: 800; font-size: 18px; }
.nav-logo-text { font-size: 18px; font-weight: 700; color: #1a1a1a; letter-spacing: 0.5px; }
.nav-links { display: flex; gap: 30px; }
.nav-links a { color: #333; text-decoration: none; font-size: 15px; font-weight: 500; transition: color 0.3s; }
.nav-links a:hover, .nav-links a.active { color: #c9a96e; }
.nav-lang { display: flex; align-items: center; gap: 6px; color: #333; font-size: 14px; }
.nav-lang select { border: none; background: transparent; font-size: 14px; color: #333; cursor: pointer; outline: none; }

/* 暗色页面导航变体 */
.dark .navbar { background: rgba(0,0,0,0.35); border: 1px solid rgba(255,255,255,0.15); }
.dark .nav-logo-text { color: white; }
.dark .nav-links a { color: rgba(255,255,255,0.85); }
.dark .nav-links a:hover, .dark .nav-links a.active { color: #c9a96e; }
.dark .nav-lang { color: rgba(255,255,255,0.8); }
.dark .nav-lang select { color: rgba(255,255,255,0.8); }
.dark .page-title { color: white; }
.dark .page-subtitle { color: rgba(255,255,255,0.7); }
.dark .glass-panel { background: rgba(255,255,255,0.08); border: 1px solid rgba(255,255,255,0.15); }
.dark .glass-card { background: rgba(255,255,255,0.06); border: 1px solid rgba(255,255,255,0.12); }
.dark .glass-card:hover { background: rgba(255,255,255,0.12); }
.dark .glass-card h3 { color: white !important; }
.dark .glass-card p { color: rgba(255,255,255,0.7) !important; }
.dark .form-group label { color: rgba(255,255,255,0.9); }
.dark .form-group input, .dark .form-group textarea, .dark .form-group select { background: rgba(255,255,255,0.08); border-color: rgba(255,255,255,0.2); color: white; }
.dark .ai-advisor-bubble { background: rgba(0,0,0,0.5); color: white; border-color: rgba(255,255,255,0.2); }

/* 页面容器 */
.page-container {
  padding-top: 100px; min-height: 100vh;
  display: flex; flex-direction: column; align-items: center;
}

/* 毛玻璃面板 */
.glass-panel {
  background: rgba(255,255,255,0.7);
  backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px);
  border-radius: 20px;
  border: 1px solid rgba(255,255,255,0.85);
  box-shadow: 0 4px 30px rgba(0,0,0,0.06);
  padding: 40px;
  width: calc(100% - 60px); max-width: 1200px;
  margin: 20px auto;
}

/* 页面标题 */
.page-title {
  font-size: 36px; font-weight: 800; color: #1a1a1a; margin-bottom: 10px;
}
.page-subtitle {
  font-size: 16px; color: #666; margin-bottom: 30px;
}

/* 毛玻璃卡片 */
.glass-card {
  background: rgba(255,255,255,0.6);
  backdrop-filter: blur(15px); -webkit-backdrop-filter: blur(15px);
  border-radius: 14px;
  border: 1px solid rgba(255,255,255,0.8);
  padding: 25px;
  transition: all 0.3s;
  cursor: pointer;
}
.glass-card:hover { background: rgba(255,255,255,0.85); transform: translateY(-3px); box-shadow: 0 8px 25px rgba(0,0,0,0.08); }

/* 按钮 */
.btn-primary {
  display: inline-block; padding: 12px 30px;
  background: linear-gradient(135deg, #c9a96e, #a07c3e);
  color: white; font-size: 15px; font-weight: 600;
  border-radius: 10px; border: none; cursor: pointer;
  text-decoration: none; transition: all 0.3s;
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 4px 15px rgba(201,169,110,0.4); }

/* 表单 */
.form-group { margin-bottom: 20px; }
.form-group label { display: block; font-weight: 600; margin-bottom: 8px; color: #333; font-size: 14px; }
.form-group input, .form-group textarea, .form-group select {
  width: 100%; padding: 12px 16px;
  background: rgba(255,255,255,0.6);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(200,200,200,0.5);
  border-radius: 10px; font-size: 15px; font-family: inherit;
  transition: border-color 0.3s;
}
.form-group input:focus, .form-group textarea:focus, .form-group select:focus {
  outline: none; border-color: #c9a96e;
}
.form-group textarea { min-height: 120px; resize: vertical; }

/* 网格 */
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }

/* AI风格顾问 */
.ai-advisor {
  position: fixed; bottom: 25px; right: 25px; z-index: 200;
  display: flex; align-items: flex-end; gap: 8px;
}
.ai-advisor-bubble {
  background: rgba(255,255,255,0.85);
  backdrop-filter: blur(15px);
  border-radius: 12px 12px 0 12px; padding: 8px 14px;
  border: 1px solid rgba(255,255,255,0.9);
  box-shadow: 0 4px 15px rgba(0,0,0,0.08);
  font-size: 12px; color: #333; line-height: 1.4;
}
.ai-advisor-avatar {
  width: 55px; height: 55px; border-radius: 50%; cursor: pointer;
  border: 2px solid rgba(255,255,255,0.9);
  box-shadow: 0 4px 15px rgba(0,0,0,0.15);
  transition: transform 0.3s; object-fit: cover;
}
.ai-advisor-avatar:hover { transform: scale(1.1); }

/* 响应式 */
@media (max-width: 1024px) {
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 768px) {
  .navbar { width: calc(100% - 30px); padding: 12px 20px; top: 10px; }
  .nav-links { display: none; }
  .glass-panel { padding: 25px; width: calc(100% - 30px); }
  .page-title { font-size: 28px; }
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
}
