/* ===========================
   蘑菇视频 - 主样式表
   极简高端风格
   =========================== */

:root {
  --color-bg: #fafaf8;
  --color-white: #ffffff;
  --color-text: #1a1a1a;
  --color-text-light: #666666;
  --color-text-muted: #999999;
  --color-accent: #2d6a4f;
  --color-accent-light: #40916c;
  --color-accent-pale: #d8f3dc;
  --color-border: #e8e8e4;
  --color-card-bg: #f5f5f0;
  --font-main: 'PingFang SC', 'Hiragino Sans GB', 'Microsoft YaHei', sans-serif;
  --shadow-sm: 0 1px 4px rgba(0,0,0,0.06);
  --shadow-md: 0 4px 20px rgba(0,0,0,0.08);
  --shadow-lg: 0 8px 40px rgba(0,0,0,0.10);
  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --transition: 0.3s ease;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; font-size: 16px; }

body {
  font-family: var(--font-main);
  background: var(--color-bg);
  color: var(--color-text);
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--color-accent); }
img { max-width: 100%; height: auto; display: block; }
ul, ol { list-style: none; }

/* ---- Container ---- */
.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.section { padding: 96px 0; }
.section-sm { padding: 64px 0; }

/* ---- Typography ---- */
.section-label {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--color-accent);
  margin-bottom: 16px;
}
.section-title {
  font-size: clamp(28px, 4vw, 42px);
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: -0.02em;
  color: var(--color-text);
  margin-bottom: 20px;
}
.section-desc {
  font-size: 17px;
  color: var(--color-text-light);
  max-width: 560px;
  line-height: 1.8;
}

/* ---- Buttons ---- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 32px;
  border-radius: 50px;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  transition: all var(--transition);
  border: none;
}
.btn-primary {
  background: var(--color-accent);
  color: #fff;
}
.btn-primary:hover {
  background: var(--color-accent-light);
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(45,106,79,0.3);
}
.btn-outline {
  background: transparent;
  color: var(--color-accent);
  border: 1.5px solid var(--color-accent);
}
.btn-outline:hover {
  background: var(--color-accent);
  color: #fff;
  transform: translateY(-2px);
}

/* ---- Header / Nav ---- */
#header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  background: rgba(250,250,248,0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--color-border);
  transition: box-shadow var(--transition);
}
#header.scrolled { box-shadow: var(--shadow-md); }

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
}
.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 20px;
  font-weight: 800;
  color: var(--color-text);
  letter-spacing: -0.02em;
}
.nav-logo .logo-icon {
  width: 36px; height: 36px;
  background: var(--color-accent);
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  color: #fff;
  font-size: 18px;
}
.nav-menu {
  display: flex;
  align-items: center;
  gap: 36px;
}
.nav-menu a {
  font-size: 14px;
  font-weight: 500;
  color: var(--color-text-light);
  transition: color var(--transition);
  position: relative;
}
.nav-menu a::after {
  content: '';
  position: absolute;
  bottom: -4px; left: 0; right: 0;
  height: 2px;
  background: var(--color-accent);
  transform: scaleX(0);
  transition: transform var(--transition);
  border-radius: 2px;
}
.nav-menu a:hover { color: var(--color-text); }
.nav-menu a:hover::after { transform: scaleX(1); }
.nav-cta { margin-left: 16px; }
.nav-hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 4px;
}
.nav-hamburger span {
  width: 24px; height: 2px;
  background: var(--color-text);
  border-radius: 2px;
  transition: all var(--transition);
}

/* ---- Search Bar ---- */
.search-bar-wrap {
  background: var(--color-white);
  border-bottom: 1px solid var(--color-border);
  padding: 10px 0;
  position: fixed;
  top: 68px; left: 0; right: 0;
  z-index: 999;
}
.search-bar-inner {
  display: flex;
  align-items: center;
  max-width: 640px;
  margin: 0 auto;
  padding: 0 24px;
  background: var(--color-card-bg);
  border-radius: 50px;
  border: 1px solid var(--color-border);
  overflow: hidden;
}
.search-bar-inner input {
  flex: 1;
  border: none;
  background: transparent;
  padding: 10px 16px;
  font-size: 14px;
  font-family: var(--font-main);
  color: var(--color-text);
  outline: none;
}
.search-bar-inner input::placeholder { color: var(--color-text-muted); }
.search-bar-inner button {
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px 12px;
  color: var(--color-text-light);
  font-size: 16px;
  transition: color var(--transition);
}
.search-bar-inner button:hover { color: var(--color-accent); }

/* ---- Hero ---- */
#hero {
  padding-top: 160px;
  padding-bottom: 96px;
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
}
.hero-bg {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, #f0faf4 0%, #fafaf8 50%, #f5f0ff 100%);
  z-index: 0;
}
.hero-content {
  position: relative;
  z-index: 1;
  max-width: 640px;
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--color-accent-pale);
  color: var(--color-accent);
  padding: 6px 16px;
  border-radius: 50px;
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 28px;
}
.hero-badge .dot {
  width: 6px; height: 6px;
  background: var(--color-accent);
  border-radius: 50%;
  animation: pulse 2s infinite;
}
@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.6; transform: scale(1.3); }
}
.hero-title {
  font-size: clamp(36px, 5.5vw, 64px);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.03em;
  color: var(--color-text);
  margin-bottom: 24px;
}
.hero-title .accent { color: var(--color-accent); }
.hero-subtitle {
  font-size: 18px;
  color: var(--color-text-light);
  line-height: 1.7;
  margin-bottom: 40px;
  max-width: 520px;
}
.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; }
.hero-image {
  position: absolute;
  right: 0; top: 50%;
  transform: translateY(-50%);
  width: 50%;
  max-width: 640px;
  border-radius: var(--radius-lg) 0 0 var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}
.hero-image img { width: 100%; height: 500px; object-fit: cover; }

/* ---- Stats ---- */
.stats-row {
  display: flex;
  gap: 48px;
  margin-top: 56px;
  padding-top: 40px;
  border-top: 1px solid var(--color-border);
}
.stat-item .num {
  font-size: 32px;
  font-weight: 800;
  color: var(--color-text);
  letter-spacing: -0.02em;
}
.stat-item .num span { color: var(--color-accent); }
.stat-item .label { font-size: 13px; color: var(--color-text-muted); margin-top: 4px; }

/* ---- About ---- */
#about { background: var(--color-white); }
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}
.about-image { border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-lg); }
.about-image img { width: 100%; height: 420px; object-fit: cover; }

/* ---- Services ---- */
#services { background: var(--color-bg); }
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  margin-top: 56px;
}
.service-card {
  background: var(--color-white);
  border-radius: var(--radius-md);
  padding: 36px 32px;
  border: 1px solid var(--color-border);
  transition: all var(--transition);
  position: relative;
  overflow: hidden;
}
.service-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: var(--color-accent);
  transform: scaleX(0);
  transition: transform var(--transition);
}
.service-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.service-card:hover::before { transform: scaleX(1); }
.service-icon {
  width: 52px; height: 52px;
  background: var(--color-accent-pale);
  border-radius: var(--radius-sm);
  display: flex; align-items: center; justify-content: center;
  font-size: 24px;
  margin-bottom: 20px;
}
.service-card h3 { font-size: 18px; font-weight: 700; margin-bottom: 12px; }
.service-card p { font-size: 14px; color: var(--color-text-light); line-height: 1.7; }

/* ---- Video Gallery ---- */
#videos { background: var(--color-white); }
.videos-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 24px;
  margin-top: 56px;
}
.video-card {
  border-radius: var(--radius-md);
  overflow: hidden;
  background: var(--color-white);
  border: 1px solid var(--color-border);
  transition: all var(--transition);
  cursor: pointer;
}
.video-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.video-thumb {
  position: relative;
  overflow: hidden;
  aspect-ratio: 16/9;
}
.video-thumb img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}
.video-card:hover .video-thumb img { transform: scale(1.05); }
.video-play-btn {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0,0,0,0);
  transition: background var(--transition);
}
.video-card:hover .video-play-btn { background: rgba(0,0,0,0.35); }
.play-circle {
  width: 56px; height: 56px;
  background: rgba(255,255,255,0.92);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  opacity: 0;
  transform: scale(0.8);
  transition: all var(--transition);
  box-shadow: 0 4px 16px rgba(0,0,0,0.2);
}
.video-card:hover .play-circle { opacity: 1; transform: scale(1); }
.play-circle svg { width: 22px; height: 22px; fill: var(--color-accent); margin-left: 3px; }
.video-tag {
  position: absolute;
  top: 10px; left: 10px;
  background: var(--color-accent);
  color: #fff;
  font-size: 11px;
  font-weight: 600;
  padding: 3px 10px;
  border-radius: 50px;
}
.video-info { padding: 18px 20px; }
.video-info h3 { font-size: 15px; font-weight: 600; margin-bottom: 10px; line-height: 1.5; }
.video-meta {
  display: flex;
  gap: 16px;
  font-size: 12px;
  color: var(--color-text-muted);
}
.video-meta span { display: flex; align-items: center; gap: 4px; }

/* ---- Advantages ---- */
#advantages { background: var(--color-bg); }
.advantages-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin-top: 56px;
}
.adv-card {
  text-align: center;
  padding: 40px 24px;
  background: var(--color-white);
  border-radius: var(--radius-md);
  border: 1px solid var(--color-border);
  transition: all var(--transition);
}
.adv-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.adv-num {
  font-size: 42px;
  font-weight: 800;
  color: var(--color-accent);
  letter-spacing: -0.03em;
  margin-bottom: 8px;
}
.adv-card h4 { font-size: 15px; font-weight: 600; margin-bottom: 8px; }
.adv-card p { font-size: 13px; color: var(--color-text-muted); }

/* ---- Reviews ---- */
#reviews { background: var(--color-white); }
.reviews-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  margin-top: 56px;
}
.review-card {
  background: var(--color-card-bg);
  border-radius: var(--radius-md);
  padding: 32px;
  border: 1px solid var(--color-border);
  transition: all var(--transition);
}
.review-card:hover { box-shadow: var(--shadow-md); }
.review-stars { color: #f4a228; font-size: 16px; margin-bottom: 14px; }
.review-text { font-size: 15px; color: var(--color-text); line-height: 1.75; margin-bottom: 20px; }
.review-author { display: flex; align-items: center; gap: 12px; }
.review-avatar {
  width: 40px; height: 40px;
  background: var(--color-accent-pale);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 16px;
  font-weight: 700;
  color: var(--color-accent);
}
.review-name { font-size: 14px; font-weight: 600; }
.review-role { font-size: 12px; color: var(--color-text-muted); }

/* ---- FAQ ---- */
#faq { background: var(--color-bg); }
.faq-list { margin-top: 56px; max-width: 800px; }
.faq-item {
  border-bottom: 1px solid var(--color-border);
}
.faq-question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 22px 0;
  cursor: pointer;
  font-size: 16px;
  font-weight: 600;
  color: var(--color-text);
  transition: color var(--transition);
  gap: 16px;
}
.faq-question:hover { color: var(--color-accent); }
.faq-icon {
  width: 28px; height: 28px;
  border-radius: 50%;
  border: 1.5px solid var(--color-border);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
  transition: all var(--transition);
  font-size: 18px;
  color: var(--color-text-light);
}
.faq-item.active .faq-icon {
  background: var(--color-accent);
  border-color: var(--color-accent);
  color: #fff;
  transform: rotate(45deg);
}
.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease, padding 0.35s ease;
}
.faq-answer-inner {
  padding: 0 0 22px 0;
  font-size: 15px;
  color: var(--color-text-light);
  line-height: 1.8;
}
.faq-item.active .faq-answer { max-height: 300px; }

/* ---- Contact ---- */
#contact { background: var(--color-white); }
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 80px;
  align-items: start;
  margin-top: 56px;
}
.contact-info h3 { font-size: 22px; font-weight: 700; margin-bottom: 16px; }
.contact-info p { font-size: 15px; color: var(--color-text-light); margin-bottom: 32px; }
.contact-item {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 20px;
}
.contact-item-icon {
  width: 44px; height: 44px;
  background: var(--color-accent-pale);
  border-radius: var(--radius-sm);
  display: flex; align-items: center; justify-content: center;
  font-size: 20px;
  flex-shrink: 0;
}
.contact-item-text .label { font-size: 12px; color: var(--color-text-muted); margin-bottom: 2px; }
.contact-item-text .value { font-size: 15px; font-weight: 500; }
.contact-form { display: flex; flex-direction: column; gap: 16px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-field { display: flex; flex-direction: column; gap: 6px; }
.form-field label { font-size: 13px; font-weight: 500; color: var(--color-text-light); }
.form-field input, .form-field textarea, .form-field select {
  padding: 12px 16px;
  border: 1.5px solid var(--color-border);
  border-radius: var(--radius-sm);
  font-size: 14px;
  font-family: var(--font-main);
  background: var(--color-bg);
  color: var(--color-text);
  transition: border-color var(--transition);
  outline: none;
}
.form-field input:focus, .form-field textarea:focus { border-color: var(--color-accent); }
.form-field textarea { resize: vertical; min-height: 120px; }

/* ---- Footer ---- */
#footer {
  background: #111;
  color: rgba(255,255,255,0.7);
  padding: 64px 0 32px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 48px;
}
.footer-brand .logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 18px;
  font-weight: 800;
  color: #fff;
  margin-bottom: 16px;
}
.footer-brand .logo .logo-icon {
  width: 32px; height: 32px;
  background: var(--color-accent);
  border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  font-size: 16px;
  color: #fff;
}
.footer-brand p { font-size: 13px; line-height: 1.8; max-width: 260px; }
.footer-col h4 { font-size: 14px; font-weight: 700; color: #fff; margin-bottom: 20px; }
.footer-col ul li { margin-bottom: 10px; }
.footer-col ul li a { font-size: 13px; color: rgba(255,255,255,0.55); transition: color var(--transition); }
.footer-col ul li a:hover { color: #fff; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}
.footer-bottom p { font-size: 12px; color: rgba(255,255,255,0.4); }
.footer-social { display: flex; gap: 16px; }
.footer-social a {
  width: 34px; height: 34px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.2);
  display: flex; align-items: center; justify-content: center;
  font-size: 14px;
  color: rgba(255,255,255,0.5);
  transition: all var(--transition);
}
.footer-social a:hover { background: var(--color-accent); border-color: var(--color-accent); color: #fff; }

/* ---- Mobile Menu ---- */
.mobile-menu {
  display: none;
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(250,250,248,0.98);
  z-index: 2000;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 32px;
}
.mobile-menu.open { display: flex; }
.mobile-menu a { font-size: 22px; font-weight: 600; color: var(--color-text); }
.mobile-menu-close {
  position: absolute;
  top: 24px; right: 24px;
  font-size: 28px;
  cursor: pointer;
  color: var(--color-text);
}

/* ---- Page Header (inner pages) ---- */
.page-header {
  padding: 140px 0 64px;
  background: linear-gradient(135deg, #f0faf4 0%, #fafaf8 100%);
  border-bottom: 1px solid var(--color-border);
}
.breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: var(--color-text-muted);
  margin-bottom: 16px;
}
.breadcrumb a { color: var(--color-accent); }
.breadcrumb span { color: var(--color-text-muted); }

/* ---- Animations ---- */
.fade-in {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.fade-in.visible { opacity: 1; transform: translateY(0); }

/* ---- Responsive ---- */
@media (max-width: 1024px) {
  .hero-image { width: 45%; }
  .advantages-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
  .nav-menu, .nav-cta { display: none; }
  .nav-hamburger { display: flex; }
  #hero { padding-top: 140px; }
  .hero-image { display: none; }
  .hero-content { max-width: 100%; }
  .about-grid { grid-template-columns: 1fr; gap: 40px; }
  .services-grid { grid-template-columns: 1fr; }
  .videos-grid { grid-template-columns: 1fr; }
  .advantages-grid { grid-template-columns: repeat(2, 1fr); }
  .reviews-grid { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; gap: 40px; }
  .form-row { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .stats-row { flex-wrap: wrap; gap: 28px; }
  .section { padding: 64px 0; }
}

@media (max-width: 480px) {
  .hero-title { font-size: 32px; }
  .hero-actions { flex-direction: column; }
  .btn { width: 100%; justify-content: center; }
}
