html { scroll-behavior: smooth; }
body { background-color: #0F172A; color: #e1e2ed; }

.tech-pattern {
  background-image: linear-gradient(to right, rgba(67, 70, 85, 0.1) 1px, transparent 1px), linear-gradient(to bottom, rgba(67, 70, 85, 0.1) 1px, transparent 1px);
  background-size: 40px 40px;
}

.glass-card { background: rgba(30, 41, 59, 0.7); backdrop-filter: blur(12px); border: 1px solid rgba(141, 144, 160, 0.1); }
.primary-gradient-text { background: linear-gradient(135deg, #2563eb, #38BDF8); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }
.glow-hover:hover { box-shadow: 0 0 20px rgba(56, 189, 248, 0.2); }
#mobile-menu:not(.open) { display:none; }
@media (min-width: 768px) { #mobile-menu { display:none !important; } }
.progress-track { background: rgba(141, 144, 160, 0.12); }
.progress-bar { transition: width 0.3s ease; }

.modal-img {
  position: fixed;
  inset: 0;
  display: none;
  align-items: center;
  justify-content: center;
  background: rgba(2, 6, 23, 0.85);
  z-index: 9999;
}

.modal-img.is-open {
  display: flex;
}

.modal-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  font-size: 42px;
  color: #fff;
  cursor: pointer;
  user-select: none;
  z-index: 10001;
}

#modal-prev { left: 24px; }
#modal-next { right: 24px; }

.modal-close {
  position: absolute;
  top: 20px;
  right: 24px;
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 0, 0, 0.9);
  border-radius: 999px;
  cursor: pointer;
  z-index: 10001;
  box-shadow: 0 0 15px rgba(255, 255, 255, 0.25);
}

.modal-img-content {
  max-width: 98vw;
  max-height: 98vh;
  border-radius: 8px;
  box-shadow: 0 0 40px rgba(0, 0, 0, 0.8);
}
