: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;
}

.page {
  padding-top: var(--nibiru-header-height, 72px);
}

.banner {
  position: relative;
  overflow: hidden;
  background: #0b1628;
}

.banner-viewport {
  position: relative;
  width: 100%;
  aspect-ratio: 1920 / 720;
  min-height: 280px;
  overflow: hidden;
}

.banner-track {
  display: flex;
  height: 100%;
  width: 100%;
  transition: transform 0.6s ease;
  will-change: transform;
}

.banner-slide {
  position: relative;
  flex: 0 0 100%;
  width: 100%;
  height: 100%;
}

.banner-link {
  position: relative;
  display: block;
  width: 100%;
  height: 100%;
  text-decoration: none;
  color: inherit;
  cursor: pointer;
}

.banner-slide img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.banner-copy {
  position: absolute;
  z-index: 1;
  top: 50%;
  left: clamp(40px, 6.25vw, 120px);
  width: min(38vw, 720px);
  display: flex;
  flex-direction: column;
  transform: translateY(-50%);
  color: #fff;
  text-shadow: 0 4px 10px rgba(0, 5, 25, 0.7);
}

.banner-copy::before {
  width: 62px;
  height: 5px;
  margin-bottom: 26px;
  border-radius: 999px;
  background: #35d8ff;
  content: '';
}

.banner-copy__title {
  font-size: clamp(42px, 3.35vw, 64px);
  font-weight: 700;
  line-height: 1.2;
}

.banner-copy__subtitle {
  margin-top: 20px;
  color: #dceaff;
  font-size: clamp(24px, 1.88vw, 36px);
  font-weight: 500;
  line-height: 1.45;
}

.banner-copy__detail {
  margin-top: 24px;
  padding-top: 24px;
  border-top: 1px solid rgba(140, 221, 255, 0.38);
  color: #99dfff;
  font-size: clamp(16px, 1.25vw, 24px);
  line-height: 1.5;
}

.banner-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #1e3a8a, #0e7490);
  color: rgba(255, 255, 255, 0.85);
  font-size: 28px;
  letter-spacing: 2px;
}

.banner-nav {
  position: absolute;
  top: 50%;
  z-index: 3;
  transform: translateY(-50%);
  width: 40px;
  height: 40px;
  border: none;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.2);
  color: #fff;
  cursor: pointer;
  font-size: 22px;
  line-height: 1;
  backdrop-filter: blur(4px);
}

.banner-nav:hover {
  background: rgba(255, 255, 255, 0.35);
}

.banner-nav.prev {
  left: 16px;
}

.banner-nav.next {
  right: 16px;
}

.banner-dots {
  position: absolute;
  left: 50%;
  bottom: 18px;
  z-index: 3;
  transform: translateX(-50%);
  display: flex;
  gap: 8px;
}

.banner-dot {
  width: 8px;
  height: 8px;
  border: none;
  border-radius: 50%;
  padding: 0;
  background: rgba(255, 255, 255, 0.45);
  cursor: pointer;
}

.banner-dot.is-active {
  background: #fff;
  transform: scale(1.2);
}

.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;
  text-decoration: none;
  color: inherit;
  display: block;
  cursor: pointer;
}

.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("../img/index/icon_zap.png");
}
.icon-wrap .icon_film {
  background-image: url("../img/index/icon_film.png");
}
.icon-wrap .icon_bot {
  background-image: url("../img/index/icon_bot.png");
}
.icon-wrap .icon_cpu {
  background-image: url("../img/index/icon_cpu.png");
}

.card h3 {
  margin: 0 0 12px;
  color: var(--blue-900);
}

.card:hover h3 {
  color: #2d8cf0;
}

.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) {
  .products,
  .advantages,
  .about {
    padding-left: 24px;
    padding-right: 24px;
  }

  .banner-nav {
    width: 34px;
    height: 34px;
    font-size: 18px;
  }
}

@media (max-width: 768px) {
  .banner-copy {
    left: 24px;
    width: min(78vw, 440px);
  }

  .banner-copy::before {
    width: 42px;
    height: 4px;
    margin-bottom: 16px;
  }

  .banner-copy__title {
    font-size: 32px;
  }

  .banner-copy__subtitle {
    margin-top: 10px;
    font-size: 18px;
  }

  .banner-copy__detail {
    margin-top: 14px;
    padding-top: 14px;
    font-size: 13px;
  }

  .banner-placeholder {
    font-size: 18px;
  }

  .product-grid {
    grid-template-columns: 1fr;
  }
}
