/* ============================================
   豪门国际平台 · 琉璃光影设计系统
   风格：浮光琉璃 · 通透层叠 · 尊雅光影
   ============================================ */

/* 自定义属性 */
:root {
  --hm-primary: #B8CDE0;
  --hm-primary-light: #D4E4F0;
  --hm-primary-dark: #8AACCC;
  --hm-secondary: #E0BCD0;
  --hm-secondary-light: #F0D8E4;
  --hm-accent: #E8D5B8;
  --hm-accent-light: #F2E8D8;
  --hm-green: #C4D8B8;
  --hm-bg: #FAF8F5;
  --hm-bg-alt: #F2EFEA;
  --hm-bg-card: rgba(255, 255, 255, 0.72);
  --hm-text: #2C2A35;
  --hm-text-secondary: #6B6878;
  --hm-text-light: #9B98A8;
  --hm-border: rgba(184, 205, 224, 0.25);
  --hm-shadow: rgba(184, 205, 224, 0.18);
  --hm-shadow-strong: rgba(184, 205, 224, 0.30);
  --hm-glass-border: rgba(255, 255, 255, 0.6);
  --hm-radius: 14px;
  --hm-radius-sm: 8px;
  --hm-radius-lg: 20px;
  --hm-transition: 0.35s cubic-bezier(0.22, 1, 0.36, 1);
  --hm-font: 'PingFang SC', 'Microsoft YaHei', 'Noto Sans SC', system-ui, -apple-system, sans-serif;
}

/* ===== 基础重置 ===== */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--hm-font);
  background-color: var(--hm-bg);
  color: var(--hm-text);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

::selection {
  background: var(--hm-primary);
  color: #fff;
}

/* ===== 核心布局 ===== */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.section {
  padding: 100px 0;
  position: relative;
}

.section:nth-child(even) {
  background: var(--hm-bg-alt);
}

.section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--hm-primary-light), transparent);
  opacity: 0.5;
}

/* ===== 导航 ===== */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background: rgba(250, 248, 245, 0.82);
  backdrop-filter: blur(18px) saturate(1.2);
  -webkit-backdrop-filter: blur(18px) saturate(1.2);
  border-bottom: 1px solid var(--hm-border);
  transition: var(--hm-transition);
}

.site-header.scrolled {
  box-shadow: 0 4px 30px var(--hm-shadow);
}

.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: 700;
  font-size: 1.25rem;
  text-decoration: none;
  color: var(--hm-text);
  letter-spacing: 1px;
  transition: var(--hm-transition);
}

.logo:hover {
  opacity: 0.8;
}

.logo-icon {
  width: 40px;
  height: 40px;
  border-radius: var(--hm-radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  background: linear-gradient(135deg, var(--hm-primary), var(--hm-secondary));
  color: #fff;
  box-shadow: 0 4px 12px rgba(184, 205, 224, 0.35);
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 32px;
  list-style: none;
}

.main-nav a {
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--hm-text-secondary);
  transition: var(--hm-transition);
  position: relative;
  padding: 4px 0;
}

.main-nav a::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--hm-primary), var(--hm-secondary));
  border-radius: 2px;
  transition: var(--hm-transition);
}

.main-nav a:hover {
  color: var(--hm-text);
}

.main-nav a:hover::after {
  width: 100%;
}

.nav-cta {
  padding: 10px 24px !important;
  border-radius: 50px !important;
  background: linear-gradient(135deg, var(--hm-primary), var(--hm-secondary));
  color: #fff !important;
  font-weight: 600 !important;
  box-shadow: 0 4px 16px rgba(184, 205, 224, 0.35);
  transition: var(--hm-transition) !important;
}

.nav-cta::after {
  display: none !important;
}

.nav-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(184, 205, 224, 0.45) !important;
  opacity: 0.95 !important;
}

.menu-toggle {
  display: none;
  width: 40px;
  height: 40px;
  border: none;
  background: var(--hm-bg-alt);
  border-radius: var(--hm-radius-sm);
  cursor: pointer;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  color: var(--hm-text);
  transition: var(--hm-transition);
}

.menu-toggle:hover {
  background: var(--hm-primary-light);
}

/* ===== 首页 Hero ===== */
.hero {
  min-height: 85vh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  padding-top: 72px;
  background:
    radial-gradient(ellipse at 15% 50%, rgba(184, 205, 224, 0.15) 0%, transparent 60%),
    radial-gradient(ellipse at 85% 30%, rgba(224, 188, 208, 0.12) 0%, transparent 60%),
    radial-gradient(ellipse at 50% 80%, rgba(232, 213, 184, 0.08) 0%, transparent 50%);
}

.hero::before {
  content: '';
  position: absolute;
  top: -30%;
  right: -10%;
  width: 60%;
  height: 80%;
  background: radial-gradient(circle, rgba(184, 205, 224, 0.08) 0%, transparent 70%);
  pointer-events: none;
}

.hero-content {
  max-width: 720px;
  position: relative;
  z-index: 2;
}

.hero-eyebrow {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 3px;
  padding: 6px 18px;
  border-radius: 50px;
  margin-bottom: 20px;
  background: linear-gradient(135deg, var(--hm-primary-light), var(--hm-secondary-light));
  color: var(--hm-text);
  border: 1px solid var(--hm-glass-border);
  text-transform: uppercase;
}

.hero h1 {
  font-size: 3.2rem;
  line-height: 1.15;
  margin-bottom: 20px;
  font-weight: 800;
  letter-spacing: -0.5px;
  background: linear-gradient(135deg, var(--hm-text) 30%, var(--hm-primary-dark));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero p {
  font-size: 1.15rem;
  color: var(--hm-text-secondary);
  max-width: 540px;
  margin-bottom: 36px;
  line-height: 1.7;
}

.hero-buttons {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.hero-image {
  border-radius: var(--hm-radius-lg);
  overflow: hidden;
  box-shadow: 0 20px 60px var(--hm-shadow);
  position: relative;
}

.hero-image::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: var(--hm-radius-lg);
  border: 1px solid var(--hm-glass-border);
  pointer-events: none;
}

.hero-image img {
  width: 100%;
  height: auto;
  display: block;
  transition: var(--hm-transition);
}

.hero-image:hover img {
  transform: scale(1.02);
}

/* ===== 按钮 ===== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 32px;
  border-radius: 50px;
  font-weight: 600;
  font-size: 0.95rem;
  cursor: pointer;
  border: none;
  text-decoration: none;
  transition: var(--hm-transition);
  font-family: var(--hm-font);
  letter-spacing: 0.3px;
}

.btn-primary {
  background: linear-gradient(135deg, var(--hm-primary), var(--hm-secondary));
  color: #fff;
  box-shadow: 0 4px 20px rgba(184, 205, 224, 0.35);
}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 32px rgba(184, 205, 224, 0.50);
}

.btn-outline {
  background: transparent;
  border: 1.5px solid var(--hm-border);
  color: var(--hm-text);
  backdrop-filter: blur(4px);
}

.btn-outline:hover {
  border-color: var(--hm-primary);
  background: rgba(184, 205, 224, 0.08);
  transform: translateY(-3px);
  box-shadow: 0 8px 24px var(--hm-shadow);
}

/* ===== 标签/标题 ===== */
.section-label {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 4px;
  margin-bottom: 14px;
  text-transform: uppercase;
  color: var(--hm-primary-dark);
  padding: 4px 16px;
  border-radius: 50px;
  background: rgba(184, 205, 224, 0.12);
}

.section-title {
  font-size: 2.4rem;
  font-weight: 800;
  margin-bottom: 16px;
  line-height: 1.2;
  letter-spacing: -0.3px;
  color: var(--hm-text);
}

.section-desc {
  max-width: 600px;
  color: var(--hm-text-secondary);
  margin-bottom: 48px;
  font-size: 1.05rem;
  line-height: 1.7;
}

/* ===== 卡片网格 ===== */
.cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 28px;
}

.category-card {
  border-radius: var(--hm-radius);
  padding: 32px 28px;
  background: var(--hm-bg-card);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid var(--hm-glass-border);
  box-shadow: 0 4px 24px var(--hm-shadow);
  transition: var(--hm-transition);
  position: relative;
  overflow: hidden;
}

.category-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--hm-primary), var(--hm-secondary), var(--hm-accent));
  opacity: 0;
  transition: var(--hm-transition);
}

.category-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 48px var(--hm-shadow-strong);
  border-color: rgba(184, 205, 224, 0.4);
}

.category-card:hover::before {
  opacity: 1;
}

.card-icon {
  width: 52px;
  height: 52px;
  border-radius: var(--hm-radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  font-size: 1.4rem;
  background: linear-gradient(135deg, var(--hm-primary-light), var(--hm-secondary-light));
  color: var(--hm-text);
  box-shadow: 0 4px 12px rgba(184, 205, 224, 0.2);
}

.card-link {
  font-weight: 600;
  font-size: 0.85rem;
  text-decoration: none;
  color: var(--hm-primary-dark);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 12px;
  transition: var(--hm-transition);
}

.card-link:hover {
  gap: 12px;
  color: var(--hm-secondary);
}

/* ===== 特性块 ===== */
.feature-block {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

.feature-image {
  border-radius: var(--hm-radius-lg);
  overflow: hidden;
  box-shadow: 0 16px 48px var(--hm-shadow);
  position: relative;
}

.feature-image::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: var(--hm-radius-lg);
  border: 1px solid var(--hm-glass-border);
  pointer-events: none;
}

.feature-image img {
  width: 100%;
  height: auto;
  display: block;
  transition: var(--hm-transition);
}

.feature-image:hover img {
  transform: scale(1.03);
}

.feature-text {
  padding: 20px 0;
}

.feature-text .section-title {
  margin-bottom: 20px;
}

.feature-list {
  list-style: none;
  margin-top: 24px;
}

.feature-list li {
  padding: 10px 0;
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 1rem;
  color: var(--hm-text);
  border-bottom: 1px solid var(--hm-border);
}

.feature-list li:last-child {
  border-bottom: none;
}

.feature-list li::before {
  content: '✦';
  font-weight: 400;
  color: var(--hm-primary);
  font-size: 1.1rem;
  flex-shrink: 0;
}

/* ===== 数据条 ===== */
.stats-bar {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 28px;
  text-align: center;
}

.stat-item {
  padding: 32px 20px;
  border-radius: var(--hm-radius);
  background: var(--hm-bg-card);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid var(--hm-glass-border);
  box-shadow: 0 4px 20px var(--hm-shadow);
  transition: var(--hm-transition);
}

.stat-item:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 32px var(--hm-shadow-strong);
}

.stat-number {
  font-size: 2.6rem;
  font-weight: 800;
  background: linear-gradient(135deg, var(--hm-primary-dark), var(--hm-secondary));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1.1;
}

.stat-label {
  font-size: 0.9rem;
  color: var(--hm-text-secondary);
  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(--hm-radius);
  overflow: hidden;
  background: var(--hm-bg-card);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid var(--hm-glass-border);
  box-shadow: 0 4px 20px var(--hm-shadow);
  transition: var(--hm-transition);
}

.content-wall-item:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 48px var(--hm-shadow-strong);
  border-color: rgba(184, 205, 224, 0.4);
}

.content-wall-item img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  transition: var(--hm-transition);
}

.content-wall-item:hover img {
  transform: scale(1.05);
}

.content-wall-body {
  padding: 24px;
}

.content-wall-body h3 {
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 8px;
  color: var(--hm-text);
}

.content-wall-body p {
  color: var(--hm-text-secondary);
  font-size: 0.9rem;
  line-height: 1.6;
}

/* ===== FAQ ===== */
.faq-list {
  max-width: 800px;
  margin: 0 auto;
}

.faq-item {
  border: 1px solid var(--hm-border);
  border-radius: var(--hm-radius-sm);
  margin-bottom: 10px;
  overflow: hidden;
  cursor: pointer;
  background: var(--hm-bg-card);
  backdrop-filter: blur(4px);
  transition: var(--hm-transition);
}

.faq-item:hover {
  border-color: var(--hm-primary-light);
  box-shadow: 0 2px 12px var(--hm-shadow);
}

.faq-item .faq-question {
  padding: 18px 24px;
  font-weight: 600;
  font-size: 1rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: var(--hm-text);
  transition: var(--hm-transition);
}

.faq-item .faq-question::after {
  content: '↓';
  font-size: 0.85rem;
  color: var(--hm-text-secondary);
  transition: var(--hm-transition);
}

.faq-item.open .faq-question::after {
  transform: rotate(180deg);
}

.faq-item .faq-answer {
  padding: 0 24px 20px;
  display: none;
  color: var(--hm-text-secondary);
  line-height: 1.7;
  font-size: 0.95rem;
}

.faq-item.open .faq-answer {
  display: block;
  animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(-8px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ===== CTA横幅 ===== */
.cta-banner {
  padding: 64px 32px;
  text-align: center;
  border-radius: var(--hm-radius-lg);
  background: linear-gradient(135deg, var(--hm-primary), var(--hm-secondary));
  color: #fff;
  position: relative;
  overflow: hidden;
  box-shadow: 0 16px 48px rgba(184, 205, 224, 0.35);
}

.cta-banner::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 60%;
  height: 200%;
  background: radial-gradient(circle, rgba(255,255,255,0.1) 0%, transparent 60%);
  pointer-events: none;
}

.cta-banner h2 {
  color: #fff;
  font-size: 2rem;
  font-weight: 800;
  margin-bottom: 12px;
  position: relative;
}

.cta-banner p {
  color: rgba(255, 255, 255, 0.85);
  margin-bottom: 28px;
  font-size: 1.05rem;
  position: relative;
}

.cta-banner .btn-primary {
  background: #fff;
  color: var(--hm-text);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.cta-banner .btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.18);
}

/* ===== 页脚 ===== */
.site-footer {
  padding: 72px 0 32px;
  background: var(--hm-bg-alt);
  border-top: 1px solid var(--hm-border);
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
}

.footer-brand p {
  color: var(--hm-text-secondary);
  font-size: 0.9rem;
  line-height: 1.7;
  margin-top: 12px;
  max-width: 320px;
}

.footer-brand .logo {
  margin-bottom: 8px;
}

.footer-col h4 {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--hm-text);
  margin-bottom: 18px;
  letter-spacing: 0.5px;
}

.footer-col ul {
  list-style: none;
}

.footer-col ul li {
  margin-bottom: 10px;
}

.footer-col ul a {
  text-decoration: none;
  color: var(--hm-text-secondary);
  font-size: 0.88rem;
  transition: var(--hm-transition);
}

.footer-col ul a:hover {
  color: var(--hm-primary-dark);
  padding-left: 4px;
}

.footer-bottom {
  border-top: 1px solid var(--hm-border);
  margin-top: 48px;
  padding-top: 24px;
  text-align: center;
  font-size: 0.85rem;
  color: var(--hm-text-light);
}

/* ===== 工具类 ===== */
.text-accent {
  color: var(--hm-primary-dark);
}

.text-center {
  text-align: center;
}

.text-center .section-desc {
  margin-left: auto;
  margin-right: auto;
}

.seo-description {
  max-width: 600px;
  margin: 0 auto 48px;
  color: var(--hm-text-secondary);
  line-height: 1.7;
}

.mt-0 {
  margin-top: 0;
}

.mb-0 {
  margin-bottom: 0;
}

/* ===== 装饰性光晕 ===== */
.glow-dot {
  position: absolute;
  width: 200px;
  height: 200px;
  border-radius: 50%;
  pointer-events: none;
  filter: blur(60px);
  opacity: 0.3;
}

.glow-dot-1 {
  background: var(--hm-primary);
  top: 10%;
  left: -5%;
}

.glow-dot-2 {
  background: var(--hm-secondary);
  bottom: 20%;
  right: -5%;
}

/* ===== 响应式 ===== */
@media (max-width: 1024px) {
  .hero h1 {
    font-size: 2.6rem;
  }

  .section-title {
    font-size: 2rem;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr 1fr;
    gap: 32px;
  }

  .footer-grid > :first-child {
    grid-column: 1 / -1;
  }
}

@media (max-width: 768px) {
  .hero {
    min-height: 70vh;
    padding-top: 72px;
  }

  .hero h1 {
    font-size: 2rem;
  }

  .hero p {
    font-size: 1rem;
  }

  .hero-buttons {
    flex-direction: column;
    align-items: flex-start;
  }

  .feature-block {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .feature-block .feature-image {
    order: -1;
  }

  .stats-bar {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
  }

  .stat-number {
    font-size: 2rem;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 32px;
  }

  .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(250, 248, 245, 0.98);
    backdrop-filter: blur(18px);
    padding: 24px 32px;
    gap: 16px;
    border-bottom: 1px solid var(--hm-border);
    box-shadow: 0 8px 32px var(--hm-shadow);
  }

  .main-nav.open a {
    font-size: 1rem;
    padding: 8px 0;
  }

  .main-nav.open .nav-cta {
    text-align: center;
    margin-top: 8px;
  }

  .section {
    padding: 64px 0;
  }

  .section-title {
    font-size: 1.6rem;
  }

  .cards-grid {
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  }

  .content-wall {
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  }

  .cta-banner {
    padding: 40px 24px;
  }

  .cta-banner h2 {
    font-size: 1.5rem;
  }
}

@media (max-width: 480px) {
  .container {
    padding: 0 16px;
  }

  .header-inner {
    padding: 0 16px;
    height: 64px;
  }

  .hero {
    min-height: 60vh;
  }

  .hero h1 {
    font-size: 1.6rem;
  }

  .hero p {
    font-size: 0.95rem;
  }

  .hero-buttons .btn {
    width: 100%;
    justify-content: center;
  }

  .cards-grid,
  .content-wall,
  .stats-bar {
    grid-template-columns: 1fr;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .stat-item {
    padding: 20px 16px;
  }

  .stat-number {
    font-size: 1.8rem;
  }

  .section {
    padding: 48px 0;
  }

  .section-title {
    font-size: 1.4rem;
  }

  .category-card {
    padding: 24px 20px;
  }

  .btn {
    padding: 12px 24px;
    font-size: 0.9rem;
  }

  .site-footer {
    padding: 48px 0 24px;
  }

  .footer-bottom {
    margin-top: 32px;
  }
}

/* ===== 滚动条美化 ===== */
::-webkit-scrollbar {
  width: 8px;
}

::-webkit-scrollbar-track {
  background: var(--hm-bg);
}

::-webkit-scrollbar-thumb {
  background: var(--hm-primary-light);
  border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
  background: var(--hm-primary);
}

/* ===== 选中高亮 ===== */
.highlight {
  background: linear-gradient(120deg, rgba(184, 205, 224, 0.2) 0%, rgba(224, 188, 208, 0.2) 100%);
  padding: 0 4px;
  border-radius: 2px;
}