@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+SC:wght@300;400;500;700&display=swap');

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

body {
  font-family: "Noto Sans SC", "Microsoft YaHei", sans-serif;
  color: #333;
  background: #F2F4F8;
  line-height: 1.8;
  font-weight: 300;
}

a { color: #1A3478; text-decoration: none; }
a:hover { text-decoration: underline; }

.container { max-width: 1120px; margin: 0 auto; padding: 0 24px; }

/* Nav */
nav {
  background: #fff;
  border-bottom: 1px solid #e8e8e8;
  position: sticky; top: 0; z-index: 100;
}
.nav-inner {
  display: flex; justify-content: space-between; align-items: center;
  max-width: 1120px; margin: 0 auto; padding: 16px 24px;
}
.nav-brand { font-size: 1.15em; font-weight: 500; color: #1A3478; }
.nav-links { display: flex; gap: 32px; }
.nav-links a { color: #555; font-size: 0.95em; font-weight: 400; }
.nav-links a:hover { color: #1A3478; text-decoration: none; }

/* Hero */
.hero {
  background: linear-gradient(135deg, #1A3478 0%, #2A4A9E 100%);
  color: #fff; text-align: center; padding: 80px 24px 60px;
}
.hero-logo { max-width: 200px; height: auto; margin-bottom: 24px; }
.hero h1 { font-size: 2.6em; font-weight: 700; letter-spacing: 2px; }
.hero .en { font-size: 1.1em; font-weight: 300; opacity: 0.8; margin-top: 8px; }
.hero .tagline {
  font-size: 1.25em; font-weight: 300; margin-top: 24px; opacity: 0.9;
}
.hero .cta { margin-top: 40px; display: flex; gap: 16px; justify-content: center; }
.btn {
  display: inline-block; padding: 12px 32px; border-radius: 6px;
  font-size: 1em; font-weight: 500; transition: all 0.2s;
}
.btn-primary { background: #fff; color: #1A3478; }
.btn-primary:hover { background: #e8edf5; text-decoration: none; }
.btn-outline { border: 2px solid rgba(255,255,255,0.5); color: #fff; }
.btn-outline:hover { border-color: #fff; text-decoration: none; }

/* Sections */
section { padding: 80px 0; }
.section-title {
  text-align: center; font-size: 2em; font-weight: 500; color: #1A3478; margin-bottom: 12px;
}
.section-subtitle { text-align: center; color: #888; font-size: 1.05em; margin-bottom: 48px; }

/* Cards */
.cards { display: flex; gap: 24px; flex-wrap: wrap; justify-content: center; }
.card {
  background: #fff; border-radius: 8px; padding: 36px 28px;
  flex: 1; min-width: 280px; max-width: 540px;
  border: 1px solid #e8e8e8;
}
.card h3 { font-size: 1.2em; font-weight: 500; color: #1A3478; margin-bottom: 8px; }
.card p { font-size: 0.95em; color: #666; line-height: 1.7; }

.card-icon { font-size: 2em; margin-bottom: 12px; }

/* Architecture */
.arch { background: #fff; border-radius: 8px; padding: 40px; max-width: 800px; margin: 0 auto; border: 1px solid #e8e8e8; }
.arch-layer { padding: 14px 24px; margin: 6px 0; border-radius: 6px; font-weight: 500; text-align: center; }
.arch-layer:nth-child(1) { background: #EDF2FC; color: #1A3478; }
.arch-layer:nth-child(2) { background: #E8F5E9; color: #3CA028; }
.arch-layer:nth-child(3) { background: #FFF3E0; color: #DC5000; }
.arch-layer:nth-child(4) { background: #E3F2FD; color: #1565C0; }
.arch-layer:nth-child(5) { background: #F3E5F5; color: #7B1FA2; }

/* Stats */
.stats {
  display: flex; gap: 24px; flex-wrap: wrap; justify-content: center;
}
.stat-item {
  background: #fff; border-radius: 8px; padding: 28px 24px;
  text-align: center; flex: 1; min-width: 180px; max-width: 240px;
  border: 1px solid #e8e8e8;
}
.stat-num { font-size: 2.2em; font-weight: 700; color: #1A3478; }
.stat-label { font-size: 0.9em; color: #888; margin-top: 4px; }

/* Cases */
.case {
  background: #fff; border-radius: 8px; padding: 32px; margin-bottom: 24px;
  border: 1px solid #e8e8e8; max-width: 800px; margin-left: auto; margin-right: auto;
}
.case h3 { font-size: 1.15em; font-weight: 500; color: #1A3478; margin-bottom: 10px; }
.case ul { padding-left: 20px; color: #555; }
.case li { margin-bottom: 4px; font-size: 0.95em; }

/* Certs */
.cert-list {
  max-width: 600px; margin: 0 auto;
}
.cert-item {
  display: flex; justify-content: space-between; padding: 12px 0;
  border-bottom: 1px solid #eee; font-size: 0.95em;
}
.cert-item .name { font-weight: 500; color: #333; }
.cert-item .holder { color: #888; }

/* Footer */
footer {
  background: #1A1F2E; color: #aaa; text-align: center; padding: 40px 24px;
  font-size: 0.9em;
}
footer .company { color: #fff; font-weight: 500; margin-bottom: 8px; }

/* Service icons */
.service-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 24px;
}
.service-item {
  background: #fff; border-radius: 8px; padding: 32px 24px; text-align: center;
  border: 1px solid #e8e8e8;
}
.service-item .icon { font-size: 2.2em; margin-bottom: 10px; }
.service-item h4 { font-weight: 500; margin-bottom: 8px; color: #1A3478; }
.service-item p { font-size: 0.9em; color: #888; }

/* Comparison table as list */
.compare {
  max-width: 800px; margin: 0 auto;
}
.compare-item {
  background: #fff; border-radius: 8px; padding: 24px 32px; margin-bottom: 12px;
  border: 1px solid #e8e8e8;
}
.compare-item h4 { margin-bottom: 8px; font-weight: 500; }
.compare-item .ours { color: #3CA028; }
.compare-item .not { color: #DC5000; }
.compare-item p { font-size: 0.95em; color: #555; line-height: 1.8; }

/* Page template */
.page-content {
  max-width: 800px; margin: 0 auto; padding: 60px 24px;
}
.page-content h1 { font-size: 2em; font-weight: 500; color: #1A3478; margin-bottom: 32px; text-align: center; }
.page-content h2 { font-size: 1.3em; font-weight: 500; color: #333; margin: 32px 0 12px; }
.page-content p, .page-content li { color: #555; font-size: 1em; line-height: 1.9; margin-bottom: 8px; }
.page-content ul { padding-left: 20px; margin-bottom: 16px; }

/* Case images */
.case-header { display: flex; align-items: flex-start; gap: 20px; margin-bottom: 16px; }
.case-header h3 { margin-bottom: 0; }
.case-img { width: 100%; height: auto; border-radius: 6px; margin: 16px 0; border: 1px solid #e8e8e8; }

/* Cert images */
.cert-images { display: flex; flex-wrap: wrap; gap: 24px; justify-content: center; align-items: center; }
.cert-logo { max-width: 180px; height: auto; }
.cert-placeholder {
  background: #f0f0f0; border: 2px dashed #ccc; border-radius: 8px;
  padding: 40px 24px; text-align: center; color: #999; font-size: 0.95em;
}

@media (max-width: 768px) {
  .nav-links { display: none; }
  .hero h1 { font-size: 1.8em; }
  .hero .cta { flex-direction: column; align-items: center; }
  section { padding: 48px 0; }
  .cards { flex-direction: column; }
}
