/* ============================================
   918.com博天堂 · 暖阳绿洲设计系统
   风格：温暖有机 · 自然奢感 · 手工质感
   配色：陶土橙 + 橄榄绿 + 琥珀金
   ============================================ */

/* --- 基础重置 --- */
*, *::before, *::after { 
  margin: 0; 
  padding: 0; 
  box-sizing: border-box; 
}

body { 
  font-family: system-ui, 'PingFang SC', 'Microsoft YaHei', sans-serif; 
  overflow-x: hidden; 
  background: #FDF6EC; 
  color: #2D2420; 
  line-height: 1.6; 
  -webkit-font-smoothing: antialiased;
}

::selection {
  background: #E07A5F;
  color: #FFFBF5;
}

/* --- 自定义属性 --- */
:root {
  --primary: #E07A5F;
  --primary-light: #F5A58A;
  --primary-dark: #C15D3F;
  --secondary: #6B8F71;
  --secondary-light: #A8C5AB;
  --secondary-dark: #4E6B54;
  --accent: #D4A373;
  --accent-light: #E8D5B5;
  --accent-dark: #B8895A;
  --bg-warm: #FDF6EC;
  --bg-cream: #FFFBF5;
  --bg-sand: #F8F0E6;
  --text-dark: #2D2420;
  --text-soft: #6B5A54;
  --text-light: #9B8B85;
  --border-warm: #EDE0D4;
  --shadow-warm: rgba(45, 36, 32, 0.06);
  --shadow-strong: rgba(45, 36, 32, 0.1);
  --radius: 16px;
  --radius-sm: 10px;
  --radius-xl: 24px;
}

/* --- 核心布局 --- */
.container { 
  max-width: 1200px; 
  margin: 0 auto; 
  padding: 0 24px; 
}

.section { 
  padding: 100px 0; 
  position: relative;
}

.section:nth-child(even) { 
  background: #FFFBF5; 
}

.section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 3px;
  background: linear-gradient(90deg, var(--primary), var(--accent));
  border-radius: 2px;
  opacity: 0.3;
}

.section:first-child::before {
  display: none;
}

/* --- 导航 --- */
.site-header { 
  position: fixed; 
  top: 0; 
  left: 0; 
  width: 100%; 
  z-index: 1000; 
  background: rgba(253, 246, 236, 0.88); 
  backdrop-filter: blur(16px) saturate(1.2);
  -webkit-backdrop-filter: blur(16px) saturate(1.2);
  border-bottom: 1px solid rgba(237, 224, 212, 0.6); 
}

.header-inner { 
  display: flex; 
  align-items: center; 
  justify-content: space-between; 
  height: 72px; 
  max-width: 1200px; 
  margin: 0 auto; 
  padding: 0 24px; 
}

.logo { 
  display: flex; 
  align-items: center; 
  gap: 10px; 
  font-weight: 800; 
  font-size: 1.3rem; 
  text-decoration: none; 
  color: var(--text-dark); 
  letter-spacing: -0.5px;
}

.logo-icon { 
  width: 40px; 
  height: 40px; 
  border-radius: 12px; 
  display: flex; 
  align-items: center; 
  justify-content: center; 
  font-size: 1.2rem; 
  background: linear-gradient(135deg, var(--primary), var(--accent));
  color: #fff;
  box-shadow: 0 4px 12px rgba(224, 122, 95, 0.25);
}

.main-nav { 
  display: flex; 
  align-items: center; 
  gap: 28px; 
  list-style: none; 
}

.main-nav a { 
  text-decoration: none; 
  font-size: 0.9rem; 
  font-weight: 500; 
  color: var(--text-soft); 
  transition: color 0.25s ease;
  position: relative;
  padding: 4px 0;
}

.main-nav a::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--primary);
  transition: width 0.3s ease;
  border-radius: 2px;
}

.main-nav a:hover {
  color: var(--primary-dark);
}

.main-nav a:hover::after {
  width: 100%;
}

.nav-cta { 
  padding: 10px 24px !important; 
  border-radius: var(--radius-sm); 
  color: #fff !important; 
  font-weight: 600; 
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  box-shadow: 0 4px 14px rgba(224, 122, 95, 0.3);
  transition: all 0.3s ease !important;
}

.nav-cta::after {
  display: none !important;
}

.nav-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(224, 122, 95, 0.4) !important;
  color: #fff !important;
}

.menu-toggle { 
  display: none; 
  width: 40px;
  height: 40px;
  align-items: center;
  justify-content: center;
  border: none;
  background: var(--bg-sand);
  border-radius: var(--radius-sm);
  cursor: pointer;
  font-size: 1.2rem;
  color: var(--text-dark);
  transition: background 0.2s;
}

.menu-toggle:hover {
  background: var(--border-warm);
}

/* --- 首页Hero --- */
.hero { 
  min-height: 80vh; 
  display: flex; 
  align-items: center; 
  padding-top: 72px;
  position: relative;
  overflow: hidden;
  background: linear-gradient(165deg, #FDF6EC 0%, #FFFBF5 40%, #F8F0E6 100%);
}

.hero::before {
  content: '';
  position: absolute;
  top: -30%;
  right: -10%;
  width: 60%;
  height: 80%;
  background: radial-gradient(ellipse at center, rgba(212, 163, 115, 0.12) 0%, transparent 70%);
  pointer-events: none;
}

.hero::after {
  content: '';
  position: absolute;
  bottom: -20%;
  left: -5%;
  width: 40%;
  height: 60%;
  background: radial-gradient(ellipse at center, rgba(107, 143, 113, 0.08) 0%, transparent 70%);
  pointer-events: none;
}

.hero-content { 
  max-width: 680px; 
  position: relative;
  z-index: 1;
}

.hero-eyebrow { 
  display: inline-block; 
  font-size: 0.8rem; 
  font-weight: 700; 
  padding: 6px 18px; 
  border-radius: 50px; 
  margin-bottom: 20px; 
  background: linear-gradient(135deg, var(--accent-light), rgba(212, 163, 115, 0.2));
  color: var(--accent-dark);
  letter-spacing: 1.5px;
  text-transform: uppercase;
  border: 1px solid rgba(212, 163, 115, 0.2);
}

.hero h1 { 
  font-size: 3.4rem; 
  line-height: 1.15; 
  margin-bottom: 20px; 
  font-weight: 900;
  letter-spacing: -1.5px;
  color: var(--text-dark);
  background: linear-gradient(135deg, #2D2420 40%, var(--primary));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero p { 
  font-size: 1.15rem; 
  color: var(--text-soft); 
  max-width: 520px; 
  margin-bottom: 36px; 
  line-height: 1.7;
}

.hero-buttons { 
  display: flex; 
  gap: 16px; 
}

.hero-image { 
  border-radius: var(--radius-xl); 
  overflow: hidden; 
  box-shadow: 0 20px 60px rgba(45, 36, 32, 0.08);
  position: relative;
}

.hero-image::after {
  content: '';
  position: absolute;
  inset: 0;
  border: 1px solid rgba(237, 224, 212, 0.3);
  border-radius: var(--radius-xl);
  pointer-events: none;
}

.hero-image img { 
  width: 100%; 
  height: auto; 
  display: block;
}

/* --- 按钮 --- */
.btn { 
  display: inline-flex; 
  align-items: center; 
  gap: 10px; 
  padding: 14px 32px; 
  border-radius: var(--radius-sm); 
  font-weight: 600; 
  cursor: pointer; 
  border: none; 
  text-decoration: none; 
  transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1); 
  font-size: 0.95rem;
}

.btn-primary { 
  color: #fff; 
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  box-shadow: 0 4px 16px rgba(224, 122, 95, 0.3);
}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 28px rgba(224, 122, 95, 0.4);
}

.btn-outline { 
  background: transparent; 
  border: 1.5px solid var(--border-warm); 
  color: var(--text-dark);
}

.btn-outline:hover {
  border-color: var(--primary);
  background: rgba(224, 122, 95, 0.05);
  transform: translateY(-3px);
}

/* --- 标签/标题 --- */
.section-label { 
  display: inline-block; 
  font-size: 0.75rem; 
  font-weight: 700; 
  letter-spacing: 2.5px; 
  margin-bottom: 14px; 
  color: var(--secondary);
  text-transform: uppercase;
}

.section-title { 
  font-size: 2.4rem; 
  margin-bottom: 16px; 
  font-weight: 800;
  letter-spacing: -1px;
  color: var(--text-dark);
  line-height: 1.2;
}

.section-desc { 
  max-width: 600px; 
  color: var(--text-soft); 
  margin-bottom: 48px; 
  font-size: 1.05rem;
  line-height: 1.7;
}

/* --- 卡片网格 --- */
.cards-grid { 
  display: grid; 
  grid-template-columns: repeat(auto-fill, minmax(270px, 1fr)); 
  gap: 28px; 
}

.category-card { 
  border-radius: var(--radius); 
  padding: 32px 28px; 
  border: 1px solid var(--border-warm); 
  background: var(--bg-cream);
  transition: all 0.35s cubic-bezier(0.34, 1.56, 0.64, 1); 
  position: relative;
  overflow: hidden;
}

.category-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 4px;
  height: 0;
  background: linear-gradient(180deg, var(--primary), var(--accent));
  transition: height 0.4s ease;
  border-radius: 0 2px 2px 0;
}

.category-card:hover { 
  transform: translateY(-4px); 
  box-shadow: 0 12px 36px var(--shadow-warm); 
  border-color: rgba(224, 122, 95, 0.2);
}

.category-card:hover::before {
  height: 100%;
}

.card-icon { 
  width: 52px; 
  height: 52px; 
  border-radius: 12px; 
  display: flex; 
  align-items: center; 
  justify-content: center; 
  margin-bottom: 18px; 
  font-size: 1.4rem; 
  background: linear-gradient(135deg, rgba(224, 122, 95, 0.1), rgba(212, 163, 115, 0.1));
  color: var(--primary);
  transition: transform 0.3s ease;
}

.category-card:hover .card-icon {
  transform: scale(1.05);
}

.category-card h3 {
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 8px;
  color: var(--text-dark);
}

.category-card p {
  font-size: 0.9rem;
  color: var(--text-soft);
  margin-bottom: 16px;
  line-height: 1.6;
}

.card-link { 
  font-weight: 600; 
  font-size: 0.85rem; 
  text-decoration: none; 
  color: var(--primary);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: gap 0.3s ease;
}

.card-link:hover {
  gap: 12px;
}

/* --- 特性块 --- */
.feature-block { 
  display: grid; 
  grid-template-columns: 1fr 1fr; 
  gap: 64px; 
  align-items: center; 
}

.feature-image { 
  border-radius: var(--radius-xl); 
  overflow: hidden; 
  box-shadow: 0 16px 48px var(--shadow-warm);
  position: relative;
}

.feature-image::after {
  content: '';
  position: absolute;
  inset: 0;
  border: 1px solid rgba(237, 224, 212, 0.2);
  border-radius: var(--radius-xl);
  pointer-events: none;
}

.feature-image img { 
  width: 100%; 
  height: auto; 
  display: block;
}

.feature-text { 
  padding: 20px 0;
}

.feature-text .section-title {
  font-size: 2rem;
}

.feature-text .section-desc {
  margin-bottom: 28px;
}

.feature-list { 
  list-style: none; 
}

.feature-list li { 
  padding: 10px 0; 
  display: flex; 
  align-items: center; 
  gap: 12px; 
  font-size: 1rem;
  color: var(--text-dark);
  border-bottom: 1px solid rgba(237, 224, 212, 0.3);
}

.feature-list li:last-child {
  border-bottom: none;
}

.feature-list li::before { 
  content: '✓'; 
  font-weight: 800; 
  color: var(--secondary);
  font-size: 1.1rem;
  width: 24px;
  height: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(107, 143, 113, 0.1);
  border-radius: 50%;
  flex-shrink: 0;
}

/* --- 数据条 --- */
.stats-bar { 
  display: grid; 
  grid-template-columns: repeat(4, 1fr); 
  gap: 28px; 
  text-align: center; 
}

.stat-item { 
  padding: 32px 24px; 
  border-radius: var(--radius); 
  border: 1px solid var(--border-warm); 
  background: var(--bg-cream);
  transition: all 0.3s ease;
}

.stat-item:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 28px var(--shadow-warm);
}

.stat-number { 
  font-size: 2.6rem; 
  font-weight: 900; 
  color: var(--primary);
  letter-spacing: -1px;
  line-height: 1;
}

.stat-label { 
  font-size: 0.9rem; 
  color: var(--text-soft); 
  margin-top: 8px; 
  font-weight: 500;
}

/* --- 内容墙 --- */
.content-wall { 
  display: grid; 
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); 
  gap: 28px; 
}

.content-wall-item { 
  border-radius: var(--radius); 
  overflow: hidden; 
  border: 1px solid var(--border-warm); 
  background: var(--bg-cream);
  transition: all 0.35s cubic-bezier(0.34, 1.56, 0.64, 1); 
}

.content-wall-item:hover { 
  transform: translateY(-4px); 
  box-shadow: 0 12px 36px var(--shadow-warm); 
  border-color: rgba(224, 122, 95, 0.15);
}

.content-wall-item img { 
  width: 100%; 
  height: 210px; 
  object-fit: cover; 
  transition: transform 0.5s ease;
}

.content-wall-item:hover img {
  transform: scale(1.03);
}

.content-wall-body { 
  padding: 24px; 
}

.content-wall-body h3 {
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 8px;
  color: var(--text-dark);
}

.content-wall-body p {
  font-size: 0.9rem;
  color: var(--text-soft);
  line-height: 1.6;
  margin-bottom: 0;
}

.content-wall-body .card-link {
  margin-top: 12px;
}

/* --- FAQ --- */
.faq-list { 
  max-width: 800px; 
  margin: 0 auto; 
}

.faq-item { 
  border: 1px solid var(--border-warm); 
  border-radius: var(--radius-sm); 
  margin-bottom: 10px; 
  overflow: hidden; 
  cursor: pointer; 
  background: var(--bg-cream);
  transition: all 0.3s ease;
}

.faq-item:hover {
  border-color: rgba(224, 122, 95, 0.2);
}

.faq-item .faq-question { 
  padding: 18px 24px; 
  font-weight: 600; 
  display: flex; 
  justify-content: space-between; 
  align-items: center;
  color: var(--text-dark);
  font-size: 1.05rem;
  transition: color 0.3s ease;
}

.faq-item .faq-question::after {
  content: '+';
  font-size: 1.4rem;
  font-weight: 300;
  color: var(--primary);
  transition: transform 0.4s ease;
}

.faq-item.open .faq-question::after {
  transform: rotate(45deg);
}

.faq-item .faq-answer { 
  padding: 0 24px 18px; 
  display: none; 
  color: var(--text-soft); 
  line-height: 1.7;
  font-size: 0.95rem;
}

.faq-item.open .faq-answer { 
  display: block; 
  animation: fadeSlideIn 0.3s ease;
}

@keyframes fadeSlideIn {
  from {
    opacity: 0;
    transform: translateY(-6px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* --- CTA横幅 --- */
.cta-banner { 
  padding: 64px 32px; 
  text-align: center; 
  border-radius: var(--radius-xl); 
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  color: #fff; 
  position: relative;
  overflow: hidden;
  box-shadow: 0 16px 48px rgba(224, 122, 95, 0.25);
}

.cta-banner::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 60%;
  height: 200%;
  background: radial-gradient(ellipse at center, rgba(255, 255, 255, 0.08) 0%, transparent 70%);
  pointer-events: none;
}

.cta-banner::after {
  content: '';
  position: absolute;
  bottom: -30%;
  left: -10%;
  width: 40%;
  height: 100%;
  background: radial-gradient(ellipse at center, rgba(212, 163, 115, 0.15) 0%, transparent 70%);
  pointer-events: none;
}

.cta-banner h2 { 
  color: #fff; 
  font-size: 2.2rem;
  font-weight: 800;
  margin-bottom: 16px;
  position: relative;
  z-index: 1;
}

.cta-banner p {
  color: rgba(255, 255, 255, 0.8);
  max-width: 500px;
  margin: 0 auto 32px;
  font-size: 1.05rem;
  position: relative;
  z-index: 1;
}

.cta-banner .btn-primary { 
  background: #fff; 
  color: var(--primary-dark);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
  position: relative;
  z-index: 1;
}

.cta-banner .btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.15);
}

/* --- 页脚 --- */
.site-footer { 
  padding: 64px 0 32px; 
  background: var(--bg-sand);
  border-top: 1px solid var(--border-warm);
}

.footer-grid { 
  display: grid; 
  grid-template-columns: 2fr 1fr 1fr 1fr; 
  gap: 48px; 
}

.footer-brand { 
  font-size: 0.95rem; 
  color: var(--text-soft); 
  line-height: 1.7;
}

.footer-brand .logo {
  margin-bottom: 16px;
  font-size: 1.2rem;
}

.footer-brand p {
  max-width: 300px;
}

.footer-col h4 { 
  font-size: 1rem; 
  font-weight: 700; 
  margin-bottom: 18px; 
  color: var(--text-dark);
}

.footer-col ul {
  list-style: none;
}

.footer-col ul li {
  margin-bottom: 10px;
}

.footer-col ul a {
  text-decoration: none;
  color: var(--text-soft);
  font-size: 0.9rem;
  transition: color 0.2s ease;
}

.footer-col ul a:hover {
  color: var(--primary);
}

.footer-bottom { 
  border-top: 1px solid var(--border-warm); 
  margin-top: 48px; 
  padding-top: 24px; 
  text-align: center; 
  font-size: 0.85rem; 
  color: var(--text-light);
}

/* --- 工具类 --- */
.text-accent { 
  color: var(--primary); 
}

.text-center { 
  text-align: center; 
}

.seo-description { 
  max-width: 600px; 
  margin: 0 auto 48px; 
  color: var(--text-soft); 
  font-size: 1rem;
  line-height: 1.7;
}

.mt-0 { 
  margin-top: 0; 
}

.mb-0 { 
  margin-bottom: 0; 
}

/* --- 辅助装饰线 --- */
.divider {
  width: 60px;
  height: 3px;
  background: linear-gradient(90deg, var(--primary), var(--accent));
  border-radius: 2px;
  margin: 24px 0;
}

.text-center .divider {
  margin: 24px auto;
}

/* --- 滚动条美化 --- */
::-webkit-scrollbar {
  width: 8px;
}

::-webkit-scrollbar-track {
  background: var(--bg-warm);
}

::-webkit-scrollbar-thumb {
  background: var(--border-warm);
  border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
  background: var(--accent);
}

/* --- 响应式 --- */
@media (max-width: 1024px) {
  .hero h1 {
    font-size: 2.8rem;
  }
  
  .section-title {
    font-size: 2rem;
  }
  
  .feature-block {
    gap: 40px;
  }
  
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 36px;
  }
}

@media (max-width: 768px) {
  .hero {
    min-height: 60vh;
    padding-top: 72px;
    text-align: center;
  }
  
  .hero-content {
    max-width: 100%;
  }
  
  .hero h1 {
    font-size: 2.2rem;
  }
  
  .hero p {
    margin-left: auto;
    margin-right: auto;
  }
  
  .hero-buttons {
    justify-content: center;
  }
  
  .hero-image {
    margin-top: 40px;
  }
  
  .section {
    padding: 72px 0;
  }
  
  .section-title {
    font-size: 1.7rem;
  }
  
  .feature-block { 
    grid-template-columns: 1fr; 
    gap: 40px;
    text-align: center;
  }
  
  .feature-text .section-desc {
    margin-left: auto;
    margin-right: auto;
  }
  
  .feature-list li {
    justify-content: center;
  }
  
  .stats-bar { 
    grid-template-columns: repeat(2, 1fr); 
    gap: 16px;
  }
  
  .stat-number {
    font-size: 2rem;
  }
  
  .footer-grid { 
    grid-template-columns: 1fr 1fr; 
    gap: 32px;
    text-align: center;
  }
  
  .footer-brand {
    grid-column: 1 / -1;
    text-align: center;
  }
  
  .footer-brand .logo {
    justify-content: center;
  }
  
  .footer-brand p {
    margin: 0 auto;
  }
  
  .main-nav { 
    display: none; 
  }
  
  .menu-toggle { 
    display: flex; 
  }
  
  .main-nav.open { 
    display: flex; 
    flex-direction: column; 
    position: absolute; 
    top: 72px; 
    left: 0; 
    width: 100%; 
    background: rgba(253, 246, 236, 0.98);
    backdrop-filter: blur(16px);
    padding: 24px 32px;
    gap: 16px;
    border-bottom: 1px solid var(--border-warm);
    box-shadow: 0 16px 40px var(--shadow-warm);
  }
  
  .main-nav.open a {
    font-size: 1.05rem;
    padding: 8px 0;
  }
  
  .cards-grid {
    gap: 20px;
  }
  
  .content-wall {
    gap: 20px;
  }
  
  .cta-banner {
    padding: 48px 24px;
  }
  
  .cta-banner h2 {
    font-size: 1.7rem;
  }
}

@media (max-width: 480px) {
  .cards-grid,
  .content-wall,
  .stats-bar { 
    grid-template-columns: 1fr; 
  }
  
  .footer-grid { 
    grid-template-columns: 1fr; 
  }
  
  .hero-buttons { 
    flex-direction: column; 
    align-items: center;
    gap: 12px;
  }
  
  .hero h1 {
    font-size: 1.8rem;
  }
  
  .section-title {
    font-size: 1.4rem;
  }
  
  .btn {
    width: 100%;
    justify-content: center;
  }
  
  .hero-buttons .btn {
    width: auto;
    min-width: 200px;
  }
  
  .stat-item {
    padding: 24px 16px;
  }
  
  .stat-number {
    font-size: 1.8rem;
  }
  
  .category-card {
    padding: 24px 20px;
  }
}