/* Pricing Page Styles */

/* Hero Section */
.pricing-hero {
    /* background: #F6F8FF; */
    padding: 80px 0;
    text-align: center;
    padding-bottom: 0;
}

.hero-content {
    /* max-width: 800px; */
    margin: 0 auto;
}

.hero-title {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    font-size: 48px;
    line-height: 1.4;
    color: #0C0D13;
    margin-bottom: 30px;
    text-transform: uppercase;
    margin-top: 100px;
}

.hero-subtitle {
    font-family: 'Montserrat', sans-serif;
    font-weight: 400;
    font-size: 16px;
    line-height: 1.4;
    color: #0C0D13;
    margin-bottom: 30px;
}

.plan-toggle {
    display: flex;
    justify-content: center;
}

.toggle-container {
    display: flex;
    border: 1px solid #0C0D13;
    border-radius: 40px;
    padding: 4px;
    gap: 0;
}

.toggle-option {
    padding: 16px 40px;
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
    font-size: 18px;
    line-height: 1.5;
    color: #0C0D13;
    background: transparent;
    border: none;
    border-radius: 30px;
    cursor: pointer;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.toggle-option.active {
    background: #0C0D13;
    color: #FFFFFF;
}

.toggle-option:hover:not(.active) {
}

/* Pricing Plans Section */
.pricing-plans {
    padding: 80px 0;
    /* background: #FFFFFF; */
}

.plans-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(224px, 1fr));
    gap: 20px;
    max-width: 1300px;
    margin: 0 auto;
    padding: 0 20px;
}

.plan-card {
    background: #FFFFFF;
    border-radius: 12px;
    padding: 20px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    border: 1px solid #EEF1F7;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
    height: auto;
    min-height: 500px;
}

.plan-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(63, 98, 255, 0.15);
}

.plan-header {
    margin-bottom: 20px;
}

.plan-name {
    font-family: 'Montserrat', sans-serif;
    font-weight: 500;
    font-size: 16px;
    line-height: 1.2;
    color: #0C0D13;
    margin-bottom: 14px;
}

.plan-description {
    font-family: 'Montserrat', sans-serif;
    font-weight: 300;
    font-size: 13px;
    line-height: 1.2;
    color: #8687A2;
    margin: 0;
}

.plan-price {
    display: flex;
    align-items: center;
    gap: 4px;
    margin-bottom: 20px;
}

.currency {
    font-family: 'Montserrat', sans-serif;
    font-weight: 400;
    font-size: 16px;
    color: #0C0D13;
}

.price-number {
    font-family: 'Montserrat', sans-serif;
    font-weight: 500;
    font-size: 30px;
    line-height: 1.1;
    color: #0C0D13;
}

.price-text {
    font-family: 'Montserrat', sans-serif;
    font-weight: 500;
    font-size: 30px;
    line-height: 1.1;
    color: #0C0D13;
}

.price-period {
    font-family: 'Montserrat', sans-serif;
    font-weight: 400;
    font-size: 13px;
    color: #0C0D13;
}

.plan-cta {
    margin-bottom: 20px;
}

.btn-trial,
.btn-buy {
    width: 100%;
    padding: 8px 30px;
    border: none;
    border-radius: 30px;
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
    font-size: 14px;
    line-height: 1.9;
    cursor: pointer;
    transition: all 0.3s ease;
    text-align: center;
}

.btn-trial {
    background: #3F62FF;
    color: #FFFFFF;
}

.btn-buy {
    background: #3F62FF;
    color: #FFFFFF;
}

.btn-trial:hover,
.btn-buy:hover {
    background: #2A4FFF;
    transform: translateY(-1px);
}

.plan-badge {
    background: #F2F4FB;
    border-radius: 4px;
    padding: 4px 8px;
    margin-bottom: 20px;
    text-align: center;
}

.plan-badge span {
    font-family: 'PingFang SC', sans-serif;
    font-weight: 500;
    font-size: 12px;
    line-height: 1.6;
    color: #0C0D13;
}

.plan-features {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 4px;
    padding: 4px 0;
}

.feature-icon {
    width: 13px;
    height: 13px;
    background: #EFF2FF;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 8px;
    color: #3F62FF;
    font-weight: bold;
    flex-shrink: 0;
}

.feature-text {
    font-family: 'PingFang SC', sans-serif;
    font-weight: 400;
    font-size: 12px;
    line-height: 1.6;
    color: #5C5D61;
}

/* Comparison Section */
.comparison-section {
    background: #FFFFFF;
    padding: 80px 0;
    border-top: 1px solid #EEF1F7;
}

.comparison-container {
    max-width: 1300px;
    margin: 0 auto;
}

.comparison-title {
    font-family: 'PingFang SC', sans-serif;
    font-weight: 600;
    font-size: 32px;
    line-height: 1.4;
    text-align: center;
    color: #0C0D13;
    margin-bottom: 80px;
    
}

.comparison-subtitle {
    font-family: 'PingFang SC', sans-serif;
    font-weight: 400;
    font-size: 16px;
    line-height: 1.6;
    text-align: center;
    color: #5C5D61;
    margin-bottom: 50px;
}

.comparison-table-wrapper {
    width: 100%;
    overflow-x: auto;
    border: 1px solid #EEF1F7;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    margin-bottom: 40px;
}

.comparison-table {
    width: 100%;
    min-width: 800px;
    border-collapse: collapse;
    display: table;
    animation: none;
}

.table-header .header-row {
    display: flex;
    align-items: stretch;
    background: #F7F9FF;
    border-bottom: 1px solid #EEF1F7;
}
.comparison-table-wrapper.sticky .comparison-table {
    animation: none;
}
.comparison-table-wrapper.sticky .header-row {
    position: fixed;
    top: 70px;
    left: 50%;
    transform: translate(-50%);
    right: 0;
    z-index: 100;
    overflow: auto;
}


.table-header .header-cell.plan-cell {
    /* min-width: 0; */
}





.header-cell {
    padding: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'PingFang SC', sans-serif;
    font-weight: 600;
    font-size: 14px;
    color: #0C0D13;
    border-right: 1px solid #EEF1F7;
}

.header-cell:last-child {
    border-right: none;
}

.header-cell.feature-cell {
    flex: 0 0 160px;
    justify-content: flex-start;
    background: #FFFFFF;
    border: none;
}

.header-cell.plan-cell {
    flex: 1;
    min-width: 120px;
}

.table-body .feature-row {
    display: flex;
    align-items: stretch;
    border-bottom: 1px solid #EEF1F7;
}

.table-body .feature-row:last-child {
    border-bottom: none;
}

.table-body .feature-cell {
    flex: 0 0 160px;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    background: #FFFFFF;
    border-right: 1px solid #EEF1F7;
    min-height: 50px;
    box-shadow: none;
    border: none;
}

.table-body .plan-cell {
    flex: 1;
    min-width: 120px;
    padding: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-right: 1px solid #EEF1F7;
    min-height: 50px;
}

.table-body .plan-cell:last-child {
    border-right: none;
}

.table-body .text-cell {
    font-family: 'PingFang SC', sans-serif;
    font-weight: 400;
    font-size: 14px;
    line-height: 1.4;
    color: #0C0D13;
    background: #F7F9FF;
    border: none;
}

.table-body .text-cell.highlighted {
    background: #F1F6FF;
}

.table-body .icon-cell {
    background: #F7F9FF;
}

.table-body .icon-cell.highlighted {
    background: #F1F6FF;
    font-family: 'PingFang SC', sans-serif;
    font-weight: 400;
    font-size: 14px;
    color: #0C0D13;
}

.comparison-cta {
    text-align: center;
    padding: 30px 20px;
    background: #F6F8FF;
    border-radius: 8px;
}

.cta-text {
    font-family: 'PingFang SC', sans-serif;
    font-weight: 400;
    font-size: 16px;
    color: #5C5D61;
    margin-bottom: 20px;
}

.cta-btn {
    display: inline-block;
    padding: 12px 30px;
    background: #3F62FF;
    color: #FFFFFF;
    text-decoration: none;
    border-radius: 6px;
    font-family: 'PingFang SC', sans-serif;
    font-weight: 600;
    font-size: 14px;
    transition: all 0.3s ease;
}

.cta-btn:hover {
    background: #2A4FFF;
    transform: translateY(-1px);
}

/* FAQ Section */
.faq-section {
    background: #F6F8FF;
    padding: 100px 0;
}

.faq-title {
    font-family: 'PingFang SC', sans-serif;
    font-weight: 600;
    font-size: 42px;
    line-height: 1.4;
    text-align: center;
    color: #0C0D13;
    margin-bottom: 60px;
}

.faq-container {
    max-width: 1300px;
    margin: 0 auto;
}

.faq-item {
    border-bottom: 1px solid #EEF1F7;
    padding: 30px 0;
    transition: all 0.3s ease;
}

.faq-item:first-child {
    border-top: 1px solid #EEF1F7;
}

.faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    gap: 20px;
}

.question-content {
    display: flex;
    align-items: center;
    gap: 6px;
    flex: 1;
}

.question-icon {
    width: 24px;
    height: 24px;
    background: #FFFFFF;
    /* border-radius: 50%; */
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    font-weight: bold;
    color: #3F60FF;
    flex-shrink: 0;
}

.question-text {
    font-family: 'PingFang MO', sans-serif;
    font-weight: 500;
    font-size: 18px;
    line-height: 1.4;
    color: #0C0D13;
}

.chevron-down {
    background: #F1F3FC;
    border-radius: 27px;
    padding: 7.2px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s ease;
    flex-shrink: 0;
}

.chevron-down svg {
    width: 21.6px;
    height: 21.6px;
    color: #000000;
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
    padding-left: 30px;
}

.faq-answer p {
    font-family: 'PingFang SC', sans-serif;
    font-weight: 400;
    font-size: 14px;
    line-height: 1.4;
    color: #5C5D61;
    margin: 20px 0 0 0;
    padding: 0;
}

.faq-item.active .faq-answer {
    padding-top: 10px;
}

.feature-item .feature-icon {
    background-image: url(../images/new/icon_check.svg);
    width: 13px;
    height: 13px;
    transform: translate(0, 3px);
}

.isenglish .colorlib-nav .top-menu .change_language .current_lang {
    color: #000;
    font-family: "PingFang SC";
    font-size: 14px;
    font-style: normal;
    font-weight: 400;
    line-height: normal;
}
.isenglish .colorlib-nav .top-menu .console_login {
    border: 1px solid #3F62FF;
    color: #3F62FF;
}
.isenglish .colorlib-nav .top-menu .console_login:hover {
    background-color: transparent;
}
.plan-btn {
    width: auto!important;
}

/* Responsive Design */

/* Desktop Large (>1340px) - Default styles above */

/* Desktop Medium (≤1340px) */
@media (max-width: 1340px) {
    .pricing-hero {
        padding: 60px 0;
    }
    
    .hero-title {
        font-size: 42px;
    }
    
    .pricing-plans {
        padding: 60px 0;
    }
    
    .plans-container {
        grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
        gap: 15px;
        padding: 0 15px;
    }
    
    .plan-card {
        min-height: 480px;
        padding: 18px;
    }
    
    .faq-section {
        padding: 80px 0;
    }
    
    .faq-title {
        font-size: 38px;
        margin-bottom: 50px;
    }
}


/* Additional utility classes */
.text-center {
    text-align: center;
}

.mb-0 {
    margin-bottom: 0 !important;
}

.mt-0 {
    margin-top: 0 !important;
}

/* Animation for smooth transitions */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}



.plan-card:nth-child(1) {
    animation-delay: 0.1s;
}

.plan-card:nth-child(2) {
    animation-delay: 0.2s;
}

.plan-card:nth-child(3) {
    animation-delay: 0.3s;
}

.plan-card:nth-child(4) {
    animation-delay: 0.4s;
}

.plan-card:nth-child(5) {
    animation-delay: 0.5s;
}
.isenglish .colorlib-nav .top-menu .change_language .icon {
    background-image: url(../images/new/icon-select2.png);
}
.isenglish .payasyougo-plans  {
    max-width: 820px;
}
/* Focus states for accessibility */
.toggle-option:focus,
.btn-trial:focus,
.btn-buy:focus,
.faq-question:focus {
    outline: 2px solid #3F62FF;
    outline-offset: 2px;
}

/* Print styles */
@media print {
    .faq-answer {
        max-height: none !important;
    }
    
    .chevron-down {
        display: none;
    }
}
@media screen and (min-width: 1340px) {
    .isenglish .auto_content {
        width: 1300px;
    }
}
@media screen and (max-width: 1340px) {
    .plans-container.subscription-plans {
        display: flex;
        padding: 0;
    }
    .plans-container.subscription-plans .plan-card {
        flex: 1;
    }
    .isenglish .auto_content {
        width: calc(100vw - 40px);
    }
    .auto_content .comparison-container {
        max-width: none;
        padding: 0;
    }
}

/* Tablet (≤1220px) */
@media (max-width: 1220px) {
    .plans-container.subscription-plans {
        display: flex;
        padding: 0;
    }
    .plans-container.subscription-plans .plan-card {
        flex: 1;
        min-width: 0;
    }
    .hero-title {
        font-size: 36px;
    }
    
    .hero-subtitle {
        font-size: 15px;
    }
    
    .toggle-option {
        padding: 12px 30px;
        font-size: 16px;
    }
    
    .plans-container {
        grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
        gap: 12px;
    }
    
    .plan-card {
        min-height: 460px;
        padding: 16px;
    }
    
    .plan-name {
        font-size: 15px;
    }
    
    .plan-description {
        font-size: 12px;
    }
    
    .price-number,
    .price-text {
        font-size: 26px;
    }
    
    .feature-text {
        font-size: 11px;
    }
    
    .faq-title {
        font-size: 32px;
        margin-bottom: 40px;
    }
    
    .question-text {
        font-size: 16px;
    }
    
    .faq-answer p {
        font-size: 13px;
    }
}

/* Mobile Large (≤1000px) */
@media (max-width: 960px) {
    .auto_content {
        width: calc(100vw - 40px);
    }
    .pricing-hero {
        padding: 40px 0;
    }
    
    .hero-title {
        font-size: 28px;
        margin-bottom: 15px;
    }
    
    .hero-subtitle {
        font-size: 14px;
        margin-bottom: 30px;
    }
    
    .toggle-container {
        /* flex-direction: column;
        width: 100%;
        max-width: 300px;
        margin: 0 auto; */
    }
    
    .toggle-option {
        padding: 10px 20px;
        font-size: 14px;
        border-radius: 20px;
    }
    
    .pricing-plans {
        padding: 40px 0;
    }
    
    .plans-container {
        grid-template-columns: 1fr;
        gap: 15px;
        margin: 0 auto;
        padding: 0 20px;
    }
    
    .plan-card {
        min-height: auto;
        padding: 20px;
        max-width: none;
    }
    
    .plan-name {
        font-size: 16px;
        margin-bottom: 12px;
    }
    
    .plan-description {
        font-size: 13px;
    }
    
    .price-number,
    .price-text {
        font-size: 30px;
    }
    
    .currency {
        font-size: 16px;
    }
    
    .price-period {
        font-size: 13px;
    }
    
    .feature-text {
        font-size: 12px;
    }
    
    .faq-section {
        padding: 60px 0;
    }
    
    .faq-title {
        font-size: 28px;
        margin-bottom: 30px;
    }
    
    .faq-item {
        padding: 25px 0;
    }
    
    .question-text {
        font-size: 15px;
    }
    
    .question-icon {
        width: 20px;
        height: 20px;
        font-size: 12px;
    }
    
    .chevron-down {
        padding: 6px;
    }
    
    .chevron-down svg {
        width: 18px;
        height: 18px;
    }
    
    .faq-answer {
        padding-left: 26px;
    }
    
    .faq-answer p {
        font-size: 13px;
    }
    .plans-container.subscription-plans {
        flex-wrap: wrap;
    }
    .plans-container.subscription-plans .plan-card {
        flex: none;
        width: calc(33vw - 63px);
    }
}

/* Mobile Small (≤768px) */
@media (max-width: 768px) {
    .plans-container.subscription-plans {
        flex-wrap: wrap;
    }
    .plans-container.subscription-plans .plan-card {
        flex: none;
        width: 100%;
        box-sizing: border-box;
    }
    .plans-container {
        max-width: none;
        margin: 0;
    }
    .auto_content {
        /* padding: 0 20px; */
    }
    
    .hero-title {
        font-size: 24px;
    }
    
    .hero-subtitle {
        font-size: 13px;
    }
    
    .plans-container {
        padding: 0 10px;
    }
    
    .plan-card {
        padding: 16px;
    }
    
    .faq-title {
        font-size: 24px;
    }
    
    .question-text {
        font-size: 14px;
    }
    
    .faq-question {
        gap: 15px;
    }
    
    .question-content {
        gap: 4px;
    }
}

/* Mobile Extra Small (≤480px) */
@media (max-width: 480px) {
    .subscription-bg{
        background-color: #f7f9ff;
        background-image: none;
    }
    .pricing-hero {
        padding: 30px 0;
    }
    
    .hero-title {
        font-size: 20px;
        line-height: 1.3;
    }
    
    .hero-subtitle {
        font-size: 12px;
    }
    
    .toggle-option {
        padding: 8px 16px;
        font-size: 13px;
    }
    
    .pricing-plans {
        padding: 30px 0;
    }
    
    .plans-container {
    }
    
    .plan-card {
        padding: 14px;
        box-sizing: border-box;

    }
    
    .plan-name {
        font-size: 15px;
    }
    
    .plan-description {
        font-size: 12px;
    }
    
    .price-number,
    .price-text {
        font-size: 26px;
    }
    
    .feature-text {
        font-size: 11px;
    }
    
    .faq-section {
        padding: 40px 0;
    }
    
    .faq-title {
        font-size: 20px;
        margin-bottom: 25px;
    }
    
    .faq-item {
        padding: 20px 0;
    }
    
    .question-text {
        font-size: 13px;
        line-height: 1.3;
    }
    
    .question-icon {
        width: 18px;
        height: 18px;
        font-size: 11px;
    }
    
    .chevron-down {
        padding: 5px;
    }
    
    .chevron-down svg {
        width: 16px;
        height: 16px;
    }
    
    .faq-answer {
        padding-left: 22px;
    }
    
    .faq-answer p {
        font-size: 12px;
        line-height: 1.4;
    }
    .table-header .header-cell.plan-cell {
        min-width: 112px;
    }
    .footer .footer_content .f_right {
        flex-direction: column;
        gap: 8px;
        margin-top: 8px;
        width: 100%;
    }
    .footer .footer_content .f_right a {
        margin-left: 0!important;
    }
    #new-fixed-right {
        background: linear-gradient(180deg, #3F62FF 0%, #41AFFF 100%);
        border-radius: 16px;
        bottom: 60px;
    }

    #new-fixed-right .item {
        padding-left: 8px;
        padding-right: 8px;
        font-size: 8px;
    }
    #new-fixed-right img {
        max-width: 40px;
        max-height: 40px;
    }
   
    #new-fixed-right > a:first-of-type {
        position: relative;
        padding-top: 16px;
    }
    #new-fixed-right > a:first-of-type::before {
        content: '';
        position: absolute;
        bottom: 0;
        left: 8px;
        height: 1px;
        width: 56px;
        background-color: rgba(255, 255, 255, 0.30);
    }
    #new-fixed-right > a:last-of-type {
        padding-bottom: 16px;
    }
    #new-fixed-right > a:last-of-type img {
        max-width: 30px;
        max-height: 30px;
    }
}


