/* Animated Section WPBakery Addon Styles */

* {
  box-sizing: border-box;
}

/* Section Container */
.accelerate-section {
  position: relative;
  padding: 128px 0;
  overflow: hidden;
  /* Light mode background */
  background: linear-gradient(135deg, #eff6ff 0%, rgba(238, 242, 255, 0.5) 50%, #faf5ff 100%);
  transition: background 0.3s ease, color 0.3s ease;
}

.accelerate-section p {
  padding-bottom: 0 !important;
}

/* Dark mode - Manual toggle */
/* Solid dark background - no mask to avoid gray bar */
html.theme-dark .accelerate-section {
  background: #0a0f1e !important;
}

/* Background Gradients/Blobs */
.bg-blobs {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
  z-index: 1;
}

.blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(120px);
}

.blob-1 {
  top: 0;
  left: 25%;
  width: 500px;
  height: 500px;
  background: rgba(147, 197, 253, 0.30);
  mix-blend-mode: multiply;
  transition: background 0.3s ease, mix-blend-mode 0.3s ease;
}

/* Dark mode - Manual toggle */
html.theme-dark .blob-1 {
  background: rgba(37, 99, 235, 0.10) !important;
  mix-blend-mode: normal !important;
}

.blob-2 {
  bottom: 0;
  right: 25%;
  width: 500px;
  height: 500px;
  background: rgba(165, 180, 252, 0.30);
  mix-blend-mode: multiply;
  transition: background 0.3s ease, mix-blend-mode 0.3s ease;
}

/* Dark mode - Manual toggle */
html.theme-dark .blob-2 {
  background: rgba(79, 70, 229, 0.10) !important;
  mix-blend-mode: normal !important;
}

.blob-3 {
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 800px;
  height: 800px;
  background: rgba(196, 181, 253, 0.20);
  filter: blur(140px);
  transition: background 0.3s ease;
}

/* Dark mode - Manual toggle */
html.theme-dark .blob-3 {
  background: rgba(88, 28, 135, 0.10) !important;
}

/* Decorative Elements Container */
.decorative-elements {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
  z-index: 2;
  mask-image: linear-gradient(to bottom, transparent, black 20%);
  -webkit-mask-image: linear-gradient(to bottom, transparent, black 20%);
}

/* Neural Network */
.neural-network {
  position: absolute;
  top: 20%;
  right: 10%;
  width: 256px;
  height: 256px;
  animation: nn-float 5s ease-in-out infinite;
}

@keyframes nn-float {
  0%, 100% {
    transform: translateY(-10px);
    opacity: 0.3;
  }
  50% {
    transform: translateY(10px);
    opacity: 0.6;
  }
}

/* Central Node */
.central-node {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: linear-gradient(135deg, rgba(96, 165, 250, 0.40), rgba(168, 85, 247, 0.40));
  border: 1px solid rgba(255, 255, 255, 0.30);
  box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 8px 10px -6px rgba(0, 0, 0, 0.1);
  backdrop-filter: blur(4px);
  animation: pulse-node 3s ease-in-out infinite;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Dark mode - Manual toggle */
html.theme-dark .central-node {
  background: linear-gradient(135deg, rgba(59, 130, 246, 0.20), rgba(168, 85, 247, 0.20)) !important;
  border: 1px solid rgba(255, 255, 255, 0.10) !important;
}

@keyframes pulse-node {
  0%, 100% {
    transform: translate(-50%, -50%) scale(1);
  }
  50% {
    transform: translate(-50%, -50%) scale(1.1);
  }
}

.central-node svg {
  width: 32px;
  height: 32px;
  /* Light: text-blue-600/60 */
  color: rgba(37, 99, 235, 0.60);
  transition: color 0.3s ease;
}

/* Dark mode - Manual toggle */
/* Dark: dark:text-blue-400/60 */
html.theme-dark .central-node svg {
  color: rgba(96, 165, 250, 0.60) !important;
}

/* Orbit Nodes */
.orbit-node {
  position: absolute;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  /* Light: from-indigo-400/30 to-blue-500/30 border-white/20 */
  background: linear-gradient(135deg, rgba(129, 140, 248, 0.30), rgba(59, 130, 246, 0.30));
  border: 1px solid rgba(255, 255, 255, 0.20);
  backdrop-filter: blur(4px);
  animation: orbit-rotate 20s linear infinite;
  transition: background 0.3s ease, border-color 0.3s ease;
}

/* Dark mode - Manual toggle */
/* Dark: dark:from-indigo-500/20 dark:to-blue-600/20 dark:border-white/10 */
html.theme-dark .orbit-node {
  background: linear-gradient(135deg, rgba(99, 102, 241, 0.20), rgba(37, 99, 235, 0.20)) !important;
  border: 1px solid rgba(255, 255, 255, 0.10) !important;
}

.orbit-node:nth-child(1) { animation-delay: 0s; }
.orbit-node:nth-child(2) { animation-delay: -3.33s; }
.orbit-node:nth-child(3) { animation-delay: -6.66s; }
.orbit-node:nth-child(4) { animation-delay: -10s; }
.orbit-node:nth-child(5) { animation-delay: -13.33s; }
.orbit-node:nth-child(6) { animation-delay: -16.66s; }

@keyframes orbit-rotate {
  from {
    transform: rotate(0deg) translateX(100px) rotate(0deg);
  }
  to {
    transform: rotate(360deg) translateX(100px) rotate(-360deg);
  }
}

/* Connecting Lines */
.neural-lines {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

.neural-line {
  stroke: rgba(99, 102, 241, 0.2);
  stroke-width: 2;
}

.neural-line:nth-child(1) { animation: line-pulse 2s ease-in-out infinite 0s; }
.neural-line:nth-child(2) { animation: line-pulse 2s ease-in-out infinite 0.3s; }
.neural-line:nth-child(3) { animation: line-pulse 2s ease-in-out infinite 0.6s; }
.neural-line:nth-child(4) { animation: line-pulse 2s ease-in-out infinite 0.9s; }
.neural-line:nth-child(5) { animation: line-pulse 2s ease-in-out infinite 1.2s; }
.neural-line:nth-child(6) { animation: line-pulse 2s ease-in-out infinite 1.5s; }

@keyframes line-pulse {
  0%, 100% { opacity: 0.2; }
  50% { opacity: 0.5; }
}

/* CPU Icon */
.cpu-icon {
  position: absolute;
  top: 15%;
  right: 25%;
  width: 80px;
  height: 80px;
  border-radius: 12px;
  /* Light: from-purple-400/20 to-pink-500/20 border-white/30 */
  background: linear-gradient(135deg, rgba(192, 132, 252, 0.20), rgba(236, 72, 153, 0.20));
  border: 1px solid rgba(255, 255, 255, 0.30);
  backdrop-filter: blur(12px);
  display: flex;
  align-items: center;
  justify-content: center;
  animation: float-rotate 6s ease-in-out infinite;
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -4px rgba(0, 0, 0, 0.1);
  transition: background 0.3s ease, border-color 0.3s ease;
}

/* Dark mode - Manual toggle */
/* Dark: dark:from-purple-500/10 dark:to-pink-600/10 dark:border-white/10 */
html.theme-dark .cpu-icon {
  background: linear-gradient(135deg, rgba(168, 85, 247, 0.10), rgba(219, 39, 119, 0.10)) !important;
  border: 1px solid rgba(255, 255, 255, 0.10) !important;
}

@keyframes float-rotate {
  0%, 100% {
    transform: translateY(0) rotate(0deg);
  }
  50% {
    transform: translateY(-15px) rotate(5deg);
  }
}

.cpu-icon svg {
  width: 40px;
  height: 40px;
  /* Light: text-purple-500/50 */
  color: rgba(168, 85, 247, 0.50);
  transition: color 0.3s ease;
}

/* Dark mode - Manual toggle */
/* Dark: dark:text-purple-400/50 */
html.theme-dark .cpu-icon svg {
  color: rgba(192, 132, 252, 0.50) !important;
}

/* Sparkles */
.sparkle {
  position: absolute;
  width: 16px;
  height: 16px;
  animation: sparkle-float 3s ease-out infinite;
}

.sparkle svg {
  width: 16px;
  height: 16px;
  /* Light: text-indigo-400/40 */
  color: rgba(129, 140, 248, 0.40);
  transition: color 0.3s ease;
}

/* Dark mode - Manual toggle */
/* Dark: dark:text-indigo-300/40 */
html.theme-dark .sparkle svg {
  color: rgba(165, 180, 252, 0.40) !important;
}

@keyframes sparkle-float {
  0% {
    opacity: 0;
    transform: translateY(0) scale(0.5);
  }
  50% {
    opacity: 1;
    transform: translateY(-30px) scale(1);
  }
  100% {
    opacity: 0;
    transform: translateY(-60px) scale(0.5);
  }
}

/* Network Grid */
.network-grid {
  position: absolute;
  bottom: 10%;
  right: 5%;
  width: 128px;
  height: 128px;
  animation: grid-pulse 4s ease-in-out infinite;
}

.network-grid svg {
  width: 128px;
  height: 128px;
  /* Light: text-blue-500/20 */
  color: rgba(59, 130, 246, 0.20);
  transition: color 0.3s ease;
}

/* Dark mode - Manual toggle */
/* Dark: dark:text-blue-400/10 */
html.theme-dark .network-grid svg {
  color: rgba(96, 165, 250, 0.10) !important;
}

@keyframes grid-pulse {
  0%, 100% { opacity: 0.2; }
  50% { opacity: 0.4; }
}

/* Data Flow Lines */
.data-flow {
  position: absolute;
  top: 25%;
  left: 8%;
  width: 200px;
  height: 300px;
  opacity: 0.30;
}

.flow-line {
  stroke-dasharray: 5, 5;
  stroke-width: 2;
  fill: none;
  stroke: url(#gradient);
  animation: flow-dash 2s linear infinite;
}

.flow-line:nth-child(2) { animation-delay: 0s; }
.flow-line:nth-child(3) { animation-delay: 0.2s; }
.flow-line:nth-child(4) { animation-delay: 0.4s; }
.flow-line:nth-child(5) { animation-delay: 0.6s; }
.flow-line:nth-child(6) { animation-delay: 0.8s; }

@keyframes flow-dash {
  from { stroke-dashoffset: 0; }
  to { stroke-dashoffset: -10; }
}

/* Floating AI Chips */
.ai-chip {
  position: absolute;
  width: 48px;
  height: 48px;
  border-radius: 8px;
  /* Light: from-blue-300/20 to-indigo-400/20 border-white/20 */
  background: linear-gradient(135deg, rgba(147, 197, 253, 0.20), rgba(129, 140, 248, 0.20));
  border: 1px solid rgba(255, 255, 255, 0.20);
  backdrop-filter: blur(4px);
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -2px rgba(0, 0, 0, 0.1);
  animation: chip-float 8s ease-in-out infinite;
  transition: background 0.3s ease, border-color 0.3s ease;
}

/* Dark mode - Manual toggle */
/* Dark: dark:from-blue-500/10 dark:to-indigo-500/10 dark:border-white/10 */
html.theme-dark .ai-chip {
  background: linear-gradient(135deg, rgba(59, 130, 246, 0.10), rgba(99, 102, 241, 0.10)) !important;
  border: 1px solid rgba(255, 255, 255, 0.10) !important;
}

@keyframes chip-float {
  0%, 100% {
    transform: translate(0, -20px) rotate(0deg);
  }
  25% {
    transform: translate(-10px, 0) rotate(5deg);
  }
  50% {
    transform: translate(10px, 20px) rotate(10deg);
  }
  75% {
    transform: translate(-10px, 0) rotate(5deg);
  }
}

/* Floating Sphere */
.floating-sphere {
  position: absolute;
  top: 10%;
  left: 5%;
  width: 128px;
  height: 128px;
  border-radius: 50%;
  /* Light: from-white/40 to-blue-300/30 */
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.40), rgba(147, 197, 253, 0.30));
  backdrop-filter: blur(12px);
  box-shadow: inset 0 2px 4px 0 rgba(0, 0, 0, 0.05);
  animation: float-sphere 8s ease-in-out infinite 1s;
  opacity: 0.60;
  z-index: 2;
  transition: background 0.3s ease;
}

/* Dark mode - Manual toggle */
/* Dark: dark:from-white/10 dark:to-blue-500/10 */
html.theme-dark .floating-sphere {
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.10), rgba(59, 130, 246, 0.10)) !important;
}

@keyframes float-sphere {
  0%, 100% { transform: translateY(10px); }
  50% { transform: translateY(-10px); }
}

/* Content Container */
.content-container {
  position: relative;
  z-index: 10;
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 24px;
  text-align: center;
  animation: fade-up 0.6s ease-out;
}

@keyframes fade-up {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Heading */
.main-heading {
  font-size: clamp(2.25rem, 6vw, 3.75rem);
  font-weight: 700;
  /* Light: text-slate-800 */
  color: #1e293b;
  margin-bottom: 48px;
  line-height: 1.1;
  letter-spacing: -0.025em;
  transition: color 0.3s ease;
}

/* Dark mode - Manual toggle */
/* Dark: dark:text-white */
html.theme-dark .main-heading {
  color: #ffffff !important;
}

.gradient-text {
  /* Light: from-blue-600 to-indigo-600 */
  background: linear-gradient(90deg, #2563eb, #4f46e5);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  display: inline-block;
  transition: background 0.3s ease;
}

/* Dark mode - Manual toggle */
/* Dark: dark:from-blue-400 dark:to-indigo-400 */
html.theme-dark .gradient-text {
  background: linear-gradient(90deg, #60a5fa, #818cf8) !important;
  -webkit-background-clip: text !important;
  -webkit-text-fill-color: transparent !important;
  background-clip: text !important;
}

/* Buttons Container */
.buttons-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 16px;
}

/* Primary Button */
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 16px 32px;
  background: #2563eb;
  color: white;
  border: none;
  border-radius: 8px;
  font-size: 18px;
  font-weight: 600;
  cursor: pointer;
  text-decoration: none;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 10px 25px -5px rgba(37, 99, 235, 0.2), 0 8px 10px -6px rgba(37, 99, 235, 0.1);
}

/* Dark mode - Manual toggle */
html.theme-dark .btn-primary {
  box-shadow: 0 10px 25px -5px rgba(30, 27, 75, 0.4), 0 8px 10px -6px rgba(30, 27, 75, 0.3) !important;
  background: #155dfc ;
}

.btn-primary:hover {
  background: #1d4ed8;
  color: #fff;
  transform: scale(1.05);
  box-shadow: 0 20px 30px -8px rgba(37, 99, 235, 0.3), 0 12px 15px -8px rgba(37, 99, 235, 0.15);
}

/* Dark mode - Manual toggle */
html.theme-dark .btn-primary:hover {
  box-shadow: 0 20px 30px -8px rgba(30, 27, 75, 0.5), 0 12px 15px -8px rgba(30, 27, 75, 0.35) !important;
  background: #1447e6 ;
}

.btn-primary:active {
  transform: scale(0.95);
}

/* Secondary Button */
.btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 16px 24px;
  /* Light: bg-white text-slate-700 border-slate-200 */
  background: #ffffff;
  color: #475569;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  font-size: 18px;
  font-weight: 500;
  cursor: pointer;
  text-decoration: none;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.05), 0 1px 2px -1px rgba(0, 0, 0, 0.05);
}

/* Dark mode - Manual toggle */
/* Dark: dark:bg-slate-800 dark:text-slate-200 dark:border-slate-700 */
html.theme-dark .btn-secondary {
  background: #1e293b !important;
  color: #e2e8f0 !important;
  border: 1px solid #334155 !important;
}

.btn-secondary:hover {
  /* Light: hover:bg-slate-50 hover:border-slate-300 */
  background: #f8fafc;
  border-color: #cbd5e1;
  transform: scale(1.05);
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -2px rgba(0, 0, 0, 0.1);
}

/* Dark mode - Manual toggle */
/* Dark: dark:hover:bg-slate-700 dark:hover:border-slate-600 */
html.theme-dark .btn-secondary:hover {
  background: #334155 !important;
  border-color: #475569 !important;
}

.btn-secondary:active {
  transform: scale(0.95);
}

.btn-secondary svg {
  color: #94a3b8;
}

/* Icon styling */
.icon {
  width: 20px;
  height: 20px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.icon svg {
  width: 20px;
  height: 20px;
}

/* Responsive */
@media (max-width: 1023px) {
  .neural-network,
  .cpu-icon,
  .sparkle,
  .network-grid,
  .floating-sphere,
  .ai-chip,
  .data-flow {
    display: none;
  }
}

@media (max-width: 768px) {
  .accelerate-section {
    padding: 64px 0;
  }

  .content-container {
    padding: 0 24px;
  }

  .main-heading {
    margin-bottom: 32px;
  }

  .buttons-container {
    flex-direction: column;
    width: 100%;
  }

  .btn-primary,
  .btn-secondary {
    width: 100%;
    justify-content: center;
  }
}

@media (min-width: 768px) {
  .main-heading {
    font-size: 3.75rem;
  }
}

@media (min-width: 1024px) {
  .content-container {
    padding: 0 32px;
  }
}

/* Modal Styles */
.animated-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 99999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.animated-modal-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  cursor: pointer;
}

.animated-modal-content {
  position: relative;
  max-width: 1200px;
  width: 100%;
  max-height: 90vh;
  background: #ffffff;
  border-radius: 16px;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
  overflow: hidden;
  transform: scale(0.9);
  opacity: 0;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  z-index: 1;
}

.animated-modal-content.active {
  transform: scale(1);
  opacity: 1;
}

/* Dark mode - Manual toggle */
html.theme-dark .animated-modal-content {
  background: #1e293b !important;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5) !important;
}

.animated-modal-close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, 0.05);
  border: none;
  border-radius: 8px;
  cursor: pointer;
  z-index: 10;
  transition: all 0.2s ease;
}

.animated-modal-close:hover {
  background: rgba(0, 0, 0, 0.1);
  transform: scale(1.1);
}

/* Dark mode - Manual toggle */
html.theme-dark .animated-modal-close {
  background: rgba(255, 255, 255, 0.1) !important;
}

html.theme-dark .animated-modal-close:hover {
  background: rgba(255, 255, 255, 0.15) !important;
}

.animated-modal-close svg {
  stroke: #1e293b;
  width: 20px;
  height: 20px;
  transition: stroke 0.3s ease;
}

/* Dark mode - Manual toggle */
html.theme-dark .animated-modal-close svg {
  stroke: #f1f5f9 !important;
}

.animated-modal-body {
  padding: 60px 40px 40px;
  overflow-y: auto;
  max-height: 90vh;
}

/* Custom scrollbar for modal */
.animated-modal-body::-webkit-scrollbar {
  width: 8px;
}

.animated-modal-body::-webkit-scrollbar-track {
  background: rgba(0, 0, 0, 0.05);
  border-radius: 4px;
}

.animated-modal-body::-webkit-scrollbar-thumb {
  background: rgba(0, 0, 0, 0.2);
  border-radius: 4px;
}

.animated-modal-body::-webkit-scrollbar-thumb:hover {
  background: rgba(0, 0, 0, 0.3);
}

/* Dark mode - Manual toggle */
html.theme-dark .animated-modal-body::-webkit-scrollbar-track {
  background: rgba(255, 255, 255, 0.05) !important;
}

html.theme-dark .animated-modal-body::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.2) !important;
}

html.theme-dark .animated-modal-body::-webkit-scrollbar-thumb:hover {
  background: rgba(255, 255, 255, 0.3) !important;
}

/* Responsive modal */
@media (max-width: 768px) {
  .animated-modal {
    padding: 10px;
  }
  
  .animated-modal-content {
    max-height: 95vh;
    border-radius: 12px;
  }
  
  .animated-modal-body {
    padding: 50px 20px 20px;
    max-height: 95vh;
  }
  
  .animated-modal-close {
    top: 10px;
    right: 10px;
  }
}

/* Hide modal content rows from regular page display */
.vc_row[class*="modal-content-"],
.wpb_row[class*="modal-content-"],
.vc_row.lightbox,
.wpb_row.lightbox,
.lightbox {
  display: none !important;
}

/* Show in modal body */
.animated-modal-body .vc_row[class*="modal-content-"],
.animated-modal-body .wpb_row[class*="modal-content-"],
.animated-modal-body .vc_row.lightbox,
.animated-modal-body .wpb_row.lightbox,
.animated-modal-body .lightbox {
  display: block !important;
}

/* ========== Roadmap Lightbox Modal ========== */
.roadmap-modal .roadmap-modal-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(15, 23, 42, 0.6);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  cursor: pointer;
  transition: opacity 0.3s ease;
}

.roadmap-modal .roadmap-modal-content {
  position: relative;
  width: 100%;
  max-width: 72rem;
  max-height: 90vh;
  background: #ffffff;
  border-radius: 1rem;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transform: scale(0.95);
  opacity: 0;
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.3s ease;
  z-index: 1;
}

.roadmap-modal .roadmap-modal-content.active {
  transform: scale(1);
  opacity: 1;
}

html.theme-dark .roadmap-modal .roadmap-modal-content {
  background: #0f172a !important;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5) !important;
}

.roadmap-modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.5rem 2rem;
  border-bottom: 1px solid #e2e8f0;
  background: #ffffff;
  flex-shrink: 0;
  transition: background 0.3s ease, border-color 0.3s ease;
}

html.theme-dark .roadmap-modal-header {
  background: #0f172a !important;
  border-color: #1e293b !important;
}

.roadmap-modal-title {
  font-size: 1.5rem;
  font-weight: 700;
  color: #0f172a;
  margin: 0;
  transition: color 0.3s ease;
}

html.theme-dark .roadmap-modal-title {
  color: #ffffff !important;
}

.roadmap-modal-subtitle {
  color: #64748b;
  margin: 0.25rem 0 0;
  font-size: 0.9375rem;
  transition: color 0.3s ease;
}

html.theme-dark .roadmap-modal-subtitle {
  color: #94a3b8 !important;
}

.roadmap-modal-close {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2.5rem;
  height: 2.5rem;
  padding: 0;
  border: none;
  border-radius: 0.5rem;
  background: transparent;
  color: #94a3b8;
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease;
}

.roadmap-modal-close:hover {
  background: #f1f5f9;
  color: #475569;
}

html.theme-dark .roadmap-modal-close:hover {
  background: #1e293b !important;
  color: #e2e8f0 !important;
}

.roadmap-modal-close svg {
  width: 1.5rem;
  height: 1.5rem;
}

.roadmap-modal-scroll {
  overflow-y: auto;
  padding: 2rem;
  background: rgba(248, 250, 252, 0.5);
  flex: 1;
  min-height: 0;
  transition: background 0.3s ease;
}

html.theme-dark .roadmap-modal-scroll {
  background: rgba(2, 6, 23, 0.5) !important;
}

.roadmap-periods {
  display: flex;
  flex-direction: column;
  gap: 4rem;
}

.roadmap-period-head {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 2rem;
}

.roadmap-period-title {
  font-size: 1.25rem;
  font-weight: 700;
  color: #0f172a;
  margin: 0;
  transition: color 0.3s ease;
}

html.theme-dark .roadmap-period-title {
  color: #ffffff !important;
}

.roadmap-status {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.25rem 0.75rem;
  border-radius: 9999px;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  border: 1px solid;
  transition: background 0.3s ease, border-color 0.3s ease, color 0.3s ease;
  white-space: nowrap;
}

.roadmap-status-current {
  background: rgba(239, 246, 255, 1);
  border-color: #bfdbfe;
  color: #1d4ed8;
}

html.theme-dark .roadmap-status-current {
  background: rgba(30, 58, 138, 0.3) !important;
  border-color: #1e40af !important;
  color: #93c5fd !important;
}

.roadmap-status-dot {
  position: relative;
  width: 0.5rem;
  height: 0.5rem;
  border-radius: 50%;
  background: #3b82f6;
}

.roadmap-status-dot::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: #3b82f6;
  animation: roadmap-ping 1.5s cubic-bezier(0, 0, 0.2, 1) infinite;
  opacity: 0.75;
}

@keyframes roadmap-ping {
  75%, 100% {
    transform: scale(2);
    opacity: 0;
  }
}

.roadmap-status-upcoming {
  background: rgba(239, 246, 255, 1);
  border-color: #bfdbfe;
  color: #1d4ed8;
}

html.theme-dark .roadmap-status-upcoming {
  background: rgba(30, 58, 138, 0.3) !important;
  border-color: #1e40af !important;
  color: #93c5fd !important;
}

.roadmap-status-icon {
  flex-shrink: 0;
}

.roadmap-categories {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

@media (min-width: 768px) {
  .roadmap-categories {
    grid-template-columns: repeat(3, 1fr);
  }
}

.roadmap-category {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 0.75rem;
  padding: 1.5rem;
  box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.05);
  transition: background 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

.roadmap-category:hover {
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.08);
}

html.theme-dark .roadmap-category {
  background: rgba(30, 41, 59, 0.5) !important;
  border-color: #334155 !important;
}

.roadmap-category-name {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.875rem;
  font-weight: 700;
  color: #0f172a;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin: 0 0 1.5rem;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid #f1f5f9;
  transition: color 0.3s ease, border-color 0.3s ease;
}

html.theme-dark .roadmap-category-name {
  color: #ffffff !important;
  border-color: rgba(51, 65, 85, 0.5) !important;
}

.roadmap-category-dot {
  width: 0.625rem;
  height: 0.625rem;
  border-radius: 50%;
  flex-shrink: 0;
}

.roadmap-dot-one-ai {
  background: #6366f1;
}

.roadmap-dot-everyday {
  background: #10b981;
}

.roadmap-dot-business {
  background: #3b82f6;
}

.roadmap-items {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.roadmap-items li {
  margin: 0;
  padding: 0;
  list-style: none;
}

.roadmap-item-title {
  font-weight: 600;
  color: #0f172a;
  display: block;
  margin-bottom: 0.375rem;
  transition: color 0.3s ease;
}

.roadmap-items li:hover .roadmap-item-title {
  color: #2563eb;
}

html.theme-dark .roadmap-item-title {
  color: #e2e8f0 !important;
}

html.theme-dark .roadmap-items li:hover .roadmap-item-title {
  color: #60a5fa !important;
}
.roadmap-modal-content p{
  padding: 0px!important;
}
.roadmap-item-desc {
  font-size: 0.875rem;
  color: #64748b;
  margin: 0;
  line-height: 1.5;
  transition: color 0.3s ease;
  padding: 0px;
}

html.theme-dark .roadmap-item-desc {
  color: #94a3b8 !important;
}

.roadmap-modal-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 2rem;
  border-top: 1px solid #e2e8f0;
  background: rgba(248, 250, 252, 0.5);
  font-size: 0.75rem;
  color: #94a3b8;
  flex-shrink: 0;
  transition: background 0.3s ease, border-color 0.3s ease, color 0.3s ease;
}

html.theme-dark .roadmap-modal-footer {
  background: rgba(15, 23, 42, 0.5) !important;
  border-color: #1e293b !important;
  color: #64748b !important;
}

/* Roadmap modal scrollbar */
.roadmap-modal-scroll::-webkit-scrollbar {
  width: 8px;
}

.roadmap-modal-scroll::-webkit-scrollbar-track {
  background: rgba(0, 0, 0, 0.05);
  border-radius: 4px;
}

.roadmap-modal-scroll::-webkit-scrollbar-thumb {
  background: rgba(0, 0, 0, 0.2);
  border-radius: 4px;
}

.roadmap-modal-scroll::-webkit-scrollbar-thumb:hover {
  background: rgba(0, 0, 0, 0.3);
}

html.theme-dark .roadmap-modal-scroll::-webkit-scrollbar-track {
  background: rgba(255, 255, 255, 0.05) !important;
}

html.theme-dark .roadmap-modal-scroll::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.2) !important;
}

@media (max-width: 768px) {
  .roadmap-modal .roadmap-modal-content {
    max-height: 95vh;
    border-radius: 0.75rem;
  }
  .roadmap-modal-header,
  .roadmap-modal-footer {
    padding-left: 1.25rem;
    padding-right: 1.25rem;
    flex-wrap: wrap;
  }
  .roadmap-modal-scroll {
    padding: 1.25rem;
  }
}
