/* ==========================================================================
   XORBIT 360 - DESIGN SYSTEM & GLOBAL STYLES (INSPIRADO EN RESPOND.IO)
   Dominio: xorbit360.com
   ========================================================================== */

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

:root {
  /* Color Palette */
  --bg-primary: #07090e;
  --bg-secondary: #0d111d;
  --bg-card: rgba(18, 24, 41, 0.75);
  --bg-card-hover: rgba(26, 34, 56, 0.9);
  --bg-glass: rgba(255, 255, 255, 0.04);
  --bg-glass-strong: rgba(255, 255, 255, 0.08);

  /* Brand Accents */
  --brand-primary: #3b82f6;       /* Radiant Electric Blue */
  --brand-primary-hover: #2563eb;
  --brand-secondary: #8b5cf6;     /* Neon Purple / Indigo */
  --brand-cyan: #06b6d4;          /* Cyan Glow */
  --brand-emerald: #10b981;       /* WhatsApp / Success Green */
  --brand-amber: #f59e0b;         /* Warning / Hot Lead */
  --brand-rose: #f43f5e;          /* Live / Flash / Critical */

  /* Text Colors */
  --text-main: #f8fafc;
  --text-muted: #94a3b8;
  --text-dim: #64748b;
  --text-accent: #60a5fa;

  /* Borders & Gradients */
  --border-subtle: rgba(255, 255, 255, 0.08);
  --border-glow: rgba(59, 130, 246, 0.35);
  --border-purple-glow: rgba(139, 92, 246, 0.35);

  --gradient-brand: linear-gradient(135deg, #3b82f6 0%, #8b5cf6 50%, #d946ef 100%);
  --gradient-glow: radial-gradient(circle at center, rgba(59, 130, 246, 0.25) 0%, rgba(139, 92, 246, 0.1) 45%, transparent 70%);
  --gradient-card: linear-gradient(180deg, rgba(255, 255, 255, 0.05) 0%, rgba(255, 255, 255, 0.01) 100%);
  --gradient-hero-bg: radial-gradient(80% 50% at 50% -10%, rgba(59, 130, 246, 0.28) 0%, rgba(139, 92, 246, 0.18) 35%, rgba(7, 9, 14, 0) 100%);

  /* Shadows */
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.4);
  --shadow-md: 0 10px 30px -10px rgba(0, 0, 0, 0.6);
  --shadow-lg: 0 20px 50px -15px rgba(0, 0, 0, 0.8);
  --shadow-neon-blue: 0 0 35px -5px rgba(59, 130, 246, 0.45);
  --shadow-neon-purple: 0 0 35px -5px rgba(139, 92, 246, 0.45);
  --shadow-neon-green: 0 0 25px -5px rgba(16, 185, 129, 0.4);

  /* Layout & Geometry */
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-xl: 28px;
  --radius-full: 9999px;
  --container-max: 1240px;

  /* Typography */
  --font-heading: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-mono: 'JetBrains Mono', monospace;

  /* Transitions */
  --transition-fast: 0.18s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-smooth: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-bounce: 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
}

/* ==========================================================================
   RESET & GLOBAL SETUP
   ========================================================================== */

*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
  color-scheme: dark;
}

body {
  font-family: var(--font-body);
  background-color: var(--bg-primary);
  color: var(--text-main);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  background-image: 
    radial-gradient(ellipse 80% 50% at 50% -15%, rgba(59, 130, 246, 0.22), transparent 70%),
    radial-gradient(ellipse 60% 40% at 85% 30%, rgba(139, 92, 246, 0.12), transparent 60%),
    radial-gradient(ellipse 50% 30% at 15% 65%, rgba(6, 182, 212, 0.1), transparent 60%);
  background-attachment: fixed;
}

/* Subtle background grid */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  background-image: 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: 56px 56px;
  pointer-events: none;
  z-index: 0;
}

img, svg, video {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
  transition: var(--transition-fast);
}

button, input, select, textarea {
  font-family: inherit;
  font-size: inherit;
  border: none;
  outline: none;
  background: none;
}

button {
  cursor: pointer;
}

ul, ol {
  list-style: none;
}

/* ==========================================================================
   UTILITY CLASSES & CONTAINER
   ========================================================================== */

.container {
  width: 100%;
  max-width: var(--container-max);
  margin-left: auto;
  margin-right: auto;
  padding-left: 24px;
  padding-right: 24px;
  position: relative;
  z-index: 1;
}

.text-gradient {
  background: var(--gradient-brand);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  display: inline-block;
}

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

.text-green-gradient {
  background: linear-gradient(135deg, #34d399 0%, #10b981 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.section-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  background: rgba(59, 130, 246, 0.1);
  border: 1px solid rgba(59, 130, 246, 0.25);
  border-radius: var(--radius-full);
  font-size: 0.85rem;
  font-weight: 600;
  color: #60a5fa;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 16px;
}

.section-tag.purple {
  background: rgba(139, 92, 246, 0.1);
  border-color: rgba(139, 92, 246, 0.25);
  color: #c084fc;
}

.section-tag.emerald {
  background: rgba(16, 185, 129, 0.1);
  border-color: rgba(16, 185, 129, 0.25);
  color: #34d399;
}

.section-tag svg {
  width: 14px;
  height: 14px;
}

.section-header {
  text-align: center;
  max-width: 820px;
  margin: 0 auto 56px;
}

.section-title {
  font-family: var(--font-heading);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.15;
  color: #ffffff;
  margin-bottom: 18px;
}

.section-subtitle {
  font-size: clamp(1rem, 1.5vw, 1.15rem);
  color: var(--text-muted);
  line-height: 1.6;
}

/* Glassmorphism Card Base */
.glass-card {
  background: var(--bg-card);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  transition: transform var(--transition-smooth), border-color var(--transition-smooth), box-shadow var(--transition-smooth);
}

.glass-card:hover {
  border-color: rgba(255, 255, 255, 0.18);
  box-shadow: var(--shadow-lg);
}

/* ==========================================================================
   BUTTONS & BADGES
   ========================================================================== */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 12px 24px;
  border-radius: var(--radius-full);
  font-weight: 600;
  font-size: 0.95rem;
  transition: all var(--transition-smooth);
  white-space: nowrap;
  position: relative;
  overflow: hidden;
}

.btn-primary {
  background: #2563eb;
  color: #ffffff;
  box-shadow: 0 4px 20px rgba(37, 99, 235, 0.4);
  border: 1px solid rgba(255, 255, 255, 0.15);
}

.btn-primary:hover {
  background: #1d4ed8;
  box-shadow: 0 6px 28px rgba(37, 99, 235, 0.6);
  transform: translateY(-2px);
}

.btn-gradient {
  background: var(--gradient-brand);
  color: #ffffff;
  box-shadow: 0 4px 25px rgba(139, 92, 246, 0.45);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.btn-gradient:hover {
  box-shadow: 0 6px 32px rgba(139, 92, 246, 0.7);
  transform: translateY(-2px);
  filter: brightness(1.1);
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.08);
  color: #f8fafc;
  border: 1px solid rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(10px);
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.14);
  border-color: rgba(255, 255, 255, 0.3);
  transform: translateY(-2px);
}

.btn-sm {
  padding: 8px 16px;
  font-size: 0.85rem;
}

.btn-lg {
  padding: 15px 32px;
  font-size: 1.05rem;
  font-weight: 700;
}

.btn-whatsapp {
  background: #10b981;
  color: #ffffff;
  box-shadow: 0 4px 20px rgba(16, 185, 129, 0.4);
}

.btn-whatsapp:hover {
  background: #059669;
  box-shadow: 0 6px 28px rgba(16, 185, 129, 0.6);
  transform: translateY(-2px);
}

/* Pulse Animation for Live/Active indicators */
.pulse-indicator {
  position: relative;
  display: inline-block;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background-color: var(--brand-emerald);
}

.pulse-indicator::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  background-color: inherit;
  animation: pulseRing 1.8s cubic-bezier(0.24, 0, 0.38, 1) infinite;
}

@keyframes pulseRing {
  0% { transform: scale(0.95); opacity: 0.8; }
  70% { transform: scale(2.4); opacity: 0; }
  100% { transform: scale(2.4); opacity: 0; }
}

/* Animations */
@keyframes floatUp {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}

@keyframes glowShift {
  0%, 100% { opacity: 0.5; filter: blur(30px); }
  50% { opacity: 0.8; filter: blur(40px); }
}

.floating-element {
  animation: floatUp 4s ease-in-out infinite;
}
