/* SA Pricing Table — Sabbir Ahmed */
.sa-pt-wrap { display: block; }

/* ── Toggle row ── */
.sa-pt-toggle-row {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    margin-bottom: 40px;
    flex-wrap: wrap;
}
.sa-pt-toggle-wrap {
    display: inline-flex;
    align-items: center;
    background: rgba(255,255,255,0.07);
    border: 1.5px solid rgba(255,255,255,0.20);
    border-radius: 100px;
    padding: 5px;
    gap: 0;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    position: relative; /* for slider */
}

/* Sliding white pill indicator */
.sa-pt-slider {
    position: absolute;
    top: 5px;
    left: 5px;
    height: calc(100% - 10px);
    background: #ffffff;
    border-radius: 100px;
    transition: left 0.3s cubic-bezier(0.4,0,0.2,1),
                width 0.3s cubic-bezier(0.4,0,0.2,1);
    pointer-events: none;
    z-index: 0;
}

.sa-pt-tab {
    padding: 9px 24px;
    border-radius: 100px;
    border: none;
    background: transparent;
    color: rgba(255,255,255,0.60);
    font-size: 15px;
    font-weight: 500;
    cursor: pointer;
    transition: color 0.25s ease;
    white-space: nowrap;
    line-height: 1;
    position: relative;
    z-index: 1; /* above slider */
}
.sa-pt-tab:hover { color: #ffffff; }
.sa-pt-tab.is-active {
    color: #111111;
    background: transparent; /* slider handles bg */
}
.sa-pt-save-badge {
    display: inline-block;
    padding: 4px 12px;
    border-radius: 100px;
    background: linear-gradient(135deg,#6366f1,#8b5cf6);
    color: #ffffff;
    font-size: 12px;
    font-weight: 600;
}

/* ── Grid ── */
.sa-pt-grid {
    display: grid;
    gap: 24px;
    align-items: stretch;
}

/* ── Card ── */
.sa-pt-card {
    display: flex;
    flex-direction: column;
    gap: 14px;
    box-sizing: border-box;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    position: relative;
    padding: 32px;
    background: linear-gradient(223deg, #080819 0%, #1A1A29 100%);
    overflow: visible;
    z-index: 1;
    border-radius: 20px;
    border: none;
    /* Gradient glass border via box-shadow layers */
    box-shadow:
        0 0 0 1px rgba(255,255,255,0.08),
        inset 0 1.5px 0 rgba(255,255,255,0.55),
        inset 1.5px 0 0 rgba(255,255,255,0.12),
        inset -1.5px 0 0 rgba(255,255,255,0.04),
        inset 0 -1.5px 0 rgba(255,255,255,0.04),
        0 4px 24px rgba(0,0,0,0.30);
}

.sa-pt-card:before {
    content: "";
    position: absolute;
    inset: 0;
    padding: 1.5px;
    border-radius: inherit;
    background: linear-gradient(90deg, rgba(255, 255, 255, 0.25) 0%, rgba(255, 255, 255, 0.8) 20%, rgba(255, 255, 255, 0.2) 35%);
    -webkit-mask: linear-gradient(#fff 0 0) content-box, 
    linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    pointer-events: none;
    z-index: -1;
}

.sa-pt-card:hover {
    transform: translateY(-3px);
    box-shadow:
        0 0 0 1px rgba(255,255,255,0.12),
        inset 0 1.5px 0 rgba(255,255,255,0.70),
        inset 1.5px 0 0 rgba(255,255,255,0.18),
        inset -1.5px 0 0 rgba(255,255,255,0.06),
        inset 0 -1.5px 0 rgba(255,255,255,0.06),
        0 8px 32px rgba(0,0,0,0.40);
}

.sa-pt-card.is-featured {
    background: linear-gradient(223deg, #0d0d22 0%, #1f1f35 100%);
}

/* ── Plan name ── */
.sa-pt-name {
    margin: 0; padding: 0;
    font-size: 20px; font-weight: 700;
    color: #ffffff; line-height: 1.2;
}

/* ── Price row ── */
.sa-pt-price-row {
    display: flex;
    align-items: baseline;
    gap: 8px;
    flex-wrap: wrap;
}
.sa-pt-price-row--oneoff {
    align-items: center;
    gap: 10px;
}
.sa-pt-price {
    font-size: 52px; font-weight: 800;
    color: #ffffff; line-height: 1;
    letter-spacing: -0.02em;
}
.sa-pt-price-row--oneoff .sa-pt-price { font-size: 46px; }
.sa-pt-period {
    font-size: 16px;
    color: rgba(255,255,255,0.50);
    font-weight: 400;
}
.sa-pt-price-prefix {
    font-size: 15px;
    color: rgba(255,255,255,0.60);
    font-weight: 400;
    flex-shrink: 0;
}

/* ── Toggle visibility ── */
.sa-pt-hidden { display: none !important; }

/* ── Description ── */
.sa-pt-desc {
    margin: 0;
    font-size: 13px; line-height: 1.65;
    color: rgba(255,255,255,0.50);
}

/* ── Headline (call layout) ── */
.sa-pt-headline {
    margin: 0; padding: 0;
    font-size: 34px; font-weight: 800;
    color: #ffffff; line-height: 1.2;
}

/* ── Divider ── */
.sa-pt-divider {
    height: 1px;
    background: rgba(255,255,255,0.10);
    flex-shrink: 0;
    margin: 2px 0;
}

/* ── Features label ── */
.sa-pt-features-label {
    margin: 0;
    font-size: 15px; font-weight: 700;
    color: #ffffff;
}

/* ── Features list ── */
.sa-pt-features-list {
    list-style: none; margin: 0; padding: 0;
    display: flex; flex-direction: column;
    gap: 11px;
    flex: 1;
}

/* ── Feature item ── */
.sa-pt-feature {
    display: flex;
    align-items: flex-start;
    gap: 11px;
}

/* ── Checkmark circle ── */
.sa-pt-check-icon {
    flex-shrink: 0;
    width: 22px;
    height: 22px;
/*     min-width: 22px; */
    border-radius: 50%;
    background: rgba(255,255,255,0.12);
    border: 1px solid rgba(255,255,255,0.20);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 1px;
}

.sa-pt-feature-text {
    font-size: 14px;
    line-height: 1.5;
    color: rgba(255,255,255,0.80);
}

/* ── CTA Button — glass gradient with gradient border ── */
.sa-pt-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 15px 20px;
    border-radius: 32px;
    border: none;
    background: linear-gradient(180deg, rgba(255,255,255,0.30) 0%, rgba(255,255,255,0.05) 100%);
    color: rgba(255,255,255,0.90);
    font-size: 14px;
    font-weight: 500;
    text-decoration: none;
    cursor: pointer;
    transition: background 0.25s ease;
    margin-top: auto;
    text-align: center;
    box-sizing: border-box;
    width: 100%;
    position: relative;
}

/* Gradient border via ::before pseudo-element */
.sa-pt-btn::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 32px;
    padding: 2px;
    background: linear-gradient(
        180deg,
        rgba(255,255,255,0.32) 0%,
        rgba(255,255,255,0.00) 100%
    );
    -webkit-mask: linear-gradient(#fff 0 0) content-box,
                  linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    pointer-events: none;
}

.sa-pt-btn:hover {
    background: linear-gradient(180deg, rgba(255,255,255,0.40) 0%, rgba(255,255,255,0.10) 100%);
    color: #ffffff;
}

/* ── Responsive ── */
@media (max-width: 1024px) {
    .sa-pt-card[data-span] {
        grid-column: span 1 !important;
    }
}
@media (max-width: 767px) {
    .sa-pt-price          { font-size: 38px; }
    .sa-pt-headline       { font-size: 26px; }
    .sa-pt-card           { padding: 20px; }
    .sa-pt-tab            { padding: 8px 16px; font-size: 14px; }
    .sa-pt-card[data-span] {
        grid-column: span 1 !important;
    }
}
