/* ================ GLOBAL STYLES ================ */
:root {
  --primary: #0ee4a8;
  --primary-dark: #00b8c4;
  --secondary: #e9d9e7;
  --dark: #0d1117;
  --darker: #05080f;
  --light: #e0e0e0;
  --accent: #ff5e00;
  --success: #00ff7f;
  --warning: #ffcc00;
  --danger: #ff3860;
  --gradient-primary: linear-gradient(135deg, #00f0ff 0%, #0066ff 100%);
  --gradient-accent: linear-gradient(135deg, #ff00e4 0%, #ff5e00 100%);
  --font-primary: 'Inter', sans-serif;
  --font-display: 'Orbitron', sans-serif;
  --font-heading: 'Montserrat', sans-serif;
  --transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
  --shadow: 0 4px 6px rgba(0, 240, 255, 0.1), 0 1px 3px rgba(0, 240, 255, 0.08);
  --shadow-lg: 0 10px 25px rgba(0, 240, 255, 0.1), 0 5px 10px rgba(0, 240, 255, 0.05);
  --glow: 0 0 15px rgba(0, 240, 255, 0.5), 0 0 30px rgba(0, 240, 255, 0.3);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: var(--font-primary);
  background-color: var(--darker);
  color: var(--light);
  overflow-x: hidden;
  position: relative;
  min-height: 100vh;
  cursor: none;
}
#spaceCanvas {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -3; /* Behind everything except body background */
}

#threejs-container {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -2; /* Above space canvas */
}

#particles-js {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1; /* Above Three.js */
  opacity: 0.5;
}
/* ================ CURSOR FIXES ================ */
.cursor-dot,
.cursor-outline,
.cursor-pulse {
position: fixed;
top: 0;
left: 0;
pointer-events: none;
z-index: 99999; /* Increased z-index to ensure it's above everything */
mix-blend-mode: difference; /* Makes cursor visible on all backgrounds */
}

body.loading .cursor-dot,
body.loading .cursor-outline,
body.loading .cursor-pulse {
display: none; /* Hide cursor during loading */
}

/* Ensure cursor is visible on all elements except where we want it hidden */
#threejs-container,
#particles-js,
.floating-elements,
.floating-element,
.loader-content,
.cyber-loader,
.cyber-circle,
.cyber-center,
.hexagon-grid,
.hex-row,
.hexagon {
pointer-events: none;
}
/* ================ NAVBAR HOME BUTTON ANIMATION ================ */
.nav-link[href="#"] {
position: relative;
overflow: hidden;
}

.nav-link[href="#"]::after {
content: '';
position: absolute;
bottom: 0;
left: 0;
width: 100%;
height: 2px;
background: var(--primary);
transform: scaleX(0);
transform-origin: right;
transition: transform 0.4s cubic-bezier(0.65, 0, 0.35, 1);
}

.nav-link[href="#"]:hover::after {
transform: scaleX(1);
transform-origin: left;
}

.nav-link[href="#"] i {
transition: all 0.3s ease;
display: inline-block;
}

.nav-link[href="#"]:hover i {
transform: translateX(-3px) rotate(-10deg);
color: var(--primary);
text-shadow: 0 0 10px #00eeff;
}
/* Add this to your CSS */
.nav-link[href="#"].home-hover::before {
content: '';
position: absolute;
top: 50%;
left: 50%;
width: 5px;
height: 5px;
background: rgba(0, 240, 255, 0.6);
border-radius: 50%;
transform: translate(-50%, -50%);
animation: homeRipple 1s ease-out forwards;
z-index: -1;
}

@keyframes homeRipple {
to {
    transform: translate(-50%, -50%) scale(20);
    opacity: 0;
}
}
/* Active state animation */
.nav-link[href="#"].active i {
animation: homePulse 2s infinite;
}

@keyframes homePulse {
0% {
    transform: scale(1);
    text-shadow: 0 0 0 rgba(0, 240, 255, 0.5);
}
50% {
    transform: scale(1.1);
    text-shadow: 0 0 10px rgba(0, 240, 255, 0.8);
}
100% {
    transform: scale(1);
    text-shadow: 0 0 0 rgba(0, 240, 255, 0.5);
}
}
/* Make sure interactive elements have pointer events */
a, button, input, textarea, select, 
[role="button"], [tabindex] {
pointer-events: auto;
}
/* ================ FOOTER BACKGROUND ANIMATION ================ */
.footer::before {
content: '';
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 100%;
background: 
    linear-gradient(135deg, 
        rgba(0, 240, 255, 0.03) 0%, 
        rgba(0, 102, 255, 0.03) 100%);
z-index: -2;
animation: footerBgPulse 15s infinite alternate;
}

@keyframes footerBgPulse {
0% {
    opacity: 0.3;
    background-position: 0% 0%;
}
50% {
    opacity: 0.7;
    background-position: 100% 100%;
}
100% {
    opacity: 0.3;
    background-position: 0% 0%;
}
}

.footer-cyber-grid {
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 100%;
background-image: 
    linear-gradient(rgba(0, 240, 255, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0, 240, 255, 0.05) 1px, transparent 1px);
background-size: 40px 40px;
z-index: -1;
animation: gridScroll 20s linear infinite;
}

@keyframes gridScroll {
0% {
    background-position: 0 0;
}
100% {
    background-position: 40px 40px;
}
}

.footer-cyber-dots {
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 100%;
z-index: -1;
overflow: hidden;
}

.footer-dot {
position: absolute;
width: 5px;
height: 5px;
background-color: rgba(0, 240, 255, 0.3);
border-radius: 50%;
animation: dotFloat 15s infinite linear;
}

@keyframes dotFloat {
0% {
    transform: translateY(0) translateX(0);
    opacity: 0;
}
10% {
    opacity: 0.3;
}
90% {
    opacity: 0.3;
}
100% {
    transform: translateY(-100vh) translateX(20px);
    opacity: 0;
}
}
/* ================ FOOTER SPACE BACKGROUND ================ */
.footer-space-bg {
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 100%;
overflow: hidden;
z-index: -1;
}

/* Animated Planets */
.footer-planet {
position: absolute;
border-radius: 50%;
filter: blur(1px);
opacity: 0.7;
animation: planetFloat 120s infinite linear;
}

@keyframes planetFloat {
0% { transform: translateX(-20%) translateY(20%) scale(1); }
50% { transform: translateX(120%) translateY(-10%) scale(1.1); }
100% { transform: translateX(-20%) translateY(20%) scale(1); }
}

/* Shooting Stars */
.footer-shooting-star {
position: absolute;
width: 4px;
height: 4px;
background: white;
border-radius: 50%;
filter: blur(1px);
box-shadow: 0 0 10px 2px rgba(255,255,255,0.8);
animation: shootingStar 8s infinite;
opacity: 0;
}

@keyframes shootingStar {
0% { 
    transform: translateX(0) translateY(0);
    opacity: 0;
}
10% { opacity: 1; }
100% { 
    transform: translateX(500px) translateY(-200px);
    opacity: 0;
}
}

/* Floating Asteroids */
.footer-asteroid {
position: absolute;
width: 40px;
height: 40px;
background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><path d="M50 10C60 15 85 25 90 50C95 75 75 85 50 90C25 85 10 70 10 50C15 25 40 5 50 10Z" fill="%23424242"/></svg>') no-repeat center;
background-size: contain;
opacity: 0.3;
animation: asteroidFloat 60s infinite linear;
}

@keyframes asteroidFloat {
0% { transform: translateX(-10%) translateY(10%) rotate(0deg); }
100% { transform: translateX(110%) translateY(-10%) rotate(360deg); }
}

/* Pulsing Stars */
.footer-star {
position: absolute;
width: 2px;
height: 2px;
background: white;
border-radius: 50%;
animation: starPulse 3s infinite alternate;
}

@keyframes starPulse {
0% { transform: scale(1); opacity: 0.3; }
100% { transform: scale(1.5); opacity: 0.8; }
}
/* ================ BACKGROUND EFFECTS ================ */
#threejs-container {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -2;
}

#particles-js {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
  opacity: 0.5;
}

.floating-elements {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: -1;
}

.floating-element {
  position: absolute;
  opacity: 0.1;
  filter: blur(3px);
  background: var(--primary);
  border-radius: 50%;
}

.element-1 {
  width: 300px;
  height: 300px;
  top: 10%;
  left: 10%;
  background: radial-gradient(circle, var(--primary) 0%, transparent 70%);
  animation: float 15s infinite alternate ease-in-out;
}

.element-2 {
  width: 200px;
  height: 200px;
  bottom: 20%;
  right: 15%;
  background: radial-gradient(circle, var(--secondary) 0%, transparent 70%);
  animation: float 20s infinite alternate-reverse ease-in-out;
}

.element-3 {
  width: 150px;
  height: 150px;
  top: 40%;
  right: 30%;
  background: radial-gradient(circle, var(--accent) 0%, transparent 70%);
  animation: float 18s infinite alternate ease-in-out;
}

.element-4 {
  width: 250px;
  height: 250px;
  bottom: 10%;
  left: 25%;
  background: radial-gradient(circle, var(--warning) 0%, transparent 70%);
  animation: float 25s infinite alternate-reverse ease-in-out;
}

/* ================ CUSTOM CURSOR ================ */
.cursor-dot,
.cursor-outline,
.cursor-pulse {
  position: fixed;
  top: 0;
  left: 0;
  pointer-events: none;
  z-index: 9999;
}

.cursor-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: var(--primary);
  transform: translate(-50%, -50%);
  transition: transform 0.1s ease;
}

.cursor-outline {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 2px solid var(--primary);
  transform: translate(-50%, -50%);
  transition: width 0.3s ease, height 0.3s ease, border-color 0.3s ease;
}

.cursor-pulse {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: rgba(0, 240, 255, 0.1);
  transform: translate(-50%, -50%) scale(0);
  animation: cursor-pulse 2s infinite;
}

/* ================ LOADER ================ */
#loader {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: var(--darker);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 9999;
  transition: opacity 0.8s ease, visibility 0.8s ease;
}

.loader-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  max-width: 600px;
  padding: 2rem;
}

.cyber-loader {
  position: relative;
  width: 180px;
  height: 180px;
  margin-bottom: 2rem;
}

.cyber-circle {
  position: absolute;
  width: 100%;
  height: 100%;
  border: 4px solid transparent;
  border-radius: 50%;
  animation: spinner 5s linear infinite;
}

.cyber-circle:nth-child(1) {
  border-top-color: var(--primary);
  animation-delay: 0s;
}

.cyber-circle:nth-child(2) {
  border-right-color: var(--secondary);
  animation-delay: 0.5s;
}

.cyber-circle:nth-child(3) {
  border-bottom-color: var(--accent);
  animation-delay: 1s;
}

.cyber-center {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 120px;
  height: 120px;
  background: rgba(13, 17, 23, 0.8);
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  box-shadow: 0 0 20px rgba(0, 240, 255, 0.3);
}

.hexagon-grid {
  width: 100px;
  height: 100px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.hex-row {
  display: flex;
  justify-content: center;
  margin: 1px 0;
}

.hexagon {
  width: 15px;
  height: 15px;
  background-color: rgba(0, 240, 255, 0.1);
  clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%);
  margin: 0 1px;
  transition: all 0.3s ease;
}

.hexagon.active {
  background-color: var(--primary);
  box-shadow: 0 0 10px var(--primary);
  animation: pulse 2s infinite;
}

.loader-text {
  text-align: center;
  margin-bottom: 2rem;
}

.cyber-glitch {
  font-family: var(--font-display);
  font-size: 3rem;
  font-weight: 800;
  color: var(--primary);
  text-shadow: 0 0 10px rgba(0, 240, 255, 0.5);
  letter-spacing: 2px;
  margin-bottom: 1rem;
  position: relative;
}

.system-message {
  font-size: 1rem;
  color: var(--light);
  letter-spacing: 1px;
  margin-top: 0.5rem;
}

.progress-container {
  width: 100%;
  margin-bottom: 2rem;
}

.progress-bar {
  width: 100%;
  height: 10px;
  background-color: rgba(255, 255, 255, 0.1);
  border-radius: 5px;
  overflow: hidden;
  position: relative;
}

.progress-fill {
  height: 100%;
  width: 0%;
  background: var(--gradient-primary);
  border-radius: 5px;
  position: relative;
  transition: width 0.5s ease;
}

.progress-glow {
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: 60px;
  background: linear-gradient(to right, transparent, rgba(255, 255, 255, 0.8), transparent);
  transform: skewX(-20deg);
  animation: progress-glow 2s infinite;
}

.progress-text {
  display: flex;
  justify-content: space-between;
  margin-top: 0.5rem;
  font-family: var(--font-display);
  font-size: 0.9rem;
}

.percentage {
  color: var(--primary);
}

.status {
  color: var(--light);
  letter-spacing: 1px;
}

.terminal-output {
  width: 100%;
  background-color: rgba(5, 8, 15, 0.8);
  border: 1px solid var(--primary);
  border-radius: 5px;
  padding: 1rem;
  font-family: monospace;
  font-size: 0.9rem;
  color: var(--light);
  height: 100px;
  overflow: hidden;
}

.terminal-line {
  margin-bottom: 0.5rem;
  opacity: 0;
  transform: translateY(20px);
  animation: fadeInUp 0.5s forwards;
}

.terminal-line:nth-child(1) {
  animation-delay: 0.5s;
}

.terminal-line:nth-child(2) {
  animation-delay: 1.5s;
}

.terminal-line:nth-child(3) {
  animation-delay: 2.5s;
}

/* ================ NAVBAR ================ */
.navbar {
  padding: 1.5rem 2rem;
  background-color: rgba(5, 8, 15, 0.8);
  backdrop-filter: blur(10px);
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
  border-bottom: 1px solid rgba(0, 240, 255, 0.1);
  transition: var(--transition);
}

.navbar-brand {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.8rem;
  letter-spacing: 1px;
  position: relative;
  transition: var(--transition);
}

.logo-hack {
  color: var(--light); 
}

.logo-kap {
  color: var(--primary);
}

.logo-badge {
  position: absolute;
  top: -8px;
  right: -35px;
  background: var(--gradient-accent);
  color: white;
  font-size: 0.6rem;
  padding: 2px 6px;
  border-radius: 4px;
  letter-spacing: 1px;
}

.navbar-nav {
  margin-left: auto;
  gap: 0.5rem;
}

.nav-link {
  color: var(--light);
  font-weight: 500;
  padding: 0.5rem 1rem;
  transition: var(--transition);
  border-radius: 5px;
}

.nav-link:hover,
.nav-link.active {
  color: var(--primary);
  background-color: rgba(0, 240, 255, 0.1);
}

.hamburger {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  width: 24px;
  height: 18px;
}

.hamburger span {
  display: block;
  height: 2px;
  width: 100%;
  background-color: var(--primary);
  transition: var(--transition);
}

.cyber-btn {
  background: transparent;
  border: 1px solid var(--primary);
  color: var(--primary);
  border-radius: 4px;
  padding: 0.5rem 1.25rem;
  font-weight: 500;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
  z-index: 1;
}

.cyber-btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: var(--gradient-primary);
  transition: var(--transition);
  z-index: -1;
}

.cyber-btn:hover {
  color: var(--darker);
  border-color: transparent;
}

.cyber-btn:hover::before {
  left: 0;
}

.btn-primary.cyber-btn {
  background: var(--gradient-primary);
  border: none;
  color: var(--darker);
  font-weight: 600;
}

.btn-primary.cyber-btn::before {
  background: var(--gradient-accent);
}

.btn-outline-light.cyber-btn {
  border-color: rgba(255, 255, 255, 0.5);
  color: var(--light);
}

.btn-outline-light.cyber-btn:hover {
  color: var(--darker);
}

/* ================ HERO SECTION ================ */
.hero {
  padding: 6rem 0;
  min-height: calc(100vh - 90px);
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
}

.hero-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
}

.hero-content {
  max-width: 600px;
}

.hero-badge {
  display: inline-block;
  background: linear-gradient(135deg, rgba(0, 240, 255, 0.1) 0%, rgba(0, 102, 255, 0.1) 100%);
  color: var(--primary);
  font-size: 0.8rem;
  font-weight: 600;
  padding: 0.5rem 1rem;
  border-radius: 50px;
  margin-bottom: 1.5rem;
  border: 1px solid rgba(0, 240, 255, 0.2);
  letter-spacing: 1px;
}

.hero-title {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 3.5rem;
  line-height: 1.2;
  margin-bottom: 1.5rem;
  background: linear-gradient(90deg, var(--light) 0%, var(--primary) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.title-line {
  display: block;
}

.hero-subtitle {
  font-size: 1.1rem;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: 2.5rem;
}

.hero-cta {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.hero-graphic {
  flex: 0 0 45%;
  position: relative;
}

.cyber-sphere {
  position: relative;
  width: 300px;
  height: 300px;
  margin: 0 auto;
}

.sphere-layer {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  border: 2px solid rgba(0, 240, 255, 0.3);
  animation: rotate 20s linear infinite;
}

.sphere-layer.layer-1 {
  animation-duration: 20s;
}

.sphere-layer.layer-2 {
  width: 70%;
  height: 70%;
  top: 15%;
  left: 15%;
  border-color: rgba(255, 0, 228, 0.3);
  animation-duration: 15s;
  animation-direction: reverse;
}

.sphere-layer.layer-3 {
  width: 40%;
  height: 40%;
  top: 30%;
  left: 30%;
  border-color: rgba(255, 94, 0, 0.3);
  animation-duration: 10s;
}

.sphere-core {
  position: absolute;
  top: 40%;
  left: 40%;
  width: 20%;
  height: 20%;
  background: var(--primary);
  border-radius: 50%;
  box-shadow: 0 0 20px var(--primary);
  animation: pulse 2s infinite alternate;
}

.sphere-orbits {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.orbit {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  transform: translate(-50%, -50%) rotate(0deg);
}

.orbit::before {
  content: '';
  position: absolute;
  width: 15px;
  height: 15px;
  border-radius: 50%;
  background: var(--primary);
  box-shadow: 0 0 10px var(--primary);
}

.orbit-1 {
  animation: orbit 8s linear infinite;
}

.orbit-1::before {
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  background: var(--primary);
}

.orbit-2 {
  width: 70%;
  height: 70%;
  animation: orbit 12s linear infinite reverse;
}

.orbit-2::before {
  top: 50%;
  right: 0;
  transform: translateY(-50%);
  background: var(--secondary);
}

.orbit-3 {
  width: 40%;
  height: 40%;
  animation: orbit 6s linear infinite;
}

.orbit-3::before {
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  background: var(--accent);
}

/* ================ ANIMATIONS ================ */
@keyframes float {
  0% {
    transform: translate(0, 0);
  }
  100% {
    transform: translate(20px, -20px);
  }
}

@keyframes spinner {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}

@keyframes pulse {
  0% {
    opacity: 1;
    transform: scale(1);
  }
  100% {
    opacity: 0.8;
    transform: scale(1.1);
  }
}

@keyframes progress-glow {
  0% {
    left: -60px;
  }
  100% {
    left: 100%;
  }
}

@keyframes fadeInUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes cursor-pulse {
  0% {
    transform: translate(-50%, -50%) scale(0);
    opacity: 0.5;
  }
  50% {
    transform: translate(-50%, -50%) scale(1);
    opacity: 0;
  }
  100% {
    transform: translate(-50%, -50%) scale(0);
    opacity: 0.5;
  }
}

@keyframes rotate {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}

@keyframes orbit {
  0% {
    transform: translate(-50%, -50%) rotate(0deg);
  }
  100% {
    transform: translate(-50%, -50%) rotate(360deg);
  }
}

/* ================ RESPONSIVE STYLES ================ */
@media (max-width: 992px) {
  .hero-container {
    flex-direction: column;
    text-align: center;
  }
  
  .hero-content {
    margin-bottom: 3rem;
  }
  
  .hero-title {
    font-size: 2.8rem;
  }
  
  .hero-cta {
    justify-content: center;
  }
  
  .cyber-sphere {
    width: 250px;
    height: 250px;
  }
}

@media (max-width: 768px) {
  .hero {
    padding: 4rem 0;
  }

  .hero-title {
    font-size: 2.3rem;
  }
  
  .hero-subtitle {
    font-size: 1rem;
  }
  
  .cyber-sphere {
    width: 200px;
    height: 200px;
  }
  
  .navbar {
    padding: 1rem;
  }
}

@media (max-width: 576px) {
  .navbar-brand {
    font-size: 1.5rem;
  }
  
  .logo-badge {
    top: -6px;
    right: -30px;
    font-size: 0.5rem;
  }
  
  .hero-title {
    font-size: 2rem;
  }
  
  .cyber-loader {
    width: 150px;
    height: 150px;
  }
  
  .cyber-center {
    width: 100px;
    height: 100px;
  }
  
  .cyber-glitch {
    font-size: 2.5rem;
  }
}
/* ================ FOOTER STYLES ================ */
.footer {
position: relative;
background-color: rgba(5, 8, 15, 0.95);
padding: 4rem 0 2rem;
border-top: 1px solid rgba(0, 240, 255, 0.1);
overflow: hidden;
backdrop-filter: blur(10px);
z-index: 10;
}

.footer::before {
content: '';
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 100%;
background: linear-gradient(135deg, rgba(0, 240, 255, 0.03) 0%, rgba(0, 102, 255, 0.03) 100%);
z-index: -1;
}

.footer-container {
max-width: 1200px;
margin: 0 auto;
padding: 0 2rem;
position: relative;
}

.footer-main {
display: grid;
grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
gap: 3rem;
margin-bottom: 3rem;
}

.footer-brand {
display: flex;
flex-direction: column;
}

.footer-logo {
font-family: var(--font-display);
font-weight: 800;
font-size: 2rem;
letter-spacing: 1px;
margin-bottom: 1rem;
display: inline-block;
}

.footer-tagline {
color: rgba(255, 255, 255, 0.7);
margin-bottom: 1.5rem;
font-size: 0.9rem;
}

.footer-social {
display: flex;
gap: 1rem;
}

.social-icon {
width: 36px;
height: 36px;
border-radius: 50%;
background: rgba(0, 240, 255, 0.1);
display: flex;
align-items: center;
justify-content: center;
color: var(--light);
transition: var(--transition);
border: 1px solid rgba(0, 240, 255, 0.2);
}

.social-icon:hover {
background: var(--primary);
color: var(--dark);
transform: translateY(-3px);
box-shadow: 0 0 15px rgba(0, 240, 255, 0.5);
}

.footer-links {
display: flex;
flex-direction: column;
}

.footer-title {
font-family: var(--font-heading);
font-weight: 700;
color: var(--primary);
margin-bottom: 1.5rem;
font-size: 1.1rem;
position: relative;
display: inline-block;
}

.footer-title::after {
content: '';
position: absolute;
bottom: -8px;
left: 0;
width: 40px;
height: 2px;
background: var(--gradient-primary);
}

.footer-links ul {
list-style: none;
padding: 0;
margin: 0;
}

.footer-links li {
margin-bottom: 0.8rem;
}

.footer-links a {
color: rgba(255, 255, 255, 0.7);
text-decoration: none;
transition: var(--transition);
font-size: 0.9rem;
position: relative;
padding-bottom: 2px;
}

.footer-links a::before {
content: '';
position: absolute;
bottom: 0;
left: 0;
width: 0;
height: 1px;
background: var(--primary);
transition: var(--transition);
}

.footer-links a:hover {
color: var(--primary);
}

.footer-links a:hover::before {
width: 20px;
}

.footer-newsletter {
display: flex;
flex-direction: column;
}

.newsletter-form {
position: relative;
margin-top: 1rem;
}

.newsletter-form .form-control {
background: rgba(255, 255, 255, 0.05);
border: 1px solid rgba(0, 240, 255, 0.2);
color: var(--light);
padding: 0.75rem 1rem;
border-radius: 4px;
transition: var(--transition);
}

.newsletter-form .form-control:focus {
background: rgba(255, 255, 255, 0.1);
border-color: var(--primary);
box-shadow: 0 0 0 0.25rem rgba(0, 240, 255, 0.1);
color: var(--light);
}

.newsletter-form .btn {
position: absolute;
right: 5px;
top: 5px;
padding: 0.5rem;
border-radius: 3px;
}

.footer-bottom {
display: flex;
flex-direction: column;
align-items: center;
justify-content: space-between;
padding-top: 2rem;
border-top: 1px solid rgba(0, 240, 255, 0.1);
}

.footer-copyright {
color: rgba(255, 255, 255, 0.5);
font-size: 0.8rem;
margin-bottom: 1rem;
text-align: center;
}

.footer-legal {
display: flex;
gap: 1.5rem;
}

.footer-legal a {
color: rgba(255, 255, 255, 0.5);
font-size: 0.8rem;
text-decoration: none;
transition: var(--transition);
}

.footer-legal a:hover {
color: var(--primary);
}

/* Cyber grid overlay for footer */
.footer-grid-overlay {
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 100%;
background: 
    linear-gradient(rgba(0, 240, 255, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0, 240, 255, 0.03) 1px, transparent 1px);
background-size: 40px 40px;
pointer-events: none;
z-index: -1;
}

/* Floating cyber elements in footer */
.footer-cyber-element {
position: absolute;
border-radius: 50%;
opacity: 0.1;
filter: blur(2px);
z-index: -1;
}

.footer-cyber-element-1 {
width: 200px;
height: 200px;
bottom: -50px;
left: -50px;
background: radial-gradient(circle, var(--primary) 0%, transparent 70%);
animation: float 15s infinite alternate ease-in-out;
}

.footer-cyber-element-2 {
width: 150px;
height: 150px;
top: -30px;
right: -30px;
background: radial-gradient(circle, var(--accent) 0%, transparent 70%);
animation: float 20s infinite alternate-reverse ease-in-out;
}

/* Responsive styles for footer */
@media (max-width: 768px) {
.footer-main {
    grid-template-columns: 1fr 1fr;
}

.footer-bottom {
    flex-direction: column;
    text-align: center;
}

.footer-legal {
    flex-wrap: wrap;
    justify-content: center;
}
}

@media (max-width: 576px) {
.footer-main {
    grid-template-columns: 1fr;
}

.footer-links {
    margin-bottom: 1.5rem;
}
}