:root {
  --blue-900: #1e3a8a;
  --blue-600: #2563eb;
  --cyan-400: #22d3ee;
  --text-900: #111827;
  --text-700: #374151;
  --text-600: #4b5563;
  --line: #e5e7eb;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--text-700);
  font-family: "PingFang SC", "Microsoft YaHei", "Segoe UI", Arial, sans-serif;
  background: #fff;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 64px;
  background: rgba(255, 255, 255, 0.95);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(6px);
  box-shadow: 0 1px 4px rgba(17, 24, 39, 0.06);
}

.logo {
  height: 40px;
}

.main-nav {
  display: flex;
  gap: 34px;
}

.main-nav a {
  color: var(--text-700);
  text-decoration: none;
  font-size: 16px;
}

.main-nav a:hover {
  color: var(--blue-600);
}

.hero {
  position: relative;
  min-height: 600px;
  overflow: hidden;
  padding: 96px 64px;
  display: flex;
  align-items: center;
}

.hero-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 52%;
}

.hero h1 {
  margin: 0 0 24px;
  font-size: 52px;
  line-height: 1.2;
  background: linear-gradient(90deg, #3b82f6, #22d3ee);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero p {
  margin: 0;
  font-size: 18px;
  line-height: 1.8;
}

.products,
.about {
  padding: 92px 64px;
  text-align: center;
}

.products h2,
.advantages h2,
.about h2 {
  margin: 0 0 18px;
  color: var(--text-900);
  font-size: 36px;
}

.products-desc,
.advantages-desc {
  margin: 0 auto 56px;
  max-width: 720px;
  color: var(--text-600);
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 36px;
  max-width: 860px;
  margin: 0 auto;
}

.card {
  padding: 40px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 18px;
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.card:hover {
  transform: translateY(-8px);
  border-color: #bfdbfe;
  box-shadow: 0 12px 30px rgba(59, 130, 246, 0.12);
}

.icon-wrap {
  width: 60px;
  height: 60px;
  margin: 0 auto 18px;
  border-radius: 14px;
  background: linear-gradient(90deg, #3b82f6, #22d3ee);
  display: flex;
  align-items: center;
  justify-content: center;
}

.icon-wrap span {
  display: inline-block;
  width: 20px;
  height: 20px;
  color: #fff;
  background-size: cover;
  background-repeat: no-repeat;
}

.icon-wrap .icon_zap {
  background-image: url("../assets/icon_zap.png");
}
.icon-wrap .icon_film {
  background-image: url("../assets/icon_film.png");
}
.icon-wrap .icon_bot {
  background-image: url("../assets/icon_bot.png");
}
.icon-wrap .icon_cpu {
  background-image: url("../assets/icon_cpu.png");
}

.card h3 {
  margin: 0 0 12px;
  color: var(--blue-900);
}

.card p,
.adv-card p,
.about p {
  margin: 0;
  color: var(--text-600);
  line-height: 1.8;
}

.advantages {
  padding: 92px 64px;
  background: linear-gradient(135deg, #f9fafb, #eff6ff);
  text-align: center;
}

.adv-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 36px;
}

.adv-card {
  width: 340px;
  padding: 36px;
  background: #fff;
  border-radius: 16px;
  border-left: 4px solid #06b6d4;
  text-align: left;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.04);
}

.adv-card h4 {
  margin: 0 0 10px;
  color: var(--blue-900);
}

.about p {
  max-width: 920px;
  margin: 0 auto;
}

.site-footer {
  margin-top: 20px;
  padding: 44px 20px;
  text-align: center;
  color: #fff;
  background: linear-gradient(135deg, #1e3a8a, #0e7490);
}


@media (max-width: 1024px) {
  .site-header,
  .hero,
  .products,
  .advantages,
  .about {
    padding-left: 24px;
    padding-right: 24px;
  }

  .hero-content {
    max-width: 70%;
  }

  .hero h1 {
    font-size: 42px;
  }
}

@media (max-width: 768px) {
  .site-header {
    flex-direction: column;
    gap: 14px;
  }

  .main-nav {
    flex-wrap: wrap;
    justify-content: center;
    gap: 16px;
  }

  .hero {
    min-height: 460px;
    padding-top: 68px;
    padding-bottom: 68px;
  }

  .hero-content {
    max-width: 100%;
  }

  .hero h1 {
    font-size: 34px;
  }

  .product-grid {
    grid-template-columns: 1fr;
  }
}
