/* ============================================
   MeefoClaw 产品页面 - 专属样式
   基于公司官网 style_220720.css 风格扩展
   ============================================ */

/* --- Reset & Base --- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: "Microsoft YaHei", "PingFang SC", "Helvetica Neue", Arial, sans-serif;
  color: #333;
  background: #fff;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; height: auto; display: block; }
ul, ol { list-style: none; }

/* --- CSS Variables --- */
:root {
  --mc-primary: #1a3a5c;
  --mc-primary-light: #2d5f8a;
  --mc-primary-dark: #0f2740;
  --mc-accent: #3b8dd4;
  --mc-accent-hover: #2a7bc1;
  --mc-gradient: linear-gradient(135deg, #1a3a5c 0%, #2d5f8a 50%, #3b8dd4 100%);
  --mc-btn-gradient: linear-gradient(135deg, #2d5f8a, #3b8dd4);
  --mc-btn-hover: linear-gradient(135deg, #1a3a5c, #2d5f8a);
  --mc-text-dark: #1a1a2e;
  --mc-text-mid: #555;
  --mc-text-light: #888;
  --mc-bg-light: #f5f7fa;
  --mc-bg-section: #f0f4f8;
  --mc-border: #e0e6ed;
  --mc-shadow-sm: 0 2px 8px rgba(0,0,0,0.06);
  --mc-shadow-md: 0 4px 20px rgba(0,0,0,0.08);
  --mc-shadow-lg: 0 8px 40px rgba(0,0,0,0.12);
  --mc-radius: 8px;
  --mc-radius-lg: 12px;
  --mc-max-w: 1200px;
  --mc-nav-h: 70px;
}

/* --- MeefoClaw Nav --- */
.mc-nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: var(--mc-nav-h);
  background: #fff;
  box-shadow: var(--mc-shadow-sm);
  z-index: 1000;
  transition: box-shadow .3s;
}
.mc-nav.scrolled { box-shadow: 0 2px 16px rgba(0,0,0,0.1); }

.mc-nav-inner {
  max-width: var(--mc-max-w);
  margin: 0 auto;
  padding: 0 24px;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.mc-nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 22px;
  font-weight: 700;
  color: var(--mc-primary);
  text-decoration: none;
}
.mc-nav-logo img { height: 36px; width: auto; }
.mc-nav-logo .logo-highlight { color: var(--mc-accent); }

.mc-nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
}
.mc-nav-links a {
  font-size: 15px;
  color: var(--mc-text-mid);
  font-weight: 500;
  padding: 6px 0;
  position: relative;
  transition: color .3s;
  text-decoration: none;
}
.mc-nav-links a::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0;
  width: 0; height: 2px;
  background: var(--mc-accent);
  transition: width .3s;
}
.mc-nav-links a:hover, .mc-nav-links a.active {
  color: var(--mc-primary);
}
.mc-nav-links a:hover::after, .mc-nav-links a.active::after {
  width: 100%;
}
.mc-nav-links .mc-nav-back {
  color: var(--mc-text-light);
  font-size: 13px;
  border-left: 1px solid var(--mc-border);
  padding-left: 20px;
  margin-left: 4px;
}
.mc-nav-links .mc-nav-back:hover { color: var(--mc-accent); }
.mc-nav-links .mc-nav-back::after { display: none; }

/* Mobile toggle */
.mc-nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 4px;
}
.mc-nav-toggle span {
  width: 24px; height: 2px;
  background: var(--mc-primary);
  border-radius: 2px;
  transition: all .3s;
}

/* --- Container --- */
.mc-container {
  max-width: var(--mc-max-w);
  margin: 0 auto;
  padding: 0 24px;
}

/* --- Hero Banner --- */
.mc-hero {
  margin-top: var(--mc-nav-h);
  position: relative;
  min-height: 520px;
  background: var(--mc-gradient);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.mc-hero-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  z-index: 1;
}
.mc-hero-overlay {
  position: absolute;
  inset: 0;
  background: rgba(15, 39, 64, 0.35);
  z-index: 2;
}
.mc-hero-content {
  position: relative;
  z-index: 3;
  text-align: center;
  color: #fff;
  padding: 60px 24px;
}
.mc-hero-content h1 {
  font-size: 42px;
  font-weight: 700;
  margin-bottom: 16px;
  text-shadow: 0 2px 12px rgba(0,0,0,0.3);
}
.mc-hero-content p {
  font-size: 18px;
  opacity: .9;
  margin-bottom: 40px;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}
.mc-hero-buttons {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

/* --- Buttons --- */
.mc-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 32px;
  border-radius: var(--mc-radius);
  font-size: 16px;
  font-weight: 600;
  border: none;
  cursor: pointer;
  transition: all .3s;
  text-decoration: none;
}
.mc-btn-primary {
  background: var(--mc-btn-gradient);
  color: #fff;
  box-shadow: 0 4px 16px rgba(59,141,212,0.3);
}
.mc-btn-primary:hover {
  background: var(--mc-btn-hover);
  box-shadow: 0 6px 24px rgba(59,141,212,0.4);
  transform: translateY(-2px);
}
.mc-btn-outline {
  background: transparent;
  color: #fff;
  border: 2px solid rgba(255,255,255,0.6);
}
.mc-btn-outline:hover {
  background: rgba(255,255,255,0.1);
  border-color: #fff;
  transform: translateY(-2px);
}
.mc-btn-lg {
  padding: 18px 48px;
  font-size: 18px;
  border-radius: var(--mc-radius-lg);
}
.mc-btn-download {
  background: linear-gradient(135deg, #2ecc71, #27ae60);
  color: #fff;
  box-shadow: 0 4px 16px rgba(46,204,113,0.3);
}
.mc-btn-download:hover {
  background: linear-gradient(135deg, #27ae60, #219a52);
  box-shadow: 0 6px 24px rgba(46,204,113,0.4);
  transform: translateY(-2px);
}

/* --- Section Common --- */
.mc-section {
  padding: 80px 0;
}
.mc-section-alt {
  background: var(--mc-bg-section);
}
.mc-section-title {
  text-align: center;
  margin-bottom: 56px;
}
.mc-section-title h2 {
  font-size: 32px;
  font-weight: 700;
  color: var(--mc-text-dark);
  margin-bottom: 12px;
}
.mc-section-title p {
  font-size: 16px;
  color: var(--mc-text-mid);
  max-width: 560px;
  margin: 0 auto;
}
.mc-section-title .mc-line {
  display: block;
  width: 48px;
  height: 3px;
  background: var(--mc-accent);
  margin: 16px auto 0;
  border-radius: 2px;
}

/* --- Highlight Cards --- */
.mc-highlights {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.mc-card {
  background: #fff;
  border-radius: var(--mc-radius-lg);
  padding: 36px 24px;
  text-align: center;
  box-shadow: var(--mc-shadow-sm);
  transition: transform .3s, box-shadow .3s;
}
.mc-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--mc-shadow-md);
}
.mc-card .mc-icon {
  width: 64px; height: 64px;
  margin: 0 auto 20px;
  background: var(--mc-bg-light);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
}
.mc-card h3 {
  font-size: 18px;
  color: var(--mc-text-dark);
  margin-bottom: 8px;
}
.mc-card p {
  font-size: 14px;
  color: var(--mc-text-mid);
  line-height: 1.7;
}

/* --- Feature Row --- */
.mc-feature-row {
  display: flex;
  align-items: center;
  gap: 60px;
  margin-bottom: 80px;
}
.mc-feature-row:last-child { margin-bottom: 0; }
.mc-feature-row.reverse { flex-direction: row-reverse; }

.mc-feature-img {
  flex: 1;
  border-radius: var(--mc-radius-lg);
  overflow: hidden;
  box-shadow: var(--mc-shadow-md);
}
.mc-feature-img img { width: 100%; display: block; }
.mc-feature-img .mc-placeholder {
  width: 100%;
  aspect-ratio: 16/10;
  background: linear-gradient(135deg, #e8edf2, #d4dce6);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--mc-text-light);
  font-size: 14px;
}

.mc-feature-text { flex: 1; }
.mc-feature-text .mc-tag {
  display: inline-block;
  padding: 4px 12px;
  background: rgba(59,141,212,0.1);
  color: var(--mc-accent);
  font-size: 13px;
  font-weight: 600;
  border-radius: 20px;
  margin-bottom: 12px;
}
.mc-feature-text h3 {
  font-size: 26px;
  color: var(--mc-text-dark);
  margin-bottom: 16px;
}
.mc-feature-text p {
  font-size: 15px;
  color: var(--mc-text-mid);
  line-height: 1.8;
  margin-bottom: 12px;
}
.mc-feature-text ul { margin-top: 12px; }
.mc-feature-text ul li {
  padding: 4px 0 4px 20px;
  position: relative;
  font-size: 14px;
  color: var(--mc-text-mid);
  list-style: none;
}
.mc-feature-text ul li::before {
  content: '\2713';
  position: absolute;
  left: 0;
  color: var(--mc-accent);
  font-weight: 700;
}

/* --- Download Page --- */
.mc-download-hero {
  margin-top: var(--mc-nav-h);
  background: var(--mc-gradient);
  padding: 80px 24px;
  text-align: center;
  color: #fff;
}
.mc-download-hero h1 { font-size: 36px; margin-bottom: 16px; }
.mc-download-hero p { font-size: 16px; opacity: .85; margin-bottom: 36px; }
.mc-download-meta {
  display: flex;
  justify-content: center;
  gap: 40px;
  margin-top: 32px;
  flex-wrap: wrap;
}
.mc-download-meta .mc-meta-item { text-align: center; }
.mc-download-meta .mc-meta-label {
  font-size: 12px;
  opacity: .7;
  text-transform: uppercase;
  letter-spacing: 1px;
}
.mc-download-meta .mc-meta-value {
  font-size: 18px;
  font-weight: 700;
  margin-top: 4px;
}

/* Install Steps */
.mc-steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  margin-top: 20px;
}
.mc-step-card {
  text-align: center;
  padding: 32px 24px;
  background: #fff;
  border-radius: var(--mc-radius-lg);
  box-shadow: var(--mc-shadow-sm);
}
.mc-step-num {
  width: 48px; height: 48px;
  background: var(--mc-btn-gradient);
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  font-weight: 700;
  margin: 0 auto 16px;
}
.mc-step-card h3 { font-size: 18px; margin-bottom: 8px; color: var(--mc-text-dark); }
.mc-step-card p { font-size: 14px; color: var(--mc-text-mid); }

/* System Requirements Table */
.mc-req-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 20px;
}
.mc-req-table th, .mc-req-table td {
  padding: 14px 20px;
  text-align: left;
  border-bottom: 1px solid var(--mc-border);
  font-size: 15px;
}
.mc-req-table th {
  background: var(--mc-bg-light);
  color: var(--mc-text-dark);
  font-weight: 600;
  width: 160px;
}
.mc-req-table td { color: var(--mc-text-mid); }

/* --- FAQ Page --- */
.mc-faq-hero {
  margin-top: var(--mc-nav-h);
  background: var(--mc-gradient);
  padding: 60px 24px;
  text-align: center;
  color: #fff;
}
.mc-faq-hero h1 { font-size: 36px; margin-bottom: 12px; }
.mc-faq-hero p { font-size: 16px; opacity: .85; }

.mc-faq-category { margin-bottom: 48px; }
.mc-faq-category h3 {
  font-size: 20px;
  color: var(--mc-primary);
  margin-bottom: 20px;
  padding-bottom: 10px;
  border-bottom: 2px solid var(--mc-border);
}
.mc-faq-item {
  border: 1px solid var(--mc-border);
  border-radius: var(--mc-radius);
  margin-bottom: 12px;
  overflow: hidden;
  transition: box-shadow .3s;
}
.mc-faq-item:hover { box-shadow: var(--mc-shadow-sm); }
.mc-faq-q {
  padding: 18px 24px;
  font-size: 15px;
  font-weight: 600;
  color: var(--mc-text-dark);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  user-select: none;
  transition: background .2s;
}
.mc-faq-q:hover { background: var(--mc-bg-light); }
.mc-faq-q .mc-arrow {
  font-size: 12px;
  color: var(--mc-text-light);
  transition: transform .3s;
  flex-shrink: 0;
  margin-left: 16px;
}
.mc-faq-item.open .mc-faq-q .mc-arrow { transform: rotate(180deg); }
.mc-faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height .3s ease, padding .3s ease;
}
.mc-faq-item.open .mc-faq-a {
  max-height: 500px;
  padding: 0 24px 18px;
}
.mc-faq-a p {
  font-size: 14px;
  color: var(--mc-text-mid);
  line-height: 1.8;
}

/* --- Banner Image + Hotspots --- */
.mc-banner-wrap {
  background: #faf5f2;
}
.mc-banner-container {
  position: relative;
  max-width: 1400px;
  margin: 0 auto;
  overflow: hidden;
}
.mc-banner-img {
  width: 100%;
  display: block;
}
.mc-hotspot {
  position: absolute;
  cursor: pointer;
  border-radius: 6px;
  transition: background .2s;
}
.mc-hotspot:hover {
  background: rgba(0,0,0,0.04);
}
/* 按钮热区定位（基于 banner 图按钮位置百分比） */
.mc-hotspot-download {
  left: 20.5%;
  bottom: 15%;
  width: 8.5%;
  height: 16%;
}
.mc-hotspot-features {
  left: 30.5%;
  bottom: 15%;
  width: 8.5%;
  height: 16%;
}
.mc-hotspot-faq {
  left: 40.5%;
  bottom: 15%;
  width: 8.5%;
  height: 16%;
}

/* --- Page Header (sub pages) --- */
.mc-page-header {
  margin-top: var(--mc-nav-h);
  background: var(--mc-gradient);
  padding: 60px 24px;
  text-align: center;
  color: #fff;
}
.mc-page-header h1 { font-size: 36px; margin-bottom: 12px; }
.mc-page-header p { font-size: 16px; opacity: .85; }

/* --- Footer (matches company style) --- */
.mc-footer {
  background: #252323;
  color: rgba(255,255,255,0.6);
  padding: 32px 0;
  text-align: center;
  font-size: 14px;
}
.mc-footer a {
  color: rgba(255,255,255,0.8);
  text-decoration: none;
  transition: color .3s;
}
.mc-footer a:hover { color: #fff; }
.mc-footer-links {
  display: flex;
  justify-content: center;
  gap: 24px;
  margin-bottom: 12px;
}
.mc-footer-copy { margin-top: 8px; }

/* --- Scroll Animations --- */
.mc-fade-up {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity .6s ease, transform .6s ease;
}
.mc-fade-up.visible {
  opacity: 1;
  transform: translateY(0);
}

/* --- Responsive --- */
@media (max-width: 1024px) {
  .mc-highlights { grid-template-columns: repeat(2, 1fr); }
  .mc-feature-row { flex-direction: column !important; gap: 32px; }
  .mc-steps { grid-template-columns: 1fr; max-width: 400px; margin-left: auto; margin-right: auto; }
}

@media (max-width: 768px) {
  :root { --mc-nav-h: 60px; }

  .mc-nav-links {
    display: none;
    position: absolute;
    top: var(--mc-nav-h);
    left: 0; right: 0;
    background: #fff;
    flex-direction: column;
    padding: 16px 24px;
    gap: 12px;
    box-shadow: var(--mc-shadow-md);
  }
  .mc-nav-links.open { display: flex; }
  .mc-nav-links .mc-nav-back { border-left: none; padding-left: 0; }
  .mc-nav-toggle { display: flex; }

  .mc-hero { min-height: 400px; }
  .mc-hero-content h1 { font-size: 28px; }
  .mc-hero-content p { font-size: 15px; }
  .mc-hero-buttons { flex-direction: column; align-items: center; }

  .mc-highlights { grid-template-columns: 1fr; max-width: 360px; margin: 0 auto; }

  .mc-section { padding: 48px 0; }
  .mc-section-title h2 { font-size: 24px; }

  .mc-download-hero h1, .mc-faq-hero h1, .mc-page-header h1 { font-size: 26px; }
  .mc-download-meta { gap: 20px; }
  .mc-req-table th { width: 100px; }
}

/* --- CTA 区微信二维码 --- */
.mc-cta-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 60px;
  flex-wrap: wrap;
}
.mc-cta-item {
  display: flex;
  flex-direction: column;
  align-items: center;
}
.mc-cta-qrcode {
  padding-top: 4px;
}
.mc-qrcode-img {
  width: 140px;
  height: 140px;
  border-radius: var(--mc-radius);
  box-shadow: var(--mc-shadow-sm);
  border: 1px solid var(--mc-border);
}
.mc-qrcode-label {
  margin-top: 10px;
  font-size: 13px;
  color: var(--mc-text-light);
  line-height: 1.5;
}
@media (max-width: 600px) {
  .mc-cta-row { gap: 32px; }
  .mc-qrcode-img { width: 120px; height: 120px; }
}
