.glass-card {
  background: rgba(255, 255, 255, 0.7);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(0, 0, 0, 0.1);
}

.glass-card-dark {
  background: rgba(18, 18, 18, 0.7);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.gradient-text {
  background-clip: text;
  -webkit-background-clip: text;
  color: transparent;
}

.typewriter {
  overflow: hidden;
  white-space: nowrap;
  margin: 0 auto;
  letter-spacing: .15em;
  animation: 
    typing 3.5s steps(40, end),
    blink-caret .75s step-end infinite;
}

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

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

.accordion-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease-out;
}

.accordion-item.active .accordion-content {
  max-height: 1000px;
}

.roadmap-stage {
  transition: all 0.3s ease;
}

.roadmap-stage:hover {
  transform: translateY(-5px);
}

.progress-bar {
  height: 6px;
  border-radius: 3px;
  overflow: hidden;
}

.progress-fill {
  height: 100%;
  transition: width 0.5s ease;
}

.scroll-indicator {
  animation: bounce 2s infinite;
}

@keyframes bounce {
  0%, 20%, 50%, 80%, 100% {
    transform: translateY(0);
  }
  40% {
    transform: translateY(-20px);
  }
  60% {
    transform: translateY(-10px);
  }
}

/* Roadmap styles */
.roadmap-container {
  height: 280px;
  position: relative;
  overflow: visible;
}

.roadmap-line {
  position: absolute;
  top: 50%;
  left: 0;
  right: 0;
  height: 2px;
  background-color: #e9ecef;
}

.stage {
  position: absolute;
  z-index: 2;
  cursor: pointer;
  transition: all 0.3s ease;
  width: 120px;
  text-align: center;
  filter: drop-shadow(0 0 5px currentColor);
}

.stage:hover {
  transform: scale(1.15);
  filter: drop-shadow(0 0 10px currentColor);
}

.stage-icon {
  width: 60px;
  height: 60px;
  margin: 0 auto;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  background-color: #ffffff;
  border: 2px solid #ced4da;
  transition: all 0.3s ease;
}

.stage-title {
  margin-top: 10px;
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 2px;
  font-weight: bold;
}

.stage-desc {
  font-size: 11px;
  margin-top: 5px;
  color: #6c757d;
  line-height: 1.3;
}

.stage-unstarted {
  color: #adb5bd;
  border-color: #ced4da;
}

.stage-in-progress {
  color: #f59e0b;
  animation: pulse-orange 2s infinite;
}

.stage-completed {
  color: #f59e0b;
  border-color: #f59e0b;
  animation: pulse-orange 3s infinite;
}

.stage-critical {
  color: #f97316;
  animation: pulse-red 1.5s infinite;
}

.not-animated {
  animation: none !important;
}

@keyframes pulse-orange {
  0% {
    box-shadow: 0 0 5px rgba(245, 158, 11, 0.5);
  }
  50% {
    box-shadow: 0 0 20px rgba(245, 158, 11, 0.8);
  }
  100% {
    box-shadow: 0 0 5px rgba(245, 158, 11, 0.5);
  }
}

@keyframes pulse-red {
  0% {
    box-shadow: 0 0 5px rgba(249, 115, 22, 0.5);
  }
  50% {
    box-shadow: 0 0 20px rgba(249, 115, 22, 0.8);
  }
  100% {
    box-shadow: 0 0 5px rgba(249, 115, 22, 0.5);
  }
}

.modal {
  position: fixed;
  background-color: #ffffff;
  border-radius: 5px;
  padding: 20px;
  width: 350px;
  z-index: 100;
  display: none;
  animation: fadeIn 0.3s ease;
  box-shadow: 0 0 30px rgba(245, 158, 11, 0.3);
  border-top: 1px solid #f59e0b;
  border-bottom: 1px solid #f59e0b;
}

.modal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 15px;
  padding-bottom: 10px;
  border-bottom: 1px solid #f59e0b;
}

.modal-title {
  font-size: 18px;
  color: #f59e0b;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.modal-subtitle {
  font-size: 12px;
  color: #f59e0b;
  margin-bottom: 10px;
}

.modal-content {
  font-size: 13px;
  line-height: 1.6;
  color: #495057;
}

.modal-content ul {
  margin: 10px 0;
  padding-left: 20px;
}

.modal-content li {
  margin-bottom: 8px;
  position: relative;
}

.modal-content li:before {
  content: ">";
  position: absolute;
  left: -15px;
  color: #f59e0b;
}

.modal-close {
  background: none;
  border: none;
  color: #f59e0b;
  cursor: pointer;
  font-size: 16px;
  transition: all 0.3s ease;
}

.modal-close:hover {
  transform: rotate(90deg);
  color: #f97316;
}

.progress-bar {
  height: 5px;
  background-color: #e9ecef;
  border-radius: 3px;
  margin: 10px 0;
  overflow: hidden;
}

.progress-fill {
  height: 100%;
  background: linear-gradient(90deg, #f59e0b, #f97316);
  border-radius: 3px;
  transition: width 0.5s ease;
}

.status-indicator {
  display: inline-block;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  margin-right: 5px;
}

.status-completed {
  background-color: #f59e0b;
  box-shadow: 0 0 5px #f59e0b;
}

.status-in-progress {
  background-color: #f59e0b;
  box-shadow: 0 0 5px #f59e0b;
  animation: pulse-orange 2s infinite;
}

.status-unstarted {
  background-color: #adb5bd;
}

.status-critical {
  background-color: #f97316;
  box-shadow: 0 0 5px #f97316;
  animation: pulse-red 1.5s infinite;
}

@keyframes blink {
  0%,
  100% {
    opacity: 1;
  }
  50% {
    opacity: 0;
  }
}

/* Dark mode styles */
.dark .glass-card {
  background: rgba(18, 18, 18, 0.7);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.dark .roadmap-line {
  background-color: #333;
}

.dark .stage-icon {
  background-color: #121212;
  border-color: #333;
}

.dark .stage-desc {
  color: #aaa;
}

.dark .stage-unstarted {
  color: #666;
}

.dark .modal {
  background-color: #121212;
}

.dark .modal-content {
  color: #ccc;
}

.dark .progress-bar {
  background-color: #333;
}


/* Theme toggle button */
.theme-toggle {
  position: fixed;
  bottom: 20px;
  right: 20px;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 1000;
  background-color: #f59e0b;
  color: white;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
}

.theme-toggle:hover {
  transform: scale(1.1);
}

.theme-toggle i {
  font-size: 20px;
}

.beta-banner {
  background: linear-gradient(135deg, #ca8a04 0%, #eab308 100%);
}

/* Mobile roadmap styles */
@media (max-width: 768px) {
  h2{
    line-height: 60px !important;
  }
  .roadmap-container {
    height: 600px;
  }

  .roadmap-line {
    display: none;
  }

  .stage {
    position: static;
    width: 100%;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    text-align: left;
    filter: none;
  }

  .stage:hover{
    transform: scale(1);
    filter: none;
  }

  .stage-icon {
    width: 50px;
    height: 50px;
    margin: 0 15px 0 0;
    flex-shrink: 0;
  }

  .stage-title {
    margin-top: 0;
    font-size: 16px;
  }

  .stage-desc {
    font-size: 13px;
  }

  .roadmap-mobile-split {
    display: flex;
    flex-direction: column;
  }

  .roadmap-mobile-split .stage:nth-child(n+4) {
    order: 1;
  }

  .modal {
    width: 97%; /*280*/
  }
}
