@import url("https://fonts.googleapis.com/css2?family=Space+Grotesk:wght@400;500;600;700&family=Source+Han+Sans+CN:wght@400;500;600;700&display=swap");

:root {
  color-scheme: light;
  --bg: linear-gradient(135deg, #f4f8ff 0%, #eef3f9 50%, #e8eff7 100%);
  --card: #ffffff;
  --ink: #1a1a1a;
  --muted: #5b5b6b;
  --accent: #2f6fb3;
  --stroke: rgba(26, 26, 26, 0.12);
  --shadow: 0 25px 60px rgba(19, 28, 73, 0.12);
}

* {
  box-sizing: border-box;
}

body {
  font-family: 'Arial', "Helvetica YaHei", 'sans-serif';
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  -webkit-font-smoothing: antialiased;
}

.page {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.hero {
  padding: 36px 8vw 0px;
  position: relative;
  z-index: 1;
}

.hero h1 {
  font-size: clamp(32px, 4vw, 54px);
  line-height: 1.15;
  margin-bottom: 20px;
}

.hero h1 span {
  display: block;
  color: rgba(255, 255, 255, 0.85);
}

.hero h1 span[data-lang="en"]:first-child,
.hero h1 span[data-lang="zh"]:first-child {
  color: rgba(255, 255, 255, 0.85);
}

.hero-desc {
  color: var(--muted);
  max-width: 540px;
  margin-bottom: 30px;
}

.hero-actions {
  display: flex;
  gap: 16px;
  margin-bottom: 30px;
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 16px 20px;
  background: rgba(255, 255, 255, 0.7);
  border: 1px solid var(--stroke);
  border-radius: 18px;
  backdrop-filter: blur(12px);
  box-shadow: var(--shadow);
  flex-wrap: wrap;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-left: 20px;
}

.brand-logo {
  width: 150px;
  height: auto;
  display: block;
  object-fit: contain;
}

.brand-name {
  font-weight: 700;
  font-size: 18px;
  letter-spacing: 0.4px;
}

.brand-sub {
  font-size: 12px;
  color: var(--muted);
}

.nav-links {
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
}

.nav a {
  text-decoration: none;
  color: var(--ink);
  font-size: 14px;
  position: relative;
}

.nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -6px;
  width: 0;
  height: 2px;
  background: var(--accent);
  transition: width 0.3s ease;
}

.nav a:hover::after {
  width: 100%;
}

.nav-cta {
  background: var(--ink);
  color: #fff;
  border: none;
  border-radius: 999px;
  padding: 10px 18px;
  font-weight: 600;
  cursor: pointer;
}


.lang-toggle {
  display: flex;
  align-items: center;
  gap: 6px;
  background: rgba(255, 255, 255, 0.8);
  border: 1px solid var(--stroke);
  border-radius: 999px;
  padding: 4px;
}

.lang-toggle button {
  border: none;
  background: transparent;
  padding: 6px 10px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 600;
  color: var(--muted);
  cursor: pointer;
}

.lang-toggle button.active {
  background: var(--accent);
  color: #fff;
}

.hero-banner {
  padding: 60px 10vw 40px;
  background: linear-gradient(135deg, rgba(47, 111, 179, 0.9), rgba(39, 68, 120, 0.9));
  color: #fff;
  border-radius: 20px;
  margin: 32px  0;
  position: relative;
}

.hero-banner.minimal {
  border: none;
  box-shadow: none;
}

.hero-banner h1 {
  margin: 0;
  font-size: clamp(28px, 4vw, 42px);
}

.hero-banner p {
  max-width: 600px;
  margin-top: 12px;
  line-height: 1.6;
}

main {
  flex: 1;
  padding: 40px 8vw 60px;
}

.product-section {
  margin-bottom: 60px;
}

.section-header {
  display: flex;
  justify-content: space-between;
  margin-bottom: 32px;
  flex-wrap: wrap;
  gap: 12px;
}

.section-header p {
  text-transform: uppercase;
  letter-spacing: 1.4px;
  color: var(--accent);
  font-weight: 600;
  margin-bottom: 6px;
}

.section-header h2 {
  margin: 0;
  font-size: clamp(26px, 3vw, 36px);
}


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

.product-card {
  background: var(--card);
  border: 1px solid var(--stroke);
  border-radius: 18px;
  padding: 16px;
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: 12px;
  box-shadow: var(--shadow);
}

.product-card img {
  width: 100%;
  height: 120px;
  object-fit: contain;
}

.product-card h3 {
  margin: 0;
  font-size: 18px;
}

.product-card p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
}

.card-media img {
  width: 100%;
  max-width: 160px;
  height: 120px;
}

.footer {
  padding: 40px 6vw 60px;
  display: flex;
  justify-content: space-between;
  gap: 16px;
  background: rgba(255, 255, 255, 0.9);
  border-top: 1px solid var(--stroke);
  align-items: flex-start;
}

.footer-links {
  display: flex;
  gap: 16px;
}

.footer-links a {
  color: var(--ink);
  text-decoration: none;
  font-weight: 500;
}

.footer-copy {
  margin: 8px 0 0;
  font-size: 12px;
  color: var(--muted);
}

@media (max-width: 980px) {
  .nav {
    flex-direction: column;
    align-items: flex-start;
  }

  .nav-actions {
    width: 100%;
    flex-wrap: wrap;
    justify-content: space-between;
  }

  .nav-links {
    gap: 12px;
  }
}

@media (max-width: 720px) {
  .nav {
    gap: 12px;
  }

  .nav-links,
  .nav-actions {
    width: 100%;
    justify-content: space-between;
  }

  .footer {
    flex-direction: column;
  }
}
