/* ===== 蚕小豆提词快转 v2 - 共享样式 ===== */
* { margin: 0; padding: 0; box-sizing: border-box; }

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Helvetica Neue", Arial, sans-serif;
  color: #333;
  line-height: 1.6;
  background: #fff;
}

a { text-decoration: none; color: inherit; }
img { max-width: 100%; height: auto; }

/* ===== Navbar ===== */
.navbar {
  position: fixed; top: 0; left: 0; right: 0;
  height: 64px; background: #fff;
  box-shadow: 0 1px 4px rgba(0,0,0,0.08);
  display: flex; align-items: center;
  justify-content: space-between; padding: 0 60px;
  z-index: 1000;
}
.navbar-brand { display: flex; align-items: center; gap: 12px; }
.navbar-logo { height: 40px; width: auto; }
.navbar-title { font-size: 18px; font-weight: 600; color: #333; }
.navbar-nav { display: flex; gap: 24px; list-style: none; align-items: center; }
.navbar-nav a {
  text-decoration: none; color: #555; font-size: 14px;
  transition: color 0.3s; padding: 4px 0;
}
.navbar-nav a:hover, .navbar-nav a.active { color: #64B5F6; }
.navbar-toggle { display: none; }

/* ===== Page container (for sub-pages) ===== */
.page-container {
  max-width: 960px; margin: 0 auto; padding: 100px 24px 60px;
}

/* ===== Section Common ===== */
.section { padding: 80px 60px; }
.section-header { text-align: center; margin-bottom: 60px; }
.section-header h2 { font-size: 32px; font-weight: 700; color: #222; margin-bottom: 12px; }
.section-header .subtitle { font-size: 16px; color: #888; }
.section-header .divider { width: 48px; height: 3px; background: #64B5F6; margin: 16px auto 0; border-radius: 2px; }

/* ===== Hero ===== */
.hero {
  margin-top: 64px;
  background: linear-gradient(135deg, #64B5F6 0%, #42A5F5 50%, #1E88E5 100%);
  padding: 100px 60px 80px; text-align: center; color: #fff;
  position: relative; overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute; top: -50%; left: -50%; width: 200%; height: 200%;
  background: radial-gradient(circle at 30% 50%, rgba(255,255,255,0.1) 0%, transparent 50%);
}
.hero h1 { font-size: 48px; font-weight: 700; margin-bottom: 16px; position: relative; }
.hero .slogan { font-size: 22px; opacity: 0.95; margin-bottom: 40px; position: relative; }
.hero .hero-desc { font-size: 16px; max-width: 700px; margin: 0 auto 48px; opacity: 0.9; line-height: 1.8; position: relative; }
.hero-stats { display: flex; justify-content: center; gap: 60px; position: relative; }
.hero-stat { text-align: center; }
.hero-stat .number { font-size: 36px; font-weight: 700; }
.hero-stat .label { font-size: 14px; opacity: 0.85; margin-top: 4px; }
.hero-cta {
  display: inline-block; margin-top: 36px; padding: 14px 40px;
  background: #fff; color: #1E88E5; font-size: 16px; font-weight: 600;
  border-radius: 8px; text-decoration: none; position: relative;
  transition: transform 0.3s, box-shadow 0.3s;
}
.hero-cta:hover { transform: translateY(-2px); box-shadow: 0 8px 24px rgba(0,0,0,0.15); }

/* ===== Pain Points ===== */
.pain-points { background: #f8f9fb; }
.pain-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; max-width: 1100px; margin: 0 auto; }
.pain-card {
  background: #fff; border-radius: 12px; padding: 32px 28px;
  box-shadow: 0 2px 12px rgba(0,0,0,0.04);
  transition: transform 0.3s, box-shadow 0.3s;
}
.pain-card:hover { transform: translateY(-4px); box-shadow: 0 8px 24px rgba(0,0,0,0.08); }
.pain-icon { width: 100%; height: 140px; border-radius: 8px; overflow: hidden; margin-bottom: 16px; }
.pain-icon img { width: 100%; height: 100%; object-fit: cover; }
.pain-card h3 { font-size: 16px; font-weight: 600; color: #222; margin-bottom: 8px; }
.pain-card p { font-size: 14px; color: #777; line-height: 1.7; }

/* ===== Features ===== */
.features-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 32px; max-width: 1100px; margin: 0 auto; }
.feature-card {
  background: #fff; border: 1px solid #eef2f7; border-radius: 12px; padding: 36px 32px;
  transition: transform 0.3s, box-shadow 0.3s, border-color 0.3s;
}
.feature-card:hover { transform: translateY(-4px); box-shadow: 0 8px 32px rgba(100,181,246,0.12); border-color: #64B5F6; }
.feature-card.featured { grid-column: 1 / -1; background: linear-gradient(135deg, #EBF5FF 0%, #F0F7FF 100%); border-color: #B3D9F7; }
.feature-tag { display: inline-block; background: #FF8C42; color: #fff; font-size: 12px; padding: 3px 10px; border-radius: 4px; margin-bottom: 12px; font-weight: 500; }
.feature-card h3 { font-size: 20px; font-weight: 600; color: #222; margin-bottom: 12px; }
.feature-card .feature-desc { font-size: 14px; color: #666; line-height: 1.8; margin-bottom: 16px; }
.feature-highlights { display: flex; flex-wrap: wrap; gap: 8px; }
.feature-highlights span { background: #EBF5FF; color: #1E88E5; font-size: 13px; padding: 4px 12px; border-radius: 20px; }
.feature-scene { font-size: 13px; color: #999; margin-top: 12px; padding-top: 12px; border-top: 1px dashed #e0e0e0; }
.feature-scene strong { color: #666; }

/* ===== Advantages ===== */
.advantages { background: #f8f9fb; }
.advantages-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; max-width: 1100px; margin: 0 auto; }
.advantage-card { text-align: center; padding: 40px 28px; background: #fff; border-radius: 12px; box-shadow: 0 2px 12px rgba(0,0,0,0.04); transition: transform 0.3s; }
.advantage-card:hover { transform: translateY(-4px); }
.advantage-num { display: inline-flex; align-items: center; justify-content: center; width: 48px; height: 48px; background: #64B5F6; color: #fff; font-size: 20px; font-weight: 700; border-radius: 50%; margin-bottom: 20px; }
.advantage-card h3 { font-size: 17px; font-weight: 600; color: #222; margin-bottom: 10px; }
.advantage-card p { font-size: 14px; color: #777; line-height: 1.7; }

/* ===== UI Showcase ===== */
.ui-phones { display: flex; justify-content: center; gap: 32px; flex-wrap: wrap; }
.ui-phone { text-align: center; }
.ui-phone img { width: 220px; height: auto; border-radius: 20px; box-shadow: 0 8px 32px rgba(0,0,0,0.12); border: 1px solid #eee; }
.ui-phone .phone-label { margin-top: 16px; font-size: 14px; color: #666; font-weight: 500; }

/* ===== Users ===== */
.users { background: #f8f9fb; }
.users-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; max-width: 1100px; margin: 0 auto; }
.user-card { background: #fff; border-radius: 12px; padding: 32px 24px; text-align: center; box-shadow: 0 2px 12px rgba(0,0,0,0.04); transition: transform 0.3s; }
.user-card:hover { transform: translateY(-4px); }
.user-emoji { font-size: 36px; margin-bottom: 16px; }
.user-card h3 { font-size: 16px; font-weight: 600; color: #222; margin-bottom: 8px; }
.user-card p { font-size: 13px; color: #888; line-height: 1.7; }
.user-avatar-img { width: 48px; height: 48px; object-fit: contain; border-radius: 8px; }

/* ===== Industry News on Homepage ===== */
.news-home-section { background: #fff; }
.news-home-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; max-width: 1100px; margin: 0 auto; }
.news-home-card {
  display: block; background: #f8f9fb; border-radius: 10px; padding: 24px;
  border-left: 3px solid #64B5F6; transition: background 0.3s;
}
.news-home-card:hover { background: #EBF5FF; }
.news-home-card .news-tag { font-size: 12px; color: #64B5F6; font-weight: 500; }
.news-home-card .news-title { font-size: 15px; font-weight: 600; color: #222; margin: 6px 0; }
.news-home-card .news-date { font-size: 12px; color: #999; }
.news-more { text-align: center; margin-top: 32px; }
.news-more a {
  display: inline-block; padding: 10px 32px; background: #64B5F6; color: #fff;
  border-radius: 6px; font-size: 14px; font-weight: 500; transition: background 0.3s;
}
.news-more a:hover { background: #42A5F5; }

/* ===== FAQ on Homepage ===== */
.faq-home-section { background: #f8f9fb; }
.faq-home-list { max-width: 800px; margin: 0 auto; }
.faq-home-item { border-bottom: 1px solid #e0e0e0; padding: 16px 0; }
.faq-home-q { display: flex; justify-content: space-between; align-items: center; cursor: pointer; font-size: 15px; font-weight: 500; color: #333; }
.faq-home-q .arrow { transition: transform 0.3s; font-size: 12px; color: #999; }
.faq-home-q.open .arrow { transform: rotate(180deg); }
.faq-home-a { display: none; padding: 12px 0 4px; font-size: 14px; color: #666; line-height: 1.8; }
.faq-home-a.show { display: block; }
.faq-more { text-align: center; margin-top: 24px; }
.faq-more a { color: #64B5F6; font-size: 14px; font-weight: 500; }
.faq-more a:hover { text-decoration: underline; }

/* ===== CTA Banner ===== */
.cta-banner {
  background: linear-gradient(135deg, #1E88E5 0%, #64B5F6 100%);
  padding: 72px 60px; text-align: center; color: #fff;
}
.cta-banner h2 { font-size: 30px; font-weight: 700; margin-bottom: 16px; }
.cta-banner p { font-size: 16px; opacity: 0.9; margin-bottom: 32px; }
.cta-btn {
  display: inline-block; padding: 14px 48px; background: #fff; color: #1E88E5;
  font-size: 16px; font-weight: 600; border-radius: 8px; text-decoration: none;
  transition: transform 0.3s, box-shadow 0.3s;
}
.cta-btn:hover { transform: translateY(-2px); box-shadow: 0 8px 24px rgba(0,0,0,0.15); }

/* ===== Compliance ===== */
.compliance { padding: 60px; background: #fff; }
.compliance-box { max-width: 800px; margin: 0 auto; padding: 32px; background: #f8f9fb; border-radius: 12px; border-left: 4px solid #64B5F6; }
.compliance-box h3 { font-size: 18px; font-weight: 600; color: #222; margin-bottom: 16px; }
.compliance-box ul { list-style: none; padding: 0; }
.compliance-box li { font-size: 14px; color: #666; padding: 6px 0; padding-left: 20px; position: relative; line-height: 1.7; }
.compliance-box li::before { content: '✓'; position: absolute; left: 0; color: #64B5F6; font-weight: bold; }

/* ===== Footer ===== */
.footer { background: #1a2332; color: #aab; padding: 48px 60px 32px; }
.footer-content { display: flex; justify-content: space-between; align-items: flex-start; max-width: 1100px; margin: 0 auto; flex-wrap: wrap; gap: 32px; }
.footer-brand { max-width: 320px; }
.footer-logo { height: 48px; width: auto; margin-bottom: 12px; }
.footer-brand h3 { color: #fff; font-size: 18px; margin-bottom: 12px; }
.footer-brand p { font-size: 13px; line-height: 1.7; color: #8899aa; }
.footer-links h4 { color: #fff; font-size: 15px; margin-bottom: 16px; }
.footer-links ul { list-style: none; }
.footer-links li { margin-bottom: 8px; }
.footer-links a { color: #8899aa; font-size: 13px; transition: color 0.3s; }
.footer-links a:hover { color: #64B5F6; }
.footer-bottom { margin-top: 40px; padding-top: 20px; border-top: 1px solid #2a3a4a; text-align: center; font-size: 13px; color: #667; }

/* ===== Sub-page specific styles ===== */
.page-title { font-size: 28px; font-weight: 700; color: #222; margin-bottom: 8px; }
.page-subtitle { font-size: 15px; color: #888; margin-bottom: 40px; }
.breadcrumb { font-size: 13px; color: #999; margin-bottom: 24px; }
.breadcrumb a { color: #64B5F6; }
.breadcrumb a:hover { text-decoration: underline; }
.breadcrumb span { color: #999; }

/* FAQ category */
.faq-category { margin-bottom: 40px; }
.faq-category h3 { font-size: 20px; font-weight: 600; color: #222; margin-bottom: 16px; padding-bottom: 8px; border-bottom: 2px solid #64B5F6; }
.faq-item { padding: 12px 0; border-bottom: 1px solid #eee; }
.faq-item:last-child { border-bottom: none; }
.faq-item a { color: #333; font-size: 15px; display: inline; padding: 4px 0; transition: color 0.3s; }
.faq-item a:hover { color: #64B5F6; }
.faq-item .faq-q-badge { display: inline-block; background: #EBF5FF; color: #1E88E5; font-size: 11px; padding: 2px 8px; border-radius: 4px; margin-right: 8px; }

/* News list page */
.news-list-item { padding: 24px 0; border-bottom: 1px solid #eee; }
.news-list-item:first-child { padding-top: 0; }
.news-list-item h3 { font-size: 18px; font-weight: 600; margin-bottom: 8px; }
.news-list-item h3 a { color: #222; transition: color 0.3s; }
.news-list-item h3 a:hover { color: #64B5F6; }
.news-list-item .excerpt { font-size: 14px; color: #888; line-height: 1.7; margin-bottom: 8px; }
.news-list-item .meta { font-size: 12px; color: #aaa; }
/* Article detail page */
.article-header { margin-bottom: 40px; }
.article-header .meta { font-size: 14px; color: #999; margin-bottom: 8px; }
.article-header .tag { display: inline-block; font-size: 12px; color: #64B5F6; font-weight: 500; margin-bottom: 8px; }
.article-header h1 { font-size: 28px; font-weight: 700; color: #222; line-height: 1.4; }
.article-body { font-size: 15px; color: #444; line-height: 2; }
.article-body h2 { font-size: 22px; font-weight: 600; color: #222; margin: 40px 0 16px; padding-bottom: 8px; border-bottom: 1px solid #eee; }
.article-body h3 { font-size: 18px; font-weight: 600; color: #333; margin: 28px 0 12px; }
.article-body p { margin-bottom: 16px; }
.article-body ul, .article-body ol { margin: 12px 0 20px; padding-left: 20px; }
.article-body li { margin-bottom: 8px; }
.article-body table { width: 100%; border-collapse: collapse; margin: 20px 0; font-size: 14px; }
.article-body th { background: #EBF5FF; color: #1E88E5; padding: 10px 12px; text-align: left; font-weight: 600; border: 1px solid #d0e5f5; }
.article-body td { padding: 10px 12px; border: 1px solid #e0e0e0; color: #555; }
.article-body tr:nth-child(even) td { background: #f8f9fb; }
.article-body blockquote { margin: 20px 0; padding: 12px 20px; background: #f8f9fb; border-left: 3px solid #64B5F6; color: #666; font-style: normal; }

/* Tutorial page */
.tutorial-step { display: flex; gap: 24px; margin-bottom: 32px; padding: 24px; background: #f8f9fb; border-radius: 12px; align-items: flex-start; }
.tutorial-step-num { display: flex; align-items: center; justify-content: center; width: 40px; height: 40px; background: #64B5F6; color: #fff; font-size: 18px; font-weight: 700; border-radius: 50%; flex-shrink: 0; }
.tutorial-step-content { flex: 1; }
.tutorial-step-content h3 { font-size: 17px; font-weight: 600; color: #222; margin-bottom: 8px; }
.tutorial-step-content p { font-size: 14px; color: #666; line-height: 1.8; }

/* Privacy page */
.privacy-section { margin-bottom: 32px; }
.privacy-section h2 { font-size: 20px; font-weight: 600; color: #222; margin-bottom: 12px; }
.privacy-section p, .privacy-section li { font-size: 14px; color: #555; line-height: 1.9; }
.privacy-section ul { padding-left: 20px; margin: 8px 0 16px; }

/* Company page */
.company-info-card { background: #f8f9fb; border-radius: 12px; padding: 32px; margin-bottom: 24px; }
.company-info-card h3 { font-size: 16px; font-weight: 600; color: #222; margin-bottom: 12px; }
.company-info-card p, .company-info-card li { font-size: 14px; color: #555; line-height: 1.8; }

/* ===== Sub-page Hero ===== */
.sub-hero {
  margin-top: 64px;
  background: linear-gradient(135deg, #64B5F6 0%, #42A5F5 50%, #1E88E5 100%);
  padding: 60px 60px 50px; text-align: center; color: #fff;
}
.sub-hero h1 { font-size: 36px; font-weight: 700; margin-bottom: 12px; }
.sub-hero p { font-size: 16px; opacity: 0.9; }

/* ===== Pagination ===== */
.pagination { display: flex; justify-content: center; gap: 8px; margin-top: 40px; }
.pagination a { display: inline-flex; align-items: center; justify-content: center; width: 36px; height: 36px; border: 1px solid #ddd; border-radius: 6px; font-size: 14px; color: #666; transition: all 0.3s; }
.pagination a:hover { border-color: #64B5F6; color: #64B5F6; }
.pagination a.active { background: #64B5F6; color: #fff; border-color: #64B5F6; }

/* ===== Responsive ===== */
@media (max-width: 768px) {
  .navbar { padding: 0 20px; }
  .navbar-nav { display: none; }
  .hero { padding: 80px 20px 60px; }
  .hero h1 { font-size: 30px; }
  .hero .slogan { font-size: 18px; }
  .hero-stats { gap: 20px; flex-wrap: wrap; }
  .hero-stat .number { font-size: 28px; }
  .section { padding: 50px 20px; }
  .section-header h2 { font-size: 24px; }
  .pain-grid, .advantages-grid { grid-template-columns: 1fr; }
  .features-grid { grid-template-columns: 1fr; }
  .users-grid { grid-template-columns: repeat(2, 1fr); }
  .news-home-grid { grid-template-columns: 1fr; }
  .ui-phones { gap: 20px; }
  .ui-phone img { width: 160px; }
  .cta-banner { padding: 50px 20px; }
  .cta-banner h2 { font-size: 24px; }
  .compliance { padding: 40px 20px; }
  .footer { padding: 40px 20px 24px; }
  .page-container { padding: 100px 20px 40px; }
  .news-list-item { padding: 20px 0; }
  .tutorial-step { flex-direction: column; }
  .sub-hero { padding: 50px 20px 40px; }
  .sub-hero h1 { font-size: 26px; }
  .article-header h1 { font-size: 22px; }
  .article-body table { font-size: 12px; }
  .article-body th, .article-body td { padding: 6px 8px; }
}
