/* ==========================================================
   老六就位 · 设计系统
   风格定位：棋盘观局 / 战术奶油 / 坐标感
   ========================================================== */
:root {
  --bg: #F5F1E8;
  --bg-alt: #EBE3D5;
  --card: #FFFFFF;
  --ink: #18362A;
  --ink-soft: #6F8274;
  --brand: #E2603D;
  --brand-soft: rgba(226, 96, 61, 0.12);
  --line: #D6C9B7;
  --shadow-sm: 0 2px 8px rgba(24, 54, 42, 0.06);
  --shadow-md: 0 6px 24px rgba(24, 54, 42, 0.10);
  --shadow-brand: 0 4px 16px rgba(226, 96, 61, 0.25);
}

*, *::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: var(--bg);
  color: var(--ink);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.section {
  padding: 90px 0;
  position: relative;
}

.section:nth-child(even) {
  background: var(--bg-alt);
}

/* 导航 — 固定顶部 */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background: rgba(245, 241, 232, 0.92);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}
.site-header::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -2px;
  width: 100%;
  height: 2px;
  background: repeating-linear-gradient(90deg, var(--brand) 0 8px, transparent 8px 16px);
  opacity: 0.3;
  pointer-events: none;
}

.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.35rem;
  text-decoration: none;
  color: var(--ink);
  letter-spacing: -0.02em;
  position: relative;
  z-index: 1;
}

.logo-icon {
  width: 38px;
  height: 38px;
  border-radius: 6px;
  background: var(--ink);
  color: var(--bg);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  font-weight: 900;
  transform: rotate(-12deg);
  box-shadow: 3px 3px 0 var(--brand);
  transition: transform 0.3s, box-shadow 0.3s;
}

.logo:hover .logo-icon {
  transform: rotate(0deg) scale(1.05);
  box-shadow: -3px 3px 0 var(--brand);
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 30px;
  list-style: none;
}

.main-nav li {
  position: relative;
}

.main-nav a {
  text-decoration: none;
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--ink);
  padding: 4px 0;
  position: relative;
  transition: color 0.2s;
  letter-spacing: 0.02em;
}

.main-nav a::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--brand);
  border-radius: 2px;
  transition: width 0.3s cubic-bezier(0.65, 0, 0.35, 1);
}

.main-nav a:hover::after {
  width: 100%;
}

.main-nav a:hover {
  color: var(--brand);
}

.nav-cta {
  padding: 9px 22px;
  border-radius: 6px;
  background: var(--ink);
  color: #fff !important;
  font-weight: 600;
  font-size: 0.88rem !important;
  transition: background 0.25s, transform 0.25s, box-shadow 0.25s !important;
  box-shadow: 0 2px 0 rgba(24, 54, 42, 0.2);
  position: relative;
  overflow: hidden;
}

.nav-cta::before {
  content: '●';
  position: absolute;
  top: 2px;
  right: 6px;
  font-size: 6px;
  color: var(--brand);
}

.nav-cta::after {
  display: none;
}

.nav-cta:hover {
  background: var(--brand);
  transform: translateY(-2px);
  box-shadow: 0 4px 14px rgba(226, 96, 61, 0.3);
  color: #fff !important;
}

.menu-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border: 1.5px solid var(--line);
  border-radius: 8px;
  background: transparent;
  cursor: pointer;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  color: var(--ink);
}

/* Hero */
.hero {
  min-height: 85vh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at 85% 20%, rgba(226, 96, 61, 0.06) 0%, transparent 50%),
    transparent;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image:
    linear-gradient(rgba(24, 54, 42, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(24, 54, 42, 0.045) 1px, transparent 1px);
  background-size: 44px 44px;
  pointer-events: none;
  z-index: 0;
}

.hero::after {
  content: '';
  position: absolute;
  top: 50%;
  right: -80px;
  width: 460px;
  height: 460px;
  border: 2px dashed rgba(226, 96, 61, 0.25);
  border-radius: 50%;
  transform: translateY(-50%);
  pointer-events: none;
  z-index: 0;
  box-shadow:
    0 0 0 30px rgba(226, 96, 61, 0.03),
    0 0 0 60px rgba(226, 96, 61, 0.02);
}

.hero .container {
  position: relative;
  z-index: 1;
}

.hero-content {
  max-width: 780px;
  padding: 40px 0;
}

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.82rem;
  font-weight: 700;
  padding: 5px 16px;
  background: var(--brand-soft);
  color: var(--brand);
  border-radius: 30px;
  margin-bottom: 20px;
  letter-spacing: 0.08em;
  border: 1px solid rgba(226, 96, 61, 0.25);
}

.hero-eyebrow::before {
  content: '◆';
  font-size: 0.5rem;
}

.hero h1 {
  font-size: clamp(2.8rem, 5.5vw, 4.2rem);
  line-height: 1.08;
  margin-bottom: 22px;
  font-weight: 900;
  letter-spacing: -0.03em;
  color: var(--ink);
  position: relative;
  display: inline-block;
}

.hero h1::after {
  content: '';
  position: absolute;
  bottom: 0.05em;
  left: 0;
  width: 100%;
  height: 0.12em;
  background: var(--brand);
  opacity: 0.2;
  border-radius: 4px;
  z-index: -1;
}

.hero p {
  font-size: 1.1rem;
  opacity: 0.75;
  max-width: 560px;
  margin-bottom: 34px;
  color: var(--ink-soft);
  line-height: 1.7;
  border-left: 3px solid var(--brand);
  padding-left: 18px;
}

.hero-buttons {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

.hero-image {
  border-radius: 2px;
  overflow: hidden;
  position: relative;
  box-shadow: 0 16px 40px rgba(24, 54, 42, 0.12);
  background: var(--card);
  border: 1px solid var(--line);
  padding: 8px;
  transform: rotate(2deg);
  transition: transform 0.4s;
}

.hero-image:hover {
  transform: rotate(0deg) scale(1.01);
}

.hero-image::before {
  content: '';
  position: absolute;
  top: -2px;
  left: -2px;
  width: 36px;
  height: 36px;
  border-top: 3px solid var(--brand);
  border-left: 3px solid var(--brand);
  z-index: 2;
}

.hero-image img {
  width: 100%;
  height: auto;
  display: block;
}

/* 按钮 */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 30px;
  border-radius: 6px;
  font-weight: 600;
  font-size: 0.95rem;
  cursor: pointer;
  border: none;
  text-decoration: none;
  transition: transform 0.2s, box-shadow 0.2s, background 0.2s;
  position: relative;
  overflow: hidden;
}

.btn::after {
  content: '→';
  transition: transform 0.2s;
  font-size: 0.9em;
}

.btn:hover::after {
  transform: translateX(4px);
}

.btn-primary {
  background: var(--ink);
  color: #fff;
  box-shadow: 0 4px 16px rgba(24, 54, 42, 0.2);
}

.btn-primary::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 6px;
  height: 100%;
  background: var(--brand);
}

.btn-primary:hover {
  background: var(--brand);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(226, 96, 61, 0.3);
}

.btn-outline {
  background: transparent;
  border: 1.5px solid var(--ink);
  color: var(--ink);
}

.btn-outline:hover {
  border-color: var(--brand);
  color: var(--brand);
  background: var(--brand-soft);
  transform: translateY(-2px);
}

/* 标签/标题 */
.section-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  margin-bottom: 14px;
  color: var(--brand);
}

.section-label::before {
  content: '◤';
  font-size: 0.75rem;
}

.section-label::after {
  content: '';
  width: 30px;
  height: 2px;
  background: var(--brand);
  opacity: 0.4;
}

.section-title {
  font-size: clamp(1.8rem, 3.5vw, 2.4rem);
  margin-bottom: 16px;
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.2;
  color: var(--ink);
}

.section-desc {
  max-width: 620px;
  opacity: 0.7;
  margin-bottom: 44px;
  color: var(--ink-soft);
  line-height: 1.7;
  font-size: 0.98rem;
}

/* 卡片网格 */
.cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 24px;
}

.category-card {
  background: var(--card);
  border-radius: 6px;
  padding: 30px 28px;
  border: 1px solid var(--line);
  position: relative;
  transition: transform 0.25s, box-shadow 0.25s, border-color 0.25s;
  overflow: hidden;
}

.category-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: linear-gradient(90deg, var(--brand), rgba(226, 96, 61, 0.2));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s;
}

.category-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: rgba(24, 54, 42, 0.2);
}

.category-card:hover::before {
  transform: scaleX(1);
}

.card-icon {
  width: 50px;
  height: 50px;
  border-radius: 6px;
  background: var(--brand-soft);
  color: var(--brand);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
  font-size: 1.4rem;
  font-weight: 700;
  position: relative;
}

.card-icon::after {
  content: '';
  position: absolute;
  bottom: -4px;
  right: -4px;
  width: 12px;
  height: 12px;
  border-bottom: 2px solid var(--brand);
  border-right: 2px solid var(--brand);
}

.card-link {
  font-weight: 600;
  font-size: 0.85rem;
  text-decoration: none;
  color: var(--ink);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 14px;
  transition: color 0.2s, gap 0.2s;
}

.card-link:hover {
  color: var(--brand);
  gap: 10px;
}

/* 特性块 */
.feature-block {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.feature-image {
  border-radius: 6px;
  overflow: hidden;
  position: relative;
  background: var(--card);
  border: 1px solid var(--line);
  padding: 6px;
  box-shadow: 0 8px 28px rgba(24, 54, 42, 0.10);
  transform: rotate(-1.5deg);
  transition: transform 0.4s;
}

.feature-image:hover {
  transform: rotate(0deg) scale(1.01);
}

.feature-image::after {
  content: '';
  position: absolute;
  bottom: 6px;
  right: 6px;
  width: 28px;
  height: 28px;
  border-bottom: 2px solid var(--brand);
  border-right: 2px solid var(--brand);
  opacity: 0.6;
}

.feature-image img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 4px;
}

.feature-text h2 {
  font-size: 1.6rem;
  margin-bottom: 14px;
  color: var(--ink);
  font-weight: 800;
}

.feature-text p {
  color: var(--ink-soft);
  line-height: 1.7;
  margin-bottom: 22px;
  font-size: 0.95rem;
}

.feature-list {
  list-style: none;
  margin-top: 10px;
}

.feature-list li {
  padding: 7px 0;
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.92rem;
  color: var(--ink);
}

.feature-list li::before {
  content: '✓';
  font-weight: 700;
  color: var(--brand);
  background: var(--brand-soft);
  width: 20px;
  height: 20px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.7rem;
}

/* 数据条 */
.stats-bar {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  text-align: center;
}

.stat-item {
  padding: 30px 20px;
  border-radius: 6px;
  border: 1px solid var(--line);
  background: var(--card);
  position: relative;
  transition: transform 0.2s, box-shadow 0.2s;
}

.stat-item::before {
  content: '';
  position: absolute;
  top: 12px;
  left: 12px;
  width: 8px;
  height: 8px;
  background: var(--brand);
  border-radius: 50%;
  opacity: 0.7;
}

.stat-item:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}

.stat-number {
  font-size: 2.4rem;
  font-weight: 900;
  color: var(--ink);
  letter-spacing: -0.03em;
  line-height: 1.1;
}

.stat-number::after {
  content: '';
  display: block;
  width: 24px;
  height: 3px;
  background: var(--brand);
  margin: 10px auto 0;
  border-radius: 3px;
}

.stat-label {
  font-size: 0.88rem;
  opacity: 0.6;
  margin-top: 8px;
  color: var(--ink-soft);
  letter-spacing: 0.04em;
}

/* 内容墙 */
.content-wall {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 24px;
}

.content-wall-item {
  border-radius: 6px;
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--card);
  transition: transform 0.25s, box-shadow 0.25s;
  position: relative;
}

.content-wall-item:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.content-wall-item::before {
  content: '▶';
  position: absolute;
  top: 40%;
  left: 50%;
  transform: translate(-50%, -50%) scale(0);
  background: var(--brand);
  color: #fff;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  z-index: 3;
  transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
  box-shadow: 0 6px 20px rgba(226, 96, 61, 0.4);
  padding-left: 4px;
}

.content-wall-item:hover::before {
  transform: translate(-50%, -50%) scale(1);
}

.content-wall-item::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(24, 54, 42, 0.1);
  opacity: 0;
  transition: opacity 0.3s;
  z-index: 2;
}

.content-wall-item:hover::after {
  opacity: 1;
}

.content-wall-item img {
  width: 100%;
  height: 210px;
  object-fit: cover;
  display: block;
  transition: transform 0.4s;
}

.content-wall-item:hover img {
  transform: scale(1.04);
}

.content-wall-body {
  padding: 20px 22px;
}

.content-wall-body h3 {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 6px;
  color: var(--ink);
}

.content-wall-body p {
  font-size: 0.85rem;
  color: var(--ink-soft);
  line-height: 1.5;
}

/* FAQ */
.faq-list {
  max-width: 820px;
  margin: 0 auto;
}

.faq-item {
  border: 1px solid var(--line);
  border-radius: 6px;
  margin-bottom: 10px;
  overflow: hidden;
  cursor: pointer;
  background: var(--card);
  transition: border-color 0.2s, box-shadow 0.2s;
}

.faq-item:hover {
  border-color: rgba(24, 54, 42, 0.25);
}

.faq-item.open {
  border-color: rgba(226, 96, 61, 0.4);
  box-shadow: 0 4px 16px rgba(24, 54, 42, 0.06);
}

.faq-item .faq-question {
  padding: 18px 22px;
  font-weight: 600;
  font-size: 0.95rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: var(--ink);
  gap: 12px;
}

.faq-item .faq-question::before {
  content: '◆';
  font-size: 0.6rem;
  color: var(--brand);
  margin-right: 10px;
}

.faq-item .faq-question::after {
  content: '+';
  font-size: 1.4rem;
  font-weight: 300;
  color: var(--brand);
  transition: transform 0.3s;
  line-height: 1;
}

.faq-item.open .faq-question::after {
  transform: rotate(45deg);
}

.faq-item .faq-answer {
  padding: 0 22px 18px;
  display: none;
  opacity: 0.7;
  color: var(--ink-soft);
  font-size: 0.92rem;
  line-height: 1.7;
  border-left: 3px solid var(--brand-soft);
  margin-left: 22px;
}

.faq-item.open .faq-answer {
  display: block;
}

/* CTA 横幅 */
.cta-banner {
  padding: 64px 32px;
  text-align: center;
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(24, 54, 42, 0.05) 0%, transparent 50%),
    var(--brand);
  position: relative;
  overflow: hidden;
  box-shadow: 0 16px 48px rgba(226, 96, 61, 0.25);
}

.cta-banner::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.06) 1px, transparent 1px);
  background-size: 36px 36px;
  pointer-events: none;
}

.cta-banner::after {
  content: '◈';
  position: absolute;
  right: 30px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 8rem;
  color: rgba(255, 255, 255, 0.1);
  line-height: 1;
}

.cta-banner h2 {
  color: #fff;
  position: relative;
  z-index: 1;
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  font-weight: 800;
  margin-bottom: 10px;
  letter-spacing: -0.02em;
}

.cta-banner p {
  color: rgba(255, 255, 255, 0.9);
  max-width: 420px;
  margin: 0 auto 28px;
  position: relative;
  z-index: 1;
  font-size: 0.95rem;
}

.cta-banner .btn-primary {
  background: #fff;
  color: var(--brand);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
  position: relative;
  z-index: 1;
}

.cta-banner .btn-primary::before {
  background: var(--brand);
}

.cta-banner .btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.2);
}

/* 页脚 */
.site-footer {
  padding: 64px 0 28px;
  background: var(--bg-alt);
  border-top: 1px solid var(--line);
  position: relative;
}

.site-footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: repeating-linear-gradient(90deg, var(--brand) 0 12px, transparent 12px 24px);
  opacity: 0.3;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
}

.footer-brand {
  max-width: 280px;
}

.footer-brand .logo {
  margin-bottom: 14px;
}

.footer-brand p {
  font-size: 0.88rem;
  color: var(--ink-soft);
  line-height: 1.6;
}

.footer-col h4 {
  font-size: 0.95rem;
  font-weight: 700;
  margin-bottom: 16px;
  color: var(--ink);
  letter-spacing: 0.03em;
}

.footer-col ul {
  list-style: none;
}

.footer-col ul li {
  margin-bottom: 8px;
}

.footer-col ul a {
  color: var(--ink-soft);
  text-decoration: none;
  font-size: 0.88rem;
  transition: color 0.2s, padding-left 0.2s;
}

.footer-col ul a:hover {
  color: var(--brand);
  padding-left: 4px;
}

.footer-bottom {
  border-top: 1px solid var(--line);
  margin-top: 44px;
  padding-top: 22px;
  text-align: center;
  font-size: 0.82rem;
  color: var(--ink-soft);
  letter-spacing: 0.04em;
}

.footer-bottom::before {
  content: '◢';
  color: var(--brand);
  margin-right: 6px;
}

/* 工具类 */
.text-accent {
  color: var(--brand);
}

.text-center {
  text-align: center;
}

.seo-description {
  max-width: 600px;
  margin: 0 auto 48px;
  opacity: 0.7;
  color: var(--ink-soft);
  line-height: 1.7;
  font-size: 0.95rem;
}

.mt-0 { margin-top: 0; }
.mb-0 { margin-bottom: 0; }

/* 响应式 */
@media (max-width: 768px) {
  .feature-block {
    grid-template-columns: 1fr;
    gap: 36px;
  }

  .stats-bar {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
  }

  .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: var(--bg);
    padding: 24px;
    border-bottom: 1px solid var(--line);
    box-shadow: 0 12px 32px rgba(24, 54, 42, 0.08);
    gap: 18px;
    align-items: flex-start;
    z-index: 999;
  }

  .main-nav.open li {
    width: 100%;
  }

  .main-nav.open a {
    display: block;
    padding: 8px 0;
    font-size: 1rem;
  }

  .main-nav.open .nav-cta {
    display: inline-block;
    margin-top: 8px;
  }

  .hero {
    min-height: 70vh;
  }

  .hero h1 {
    font-size: 2.2rem;
  }

  .hero::after {
    width: 280px;
    height: 280px;
    right: -90px;
  }

  .section {
    padding: 60px 0;
  }

  .cta-banner {
    padding: 48px 24px;
  }
}

@media (max-width: 480px) {
  .cards-grid,
  .content-wall,
  .stats-bar {
    grid-template-columns: 1fr;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .hero-buttons {
    flex-direction: column;
    align-items: stretch;
  }

  .hero-buttons .btn {
    justify-content: center;
  }

  .hero h1 {
    font-size: 1.9rem;
  }

  .hero p {
    font-size: 0.95rem;
  }

  .section-title {
    font-size: 1.5rem;
  }

  .stat-number {
    font-size: 1.8rem;
  }

  .header-inner {
    height: 64px;
  }

  .main-nav.open {
    top: 64px;
  }
}