/* ==========================================
   VERTEX WEB — Estilos Globais
   ========================================== */

/* Variáveis de Design */
:root {
  --primary-red: #FF002E;
  --primary-glow: rgba(255, 0, 46, 0.35);
}

/* Base */
body {
  background-color: #050505;
  color: #FFFFFF;
  font-family: 'Inter', sans-serif;
  overflow-x: hidden;
}

/* ==========================================
   Padrões de Fundo
   ========================================== */
.bg-v-pattern {
  background-image: radial-gradient(circle at 50% 0%, rgba(255, 0, 46, 0.18) 0%, transparent 75%),
                    linear-gradient(to right, rgba(255, 255, 255, 0.02) 1px, transparent 1px),
                    linear-gradient(to bottom, rgba(255, 255, 255, 0.02) 1px, transparent 1px);
  background-size: 100% 100%, 40px 40px, 40px 40px;
}

.bg-v-pattern-light {
  background-image: radial-gradient(circle at 50% 0%, rgba(255, 0, 46, 0.06) 0%, transparent 70%),
                    linear-gradient(to right, rgba(0, 0, 0, 0.03) 1px, transparent 1px),
                    linear-gradient(to bottom, rgba(0, 0, 0, 0.03) 1px, transparent 1px);
  background-size: 100% 100%, 40px 40px, 40px 40px;
}

.v-shape-accent {
  position: absolute;
  width: 300px;
  height: 300px;
  background: linear-gradient(135deg, rgba(255, 0, 46, 0.25) 0%, transparent 70%);
  transform: rotate(45deg);
  filter: blur(40px);
  pointer-events: none;
}

/* ==========================================
   Scrollbar Personalizada
   ========================================== */
::-webkit-scrollbar { width: 8px; }
::-webkit-scrollbar-track { background: #050505; }
::-webkit-scrollbar-thumb { background: #262626; border-radius: 4px; }
::-webkit-scrollbar-thumb:hover { background: #FF002E; }

/* ==========================================
   Cards — Glass & Portfolio
   ========================================== */
.glass-card {
  background: rgba(18, 18, 22, 0.85);
  backdrop-filter: blur(14px);
  border: 1px solid rgba(255, 0, 46, 0.18);
}

.glass-card:hover {
  border-color: rgba(255, 0, 46, 0.5);
  box-shadow: 0 10px 35px -10px rgba(255, 0, 46, 0.25);
}

.portfolio-card-glow {
  position: relative;
}

.portfolio-card-glow::before {
  content: '';
  position: absolute;
  inset: -1px;
  background: linear-gradient(180deg, rgba(255, 0, 46, 0.5) 0%, transparent 60%);
  border-radius: 1rem;
  z-index: 0;
  opacity: 0;
  transition: opacity 0.4s ease;
}

.portfolio-card-glow:hover::before {
  opacity: 1;
}

/* ==========================================
   Texturas de Fundo
   ========================================== */
.bg-carbon {
  background-image: radial-gradient(#1a1a1a 15%, transparent 16%), radial-gradient(#1f1f1f 15%, transparent 16%);
  background-size: 8px 8px;
  background-position: 0 0, 4px 4px;
}

/* ==========================================
   Pulsing WhatsApp Button Animation
   ========================================== */
@keyframes pulse-glow-whatsapp {
  0% {
    box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.5);
  }
  70% {
    box-shadow: 0 0 0 15px rgba(37, 211, 102, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(37, 211, 102, 0);
  }
}

.btn-whatsapp-pulse {
  background-color: #25D366;
  color: #FFFFFF !important;
  animation: pulse-glow-whatsapp 2s infinite;
  transition: all 0.3s ease;
}

.btn-whatsapp-pulse:hover {
  background-color: #20ba56;
  transform: translateY(-2px);
  box-shadow: 0 10px 20px rgba(37, 211, 102, 0.3);
}

/* ==========================================
   Animação do Toast Superior
   ========================================== */
@keyframes slide-in-top {
  0% {
    transform: translateY(-20px);
    opacity: 0;
  }
  100% {
    transform: translateY(0);
    opacity: 1;
  }
}

.animate-slide-in {
  animation: slide-in-top 0.3s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

/* ==========================================
   Animação de Piscar Suave (Blink)
   ========================================== */
@keyframes blink {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.15; }
}

.animate-blink {
  animation: blink 1s ease-in-out infinite;
}

/* Ocultar barra de rolagem mas manter funcionamento */
.scrollbar-none::-webkit-scrollbar {
  display: none;
}
.scrollbar-none {
  -ms-overflow-style: none;  /* IE and Edge */
  scrollbar-width: none;  /* Firefox */
}

