/**
 * PymeWorld.com & SightBlock™ — Modern Enterprise Cyber Stylesheet
 * Legal Owner & Lead Architect: José Antonio García Escobar (RFC: GAEA651007SN3)
 * Corporate Headquarters: Belisario Domínguez 1611-A, Obispado, 64060 Monterrey, N.L., Mexico
 */

:root {
  --bg-onyx: #050505;
  --bg-surface: #0a0e17;
  --bg-card: #0f172a;
  --bg-card-hover: #162036;
  --cyan-laser: #00F0FF;
  --cyan-glow: rgba(0, 240, 255, 0.35);
  --crimson-threat: #FF3366;
  --crimson-glow: rgba(255, 51, 102, 0.4);
  --safe-green: #00E676;
  --platinum-titanium: #C5C6C7;
  --text-muted: #94A3B8;
  --border-subtle: rgba(255, 255, 255, 0.08);
  --border-cyan: rgba(0, 240, 255, 0.3);
}

/* Base resets & typography */
html {
  scroll-behavior: smooth;
  color-scheme: dark;
}

body {
  background-color: var(--bg-onyx);
  color: #F8FAFC;
  font-family: var(--pw-sans);
  overflow-x: hidden;
}

/* Background Cyber Grid */
.cyber-grid-bg {
  background-color: #050505;
  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);
  background-size: 40px 40px;
}

.radial-glow-cyan {
  background: radial-gradient(circle 600px at 50% 10%, rgba(0, 240, 255, 0.08), transparent 80%);
}

.radial-glow-crimson {
  background: radial-gradient(circle 500px at 80% 30%, rgba(255, 51, 102, 0.06), transparent 80%);
}

/* Glowing text and borders */
.text-cyan-glow {
  color: var(--cyan-laser);
  text-shadow: 0 0 16px rgba(0, 240, 255, 0.5);
}

.text-crimson-glow {
  color: var(--crimson-threat);
  text-shadow: 0 0 16px rgba(255, 51, 102, 0.5);
}

.border-glow-cyan {
  border-color: var(--border-cyan);
  box-shadow: 0 0 20px rgba(0, 240, 255, 0.15);
}

.card-cyber {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: 14px;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
  overflow: hidden;
}

.card-cyber:hover {
  border-color: var(--border-cyan);
  background: var(--bg-card-hover);
  transform: translateY(-3px);
  box-shadow: 0 10px 30px -10px rgba(0, 240, 255, 0.15);
}

/* Glassmorphism Navigation */
.nav-glass {
  background: rgba(5, 5, 5, 0.85);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

/* Buttons */
.btn-cyan {
  background: linear-gradient(135deg, #00F0FF 0%, #0099FF 100%);
  color: #050505;
  font-weight: 700;
  border-radius: 8px;
  padding: 12px 26px;
  transition: all 0.2s ease;
  box-shadow: 0 0 20px rgba(0, 240, 255, 0.35);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  text-decoration: none;
}

.btn-cyan:hover {
  transform: translateY(-2px);
  box-shadow: 0 0 30px rgba(0, 240, 255, 0.6);
  color: #000;
}

.btn-crimson {
  background: linear-gradient(135deg, #FF3366 0%, #D80032 100%);
  color: #FFFFFF;
  font-weight: 700;
  border-radius: 8px;
  padding: 12px 26px;
  transition: all 0.2s ease;
  box-shadow: 0 0 20px rgba(255, 51, 102, 0.35);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  text-decoration: none;
  cursor: pointer;
  border: none;
}

.btn-crimson:hover {
  transform: translateY(-2px);
  box-shadow: 0 0 30px rgba(255, 51, 102, 0.65);
}

.btn-ghost-cyan {
  background: transparent;
  color: var(--cyan-laser);
  border: 1px solid var(--border-cyan);
  font-weight: 600;
  border-radius: 8px;
  padding: 11px 24px;
  transition: all 0.2s ease;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  text-decoration: none;
}

.btn-ghost-cyan:hover {
  background: rgba(0, 240, 255, 0.1);
  border-color: var(--cyan-laser);
  box-shadow: 0 0 20px rgba(0, 240, 255, 0.25);
}

.btn-whatsapp {
  background: #25D366;
  color: #050505;
  font-weight: 700;
  border-radius: 8px;
  padding: 10px 20px;
  transition: all 0.2s ease;
  box-shadow: 0 0 15px rgba(37, 211, 102, 0.3);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
}

.btn-whatsapp:hover {
  background: #1EBE5D;
  transform: translateY(-2px);
  box-shadow: 0 0 25px rgba(37, 211, 102, 0.5);
  color: #000;
}

/* Badges */
.badge-cyan {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(0, 240, 255, 0.1);
  color: var(--cyan-laser);
  border: 1px solid rgba(0, 240, 255, 0.3);
  padding: 4px 12px;
  border-radius: 9999px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.badge-crimson {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(255, 51, 102, 0.1);
  color: var(--crimson-threat);
  border: 1px solid rgba(255, 51, 102, 0.3);
  padding: 4px 12px;
  border-radius: 9999px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.badge-green {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(0, 230, 118, 0.1);
  color: var(--safe-green);
  border: 1px solid rgba(0, 230, 118, 0.3);
  padding: 4px 12px;
  border-radius: 9999px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

/* Simulator flash effects */
.sim-flash-active {
  filter: invert(1) !important;
  background-color: #FFFFFF !important;
  color: #000000 !important;
}

.sim-overdrive-glow {
  box-shadow: 0 0 120px 60px rgba(255, 255, 255, 0.95) !important;
}

/* Code blocks & monospace */
.font-mono-code {
  font-family: var(--pw-mono);
}

/* Pulse animation */
@keyframes cyber-pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(0.96); }
}

.animate-cyber-pulse {
  animation: cyber-pulse 2s infinite ease-in-out;
}

/* Gated Access & Restricted Mode */
.gate-locked-overlay {
  background: rgba(5, 5, 5, 0.88);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(0, 240, 255, 0.3);
  box-shadow: 0 0 35px rgba(0, 240, 255, 0.15);
}

.gate-locked-blur {
  filter: blur(6px) grayscale(60%);
  pointer-events: none;
  user-select: none;
}

.captcha-display {
  background: #000;
  border: 1px solid rgba(0, 240, 255, 0.4);
  color: var(--cyan-laser);
  font-family: var(--pw-mono);
  letter-spacing: 4px;
  font-weight: 700;
  user-select: none;
  text-shadow: 0 0 8px rgba(0, 240, 255, 0.6);
}

/* ==========================================================================
   DEEP OBSIDIAN & CHAMPAGNE GOLD SYSTEM (HIGH-END ENTERPRISE TIER)
   ========================================================================== */
:root {
  --obsidian-deep: #07080A;
  --obsidian-surface: #0D1017;
  --obsidian-card: #121622;
  --obsidian-card-hover: #181F2E;
  --gold-champagne: #D4AF37;
  --gold-metallic: #E6CA65;
  --gold-light: #F3E5AB;
  --gold-dark: #997A15;
  --gold-glow: rgba(212, 175, 55, 0.25);
  --gold-glow-strong: rgba(212, 175, 55, 0.45);
  --gold-border: rgba(212, 175, 55, 0.3);
  --gold-border-hover: rgba(212, 175, 55, 0.65);
}

.text-gold-gradient {
  background: linear-gradient(135deg, #FFF6D6 0%, #E6CA65 50%, #D4AF37 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.radial-glow-gold {
  background: radial-gradient(circle 600px at 50% 10%, rgba(212, 175, 55, 0.08), transparent 80%);
}

.card-obsidian-gold {
  background: linear-gradient(180deg, rgba(18, 22, 34, 0.95) 0%, rgba(13, 16, 23, 0.98) 100%);
  border: 1px solid var(--gold-border);
  border-radius: 16px;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
  overflow: hidden;
}

.card-obsidian-gold:hover {
  border-color: var(--gold-border-hover);
  box-shadow: 0 16px 40px -10px var(--gold-glow);
  transform: translateY(-3px);
}

.btn-gold {
  background: linear-gradient(135deg, #E6CA65 0%, #D4AF37 100%);
  color: #07080A;
  font-weight: 700;
  border-radius: 10px;
  padding: 12px 26px;
  box-shadow: 0 0 20px rgba(212, 175, 55, 0.3);
  transition: all 0.25s ease;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.btn-gold:hover {
  background: linear-gradient(135deg, #FFF6D6 0%, #E6CA65 100%);
  box-shadow: 0 0 32px rgba(212, 175, 55, 0.55);
  transform: translateY(-1px);
}

.btn-obsidian {
  background: rgba(13, 16, 23, 0.85);
  color: #F3E5AB;
  border: 1px solid var(--gold-border);
  font-weight: 600;
  border-radius: 10px;
  padding: 12px 24px;
  transition: all 0.25s ease;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.btn-obsidian:hover {
  background: rgba(24, 31, 46, 0.95);
  border-color: var(--gold-border-hover);
  color: #FFFFFF;
}

.badge-gold {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(212, 175, 55, 0.12);
  color: #F3E5AB;
  border: 1px solid rgba(212, 175, 55, 0.35);
  padding: 4px 12px;
  border-radius: 9999px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-family: var(--pw-mono);
}

/* Modal backdrop & animations */
.modal-backdrop {
  background: rgba(5, 6, 8, 0.85);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}

/* Mobile fluid fixes: prevent overlapping elements */
@media (max-width: 640px) {
  .max-w-7xl, .container {
    padding-left: 1rem !important;
    padding-right: 1rem !important;
  }
  
  h1 {
    font-size: 2.15rem !important;
    line-height: 1.18 !important;
    word-break: break-word;
  }
  
  h2 {
    font-size: 1.65rem !important;
    line-height: 1.25 !important;
  }
  
  .card-cyber, .card-obsidian-gold {
    padding: 1.25rem !important;
  }
  
  /* Prevent horizontal cutoffs in tables/hud */
  .overflow-x-auto {
    -webkit-overflow-scrolling: touch;
  }
}

/* Anchor smooth scrolling offset for sticky navigation */
section[id], div[id] {
  scroll-margin-top: 5.5rem;
}



