html { scroll-behavior: smooth; }
body { background-color: #07090c; }

/* ---------- Background FX ---------- */
.circuit-bg {
  background-image:
    linear-gradient(rgba(34,230,255,0.35) 1px, transparent 1px),
    linear-gradient(90deg, rgba(34,230,255,0.35) 1px, transparent 1px);
  background-size: 46px 46px;
  mask-image: radial-gradient(ellipse 80% 60% at 50% 30%, black 40%, transparent 90%);
  animation: circuitDrift 26s linear infinite;
}
@keyframes circuitDrift {
  0% { background-position: 0 0, 0 0; }
  100% { background-position: 92px 46px, 46px 92px; }
}

.grid-overlay {
  background-image: radial-gradient(rgba(232,255,46,0.10) 1px, transparent 1px);
  background-size: 28px 28px;
}

.glow-orb {
  position: absolute;
  border-radius: 9999px;
  filter: blur(90px);
  opacity: 0.22;
  pointer-events: none;
}
.glow-orb-1 {
  width: 480px; height: 480px;
  top: -120px; left: -100px;
  background: #e8ff2e;
  animation: floatOrb 14s ease-in-out infinite;
}
.glow-orb-2 {
  width: 520px; height: 520px;
  bottom: -160px; right: -140px;
  background: #22e6ff;
  animation: floatOrb 18s ease-in-out infinite reverse;
}
@keyframes floatOrb {
  0%, 100% { transform: translate(0,0); }
  50% { transform: translate(40px, -30px); }
}

/* ---------- Splash Screen ---------- */
#splash {
  transition: opacity 0.7s ease, visibility 0.7s ease;
}
#splash.splash-hide {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.bolt-wrap { animation: boltPulse 1.4s ease-in-out infinite; }
.bolt-svg { filter: drop-shadow(0 0 12px #e8ff2e) drop-shadow(0 0 30px rgba(232,255,46,0.6)); }
@keyframes boltPulse {
  0%, 100% { transform: scale(1); filter: drop-shadow(0 0 8px rgba(232,255,46,0.6)); }
  50% { transform: scale(1.15); filter: drop-shadow(0 0 22px rgba(232,255,46,0.95)); }
}

.splash-title { font-family: 'Inter', sans-serif; }
.glow-text-anim {
  color: #22e6ff;
  text-shadow: 0 0 8px rgba(34,230,255,0.7), 0 0 22px rgba(34,230,255,0.5);
  animation: neonFlicker 2.6s infinite;
}
@keyframes neonFlicker {
  0%, 19%, 21%, 23%, 54%, 56%, 100% {
    text-shadow: 0 0 8px rgba(34,230,255,0.85), 0 0 22px rgba(34,230,255,0.6), 0 0 46px rgba(34,230,255,0.35);
    opacity: 1;
  }
  20%, 22%, 55% { text-shadow: none; opacity: 0.65; }
}

.loader-bar {
  width: 220px; height: 3px;
  background: rgba(255,255,255,0.08);
  border-radius: 999px;
  overflow: hidden;
}
.loader-bar span {
  display: block; height: 100%; width: 0%;
  background: linear-gradient(90deg, #e8ff2e, #22e6ff);
  box-shadow: 0 0 10px rgba(232,255,46,0.7);
  animation: loadFill 3.4s ease forwards;
}
@keyframes loadFill { to { width: 100%; } }

/* ---------- Header ---------- */
#site-header { background: rgba(7,9,12,0.55); backdrop-filter: blur(0px); }
#site-header.scrolled { background: rgba(7,9,12,0.88); backdrop-filter: blur(14px); box-shadow: 0 4px 30px rgba(0,0,0,0.4); }

.nav-link { position: relative; color: #cbd5e1; transition: color .2s ease; }
.nav-link::after {
  content: ''; position: absolute; left: 0; bottom: -6px; width: 0; height: 2px;
  background: linear-gradient(90deg, #e8ff2e, #22e6ff);
  transition: width .25s ease;
}
.nav-link:hover { color: #fff; }
.nav-link:hover::after { width: 100%; }
.nav-link.active { color: #e8ff2e; }

.mobile-link { display: block; padding: 0.7rem 0.5rem; color: #cbd5e1; border-radius: 0.5rem; }
.mobile-link:hover { color: #e8ff2e; background: rgba(255,255,255,0.03); }

/* ---------- Hero ---------- */
.glow-text { text-shadow: 0 0 16px rgba(232,255,46,0.55), 0 0 44px rgba(232,255,46,0.25); }
.cta-btn { position: relative; }
.scroll-cue { animation: bounceY 2s ease-in-out infinite; }
@keyframes bounceY { 0%,100% { transform: translate(-50%,0); } 50% { transform: translate(-50%,8px); } }

/* ---------- Reveal on scroll ---------- */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s ease, transform .7s ease; }
.reveal.in-view { opacity: 1; transform: translateY(0); }

/* ---------- Service Cards ---------- */
.service-card {
  background: linear-gradient(180deg, #11161d 0%, #0d1117 100%);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: 1rem;
  padding: 1.75rem;
  display: flex;
  flex-direction: column;
  transition: border-color .25s ease, transform .25s ease, box-shadow .25s ease;
}
.service-card:hover {
  border-color: rgba(232,255,46,0.35);
  transform: translateY(-4px);
  box-shadow: 0 10px 40px rgba(0,0,0,0.45), 0 0 0 1px rgba(34,230,255,0.08);
}
.service-icon {
  width: 3rem; height: 3rem; border-radius: 0.75rem;
  display: flex; align-items: center; justify-content: center;
  background: rgba(232,255,46,0.08);
  border: 1px solid rgba(232,255,46,0.25);
  margin-bottom: 1.1rem;
}
.service-toggle {
  margin-top: auto;
  padding-top: 1rem;
  display: inline-flex; align-items: center; gap: 0.4rem;
  color: #22e6ff; font-weight: 700; font-size: 0.82rem;
  letter-spacing: .04em; text-transform: uppercase;
  cursor: pointer; user-select: none;
  width: fit-content;
}
.service-toggle svg { transition: transform .3s ease; }
.service-toggle.open svg { transform: rotate(180deg); }

.service-detail {
  max-height: 0;
  overflow: hidden;
  transition: max-height .5s cubic-bezier(0.4,0,0.2,1), opacity .4s ease, margin-top .4s ease;
  opacity: 0;
}
.service-detail.open {
  opacity: 1;
  margin-top: 1rem;
}
.service-detail ul { display: flex; flex-direction: column; gap: 0.65rem; }
.service-detail li { font-size: 0.875rem; color: #94a3b8; line-height: 1.5; padding-left: 1.1rem; position: relative; }
.service-detail li::before {
  content: ''; position: absolute; left: 0; top: 0.5em; width: 6px; height: 6px;
  background: #e8ff2e; border-radius: 999px; box-shadow: 0 0 6px rgba(232,255,46,0.7);
}
.service-detail li strong { color: #e2e8f0; }

/* ---------- Gallery ---------- */
.gallery-tile {
  position: relative; display: block; border-radius: 1rem; overflow: hidden;
  aspect-ratio: 1/1; border: 1px solid rgba(255,255,255,0.08);
}
.gallery-tile img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.gallery-tile:hover img { transform: scale(1.08); }
.tile-overlay {
  position: absolute; inset: 0; background: rgba(7,9,12,0.55);
  display: flex; align-items: center; justify-content: center;
  opacity: 0; transition: opacity .3s ease;
}
.gallery-tile:hover .tile-overlay { opacity: 1; }

/* ---------- Reviews ---------- */
.review-card {
  background: linear-gradient(180deg, #11161d 0%, #0d1117 100%);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: 1rem; padding: 1.75rem;
}
.stars { color: #FFC107; letter-spacing: 2px; }

/* ---------- Contact ---------- */
.info-card {
  display: flex; gap: 1rem; align-items: flex-start;
  background: #0d1117; border: 1px solid rgba(255,255,255,0.06);
  border-radius: 1rem; padding: 1.1rem 1.3rem;
}
.form-card {
  background: linear-gradient(180deg, #11161d 0%, #0d1117 100%);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: 1.25rem; padding: 1.75rem;
}
.form-label { display: block; font-size: 0.8rem; font-weight: 600; color: #94a3b8; margin-bottom: 0.4rem; text-transform: uppercase; letter-spacing: .03em; }
.form-input {
  width: 100%; background: #07090c; border: 1px solid rgba(255,255,255,0.1);
  border-radius: 0.65rem; padding: 0.75rem 1rem; color: #e2e8f0; font-size: 0.9rem;
  transition: border-color .2s ease, box-shadow .2s ease;
}
.form-input:focus {
  outline: none; border-color: #22e6ff; box-shadow: 0 0 0 3px rgba(34,230,255,0.15);
}
select.form-input { color: #e2e8f0; }
select.form-input option { background: #0d1117; }

/* Scrollbar */
::-webkit-scrollbar { width: 10px; }
::-webkit-scrollbar-track { background: #07090c; }
::-webkit-scrollbar-thumb { background: #1f2937; border-radius: 999px; }
::-webkit-scrollbar-thumb:hover { background: #334155; }

@media (prefers-reduced-motion: reduce) {
  * { animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; transition-duration: 0.001ms !important; }
}
