/* 森贝官网公共样式 - Modern Design */
:root {
  --primary: #0B8C5A;
  --primary-light: #10B981;
  --primary-dark: #065F46;
  --primary-50: #ECFDF5;
  --primary-100: #D1FAE5;
  --accent: #F59E0B;
  --accent-light: #FDE68A;
  --blue: #3B82F6;
  --purple: #8B5CF6;
  --rose: #F43F5E;
  --teal: #14B8A6;
  --bg-light: #F8FAFB;
  --bg-white: #ffffff;
  --bg-gray: #F1F5F9;
  --text-dark: #0F172A;
  --text-body: #334155;
  --text-gray: #64748B;
  --text-light: #94A3B8;
  --border: #E2E8F0;
  --shadow-sm: 0 1px 2px rgba(0,0,0,0.04);
  --shadow-md: 0 4px 16px rgba(0,0,0,0.06);
  --shadow-lg: 0 12px 32px rgba(0,0,0,0.08);
  --shadow-xl: 0 20px 48px rgba(0,0,0,0.1);
  --radius: 16px;
  --radius-lg: 24px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  color: var(--text-body);
  background: var(--bg-white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

/* ===== Header ===== */
.site-header {
  background: rgba(255,255,255,0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 100;
}

.header-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.header-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--primary);
}

.header-logo img {
  width: 36px;
  height: 36px;
}

.header-logo span {
  font-size: 20px;
  font-weight: 800;
  background: linear-gradient(135deg, var(--primary), var(--teal));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.nav-links {
  display: flex;
  gap: 32px;
  list-style: none;
}

.nav-links a {
  text-decoration: none;
  color: var(--text-gray);
  font-size: 15px;
  font-weight: 500;
  transition: color 0.25s;
  position: relative;
  padding: 4px 0;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--primary);
}

.nav-links a.active::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--primary), var(--teal));
  border-radius: 1px;
}

/* Mobile menu */
.mobile-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 24px;
  cursor: pointer;
  color: var(--text-dark);
}

@media (max-width: 768px) {
  .nav-links {
    display: none;
    position: absolute;
    top: 64px;
    left: 0;
    right: 0;
    background: white;
    flex-direction: column;
    gap: 0;
    box-shadow: var(--shadow-md);
    padding: 8px 0;
  }
  .nav-links.open { display: flex; }
  .nav-links a {
    display: block;
    padding: 12px 24px;
  }
  .nav-links a.active::after { display: none; }
  .mobile-toggle { display: block; }
}

/* ===== Footer - Light Modern ===== */
.site-footer {
  background: var(--bg-gray);
  border-top: 1px solid var(--border);
  padding: 56px 24px 24px;
  margin-top: 0;
}

.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
}

.footer-brand p {
  margin-top: 12px;
  font-size: 14px;
  color: var(--text-gray);
  line-height: 1.8;
}

.footer-col h4 {
  color: var(--text-dark);
  font-size: 15px;
  font-weight: 600;
  margin-bottom: 16px;
}

.footer-col a {
  display: block;
  color: var(--text-gray);
  text-decoration: none;
  font-size: 14px;
  margin-bottom: 10px;
  transition: color 0.2s;
}

.footer-col a:hover { color: var(--primary); }

.footer-bottom {
  max-width: 1200px;
  margin: 36px auto 0;
  padding-top: 20px;
  border-top: 1px solid var(--border);
  text-align: center;
  font-size: 13px;
  color: var(--text-light);
}
.footer-beian {
  margin-top: 6px;
}
.footer-beian a {
  color: inherit;
  text-decoration: none;
  transition: color 0.2s;
}
.footer-beian a:hover {
  color: var(--primary);
  text-decoration: underline;
}

@media (max-width: 768px) {
  .footer-inner {
    grid-template-columns: 1fr;
    gap: 24px;
  }
}

/* ===== Hero Section - Bright & Airy ===== */
.hero {
  background: linear-gradient(160deg, #ECFDF5 0%, #D1FAE5 30%, #A7F3D0 60%, #F0FDF4 100%);
  color: var(--text-dark);
  padding: 88px 24px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: -120px;
  right: -80px;
  width: 360px;
  height: 360px;
  background: radial-gradient(circle, rgba(16,185,129,0.15) 0%, transparent 70%);
  border-radius: 50%;
}

.hero::after {
  content: '';
  position: absolute;
  bottom: -80px;
  left: -60px;
  width: 280px;
  height: 280px;
  background: radial-gradient(circle, rgba(245,158,11,0.1) 0%, transparent 70%);
  border-radius: 50%;
}

.hero h1 {
  font-size: 44px;
  font-weight: 800;
  margin-bottom: 16px;
  background: linear-gradient(135deg, var(--primary-dark), var(--primary), var(--teal));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  position: relative;
  z-index: 1;
}

.hero p {
  font-size: 18px;
  color: var(--text-body);
  max-width: 560px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

@media (max-width: 768px) {
  .hero h1 { font-size: 28px; }
  .hero p { font-size: 16px; }
  .hero { padding: 48px 16px; }
}

/* ===== Section ===== */
.section {
  max-width: 1200px;
  margin: 0 auto;
  padding: 72px 24px;
}

.section-title {
  text-align: center;
  font-size: 30px;
  font-weight: 800;
  color: var(--text-dark);
  margin-bottom: 12px;
}

.section-subtitle {
  text-align: center;
  font-size: 16px;
  color: var(--text-gray);
  margin-bottom: 48px;
}

/* ===== Cards Grid - Modern ===== */
.cards-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.card {
  background: white;
  border-radius: var(--radius-lg);
  padding: 36px 28px;
  text-align: center;
  transition: transform 0.3s, box-shadow 0.3s;
  border: 1px solid var(--border);
}

.card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}

.card-icon {
  width: 64px;
  height: 64px;
  margin: 0 auto 20px;
  border-radius: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
}

.card-icon.ci-1 { background: linear-gradient(135deg, #D1FAE5, #A7F3D0); }
.card-icon.ci-2 { background: linear-gradient(135deg, #FDE68A, #FCD34D); }
.card-icon.ci-3 { background: linear-gradient(135deg, #BFDBFE, #93C5FD); }
.card-icon.ci-4 { background: linear-gradient(135deg, #DDD6FE, #C4B5FD); }
.card-icon.ci-5 { background: linear-gradient(135deg, #FECACA, #FCA5A5); }
.card-icon.ci-6 { background: linear-gradient(135deg, #99F6E4, #5EEAD4); }
.card-icon.ci-default { background: var(--primary-100); }

.card h3 {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 8px;
  color: var(--text-dark);
}

.card p {
  font-size: 14px;
  color: var(--text-gray);
  line-height: 1.7;
}

@media (max-width: 768px) {
  .cards-grid { grid-template-columns: 1fr; }
  .section { padding: 48px 16px; }
}

/* ===== Page Banner - Light Gradient ===== */
.page-banner {
  background: linear-gradient(160deg, #ECFDF5 0%, #D1FAE5 50%, #A7F3D0 100%);
  color: var(--text-dark);
  padding: 64px 24px;
  text-align: center;
  position: relative;
}

.page-banner::before {
  content: '';
  position: absolute;
  top: -60px;
  right: -40px;
  width: 200px;
  height: 200px;
  background: radial-gradient(circle, rgba(16,185,129,0.12) 0%, transparent 70%);
  border-radius: 50%;
}

.page-banner h1 {
  font-size: 34px;
  font-weight: 800;
  background: linear-gradient(135deg, var(--primary-dark), var(--primary));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  position: relative;
}

.page-banner p {
  margin-top: 8px;
  color: var(--text-body);
  font-size: 16px;
  position: relative;
}

/* ===== Content Area ===== */
.content-area {
  max-width: 800px;
  margin: 0 auto;
  padding: 48px 24px;
}

.content-area h2 {
  font-size: 22px;
  font-weight: 700;
  color: var(--primary);
  margin-top: 36px;
  margin-bottom: 16px;
  padding-bottom: 8px;
  border-bottom: 2px solid var(--primary-100);
}

.content-area h3 {
  font-size: 18px;
  font-weight: 600;
  color: var(--text-dark);
  margin-top: 24px;
  margin-bottom: 12px;
}

.content-area p {
  font-size: 15px;
  color: var(--text-body);
  margin-bottom: 12px;
  line-height: 1.8;
}

.content-area ul {
  padding-left: 20px;
  margin-bottom: 12px;
}

.content-area ul li {
  font-size: 15px;
  color: var(--text-body);
  margin-bottom: 8px;
  line-height: 1.7;
}

/* ===== Buttons ===== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 28px;
  border-radius: 12px;
  font-size: 15px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.25s;
  border: none;
  cursor: pointer;
}

.btn-primary {
  background: linear-gradient(135deg, var(--primary), var(--teal));
  color: white;
  box-shadow: 0 4px 12px rgba(11,140,90,0.25);
}

.btn-primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(11,140,90,0.3);
}

.btn-outline {
  background: transparent;
  color: var(--primary);
  border: 2px solid var(--primary-light);
}

.btn-outline:hover {
  background: var(--primary-50);
}

.btn-white {
  background: white;
  color: var(--primary);
  box-shadow: var(--shadow-md);
}

.btn-white:hover {
  transform: translateY(-1px);
  box-shadow: var(--shadow-lg);
}

/* ===== Feature List ===== */
.feature-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

.feature-item {
  display: flex;
  gap: 16px;
  padding: 24px;
  background: white;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  transition: box-shadow 0.25s, transform 0.25s;
}

.feature-item:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}

.feature-item .icon {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  flex-shrink: 0;
  background: var(--primary-100);
}

.feature-item h4 {
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 4px;
  color: var(--text-dark);
}

.feature-item p {
  font-size: 14px;
  color: var(--text-gray);
  line-height: 1.6;
}

@media (max-width: 768px) {
  .feature-list { grid-template-columns: 1fr; }
}

/* ===== App Showcase ===== */
.app-showcase {
  display: flex;
  align-items: center;
  gap: 60px;
  padding: 64px 24px;
  max-width: 1200px;
  margin: 0 auto;
}

.app-info { flex: 1; }

.app-info h2 {
  font-size: 32px;
  font-weight: 800;
  margin-bottom: 16px;
  color: var(--text-dark);
}

.app-info p {
  font-size: 16px;
  color: var(--text-body);
  margin-bottom: 28px;
  line-height: 1.8;
}

.download-buttons {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.download-btn {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  padding: 14px 28px;
  background: linear-gradient(135deg, var(--primary), var(--teal));
  color: white;
  border-radius: 14px;
  text-decoration: none;
  font-weight: 600;
  transition: all 0.25s;
  box-shadow: 0 4px 14px rgba(11,140,90,0.2);
}

.download-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 24px rgba(11,140,90,0.28);
}

.download-btn .icon { font-size: 24px; }
.download-btn .icon-svg { width: 28px; height: 28px; flex-shrink: 0; }
.download-btn .label { font-size: 11px; opacity: 0.85; }
.download-btn .store { font-size: 15px; font-weight: 700; }

/* ===== App Carousel - Phone Frame ===== */
.app-carousel {
  flex-shrink: 0;
  width: 300px;
  height: 580px;
  border-radius: 40px;
  background: linear-gradient(145deg, #f0f0f0, #e8e8e8);
  padding: 8px;
  position: relative;
  box-shadow:
    0 0 0 1px rgba(0,0,0,0.06),
    0 24px 48px rgba(0,0,0,0.12),
    inset 0 1px 0 rgba(255,255,255,0.6);
}

.app-carousel::before {
  content: '';
  position: absolute;
  top: 6px;
  left: 50%;
  transform: translateX(-50%);
  width: 90px;
  height: 24px;
  background: #e2e2e2;
  border-radius: 0 0 14px 14px;
  z-index: 3;
}

.carousel-track {
  position: relative;
  width: 100%;
  height: 100%;
  border-radius: 32px;
  overflow: hidden;
  touch-action: pan-y;
  user-select: none;
  background: #f5f5f5;
}

.carousel-slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 0.5s ease, transform 0.4s ease;
  transform: scale(1.04);
}

.carousel-slide.active {
  opacity: 1;
  transform: scale(1);
}

.carousel-dots {
  position: absolute;
  bottom: 20px;
  left: 0;
  right: 0;
  display: flex;
  justify-content: center;
  gap: 8px;
  z-index: 2;
}

.carousel-dots .dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255,255,255,0.4);
  cursor: pointer;
  transition: all 0.3s;
  backdrop-filter: blur(4px);
}

.carousel-dots .dot.active {
  background: white;
  width: 24px;
  border-radius: 4px;
  box-shadow: 0 1px 4px rgba(0,0,0,0.2);
}

@media (max-width: 768px) {
  .app-carousel {
    width: 240px;
    height: 460px;
    border-radius: 32px;
    padding: 6px;
  }
  .carousel-track { border-radius: 26px; }
  .app-carousel::before { width: 70px; height: 18px; top: 4px; }
}

@media (max-width: 768px) {
  .app-showcase {
    flex-direction: column;
    gap: 32px;
    padding: 32px 16px;
  }
  .app-info h2 { font-size: 24px; }
}

/* ===== Contact ===== */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
}

.contact-info-card {
  display: flex;
  gap: 16px;
  padding: 24px;
  background: white;
  border-radius: var(--radius);
  margin-bottom: 16px;
  border: 1px solid var(--border);
  transition: box-shadow 0.25s;
}

.contact-info-card:hover { box-shadow: var(--shadow-md); }

.contact-info-card .icon {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  flex-shrink: 0;
  background: var(--primary-100);
}

.contact-info-card h4 {
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 4px;
  color: var(--text-dark);
}

.contact-info-card p {
  font-size: 14px;
  color: var(--text-gray);
}

.contact-form {
  background: white;
  border-radius: var(--radius-lg);
  padding: 36px;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
}

.contact-form h3 {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 24px;
  color: var(--text-dark);
}

.form-group {
  margin-bottom: 18px;
}

.form-group label {
  display: block;
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 6px;
  color: var(--text-dark);
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 11px 16px;
  border: 1px solid var(--border);
  border-radius: 10px;
  font-size: 14px;
  outline: none;
  transition: border-color 0.2s, box-shadow 0.2s;
  font-family: inherit;
  background: var(--bg-light);
}

.form-group input:focus,
.form-group textarea:focus {
  border-color: var(--primary-light);
  box-shadow: 0 0 0 3px rgba(16,185,129,0.1);
  background: white;
}

.form-group textarea { height: 120px; resize: vertical; }

@media (max-width: 768px) {
  .contact-grid { grid-template-columns: 1fr; }
}

/* QR code placeholder */
.qr-code {
  width: 140px;
  height: 140px;
  background: white;
  border: 2px dashed var(--border);
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  color: var(--text-light);
  flex-direction: column;
  gap: 8px;
}

/* ===== Stats ===== */
.stats-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  text-align: center;
  padding: 56px 0;
}

.stat-item .num {
  font-size: 40px;
  font-weight: 800;
  background: linear-gradient(135deg, var(--primary), var(--teal));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.stat-item .label {
  font-size: 14px;
  color: var(--text-gray);
  margin-top: 4px;
  font-weight: 500;
}

@media (max-width: 768px) {
  .stats-row { grid-template-columns: repeat(2, 1fr); gap: 20px; }
  .stat-item .num { font-size: 30px; }
}

/* ===== Utility ===== */
.bg-light-section {
  background: var(--bg-light);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
