/* ========================
   闫宝龙短视频矩阵营销官网样式
   风格：深邃黑 + 高级金，简约大气
   ======================== */

/* CSS 变量 */
:root {
  --color-bg: #0a0a0f;
  --color-bg-soft: #111118;
  --color-surface: rgba(255, 255, 255, 0.04);
  --color-surface-hover: rgba(255, 255, 255, 0.08);
  --color-gold: #c9a962;
  --color-gold-light: #e0c68a;
  --color-gold-dark: #a08340;
  --color-text: #ffffff;
  --color-text-secondary: #b8bcc8;
  --color-text-muted: #8b92a8;
  --color-border: rgba(255, 255, 255, 0.08);
  --font-display: "Noto Serif SC", "PingFang SC", "Microsoft YaHei", serif;
  --font-body: "PingFang SC", "Microsoft YaHei", "Hiragino Sans GB", sans-serif;
  --radius: 12px;
  --radius-sm: 6px;
  --transition: 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  --container: 1200px;
}

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

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  margin: 0;
  padding: 0;
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.75;
  color: var(--color-text-secondary);
  background: var(--color-bg);
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6, p, ul, ol {
  margin: 0;
  padding: 0;
}

ul {
  list-style: none;
}

a {
  color: inherit;
  text-decoration: none;
}

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

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

/* ========================
   顶部导航
   ======================== */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 20px 0;
  transition: background var(--transition), padding var(--transition), box-shadow var(--transition);
}

.site-header.scrolled {
  background: rgba(10, 10, 15, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  padding: 14px 0;
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.3);
  border-bottom: 1px solid var(--color-border);
}

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

.logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
  color: var(--color-text);
}

.logo-brand {
  font-size: 22px;
  font-weight: 700;
  letter-spacing: 1px;
  position: relative;
}

.registered {
  font-size: 10px;
  color: var(--color-gold);
  margin-left: 2px;
  line-height: 1;
  vertical-align: super;
}

.logo-sep {
  color: var(--color-gold);
  font-weight: 300;
  opacity: 0.7;
}

.logo-tag {
  font-size: 15px;
  font-weight: 500;
  color: var(--color-text-secondary);
  letter-spacing: 0.5px;
}

/* 导航菜单 */
.main-nav {
  display: flex;
  align-items: center;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 32px;
}

.nav-menu a {
  font-size: 15px;
  color: var(--color-text-secondary);
  transition: color var(--transition);
  position: relative;
}

.nav-menu a::after {
  content: "";
  position: absolute;
  bottom: -6px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--color-gold);
  transition: width var(--transition);
}

.nav-menu a:hover {
  color: var(--color-text);
}

.nav-menu a:hover::after {
  width: 100%;
}

.nav-cta {
  padding: 10px 22px;
  border: 1px solid var(--color-gold);
  border-radius: var(--radius-sm);
  color: var(--color-gold) !important;
  transition: all var(--transition) !important;
}

.nav-cta::after {
  display: none !important;
}

.nav-cta:hover {
  background: var(--color-gold);
  color: var(--color-bg) !important;
}

/* 移动端菜单按钮 */
.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  padding: 0;
  border: none;
  background: transparent;
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  width: 26px;
  height: 2px;
  background: var(--color-text);
  transition: all var(--transition);
  margin: 0 auto;
}

.nav-toggle.active span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.nav-toggle.active span:nth-child(2) {
  opacity: 0;
}

.nav-toggle.active span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* ========================
   Hero 区域
   ======================== */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: radial-gradient(ellipse at 50% 0%, #1a1510 0%, var(--color-bg) 60%);
  padding-top: 80px;
}

.hero-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  opacity: 0.7;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  z-index: 2;
  background: radial-gradient(circle at 50% 50%, transparent 0%, rgba(10, 10, 15, 0.6) 100%);
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 3;
  text-align: center;
  max-width: 900px;
  animation: fadeInUp 1s ease-out both;
}

.hero-badge {
  display: inline-block;
  padding: 8px 18px;
  border: 1px solid var(--color-gold-dark);
  border-radius: 100px;
  color: var(--color-gold);
  font-size: 14px;
  letter-spacing: 1px;
  margin-bottom: 28px;
  background: rgba(201, 169, 98, 0.08);
}

.hero-title {
  font-family: var(--font-display);
  font-size: clamp(36px, 5.5vw, 64px);
  font-weight: 700;
  line-height: 1.2;
  color: var(--color-text);
  margin-bottom: 24px;
}

.hero-title .line {
  display: block;
}

.hero-title strong {
  color: var(--color-gold);
  font-weight: 700;
  position: relative;
}

.hero-title strong::after {
  content: "";
  position: absolute;
  bottom: 4px;
  left: 0;
  right: 0;
  height: 8px;
  background: linear-gradient(90deg, transparent, rgba(201, 169, 98, 0.25), transparent);
  z-index: -1;
}

.hero-subtitle {
  font-size: 18px;
  color: var(--color-text-muted);
  max-width: 720px;
  margin: 0 auto 36px;
  line-height: 1.8;
}

.hero-actions {
  display: flex;
  justify-content: center;
  gap: 16px;
  margin-bottom: 48px;
  flex-wrap: wrap;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 32px;
  font-size: 15px;
  font-weight: 500;
  border-radius: var(--radius-sm);
  transition: all var(--transition);
  cursor: pointer;
  border: 1px solid transparent;
}

.btn-primary {
  background: var(--color-gold);
  color: var(--color-bg);
  border-color: var(--color-gold);
  box-shadow: 0 8px 24px rgba(201, 169, 98, 0.2);
}

.btn-primary:hover {
  background: var(--color-gold-light);
  border-color: var(--color-gold-light);
  transform: translateY(-2px);
  box-shadow: 0 12px 32px rgba(201, 169, 98, 0.3);
}

.btn-outline {
  background: transparent;
  color: var(--color-text);
  border-color: var(--color-border);
}

.btn-outline:hover {
  border-color: var(--color-gold);
  color: var(--color-gold);
  background: rgba(201, 169, 98, 0.05);
}

.hero-meta {
  display: flex;
  justify-content: center;
  gap: 48px;
  flex-wrap: wrap;
  font-size: 15px;
  color: var(--color-text-muted);
}

.hero-meta strong {
  display: block;
  font-family: var(--font-display);
  font-size: 28px;
  color: var(--color-gold);
  margin-bottom: 4px;
}

.scroll-hint {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 3;
  width: 28px;
  height: 44px;
  border: 2px solid rgba(255, 255, 255, 0.2);
  border-radius: 14px;
  display: flex;
  justify-content: center;
  padding-top: 8px;
  transition: border-color var(--transition);
}

.scroll-hint:hover {
  border-color: var(--color-gold);
}

.scroll-hint span {
  width: 4px;
  height: 8px;
  background: var(--color-gold);
  border-radius: 2px;
  animation: scrollBounce 1.8s infinite;
}

/* ========================
   通用区块
   ======================== */
.section {
  padding: 110px 0;
  position: relative;
}

.section:nth-child(even) {
  background: var(--color-bg-soft);
}

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

.section-label {
  display: inline-block;
  font-family: var(--font-display);
  font-size: 13px;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--color-gold);
  margin-bottom: 14px;
  position: relative;
}

.section-label::before,
.section-label::after {
  content: "";
  position: absolute;
  top: 50%;
  width: 24px;
  height: 1px;
  background: var(--color-gold-dark);
}

.section-label::before {
  right: calc(100% + 12px);
}

.section-label::after {
  left: calc(100% + 12px);
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(28px, 3.5vw, 40px);
  font-weight: 700;
  color: var(--color-text);
  margin-bottom: 16px;
  line-height: 1.3;
}

.section-desc {
  font-size: 17px;
  color: var(--color-text-muted);
  line-height: 1.8;
}

/* 滚动显示动画 */
.reveal {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.reveal.active {
  opacity: 1;
  transform: translateY(0);
}

/* ========================
   业务价值
   ======================== */
.value-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.value-card {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  padding: 36px 28px;
  transition: all var(--transition);
}

.value-card:hover {
  background: var(--color-surface-hover);
  border-color: rgba(201, 169, 98, 0.3);
  transform: translateY(-6px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.25);
}

.value-icon {
  width: 52px;
  height: 52px;
  border-radius: 12px;
  background: rgba(201, 169, 98, 0.1);
  border: 1px solid rgba(201, 169, 98, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-gold);
  margin-bottom: 22px;
}

.value-icon svg {
  width: 26px;
  height: 26px;
}

.value-card h3 {
  font-family: var(--font-display);
  font-size: 20px;
  color: var(--color-text);
  margin-bottom: 12px;
}

.value-card p {
  font-size: 15px;
  color: var(--color-text-muted);
  line-height: 1.7;
}

/* ========================
   服务场景
   ======================== */
.scenario-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.scenario-card {
  position: relative;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  padding: 36px 28px;
  transition: all var(--transition);
  overflow: hidden;
}

.scenario-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 4px;
  height: 100%;
  background: linear-gradient(180deg, var(--color-gold), var(--color-gold-dark));
  opacity: 0;
  transition: opacity var(--transition);
}

.scenario-card:hover {
  background: var(--color-surface-hover);
  transform: translateY(-4px);
}

.scenario-card:hover::before {
  opacity: 1;
}

.scenario-tags {
  margin-bottom: 16px;
}

.scenario-tags span {
  display: inline-block;
  padding: 5px 12px;
  border-radius: 100px;
  font-size: 13px;
  color: var(--color-gold);
  background: rgba(201, 169, 98, 0.1);
  border: 1px solid rgba(201, 169, 98, 0.2);
}

.scenario-card h3 {
  font-family: var(--font-display);
  font-size: 22px;
  color: var(--color-text);
  margin-bottom: 12px;
}

.scenario-card p {
  font-size: 15px;
  color: var(--color-text-muted);
  line-height: 1.7;
}

/* ========================
   服务流程
   ======================== */
.process {
  background: linear-gradient(180deg, var(--color-bg) 0%, var(--color-bg-soft) 100%);
}

.process-list {
  max-width: 800px;
  margin: 0 auto;
  position: relative;
}

.process-list::before {
  content: "";
  position: absolute;
  left: 35px;
  top: 0;
  bottom: 0;
  width: 1px;
  background: linear-gradient(180deg, transparent, var(--color-gold-dark), transparent);
}

.process-item {
  display: flex;
  gap: 32px;
  padding: 28px 0;
  position: relative;
}

.process-num {
  flex-shrink: 0;
  width: 70px;
  height: 70px;
  border-radius: 50%;
  background: var(--color-surface);
  border: 1px solid var(--color-gold-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 700;
  color: var(--color-gold);
  z-index: 1;
}

.process-body {
  padding-top: 6px;
}

.process-body h3 {
  font-family: var(--font-display);
  font-size: 22px;
  color: var(--color-text);
  margin-bottom: 10px;
}

.process-body p {
  font-size: 16px;
  color: var(--color-text-muted);
  line-height: 1.7;
}

/* ========================
   关于闫宝龙
   ======================== */
.about-inner {
  display: grid;
  grid-template-columns: 2fr 3fr;
  gap: 64px;
  align-items: center;
}

.about-media {
  position: relative;
}

.about-media img {
  width: 100%;
  border-radius: var(--radius);
  border: 1px solid var(--color-border);
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.4);
}

.about-badge {
  position: absolute;
  bottom: -20px;
  right: -20px;
  background: var(--color-gold);
  color: var(--color-bg);
  padding: 20px 24px;
  border-radius: var(--radius);
  text-align: center;
  box-shadow: 0 12px 32px rgba(201, 169, 98, 0.25);
}

.about-badge strong {
  display: block;
  font-family: var(--font-display);
  font-size: 36px;
  line-height: 1;
}

.about-badge span {
  display: block;
  font-size: 13px;
  margin-top: 4px;
  opacity: 0.9;
}

.about-content .section-label,
.about-content .section-title {
  text-align: left;
}

.about-content .section-label::before,
.about-content .section-label::after {
  display: none;
}

.about-lead {
  font-size: 20px;
  color: var(--color-text);
  font-weight: 500;
  margin-bottom: 20px;
  line-height: 1.7;
}

.about-content p {
  margin-bottom: 16px;
  color: var(--color-text-muted);
}

.about-highlights {
  margin: 28px 0 32px;
}

.about-highlights li {
  position: relative;
  padding-left: 24px;
  margin-bottom: 12px;
  color: var(--color-text-secondary);
}

.about-highlights li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 10px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--color-gold);
}

/* ========================
   FAQ
   ======================== */
.faq-list {
  max-width: 860px;
  margin: 0 auto;
}

.faq-item {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  margin-bottom: 14px;
  overflow: hidden;
  transition: border-color var(--transition);
}

.faq-item:hover {
  border-color: rgba(201, 169, 98, 0.25);
}

.faq-item summary {
  padding: 22px 28px;
  font-family: var(--font-display);
  font-size: 17px;
  color: var(--color-text);
  cursor: pointer;
  list-style: none;
  position: relative;
  padding-right: 52px;
  transition: color var(--transition);
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary::after {
  content: "+";
  position: absolute;
  right: 24px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 24px;
  color: var(--color-gold);
  transition: transform var(--transition);
}

.faq-item[open] summary::after {
  transform: translateY(-50%) rotate(45deg);
}

.faq-answer {
  padding: 0 28px 24px;
  color: var(--color-text-muted);
  font-size: 15px;
  line-height: 1.8;
  animation: fadeIn 0.35s ease;
}

/* ========================
   更多服务
   ======================== */
.services {
  background: var(--color-bg-soft);
}

.service-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  justify-content: center;
}

.service-link {
  display: inline-flex;
  padding: 12px 22px;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: 100px;
  font-size: 14px;
  color: var(--color-text-secondary);
  transition: all var(--transition);
}

.service-link:hover {
  background: rgba(201, 169, 98, 0.12);
  border-color: var(--color-gold);
  color: var(--color-gold);
  transform: translateY(-2px);
}

/* ========================
   联系方式
   ======================== */
.contact-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.contact-card {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  padding: 32px 24px;
  text-align: center;
  transition: all var(--transition);
}

.contact-card:hover {
  background: var(--color-surface-hover);
  border-color: rgba(201, 169, 98, 0.3);
  transform: translateY(-4px);
}

.contact-icon {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: rgba(201, 169, 98, 0.1);
  border: 1px solid rgba(201, 169, 98, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-gold);
  margin: 0 auto 18px;
}

.contact-icon svg {
  width: 24px;
  height: 24px;
}

.contact-card h3 {
  font-family: var(--font-display);
  font-size: 18px;
  color: var(--color-text);
  margin-bottom: 8px;
}

.contact-value {
  font-size: 18px;
  color: var(--color-gold);
  font-weight: 500;
  margin-bottom: 6px;
  word-break: break-all;
}

.contact-hint {
  font-size: 13px;
  color: var(--color-text-muted);
}

.qr-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 220px;
}

.qr-card img {
  width: 140px;
  height: 140px;
  border-radius: 8px;
  margin-bottom: 14px;
  border: 1px solid var(--color-border);
}

.qr-caption {
  font-size: 14px;
  color: var(--color-text-muted);
}

/* ========================
   底部版权
   ======================== */
.site-footer {
  background: #050508;
  border-top: 1px solid var(--color-border);
  padding: 36px 0;
}

.footer-inner {
  text-align: center;
}

.copyright {
  font-size: 14px;
  color: var(--color-text-muted);
  margin-bottom: 8px;
}

.copyright a {
  color: var(--color-text-secondary);
  transition: color var(--transition);
}

.copyright a:hover {
  color: var(--color-gold);
}

.beian {
  font-size: 13px;
  color: var(--color-text-muted);
}

.beian a {
  color: var(--color-text-muted);
  transition: color var(--transition);
}

.beian a:hover {
  color: var(--color-gold);
}

.beian-sep {
  margin: 0 10px;
  opacity: 0.4;
}

/* ========================
   动画
   ======================== */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(40px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes scrollBounce {
  0%, 100% { transform: translateY(0); opacity: 1; }
  50% { transform: translateY(8px); opacity: 0.5; }
}

/* ========================
   响应式
   ======================== */
@media (max-width: 1024px) {
  .value-grid,
  .scenario-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .about-inner {
    grid-template-columns: 1fr 1.5fr;
    gap: 40px;
  }

  .contact-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .nav-toggle {
    display: flex;
  }

  .nav-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: min(320px, 80vw);
    height: 100vh;
    background: rgba(10, 10, 15, 0.98);
    backdrop-filter: blur(16px);
    flex-direction: column;
    align-items: flex-start;
    padding: 100px 32px 32px;
    gap: 0;
    transition: right var(--transition);
    border-left: 1px solid var(--color-border);
  }

  .nav-menu.active {
    right: 0;
  }

  .nav-menu li {
    width: 100%;
    border-bottom: 1px solid var(--color-border);
  }

  .nav-menu a {
    display: block;
    padding: 16px 0;
    font-size: 16px;
  }

  .nav-menu a::after {
    display: none;
  }

  .nav-cta {
    margin-top: 16px;
    text-align: center;
  }

  .hero-title {
    font-size: clamp(30px, 8vw, 42px);
  }

  .hero-subtitle {
    font-size: 16px;
  }

  .hero-meta {
    gap: 24px;
  }

  .hero-meta strong {
    font-size: 22px;
  }

  .section {
    padding: 80px 0;
  }

  .value-grid,
  .scenario-grid {
    grid-template-columns: 1fr;
  }

  .about-inner {
    grid-template-columns: 1fr;
  }

  .about-media {
    max-width: 360px;
    margin: 0 auto;
  }

  .about-badge {
    right: 0;
    bottom: -10px;
    padding: 14px 18px;
  }

  .about-badge strong {
    font-size: 28px;
  }

  .process-list::before {
    left: 24px;
  }

  .process-item {
    gap: 20px;
  }

  .process-num {
    width: 50px;
    height: 50px;
    font-size: 16px;
  }

  .contact-grid {
    grid-template-columns: 1fr;
  }

  .service-grid {
    gap: 10px;
  }

  .service-link {
    padding: 10px 16px;
    font-size: 13px;
  }
}

@media (max-width: 480px) {
  .container {
    padding: 0 18px;
  }

  .logo-brand {
    font-size: 18px;
  }

  .logo-tag {
    font-size: 13px;
  }

  .hero-actions {
    flex-direction: column;
    width: 100%;
    max-width: 280px;
    margin-left: auto;
    margin-right: auto;
  }

  .btn {
    width: 100%;
  }

  .hero-meta {
    flex-direction: column;
    gap: 16px;
  }

  .section-header {
    margin-bottom: 44px;
  }

  .value-card,
  .scenario-card {
    padding: 28px 22px;
  }
}

/* 减少动画偏好 */
@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;
  }
}
