/* Techclick homepage living-network backdrop — 2026-07-16.
   A code-native, video-like hero atmosphere with no media download. */

.hero {
  isolation: isolate;
  background:
    radial-gradient(62% 72% at 8% 40%, rgba(255, 107, 43, .16), transparent 70%),
    radial-gradient(66% 82% at 96% 34%, rgba(36, 142, 255, .14), transparent 68%),
    linear-gradient(112deg, #090706 0%, #07090c 49%, #06101a 100%) !important;
}

.hero::before {
  z-index: 0;
  background:
    linear-gradient(90deg, rgba(6, 7, 9, .18), rgba(5, 7, 10, .02) 52%, rgba(4, 10, 16, .08)),
    radial-gradient(82% 92% at 50% 46%, transparent 45%, rgba(3, 4, 6, .62) 100%) !important;
  filter: none !important;
}

.tc-living-network {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  pointer-events: none;
  contain: strict;
}

.tc-living-network::before,
.tc-living-network::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.tc-living-network::before {
  background:
    radial-gradient(46% 64% at -4% 48%, rgba(255, 115, 48, .24), transparent 72%),
    radial-gradient(48% 72% at 104% 46%, rgba(27, 135, 255, .22), transparent 72%);
  mix-blend-mode: screen;
  opacity: .78;
}

.tc-living-network::after {
  background:
    linear-gradient(90deg, rgba(5, 6, 8, .14) 0%, rgba(5, 7, 10, .42) 47%, rgba(4, 8, 13, .08) 100%),
    linear-gradient(180deg, rgba(4, 5, 7, .08), transparent 24%, transparent 72%, rgba(4, 5, 7, .58));
}

.tc-living-network__canvas {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  opacity: .94;
  transform: translate3d(var(--tc-net-x, 0), var(--tc-net-y, 0), 0) scale(1.035);
  transform-origin: center;
  transition: transform 1.8s cubic-bezier(.16, 1, .3, 1);
}

.tc-living-network__perspective {
  position: absolute;
  left: -10%;
  right: -10%;
  bottom: -34%;
  height: 66%;
  opacity: .44;
  transform: perspective(540px) rotateX(64deg);
  transform-origin: center bottom;
  background-image:
    linear-gradient(rgba(116, 170, 219, .12) 1px, transparent 1px),
    linear-gradient(90deg, rgba(116, 170, 219, .11) 1px, transparent 1px);
  background-size: 68px 44px;
  -webkit-mask-image: radial-gradient(80% 86% at 50% 72%, #000 0%, transparent 74%);
          mask-image: radial-gradient(80% 86% at 50% 72%, #000 0%, transparent 74%);
}

.tc-living-network__scan {
  position: absolute;
  top: -28%;
  bottom: -28%;
  left: -14%;
  width: 24%;
  opacity: 0;
  transform: skewX(-13deg);
  background: linear-gradient(90deg, transparent, rgba(106, 190, 255, .055), transparent);
  animation: tc-network-scan 12s ease-in-out 2.2s infinite;
}

.hero > .hero-grid {
  z-index: 1;
  opacity: .38;
  background-image:
    linear-gradient(rgba(126, 164, 201, .045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(126, 164, 201, .04) 1px, transparent 1px) !important;
  background-size: 64px 64px !important;
  -webkit-mask-image: linear-gradient(90deg, rgba(0, 0, 0, .75), rgba(0, 0, 0, .18) 48%, rgba(0, 0, 0, .52));
          mask-image: linear-gradient(90deg, rgba(0, 0, 0, .75), rgba(0, 0, 0, .18) 48%, rgba(0, 0, 0, .52));
}

.hero > .ember-field {
  z-index: 2;
  opacity: .42;
}

.hero > .container {
  position: relative;
  z-index: 3;
}

.hero-text {
  text-shadow: 0 2px 22px rgba(0, 0, 0, .34);
}

.mentor-shot-card {
  box-shadow:
    0 36px 86px -30px rgba(0, 0, 0, .86),
    0 0 0 1px rgba(122, 181, 238, .06),
    -24px 12px 76px -48px rgba(255, 121, 57, .62),
    30px 4px 80px -52px rgba(45, 146, 255, .68) !important;
}

@keyframes tc-network-scan {
  0%, 12% { left: -24%; opacity: 0; }
  22% { opacity: 1; }
  72% { opacity: .65; }
  86%, 100% { left: 112%; opacity: 0; }
}

html[data-theme="light"] .hero {
  background:
    radial-gradient(64% 76% at 4% 42%, rgba(246, 111, 39, .14), transparent 70%),
    radial-gradient(70% 86% at 100% 36%, rgba(43, 132, 214, .12), transparent 72%),
    linear-gradient(112deg, #fffdf9 0%, #f5f3ee 50%, #eef6fb 100%) !important;
}

html[data-theme="light"] .tc-living-network {
  opacity: .72;
}

html[data-theme="light"] .tc-living-network::after {
  background:
    linear-gradient(90deg, rgba(255, 253, 249, .38), rgba(248, 248, 245, .6) 48%, rgba(239, 247, 252, .28)),
    linear-gradient(180deg, rgba(255, 255, 255, .24), transparent 26%, transparent 72%, rgba(242, 240, 235, .62));
}

html[data-theme="light"] .hero > .hero-grid {
  opacity: .42;
  background-image:
    linear-gradient(rgba(38, 77, 105, .055) 1px, transparent 1px),
    linear-gradient(90deg, rgba(38, 77, 105, .05) 1px, transparent 1px) !important;
}

html[data-theme="light"] .hero-text {
  text-shadow: none;
}

@media (max-width: 920px) {
  .tc-living-network__canvas { opacity: .7; }
  .tc-living-network__perspective { opacity: .2; bottom: -24%; }
  .tc-living-network::after {
    background:
      linear-gradient(180deg, rgba(4, 6, 8, .12), rgba(4, 6, 8, .3) 48%, rgba(4, 6, 8, .66)),
      linear-gradient(90deg, rgba(4, 6, 8, .22), transparent 44%, rgba(4, 8, 13, .12));
  }
}

@media (max-width: 640px) {
  .tc-living-network__canvas { opacity: .58; }
  .tc-living-network__perspective { display: none; }
  .tc-living-network__scan { width: 42%; animation-duration: 15s; }
  .hero > .ember-field { opacity: .26; }
}

@media (prefers-reduced-motion: reduce) {
  .tc-living-network__canvas { transform: none !important; transition: none; }
  .tc-living-network__scan { display: none; animation: none; }
}

@media (forced-colors: active) {
  .tc-living-network { display: none; }
}
