:root {
  --bg: #0b0d10;
  --bg-soft: #12161b;
  --text: #e9edf3;
  --muted: #9ba6b5;
  --primary: #66a5ff;
  --primary-soft: rgba(102, 165, 255, 0.18);
  --card-bg: rgba(23, 29, 36, 0.72);
  --border: rgba(138, 160, 186, 0.2);
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC",
    "Microsoft YaHei", sans-serif;
  color: var(--text);
  background: radial-gradient(circle at 20% 15%, #151a21, #0b0d10 50%);
  line-height: 1.6;
  overflow-x: hidden;
}

.container {
  width: min(1080px, 92%);
  margin: 0 auto;
}

.bg-glow {
  position: fixed;
  width: 360px;
  height: 360px;
  border-radius: 50%;
  filter: blur(90px);
  z-index: -2;
  pointer-events: none;
  opacity: 0.45;
}

.glow-a {
  background: #2058d4;
  top: -120px;
  left: -80px;
  animation: glowFloat 12s ease-in-out infinite;
}

.glow-b {
  background: #2f3d57;
  bottom: -120px;
  right: -60px;
  animation: glowFloat 15s ease-in-out infinite reverse;
}

#techCanvas {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
}

.site-header {
  background: rgba(8, 10, 13, 0.72);
  border-bottom: 1px solid var(--border);
  backdrop-filter: blur(10px);
  position: sticky;
  top: 0;
  z-index: 20;
}

.header-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  padding: 1rem 0;
}

.brand h1 {
  margin: 0;
  font-size: 1.3rem;
}

.brand p {
  margin: 0.2rem 0 0;
  font-size: 0.85rem;
  color: var(--muted);
}

.header-actions {
  display: flex;
  gap: 1rem;
  align-items: center;
}

.nav-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  gap: 1rem;
}

.nav-list a {
  text-decoration: none;
  color: var(--text);
  font-weight: 500;
  opacity: 0.92;
  transition: color 0.2s ease, opacity 0.2s ease;
}

.nav-list a:hover {
  color: var(--primary);
  opacity: 1;
}

.lang-toggle {
  border: 1px solid rgba(102, 165, 255, 0.45);
  background: linear-gradient(135deg, rgba(22, 29, 37, 0.95), rgba(34, 44, 55, 0.95));
  color: #d6e6ff;
  border-radius: 999px;
  padding: 0.35rem 0.8rem;
  cursor: pointer;
  font-weight: 600;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.lang-toggle:hover {
  transform: translateY(-1px);
  box-shadow: 0 8px 18px rgba(54, 117, 215, 0.35);
}

.hero {
  position: relative;
  padding: 5.2rem 0 3.6rem;
}

.hero-layout {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  align-items: center;
  gap: 1.8rem;
}

.hero-copy {
  position: relative;
  z-index: 2;
}

.hero h2 {
  margin: 0;
  font-size: clamp(1.6rem, 2.8vw, 2.2rem);
  text-shadow: 0 0 22px rgba(95, 150, 255, 0.25);
}

.hero p {
  margin-top: 0.8rem;
  max-width: 760px;
  color: var(--muted);
}

.hero-art {
  position: relative;
  z-index: 1;
  border: 1px solid rgba(139, 166, 201, 0.22);
  border-radius: 18px;
  background: linear-gradient(145deg, rgba(20, 27, 35, 0.75), rgba(13, 17, 22, 0.65));
  box-shadow: inset 0 0 24px rgba(101, 147, 220, 0.18), 0 18px 36px rgba(0, 0, 0, 0.32);
  padding: 0.55rem;
  overflow: hidden;
}

.hero-art::before {
  content: "";
  position: absolute;
  width: 180px;
  height: 180px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(126, 177, 255, 0.24), rgba(126, 177, 255, 0));
  top: -70px;
  right: -50px;
}

.hero-art svg {
  display: block;
  width: 100%;
  height: auto;
  animation: heroPulse 6.5s ease-in-out infinite;
}

.section {
  padding: 3rem 0;
}

.section-alt {
  background: rgba(11, 14, 18, 0.55);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.section h3 {
  margin-top: 0;
  font-size: 1.5rem;
  color: #f2f6fd;
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.1rem;
}

.card {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 1rem 1.1rem;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.28);
  position: relative;
  overflow: hidden;
  transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}

.card::before {
  content: "";
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(104, 165, 255, 0.12), transparent 55%);
  transform: translate(-25%, -15%);
  pointer-events: none;
}

.card:hover {
  transform: translateY(-4px);
  border-color: rgba(116, 176, 255, 0.5);
  box-shadow: 0 18px 36px rgba(0, 0, 0, 0.35);
}

.card h4 {
  margin-top: 0;
  margin-bottom: 0.45rem;
  color: #f0f5ff;
}

.ownership {
  margin-bottom: 0;
  color: var(--muted);
  font-size: 0.9rem;
}

.contact-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 0.6rem;
}

.contact-list li {
  background: rgba(19, 24, 31, 0.75);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 0.65rem 0.85rem;
}

.site-footer {
  padding: 1rem 0;
  border-top: 1px solid var(--border);
  background: rgba(8, 10, 13, 0.78);
  backdrop-filter: blur(8px);
}

.footer-inner {
  color: var(--muted);
  font-size: 0.9rem;
}

.section-reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.section-reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@keyframes glowFloat {
  0%,
  100% {
    transform: translate(0, 0);
  }
  50% {
    transform: translate(28px, -22px);
  }
}

@keyframes heroPulse {
  0%,
  100% {
    transform: scale(1);
    filter: drop-shadow(0 0 6px rgba(120, 175, 255, 0.18));
  }
  50% {
    transform: scale(1.015);
    filter: drop-shadow(0 0 12px rgba(120, 175, 255, 0.35));
  }
}

@media (max-width: 860px) {
  .hero-layout {
    grid-template-columns: 1fr;
    gap: 1.1rem;
  }

  .header-inner {
    flex-direction: column;
    align-items: flex-start;
  }

  .header-actions {
    width: 100%;
    justify-content: space-between;
  }

  .product-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 560px) {
  .nav-list {
    gap: 0.6rem;
    font-size: 0.92rem;
  }

  .hero {
    padding: 4rem 0 2.8rem;
  }
}
