footer {
  width: 100%;
  background: linear-gradient(to top, #000 67%, rgba(0,0,0,0) 100%);
  color: #fff;
  text-align: center;
  padding: 120px 0 48px 0;
  font-size: 1.2rem;
  letter-spacing: 1px;
  position: relative;
  z-index: 2;
}
.card2 {
  min-width: 350px;
  max-width: 400px;
  flex: 0 0 auto;
  margin: 0;
  transition: transform 0.5s cubic-bezier(.77,0,.18,1), opacity 0.5s cubic-bezier(.77,0,.18,1);
  will-change: transform, opacity;
}
.slide-left {
  animation: slideLeft 0.5s;
}
.slide-right {
  animation: slideRight 0.5s;
}
@keyframes slideLeft {
  from { transform: translateX(60px); opacity: 0.2; }
  to   { transform: translateX(0); opacity: 1; }
}
@keyframes slideRight {
  from { transform: translateX(-60px); opacity: 0.2; }
  to   { transform: translateX(0); opacity: 1; }
}
.arrow-bubble-row {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 18px;
  margin-top: 10px;
  margin-bottom: 30px;
  position: relative;
}
.arrow-key-icon {
  width: 60px;
  height: 40px;
}

.arrow-key:hover {
  background: linear-gradient(90deg, #0066ff, #00ffff, #0066ff);
}
.card-bubbles {
  display: flex;
  align-items: center;
  gap: 10px;
}
.card-bubble {
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: #222;
  border: 2px solid #00ffff;
  opacity: 0.5;
  transition: opacity 0.2s, background 0.2s;
}
.card-bubble.active {
  background: #00ffff;
  opacity: 1;
  border-color: #0066ff;
}

.card-container2-scroll {
  display: flex;
  flex-direction: row;
  gap: 30px;
  overflow-x: auto;
  padding: 30px 0 30px 0;
  width: 100%;
  min-height: 400px;
}

.card2 {
  min-width: 350px;
  max-width: 400px;
  flex: 0 0 auto;
  margin: 0;
}

.arrow-btn {
  display: block;
  font-size: 2.2rem;
  font-weight: bold;
  color: #fff;
  background: rgba(0, 0, 0, 0);
  border: none;
  border-radius: 50%;
  cursor: pointer;
  width: 60px;
  height: 60px;
  text-align: center;
  line-height: 36px;
}
.card-divider {
  width: 95%;
  border: none;
  border-top: 1.5px solid #ffffff;
  margin-top: 20px;
  margin-bottom: 40px;
}
/* === GLOBAL RESET === */
html, body {
  margin: 0;
  padding: 0;
  width: 100%;
  height: 100%;
  overflow-x: hidden;
  overflow-y: auto;
  background: #111;
  font-family: 'Ramabhadra', sans-serif;
  color: white;
  text-align: center;
  position: relative;
  z-index: 0;
}

/* === BACKGROUND CANVAS === */
canvas {
  position: fixed !important;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
  display: block;
}

/* === MAIN CONTENT WRAPPER === */
#content {
  position: relative;
  z-index: 2;
  padding-top: 20vh;
}

/* === TITLE SECTION === */
.title-wrapper {
  position: relative;
  display: inline-block;
  padding: 20px 40px;
  margin-top: 220px;
}

.main-title {
  font-size: 6.5rem;
  font-weight: bold;
  margin: -5px 5px;
  color: white;
  animation: glowPulse 7s ease-in-out infinite;
}

@keyframes glowPulse {
  0%, 100% {
    color: white;
    text-shadow: none;
  }
  50% {
    text-shadow:
      0 0 10px #ffffffaa,
      0 0 20px #ffffffaa,
      0 0 30px #ffffffaa;
  }
}

.subtitle {
  font-size: 1.5rem;
  color: #ffffff;
  margin: 20px 0 400px;
}

/* === CORNER BRACKETS === */
.corner {
  position: absolute;
  width: 30px;
  height: 30px;
  border: 5px solid white;
}

.top-left {
  top: 0;
  left: 0;
  border-right: none;
  border-bottom: none;
}

.bottom-right {
  bottom: 0;
  right: 0;
  border-left: none;
  border-top: none;
}

/* === CARD SECTION === */
.card-container {
  position: relative;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 30px;
  padding: 400px 20px;
  width: 100%;
  margin: 0 auto;
  box-sizing: border-box;
  background: linear-gradient(
    to bottom,
    rgba(0, 0, 0, 0) 0%,
    rgba(0, 0, 0, 1) 20%,
    rgba(0, 0, 0, 1) 80%,
    rgba(0, 0, 0, 0) 100%
  );
  z-index: 1;
}

/* Individual card */
.card {
  position: relative;
  flex: 1 1 300px;
  min-width: 250px;
  max-width: 600px;
  height: 800px;
  padding: 40px 25px;
  border-radius: 15px;
  background-clip: padding-box;
  border: 2px solid transparent;
  box-shadow: 0 0 10px #00ffff55;
  text-align: left;
  box-sizing: border-box;
  margin: 0;
}

/* Gradient border using ::before */
.card::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 15px;
  padding: 2px;
  background: linear-gradient(270deg, #00ffff, #0066ff, #00ffff);
  mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  mask-composite: exclude;
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: destination-out;
  pointer-events: none;
  z-index: 2;
}

/* Decorative blue corner triangles */
.card-corner {
  position: absolute;
  width: 40px;
  height: 15px;
  pointer-events: none;
  background: linear-gradient(135deg, #00ffff, #0066ff, #00ffff);
}

.top-left-blue {
  top: 0;
  left: 0;
  margin: 15px;
  clip-path: polygon(0 0, 100% 0, 0 100%);
}

.bottom-right-blue {
  bottom: 0;
  right: 0;
  margin: 15px;
  background: linear-gradient(315deg, #00ffff, #0066ff, #00ffff);
  clip-path: polygon(100% 100%, 0 100%, 100% 0);
}

/* === CARD CONTENT === */
.card h2, .card2 h2 {
  font-size: 4rem;
  color: white;
  margin-top: 0;
}

.card p, .card2 p {
  font-size: 1.2rem;
  color: #ddd;
}


/* === CARD SECTION === */
.card-container2-wrapper {
   position: relative;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 30px;
  padding: 400px 20px;
  width: 100%;
  margin-top: 100px;
  box-sizing: border-box;
  background: linear-gradient(
    to bottom,
    rgba(0, 0, 0, 0) 0%,
    rgba(0, 0, 0, 1) 20%,
    rgba(0, 0, 0, 1) 80%,
    rgba(0, 0, 0, 0) 100%
  );
  z-index: 1;
}

/* Individual card */
.card2 {
  position: relative;
  flex: 1 1 300px;
  min-width: 250px;
  max-width: 600px;
  height: 800px;
  padding: 40px 25px;
  border-radius: 15px;
  background-clip: padding-box;
  border: 2px solid transparent;
  box-shadow: 0 0 10px #00ffff55;
  text-align: left;
  box-sizing: border-box;
  margin: 0;
}

/* Gradient border using ::before */
.card2::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 15px;
  padding: 2px;
  background: linear-gradient(270deg, #00ffff, #0066ff, #00ffff);
  mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  mask-composite: exclude;
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: destination-out;
  pointer-events: none;
  z-index: 2;
}


h1 {
  color: #ffffff;
}

.upcoming-title {
  position: absolute;
  left: 40px;
  top: 320px;
  font-size: 3.5rem;
  font-weight: bold;
  color: #ffffff;
  margin: 0;
  pointer-events: none;
  /* Overlap effect */
  mix-blend-mode: lighten;
}



.quantum-circuit-icon {
  margin-top: 450px;
  width: 60px;
  height: 30px;
  display: inline-block;
}

.quantum-circuit-icon svg {
  width: 250%;
  height: 250%;
}

.gate {
  animation: moveGate 2s linear infinite;
}

.gate:nth-child(4) { animation-delay: 0s; }
.gate:nth-child(5) { animation-delay: 0.3s; }
.gate:nth-child(6) { animation-delay: 0.6s; }

@keyframes moveGate {
  from {
    cx: 0;
  }
  to {
    cx: 120;
  }
}


.quantum-shield-icon {
  margin-top: 450px;
  width: 50px;
  height: 60px;
  display: inline-block;
}

.quantum-shield-icon svg {
  width: 250%;
  height: 250%;
}

.shield-core {
  animation: glowCore 2s ease-in-out infinite;
}

.pulse-ring {
  animation: pulseRing 2s ease-in-out infinite;
  opacity: 0.5;
}

@keyframes glowCore {
  0%, 100% {
    r: 4;
    opacity: 1;
  }
  50% {
    r: 6;
    opacity: 0.6;
  }
}

@keyframes pulseRing {
  0% {
    r: 8;
    stroke-opacity: 0.5;
  }
  50% {
    r: 14;
    stroke-opacity: 0.1;
  }
  100% {
    r: 8;
    stroke-opacity: 0.5;
  }
}



.evolution-icon {
  margin-top: 350px;
  width: 250px;
  height: 250px;
  display: inline-block;
}

.phasing-arrow {
  animation: arrowPhase 0.4s ease-in-out infinite;
  opacity: 0.8;
}

@keyframes arrowPhase {
  0% {
    transform: translateY(20px);
    opacity: 0;
  }
  50% {
    opacity: 1;
  }
  100% {
    transform: translateY(-15px);
    opacity: 0;
  }
}

