/* ============================================
   JDB捕鱼 · 珊瑚海风格设计系统
   浅色背景 + 大胆对比配色 + 杂志感排版
   ============================================ */

/* 1. 基础重置 & 全局变量 */
*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --bg-primary: #FDF9F5;          /* 暖白基底 */
  --bg-secondary: #F2F6F9;        /* 极浅海蓝 */
  --bg-card: #FFFFFF;
  --color-accent: #FF6F61;        /* 珊瑚红 */
  --color-secondary: #2A9D8F;     /* 海洋薄荷 */
  --color-tertiary: #264653;      /* 深蓝绿（小面积） */
  --color-text: #1A2E3B;
  --color-text-light: #5E7A8A;
  --color-border: #D9E2E8;
  --shadow-sm: 0 2px 8px rgba(38, 70, 83, 0.06);
  --shadow-hover: 0 8px 32px rgba(38, 70, 83, 0.12);
  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --font-sans: system-ui, 'PingFang SC', 'Microsoft YaHei', 'Helvetica Neue', sans-serif;
}

body {
  font-family: var(--font-sans);
  background: var(--bg-primary);
  color: var(--color-text);
  overflow-x: hidden;
  line-height: 1.6;
}

/* 2. 核心容器 */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.section {
  padding: 100px 0;
  position: relative;
}

.section:nth-child(even) {
  background: var(--bg-secondary);
}

/* 3. 导航（固定顶部） */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background: rgba(253, 249, 245, 0.92);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--color-border);
}

.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.3rem;
  text-decoration: none;
  color: var(--color-text);
  letter-spacing: -0.02em;
}

.logo-icon {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--color-accent), #FFA07A);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  color: #fff;
  box-shadow: 0 4px 12px rgba(255, 111, 97, 0.3);
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 32px;
  list-style: none;
}

.main-nav a {
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--color-text-light);
  transition: color 0.2s, transform 0.2s;
  position: relative;
}

.main-nav a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--color-accent);
  transition: width 0.3s ease;
}

.main-nav a:hover {
  color: var(--color-accent);
}

.main-nav a:hover::after {
  width: 100%;
}

.nav-cta {
  padding: 10px 24px;
  border-radius: 50px;
  background: linear-gradient(135deg, var(--color-accent), #FF8A65);
  color: #fff !important;
  font-weight: 700;
  box-shadow: 0 4px 14px rgba(255, 111, 97, 0.35);
  transition: transform 0.2s, box-shadow 0.2s;
}

.nav-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(255, 111, 97, 0.45);
}

.nav-cta::after {
  display: none !important;
}

.menu-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 1.5rem;
  cursor: pointer;
  color: var(--color-text);
  padding: 6px;
}

/* 4. 首页 Hero */
.hero {
  min-height: 80vh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  padding-top: 72px; /* 留出导航高度 */
  background: linear-gradient(160deg, #FDF9F5 0%, #E8F4F8 100%);
}

.hero::before {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 100%;
  height: 120px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1200 120' preserveAspectRatio='none'%3E%3Cpath d='M0,0 C300,100 600,0 1200,60 L1200,120 L0,120 Z' fill='%23F2F6F9' opacity='0.6'/%3E%3C/svg%3E") no-repeat bottom / cover;
  pointer-events: none;
}

.hero-content {
  max-width: 680px;
  position: relative;
  z-index: 2;
}

.hero-eyebrow {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 3px;
  text-transform: uppercase;
  padding: 6px 18px;
  border-radius: 50px;
  background: rgba(42, 157, 143, 0.12);
  color: var(--color-secondary);
  margin-bottom: 20px;
  border: 1px solid rgba(42, 157, 143, 0.2);
}

.hero h1 {
  font-size: 3.6rem;
  line-height: 1.1;
  font-weight: 900;
  letter-spacing: -0.03em;
  color: var(--color-text);
  margin-bottom: 16px;
}

.hero h1 .highlight {
  background: linear-gradient(135deg, var(--color-accent), #FFA07A);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero p {
  font-size: 1.15rem;
  color: var(--color-text-light);
  max-width: 540px;
  margin-bottom: 36px;
  line-height: 1.7;
}

.hero-buttons {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.hero-image {
  position: absolute;
  right: -120px;
  top: 50%;
  transform: translateY(-50%);
  width: 640px;
  height: 480px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(38, 70, 83, 0.15);
  background: linear-gradient(135deg, #d4edf0, #b8e0e5);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 4rem;
  color: var(--color-secondary);
}

.hero-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.7;
}

/* 5. 按钮 */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 32px;
  border-radius: 50px;
  font-weight: 700;
  cursor: pointer;
  border: none;
  text-decoration: none;
  transition: all 0.25s ease;
  font-size: 0.95rem;
  letter-spacing: 0.01em;
}

.btn-primary {
  background: linear-gradient(135deg, var(--color-accent), #FF8A65);
  color: #fff;
  box-shadow: 0 6px 20px rgba(255, 111, 97, 0.35);
}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 30px rgba(255, 111, 97, 0.45);
}

.btn-outline {
  background: transparent;
  border: 2px solid var(--color-secondary);
  color: var(--color-secondary);
  position: relative;
  overflow: hidden;
}

.btn-outline::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: var(--color-secondary);
  transition: left 0.35s ease;
  z-index: -1;
}

.btn-outline:hover {
  color: #fff;
}

.btn-outline:hover::before {
  left: 0;
}

/* 6. 标签/标题 */
.section-label {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--color-accent);
  margin-bottom: 12px;
  background: rgba(255, 111, 97, 0.08);
  padding: 4px 14px;
  border-radius: 50px;
}

.section-title {
  font-size: 2.4rem;
  font-weight: 800;
  line-height: 1.15;
  margin-bottom: 16px;
  letter-spacing: -0.02em;
  color: var(--color-text);
}

.section-title em {
  font-style: normal;
  color: var(--color-accent);
}

.section-desc {
  max-width: 640px;
  color: var(--color-text-light);
  margin-bottom: 48px;
  font-size: 1.05rem;
  line-height: 1.7;
}

/* 7. 卡片网格 */
.cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 28px;
}

.category-card {
  background: var(--bg-card);
  border-radius: var(--radius-md);
  padding: 32px;
  border: 1px solid var(--color-border);
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.category-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--color-accent), var(--color-secondary));
  opacity: 0;
  transition: opacity 0.3s;
}

.category-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-hover);
  border-color: transparent;
}

.category-card:hover::before {
  opacity: 1;
}

.card-icon {
  width: 52px;
  height: 52px;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  font-size: 1.5rem;
  background: linear-gradient(135deg, rgba(42, 157, 143, 0.12), rgba(255, 111, 97, 0.08));
  color: var(--color-secondary);
}

.category-card h3 {
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 10px;
}

.category-card p {
  color: var(--color-text-light);
  font-size: 0.9rem;
  line-height: 1.6;
  margin-bottom: 16px;
}

.card-link {
  font-weight: 700;
  font-size: 0.85rem;
  text-decoration: none;
  color: var(--color-accent);
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.card-link::after {
  content: '→';
  transition: transform 0.2s;
}

.card-link:hover::after {
  transform: translateX(4px);
}

/* 8. 特性块 */
.feature-block {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

.feature-image {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 12px 40px rgba(38, 70, 83, 0.1);
  background: linear-gradient(135deg, #dbeef0, #c8e2e6);
  height: 380px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 4rem;
  color: var(--color-secondary);
}

.feature-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.feature-text h3 {
  font-size: 1.6rem;
  font-weight: 800;
  margin-bottom: 20px;
  line-height: 1.3;
}

.feature-text p {
  color: var(--color-text-light);
  margin-bottom: 24px;
  line-height: 1.7;
}

.feature-list {
  list-style: none;
}

.feature-list li {
  padding: 8px 0;
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 500;
  color: var(--color-text);
}

.feature-list li::before {
  content: '🐟';
  font-size: 1.1rem;
  font-weight: 700;
  background: rgba(42, 157, 143, 0.1);
  width: 28px;
  height: 28px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
}

/* 9. 数据条 */
.stats-bar {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 28px;
  text-align: center;
}

.stat-item {
  padding: 32px 16px;
  border-radius: var(--radius-md);
  background: var(--bg-card);
  border: 1px solid var(--color-border);
  transition: transform 0.3s, box-shadow 0.3s;
}

.stat-item:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-hover);
}

.stat-number {
  font-size: 2.6rem;
  font-weight: 900;
  line-height: 1;
  background: linear-gradient(135deg, var(--color-accent), var(--color-secondary));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.stat-label {
  font-size: 0.9rem;
  color: var(--color-text-light);
  margin-top: 8px;
  font-weight: 500;
}

/* 10. 内容墙 */
.content-wall {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 28px;
}

.content-wall-item {
  border-radius: var(--radius-md);
  overflow: hidden;
  background: var(--bg-card);
  border: 1px solid var(--color-border);
  transition: all 0.3s ease;
}

.content-wall-item:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-hover);
}

.content-wall-item img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  display: block;
}

.content-wall-body {
  padding: 24px;
}

.content-wall-body h4 {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 8px;
}

.content-wall-body p {
  color: var(--color-text-light);
  font-size: 0.9rem;
  line-height: 1.6;
}

.content-wall-body .date {
  display: block;
  font-size: 0.8rem;
  color: var(--color-text-light);
  margin-top: 12px;
  opacity: 0.7;
}

/* 11. FAQ */
.faq-list {
  max-width: 800px;
  margin: 0 auto;
}

.faq-item {
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  margin-bottom: 12px;
  overflow: hidden;
  cursor: pointer;
  transition: border-color 0.2s;
  background: var(--bg-card);
}

.faq-item:hover {
  border-color: var(--color-accent);
}

.faq-item .faq-question {
  padding: 18px 24px;
  font-weight: 700;
  font-size: 1rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: transparent;
  transition: background 0.2s;
}

.faq-item .faq-question::after {
  content: '+';
  font-size: 1.4rem;
  font-weight: 300;
  color: var(--color-accent);
  transition: transform 0.3s;
}

.faq-item.open .faq-question::after {
  content: '−';
  transform: rotate(180deg);
}

.faq-item .faq-answer {
  padding: 0 24px 18px;
  display: none;
  color: var(--color-text-light);
  line-height: 1.7;
}

.faq-item.open .faq-answer {
  display: block;
}

/* 12. CTA横幅 */
.cta-banner {
  padding: 72px 32px;
  text-align: center;
  border-radius: var(--radius-lg);
  background: linear-gradient(135deg, var(--color-secondary) 0%, #21867a 100%);
  color: #fff;
  position: relative;
  overflow: hidden;
}

.cta-banner::before {
  content: '🐚';
  position: absolute;
  top: -30px;
  right: -30px;
  font-size: 12rem;
  opacity: 0.1;
  transform: rotate(20deg);
}

.cta-banner h2 {
  font-size: 2rem;
  font-weight: 800;
  color: #fff;
  margin-bottom: 12px;
}

.cta-banner p {
  color: rgba(255, 255, 255, 0.85);
  max-width: 560px;
  margin: 0 auto 32px;
  font-size: 1.05rem;
}

.cta-banner .btn-primary {
  background: #fff;
  color: var(--color-secondary);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.12);
}

.cta-banner .btn-primary:hover {
  background: #f0f8f6;
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.18);
}

/* 13. 页脚 */
.site-footer {
  background: var(--color-text);
  color: rgba(255, 255, 255, 0.75);
  padding: 64px 0 32px;
  margin-top: 80px;
}

.site-footer .container {
  max-width: 1200px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
}

.footer-brand h3 {
  font-size: 1.3rem;
  font-weight: 800;
  color: #fff;
  margin-bottom: 16px;
}

.footer-brand p {
  font-size: 0.9rem;
  line-height: 1.7;
  max-width: 320px;
  opacity: 0.7;
}

.footer-col h4 {
  color: #fff;
  font-size: 0.95rem;
  font-weight: 700;
  margin-bottom: 16px;
  letter-spacing: 0.02em;
}

.footer-col ul {
  list-style: none;
}

.footer-col ul li {
  margin-bottom: 8px;
}

.footer-col a {
  color: rgba(255, 255, 255, 0.6);
  text-decoration: none;
  font-size: 0.9rem;
  transition: color 0.2s;
}

.footer-col a:hover {
  color: var(--color-accent);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  margin-top: 48px;
  padding-top: 24px;
  text-align: center;
  font-size: 0.85rem;
  opacity: 0.6;
}

/* 14. 工具类 */
.text-accent {
  color: var(--color-accent);
}

.text-center {
  text-align: center;
}

.seo-description {
  max-width: 720px;
  margin: 0 auto 56px;
  color: var(--color-text-light);
  font-size: 1rem;
  line-height: 1.7;
}

.mt-0 {
  margin-top: 0 !important;
}

.mb-0 {
  margin-bottom: 0 !important;
}

/* ============================================
   响应式
   ============================================ */
@media (max-width: 1024px) {
  .hero h1 {
    font-size: 2.8rem;
  }
  .hero-image {
    position: relative;
    right: 0;
    top: auto;
    transform: none;
    width: 100%;
    height: 300px;
    margin-top: 40px;
  }
  .hero {
    flex-direction: column;
    text-align: center;
  }
  .hero-content {
    max-width: 100%;
  }
  .hero p {
    margin-left: auto;
    margin-right: auto;
  }
  .hero-buttons {
    justify-content: center;
  }
  .feature-block {
    gap: 40px;
  }
}

@media (max-width: 768px) {
  .header-inner {
    height: 64px;
  }
  .main-nav {
    display: none;
  }
  .menu-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
  }
  .main-nav.open {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 64px;
    left: 0;
    width: 100%;
    background: var(--bg-primary);
    padding: 24px 32px;
    gap: 20px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
    border-bottom: 2px solid var(--color-accent);
  }
  .main-nav.open .nav-cta {
    align-self: flex-start;
  }
  .section-title {
    font-size: 1.8rem;
  }
  .hero h1 {
    font-size: 2.2rem;
  }
  .feature-block {
    grid-template-columns: 1fr;
    text-align: left;
  }
  .feature-image {
    height: 260px;
  }
  .stats-bar {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 32px;
  }
  .content-wall {
    grid-template-columns: 1fr;
  }
  .hero-image {
    height: 220px;
  }
}

@media (max-width: 480px) {
  .section {
    padding: 60px 0;
  }
  .cards-grid,
  .content-wall,
  .stats-bar {
    grid-template-columns: 1fr;
  }
  .footer-grid {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .footer-brand p {
    max-width: 100%;
  }
  .hero-buttons {
    flex-direction: column;
    align-items: stretch;
  }
  .hero h1 {
    font-size: 1.8rem;
  }
  .hero {
    min-height: auto;
    padding-bottom: 60px;
  }
  .hero-image {
    height: 180px;
  }
  .stat-number {
    font-size: 2rem;
  }
  .cta-banner {
    padding: 48px 16px;
  }
  .cta-banner h2 {
    font-size: 1.5rem;
  }
  .btn {
    padding: 12px 24px;
    font-size: 0.9rem;
  }
}