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

:root {
  --primary: #1a5fb4;
  --primary-dark: #0d3d7a;
  --primary-light: #3584e4;
  --accent: #e5a50a;
  --text: #1c1c1e;
  --text-muted: #636366;
  --bg: #ffffff;
  --bg-alt: #f5f7fa;
  --border: #e5e5ea;
  --shadow: 0 4px 24px rgba(0, 0, 0, 0.08);
  --radius: 12px;
  --max-width: 1200px;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Helvetica Neue", Arial, sans-serif;
  color: var(--text);
  line-height: 1.7;
  background: var(--bg);
}

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

a {
  color: var(--primary);
  text-decoration: none;
}

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

/* Header */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--text);
  font-weight: 700;
  font-size: 1.25rem;
}

.brand-logo {
  height: 36px;
  width: auto;
}

.nav {
  display: flex;
  gap: 28px;
}

.nav a {
  color: var(--text-muted);
  font-size: 0.9rem;
  font-weight: 500;
  transition: color 0.2s;
}

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

/* Hero */
.hero {
  position: relative;
  min-height: 520px;
  display: flex;
  align-items: center;
  margin-top: 64px;
  background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 50%, var(--primary-light) 100%);
  overflow: hidden;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: url("images/hero-bg.jpeg") center/cover;
  opacity: 0.08;
}

.hero-content {
  position: relative;
  z-index: 1;
  padding: 80px 24px;
  color: #fff;
  max-width: 720px;
}

.hero-tag {
  display: inline-block;
  background: rgba(255, 255, 255, 0.15);
  padding: 6px 16px;
  border-radius: 20px;
  font-size: 0.875rem;
  margin-bottom: 20px;
  border: 1px solid rgba(255, 255, 255, 0.25);
}

.hero h1 {
  font-size: 2.75rem;
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 12px;
}

.hero-subtitle {
  font-size: 1.5rem;
  font-weight: 300;
  margin-bottom: 24px;
  opacity: 0.9;
}

.hero-desc {
  font-size: 1rem;
  opacity: 0.85;
  margin-bottom: 32px;
  line-height: 1.8;
}

.hero-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 28px;
  border-radius: 8px;
  font-size: 0.95rem;
  font-weight: 600;
  transition: all 0.2s;
  cursor: pointer;
  border: 2px solid transparent;
}

.btn-primary {
  background: var(--accent);
  color: #1c1c1e;
  border-color: var(--accent);
}

.btn-primary:hover {
  background: #f5b800;
  transform: translateY(-1px);
}

.btn-outline {
  background: transparent;
  color: #fff;
  border-color: rgba(255, 255, 255, 0.6);
}

.btn-outline:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: #fff;
}

.btn-lg {
  padding: 14px 32px;
  font-size: 1rem;
}

/* Sections */
.section {
  padding: 80px 0;
}

.section-alt {
  background: var(--bg-alt);
}

.section-header {
  text-align: center;
  margin-bottom: 48px;
}

.section-label {
  display: block;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  color: var(--primary);
  margin-bottom: 8px;
}

.section-header h2 {
  font-size: 2rem;
  font-weight: 700;
  color: var(--text);
}

.section-desc {
  margin-top: 12px;
  color: var(--text-muted);
  font-size: 1rem;
}

/* About */
.about-showcase {
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 48px;
  align-items: start;
}

.about-text h3 {
  font-size: 1.35rem;
  margin-bottom: 16px;
  color: var(--primary-dark);
}

.about-text p {
  color: var(--text-muted);
  margin-bottom: 16px;
}

.about-highlights {
  list-style: none;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-top: 24px;
}

.about-highlights li {
  background: var(--bg-alt);
  padding: 12px 16px;
  border-radius: 8px;
  font-size: 0.9rem;
  font-weight: 500;
  border-left: 3px solid var(--primary);
}

.partner-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.partner-tags span {
  background: var(--bg-alt);
  padding: 6px 12px;
  border-radius: 6px;
  font-size: 0.85rem;
  color: var(--text-muted);
}

/* Policy */
.policy-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.policy-card {
  background: #fff;
  padding: 28px;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  border-top: 4px solid var(--primary);
}

.policy-num {
  font-size: 2rem;
  font-weight: 800;
  color: var(--primary-light);
  opacity: 0.4;
  margin-bottom: 12px;
}

.policy-card p {
  color: var(--text-muted);
  font-size: 0.95rem;
}

/* Pain points */
.pain-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.pain-card {
  background: #fff;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: transform 0.2s;
}

.pain-card:hover {
  transform: translateY(-4px);
}

.pain-card-text {
  padding: 28px 24px;
}

.pain-card-text h3 {
  font-size: 1.05rem;
  margin-bottom: 12px;
  color: var(--primary-dark);
}

.pain-card-text p {
  font-size: 0.9rem;
  color: var(--text-muted);
}

/* Modules */
.modules-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-bottom: 48px;
}

.feature-block {
  margin-bottom: 56px;
}

.feature-block-title {
  font-size: 1.35rem;
  text-align: center;
  margin-bottom: 12px;
  color: var(--text);
}

.feature-block-sub {
  text-align: center;
  color: var(--text-muted);
  margin-bottom: 24px;
}

.feature-full-img {
  width: 100%;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

/* Image preview thumbnails */
.preview-thumb {
  display: block;
  position: relative;
  margin: 0 auto;
  padding: 0;
  border: none;
  background: transparent;
  cursor: zoom-in;
  border-radius: var(--radius);
  overflow: hidden;
  transition: transform 0.2s, box-shadow 0.2s;
}

.preview-thumb:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow);
}

.preview-thumb img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: var(--radius);
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
}

.preview-thumb--mini {
  max-width: 160px;
}

.preview-thumb--medium {
  max-width: 520px;
}

.preview-thumb--wide {
  max-width: 100%;
}

.preview-hint {
  position: absolute;
  left: 50%;
  bottom: 10px;
  transform: translateX(-50%);
  background: rgba(0, 0, 0, 0.65);
  color: #fff;
  font-size: 0.75rem;
  padding: 4px 10px;
  border-radius: 12px;
  opacity: 0;
  transition: opacity 0.2s;
  pointer-events: none;
  white-space: nowrap;
}

.preview-thumb:hover .preview-hint {
  opacity: 1;
}

/* Lightbox */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.2s, visibility 0.2s;
}

.lightbox.is-open {
  opacity: 1;
  visibility: visible;
}

.lightbox-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.85);
  cursor: zoom-out;
}

.lightbox-dialog {
  position: relative;
  z-index: 1;
  max-width: min(96vw, 1200px);
  max-height: 92vh;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.lightbox-img {
  max-width: 100%;
  max-height: calc(92vh - 48px);
  object-fit: contain;
  border-radius: 8px;
  box-shadow: 0 8px 40px rgba(0, 0, 0, 0.4);
}

.lightbox-caption {
  margin-top: 12px;
  color: #fff;
  font-size: 0.9rem;
  text-align: center;
}

.lightbox-close {
  position: absolute;
  top: -40px;
  right: 0;
  width: 36px;
  height: 36px;
  border: none;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.15);
  color: #fff;
  font-size: 1.5rem;
  line-height: 1;
  cursor: pointer;
  transition: background 0.2s;
}

.lightbox-close:hover {
  background: rgba(255, 255, 255, 0.3);
}

.spirits-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.spirit-item {
  text-align: center;
}

.spirit-item h4 {
  font-size: 0.95rem;
  color: var(--primary-dark);
}

.member-features {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.member-feature-item {
  background: #fff;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
}

.member-feature-wide {
  grid-column: 1 / -1;
}

.member-feature-media {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 24px 20px 12px;
  background: var(--bg-alt);
}

.member-feature-caption {
  padding: 16px 20px;
}

.member-feature-caption h4 {
  font-size: 1rem;
  margin-bottom: 6px;
}

.member-feature-caption p {
  font-size: 0.875rem;
  color: var(--text-muted);
}

.module-card {
  background: #fff;
  padding: 32px 24px;
  border-radius: var(--radius);
  text-align: center;
  box-shadow: var(--shadow);
}

.module-icon {
  width: 56px;
  height: 56px;
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  font-weight: 700;
  margin: 0 auto 16px;
}

.module-card h3 {
  font-size: 1.1rem;
  margin-bottom: 12px;
}

.module-card p {
  font-size: 0.9rem;
  color: var(--text-muted);
}

/* Certifications */
.cert-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 16px;
  align-items: stretch;
  max-width: 1100px;
  margin: 0 auto;
}

.preview-thumb--cert {
  width: 100%;
  max-width: none;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #fff;
  padding: 8px;
  border-radius: 8px;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
}

.preview-thumb--cert img {
  width: 100%;
  height: auto;
  max-height: 200px;
  object-fit: contain;
  box-shadow: none;
}

.preview-thumb--cert-wide {
  grid-column: span 2;
}

.preview-thumb--cert-wide img {
  max-height: 200px;
}

/* Service */
.service-preview {
  display: flex;
  justify-content: center;
  margin-bottom: 32px;
}

.service-details {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.service-group {
  background: #fff;
  padding: 24px;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.service-group h3 {
  font-size: 1.05rem;
  color: var(--primary);
  margin-bottom: 12px;
  padding-bottom: 8px;
  border-bottom: 2px solid var(--bg-alt);
}

.service-group ul {
  list-style: none;
}

.service-group li {
  padding: 6px 0;
  font-size: 0.9rem;
  color: var(--text-muted);
}

.service-group li::before {
  content: "✓ ";
  color: var(--primary);
  font-weight: 700;
}

/* Cases logos */
.cases-logos {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 24px;
  margin-bottom: 32px;
}

.cases-logos img {
  width: 100px;
  height: 100px;
  object-fit: contain;
  border-radius: 50%;
  background: #fff;
  padding: 8px;
  box-shadow: var(--shadow);
}

/* Contact QR */
.contact-qr {
  text-align: center;
  background: #fff;
  padding: 36px;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.contact-qr .preview-thumb {
  margin-bottom: 8px;
}

.contact-qr p {
  color: var(--text-muted);
  font-size: 0.95rem;
}

/* Advantages */
.advantages-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.advantage-card {
  background: #fff;
  padding: 32px 24px;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  text-align: left;
}

.advantage-card h3 {
  font-size: 1.05rem;
  margin-bottom: 12px;
  color: var(--primary-dark);
}

.advantage-card p {
  font-size: 0.875rem;
  color: var(--text-muted);
}

/* Cases */
.cases-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
}

.cases-grid span {
  background: #fff;
  padding: 10px 18px;
  border-radius: 8px;
  font-size: 0.9rem;
  color: var(--text-muted);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
  border: 1px solid var(--border);
}

/* Contact */
.contact-section {
  background: linear-gradient(180deg, var(--bg-alt) 0%, #fff 100%);
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
}

.contact-card,
.contact-cta {
  background: #fff;
  padding: 36px;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.contact-card h3,
.contact-cta h3 {
  font-size: 1.25rem;
  margin-bottom: 20px;
  color: var(--primary-dark);
}

.contact-card dl {
  display: grid;
  gap: 16px;
}

.contact-card dt {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.contact-card dd {
  font-size: 1rem;
  color: var(--text);
}

.contact-cta p {
  color: var(--text-muted);
  margin-bottom: 24px;
  line-height: 1.8;
}

/* Footer */
.site-footer {
  background: #f0f0f2;
  padding: 24px 0;
  border-top: 1px solid var(--border);
}

.footer-inner {
  text-align: center;
}

.footer-inner p {
  font-size: 0.8rem;
  color: var(--text-muted);
  line-height: 1.8;
}

.footer-inner a {
  color: var(--text-muted);
}

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

.footer-divider {
  margin: 0 8px;
  opacity: 0.4;
}

.beian-icon {
  display: inline-block;
  width: 14px;
  height: 14px;
  vertical-align: -2px;
  margin-right: 2px;
}

/* Responsive */
@media (max-width: 1024px) {
  .contact-grid,
  .service-details {
    grid-template-columns: 1fr;
  }

  .pain-grid,
  .advantages-grid,
  .spirits-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .modules-grid,
  .member-features {
    grid-template-columns: 1fr;
  }

  .cert-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .preview-thumb--cert-wide {
    grid-column: span 2;
  }
}

@media (max-width: 768px) {
  .nav {
    display: none;
  }

  .hero h1 {
    font-size: 2rem;
  }

  .hero-subtitle {
    font-size: 1.2rem;
  }

  .policy-grid,
  .pain-grid,
  .advantages-grid,
  .spirits-grid,
  .cert-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .preview-thumb--cert-wide {
    grid-column: span 2;
  }

  .section {
    padding: 56px 0;
  }
}
