/* Десктоп */
.pricing-section {
    background: #FFF;
    padding: 100px 0;
}

.pricing-block {
    margin-bottom: 120px;
}

.pricing-block:last-child {
    margin-bottom: 0;
}

.pricing-title {
    color: #222;
    font-family: 'Unbounded', sans-serif;
    font-size: 36px;
    font-weight: 500;
    letter-spacing: 1.8px;
    margin: 0 0 125px;
    padding-left: 20%;
}

.pricing-table {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 40px;
    max-width: 900px;
    margin-left: 20%;
}

.table-header {
    display: flex;
    align-items: center;
    gap: 15px;
    padding-bottom: 20px;
}

.table-row {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 6px 0;
    border-bottom: 3px solid #000;
    min-height: 40px;
}

.table-cell {
    color: #222;
    font-family: 'Unbounded', sans-serif;
    font-size: 16px;
    font-weight: 500;
    line-height: 1.5;
    flex: 1;
    min-height: 24px;
    display: flex;
    align-items: center;
}

.header-cell {
    font-weight: 500;
    font-size: 18px;
    color: #2B2B2B;
}

.table-row .table-cell:nth-child(1),
.table-header .header-cell:nth-child(1) {
    flex: 2;
    max-width: 60%;
}

.table-row .table-cell:nth-child(2),
.table-row .table-cell:nth-child(3),
.table-header .header-cell:nth-child(2),
.table-header .header-cell:nth-child(3) {
    flex: 1;
    max-width: 20%;
}

.pricing-footer {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    gap: 10px;
    margin-top: 30px;
    margin-left: 20%;
    max-width: 800px;
}

.pricing-note {
    color: #000;
    font-family: 'Unbounded', sans-serif;
    font-size: 12px;
    font-weight: 400;
    margin: 0;
    text-align: right;
    white-space: nowrap;
}

.pricing-arrow {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    cursor: pointer;
    transition: transform 0.3s ease;
    text-decoration: none;
}

.pricing-arrow:hover {
    transform: translateX(5px);
}

.pricing-arrow svg {
    width: 50px;
    height: 50px;
}

.pricing-arrow:hover svg path {
    fill: #222;
}

/* Мобильная адаптация */
@media (max-width: 767px) {
    .pricing-section {
        padding: 40px 0;
    }
    
    .main-pricing-title {
        display: block !important;
        color: #222 !important;
        font-family: 'Unbounded', sans-serif;
        font-size: 36px;
        font-weight: 500;
        letter-spacing: 1.8px;
        margin: 0 0 75px;
    }
    
    .pricing-block {
        margin-bottom: 60px;
        width: 100%;
    }
    
    .pricing-title {
        display: none;
    }
    
    .mobile-table-title {
        display: block !important;
        color: #222 !important;
        font-family: 'Unbounded', sans-serif;
        font-size: 20px;
        font-weight: 500;
        letter-spacing: 1px;
        margin: 0 0 75px !important;
    }
    
    .pricing-block + .pricing-block {
        margin-top: 24px;
    }
    
    .pricing-table {
        gap: 8px;
        margin-bottom: 30px;
        max-width: 100%;
        margin-left: 0;
        width: 100%;
    }
    
    .table-header {
        padding-bottom: 38px;
        width: 100%;
    }
    
    .table-row {
        padding: 4px 0;
        min-height: 32px;
    }
    
    .table-cell {
        color: #2B2B2B;
        font-size: 10px;
        line-height: 1.3;
        min-height: 18px;
        word-wrap: break-word;
        overflow-wrap: break-word;
    }
    
    .header-cell {
        font-size: 11px;
        color: #2B2B2B;
        text-align: left;
        white-space: nowrap;
    }
    
    .table-row .table-cell:nth-child(1),
    .table-header .header-cell:nth-child(1) {
        flex: 3;
        max-width: 60%;
    }
    
    .table-row .table-cell:nth-child(2),
    .table-row .table-cell:nth-child(3),
    .table-header .header-cell:nth-child(2),
    .table-header .header-cell:nth-child(3) {
        flex: 1;
        max-width: 20%;
        text-align: left;
        white-space: nowrap;
    }
    
    .pricing-footer {
        display: none;
    }
    
    .pricing-section .section-title {
        display: none;
    }
}

/* Десктопная адаптация */
@media (min-width: 768px) {
    .mobile-table-title {
        display: none;
        margin: 0;
        padding: 0;
        font-size: 0;
        line-height: 0;
    }
    
    .main-pricing-title {
        display: none;
    }
    
    .pricing-title {
        display: block;
        color: #222;
    }
    
    .pricing-footer {
        display: flex;
    }
    
    .pricing-section .section-title {
        display: block;
        color: #222;
    }
}