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

html {
  scroll-behavior: smooth;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, "PingFang SC", "Microsoft YaHei", sans-serif;
  color: #1f2933;
  background-color: #f5f7fa;
  line-height: 1.6;
}

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

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

ul {
  list-style: none;
}

.container {
  width: 100%;
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 16px;
}

.site-header {
  background: #0f172a;
  color: #f9fafb;
  position: sticky;
  top: 0;
  z-index: 100;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 0;
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 700;
}

.logo-mark {
  width: 32px;
  height: 32px;
  border-radius: 999px;
  background: linear-gradient(135deg, #22c55e, #0ea5e9);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  color: #0f172a;
}

.logo-text {
  font-size: 18px;
}

.main-nav {
  display: flex;
  align-items: center;
}

.nav-toggle {
  display: none;
  background: none;
  border: none;
  color: #f9fafb;
  font-size: 24px;
  cursor: pointer;
}

.nav-list {
  display: flex;
  gap: 24px;
  font-size: 14px;
}

.nav-list a {
  padding: 6px 0;
  border-bottom: 2px solid transparent;
}

.nav-list a:hover,
.nav-list a.active {
  border-bottom-color: #22c55e;
}

.hero {
  background: radial-gradient(circle at top left, #0ea5e9 0, #0f172a 50%, #020617 100%);
  color: #f9fafb;
  padding: 56px 0 56px;
}

.hero-inner {
  display: grid;
  grid-template-columns: minmax(0, 3fr) minmax(0, 2.5fr);
  gap: 40px;
  align-items: center;
}

.hero h1 {
  font-size: 32px;
  margin-bottom: 16px;
}

.hero p {
  font-size: 14px;
  max-width: 640px;
  margin-bottom: 24px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 20px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 500;
  border: 1px solid transparent;
  cursor: pointer;
  transition: all 0.2s ease;
}

.btn-primary {
  background: #22c55e;
  color: #052e16;
}

.btn-primary:hover {
  background: #16a34a;
}

.btn-outline {
  background: transparent;
  color: #e5e7eb;
  border-color: #4b5563;
  margin-left: 8px;
}

.btn-outline:hover {
  border-color: #e5e7eb;
}

.btn-block {
  width: 100%;
}

.hero-media img {
  border-radius: 24px;
  box-shadow: 0 18px 60px rgba(15, 23, 42, 0.6);
}

.section {
  padding: 48px 0;
}

.section-alt {
  background: #e5e7eb;
}

.section-title {
  font-size: 24px;
  text-align: center;
  margin-bottom: 8px;
}

.section-subtitle {
  font-size: 14px;
  text-align: center;
  max-width: 640px;
  margin: 0 auto 32px;
  color: #4b5563;
}

.grid {
  display: grid;
  gap: 24px;
}

.grid-2 {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

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

.grid-4 {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.card {
  background: #ffffff;
  border-radius: 16px;
  padding: 20px;
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.06);
}

.card-icon {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  background: #e0f2fe;
  color: #0f172a;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
  margin-bottom: 12px;
}

.card h3 {
  font-size: 16px;
  margin-bottom: 8px;
}

.card p {
  font-size: 14px;
  color: #4b5563;
}

.section-highlight {
  background: #020617;
  color: #e5e7eb;
}

.highlight-inner {
  display: grid;
  grid-template-columns: minmax(0, 3fr) minmax(0, 2.5fr);
  gap: 40px;
  align-items: center;
}

.highlight-text h2 {
  font-size: 22px;
  margin-bottom: 12px;
}

.highlight-text p {
  font-size: 14px;
  color: #cbd5f5;
}

.highlight-media img {
  border-radius: 24px;
  box-shadow: 0 16px 48px rgba(15, 23, 42, 0.8);
}

.section-stats {
  padding-top: 32px;
  padding-bottom: 40px;
}

.stats-grid {
  background: #0f172a;
  color: #e5e7eb;
  border-radius: 24px;
  padding: 24px;
}

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

.stat-number {
  display: block;
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 4px;
}

.stat-label {
  font-size: 13px;
  color: #9ca3af;
}

.page-hero {
  background: radial-gradient(circle at top left, #22c55e 0, #0f172a 55%, #020617 100%);
  color: #f9fafb;
  padding: 40px 0;
}

.page-hero.slim {
  padding: 32px 0;
}

.page-hero h1 {
  font-size: 26px;
  margin-bottom: 8px;
}

.page-hero p {
  font-size: 14px;
  max-width: 640px;
}

.product-card img {
  border-radius: 12px;
  margin-bottom: 12px;
}

.product-card h3 {
  margin-bottom: 6px;
}

.product-card p {
  font-size: 14px;
}

.contact-list {
  margin-bottom: 16px;
}

.contact-list li {
  font-size: 14px;
  margin-bottom: 6px;
}

.contact-form {
  background: #ffffff;
  padding: 20px;
  border-radius: 16px;
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.06);
}

.form-group {
  margin-bottom: 12px;
}

.form-group label {
  display: block;
  font-size: 13px;
  margin-bottom: 4px;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 8px 10px;
  border-radius: 10px;
  border: 1px solid #cbd5e1;
  font-size: 14px;
  outline: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: #22c55e;
  box-shadow: 0 0 0 1px rgba(34, 197, 94, 0.35);
}

.site-footer {
  background: #020617;
  color: #9ca3af;
  padding-top: 32px;
}

.footer-inner {
  display: grid;
  grid-template-columns: minmax(0, 2.5fr) minmax(0, 1.5fr) minmax(0, 1.5fr);
  gap: 32px;
  padding-bottom: 20px;
}

.footer-brand p {
  font-size: 13px;
  margin-top: 8px;
}

.footer-links h4,
.footer-contact h4 {
  font-size: 14px;
  margin-bottom: 10px;
  color: #e5e7eb;
}

.footer-links li {
  margin-bottom: 6px;
  font-size: 13px;
}

.footer-links a:hover {
  color: #22c55e;
}

.footer-contact p {
  font-size: 13px;
  margin-bottom: 4px;
}

.footer-bottom {
  border-top: 1px solid #111827;
  padding: 10px 0 16px;
  text-align: center;
  font-size: 12px;
  color: #6b7280;
}

@media (max-width: 960px) {
  .hero-inner,
  .highlight-inner {
    grid-template-columns: minmax(0, 1fr);
  }

  .hero-media {
    order: -1;
  }

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

  .grid-4 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 720px) {
  .header-inner {
    padding: 10px 0;
  }

  .nav-toggle {
    display: block;
  }

  .nav-list {
    position: absolute;
    top: 56px;
    right: 16px;
    flex-direction: column;
    gap: 0;
    background: #020617;
    border-radius: 12px;
    padding: 8px 0;
    min-width: 160px;
    display: none;
    box-shadow: 0 12px 32px rgba(15, 23, 42, 0.6);
  }

  .nav-list.nav-open {
    display: flex;
  }

  .nav-list li {
    padding: 4px 16px;
  }

  .hero {
    padding: 40px 0 40px;
  }

  .hero h1 {
    font-size: 26px;
  }

  .grid-2,
  .grid-3,
  .grid-4 {
    grid-template-columns: minmax(0, 1fr);
  }

  .footer-inner {
    grid-template-columns: minmax(0, 1fr);
  }

  .stats-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

