* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  scroll-behavior: smooth;
}

body {
  background: #0d1b2a;
  font-family: "Poppins", sans-serif;
  color: #fff;
  overflow-x: hidden;
}
/* Header */
header {
  background: #112240;
  width: 100%;
  position: fixed;
  top: 0;
  z-index: 1000;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

/* Container */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 15px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: relative;
}

/* Logo */
.logo img {
  max-width: 150px;
}

/* Nav */
.close-btn {
  display: none;
}

.nav {
  flex: 1;
  display: flex;
  justify-content: center;
}

.nav-links {
  list-style: none;
  display: flex;
  gap: 25px;
}

.nav-links li a {
  font-size: 16px;
  position: relative;
  color: #ccd6f6;
  text-decoration: none;
  transition: color 0.3s ease;
}

.nav-links li a::after {
  content: "";
  transition: 0.3s;
}

.nav-links li a.active {
  color: #64ffda;
  border: 1px solid rgba(100, 255, 218, 0.5);
  padding: 8px 14px;
  border-radius: 4px;
  box-shadow: 0 15px 40px rgba(100, 255, 218, 0.2);
  transition: all 0.3s ease;
}

.nav-links li a.active::after {
  width: 100%;
}

.nav-links li a:hover {
  color: #64ffda;
}


/* Pricing Button */
.pricing-wrapper {
  display: flex;
  align-items: center;
}

.pricing-btn {
  background: linear-gradient(45deg, #64ffda, #2dd4bf);
  color: #0a192f;
  padding: 10px 18px;
  border-radius: 6px;
  font-weight: bold;
  box-shadow: 0 0 10px rgba(100, 255, 218, 0.4);
  transition: all 0.3s ease;
  white-space: nowrap;
  text-decoration: none;
}

.pricing-btn:hover {
  transform: scale(1.05);
  box-shadow: 0 0 20px rgba(100, 255, 218, 0.8);
}

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  margin-left: 15px;
}

.hamburger span {
  width: 25px;
  height: 3px;
  background-color: #64ffda;
  border-radius: 2px;
}

/* Responsive Design */
@media (max-width: 992px) {
  .container {
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    padding: 15px 10px;
  }

  .logo {
    justify-self: start;
  }

  .pricing-wrapper {
    justify-self: center;
  }

  .hamburger {
    display: flex;
    justify-self: end;
  }

  .nav {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: #0d1b2a;
    z-index: 1001;
    padding: 60px 20px 20px;
    overflow-y: auto;
    text-align: center;
  }

  .nav.active {
    display: block;
    animation: fadeIn 0.3s ease forwards;
  }

  .nav-links {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 20px;
    padding-left: 0;
    opacity: 0;
    transform: translateY(20px);
    animation: slideUp 0.6s ease forwards;
    animation-delay: 0.3s;
  }

  .nav-links li {
    opacity: 0;
    transform: translateY(20px);
    animation: navFade 0.5s ease forwards;
    display: flex;
    flex-direction: column;
  }

  .nav-links li:nth-child(1) {
    animation-delay: 0.4s;
  }
  .nav-links li:nth-child(2) {
    animation-delay: 0.6s;
  }
  .nav-links li:nth-child(3) {
    animation-delay: 0.8s;
  }
  .nav-links li:nth-child(4) {
    animation-delay: 1s;
  }
  .nav-links li:nth-child(5) {
    animation-delay: 1.2s;
  }
  .nav-links li:nth-child(6) {
    animation-delay: 1.4s;
  }

  .nav-links li a {
    color: #ccd6f6;
    font-size: 20px;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    gap: 8px;
    text-decoration: none;
    transition: color 0.3s;
  }

  .nav-links li a:hover {
    color: #64ffda;
  }

  .nav-links li a.active {
    flex-direction: column; /* Stack icon and text vertically */
    justify-content: center;
    align-items: center;
    color: #64ffda;
    font-weight: 600;
    gap: 6px;
    background-color: rgba(100, 255, 218, 0.08);
    border-radius: 8px;
    transition: all 0.3s ease;
  }
  

  .nav-links li a i {
    font-size: 20px;
    color: #64ffda;
  }

  .close-btn {
    display: block;
    position: absolute;
    top: 20px;
    right: 25px;
    background: transparent;
    border: none;
    font-size: 2.5rem;
    color: #64ffda;
    cursor: pointer;
    z-index: 1002;
  }

  @keyframes navFade {
    to {
      opacity: 1;
      transform: translateY(0);
    }
  }

  @keyframes fadeIn {
    from {
      opacity: 0;
    }

    to {
      opacity: 1;
    }
  }

  @keyframes slideUp {
    to {
      opacity: 1;
      transform: translateY(0);
    }
  }
}

@media (max-width: 576px) {
  .logo img {
    max-width: 110px;
  }

  .pricing-btn {
    padding: 8px 16px;
    font-size: 14px;
  }
}

/* ========= FOOTER ========= */
.cyber-footer {
  position: relative;
  padding: 80px 10%;
  background: radial-gradient(ellipse at top, #020c1b, #0a192f);
  overflow: hidden;
  border-top: 1px solid rgba(100, 255, 218, 0.2);
  box-shadow: 0 -20px 50px rgba(100, 255, 218, 0.1);
}

/* Particle Background */
#footerParticles {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
}

/* Holographic Grid Overlay */
.hologrid-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(rgba(100, 255, 218, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(100, 255, 218, 0.03) 1px, transparent 1px);
  background-size: 30px 30px;
  opacity: 0.3;
  pointer-events: none;
}

/* Floating Cyber Orbs */
.cyber-orbs {
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  pointer-events: none;
}

.orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(30px);
  animation: floatOrb 15s infinite linear;
}

.orb-1 {
  width: 200px;
  height: 200px;
  background: radial-gradient(
    circle,
    rgba(100, 255, 218, 0.3),
    transparent 70%
  );
  top: 20%;
  left: 10%;
  animation-delay: 0s;
}

.orb-2 {
  width: 150px;
  height: 150px;
  background: radial-gradient(
    circle,
    rgba(168, 255, 120, 0.3),
    transparent 70%
  );
  top: 60%;
  left: 70%;
  animation-delay: 3s;
}

.orb-3 {
  width: 100px;
  height: 100px;
  background: radial-gradient(
    circle,
    rgba(255, 100, 218, 0.3),
    transparent 70%
  );
  top: 30%;
  left: 50%;
  animation-delay: 6s;
}

@keyframes floatOrb {
  0% {
    transform: translate(0, 0) rotate(0deg);
  }
  25% {
    transform: translate(50px, 50px) rotate(90deg);
  }
  50% {
    transform: translate(100px, 0) rotate(180deg);
  }
  75% {
    transform: translate(50px, -50px) rotate(270deg);
  }
  100% {
    transform: translate(0, 0) rotate(360deg);
  }
}

/* 3D Neon Logo */
.footer-brand {
  text-align: center;
  margin-bottom: 40px;
  position: relative;
  z-index: 2;
}

.brand-name {
  font-size: 3.5rem;
  font-weight: 800;
  letter-spacing: 4px;
  color: #64ffda;
  text-transform: uppercase;
  text-shadow: 0 0 5px #64ffda, 0 0 10px #64ffda,
    0 0 20px rgba(100, 255, 218, 0.8), 0 0 40px rgba(100, 255, 218, 0.5);
  position: relative;
  animation: neonFlow 6s infinite alternate ease-in-out;
}
/* Smooth Neon Flow Animation */
@keyframes neonFlow {
  0% {
    text-shadow: 0 0 5px #64ffda, 0 0 10px #64ffda,
      0 0 15px rgba(100, 255, 218, 0.8);
  }
  100% {
    text-shadow: 0 0 10px #64ffda, 0 0 20px rgba(100, 255, 218, 1),
      0 0 30px rgba(100, 255, 218, 0.6);
  }
}

/* Subtle Glitch Flicker (Refined, Not Chaotic) */
.brand-name::before {
  content: "CODYMAKE";
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  color: rgba(100, 255, 218, 0.5);
  text-shadow: 0px 0px 5px rgba(100, 255, 218, 0.8),
    0px 0px 10px rgba(100, 255, 218, 0.6);
  clip-path: polygon(0 0, 100% 0, 100% 50%, 0 50%);
  animation: glitchFlicker 3s infinite alternate ease-in-out;
}

/* Glitch Effect */
.glitch {
  position: relative;
}

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

.glitch::before {
  color: #a8ff78;
  z-index: -1;
  animation: glitch-effect 3s infinite;
}

.glitch::after {
  color: #ff64da;
  z-index: -2;
  animation: glitch-effect 2s reverse infinite;
}

@keyframes glitch-effect {
  0% {
    transform: translate(0);
  }
  20% {
    transform: translate(-5px, 5px);
  }
  40% {
    transform: translate(-5px, -5px);
  }
  60% {
    transform: translate(5px, 5px);
  }
  80% {
    transform: translate(5px, -5px);
  }
  100% {
    transform: translate(0);
  }
}
/* Refined Glitch Effect */
@keyframes glitchFlicker {
  0% {
    transform: translate(0);
    opacity: 0.8;
  }
  20% {
    transform: translate(-2px, 2px);
  }
  40% {
    transform: translate(2px, -2px);
  }
  60% {
    transform: translate(-1px, 1px);
    opacity: 0.7;
  }
  80% {
    transform: translate(1px, -1px);
  }
  100% {
    transform: translate(0);
    opacity: 0.8;
  }
}
/* Typing Tagline */
.tagline {
  font-size: 1.3rem;
  color: #a8b2d1;
  font-family: "Courier New", monospace;
  text-transform: uppercase;
  letter-spacing: 2px;
}

.typing-effect {
  display: inline-block;
  border-right: 2px solid #64ffda;
  white-space: nowrap;
  overflow: hidden;
  width: 0;
  animation: typing 4s steps(40) infinite, blink-caret 0.75s step-end infinite;
}

@keyframes typing {
  from {
    width: 0;
  }
  to {
    width: 100%;
  }
}

@keyframes blink-caret {
  from,
  to {
    border-color: transparent;
  }
  50% {
    border-color: #64ffda;
  }
}

/* Holographic Navigation */
.cyber-nav {
  display: flex;
  justify-content: center;
  gap: 30px;
  margin-bottom: 40px;
  position: relative;
  z-index: 2;
}

.nav-link {
  position: relative;
  color: #64ffda;
  text-decoration: none;
  font-size: 1.1rem;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  padding: 10px 15px;
  overflow: hidden;
}

.link-text {
  position: relative;
  z-index: 2;
  transition: all 0.3s ease;
}

.link-hover {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(100, 255, 218, 0.2),
    transparent
  );
  transform: translateX(-100%);
  transition: transform 0.6s ease;
  z-index: 1;
}

.nav-link:hover .link-text {
  text-shadow: 0 0 10px #64ffda;
}

.nav-link:hover .link-hover {
  transform: translateX(100%);
}

/* Interactive Social Icons (Holo-Projected) */
.cyber-social {
  display: flex;
  justify-content: center;
  gap: 25px;
  margin-bottom: 40px;
  position: relative;
  z-index: 2;
}

.social-icon {
  width: 60px;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  color: #64ffda;
  font-size: 1.5rem;
  position: relative;
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  text-decoration: none !important;
}

.social-icon i {
  position: relative;
  z-index: 2;
}

.icon-ring {
  position: absolute;
  width: 100%;
  height: 100%;
  border: 2px solid #64ffda;
  border-radius: 50%;
  animation: pulseRing 2s infinite;
  opacity: 0;
}

.social-icon:hover {
  transform: translateY(-5px) scale(1.2);
  color: #0a192f;
  background: #64ffda;
  box-shadow: 0 0 30px #64ffda;
}

.social-icon:hover .icon-ring {
  animation: none;
  opacity: 1;
  border-color: rgba(100, 255, 218, 0.5);
}

@keyframes pulseRing {
  0% {
    transform: scale(0.8);
    opacity: 0.5;
  }
  100% {
    transform: scale(1.5);
    opacity: 0;
  }
}

/* AI-Powered Copyright */
.cyber-copyright {
  text-align: center;
  position: relative;
  z-index: 2;
}

.binary-effect {
  font-family: "Courier New", monospace;
  color: rgba(168, 255, 120, 0.3);
  font-size: 0.9rem;
  margin-bottom: 10px;
  letter-spacing: 2px;
}

.cyber-copyright p {
  color: #a8b2d1;
  font-size: 0.9rem;
}

.year {
  color: #64ffda;
  font-weight: bold;
}

/* Scanning Laser Effect */
.laser-scan {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 1px;
  background: linear-gradient(90deg, transparent, #64ffda, transparent);
  box-shadow: 0 0 10px #64ffda;
  animation: scan 6s linear infinite;
  opacity: 0.7;
  z-index: 1;
}

@keyframes scan {
  0% {
    top: 0;
    opacity: 0;
  }
  10% {
    opacity: 1;
  }
  90% {
    opacity: 1;
  }
  100% {
    top: 100%;
    opacity: 0;
  }
}

/* Adjust orbs for small screens */
@media (max-width: 768px) {
  .orb-1 {
    width: 120px;
    height: 120px;
    top: 30%;
    left: 5%;
  }

  .orb-2 {
    width: 100px;
    height: 100px;
    top: 70%;
    left: 60%;
  }

  .orb-3 {
    width: 80px;
    height: 80px;
    top: 40%;
    left: 45%;
  }
}

/* Typography for mobile */
@media (max-width: 600px) {
  .brand-name {
    font-size: 2rem;
    letter-spacing: 2px;
  }

  .tagline {
    font-size: 1rem;
    letter-spacing: 1px;
  }

  .nav-link {
    font-size: 0.95rem;
  }

  .cyber-nav {
    flex-direction: column;
    align-items: center;
    gap: 15px;
  }

  .cyber-social {
    justify-content: center;
  }

  .social-icon {
    width: 45px;
    height: 45px;
    font-size: 1rem;
  }
}

/* Responsive tweaks for very large screens */
@media (min-width: 1400px) {
  .brand-name {
    font-size: 4rem;
  }

  .tagline {
    font-size: 1.4rem;
  }

  .nav-link {
    font-size: 1.2rem;
  }

  .social-icon {
    width: 70px;
    height: 70px;
    font-size: 1.8rem;
  }
}

