/* Position the slider tooltip (bubble) below the slider */
.slider-bubble-below {
  top: 36px !important;
  bottom: auto !important;
  transform: translateX(-50%);
  z-index: 2;
}
/* Reset and base styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
    "Helvetica Neue", Arial, sans-serif;
  line-height: 1.5;
}

/* Utility classes */
.min-h-screen {
  min-height: 100vh;
}

.bg-white {
  background-color: #ffffff;
}

.relative {
  position: relative;
}

.absolute {
  position: absolute;
}

.overflow-hidden {
  overflow: hidden;
}

.text-blue {
  color: #2d58ff;
}

/* Background */
.background-container {
  position: absolute;
  height: 3397px;
  left: -1829px;
  top: 0;
  width: 5097px;
}

.background-image {
  position: absolute;
  background-image: url("./imports/SVG\ BG.svg");
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
  filter: blur(8px);
  inset: 0;
  opacity: 0.64;
}

/* Main content */
.main-content {
  position: relative;
  z-index: 10;
  max-width: 1280px;
  margin: 0 auto;
  padding: 24px 16px;
}

@media (min-width: 640px) {
  .main-content {
    padding-left: 24px;
    padding-right: 24px;
  }
}

@media (min-width: 1024px) {
  .main-content {
    padding-left: 32px;
    padding-right: 32px;
  }
}

/* Pricing header */
.pricing-header {
  text-align: center;
  margin-bottom: 24px;
}

.main-title {
  font-size: 32px;
  line-height: 40px;
  font-weight: 600;
  letter-spacing: -0.6px;
  color: #1f2937;
}

/* Slider section */
.slider-section {
  margin-bottom: 48px;
}

.slider-container {
  background-color: rgba(255, 255, 255, 0.8);
  backdrop-filter: blur(12px);
  border-radius: 16px;
  border: 1px solid #e5e7eb;
  padding: 32px;
}

@media (min-width: 768px) {
  .slider-container {
    padding: 48px;
  }
}

.slider-content {
  text-align: center;
  margin-bottom: 32px;
}

.slider-title {
  font-size: 24px;
  font-weight: 600;
  color: #1f2937;
  margin-bottom: 24px;
}

/* Slider wrapper */
.slider-wrapper {
  display: flex;
  align-items: center;
  gap: 24px;
  max-width: 1024px;
  margin: 0 auto;
}

.slider-label-left,
.slider-label-right {
  font-size: 20px;
  font-weight: 500;
  color: #1f2937;
  min-width: fit-content;
}

.slider-track-container {
  flex: 1;
  position: relative;
}

/* Credit slider */
.credit-slider {
  width: 100%;
  height: 12px;
  border-radius: 9999px;
  appearance: none;
  cursor: pointer;
  background: linear-gradient(
    to right,
    #2d58ff 0%,
    #2d58ff 0%,
    #f2eff3 0%,
    #f2eff3 100%
  );
}

.credit-slider::-webkit-slider-thumb {
  appearance: none;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: #ffffff;
  border: 2px solid #eae7ec;
  cursor: pointer;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  transition: all 0.2s ease;
}

.credit-slider::-webkit-slider-thumb:hover {
  transform: scale(1.1);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
}

.credit-slider::-moz-range-thumb {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: #ffffff;
  border: 2px solid #eae7ec;
  cursor: pointer;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  transition: all 0.2s ease;
}

.credit-slider::-moz-range-thumb:hover {
  transform: scale(1.1);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
}

/* Slider bubble */
.slider-bubble {
  position: absolute;
  top: -60px;
  transform: translateX(-50%);
  left: 0%;
  transition: left 0.2s ease;
}

.bubble-content {
  background: white;
  border-radius: 16px;
  border: 1px solid #e5e7eb;
  padding: 4px 12px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.bubble-text {
  font-size: 14px;
  font-weight: 500;
  color: #1f2937;
}

/* Feature grid */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(1, 1fr);
  gap: 24px;
}

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

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

/* Feature card */
.feature-card {
  display: flex;
  align-items: center;
  gap: 16px;
  transition: transform 0.2s ease;
}

.feature-card:hover {
  transform: scale(1.02);
}

.feature-icon {
  background-color: #2d58ff;
  border-radius: 8px;
  padding: 8px;
  color: white;
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.2s ease;
}

.feature-card:hover .feature-icon {
  transform: scale(1.1);
}

.feature-icon svg {
  width: 24px;
  height: 24px;
  fill: currentColor;
}

.feature-text {
  color: #1f2937;
  font-weight: 500;
}

/* Pricing card section */
.pricing-card-section {
  margin-bottom: 48px;
}

.pricing-card {
  background-color: rgba(255, 255, 255, 0.8);
  backdrop-filter: blur(12px);
  border-radius: 16px;
  padding: 32px;
  border: 1px solid #e5e7eb;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

/* Pricing card header */
.pricing-header-section {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
}

.pricing-title {
  font-size: 24px;
  font-weight: 600;
  color: #1f2937;
}

.pricing-subtitle {
  color: #6b7280;
}

/* Pricing details */
.pricing-details {
  border-top: 1px solid #e5e7eb;
  padding-top: 16px;
  margin-bottom: 16px;
}

.pricing-info {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 16px;
  margin-bottom: 8px;
}

@media (min-width: 768px) {
  .pricing-info {
    flex-direction: row;
    align-items: flex-end;
    justify-content: space-between;
  }
}

.price-section {
  display: flex;
  flex-direction: column;
}

.price-amount {
  font-size: 30px;
  font-weight: 600;
  color: #2d58ff;
}

.price-period {
  font-size: 14px;
  color: #6b7280;
}

.credits-badge {
  background-color: #eff6ff;
  border-radius: 16px;
  padding: 8px 16px;
}

.credits-text {
  font-size: 18px;
  font-weight: 600;
  color: #1f2937;
}

/* Features section */
.features-section {
  border-top: 1px solid #e5e7eb;
  padding-top: 16px;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(1, 1fr);
  gap: 16px;
}

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

.feature-item {
  display: flex;
  align-items: flex-start;
  gap: 8px;
}

.check-icon {
  width: 16px;
  height: 16px;
  color: #1f2937;
  margin-top: 2px;
  flex-shrink: 0;
}

.feature-item-text {
  font-size: 14px;
  color: #1f2937;
}
