/* Cintax.es - Estilos Personalizados & Efectos Modernos */

@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:ital,wght@0,300;0,400;0,500;0,600;0,700;0,800;1,400;1,600&display=swap');

:root {
  --primary-blue: #2563eb;
  --primary-glow: rgba(37, 99, 235, 0.35);
  --accent-cyan: #06b6d4;
  --accent-cyan-glow: rgba(6, 182, 212, 0.35);
  --dark-bg: #070b14;
  --dark-card: #0d1527;
  --dark-card-hover: #131d36;
  --dark-border: rgba(255, 255, 255, 0.08);
  --dark-border-glow: rgba(56, 189, 248, 0.3);
}

* {
  box-sizing: border-box;
  font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  scroll-behavior: smooth;
}

body {
  background-color: var(--dark-bg);
  color: #f1f5f9;
  overflow-x: hidden;
  selection-background-color: #3b82f6;
  selection-color: #ffffff;
}

::selection {
  background: #2563eb;
  color: #ffffff;
}

/* Background Gradients & Mesh */
.bg-grid-pattern {
  background-size: 40px 40px;
  background-image: 
    linear-gradient(to right, rgba(255, 255, 255, 0.03) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
}

.glow-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(100px);
  pointer-events: none;
  z-index: 0;
}

.glow-orb-primary {
  width: 480px;
  height: 480px;
  background: radial-gradient(circle, rgba(37, 99, 235, 0.22) 0%, rgba(37, 99, 235, 0) 70%);
}

.glow-orb-cyan {
  width: 420px;
  height: 420px;
  background: radial-gradient(circle, rgba(6, 182, 212, 0.18) 0%, rgba(6, 182, 212, 0) 70%);
}

.glow-orb-purple {
  width: 380px;
  height: 380px;
  background: radial-gradient(circle, rgba(147, 51, 234, 0.15) 0%, rgba(147, 51, 234, 0) 70%);
}

/* Glassmorphism Cards */
.glass-card {
  background: rgba(13, 21, 39, 0.7);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--dark-border);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.glass-card:hover {
  background: rgba(19, 29, 54, 0.85);
  border-color: rgba(56, 189, 248, 0.35);
  box-shadow: 0 10px 30px -10px rgba(14, 165, 233, 0.2);
  transform: translateY(-3px);
}

.glass-nav {
  background: rgba(7, 11, 20, 0.82);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

/* Gradient Texts */
.gradient-text-primary {
  background: linear-gradient(135deg, #ffffff 10%, #60a5fa 60%, #38bdf8 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.gradient-text-accent {
  background: linear-gradient(135deg, #38bdf8 0%, #818cf8 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.gradient-text-gold {
  background: linear-gradient(135deg, #fbbf24 0%, #f59e0b 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* Buttons */
.btn-primary {
  background: linear-gradient(135deg, #2563eb 0%, #1d4ed8 100%);
  box-shadow: 0 4px 20px -2px rgba(37, 99, 235, 0.45);
  transition: all 0.25s ease;
}

.btn-primary:hover {
  background: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%);
  box-shadow: 0 6px 25px 0px rgba(37, 99, 235, 0.65);
  transform: translateY(-1px);
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(10px);
  transition: all 0.25s ease;
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.25);
  transform: translateY(-1px);
}

/* Badges & Pulsing indicator */
.pulse-dot {
  position: relative;
  display: inline-block;
  width: 8px;
  height: 8px;
  background-color: #10b981;
  border-radius: 50%;
}

.pulse-dot::after {
  content: '';
  position: absolute;
  top: -4px;
  left: -4px;
  width: 16px;
  height: 16px;
  background-color: rgba(16, 185, 129, 0.4);
  border-radius: 50%;
  animation: pulse-ring 2s cubic-bezier(0.215, 0.61, 0.355, 1) infinite;
}

@keyframes pulse-ring {
  0% { transform: scale(0.6); opacity: 0.9; }
  50% { transform: scale(1.4); opacity: 0.3; }
  100% { transform: scale(1.8); opacity: 0; }
}

/* Hero Badge */
.experience-badge {
  background: linear-gradient(90deg, rgba(37, 99, 235, 0.15) 0%, rgba(6, 182, 212, 0.12) 100%);
  border: 1px solid rgba(56, 189, 248, 0.3);
  box-shadow: 0 0 15px rgba(6, 182, 212, 0.15);
}

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 8px;
}
::-webkit-scrollbar-track {
  background: #070b14;
}
::-webkit-scrollbar-thumb {
  background: #1e293b;
  border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
  background: #334155;
}

/* Stats Counter numbers */
.counter-num {
  font-variant-numeric: tabular-nums;
}

/* Interactive Tabs */
.tab-btn.active {
  background: linear-gradient(135deg, rgba(37, 99, 235, 0.2) 0%, rgba(6, 182, 212, 0.15) 100%);
  border-color: rgba(56, 189, 248, 0.5);
  color: #38bdf8;
}

/* Logo Marquee slider */
.marquee-track {
  display: flex;
  width: calc(240px * 16);
  animation: marquee 35s linear infinite;
}

.marquee-track:hover {
  animation-play-state: paused;
}

@keyframes marquee {
  0% { transform: translateX(0); }
  100% { transform: translateX(calc(-240px * 8)); }
}

/* Toast notification */
#toast {
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  transform: translateY(120%);
  opacity: 0;
}

#toast.show {
  transform: translateY(0);
  opacity: 1;
}
