/* ============================================================
   SHANGJINCHUANZHANG.COM.CN — 赏金船长
   "乘风破浪，赏金领航"
   视觉风格：海洋罗盘 · 复古航海图 + 现代极简
   — 背景使用浅米白与柔和海蓝，完全排除黑色/深色
   ============================================================ */

/* 基础重置 */
*, *::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-color: #fcf9f2;  /* 旧航海图纸色 */
  color: #2c3e4e;
  line-height: 1.6;
}

/* 核心布局 */
.container { max-width:1200px; margin:0 auto; padding:0 24px; }

.section { padding:80px 0; }
.section:nth-child(even) { background: #f2f0e8; }  /* 浅米白，非深色 */

/* 导航 — 固定顶部 */
.site-header {
  position: fixed;
  top: 0; left: 0; width: 100%;
  z-index: 1000;
  background: rgba(252, 249, 242, 0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid #d9d0b8;
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}
.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  font-size: 1.3rem;
  text-decoration: none;
  color: #1e3d4a;
  letter-spacing: 1px;
}
.logo-icon {
  width: 40px; height: 40px;
  border-radius: 50%;
  background: #c6a87c;
  color: #fcf9f2;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  box-shadow: 0 2px 8px rgba(198,168,124,0.3);
}
.main-nav { display: flex; align-items: center; gap: 28px; list-style: none; }
.main-nav a {
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 500;
  color: #3a5a6a;
  transition: 0.2s;
  letter-spacing: 0.5px;
  position: relative;
}
.main-nav a::after {
  content: '';
  position: absolute;
  left: 0; bottom: -4px;
  width: 0; height: 2px;
  background: #c6a87c;
  transition: 0.3s;
}
.main-nav a:hover::after { width: 100%; }
.main-nav a:hover { color: #1e3d4a; }
.nav-cta {
  padding: 8px 22px;
  border-radius: 30px;
  color: #fcf9f2 !important;
  background: #1e3d4a;
  font-weight: 600;
  box-shadow: 0 4px 12px rgba(30,61,74,0.15);
}
.nav-cta::after { display: none !important; }
.nav-cta:hover { background: #2a5062; color: #fcf9f2 !important; }
.menu-toggle { display: none; }

/* 首页Hero */
.hero {
  min-height: 75vh;
  display: flex;
  align-items: center;
  background: linear-gradient(135deg, #fcf9f2 0%, #e8e0d0 100%);
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: '⚓';
  position: absolute;
  right: 5%; top: 10%;
  font-size: 14rem;
  opacity: 0.06;
  transform: rotate(15deg);
}
.hero-content { max-width: 680px; position: relative; z-index: 2; }
.hero-eyebrow {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 700;
  padding: 6px 18px;
  border-radius: 30px;
  margin-bottom: 18px;
  background: #c6a87c;
  color: #fcf9f2;
  letter-spacing: 2px;
  text-transform: uppercase;
}
.hero h1 {
  font-size: 3.2rem;
  line-height: 1.15;
  margin-bottom: 20px;
  color: #1e3d4a;
  font-weight: 800;
  letter-spacing: -0.5px;
}
.hero h1 span { color: #c6a87c; }
.hero p {
  font-size: 1.15rem;
  opacity: 0.8;
  max-width: 520px;
  margin-bottom: 32px;
  color: #3a5a6a;
}
.hero-buttons { display: flex; gap: 16px; }
.hero-image {
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 20px 40px rgba(30,61,74,0.1);
}
.hero-image img { width: 100%; height: auto; display: block; }

/* 按钮 */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 13px 30px;
  border-radius: 40px;
  font-weight: 600;
  cursor: pointer;
  border: none;
  text-decoration: none;
  transition: 0.25s;
  font-size: 0.95rem;
  letter-spacing: 0.5px;
}
.btn-primary {
  background: #1e3d4a;
  color: #fcf9f2;
  box-shadow: 0 4px 14px rgba(30,61,74,0.2);
}
.btn-primary:hover { background: #2a5062; transform: translateY(-2px); }
.btn-outline {
  background: transparent;
  border: 1.5px solid #1e3d4a;
  color: #1e3d4a;
}
.btn-outline:hover { background: #1e3d4a; color: #fcf9f2; }

/* 标签/标题 */
.section-label {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 3px;
  margin-bottom: 12px;
  color: #c6a87c;
  text-transform: uppercase;
}
.section-title {
  font-size: 2.2rem;
  margin-bottom: 14px;
  color: #1e3d4a;
  font-weight: 700;
  letter-spacing: -0.3px;
}
.section-desc {
  max-width: 600px;
  opacity: 0.7;
  margin-bottom: 40px;
  color: #3a5a6a;
}

/* 卡片网格 */
.cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 24px;
}
.category-card {
  border-radius: 16px;
  padding: 32px 28px;
  border: 1px solid #d9d0b8;
  background: #fcf9f2;
  transition: 0.3s;
  position: relative;
  overflow: hidden;
}
.category-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 4px; height: 100%;
  background: #c6a87c;
  opacity: 0;
  transition: 0.3s;
}
.category-card:hover::before { opacity: 1; }
.category-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(198,168,124,0.15);
}
.card-icon {
  width: 52px; height: 52px;
  border-radius: 14px;
  background: #e8e0d0;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
  font-size: 1.5rem;
  color: #1e3d4a;
}
.card-link {
  font-weight: 600;
  font-size: 0.85rem;
  text-decoration: none;
  color: #c6a87c;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.card-link::after { content: '→'; }

/* 特性块 */
.feature-block {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
}
.feature-image {
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 12px 30px rgba(30,61,74,0.08);
}
.feature-image img { width: 100%; height: auto; display: block; }
.feature-text { }
.feature-list { list-style: none; }
.feature-list li {
  padding: 8px 0;
  display: flex;
  align-items: center;
  gap: 10px;
  color: #3a5a6a;
}
.feature-list li::before {
  content: '⚓';
  font-weight: 700;
  color: #c6a87c;
  font-size: 0.9rem;
}

/* 数据条 */
.stats-bar {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  text-align: center;
}
.stat-item {
  padding: 28px 16px;
  border-radius: 16px;
  border: 1px solid #d9d0b8;
  background: #fcf9f2;
  transition: 0.3s;
}
.stat-item:hover { background: #e8e0d0; }
.stat-number {
  font-size: 2.6rem;
  font-weight: 800;
  color: #1e3d4a;
  line-height: 1;
}
.stat-number::after { content: '+'; color: #c6a87c; font-size: 1.8rem; }
.stat-label {
  font-size: 0.9rem;
  opacity: 0.6;
  margin-top: 8px;
  color: #3a5a6a;
}

/* 内容墙 */
.content-wall {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 24px;
}
.content-wall-item {
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid #d9d0b8;
  background: #fcf9f2;
  transition: 0.3s;
}
.content-wall-item:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(198,168,124,0.15);
}
.content-wall-item img {
  width: 100%; height: 200px;
  object-fit: cover;
  display: block;
}
.content-wall-body { padding: 22px; }
.content-wall-body h3 { color: #1e3d4a; font-size: 1.1rem; margin-bottom: 6px; }
.content-wall-body p { color: #3a5a6a; font-size: 0.9rem; opacity: 0.7; }

/* FAQ */
.faq-list { max-width: 800px; margin: 0 auto; }
.faq-item {
  border: 1px solid #d9d0b8;
  border-radius: 12px;
  margin-bottom: 10px;
  overflow: hidden;
  cursor: pointer;
  background: #fcf9f2;
  transition: 0.2s;
}
.faq-item:hover { border-color: #c6a87c; }
.faq-item .faq-question {
  padding: 18px 22px;
  font-weight: 600;
  display: flex;
  justify-content: space-between;
  color: #1e3d4a;
  font-size: 1rem;
}
.faq-item .faq-question::after {
  content: '▼';
  font-size: 0.7rem;
  color: #c6a87c;
  transition: 0.3s;
}
.faq-item.open .faq-question::after { transform: rotate(180deg); }
.faq-item .faq-answer {
  padding: 0 22px 18px;
  display: none;
  opacity: 0.75;
  color: #3a5a6a;
  line-height: 1.7;
}
.faq-item.open .faq-answer { display: block; }

/* CTA横幅 */
.cta-banner {
  padding: 60px 24px;
  text-align: center;
  border-radius: 20px;
  background: linear-gradient(135deg, #1e3d4a 0%, #2a5062 100%);
  color: #fcf9f2;
  position: relative;
  overflow: hidden;
}
.cta-banner::before {
  content: '⚓';
  position: absolute;
  left: -30px; bottom: -30px;
  font-size: 12rem;
  opacity: 0.08;
  transform: rotate(-20deg);
}
.cta-banner h2 { color: #fcf9f2; font-size: 2rem; margin-bottom: 12px; }
.cta-banner p { color: rgba(252,249,242,0.7); max-width: 500px; margin: 0 auto 28px; }
.cta-banner .btn-primary {
  background: #fcf9f2;
  color: #1e3d4a;
  box-shadow: 0 4px 16px rgba(0,0,0,0.1);
}
.cta-banner .btn-primary:hover { background: #e8e0d0; }

/* 页脚 */
.site-footer {
  padding: 60px 0 28px;
  background: #1e3d4a;
  color: rgba(252,249,242,0.8);
}
.site-footer .container { }
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
}
.footer-brand { }
.footer-brand .logo { color: #fcf9f2; }
.footer-col { }
.footer-col h4 { color: #c6a87c; font-size: 0.95rem; margin-bottom: 16px; letter-spacing: 1px; }
.footer-col ul { list-style: none; }
.footer-col ul li { margin-bottom: 8px; }
.footer-col ul li a { color: rgba(252,249,242,0.6); text-decoration: none; font-size: 0.85rem; transition: 0.2s; }
.footer-col ul li a:hover { color: #c6a87c; }
.footer-bottom {
  border-top: 1px solid rgba(252,249,242,0.1);
  margin-top: 40px;
  padding-top: 24px;
  text-align: center;
  font-size: 0.85rem;
  color: rgba(252,249,242,0.4);
}

/* 工具类 */
.text-accent { color: #c6a87c; }
.text-center { text-align: center; }
.seo-description { max-width: 600px; margin: 0 auto 48px; opacity: 0.7; color: #3a5a6a; }
.mt-0 { margin-top: 0; }
.mb-0 { margin-bottom: 0; }

/* ⚠️ 响应式 */
@media (max-width: 768px) {
  .feature-block { grid-template-columns: 1fr; }
  .stats-bar { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .main-nav { display: none; }
  .menu-toggle { display: flex; }
  .main-nav.open {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 68px; left: 0;
    width: 100%;
    background: #fcf9f2;
    padding: 24px 20px;
    border-bottom: 1px solid #d9d0b8;
  }
  .hero h1 { font-size: 2.2rem; }
}
@media (max-width: 480px) {
  .cards-grid, .content-wall, .stats-bar { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .hero-buttons { flex-direction: column; }
  .hero h1 { font-size: 1.8rem; }
}