/* Pricing Section */
.pricing-section-v2 {
  padding: 60px 0;
  position: relative;
}

.toggle-container {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-bottom: 50px;
  color: white;
  font-weight: 600;
}

/* Toggle Switch */
.toggle-switch {
  position: relative;
  display: inline-block;
  width: 50px;
  height: 26px;
  margin-left: 10px;
  margin-right: 10px;
  vertical-align: middle;
}

.toggle-switch input {
  opacity: 0;
  width: 0;
  height: 0;
}

.slider {
  position: absolute;
  cursor: pointer;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: #2b2c40;
  transition: .4s;
  border-radius: 34px;
}

.slider:before {
  position: absolute;
  content: "";
  height: 18px;
  width: 18px;
  left: 4px;
  bottom: 4px;
  background-color: white;
  transition: .4s;
  border-radius: 50%;
}

input:checked+.slider {
  background-color: #1d8cf8;
}

input:checked+.slider:before {
  transform: translateX(24px);
}

/* Pricing Cards */
.card-pricing-v2 {
  background-color: #0f10168e;
  border: 1px solid #2b2c40;
  border-radius: 20px;
  padding: 0;
  text-align: left;
  position: relative;
  height: 100%;
  transition: transform 0.3s;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.card-pricing-v2:hover {
  transform: translateY(-5px);
  border-color: #1d8cf8;
}

.card-pricing-v2.featured {
  border: 2px solid #1d8cf8;
  box-shadow: 0 0 20px rgba(29, 140, 248, 0.1);
  z-index: 2;
}

.pricing-content {
  padding: 20px;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}

.featured-badge {
  background-color: #1d8cf8;
  color: white;
  text-align: center;
  padding: 8px 0;
  font-weight: 800;
  text-transform: uppercase;
  font-size: 0.9rem;
  width: 100%;
}

.slot-badge {
  background-color: #1d1e2e;
  color: #fff;
  padding: 8px;
  border-radius: 8px;
  text-align: center;
  font-weight: 700;
  font-size: 1rem;
  margin-bottom: 15px;
  display: block;
  width: 100%;
}

.price-tag {
  color: white;
  font-size: 2.2rem;
  font-weight: 800;
  line-height: 1;
  margin-bottom: 5px;
  white-space: nowrap;
}

.price-tag span {
  font-size: 0.9rem;
  color: #1d8cf8;
  font-weight: 600;
}

.price-tag.quarterly-price {
  font-size: 1.8rem;
}

.price-tag.quarterly-price span {
  font-size: 0.8rem;
}

.old-price {
  color: #6c757d;
  font-size: 0.85rem;
  margin-bottom: 20px;
  display: block;
}

.section-label {
  color: #fff;
  font-size: 0.85rem;
  font-weight: 700;
  margin-bottom: 8px;
  display: block;
}

.location-box {
  background-color: #0b0c15;
  border: 1px solid #2b2c40;
  border-radius: 8px;
  padding: 8px;
  display: flex;
  align-items: center;
  margin-bottom: 20px;
}

.location-box img {
  width: 20px;
  margin-right: 10px;
}

.features-list {
  list-style: none;
  padding: 0;
  margin-bottom: 20px;
}

.features-list li {
  color: #cfcfcf;
  font-size: 0.85rem;
  margin-bottom: 8px;
  display: flex;
  align-items: center;
}

.check-icon {
  color: white !important;
  background-color: #1d8cf8 !important;
  border-radius: 50%;
  width: 16px;
  height: 16px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 9px !important;
  margin-right: 8px;
  flex-shrink: 0;
}

.btn-contract-v2 {
  background: linear-gradient(90deg, #1d8cf8 0%, #1a7de0 100%);
  color: white;
  width: 100%;
  padding: 10px;
  border-radius: 8px;
  font-weight: 800;
  text-transform: uppercase;
  border: none;
  transition: 0.3s;
  display: block;
  text-align: center;
  margin-top: auto;
}

.btn-contract-v2:hover {
  background: linear-gradient(90deg, #1d8cf8 0%, #1a7de0 100%);
  color: white;
  box-shadow: 0 0 15px rgba(29, 140, 248, 0.5);
  text-decoration: none;
}

.recur-text {
  text-align: center;
  color: #6c757d;
  font-size: 0.75rem;
  margin-top: 10px;
  display: block;
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .pricing-content {
    padding: 20px 15px;
  }

  .price-tag {
    font-size: 1.8rem;
  }
}

/* AI Product Section Styles */
.ai-product-section {
  padding: 80px 0;
  position: relative;
}

.ai-dashboard-mockup {
  display: flex;
  background: #f4f5f7;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.3);
  min-height: 400px;
  position: relative;
}

/* Sidebar */
.ai-sidebar {
  width: 70px;
  background-color: #0f1025;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding-top: 30px;
  flex-shrink: 0;
}

.sidebar-icon {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #5e6e82;
  font-size: 1.2rem;
  margin-bottom: 20px;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.3s;
}

.sidebar-icon:hover,
.sidebar-icon.active {
  color: #fff;
  background-color: rgba(255, 255, 255, 0.1);
}

.sidebar-icon.active {
  font-weight: bold;
  font-family: 'Poppins', sans-serif;
}

/* Main Content */
.ai-main-content {
  flex-grow: 1;
  padding: 40px;
  position: relative;
  background-color: #f0f2f5;
}

.ai-header {
  margin-bottom: 30px;
}

.ai-title {
  color: #1a1e33;
  font-weight: 700;
  font-size: 1.8rem;
  margin-bottom: 5px;
}

.ai-subtitle {
  color: #6c757d;
  font-size: 1rem;
  margin-bottom: 0;
}

.ai-workspace {
  display: flex;
  position: relative;
}

/* Input Area */
.ai-input-area {
  background: white;
  border-radius: 12px;
  padding: 25px;
  width: 60%;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  position: relative;
  border: 1px solid #e1e4e8;
  min-height: 180px;
}

.skeleton-text {
  background-color: #e9ecef;
  height: 12px;
  border-radius: 6px;
  margin-bottom: 12px;
}

.skeleton-text.long {
  width: 90%;
}

.skeleton-text.medium {
  width: 70%;
}

.skeleton-text.short {
  width: 40%;
}

.btn-ai-magic {
  position: absolute;
  top: -15px;
  right: -15px;
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%);
  border: none;
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 10px rgba(59, 130, 246, 0.3);
  cursor: pointer;
  z-index: 10;
}

/* Floating Badge */
.ai-floating-badge {
  position: absolute;
  top: -50px;
  right: -20px;
  background-color: #0f1025;
  padding: 10px 20px;
  border-radius: 12px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
  z-index: 20;
  border: 1px solid rgba(255, 255, 255, 0.1);
  animation: float 3s ease-in-out infinite;
}

.ai-badge-content {
  display: flex;
  align-items: center;
  color: white;
  font-weight: 600;
  font-size: 0.9rem;
}

.ai-badge-content i {
  color: #3b82f6;
  /* Star color */
  margin-right: 10px;
}

@keyframes float {
  0% {
    transform: translateY(0px);
  }

  50% {
    transform: translateY(-10px);
  }

  100% {
    transform: translateY(0px);
  }
}

/* Product Preview */
.ai-product-preview {
  position: absolute;
  right: -20px;
  bottom: -60px;
  width: 280px;
  height: 280px;
  z-index: 5;
}

.product-card-bg {
  background-color: #3b82f6;
  border-radius: 20px;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 20px 40px rgba(59, 130, 246, 0.4);
  position: relative;
  overflow: hidden;
}

.product-image {
  width: 80%;
  height: auto;
  object-fit: contain;
  filter: drop-shadow(0 10px 20px rgba(0, 0, 0, 0.2));
  transform: rotate(-10deg) scale(1.1);
}

.cursor-pointer {
  position: absolute;
  bottom: -10px;
  right: 40px;
  filter: drop-shadow(0 2px 5px rgba(0, 0, 0, 0.2));
  z-index: 30;
}

/* Responsive */
@media (max-width: 991px) {
  .ai-workspace {
    flex-direction: column;
  }

  .ai-input-area {
    width: 100%;
    margin-bottom: 40px;
  }

  .ai-product-preview {
    position: relative;
    right: auto;
    bottom: auto;
    margin: 0 auto;
    width: 200px;
    height: 200px;
  }

  .ai-floating-badge {
    right: 0;
  }
}