/* #region common */
.pricing-page {
    font-family: Inter, Arial, sans-serif;
    font-size: 16px;
    line-height: 1.5;
    color: #1F1F1F;
    position: relative;
    background: url(/sites/amis/images/pages/agw-pricing-page/bg-page.webp) no-repeat center top / cover;
}

.pricing-page>.container {
    position: relative;
    z-index: 1;
}

.pricing-page h1,
.pricing-page h2,
.pricing-page h3,
.pricing-page h4 {
    margin: 0;
}

.pricing-page .container {
    width: 100%;
    max-width: 1310px;
}

.nowrap {
    white-space: nowrap;
}

.play-video-item {
    cursor: pointer;
}

.p-title {
    padding-bottom: 12px;
}

.text-center {
    text-align: center;
}

.text-semibold {
    font-family: Inter SemiBold;
}

.text-bold {
    font-family: Inter Bold;
}

.default-subtitle {
    font-size: 20px;
    color: #535862;
}

.check-item {
    background: url(/sites/amis/images/pages/pricing-page/ic-check.svg) no-repeat top left;
    background-size: 24px;
    padding-left: 32px;
    text-align: start;
    letter-spacing: -0.2px;
    color: #535862;
}

.cta-group {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
    gap: 16px;
}

.justify-center {
    justify-content: center;
}

a.base-btn {
    position: relative;
    font-family: Inter SemiBold;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 4px;
    border-radius: 12px;
    transition: all ease 0.5s;
}

a.primary-btn {
    background: linear-gradient(68.25deg, #1B49F5 0%, #5993FF 131.14%);
    padding: 14px 26px;
    color: #FFF;
}

a.second-btn {
    border: 2px solid transparent;
    padding: 12px 24px;
    background: linear-gradient(#FFF, #FFF) padding-box, linear-gradient(86.1deg, #1B49F5 0%, #5993FF 152.28%) border-box;
    color: #1B49F5;
}

a.arrow-btn img {
    transform: translateX(0px);
    transition: transform 0.3s ease;
}

a.arrow-btn:hover img {
    transform: translateX(4px);
}

a.shadow-btn {
    opacity: 1 !important;
}

.shadow-btn::before {
    content: "";
    position: absolute;
    inset: -2px;
    border-radius: 12px;
    background: linear-gradient(90deg,
            #ff6ec4,
            #7873f5,
            #22d3ee,
            #4ade80,
            #ff6ec4);
    background-size: 300% 300%;
    z-index: -1;
    opacity: 0;
    filter: blur(12px);
    transition: opacity 0.3s ease;
}

.shadow-btn:hover::before {
    opacity: 1;
    animation: shadowMove 4s linear infinite;
}

.border-btn:hover {
    background:
        linear-gradient(white, white) padding-box,
        linear-gradient(90deg,
            #ff6ec4,
            #7873f5,
            #4ade80,
            #22d3ee,
            #ff6ec4) border-box;
    background-size: 200% 200%;
    animation: borderMove 3s linear infinite;
}

.play-btn {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 48px;
    height: 48px;
    border-radius: 100%;
    z-index: 2;
}

.bg-play-btn {
    position: absolute;
    z-index: -1;
    width: 100%;
    height: 100%;
    border-radius: 100%;
    background: #5576FF;
    animation: pulse 1.2s ease infinite;
}

@keyframes pulse {
    0% {
        transform: scale(1, 1);
    }

    50% {
        opacity: 0.3;
    }

    100% {
        transform: scale(1.5);
        opacity: 0;
    }
}

@keyframes borderMove {
    0% {
        background-position: 0% 50%;
    }

    100% {
        background-position: 200% 50%;
    }
}

@keyframes shadowMove {
    0% {
        background-position: 0% 50%;
    }

    100% {
        background-position: 300% 50%;
    }
}

@media (max-width: 979px) {
    .default-subtitle {
        font-size: 18px;
    }
}

@media (max-width: 767px) {

    .default-subtitle {
        font-size: 16px;
    }

    .cta-group {
        display: grid;
    }

    .play-btn {
        width: 36px;
        height: 36px;
    }
}

/* #endregion */

/* #region pricing section */
.pricing-section {
    padding: 96px 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 32px;
}

.pricing-head {
    max-width: 1280px;
    text-align: center;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.pricing-title {
    font-family: Inter Bold;
    font-size: 32px;
    line-height: 40px;
    letter-spacing: -0.2px;
    color: #1F1F1F;
}

.pricing-subtitle {
    font-size: 20px;
    line-height: 28px;
    color: #535862;
}

.pricing-tabs {
    display: flex;
    align-items: center;
    padding: 8px;
    border-radius: 9999px;
    background: #F5F5F5;
    backdrop-filter: blur(12px);
    margin: 8px;
}

.pricing-tab {
    font-family: Inter SemiBold;
    font-size: 16px;
    line-height: 24px;
    letter-spacing: -0.2px;
    color: #181D27;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 12px 24px;
    border-radius: 9999px;
    transition: background 0.3s ease, color 0.3s ease;
}

.pricing-tab.active {
    background: #FFF;
}

.pricing-tab.active span {
    background-image: linear-gradient(101.67deg, #1B49F5 0%, #2662FF 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: transparent;
}

.pricing-panel {
    display: none;
    width: 100%;
}

.pricing-panel.active {
    display: block;
}

.pricing-cards {
    display: flex;
    align-items: stretch;
    gap: 30px;
    width: 100%;
    max-width: 1280px;
    margin: 0 auto;
}

.pricing-card {
    position: relative;
    z-index: 1;
    flex: 1 0 0;
    min-width: 0;
    display: flex;
    flex-direction: column;
    background: #FFF;
    border: 2px solid #D9E6FF;
    border-radius: 24px;
    box-shadow: 0px 6px 20px 0px rgba(116, 135, 255, 0.03), 0px 3px 6px 0px rgba(10, 27, 137, 0.03);
}

.pricing-card-head {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    padding: 32px 24px 24px;
    text-align: center;
}

.pricing-card-plan {
    font-family: Inter SemiBold;
    font-size: 20px;
    line-height: 28px;
    color: #252B37;
}

.pricing-card-price {
    font-family: Inter Bold;
    font-size: 32px;
    line-height: 40px;
    letter-spacing: -0.2px;
    color: #252B37;
}

.pricing-card-unit {
    font-family: Inter Medium;
    font-size: 16px;
    line-height: 24px;
    letter-spacing: -0.2px;
    color: #535862;
}

.pricing-card-btn.base-btn {
    margin: 0 24px;
    height: 52px;
}

.pricing-card-featured .pricing-card-btn img {
    filter: brightness(0) invert(1);
}

.pricing-card-body {
    display: flex;
    flex-direction: column;
    gap: 16px;
    padding: 24px 24px 32px;
}

.pricing-check {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    font-size: 16px;
    line-height: 24px;
    letter-spacing: -0.2px;
    color: #535862;
}

.pricing-check img {
    flex: none;
    width: 24px;
    height: 24px;
}

.pricing-tag {
    position: absolute;
    top: -4px;
    right: -5.6px;
    width: 113px;
    height: 104px;
    z-index: 2;
}

.pricing-tag img {
    display: block;
    width: 100%;
    height: 100%;
}

.pricing-cta {
    display: flex;
    justify-content: center;
}

.pricing-quote-btn.base-btn {
    height: 52px;
    padding: 12px 24px;
}

@media (max-width: 1279px) {
    .pricing-cards {
        flex-wrap: wrap;
    }

    .pricing-card {
        flex: 1 1 calc(33.333% - 22px);
        min-width: 260px;
    }
}

@media (max-width: 979px) {
    .pricing-section {
        padding: 64px 0;
    }

    .pricing-card {
        flex: 1 1 calc(50% - 16px);
    }
}

@media (max-width: 767px) {
    .pricing-title {
        font-size: 24px;
        line-height: 32px;
    }

    .pricing-tabs {
        width: 100%;
        justify-content: center;
    }

    .pricing-tab {
        flex: 1;
        text-align: center;
        padding: 12px;
    }

    .pricing-cards {
        flex-direction: column;
    }

    .pricing-card {
        flex: 1 1 100%;
        width: 100%;
    }

    .pricing-card-check br {
        display: none;
    }
}

/* #endregion */