/* 雷趣风格主题 - 简洁实用的内容密集型设计 */

:root {
  --primary-color: #0066cc;
  --primary-dark: #0052a3;
  --text-color: #333333;
  --text-light: #666666;
  --bg-color: #ffffff;
  --border-color: #e8e8e8;
  --hover-bg: #f5f5f5;
}

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

body {
  font-family: "Microsoft YaHei", "PingFang SC", "Helvetica Neue", Arial, sans-serif;
  color: var(--text-color);
  line-height: 1.8;
  background: var(--bg-color);
  font-size: 14px;
}

a {
  color: var(--primary-color);
  text-decoration: none;
  transition: all 0.2s;
}

a:hover {
  color: var(--primary-dark);
  text-decoration: underline;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 15px;
}

/* Header - 简洁顶部导航 */
.header {
  background: #fff;
  border-bottom: 1px solid var(--border-color);
  position: sticky;
  top: 0;
  z-index: 100;
}

.header .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 20px;
  font-weight: bold;
  color: var(--text-color);
  text-decoration: none;
}

.logo-img {
  width: 36px;
  height: 36px;
  object-fit: contain;
  border-radius: 6px;
}

.logo-text {
  white-space: nowrap;
}

.nav-menu {
  display: flex;
  list-style: none;
  gap: 25px;
}

.nav-menu a {
  color: var(--text-color);
  font-size: 14px;
  padding: 5px 0;
  position: relative;
}

.nav-menu a:hover,
.nav-menu a.active {
  color: var(--primary-color);
}

.nav-menu a.active::after {
  content: '';
  position: absolute;
  bottom: -16px;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--primary-color);
}

.mobile-menu-btn {
  display: none;
  background: none;
  border: none;
  font-size: 20px;
  cursor: pointer;
  color: var(--text-color);
}

/* Breadcrumb - 面包屑导航 */
.breadcrumb {
  background: var(--hover-bg);
  padding: 10px 0;
  border-bottom: 1px solid var(--border-color);
}

.breadcrumb-list {
  display: flex;
  list-style: none;
  gap: 8px;
  font-size: 13px;
}

.breadcrumb-list a {
  color: var(--text-light);
}

.breadcrumb-list a:hover {
  color: var(--primary-color);
}

.breadcrumb-list li:not(:last-child)::after {
  content: '>';
  margin-left: 8px;
  color: #999;
}

/* Section - 内容区域 */
.section {
  padding: 30px 0;
}

.section-title {
  font-size: 22px;
  font-weight: bold;
  margin-bottom: 20px;
  padding-bottom: 10px;
  border-bottom: 2px solid var(--primary-color);
  color: var(--text-color);
}

.section-subtitle {
  color: var(--text-light);
  margin-bottom: 25px;
  font-size: 14px;
}

/* Blog List - 文章列表（雷趣风格）*/
.blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 20px;
}

.blog-card {
  background: #fff;
  border: 1px solid var(--border-color);
  transition: all 0.2s;
  overflow: hidden;
}

.blog-card:hover {
  border-color: var(--primary-color);
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.blog-cover {
  width: 100%;
  height: 180px;
  object-fit: cover;
  display: block;
}

.blog-content {
  padding: 15px;
}

.blog-content h3 {
  font-size: 15px;
  font-weight: bold;
  margin-bottom: 10px;
  line-height: 1.5;
  height: 45px;
  overflow: hidden;
}

.blog-content h3 a {
  color: var(--text-color);
}

.blog-content h3 a:hover {
  color: var(--primary-color);
  text-decoration: none;
}

.blog-excerpt {
  color: var(--text-light);
  font-size: 13px;
  line-height: 1.6;
  margin-bottom: 12px;
  height: 42px;
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

.blog-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 12px;
  color: #999;
  padding-top: 10px;
  border-top: 1px solid var(--border-color);
}

.blog-meta a {
  color: var(--primary-color);
  font-size: 12px;
}

/* Article Detail - 文章详情 */
.article-header {
  padding: 25px 0;
  border-bottom: 1px solid var(--border-color);
  margin-bottom: 25px;
}

.article-header h1 {
  font-size: 24px;
  font-weight: bold;
  margin-bottom: 12px;
  line-height: 1.4;
  color: var(--text-color);
}

.article-meta {
  color: #999;
  font-size: 13px;
}

.article-cover {
  width: 100%;
  max-height: 400px;
  object-fit: cover;
  margin-bottom: 25px;
}

.article-content {
  font-size: 15px;
  line-height: 1.8;
  color: var(--text-color);
}

.article-content h2 {
  font-size: 20px;
  font-weight: bold;
  margin: 30px 0 15px;
  padding-left: 12px;
  border-left: 3px solid var(--primary-color);
}

.article-content h3 {
  font-size: 17px;
  font-weight: bold;
  margin: 25px 0 12px;
}

.article-content p {
  margin-bottom: 15px;
  text-align: justify;
}

.article-content img {
  max-width: 100%;
  margin: 20px 0;
}

.article-content ul,
.article-content ol {
  margin: 15px 0;
  padding-left: 30px;
}

.article-content li {
  margin-bottom: 8px;
}

/* Services Grid - 服务网格 */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 15px;
}

.service-card {
  background: #fff;
  border: 1px solid var(--border-color);
  padding: 20px;
  transition: all 0.2s;
}

.service-card:hover {
  border-color: var(--primary-color);
  box-shadow: 0 2px 6px rgba(0,0,0,0.08);
}

.service-icon {
  font-size: 36px;
  margin-bottom: 12px;
}

.service-card h3 {
  font-size: 16px;
  font-weight: bold;
  margin-bottom: 10px;
  color: var(--text-color);
}

.service-card p {
  color: var(--text-light);
  font-size: 13px;
  line-height: 1.6;
  margin-bottom: 12px;
}

.service-price {
  color: var(--primary-color);
  font-weight: bold;
  font-size: 18px;
}

/* FAQ - 常见问题 */
.faq-list {
  max-width: 900px;
}

.faq-item {
  background: #fff;
  border: 1px solid var(--border-color);
  margin-bottom: 10px;
}

.faq-question {
  padding: 15px;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-weight: bold;
  font-size: 15px;
  transition: background 0.2s;
}

.faq-question:hover {
  background: var(--hover-bg);
}

.faq-answer {
  padding: 0 15px;
  max-height: 0;
  overflow: hidden;
  transition: all 0.3s;
  color: var(--text-light);
  font-size: 14px;
  line-height: 1.8;
}

.faq-item.active .faq-answer {
  padding: 0 15px 15px;
  max-height: 500px;
}

.faq-toggle {
  font-size: 18px;
  color: #999;
  transition: transform 0.3s;
}

.faq-item.active .faq-toggle {
  transform: rotate(45deg);
  color: var(--primary-color);
}

/* Contact - 联系方式 */
.contact-info {
  background: #fff;
  border: 1px solid var(--border-color);
  padding: 25px;
}

.contact-item {
  display: flex;
  align-items: center;
  gap: 15px;
  margin-bottom: 20px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--border-color);
}

.contact-item:last-child {
  border-bottom: none;
  margin-bottom: 0;
  padding-bottom: 0;
}

.contact-icon {
  width: 45px;
  height: 45px;
  background: var(--primary-color);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  flex-shrink: 0;
}

.contact-item strong {
  display: block;
  font-size: 14px;
  margin-bottom: 4px;
  color: var(--text-color);
}

.contact-item p {
  font-size: 13px;
  color: var(--text-light);
}

/* Footer - 页脚 */
.footer {
  background: #f8f8f8;
  border-top: 1px solid var(--border-color);
  padding: 30px 0 20px;
  margin-top: 40px;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 30px;
  margin-bottom: 25px;
}

.footer h4 {
  font-size: 15px;
  font-weight: bold;
  margin-bottom: 15px;
  color: var(--text-color);
}

.footer ul {
  list-style: none;
}

.footer ul li {
  margin-bottom: 8px;
}

.footer ul a {
  color: var(--text-light);
  font-size: 13px;
}

.footer ul a:hover {
  color: var(--primary-color);
  text-decoration: none;
}

.footer-bottom {
  text-align: center;
  padding-top: 20px;
  border-top: 1px solid var(--border-color);
  color: #999;
  font-size: 13px;
}

/* Pagination - 分页 */
.pagination {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 30px;
}

.pagination a {
  padding: 8px 14px;
  border: 1px solid var(--border-color);
  color: var(--text-color);
  font-size: 14px;
  transition: all 0.2s;
}

.pagination a:hover {
  border-color: var(--primary-color);
  color: var(--primary-color);
  text-decoration: none;
}

.pagination a.active {
  background: var(--primary-color);
  color: white;
  border-color: var(--primary-color);
}

/* Buttons */
.btn {
  display: inline-block;
  padding: 8px 20px;
  background: var(--primary-color);
  color: white;
  border: none;
  font-size: 14px;
  cursor: pointer;
  transition: all 0.2s;
}

.btn:hover {
  background: var(--primary-dark);
  text-decoration: none;
}

.btn-outline {
  background: transparent;
  border: 1px solid var(--primary-color);
  color: var(--primary-color);
}

.btn-outline:hover {
  background: var(--primary-color);
  color: white;
}

/* Hero Section - 简化版 */
.hero {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
  padding: 50px 0;
  text-align: center;
}

.hero h1 {
  font-size: 32px;
  margin-bottom: 15px;
  font-weight: bold;
}

.hero p {
  font-size: 16px;
  margin-bottom: 25px;
  opacity: 0.95;
}

/* CTA Section */
.cta-section {
  background: #f8f8f8;
  border: 1px solid var(--border-color);
  text-align: center;
  padding: 40px 20px;
  margin: 30px 0;
}

.cta-section h2 {
  font-size: 22px;
  margin-bottom: 12px;
  font-weight: bold;
}

.cta-section p {
  color: var(--text-light);
  margin-bottom: 20px;
  font-size: 14px;
}

/* Trust Badges - 信任徽章 */
.trust-badges {
  display: flex;
  justify-content: center;
  gap: 30px;
  flex-wrap: wrap;
  margin: 30px 0;
}

.trust-badge {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 20px;
  background: white;
  border: 1px solid var(--border-color);
  border-radius: 4px;
  transition: all 0.2s;
}

.trust-badge:hover {
  border-color: var(--primary-color);
  box-shadow: 0 2px 6px rgba(0,0,0,0.08);
}

.trust-badge-icon {
  width: 40px;
  height: 40px;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  flex-shrink: 0;
}

.trust-badge-text strong {
  display: block;
  font-size: 14px;
  color: var(--text-color);
  margin-bottom: 2px;
}

.trust-badge-text span {
  font-size: 12px;
  color: var(--text-light);
}

/* Testimonials - 客户评价 */
.testimonials {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 20px;
  margin: 30px 0;
}

.testimonial-card {
  background: white;
  border: 1px solid var(--border-color);
  padding: 25px;
  position: relative;
}

.testimonial-card::before {
  content: '"';
  position: absolute;
  top: 15px;
  left: 20px;
  font-size: 60px;
  color: var(--primary-color);
  opacity: 0.1;
  font-family: Georgia, serif;
  line-height: 1;
}

.testimonial-rating {
  color: #ffc107;
  font-size: 16px;
  margin-bottom: 12px;
  letter-spacing: 2px;
}

.testimonial-text {
  color: var(--text-light);
  font-size: 14px;
  line-height: 1.8;
  margin-bottom: 15px;
  position: relative;
  z-index: 1;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 12px;
  padding-top: 15px;
  border-top: 1px solid var(--border-color);
}

.testimonial-avatar {
  width: 45px;
  height: 45px;
  border-radius: 50%;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  font-weight: bold;
  flex-shrink: 0;
}

.testimonial-info strong {
  display: block;
  font-size: 14px;
  color: var(--text-color);
  margin-bottom: 2px;
}

.testimonial-info span {
  font-size: 12px;
  color: #999;
}

/* Stats Counter - 数据统计 */
.stats-counter {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 20px;
  margin: 40px 0;
}

.stat-item {
  text-align: center;
  padding: 25px 15px;
  background: white;
  border: 1px solid var(--border-color);
  transition: all 0.2s;
}

.stat-item:hover {
  border-color: var(--primary-color);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0,0,0,0.08);
}

.stat-number {
  font-size: 42px;
  font-weight: bold;
  color: var(--primary-color);
  margin-bottom: 8px;
  line-height: 1;
}

.stat-label {
  font-size: 14px;
  color: var(--text-light);
}

/* Certification - 认证标识 */
.certification-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 20px;
  margin: 30px 0;
}

.cert-item {
  text-align: center;
  padding: 25px 20px;
  background: white;
  border: 1px solid var(--border-color);
  transition: all 0.2s;
}

.cert-item:hover {
  border-color: var(--primary-color);
  box-shadow: 0 2px 8px rgba(0,0,0,0.08);
}

.cert-icon {
  width: 60px;
  height: 60px;
  margin: 0 auto 15px;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  color: white;
}

.cert-item h4 {
  font-size: 15px;
  font-weight: bold;
  margin-bottom: 8px;
  color: var(--text-color);
}

.cert-item p {
  font-size: 13px;
  color: var(--text-light);
  line-height: 1.6;
}

/* Guarantee Box - 保障承诺 */
.guarantee-box {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
  padding: 30px;
  margin: 30px 0;
  text-align: center;
}

.guarantee-box h3 {
  font-size: 20px;
  margin-bottom: 15px;
  font-weight: bold;
}

.guarantee-features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 20px;
  margin-top: 25px;
}

.guarantee-feature {
  padding: 15px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 4px;
}

.guarantee-feature strong {
  display: block;
  font-size: 15px;
  margin-bottom: 5px;
}

.guarantee-feature span {
  font-size: 13px;
  opacity: 0.9;
}

/* Working Hours Table - 工作时间表 */
.working-hours {
  background: white;
  border: 1px solid var(--border-color);
  padding: 25px;
  margin: 20px 0;
}

.working-hours h3 {
  font-size: 16px;
  font-weight: bold;
  margin-bottom: 15px;
  padding-bottom: 10px;
  border-bottom: 2px solid var(--primary-color);
}

.hours-table {
  width: 100%;
  border-collapse: collapse;
}

.hours-table tr {
  border-bottom: 1px solid var(--border-color);
}

.hours-table tr:last-child {
  border-bottom: none;
}

.hours-table td {
  padding: 12px 10px;
  font-size: 14px;
}

.hours-table td:first-child {
  font-weight: bold;
  color: var(--text-color);
  width: 120px;
}

.hours-table td:last-child {
  color: var(--text-light);
}

.hours-table .today {
  background: #f0f7ff;
}

.hours-table .today td {
  color: var(--primary-color);
  font-weight: bold;
}

/* Social Links - 社交媒体链接 */
.social-links {
  display: flex;
  gap: 12px;
  margin: 20px 0;
}

.social-link {
  width: 40px;
  height: 40px;
  border: 1px solid var(--border-color);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  color: var(--text-light);
  transition: all 0.2s;
}

.social-link:hover {
  background: var(--primary-color);
  border-color: var(--primary-color);
  color: white;
  text-decoration: none;
}

/* ICP Footer - 备案信息 */
.icp-footer {
  text-align: center;
  padding: 15px 0;
  border-top: 1px solid var(--border-color);
  margin-top: 20px;
  font-size: 12px;
  color: #999;
}

.icp-footer a {
  color: #999;
  margin: 0 10px;
}

.icp-footer a:hover {
  color: var(--primary-color);
}

/* Security Badge - 安全认证 */
.security-badges {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin: 20px 0;
  flex-wrap: wrap;
}

.security-badge {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 15px;
  background: #f8f8f8;
  border: 1px solid var(--border-color);
  border-radius: 4px;
  font-size: 12px;
  color: var(--text-light);
}

.security-badge i {
  font-size: 16px;
  color: #52c41a;
}

/* =====================
   文章分享组件
   ===================== */
.article-share {
  margin-top: 40px;
  padding: 25px 0 20px;
  border-top: 1px solid var(--border-color);
}

.share-label {
  color: var(--text-light);
  font-size: 14px;
  margin-bottom: 14px;
}

.share-buttons {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.share-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 18px;
  border-radius: 6px;
  font-size: 13px;
  font-weight: 500;
  color: #fff;
  text-decoration: none;
  transition: all 0.2s;
  cursor: pointer;
  border: none;
}
.share-btn:hover { opacity: 0.88; transform: translateY(-1px); color: #fff; }
.share-btn:active { transform: translateY(0); }

.share-btn svg { flex-shrink: 0; }

.share-wechat { background: #07c160; }
.share-weibo  { background: #e6162d; }
.share-qq     { background: #12b7f5; }
.share-copy   { background: #555; }
.share-copy.copied { background: #52c41a; }

/* 微信二维码弹窗 */
.wechat-modal {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
}

.wechat-modal-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.55);
  animation: fadeIn 0.2s ease;
}

.wechat-modal-content {
  position: relative;
  background: #fff;
  border-radius: 12px;
  padding: 36px 40px 32px;
  text-align: center;
  max-width: 360px;
  width: 90%;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
  animation: modalIn 0.25s ease;
}

.wechat-modal-content h3 {
  font-size: 18px;
  margin-bottom: 8px;
  color: var(--text-color);
}

.wechat-modal-content p {
  font-size: 13px;
  color: var(--text-light);
  margin-bottom: 20px;
}

.qr-code-wrap {
  display: flex;
  justify-content: center;
  margin-bottom: 16px;
}

.qr-code-wrap img {
  width: 200px;
  height: 200px;
  border: 1px solid var(--border-color);
  border-radius: 8px;
}

.qr-code-wrap .qr-loading {
  width: 200px;
  height: 200px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #f5f5f5;
  border-radius: 8px;
  color: var(--text-light);
  font-size: 13px;
}

.qr-hint {
  font-size: 12px !important;
  color: #999 !important;
  margin-bottom: 0 !important;
}

.wechat-modal-close {
  position: absolute;
  top: 12px;
  right: 16px;
  background: none;
  border: none;
  font-size: 24px;
  color: #999;
  cursor: pointer;
  line-height: 1;
  padding: 4px;
}
.wechat-modal-close:hover { color: #333; }

@keyframes fadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}
@keyframes modalIn {
  from { opacity: 0; transform: scale(0.9) translateY(10px); }
  to   { opacity: 1; transform: scale(1) translateY(0); }
}

@media (max-width: 480px) {
  .share-buttons { gap: 8px; }
  .share-btn { padding: 7px 14px; font-size: 12px; }
  .wechat-modal-content { padding: 28px 24px 24px; }
  .qr-code-wrap img, .qr-code-wrap .qr-loading { width: 180px; height: 180px; }
}
