/* ============================================================
   "赏金船长" — 独特设计系统：海洋罗盘 / 航海图风格
   灵感：复古海图、罗盘玫瑰、航海日志，结合现代极简网格
   配色：米白基底 + 深蓝绿 + 珊瑚橙 + 哑光金
   ============================================================ */

/* 基础重置 */
*, *::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: #faf7f2; /* 暖米白，仿旧纸张 */
  color: #1e3a3a; /* 深蓝绿 — 海洋深处 */
  line-height: 1.6;
  background-image: 
    radial-gradient(circle at 10% 20%, rgba(200, 180, 150, 0.08) 0%, transparent 50%),
    repeating-linear-gradient(45deg, transparent, transparent 40px, rgba(180, 160, 130, 0.03) 40px, rgba(180, 160, 130, 0.03) 41px);
}

/* 核心布局 — 居中 */
.container { max-width:1200px; margin:0 auto; padding:0 24px; }

.section { padding:80px 0; position: relative; }

.section:nth-child(even) { 
  background: #f0ebe3; /* 略深米色，层次感 */
  box-shadow: inset 0 0 0 1px rgba(200, 180, 160, 0.2);
}

/* 装饰性罗盘线（仅偶数节） */
.section:nth-child(even)::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: 
    linear-gradient(90deg, transparent 48%, rgba(200, 180, 160, 0.15) 48%, rgba(200, 180, 160, 0.15) 52%, transparent 52%),
    linear-gradient(0deg, transparent 48%, rgba(200, 180, 160, 0.15) 48%, rgba(200, 180, 160, 0.15) 52%, transparent 52%);
  pointer-events: none;
}

/* 导航 — 固定顶部，半透明航海纸感 */
.site-header {
  position: fixed;
  top: 0; left: 0; width: 100%;
  z-index: 1000;
  background: rgba(250, 247, 242, 0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid #dcd3c5;
  box-shadow: 0 2px 12px rgba(30, 58, 58, 0.06);
}

.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: 700;
  font-size: 1.3rem;
  text-decoration: none;
  color: #1e3a3a;
  letter-spacing: 1px;
  position: relative;
}

.logo::after {
  content: '✦';
  font-size: 0.6rem;
  color: #d48a5a; /* 珊瑚橙 */
  margin-left: 4px;
  opacity: 0.7;
}

.logo-icon {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: #1e3a3a;
  color: #faf7f2;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  border: 2px solid #d48a5a;
  box-shadow: 0 0 0 3px rgba(212, 138, 90, 0.2);
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 28px;
  list-style: none;
}

.main-nav a {
  text-decoration: none;
  font-size: 0.85rem;
  font-weight: 500;
  color: #2a4a4a;
  transition: 0.2s;
  position: relative;
  padding: 4px 0;
  letter-spacing: 0.3px;
}

.main-nav a::before {
  content: '';
  position: absolute;
  bottom: 0; left: 0;
  width: 0;
  height: 2px;
  background: #d48a5a;
  transition: width 0.3s;
}

.main-nav a:hover::before { width: 100%; }
.main-nav a:hover { color: #1e3a3a; }

.nav-cta {
  padding: 10px 24px;
  border-radius: 30px;
  background: #1e3a3a;
  color: #faf7f2 !important;
  font-weight: 600;
  border: 1px solid #d48a5a;
  box-shadow: 0 2px 8px rgba(212, 138, 90, 0.2);
  transition: all 0.25s;
}

.nav-cta:hover { 
  background: #d48a5a; 
  color: #1e3a3a !important; 
  box-shadow: 0 4px 16px rgba(212, 138, 90, 0.3);
  transform: translateY(-1px);
}

.nav-cta::before { display: none; }

.menu-toggle { display: none; }

/* 首页Hero — 航海宣言 */
.hero {
  min-height: 75vh;
  display: flex;
  align-items: center;
  position: relative;
  background: 
    linear-gradient(135deg, #faf7f2 0%, #f0ebe3 100%);
  overflow: hidden;
}

.hero::before {
  content: '☸';
  position: absolute;
  right: -80px; top: -80px;
  font-size: 400px;
  opacity: 0.04;
  color: #1e3a3a;
  transform: rotate(15deg);
  pointer-events: none;
}

.hero::after {
  content: '';
  position: absolute;
  left: 0; bottom: 0; width: 100%; height: 4px;
  background: linear-gradient(90deg, #d48a5a, #1e3a3a, #d48a5a);
  opacity: 0.3;
}

.hero-content { max-width: 720px; position: relative; z-index: 2; }

.hero-eyebrow {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 3px;
  padding: 6px 18px;
  border-radius: 30px;
  background: #1e3a3a;
  color: #faf7f2;
  margin-bottom: 20px;
  text-transform: uppercase;
  border: 1px solid #d48a5a;
}

.hero h1 {
  font-size: 3.2rem;
  line-height: 1.15;
  margin-bottom: 20px;
  font-weight: 800;
  color: #1e3a3a;
  letter-spacing: -0.5px;
}

.hero h1::after {
  content: ' ⚓';
  font-size: 2rem;
  opacity: 0.3;
  margin-left: 8px;
}

.hero p {
  font-size: 1.1rem;
  color: #3a5a5a;
  max-width: 560px;
  margin-bottom: 32px;
  font-weight: 400;
  border-left: 3px solid #d48a5a;
  padding-left: 20px;
}

.hero-buttons { display: flex; gap: 16px; }

.hero-image {
  border-radius: 20px;
  overflow: hidden;
  border: 2px solid #dcd3c5;
  box-shadow: 0 8px 32px rgba(30, 58, 58, 0.1);
}

.hero-image img { width: 100%; height: auto; display: block; }

/* 按钮 — 航海风格 */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 32px;
  border-radius: 30px;
  font-weight: 600;
  cursor: pointer;
  border: none;
  text-decoration: none;
  transition: all 0.25s;
  font-size: 0.9rem;
  letter-spacing: 0.3px;
}

.btn-primary {
  background: #1e3a3a;
  color: #faf7f2;
  border: 1px solid #d48a5a;
  box-shadow: 0 4px 12px rgba(30, 58, 58, 0.15);
}

.btn-primary:hover {
  background: #d48a5a;
  color: #1e3a3a;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(212, 138, 90, 0.3);
}

.btn-outline {
  background: transparent;
  border: 1.5px solid #1e3a3a;
  color: #1e3a3a;
}

.btn-outline:hover {
  background: #1e3a3a;
  color: #faf7f2;
  border-color: #d48a5a;
}

/* 标签/标题 */
.section-label {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: #d48a5a;
  margin-bottom: 12px;
  border-bottom: 2px solid #1e3a3a;
  padding-bottom: 4px;
}

.section-title {
  font-size: 2.4rem;
  margin-bottom: 14px;
  font-weight: 700;
  color: #1e3a3a;
  letter-spacing: -0.3px;
}

.section-desc {
  max-width: 600px;
  color: #4a6a6a;
  margin-bottom: 40px;
  font-size: 1rem;
  line-height: 1.7;
}

/* 卡片网格 — 航海卡片，带罗盘装饰 */
.cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 28px;
}

.category-card {
  border-radius: 16px;
  padding: 32px 28px;
  background: #faf7f2;
  border: 1px solid #dcd3c5;
  transition: all 0.3s;
  position: relative;
  overflow: hidden;
}

.category-card::before {
  content: '☰';
  position: absolute;
  top: 8px; right: 12px;
  font-size: 1.8rem;
  opacity: 0.06;
  color: #1e3a3a;
  transform: rotate(90deg);
}

.category-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(30, 58, 58, 0.08);
  border-color: #d48a5a;
}

.card-icon {
  width: 52px; height: 52px;
  border-radius: 50%;
  background: #e8e0d6;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
  font-size: 1.5rem;
  color: #1e3a3a;
  border: 2px solid #dcd3c5;
}

.card-link {
  font-weight: 600;
  font-size: 0.85rem;
  text-decoration: none;
  color: #d48a5a;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  transition: 0.2s;
}

.card-link:hover { gap: 8px; color: #1e3a3a; }

/* 特性块 — 左右分栏，航海图风格 */
.feature-block {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.feature-image {
  border-radius: 16px;
  overflow: hidden;
  border: 2px solid #dcd3c5;
  box-shadow: 0 4px 20px rgba(30, 58, 58, 0.06);
  position: relative;
}

.feature-image::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(212, 138, 90, 0.1), transparent 60%);
  pointer-events: none;
}

.feature-image img { width: 100%; height: auto; display: block; }

.feature-text { }

.feature-list {
  list-style: none;
  margin-top: 20px;
}

.feature-list li {
  padding: 8px 0;
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.95rem;
  border-bottom: 1px dashed #dcd3c5;
}

.feature-list li::before {
  content: '⚓';
  font-weight: 700;
  color: #d48a5a;
  font-size: 0.8rem;
}

/* 数据条 — 航海统计 */
.stats-bar {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  text-align: center;
}

.stat-item {
  padding: 28px 16px;
  border-radius: 16px;
  background: #faf7f2;
  border: 1px solid #dcd3c5;
  position: relative;
  transition: 0.2s;
}

.stat-item:hover { border-color: #d48a5a; }

.stat-item::after {
  content: '◈';
  position: absolute;
  bottom: 8px; right: 12px;
  opacity: 0.1;
  font-size: 1.4rem;
  color: #1e3a3a;
}

.stat-number {
  font-size: 2.6rem;
  font-weight: 800;
  color: #1e3a3a;
  letter-spacing: -1px;
}

.stat-label {
  font-size: 0.85rem;
  color: #5a7a7a;
  margin-top: 6px;
  font-weight: 500;
}

/* 内容墙 — 航海日志卡片 */
.content-wall {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 28px;
}

.content-wall-item {
  border-radius: 16px;
  overflow: hidden;
  background: #faf7f2;
  border: 1px solid #dcd3c5;
  transition: all 0.3s;
}

.content-wall-item:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(30, 58, 58, 0.08);
  border-color: #d48a5a;
}

.content-wall-item img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-bottom: 2px solid #dcd3c5;
}

.content-wall-body {
  padding: 22px;
}

.content-wall-body h3 {
  font-size: 1.1rem;
  margin-bottom: 8px;
  color: #1e3a3a;
}

.content-wall-body p {
  font-size: 0.85rem;
  color: #5a7a7a;
}

/* FAQ — 航海问答 */
.faq-list { max-width: 800px; margin: 0 auto; }

.faq-item {
  border: 1px solid #dcd3c5;
  border-radius: 12px;
  margin-bottom: 10px;
  overflow: hidden;
  cursor: pointer;
  background: #faf7f2;
  transition: 0.2s;
}

.faq-item:hover { border-color: #d48a5a; }

.faq-item .faq-question {
  padding: 18px 22px;
  font-weight: 600;
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: #1e3a3a;
  font-size: 1rem;
}

.faq-item .faq-question::after {
  content: '▾';
  font-size: 1.2rem;
  color: #d48a5a;
  transition: transform 0.2s;
}

.faq-item.open .faq-question::after { transform: rotate(180deg); }

.faq-item .faq-answer {
  padding: 0 22px 18px;
  display: none;
  color: #4a6a6a;
  font-size: 0.9rem;
  line-height: 1.7;
  border-top: 1px dashed #dcd3c5;
  padding-top: 14px;
}

.faq-item.open .faq-answer { display: block; }

/* CTA横幅 — 航海号召 */
.cta-banner {
  padding: 64px 32px;
  text-align: center;
  border-radius: 20px;
  background: linear-gradient(135deg, #1e3a3a 0%, #2a4a4a 100%);
  color: #faf7f2;
  border: 2px solid #d48a5a;
  position: relative;
  overflow: hidden;
}

.cta-banner::before {
  content: '☸';
  position: absolute;
  left: -40px; bottom: -40px;
  font-size: 200px;
  opacity: 0.05;
  color: #faf7f2;
  transform: rotate(20deg);
}

.cta-banner h2 {
  color: #faf7f2;
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 16px;
}

.cta-banner p {
  color: rgba(250, 247, 242, 0.7);
  max-width: 500px;
  margin: 0 auto 28px;
}

.cta-banner .btn-primary {
  background: #faf7f2;
  color: #1e3a3a;
  border: 1px solid #d48a5a;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.cta-banner .btn-primary:hover {
  background: #d48a5a;
  color: #faf7f2;
}

/* 页脚 — 航海图底部 */
.site-footer {
  padding: 60px 0 32px;
  background: #1e3a3a;
  color: rgba(250, 247, 242, 0.8);
  border-top: 3px solid #d48a5a;
  position: relative;
}

.site-footer::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, #d48a5a, transparent);
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
}

.footer-brand { }

.footer-brand .logo { color: #faf7f2; }
.footer-brand .logo::after { color: #d48a5a; }
.footer-brand .logo-icon { background: #d48a5a; color: #1e3a3a; border-color: #faf7f2; }

.footer-col h4 {
  color: #faf7f2;
  font-size: 0.85rem;
  margin-bottom: 16px;
  letter-spacing: 2px;
  text-transform: uppercase;
  border-bottom: 1px solid rgba(212, 138, 90, 0.3);
  padding-bottom: 8px;
}

.footer-col a {
  display: block;
  color: rgba(250, 247, 242, 0.6);
  text-decoration: none;
  padding: 4px 0;
  font-size: 0.85rem;
  transition: 0.2s;
}

.footer-col a:hover { color: #d48a5a; padding-left: 4px; }

.footer-bottom {
  border-top: 1px solid rgba(212, 138, 90, 0.2);
  margin-top: 40px;
  padding-top: 20px;
  text-align: center;
  font-size: 0.8rem;
  color: rgba(250, 247, 242, 0.4);
}

/* 工具类 */
.text-accent { color: #d48a5a; }
.text-center { text-align: center; }
.seo-description { max-width: 600px; margin: 0 auto 48px; color: #5a7a7a; }
.mt-0 { margin-top: 0; }
.mb-0 { margin-bottom: 0; }

/* ⚠️ 响应式 */
@media (max-width: 768px) {
  .feature-block { grid-template-columns: 1fr; gap: 32px; }
  .stats-bar { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .main-nav { display: none; }
  .menu-toggle { display: flex; align-items: center; justify-content: center; width: 40px; height: 40px; background: none; border: none; cursor: pointer; position: relative; }
  .menu-toggle span { display: block; width: 22px; height: 2px; background: #1e3a3a; position: relative; }
  .menu-toggle span::before, .menu-toggle span::after { content: ''; position: absolute; left: 0; width: 100%; height: 2px; background: #1e3a3a; }
  .menu-toggle span::before { top: -6px; }
  .menu-toggle span::after { top: 6px; }
  .main-nav.open { display: flex; flex-direction: column; position: absolute; top: 72px; left: 0; width: 100%; background: #faf7f2; padding: 24px; border-bottom: 2px solid #d48a5a; gap: 16px; }
  .hero h1 { font-size: 2.2rem; }
  .hero::before { font-size: 200px; right: -40px; top: -40px; }
}

@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; }
  .section-title { font-size: 1.6rem; }
  .stat-number { font-size: 2rem; }
  .cta-banner { padding: 40px 20px; }
}