/*Form Styles*/

.form-container {
  max-width: 498px;
}
.form-wrapper form input[type="text"],
.form-wrapper form input[type="email"],
.form-wrapper form input[type="tel"] {
  background-color: #151b31;
  padding-left: 10px;
  padding-right: 10px;
  color: #fff;
  border-color: #383636;
}

.iti--show-selected-dial-code.iti--show-flags .iti__selected-dial-code {
  color: #fff !important;
}


/* Lang Switcher */

.lang-switcher {
  position: relative;
  width: 120px;
  height: 36px;
  flex-shrink: 0;
}

.lang-current {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 6px 10px;
  background: rgba(255, 255, 255, 0.07);
  border-radius: 8px;
  cursor: pointer;
  user-select: none;
  backdrop-filter: blur(10px);
  transition: 0.2s;
  color: #fff;
  font-size: 14px;
  width: 100px;
}
.lang-current:hover {
  background: rgba(255, 255, 255, 0.12);
}
.lang-current img {
  width: 20px;
  height: 20px;
  border-radius: 4px;
}

.lang-dropdown {
  position: absolute;
  top: 110%;
  right: 0;

  background: rgba(20, 20, 35, 0.95);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  padding: 6px 0;

  min-width: 160px;
  min-height: 44px;

  visibility: hidden;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.15s ease;

  z-index: 2000;
}

.lang-dropdown.is-open {
  visibility: visible;
  opacity: 1;
  pointer-events: auto;
}

.lang-dropdown a {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 14px;
  color: #ddd;
  text-decoration: none;
  transition: 0.15s;
  font-size: 14px;
}
.lang-dropdown a:hover {
  background: rgba(99, 102, 241, 0.25);
  color: white;
}
.lang-dropdown img {
  width: 20px;
  height: 20px;
  border-radius: 4px;
}

#mobileMenu {
  z-index: 9999;
}

.mobile-left-wrapper {
  height: 48px;
  min-width: 120px; 
  flex-shrink: 0;
}

.nav-link {
  @apply text-gray-300 hover:text-white hover:scale-105 transition-all duration-300 font-medium;
}

.mobile-link {
  @apply text-gray-200 text-lg font-medium py-2 px-2 rounded-md hover:bg-slate-800/60 transition-all;
}

/* Steps */
.dashed-line:after {
  content: "";
  position: absolute;
  top: 18%;
  left: 60%;
  width: calc(100% - 10%);
  height: 0;
  border-top: 3px dashed #282f53;
}

.dashed-line:last-child:after {
  content: none;
}

.sp-top {
  top: -150px;
}

.sp-button {
  width: 25%;
}

@media (max-width: 1024px) {
  .dashed-line:after {
    display: none;
  }
  .sp-button {
    width: 80%;
  }
}

/*Modal Styles*/
.modal-overlay {
	display: none;
	align-items: center;
	justify-content: center;
	position: fixed;
	inset: 0;
	background: rgba(0, 0, 0, 0.6);
	z-index: 9999;
}

.modal {
	background: #282f53;
	border-radius: 10px;
	width: 450px;
	padding: 30px;
	text-align: center;
	position: relative;
	box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.modal .close-btn {
	position: absolute;
	top: 6px;
	right: 16px;
	font-size: 36px;
	cursor: pointer;
	color: #ffffffd6;
	z-index: 2;
}

.content-popup__banner {
	margin: 0 auto 20px;
	display: flex;
	justify-content: center;
	align-items: center;
	max-width: 300px;
}

.content-popup__banner img {
	max-height: 200px;
}

.content-popup__countdown-row {
	display: flex;
	justify-content: center;
	align-items: center;
	gap: 10px;
	margin: 20px 0;
}

.content-popup__countdown-row .time {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	font-size: 18px;
	font-weight: 500;
	height: 36px;
	width: 42px;
	border-radius: 4px;
	background-color: #ffffffd6;
	color: #4f46e5;
}

.content-popup__footer {
	padding-top: 24px;
}

.content-popup__cta {
	display: block;
	max-width: 280px;
	margin: 0 auto;
	padding: 14px 24px;
	font-size: 16px;
	font-weight: 600;
	border-radius: 8px;
	cursor: pointer;
}

.content-popup__countdown-row .separator {
	color: #ffffffd6;
}

@media (max-width: 767px) {

	.modal {
		width: calc(100vw - 20px);
		max-height: 92vh;
		overflow: hidden; 
		padding: 20px;
		display: flex;
		flex-direction: column;
	}

  .content-popup__banner {
		max-width: 220px;
		margin-bottom: 12px;
	}

	.content-popup__banner img {
		max-height: 140px;
	}

	.modal p,
	.content-popup__countdown-row {
		flex-shrink: 0;
	}

	.modal p {
		max-height: 28vh;
		overflow-y: auto;
		padding-right: 6px;
	}

	.content-popup__footer {
		margin-top: auto;
		padding-top: 16px;
		padding-bottom: env(safe-area-inset-bottom);
	}
}

/* User Steps */
.step-row {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 2rem;
    width: 100%;
}
.step-item {
  position: relative;
}

.step-item::after {
    content: "";
    position: absolute;
    top: 77px;
    left: 11%;
    width: 95%;
    height: 2px;
    background: linear-gradient(
        90deg,
        #6f2dbd 0%,
        #a855f7 50%,
        #6f2dbd 100%
    );
    z-index: 1;
}

.step-item::before {
    content: "";
    position: absolute;
    top: 75px;
    left: 11%;
    width: 95%;
    height: 6px;
    background: linear-gradient(
        90deg,
        rgba(168, 85, 247, 0.8),
        rgba(168, 85, 247, 0.3),
        rgba(168, 85, 247, 0.8)
    );
    filter: blur(8px);
    z-index: 0;
}
.step-dot {
    width: 12px;
    height: 12px;
    background: white;
    border-radius: 50%;
    display: block;
    position: relative;
    margin-left: 10px;
    margin-bottom: 14px;
    margin-top: 7px;
}

.step-number {
  line-height: 65px;
    margin-bottom: 0;
  font-size: 64px;
    position: relative;
    text-shadow:
        0 0 6px rgba(74, 222, 128, 0.6),
        0 0 14px rgba(74, 222, 128, 0.4),
        0 0 28px rgba(74, 222, 128, 0.2);
}

@media (max-width: 767px) {
    .step-row {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }

  .step-item::after, .step-item::before {
    display: none;
  }

  .step-dot {
    display: none;
  }
}

/* Comparison */

.comparison-section {
    padding-top: 150px;
    padding-bottom: 70px;
}

.comparison-table {
    box-shadow: 0 0 60px rgba(168, 85, 247, 0.25);
    overflow: hidden;
}

.comparison-head,
.comparison-row {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    align-items: center;
}

.comparison-head {
    padding: 1.5rem;
    font-weight: 700;
    background: rgba(168, 85, 247, 0.08);
    color: #8b5cf6;
}

.comparison-row {
    padding: 1.25rem 1.5rem;
    border-top: 1px solid rgba(168, 85, 247, 0.15);
}

.comparison-row:hover {
    background: rgba(168, 85, 247, 0.05);
}

.label {
    font-weight: 500;
}

.check {
    width: 20px;
    height: 20px;
    display: inline-block;
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
}

.check--yes {
    background-image: url('/images/tick.svg');
}

.check--no {
    background-image: url('/images/none.svg');
}

/* RTL support */
.comparison-section.rtl {
    direction: rtl;
}

.comparison-section.rtl .comparison-head,
.comparison-section.rtl .comparison-row {
    text-align: right;
}

/* Documentation */
.sidebar-navigation {
  position: fixed;
  right: 7%;
  top: 10%;
}

@media(max-width: 767px) {
  .comparison-section {
     padding-top: 100px;
     padding-bottom: 0px;
  }

  .sidebar-navigation {
    position: relative;
    width: 100%;
    left: 0;
    margin-top: 10px;
  }
}

/* Career Page */

.job-content .job-intro {
  margin: 10px 0;
}

.job-content ul {
  list-style: none;
  padding-left: 1.25rem;
}

.job-content ul li {
  position: relative;
  margin-bottom: 0.5rem;
  padding-left: 1rem;
  color: #d1d5db;
}

.job-content ul li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.6em;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #8b5cf6;
}

.job-content .job-cta {
  color: #8b5cf6;
  text-decoration: underline;
  padding-left: 20px;
  margin-top: 20px;
  display: block;
}

@media (max-width: 768px) {
  .job-header {
    grid-template-columns: 1fr !important;
    text-align: center;
    gap: 0.75rem;
  }

  .job-header .job-toggle {
    width: 100%;
  }
}

/* Reviews Block */

.reviews-cards {
  display: flex;
  flex-direction: column;
}

.review-first-card {
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: center;
  gap: 3rem;
}

.review-card {
  max-width: 560px;
  min-height: 220px;
}

.review-card--offset {
  margin-left: 280px;
  position: relative;
  top: -20px;
}

.review-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 10px;
}

.review-rating {
  color: #7c3aed;
  letter-spacing: 2px;
  font-size: 1rem;
}

@media (max-width: 768px) {
  .review-first-card {
    display: flex;
    flex-direction: column;
    text-align: center;
    gap: 0;
  }

  .reviews-title {
    order: -1;
    margin-bottom: 2rem;
  }

  .review-card {
    max-width: 100%;
  }

  .review-card--offset {
    margin-left: 0;
    margin-top: 2rem;
    top: 0;
  }
}

/* User Reviews */
.user-reviews-columns {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
  align-items: start;
}

.user-reviews-col {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.user-review-card {
  display: flex;
  flex-direction: column;
  gap: 14px;
  align-self: flex-start;
}

.user-review-card.rc-3 {
  min-height: 233px;
}

.user-review-header {
  display: flex;
  align-items: center;
  gap: 12px;
}

.user-review-avatar {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  overflow: hidden;
  flex-shrink: 0;
  border-color: #2563eb80;
  border-width: 1px;
}

.user-review-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.user-review-image {
  margin-top: 10px;
}

@media (max-width: 768px) {
  .user-reviews-columns {
    grid-template-columns: 1fr;
  }
}

/* Contact */

iframe {
  width: 100%;
  height: 400px;
  border-radius: 12px;
  overflow: hidden;
}

.office-addresses {
  position: relative;
}

.office-grid {
  display: grid;
  grid-template-columns: 1.2fr repeat(3, 1fr);
  align-items: start;
}

.office-item {
  padding-left: 20px;
  border-left: 2px solid rgba(139, 92, 246, 0.6);
}

@media (max-width: 768px) {
  .office-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .office-item {
    padding-left: 0;
    border-left: none;
    border-bottom: 1px solid rgba(139, 92, 246, 0.4);
    padding-bottom: 14px;
  }

  .office-title {
    text-align: center;
    margin-bottom: 10px;
  }

  iframe {
    width: 100%;
    height: 300px;
  }
}

/* Header Banner */
#topBanner {
  position: relative;
  z-index: 60;
  transition: transform 0.3s ease, opacity 0.3s ease;
}

#mainHeader {
  z-index: 50;
  min-height: 64px;
}

.header-banner {
  width: 100%;
  background: #4f46e5;
  color: #fff;
  padding: 0 24px;
}

.h-container {
  margin: 0 auto;
  padding: 10px;
  display: flex;
  justify-content: space-between;
  text-align: left;
}

.h-container > div {
  flex: 1;
  padding: 0 10px;
  border-left: 1px solid #fff;
}

.h-title {
  font-weight: 600;
  font-size: 20px;
  line-height: 28px;
  color: #fff;
}

.h-subtitle {
  font-size: 15px;
  opacity: 1;
  line-height: 20px;
  color: #fff;
  font-weight: 300;
}

@media (max-width: 768px) {
  .header-banner {
    padding-left: 0;
    padding-right: 0;
  }
  .h-container {
    gap: 20px;
  }
  .h-container > div {
    border-top: none;
    padding: 0 0 0 10px;
  }
  .h-col-1 {
    grid-column: 1 / span 2;
    grid-row: 1;
  }

  .h-col-2 {
    grid-column: 2;
    grid-row: 2;
  }
  .h-title {
    font-size: 10px;
    line-height: 16px;
  }
  .h-subtitle {
    font-size: 9px;
    line-height: 13px;
  }
}


/* Tailwind Custom Styles */
.pt-32 {
  padding-top: 8rem;
}

.pb-28 {
  padding-bottom: 7rem;
}

.bg-primary-dark {
  background-color: #191d2f;
}

.bg-primary-dark-400 {
  background-color: #374172;
}

.text-primary-dark-500 {
  color: #838ec3;
}

.border-purple-600 {
  border-color: #7c3aed;
}

.border-purple-500 {
  border-color: #a7a4ff;
}

.bg-purple-600 {
  background-color: #6a65fe;
}


.video-iframe-fix {
  width: 100%;
  height: auto;
  min-height: 220px;
  aspect-ratio: 16 / 9;
}

.video-preview {
  position: relative;
  width: 100%;
  aspect-ratio: 4 / 3;
  min-height: 200px;
}


@supports (-webkit-touch-callout: none) {
  /* iOS Safari */
  .video-iframe-fix {
    height: auto;
  }
}


