/* ==========================================
 * 字母社区 - 暖色琥珀调 & 毛玻璃主题
 * ========================================== */
:root {
  /* 文本颜色 */
  --text-main: #f5ebe6;
  --text-muted: #c4b5b0;
  
  /* 暖调强调色：琥珀金与深玫瑰红 */
  --accent-primary: #ff7e5f;
  --accent-secondary: #feb47b;
  --accent-deep: #d94848;
  
  /* 毛玻璃面板底色 (暖棕黑) */
  --glass-bg: rgba(30, 15, 10, 0.65);
  --glass-border: rgba(255, 126, 95, 0.2);
  --glass-shadow: 0 15px 35px rgba(0, 0, 0, 0.6), 0 0 25px rgba(255, 126, 95, 0.15);
  
  --font-stack: 'Helvetica Neue', Helvetica, 'PingFang SC', 'Microsoft YaHei', sans-serif;
  --gutter: clamp(20px, 4vw, 50px);
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-stack);
  color: var(--text-main);
  background-color: #0c0503; /* 极深的暖黑底色 */
  overflow-x: hidden;
  line-height: 1.8;
}
a { text-decoration: none; color: inherit; }
h1, h2, h3, h4 { color: var(--accent-secondary); font-weight: 400; text-shadow: 0 0 15px rgba(255, 126, 95, 0.5); }

/* ==========================================
 * 动态暖色背景与发光氛围
 * ========================================== */
.bg-animation {
  position: fixed; inset: 0; z-index: -10;
  /* 暖色流动渐变 */
  background: linear-gradient(-45deg, #0c0503, #2a0f0a, #4a1510, #150604);
  background-size: 400% 400%;
  animation: gradientBG 15s ease infinite;
}
@keyframes gradientBG { 0% { background-position: 0% 50%; } 50% { background-position: 100% 50%; } 100% { background-position: 0% 50%; } }

.ambient-glow-1, .ambient-glow-2 {
  position: fixed; width: 60vw; height: 60vh; filter: blur(90px); z-index: -5; pointer-events: none; opacity: 0.6;
}
/* 左上角暖橙色光晕 */
.ambient-glow-1 { top: -20%; left: -10%; background: radial-gradient(circle, rgba(255, 126, 95, 0.2) 0%, transparent 70%); }
/* 右下角深玫瑰色光晕 */
.ambient-glow-2 { bottom: -20%; right: -10%; background: radial-gradient(circle, rgba(217, 72, 72, 0.15) 0%, transparent 70%); }

/* 滚动显现特效 */
.reveal { opacity: 0; transform: translateY(30px); transition: all 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94); }
.reveal.reveal-visible { opacity: 1; transform: translateY(0); }

/* ==========================================
 * 通用组件: 毛玻璃面板
 * ========================================== */
.glass-panel {
  background: var(--glass-bg);
  backdrop-filter: blur(15px); -webkit-backdrop-filter: blur(15px);
  border: 1px solid var(--glass-border);
  border-radius: 24px;
  box-shadow: var(--glass-shadow);
  padding: 40px;
}
.highlight { color: var(--accent-primary); font-weight: 600; text-shadow: 0 0 10px rgba(255,126,95,0.4); }
.divider { width: 40%; height: 1px; background: linear-gradient(90deg, transparent, rgba(255, 126, 95, 0.6), transparent); margin: 35px auto; border: none; }
.num { display: block; font-size: 16px; font-weight: 700; color: var(--accent-primary); letter-spacing: 2px; margin-bottom: 10px; }

/* ==========================================
 * [优化] 诱惑暖光按钮 & 放大版二维码
 * ========================================== */
.glow-btn {
  display: flex; flex-direction: column; justify-content: center; align-items: center;
  padding: 15px 25px; min-width: 190px;
  color: #fff; border: 1px solid rgba(255, 126, 95, 0.5); border-radius: 12px;
  background: rgba(255, 126, 95, 0.1);
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  position: relative; overflow: hidden;
}
.glow-btn::before {
  content: ''; position: absolute; top: 0; left: -100%; width: 100%; height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
  transition: all 0.4s ease;
}
.glow-btn:hover {
  background: rgba(217, 72, 72, 0.8); color: #ffffff; border-color: var(--accent-primary);
  box-shadow: 0 0 25px rgba(255, 126, 95, 0.5), inset 0 0 15px rgba(255, 255, 255, 0.15);
  transform: translateY(-2px);
}
.glow-btn:hover::before { left: 100%; transition: all 0.6s ease; }
.glow-btn strong { font-size: 17px; font-weight: 600; letter-spacing: 1px; margin-bottom: 4px; }
.glow-btn small { font-size: 12px; color: rgba(255,255,255,0.75); }

/* iOS 按钮暖紫调 */
.ios-btn { border-color: rgba(188, 112, 164, 0.5); background: rgba(188, 112, 164, 0.1); }
.ios-btn:hover { background: rgba(142, 68, 118, 0.8); border-color: #d49bc4; box-shadow: 0 0 25px rgba(188, 112, 164, 0.5); }

/* ==========================================
 * 导航栏
 * ========================================== */
.crimson-header { position: fixed; top: 0; width: 100%; z-index: 100; background: rgba(12, 5, 3, 0.75); backdrop-filter: blur(12px); border-bottom: 1px solid var(--glass-border); }
.header-inner { display: flex; justify-content: space-between; align-items: center; max-width: 1200px; margin: 0 auto; padding: 15px var(--gutter); }
.brand-logo { display: flex; align-items: center; gap: 12px; }
.brand-logo img { width: 34px; height: 34px; filter: drop-shadow(0 0 12px rgba(255,126,95,0.6)); }
.brand-name { font-size: 19px; font-weight: 700; letter-spacing: 2px; color: var(--text-main); }
.desktop-nav { display: flex; gap: 35px; }
.desktop-nav a { font-size: 14px; color: var(--text-muted); transition: color 0.3s; font-weight: 500; }
.desktop-nav a:hover { color: #fff; text-shadow: 0 0 10px var(--accent-secondary); }
.mobile-menu-btn { display: none; background: transparent; border: 1px solid var(--glass-border); color: var(--accent-secondary); padding: 8px 15px; border-radius: 6px; cursor: pointer; }

/* ==========================================
 * 主体内容区布局
 * ========================================== */
.main-container { max-width: 1200px; margin: 0 auto; padding: 110px var(--gutter) 60px; }
.hero-section { text-align: center; margin-bottom: 70px; }
.hero-panel { padding: 60px 40px; }
.hero-tags span { display: inline-block; padding: 6px 18px; border: 1px solid var(--glass-border); border-radius: 30px; font-size: 11px; letter-spacing: 2px; color: var(--accent-secondary); margin-bottom: 25px; background: rgba(255,126,95,0.05); }
.hero-panel h1 { font-size: clamp(30px, 5vw, 48px); line-height: 1.4; margin-bottom: 25px; letter-spacing: 2px; }
.hero-desc { font-size: 15px; color: var(--text-muted); max-width: 750px; margin: 0 auto 30px; line-height: 1.9; }
.hero-note { font-size: 12px; color: #a48a82; margin-top: 35px; }

/* ==========================================
 * [优化] 下载网格区域 (二维码显著放大)
 * ========================================== */
.dl-grid { display: flex; justify-content: center; gap: 40px; flex-wrap: wrap; margin-top: 35px; }
.dl-item { 
  display: flex; align-items: center; gap: 20px; /* 增加二维码和按钮的间距 */
  background: rgba(0,0,0,0.4); 
  padding: 20px; /* 增加卡片内边距 */
  border-radius: 18px; 
  border: 1px solid rgba(255,255,255,0.1); 
}
.dl-qr { 
  width: 95px; /* 从原先的 70px 放大至 95px */
  height: 95px; 
  border-radius: 12px; 
  padding: 6px; 
  background: #fff; 
  box-shadow: 0 5px 15px rgba(0,0,0,0.5);
  flex-shrink: 0;
}

/* 价值宣导栏 */
.value-bar { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 25px; margin-bottom: 90px; text-align: center; }
.mini-panel { padding: 30px; }
.mini-panel strong { display: block; font-size: 19px; color: var(--accent-primary); letter-spacing: 1px; margin-bottom: 8px; }
.mini-panel span { font-size: 14px; color: var(--text-muted); }

/* 详情板块 */
.content-section { margin-bottom: 110px; }
.section-title { margin-bottom: 35px; }
.section-title h2 { font-size: clamp(26px, 4vw, 36px); line-height: 1.4; letter-spacing: 1px; }
.section-sub { font-size: 15px; color: var(--text-muted); margin-top: 15px; max-width: 700px; }
.text-center { text-align: center; }

/* 交流提案网格 */
.card-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 25px; }
.card { padding: 35px; transition: transform 0.3s ease; }
.card:hover { transform: translateY(-6px); background: rgba(50, 20, 15, 0.6); }
.card h3 { font-size: 18px; margin-bottom: 15px; color: var(--text-main); }
.card p { font-size: 14.5px; color: var(--text-muted); line-height: 1.8; }
.card-tag { display: inline-block; font-size: 11px; color: var(--accent-secondary); margin-bottom: 12px; border-bottom: 1px solid var(--glass-border); padding-bottom: 5px; }

/* 文化阅读双列 */
.guide-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 25px; }

/* 愿景左右排版 */
.vision-panel { display: flex; flex-wrap: wrap; gap: 50px; align-items: center; }
.vision-text { flex: 1; min-width: 300px; }
.vision-list { flex: 1.5; display: flex; flex-direction: column; gap: 25px; border-left: 1px solid var(--glass-border); padding-left: 40px; }
.v-item h4 { font-size: 17px; margin-bottom: 6px; color: var(--accent-secondary); }
.v-item p { font-size: 14px; color: var(--text-muted); }

/* FAQ折叠面板 */
.faq-panel { padding: 25px 45px; }
details { padding: 22px 0; border-bottom: 1px solid var(--glass-border); }
details:last-child { border-bottom: none; }
summary { font-size: 16px; font-weight: 600; color: var(--text-main); cursor: pointer; list-style: none; display: flex; align-items: center; }
summary::-webkit-details-marker { display: none; }
summary::before { content: "✦"; color: var(--accent-primary); margin-right: 12px; font-size: 16px; }
details p { margin-top: 16px; padding-left: 28px; font-size: 14px; color: var(--text-muted); }

/* ==========================================
 * 页脚
 * ========================================== */
.glass-footer { background: rgba(10, 3, 2, 0.9); border-top: 1px solid var(--glass-border); padding: 60px var(--gutter) 25px; }
.footer-content { max-width: 1200px; margin: 0 auto 40px; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 30px; }
.footer-content .brand h2 { font-size: 24px; margin-bottom: 12px; letter-spacing: 2px; color: var(--accent-secondary); }
.footer-content .brand p { font-size: 14px; color: var(--text-muted); line-height: 1.8; }
.footer-content .slogan { text-align: right; font-size: 13px; color: var(--text-muted); line-height: 2; }
.copyright { max-width: 1200px; margin: 0 auto; border-top: 1px solid rgba(255,255,255,0.06); padding-top: 25px; text-align: center; font-size: 12px; color: #7a6b65; }

/* ==========================================
 * 移动端适配
 * ========================================== */
@media (max-width: 900px) {
  .guide-grid { grid-template-columns: 1fr; }
  .vision-panel { flex-direction: column; }
  .vision-list { border-left: none; padding-left: 0; border-top: 1px solid var(--glass-border); padding-top: 25px; }
  
  /* 移动端下载区适配 */
  .dl-grid { flex-direction: column; align-items: center; gap: 20px; }
  .dl-item { width: 100%; max-width: 360px; justify-content: center; }
}

@media (max-width: 768px) {
  .desktop-nav { display: none; position: absolute; top: 60px; left: 0; width: 100%; background: #0c0503; flex-direction: column; padding: 25px 0; border-bottom: 1px solid var(--glass-border); }
  .desktop-nav.active { display: flex; }
  .mobile-menu-btn { display: block; }
  .mobile-menu-btn::after { content: "≡"; font-size: 22px; line-height: 1; }
  
  .glass-panel { padding: 30px 25px; border-radius: 16px; }
  .faq-panel { padding: 15px 20px; }
  
  .footer-content { flex-direction: column; text-align: center; }
  .footer-content .slogan { text-align: center; margin-top: 15px; }
}