/* 全局变量与重置 */
:root {
  --primary-color: #1a2a3a;
  /* 深蓝墨色 */
  --accent-color: #c5a47e;
  /* 雅金 */
  --text-main: #333333;
  --text-light: #666666;
  --bg-light: #f9f9f9;
  --bg-white: #ffffff;
  --transition: all 0.3s ease;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "PingFang SC", "Microsoft YaHei", sans-serif;
  color: var(--text-main);
  line-height: 1.6;
  background-color: var(--bg-white);
  overflow-x: hidden;
}

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

/* 导航栏 */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  z-index: 1000;
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.05);
}

.nav-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 1rem 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.8rem;
}

.logo-icon {
  width: 32px;
  height: 32px;
  background: var(--primary-color);
  border-radius: 4px;
  position: relative;
}

.logo-icon::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 16px;
  height: 16px;
  border: 2px solid var(--accent-color);
  border-radius: 50%;
}

.logo-text {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--primary-color);
  letter-spacing: 2px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.nav-links a {
  font-size: 0.95rem;
  color: var(--text-main);
  transition: var(--transition);
}

.nav-links a:hover {
  color: var(--accent-color);
}

.nav-btn {
  padding: 0.6rem 1.5rem;
  background-color: var(--primary-color);
  color: white !important;
  border-radius: 4px;
  font-weight: 500;
}

.nav-btn:hover {
  background-color: #2c4255;
  transform: translateY(-1px);
}

/* Hero 区域 */
.hero-section {
  position: relative;
  height: 100vh;
  min-height: 600px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
  background: linear-gradient(135deg, #f5f7fa 0%, #e4e8eb 100%);
}

.hero-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 800px;
  padding: 0 2rem;
  padding-top: 60px;
  /* 避开导航栏 */
}

.main-title {
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 800;
  margin-bottom: 1.5rem;
  line-height: 1.2;
  color: var(--primary-color);
}

.main-title .highlight {
  color: var(--accent-color);
  display: block;
}

.hero-subtitle {
  font-size: 1.1rem;
  color: var(--text-light);
  margin-bottom: 3rem;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.hero-actions {
  display: flex;
  justify-content: center;
  gap: 1.5rem;
}

.primary-btn {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 1rem 1.8rem;
  background-color: var(--primary-color);
  color: white;
  border-radius: 50px;
  font-size: 1.1rem;
  transition: var(--transition);
  box-shadow: 0 10px 20px rgba(26, 42, 58, 0.2);
}

.primary-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 15px 30px rgba(26, 42, 58, 0.3);
}

.primary-btn svg {
  width: 20px;
  height: 20px;
}

.secondary-btn {
  padding: 1rem 1.8rem;
  background-color: transparent;
  color: var(--primary-color);
  border: 1px solid var(--primary-color);
  border-radius: 50px;
  font-size: 1.1rem;
  transition: var(--transition);
}

.secondary-btn:hover {
  background-color: rgba(26, 42, 58, 0.05);
}

/* 核心特色区域 */
.features-section {
  padding: 6rem 2rem;
  background-color: var(--bg-white);
}

.section-header {
  text-align: center;
  margin-bottom: 4rem;
}

.section-header h2 {
  font-size: 2rem;
  color: var(--primary-color);
  margin-bottom: 1rem;
}

.divider {
  width: 60px;
  height: 3px;
  background-color: var(--accent-color);
  margin: 0 auto 1rem;
}

.section-header p {
  color: var(--text-light);
}

.cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  max-width: 1200px;
  margin: 0 auto;
}

.feature-card {
  background: var(--bg-white);
  padding: 3rem 2rem;
  border-radius: 12px;
  border: 1px solid #eee;
  text-align: center;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.feature-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08);
  border-color: transparent;
}

.feature-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: var(--accent-color);
  transform: scaleX(0);
  transition: var(--transition);
}

.feature-card:hover::before {
  transform: scaleX(1);
}

.card-icon {
  width: 64px;
  height: 64px;
  margin: 0 auto 1.5rem;
  color: var(--primary-color);
  display: flex;
  align-items: center;
  justify-content: center;
}

.feature-card h3 {
  font-size: 1.4rem;
  margin-bottom: 1rem;
  color: var(--primary-color);
}

.feature-card p {
  color: var(--text-light);
  font-size: 0.95rem;
}

/* 文化传承区域 */
.culture-section {
  padding: 6rem 2rem;
  background-color: var(--primary-color);
  color: white;
  position: relative;
  overflow: hidden;
}

.culture-content {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 4rem;
  position: relative;
  z-index: 1;
}

.culture-text {
  flex: 1;
}

.culture-text h2 {
  font-size: 2.2rem;
  margin-bottom: 1.5rem;
  color: var(--accent-color);
}

.culture-text p {
  font-size: 1.1rem;
  margin-bottom: 2rem;
  opacity: 0.9;
  line-height: 1.8;
}

.culture-list {
  list-style: none;
}

.culture-list li {
  margin-bottom: 1rem;
  font-size: 1.05rem;
  display: flex;
  align-items: center;
  gap: 1rem;
}

.culture-list li span {
  color: var(--accent-color);
  font-weight: 700;
}

.culture-visual {
  flex: 1;
  display: flex;
  justify-content: center;
}

.ink-circle {
  width: 360px;
  height: 360px;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* 外层光晕 */
.ink-circle::before {
  content: '';
  position: absolute;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  border: 1px solid rgba(197, 164, 126, 0.1);
  box-shadow: 0 0 50px rgba(197, 164, 126, 0.05);
  animation: pulse-border 4s ease-in-out infinite;
}

/* 旋转的装饰环 */
.circle-ring {
  position: absolute;
  width: 90%;
  height: 90%;
  border-radius: 50%;
  border: 1px dashed rgba(197, 164, 126, 0.3);
  animation: rotate-ring 20s linear infinite;
}

.circle-ring::after {
  content: '';
  position: absolute;
  top: -5px;
  left: 50%;
  width: 10px;
  height: 10px;
  background: var(--accent-color);
  border-radius: 50%;
  box-shadow: 0 0 10px var(--accent-color);
}

/* 核心光球 */
.circle-core {
  width: 60%;
  height: 60%;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(197, 164, 126, 0.2) 0%, transparent 70%);
  filter: blur(10px);
  animation: breathe 6s ease-in-out infinite;
  position: relative;
  z-index: 2;
}

.circle-core::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 80%;
  height: 80%;
  border: 1px solid rgba(197, 164, 126, 0.2);
  border-radius: 50%;
  animation: rotate-reverse 15s linear infinite;
}

/* 装饰粒子 */
.circle-particles {
  position: absolute;
  width: 100%;
  height: 100%;
  animation: rotate-ring 30s linear infinite reverse;
}

.circle-particles::before,
.circle-particles::after {
  content: '';
  position: absolute;
  width: 4px;
  height: 4px;
  background: var(--accent-color);
  border-radius: 50%;
  opacity: 0.6;
  box-shadow: 0 0 5px var(--accent-color);
}

.circle-particles::before {
  top: 20%;
  left: 20%;
}

.circle-particles::after {
  bottom: 20%;
  right: 20%;
}

@keyframes rotate-ring {
  from {
    transform: rotate(0deg);
  }

  to {
    transform: rotate(360deg);
  }
}

@keyframes rotate-reverse {
  from {
    transform: translate(-50%, -50%) rotate(360deg);
  }

  to {
    transform: translate(-50%, -50%) rotate(0deg);
  }
}

@keyframes pulse-border {

  0%,
  100% {
    transform: scale(1);
    opacity: 0.5;
  }

  50% {
    transform: scale(1.05);
    opacity: 0.8;
  }
}

@keyframes breathe {

  0%,
  100% {
    transform: scale(0.9);
    opacity: 0.6;
  }

  50% {
    transform: scale(1.1);
    opacity: 0.9;
  }
}

/* 底部 */
.site-footer {
  background-color: #152230;
  color: rgba(255, 255, 255, 0.6);
  padding: 4rem 2rem 2rem;
  text-align: center;
}

.footer-logo {
  font-size: 1.5rem;
  color: white;
  font-weight: 700;
  margin-bottom: 2rem;
  letter-spacing: 2px;
}

.footer-info {
  font-size: 0.9rem;
}

.beian-info {
  margin: 1rem 0;
  display: flex;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
}

.copyright {
  margin-top: 2rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

/* 响应式 */
@media (max-width: 768px) {
  .main-title {
    font-size: 2.5rem;
  }

  .culture-content {
    flex-direction: column;
    text-align: center;
  }

  .culture-list li {
    justify-content: center;
  }

  .nav-links {
    display: none;
    /* 移动端简化，暂不实现汉堡菜单 */
  }
}