/* hero */
.pricing .pricing-hero {
  background: var(--bg);
  padding: 48px 0 12px;
  text-align: center;
}
.pricing .pricing-title {
  font-size: clamp(28px, 4vw, 44px);
  line-height: 1.2;
  margin-bottom: 10px;
  color: var(--ink);
}
.pricing .pricing-subtitle {
  color: var(--muted);
  font-size: 1rem;
}

/* wrapper */
.pricing .pricing-cards {
  background: var(--bg);
  padding: 12px 0 72px;
}
.pricing .pricing-wrapper {
  background: #F3F5F7;
  padding: 48px 48px;
  border-radius: 20px;
}

/* grid */
.pricing .cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 28px;
  align-items: stretch;
  justify-content: center;
  max-width: 980px;
  margin: 0 auto;
}

/* card */
.pricing .card {
  background: #fff;
  border: 1px solid rgba(15,23,42,.06);
  border-radius: 22px;
  box-shadow: 0 16px 32px rgba(2,6,23,.10);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform .25s ease, box-shadow .25s ease;
    justify-content: space-between;

}
/* .pricing .card:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 40px rgba(2,6,23,.14);
} */

/* head */
.pricing .card-head {
  padding: 22px 20px 18px;
  text-align: center;
  border-bottom: 0;
  border-radius: 22px 22px 0 0;
  position: relative;
}
.pricing .card-head h3 {
  color: #fff;
  font-weight: 800;
  letter-spacing: .2px;
  margin: 0 0 8px;
  font-size: 1.06rem;
}
.pricing .plan-icon {
  font-size: 34px;
  line-height: 1;
  margin: 2px auto 8px;
  filter: drop-shadow(0 2px 0 rgba(0,0,0,.06));
}

/* price row */
.pricing .card-head .price {
  display: flex;
  justify-content: center;
  align-items: flex-end;
  gap: 6px;
  margin: 6px 0 2px;
}

/* currency */
.pricing .currency {
  font-weight: 900;
  font-size: 22px;
  color: var(--ink, #0f172a);
}
/* currency in head */
.pricing .card-head .currency { color: #fff; }
.pricing .amount { font-weight: 900; font-size: 46px; line-height: 1; color:#fff; }
.pricing .period { color:#fff; opacity:.95; font-weight:700; font-size:.9rem; }

/* fineprint */
.pricing .fineprint {
  color: #fff;
  opacity: .97;
  font-size: .92rem;
  margin-top: 10px;
}

/* head colors */
.pricing .card-head.free     { background: #D84E6A; }
.pricing .card-head.basic { background: #2F67B8; }
.pricing .card-head.premium     { background: #1EA58E; }

/* features */
.pricing .features {
  list-style: none;
  margin: 0;
  padding: 18px 20px 0;
  display: grid;
  gap: 12px;
  color: #0f172a;
  background: #fff;
  border-top: 1px solid rgba(15,23,42,.08);
}
.pricing .features li {
  position: relative;
  padding-left: 28px;
  font-size: 1rem;
  line-height: 1.55;
}
.pricing .features li::before{
  content: "";
  position: absolute;
  left: 0; top: 3px;
  width: 18px; height: 18px;
  background-repeat: no-repeat;
  background-size: 18px 18px;
  background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="18" height="18" viewBox="0 0 24 24"><path d="M20 6L9 17l-5-5" fill="none" stroke="%2316A34A" stroke-width="3" stroke-linecap="round" stroke-linejoin="round"/></svg>');
}

/* cta */
.pricing .card-cta {
  padding: 18px 20px 22px;
  margin-top: auto;
  background: #fff;
  border-top: 0;
}
.pricing .btn-outline {
  display: inline-block;
  width: 100%;
  text-align: center;
  padding: 12px 18px;
  border-radius: 999px;
  border: 2px solid #0f172a;
  color: #0f172a;
  font-weight: 800;
  text-decoration: none;
  transition: background .2s ease, color .2s ease, box-shadow .2s ease;
}
.pricing .btn-outline:hover {
  background: #0f172a;
  color: #fff;
  box-shadow: 0 6px 14px rgba(15,23,42,.25);
}

/* total pill */
.pricing .total-amount{
  background: rgba(36,99,235,.08);
  border: 1px solid rgba(36,99,235,.25);
  border-radius: 10px;
  margin: 8px 20px 0;
  /* padding: 8px 12px 6px; */
  font-weight: 600;
  text-align:center;
  color:#0f172a;
}
.pricing .total-amount .currency{ font-weight:100; font-size: 18px; }
.pricing .total-amount small{ font-weight:600; color: var(--muted); }

/* range base */
.pricing .qty-box { position:relative; display:flex; align-items:center; }
.pricing .qty-range{
  width: 220px;
  appearance:none;
  height: 4px;
  border-radius:999px;
  background:#e5e7eb;
  outline:0;
}
/* range blue */
.pricing .qty-range.qty-range--blue{
  width: 320px;
  height: 6px;
  border-radius: 999px;
  appearance: none;
  background: #e5e7eb;
  outline: 0;
}
/* thumb */
.pricing .qty-range::-webkit-slider-thumb{
  appearance:none;
  width:14px; height:14px;
  border-radius:50%;
  background:#2563eb;
  box-shadow:0 0 0 4px rgba(37,99,235,.15);
}
.pricing .qty-range::-moz-range-thumb{
  width:14px; height:14px;
  border-radius:50%;
  background:#2563eb; border:0;
  box-shadow:0 0 0 4px rgba(37,99,235,.15);
}
.pricing .qty-range.qty-range--blue::-webkit-slider-thumb{
  appearance: none;
  width: 16px; height: 16px;
  border-radius: 50%;
  background: var(--brand, #2463eb);
  box-shadow: 0 0 0 5px rgba(36,99,235,.16);
  cursor: pointer;
}
.pricing .qty-range.qty-range--blue::-moz-range-thumb{
  width: 16px; height: 16px;
  border: 0; border-radius: 50%;
  background: var(--brand, #2463eb);
  box-shadow: 0 0 0 5px rgba(36,99,235,.16);
  cursor: pointer;
}
/* bubble */
.pricing .qty-bubble{
  position:absolute;
  top:-38px;
  left:0;
  transform:translateX(-50%);
  padding:4px 8px;
  font-size:.8rem;
  line-height:1;
  border-radius:6px;
  color:#fff;
  background:#0f172a;
  opacity:0;
  pointer-events:none;
  transition:opacity .15s ease;
}
.pricing .qty-bubble::after{
  content:"";
  position:absolute;
  left:50%; bottom:-6px;
  transform:translateX(-50%);
  border:6px solid transparent;
  border-top-color:#0f172a;
}
.pricing .qty-box:hover .qty-bubble{ opacity:1; }

/* qty row */
.pricing .qty-wrap { display:flex; align-items:center; gap:12px; }
.pricing .qty-wrap.center{ justify-content:center; gap: 14px; }

/* totals strip */
.pricing .pricing-totals{ margin: 10px 0 24px; }
.pricing .totals-row{
  display: flex;
  align-items: stretch;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
}
.pricing .total-box{
  flex: 0 1 320px;
  border: 1px solid rgba(36,99,235,.25);
  background: rgba(36,99,235,.08);
  border-radius: 14px;
  padding: 12px 16px;
  text-align: center;
  box-shadow: var(--shadow-sm, 0 6px 18px rgba(2,6,23,.06));
}
.pricing .total-box .badge{
  display: inline-block;
  font-weight: 700;
  font-size: .78rem;
  letter-spacing: .2px;
  color: var(--brand, #2463eb);
  background: #fff;
  border: 1px solid rgba(36,99,235,.25);
  border-radius: 999px;
  padding: 4px 10px;
  margin-bottom: 6px;
}
.pricing .total-box .amount{
  font-size: 1.5rem;
  font-weight: 900;
  color: var(--ink, #0f172a);
  line-height: 1.1;
}
.pricing .total-box .amount small{
  font-size: .85rem;
  font-weight: 700;
  color: var(--muted, #64748b);
}
.pricing .total-box .hint{
  margin-top: 4px;
  font-size: .8rem;
  color: var(--muted, #64748b);
}

/* slider card */
.pricing .pricing-qty-card {
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 20px 0;
}
.pricing .slider-card {
  background: #fff;
  border: 2px solid var(--brand, #2463eb);
  border-radius: 16px;
  padding: 20px 28px;
  box-shadow: 0 6px 16px rgba(36, 99, 235, 0.08);
  max-width: 680px;
  margin: 0 auto;
  text-align: center;
}
/* slider text */
.pricing .slider-card .qty-heading {
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--brand, #2463eb);
  margin-bottom: 2px;
}
.pricing .slider-card .qty-subtext {
  font-size: .95rem;
  color: var(--muted, #64748b);
  margin-bottom: 12px;
}
/* slider row */
.pricing .slider-card .qty-wrap.center {
  justify-content: center;
  gap: 10px;
  margin-bottom: 12px;
}
/* slider buttons */
.pricing .slider-card .slider-actions {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-top: 4px;
}
.pricing .slider-card .btn-solid {
  background: var(--brand, #2463eb);
  color: #fff;
  font-weight: 600;
  border: none;
  border-radius: 40px;
  padding: 12px 32px;
  cursor: pointer;
  transition: 0.2s ease;
}
.pricing .slider-card .btn-solid:hover {
  background: #1d4ed8;
  transform: translateY(-2px);
}
.pricing .slider-card .btn-outline {
  background: transparent;
  color: var(--brand, #2463eb);
  border: 2px solid var(--brand, #2463eb);
  font-weight: 600;
  border-radius: 40px;
  padding: 12px 32px;
  cursor: pointer;
  transition: 0.2s ease;
}
.pricing .slider-card .btn-outline:hover {
  background: var(--brand, #2463eb);
  color: #fff;
  transform: translateY(-2px);
}

/* align totals */
.pricing .card { display: flex; flex-direction: column; justify-content: space-between; }

/* desktop align */
@media (min-width: 993px) {
  #total-199 { margin-top: 18px; }
  #total-99, #total-199 { position: relative; top: 0; }
  #total-99 { margin-top: 91px; }
}

/* responsive  */
@media (max-width: 992px) {
  .pricing .cards-grid {
    grid-template-columns: 1fr;
    max-width: 740px;
    margin: 0 auto;
  }
  .pricing .pricing-wrapper { padding: 36px 20px; }
}

/*  hover for team size */
.pricing .qty-bubble {
  position: absolute;
  top: -42px;
  left: 0;
  transform: translateX(-50%) scale(1);
  padding: 6px 10px;
  font-size: 0.85rem;
  font-weight: 700;
  color: #fff;
  background: var(--brand, #2463eb);
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(36, 99, 235, 0.35);
  opacity: 0;
  pointer-events: none;
  transition: 
    opacity 0.2s ease,
    transform 0.25s ease,
    background 0.3s ease,
    box-shadow 0.3s ease;
}

/* bubble arrow */
.pricing .qty-bubble::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -6px;
  transform: translateX(-50%);
  border: 6px solid transparent;
  border-top-color: var(--brand, #2463eb);
}

/* when visible (on hover/drag) */
.pricing .qty-box:hover .qty-bubble,
.pricing .qty-bubble.show {
  opacity: 1;
  transform: translateX(-50%) scale(1.15);
  background: #1d4ed8; /* slightly deeper blue */
  box-shadow: 0 6px 16px rgba(36, 99, 235, 0.45);
}
