/**
 * www.91 企业官网 - 淡黑金原创品牌设计样式表
 * 遵循专业、稳重、低调奢华与高可读性的设计准则
 */

:root {
  --bg-dark-0: #0a0b0e;
  --bg-dark-1: #111317;
  --bg-dark-2: #181b22;
  --bg-dark-3: #222631;
  --bg-dark-glass: rgba(17, 19, 23, 0.85);

  --border-subtle: #262a36;
  --border-light: #343a4a;
  --border-gold: rgba(212, 175, 55, 0.38);
  --border-gold-focus: #e5c365;

  --gold-primary: #d4af37;
  --gold-light: #f3dc8e;
  --gold-hover: #e5c365;
  --gold-dark: #a88424;
  --gold-gradient: linear-gradient(135deg, #eed37a 0%, #c49f4b 100%);
  --gold-subtle-bg: rgba(212, 175, 55, 0.08);
  --gold-glow: 0 0 25px rgba(212, 175, 55, 0.18);

  --text-main: #f5f6f8;
  --text-secondary: #9da3af;
  --text-muted: #6b7280;
  --text-gold: #e2c46c;

  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 16px;
  --radius-full: 9999px;

  --font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  --transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

/* 基础重置 */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
  background-color: var(--bg-dark-0);
  color: var(--text-main);
  font-family: var(--font-family);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  line-height: 1.65;
  overflow-x: hidden;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

/* 容器通用规范 */
.container {
  width: 100%;
  max-width: 1240px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 20px;
  padding-right: 20px;
}

a {
  color: inherit;
  text-decoration: none;
  transition: var(--transition);
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

button, input, select, textarea {
  font-family: inherit;
  font-size: inherit;
  color: inherit;
}

/* 顶部导航栏 */
.site-header {
  position: sticky;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 100;
  background: var(--bg-dark-glass);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border-subtle);
  transition: var(--transition);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}

.brand-logo {
  display: flex;
  align-items: center;
  gap: 12px;
}

.logo-badge {
  width: 40px;
  height: 40px;
  background: var(--gold-gradient);
  color: #0b0c0e;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 1.15rem;
  box-shadow: 0 4px 12px rgba(212, 175, 55, 0.25);
}

.brand-text-wrap {
  display: flex;
  flex-direction: column;
}

.brand-title {
  font-size: 1.35rem;
  font-weight: 800;
  letter-spacing: -0.5px;
  background: linear-gradient(90deg, #ffffff 40%, var(--gold-light) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.brand-subtitle {
  font-size: 0.72rem;
  color: var(--text-secondary);
  letter-spacing: 0.5px;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 6px;
}

.nav-link {
  padding: 8px 14px;
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--text-secondary);
  border-radius: var(--radius-sm);
  position: relative;
  transition: var(--transition);
}

.nav-link:hover {
  color: var(--text-main);
  background: rgba(255, 255, 255, 0.04);
}

.nav-link.active {
  color: var(--gold-light);
  font-weight: 600;
  background: var(--gold-subtle-bg);
  border: 1px solid var(--border-gold);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 9px 20px;
  font-size: 0.92rem;
  font-weight: 600;
  border-radius: var(--radius-sm);
  cursor: pointer;
  border: 1px solid transparent;
  transition: var(--transition);
  white-space: nowrap;
}

.btn-gold {
  background: var(--gold-gradient);
  color: #0d0f12;
  box-shadow: 0 3px 12px rgba(212, 175, 55, 0.25);
}

.btn-gold:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(212, 175, 55, 0.35);
  background: linear-gradient(135deg, #f6e08c 0%, #d4ad57 100%);
}

.btn-secondary {
  background: var(--bg-dark-2);
  color: var(--text-main);
  border-color: var(--border-subtle);
}

.btn-secondary:hover {
  background: var(--bg-dark-3);
  border-color: var(--gold-primary);
  color: var(--gold-light);
  transform: translateY(-2px);
}

.btn-outline-gold {
  background: transparent;
  color: var(--gold-light);
  border-color: var(--gold-primary);
}

.btn-outline-gold:hover {
  background: var(--gold-subtle-bg);
  border-color: var(--gold-hover);
  transform: translateY(-2px);
}

.btn-sm {
  padding: 6px 14px;
  font-size: 0.82rem;
}

.btn-lg {
  padding: 13px 28px;
  font-size: 1rem;
}

.mobile-toggle {
  display: none;
  background: none;
  border: none;
  color: var(--text-main);
  padding: 8px;
  cursor: pointer;
}

/* 移动端菜单抽屉 */
.mobile-drawer {
  display: none;
  position: fixed;
  top: 72px;
  left: 0;
  width: 100%;
  bottom: 0;
  background: rgba(10, 11, 14, 0.98);
  backdrop-filter: blur(20px);
  z-index: 99;
  flex-direction: column;
  padding: 24px;
  gap: 16px;
  border-bottom: 1px solid var(--border-subtle);
  overflow-y: auto;
}

.mobile-drawer.open {
  display: flex;
}

.mobile-drawer .nav-link {
  font-size: 1.1rem;
  padding: 12px 16px;
  border-bottom: 1px solid var(--border-subtle);
}

/* Hero 首屏 */
.hero-section {
  position: relative;
  padding: 80px 0 60px;
  overflow: hidden;
  background: radial-gradient(circle at 50% 0%, rgba(212, 175, 55, 0.12) 0%, rgba(10, 11, 14, 0) 70%), var(--bg-dark-0);
  border-bottom: 1px solid var(--border-subtle);
}

.hero-grid-bg {
  position: absolute;
  inset: 0;
  background-image: linear-gradient(to right, rgba(255, 255, 255, 0.02) 1px, transparent 1px),
                    linear-gradient(to bottom, rgba(255, 255, 255, 0.02) 1px, transparent 1px);
  background-size: 40px 40px;
  pointer-events: none;
}

.hero-content {
  position: relative;
  max-width: 860px;
  margin: 0 auto;
  text-align: center;
}

.hero-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--gold-subtle-bg);
  border: 1px solid var(--border-gold);
  padding: 5px 16px;
  border-radius: var(--radius-full);
  font-size: 0.85rem;
  color: var(--gold-light);
  margin-bottom: 24px;
}

.hero-title {
  font-size: clamp(2.1rem, 4.5vw, 3.4rem);
  font-weight: 800;
  line-height: 1.25;
  letter-spacing: -0.8px;
  margin-bottom: 20px;
  color: #ffffff;
}

.hero-title .gold-text {
  background: var(--gold-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-desc {
  font-size: 1.15rem;
  color: var(--text-secondary);
  line-height: 1.8;
  margin-bottom: 20px;
}

.hero-aux-text {
  font-size: 0.95rem;
  color: var(--text-muted);
  margin-bottom: 36px;
  padding: 0 16px;
}

.hero-buttons {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 50px;
}

/* 统计卡片条 */
.hero-stats-bar {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 16px;
  margin-top: 40px;
}

.stat-card {
  background: var(--bg-dark-1);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 20px;
  text-align: center;
  transition: var(--transition);
}

.stat-card:hover {
  border-color: var(--border-gold);
  transform: translateY(-3px);
  box-shadow: var(--gold-glow);
}

.stat-value {
  font-size: 2rem;
  font-weight: 800;
  color: var(--gold-light);
  line-height: 1.1;
  margin-bottom: 6px;
}

.stat-label {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-main);
  margin-bottom: 4px;
}

.stat-unit {
  font-size: 0.78rem;
  color: var(--text-muted);
}

/* 通用栏目外框 */
.section-wrap {
  padding: 70px 0;
  position: relative;
}

.section-wrap.alt-bg {
  background-color: var(--bg-dark-1);
  border-top: 1px solid var(--border-subtle);
  border-bottom: 1px solid var(--border-subtle);
}

.section-header {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 48px;
}

.section-tag {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--gold-light);
  margin-bottom: 10px;
}

.section-title {
  font-size: 2.1rem;
  font-weight: 800;
  color: #ffffff;
  letter-spacing: -0.5px;
  margin-bottom: 14px;
}

.section-desc {
  font-size: 1.02rem;
  color: var(--text-secondary);
  line-height: 1.7;
}

/* 核心业务 6 大卡片 */
.core-services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
  gap: 24px;
}

.service-box {
  background: var(--bg-dark-2);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 32px;
  transition: var(--transition);
  display: flex;
  flex-direction: column;
}

.service-box:hover {
  border-color: var(--border-gold);
  transform: translateY(-5px);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.4), var(--gold-glow);
}

.service-icon-box {
  width: 52px;
  height: 52px;
  border-radius: var(--radius-md);
  background: var(--gold-subtle-bg);
  border: 1px solid var(--border-gold);
  color: var(--gold-light);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin-bottom: 20px;
}

.service-box-title {
  font-size: 1.3rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 6px;
}

.service-box-sub {
  font-size: 0.88rem;
  color: var(--gold-light);
  margin-bottom: 14px;
}

.service-box-desc {
  font-size: 0.95rem;
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: 20px;
  flex-grow: 1;
}

.service-meta-block {
  background: var(--bg-dark-1);
  border-radius: var(--radius-sm);
  padding: 12px 14px;
  font-size: 0.85rem;
  margin-bottom: 20px;
  border-left: 3px solid var(--gold-primary);
}

.service-meta-line {
  margin-bottom: 4px;
  color: var(--text-secondary);
}

.service-meta-line strong {
  color: var(--text-main);
}

/* 产品服务卡片网格 */
.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 22px;
}

.card-item {
  background: var(--bg-dark-2);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: var(--transition);
}

.card-item:hover {
  border-color: var(--border-gold);
  transform: translateY(-4px);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.4);
}

.card-thumb-wrap {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  background: var(--bg-dark-3);
  overflow: hidden;
}

.card-thumb-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.card-item:hover .card-thumb-wrap img {
  transform: scale(1.06);
}

.card-tag-pill {
  position: absolute;
  top: 12px;
  left: 12px;
  background: rgba(10, 11, 14, 0.85);
  backdrop-filter: blur(6px);
  border: 1px solid var(--border-gold);
  color: var(--gold-light);
  font-size: 0.75rem;
  font-weight: 600;
  padding: 3px 10px;
  border-radius: var(--radius-full);
}

.card-body {
  padding: 20px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.card-title {
  font-size: 1.12rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 8px;
  line-height: 1.4;
}

.card-desc {
  font-size: 0.88rem;
  color: var(--text-secondary);
  line-height: 1.65;
  margin-bottom: 14px;
  flex-grow: 1;
}

.tag-list {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 16px;
}

.tag-badge {
  font-size: 0.72rem;
  padding: 2px 8px;
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.05);
  color: var(--text-muted);
  border: 1px solid var(--border-subtle);
}

.card-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 14px;
  border-top: 1px solid var(--border-subtle);
}

/* 筛选与搜索工具条 */
.filter-toolbar {
  background: var(--bg-dark-2);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 24px;
  margin-bottom: 36px;
}

.filter-row {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
  flex-wrap: wrap;
}

.filter-row:last-child {
  margin-bottom: 0;
}

.filter-label {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--text-muted);
  min-width: 72px;
}

.filter-options {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.filter-btn {
  background: transparent;
  border: 1px solid var(--border-subtle);
  color: var(--text-secondary);
  padding: 5px 14px;
  border-radius: var(--radius-full);
  font-size: 0.84rem;
  cursor: pointer;
  transition: var(--transition);
}

.filter-btn:hover {
  color: var(--text-main);
  border-color: var(--text-secondary);
}

.filter-btn.active {
  background: var(--gold-subtle-bg);
  color: var(--gold-light);
  border-color: var(--gold-primary);
  font-weight: 600;
}

.search-and-sort-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  padding-top: 18px;
  border-top: 1px solid var(--border-subtle);
}

.search-input-wrap {
  position: relative;
  flex-grow: 1;
  max-width: 440px;
}

.search-input-wrap input {
  width: 100%;
  background: var(--bg-dark-1);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  padding: 9px 36px 9px 14px;
  font-size: 0.9rem;
  color: var(--text-main);
  outline: none;
  transition: var(--transition);
}

.search-input-wrap input:focus {
  border-color: var(--gold-primary);
  box-shadow: 0 0 0 2px rgba(212, 175, 55, 0.2);
}

.search-clear-btn {
  position: absolute;
  right: 10px;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: none;
  color: var(--text-muted);
  cursor: pointer;
  padding: 4px;
  display: none;
}

.search-clear-btn.show {
  display: block;
}

.sort-select {
  background: var(--bg-dark-1);
  border: 1px solid var(--border-subtle);
  color: var(--text-main);
  border-radius: var(--radius-sm);
  padding: 9px 14px;
  font-size: 0.88rem;
  outline: none;
  cursor: pointer;
}

/* 分页器 */
.pagination-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-top: 40px;
  flex-wrap: wrap;
}

.page-btn {
  min-width: 38px;
  height: 38px;
  padding: 0 10px;
  background: var(--bg-dark-2);
  border: 1px solid var(--border-subtle);
  color: var(--text-secondary);
  border-radius: var(--radius-sm);
  font-size: 0.9rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: var(--transition);
}

.page-btn:hover:not(:disabled) {
  border-color: var(--gold-primary);
  color: var(--gold-light);
}

.page-btn.active {
  background: var(--gold-gradient);
  color: #0b0c0e;
  border-color: transparent;
}

.page-btn:disabled {
  opacity: 0.4;
  cursor: not-allowed;
}

.page-count-info {
  font-size: 0.88rem;
  color: var(--text-muted);
  margin-left: 12px;
}

/* 服务流程横条 */
.process-steps-wrap {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 16px;
  position: relative;
}

.step-box {
  background: var(--bg-dark-2);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 24px 20px;
  text-align: center;
  position: relative;
  transition: var(--transition);
}

.step-box:hover {
  border-color: var(--border-gold);
  transform: translateY(-3px);
}

.step-num {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--gold-subtle-bg);
  border: 1px solid var(--border-gold);
  color: var(--gold-light);
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 14px;
}

.step-title {
  font-size: 1.05rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 6px;
}

.step-desc {
  font-size: 0.84rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

/* FAQ 可折叠手风琴 */
.faq-list {
  max-width: 860px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.faq-item {
  background: var(--bg-dark-2);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: var(--transition);
}

.faq-item.active {
  border-color: var(--border-gold);
}

.faq-header {
  padding: 20px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  cursor: pointer;
  user-select: none;
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--text-main);
  gap: 16px;
}

.faq-header:hover {
  color: var(--gold-light);
}

.faq-chevron {
  width: 20px;
  height: 20px;
  transition: transform 0.3s ease;
  color: var(--text-muted);
  flex-shrink: 0;
}

.faq-item.active .faq-chevron {
  transform: rotate(180deg);
  color: var(--gold-light);
}

.faq-body {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s cubic-bezier(0, 1, 0, 1);
  padding: 0 24px;
  color: var(--text-secondary);
  font-size: 0.95rem;
  line-height: 1.75;
}

.faq-item.active .faq-body {
  max-height: 500px;
  transition: max-height 0.4s ease-in-out;
  padding-bottom: 22px;
}

/* APP 推广区横幅 */
.app-promo-card {
  background: linear-gradient(135deg, #181b22 0%, #121419 100%);
  border: 1px solid var(--border-gold);
  border-radius: var(--radius-lg);
  padding: 48px;
  box-shadow: var(--gold-glow);
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 40px;
  align-items: center;
}

.app-promo-title {
  font-size: 2rem;
  font-weight: 800;
  color: #ffffff;
  margin-bottom: 12px;
}

.app-promo-desc {
  font-size: 1.05rem;
  color: var(--text-secondary);
  line-height: 1.8;
  margin-bottom: 24px;
}

.app-feature-bullets {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-bottom: 28px;
}

.app-bullet {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.9rem;
  color: var(--text-main);
}

.app-bullet svg {
  color: var(--gold-light);
  flex-shrink: 0;
}

.qr-box-wrap {
  background: var(--bg-dark-0);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 24px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.qr-placeholder {
  width: 140px;
  height: 140px;
  background: #ffffff;
  border-radius: var(--radius-sm);
  padding: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 14px;
}

/* 详情页通用样式 */
.detail-header-wrap {
  padding: 50px 0 30px;
  border-bottom: 1px solid var(--border-subtle);
  background: var(--bg-dark-1);
}

.breadcrumb-nav {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.88rem;
  color: var(--text-muted);
  margin-bottom: 18px;
  flex-wrap: wrap;
}

.breadcrumb-nav a:hover {
  color: var(--gold-light);
}

.breadcrumb-separator {
  color: var(--text-muted);
}

.detail-main-layout {
  display: grid;
  grid-template-columns: 2.2fr 1fr;
  gap: 36px;
  padding: 40px 0 70px;
}

.article-content {
  font-size: 1.05rem;
  line-height: 1.85;
  color: var(--text-secondary);
}

.article-content h3 {
  font-size: 1.45rem;
  color: #ffffff;
  margin: 30px 0 14px;
}

.article-content h4 {
  font-size: 1.2rem;
  color: var(--gold-light);
  margin: 24px 0 10px;
}

.article-content p {
  margin-bottom: 18px;
}

.article-content ul, .article-content ol {
  margin: 0 0 20px 24px;
}

.article-content li {
  margin-bottom: 8px;
}

.article-content blockquote {
  border-left: 4px solid var(--gold-primary);
  background: var(--bg-dark-2);
  padding: 16px 20px;
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  margin: 24px 0;
  color: var(--text-main);
  font-style: italic;
}

.detail-sidebar-card {
  background: var(--bg-dark-2);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 24px;
  margin-bottom: 24px;
}

.sidebar-title {
  font-size: 1.1rem;
  font-weight: 700;
  color: #ffffff;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--border-subtle);
  margin-bottom: 16px;
}

/* 联系我们表单 */
.contact-form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.form-group.full-width {
  grid-column: 1 / -1;
}

.form-label {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--text-secondary);
}

.form-label span.req {
  color: #ef4444;
  margin-left: 2px;
}

.form-control {
  background: var(--bg-dark-1);
  border: 1px solid var(--border-subtle);
  color: var(--text-main);
  border-radius: var(--radius-sm);
  padding: 10px 14px;
  font-size: 0.95rem;
  outline: none;
  transition: var(--transition);
}

.form-control:focus {
  border-color: var(--gold-primary);
  box-shadow: 0 0 0 2px rgba(212, 175, 55, 0.2);
}

textarea.form-control {
  resize: vertical;
  min-height: 120px;
}

.form-feedback {
  font-size: 0.82rem;
  color: #ef4444;
  min-height: 18px;
}

/* 浮动操作条与客服面板 */
.floating-actions {
  position: fixed;
  right: 24px;
  bottom: 30px;
  z-index: 90;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.float-btn {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--bg-dark-2);
  border: 1px solid var(--border-subtle);
  color: var(--gold-light);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.4);
  transition: var(--transition);
}

.float-btn:hover {
  background: var(--gold-subtle-bg);
  border-color: var(--gold-primary);
  transform: translateY(-3px);
  box-shadow: var(--gold-glow);
}

.float-btn.back-top {
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease, transform 0.25s ease;
}

.float-btn.back-top.show {
  opacity: 1;
  pointer-events: auto;
}

/* 在线客服弹窗面板 */
.cs-modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.65);
  backdrop-filter: blur(6px);
  z-index: 1000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.cs-modal-overlay.open {
  display: flex;
}

.cs-modal-box {
  background: var(--bg-dark-2);
  border: 1px solid var(--border-gold);
  border-radius: var(--radius-lg);
  width: 100%;
  max-width: 440px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.6), var(--gold-glow);
  overflow: hidden;
  animation: modalSlideUp 0.25s ease-out;
}

@keyframes modalSlideUp {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

.cs-modal-header {
  background: var(--bg-dark-1);
  padding: 18px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--border-subtle);
}

.cs-modal-title {
  font-size: 1.15rem;
  font-weight: 700;
  color: #ffffff;
}

.cs-close-btn {
  background: none;
  border: none;
  color: var(--text-muted);
  cursor: pointer;
  font-size: 1.2rem;
  padding: 4px;
}

.cs-close-btn:hover {
  color: var(--text-main);
}

.cs-modal-body {
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.cs-item-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: var(--bg-dark-1);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  padding: 12px 16px;
}

.cs-item-info {
  display: flex;
  align-items: center;
  gap: 12px;
}

.cs-copy-btn {
  background: var(--gold-subtle-bg);
  border: 1px solid var(--border-gold);
  color: var(--gold-light);
  padding: 4px 10px;
  border-radius: 4px;
  font-size: 0.8rem;
  cursor: pointer;
  transition: var(--transition);
}

.cs-copy-btn:hover {
  background: var(--gold-hover);
  color: #0b0c0e;
}

/* Toast 提示 */
.toast-msg {
  position: fixed;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%) translateY(100px);
  background: var(--bg-dark-3);
  color: var(--text-main);
  border: 1px solid var(--border-gold);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
  border-radius: var(--radius-full);
  padding: 10px 24px;
  font-size: 0.92rem;
  z-index: 2000;
  pointer-events: none;
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.3s ease;
  opacity: 0;
  display: flex;
  align-items: center;
  gap: 8px;
}

.toast-msg.show {
  transform: translateX(-50%) translateY(0);
  opacity: 1;
}

/* 页脚 Footer */
.site-footer {
  background: var(--bg-dark-1);
  border-top: 1px solid var(--border-subtle);
  padding-top: 60px;
  margin-top: auto;
}

.footer-top-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
  gap: 36px;
  padding-bottom: 50px;
  border-bottom: 1px solid var(--border-subtle);
}

.footer-col-title {
  font-size: 1.05rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 18px;
  letter-spacing: 0.5px;
}

.footer-desc {
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.75;
  margin-bottom: 18px;
}

.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-links a {
  font-size: 0.88rem;
  color: var(--text-secondary);
}

.footer-links a:hover {
  color: var(--gold-light);
  transform: translateX(4px);
  display: inline-block;
}

.footer-contact-item {
  font-size: 0.88rem;
  color: var(--text-secondary);
  margin-bottom: 10px;
  display: flex;
  align-items: flex-start;
  gap: 8px;
}

.footer-contact-item strong {
  color: var(--text-main);
  white-space: nowrap;
}

.footer-keywords-bar {
  padding: 20px 0;
  border-bottom: 1px solid var(--border-subtle);
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  font-size: 0.82rem;
  color: var(--text-muted);
}

.keyword-tag {
  color: var(--gold-light);
  background: var(--gold-subtle-bg);
  padding: 2px 8px;
  border-radius: 4px;
  border: 1px solid var(--border-gold);
}

.footer-bottom {
  padding: 24px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 14px;
  font-size: 0.82rem;
  color: var(--text-muted);
}

.demo-notice-badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  background: rgba(239, 68, 68, 0.1);
  color: #f87171;
  border: 1px solid rgba(239, 68, 68, 0.25);
  padding: 2px 8px;
  border-radius: 4px;
}

/* 媒体查询响应式 */
@media (max-width: 992px) {
  .main-nav {
    display: none;
  }
  .mobile-toggle {
    display: block;
  }
  .app-promo-card {
    grid-template-columns: 1fr;
    padding: 32px 24px;
  }
  .detail-main-layout {
    grid-template-columns: 1fr;
  }
  .footer-top-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 640px) {
  .hero-title {
    font-size: 1.85rem;
  }
  .footer-top-grid {
    grid-template-columns: 1fr;
  }
  .contact-form-grid {
    grid-template-columns: 1fr;
  }
  .floating-actions {
    right: 16px;
    bottom: 20px;
  }
}

/* 尊重用户减少动态效果系统设置 */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}
