/* ═══════════════════════════════════════════════════
   HERO — Isometric Canvas Animation
   softline-theme / assets/css/hero.css
   ═══════════════════════════════════════════════════ */

.hero-network-hero {
  position: relative;
  overflow: hidden;
  min-height: clamp(430px, 61vh, 580px);
  display: flex;
  align-items: center;
  background:
    radial-gradient(circle at 72% 55%, rgba(30,120,235,.24) 0%, transparent 28%),
    radial-gradient(circle at 86% 70%, rgba(0,200,255,.11) 0%, transparent 22%),
    linear-gradient(180deg, #03101c 0%, #061a2d 100%);
}

.hero-network-hero .container {
  position: relative;
  z-index: 3;
  padding-top: 34px;
  padding-bottom: 42px;
}

.hero-network-hero .hero-inner {
  display: grid;
  grid-template-columns: minmax(300px, 500px) 1fr;
  align-items: center;
  gap: 42px;
  min-height: 0;
}

.hero-copy {
  position: relative;
  z-index: 4;
  max-width: 500px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.hero-network-hero .hero-badge {
  display: inline-flex;
  align-items: center;
  align-self: flex-start;
  gap: 8px;
  min-height: 30px;
  padding: 6px 14px;
  margin-bottom: 16px;
  border: 1px solid rgba(0,187,255,.24);
  border-radius: 999px;
  background: rgba(0,170,255,.07);
  color: #7fd8ff;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .08em;
  line-height: 1;
}

.hero-network-hero .hero-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #18cfff;
  flex-shrink: 0;
  box-shadow: 0 0 6px rgba(24,207,255,.92), 0 0 14px rgba(24,207,255,.38);
  animation: dotPulse 3.2s ease-in-out infinite;
}

.hero-title {
  margin: 0 0 14px;
  color: #f4fbff;
  font-size: clamp(26px, 2.95vw, 50px);
  line-height: 1.02;
  font-weight: 800;
  letter-spacing: -.04em;
  text-wrap: balance;
  font-family: var(--font-h);
}

.hero-title .accent {
  background: linear-gradient(90deg, #23cfff 0%, #53a7ff 45%, #847cff 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero-text {
  max-width: 430px;
  margin: 0 0 24px;
  color: #8ea8be;
  font-size: 15px;
  line-height: 1.68;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.hero-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 24px;
  border-radius: 10px;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  border: none;
  font-family: var(--font-b);
  text-decoration: none;
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease, background .2s ease;
}

.hero-btn-primary {
  color: #fff;
  background: linear-gradient(180deg, #31bcff 0%, #1095f0 100%);
  box-shadow: 0 8px 26px rgba(0,145,255,.24), inset 0 1px 0 rgba(255,255,255,.18);
}

.hero-btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 32px rgba(0,145,255,.32);
  color: #fff;
}

.hero-btn-secondary {
  color: #b8d4ea;
  background: rgba(9,23,40,.52);
  border: 1px solid rgba(100,145,180,.38);
}

.hero-btn-secondary:hover {
  transform: translateY(-2px);
  border-color: rgba(66,193,255,.58);
  color: #eef8ff;
  background: rgba(12,30,50,.74);
}

.hero-visual {
  position: relative;
  min-height: 455px;
  height: 455px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-illustration-svg {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
  animation: heroFloat 6s ease-in-out infinite;
  will-change: transform;
}

@keyframes heroFloat {
  0%, 100% { transform: translateY(0); }
  50%       { transform: translateY(-10px); }
}

.hero-network-bg {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
}

.hero-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(0,158,255,.032) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0,158,255,.032) 1px, transparent 1px);
  background-size: 60px 60px;
  opacity: .48;
  mask-image: radial-gradient(circle at 77% 58%, rgba(0,0,0,1) 0%, rgba(0,0,0,.56) 52%, transparent 100%);
}

.hero-glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(64px);
}

.hero-glow-1 {
  width: 640px;
  height: 640px;
  right: 1%;
  top: -9%;
  background: radial-gradient(circle, rgba(0,176,255,.22) 0%, transparent 68%);
}

.hero-glow-2 {
  width: 470px;
  height: 470px;
  right: 14%;
  bottom: -13%;
  background: radial-gradient(circle, rgba(110,120,255,.14) 0%, transparent 72%);
}

.hero-glow-3 {
  width: 310px;
  height: 310px;
  right: 31%;
  top: 25%;
  background: radial-gradient(circle, rgba(0,210,255,.09) 0%, transparent 75%);
}

@keyframes dotPulse {
  0%, 100% { opacity: .72; transform: scale(1); }
  50% { opacity: 1; transform: scale(1.2); }
}

@media (max-width: 1100px) {
  .hero-visual {
    min-height: 390px;
    height: 390px;
  }
}

@media (max-width: 991px) {
  .hero-network-hero {
    min-height: auto;
  }

  .hero-network-hero .container {
    padding-top: 36px;
    padding-bottom: 44px;
  }

  .hero-network-hero .hero-inner {
    grid-template-columns: 1fr;
    align-items: stretch;
    gap: 28px;
  }

  .hero-copy {
    max-width: 640px;
    text-align: center;
    margin: 0 auto;
  }

  .hero-text {
    margin-left: auto;
    margin-right: auto;
  }

  .hero-actions {
    justify-content: center;
  }

  .hero-visual {
    min-height: 330px;
    height: 330px;
  }
}

@media (max-width: 767px) {
  .hero-network-hero .container {
    padding-top: 24px;
    padding-bottom: 36px;
  }

  .hero-title {
    font-size: clamp(22px, 8vw, 36px);
    margin-bottom: 12px;
  }

  .hero-text {
    font-size: 14px;
    margin-bottom: 20px;
  }

  .hero-actions {
    flex-direction: column;
  }

  .hero-btn {
    width: 100%;
    min-height: 44px;
  }

  .hero-visual {
    min-height: 250px;
    height: 250px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .hero-dot {
    animation: none !important;
  }
}