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

body {
  font-family: 'Josefin Sans', sans-serif;
  color: #333;
  line-height: 1.6;
}

h1 { font-weight: 400; font-size: 48px; }
h2 { font-weight: 400; font-size: 36px; }
h3 { font-weight: 400; font-size: 24px; }
p { font-size: 16px; line-height: 1.8; }

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

/* Header / Navigation */
.header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: #fff;
  border-bottom: 1px solid #e4e7ed;
}

.nav {
  display: flex;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
  height: 60px;
}

.nav-links {
  display: flex;
  list-style: none;
  gap: 0;
}

.nav-links a {
  display: block;
  padding: 0 20px;
  height: 60px;
  line-height: 60px;
  font-size: 14px;
  color: #303133;
  border-bottom: 2px solid transparent;
  transition: color 0.2s, border-color 0.2s;
}

.nav-links a:hover,
.nav-links a.active {
  color: #409eff;
  border-bottom-color: #409eff;
}

.nav-spacer { flex-grow: 1; }

.nav-login {
  display: block;
  padding: 0 20px;
  height: 60px;
  line-height: 60px;
  background-color: #67C23A;
  color: #fff;
  font-size: 14px;
  transition: background-color 0.2s;
}

.nav-login:hover {
  background-color: #5daf34;
}

/* Hero Section */
.hero {
  text-align: center;
  padding: 60px 20px 40px;
  max-width: 900px;
  margin: 0 auto;
}

.hero img {
  max-width: 300px;
  width: 100%;
  margin-bottom: 20px;
}

.hero h1, .hero h2 {
  margin-bottom: 20px;
}

.hero h3 {
  margin-bottom: 16px;
}

.hero .counter {
  color: #67C23A;
  font-weight: 600;
}

.btn-primary {
  display: inline-block;
  padding: 12px 32px;
  background-color: #409eff;
  color: #fff;
  border: none;
  border-radius: 4px;
  font-size: 16px;
  font-family: 'Josefin Sans', sans-serif;
  cursor: pointer;
  margin-top: 16px;
  transition: background-color 0.2s;
}

.btn-primary:hover {
  background-color: #337ecc;
}

/* Features Section */
.features {
  background-color: #f2f6fc;
  padding: 40px 20px;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  max-width: 1200px;
  margin: 0 auto;
}

.feature-card {
  background: #fff;
  border-radius: 4px;
  padding: 20px;
  text-align: center;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.1);
}

.feature-card .icon {
  max-width: 200px;
  width: 100%;
  margin: 0 auto 16px;
  display: block;
}

.feature-card h3 {
  margin-bottom: 12px;
}

.feature-card p {
  color: #606266;
  margin-bottom: 8px;
}

/* References Section */
.references {
  background-color: #f2f6fc;
}

.references-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
}

.reference {
  padding: 30px;
  min-height: 500px;
}

.reference img,
.reference svg {
  max-width: 70%;
  max-height: 100px;
  margin-bottom: 20px;
}

.reference p {
  margin-bottom: 12px;
  color: #606266;
}

.ref-hus { background-color: #c6e2ff; }
.ref-epshp { background-color: #f0f9eb; }
.ref-satshp { background-color: #fdf6ec; }
.ref-phshp { background-color: #fef0f0; }

/* Contact Section */
.contact {
  text-align: center;
  padding: 40px 20px;
}

.contact h2 { margin-bottom: 16px; }
.contact h3 { margin-bottom: 8px; }

.logos {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  max-width: 800px;
  margin: 30px auto 0;
  align-items: end;
}

.logos img {
  max-width: 200px;
  width: 100%;
  height: auto;
  margin: 0 auto;
  display: block;
}

/* Responsive */
@media (max-width: 992px) {
  .features-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .references-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  h1 { font-size: 32px; }
  h2 { font-size: 28px; }
  h3 { font-size: 20px; }

  .nav-links { display: none; }

  .hero { padding: 40px 20px 30px; }

  .features-grid {
    grid-template-columns: 1fr;
    max-width: 500px;
  }

  .logos {
    grid-template-columns: 1fr;
  }
}
