html {scroll-behavior: smooth;}

body {
  background-color: #0a0a0f;
  color: white;
  overflow-x: hidden;
}

section {
  position: relative;
  z-index: 1;
}

.section-particles {
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  z-index: 0;
  pointer-events: none;
}

.gradient-bg {
  background-image: radial-gradient(circle at 20% 30%, rgba(59, 130, 246, 0.1) 0%, transparent 50%),
	radial-gradient(circle at 80% 70%, rgba(139, 92, 246, 0.1) 0%, transparent 50%);
}

.plus-bg {
  background-image:
	url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%232563eb' fill-opacity='0.05'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

.hero-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: radial-gradient(ellipse 80% 50% at 50% -20%, rgba(120, 119, 198, 0.17), transparent);
  z-index: -1;
}

.gradient-text {
  background: linear-gradient(90deg, #3b82f6, #8b5cf6, #d946ef);
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.glass {
  background: rgba(26, 28, 37, 0.7);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.05);
  box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.36);
}

.btn {
  border-radius: 4px;
  font-weight: 500;
  transition: all 0.2s ease;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.625rem 1.5rem;
  font-size: 1rem;
}

.btn-primary {
  background-color: #111a28;
  color: white;
  position: relative;
  overflow: hidden;
  z-index: 1;
  border: 1px solid #222c3c;
}

.btn-primary::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: radial-gradient(ellipse 80% 50% at 50% -20%, rgba(120, 119, 198, .3), transparent);
  z-index: -1;
}

.btn-primary:hover {
   border-color: rgba(255, 255, 255, 0.4);
   background-color: rgba(255, 255, 255, 0.05);
}

.btn-outline {
  background-color: transparent;
  color: white;
  border: 1px solid #222c3c;
  position: relative;
  overflow: hidden;
  z-index: 1;
}

.btn-outline::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: radial-gradient(ellipse 80% 50% at 50% -20%, rgba(120, 119, 198, .1), transparent);
  z-index: -1;
}

.btn-outline:hover {
  border-color: rgba(255, 255, 255, 0.4);
  background-color: rgba(255, 255, 255, 0.05);
}

.btn-lg {
	padding: 0.75rem 2.5rem;
	font-size: 1.125rem;
}

.header {
  position: fixed;
  top: 2rem;
  left: 0;
  right: 0;
  z-index: 50;
  padding: 1rem;
  transition: all 0.3s ease;
}

.header-inner {
  background-color: rgba(10, 10, 15, 0.3);
  backdrop-filter: blur(15px);
  -webkit-backdrop-filter: blur(15px);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 16px;
  padding: 0.75rem 1.5rem;
  box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.36);
}

.nav-link {
  color: rgba(255, 255, 255, 0.7);
  transition: all 0.2s ease;
  position: relative;
  padding: 0.5rem 0.75rem;
  border-radius: 8px;
  font-family: 'Geist', sans-serif;
}

.nav-link:hover {
  color: white;
  background-color: rgba(255, 255, 255, 0.05);
}

.nav-link.active {
  color: white;
  background-color: rgba(59, 130, 246, 0.1);
}

.mobile-menu {
  position: fixed;
  top: 5rem;
  left: 1rem;
  right: 1rem;
  background-color: rgba(10, 10, 15, 0.95);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 16px;
  padding: 1rem;
  transform: translateY(-1rem);
  opacity: 0;
  pointer-events: none;
  transition: all 0.3s ease;
  z-index: 50;
  box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.36);
}

.mobile-menu.active {
  transform: translateY(0);
  opacity: 1;
  pointer-events: auto;
}

.hero-section {
  position: relative;
  overflow: hidden;
}

.card-custom {
  border-radius: 8px;
  background-color: #111318;
  border: 1px solid rgba(255, 255, 255, 0.05);
}

.feature-icon-wrapper {
  width: 2.5rem;
  height: 2.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 0.375rem;
  background-color: rgba(59, 130, 246, 0.1);
  margin-bottom: 1.25rem;
}

.feature-grid {
  display: grid;
  grid-template-columns: 1fr;
}

.feature-cell {
  padding: 2rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

@media (min-width: 768px) {
  .feature-grid {
	grid-template-columns: 1fr 1fr;
  }

  .feature-cell:nth-child(odd) {
	border-right: 1px solid rgba(255, 255, 255, 0.05);
  }

   .feature-cell:nth-last-child(-n+2) {
	   border-bottom: none;
   }
   .feature-cell:last-child {
	 border-right: none;
  }
}

@media (min-width: 1024px) {
  .feature-grid {
	grid-template-columns: 1fr 1fr 1fr;
  }

  .feature-cell {
	 border-right: 1px solid rgba(255, 255, 255, 0.05);
  }

  .feature-cell:nth-child(3n) {
	border-right: none;
  }

  .feature-cell:last-child {
	border-right: none;
  }

  .feature-cell:nth-last-child(-n+3) {
	  border-bottom: none;
  }
}

.video-container {
  position: relative;
  width: 100%;
  padding-bottom: 56.25%;
  height: 0;
  overflow: hidden;
  border-radius: 12px;
  box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.05);
}

.video-container iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.glassy {
    background-color: rgba(10, 10, 15, 0.2);
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
}

 .performance-highlight-container {
	 height: 100%; /* Make container fill height */
	 width: 100%;
	 cursor: pointer;
	 overflow: hidden; /* Ensure image stays within bounds */
	 border-radius: 12px; /* Optional: Match gallery style */
 }

 .performance-highlight-image {
	 width: 100%;
	 height: 100%;
	 object-fit: cover; /* Cover the container */
	 transition: transform 0.3s ease;
	 border-radius: 12px;
	 border: 1px solid rgba(255, 255, 255, 0.05);
	 box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
 }
 .performance-highlight-container:hover .performance-highlight-image {
	 transform: scale(1.03);
	 box-shadow: 0 25px 30px -8px rgba(0, 0, 0, 0.2), 0 15px 15px -8px rgba(0, 0, 0, 0.08);
 }


@media (max-width: 768px) {
   .gallery-main {
	   height: 300px;
   }
   .interface-gallery-panel {
		padding: 1rem;
   }
	.interface-gallery-panel .grid {
		 grid-template-columns: 1fr !important;
		 gap: 1rem;
	}
	.interface-gallery-panel .grid > div {
		order: unset !important;
	}
	#performance .lg\:grid-cols-2 > div:last-child {
		 height: 400px; /* Give the image container a height on mobile */
	}
}

.step-item {
  display: flex;
  position: relative;
  padding-bottom: 2rem;
}

.step-item:last-child {
  padding-bottom: 0;
}

.step-number {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: linear-gradient(135deg, rgba(59, 130, 246, 0.2) 0%, rgba(139, 92, 246, 0.2) 100%);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
  margin-right: 1.5rem;
  flex-shrink: 0;
  font-size: 1.25rem;
  z-index: 1;
}

.step-content {
  flex-grow: 1;
}

.step-line {
  position: absolute;
  top: 48px;
  left: 24px;
  bottom: 0;
  width: 2px;
  background: linear-gradient(to bottom, rgba(59, 130, 246, 0.3), rgba(139, 92, 246, 0.3));
}

.step-item:last-child .step-line {
  display: none;
}

.dashboard-preview {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.05);
  transition: all 0.3s ease;
  box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.36);
}

.dashboard-preview:hover {
  transform: translateY(-10px);
  border-color: rgba(59, 130, 246, 0.3);
  box-shadow: 0 20px 40px -10px rgba(0, 0, 0, 0.5);
}

.pricing-badge {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: linear-gradient(90deg, #3b82f6, #8b5cf6);
  color: white;
  padding: 0.25rem 1rem;
  border-radius: 9999px;
  font-size: 0.875rem;
  font-weight: 500;
}


.faq-item {
  background-color: rgba(26, 28, 37, 0.5);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 16px;
  margin-bottom: 1rem;
  overflow: hidden;
  transition: all 0.3s ease;
}

.faq-item:hover {
  border-color: rgba(59, 130, 246, 0.3);
}

.faq-question {
  padding: 1.5rem;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: all 0.3s ease;
}

.faq-question:hover {
  background-color: rgba(255, 255, 255, 0.02);
}

.faq-answer {
  padding: 0 1.5rem;
  max-height: 0;
  overflow: hidden;
  transition: all 0.3s ease;
}

.faq-item.active .faq-answer {
  padding: 0 1.5rem 1.5rem 1.5rem;
  max-height: 500px;
}

.faq-icon {
  transition: transform 0.3s ease;
}

.faq-item.active .faq-icon {
  transform: rotate(180deg);
}

.footer {
  background-color: rgba(10, 10, 15, 0.8);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.badge-pill {
  display: inline-flex;
  align-items: center;
  padding: 0.5rem 1.25rem;
  background: linear-gradient(to right, rgba(255, 255, 255, 0.05), rgba(128, 128, 128, 0.05), transparent);
  border: 2px solid rgba(255, 255, 255, 0.05);
  border-radius: 9999px;
  font-size: 0.875rem;
  color: rgba(209, 213, 219, 1);
  transition: all 0.3s ease;
}

.badge-pill:hover {
  background: linear-gradient(to right, rgba(255, 255, 255, 0.1), rgba(128, 128, 128, 0.1), transparent);
}

.badge-pill i {
  margin-left: 0.5rem;
  transition: transform 0.3s ease;
}

.badge-pill:hover i {
  transform: translateX(4px);
}

:root {
    --prose-text: rgba(255, 255, 255, 0.75);
    --prose-headings: #FFFFFF;
    --prose-strong: rgba(255, 255, 255, 0.9);
    --prose-links: #8B5CF6;
    --prose-borders: rgba(255, 255, 255, 0.1);
    --prose-bullets: rgb(139 92 246 / var(--tw-text-opacity, 1));
}

.prose-custom {
    color: var(--prose-text);
    max-width: 80ch;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.7;
}

.prose-custom h1 {
    color: var(--prose-headings);
    font-size: 2.5rem;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 0.25em;
}

.prose-custom p.subtitle {
    color: rgba(255, 255, 255, 0.5);
    font-size: 1rem;
    margin-top: 0;
    margin-bottom: 3em;
}

.prose-custom h2 {
    color: var(--prose-headings);
    font-size: 1.75rem;
    font-weight: 700;
    margin-top: 2em;
    margin-bottom: 1em;
    padding-bottom: 0.4em;
    border-bottom: 1px solid var(--prose-borders);
}

.prose-custom h3 {
    color: var(--prose-headings);
    font-size: 1.25rem;
    font-weight: 700;
    margin-top: 1.75em;
    margin-bottom: 0.75em;
}

.prose-custom p {
    margin-bottom: 1.25em;
}

.prose-custom strong {
    color: var(--prose-strong);
    font-weight: 600;
}

.prose-custom ul {
    list-style: none;
    padding-left: 0;
    margin-top: 1.25em;
    margin-bottom: 1.25em;
}

.prose-custom li {
    position: relative;
    padding-left: 1.75rem;
    margin-bottom: 0.65em;
}

.prose-custom li::before {
    content: '';
    position: absolute;
    left: 0.25rem;
    top: 0.6em;
    width: 0.5rem;
    height: 0.5rem;
    background-color: var(--prose-bullets);
    border-radius: 50%;
}

.prose-custom a {
    color: var(--prose-links);
    font-weight: 500;
    text-decoration: none;
    transition: color 0.2s ease-in-out;
}

.prose-custom a:hover {
    color: var(--prose-headings);
    text-decoration: underline;
}