:root {
  --primary: #232f3e;
  --secondary: #ff9900;
  --light-bg: #fafafa;
  --card-bg: #ffffff;
  --text: #333333;
  --border: #eeeeee;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  line-height: 1.6;
  color: var(--text);
  background-color: var(--light-bg);
}

.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* Header & Navigation */
header {
  background-color: var(--primary);
  padding: 1rem 0;
  position: sticky;
  top: 0;
  z-index: 100;
}
.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.navbar img {
  height: 40px;
}
.nav-links {
  display: flex;
  list-style: none;
  gap: 1.5rem;
}
.nav-links a {
  color: white;
  text-decoration: none;
  font-weight: 500;
  transition: color 0.2s;
}
.nav-links a:hover {
  color: var(--secondary);
}
/* Login ERP Button */
.btn-login {
  background: var(--secondary);
  color: white;
  padding: 0.5rem 1rem;
  border-radius: 4px;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.95rem;
  white-space: nowrap;
  transition: background 0.2s, opacity 0.2s;
}
.btn-login:hover {
  background: #e68a00; /* 稍暗的橙色 */
  opacity: 0.95;
}

/* Main Content */
main {
  padding: 2.5rem 0;
}

section {
  margin-bottom: 3rem;
}

h1, h2, h3 {
  margin-bottom: 1rem;
  color: var(--primary);
}
h1 {
  font-size: 2.2rem;
}
h2 {
  color: var(--secondary);
  font-size: 1.8rem;
}
h3 {
  font-size: 1.4rem;
}

p {
  margin-bottom: 1rem;
}

/* Cards / Features */
.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
  margin-top: 1.5rem;
}
.card {
  background: var(--card-bg);
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
  transition: transform 0.2s;
}
.card:hover {
  transform: translateY(-4px);
}
.card img {
  width: 100%;
  object-fit: cover;
}
.card-content {
  padding: 1.2rem;
}

/* Buttons */
.btn {
  display: inline-block;
  background: var(--secondary);
  color: white;
  padding: 0.6rem 1.2rem;
  border-radius: 4px;
  text-decoration: none;
  font-weight: bold;
  margin-top: 0.5rem;
}
.btn:hover {
  opacity: 0.9;
}

 /* Footer */
footer {
  background: var(--primary);
  color: white;
  padding: 2rem 0 1rem;
  font-size: 0.9rem;
}
.footer-container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 1.5rem;
}
.footer-top {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 2rem;
  margin-bottom: 1.5rem;
}
.footer-section h4 {
  color: var(--secondary);
  margin-bottom: 1rem;
  font-size: 1rem;
}
.footer-section ul {
  list-style: none;
  padding: 0;
}
.footer-section li {
  margin-bottom: 0.5rem;
}
.footer-section a {
  color: white;
  text-decoration: none;
  font-size: 0.9rem;
}
.footer-section a:hover {
  color: var(--secondary);
}

/* Divider line */
.footer-divider {
  height: 1px;
  background: rgba(255, 255, 255, 0.2);
  margin: 1.5rem 0;
}

/* Footer bottom */
.footer-bottom {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}
.footer-bottom p {
  margin: 0.25rem 0;
}

/* Responsive */
@media (max-width: 768px) {
  .navbar {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 0.8rem;
    align-items: center;
  }

  /* 将登录按钮与导航并列显示（小屏下仍可见） */
  .btn-login {
    justify-self: end;
    padding: 0.4rem 0.8rem;
    font-size: 0.9rem;
  }
  .nav-links {
	gap: 1rem;
	flex-wrap: wrap;
	justify-content: center;
  }
  h1 {
	font-size: 1.8rem;
  }
  .footer-top {
	grid-template-columns: 1fr;
  }
}