/* Plans page package redesign. Scoped to .pln so other pages keep their cards. */
section.pln {
    background: #f6f4fb;
    position: relative;
}

section.pln.bg-white {
    background:
        radial-gradient(420px 220px at 0% 18%, rgba(196, 181, 253, 0.35), transparent 70%),
        radial-gradient(380px 200px at 100% 8%, rgba(251, 207, 232, 0.45), transparent 70%),
        linear-gradient(180deg, #f7f5fc 0%, #ffffff 22%, #fbf9ff 100%);
    padding-bottom: 70px;
}

.pln-head {
    text-align: center;
    max-width: 760px;
    margin: 0 auto 28px;
}

.pln-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 32px;
    padding: 0 16px;
    margin-bottom: 16px;
    border-radius: 999px;
    border: 1px solid #c4b5fd;
    background: #ffffff;
    color: #6d28d9;
    font-family: "Montserrat", sans-serif;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.pln-head h3 {
    margin: 0 0 14px;
    color: #1e2433 !important;
    background: none !important;
    font-family: "Montserrat", sans-serif;
    font-size: 46px;
    font-weight: 800;
    line-height: 1.15;
    text-align: center;
    text-transform: none;
}

.pln-head h3 span {
    display: inline-block;
    background: linear-gradient(90deg, #3b82f6 0%, #6366f1 42%, #a855f7 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.pln-head p {
    margin: 0 auto;
    max-width: 640px;
    color: #6b7280 !important;
    font-family: "Montserrat", sans-serif;
    font-size: 15px !important;
    font-weight: 500;
    line-height: 1.7 !important;
}

.pln.portfolio-projects.py80 {
    padding-bottom: 0 !important;
}

.pln-tabs {
    width: 100%;
    max-width: none;
    margin: 8px auto 0;
    padding: 6px;
    border-radius: 999px;
    background: #ffffff;
    box-shadow: 0 10px 30px rgba(88, 60, 140, 0.08);
}

.pln.portfolio-projects .pln-tabs .nav-tabs.projects-tabs {
    display: flex;
    flex-wrap: nowrap;
    align-items: center;
    gap: 4px;
    width: 100%;
    max-width: none;
    margin: 0;
    padding: 0;
    overflow-x: auto;
    overflow-y: hidden;
    background: transparent;
    border: 0;
    border-radius: 999px;
    box-shadow: none;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
    touch-action: pan-x;
    overscroll-behavior-x: contain;
    cursor: grab;
}

.pln.portfolio-projects .pln-tabs .nav-tabs.projects-tabs::-webkit-scrollbar {
    display: none;
}

.pln.portfolio-projects .pln-tabs .nav-tabs.projects-tabs.is-dragging {
    cursor: grabbing;
    user-select: none;
}

.pln.portfolio-projects .nav-tabs.projects-tabs > li,
.pln.portfolio-projects .nav-tabs.projects-tabs > .nav-item {
    float: none;
    display: block;
    flex: 0 0 auto;
    margin: 0;
}

.pln.portfolio-projects .nav-tabs .nav-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    border: 0 !important;
    border-radius: 999px !important;
    background: transparent !important;
    color: #4b5563 !important;
    font-family: "Montserrat", sans-serif;
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 0;
    line-height: 1;
    text-transform: none;
    white-space: nowrap;
    padding: 12px 16px;
}

.pln.portfolio-projects .nav-tabs .nav-link svg {
    flex: 0 0 auto;
}

.pln.portfolio-projects .nav-tabs .nav-link.active,
.pln.portfolio-projects .nav-tabs .nav-link:hover {
    background: linear-gradient(90deg, #7c3aed 0%, #c026d3 55%, #e879f9 100%) !important;
    color: #ffffff !important;
}

.pln .tab-slide,
.pln .tab-slide.pb-5 {
    background: transparent;
    min-height: 0;
    margin: 0 !important;
    padding: 6px 0 0 !important;
}

.pln .tab-slide > .container,
.pln .container.prot {
    width: 100%;
}

.pln .tab-slide .row {
    align-items: center;
}

.pln .tab-slide h2 {
    margin: 0 0 14px;
    color: #1e2433 !important;
    font-family: "Montserrat", sans-serif;
    font-size: 40px;
    font-weight: 800;
    line-height: 1.15;
    text-align: left !important;
}

.pln .tab-slide h2 span.rd {
    background: linear-gradient(90deg, #6366f1 0%, #a855f7 55%, #d946ef 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent !important;
}

.pln .tab-slide p {
    max-width: 460px;
    margin-bottom: 22px;
    color: #6b7280 !important;
    font-size: 15px;
    line-height: 1.7;
}

.pln .tab-slide .ybtn {
    width: auto !important;
    max-width: none !important;
}

.pln .tab-slide .slide-img {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    height: auto;
    text-align: right;
}

.pln .tab-slide .slide-img img {
    position: static !important;
    top: auto !important;
    right: auto !important;
    bottom: auto !important;
    left: auto !important;
    display: block;
    width: auto !important;
    max-width: 100% !important;
    max-height: 340px !important;
    height: auto !important;
    object-fit: contain;
}

.pln .prot .col-lg-4,
.pln.prot > .row > [class*="col-"] {
    display: flex;
    padding-left: 14px !important;
    padding-right: 14px !important;
}

.pln .price-call-button {
    position: static;
    left: auto;
    bottom: auto;
    width: 100%;
    margin-top: auto;
}

.pln .pricingTable {
    display: flex;
    flex-direction: column;
    width: 100%;
    height: auto;
    margin: 8px 0 12px;
    padding: 10px 10px 24px;
    background: #ffffff !important;
    border: 1px solid #efeaf8;
    border-radius: 28px;
    box-shadow: 0 18px 40px rgba(76, 48, 128, 0.07);
    overflow: visible;
    text-align: center;
}

.pln .pricingTable:hover {
    box-shadow: 0 22px 46px rgba(76, 48, 128, 0.12);
}

.pln .pricingTable .pricingTable-header {
    position: relative;
    z-index: 1;
    margin: 0;
    padding: 26px 16px 76px !important;
    overflow: hidden;
    border-radius: 22px 22px 50% 50% / 22px 22px 40px 40px;
    background:
        radial-gradient(90% 70% at 50% 0%, rgba(255, 255, 255, 0.28), transparent 58%),
        linear-gradient(168deg, #3ed0cb 0%, #1497c4 42%, #0c4d86 100%) !important;
    clip-path: none !important;
    -webkit-clip-path: none !important;
    text-align: center;
}

.pln .pricingTable .pricingTable-header:before,
.pln .pricingTable .pricingTable-signup:before,
.pln .price-value-2,
.pln .pricingTable-header > img {
    display: none !important;
}

.pln .pricingTable h3.title {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    gap: 10px;
    min-height: 0;
    margin: 0 !important;
    padding: 0 6px;
    border-radius: 0;
    background: none !important;
    color: #ffffff !important;
    font-family: "Montserrat", sans-serif;
    font-size: 22px;
    font-weight: 800;
    line-height: 1.25;
    text-align: center;
    text-transform: none;
}

.pln .pricingTable h3.title::before {
    content: "";
    width: 36px;
    height: 36px;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='1.7'%3E%3Cpath d='M12 3.5l7.5 4.2v8.6L12 20.5l-7.5-4.2V7.7L12 3.5z'/%3E%3Cpath d='M12 12l7.5-4.2M12 12v8.5M12 12L4.5 7.8'/%3E%3Ccircle cx='18.5' cy='4.2' r='1.5' fill='white' stroke='none'/%3E%3C/svg%3E") center / 34px no-repeat;
}

.pln .row > [class*="col-"]:nth-child(2) .pricingTable {
    position: relative;
    border: 2px solid transparent;
    background:
        linear-gradient(#ffffff, #ffffff) padding-box,
        linear-gradient(180deg, #fb923c, #ec4899) border-box !important;
}

.pln .row > [class*="col-"]:nth-child(2) .pricingTable::before {
    content: "Most Popular";
    position: absolute;
    top: -13px;
    left: 50%;
    z-index: 4;
    transform: translateX(-50%);
    padding: 7px 14px 7px 30px;
    border-radius: 999px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='white'%3E%3Cpath d='M3 8l4 3 5-7 5 7 4-3-2 11H5L3 8z'/%3E%3C/svg%3E"), linear-gradient(90deg, #ff8a4c 0%, #ff4d8d 100%);
    background-repeat: no-repeat, no-repeat;
    background-position: 11px center, 0 0;
    background-size: 13px 13px, 100% 100%;
    color: #ffffff;
    font-family: "Montserrat", sans-serif;
    font-size: 12px;
    font-weight: 700;
    line-height: 1;
    white-space: nowrap;
    box-shadow: 0 8px 16px rgba(255, 77, 141, 0.28);
}

.pln .row > [class*="col-"]:nth-child(2) .pricingTable .pricingTable-header {
    background:
        radial-gradient(90% 70% at 50% 0%, rgba(255, 255, 255, 0.35), transparent 55%),
        linear-gradient(168deg, #ffb25a 0%, #ff6a3d 38%, #ff3d78 100%) !important;
}

.pln .row > [class*="col-"]:nth-child(2) .pricingTable h3.title::before {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='1.7'%3E%3Cpath d='M4 8l8-4 8 4-8 4-8-4z'/%3E%3Cpath d='M4 12l8 4 8-4'/%3E%3Cpath d='M4 16l8 4 8-4'/%3E%3C/svg%3E");
}

.pln .row > [class*="col-"]:nth-child(3) .pricingTable .pricingTable-header {
    background:
        radial-gradient(90% 70% at 50% 0%, rgba(255, 255, 255, 0.2), transparent 55%),
        linear-gradient(168deg, #1aa3b8 0%, #0e6f99 40%, #0a3358 100%) !important;
}

.pln .row > [class*="col-"]:nth-child(3) .pricingTable h3.title::before {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='1.7'%3E%3Ccircle cx='9' cy='20' r='1.2' fill='white'/%3E%3Ccircle cx='17' cy='20' r='1.2' fill='white'/%3E%3Cpath d='M3 4h2l2.2 11h11.2l1.8-7H7'/%3E%3Ccircle cx='19.2' cy='5' r='1.5' fill='white' stroke='none'/%3E%3C/svg%3E");
}

.pln .pricingTable .pricingTable-header p {
    margin: 10px 10px 0 !important;
    color: rgba(255, 255, 255, 0.94) !important;
    font-family: "Montserrat", sans-serif;
    font-size: 13.5px;
    font-weight: 500;
    line-height: 1.45;
    text-align: center;
}

.pln .pricingTable .position-relative {
    position: relative !important;
    z-index: 3;
}

.pln .price-value {
    position: relative !important;
    left: auto !important;
    top: auto !important;
    display: flex !important;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 118px !important;
    height: 118px !important;
    margin: -64px auto 10px !important;
    padding: 0;
    border: 0 !important;
    border-radius: 50% !important;
    background: #ffffff !important;
    box-shadow: 0 10px 24px rgba(15, 23, 42, 0.12);
    color: #16181d;
    font-family: "Montserrat", sans-serif;
    font-size: 28px;
    font-weight: 800;
    line-height: 1;
    z-index: 3;
}

.pln .price-value .start {
    margin-bottom: 4px;
    color: #9aa3b2;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.01em;
}

.pln .price-value.custom {
    font-size: 16px;
    line-height: 1.25;
    text-align: center;
    padding: 0 14px;
}

.pln .pricingTable .pricing-content.pt-5 {
    padding-top: 8px !important;
}

.pln .row > [class*="col-"]:nth-child(2) .price-value {
    color: #f43f5e;
}

.pln .pricingTable .pricing-content {
    margin: 8px 0 0;
    padding: 8px 18px 0;
    text-align: left;
}

.pln .pricingTable .pricing-content li {
    align-items: flex-start !important;
    margin-bottom: 10px !important;
}

.pln .pricingTable h6 {
    color: #111827 !important;
    font-family: "Montserrat", sans-serif;
    font-size: 14px;
    font-weight: 700;
    text-align: left !important;
}

.pln .pricingTable .pricing-content .offer {
    color: #374151;
    font-family: "Montserrat", sans-serif;
    font-size: 14px;
    line-height: 1.45;
}

.pln .pricingTable .tick {
    flex: 0 0 18px;
    width: 18px;
    margin-top: 1px;
}

.pln .pricingTable .pricing-content li i {
    color: #0f766e !important;
    font-size: 13px;
}

.pln .row > [class*="col-"]:nth-child(2) .pricingTable .pricing-content li i {
    color: #e11d48 !important;
}

.pln .row > [class*="col-"]:nth-child(3) .pricingTable .pricing-content li i {
    color: #0e6794 !important;
}

.pln .pricingTable .pricingTable-signup {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: calc(100% - 36px);
    height: 48px;
    margin: 16px 18px 0;
    padding: 0 18px;
    border: 1.5px solid #14b8a6;
    border-radius: 999px;
    background: #ffffff !important;
    color: #0f766e !important;
    font-family: "Montserrat", sans-serif;
    font-size: 15px;
    font-weight: 700;
    letter-spacing: 0;
    text-decoration: none;
}

.pln .pricingTable .pricingTable-signup:hover,
.pln .pricingTable .pricingTable-signup:focus {
    letter-spacing: 0;
    box-shadow: none;
    background: #f0fdfa !important;
    color: #0f766e !important;
    text-decoration: none;
}

.pln .row > [class*="col-"]:nth-child(2) .pricingTable .pricingTable-signup {
    border-color: #fb7185;
    color: #e11d48 !important;
}

.pln .row > [class*="col-"]:nth-child(2) .pricingTable .pricingTable-signup:hover,
.pln .row > [class*="col-"]:nth-child(2) .pricingTable .pricingTable-signup:focus {
    background: #fff1f2 !important;
    color: #e11d48 !important;
}

.pln .row > [class*="col-"]:nth-child(3) .pricingTable .pricingTable-signup {
    border-color: #0e6794;
    color: #0e6794 !important;
}

.pln .row > [class*="col-"]:nth-child(3) .pricingTable .pricingTable-signup:hover,
.pln .row > [class*="col-"]:nth-child(3) .pricingTable .pricingTable-signup:focus {
    background: #f0f9ff !important;
    color: #0e6794 !important;
}

@media (max-width: 991px) {
    .pln .tab-slide .col-lg-6.order-2 {
        order: 1 !important;
    }

    .pln .tab-slide .col-md-6.order-1 {
        order: 2 !important;
    }

    .pln-head h3 {
        font-size: 34px;
    }

    .pln .tab-slide h2 {
        font-size: 30px;
        text-align: center !important;
    }

    .pln .tab-slide p {
        margin-left: auto;
        margin-right: auto;
        text-align: center;
    }

    .pln .tab-slide .form-group {
        text-align: center;
    }

    .pln-tabs {
        border-radius: 18px;
    }
}

@media (max-width: 767px) {
    .pln-head h3 {
        font-size: 28px;
    }

    .pln .tab-slide {
        padding-top: 12px !important;
    }

    .pln .pricingTable h3.title {
        font-size: 20px;
    }
}
