/* ============================================
   VIDEO NAVIGATION — 视线所至，导航即达
   Design system for shipindaohang-kid.com.cn
   Style: Fresh air + floating cards + pastel vibration
   ============================================ */

*, *::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: #faf8f5;
  color: #2d2b28;
}

/* ---------- CORE LAYOUT ---------- */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.section {
  padding: 80px 0;
}

.section:nth-child(even) {
  background: #f4f1ec;
}

/* ---------- HEADER — soft glass ---------- */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background: rgba(250, 248, 245, 0.88);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(210, 190, 170, 0.25);
}

.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.25rem;
  text-decoration: none;
  color: #2d2b28;
  letter-spacing: -0.3px;
}

.logo-icon {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: linear-gradient(135deg, #f9c5b0, #f5a88e);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  color: #fff;
  box-shadow: 0 4px 12px rgba(245, 168, 142, 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: #4a4540;
  transition: color 0.2s;
  position: relative;
}

.main-nav a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: #f5a88e;
  transition: width 0.25s;
}

.main-nav a:hover {
  color: #2d2b28;
}

.main-nav a:hover::after {
  width: 100%;
}

.nav-cta {
  padding: 8px 22px;
  border-radius: 50px;
  color: #fff !important;
  font-weight: 600;
  background: linear-gradient(135deg, #f5a88e, #e8826a);
  box-shadow: 0 4px 14px rgba(232, 130, 106, 0.3);
}

.nav-cta::after {
  display: none !important;
}

.menu-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 1.4rem;
  color: #2d2b28;
  cursor: pointer;
}

/* ---------- HERO — floating layers ---------- */
.hero {
  min-height: 70vh;
  display: flex;
  align-items: center;
  position: relative;
  padding-top: 68px;
  background: linear-gradient(180deg, #faf8f5 0%, #f4efe9 100%);
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: -20%;
  right: -10%;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(249, 197, 176, 0.25) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}

.hero-content {
  max-width: 680px;
  position: relative;
  z-index: 1;
}

.hero-eyebrow {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 1.5px;
  padding: 5px 16px;
  border-radius: 50px;
  margin-bottom: 18px;
  background: rgba(245, 168, 142, 0.2);
  color: #c96e56;
}

.hero h1 {
  font-size: 3rem;
  line-height: 1.15;
  margin-bottom: 18px;
  font-weight: 700;
  color: #2d2b28;
  letter-spacing: -0.5px;
}

.hero h1 .highlight {
  background: linear-gradient(135deg, #f5a88e, #e8826a);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero p {
  font-size: 1.1rem;
  opacity: 0.7;
  max-width: 520px;
  margin-bottom: 34px;
  color: #5a524b;
  line-height: 1.6;
}

.hero-buttons {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

.hero-image {
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 20px 40px -12px rgba(0, 0, 0, 0.08);
}

.hero-image img {
  width: 100%;
  height: auto;
  display: block;
}

/* ---------- BUTTONS ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 30px;
  border-radius: 50px;
  font-weight: 600;
  cursor: pointer;
  border: none;
  text-decoration: none;
  transition: all 0.25s;
  font-size: 0.95rem;
}

.btn-primary {
  color: #fff;
  background: linear-gradient(135deg, #f5a88e, #e8826a);
  box-shadow: 0 6px 18px rgba(232, 130, 106, 0.3);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 28px rgba(232, 130, 106, 0.4);
}

.btn-outline {
  background: transparent;
  border: 1.5px solid #d4c5b8;
  color: #4a4540;
}

.btn-outline:hover {
  border-color: #f5a88e;
  color: #2d2b28;
  background: rgba(245, 168, 142, 0.06);
}

/* ---------- SECTION LABEL / TITLE ---------- */
.section-label {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  margin-bottom: 12px;
  color: #c96e56;
}

.section-title {
  font-size: 2.2rem;
  margin-bottom: 14px;
  font-weight: 700;
  color: #2d2b28;
  letter-spacing: -0.3px;
}

.section-desc {
  max-width: 600px;
  opacity: 0.7;
  margin-bottom: 44px;
  color: #5a524b;
  line-height: 1.6;
}

/* ---------- CARDS GRID — floating cards ---------- */
.cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 28px;
}

.category-card {
  border-radius: 18px;
  padding: 32px 24px;
  background: #fff;
  border: 1px solid rgba(210, 190, 170, 0.2);
  transition: all 0.3s;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.02);
}

.category-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 40px -8px rgba(232, 130, 106, 0.12);
  border-color: rgba(245, 168, 142, 0.3);
}

.card-icon {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
  font-size: 1.4rem;
  background: linear-gradient(135deg, #f9e4d8, #f5cbb8);
  color: #c96e56;
}

.card-link {
  font-weight: 600;
  font-size: 0.85rem;
  text-decoration: none;
  color: #c96e56;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.card-link:hover {
  color: #e8826a;
}

/* ---------- FEATURE BLOCK ---------- */
.feature-block {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.feature-image {
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 12px 32px -8px rgba(0, 0, 0, 0.06);
}

.feature-image img {
  width: 100%;
  height: auto;
  display: block;
}

.feature-text {
  padding: 8px 0;
}

.feature-list {
  list-style: none;
  margin-top: 12px;
}

.feature-list li {
  padding: 8px 0;
  display: flex;
  align-items: center;
  gap: 10px;
  color: #4a4540;
}

.feature-list li::before {
  content: '✓';
  font-weight: 700;
  color: #e8826a;
  font-size: 1.1rem;
}

/* ---------- STATS BAR ---------- */
.stats-bar {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  text-align: center;
}

.stat-item {
  padding: 28px 16px;
  border-radius: 16px;
  background: #fff;
  border: 1px solid rgba(210, 190, 170, 0.15);
  transition: 0.2s;
}

.stat-item:hover {
  border-color: rgba(245, 168, 142, 0.3);
  box-shadow: 0 8px 24px rgba(232, 130, 106, 0.06);
}

.stat-number {
  font-size: 2.4rem;
  font-weight: 800;
  color: #2d2b28;
  line-height: 1.1;
}

.stat-label {
  font-size: 0.9rem;
  opacity: 0.6;
  margin-top: 6px;
  color: #5a524b;
}

/* ---------- CONTENT WALL ---------- */
.content-wall {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 28px;
}

.content-wall-item {
  border-radius: 16px;
  overflow: hidden;
  background: #fff;
  border: 1px solid rgba(210, 190, 170, 0.15);
  transition: all 0.3s;
}

.content-wall-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 16px 40px -8px rgba(232, 130, 106, 0.1);
  border-color: rgba(245, 168, 142, 0.25);
}

.content-wall-item img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  display: block;
}

.content-wall-body {
  padding: 22px 20px;
}

.content-wall-body h3 {
  font-size: 1.1rem;
  margin-bottom: 6px;
  color: #2d2b28;
}

.content-wall-body p {
  font-size: 0.9rem;
  opacity: 0.7;
  color: #5a524b;
}

/* ---------- FAQ ---------- */
.faq-list {
  max-width: 800px;
  margin: 0 auto;
}

.faq-item {
  border: 1px solid rgba(210, 190, 170, 0.2);
  border-radius: 14px;
  margin-bottom: 10px;
  overflow: hidden;
  cursor: pointer;
  background: #fff;
  transition: 0.2s;
}

.faq-item:hover {
  border-color: rgba(245, 168, 142, 0.3);
}

.faq-item .faq-question {
  padding: 18px 22px;
  font-weight: 600;
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: #2d2b28;
}

.faq-item .faq-question::after {
  content: '+';
  font-size: 1.3rem;
  color: #c96e56;
  transition: transform 0.2s;
}

.faq-item.open .faq-question::after {
  content: '−';
  transform: rotate(0deg);
}

.faq-item .faq-answer {
  padding: 0 22px 18px;
  display: none;
  opacity: 0.7;
  color: #5a524b;
  line-height: 1.6;
}

.faq-item.open .faq-answer {
  display: block;
}

/* ---------- CTA BANNER ---------- */
.cta-banner {
  padding: 60px 24px;
  text-align: center;
  border-radius: 20px;
  background: linear-gradient(135deg, #f5a88e, #e8826a);
  color: #fff;
  box-shadow: 0 16px 40px -8px rgba(232, 130, 106, 0.25);
}

.cta-banner h2 {
  color: #fff;
  font-size: 2rem;
  margin-bottom: 10px;
}

.cta-banner p {
  opacity: 0.85;
  max-width: 480px;
  margin: 0 auto 24px;
  color: #fff;
}

.cta-banner .btn-primary {
  background: #fff;
  color: #c96e56;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.06);
}

.cta-banner .btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
}

/* ---------- FOOTER ---------- */
.site-footer {
  padding: 60px 0 28px;
  background: #efe9e2;
  color: #4a4540;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
}

.footer-brand p {
  opacity: 0.7;
  font-size: 0.9rem;
  line-height: 1.6;
  margin-top: 10px;
}

.footer-col h4 {
  font-weight: 600;
  margin-bottom: 14px;
  color: #2d2b28;
}

.footer-col ul {
  list-style: none;
}

.footer-col ul li {
  margin-bottom: 8px;
}

.footer-col ul a {
  text-decoration: none;
  color: #5a524b;
  font-size: 0.9rem;
  opacity: 0.75;
  transition: 0.2s;
}

.footer-col ul a:hover {
  opacity: 1;
  color: #c96e56;
}

.footer-bottom {
  border-top: 1px solid rgba(210, 190, 170, 0.3);
  margin-top: 40px;
  padding-top: 20px;
  text-align: center;
  font-size: 0.85rem;
  opacity: 0.6;
  color: #5a524b;
}

/* ---------- UTILITY ---------- */
.text-accent {
  color: #c96e56;
}

.text-center {
  text-align: center;
}

.seo-description {
  max-width: 600px;
  margin: 0 auto 48px;
  opacity: 0.7;
  color: #5a524b;
  line-height: 1.6;
}

.mt-0 {
  margin-top: 0;
}

.mb-0 {
  margin-bottom: 0;
}

/* ---------- RESPONSIVE ---------- */
@media (max-width: 768px) {
  .feature-block {
    grid-template-columns: 1fr;
    gap: 36px;
  }

  .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;
  }

  .main-nav.open {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 68px;
    left: 0;
    width: 100%;
    background: rgba(250, 248, 245, 0.98);
    backdrop-filter: blur(12px);
    padding: 24px 20px;
    gap: 16px;
    border-bottom: 1px solid rgba(210, 190, 170, 0.2);
  }

  .hero h1 {
    font-size: 2.2rem;
  }

  .section-title {
    font-size: 1.7rem;
  }
}

@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;
    align-items: flex-start;
  }

  .hero h1 {
    font-size: 1.8rem;
  }

  .stat-number {
    font-size: 1.8rem;
  }
}