/* Container */
.tab-container {
    background: #fff;
    border-radius: 20px;
    padding: 25px;
    position: relative;
    width: 100%;
    margin: 0 auto;
}

/* Hide radios */
input[type="radio"] {
  display: none;
}

/* Header */
.tab-header {
  display: flex;
  position: relative;
  background: #5A93ED;
  border-radius: 28px;
  overflow: hidden;
  margin-bottom: 25px;
  max-width: 525px;
  margin: 12px auto 24px auto;
}

/* Tab buttons */
.tab-btn {
  flex: 1;
  text-align: center;
  padding: 12px 0;
  cursor: pointer;
  font-weight: 400;
  color: #FFF;
  z-index: 2;
  transition: color 0.3s;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.tab-btn span{
  background: #335A76;
  padding: 2px 8px;
  display: inline-flex;
  margin-left: 8px;
  color: #FFF;
  border-radius: 8px;
  font-size: 16px;
  font-style: normal;
  font-weight: 600;
  line-height: 24px;
}
/* Indicator */
.tab-indicator {
  position: absolute;
  top: 4px;
  left: 4px;
  width: calc(50% - 8px);
  height: calc(100% - 8px);
  background: rgba(255, 255, 255, 0.8);
  border-radius: 50px;
  transition: all 0.4s ease;
  z-index: 1;
}

/* Active tab color */
#tab1:checked ~ .tab-header label[for="tab1"],
#tab2:checked ~ .tab-header label[for="tab2"] {
  color: #000000;
}

#tab2:checked ~ .tab-header .tab-indicator {
  left: calc(50% + 4px);
}

/* Wrapper holds both contents side by side */
.tabs-wrapper {
  width: 100%;
  overflow: hidden; /* hides the off-screen tab */
}

/* Slider shifts left/right */
.tabs-slider {
  display: flex;
  width: 200%; /* two tabs side-by-side */
  transition: transform 0.5s ease;
}

/* Each tab content */
.tab-content {
  width: 50%;
  padding: 10px;
  text-align: center;
}

/* Inputs and buttons */
.tab-content input {
  width: 100%;
  padding: 10px;
  margin: 8px 0;
  border: 1px solid #ddd;
  border-radius: 8px;
  font-size: 14px;
}

/* Slide the content wrapper */
#tab1:checked ~ .tabs-wrapper .tabs-slider {
  transform: translateX(0%);
}

#tab2:checked ~ .tabs-wrapper .tabs-slider {
  transform: translateX(-50%);
}

/* Responsive */
@media (max-width: 400px) {
  .tab-container {
    width: 100%;
    padding: 20px 0px;
  }
  .tab-content{
    padding: 10px 0px;
  }
}

/* --- PRICING PLAN *---/
 * .pricing-section {
  max-width: 1200px;
  width: 100%;
  padding: 40px 20px;
}

.section-title {
  text-align: center;
  font-size: 2rem;
  margin-bottom: 40px;
  font-weight: 700;
  color: #222;
}

/* GRID */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 24px; /* <- exact 24px gap */
}

/* CARD STYLING */
.plan-card {
  background: #fff;
  border-radius: 16px;
  padding: 30px 20px;
  text-align: center;
  border: 1px solid #5A93ED;
  box-shadow: 0 4px 20px rgba(0,0,0,0.05);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.plan-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 8px 25px rgba(0,0,0,0.08);
}

.plan-box h2 {
    background: #ededed;
    border-radius: 12px;
    font-size: 24px;
    color: #1F2E39;
    font-weight: 800;
    padding: 24px;
    text-align: left;
    display: flex;
    align-items: center;
}
.plan-box h2 span:first-child {
    display: flex;
    align-items: center;
    justify-content: left;
    margin-right: 6px;
}
.price {
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 12px;
  color: #222;
}

.price span:last-child {
  font-size: 18px;
  color: #335A76;
  font-weight: 400;
}
.price-button {
    margin-bottom: 8px;
    padding-bottom: 16px;
    border-bottom: 1px solid #5A93ED;
    text-align: left;
}
p.custom-price {
    color: #1F2E39;
    font-weight: 700;
    margin-bottom: 12px;
}
.plan-card ul {
  list-style: none;
  padding: 0;
  margin: 0 0 16px;
}

.plan-card ul li {
  padding: 6px 0px;
  font-size: 0.95rem;
  color: #1F2E39;
  border-bottom: 0px solid #eee;
  text-align: left;
  display: flex;
  align-items: center;
  justify-content: left;
}
.plan-card ul li span {
  display: inline-flex;
  align-items: center;
  justify-content: left;
}
.plan-card ul li span:first-child {
    margin-right: 6px;
}

.featured h2 {
  color: #0056b3;
}

/* RESPONSIVE */
@media (max-width: 768px) {
  .plan-card {
    padding: 25px 15px;
  }
  .price {
    font-size: 1.8rem;
  }
}

@media (max-width: 480px) {
  .section-title {
    font-size: 1.6rem;
  }
  .pricing-section {
    padding: 20px 10px;
  }
}

/* --- AI CALLER CSS --- */
.ai-caller-card {
    width: 230px;
    text-align: center;
    transition: all 0.3s ease;
}

    .ai-caller-header {
      display: flex;
      align-items: center;
      justify-content: left;
      margin-bottom: 0px;
    }

    .ai-caller-header label {
      font-weight: 600;
      color: #1d2735;
      font-size: 1.1rem;
      margin-right: 8px
    }

    /* Toggle ai-caller-switch */
    .ai-caller-switch {
      position: relative;
      display: inline-block;
      width: 46px;
      height: 24px;
    }

    .ai-caller-switch input {
      opacity: 0;
      width: 0;
      height: 0;
    }

    .ai-caller-slider {
      position: absolute;
      cursor: pointer;
      top: 0;
      left: 0;
      right: 0;
      bottom: 0;
      background-color: #cfd8e3;
      border-radius: 34px;
      transition: 0.3s;
      width: 48px;
      height: 24px;
    }

    .ai-caller-slider:before {
      position: absolute;
      content: "";
      height: 18px;
      width: 18px;
      left: 0px;
      bottom: 0px;
      background-color: #335A76;
      transition: 0.3s;
      border-radius: 50%;
      width: 24px;
      height: 24px;
    }

    input:checked + .ai-caller-slider {
      background-color: rgba(90, 147, 237, 0.40);
    }

    input:checked + .ai-caller-slider:before {
      transform: translateX(22px);
      background: #5A93ED;
    }
    span.ai-caller-minutes {
        color: #335A76;
        font-size: 16px;
        font-style: normal;
        font-weight: 400;
        line-height: 24px;
    }
    /* Price Section */
    .ai-caller-price-section {
      display: none;
      flex-direction: column;
      align-items: center;
      gap: 10px;
      transition: all 0.3s ease;
      position: relative;
    }

    .ai-caller-price-section.active {
      display: flex;
    }

    /* Range and ai-caller-dots */
    .ai-caller-range-container {
      position: relative;
      width: 100%;
    }
    /*
    .ai-caller-range-track {
      width: 100%;
      appearance: none;
      height: 6px;
      background: linear-gradient(to right, #3edcb6 0%, #e1e8f0 0%);
      border-radius: 5px;
      outline: none;
      transition: background 0.3s;
      padding: 0px!important;
    }

    .ai-caller-range-track::-webkit-ai-caller-slider-thumb {
      appearance: none;
      width: 18px;
      height: 18px;
      background: #3edcb6;
      border-radius: 50%;
      cursor: pointer;
    }
    */

    .ai-caller-range-track {
      width: 100%;
      appearance: none;
      height: 6px;
      background: linear-gradient(to right, #8a2be2 0%, #e1e8f0 0%);
      border-radius: 5px;
      outline: none;
      transition: background 0.3s;
      padding: 0px !important;
    }

    /* For WebKit browsers (Chrome, Safari, Edge) */
    .ai-caller-range-track::-webkit-slider-thumb {
      appearance: none;
      width: 18px;
      height: 18px;
      background: #1dc099;
      border-radius: 50%;
      cursor: pointer;
    }

    /* For Firefox */
    .ai-caller-range-track::-moz-range-thumb {
      width: 18px;
      height: 18px;
      background: #1dc099;
      border-radius: 50%;
      cursor: pointer;
    }

    /* Dots below the track */
    .ai-caller-dot {
      background: #1dc099;
      opacity: 0.7;
    }

    .ai-caller-dots {
      position: absolute;
      top: 50%;
      left: 0;
      width: 100%;
      height: 0;
      transform: translateY(-2px);
      display: flex;
      justify-content: space-between;
      padding: 0 3px;
      pointer-events: none;
    }

    .ai-caller-dot {
      width: 10px;
      height: 10px;
      background: #1dc099;
      border-radius: 50%;
      opacity: 0.7;
    }

    .ai-caller-price-box {
      background: #e9f2ff;
      border-radius: 10px;
      padding: 10px 16px;
      display: flex;
      justify-content: space-between;
      align-items: center;
      width: 100%;
      font-weight: 600;
      color: #1d2735;
    }
/* --- Wrapper --- */
.cta-wrapper {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 24px auto;
  width: 257px;
  background: linear-gradient(88deg, var(--Talentin-Blue, #5A93ED) 21.73%, #9F56FF 78.27%);
  border-radius: 4px;
  height: 86px;
  padding: 4px;
}

/* --- Sparkles background --- */
.sparkles {
  position: absolute;
  width: 100%;
  height: 100%;
  pointer-events: none;
  overflow: visible;
}

.cta-wrapper:hover .sparkles::before {
  transform: scale(0.95) rotate(-3deg);
  /* Add other styles as needed */
}
/* --- Main button --- */
.cta-button {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    text-decoration: none;
    overflow: visible;
    transition: all 0.4s ease;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.2);
    z-index: 2;
    width: 257px;
    height: 80px;
    color: #FFF;
    text-align: center;
    font-size: 20px;
    font-style: normal;
    font-weight: 700;
    line-height: normal;
    border-radius: 4px;
    background: linear-gradient(86deg, var(--Talentin-Blue, #5A93ED) 0.67%, #9F56FF 99.33%);
}

.cta-button:hover {
  transform: rotate(0deg); /* scale(1.05);*/
  box-shadow: 0 10px 25px rgba(108, 99, 255, 0.4),
              0 0 25px rgba(62, 220, 182, 0.4);
  background: #FFF;
  font-size: 20px;
  font-style: normal;
  font-weight: 700;
  line-height: normal;
  border-radius: 4px;
/*   border: 4px solid #5A93ED; */
}

.cta-button:hover span.cta-text {
    background-image: linear-gradient(88deg, var(--Talentin-Blue, #5A93ED) 21.73%, #9F56FF 78.27%);
    color: transparent;
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}
/* --- Arrow --- */
.cta-icon {
  font-size: 1.2rem;
  transition: transform 0.3s ease;
  transform: rotate(45deg);
}
.cta-button:hover .cta-icon {
  transform: translate(3px, -3px);
  background-image: linear-gradient(88deg, var(--Talentin-Blue, #5A93ED) 21.73%, #9F56FF 78.27%);
  color: transparent;
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* --- Ribbon --- */
.cta-ribbon {
    position: absolute;
    bottom: -12px;
    left: 50%;
    transform: translateX(-50%) rotate(0deg);
    background: #F0D05A;
    color: #335A76;
    padding: 2px 16px;
    border-radius: 4px;
    box-shadow: 0 3px 6px rgba(0, 0, 0, 0.15);
    transition: all 0.4s ease;
    white-space: nowrap;
    font-size: 16px;
    font-style: normal;
    font-weight: 500;
    line-height: 24px;
}
.cta-button:hover .cta-ribbon {
  transform: translateX(-50%) rotate(-4deg);
  bottom: -14px;
  width: 280px;
}
@media (max-width: 991px) {
  h1 {
    font-size: 30px;
    font-weight: 700;
  }
  .cta-wrapper{
    height: 60px;
  }
  .tab-container {
    padding: 25px 0px 0px;
  }
  .tab-container .tab-content{
    padding: 0px 0px;
  }
  .tab-container .pricing-section{
    padding: 0px 0px;
  }
  .tab-header .tab-btn{
    font-size: 16px;
    line-height: 27px;
  }
  .cta-wrapper .cta-button{
    height: 54px;
    font-size: 16px;
  }
  .cta-wrapper .cta-ribbon {
    font-size: 12px;
  }
  .tabs-wrapper .plan-box h2 {
    font-size: 30px;
  }
}
@media(min-width: 1024px){
  .plan-card{
    min-height: 345px;
  }
}