:root {
  color-scheme: light;
  --bg: #f5f7fa;
  --bg-panel: #ffffff;
  --bg-panel-dark: #f8f9fb;
  --text: #2c3e50;
  --text-muted: #5a6c7d;
  --accent: #3498db;
  --accent-strong: #e67e22;
  --border: rgba(0, 0, 0, 0.08);
  --danger: #e74c3c;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: "Noto Sans SC", "Montserrat", -apple-system, BlinkMacSystemFont,
    "Segoe UI", sans-serif;
  background: var(--bg);
  color: var(--text);
  min-height: 100vh;
  position: relative;
}

body::before {
  content: '';
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 300px;
  background: linear-gradient(180deg, rgba(52, 152, 219, 0.03), transparent);
  pointer-events: none;
  z-index: -1;
}

a {
  color: inherit;
  text-decoration: none;
}

header {
  background: #2c3e50;
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 10;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.top-bar {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0.6rem 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.brand {
  font-family: "Montserrat", sans-serif;
  font-weight: 600;
  letter-spacing: 0.08em;
  display: flex;
  align-items: center;
  gap: 0.4rem;
  color: #ffffff;
}

.brand-logo {
  width: 42px;
  height: 42px;
  border-radius: 6px;
  background-image: url('image.png');
  background-size: cover;
  background-position: center;
  display: grid;
  place-items: center;
  font-size: 0.65rem;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s;
}

.brand-logo:hover {
  transform: scale(1.05);
}

nav {
  flex: 1;
}

.nav-links {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  font-size: 0.92rem;
}

.nav-links a {
  color: rgba(255, 255, 255, 0.85);
  padding: 0.35rem 0.6rem;
  border-radius: 4px;
  transition: background 0.2s, color 0.2s;
}

.nav-links a:hover {
  background: rgba(255, 255, 255, 0.15);
  color: #ffffff;
}

.nav-actions {
  display: flex;
  gap: 0.8rem;
  font-size: 0.9rem;
  color: var(--text-muted);
  align-items: center;
}

main {
  max-width: 1200px;
  margin: 1.5rem auto;
  padding: 0 1.5rem 2.5rem;
  display: grid;
  grid-template-columns: minmax(0, 4fr) minmax(280px, 1.6fr);
  gap: 1.5rem;
}

.article-card,
.sidebar-card {
  background: var(--bg-panel);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 1.75rem;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
  transition: transform 0.3s, box-shadow 0.3s;
}

.article-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.12);
}

.article-card + .article-card {
  margin-top: 1.5rem;
}

.article-title {
  font-size: 1.65rem;
  line-height: 1.35;
  margin: 0;
}

.meta-line {
  margin-top: 0.7rem;
  display: flex;
  align-items: center;
  gap: 1rem;
  color: var(--text-muted);
  font-size: 0.85rem;
}

.tag-pill {
  padding: 0.15rem 0.7rem;
  border-radius: 999px;
  border: 1px solid var(--border);
}

.cta-button {
  display: inline-block;
  padding: 0.9rem 2rem;
  background: linear-gradient(135deg, #3498db, #2ecc71);
  color: white;
  border-radius: 50px;
  font-size: 1.1rem;
  font-weight: 600;
  text-align: center;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(52, 152, 219, 0.4);
  border: none;
  text-decoration: none;
}

.cta-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(52, 152, 219, 0.6);
  background: linear-gradient(135deg, #2980b9, #27ae60);
}

.cta-button-large {
  padding: 1.2rem 3rem;
  font-size: 1.2rem;
  margin: 1.5rem 0;
}

.hero-section {
  background: linear-gradient(135deg, rgba(52, 152, 219, 0.05), rgba(46, 204, 113, 0.05));
  border-radius: 12px;
  padding: 2rem;
  margin-bottom: 1.5rem;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 1rem;
  margin: 1.5rem 0;
}

.stat-card {
  background: linear-gradient(135deg, rgba(52, 152, 219, 0.1), rgba(46, 204, 113, 0.1));
  padding: 1.5rem;
  border-radius: 12px;
  text-align: center;
  transition: transform 0.3s;
}

.stat-card:hover {
  transform: translateY(-5px);
}

.stat-number {
  font-size: 2rem;
  font-weight: 700;
  color: var(--accent);
  margin-bottom: 0.5rem;
}

.stat-label {
  color: var(--text-muted);
  font-size: 0.9rem;
}

/* 客户评价展示区域 */
.testimonials-section {
  margin: 2rem 0;
  padding: 2rem;
  background: linear-gradient(135deg, rgba(52, 152, 219, 0.03), rgba(46, 204, 113, 0.03));
  border-radius: 12px;
}

.testimonials-tabs {
  display: flex;
  gap: 1rem;
  margin-bottom: 1.5rem;
  flex-wrap: wrap;
  justify-content: center;
}

.tab-button {
  padding: 0.7rem 1.5rem;
  background: var(--bg-panel);
  border: 2px solid var(--border);
  border-radius: 50px;
  cursor: pointer;
  transition: all 0.3s;
  font-weight: 500;
  color: var(--text);
}

.tab-button:hover {
  border-color: var(--accent);
  transform: translateY(-2px);
}

.tab-button.active {
  background: var(--accent);
  color: white;
  border-color: var(--accent);
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

@media (max-width: 900px) {
  .testimonials-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 600px) {
  .testimonials-grid {
    grid-template-columns: 1fr;
  }
}

.testimonial-item {
  position: relative;
  border-radius: 12px;
  overflow: hidden;
  cursor: pointer;
  transition: transform 0.3s, box-shadow 0.3s;
  background: var(--bg-panel);
  border: 1px solid var(--border);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.testimonial-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.testimonial-item img {
  width: 100%;
  height: 250px;
  object-fit: cover;
  display: block;
}

.testimonial-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 1rem;
  background: linear-gradient(to top, rgba(0,0,0,0.8), transparent);
  color: white;
  font-size: 0.9rem;
  opacity: 0;
  transition: opacity 0.3s;
}

.testimonial-item:hover .testimonial-overlay {
  opacity: 1;
}

/* 灯箱效果 */
.lightbox {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.9);
  z-index: 9999;
  justify-content: center;
  align-items: center;
  padding: 2rem;
}

.lightbox.active {
  display: flex;
}

.lightbox-content {
  max-width: 90%;
  max-height: 90%;
  position: relative;
}

.lightbox-content img {
  max-width: 100%;
  max-height: 90vh;
  border-radius: 8px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
}

.lightbox-close {
  position: absolute;
  top: -40px;
  right: 0;
  background: white;
  color: #333;
  border: none;
  width: 35px;
  height: 35px;
  border-radius: 50%;
  cursor: pointer;
  font-size: 1.3rem;
  line-height: 1;
  transition: transform 0.3s;
}

.lightbox-close:hover {
  transform: scale(1.1);
}

.lightbox-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255, 255, 255, 0.9);
  color: #333;
  border: none;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  cursor: pointer;
  font-size: 1.5rem;
  transition: background 0.3s;
}

.lightbox-nav:hover {
  background: white;
}

.lightbox-prev {
  left: 2rem;
}

.lightbox-next {
  right: 2rem;
}

.section-title {
  margin: 0 0 0.8rem;
  font-size: 1.2rem;
  border-left: 4px solid var(--accent);
  padding-left: 0.75rem;
}

.section-body {
  color: var(--text-muted);
  line-height: 1.9;
  font-size: 0.96rem;
}

.section-body strong {
  color: var(--text);
}

.floating-buttons {
  position: fixed;
  left: 25px;
  top: 45%;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.floating-buttons button {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 1px solid var(--border);
  background: var(--bg-panel-dark);
  color: var(--text);
  cursor: pointer;
  font-size: 0.85rem;
}

.search-box input {
  width: 100%;
  padding: 0.65rem 0.9rem;
  border-radius: 8px;
  border: 1px solid var(--border);
  background: var(--bg-panel-dark);
  color: var(--text);
  font-size: 0.9rem;
}

.contact-list {
  list-style: none;
  padding: 0;
  margin: 1.1rem 0 0;
  color: var(--text-muted);
  line-height: 1.8;
  font-size: 0.95rem;
}

.qr-box {
  margin: 1.4rem 0;
  padding: 1rem;
  border-radius: 12px;
  border: 1px solid var(--border);
  background: var(--bg-panel-dark);
}

.qr-box img {
  width: 100%;
  display: block;
  border-radius: 8px;
  border: 1px solid var(--border);
}

.notice {
  padding: 1rem;
  border-radius: 8px;
  border: 1px dashed rgba(230, 126, 34, 0.3);
  background: rgba(230, 126, 34, 0.05);
  line-height: 1.6;
  font-size: 0.92rem;
  color: var(--text-muted);
}

.highlight-list {
  margin: 1rem 0 0;
  padding-left: 1.25rem;
  color: var(--accent);
  font-size: 0.95rem;
  line-height: 1.6;
}

.section-block {
  max-width: 1200px;
  margin: 0 auto 2rem;
  padding: 0 1.5rem;
}

.section-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 1rem;
}

.section-head h2 {
  margin: 0;
  font-size: 1.55rem;
}

.section-head span {
  color: var(--text-muted);
  font-size: 0.95rem;
}

.card-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.2rem;
}

@media (max-width: 1200px) {
  .card-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 900px) {
  .card-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 600px) {
  .card-grid {
    grid-template-columns: 1fr;
  }
}

.info-card {
  background: var(--bg-panel);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 1.4rem;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
  transition: box-shadow 0.3s, transform 0.3s;
}

.info-card:hover {
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.12);
  transform: translateY(-2px);
}

.info-card h3 {
  margin: 0;
  font-size: 1.1rem;
}

.info-card p {
  margin: 0;
  color: var(--text-muted);
  line-height: 1.6;
  font-size: 0.92rem;
}

.badge {
  display: none;
}

.price-card {
  border: 1px solid var(--border);
  background: white;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.price-card strong {
  font-size: 1.4rem;
  color: var(--accent);
}

.contact-panel {
  background: var(--bg-panel);
  border-radius: 16px;
  border: 1px solid var(--border);
  padding: 2rem;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.5rem;
}

.contact-panel ul {
  list-style: none;
  padding: 0;
  margin: 0;
  color: var(--text-muted);
  line-height: 2;
}

.contact-panel li strong {
  color: var(--text);
}

footer {
  text-align: center;
  padding: 2rem 1rem 3rem;
  color: var(--text-muted);
  font-size: 0.85rem;
  background: #2c3e50;
  color: rgba(255, 255, 255, 0.8);
  border-top: 1px solid var(--border);
}

@media (max-width: 900px) {
  main {
    grid-template-columns: 1fr;
  }

  .floating-buttons {
    display: none;
  }

  .top-bar {
    flex-direction: column;
    align-items: flex-start;
  }

  nav {
    width: 100%;
  }

  .nav-links {
    justify-content: flex-start;
  }
}
