/* ==========================================================================
   SHILPAVEDA ENGINEERING — 3D INTERACTION & ANIMATION SYSTEM
   ========================================================================== */

/* 3D Perspective Containers */
.perspective-container {
  perspective: 1200px;
  transform-style: preserve-3d;
}

.tilt-card {
  transition: transform 0.25s cubic-bezier(0.2, 0.8, 0.4, 1), box-shadow 0.25s ease;
  transform-style: preserve-3d;
  will-change: transform;
}

/* Structural Wireframe Overlay */
.wireframe-cube {
  position: relative;
  width: 100%;
  height: 100%;
  transform-style: preserve-3d;
}

/* Blueprint Line Drawing Glow */
.blueprint-line-glow {
  filter: drop-shadow(0 0 6px rgba(188, 232, 245, 0.6));
}

.accent-line-glow {
  filter: drop-shadow(0 0 8px rgba(245, 208, 0, 0.7));
}

/* Animated Blueprint Scanning Radar */
.radar-grid {
  position: relative;
  overflow: hidden;
}

.radar-grid::after {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: conic-gradient(from 0deg at 50% 50%, rgba(188, 232, 245, 0.15) 0deg, rgba(7, 62, 70, 0) 60deg, transparent 360deg);
  animation: radarRotate 12s linear infinite;
  pointer-events: none;
}

@keyframes radarRotate {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

/* Pulse Beacon on 3D Coordinates */
.geo-beacon {
  width: 14px;
  height: 14px;
  background-color: var(--color-accent);
  border-radius: 50%;
  position: relative;
  display: inline-block;
}

.geo-beacon::after {
  content: '';
  position: absolute;
  top: -6px;
  left: -6px;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  border: 2px solid var(--color-accent);
  animation: beaconPulse 2s cubic-bezier(0.215, 0.61, 0.355, 1) infinite;
}

@keyframes beaconPulse {
  0% { transform: scale(0.5); opacity: 1; }
  100% { transform: scale(1.8); opacity: 0; }
}

/* Floating 3D Geometric Badges */
.floating-geo-badge {
  position: absolute;
  background: rgba(7, 62, 70, 0.85);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(188, 232, 245, 0.3);
  padding: 0.75rem 1.25rem;
  border-radius: var(--radius-md);
  color: var(--color-white);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
  z-index: 5;
  animation: floatUpDown 5s ease-in-out infinite;
  pointer-events: none;
}

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

/* Blueprint Drawing Stroke Animations */
.path-draw {
  stroke-dasharray: 1000;
  stroke-dashoffset: 1000;
  animation: drawStroke 3s ease forwards;
}

@keyframes drawStroke {
  to {
    stroke-dashoffset: 0;
  }
}

/* Depth Layers */
.layer-depth-1 { transform: translateZ(10px); }
.layer-depth-2 { transform: translateZ(25px); }
.layer-depth-3 { transform: translateZ(45px); }

/* Technical Dimension Crosshair */
.crosshair {
  width: 16px;
  height: 16px;
  position: relative;
}
.crosshair::before, .crosshair::after {
  content: '';
  position: absolute;
  background-color: var(--color-sky);
}
.crosshair::before {
  top: 7px;
  left: 0;
  width: 16px;
  height: 2px;
}
.crosshair::after {
  top: 0;
  left: 7px;
  width: 2px;
  height: 16px;
}
