@import url('https://fonts.googleapis.com/css2?family=Orbitron:wght@400;500;600;700;800;900&family=Rajdhani:wght@300;400;500;600;700&family=Share+Tech+Mono&display=swap');

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  /* Cyberpunk Color Palette */
  --neon-pink: #ff00ff;
  --neon-cyan: #00ffff;
  --neon-yellow: #ffff00;
  --neon-green: #00ff00;
  --neon-orange: #ff6600;
  --neon-purple: #bf00ff;
  --neon-blue: #0080ff;

  /* Dark backgrounds */
  --bg-dark: #0a0a0f;
  --bg-darker: #050508;
  --bg-card: rgba(15, 15, 25, 0.9);
  --bg-card-hover: rgba(25, 25, 40, 0.95);

  /* Gradients */
  --gradient-primary: linear-gradient(135deg, var(--neon-pink), var(--neon-cyan));
  --gradient-secondary: linear-gradient(135deg, var(--neon-purple), var(--neon-blue));
  --gradient-success: linear-gradient(135deg, var(--neon-green), var(--neon-cyan));
  --gradient-danger: linear-gradient(135deg, #ff0040, var(--neon-orange));

  /* Legacy variable mapping for compatibility */
  --primary-color: var(--neon-cyan);
  --secondary-color: var(--neon-blue);
  --dark-bg: var(--bg-dark);
  --darker-bg: var(--bg-darker);
  --light-text: #ffffff;
  --gray-text: #b0b0c0;
  --text-color: #ffffff;
  --text-primary: #ffffff;
  --text-secondary: #b0b0c0;
  --text-muted: #606080;
  --accent-gradient: var(--gradient-primary);
  --card-bg: var(--bg-card);

  /* Glows */
  --glow-pink: 0 0 10px var(--neon-pink), 0 0 20px var(--neon-pink), 0 0 40px var(--neon-pink);
  --glow-cyan: 0 0 10px var(--neon-cyan), 0 0 20px var(--neon-cyan), 0 0 40px var(--neon-cyan);
  --glow-green: 0 0 10px var(--neon-green), 0 0 20px var(--neon-green);

  /* Transitions */
  --transition: all 0.3s ease;
  --transition-fast: 0.2s ease;
  --transition-normal: 0.3s ease;
  --transition-slow: 0.5s ease;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Rajdhani', sans-serif;
  background: var(--bg-dark);
  color: var(--light-text);
  overflow-x: hidden;
  line-height: 1.6;
  min-height: 100vh;
  position: relative;
}

/* Animated background grid */
body::before {
  content: '';
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: 
    linear-gradient(rgba(0, 255, 255, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0, 255, 255, 0.03) 1px, transparent 1px);
  background-size: 50px 50px;
  animation: gridMove 20s linear infinite;
  pointer-events: none;
  z-index: -1;
}

@keyframes gridMove {
  0% { transform: translate(0, 0); }
  100% { transform: translate(50px, 50px); }
}

/* Scanline effect */
body::after {
  content: '';
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: repeating-linear-gradient(
    0deg,
    rgba(0, 0, 0, 0.15) 0px,
    rgba(0, 0, 0, 0.15) 1px,
    transparent 1px,
    transparent 2px
  );
  pointer-events: none;
  z-index: 9999;
  animation: scanlines 0.1s linear infinite;
}

@keyframes scanlines {
  0% { transform: translateY(0); }
  100% { transform: translateY(2px); }
}

/* Typography - Cyberpunk style */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Orbitron', sans-serif;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2px;
}

/* Animated Background - DISABLED for performance */
.animated-bg {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
  background: var(--bg-dark);
  overflow: hidden;
}

/* Static gradient background instead of animated - better performance */
.animated-bg::before {
  content: '';
  position: absolute;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle at 50% 50%, rgba(0, 212, 255, 0.08) 0%, transparent 50%),
              radial-gradient(circle at 80% 20%, rgba(0, 102, 255, 0.06) 0%, transparent 50%),
              radial-gradient(circle at 20% 80%, rgba(0, 212, 255, 0.06) 0%, transparent 50%);
  /* Animation disabled for performance */
  /* animation: bgMove 20s ease-in-out infinite; */
}

/* Background animation keyframes - kept but not used
@keyframes bgMove {
  0%, 100% { transform: translate(0, 0) rotate(0deg); }
  50% { transform: translate(-50px, -50px) rotate(180deg); }
}
*/

/* Header & Navigation - Cyberpunk Style */
header {
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 1000;
  background: rgba(5, 5, 10, 0.95);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--neon-cyan);
  box-shadow: 0 0 20px rgba(0, 255, 255, 0.2);
  transition: var(--transition);
}

header::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 1px;
  background: var(--gradient-primary);
  animation: navGlow 3s linear infinite;
}

@keyframes navGlow {
  0%, 100% { opacity: 0.5; }
  50% { opacity: 1; }
}

header.scrolled {
  background: rgba(5, 5, 10, 0.98);
  box-shadow: 0 0 30px rgba(255, 0, 255, 0.2);
}

nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.5rem 5%;
  max-width: 1400px;
  margin: 0 auto;
}

.logo {
  font-family: 'Orbitron', sans-serif;
  font-size: 1.5rem;
  font-weight: 900;
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: logoGlow 2s ease-in-out infinite alternate;
  cursor: pointer;
  text-transform: uppercase;
  letter-spacing: 2px;
}

@keyframes logoGlow {
  0% { filter: drop-shadow(0 0 10px rgba(255, 0, 255, 0.5)); }
  100% { filter: drop-shadow(0 0 20px rgba(0, 255, 255, 0.8)); }
}

/* Hamburger Menu - Cyberpunk Style */
.hamburger {
  display: flex;
  flex-direction: column;
  cursor: pointer;
  z-index: 1001;
  padding: 8px;
  transition: var(--transition);
  border: 1px solid var(--neon-cyan);
  background: transparent;
}

.hamburger:hover {
  border-color: var(--neon-pink);
  box-shadow: 0 0 10px var(--neon-pink);
}

.hamburger span {
  width: 25px;
  height: 2px;
  background: var(--neon-cyan);
  margin: 3px 0;
  transition: var(--transition);
}

.hamburger.active span:nth-child(1) {
  transform: rotate(45deg) translate(8px, 8px);
  background: var(--neon-pink);
}

.hamburger.active span:nth-child(2) {
  opacity: 0;
}

.hamburger.active span:nth-child(3) {
  transform: rotate(-45deg) translate(7px, -7px);
  background: var(--neon-pink);
}

/* Mobile Navigation Menu - Cyberpunk Style */
.nav-links {
  position: fixed;
  right: -100%;
  top: 0;
  height: 100vh;
  width: 320px;
  max-width: 85%;
  background: rgba(5, 5, 10, 0.98);
  backdrop-filter: blur(10px);
  border-left: 1px solid var(--neon-cyan);
  box-shadow: -5px 0 30px rgba(0, 255, 255, 0.2);
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: center;
  gap: 0;
  padding: 80px 20px 20px;
  transition: var(--transition);
  box-shadow: -5px 0 20px rgba(0, 0, 0, 0.5);
  list-style: none;
  z-index: 999;
  overflow-y: auto;
  overflow-x: hidden;
}

.nav-links.active {
  right: 0;
}

.nav-links li {
  opacity: 0;
  transform: translateX(50px);
  transition: var(--transition);
  width: 100%;
  margin: 0;
}

.nav-links.active li {
  opacity: 1;
  transform: translateX(0);
}

.nav-links.active li:nth-child(1) { transition-delay: 0.1s; }
.nav-links.active li:nth-child(2) { transition-delay: 0.15s; }
.nav-links.active li:nth-child(3) { transition-delay: 0.2s; }
.nav-links.active li:nth-child(4) { transition-delay: 0.25s; }
.nav-links.active li:nth-child(5) { transition-delay: 0.3s; }
.nav-links.active li:nth-child(6) { transition-delay: 0.35s; }
.nav-links.active li:nth-child(7) { transition-delay: 0.4s; }
.nav-links.active li:nth-child(8) { transition-delay: 0.45s; }
.nav-links.active li:nth-child(9) { transition-delay: 0.5s; }
.nav-links.active li:nth-child(10) { transition-delay: 0.55s; }
.nav-links.active li:nth-child(11) { transition-delay: 0.6s; }
.nav-links.active li:nth-child(12) { transition-delay: 0.65s; }
.nav-links.active li:nth-child(13) { transition-delay: 0.7s; }

.nav-links a {
  font-family: 'Orbitron', sans-serif;
  color: var(--text-secondary);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  position: relative;
  transition: var(--transition);
  padding: 0.65rem 1rem;
  display: block;
  width: 100%;
  text-align: center;
  border-radius: 0;
  outline: none;
}

.nav-links a:focus {
  outline: none;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: 8px;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 2px;
  background: var(--gradient-primary);
  transition: width 0.3s ease;
}

.nav-links a:hover::after,
.nav-links a:focus::after {
  width: 50%;
}

.nav-links a.active {
  color: var(--neon-pink);
}

.nav-links a.active::after {
  width: 50%;
  background: var(--neon-pink);
}

.nav-links a:hover,
.nav-links a:focus {
  color: var(--neon-cyan);
  text-shadow: 0 0 10px var(--neon-cyan);
  transform: translateY(-2px);
}

/* Main Content */
main {
  padding-top: 80px;
  min-height: 100vh;
}

.container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 5%;
}

/* Hero Section - Cyberpunk Style */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.hero-content {
  z-index: 1;
  animation: fadeInUp 1s ease-out;
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.hero h1 {
  font-family: 'Orbitron', sans-serif;
  font-size: clamp(2.5rem, 8vw, 4rem);
  margin-bottom: 1rem;
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  text-transform: uppercase;
  letter-spacing: 3px;
  animation: titleGlow 2s ease-in-out infinite alternate;
}

@keyframes titleGlow {
  0% { filter: brightness(1) drop-shadow(0 0 10px rgba(255, 0, 255, 0.5)); }
  100% { filter: brightness(1.3) drop-shadow(0 0 20px rgba(0, 255, 255, 0.8)); }
}

@keyframes slideInLeft {
  from {
    opacity: 0;
    transform: translateX(-50px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

.hero .subtitle {
  font-family: 'Share Tech Mono', monospace;
  font-size: clamp(1rem, 3vw, 1.4rem);
  color: var(--text-secondary);
  margin-bottom: 2rem;
  animation: slideInRight 1s ease-out;
  letter-spacing: 2px;
}

@keyframes slideInRight {
  from {
    opacity: 0;
    transform: translateX(50px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

/* Buttons - Cyberpunk Style with Gradient Border */
.btn {
  font-family: 'Orbitron', sans-serif;
  display: inline-block;
  padding: 0.75rem 1.5rem;
  margin: 0.5rem;
  border: none;
  font-size: 0.85rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 2px;
  text-decoration: none;
  cursor: pointer;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
  color: var(--light-text);
  background: transparent;
  clip-path: polygon(
    0 0,
    calc(100% - 12px) 0,
    100% 12px,
    100% 100%,
    12px 100%,
    0 calc(100% - 12px)
  );
}

/* Gradient border effect */
.btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: var(--gradient-primary);
  z-index: -2;
  clip-path: polygon(
    0 0,
    calc(100% - 12px) 0,
    100% 12px,
    100% 100%,
    12px 100%,
    0 calc(100% - 12px)
  );
}

/* Inner background (creates border effect) */
.btn::after {
  content: '';
  position: absolute;
  top: 2px;
  left: 2px;
  right: 2px;
  bottom: 2px;
  background: var(--bg-dark);
  z-index: -1;
  transition: all 0.3s ease;
  clip-path: polygon(
    0 0,
    calc(100% - 10px) 0,
    100% 10px,
    100% 100%,
    10px 100%,
    0 calc(100% - 10px)
  );
}

.btn:hover::after {
  background: linear-gradient(135deg, rgba(255, 0, 255, 0.2), rgba(0, 255, 255, 0.2));
}

.btn:hover {
  transform: translateY(-2px);
  box-shadow: 
    0 0 20px rgba(255, 0, 255, 0.3),
    0 0 40px rgba(0, 255, 255, 0.2);
}

.btn-primary {
  color: var(--light-text);
}

.btn-primary:hover::after {
  background: linear-gradient(135deg, rgba(255, 0, 255, 0.4), rgba(0, 255, 255, 0.3));
}

.btn-primary:hover {
  box-shadow: 
    0 0 20px rgba(0, 255, 255, 0.4),
    0 0 40px rgba(255, 0, 255, 0.2);
}

.btn-secondary {
  color: var(--light-text);
}

.btn-secondary::before {
  background: linear-gradient(135deg, var(--neon-cyan), var(--neon-blue));
}

.btn-secondary:hover::after {
  background: linear-gradient(135deg, rgba(0, 255, 255, 0.2), rgba(0, 128, 255, 0.2));
}

.btn-secondary:hover {
  box-shadow: 
    0 0 20px rgba(0, 255, 255, 0.4),
    0 0 40px rgba(0, 128, 255, 0.2);
}

/* Hide inline SVG icons inside PayPal buttons to match Buy Me a Coffee style */
.paypal-btn svg,
#paypalBtn svg,
#paypalDropOffBtn svg {
  display: none !important;
}

/* ===== CYBERPUNK PAYPAL BUTTONS ===== */
.paypal-service-btn,
#paypalBtn,
#paypalDropOffBtn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.9rem 1.5rem;
  font-family: 'Orbitron', sans-serif;
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2px;
  cursor: pointer;
  border: 2px solid #FFB800;
  background: linear-gradient(135deg, rgba(255,184,0,0.1), rgba(255,150,0,0.05));
  color: #FFB800;
  position: relative;
  overflow: hidden;
  transition: all 0.3s ease;
  clip-path: polygon(
    0 0,
    calc(100% - 12px) 0,
    100% 12px,
    100% 100%,
    12px 100%,
    0 calc(100% - 12px)
  );
}

.paypal-service-btn::before,
#paypalBtn::before,
#paypalDropOffBtn::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 184, 0, 0.2),
    transparent
  );
  transition: left 0.5s ease;
}

.paypal-service-btn:hover::before,
#paypalBtn:hover::before,
#paypalDropOffBtn:hover::before {
  left: 100%;
}

.paypal-service-btn:hover,
#paypalBtn:hover,
#paypalDropOffBtn:hover {
  background: linear-gradient(135deg, rgba(255,184,0,0.25), rgba(255,150,0,0.15));
  border-color: #FFD700;
  color: #FFD700;
  transform: translateY(-3px);
  box-shadow: 
    0 0 20px rgba(255, 184, 0, 0.4),
    0 0 40px rgba(255, 184, 0, 0.2),
    inset 0 0 20px rgba(255, 184, 0, 0.1);
}

/* Pulsing glow animation for PayPal buttons */
@keyframes paypalCyberPulse {
  0%, 100% {
    box-shadow: 
      0 0 10px rgba(255, 184, 0, 0.3),
      0 0 20px rgba(255, 184, 0, 0.1);
  }
  50% {
    box-shadow: 
      0 0 20px rgba(255, 184, 0, 0.5),
      0 0 40px rgba(255, 184, 0, 0.2),
      0 0 60px rgba(255, 184, 0, 0.1);
  }
}

.paypal-service-btn,
#paypalBtn,
#paypalDropOffBtn {
  animation: paypalCyberPulse 3s ease-in-out infinite;
}

/* Ensure any element that targets PayPal links is bold */
a.paypal-btn,
button.paypal-btn,
[data-paypal],
a[href*="paypal.com"],
a[href*="paypalme"],
button[id*="paypal"],
a[id*="paypal"] {
  font-weight: 700 !important;
}

/* Stronger focus ring for keyboard users */
#viewAllFeedbackBtn:focus,
#paypalBtn:focus,
#paypalDropOffBtn:focus,
.paypal-btn:focus,
.paypal-service-btn:focus {
  outline: 2px solid #FFB800;
  outline-offset: 3px;
  box-shadow: 0 0 25px rgba(255, 184, 0, 0.5);
}

/* Small spacing fixes so PayPal buttons sit nicely next to inline text */
.paypal-btn {
  display: inline-block;
  margin-left: 0.6rem; /* space from preceding text */
  margin-top: 0.9rem; /* increased spacing so hover lift doesn't overlap preceding text */
  vertical-align: middle;
  padding-top: .35rem;
  padding-bottom: .35rem;
}

/* Section Styles - Cyberpunk */
section {
  padding: 5rem 0;
  position: relative;
}

.section-title {
  font-family: 'Orbitron', sans-serif;
  font-size: clamp(2rem, 5vw, 3rem);
  text-align: center;
  margin-bottom: 3rem;
  position: relative;
  animation: fadeIn 1s ease-out;
  text-transform: uppercase;
  letter-spacing: 3px;
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.section-title::after {
  content: '';
  display: block;
  width: 100px;
  height: 3px;
  background: var(--gradient-primary);
  margin: 1rem auto;
  box-shadow: var(--glow-cyan);
}

/* Cyber Terminal Section Title - Cyberpunk hacker-style headings */
.cyber-terminal-title {
  font-family: 'Share Tech Mono', 'Courier New', monospace;
  font-size: clamp(1.4rem, 4vw, 2rem);
  color: var(--neon-green);
  text-align: center;
  margin-bottom: 0.5rem;
  padding: 1rem 1.5rem;
  background: rgba(0, 255, 0, 0.03);
  border-left: 3px solid var(--neon-green);
  position: relative;
  display: inline-block;
  width: 100%;
  max-width: 800px;
  text-shadow: 0 0 10px rgba(0, 255, 0, 0.5), 0 0 20px rgba(0, 255, 0, 0.3);
  animation: terminalGlow 2s ease-in-out infinite;
}

.cyber-terminal-title::before {
  content: '> ';
  color: var(--neon-green);
  font-weight: bold;
}

.cyber-terminal-title::after {
  content: '_';
  color: var(--neon-green);
  animation: terminalBlink 1s step-end infinite;
  margin-left: 2px;
  display: inline;
  width: auto;
  height: auto;
  background: none;
}

@keyframes terminalBlink {
  0%, 50% { opacity: 1; }
  51%, 100% { opacity: 0; }
}

@keyframes terminalGlow {
  0%, 100% { 
    text-shadow: 0 0 10px rgba(0, 255, 0, 0.5), 0 0 20px rgba(0, 255, 0, 0.3);
    border-color: var(--neon-green);
  }
  50% { 
    text-shadow: 0 0 15px rgba(0, 255, 0, 0.7), 0 0 30px rgba(0, 255, 0, 0.5), 0 0 40px rgba(0, 255, 0, 0.3);
    border-color: var(--neon-cyan);
  }
}

/* Container for centering the terminal title */
.cyber-terminal-wrapper {
  display: flex;
  justify-content: center;
  margin-top: 2rem;
  margin-bottom: 0.5rem;
}

/* Typing animation variant - cycles through text */
.cyber-terminal-title.typing {
  overflow: hidden;
  white-space: nowrap;
  animation: terminalGlow 2s ease-in-out infinite, typing 3s steps(40, end) infinite;
}

@keyframes typing {
  0%, 100% { max-width: 0; }
  50%, 90% { max-width: 100%; }
}

/* Scanline effect for extra cyber feel */
.cyber-terminal-title.scanlines::before {
  content: '> ';
}

.cyber-terminal-wrapper.scanlines::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: repeating-linear-gradient(
    0deg,
    transparent,
    transparent 2px,
    rgba(0, 255, 0, 0.03) 2px,
    rgba(0, 255, 0, 0.03) 4px
  );
  pointer-events: none;
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

/* Cards - Cyberpunk Style */
.cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  margin-top: 1rem;
}

/* Reduce margin when cards follow a cyber terminal title */
.cyber-terminal-wrapper + .cards-grid {
  margin-top: 0.5rem;
}

.card {
  background: var(--bg-card);
  backdrop-filter: blur(10px);
  padding: 2rem;
  border: 2px solid var(--neon-cyan);
  box-shadow: 0 0 20px rgba(0, 255, 255, 0.3);
  transition: var(--transition);
  cursor: pointer;
  position: relative;
  overflow: hidden;
  color: #fff !important;
  text-decoration: none !important;
  clip-path: polygon(
    0 0,
    calc(100% - 20px) 0,
    100% 20px,
    100% 100%,
    20px 100%,
    0 calc(100% - 20px)
  );
}

.card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: var(--gradient-primary);
}

.card::after {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 0, 255, 0.1),
    transparent
  );
  transition: all 0.5s;
}

.card:hover, .card:focus, .method-card:hover, .method-card:focus {
  border-color: var(--neon-pink);
  box-shadow: 0 0 25px rgba(255, 0, 255, 0.4), 0 0 50px rgba(0, 255, 255, 0.2);
  transform: translateY(-5px);
  background: var(--bg-card-hover) !important;
}

.card:hover::after {
  left: 100%;
}

.card h3 {
  font-family: 'Orbitron', sans-serif;
  text-decoration: none !important;
  color: var(--neon-cyan);
  text-transform: uppercase;
  letter-spacing: 1px;
}

.card p {
  text-decoration: none !important;
  color: var(--text-secondary);
}

.card-icon {
  font-size: 1.6rem;
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  background: linear-gradient(135deg, #6a11cb 0%, #2575fc 100%);
  color: #fff;
  box-shadow: 0 0 15px rgba(106, 17, 203, 0.4), 0 0 30px rgba(37, 117, 252, 0.2);
  transition: all 0.3s ease;
  clip-path: polygon(
    0 0,
    calc(100% - 10px) 0,
    100% 10px,
    100% 100%,
    10px 100%,
    0 calc(100% - 10px)
  );
}

.card-icon svg {
  width: 24px;
  height: 24px;
  fill: #fff;
  filter: drop-shadow(0 0 5px var(--neon-cyan));
}

/* Card icon hover effect */
.card:hover .card-icon {
  transform: none;
  box-shadow: none;
  filter: none;
}

/* Pricing cards - allow overflow for badges (e.g., "Most Popular") */
.card.pricing-card {
  overflow: visible;
  clip-path: none;
  display: flex;
  flex-direction: column;
}

/* Pricing cards in grid - use flexbox to align buttons at bottom */
.pricing-cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
  align-items: stretch;
}

.pricing-cards-grid .card {
  display: flex;
  flex-direction: column;
  height: 100%;
}

.pricing-cards-grid .card ul {
  flex-grow: 1;
}

.pricing-cards-grid .paypal-service-btn {
  margin-top: auto;
}

/* Ensure smaller screens keep icons visible */
@media (max-width: 600px) {
  .card-icon { width:48px; height:48px; border-radius:10px; }
  .card-icon svg { width:20px; height:20px; }
}

/* Modal styles - Cyberpunk Style */
.modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(5, 5, 10, 0.9);
  backdrop-filter: blur(5px);
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
  animation: fadeIn 0.3s ease;
}

.modal-content {
  background: var(--bg-card);
  backdrop-filter: blur(20px);
  padding: 2.5rem;
  max-width: 600px;
  width: 90%;
  border: 2px solid var(--neon-cyan);
  box-shadow: 0 0 40px rgba(0, 255, 255, 0.3), 0 0 80px rgba(255, 0, 255, 0.2);
  animation: slideUp 0.3s ease;
  clip-path: polygon(
    0 0,
    calc(100% - 25px) 0,
    100% 25px,
    100% 100%,
    25px 100%,
    0 calc(100% - 25px)
  );
  position: relative;
}

.modal-content::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: var(--gradient-primary);
}

@keyframes slideUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.modal-content h2 {
  font-size: 1.5rem;
  margin-bottom: 1rem;
}

.modal-content ul {
  list-style: none;
  padding-left: 0;
}

.modal-content ul li {
  padding: 0.5rem 0;
  padding-left: 1.5rem;
  position: relative;
}

.modal-content ul li::before {
  content: '\2713';
  position: absolute;
  left: 0;
  color: var(--primary-color);
  font-weight: bold;
}

/* Remote Desktop Support specific styles */
.remote-support-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}

.remote-support-card {
  background: var(--card-bg);
  backdrop-filter: blur(10px);
  border-radius: 20px;
  padding: 2rem;
  border: 1px solid rgba(255, 255, 255, 0.1);
  transition: var(--transition);
  cursor: pointer;
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  min-height: 280px;
}

.remote-support-card h3 {
  margin-top: 1rem;
  margin-bottom: 0.75rem;
}

.remote-support-card p {
  flex-grow: 1;
  line-height: 1.7;
}

.remote-support-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(0, 212, 255, 0.1), transparent);
  transition: var(--transition);
}

.remote-support-card:hover::before {
  left: 100%;
}

.remote-support-card:hover {
  transform: translateY(-10px);
  border-color: var(--primary-color);
  box-shadow: 0 10px 40px rgba(0, 212, 255, 0.2);
}

/* Forms - Cyberpunk Style */
.form-group {
  margin-bottom: 1.5rem;
}

.form-group label {
  display: block;
  margin-bottom: 0.5rem;
  color: var(--neon-cyan);
  font-family: 'Orbitron', sans-serif;
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 15px 20px;
  font-family: 'Share Tech Mono', monospace;
  font-size: 1rem;
  background: rgba(0, 0, 0, 0.5);
  border: 2px solid var(--neon-cyan);
  color: var(--light-text);
  transition: var(--transition);
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--neon-pink);
  box-shadow: var(--glow-pink), inset 0 0 20px rgba(255, 0, 255, 0.1);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: var(--text-muted);
}

.form-group textarea {
  min-height: 150px;
  resize: vertical;
}

/* Footer - Cyberpunk Style */
footer {
  background: rgba(5, 5, 10, 0.95);
  padding: 3rem 5%;
  margin-top: 5rem;
  border-top: 1px solid rgba(0, 255, 255, 0.2);
  position: relative;
}

footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 1px;
  background: var(--gradient-primary);
}

.footer-content {
  max-width: 1400px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
}

.footer-section h3 {
  font-family: 'Orbitron', sans-serif;
  margin-bottom: 1rem;
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* Footer paragraphs should be block-level; anchors inside them remain inline so icons and text stay on the same line */
.footer-section p {
  font-family: 'Share Tech Mono', monospace;
  color: var(--text-muted);
  margin-bottom: 0.5rem;
  transition: var(--transition);
}

/* Stack footer links vertically like contact info */
.footer-section a {
  color: var(--neon-cyan);
  text-decoration: none;
  transition: var(--transition);
  display: block;
  margin-bottom: 0.5rem;
}

.footer-section a:hover {
  color: var(--neon-pink);
  text-shadow: 0 0 10px var(--neon-pink);
  padding-left: 5px;
}

.social-links {
  display: flex;
  gap: 1rem;
  margin-top: 1rem;
}

.social-links a {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--card-bg);
  border-radius: 50%;
  transition: var(--transition);
}

.social-links a:hover {
  background: var(--accent-gradient);
  transform: translateY(-5px) rotate(360deg);
}

.copyright {
  text-align: center;
  padding-top: 2rem;
  margin-top: 2rem;
  border-top: 1px solid rgba(0, 255, 255, 0.2);
  color: var(--text-muted);
  font-family: 'Share Tech Mono', monospace;
  font-size: 0.85rem;
}

/* Animations */
.fade-in {
  animation: fadeIn 1s ease-out;
}

.slide-in-left {
  animation: slideInLeft 1s ease-out;
}

.slide-in-right {
  animation: slideInRight 1s ease-out;
}

.bounce {
  animation: bounce 2s infinite;
}

@keyframes bounce {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-20px); }
}

/* Responsive Design */
@media (max-width: 768px) {
  .cards-grid {
    grid-template-columns: 1fr;
  }

  nav {
    padding: 1rem 5%;
  }

  .footer-content {
    grid-template-columns: 1fr;
  }
  
  .nav-links {
    width: 280px;
    max-width: 80%;
    padding: 70px 15px 15px;
  }
  
  .nav-links a {
    font-size: 1rem;
    padding: 0.55rem 0.8rem;
  }

  /* Make upload notification background solid on tablet */
  .bg-upload-toast {
    background: #1a1f3a !important;
    backdrop-filter: none !important;
  }
}

@media (max-width: 480px) {
  .nav-links {
    width: 260px;
    max-width: 88%;
    padding: 65px 12px 12px;
  }
  
  .nav-links a {
    font-size: 0.95rem;
    padding: 0.5rem 0.6rem;
  }

  /* Make upload notification background solid on mobile */
  .bg-upload-toast {
    background: #1a1f3a !important;
    backdrop-filter: none !important;
  }
}

@media (max-width: 360px) {
  .nav-links {
    width: 240px;
    max-width: 92%;
    padding: 60px 10px 10px;
  }
  
  .nav-links a {
    font-size: 0.9rem;
    padding: 0.45rem 0.5rem;
  }

  /* Make upload notification background solid on smaller mobile */
  .bg-upload-toast {
    background: #1a1f3a !important;
    backdrop-filter: none !important;
  }
}

/* Loading Animation - Cyberpunk Style */
.loading {
  display: inline-block;
  width: 20px;
  height: 20px;
  border: 3px solid rgba(0, 255, 255, 0.3);
  border-top-color: var(--neon-pink);
  animation: spin 1s linear infinite;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

/* Scroll Animations - Cyberpunk */
.scroll-reveal {
  opacity: 0;
  transform: translateY(50px);
  transition: all 0.8s ease-out;
}

.scroll-reveal.revealed {
  opacity: 1;
  transform: translateY(0);
}

/* Particle Effect - Cyberpunk */
.particles {
  position: absolute;
  width: 100%;
  height: 100%;
  overflow: hidden;
}

.particle {
  position: absolute;
  width: 2px;
  height: 2px;
  background: var(--neon-cyan);
  box-shadow: 0 0 6px var(--neon-cyan);
  animation: float 15s infinite;
}

@keyframes float {
  0%, 100% {
    transform: translate(0, 0);
    opacity: 0;
  }
  10%, 90% {
    opacity: 1;
  }
  50% {
    transform: translate(100px, -100px);
  }
}

.profile-pic {
  position: relative;
  z-index: 2;
  box-shadow: 0 0 20px rgba(255, 0, 255, 0.4), 0 0 40px rgba(0, 255, 255, 0.2);
  border: 2px solid var(--neon-cyan);
  animation: profileGlow 2.5s ease-in-out infinite;
}

@keyframes profileGlow {
  0%, 100% {
    box-shadow: 0 0 20px rgba(255, 0, 255, 0.4), 0 0 40px rgba(0, 255, 255, 0.2);
    border-color: var(--neon-cyan);
  }
  50% {
    box-shadow: 0 0 30px rgba(255, 0, 255, 0.6), 0 0 60px rgba(0, 255, 255, 0.4);
    border-color: var(--neon-pink);
  }
}

.profile-bonus-glow {
  position: relative;
  width: 140px;
  height: 140px;
  margin: 0 auto 1rem auto;
}
.profile-bonus-glow::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 140px;
  height: 140px;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  background: conic-gradient(
    #00d4ff 0deg 90deg,
    #0066ff 90deg 180deg,
    #00d4ff 180deg 270deg,
    #0066ff 270deg 360deg
  );
  filter: blur(8px) brightness(1.2);
  opacity: 0.7;
  z-index: 1;
  animation: bonusGlowSpin 3s linear infinite;
}
@keyframes bonusGlowSpin {
  0% { transform: translate(-50%, -50%) rotate(0deg); }
  100% { transform: translate(-50%, -50%) rotate(360deg); }
}
.profile-bonus-glow .profile-pic {
  position: relative;
  z-index: 2;
  background: #0a0e27;
}

/* Floating Facebook badge - Cyberpunk style matching CyberFiles bot */
.floating-fb {
  position: fixed;
  left: 18px;
  bottom: 20px;
  width: 60px;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 0;
  clip-path: polygon(15% 0, 100% 0, 100% 85%, 85% 100%, 0 100%, 0 15%);
  background: linear-gradient(135deg, #0a0a0f, #15152a);
  box-shadow: 
    0 0 15px rgba(24, 119, 242, 0.5),
    0 0 30px rgba(66, 165, 245, 0.3),
    inset 0 0 20px rgba(24, 119, 242, 0.15);
  z-index: 2000;
  transition: all 0.3s ease;
  border: none;
  cursor: pointer;
  animation: fbCyberFloat 3s ease-in-out infinite;
  overflow: visible;
}
.floating-fb::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, #1877F2, #42a5f5);
  clip-path: polygon(15% 0, 100% 0, 100% 85%, 85% 100%, 0 100%, 0 15%);
  z-index: -1;
  padding: 2px;
}
.floating-fb svg {
  width: 28px;
  height: 28px;
  display: block;
  z-index: 2;
  filter: drop-shadow(0 0 8px rgba(66, 165, 245, 1));
}
.floating-fb svg circle {
  fill: transparent;
}
.floating-fb svg path {
  fill: #fff;
}
.floating-fb::after {
  content: '';
  position: absolute;
  width: 100%;
  height: 100%;
  clip-path: polygon(15% 0, 100% 0, 100% 85%, 85% 100%, 0 100%, 0 15%);
  border: 2px solid #1877F2;
  animation: fbCyberPulse 2s ease-out infinite;
  pointer-events: none;
}
.floating-fb:hover {
  transform: scale(1.1) translateY(-3px);
  box-shadow: 
    0 0 25px rgba(24, 119, 242, 0.7),
    0 0 50px rgba(66, 165, 245, 0.4),
    inset 0 0 30px rgba(24, 119, 242, 0.2);
}
@keyframes fbCyberFloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-5px); }
}
@keyframes fbCyberPulse {
  0% { transform: scale(1); opacity: 0.8; }
  100% { transform: scale(1.4); opacity: 0; }
}

/* Floating Messenger badge (matches Facebook badge style, positioned on right side) */
.floating-messenger {
  position: fixed;
  right: 18px;
  bottom: 20px;
  width: 60px;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: linear-gradient(135deg, #7C7EF5 60%, #B8B9F7 100%);
  box-shadow: 0 8px 32px 0 rgba(91,95,199,0.18), 0 2px 8px rgba(0,0,0,0.10);
  z-index: 2000;
  transition: transform 0.22s cubic-bezier(.4,0,.2,1), box-shadow 0.22s cubic-bezier(.4,0,.2,1);
  border: 2.5px solid #5B5FC7;
  cursor: pointer;
  animation: messengerFloat 3.8s ease-in-out infinite 0.2s;
  overflow: visible;
  padding: 0;
}
.floating-messenger img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
  z-index: 2;
}
.floating-messenger svg {
  width: 34px;
  height: 34px;
  display: block;
  z-index: 2;
}
.floating-messenger::before {
  content: '';
  position: absolute;
  left: 50%;
  top: 50%;
  width: 100%;
  height: 100%;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  z-index: 0;
  pointer-events: none;
  box-shadow: 0 0 20px 5px rgba(91,95,199,0.4), 0 0 40px 10px rgba(91,95,199,0.2);
  animation: messengerGlowPulse 3s ease-in-out infinite;
}
.floating-messenger::after {
  content: '';
  position: absolute;
  left: 50%;
  top: 50%;
  width: 80px;
  height: 80px;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  background: conic-gradient(
    #5B5FC7 0deg 90deg,
    #8B8FD7 90deg 180deg,
    #5B5FC7 180deg 270deg,
    #8B8FD7 270deg 360deg
  );
  opacity: 0.18;
  filter: blur(6px);
  z-index: 1;
  pointer-events: none;
  animation: messengerBadgeGlowSpin 3.7s linear infinite;
}
.floating-messenger:hover {
  transform: translateY(-8px) scale(1.09);
  box-shadow: 0 16px 48px 0 rgba(91,95,199,0.28), 0 4px 16px rgba(0,0,0,0.13);
  border-color: #4348A0;
}
.floating-messenger:hover::before {
  box-shadow: 0 0 30px 8px rgba(91,95,199,0.6), 0 0 60px 15px rgba(91,95,199,0.3);
}
@keyframes messengerFloat {
  0% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
  100% { transform: translateY(0); }
}
@keyframes messengerGlowPulse {
  0%, 100% {
    box-shadow: 0 0 20px 5px rgba(91,95,199,0.4), 0 0 40px 10px rgba(91,95,199,0.2);
  }
  50% {
    box-shadow: 0 0 30px 8px rgba(91,95,199,0.6), 0 0 60px 15px rgba(91,95,199,0.3);
  }
}
@keyframes messengerBadgeGlowSpin {
  0% { transform: translate(-50%, -50%) rotate(0deg); }
  100% { transform: translate(-50%, -50%) rotate(360deg); }
}

/* Floating Back to Top badge (elevated, modern style, positioned center bottom) */
.floating-back-to-top {
  position: fixed;
  left: 50%;
  bottom: 20px;
  transform: translateX(-50%);
  width: 60px;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: linear-gradient(135deg, #00d4ff 60%, #00a8cc 100%);
  box-shadow: 0 8px 32px 0 rgba(0,212,255,0.22), 0 2px 8px rgba(0,0,0,0.10);
  z-index: 999;
  transition: transform 0.22s cubic-bezier(.4,0,.2,1), box-shadow 0.22s cubic-bezier(.4,0,.2,1), opacity 0.3s ease;
  border: 2.5px solid #00d4ff;
  cursor: pointer;
  animation: backToTopFloat 3.5s ease-in-out infinite 0.4s;
  overflow: visible;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.floating-back-to-top.visible {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.floating-back-to-top svg {
  width: 28px;
  height: 28px;
  display: block;
  z-index: 2;
  fill: #fff;
  transition: transform 0.3s ease;
}

.floating-back-to-top::before {
  content: '';
  position: absolute;
  left: 50%;
  top: 50%;
  width: 100%;
  height: 100%;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  z-index: 0;
  pointer-events: none;
  box-shadow: 0 0 20px 5px rgba(0,212,255,0.4), 0 0 40px 10px rgba(0,212,255,0.2);
  animation: backToTopGlowPulse 3s ease-in-out infinite;
}

.floating-back-to-top::after {
  content: '';
  position: absolute;
  left: 50%;
  top: 50%;
  width: 80px;
  height: 80px;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  background: conic-gradient(
    #00d4ff 0deg 90deg,
    #0096c7 90deg 180deg,
    #00d4ff 180deg 270deg,
    #0096c7 270deg 360deg
  );
  opacity: 0.18;
  filter: blur(6px);
  z-index: 1;
  pointer-events: none;
  animation: backToTopGlowSpin 3.5s linear infinite;
}

.floating-back-to-top:hover {
  transform: translateX(-50%) translateY(-8px) scale(1.09);
  box-shadow: 0 16px 48px 0 rgba(0,212,255,0.32), 0 4px 16px rgba(0,0,0,0.13);
  border-color: #00a8cc;
}

.floating-back-to-top:hover svg {
  transform: translateY(-4px);
}

.floating-back-to-top:hover::before {
  box-shadow: 0 0 30px 8px rgba(0,212,255,0.6), 0 0 60px 15px rgba(0,212,255,0.3);
}

@keyframes backToTopFloat {
  0% { transform: translateX(-50%) translateY(0); }
  50% { transform: translateX(-50%) translateY(-8px); }
  100% { transform: translateX(-50%) translateY(0); }
}

@keyframes backToTopGlowPulse {
  0%, 100% {
    box-shadow: 0 0 20px 5px rgba(0,212,255,0.4), 0 0 40px 10px rgba(0,212,255,0.2);
  }
  50% {
    box-shadow: 0 0 30px 8px rgba(0,212,255,0.6), 0 0 60px 15px rgba(0,212,255,0.3);
  }
}

@keyframes backToTopGlowSpin {
  0% { transform: translate(-50%, -50%) rotate(0deg); }
  100% { transform: translate(-50%, -50%) rotate(360deg); }
}

@media (max-width: 480px) {
  .floating-fb { left: 8px; bottom: 20px; width: 50px; height: 50px; }
  .floating-fb svg { width: 20px; height: 20px; }

  .floating-messenger { right: 8px; bottom: 20px; width: 44px; height: 44px; }
  .floating-messenger img { width: 100%; height: 100%; }
  .floating-messenger svg { width: 22px; height: 22px; }
  .floating-messenger::after { width: 60px, height: 60px; }
  .floating-messenger::before { 
    box-shadow: 0 0 15px 4px rgba(91,95,199,0.4), 0 0 30px 8px rgba(91,95,199,0.2);
  }
  
  .floating-back-to-top { width: 44px; height: 44px; }
  .floating-back-to-top svg { width: 20px; height: 20px; }
  .floating-back-to-top::after { width: 60px, height: 60px; }
  .floating-back-to-top::before { 
    box-shadow: 0 0 15px 4px rgba(0,212,255,0.4), 0 0 30px 8px rgba(0,212,255,0.2);
  }
  .floating-back-to-top:hover {
    transform: translateX(-50%) translateY(-6px) scale(1.06);
  }
}

/* Policy Modal Overlay */
.policy-modal {
  display: none; /* toggled to flex via JS */
  position: fixed;
  inset: 0;
  z-index: 4000;
  background: rgba(6, 9, 24, 0.72); /* dark overlay without blur for clarity */
  align-items: center;
  justify-content: center;
  padding: 20px;
}

/* Modal Dialog */
.policy-dialog {
  width: min(420px, 92vw);
  background: #111629; /* solid for contrast */
  border: 1.5px solid #00d4ff;
  border-radius: 16px;
  padding: 1.6rem 1.4rem 1.2rem;
  box-shadow: 0 16px 48px rgba(0, 212, 255, 0.18), 0 6px 20px rgba(0,0,0,0.35);
  text-align: center;
}

.policy-actions {
  display: flex;
  gap: 0.8rem;
  justify-content: center;
}

.policy-dialog .btn-primary,
.policy-dialog .btn-secondary {
  min-width: 140px;
}

/* Show modal */
.policy-modal.show { display: flex; }

/* Engineer profile card */
.engineer-card {
  display: flex;
  align-items: center;
  gap: 1.2rem;
  max-width: 720px;
  margin: 0 auto;
}
.engineer-avatar {
  width: 78px;
  height: 78px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid rgba(255,255,255,0.2);
  box-shadow: 0 8px 30px rgba(0,212,255,0.25);
  animation: profileGlow 2.5s ease-in-out infinite; /* add soft pulsing glow */
}
.engineer-meta h3 {
  margin: 0 0 0.2rem 0;
}
.engineer-meta p {
  margin: 0;
  color: var(--gray-text);
}
@media (max-width: 600px) {
  .engineer-avatar { width:64px; height:64px; }
}

.profile-glow-badge {
  position: relative;
  width: 120px;
  height: 120px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1rem auto;
}
.profile-glow-badge::before {
  content: '';
  position: absolute;
  left: 50%;
  top: 50%;
  width: 140px;
  height: 140px;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  background: conic-gradient(
    var(--neon-pink) 0deg 90deg,
    var(--neon-cyan) 90deg 180deg,
    var(--neon-pink) 180deg 270deg,
    var(--neon-cyan) 270deg 360deg
  );
  opacity: 0.4;
  filter: blur(10px) brightness(1.2);
  z-index: 1;
  animation: profileGlowSpin 3.5s linear infinite;
  pointer-events: none;
}
@keyframes profileGlowSpin {
  0% { transform: translate(-50%, -50%) rotate(0deg); }
  100% { transform: translate(-50%, -50%) rotate(360deg); }
}
.profile-glow-badge .profile-pic {
  position: relative;
  z-index: 2;
  background: var(--bg-dark);
}

/* Shimmer effect for headings */
.shimmer-text {
  background: linear-gradient(90deg, #00d4ff, #7C7EF5, #00ffb8, #ff00c8, #00d4ff 80%);
  background-size: 300% 100%;
  background-clip: text;
  -webkit-background-clip: text;
  color: transparent !important;
  -webkit-text-fill-color: transparent;
  animation: shimmer-move 3.5s linear infinite;
  font-weight: 800;
  display: inline-block;
}
@keyframes shimmer-move {
  0% { background-position: 0% 50%; }
  100% { background-position: 100% 50%; }
}

/* Make all cards flat (no shadow, no border, no pop effect) */
.card,
.card:hover,
.card:focus,
.method-card,
.method-card:hover,
.method-card:focus {
  border: 1px solid rgba(255,255,255,0.1) !important;
  box-shadow: none !important;
  transform: none !important;
  background: var(--card-bg, rgba(20,24,40,0.95)) !important;
}

.card-icon,
.card:hover .card-icon {
  transform: none !important;
  box-shadow: none !important;
  filter: none !important;
}

/* Clickable card hover/focus visual (stronger indicator) */
a.card, .card[role="link"], .card[href] {
  cursor: pointer;
}

/* stronger hover/focus for clickable cards - override flat card rules */
a.card:hover, a.card:focus, .card[role="link"]:hover, .card[role="link"]:focus, .card[href]:hover, .card[href]:focus {
  transform: translateY(-8px) !important;
  box-shadow: 0 0 30px rgba(255, 0, 255, 0.3), 0 0 60px rgba(0, 255, 255, 0.2) !important;
  border-color: var(--neon-pink) !important;
}

/* ensure focus is visible for keyboard users */
a.card:focus, .card[role="link"]:focus, .card[href]:focus {
  outline: 2px solid var(--neon-cyan);
  outline-offset: 4px;
}

/* Make modal close X button red and larger */
#modal-close {
  color: #ff2d2d !important;
  font-weight: bold;
  font-size: 2rem !important;
  background: none !important;
  border: none !important;
  transition: color 0.15s;
}
#modal-close:hover {
  color: #ff0000 !important;
  background: none !important;
}

/* Hide scrollbars in modal popout (error-modal) */
#error-modal {
  scrollbar-width: none !important; /* Firefox */
  -ms-overflow-style: none !important; /* IE 10+ */
}
#error-modal::-webkit-scrollbar {
  display: none !important; /* Chrome, Safari, Opera */
}

.modal-content {
  overflow: hidden !important;
}

/* Click/press indicator for clickable cards */
.card[role="link"], .card[href], .card.button {
  cursor: pointer; /* ensure pointer for clickable cards */
}

.card::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  pointer-events: none;
  box-shadow: inset 0 0 0 2px rgba(0,212,255,0.0);
  transition: box-shadow 160ms ease, opacity 160ms ease;
  opacity: 0;
}

/* Show subtle cyan inset outline while pressing/clicking */
.card:active::after,
.card.is-pressed::after {
  box-shadow: inset 0 0 0 2px rgba(0,212,255,0.28);
  opacity: 1;
}

/* Also slightly darken background on press for better contrast */
.card:active,
.card.is-pressed {
  background: linear-gradient(0deg, rgba(255,255,255,0.01), rgba(255,255,255,0.01));
}

/* Cyberpunk terminal scan effect for clickable cards */
/* Uses a span.card-scan element injected via JS for the scan line */
/* The ::before on a.card shows terminal text, ::after is used for hover sweep */

/* Terminal typing indicator - only for clickable cards (a.card) */
a.card {
  overflow: hidden;
}

/* Scan line element (added via JS) */
a.card .card-scan,
.card[role="link"] .card-scan {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: linear-gradient(90deg, 
    transparent 0%, 
    var(--neon-cyan) 20%, 
    var(--neon-pink) 50%, 
    var(--neon-cyan) 80%, 
    transparent 100%
  );
  opacity: 0;
  transform: translateY(0);
  box-shadow: 
    0 0 10px var(--neon-cyan),
    0 0 20px var(--neon-pink),
    0 0 30px var(--neon-cyan);
  z-index: 15;
  pointer-events: none;
}

/* Terminal text indicator */
a.card .card-terminal,
.card[role="link"] .card-terminal {
  position: absolute;
  bottom: 12px;
  right: 15px;
  font-family: 'Share Tech Mono', monospace;
  font-size: 0.7rem;
  color: var(--neon-green);
  text-transform: uppercase;
  letter-spacing: 1px;
  opacity: 0;
  transition: opacity 0.3s ease;
  text-shadow: 0 0 5px var(--neon-green), 0 0 10px var(--neon-green);
  z-index: 15;
  pointer-events: none;
}

/* Animate on hover */
a.card:hover .card-scan,
.card[role="link"]:hover .card-scan {
  opacity: 1;
  animation: terminalScan 1.5s ease-in-out infinite;
}

a.card:hover .card-terminal,
.card[role="link"]:hover .card-terminal {
  opacity: 1;
  animation: terminalBlink 0.8s step-end infinite;
}

@keyframes terminalScan {
  0% {
    transform: translateY(0);
    opacity: 0;
  }
  10% {
    opacity: 1;
  }
  90% {
    opacity: 1;
  }
  100% {
    transform: translateY(300px);
    opacity: 0;
  }
}

@keyframes terminalBlink {
  0%, 50% { opacity: 1; }
  51%, 100% { opacity: 0.3; }
}

/* Responsive terminal text */
@media (max-width: 600px) {
  a.card .card-terminal,
  .card[role="link"] .card-terminal {
    font-size: 0.6rem;
    bottom: 10px;
    right: 12px;
  }
}

/* Hide terminal scan for CyberFiles card (has its own styling) */
.cyberfiles-card .card-scan,
.cyberfiles-card .card-terminal,
.cyberfiles-card::after,
.cyberfiles-card::before {
  display: none !important;
}

/* ===== VISITOR COUNTER BADGES - Cyberpunk Style ===== */
.visitor-stats {
  display: flex;
  gap: 0.75rem;
  margin-top: 1rem;
  flex-wrap: wrap;
}

.visitor-stat-badge {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  background: linear-gradient(135deg, rgba(255, 0, 255, 0.08), rgba(0, 255, 255, 0.08));
  padding: 0.5rem 0.85rem;
  border: 1px solid rgba(0, 255, 255, 0.3);
  box-shadow: 0 0 10px rgba(0, 255, 255, 0.2);
  color: var(--light-text);
  font-size: 0.85rem;
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  transition: all 0.3s ease;
  clip-path: polygon(
    0 0,
    calc(100% - 10px) 0,
    100% 10px,
    100% 100%,
    10px 100%,
    0 calc(100% - 10px)
  );
}

.visitor-stat-badge:hover {
  transform: translateY(-2px);
  box-shadow: 0 0 20px rgba(255, 0, 255, 0.3);
  border-color: var(--neon-pink);
}

.visitor-stat-badge .stat-icon {
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--gradient-primary);
  font-size: 0.9rem;
  box-shadow: 0 0 10px rgba(255, 0, 255, 0.3);
  flex-shrink: 0;
  animation: statIconPulse 3s ease-in-out infinite;
  clip-path: polygon(
    0 0,
    calc(100% - 6px) 0,
    100% 6px,
    100% 100%,
    6px 100%,
    0 calc(100% - 6px)
  );
}

@keyframes statIconPulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.05); }
}

.visitor-stat-badge .stat-label {
  color: var(--neon-cyan) !important;
  font-family: 'Orbitron', sans-serif;
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  font-weight: 600;
}

.visitor-stat-badge .stat-value {
  font-family: 'Share Tech Mono', monospace;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  color: var(--neon-pink) !important;
  font-size: 1rem;
  min-width: 2ch;
  transition: transform 0.3s ease, color 0.3s ease;
}

@media (max-width: 520px) {
  .visitor-stats {
    justify-content: center;
  }
  .visitor-stat-badge {
    font-size: 0.8rem;
    padding: 0.4rem 0.7rem;
  }
  .visitor-stat-badge .stat-icon {
    width: 28px;
    height: 28px;
    font-size: 0.8rem;
  }
  .visitor-stat-badge .stat-value {
    font-size: 0.9rem;
  }
}

/* ===== UPLOAD NOTIFICATION TOAST ===== */
/* Progress bar container */
.upload-progress-container {
  width: 100%;
  height: 6px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 3px;
  overflow: hidden;
  position: relative;
}

.upload-progress-bar {
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, #22c55e, #10b981);
  border-radius: 3px;
  transition: width 0.3s ease;
  position: relative;
  overflow: hidden;
}

/* Animated shimmer effect on progress bar */
.upload-progress-bar::after {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
  animation: progressShimmer 1.5s infinite;
}

@keyframes progressShimmer {
  0% { left: -100%; }
  100% { left: 100%; }
}

/* Green glow only on desktop/computer mode */
@media (min-width: 769px) {
  .bg-upload-toast {
    background: #1a1f3a !important;
    backdrop-filter: none !important;
    box-shadow: 0 0 20px rgba(34, 197, 94, 0.4), 
                0 0 40px rgba(34, 197, 94, 0.2),
                0 6px 18px rgba(0, 0, 0, 0.35) !important;
    border: 1px solid rgba(34, 197, 94, 0.3) !important;
    animation: uploadToastGlow 2s ease-in-out infinite;
  }

  @keyframes uploadToastGlow {
    0%, 100% {
      box-shadow: 0 0 20px rgba(34, 197, 94, 0.4), 
                  0 0 40px rgba(34, 197, 94, 0.2),
                  0 6px 18px rgba(0, 0, 0, 0.35);
      border-color: rgba(34, 197, 94, 0.3);
    }
    50% {
      box-shadow: 0 0 30px rgba(34, 197, 94, 0.6), 
                  0 0 60px rgba(34, 197, 94, 0.3),
                  0 8px 24px rgba(0, 0, 0, 0.4);
      border-color: rgba(34, 197, 94, 0.5);
    }
  }
}

/* Green glow on mobile/tablet too */
@media (max-width: 768px) {
  .bg-upload-toast {
    background: #1a1f3a !important;
    backdrop-filter: none !important;
    box-shadow: 0 0 20px rgba(34, 197, 94, 0.4), 
                0 0 40px rgba(34, 197, 94, 0.2),
                0 6px 18px rgba(0, 0, 0, 0.35) !important;
    border: 1px solid rgba(34, 197, 94, 0.3) !important;
    animation: uploadToastGlowMobile 2s ease-in-out infinite;
  }

  @keyframes uploadToastGlowMobile {
    0%, 100% {
      box-shadow: 0 0 20px rgba(34, 197, 94, 0.4), 
                  0 0 40px rgba(34, 197, 94, 0.2),
                  0 6px 18px rgba(0, 0, 0, 0.35);
      border-color: rgba(34, 197, 94, 0.3);
    }
    50% {
      box-shadow: 0 0 30px rgba(34, 197, 94, 0.6), 
                  0 0 60px rgba(34, 197, 94, 0.3),
                  0 8px 24px rgba(0, 0, 0, 0.4);
      border-color: rgba(34, 197, 94, 0.5);
    }
  }
}

