/* Futuristic CSS Styles for Mazin Yahia Platform */

/* Import Fonts */
@import url('https://fonts.googleapis.com/css2?family=Orbitron:wght@400;700;900&family=Rajdhani:wght@300;400;500;600;700&display=swap');

/* CSS Variables for Futuristic Theme */
:root {
  --primary-green: #00ff88;
  --primary-blue: #0099ff;
  --primary-purple: #9933ff;
  --dark-bg: #0a0a0a;
  --darker-bg: #050505;
  --card-bg: rgba(15, 15, 25, 0.8);
  --glass-bg: rgba(255, 255, 255, 0.05);
  --border-glow: rgba(0, 255, 136, 0.3);
  --text-primary: #ffffff;
  --text-secondary: #b8bcc8;
  --text-muted: #6c757d;
  --accent-glow: rgba(0, 153, 255, 0.4);
  --success-color: #00ff88;
  --warning-color: #ffb347;
  --error-color: #ff4757;
  --info-color: #0099ff;
}

/* Global Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Rajdhani', sans-serif;
  background: linear-gradient(135deg, var(--dark-bg) 0%, var(--darker-bg) 100%);
  color: var(--text-primary);
  min-height: 100vh;
  overflow-x: hidden;
  position: relative;
}

/* Animated Background */
body::before {
  content: '';
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: 
    radial-gradient(circle at 20% 20%, rgba(0, 255, 136, 0.1) 0%, transparent 50%),
    radial-gradient(circle at 80% 80%, rgba(0, 153, 255, 0.1) 0%, transparent 50%),
    radial-gradient(circle at 40% 60%, rgba(153, 51, 255, 0.1) 0%, transparent 50%);
  animation: backgroundShift 20s ease-in-out infinite;
  z-index: -1;
}

@keyframes backgroundShift {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.8; transform: scale(1.1); }
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Orbitron', monospace;
  font-weight: 700;
  text-shadow: 0 0 10px rgba(0, 255, 136, 0.3);
}

h1 {
  font-size: 3.5rem;
  background: linear-gradient(45deg, var(--primary-green), var(--primary-blue), var(--primary-purple));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: textGlow 3s ease-in-out infinite alternate;
}

@keyframes textGlow {
  from { filter: drop-shadow(0 0 5px rgba(0, 255, 136, 0.5)); }
  to { filter: drop-shadow(0 0 15px rgba(0, 153, 255, 0.8)); }
}

/* Glass Morphism Cards */
.glass-card {
  background: var(--glass-bg);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 20px;
  padding: 2rem;
  box-shadow: 
    0 8px 32px rgba(0, 0, 0, 0.3),
    inset 0 1px 0 rgba(255, 255, 255, 0.1);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
}

.glass-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
  transition: left 0.5s ease;
}

.glass-card:hover::before {
  left: 100%;
}

.glass-card:hover {
  transform: translateY(-5px);
  box-shadow: 
    0 15px 40px rgba(0, 0, 0, 0.4),
    0 0 20px rgba(0, 255, 136, 0.2),
    inset 0 1px 0 rgba(255, 255, 255, 0.2);
  border-color: rgba(0, 255, 136, 0.3);
}

/* Navigation */
.navbar {
  background: rgba(10, 10, 10, 0.95);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(0, 255, 136, 0.2);
  padding: 1rem 0;
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 1000;
  transition: all 0.3s ease;
}

.navbar-brand {
  font-family: 'Orbitron', monospace;
  font-weight: 900;
  font-size: 1.5rem;
  color: var(--text-primary) !important;
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 10px;
}

.navbar-brand img {
  filter: drop-shadow(0 0 5px rgba(0, 255, 136, 0.5));
}

.navbar-nav .nav-link {
  color: var(--text-secondary) !important;
  font-weight: 500;
  margin: 0 10px;
  padding: 8px 16px !important;
  border-radius: 10px;
  transition: all 0.3s ease;
  position: relative;
}

.navbar-nav .nav-link::before {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 0;
  height: 2px;
  background: linear-gradient(45deg, var(--primary-green), var(--primary-blue));
  transition: all 0.3s ease;
  transform: translateX(-50%);
}

.navbar-nav .nav-link:hover::before {
  width: 80%;
}

.navbar-nav .nav-link:hover {
  color: var(--text-primary) !important;
  background: rgba(0, 255, 136, 0.1);
  box-shadow: 0 0 15px rgba(0, 255, 136, 0.2);
}

/* Buttons */
.btn,
.btn-futuristic {
  background: linear-gradient(45deg, var(--primary-green), var(--primary-blue));
  border: none !important;
  outline: none !important;
  color: white;
  font-family: 'Orbitron', monospace;
  font-weight: 600;
  padding: 12px 30px;
  border-radius: 25px;
  text-transform: uppercase;
  letter-spacing: 1px;
  cursor: pointer;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 255, 136, 0.3);
}

.btn:focus,
.btn:active,
.btn-futuristic:focus,
.btn-futuristic:active {
  outline: none !important;
  box-shadow: 0 4px 15px rgba(0, 255, 136, 0.5) !important;
  border: none !important;
}

.btn-futuristic::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
  transition: left 0.5s ease;
}

.btn-futuristic:hover::before {
  left: 100%;
}

.btn-futuristic:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(0, 255, 136, 0.5);
  filter: brightness(1.1);
}

.btn-outline-futuristic {
  background: transparent;
  border: 2px solid transparent;
  background-image: linear-gradient(var(--dark-bg), var(--dark-bg)), 
                    linear-gradient(45deg, var(--primary-green), var(--primary-blue));
  background-origin: border-box;
  background-clip: content-box, border-box;
  color: var(--text-primary);
  font-family: 'Orbitron', monospace;
  font-weight: 600;
  padding: 10px 28px;
  border-radius: 25px;
  text-transform: uppercase;
  letter-spacing: 1px;
  cursor: pointer;
  transition: all 0.3s ease;
  position: relative;
}

.btn-outline-futuristic:hover {
  background-image: linear-gradient(45deg, var(--primary-green), var(--primary-blue)), 
                    linear-gradient(45deg, var(--primary-green), var(--primary-blue));
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(0, 255, 136, 0.4);
}

/* New Project Button */
.btn-new-project {
  background: linear-gradient(45deg, var(--primary-green), var(--primary-blue)) !important;
  color: var(--dark-bg) !important;
  font-weight: 700 !important;
  text-transform: uppercase;
  letter-spacing: 1px;
  border-radius: 25px !important;
  padding: 8px 20px !important;
  border: none !important;
  transition: all 0.3s ease !important;
  position: relative;
  overflow: hidden;
}

.btn-new-project:hover {
  transform: translateY(-2px) !important;
  box-shadow: 0 8px 25px rgba(0, 255, 136, 0.5) !important;
  color: var(--dark-bg) !important;
}

.btn-new-project::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
  transition: left 0.5s ease;
}

.btn-new-project:hover::before {
  left: 100%;
}

/* Mobile Optimization */
@media (max-width: 768px) {
  body {
    font-size: 14px;
  }
  
  .navbar-brand img {
    height: 32px !important;
  }
  
  .navbar-nav .nav-link {
    padding: 12px 16px !important;
    margin: 2px 0;
    text-align: center;
  }
  
  .btn-new-project {
    padding: 10px 16px !important;
    font-size: 0.9rem !important;
  }
  
  .container {
    padding-left: 15px;
    padding-right: 15px;
  }
  
  .card, .glass-card {
    margin-bottom: 1rem;
    padding: 1rem !important;
  }
  
  .form-grid {
    grid-template-columns: 1fr !important;
    gap: 1rem;
  }
  
  .btn {
    padding: 10px 20px;
    font-size: 0.9rem;
  }
  
  h1 {
    font-size: 2rem !important;
  }
  
  h2 {
    font-size: 1.5rem !important;
  }
  
  h3 {
    font-size: 1.3rem !important;
  }
  
  .table-responsive {
    font-size: 0.9rem;
  }
  
  .modal-content {
    margin: 1rem;
    padding: 1rem;
  }
}

@media (max-width: 576px) {
  .navbar-toggler {
    padding: 6px 8px;
  }
  
  .navbar-collapse {
    background: rgba(0, 0, 0, 0.95);
    border-radius: 10px;
    margin-top: 1rem;
    padding: 1rem;
  }
  
  .btn-new-project {
    width: 100%;
    margin-top: 0.5rem;
  }
  
  .progress-steps {
    flex-direction: column;
    gap: 0.5rem;
  }
  
  .step {
    flex-direction: row;
    gap: 1rem;
  }
  
  .step-number {
    width: 30px;
    height: 30px;
    font-size: 0.9rem;
  }
  
  .project-actions {
    flex-direction: column;
    gap: 0.5rem;
  }
  
  .success-actions {
    flex-direction: column;
    width: 100%;
  }
}

/* Loading Animations */
@keyframes slideInRight {
  from {
    opacity: 0;
    transform: translateX(100px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes slideOutRight {
  from {
    opacity: 1;
    transform: translateX(0);
  }
  to {
    opacity: 0;
    transform: translateX(100px);
  }
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

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

.loading-pulse {
  animation: pulse 2s ease-in-out infinite;
}

.fade-in {
  animation: fadeInUp 0.5s ease;
}

/* Improved Button Focus States */
.btn:focus,
.btn:active:focus,
.btn.active:focus,
.btn.focus,
.btn:active.focus,
.btn.active.focus {
  outline: 2px solid var(--primary-green) !important;
  outline-offset: 2px !important;
  box-shadow: 0 0 0 0.2rem rgba(0, 255, 136, 0.25) !important;
}

/* Smooth scrolling performance */
html {
  scroll-behavior: smooth;
}

body {
  overflow-x: hidden;
}

/* Fix scroll performance issues */
* {
  will-change: auto;
}

.navbar {
  will-change: background-color, backdrop-filter;
  transition: background-color 0.3s ease, backdrop-filter 0.3s ease;
}

.animate-on-scroll {
  will-change: transform, opacity;
}

/* Enhanced Accessibility */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  
  html {
    scroll-behavior: auto;
  }
}

/* Touch-friendly interface improvements */
@media (hover: none) and (pointer: coarse) {
  .nav-link:hover {
    background: rgba(0, 255, 136, 0.2) !important;
  }
  
  .btn:hover {
    transform: none !important;
  }
  
  .project-card:hover {
    transform: none !important;
  }
}

/* Notification Styles */
.notification {
  position: relative;
  max-width: 400px;
  word-wrap: break-word;
  font-family: 'Orbitron', monospace;
}

.notification-success {
  background: linear-gradient(135deg, var(--success-color), #45a049) !important;
}

.notification-error {
  background: linear-gradient(135deg, var(--error-color), #cc0000) !important;
}

.notification-warning {
  background: linear-gradient(135deg, var(--warning-color), #ff8c00) !important;
}

.notification-info {
  background: linear-gradient(135deg, var(--info-color), #0066cc) !important;
}

#notification-container {
  z-index: 10000;
}

/* Loading Spinner */
.loading-spinner {
  display: inline-block;
  width: 20px;
  height: 20px;
  border: 3px solid rgba(255, 255, 255, 0.3);
  border-radius: 50%;
  border-top-color: var(--primary-green);
  animation: spin 1s ease-in-out infinite;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

/* Better form validation */
.form-control:invalid {
  border-color: var(--error-color);
  box-shadow: 0 0 0 0.2rem rgba(220, 53, 69, 0.25);
}

.form-control:valid {
  border-color: var(--success-color);
  box-shadow: 0 0 0 0.2rem rgba(40, 167, 69, 0.25);
}

/* Enhanced Logo */
.logo-enhanced {
  transition: all 0.3s ease;
  filter: drop-shadow(0 0 10px rgba(0, 255, 136, 0.5));
}

.logo-enhanced:hover {
  transform: scale(1.1);
  filter: drop-shadow(0 0 20px rgba(0, 255, 136, 0.8));
}

/* Futuristic Page Loader */
.futuristic-loader {
  position: relative;
  width: 300px;
  height: 300px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.cyber-grid {
  position: absolute;
  width: 100%;
  height: 100%;
  opacity: 0.3;
}

.grid-line {
  position: absolute;
  background: linear-gradient(90deg, transparent, var(--primary-green), transparent);
  height: 1px;
  width: 100%;
  animation: gridScan 3s linear infinite;
}

.grid-line:nth-child(1) { top: 25%; animation-delay: 0s; }
.grid-line:nth-child(2) { top: 50%; animation-delay: 0.5s; }
.grid-line:nth-child(3) { top: 75%; animation-delay: 1s; }
.grid-line:nth-child(4) { top: 90%; animation-delay: 1.5s; }

.loader-core {
  position: relative;
  width: 150px;
  height: 150px;
}

.core-ring {
  position: absolute;
  border: 2px solid var(--primary-green);
  border-radius: 50%;
  animation: coreRotate 2s linear infinite;
}

.ring-1 {
  width: 150px;
  height: 150px;
  top: 0;
  left: 0;
  border-color: var(--primary-green);
  border-top-color: transparent;
  animation-duration: 1.5s;
}

.ring-2 {
  width: 100px;
  height: 100px;
  top: 25px;
  left: 25px;
  border-color: rgba(0, 255, 136, 0.6);
  border-right-color: transparent;
  animation-duration: 2s;
  animation-direction: reverse;
}

.ring-3 {
  width: 50px;
  height: 50px;
  top: 50px;
  left: 50px;
  border-color: rgba(0, 255, 136, 0.4);
  border-bottom-color: transparent;
  animation-duration: 1s;
}

.core-center {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 20px;
  height: 20px;
  margin: -10px;
  background: var(--primary-green);
  border-radius: 50%;
  box-shadow: 0 0 20px var(--primary-green);
}

.pulse-dot {
  width: 100%;
  height: 100%;
  background: var(--primary-green);
  border-radius: 50%;
  animation: corePulse 1s ease-in-out infinite;
}

.data-stream {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

.stream-line {
  position: absolute;
  width: 2px;
  height: 20px;
  background: linear-gradient(180deg, transparent, var(--primary-green), transparent);
  animation: dataFlow 2s linear infinite;
}

.stream-line:nth-child(1) {
  left: 20%;
  animation-delay: 0s;
}

.stream-line:nth-child(2) {
  left: 50%;
  animation-delay: 0.7s;
}

.stream-line:nth-child(3) {
  left: 80%;
  animation-delay: 1.4s;
}

.loader-text-futuristic {
  position: absolute;
  bottom: -80px;
  left: 50%;
  transform: translateX(-50%);
  text-align: center;
  color: var(--primary-green);
  font-family: 'Orbitron', monospace;
  font-weight: 600;
}

.text-glitch {
  font-size: 1.2rem;
  letter-spacing: 2px;
  animation: textGlitch 1.5s linear infinite;
}

.progress-bar-futuristic {
  width: 200px;
  height: 3px;
  background: rgba(0, 255, 136, 0.2);
  margin: 10px 0;
  border-radius: 2px;
  overflow: hidden;
}

.progress-fill-futuristic {
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, var(--primary-green), #00ff88);
  transition: width 1.2s ease-out;
  box-shadow: 0 0 10px var(--primary-green);
}

.loading-dots span {
  animation: loadingDots 1.5s infinite;
  font-size: 1.5rem;
}

.loading-dots span:nth-child(1) { animation-delay: 0s; }
.loading-dots span:nth-child(2) { animation-delay: 0.2s; }
.loading-dots span:nth-child(3) { animation-delay: 0.4s; }

/* Futuristic Loader Animations */
@keyframes gridScan {
  0% { transform: translateX(-100%); opacity: 0; }
  50% { opacity: 1; }
  100% { transform: translateX(100%); opacity: 0; }
}

@keyframes coreRotate {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

@keyframes corePulse {
  0%, 100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.5); opacity: 0.7; }
}

@keyframes dataFlow {
  0% { transform: translateY(-100px); opacity: 0; }
  50% { opacity: 1; }
  100% { transform: translateY(300px); opacity: 0; }
}

@keyframes textGlitch {
  0%, 90%, 100% { text-shadow: 0 0 5px var(--primary-green); }
  5%, 95% { text-shadow: 2px 0 0 #ff0080, -2px 0 0 #00ffff, 0 0 10px var(--primary-green); }
}

@keyframes loadingDots {
  0%, 20%, 80%, 100% { opacity: 0; transform: scale(1); }
  50% { opacity: 1; transform: scale(1.2); }
}

/* Enhanced Footer Styling */
.footer-right-section {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  height: 100%;
}

.creator-credit-container {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 10px 20px;
  background: rgba(0, 255, 136, 0.05);
  border-radius: 25px;
  border: 1px solid rgba(0, 255, 136, 0.2);
  transition: all 0.3s ease;
}

.creator-credit-container:hover {
  background: rgba(0, 255, 136, 0.1);
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(0, 255, 136, 0.2);
}

.creator-text {
  font-family: 'Orbitron', monospace;
  font-weight: 500;
  letter-spacing: 1px;
  color: var(--text-secondary);
  font-size: 0.95rem;
}

.flag-icon {
  transition: all 0.3s ease;
  filter: drop-shadow(0 0 5px rgba(0, 255, 136, 0.3));
}

.flag-icon:hover {
  transform: scale(1.2) rotate(5deg);
  filter: drop-shadow(0 0 10px rgba(0, 255, 136, 0.6));
}

/* Enhanced Tutorial Tooltips */
.enhanced-tutorial-tooltip {
  position: fixed;
  background: linear-gradient(135deg, rgba(0, 20, 40, 0.98), rgba(0, 10, 20, 0.98));
  border: 2px solid var(--primary-green);
  border-radius: 15px;
  padding: 0;
  max-width: 350px;
  z-index: 10000;
  opacity: 0;
  transform: translateY(20px) scale(0.8);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  backdrop-filter: blur(15px);
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.6), 0 0 25px rgba(0, 255, 136, 0.4);
}

.enhanced-tutorial-tooltip.visible {
  opacity: 1;
  transform: translateY(0) scale(1);
}

.tooltip-header {
  background: linear-gradient(135deg, var(--primary-green), #00ff88);
  color: var(--dark-bg);
  padding: 12px 16px;
  border-radius: 13px 13px 0 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.step-indicator {
  font-weight: 600;
  font-size: 0.9rem;
}

.progress-dots {
  display: flex;
  gap: 4px;
}

.dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(0, 20, 40, 0.3);
  transition: all 0.3s ease;
}

.dot.completed {
  background: var(--dark-bg);
  transform: scale(1.2);
}

.dot.active {
  background: var(--dark-bg);
  animation: pulse 1s ease-in-out infinite;
}

.tooltip-content {
  padding: 16px;
  color: var(--text-light);
  font-size: 0.95rem;
  line-height: 1.5;
}

.tooltip-arrow {
  position: absolute;
  width: 0;
  height: 0;
}

.tooltip-below .tooltip-arrow {
  top: -10px;
  left: 20px;
  border-left: 10px solid transparent;
  border-right: 10px solid transparent;
  border-bottom: 10px solid var(--primary-green);
}

.tooltip-above .tooltip-arrow {
  bottom: -10px;
  left: 20px;
  border-left: 10px solid transparent;
  border-right: 10px solid transparent;
  border-top: 10px solid var(--primary-green);
}

/* Tutorial Completion */
.tutorial-completion {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) scale(0.8);
  background: linear-gradient(135deg, rgba(0, 20, 40, 0.98), rgba(0, 10, 20, 0.98));
  border: 2px solid var(--primary-green);
  border-radius: 20px;
  padding: 0;
  z-index: 10001;
  opacity: 0;
  transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
  backdrop-filter: blur(20px);
  box-shadow: 0 40px 80px rgba(0, 0, 0, 0.8), 0 0 40px rgba(0, 255, 136, 0.5);
}

.tutorial-completion.visible {
  opacity: 1;
  transform: translate(-50%, -50%) scale(1);
}

.completion-content {
  padding: 30px;
  text-align: center;
  color: var(--text-light);
}

.completion-icon {
  font-size: 3rem;
  margin-bottom: 15px;
  animation: sparkle 2s ease-in-out infinite;
}

.completion-content h3 {
  color: var(--primary-green);
  margin-bottom: 15px;
  font-family: 'Orbitron', monospace;
}

@keyframes sparkle {
  0%, 100% { transform: scale(1) rotate(0deg); }
  50% { transform: scale(1.2) rotate(5deg); }
}

/* Mobile footer adjustments */
@media (max-width: 768px) {
  .footer-right-section {
    margin-top: 20px;
  }
  
  .creator-credit-container {
    flex-direction: column;
    gap: 8px;
    padding: 15px;
  }
  
  .creator-text {
    font-size: 0.85rem;
    text-align: center;
  }
  
  .logo-enhanced {
    height: 50px !important;
  }
  
  .enhanced-tutorial-tooltip {
    max-width: 280px;
    margin: 0 20px;
  }
  
  .completion-content {
    padding: 20px;
  }
  
  .completion-content h3 {
    font-size: 1.3rem;
  }
}

/* Enhanced animations */
.animate-on-scroll {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.6s ease;
}

.animate-on-scroll.fade-in {
  opacity: 1;
  transform: translateY(0);
}

/* Fix scroll jank */
.hero-section {
  will-change: transform;
}

.particle-background {
  will-change: transform;
}

/* Hero Button Styling - Override general button rules */
.btn-hero-primary {
  position: relative;
  background: linear-gradient(135deg, var(--primary-green), #00ff88) !important;
  border: none !important;
  border-radius: 50px;
  padding: 18px 40px;
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--dark-bg) !important;
  text-decoration: none;
  display: inline-block;
  overflow: hidden;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 10px 30px rgba(0, 255, 136, 0.3) !important;
}

.btn-hero-primary:hover {
  transform: translateY(-3px) scale(1.05) !important;
  box-shadow: 0 20px 40px rgba(0, 255, 136, 0.5) !important;
  color: var(--dark-bg) !important;
  background: linear-gradient(135deg, var(--primary-green), #00ff88) !important;
}

.btn-hero-primary .btn-glow {
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
  transition: left 0.6s ease;
}

.btn-hero-primary:hover .btn-glow {
  left: 100%;
}

.btn-text {
  position: relative;
  z-index: 2;
}

/* Secondary Hero Button */
.btn-hero-secondary {
  position: relative;
  background: linear-gradient(135deg, #6c63ff, #8b67ff) !important;
  border: none !important;
  border-radius: 50px;
  padding: 18px 40px;
  font-size: 1.2rem;
  font-weight: 600;
  color: white !important;
  text-decoration: none;
  display: inline-block;
  overflow: hidden;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 10px 30px rgba(108, 99, 255, 0.3) !important;
}

.btn-hero-secondary:hover {
  transform: translateY(-3px) scale(1.05) !important;
  box-shadow: 0 20px 40px rgba(108, 99, 255, 0.5) !important;
  color: white !important;
  background: linear-gradient(135deg, #6c63ff, #8b67ff) !important;
}

.btn-hero-secondary .btn-glow {
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
  transition: left 0.6s ease;
}

.btn-hero-secondary:hover .btn-glow {
  left: 100%;
}

/* Social Media Icons */
.social-links {
  text-align: center;
}

.social-icons {
  display: flex;
  justify-content: center;
  gap: 15px;
  flex-wrap: wrap;
}

.social-icon {
  width: 50px;
  height: 50px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(0, 255, 136, 0.3);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary-green);
  font-size: 1.2rem;
  text-decoration: none;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.social-icon:hover {
  background: var(--primary-green);
  color: var(--dark-bg);
  transform: translateY(-3px) scale(1.1);
  box-shadow: 0 10px 20px rgba(0, 255, 136, 0.4);
}

.social-icon::before {
  content: attr(data-tooltip);
  position: absolute;
  bottom: -40px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--dark-bg);
  color: var(--primary-green);
  padding: 5px 10px;
  border-radius: 5px;
  font-size: 0.8rem;
  opacity: 0;
  transition: all 0.3s ease;
  white-space: nowrap;
  z-index: 1000;
}

.social-icon:hover::before {
  opacity: 1;
  bottom: -35px;
}

/* Remove ALL button backgrounds and outlines */
.btn,
.btn-primary,
.btn-secondary,
.btn-success,
.btn-danger,
.btn-warning,
.btn-info,
.btn-light,
.btn-dark,
.btn-outline-primary,
.btn-outline-secondary,
.btn-outline-success,
.btn-outline-danger,
.btn-outline-warning,
.btn-outline-info,
.btn-outline-light,
.btn-outline-dark,
.btn-futuristic,
.btn-outline-futuristic {
  background: none !important;
  border: none !important;
  box-shadow: none !important;
  outline: none !important;
  color: var(--primary-green) !important;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  text-decoration: none;
  position: relative;
  overflow: hidden;
}

.btn:hover,
.btn:focus,
.btn:active {
  background: none !important;
  border: none !important;
  box-shadow: none !important;
  outline: none !important;
  transform: translateY(-2px);
  color: var(--primary-green) !important;
}

.btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, rgba(0, 255, 136, 0.1), rgba(0, 255, 136, 0.05));
  border-radius: 8px;
  z-index: -1;
  transition: all 0.3s ease;
}

.btn:hover::before {
  background: linear-gradient(135deg, rgba(0, 255, 136, 0.2), rgba(0, 255, 136, 0.1));
  transform: scale(1.05);
}

/* Enhanced Hero Actions */
.hero-actions {
  text-align: center;
}

/* Responsive Social Icons */
@media (max-width: 768px) {
  .social-icons {
    gap: 10px;
  }
  
  .social-icon {
    width: 45px;
    height: 45px;
    font-size: 1.1rem;
  }
  
  .btn-hero-primary {
    padding: 15px 30px;
    font-size: 1.1rem;
  }
}

/* Interactive Tutorial Styles */
.tutorial-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.7);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  animation: fadeIn 0.3s ease;
}

.tutorial-content {
  background: linear-gradient(135deg, rgba(0, 20, 40, 0.95), rgba(0, 10, 20, 0.95));
  border: 2px solid var(--primary-green);
  border-radius: 15px;
  padding: 2rem;
  text-align: center;
  max-width: 400px;
  backdrop-filter: blur(15px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5);
}

/* Simple tutorial zoom effect */
.tutorial-zoom {
  position: relative;
  z-index: 10;
}

.simple-tooltip, .aligned-tooltip {
  background: linear-gradient(135deg, var(--primary-green), #00ff88);
  color: var(--dark-bg);
  padding: 10px 15px;
  border-radius: 10px;
  font-size: 0.9rem;
  font-weight: 600;
  max-width: 200px;
  min-width: 150px;
  text-align: center;
  z-index: 10000;
  opacity: 0;
  transform: translateY(-10px) scale(0.9);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  pointer-events: none;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
  position: relative;
}

.aligned-tooltip::before {
  content: '';
  position: absolute;
  width: 0;
  height: 0;
  border-left: 8px solid transparent;
  border-right: 8px solid transparent;
}

.aligned-tooltip.tooltip-below::before {
  top: -8px;
  left: 50%;
  transform: translateX(-50%);
  border-bottom: 8px solid var(--primary-green);
}

.aligned-tooltip.tooltip-above::before {
  bottom: -8px;
  left: 50%;
  transform: translateX(-50%);
  border-top: 8px solid #00ff88;
}

.simple-tooltip.visible, .aligned-tooltip.visible {
  opacity: 1;
  transform: translateY(0) scale(1);
}

/* Sequential Tutorial Tooltips */
.sequential-tooltip {
  background: linear-gradient(135deg, rgba(0, 20, 40, 0.95), rgba(0, 10, 20, 0.95));
  border: 2px solid var(--primary-green);
  border-radius: 12px;
  padding: 15px;
  font-family: 'Orbitron', monospace;
  z-index: 10000;
  opacity: 0;
  transform: translateY(-20px) scale(0.9);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  backdrop-filter: blur(10px);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.4), 0 0 20px rgba(0, 255, 136, 0.2);
}

.sequential-tooltip.visible {
  opacity: 1;
  transform: translateY(0) scale(1);
}

.tooltip-step {
  color: var(--primary-green);
  font-size: 0.8rem;
  font-weight: 600;
  margin-bottom: 5px;
  text-align: center;
}

.tooltip-message {
  color: var(--text-light);
  font-size: 0.9rem;
  text-align: center;
  margin-bottom: 10px;
}

.tooltip-progress {
  width: 100%;
  height: 3px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 2px;
  overflow: hidden;
}

.tooltip-progress .progress-bar {
  height: 100%;
  background: linear-gradient(90deg, var(--primary-green), #00ff88);
  transition: width 0.5s ease;
  border-radius: 2px;
}

.tutorial-tooltip {
  position: absolute;
  top: -50px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--primary-green);
  color: var(--dark-bg);
  padding: 10px 15px;
  border-radius: 10px;
  font-size: 0.9rem;
  white-space: nowrap;
  z-index: 1000;
  animation: bounceIn 0.5s ease;
}

/* Enhanced Wizard Styles */
.wizard-container {
  position: relative;
  overflow: hidden;
}

.wizard-header {
  position: relative;
}

.pulse-animation {
  animation: pulse 2s ease-in-out infinite;
}

.wizard-stats {
  display: flex;
  justify-content: center;
  gap: 2rem;
  margin-top: 2rem;
  flex-wrap: wrap;
}

.stat-item {
  text-align: center;
  padding: 1rem;
  background: rgba(0, 255, 136, 0.1);
  border-radius: 15px;
  border: 1px solid rgba(0, 255, 136, 0.3);
  min-width: 120px;
  transition: all 0.3s ease;
}

.stat-item:hover {
  background: rgba(0, 255, 136, 0.2);
  transform: translateY(-5px);
}

.stat-number {
  display: block;
  font-size: 2rem;
  font-weight: bold;
  color: var(--primary-green);
  margin-bottom: 0.5rem;
}

.stat-label {
  font-size: 0.9rem;
  color: var(--text-secondary);
}

/* Enhanced animations */
@keyframes bounceIn {
  0% {
    opacity: 0;
    transform: translateX(-50%) scale(0.3);
  }
  50% {
    opacity: 1;
    transform: translateX(-50%) scale(1.05);
  }
  100% {
    opacity: 1;
    transform: translateX(-50%) scale(1);
  }
}

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

/* Enhanced responsive design */
@media (max-width: 992px) {
  .wizard-stats {
    gap: 1rem;
  }
  
  .stat-item {
    min-width: 100px;
  }
  
  .stat-number {
    font-size: 1.5rem;
  }
}

@media (max-width: 576px) {
  .hero-actions {
    padding: 0 1rem;
  }
  
  .social-links h6 {
    font-size: 1rem;
  }
  
  .wizard-stats {
    flex-direction: column;
    align-items: center;
  }
  
  .tutorial-content {
    margin: 1rem;
    padding: 1.5rem;
  }
  
  .btn-hero-primary {
    width: 100%;
    max-width: 300px;
  }
}

/* Enhanced Form Interactions */
.form-group-animated {
  position: relative;
  margin-bottom: 2rem;
  transition: all 0.2s ease;
}

.form-group-focused {
  transform: scale(1.01);
}

.form-control-futuristic:focus {
  box-shadow: 0 0 10px rgba(0, 255, 136, 0.2);
  border-color: var(--primary-green);
  outline: none;
}

.input-feedback {
  font-size: 0.85rem;
  margin-top: 0.5rem;
  transition: all 0.3s ease;
}

.input-feedback.success {
  color: var(--success-color);
}

.input-feedback.error {
  color: var(--error-color);
}

.char-counter {
  text-align: right;
  font-size: 0.8rem;
  color: var(--text-secondary);
  margin-top: 0.25rem;
}

.char-counter.warning {
  color: var(--warning-color);
}

.char-counter.error {
  color: var(--error-color);
}

.progress-indicator {
  margin: 1rem 0;
}

.progress-indicator .badge {
  background: linear-gradient(135deg, var(--primary-green), #00ff88);
  color: var(--dark-bg);
  padding: 0.5rem 1rem;
  border-radius: 20px;
  font-weight: 600;
}

.interactive-form-section {
  background: rgba(0, 255, 136, 0.05);
  border: 1px solid rgba(0, 255, 136, 0.2);
  border-radius: 15px;
  padding: 2rem;
  margin: 2rem 0;
}

.form-label-futuristic {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 600;
  color: var(--primary-green);
  margin-bottom: 0.75rem;
}

.form-control-futuristic {
  background: rgba(255, 255, 255, 0.05);
  border: 2px solid rgba(0, 255, 136, 0.3);
  border-radius: 10px;
  padding: 12px 16px;
  font-size: 1rem;
  color: var(--text-light);
  transition: all 0.3s ease;
}

.form-control-futuristic:hover {
  border-color: rgba(0, 255, 136, 0.5);
}

.form-control-futuristic::placeholder {
  color: rgba(255, 255, 255, 0.5);
}

.is-valid {
  border-color: var(--success-color) !important;
  box-shadow: 0 0 10px rgba(40, 167, 69, 0.3);
}

.is-invalid {
  border-color: var(--error-color) !important;
  box-shadow: 0 0 10px rgba(220, 53, 69, 0.3);
}

/* Input tooltips */
.input-tooltip {
  position: absolute;
  bottom: -35px;
  left: 0;
  background: var(--primary-green);
  color: var(--dark-bg);
  padding: 8px 12px;
  border-radius: 8px;
  font-size: 0.85rem;
  max-width: 300px;
  z-index: 1000;
  animation: slideInUp 0.3s ease;
}

@keyframes slideInUp {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Enhanced select styling */
select.form-control-futuristic {
  cursor: pointer;
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' fill='%2300ff88' viewBox='0 0 16 16'%3e%3cpath d='M8 13.1l-6.4-6.4L2.8 5.5 8 10.7l5.2-5.2 1.2 1.2L8 13.1z'/%3e%3c/svg%3e");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  background-size: 1em;
  appearance: none;
}

select.form-control-futuristic option {
  background: var(--dark-bg);
  color: var(--text-light);
  padding: 10px;
}

/* Enhanced Tutorial Overlay */
.tutorial-overlay-enhanced {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(0, 0, 0, 0.9), rgba(10, 10, 30, 0.95));
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1000;
  backdrop-filter: blur(15px);
}

.tutorial-content-enhanced {
  background: linear-gradient(135deg, rgba(15, 15, 35, 0.95), rgba(20, 20, 40, 0.9));
  padding: 2rem;
  border-radius: 20px;
  border: 3px solid var(--primary-green);
  text-align: center;
  max-width: 90vw;
  max-height: 85vh;
  overflow-y: auto;
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.7), 0 0 40px rgba(0, 255, 136, 0.2);
  position: relative;
  margin: 1rem;
}

.tutorial-content-enhanced::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(0, 255, 136, 0.1), transparent);
  animation: shimmer 3s infinite;
}

.tutorial-icon {
  font-size: 3rem;
  color: var(--primary-green);
  margin-bottom: 1rem;
}

.tutorial-title {
  font-family: 'Orbitron', monospace;
  font-size: clamp(1.8rem, 4vw, 2.5rem);
  font-weight: 700;
  background: linear-gradient(45deg, var(--primary-green), #00ff44);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-bottom: 1rem;
  line-height: 1.2;
}

.tutorial-description {
  font-size: clamp(0.9rem, 2.5vw, 1.1rem);
  color: var(--text-secondary);
  margin-bottom: 1.25rem;
  line-height: 1.5;
}

.tutorial-features {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin-bottom: 1.5rem;
}

.feature-item {
  display: flex;
  align-items: center;
  gap: 1rem;
  color: var(--text-light);
  font-size: 1rem;
}

.feature-item i {
  color: var(--primary-green);
  font-size: 1.2rem;
}

.tutorial-actions {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0.75rem;
  flex-wrap: wrap;
}

/* Enhanced Progress Steps with Blinking */
.wizard-progress {
  margin-bottom: 2rem;
}

.progress-steps {
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: relative;
  margin-bottom: 2rem;
}

.progress-steps::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, rgba(255, 255, 255, 0.1), rgba(0, 255, 136, 0.2));
  z-index: 1;
  border-radius: 2px;
}

.step {
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
  z-index: 2;
  background: var(--card-bg);
  padding: 1rem 0.5rem;
  border-radius: 12px;
  transition: all 0.4s ease;
  border: 2px solid transparent;
}

.step-number {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  color: var(--text-muted);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
  font-size: 1.1rem;
  margin-bottom: 0.5rem;
  transition: all 0.4s ease;
  border: 2px solid rgba(255, 255, 255, 0.1);
}

.step-label {
  font-size: 0.9rem;
  color: var(--text-muted);
  text-align: center;
  transition: all 0.4s ease;
  font-weight: 500;
}

.step.active {
  border-color: var(--primary-green);
  background: rgba(0, 255, 136, 0.05);
}

.step.active .step-number {
  background: var(--primary-green);
  color: var(--dark-bg);
  box-shadow: 0 0 20px rgba(0, 255, 136, 0.6);
  border-color: var(--primary-green);
  animation: activeStepPulse 2s infinite;
}

.step.active .step-label {
  color: var(--primary-green);
  font-weight: 600;
  animation: labelGlow 2s infinite;
}

.step.completed .step-number {
  background: var(--success-color);
  color: var(--dark-bg);
  border-color: var(--success-color);
  box-shadow: 0 0 15px rgba(0, 255, 136, 0.4);
}

.step.completed .step-label {
  color: var(--success-color);
  font-weight: 600;
}

.step.completed .step-number::after {
  content: '✓';
  font-size: 1.2rem;
  font-weight: bold;
}

/* Technology Icons */
.tech-icon {
  font-size: 1.5rem;
  margin-right: 0.5rem;
  color: var(--primary-green);
}

.tech-option {
  display: flex;
  align-items: center;
  padding: 0.75rem;
  border: 2px solid rgba(0, 255, 136, 0.2);
  border-radius: 8px;
  background: rgba(0, 255, 136, 0.05);
  cursor: pointer;
  transition: all 0.3s ease;
  margin-bottom: 0.5rem;
}

.tech-option:hover {
  border-color: var(--primary-green);
  background: rgba(0, 255, 136, 0.1);
  transform: translateY(-2px);
}

.tech-option input[type="checkbox"] {
  margin-right: 0.5rem;
}

.tech-option input[type="checkbox"]:checked + .tech-icon + span,
.tech-option input[type="checkbox"]:checked ~ span {
  color: var(--primary-green);
  font-weight: 600;
}

.tech-category h4 {
  color: var(--primary-green);
  font-family: 'Orbitron', monospace;
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

/* Add Item Buttons */
.btn-add-item {
  background: linear-gradient(135deg, var(--primary-green), #00cc77);
  color: var(--dark-bg);
  border: none;
  padding: 0.75rem 1.5rem;
  border-radius: 8px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-family: 'Rajdhani', sans-serif;
}

.btn-add-item:hover {
  background: linear-gradient(135deg, #00cc77, var(--primary-green));
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(0, 255, 136, 0.3);
}

.btn-add-item i {
  font-size: 1rem;
}

/* Disable all mouse movement effects in wizard */
.wizard-container, .wizard-container *, 
.interactive-form-section, .interactive-form-section *,
.glass-card, .glass-card * {
  transform: none !important;
  transition: none !important;
  pointer-events: auto !important;
}

.wizard-container:hover, .wizard-container *:hover,
.interactive-form-section:hover, .interactive-form-section *:hover,
.glass-card:hover, .glass-card *:hover {
  transform: none !important;
}

/* Static neon borders without movement */
.wizard-container, .glass-card {
  position: relative;
  border: 2px solid var(--primary-green);
  border-radius: 12px;
  background: var(--card-bg);
}

.interactive-form-section {
  position: relative;
  border: 1px solid rgba(0, 255, 136, 0.3);
  border-radius: 8px;
  background: rgba(0, 255, 136, 0.05);
}

@keyframes activeStepPulse {
  0%, 100% { 
    box-shadow: 0 0 20px rgba(0, 255, 136, 0.6);
    transform: scale(1);
  }
  50% { 
    box-shadow: 0 0 30px rgba(0, 255, 136, 0.8);
    transform: scale(1.05);
  }
}

@keyframes labelGlow {
  0%, 100% { text-shadow: 0 0 5px rgba(0, 255, 136, 0.5); }
  50% { text-shadow: 0 0 15px rgba(0, 255, 136, 0.8); }
}

@keyframes shimmer {
  0% { left: -100%; }
  100% { left: 100%; }
}

@keyframes sparkle-animation {
  0%, 100% { transform: rotate(0deg) scale(1); }
  25% { transform: rotate(90deg) scale(1.1); }
  50% { transform: rotate(180deg) scale(1); }
  75% { transform: rotate(270deg) scale(1.1); }
}

/* Mobile Responsive Improvements */
@media (max-width: 768px) {
  .tutorial-content-enhanced {
    padding: 1.5rem;
    margin: 0.5rem;
    max-width: 95vw;
    max-height: 90vh;
  }
  
  .tutorial-icon {
    font-size: 2.5rem;
    margin-bottom: 0.75rem;
  }
  
  .tutorial-features {
    gap: 0.5rem;
    margin-bottom: 1rem;
  }
  
  .feature-item {
    font-size: 0.9rem;
  }
  
  .tutorial-actions {
    flex-direction: column;
    gap: 0.5rem;
  }
  
  .tutorial-actions .btn {
    width: 100%;
    max-width: 200px;
  }
}

/* Wizard Container Mobile Responsive */
@media (max-width: 768px) {
  .wizard-container {
    margin: 1rem;
    padding: 1rem;
  }
  
  .wizard-header h1 {
    font-size: clamp(1.5rem, 5vw, 2.5rem);
  }
  
  .wizard-stats {
    flex-direction: column;
    gap: 1rem;
  }
  
  .stat-item {
    min-width: auto;
    text-align: center;
  }
  
  .progress-steps {
    flex-wrap: wrap;
    gap: 0.5rem;
  }
  
  .step {
    min-width: 80px;
    padding: 0.5rem;
  }
  
  .step-number {
    width: 40px;
    height: 40px;
    font-size: 1rem;
  }
  
  .step-label {
    font-size: 0.8rem;
  }
}

/* Form Mobile Responsive */
@media (max-width: 768px) {
  .form-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
  
  .interactive-form-section {
    padding: 1rem;
  }
  
  .tech-selector {
    display: block;
  }
  
  .tech-category {
    margin-bottom: 1.5rem;
  }
  
  .tech-options {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0.5rem;
  }
  
  .tech-option {
    padding: 0.5rem;
    font-size: 0.9rem;
  }
  
  .tech-icon {
    font-size: 1.2rem;
  }
  
  .add-feature, .add-milestone {
    flex-direction: column;
    gap: 0.5rem;
  }
  
  .add-feature input, .add-milestone input {
    margin-bottom: 0.5rem;
  }
  
  .btn-add-item {
    width: 100%;
    justify-content: center;
  }
}

/* Navigation Mobile Responsive */
@media (max-width: 768px) {
  .navbar-nav {
    text-align: center;
  }
  
  .navbar-nav .nav-link {
    padding: 0.75rem 1rem;
  }
  
  .navbar-brand img {
    height: 50px;
  }
}

/* Footer Mobile Responsive */
@media (max-width: 768px) {
  .footer .row {
    text-align: center;
  }
  
  .footer .col-md-6 {
    margin-bottom: 1rem;
  }
  
  .creator-credit-container {
    justify-content: center;
  }
  
  .creator-text {
    font-size: 0.9rem;
  }
  
  .flag-icon {
    height: 24px !important;
  }
}

/* Card Mobile Responsive */
@media (max-width: 768px) {
  .glass-card {
    margin: 0.5rem;
    padding: 1rem;
  }
  
  .card-deck .col-md-4 {
    margin-bottom: 1rem;
  }
}

/* Button Mobile Responsive */
@media (max-width: 768px) {
  .btn-futuristic, .btn-outline-futuristic {
    padding: 0.75rem 1.5rem;
    font-size: 0.9rem;
    width: 100%;
    margin-bottom: 1rem !important;
  }
  
  .btn-lg {
    padding: 1rem 2rem;
    font-size: 1rem;
  }
  
  .text-center .btn {
    display: block;
    margin: 0 auto 1rem auto;
  }
  
  .text-center .me-3 {
    margin-right: 0 !important;
  }
  
  .btn-hero-primary, .btn-hero-secondary {
    width: 100% !important;
    margin-bottom: 1rem !important;
  }
  
  .hero-actions .d-flex {
    flex-direction: column !important;
  }
}

/* Mobile enhancements for forms */
@media (max-width: 768px) {
  .interactive-form-section {
    padding: 1.5rem;
    margin: 1rem 0;
  }
  
  .form-group-animated {
    margin-bottom: 1.5rem;
  }
  
  .input-tooltip {
    position: fixed;
    bottom: 20px;
    left: 20px;
    right: 20px;
    max-width: none;
  }
}

/* Forms */
.form-futuristic {
  background: var(--glass-bg);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 20px;
  padding: 2rem;
  max-width: 500px;
  margin: 0 auto;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
}

.form-control-futuristic {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  color: var(--text-primary);
  padding: 12px 16px;
  transition: all 0.3s ease;
  backdrop-filter: blur(10px);
}

.form-control-futuristic:focus {
  background: rgba(255, 255, 255, 0.08);
  border-color: var(--primary-green);
  box-shadow: 0 0 15px rgba(0, 255, 136, 0.3);
  outline: none;
  color: var(--text-primary);
}

.form-control-futuristic::placeholder {
  color: var(--text-muted);
}

.form-label-futuristic {
  color: var(--text-secondary);
  font-weight: 500;
  margin-bottom: 8px;
  display: block;
  font-family: 'Orbitron', monospace;
  text-transform: uppercase;
  font-size: 0.9rem;
  letter-spacing: 1px;
}

/* Cards and Content */
.content-wrapper {
  margin-top: 100px;
  padding: 2rem;
  min-height: calc(100vh - 100px);
}

.hero-section {
  text-align: center;
  padding: 5rem 0;
  position: relative;
}

.hero-section::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 300px;
  height: 300px;
  background: radial-gradient(circle, rgba(0, 255, 136, 0.1) 0%, transparent 70%);
  border-radius: 50%;
  transform: translate(-50%, -50%);
  animation: pulse 4s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% { transform: translate(-50%, -50%) scale(1); opacity: 0.7; }
  50% { transform: translate(-50%, -50%) scale(1.2); opacity: 0.3; }
}

.hero-title {
  font-size: 4rem;
  margin-bottom: 1rem;
  position: relative;
  z-index: 2;
}

.hero-subtitle {
  font-size: 1.3rem;
  color: var(--text-secondary);
  margin-bottom: 2rem;
  font-weight: 300;
  position: relative;
  z-index: 2;
}

/* Status Badges */
.status-badge {
  padding: 6px 12px;
  border-radius: 15px;
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  font-family: 'Orbitron', monospace;
}

.status-pending {
  background: rgba(255, 179, 71, 0.2);
  color: var(--warning-color);
  border: 1px solid var(--warning-color);
}

.status-active {
  background: rgba(0, 255, 136, 0.2);
  color: var(--success-color);
  border: 1px solid var(--success-color);
}

.status-completed {
  background: rgba(0, 153, 255, 0.2);
  color: var(--info-color);
  border: 1px solid var(--info-color);
}

.status-failed, .status-cancelled {
  background: rgba(255, 71, 87, 0.2);
  color: var(--error-color);
  border: 1px solid var(--error-color);
}

/* Progress Bars */
.progress-futuristic {
  background: rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  height: 8px;
  overflow: hidden;
  position: relative;
}

.progress-futuristic::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(90deg, 
    rgba(0, 255, 136, 0.1) 0%, 
    rgba(0, 255, 136, 0.3) 50%, 
    rgba(0, 255, 136, 0.1) 100%);
  animation: shimmer 2s ease-in-out infinite;
}

@keyframes shimmer {
  0% { transform: translateX(-100%); }
  100% { transform: translateX(100%); }
}

.progress-bar-futuristic {
  background: linear-gradient(45deg, var(--primary-green), var(--primary-blue));
  height: 100%;
  border-radius: 10px;
  transition: width 0.8s ease;
  position: relative;
  overflow: hidden;
}

.progress-bar-futuristic::after {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
  animation: progressShine 2s ease-in-out infinite;
}

@keyframes progressShine {
  0% { left: -100%; }
  100% { left: 100%; }
}

/* Tables */
.table-futuristic {
  background: var(--glass-bg);
  backdrop-filter: blur(20px);
  border-radius: 15px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.table-futuristic th {
  background: rgba(0, 255, 136, 0.1);
  color: var(--text-primary);
  font-family: 'Orbitron', monospace;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  padding: 15px;
  border: none;
}

.table-futuristic td {
  background: rgba(255, 255, 255, 0.02);
  color: var(--text-secondary);
  padding: 15px;
  border: none;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.table-futuristic tbody tr:hover {
  background: rgba(0, 255, 136, 0.05);
  transform: translateX(5px);
  transition: all 0.3s ease;
}

/* Dashboard Stats */
.stat-card {
  background: var(--glass-bg);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 20px;
  padding: 2rem;
  text-align: center;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.stat-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(45deg, var(--primary-green), var(--primary-blue), var(--primary-purple));
}

.stat-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3), 0 0 20px rgba(0, 255, 136, 0.2);
}

.stat-number {
  font-family: 'Orbitron', monospace;
  font-size: 3rem;
  font-weight: 900;
  background: linear-gradient(45deg, var(--primary-green), var(--primary-blue));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1;
}

.stat-label {
  color: var(--text-secondary);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-top: 10px;
}

/* Animations */
.fade-in {
  animation: fadeIn 0.8s ease-out;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: translateY(0); }
}

.slide-in-left {
  animation: slideInLeft 0.8s ease-out;
}

@keyframes slideInLeft {
  from { opacity: 0; transform: translateX(-50px); }
  to { opacity: 1; transform: translateX(0); }
}

.slide-in-right {
  animation: slideInRight 0.8s ease-out;
}

@keyframes slideInRight {
  from { opacity: 0; transform: translateX(50px); }
  to { opacity: 1; transform: translateX(0); }
}

/* Glow Effects */
.glow-green {
  box-shadow: 0 0 20px rgba(0, 255, 136, 0.4);
}

.glow-blue {
  box-shadow: 0 0 20px rgba(0, 153, 255, 0.4);
}

.glow-purple {
  box-shadow: 0 0 20px rgba(153, 51, 255, 0.4);
}

/* Responsive Design */
@media (max-width: 768px) {
  .hero-title {
    font-size: 2.5rem;
  }
  
  .hero-subtitle {
    font-size: 1.1rem;
  }
  
  .glass-card {
    padding: 1.5rem;
    margin: 1rem;
  }
  
  .content-wrapper {
    padding: 1rem;
  }
  
  .navbar-brand {
    font-size: 1.2rem;
  }
}

@media (max-width: 576px) {
  .hero-title {
    font-size: 2rem;
  }
  
  .stat-number {
    font-size: 2rem;
  }
  
  .glass-card {
    padding: 1rem;
  }
}

/* Loading Animations */
.loading-spinner {
  width: 40px;
  height: 40px;
  border: 4px solid rgba(255, 255, 255, 0.1);
  border-left: 4px solid var(--primary-green);
  border-radius: 50%;
  animation: spin 1s linear infinite;
}

@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

/* Notification Styles */
.notification {
  position: fixed;
  top: 100px;
  right: 20px;
  background: var(--glass-bg);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 15px;
  padding: 1rem 1.5rem;
  color: var(--text-primary);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
  z-index: 9999;
  animation: slideInRight 0.5s ease;
}

.notification.success {
  border-left: 4px solid var(--success-color);
}

.notification.error {
  border-left: 4px solid var(--error-color);
}

.notification.warning {
  border-left: 4px solid var(--warning-color);
}

.notification.info {
  border-left: 4px solid var(--info-color);
}

/* Footer */
.footer {
  background: rgba(10, 10, 10, 0.95);
  backdrop-filter: blur(20px);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding: 2rem 0;
  margin-top: 4rem;
  text-align: center;
  color: var(--text-secondary);
}

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 8px;
}

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

::-webkit-scrollbar-thumb {
  background: linear-gradient(45deg, var(--primary-green), var(--primary-blue));
  border-radius: 10px;
}

::-webkit-scrollbar-thumb:hover {
  background: linear-gradient(45deg, var(--primary-blue), var(--primary-purple));
}

/* File Upload Styles */
.file-upload-area {
  border: 2px dashed rgba(0, 255, 136, 0.3);
  border-radius: 15px;
  padding: 3rem;
  text-align: center;
  background: rgba(255, 255, 255, 0.02);
  transition: all 0.3s ease;
  cursor: pointer;
}

.file-upload-area:hover {
  border-color: var(--primary-green);
  background: rgba(0, 255, 136, 0.05);
}

.file-upload-area.dragover {
  border-color: var(--primary-blue);
  background: rgba(0, 153, 255, 0.1);
  transform: scale(1.02);
}

/* Off-canvas (slide) menu */
.offcanvas-custom {
  background: rgba(10, 10, 10, 0.95);
  backdrop-filter: blur(20px);
  width: 280px;
  border-right: 1px solid rgba(0, 255, 136, 0.25);
}

.offcanvas-custom .offcanvas-header {
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.offcanvas-custom .offcanvas-title {
  font-family: 'Orbitron', monospace;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--text-primary);
}

.offcanvas-custom .btn-close {
  filter: invert(1);
}

.offcanvas-custom .nav-link {
  color: var(--text-secondary) !important;
  font-weight: 500;
  margin: 4px 0;
  padding: 10px 18px;
  border-radius: 10px;
  transition: all 0.3s ease;
  position: relative;
}

.offcanvas-custom .nav-link:hover {
  color: var(--text-primary) !important;
  background: rgba(0, 255, 136, 0.1);
  box-shadow: 0 0 15px rgba(0, 255, 136, 0.2);
}

/* Full-width slide on extra small devices */
@media (max-width: 576px) {
  .offcanvas-custom {
    width: 100%;
  }
}
