/* Mobiran ARchitecture — Landing Page Styles */

/* Scrollbar */
::-webkit-scrollbar { width: 6px; height: 6px; }
::-webkit-scrollbar-track { background: hsl(215, 14%, 12%); }
::-webkit-scrollbar-thumb { background: hsl(215, 14%, 22%); border-radius: 9999px; }
::-webkit-scrollbar-thumb:hover { background: hsl(215, 14%, 30%); }

/* Smooth scroll */
html { scroll-behavior: smooth; }

/* Hero canvas */
#network-canvas {
  pointer-events: none;
}

/* Hero title — glossy metallic text */
.hero-title-glossy {
  background: linear-gradient(
    170deg,
    hsl(210, 15%, 12%) 0%,
    hsl(210, 18%, 20%) 35%,
    hsl(210, 20%, 25%) 50%,
    hsl(210, 18%, 17%) 65%,
    hsl(210, 15%, 9%) 100%
  );
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* Product card — glossy shine effect */
.product-card {
  position: relative;
  overflow: hidden;
}

.product-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    120deg,
    transparent 30%,
    rgba(255, 255, 255, 0.02) 36%,
    rgba(255, 255, 255, 0.06) 42%,
    rgba(255, 255, 255, 0.02) 48%,
    transparent 54%
  );
  transition: left 0.7s ease;
  pointer-events: none;
  z-index: 1;
}

.product-card:hover::before {
  left: 100%;
}

/* Card hover glow */
.product-card {
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease, background-color 0.3s ease;
}

.product-card:hover {
  box-shadow:
    0 0 0 1px hsla(235, 86%, 65%, 0.12),
    0 8px 32px hsla(235, 86%, 65%, 0.08),
    0 2px 8px rgba(0, 0, 0, 0.3);
}

/* Icon container hover effect */
.product-card .icon-box {
  transition: box-shadow 0.3s ease, background-color 0.3s ease;
}

.product-card:hover .icon-box {
  box-shadow: 0 0 20px hsla(235, 86%, 65%, 0.15);
  background-color: hsl(220, 13%, 14%);
}

/* Fade-in animation */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.animate-fade-in-up {
  animation: fadeInUp 0.6s ease-out forwards;
  opacity: 0;
}

.delay-100 { animation-delay: 0.1s; }
.delay-200 { animation-delay: 0.2s; }
.delay-300 { animation-delay: 0.3s; }
.delay-400 { animation-delay: 0.4s; }
.delay-500 { animation-delay: 0.5s; }
.delay-600 { animation-delay: 0.6s; }

/* Footer link */
.footer-link {
  color: hsl(217.9, 10.6%, 54%);
  text-decoration: none;
  transition: color 0.2s ease;
}

.footer-link:hover {
  color: hsl(235, 86%, 65%);
}

/* Selection color */
::selection {
  background: hsla(235, 86%, 65%, 0.3);
  color: hsl(210, 20%, 94%);
}
