/* ========================================
   喵印神码 - 全站样式表
   ======================================== */

/* ===== 基础重置 ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  color: #333;
  line-height: 1.6;
  overflow-x: hidden;
}

a { text-decoration: none; color: #2D7D46; }
a:hover { color: #1B5E20; }

img { max-width: 100%; height: auto; }

/* ===== 导航栏 ===== */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(255,255,255,0.97);
  backdrop-filter: blur(10px);
  box-shadow: 0 1px 12px rgba(0,0,0,0.06);
  transition: box-shadow 0.3s;
}
.navbar.scrolled { box-shadow: 0 2px 20px rgba(0,0,0,0.1); }
.nav-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}
.nav-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 20px;
  font-weight: 700;
  color: #1B5E20;
}
.nav-brand img { height: 32px; }
.nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
  list-style: none;
}
.nav-links a {
  color: #555;
  font-size: 15px;
  font-weight: 500;
  transition: color 0.2s;
}
.nav-links a:hover { color: #2D7D46; }
.nav-cta { display: flex; gap: 12px; align-items: center; }
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 24px;
  border-radius: 8px;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  border: none;
  transition: all 0.25s;
}
.btn-primary {
  background: #4CAF50;
  color: #fff;
}
.btn-primary:hover { background: #388E3C; transform: translateY(-1px); box-shadow: 0 4px 12px rgba(76,175,80,0.3); }
.btn-outline {
  background: transparent;
  color: #2D7D46;
  border: 2px solid #4CAF50;
}
.btn-outline:hover { background: #E8F5E9; }
.btn-lg { padding: 14px 36px; font-size: 17px; border-radius: 10px; }
.btn-white { background: #fff; color: #2D7D46; }
.btn-white:hover { background: #f5f5f5; transform: translateY(-1px); box-shadow: 0 4px 12px rgba(0,0,0,0.15); }

/* 移动端汉堡菜单 */
.nav-toggle { display: none; background: none; border: none; font-size: 24px; cursor: pointer; color: #1B5E20; }

/* ===== Hero 区域 ===== */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  background: linear-gradient(135deg, #1B5E20 0%, #2D7D46 40%, #4CAF50 100%);
  padding: 100px 24px 60px;
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  width: 600px;
  height: 600px;
  border-radius: 50%;
  background: rgba(255,255,255,0.03);
  top: -200px;
  right: -100px;
}
.hero::after {
  content: '';
  position: absolute;
  width: 400px;
  height: 400px;
  border-radius: 50%;
  background: rgba(255,255,255,0.05);
  bottom: -150px;
  left: -100px;
}
.hero-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 60px;
  position: relative;
  z-index: 1;
}
.hero-text { flex: 1; color: #fff; }
.hero-text h1 {
  font-size: 48px;
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 20px;
}
.hero-text h1 span { color: #A5D6A7; }
.hero-text p {
  font-size: 18px;
  opacity: 0.9;
  margin-bottom: 32px;
  line-height: 1.7;
}
.hero-buttons { display: flex; gap: 16px; flex-wrap: wrap; }

/* 手机模拟框 */
.hero-mock { flex: 0 0 340px; position: relative; }
.phone-frame {
  width: 300px;
  height: 580px;
  background: #fff;
  border-radius: 36px;
  box-shadow: 0 30px 80px rgba(0,0,0,0.3);
  overflow: hidden;
  margin: 0 auto;
  border: 8px solid #222;
  position: relative;
}
.phone-notch {
  width: 120px;
  height: 24px;
  background: #222;
  border-radius: 0 0 16px 16px;
  margin: 0 auto;
}
.phone-screen {
  padding: 16px;
  font-size: 12px;
  color: #333;
}
.phone-screen .mock-header {
  background: #2D7D46;
  color: #fff;
  padding: 12px;
  border-radius: 8px;
  text-align: center;
  margin-bottom: 12px;
  font-weight: 600;
  font-size: 14px;
}
.phone-screen .mock-card {
  background: #f5f5f5;
  border-radius: 8px;
  padding: 12px;
  margin-bottom: 8px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.phone-screen .mock-dot {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  flex-shrink: 0;
}
.phone-screen .mock-line {
  height: 8px;
  background: #ddd;
  border-radius: 4px;
  margin-bottom: 4px;
}
.phone-screen .mock-qr {
  width: 80px;
  height: 80px;
  background: #f0f0f0;
  border: 2px solid #ddd;
  margin: 12px auto;
  display: grid;
  grid-template-columns: repeat(5,1fr);
  grid-template-rows: repeat(5,1fr);
  gap: 2px;
  padding: 4px;
}
.phone-screen .mock-qr span {
  background: #1B5E20;
  border-radius: 1px;
}

/* ===== 通用区块 ===== */
.section {
  padding: 80px 24px;
}
.section-alt { background: #f6fbf6; }
.container {
  max-width: 1200px;
  margin: 0 auto;
}
.section-title {
  text-align: center;
  margin-bottom: 16px;
}
.section-title h2 {
  font-size: 36px;
  font-weight: 700;
  color: #1B5E20;
}
.section-subtitle {
  text-align: center;
  color: #666;
  font-size: 17px;
  margin-bottom: 48px;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}
.section-icon {
  font-size: 36px;
  text-align: center;
  margin-bottom: 12px;
}

/* ===== 数据统计区 ===== */
.stats {
  padding: 60px 24px;
  background: #E8F5E9;
}
.stats-grid {
  max-width: 900px;
  margin: 0 auto;
  display: flex;
  justify-content: center;
  gap: 60px;
  text-align: center;
}
.stat-item h3 {
  font-size: 48px;
  font-weight: 800;
  color: #2D7D46;
}
.stat-item p {
  font-size: 16px;
  color: #555;
  margin-top: 4px;
}

/* ===== 功能卡片 ===== */
.features-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}
.feature-card {
  background: #fff;
  border-radius: 16px;
  padding: 32px;
  box-shadow: 0 2px 16px rgba(0,0,0,0.06);
  transition: transform 0.3s, box-shadow 0.3s;
  border: 1px solid #e8e8e8;
}
.feature-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 30px rgba(45,125,70,0.12);
}
.feature-card .icon {
  font-size: 40px;
  margin-bottom: 16px;
}
.feature-card h3 {
  font-size: 20px;
  font-weight: 600;
  color: #1B5E20;
  margin-bottom: 10px;
}
.feature-card p {
  color: #666;
  font-size: 15px;
  line-height: 1.6;
}

/* ===== 管理后台展示 ===== */
.manage-section {
  display: flex;
  align-items: center;
  gap: 60px;
}
.manage-text { flex: 1; }
.manage-text h2 {
  font-size: 32px;
  font-weight: 700;
  color: #1B5E20;
  margin-bottom: 16px;
}
.manage-text .features-list {
  list-style: none;
  padding: 0;
}
.manage-text .features-list li {
  padding: 10px 0;
  font-size: 16px;
  color: #555;
  display: flex;
  align-items: center;
  gap: 10px;
}
.manage-text .features-list li::before {
  content: '✓';
  color: #4CAF50;
  font-weight: 700;
  font-size: 18px;
}
.manage-mock { flex: 1; }
.mock-dashboard {
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 8px 40px rgba(0,0,0,0.1);
  overflow: hidden;
  border: 1px solid #e0e0e0;
}
.mock-dash-header {
  background: linear-gradient(135deg, #1B5E20, #2D7D46);
  color: #fff;
  padding: 16px 20px;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 10px;
}
.mock-dash-body {
  display: flex;
  min-height: 300px;
}
.mock-dash-sidebar {
  width: 180px;
  background: #1B5E20;
  padding: 16px 0;
  flex-shrink: 0;
}
.mock-dash-sidebar div {
  padding: 10px 20px;
  color: rgba(255,255,255,0.7);
  font-size: 13px;
}
.mock-dash-sidebar div.active {
  background: rgba(255,255,255,0.15);
  color: #fff;
  font-weight: 600;
}
.mock-dash-content {
  flex: 1;
  padding: 20px;
}
.mock-dash-content .stat-row {
  display: flex;
  gap: 16px;
  margin-bottom: 20px;
}
.mock-dash-content .stat-box {
  flex: 1;
  background: #f6fbf6;
  border-radius: 8px;
  padding: 16px;
  text-align: center;
}
.mock-dash-content .stat-box h4 {
  font-size: 24px;
  color: #2D7D46;
  font-weight: 700;
}
.mock-dash-content .stat-box p {
  font-size: 12px;
  color: #888;
}
.mock-dash-content .table-mock {
  width: 100%;
  border-collapse: collapse;
}
.mock-dash-content .table-mock th {
  background: #E8F5E9;
  color: #1B5E20;
  font-size: 12px;
  padding: 8px 12px;
  text-align: left;
}
.mock-dash-content .table-mock td {
  padding: 8px 12px;
  font-size: 12px;
  color: #555;
  border-bottom: 1px solid #f0f0f0;
}

/* ===== 安全监控区 ===== */
.security-section {
  background: linear-gradient(135deg, #1B5E20, #2D7D46);
  color: #fff;
  text-align: center;
}
.security-section h2 { color: #fff; }
.security-section .section-subtitle { color: rgba(255,255,255,0.85); }
.security-grid {
  display: flex;
  justify-content: center;
  gap: 32px;
}
.security-card {
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: 16px;
  padding: 36px 28px;
  flex: 1;
  max-width: 320px;
  backdrop-filter: blur(10px);
  transition: transform 0.3s;
}
.security-card:hover { transform: translateY(-4px); }
.security-card .icon { font-size: 44px; margin-bottom: 16px; }
.security-card h3 { font-size: 20px; margin-bottom: 10px; font-weight: 600; }
.security-card p { font-size: 14px; opacity: 0.85; line-height: 1.6; }

/* ===== 场景卡片 ===== */
.scenes-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.scene-card {
  background: #fff;
  border-radius: 16px;
  padding: 28px 20px;
  text-align: center;
  box-shadow: 0 2px 12px rgba(0,0,0,0.05);
  border: 1px solid #eee;
  transition: transform 0.3s, box-shadow 0.3s;
}
.scene-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(45,125,70,0.1);
}
.scene-card .icon { font-size: 48px; margin-bottom: 16px; }
.scene-card h3 { font-size: 17px; font-weight: 600; color: #1B5E20; margin-bottom: 8px; }
.scene-card p { font-size: 14px; color: #888; line-height: 1.5; }

/* ===== 价格套餐 ===== */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  max-width: 1000px;
  margin: 0 auto;
}
.price-card {
  background: #fff;
  border-radius: 16px;
  padding: 36px 28px;
  box-shadow: 0 2px 16px rgba(0,0,0,0.06);
  border: 2px solid #eee;
  text-align: center;
  position: relative;
  transition: transform 0.3s, box-shadow 0.3s;
}
.price-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 30px rgba(0,0,0,0.1);
}
.price-card.recommended {
  border-color: #4CAF50;
  box-shadow: 0 4px 24px rgba(76,175,80,0.2);
}
.price-badge {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: #4CAF50;
  color: #fff;
  padding: 4px 20px;
  border-radius: 20px;
  font-size: 13px;
  font-weight: 600;
}
.price-card h3 { font-size: 22px; font-weight: 600; color: #1B5E20; margin-bottom: 8px; }
.price-card .price { font-size: 36px; font-weight: 800; color: #2D7D46; margin: 16px 0 4px; }
.price-card .price span { font-size: 16px; font-weight: 400; color: #999; }
.price-card .price-note { font-size: 13px; color: #999; margin-bottom: 24px; }
.price-card ul {
  list-style: none;
  padding: 0;
  text-align: left;
  margin-bottom: 28px;
}
.price-card ul li {
  padding: 8px 0;
  font-size: 14px;
  color: #555;
  border-bottom: 1px solid #f5f5f5;
  display: flex;
  align-items: center;
  gap: 8px;
}
.price-card ul li::before {
  content: '✓';
  color: #4CAF50;
  font-weight: 700;
}

/* ===== FAQ 手风琴 ===== */
.faq-list { max-width: 720px; margin: 0 auto; }
.faq-item {
  background: #fff;
  border-radius: 12px;
  margin-bottom: 12px;
  border: 1px solid #eee;
  overflow: hidden;
}
.faq-question {
  padding: 18px 24px;
  font-size: 16px;
  font-weight: 600;
  color: #333;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: background 0.2s;
}
.faq-question:hover { background: #f6fbf6; }
.faq-question .arrow {
  font-size: 14px;
  transition: transform 0.3s;
  color: #4CAF50;
}
.faq-item.active .faq-question .arrow { transform: rotate(180deg); }
.faq-answer {
  padding: 0 24px;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease, padding 0.3s ease;
  color: #666;
  font-size: 15px;
  line-height: 1.7;
}
.faq-item.active .faq-answer {
  max-height: 300px;
  padding: 0 24px 18px;
}

/* ===== 底部 CTA ===== */
.cta-section {
  padding: 80px 24px;
  text-align: center;
  background: linear-gradient(135deg, #E8F5E9, #C8E6C9);
}
.cta-section h2 { font-size: 36px; font-weight: 700; color: #1B5E20; margin-bottom: 12px; }
.cta-section p { font-size: 18px; color: #555; margin-bottom: 32px; }

/* ===== 页脚 ===== */
.footer {
  background: #1B5E20;
  color: rgba(255,255,255,0.8);
  padding: 48px 24px 24px;
}
.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  gap: 40px;
}
.footer-brand { max-width: 300px; }
.footer-brand .brand { display: flex; align-items: center; gap: 10px; margin-bottom: 12px; }
.footer-brand .brand img { height: 28px; }
.footer-brand .brand span { color: #fff; font-size: 18px; font-weight: 700; }
.footer-brand p { font-size: 14px; line-height: 1.6; }
.footer-links h4 { color: #fff; font-size: 16px; margin-bottom: 16px; }
.footer-links ul { list-style: none; padding: 0; }
.footer-links li { margin-bottom: 10px; }
.footer-links a { color: rgba(255,255,255,0.7); font-size: 14px; transition: color 0.2s; }
.footer-links a:hover { color: #fff; }
.footer-bottom {
  max-width: 1200px;
  margin: 32px auto 0;
  padding-top: 24px;
  border-top: 1px solid rgba(255,255,255,0.1);
  text-align: center;
  font-size: 13px;
  color: rgba(255,255,255,0.5);
}

/* ===== 响应式 ===== */
@media (max-width: 992px) {
  .hero-inner { flex-direction: column; text-align: center; }
  .hero-text h1 { font-size: 36px; }
  .hero-buttons { justify-content: center; }
  .hero-mock { flex: none; }
  .manage-section { flex-direction: column; }
  .pricing-grid { grid-template-columns: 1fr; max-width: 400px; margin: 0 auto; }
  .scenes-grid { grid-template-columns: repeat(2, 1fr); }
  .security-grid { flex-direction: column; align-items: center; }
  .features-grid { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
  .nav-links { display: none; }
  .nav-toggle { display: block; }
  .nav-links.open {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 64px;
    left: 0;
    right: 0;
    background: #fff;
    padding: 16px 24px;
    box-shadow: 0 8px 24px rgba(0,0,0,0.1);
    gap: 16px;
  }
  .hero { padding: 80px 16px 40px; min-height: auto; }
  .hero-text h1 { font-size: 28px; }
  .hero-text p { font-size: 16px; }
  .hero-mock { display: none; }
  .stats-grid { flex-direction: column; gap: 32px; }
  .stat-item h3 { font-size: 36px; }
  .scenes-grid { grid-template-columns: 1fr; }
  .section { padding: 48px 16px; }
  .section-title h2 { font-size: 28px; }
  .phone-frame { width: 240px; height: 460px; }
}
