.pricing-page-container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 160px 0 0;
}

.wrapper {
    text-align: center;
    margin-bottom: 80px;
    position: relative;
}

.wrapper::before {
    content: "";
    position: absolute;
    top: -40px;
    left: 50%;
    transform: translateX(-50%);
    width: 200px;
    height: 200px;
    background: radial-gradient(
        circle,
        rgba(155, 125, 212, 0.15) 0%,
        transparent 70%
    );
    border-radius: 50%;
    z-index: -1;
}

.wrapper h1 {
    font-size: 30px;
    font-weight: 800;
    background: linear-gradient(135deg, #1a1a1a 0%, #4a4a4a 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 20px;
    letter-spacing: -1px;
}

.wrapper p {
    font-size: 15px;
    font-weight: 600;
    color: #666;
    max-width: 540px;
    margin: 0 auto;
    line-height: 1.7;
}

.pricing-toggle {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 16px;
    margin: 40px 0 60px;
}

.toggle-label {
    font-size: 16px;
    font-weight: 600;
    color: #666;
}

.toggle-label.active {
    color: #00a8a8;
}

.pricing-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
    gap: 32px;
    margin-bottom: 100px;
}

.card {
    height: fit-content;
    background: white;
    border: 2px solid transparent;
    border-radius: 6px;
    padding: 0;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
}

.card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border-radius: 6px;
    padding: 2px;
    mask-composite: exclude;
    opacity: 0;
    transition: opacity 0.4s ease;
    pointer-events: none; /* 👈 THIS FIXES IT */
}

.card:hover::before {
    opacity: 1;
}

.card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08);
}

.card.popular {
    border: 2px solid #000000;
    transform: scale(1.05);
}

.card.popular:hover {
    transform: scale(1.05) translateY(-8px);
}

.popular-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    background: linear-gradient(135deg, #000000 0%, #000000 100%);
    color: white;
    padding: 8px 16px;
    border-radius: 6px;
    font-size: 10px;
    letter-spacing: 0.5px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.8px;
}

.subscribed-badge {
    position: absolute;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    top: 156px;
    right: 29px;
    background: linear-gradient(135deg, #000000 0%, #000000 100%);
    color: #ffffff;
    border-radius: 50%;
    font-size: 24px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0;
}

.card-header {
    padding: 35px 35px 0px;
    background: linear-gradient(
        180deg,
        rgba(248, 251, 253, 0.5) 0%,
        transparent 100%
    );
}

.card.popular .card-header {
    background: linear-gradient(
        180deg,
        rgba(155, 125, 212, 0.08) 0%,
        transparent 100%
    );
}

.plan-name {
    font-size: 22px;
    font-weight: 800;
    color: #1a1a1a;
    margin-bottom: 12px;
}

.plan-desc {
    font-size: 14px;
    color: #666;
    line-height: 1.6;
    font-weight: 500;
    margin-bottom: 32px;
}

.price-section {
    margin-bottom: 32px;
}

.price {
    font-size: 52px;
    font-weight: 800;
    color: #1a1a1a;
    line-height: 1;
    display: flex;
    align-items: flex-start;
    gap: 4px;
}

.price-inr {
    font-size: 22px;
    font-weight: 800;
    color: #1a1a1a;
    line-height: 1;
    display: flex;
    align-items: flex-start;
    gap: 4px;
}

.price-inr-currency {
    font-size: 22px;
    opacity: 0.6;
}

.pricing-parent {
    display: flex;
    align-items: center;
}

.currency {
    font-size: 32px;
    margin-top: 8px;
    opacity: 0.6;
}

.price-period {
    font-size: 14px;
    color: #999;
    font-weight: 500;
    margin-top: 8px;
}

.card-body {
    padding: 0 40px 48px;
}

.features {
    list-style: none;
    margin-bottom: 40px;
}

.features li {
    padding: 14px 0;
    color: #555;
    font-size: 13px;
    font-weight: 600;
    display: flex;
    align-items: flex-start;
    gap: 14px;
    line-height: 1.6;
}

.features li::before {
    content: "✓";
    color: #00a8a8;
    font-weight: 800;
    font-size: 18px;
    flex-shrink: 0;
    width: 24px;
    height: 24px;
    background: rgba(0, 168, 168, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.card.popular .features li::before {
    background: rgb(0 0 0 / 15%);
    color: #000000;
}

.cta-btn {
    width: 100%;
    padding: 14px 32px;
    border: 0;
    border-radius: 5px;
    font-size: 13px;
    letter-spacing: 0.4px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    background: #000000;
    color: #ffffff;
}

.cta-btn:hover {
    border-color: #b5b4b4;
    transform: translateY(-2px);
}

.cta-btn i {
    margin-right: 5px;
}

.purple-btn {
    background: #3f51b5;
    color: #ffffff;
}

.features-section {
    margin-top: 120px;
    text-align: center;
}

.features-section h2 {
    font-size: 42px;
    font-weight: 800;
    margin-bottom: 20px;
    background: linear-gradient(135deg, #1a1a1a 0%, #4a4a4a 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.features-section p {
    font-size: 18px;
    color: #666;
    margin-bottom: 60px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
}

.feature-item {
    text-align: center;
    padding: 40px 32px;
    background: white;
    border-radius: 20px;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.feature-item:hover {
    transform: translateY(-8px);
    box-shadow: 0 16px 32px rgba(0, 0, 0, 0.08);
    border-color: rgba(0, 168, 168, 0.2);
}

.feature-icon {
    width: 72px;
    height: 72px;
    background: linear-gradient(
        135deg,
        rgba(0, 168, 168, 0.1),
        rgba(155, 125, 212, 0.1)
    );
    border-radius: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 24px;
    font-size: 32px;
    transition: all 0.3s ease;
}

.feature-item:hover .feature-icon {
    transform: scale(1.1) rotate(5deg);
}

.feature-item h3 {
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 12px;
    color: #1a1a1a;
}

.feature-item p {
    font-size: 15px;
    color: #666;
    line-height: 1.7;
}

.faq-section {
    margin-top: 120px;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.faq-section h2 {
    font-size: 42px;
    font-weight: 800;
    text-align: center;
    margin-bottom: 60px;
    background: linear-gradient(135deg, #1a1a1a 0%, #4a4a4a 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.faq-item {
    background: white;
    border-radius: 16px;
    padding: 32px;
    margin-bottom: 20px;
    border: 2px solid transparent;
    transition: all 0.3s ease;
}

.faq-item:hover {
    border-color: rgba(0, 168, 168, 0.2);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.06);
}

.faq-question {
    font-size: 20px;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 12px;
}

.faq-answer {
    font-size: 16px;
    color: #666;
    line-height: 1.7;
}

.cta-section {
    margin-top: 120px;
    text-align: center;
    padding: 80px 40px;
    background: linear-gradient(
        135deg,
        rgba(0, 168, 168, 0.05),
        rgba(155, 125, 212, 0.05)
    );
    border-radius: 32px;
}

.cta-section h2 {
    font-size: 38px;
    font-weight: 800;
    margin-bottom: 16px;
    color: #1a1a1a;
}

.cta-section p {
    font-size: 18px;
    color: #666;
    margin-bottom: 32px;
}

.cta-section button {
    padding: 18px 48px;
    font-size: 17px;
    font-weight: 700;
    background: linear-gradient(135deg, #00a8a8, #9b7dd4);
    color: white;
    border: none;
    border-radius: 14px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 8px 24px rgba(0, 168, 168, 0.3);
}

.cta-section button:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 32px rgba(0, 168, 168, 0.4);
}

/* ////////////////////////////////////////////////////// */

/* Modal Styles */
.modal-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(4px);
    z-index: 1000;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.modal-overlay.active {
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 1;
}

.modal {
    background: white;
    border-radius: 20px;
    padding: 40px;
    max-width: 480px;
    width: 90%;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    transform: scale(0.9) translateY(20px);
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
}

.modal-overlay.active .modal {
    transform: scale(1) translateY(0);
}

.modal-header {
    margin-bottom: 15px;
    text-align: center;
}

.modal-title {
    font-size: 20px;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 15px;
}

.modal-desc {
    font-size: 14px;
    color: #666;
    font-weight: 600;
    line-height: 1.6;
}

.modal-actions {
    display: flex;
    /* gap: 12px; */
    flex-wrap: wrap;
    margin-top: 32px;
}

.modal-btn {
    flex-basis: 100%;
    padding: 12px 24px;
    border-radius: 10px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
}

.modal-btn.primary {
    margin-bottom: 15px;
    background: #000;
    color: white;
}

.modal-btn.primary:hover {
    background: #000000d4;
    transform: translateY(-2px);
}

.modal-btn.secondary {
    background: white;
    color: #666;
    border: 2px solid #e8e8e8;
}

.modal-btn.secondary:hover {
    border-color: #b5b4b4;
}

.loader {
    display: none;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.loader.active {
    display: block;
}

.spinner {
    width: 48px;
    height: 48px;
    border: 4px solid rgba(155, 125, 212, 0.2);
    border-top: 4px solid #9b7dd4;
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

.modal-content {
    transition: opacity 0.3s ease;
}

.modal-content.loading {
    opacity: 0.3;
    pointer-events: none;
}

.mb-20 {
    margin-bottom: 10px;
}

.pt-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
    align-items: flex-start;
}

/* ---------- card ---------- */
.pt-card {
    position: relative;
    background: #fff;
    border: 1px solid #e9ebef;
    border-radius: 20px;
    padding: 28px 26px 26px;
    display: flex;
    flex-direction: column;
    gap: 0;
    overflow: hidden;
    transition:
        box-shadow 0.3s,
        transform 0.3s;
}
.pt-card:hover {
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.08);
    transform: translateY(-4px);
}

/* popular variant */
.pt-card--hot {
    background: #0d0d0d;
    border-color: #0d0d0d;
    transform: translateY(-14px);
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.22);
}
.pt-card--hot:hover {
    transform: translateY(-20px);
    box-shadow: 0 32px 72px rgba(0, 0, 0, 0.28);
}

/* ambient glow inside popular card */
.pt-glow {
    position: absolute;
    top: -60px;
    right: -60px;
    width: 200px;
    height: 200px;
    border-radius: 50%;
    background: radial-gradient(
        circle,
        rgba(99, 197, 197, 0.35) 0%,
        transparent 70%
    );
    pointer-events: none;
}

/* ---------- head ---------- */
.pt-head {
    margin-bottom: 22px;
}

.pt-top-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 8px;
}

.pt-name {
    font-size: 15px;
    font-weight: 700;
    color: #111;
    letter-spacing: -0.2px;
}
.pt-card--hot .pt-name {
    color: #fff;
}

.pt-pill {
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.6px;
    text-transform: uppercase;
    background: #fff;
    color: #0d0d0d;
    padding: 4px 10px;
    border-radius: 100px;
}

.pt-desc {
    font-size: 12px;
    color: #9098a9;
    line-height: 1.55;
    margin-bottom: 20px;
    min-height: 36px;
}
.pt-card--hot .pt-desc {
    color: rgba(255, 255, 255, 0.45);
}

/* price */
.pt-price-row {
    display: flex;
    align-items: flex-end;
    gap: 4px;
    line-height: 1;
    margin-bottom: 4px;
}
.pt-cur {
    font-size: 18px;
    font-weight: 700;
    color: #111;
    opacity: 0.45;
    align-self: flex-start;
    margin-top: 10px;
}
.pt-card--hot .pt-cur {
    color: #fff;
}

.pt-amount {
    font-size: 32px;
    font-weight: 800;
    color: #111;
    letter-spacing: -2px;
    line-height: 1;
}
.pt-card--hot .pt-amount {
    color: #fff;
}

.pt-inr {
    font-size: 13px;
    font-weight: 600;
    color: #aaa;
    margin-bottom: 6px;
    display: flex;
    align-items: center;
    gap: 1px;
}
.pt-card--hot .pt-inr {
    color: rgba(255, 255, 255, 0.35);
}

.pt-inr-sym {
    font-size: 12px;
}

.pt-cycle {
    font-size: 12px;
    color: #b0b8c8;
    font-weight: 500;
}
.pt-card--hot .pt-cycle {
    color: rgba(255, 255, 255, 0.35);
}

/* ---------- separator ---------- */
.pt-feats {
    list-style: none;
    padding: 0;
    margin: 0 0 20px;
    border-top: 1px solid #f0f1f4;
    padding-top: 18px;
    display: flex;
    flex-direction: column;
    gap: 11px;
    flex: 1;
}
.pt-card--hot .pt-feats {
    border-top-color: rgba(255, 255, 255, 0.1);
}

.pt-feat {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 12.5px;
    color: #555e70;
    font-weight: 500;
    line-height: 1.5;
}
.pt-card--hot .pt-feat {
    color: rgba(255, 255, 255, 0.7);
}

.pt-check {
    width: 16px;
    height: 16px;
    flex-shrink: 0;
    color: #22b8b8;
    margin-top: 1px;
}
.pt-card--hot .pt-check {
    color: #63c5c5;
}

/* ---------- active bar ---------- */
.pt-active-bar {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 12px;
    font-weight: 600;
    color: #22b8b8;
    background: rgba(34, 184, 184, 0.08);
    border-radius: 8px;
    padding: 8px 14px;
    margin-bottom: 14px;
}
.pt-card--hot .pt-active-bar {
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
}

/* ---------- buttons ---------- */
.pt-actions {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.pt-btn {
    width: 100%;
    padding: 11px 16px;
    border-radius: 10px;
    font-size: 12.5px;
    font-weight: 700;
    letter-spacing: 0.2px;
    cursor: pointer;
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    transition: all 0.22s;
}

/* Stripe — solid dark */
.pt-btn--stripe {
    background: #111;
    color: #fff;
}
.pt-btn--stripe:hover {
    background: #333;
    transform: translateY(-2px);
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.18);
}
.pt-card--hot .pt-btn--stripe {
    background: #fff;
    color: #111;
}
.pt-card--hot .pt-btn--stripe:hover {
    background: #f0f0f0;
}

/* Razorpay — ghost */
.pt-btn--razorpay {
    background: transparent;
    border: 1.5px solid #e2e4ea;
    color: #444;
}
.pt-btn--razorpay:hover {
    border-color: #111;
    background: #111;
    color: #fff;
    transform: translateY(-2px);
}
.pt-card--hot .pt-btn--razorpay {
    border-color: rgba(255, 255, 255, 0.2);
    color: rgba(255, 255, 255, 0.7);
}
.pt-card--hot .pt-btn--razorpay:hover {
    background: rgba(255, 255, 255, 0.12);
    border-color: rgba(255, 255, 255, 0.4);
    color: #fff;
}

/* ---------- responsive ---------- */
@media (max-width: 1100px) {
    .pt-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .pt-card--hot {
        transform: none;
    }
    .pt-card--hot:hover {
        transform: translateY(-4px);
    }
}
@media (max-width: 580px) {
    .pt-grid {
        grid-template-columns: 1fr;
    }
}
