/* public/styles.css - Estilos de Luxo, Efeitos de Radar HUD e Glassmorphism */

:root {
  --bg-deep: #06090e;
  --bg-card: rgba(14, 21, 33, 0.75);
  --bg-card-hover: rgba(18, 28, 45, 0.9);
  --neon-emerald: #00ff88;
  --neon-cyan: #00e5ff;
  --neon-glow: rgba(0, 255, 136, 0.35);
  --text-main: #f8fafc;
  --text-muted: #94a3b8;
  --border-glass: rgba(255, 255, 255, 0.08);
  --border-neon: rgba(0, 255, 136, 0.25);
}

body {
  background-color: var(--bg-deep);
  color: var(--text-main);
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  overflow-x: hidden;
  -webkit-tap-highlight-color: transparent;
}

/* Glassmorphism Classes */
.glass-panel {
  background: var(--bg-card);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--border-glass);
}

.glass-card-neon {
  background: linear-gradient(135deg, rgba(16, 26, 40, 0.8) 0%, rgba(10, 16, 26, 0.9) 100%);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid var(--border-neon);
  box-shadow: 0 10px 35px -10px rgba(0, 0, 0, 0.5), 0 0 20px -5px rgba(0, 255, 136, 0.1);
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.glass-card-neon:hover {
  border-color: rgba(0, 255, 136, 0.45);
  box-shadow: 0 15px 40px -10px rgba(0, 255, 136, 0.2);
  transform: translateY(-2px);
}

/* Botão de Alta Conversão Neon Pulse */
.btn-cta-glow {
  background: linear-gradient(135deg, #00ff88 0%, #00cc6a 100%);
  color: #05140b;
  font-weight: 800;
  box-shadow: 0 0 30px rgba(0, 255, 136, 0.45), inset 0 1px 0 rgba(255, 255, 255, 0.4);
  transition: all 0.25s ease;
  position: relative;
  overflow: hidden;
}

.btn-cta-glow:hover {
  transform: scale(1.02);
  box-shadow: 0 0 45px rgba(0, 255, 136, 0.65), inset 0 1px 0 rgba(255, 255, 255, 0.6);
}

.btn-cta-glow:active {
  transform: scale(0.98);
}

/* Shimmer beam sweep on buttons */
.btn-cta-glow::after {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: linear-gradient(
    60deg,
    transparent 20%,
    rgba(255, 255, 255, 0.35) 50%,
    transparent 80%
  );
  transform: rotate(25deg);
  animation: shimmerSweep 3.5s infinite;
}

@keyframes shimmerSweep {
  0% { transform: translateX(-100%) rotate(25deg); }
  35%, 100% { transform: translateX(100%) rotate(25deg); }
}

/* Radar Sweep Scanner HUD */
.radar-grid {
  background-image: 
    radial-gradient(circle at center, rgba(0, 255, 136, 0.08) 1px, transparent 1px),
    linear-gradient(rgba(0, 255, 136, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0, 255, 136, 0.04) 1px, transparent 1px);
  background-size: 100% 100%, 40px 40px, 40px 40px;
}

.radar-circle {
  border: 1px solid rgba(0, 255, 136, 0.2);
  border-radius: 50%;
  position: absolute;
}

.radar-sweep-beam {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 140px;
  height: 140px;
  margin-top: -140px;
  margin-left: -140px;
  transform-origin: bottom right;
  background: conic-gradient(from 0deg, rgba(0, 255, 136, 0.45) 0deg, rgba(0, 229, 255, 0.2) 40deg, transparent 60deg);
  border-radius: 100% 0 0 0;
  animation: radarRotate 4s linear infinite;
  pointer-events: none;
}

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

/* ==========================================================================
   RADAR HUD GLOBAL FIXO EM SEGUNDO PLANO (ATMOSFERA 24H)
   ========================================================================== */
.radar-fixed-bg {
  position: fixed;
  top: 50%;
  left: 50%;
  width: min(850px, 92vw);
  height: min(850px, 92vw);
  transform: translate(-50%, -50%);
  pointer-events: none;
  z-index: 0;
  opacity: 0.14;
  border-radius: 50%;
  will-change: transform;
}

.radar-fixed-circle-1 {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 95%;
  height: 95%;
  transform: translate(-50%, -50%);
  border: 1px solid rgba(0, 255, 136, 0.35);
  border-radius: 50%;
}

.radar-fixed-circle-2 {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 68%;
  height: 68%;
  transform: translate(-50%, -50%);
  border: 1px dashed rgba(0, 229, 255, 0.3);
  border-radius: 50%;
}

.radar-fixed-circle-3 {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 38%;
  height: 38%;
  transform: translate(-50%, -50%);
  border: 1px solid rgba(0, 255, 136, 0.4);
  border-radius: 50%;
}

.radar-fixed-crosshair-h {
  position: absolute;
  top: 50%;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(0, 255, 136, 0.25) 20%, rgba(0, 255, 136, 0.25) 80%, transparent);
}

.radar-fixed-crosshair-v {
  position: absolute;
  left: 50%;
  top: 0;
  bottom: 0;
  width: 1px;
  background: linear-gradient(180deg, transparent, rgba(0, 255, 136, 0.25) 20%, rgba(0, 255, 136, 0.25) 80%, transparent);
}

.radar-fixed-beam {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: conic-gradient(
    from 0deg,
    rgba(0, 255, 136, 0.45) 0deg,
    rgba(0, 229, 255, 0.2) 28deg,
    transparent 60deg
  );
  animation: radarFixedRotate 8s linear infinite;
  mask-image: radial-gradient(circle at center, rgba(0,0,0,1) 0%, rgba(0,0,0,0.8) 65%, transparent 100%);
  -webkit-mask-image: radial-gradient(circle at center, rgba(0,0,0,1) 0%, rgba(0,0,0,0.8) 65%, transparent 100%);
  pointer-events: none;
}

.radar-fixed-blip-1 {
  position: absolute;
  top: 32%;
  left: 65%;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #00ff88;
  box-shadow: 0 0 10px #00ff88, 0 0 20px #00ff88;
  animation: radarBlip 4s ease-in-out infinite;
}

.radar-fixed-blip-2 {
  position: absolute;
  top: 68%;
  left: 35%;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #00e5ff;
  box-shadow: 0 0 10px #00e5ff, 0 0 18px #00e5ff;
  animation: radarBlip 5s ease-in-out infinite 1.8s;
}

@keyframes radarBlip {
  0%, 100% { opacity: 0.2; transform: scale(0.8); }
  50% { opacity: 1; transform: scale(1.4); }
}

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

/* Live alert pulse tag */
.live-pulse-dot {
  position: relative;
}
.live-pulse-dot::before {
  content: '';
  position: absolute;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  background: #00ff88;
  opacity: 0.75;
  animation: pingDot 1.5s cubic-bezier(0, 0, 0.2, 1) infinite;
}

@keyframes pingDot {
  75%, 100% {
    transform: scale(2.4);
    opacity: 0;
  }
}

/* Range Sliders do ROI Calculator */
input[type=range] {
  -webkit-appearance: none;
  width: 100%;
  background: rgba(255, 255, 255, 0.1);
  height: 6px;
  border-radius: 3px;
  outline: none;
}

input[type=range]::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: #00ff88;
  cursor: pointer;
  box-shadow: 0 0 15px #00ff88;
  border: 2px solid #06090e;
  transition: transform 0.1s;
}

input[type=range]::-webkit-slider-thumb:hover {
  transform: scale(1.15);
}

/* Horizontal Carrossel Scroll Hide */
.no-scrollbar::-webkit-scrollbar {
  display: none;
}
.no-scrollbar {
  -ms-overflow-style: none;
  scrollbar-width: none;
}

/* Safe area bottom padding for iPhone notch */
.pb-safe {
  padding-bottom: calc(1rem + env(safe-area-inset-bottom, 0px));
}
