/* =================================================================
   SETGET.NET - CYBERPUNK TERMINAL AESTHETIC
   Updated: 2025-11-12 - Compact status widget
   ================================================================= */

/* === ROOT VARIABLES === */
:root {
  --neon-primary: #3399ff;
  --neon-secondary: #00ff99;
  --neon-accent: #ff0099;
  --bg-primary: #0a0a0a;
  --bg-secondary: #111111;
  --bg-tertiary: #1a1a1a;
  --text-primary: #eeeeee;
  --text-secondary: #999999;
  --text-muted: #666666;
  --border-color: #333333;
  --success: #00ff00;
  --warning: #ffaa00;
  --danger: #ff0055;
  --font-primary: 'Orbitron', sans-serif;
  --font-mono: 'JetBrains Mono', monospace;
}

/* === BASE STYLES === */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  background-color: var(--bg-primary);
  color: var(--text-primary);
  font-family: var(--font-primary);
  line-height: 1.6;
  overflow-x: hidden;
  position: relative;
  min-height: 100vh;
}

/* === SCANLINE EFFECT === */
.scanline {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    to bottom,
    rgba(255, 255, 255, 0) 50%,
    rgba(0, 255, 0, 0.02) 51%,
    rgba(255, 255, 255, 0) 52%
  );
  background-size: 100% 4px;
  pointer-events: none;
  z-index: 9999;
  opacity: 0.3;
  animation: scanline 8s linear infinite;
}

@keyframes scanline {
  0% { transform: translateY(0); }
  100% { transform: translateY(4px); }
}

/* === CANVAS BACKGROUND === */
canvas#void-bg {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
  opacity: 0.25;
}

/* === NAVIGATION === */
.navbar-custom {
  background-color: rgba(17, 17, 17, 0.95) !important;
  backdrop-filter: blur(10px);
  padding: 1rem 0;
  position: sticky;
  top: 0;
  z-index: 1000;
  border-bottom: 1px solid rgba(51, 153, 255, 0.4) !important;
  box-shadow: 0 0 10px rgba(51, 153, 255, 0.15);
}

.navbar-brand {
  font-size: 1.5rem;
  font-weight: 900;
  letter-spacing: 2px;
  transition: all 0.3s ease;
}

.navbar-brand:hover {
  transform: scale(1.05);
  filter: brightness(1.2);
}

.brand-icon {
  font-size: 1.8rem;
  animation: pulse-glow 2s ease-in-out infinite;
}

@keyframes pulse-glow {
  0%, 100% { 
    text-shadow: 0 0 3px var(--neon-primary);
  }
  50% { 
    text-shadow: 0 0 6px var(--neon-primary);
  }
}

.brand-text {
  background: linear-gradient(135deg, var(--neon-primary), var(--neon-secondary));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.nav-links {
  display: flex;
  gap: 1rem;
  align-items: center;
}

.nav-link-custom {
  color: var(--text-secondary);
  text-decoration: none;
  padding: 0.5rem 1rem;
  border-radius: 5px;
  transition: all 0.3s ease;
  font-size: 0.95rem;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  border: 1px solid transparent;
}

.nav-link-custom:hover,
.nav-link-custom.active {
  color: var(--neon-primary);
  background-color: rgba(51, 153, 255, 0.08);
  border-color: var(--neon-primary);
  box-shadow: 0 0 8px rgba(51, 153, 255, 0.2);
  transform: translateY(-2px);
}

.nav-icon {
  font-size: 1.1rem;
}

/* === RESPONSIVE NAVIGATION === */
/* Default: hide desktop-only links and show dropdown */
.nav-desktop-only {
  display: none !important;
}

.nav-mobile-dropdown {
  display: block;
}

/* Desktop (>992px): show all direct links, hide dropdown */
@media (min-width: 993px) {
  .nav-desktop-only {
    display: inline-flex !important;
  }
  .nav-mobile-dropdown {
    display: none !important;
  }
}

/* Dropdown button styling */
.nav-mobile-dropdown .dropdown-toggle {
  color: var(--text-secondary);
  background: transparent;
  border: 1px solid transparent;
  cursor: pointer;
  font-family: var(--font-primary);
}

.nav-mobile-dropdown .dropdown-toggle:hover,
.nav-mobile-dropdown .dropdown-toggle:focus,
.nav-mobile-dropdown .dropdown-toggle.show {
  color: var(--neon-primary);
  background-color: rgba(51, 153, 255, 0.08);
  border-color: var(--neon-primary);
  box-shadow: 0 0 8px rgba(51, 153, 255, 0.2);
  transform: translateY(-2px);
}

.nav-mobile-dropdown .dropdown-toggle::after {
  margin-left: 0.3rem;
  border-top-color: currentColor;
}

/* Dropdown menu styling */
.nav-mobile-dropdown .dropdown-menu {
  background-color: rgba(17, 17, 17, 0.98);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(51, 153, 255, 0.3);
  box-shadow: 0 4px 20px rgba(51, 153, 255, 0.2);
  margin-top: 0.5rem;
  min-width: 180px;
}

.nav-mobile-dropdown .dropdown-item {
  color: var(--text-secondary);
  padding: 0.6rem 1.2rem;
  transition: all 0.2s ease;
  font-size: 0.95rem;
  font-weight: 600;
}

.nav-mobile-dropdown .dropdown-item:hover,
.nav-mobile-dropdown .dropdown-item:focus {
  background-color: rgba(51, 153, 255, 0.1);
  color: var(--neon-primary);
  box-shadow: inset 3px 0 0 var(--neon-primary);
}

.nav-mobile-dropdown .dropdown-divider {
  border-color: rgba(51, 153, 255, 0.2);
  margin: 0.5rem 0;
}

/* === MAIN CONTENT === */
.main-content {
  position: relative;
  z-index: 1;
  padding: 2rem 1rem;
  min-height: calc(100vh - 400px);
}

/* === HERO SECTION === */
.hero-section {
  padding: 4rem 0 3rem;
  position: relative;
}

.glitch-container {
  position: relative;
  display: inline-block;
}

.glitch {
  font-size: 5rem;
  font-weight: 900;
  letter-spacing: 5px;
  position: relative;
}

@keyframes text-glow {
  0%, 100% {
    text-shadow: 0 0 3px var(--neon-primary);
  }
  50% {
    text-shadow: 0 0 6px var(--neon-primary);
  }
}

.glitch::before,
.glitch::after {
  content: attr(data-text);
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
}

.glitch-active::before {
  animation: glitch-1 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94) both;
  color: var(--neon-secondary);
  z-index: -1;
}

.glitch-active::after {
  animation: glitch-2 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94) both;
  color: var(--neon-accent);
  z-index: -2;
}

@keyframes glitch-1 {
  0%, 100% { transform: translate(0); opacity: 0; }
  33% { transform: translate(-5px, 5px); opacity: 0.8; }
  66% { transform: translate(5px, -5px); opacity: 0.8; }
}

@keyframes glitch-2 {
  0%, 100% { transform: translate(0); opacity: 0; }
  33% { transform: translate(5px, -5px); opacity: 0.8; }
  66% { transform: translate(-5px, 5px); opacity: 0.8; }
}

.lead-enhanced {
  font-size: 1.8rem;
  line-height: 1.5;
  margin: 2rem 0;
}

.text-gradient {
  background: linear-gradient(135deg, var(--neon-primary), var(--neon-secondary));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  font-weight: 700;
  font-size: 2rem;
}

.text-muted-neon {
  color: var(--text-secondary);
  font-size: 1.2rem;
}

.text-light-muted {
  color: #b8b8b8;
  font-size: 1.2rem;
}

.text-stats {
  color: #e0e0e0;
  font-size: 1.1rem;
  font-weight: 500;
}

/* === STATS BADGE === */
.stats-badge {
  display: inline-flex;
  align-items: center;
  padding: 1rem 2rem;
  background: linear-gradient(135deg, rgba(51, 153, 255, 0.08), rgba(0, 255, 153, 0.08));
  border: 2px solid rgba(51, 153, 255, 0.4);
  border-radius: 50px;
  box-shadow: 0 0 15px rgba(51, 153, 255, 0.15);
}

.badge-glow {
  font-size: 3rem;
  font-weight: 900;
  color: var(--neon-primary);
  text-shadow: 0 0 5px var(--neon-primary);
  animation: number-pulse 2s ease-in-out infinite;
}

@keyframes number-pulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.1); }
}

/* === TERMINAL WINDOW === */
.code-showcase {
  margin: 4rem 0;
}

.section-title {
  font-size: 2rem;
  font-weight: 700;
  color: var(--neon-secondary);
  margin-bottom: 2rem;
}

.terminal-window {
  background-color: var(--bg-secondary);
  border: 1px solid rgba(51, 153, 255, 0.4);
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 
    0 5px 30px rgba(0, 0, 0, 0.5),
    0 0 15px rgba(51, 153, 255, 0.15);
  transition: all 0.3s ease;
}

.terminal-window:hover {
  transform: translateY(-5px);
  box-shadow: 
    0 10px 40px rgba(0, 0, 0, 0.7),
    0 0 20px rgba(51, 153, 255, 0.25);
}

.terminal-header {
  background: linear-gradient(135deg, var(--bg-tertiary), var(--bg-secondary));
  padding: 0.75rem 1rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  border-bottom: 1px solid var(--neon-primary);
}

.terminal-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  display: inline-block;
}

.terminal-dot.red {
  background-color: #ff5f56;
  box-shadow: 0 0 3px #ff5f56;
}

.terminal-dot.yellow {
  background-color: #ffbd2e;
  box-shadow: 0 0 3px #ffbd2e;
}

.terminal-dot.green {
  background-color: #27c93f;
  box-shadow: 0 0 3px #27c93f;
}

.terminal-title {
  margin-left: auto;
  color: var(--text-muted);
  font-size: 0.9rem;
  font-family: var(--font-mono);
}

.terminal-body {
  padding: 1.5rem;
  font-family: var(--font-mono);
  font-size: 0.95rem;
  line-height: 1.8;
  background-color: #000;
}

.terminal-line {
  display: flex;
  align-items: flex-start;
  margin: 0.5rem 0;
}

.prompt {
  color: var(--neon-secondary);
  margin-right: 0.5rem;
  font-weight: 700;
  text-shadow: 0 0 2px var(--neon-secondary);
}

.command {
  color: var(--text-primary);
  flex: 1;
  animation: typing 0.5s steps(40);
}

@keyframes typing {
  from { opacity: 0; }
  to { opacity: 1; }
}

.terminal-output {
  color: var(--success);
  padding-left: 1.2rem;
  font-size: 0.9rem;
  text-shadow: 0 0 2px rgba(0, 255, 0, 0.3);
}

/* === FEATURES SECTION === */
.features-section {
  margin: 5rem 0;
}

.feature-card {
  background: linear-gradient(135deg, rgba(51, 153, 255, 0.05), rgba(0, 255, 153, 0.05));
  border: 1px solid rgba(51, 153, 255, 0.3);
  border-radius: 10px;
  padding: 2rem;
  height: 100%;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.feature-card::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: linear-gradient(
    45deg,
    transparent,
    rgba(51, 153, 255, 0.1),
    transparent
  );
  transform: rotate(45deg);
  transition: all 0.5s ease;
}

.feature-card:hover::before {
  transform: rotate(45deg) translate(50%, 50%);
}

.feature-card:hover {
  transform: translateY(-10px);
  border-color: var(--neon-primary);
  box-shadow: 
    0 10px 40px rgba(51, 153, 255, 0.15),
    inset 0 0 20px rgba(51, 153, 255, 0.05);
}

.feature-icon {
  font-size: 3rem;
  margin-bottom: 1rem;
  display: block;
  filter: drop-shadow(0 0 5px rgba(51, 153, 255, 0.3));
}

.feature-card h3 {
  color: var(--neon-primary);
  font-size: 1.3rem;
  font-weight: 700;
  margin-bottom: 1rem;
}

.feature-card p {
  color: var(--text-secondary);
  font-size: 1rem;
  line-height: 1.6;
}

/* === USE CASES SECTION === */
.use-cases-section {
  margin: 5rem 0;
}

.use-case-card {
  background: linear-gradient(135deg, rgba(51, 153, 255, 0.03), rgba(0, 255, 153, 0.03));
  border: 1px solid rgba(51, 153, 255, 0.2);
  border-radius: 10px;
  padding: 2rem;
  height: 100%;
  transition: all 0.3s ease;
}

.use-case-card:hover {
  border-color: var(--neon-secondary);
  box-shadow: 0 5px 20px rgba(0, 255, 153, 0.15);
  transform: translateY(-5px);
  background: linear-gradient(135deg, rgba(51, 153, 255, 0.05), rgba(0, 255, 153, 0.05));
}

.use-case-icon {
  font-size: 2.5rem;
  margin-bottom: 1rem;
  display: block;
  filter: drop-shadow(0 0 5px rgba(0, 255, 153, 0.3));
}

.use-case-card h4 {
  color: var(--neon-secondary);
  font-size: 1.3rem;
  margin-bottom: 1rem;
  font-weight: 700;
}

.use-case-card p {
  color: #c0c0c0;
  font-size: 1rem;
  line-height: 1.6;
  margin-bottom: 1rem;
}

.use-case-example {
  background-color: rgba(0, 0, 0, 0.3);
  padding: 0.75rem 1rem;
  font-size: 0.9rem;
  color: #aaa;
  border-radius: 4px;
  margin-top: 1rem;
}

.example-label {
  color: var(--neon-secondary);
  font-weight: 600;
  margin-right: 0.5rem;
}

/* === CTA SECTION === */
.cta-section {
  padding: 4rem 2rem;
  background: linear-gradient(135deg, rgba(51, 153, 255, 0.03), rgba(0, 255, 153, 0.03));
  border: 1px solid rgba(51, 153, 255, 0.3);
  border-radius: 20px;
  box-shadow: 0 10px 50px rgba(51, 153, 255, 0.1);
}

.cta-section h2 {
  font-size: 2.5rem;
  font-weight: 900;
}

.cta-buttons {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

/* === BUTTONS === */
.btn-neon {
  background: linear-gradient(135deg, var(--neon-primary), var(--neon-secondary));
  color: #000;
  font-weight: 700;
  padding: 0.75rem 2rem;
  border: none;
  border-radius: 50px;
  font-size: 1rem;
  transition: all 0.3s ease;
  text-transform: uppercase;
  letter-spacing: 1px;
  box-shadow: 0 5px 20px rgba(51, 153, 255, 0.2);
}

.btn-neon:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 30px rgba(51, 153, 255, 0.3);
  filter: brightness(1.2);
  color: #000;
}

.btn-outline-neon {
  background: transparent;
  color: var(--neon-primary);
  font-weight: 700;
  padding: 0.75rem 2rem;
  border: 2px solid var(--neon-primary);
  border-radius: 50px;
  font-size: 1rem;
  transition: all 0.3s ease;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.btn-outline-neon:hover {
  background: var(--neon-primary);
  color: #000;
  transform: translateY(-3px);
  box-shadow: 0 10px 30px rgba(51, 153, 255, 0.2);
}

/* === FOOTER === */
.footer-custom {
  background: linear-gradient(180deg, var(--bg-primary), var(--bg-secondary));
  border-top: 1px solid var(--neon-primary);
  margin-top: 5rem;
  position: relative;
}

.footer-custom h5,
.footer-custom h6 {
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.footer-links {
  list-style: none;
  padding: 0;
}

.footer-links li {
  margin-bottom: 0.5rem;
}

.footer-links a {
  color: var(--text-secondary);
  text-decoration: none;
  transition: all 0.3s ease;
  font-size: 0.9rem;
}

.footer-links a:hover {
  color: var(--neon-primary);
  padding-left: 5px;
}

.footer-text {
  color: #c0c0c0 !important;
}

.footer-text-muted {
  color: #999 !important;
}

.status-placeholder {
  padding: 0.5rem 0;
}

.footer-bottom {
  background-color: var(--bg-primary);
}

/* === TEXT UTILITIES === */
.text-neon {
  color: var(--neon-primary);
  text-shadow: 0 0 5px var(--neon-primary);
}

.text-neon-secondary {
  color: var(--neon-secondary);
  text-shadow: 0 0 5px var(--neon-secondary);
}

.border-glow {
  border-color: var(--neon-primary) !important;
  box-shadow: 0 0 8px rgba(51, 153, 255, 0.3);
}

/* === RESPONSIVE === */
@media (max-width: 768px) {
  .glitch {
    font-size: 3rem;
  }
  
  .lead-enhanced {
    font-size: 1.3rem;
  }
  
  .text-gradient {
    font-size: 1.5rem;
  }
  
  .badge-glow {
    font-size: 2rem;
  }
  
  .nav-links {
    flex-wrap: wrap;
    gap: 0.5rem;
  }
  
  .nav-link-custom {
    font-size: 0.85rem;
    padding: 0.4rem 0.8rem;
  }
  
  .nav-icon {
    display: none;
  }
  
  .cta-buttons {
    flex-direction: column;
  }
  
  .btn-neon,
  .btn-outline-neon {
    width: 100%;
  }
  
  .terminal-body {
    font-size: 0.8rem;
    padding: 1rem;
  }
}

@media (max-width: 576px) {
  .glitch {
    font-size: 2.5rem;
    letter-spacing: 2px;
  }
  
  .section-title {
    font-size: 1.5rem;
  }
  
  .feature-card,
  .use-case-card {
    padding: 1.5rem;
  }
  
  .cta-section {
    padding: 2rem 1rem;
  }
  
  .cta-section h2 {
    font-size: 1.8rem;
  }
}

/* === ANIMATIONS === */
@keyframes fade-in {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.fade-in {
  animation: fade-in 0.6s ease-out;
}

/* === ACCESSIBILITY === */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

/* === SCROLLBAR === */
::-webkit-scrollbar {
  width: 12px;
}

::-webkit-scrollbar-track {
  background: var(--bg-primary);
}

::-webkit-scrollbar-thumb {
  background: linear-gradient(180deg, var(--neon-primary), var(--neon-secondary));
  border-radius: 10px;
}

::-webkit-scrollbar-thumb:hover {
  background: var(--neon-primary);
  box-shadow: 0 0 5px var(--neon-primary);
}

/* === SELECTION === */
::selection {
  background-color: var(--neon-primary);
  color: #000;
}

::-moz-selection {
  background-color: var(--neon-primary);
  color: #000;
}

/*  STATUS WIDGET  */
.status-widget {
  min-height: 60px;
}

.status-loading {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0.75rem;
}

.status-item {
  display: flex;
  align-items: center;
  padding: 0.25rem 0;
  font-size: 0.75rem;
  gap: 0.4rem;
  transition: all 0.3s ease;
}

.status-indicator {
  font-size: 0.35rem;
  line-height: 1;
  width: 6px;
  height: 6px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.status-up .status-indicator {
  color: var(--success);
  text-shadow: 0 0 6px var(--success);
  animation: pulse-green 2s ease-in-out infinite;
}

.status-down .status-indicator {
  color: var(--danger);
  text-shadow: 0 0 6px var(--danger);
  animation: pulse-red 2s ease-in-out infinite;
}

.status-unknown .status-indicator {
  color: var(--text-muted);
}

@keyframes pulse-green {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.6; }
}

@keyframes pulse-red {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.7; }
}

.status-name {
  color: var(--text-secondary);
  font-size: 0.7rem;
  flex: 1;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  font-weight: 400;
  letter-spacing: 0.2px;
}

.status-ping {
  color: var(--neon-secondary);
  font-family: var(--font-mono);
  font-size: 0.65rem;
  font-weight: 600;
  margin-left: auto;
  padding: 0.1rem 0.35rem;
  background: rgba(0, 255, 153, 0.08);
  border-radius: 3px;
  border: 1px solid rgba(0, 255, 153, 0.2);
}

.status-text {
  color: var(--text-muted);
  font-size: 0.65rem;
  margin-left: auto;
  font-style: italic;
}

.status-link {
  display: inline-block;
  margin-top: 0.4rem;
  font-size: 0.7rem;
  color: var(--neon-primary);
  text-decoration: none;
  transition: all 0.3s ease;
  opacity: 0.8;
}

.status-link:hover {
  color: var(--neon-secondary);
  text-shadow: 0 0 8px var(--neon-secondary);
  transform: translateX(3px);
  opacity: 1;
}

.text-neon {
  color: var(--neon-primary);
}

.spinner-border.text-neon {
  border-color: var(--neon-primary);
  border-right-color: transparent;
}

.spinner-border-sm {
  width: 1rem;
  height: 1rem;
  border-width: 0.15em;
}
