:root {
  --bg: #0f1118;
  --panel: #141824;
  --muted: #f5f6f8;
  --primary: #ed1c24;
  --primary-dark: #c11219;
  --text: #131722;
  --text-light: #4a5260;
  --border: #e1e4ec;
  --card: #ffffff;
  --radius: 12px;
  --shadow: 0 18px 40px rgba(0, 0, 0, 0.12);
  font-family: "Noto Sans SC", "Microsoft YaHei", "Segoe UI", Arial, sans-serif;
}

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

body {
  margin: 0;
  color: var(--text);
  background: #ffffff;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

.container {
  width: min(1100px, 92vw);
  margin: 0 auto;
}

.flex-between {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
}

.topbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 10;
  background: linear-gradient(90deg, rgba(15, 17, 24, 0.96), rgba(20, 24, 36, 0.96));
  color: #fff;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(8px);
}

.topbar--solid {
  background: #0f1522;
}

.topbar .container {
  padding: 12px 0;
}

.brand__name {
  font-weight: 800;
  letter-spacing: 0.6px;
  font-size: 34px;
}

.brand__tagline {
  font-size: 14px;
  opacity: 0.85;
}

.brand {
  display: flex;
  align-items: center;
  gap: 8px;
  text-align: left;
}

.brand__text {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.brand__logo {
  width: 44px;
  height: 44px;
  border-radius: 8px;
  background: #fff;
  padding: 6px;
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.16);
}

.nav a {
  color: #dce6ff;
  text-decoration: none;
  margin-left: 18px;
  font-weight: 700;
  font-size: 15px;
  transition: color 0.2s ease;
}

.nav a:hover,
.nav a.active {
  color: #fff;
}

.hero {
  position: relative;
  background: linear-gradient(120deg, #0f1118 0%, #161b2a 60%, #1c1f2e 100%);
  color: #fff;
  padding: 140px 0 120px;
  overflow: hidden;
}

.hero__overlay {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 18% 25%, rgba(237, 28, 36, 0.16), transparent 45%),
    radial-gradient(circle at 78% 10%, rgba(237, 28, 36, 0.24), transparent 40%),
    radial-gradient(circle at 52% 80%, rgba(255, 255, 255, 0.06), transparent 35%);
  z-index: 0;
}

.hero__content {
  position: relative;
  z-index: 1;
}

.hero h1 {
  font-size: clamp(28px, 5vw, 40px);
  margin: 12px 0 10px;
  line-height: 1.2;
}

.lede {
  color: rgba(255, 255, 255, 0.86);
  max-width: 700px;
}

.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.2em;
  font-size: 24px;
  color: #d20210;
  margin: 0;
}

.hero__actions {
  display: flex;
  gap: 12px;
  margin: 24px 0 18px;
  flex-wrap: wrap;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 18px;
  border-radius: 10px;
  text-decoration: none;
  font-weight: 700;
  font-size: 14px;
  transition: transform 0.15s ease, box-shadow 0.2s ease, background 0.2s ease, color 0.2s ease;
  border: 1px solid transparent;
}

.btn.primary {
  background: linear-gradient(120deg, var(--primary), var(--primary-dark));
  color: #fff;
  box-shadow: 0 16px 40px rgba(237, 28, 36, 0.35);
}

.btn.ghost {
  border-color: rgba(255, 255, 255, 0.28);
  color: #fff;
  background: rgba(255, 255, 255, 0.05);
}

.section .btn.ghost {
  color: var(--primary);
  border-color: var(--primary);
  background: transparent;
}

.btn:hover {
  transform: translateY(-1px);
}

.hero .stats {
  margin-top: 26px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 12px;
}

.stat__value {
  font-size: 28px;
  font-weight: 800;
}

.stat__label {
  color: rgba(255, 255, 255, 0.75);
}

.section {
  padding: 100px 0;
}

.section--muted {
  background: var(--muted);
}

.section__header {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  align-items: flex-end;
  flex-wrap: wrap;
  margin-bottom: 32px;
}

.section__header h2,
.section__header h1 {
  margin: 8px 0;
  color: #0d1118;
}

.grid-2 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 28px;
  align-items: start;
}

h2 {
  font-size: 26px;
}

.card-list {
  display: grid;
  gap: 18px;
}

.card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 20px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.04);
}

.card h3 {
  margin-top: 0;
}

.card ul {
  padding-left: 18px;
  margin: 10px 0 0;
  color: var(--text-light);
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 16px;
}

.product {
  background: #fff;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  overflow: hidden;
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.06);
  display: flex;
  flex-direction: column;
}

.product img {
  width: 100%;
  height: 160px;
  object-fit: cover;
  background: #eef1f6;
}

.product1 {
  background: #fff;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  overflow: hidden;
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.06);
  display: flex;
  flex-direction: column;
}

.product1 img {
  width: 100%;
  object-fit: cover;
  background: #eef1f6;
}

.product__body {
  padding: 12px 14px 14px;
}

.product__name {
  font-weight: 700;
  margin: 0;
}

.contact-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 20px;
  display: grid;
  gap: 10px;
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.06);
}

.contact-row {
  display: flex;
  gap: 10px;
  align-items: baseline;
}

.contact-row .label {
  min-width: 72px;
  color: var(--text-light);
  font-weight: 600;
}

.footer {
  background: #0f1522;
  color: #dce6ff;
  padding: 24px 0;
}

.footer__nav a {
  color: #dce6ff;
  text-decoration: none;
  margin-left: 14px;
  font-weight: 600;
  font-size: 14px;
}

@media (max-width: 768px) {
  .topbar .container {
    flex-direction: column;
    align-items: flex-start;
  }
  .nav {
    display: flex;
    width: 100%;
    flex-wrap: wrap;
    gap: 12px;
  }
  .nav a {
    margin: 0;
  }
  .hero {
    padding-top: 120px;
  }
}
